
@font-face {
	font-family: "ASICSFont3.0";
	src: url('/fonts/ASICSFont3.0-Regular.woff2') format('woff2');
	font-weight: normal;
	font-style: normal;
}
@font-face {
	font-family: "ASICSFont3.0";
	src: url('/fonts/ASICSFont3.0-Italic.woff2') format('woff2');
	font-weight: normal;
	font-style: italic;
}
@font-face {
	font-family: "ASICSFont3.0";
	src: url('/fonts/ASICSFont3.0-Bold.woff2') format('woff2');
	font-weight: bold;
	font-style: normal;
}
@font-face {
	font-family: "ASICSFont3.0";
	src: url('/fonts/ASICSFont3.0-BoldItalic.woff2') format('woff2');
	font-weight: 700;
	font-style: italic;
}

:root {
	--primary_color: #152565;

	--header_height: 50px;

    --technology_shoe_width: 786px;
    --technology_shoe_height: 786px;
    --technology_shoe_width_sp: 300px;
    --technology_shoe_height_sp: 300px;
    --technology_content_center_x: calc(50% - (var(--technology_shoe_width) / 2));
    --technology_content_center_y: calc(50% - (var(--technology_shoe_height) / 2));
}

* {
    box-sizing: border-box;
}

html, body {
    margin: 0;
    padding: 0;
    width: 100vw;
    height: 100dvh;
    overflow: hidden;
    /* overflow-y: auto; */
    color: #fff;
    background-color: black;
    overscroll-behavior: none;
    font-family: "ASICSFont3.0", "Hiragino Sans", YuGothic, "Noto Sans CJK JP", "BIZ UDPGothic", "UD Digi Kyokasho", "Original Yu Gothic", "Yu Gothic", Meiryo, "MS PGothic", "Droid Sans", "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Sans Emoji", sans-serif;
    -webkit-tap-highlight-color: #0000;
    user-select: none;
}

@media screen and (max-width:768px) {
    body.technology {
        /* overflow-y: auto; */
    }
}

body {
    display: flex;
    flex-direction: column;
}

header {
    width: 100%;
    height: var(--header_height);
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 20px;
    background-color: white
}

header .logo {
    cursor: pointer;
}

header .menu {
    cursor: pointer;
}

main {
    width: 100%;
    height: calc(100dvh - var(--header_height));
    /* background-color: red; */
}

canvas {
    /* background-color: red; */
    display: block;
    width: 100%;
    height: 100%;
    mix-blend-mode: screen;
}

#sliderContainer {
    position: absolute;
    top: 200px;
    left: 10px;
    z-index: 100;
    display: none;
}

#background {
    position: fixed;
    top: var(--header_height);
    left: 0;
    width: 100%;
    height: calc(100dvh - var(--header_height));
    object-fit: cover;
    /* z-index: -1; */
    opacity: 1; /* #background自体の透明度は1のまま */
}

#background::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('/image/gel-nimbus27/common/top_pc.jpg');
    background-position: bottom;
    background-repeat: no-repeat;
    background-size: cover;
    opacity: 1; /* 初期状態で透明度1 */
    transition: opacity 4s ease-in-out; /* アニメーションの設定 */
}
@media screen and (max-width:768px) {
    #background::before {
        background-image: url('/image/gel-nimbus27/common/top_sp.jpg');
    }
}

#background.opening::before {
    animation: scrollToTop 4s ease-in-out forwards;
}

@keyframes scrollToTop {
    0% {
        background-position: bottom;
        filter: blur(0px);
        opacity: 1; /* 初期状態で透明度1 */
    }
    30% {
        filter: blur(15px);
        opacity: 0.7; /* 30%の時点で透明度0.7 */
    }
    80% {
        filter: blur(15px);
        opacity: 0.3; /* 80%の時点で透明度0.3 */
    }
    100% {
        background-position: top;
        filter: blur(0px);
        opacity: 0; /* 最終的に透明度0 */
    }
}


#content {
    position: relative;
    z-index: 1;
    width: 100%;
    height: 100%;
}

section {
    position: absolute;
    top: 0;
    left: 0;
    display: flex;
    /* display: none; */
    width: 100%;
    height: 100%;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 50px;
    opacity: 0;
    transition: opacity 1s ease-in;
    pointer-events: none;
}

section.active {
    opacity: 1;
    pointer-events: auto;
    display: flex;
}

.index-button {
    position: absolute;
    left: 0;
    bottom: 0;
    width: 108px;
    cursor: pointer;
    opacity: 1;
    transition: opacity 1s ease-in;
}
.index-button.hide {
    opacity: 0;
    pointer-events: none;
}

.close-button {
    width: 83px;
    cursor: pointer;
}

