


h1,h2,h3,h4,h5,h6 {
    margin: 0;
    line-height: 1;
}




.pc {
    display: none;
}
@media all and (min-width:60em) {
    .sp {
        display: none;
    }
    .pc {
        display: initial;
    }
}

.wrapper {
    width: 90vw;
    max-width: 100rem;
    margin: 0 auto;
}


/* HERO */

.sustainability__hero {
    position: relative;
    min-height: 28rem;
    height: 100vh;
    max-height: 28rem;
}

.sustainability__title {
    color: #fff;
    /* width: 80vw; */
    /* margin-left: auto; */
    /* padding-top: 8rem; */
    font-size: 3rem;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}
.sustainability__title p {
    position: relative;
    font-size: 2rem;
    padding-bottom: 0.5rem;
    margin: 0 0 2rem;
    opacity: 0.9;

}

.sustainability__title p::after {
    content: "";
    border-bottom: 2px solid #fff;
    width: 100%;
    position: absolute;
    left: 0;
    bottom: 0;
}

@media all and (min-width:60em) {
    .sustainability__hero {
        max-height: 40rem;
    }
    .sustainability__title {
        width: 34vw;
        font-size: 5.4rem;
        left: auto;
        right: 0;
        transform: translate(0%, -50%);
    }
    .sustainability__title p {
        font-size: 3.6rem;
    }
}
/* INTRO */

.sustainability__intro {
     font-size: 1.4rem;
     font-weight: 700;
     width: 90vw;
     max-width: 64rem;
     margin: 0 auto;
     padding: 3.8rem 0 6.2rem;
}

@media all and (min-width:60em) {
    .sustainability__intro {
        font-size: 1.6rem;
        padding: 8rem 0 8rem;
    }    
}

/* MESSAGE */
.sustainability__message {
    position: relative;
    padding-bottom: 6rem;
}
.message { 
    position: relative;
    isolation: isolate;
    min-height: 51rem;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    text-align: center;
    color: #fff;
    padding-bottom: 4rem;

}
.message__image {
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: -1;
    object-position: top;
}


.message__english {
    font-size: 1.6rem;
    font-weight: 700;
    position: relative;
    margin:  0 auto 2rem;
    width: max-content;
    display: block;

}
.message__english::after {
    content: "";
    width: 100%;
    position: absolute;
    bottom: 0;
    left: 0;
    border-bottom: 1px solid #fff;
}

.message__title {
    font-size: 2.4rem;
    font-weight: 700;
    margin: 0 0 2rem;

}
.message__ceo {
    font-size: 1.2rem;
    margin-bottom: 2rem;
}
.message__name {
    font-size: 1.6rem;
    font-weight: 700;
}
.message__description {
    font-size: 1.4rem;
    font-weight: 700;
}
.s__button--message {
    font-size: 1.3rem;
    padding: 1.5rem ;
    width: 100%;
    max-width: 16rem;
}

.message__line {
    background: url(../img/sustainability/home/bg.png) repeat ;
    background-size: 50px;
    height: 20rem;
    position: absolute;
    left: 0;
    bottom: 0;
    width: 100%;
    z-index: -1;
    border-top: 1px solid #f1f1f1;
    border-bottom: 1px solid #f1f1f1;
}
@media all and (min-width:60em) {
    .sustainability__message {
        padding-bottom: 11rem;
    }
    .message__line {
        height: 36rem;
    }
    .message {
        min-height: 50rem;
        justify-content: unset;
        align-items: flex-start;
    }
    .message__image {
        object-position: center;
    }
    .message__content {
        padding: 7rem 3.4rem;
    }
    .message__english {
        font-size: 1.8rem;

    }
    .message__title {
        font-size: 3.7rem;

    }
    .message__description {
        font-size: 1.8rem;
    }
    .message__ceo {
        position: absolute;
        right: 3.5rem;
        bottom: 2.5rem;
        text-align: right;
        font-size: 1.4rem;

    }
    .message__name {
        font-size: 1.8rem;
        font-weight: 400;
    }
    .message__vertical {
        height: 5rem;
        border-left: 1px solid #bababa;
        margin: 0 auto;
        width: 1px;

    }
    .s__button--message {
        font-size: 1.4rem;
        max-width: 24rem;
    }


}



/* SUSTAINABILITY AREA */

.sustainability__area {
    display: grid ;
}

.sustainability__box {
    position: relative;
    isolation: isolate;
    display: grid;
    place-items: center;
    text-align: center;
    padding: 7rem 0 6.5rem;
    color: #fff;
}
.sustainability__image {
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: -1;
}

