@charset "utf-8";

/* Common CSS */

 :root {
    --header-height: 0px;
    --ja-font: "Times New Roman", "A-OTF Ryumin Pr6N", "Hiragino Mincho ProN", "Yu Mincho", serif;
    --en-font: "Times New Roman", Times, serif;
    --ja-font-large: clamp(24px, calc((32 - 24) * ((100vw - 768px) / (1500 - 768)) + 24px), 32px);
    --ja-font-medium: clamp(18px, calc((24 - 18) * ((100vw - 768px) / (1500 - 768)) + 18px), 24px);
    --ja-font-small: clamp(16px, calc((22 - 16) * ((100vw - 768px) / (1500 - 768)) + 16px), 22px);
    --en-font-large: clamp(2.375rem, 1.719rem + 1.37vw, 3rem);
    --en-font-medium: clamp(1.125rem, 0.6rem + 1.09vw, 1.625rem);
    --en-font-small: clamp(0.75rem, 0.619rem + 0.27vw, 0.875rem);
}

.mv {
    z-index: 3;
    position: relative;
    width: 100%;
    height: auto;
    padding-top: var(--header-height);
    background: transparent;
    &::before {
        z-index: -1;
        content: "";
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 200vh;
        background: url("../img/backtexture.jpg") repeat center center / contain;
    }
    .mv-inner {
        max-width: 1500px;
        width: 100%;
        height: auto;
        margin: 0 auto;
        display: flex;
        flex-direction: column;
        align-items: center;
        .mv-title {
            margin-top: 150px;
            margin-left: auto;
            margin-right: auto;
            max-width: 320px;
            width: 60%;
            height: auto;
            img {
                width: 100%;
                height: 100%;
                object-fit: contain;
            }
        }
        .min-txt-area {
            width: 100%;
            height: auto;
            margin-top: 50px;
            display: flex;
            justify-content: center;
            .min-txt {
                font-size: var(--en-font-small);
                line-height: 1.6;
                width: 100%;
                text-align: center;
                height: auto;
                word-break: keep-all;
            }
        }
    }
}

@media screen and (max-width: 768px) {
    .mv {
        .mv-inner {
            .mv-title {
                margin-top: 90px;
                width: 60%;
            }
            .min-txt-area {
                margin-top: 30px;
                flex-wrap: wrap;
                gap: 20px 0;
                .min-txt {
                    width: 100%;
                }
            }
        }
    }
}

.video-wrap {
    z-index: 3;
    position: relative;
    margin-top: 90px;
    position: sticky;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    .video-area {
        z-index: 1;
        width: 100%;
        height: 100vh;
        padding-left: 40px;
        padding-right: 40px;
        object-fit: cover;
    }
}

@media screen and (max-width: 768px) {
    .video-wrap {
        margin-top: 60px;
        .video-area {
            padding-left: 20px;
            padding-right: 20px;
            object-fit: cover;
        }
    }
}

.philosophy {
    position: relative;
    z-index: 3;
    width: 100%;
    height: auto;
    padding-top: 120px;
    background: rgba(0, 116, 72, 0);
    .philosophy-inner {
        position: sticky;
        top: 0;
        left: 0;
        /* max-width: 580px; */
        width: 100%;
        height: 100vh;
        margin: 0 auto;
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        gap: 40px;
        color: #fff;
        text-align: center;
        opacity: 0;
        .philosophy-title {
            font-size: clamp(1.125rem, 0.863rem + 0.55vw, 1.375rem);
            line-height: 1;
        }
        .philosophy-desc {
            line-height: 2.1;
        }
    }
    .philosophy-img-wrap {
        margin-top: 200vh;
        padding-bottom: 120px;
        max-width: 1437px;
        width: 100%;
        height: fit-content;
        margin: 0 auto;
        .philosophy-img {
            width: 100%;
            height: auto;
            object-fit: contain;
        }
    }
}

@media screen and (max-width: 768px) {
    .philosophy {
        padding-top: 60px;
        .philosophy-inner {
            z-index: 2;
            gap: 60px;
            .philosophy-title {
                font-size: 18px;
                margin-right: auto;
                text-align: left;
            }
            .philosophy-desc {
                font-size: 16px;
                text-align: left;
                br {
                    display: none;
                }
            }
        }
        .philosophy-img-wrap {
            z-index: 1;
            position: relative;
            margin-top: 200vh;
            padding-bottom: 60px;
            margin: 0 auto;
            width: 100vw;
            margin: 0 calc(50% - 50vw);
            overflow: hidden;
            opacity: 0.4;
            .philosophy-img {
                width: 150%;
                margin-left: -50%;
            }
        }
    }
}

.model-background {
    z-index: 0;
    width: 100vw;
    height: 100vh;
    margin: 0 calc(50% - 50vw);
    position: fixed;
    overflow: hidden;
    top: 0;
    left: 0;
    z-index: 0;
    opacity: 1;
    background-color: #fff;
    pointer-events: none;
    .model-background-img {
        width: 120%;
        height: 100%;
        object-fit: cover;
        opacity: 0;
        filter: blur(16px);
        transition: opacity 0.45s cubic-bezier(0.22, 1, 0.36, 1), filter 0.6s cubic-bezier(0.4, 0, 0.2, 1);
    }
    &.is-active {
        .model-background-img {
            opacity: 1;
        }
    }
}

@media screen and (max-width: 768px) {
    .model-background {
        .model-background-img {
            width: 120%;
            filter: blur(16px);
        }
    }
}