#technology > .title,
#design > .title,
#sustainability > .title,
#movies > .title {
    position: fixed;
    left: 20px;
    top: 70px;
    height: 28px;
    z-index: 1;
}

@media screen and (max-width:768px) {
    .index-button {
        position: fixed;
        left: unset;
        bottom: unset;
        top: 35px;
        right: -15px;
        /* left: calc(50% - 54px); */
    }

    #technology > .title,
    #design > .title,
    #sustainability > .title,
    #movies > .title {
        height: 42px;
    }
}


/* openning */
#opening .title {
    width: 1244px;
}

#opening .text {
    font-size: 20px;
}

#opening .button {
    padding-top: 50px;
    width: 163px;
    cursor: pointer;
}

@media screen and (max-width:1300px) {
    #opening .title {
        max-width: 900px;
    }
    
}

@media screen and (max-width:768px) {
    #opening .title {
        max-width: 360px;
    }
    
}

/* index */
#index .title {
    width: 1244px;
}
#index .title-sp {
    display: none;
}

#index .shop {
    opacity: 0;
    transition: opacity 0.6s ease-in;
}
#index.active .shop {
    opacity: 1;
}

#index .shop img {
    width: 212px;
}

#index .item-area {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 50px;
    margin-top: 50px;
}

#index .item {
    cursor: pointer;
    opacity: 0;
    transition: opacity 0.6s ease-in;
}
#index.active .item {
    opacity: 1;
}

#index.active .item:nth-child(1) {
    transition-delay: 0s;
}
#index.active .item:nth-child(2) {
    transition-delay: 0.3s;
}
#index.active .item:nth-child(3) {
    transition-delay: 0.6s;
}
#index.active .item:nth-child(4) {
    transition-delay: 0.9s;
}

#index .item img {
    width: 194px;
}

@keyframes fadeIn {
    to {
        opacity: 1;
    }
}

@media screen and (max-width:1300px) {
    #index .title {
        width: 900px;
    }

    #index .item img {
        width: 170px;
    }

    #index .item-area {
        margin-top: 0;
    }
}

@media screen and (max-width:768px) {
    section#index {
        gap: 40px;
    }

    #index .shop {
        margin-top: -10px;
    }

    #index .title {
        display: none;
    }

    #index .title-sp {
        display: block;
        width: 80%;
    }

    #index .item-area {
        gap: 20px;
        justify-content: unset;
        margin-top: 0;
        overflow-x: scroll;
        width: 100vw;
        padding-left: 40px;
        padding-right: 40px;
    }

    #index .item img {
        max-width: 60vw;
        max-height: 40vh;
        width: unset;
    }
}

/* technology */
#technology .close-button.desktop {
    position: absolute;
    left: calc(50% - 41.5px);
    bottom: 20px;
    opacity: 0;
    transition: opacity 1s ease-in;
    pointer-events: none;
}
#technology .close-button.desktop.active {
    opacity: 1;
    pointer-events: auto;
    z-index: 10;
}

#technology .close-button.sp {
    display: none;
    width: 83px;
    margin-top: -20px;
    align-self: center;
}

#technology.active .index-button {
    z-index: 10;
}

#technology .technology-inner {
    width: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

#technology .item-dialog {
    position: absolute;
    display: flex;
    top: 50%;
    left: 50%;
    width: 400px;
    transform: translate(100px, -50%);
    color: #152565;
    flex-direction: column;
    gap: 20px;
    background-color: #fff;
    padding: 40px;
    border-radius: 10px;
    opacity: 0;
    transition: opacity 0.3s ease-in;
    transition-delay: 1.5s;
    pointer-events: none;
}
#technology .item-dialog.active {
    opacity: 1;
    pointer-events: auto;
}
#technology .item-dialog.hide {
    transition-delay: 0s;
}

#technology .item-dialog .title {
    font-size: 20px;
    font-weight: bold;
}

#technology .item-dialog .text {
    font-size: 16px;
}

#technology .item-dialog img {
    width: 100%;
}

#technology .content-area {
    width: 1222px;
    height: 767px;
    position: relative;
    /* background-color: red; */
}

#technology .shoe-animation {
    position: absolute;
    left: calc(50% - 393px);;
    /* left: calc(50% - (var(--technology_shoe_width) / 2)); */
    top: calc(50% - (var(--technology_shoe_height) / 2));
    width: var(--technology_shoe_width);
    opacity: 0;
    transition: left 1.0s ease-in;
    pointer-events: none;
}
#technology .shoe-animation.active {
    opacity: 1;
    left: calc(50% - 593px);
    /* left: calc(50% - 200px -(var(--technology_shoe_width) / 2)); */
}
#technology .shoe-animation.active.reverse {
    left: calc(50% - 393px);
}