.s__title{
    font-size: 1.8rem;
    font-weight: 700;
    margin: 0 0 3rem;
}
.s__english {
    font-size: 1.3rem;
    font-weight: 700;
    margin: 0 0 3rem;
}
.s__button {
    border: 1px solid #fff;
    color: #fff;
    padding: 1.8rem;
    letter-spacing: 0.08em;
    font-weight: 500;
    font-family: "Roboto", sans-serif;
    transition: all linear 0.2s ;
    font-size: 1.3rem;
    width: 100%;
    max-width: 16rem;
    display: block ;
    margin: 0 auto;
    position: relative;
}

.s__button::after {
    display: inline-block;
    margin-left: 10px;
    width: 6px;
    height: 6px;
    border-top: 1px solid #fff;
    border-right: 1px solid #fff;
    content: "";
    vertical-align: middle;
    -webkit-transform: rotate(45deg);
    -ms-transform: rotate(45deg);
    transform: rotate(45deg);
    -webkit-transform-origin: top center;
    -ms-transform-origin: top center;
    transform-origin: top center;
}

.s__button:hover {
    background-color: #fff;
    color: #004a30;
}
.s__button:hover::after {
    border-top-color: #004a30;
    border-right-color: #004a30;
 
}



@media all and (min-width:60em) {
    .s__button {
        max-width: 24rem;
        font-size: 1.3rem;
    }
    .s__title {
        font-size: 2.8rem;
    }
    .s__english {
        font-size: 1.8rem;
    }
    .sustainability__box {
        width: 100%;
        padding: 14rem 0;
    }
    .sustainability__area {
        display: flex;
        width: 100%;
        max-width: 130rem;
        margin: 0 auto;
    }

    .sustainability__area > div {
        width: 50%;
    }


}






.section__heading {
    display: grid;
    gap:4rem;
    padding: 6rem 0 4rem;
}

.heading__content {
    flex-shrink: 0;
    text-align: center;
}

.heading__english {
    font-size: 1.6rem;
    color: #004a30;
    margin: 0 auto 2rem;
    font-weight: 700;
    position: relative;
    width: max-content;
    
}
.heading__english::after {
    content: "";
    border-bottom: 2px solid #004a30;
    width: 100%;
    position: absolute;
    left: 0;
    bottom: 0;
}

.heading__title {
    font-size: 2.4rem;
    line-height: 1.4;
}

.heading__description {
    font-size: 1.3rem;
    position: relative;
}

@media all and (min-width:60em) { 
    .section__heading {
        display: flex;
        align-items: center;
        padding: 6rem 0 4rem;
        gap: 4.5rem;
       
    }
    .heading__content {
        text-align: left;
    }

    .heading__english {
        font-size: 1.8rem;
        margin: 0 0 2rem;
    }
    .heading__title {
        font-size: 3.6rem;
    }
    .heading__description {
        font-size: 1.6rem;
        padding-left: 4.5rem;
        align-self: flex-end;
    }
    
    .heading__description::before {
        content: "";
        position: absolute;
        border-left: 1px solid #bababa;
        height: 5rem;
        left: 0;
        top: 50%;
        transform:translateY(-50%);
    }
}




.initiative__section {
    background-size: cover;
    margin-bottom: 0.25rem;
    position: relative;
    isolation: isolate;
}


.initiative__image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: -1;

}

.initiative__content {
    max-width: 102.4rem;
    margin: 0 auto;
    padding-top: 24rem;
    display: grid;
}


.initiative__menu {
    background-color: #ffffffd2;
    width: 100%;
    padding: 2rem 2.5rem;
    transition: backdrop-filter 1s;
    -webkit-backdrop-filter: blur(5px) opacity(0);
    backdrop-filter: blur(5px) opacity(0);
}

.reveal-effect--active .initiative__menu{
    -webkit-backdrop-filter: blur(5px) opacity(1);
    backdrop-filter: blur(5px) opacity(1);
}



.initiative__english {
    text-align: right;
    color: #fff;
    font-weight: 500;
    font-size: 2rem;
    position: relative;
    padding-bottom: 1rem;
    margin-bottom: 2.8rem;
    font-family: 'Roboto';
    width: max-content;
    justify-self: end;
    margin-right: 5vw;
}


.initiative__english::after {
    content: "";
    width: 100%;
    height: 2px;
    background-color: #fff;
    position: absolute;
    bottom: 0;
    left: 0;
}

.initiative__nav {
    display: flex;
    flex-direction: column;
    flex-wrap: wrap;
    max-height: 30rem;
    gap: 0 1rem;
    font-size: 1.2rem;
    color: #000;
}