.model {
    z-index: 5;
    position: relative;
    .model-inner {
        width: 100%;
        padding-bottom: 120px;
        height: 100%;
        /* background-color: #fff; */
        position: sticky;
        top: 0;
        left: 0;
        z-index: 1;
        .model-content {
            padding-top: 30vh;
            padding-bottom: 30vh;
            max-width: 1000px;
            width: 100%;
            height: fit-content;
            margin: 0 auto;
            display: flex;
            justify-content: space-between;
            align-items: start;
            color: #333;
            position: sticky;
            top: 0;
        }
        .model-title {
            position: sticky;
            top: 30vh;
            width: 100px;
            height: 40vh;
            font-size: clamp(1.125rem, 0.863rem + 0.55vw, 1.375rem);
            line-height: 1;
            display: flex;
            align-items: center;
        }
        .model-name-wrap {
            position: sticky;
            top: 0;
            width: 120px;
            height: 40vh;
            display: flex;
            align-items: center;
            .model-name-list {
                font-size: clamp(1.125rem, 0.863rem + 0.55vw, 1.375rem);
                line-height: 1;
                overflow: scroll;
                height: 20px;
                display: flex;
                flex-direction: column;
                scrollbar-width: none;
                -ms-overflow-style: none;
                &::after {
                    content: "";
                    position: absolute;
                    top: 0;
                    left: 0;
                    width: 100%;
                    height: 100%;
                }
                &::-webkit-scrollbar {
                    display: none;
                }
                .model-name-item {
                    .model-name {
                        font-size: clamp(1.125rem, 0.863rem + 0.55vw, 1.375rem);
                        line-height: 1;
                    }
                }
            }
        }
    }
    .model-list {
        max-width: 600px;
        width: 60%;
        height: auto;
        display: flex;
        margin: auto;
        flex-direction: column;
        gap: 90px;
        .model-item {
            position: relative;
            width: 100%;
            height: auto;
            .model-link {
                position: relative;
                display: block;
                width: 100%;
                height: auto;
            }
            .model-img {
                width: 100%;
                height: auto;
                aspect-ratio: 16 / 9;
                object-fit: cover;
            }
            .model-detail {
                position: absolute;
                top: 50%;
                left: 50%;
                transform: translate(-50%, -50%);
                line-height: 2.1;
                padding-left: 30px;
                color: #fff;
                &::before {
                    content: "";
                    position: absolute;
                    left: 0;
                    top: 50%;
                    transform: translateY(-50%);
                    width: 1px;
                    height: 100%;
                    background-color: #fff;
                }
            }
        }
    }
    .model-cta {
        position: relative;
        z-index: 10;
        margin-top: 90px;
        display: inline-block;
        width: 100%;
        height: auto;
        text-align: center;
        line-height: 1;
        font-size: clamp(1.125rem, 0.863rem + 0.55vw, 1.375rem);
        text-decoration: underline;
    }
}

@media screen and (min-width: 768px) {
    .model-list {
        .model-item {
            .model-link {
                transition: all 0.3s ease;
                &::before {
                    content: "";
                    position: absolute;
                    top: 0;
                    left: 0;
                    width: 100%;
                    height: 100%;
                    background-color: #333;
                    opacity: 0;
                }
                .model-detail {
                    opacity: 0;
                    transition: all 0.3s ease;
                }
                &::before {
                    opacity: 0;
                }
                &:hover {
                    &::before {
                        opacity: .8;
                    }
                    .model-detail {
                        opacity: 1;
                        &::before {
                            opacity: 1;
                        }
                    }
                }
            }
        }
    }
}

@media screen and (max-width: 768px) {
    .model {
        .model-inner {
            padding-bottom: 60px;
            .model-content {
                padding-top: calc((var(--header-height) + 30px));
                padding-bottom: 60px;
                flex-direction: column;
                /* justify-content: start; */
                gap: 30px;
                height: 100vh;
            }
            .model-title {
                top: 0;
                height: 30px;
                font-size: 18px;
            }
            .model-name-wrap {
                width: 120px;
                height: 30px;
                .model-name-list {
                    height: 20px;
                    .model-name-item {
                        .model-name {
                            font-size: 18px;
                        }
                    }
                }
            }
        }
        .model-list {
            margin-right: 0;
            width: 60%;
            gap: 60px;
            .model-item {
                .model-link {
                    display: flex;
                    flex-direction: column;
                    gap: 20px;
                }
                .model-detail {
                    position: relative;
                    top: auto;
                    left: auto;
                    transform: translate(0, 0);
                    font-size: 14px;
                    line-height: 1.6;
                    padding-left: 15px;
                    color: #333;
                    &::before {
                        background-color: #333;
                    }
                }
            }
        }
        .model-cta {
            margin-top: 40px;
            font-size: 18px;
        }
    }
}

.front-cta {
    padding-top: 30px;
    padding-bottom: 30px;
}

.instagram {
    background: url("../img/backtexture.jpg") repeat center center / contain;
    z-index: 5;
    position: relative;
    background-color: #fff;
    width: 100%;
    height: auto;
    padding-top: 120px;
    padding-bottom: 120px;
    .instagram-inner {
        width: 100%;
        height: auto;
        max-width: 1000px;
        margin: 0 auto;
        display: flex;
        flex-direction: column;
        align-items: center;
        .instagram-title {
            font-size: clamp(1.125rem, 0.863rem + 0.55vw, 1.375rem);
            line-height: 1;
        }
        .instagram-list {
            margin-top: 50px;
            width: 100%;
            height: auto;
            .sb_instagram_header,
            #sbi_load{
                display: none !important;
            }
        }
    }
}

@media screen and (max-width: 768px) {
    .instagram {
        padding-top: 60px;
        padding-bottom: 60px;
        .instagram-inner {
            .instagram-title {
                font-size: 18px;
            }
            .instagram-list {
                margin-top: 30px;
            }
        }
    }
}