#technology .shoe-animation video {
    width: var(--technology_shoe_width);
    pointer-events: none;
}

#technology .show-anim-video {
    display: none;
}
#technology .show-anim-video.active {
    display: block;
}

#technology .content-area > .shoe {
    position: absolute;
    left: calc(50% - (var(--technology_shoe_width) / 2));
    top: calc(50% - (var(--technology_shoe_height) / 2));
    width: var(--technology_shoe_width);
}
#technology .content-area > .shoe.hide {
    display: none;
}

#technology .content-area .description {
    position: absolute;
    left: calc(50% - (195px / 2));
    top: calc(50% - (31px / 2) + 280px);
    width: 195px;
    display: none;
    opacity: 1;
    transition: opacity 0.3s ease-in;
}
#technology .content-area .description.hide {
    opacity: 0;
}

#technology .content-area .item {
    opacity: 0.0;
    transition: opacity 0.3s ease-in;
}
#technology.active .content-area .item {
    opacity: 1.0;
}
#technology .content-area .item.hide {
    opacity: 0;
    pointer-events: none;
}
#technology .content-area .item.delay1 {
    transition-delay: 0.0s;
}
#technology .content-area .item.delay2 {
    transition-delay: 0.05s;
}
#technology .content-area .item.delay3 {
    transition-delay: 0.1s;
}
#technology .content-area .item.delay4 {
    transition-delay: 0.15s;
}
#technology .content-area .item.delay5 {
    transition-delay: 0.2s;
}
#technology .content-area .item.delay6 {
    transition-delay: 0.25s;
}
#technology .content-area .item.delay7 {
    transition-delay: 0.3s;
}

#technology .content-area .item.sp {
    display: none;
}

#technology .content-area .line-knit.sp {
    position: absolute;
    left: calc(50% + 20px);
    top: calc(50% - 94px);
    width: 73px;
}

#technology .content-area .knit.sp {
    position: absolute;
    left: calc(50% + 80px);
    top: calc(50% - 114px);
    width: 54px;
    cursor: pointer;
}

#technology .content-area .line-rearfoot.sp {
    position: absolute;
    left: calc(50% + 20px);
    top: calc(50% - 40px);
    width: 56px;
}

#technology .content-area .rearfoot.sp {
    position: absolute;
    left: calc(50% + 70px);
    top: calc(50% - 60px);
    width: 54px;
    cursor: pointer;
}

#technology .content-area .line-ffblast.sp {
    position: absolute;
    left: calc(50% - 80px);
    top: calc(50% + 60px);
    width: 14px;
}

#technology .content-area .ffblast.sp {
    position: absolute;
    left: calc(50% - 100px);
    top: calc(50% + 110px);
    width: 54px;
    cursor: pointer;
}

#technology .content-area .line-hybrid.sp {
    position: absolute;
    left: calc(50% - 20px);
    top: calc(50% + 30px);
    width: 73px;
}

#technology .content-area .hybrid.sp {
    position: absolute;
    left: calc(50% + 40px);
    top: calc(50% + 9px);
    width: 54px;
    cursor: pointer;
}

#technology .content-area .line-gussted.sp {
    position: absolute;
    left: calc(50% - 130px);
    top: calc(50% - 40px);
    width: 73px;
}

#technology .content-area .gussted.sp {
    position: absolute;
    left: calc(50% - 150px);
    top: calc(50% - 60px);
    width: 54px;
    cursor: pointer;
}

#technology .content-area .line-ortholite.sp {
    position: absolute;
    left: calc(50% - 20px);
    top: calc(50% - 130px);
    width: 2px;
}

#technology .content-area .ortholite.sp {
    position: absolute;
    left: calc(50% - 46px);
    top: calc(50% - 160px);
    width: 54px;
    cursor: pointer;
}
#technology .content-area .line-engineered.sp {
    position: absolute;
    left: calc(50% - 160px);
    top: calc(50% + 20px);
    width: 73px;
}

#technology .content-area .engineered.sp {
    position: absolute;
    left: calc(50% - 180px);
    top: calc(50% + 0px);
    width: 54px;
    cursor: pointer;
}

#technology .content-area .line-knit.desktop {
    position: absolute;
    left: calc(50% + 60px);
    top: calc(50% - 220px);
    width: 98px;
}

#technology .content-area .knit.desktop {
    position: absolute;
    left: calc(50% + 158px);
    top: calc(50% - 245px);
    height: 54px;
    cursor: pointer;
}

#technology .content-area .line-rearfoot.desktop {
    position: absolute;
    left: calc(50% + 80px);
    top: calc(50% - 90px);
    width: 161px;
}