.initiative__nav a {
    padding: 1.4rem 0;
    border-bottom: 1px solid #878787;
    position: relative;
    transition: all ease 1s;
}
.initiative__nav a:hover {
    background-color: rgba(0, 74, 48, 0.1);
}

.initiative__nav a::after {
    content: "";
    position: absolute;
    top: 0;
    right: 15px;
    bottom: 0;
    display: block;
    margin: auto;
    width: 6px;
    height: 6px;
    border-top: 1px solid #878787;
    border-right: 1px solid #878787;
    -webkit-transform: rotate(45deg);
    -ms-transform: rotate(45deg);
    transform: rotate(45deg);
}

.initiative__title {
    padding: 1rem;
    background-color: #004a30;
    color: #fff;
    font-weight: 700;
    width: max-content;
    font-size: 2rem;
    margin-bottom: 1rem;
}


.initiative__sub {
    color: #004a30;
    font-weight: 500;
    font-size: 1.7rem;
    margin: 0 0 2rem;
    
}

@media all and (max-width:60em) {
    .initiative__nav--1 {    max-height: 20rem; }
    .initiative__nav--2 {    max-height: 22rem; }

    .english .initiative__nav--1 {    max-height: 27rem; }
    .english .initiative__nav--2 {    max-height: 27rem; }
}

@media all and (min-width:60em) {
    .initiative__content {
        display: flex;
        flex-direction: row-reverse;
        justify-content: space-between;
        padding-top: 0;
    }
    .initiative__content--reverse {
        flex-direction: row;
    }
    .initiative__menu {
        padding: 3rem 5rem;
        height: 100%;
        max-width: 42rem;
        min-height: 42rem;
        
    }
    .initiative__nav {
        max-height: none;
        min-height: 24rem;
        font-size: 1.4rem;
    }

    .initiative__english {
        font-size: 4rem;
        align-self: flex-start;
        margin-top: 4.5rem;
        margin-right: 0;
    }
    .initiative__sub {
        font-size: 1.8rem;
    }
    .initiative__title {
        font-size: 2.4rem;
    }
    
}


/*  OTHERS */
.others {
    padding: 4rem 0 10rem;
    display: grid;
    gap: 2rem;
}

.others a {
    background-color: #004a30;
    color: #fff;
    padding: 2.5rem;
    font-size: 1.5rem;
    font-weight: 700;
    text-align: center;
    position: relative;
}

.others a::after {
    display: inline-block;
    margin-left: 10px;
    width: 10px;
    height: 10px;
    border-top: 2px solid #fff;
    border-right: 2px solid #fff;
    content: "";
    vertical-align: middle;
    -webkit-transform: rotate(45deg);
    -ms-transform: rotate(45deg);
    transform: rotate(45deg);
    -webkit-transform-origin: top center;
    -ms-transform-origin: top center;
    transform-origin: top center;
}
@media all and (min-width:60em) {
    .others {
        display: flex;
        gap: 6rem;
        justify-content: center;
        padding: 6rem 0 10rem;
    }
    .others a {
        font-size: 2rem;
        width: 100%;
        max-width: 40rem;
    }
}



.reveal-effect {
    opacity: 0;
    transition: opacity ease 1s;
}

.reveal-effect--active {
    opacity: 1;
}


.swipe-effect {
    position: relative;
    overflow: hidden;
}

.swipe-effect > * {
    z-index: 1;
    position: relative;
    left: -100%;
    transition: all ease 500ms;
}

.swipe-effect::after {
    content:"";
    background-color: #004a30;
    height: 100%;
    width: 100%;
    position: absolute;
    z-index: 2;
    left: -100%;
    top: 0;
    
}

.swipe-effect--active::after {  
    transform: translateX(200%);
    -webkit-animation: slide ease 1s forwards;
    animation: slide ease 1s forwards;
    -webkit-animation-iteration-count: 1;
    animation-iteration-count: 1;
}


.swipe-effect--active .swipe-target  {
    -webkit-animation: test ease .5s forwards ;
    animation: test ease .5s forwards ;
    -webkit-animation-iteration-count: 1;
    animation-iteration-count: 1;
}

@keyframes test {
    0% {
        transform:translateX(0);
    }
    100% {
        transform:translateX(100%);
    }
}



@keyframes slide {
    0% {
        transform: translateX(0%);
    }
    50%{ 
        transform: translateX(100%);
    }
    60% {
        transform: translateX(100%);
    }
    100% {
    transform: translateX(200%);

    }
}