#technology .content-area .rearfoot.desktop {
    position: absolute;
    left: calc(50% + 240px);
    top: calc(50% - 115px);
    height: 54px;
    cursor: pointer;
}

#technology .content-area .line-ffblast.desktop {
    position: absolute;
    left: calc(50% - 200px);
    top: calc(50% + 170px);
    width: 120px;
}

#technology .content-area .ffblast.desktop {
    position: absolute;
    left: calc(50% - 80px);
    top: calc(50% + 144px);
    height: 54px;
    cursor: pointer;
}

#technology .content-area .line-hybrid.desktop {
    position: absolute;
    left: calc(50% + 100px);
    top: calc(50% + 30px);
    width: 120px;
}

#technology .content-area .hybrid.desktop {
    position: absolute;
    left: calc(50% + 220px);
    top: calc(50% + 2px);
    height: 54px;
    cursor: pointer;
}

#technology .content-area .line-gussted.desktop {
    position: absolute;
    left: calc(50% - 230px);
    top: calc(50% - 120px);
    width: 89px;
}

#technology .content-area .gussted.desktop {
    position: absolute;
    left: calc(50% - 470px);
    top: calc(50% - 145px);
    height: 54px;
    cursor: pointer;
}

#technology .content-area .line-ortholite.desktop {
    position: absolute;
    left: calc(50% - 150px);
    top: calc(50% - 214px);
    width: 150px;
}

#technology .content-area .ortholite.desktop {
    position: absolute;
    left: calc(50% - 430px);
    top: calc(50% - 240px);
    height: 54px;
    cursor: pointer;
}

#technology .content-area .line-engineered.desktop {
    position: absolute;
    left: calc(50% - 350px);
    top: calc(50% + 30px);
    width: 97px;
}

#technology .content-area .engineered.desktop {
    position: absolute;
    left: calc(50% - 650px);
    top: calc(50% + 2px);
    height: 54px;
    cursor: pointer;
}

#technology .shoe-point {
    position: absolute;
    left: calc(50% - 75px);
    top: calc(50% - 75px);
    width: 150px;
    height: 150px;
    opacity: 0;
    transition: opacity 0.3s ease-in;
    /* background-color: red; */
}

#technology .shoe-point.active {
    opacity: 1;
}

#technology .shoe-point.knit {
    left: calc(50% + 40px);
    top: calc(50% - 340px);
}

#technology .shoe-point.rearfoot {
    left: calc(50% - 50px);
    top: calc(50% - 80px);
}

#technology .shoe-point.ffblast {
    left: calc(50% - 170px);
    top: calc(50% + 160px);
}

#technology .shoe-point.hybrid {
    left: calc(50% - 200px);
    top: calc(50% - 70px);
}

#technology .shoe-point.gussted {
    left: calc(50% - 100px);
    top: calc(50% - 210px);
}

#technology .shoe-point.ortholite {
    left: calc(50% - 20px);
    top: calc(50% - 170px);
}

#technology .shoe-point.engineered {
    left: calc(50% - 170px);
    top: calc(50% + 30px);
}

@media screen and (max-width:1300px) {
    #technology .content-area {
        scale: 0.8;
    }

}

@media screen and (max-width:768px) {
    section#technology {
        gap: 0;
    }

    #technology .close-button.desktop {
        display: none;
    }

    #technology .close-button.sp {
        display: block;
    }

    #technology .content-area {
        width: calc(100% - 40px);
        height: calc(100vw);
        scale: unset;
        margin-top: 60px;
        margin-left: 40px;
    }

    #technology .content-area .description {
        left: calc(50% -(146px / 2));
        top: calc(50% - 11.5px + 200px);
        width: 146px;
        display: block;
    }

    #technology .content-area .item.desktop {
        display: none;
    }

    #technology .content-area .item.sp {
        display: block;
    }

    #technology .content-area > .shoe-animation {
        position: absolute;
        left: calc(50% - (var(--technology_shoe_width_sp) / 2));
        top: calc(50% - (var(--technology_shoe_height_sp) / 2));
        width: var(--technology_shoe_width_sp);
    }

    #technology .content-area > .shoe-animation.reverse {
        position: absolute;
        left: calc(50% - (var(--technology_shoe_width_sp) / 2));
        top: calc(50% - (var(--technology_shoe_height_sp) / 2));
        width: var(--technology_shoe_width_sp);
    }

    #technology .shoe-animation video {
        width: var(--technology_shoe_width_sp);
        pointer-events: none;
    }

    #technology .content-area > .shoe {
        position: absolute;
        left: calc(50% - (var(--technology_shoe_width_sp) / 2));
        top: calc(50% - (var(--technology_shoe_height_sp) / 2));
        width: var(--technology_shoe_width_sp);
    }

    #technology .item-dialog {
        /* bottom: 0; */
        bottom: unset;
        top: unset;
        left: unset;
        width: 100%;
        transform: none;
        border-bottom-left-radius: unset;
        border-bottom-right-radius: unset;
        padding-bottom: 0px;
    }

    #technology .item-dialog.active {
        position: relative;
    }

    #technology .technology-inner {
        height: 100%;
        display: block;
        overflow-y: auto;
    }
    
    #technology .shoe-point {
        width: 50px;
        height: 50px;
    }

    #technology .shoe-point.knit {
        left: calc(50% + 20px);
        top: calc(50% - 130px);
    }

    #technology .shoe-point.rearfoot {
        left: calc(50% - 10px);
        top: calc(50% - 20px);
    }

    #technology .shoe-point.ffblast {
        left: calc(50% - 70px);
        top: calc(50% + 70px);
    }

    #technology .shoe-point.hybrid {
        left: calc(50% - 80px);
        top: calc(50% - 20px);
    }

    #technology .shoe-point.gussted {
        left: calc(50% - 35px);
        top: calc(50% - 80px);
    }

    #technology .shoe-point.ortholite {
        left: calc(50% + 0px);
        top: calc(50% - 70px);
    }

    #technology .shoe-point.engineered {
        left: calc(50% - 70px);
        top: calc(50% + 20px);
    }

}

/* design */
#design .item-area {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    grid-template-rows: repeat(2, 1fr);
    gap: 50px;
    justify-items: center;
    align-items: center;
}

#design .item-area.hide {
    display: none;
}

#design .item {
    cursor: pointer;
    opacity: 0;
    transition: opacity 0.6s ease-in;
}
#design.active .item {
    opacity: 1;
}

#design.active .item:nth-child(1) {
    transition-delay: 0s;
}
#design.active .item:nth-child(2) {
    transition-delay: 0.3s;
}
#design.active .item:nth-child(3) {
    transition-delay: 0.6s;
}
#design.active .item:nth-child(4) {
    transition-delay: 0.9s;
}

#design .item img {
    width: 284px;
}

#design .item-dialog {
    /* display: none; */
    position: absolute;
    top: 100%;
    bottom: 0;
    width: 800px;
    color: #152565;
    flex-direction: column;
    background-color: #fff;
    padding: 40px;
    border-top-left-radius: 10px;
    border-top-right-radius: 10px; 
    transition: top 0.3s ease-in;
    overflow-y: auto;
}
#design .item-dialog.active {
    display: flex;
    top: 80px;
}
#design .item-dialog-inner {
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

#design .item-dialog .title {
    font-size: 28px;
}

#design .item-dialog .text {
    font-size: 16px;
}

#design .item-dialog .close-button {
    position: absolute;
    left: calc(50% - 41.5px);
    bottom: -100px;
    transition: bottom 0.3s ease-in;
}
#design .item-dialog.active .close-button {
    position: absolute;
    left: calc(50% - 41.5px);
    bottom: 20px;
}

#design .item-dialog video {
    width: 100%;
}

@media screen and (max-width:1300px) {
    #design .item-dialog {
        width: 700px;
    }

    #design .item-dialog.active {
        display: flex;
        top: 40px;
    }

    #design .item-dialog .title {
        font-size: 20px;
    }
    
    #design .item-dialog .text {
        font-size: 12px;
    }

    #design .item-dialog.active .close-button {
        bottom: 0px;
    }
}

@media screen and (max-width:768px) {
    section#design {
        gap: 0;
    }

    #design .item-dialog {
        width: 100%;
    }
    #design .item-dialog.active {
        top: 90px;
        padding-bottom: 0;
        justify-content: space-between;
    }

    #design .item-dialog .title {
        font-size: 28px;
    }
    
    #design .item-dialog .text {
        font-size: 16px;
    }

    #design .item-area {
        display: flex;
        flex-direction: column;
        overflow-y: scroll;
        padding-top: 90px;
        padding-bottom: 50px;
    }

    #design .item-dialog.active .close-button {
        position: relative;
        bottom: unset;
        left: unset;
        display: block;
        align-self: center;
    }
}

/* sustainability */
#sustainability > .wrap-area {
    width: 100%;
    height: 100%;
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    opacity: 1.0;
    transition: opacity 0.3s ease-in;
}

#sustainability.active > .wrap-area {
    pointer-events: auto;
}

#sustainability > .wrap-area.hide {
    opacity: 0;
    pointer-events: none;
}

#sustainability > .wrap-area .content-area {
    display: flex;
    gap: 100px;
}

#sustainability .left-area {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

#sustainability .left-area img {
    width: 450px;
}

#sustainability .right-area {
    display: flex;
    flex-direction: column;
    gap: 40px;
    max-width: 700px;
}

#sustainability > .wrap-area .right-area .item {
    display: flex;
    gap: 20px;
    align-items: center;
    opacity: 0;
    transition: opacity 0.6s ease-in;
}
#sustainability.active > .wrap-area .right-area .item {
    opacity: 1;
}

#sustainability.active > .wrap-area .right-area .item:nth-child(1) {
    transition-delay: 0s;
}
#sustainability.active > .wrap-area .right-area .item:nth-child(2) {
    transition-delay: 0.3s;
}
#sustainability.active > .wrap-area .right-area .item:nth-child(3) {
    transition-delay: 0.6s;
}
#sustainability.active > .wrap-area .right-area .item:nth-child(4) {
    transition-delay: 0.9s;
}

#sustainability > .wrap-area .right-area .item .thumbnail {
    width: 320px;
}

#sustainability > .wrap-area .right-area .item .text {
    font-size: 16px;
    color: #152565;
}

#sustainability > .wrap-area .carbon-button {
    position: absolute;
    width: 213px;
    left: calc(50% -106.5px);
    bottom: 30px;
    cursor: pointer;
}

#sustainability > .wrap-area .carbon-text {
    position: absolute;
    width: 400px;
    right: 50px;
    bottom: 30px;
    font-size: 12px;
    color: #152565;
}

#sustainability .carbon-dialog {
    position: fixed;
    top: 100%;
    bottom: 0;
    width: 800px;
    color: #152565;
    flex-direction: column;
    gap: 20px;
    background-color: #fff;
    padding-top: 40px;
    padding-bottom: 40px;
    border-top-left-radius: 10px;
    border-top-right-radius: 10px; 
    transition: top 0.3s ease-in;
    overflow-y: auto;
}
#sustainability .carbon-dialog.active {
    display: flex;
    top: 80px;
}

#sustainability .carbon-dialog .arrow {
    position: absolute;
    top: 125px;
    left: 20px;
    cursor: pointer;
    display: none;
}
#sustainability .carbon-dialog .arrow.active {
    display: block;
}

#sustainability .carbon-dialog .arrow.right {
    position: absolute;
    top: 125px;
    left: unset;
    right: 20px;
}

#sustainability .carbon-dialog .carbon-dialog-wrap {
    display: flex;
    flex-direction: column;
    gap: 20px;
    padding-left: 40px;
    padding-right: 40px;
    position: relative;
}

#sustainability .carbon-dialog .carbon-dialog-wrap > .title {
    font-size: 28px;
    text-align: center;
}

#sustainability .carbon-dialog .carbon-dialog-wrap > .text {
    font-size: 16px;
    text-align: center;
    margin-bottom: 40px;
}

#sustainability .carbon-dialog hr {
    background-color: #152565;
    width: 100%;
    height: 1px;
    margin: 0;
    padding: 0;
}

#sustainability .carbon-dialog .item-area {
    display: flex;
    /* gap: 20px; */
    margin-top: -38px;
    overflow: hidden;
}

#sustainability .carbon-dialog .item {
    display: flex;
    flex-direction: column;
    gap: 10px;
    min-width: 33.33333%;
    max-width: 33.33333%;
    padding-left: 10px;
    padding-right: 10px;
}

#sustainability .carbon-dialog .item .item-header {
    display: flex;
    flex-direction: column;
}

#sustainability .carbon-dialog .item .item-header > .no-img {
    width: 34px;
    align-self: center;
}

#sustainability .carbon-dialog .item .item-header > .title {
    font-size: 20px;
    padding: 10px;
    font-weight: bold;
    align-self: center;
}

#sustainability .carbon-dialog .item > .thmbnail {
    width: 226px;
}

#sustainability .carbon-dialog .item > .process {
    font-size: 16px;
}

#sustainability .carbon-dialog .item > .carbon {
    font-size: 16px;
}

#sustainability .carbon-dialog .item > hr {
}

#sustainability .carbon-dialog > .close-button {
    position: fixed;
    left: calc(50% - 41.5px);
    bottom: -100px;
    transition: bottom 0.3s ease-in;
}
#sustainability .carbon-dialog.active > .close-button {
    bottom: 20px;
}

#sustainability > div.carbon-dialog.active > div.carbon-dialog-sp-wrap {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

@media screen and (max-width:1300px) {
    #sustainability .left-area img {
        width: 371px;
    }

    #sustainability .right-area {
        max-width: 500px;
    }

    #sustainability > .wrap-area .right-area .item .thumbnail {
        width: 200px;
    }

    #sustainability > .wrap-area .right-area .item .text {
        font-size: 12px;
    }

    #sustainability .carbon-dialog {
        padding-top: 30px;
        padding-bottom: 30px;
    }

    #sustainability .carbon-dialog.active {
        display: flex;
        top: 40px;
    }

    #sustainability .carbon-dialog .carbon-dialog-wrap {
        padding-left: 30px;
        padding-right: 30px;
        gap: 5px;
    }

    #sustainability .carbon-dialog .item {
        gap: 5px;
    }

    #sustainability .carbon-dialog .carbon-dialog-wrap > .title {
        font-size: 20px;
    }
    
    #sustainability .carbon-dialog .carbon-dialog-wrap > .text {
        font-size: 12px;
        margin-bottom: 10px;
    }

    #sustainability .carbon-dialog .item .item-header > .title {
        font-size: 16px;
        padding: 10px;
    }
    #sustainability .carbon-dialog .item > .process {
        font-size: 12px;
    }
    #sustainability .carbon-dialog .item > .carbon {
        font-size: 12px;
    }

    #sustainability .carbon-dialog.active .close-button {
        bottom: 0px;
    }

    #sustainability .carbon-dialog .item {
        min-width: unset;
        max-width: unset;
        gap: 10px;
    }

    #sustainability .carbon-dialog .item hr {
        width: 100%;
        height: 1px;
        margin-left: 0px;
    }
}

@media screen and (max-width:768px) {    
    #sustainability > .wrap-area .carbon-text {
        display: none;
    }

    #sustainability .carbon-dialog {
        width: 100%;
    }

    #sustainability .carbon-dialog.active {
        top: 140px;
        overflow-y: scroll;
    }

    #sustainability .carbon-dialog .carbon-dialog-wrap > .title {
        font-size: 28px;
        text-align: unset;
    }
    
    #sustainability .carbon-dialog .carbon-dialog-wrap > .text {
        font-size: 16px;
        text-align: unset;
    }

    #sustainability .carbon-dialog .item-area {
        margin-top: 0px;
    }

    #sustainability .carbon-dialog hr {
        width: 1px;
        height: 100%;
        margin: 0;
        padding: 0;
        margin-left: 50px;
        margin-top: 5px;
    }

    #sustainability .carbon-dialog .arrow.active {
        display: none;
    }

    #sustainability > div.carbon-dialog.active > div.carbon-dialog-sp-wrap {
        flex-direction: row;
    }

    #sustainability .carbon-dialog .item-area {
        flex-direction: column;
        overflow-y: scroll;
        gap: 20px;
    }

    #sustainability .carbon-dialog .item > .process {
        font-size: 16px;
    }

    #sustainability .carbon-dialog .carbon-dialog-sp-wrap .carbon-dialog-wrap {
        padding-left: 10px;
        margin-left: -60px;
    }

    #sustainability .carbon-dialog .item .item-header {
        flex-direction: row;
        margin-left: -46px;
    }

    #sustainability .carbon-dialog .item {
        padding-left: 60px;
    }

    #sustainability .carbon-dialog > .close-button {
        position: relative;
        bottom: unset;
        left: unset;
        display: block;
        align-self: center;
    }

    #sustainability > .wrap-area .content-area {
        flex-direction: column;
        overflow-y: auto;
        gap: 50px;
        padding-top: 100px;
        padding-bottom: 100px;
    }

    #sustainability .left-area img {
        width: 70%;
    }

    #sustainability .right-area {
        align-items: center;
    }

    #sustainability > .wrap-area .right-area .item {
        flex-direction: column;
        width: 90%;
        gap: 10px;
        align-items: start;
    }

    #sustainability > .wrap-area .right-area .item .thumbnail {
        width: 100%;
    }
}


/* movies */
section#movies {
    gap: 20px;
}

#movies .movie-list {
    display: flex;
    gap: 40px;
}
#movies .movie-list.hide {
    display: none;
}

#movies .movie-list .item {
    display: flex;
    flex-direction: column;
    gap: 20px;
    opacity: 0;
    transition: opacity 0.6s ease-in;
}
#movies.active .movie-list .item {
    opacity: 1;
}

#movies.active .movie-list .item:nth-child(1) {
    transition-delay: 0s;
}
#movies.active .movie-list .item:nth-child(2) {
    transition-delay: 0.3s;
}
#movies.active .movie-list .item:nth-child(3) {
    transition-delay: 0.6s;
}
#movies.active .movie-list .item:nth-child(4) {
    transition-delay: 0.9s;
}

#movies .movie-list .item .text {
    color: #152565;
    font-size: 16px;
}

#movies .movie-list .movie-thumbnail {
    max-width: 600px;
    cursor: pointer;
}

#movies .movie-area {
    display: none;
    flex-direction: column;
    gap: 20px;

    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}
#movies .movie-area.active {
    display: flex;
}

#movies video {
    max-width: 80%;
    max-height: 80%;
}

#movies .movie-area .close-button {
    position: absolute;
    left: calc(50% - 41.5px);
    bottom: 20px;
}

@media screen and (max-width:1300px) {
    #movies .movie-list .movie-thumbnail {
        max-width: 400px;
    }

    #movies .movie-area .close-button {
        bottom: 0;
    }
}

@media screen and (max-width:768px) {
    #movies .movie-list {
        flex-direction: column;
        gap: 20px;
    }

    #movies .movie-list .item {
        gap: 10px;
    }
    
    #movies .movie-list .movie-thumbnail {
        max-width: 300px;
        max-height: 20vh;
    }
}

/* survey */
#survey .survey-dialog {
    position: absolute;
    flex-direction: column;
    align-items: center;
    top: 100%;
    /* bottom: 120px; */
    width: 800px;
    color: #000;
    transition: top 0.3s ease-in;
}
#survey .survey-dialog-inner {
    display: flex;
    flex-direction: column;
    gap: 20px;
    width: 100%;
    background-color: #fff;
    padding: 40px;
    border-radius: 10px;
}

#survey .survey-dialog.active {
    display: flex;
    top: 120px;
}

#survey .close-button {
    position: absolute;
    left: calc(50% - 41.5px);
    bottom: 20px;
}
#survey .close-button.sp {
    display: none;
}
#survey .close-button.desktop {
    display: block;
}

#survey .title {
    font-size: 20px;
    font-weight: bold;
    text-align: center;
    margin: 0;
}

#survey .questionnaire_sect {
    position: relative;
    margin-bottom: 40px;
}

#survey .q_section {
    position: relative;
    margin: 0 auto;
    display: flex;
    align-items: center;
    /* width: 80%; */
    width: 33.3%;
    font-size: 16px;
    font-weight: bold;
    line-height: 1;
    border-radius: 10px;
    box-sizing: border-box;
    border: 1px solid var(--primary_color);
    overflow: hidden;
}

#survey .choices {
    display: flex;
    gap: 10px;
}

#survey .questionnaire_txt {
    font-size: 16px;
    font-weight: bold;
}

#survey .q_section .q_input {
    width: 0;
    height: 0;
    margin: 0;
}

#survey .q_section .q_label {
    position: relative;
    display: block;
    padding: 15px 10px;
    padding-left: 40px;
    top: 0;
    left: 0;
    width: 100%;
    cursor: pointer;
    transition: all .4s ease;
}

.q_section .q_input:checked + .q_label {
    color: #fff;
    background-color: var(--primary_color);
}

.q_section .q_label::before {
    background-color: transparent;
    border: 1px solid var(--primary_color);
    border-radius: 50%;
    width: 20px;
    height: 20px;
    left: 10px;

    content: "";
    display: block;
    position: absolute;
    transform: translateY(-50%);
    top: 50%;
    transition: all .4s ease;

}

.q_section .q_input:checked + .q_label::before {
    border: 1px solid #FFF;
}

.q_section .q_label::after {
    background-color: #fff;
    border-radius: 50%;
    opacity: 0;
    width: 10px;
    height: 10px;
    top: 50%;
    left: 16px;
    transform: translate(0, -50%);

    content: "";
    display: block;
    position: absolute;
    transition: all .4s ease;

}

.q_section .q_input:checked + .q_label::after {
    opacity: 1;
}

.link_answer {
    position: relative;
    display: block;
    margin: 0 auto;
    margin-top: 30px;
    /* width: 90%; */
    padding-left: 30px;
    padding-right: 30px;
    height: 42px;
    font-size: 16px;
    font-weight: normal;
    line-height: 38px;
    text-align: center;
    color: #fff;
    border-radius: 20px;
    background-color: var(--primary_color);
    box-sizing: border-box;
    border: 1px solid var(--primary_color);
    transition: all .4s ease;
    cursor: pointer;
    appearance: none;
}

@media screen and (max-width:1300px) {
    #survey .survey-dialog.active {
        display: flex;
        top: 20px;
    }

    #survey .questionnaire_sect {
        margin-bottom: 0px;
    }

}
@media screen and (max-width:768px) {
    section#survey {
        gap: 0px;
    }

    #survey .survey-dialog.active {
        width: 100%;
        top: 0px;
        position: relative;
        margin-top: 20px;
        overflow-y: auto;
    }

    #survey .choices {
        flex-direction: column;
    }

    #survey .q_section {
        width: 100%;
    }

    #survey .close-button.sp {
        position: unset;
        display: block;
    }
    #survey .close-button.desktop {
        display: none;
    }
}
