// スタイルシート common

@charset "utf-8";

@import "mixin";

body {
    @include root;
    position: relative;
    -webkit-text-size-adjust: none;
    text-size-adjust: none;
}

img,
video {
    max-width: 100%;
    height: auto;
}

a:hover {
    opacity: 0.75;
}

.default {
    @include contentdefault;
    @include eachcss;
}

:where(figure) { margin: 0; }

#cboxOverlay {
    background-color: $basetextcolor;
}
#colorbox {
    #cboxTitle {
        color: $themetextcolor;
        @include ff_ja();
        @include f_all(13);
        font-weight: 500;
    }
    #cboxPrevious,
    #cboxNext {
        .page-lineup & {
            display: none !important;
        }
    }
    #cboxPrevious {
    }
    #cboxNext {
    }
}

// ===

@keyframes header-scroll-out-anime {
    0% {
        clip-path: inset(100% 0 0 0);
    }
    100% {
        clip-path: inset(0% 0 0 0);
    }
}

@keyframes shine {
    100% { left: 125%; }
}

@keyframes viewinMask{
    0%{ transform: translateX(-50%); }
    100%{ transform: translateX(50%); }
}

@mixin scroll_effect_mask_style($color:#fff) {
    &.js-trigger {
        position: relative;
        overflow: hidden;
        &::after{
            content: '';
            display: block;
            z-index: 10;
            width: 200%;
            height: 100%;
            position: absolute;
            left: 0;
            top: 0;
            background: linear-gradient(90deg, rgba($color,0) 0%, rgba($color,1) 50%, rgba($color,1) 100%);
            transform: translateX(-50%);
        }
        &.is-active {
            &::after{
                animation: viewinMask 1s ease-in-out forwards;
            }
        }
    }
}

// relativeかabsoluteで選択
// きらりと光るアニメーションを付与
@mixin kirari($position:relative) {
    position: $position;
    overflow: hidden;
    &:hover { opacity: 1; }
    @media (hover: hover) {
        z-index: 0;
        &::after {
            position: absolute;
            top: 0;
            left: -75%;
            z-index: 2;
            display: block;
            content: '';
            width: 50%;
            height: 100%;
            background: -webkit-linear-gradient(left, rgba(255,255,255,0) 0%, rgba(255,255,255,.3) 100%);
            background: linear-gradient(to right, rgba(255,255,255,0) 0%, rgba(255,255,255,.3) 100%);
            -webkit-transform: skewX(-25deg);
            transform: skewX(-25deg);
            z-index: 1;
        }
        &:hover {
            &::after {
                -webkit-animation: shine .75s;
                animation: shine .75s;
            }
        }
    }
}

#header {
    // position: relative;
    position: fixed;
    top: 0;
    @media (min-width: 1201px) {
        .admin-bar & { top: 32px; }
    }
    left: 0;
    right: 0;
    @include maxwidth(1200) {
        position: relative;
        top: auto;
        left: auto;
        right: auto;
    }
    z-index: 50;
    .container {
        padding: 20px (60 / 1440 * 100vw) 15px 30px;
        box-sizing: border-box;
        display: flex;
        justify-content: space-between;
        background-color: $basecolor;
        position: relative;
        @include maxwidth(1200) {
            padding: 20px 0 15px;
        }
        .header-sitename {
            h1 {
                a {
                    display: inline-flex;
                    align-items: flex-end;
                    gap: 10px;
                    @include maxwidth(1200) {
                        gap: 15px;
                    }
                    @include maxwidth(360) {
                        gap: 10px;
                    }
                    .logo {
                        @include maxwidth(1200) {
                            flex-shrink: 0;
                            display: inline-flex;
                            align-items: center;
                            justify-content: center;
                            width: 95px;
                            height: 95px;
                            background-color: $themecolor;
                            position: relative;
                            z-index: 10;
                            margin-bottom: -25px;
                            .header-scroll-out & {
                                position: fixed;
                                top: 20px;
                                left: 0;
                                animation: header-scroll-out-anime 1s;
                            }
                        }
                        &>img {
                            width: 60px;
                        }
                    }
                    .description {
                        display: inline-flex;
                        flex-direction: column;
                        gap: 12px;
                        @include maxwidth(768) {
                            flex-shrink: 0;
                        }
                        .outline {
                            @include f_all(11);
                            @include maxwidth(768) {
                                @include f_all(10);
                            }
                            font-weight: bold;
                            line-height: 1.2;
                            br {
                                display: none;
                                @include maxwidth(768) {
                                    display: block;
                                }
                            }
                        }
                        .sitename {
                            &>img {
                                height: 25px;
                                @include maxwidth(768) {
                                    height: 18px;
                                }
                            }
                        }
                    }
                }
            }
        }
        .header-menu {
            @include ff_ja(serif);
            @include f_all(14);
            font-weight: bold;
            line-height: 1.2;
            display: flex;
            align-items: center;
            gap: 20px;
            @include maxwidth(1200) {
                display: none;
            }
            .menu {
                &>ul {
                    display: flex;
                    align-items: center;
                    gap: 2em;
                    &>li {
                        &>a {
                        }
                        &>ul { display: none; }
                    }
                }
                a.parent {
                    cursor: pointer;
                    &::after { content: " ＋"; }
                    // &.is-active::after { content: " ー"; }
                }
                li {
                    &:hover,
                    &:focus,
                    &:active {
                        &>a.parent::after { content: ' －'; }
                        &>.children-wrapper {
                            opacity: 1;
                            visibility: visible;
                            transform: translateY(0);
                        }
                    }
                }
                .children-wrapper {
                    opacity: 0;
                    visibility: hidden;
                    position: absolute;
                    min-width: 200px;
                    padding-top: 50px;
                    transform: translateY(-10px);
                    transition: .4s;
                    .children {
                        display: block;
                        padding: 20px 30px 20px 15px;
                        box-sizing: border-box;
                        background-color: $basecolor;
                        border-radius: 10px;
                        li {
                            @include ff_ja(serif);
                            @include f_all(14);
                            &:not(:first-child) {
                                margin-top: 0.75em;
                            }
                            a {
                                display: inline-flex;
                                align-items: center;
                                gap: 10px;
                                &::before{
                                    content: '';
                                    display: inline-block;
                                    width: 15px;
                                    height: 15px;
                                    border: solid 1px;
                                    border-radius: 9999px;
                                    background: url(../images/arrow-right-black.svg) no-repeat center/4px auto;
                                    margin-top: 0.2em;
                                }
                            }
                        }
                    }
                }
            }
            .asidemenu {
                ul {
                    display: flex;
                    gap: 1em;
                    li {
                        display: inline-block;
                        a {
                            display: block;
                            overflow: hidden;
                            text-indent: -9999px;
                            width: 33px;
                            height: 33px;
                            border-radius: 9999px;
                            box-sizing: border-box;
                            position: relative;
                            &::before{
                                content: '';
                                display: inline-block;
                                background: no-repeat center/contain;
                                @include absolute_centering;
                                top: 2px;
                            }
                            @include kirari();
                            &.instagram {
                                background-color: $themecolor;
                                &::before {
                                    width: 14px;
                                    height: 14px;
                                    background-image: url(../images/instagram-logo-white.svg);
                                }
                            }
                            &.form {
                                background-color: $accentcolor;;
                                &.mail {
                                    &::before {
                                        width: 14px;
                                        height: 12px;
                                        background-image: url(../images/icon-mail-white.svg);
                                    }
                                }
                            }
                        }
                    }
                }
            }
        }
    }
}


@keyframes loadingAnimation {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

#mv {
    position: relative;
    @include maxwidth(1200) {
        padding-top: 0 !important;
    }
    &Inner {
        position: relative;
        #video {
            --videoHeight: 80vh;
            height: var(--videoHeight);
            min-height: 600px;
            position: relative;
            @include maxwidth(768) {
                min-height: auto;
                height: 380px;
            }
            &.loaded > video { opacity: 1 !important; }
            &.loaded::before {  display: none !important;} // 動画が読み込まれたら削除
            &::before{
                content: '';
                display: block;
                position: absolute;
                z-index: 1;
                top: calc(50% - 15px);
                left: calc(50% - 15px);
                width: 30px;
                height: 30px;
                border: 6px solid color-mix(in srgb, $basetextcolor, $basecolor 95%);
                border-top: 5px solid $themecolor;
                border-radius: 50px;
                animation: loadingAnimation 700ms linear 0ms infinite normal both;

                body.smartphone & { display: none !important; } // スマホで削除
            }
            &::after{
                content: '';
                @include absolute_centering;
                z-index: 5;
                background: linear-gradient(180deg, rgba(#000, 0.80) 0%, rgba(#000, 0.20) 49.9%, rgba(#000, 0.50) 100%);
            }
            .poster {
                height: 100%;
                &>img {
                    width: 100%;
                    height: 100%;
                    object-fit: cover;
                }
            }
            video {
                position: absolute;
                z-index: 1;
                top: 0;
                left: 0;
                width: 100%;
                height: 100%;
                object-fit: cover;
                opacity: 0;
            }
        }
        .overlay {
            color: $themecolor;
            display: inline-flex;
            flex-direction: column;
            gap: 20px;
            position: relative;
            z-index: 10;
            @media (min-width: 769px) {
                color: $themetextcolor;
                position: absolute;
                left: 40px;
                bottom: 40px;
            }
            @include maxwidth(768) {
                margin: 30px 15px;
                box-sizing: border-box;
                gap: 10px;
            }
            .leadtext-en {
                @include ff_ja(serif);
                font-size: clamp(48px,(48 / 1440 * 100vw),96px);
                @include maxwidth(768) {
                    font-size: 28px;
                    font-weight: 500;
                }
                @include maxwidth(360) {
                    font-size: 24px;
                }
                line-height: 1.2;
            }
            .leadtext {
                font-size: clamp(16px,(16 / 1440 * 100vw),32px);
                @include maxwidth(768) {
                    font-size: 14px;
                }
                @include maxwidth(360) {
                    font-size: 12px;
                }
                font-weight: bold;
                line-height: 1.2;
            }
        }
    }
    .c-contact-box {
        position: absolute;
        z-index: 10;
        right: 0;
        bottom: 30px;
        min-width: 374px;
        width: calc(374 / 1440 * 100vw);
        @include maxwidth(1200) {
            display: none;
        }
    }
    .scroll-button {
        color: $themecolor;
        @include f_all(14);
        font-weight: 500;
        padding: 25px 0 20px;
        box-sizing: border-box;
        @include flex_centering;
        @include maxwidth(768) {
            padding-top: 0;
            @include f_all(10);
        }
        a {
            display: inline-flex;
            flex-direction: column;
            align-items: center;
            gap: 12px;
            &::after{
                content: '';
                display: inline-block;
                width: 15px;
                height: 15px;
                border-radius: 9999px;
                background: url(../images/arrow-bottom-white.svg) no-repeat center/7px auto currentColor;
            }
        }
    }
}

.c-contact-box {
    &__inner {
        color: $themetextcolor;
        background-color: $accentcolor;
        padding: 27px 40px 20px;
        box-sizing: border-box;
        position: relative;
        @include maxwidth(768) {
            padding: 10px 15px;
        }
    }
    .text {
        @include f_all(13);
        font-weight: bold;
        line-height: 1.2;
        text-align: center;
        margin-bottom: 18px;
        @include maxwidth(768) {
            @include f_all(12);
            margin-bottom: 12px;
        }
    }
    .contact-buttons {
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 15px;
        .contact-button {
            width: 100%;
            &__link {
                color: $themetextcolor;
                @include ff_ja(serif);
                @include f_all(15);
                font-weight: bold;
                line-height: 1.5;
                @include flex_centering;
                position: relative;
                @include maxwidth(768) {
                    @include f_all(14);
                }
                &:hover { opacity: 1; }
                &.tel {
                    line-height: 1;
                    flex-direction: column;
                    .telnum {
                        @include f_all(32);
                        padding-left: 27px;
                        background: url(../images/icon-phone-white.svg) no-repeat left top 60%/20px auto;
                        @include maxwidth(768) {
                            @include f_all(24);
                            background-size: 18px auto;
                            padding-left: 26px;
                        }
                    }
                    .teltime {
                        @include f_all(14);
                        line-height: 1.2;
                        padding-top: 8px;
                        @include maxwidth(768) {
                            @include f_all(12);
                            padding-top: 7px;
                        }
                    }
                }
                &.form {
                    background-color: $basetextcolor;
                    min-height: 50px;
                    gap: 7px;
                    @include maxwidth(768) {
                        min-height: 45px;
                        gap: 6px;
                    }
                    &::before {
                        content: "";
                        display: inline-block;
                    }
                    @media (hover: hover) {
                        z-index: 0;
                        &::after{
                            content: '';
                            @include absolute_centering;
                            z-index: -1;
                            background-color: $themecolor2;
                            background-color: color-mix(in srgb, $themecolor2 90%, $basetextcolor);
                            opacity: 0;
                            transform: scaleX(0);
                            transform-origin: left center;
                            transition: transform .4s, opacity .4s;
                        }
                        &:hover {
                            &::after {
                                opacity: 1;
                                transform: scaleX(1);
                            }
                        }
                    }
                    &.mitsumori {
                        &::before {
                            width: 14px;
                            height: 17px;
                            background: url(../images/icon-calc-white.svg) no-repeat center center/contain;
                            @include maxwidth(768) {
                                width: 11px;
                                height: 13px;
                            }
                        }
                    }
                }
            }
        }
    }
}

#gnavToggle {
    position: absolute;
    top: 20px;
    right: 0;
    z-index: 100;
    display: none;
    @include maxwidth(1200) {
        display: block;
    }
    .header-scroll-out & {
        position: fixed;
        @include maxwidth(768) {
            top: auto;
            bottom: 0;
        }
        animation: header-scroll-out-anime 1s;
    }
    .menu_open & {
        position: fixed;
        top: 20px;
        right: 0;
    }
    .menu_open.admin-bar & {
        top: 32px;
    }
    a {
        display: block;
        width: 48px;
        height: 48px;
        color: $themetextcolor;
        background-color: $accentcolor;
        position: relative;
        .header-scroll-out & {
            width: 55px;
            height: 55px;
        }
        .b {
            &>span {
                display: inline-block;
                width: 24px;
                height: 1px;
                background-color: currentColor;
                position: absolute;
                top: 45%;
                left: 0;
                right: 0;
                margin: auto;
                transition: transform .3s;
                &:nth-child(1) {
                    transform: translateY(-7px);
                    .menu_open & {
                        transform: translateY(-3px) rotate(135deg);
                    }
                }
                &:nth-child(2) {
                    .menu_open & {
                        transform: translateY(-3px) rotate(-135deg);
                    }
                }
            }
        }
        .t {
            @include f_all(10);
            position: absolute;
            bottom: 18%;
            left: 0;
            right: 0;
            margin: auto;
            height: 1em;
            &::before, &::after {
                font-weight: bold;
                white-space: nowrap;
                @include absolute_centering;
                @include flex_centering;
                transition: .3s;
            }
            &::before{
             content: 'MENU';
             .menu_open & {
                opacity: 0;
             }
            }
            &::after {
                content: 'CLOSE';
                opacity: 0;
                .menu_open & {
                    opacity: 1;
                }
            }
        }
    }
}

#asideMenu {
    position: fixed;
    z-index: 20;
    bottom: 0;
    left: 0;
    right: 55px;
    margin: auto;
    display: none;
    @include maxwidth(768) { display: block; }

    visibility: hidden;
    .header-scroll-out & {
        visibility: visible;
    }

    ul {
        display: flex;
        li {
            margin-right: 1px;
            flex: 50%;
            a {
                @include ff_ja(serif);
                color: $themetextcolor;
                @include f_all(12);
                @include maxwidth(360) {
                    @include f_all(10);
                }
                font-weight: bold;
                line-height: 1.3;
                @include flex_centering;
                height: 55px;
                padding: 0 5px;
                box-sizing: border-box;
                position: relative;
                &.form {
                    background-color: $accentcolor;
                    gap: 5px;
                    &::before{
                        flex-shrink: 0;
                        content: '';
                        display: inline-block;
                        background: no-repeat center/contain;
                    }
                    &.mail {
                        &::before {
                            width: 10px;
                            height: 13px;
                            background-image: url(../images/icon-calc-white.svg);
                        }
                    }
                }
                &.tel {
                    flex-direction: column;
                    background-color: $themecolor;
                    .telnum {
                        @include f_all(18);
                        @include maxwidth(360) {
                            @include f_all(16);
                        }
                        font-weight: bold;
                        line-height: 1;
                        padding-left: 19px;
                        background: url(../images/icon-phone-white.svg) no-repeat left top 75%/12px auto;
                    }
                    .teltime {
                        @include f_all(8);
                        font-weight: bold;
                        line-height: 1.2;
                        padding-top: 6px;
                        text-align: center;
                    }
                }
            }
        }
    }
}

#gnav {
    position: fixed;
    inset: 0;
    background-color: $themecolor;
    z-index: 99;
    opacity: 0;
    visibility: hidden;
    transition: .3s;
    .menu_open & {
        opacity: 1;
        visibility: visible;
    }
    &Inner {
        position: fixed;
        top: 0;
        .admin-bar & {
            top: 32px;
        }
        right: 0;
        bottom: 0;
        left: 0;
        margin: auto;
        color: $themetextcolor;
        padding: 20px 30px 40px;
        @include maxwidth(768) {
            padding: 10px;
        }
        box-sizing: border-box;
        overflow-y: auto;
        // スクロールバー非表示
        -ms-overflow-style: none;
        scrollbar-width: none;
        &::-webkit-scrollbar {
            display: block;
        }
        .container {
            .head {
            }
            .body {
                max-width: 800px;
                width: 100%;
                margin-left: auto;
                margin-right: auto;
                margin-top: 50px;
                @include maxwidth(768) { 
                    margin-top: 30px;
                }
                &>*:not(:first-child) {
                    margin-top: 25px;
                }
    
                .c-contact-box {
                    &__inner {
                    }
                }
    
                .menu {
                    @include ff_ja(serif);
                    ul {
                        li {
                            &:not(:first-child) {
                                margin-top: 1px;
                            }
                        }
                    }
                    a {
                        color: $themetextcolor;
                        @include f_all(14);
                        line-height: 1.2;
                        font-weight: bold;
                        display: flex;
                        align-items: center;
                        background-color: $basetextcolor;
                        padding: 0.5em 35px 0.5em 10px;
                        box-sizing: border-box;
                        min-height: 45px;
                        position: relative;
                        &::after{
                            content: '';
                            display: inline-block;
                            width: 15px;
                            height: 15px;
                            border-radius: 9999px;
                            border: solid 1px;
                            background: url(../images/arrow-right-white.svg) no-repeat center/4px auto;
                            position: absolute;
                            top: 0;
                            bottom: 0;
                            right: 10px;
                            margin: auto;
                        }

                        &.english {
                            @include ff_ja(serif);
                        }

                        &.parent {
                            &::after{
                                content: '＋';
                                width: auto;
                                height: auto;
                                border: none;
                                background: none;
                                @include flex_centering;
                            }
                            &.is-active {
                                &::after{ content: '－'; }
                            }
                        }
                    }
                    .children {
                        padding-top: 1px;
                        li {
                            a {
                                color: $basetextcolor;
                                @include f_all(13);
                                background-color: #FBFCFF;
                                &:after {
                                    background-image: url(../images/arrow-right-black.svg);
                                }
                            }
                        }
                    }
                }
    
                .asidemenu {
                    @include ff_ja(serif);
                    margin-top: 20px;
                    position: relative;
                    ul {
                        @include flex_centering;
                        gap: 14px;
                        li {
                            a {
                                display: block;
                                overflow: hidden;
                                text-indent: -9999px;
                                width: 33px;
                                height: 33px;
                                border-radius: 9999px;
                                background-color: $accentcolor;
                                position: relative;
                                &::after{
                                    content: '';
                                    display: inline-block;
                                    @include absolute_centering;
                                    background: no-repeat center/contain;
                                }
                                &.instagram {
                                    &::after {
                                        width: 14px;
                                        height: 14px;
                                        background-image: url(../images/instagram-logo-white.svg);
                                    }
                                }
                                &.form {
                                    &.mail {
                                        &::after {
                                            width: 14px;
                                            height: 12px;
                                            background-image: url(../images/icon-mail-white.svg);
                                        }
                                    }
                                }
                            }
                        }
                    }
                }

                .description {
                    text-align: center;
                    margin-top: 20px;
                    .sitename {
                        @include maxwidth(768) {
                            img {
                                height: 18px;
                            }
                        }
                    }
                    .outline {
                        @include f_all(12);
                        line-height: 1.3;
                        margin-top: 4px;
                    }
                    .address {
                        @include f_all(11);
                        line-height: 1.3;
                        margin-top: 9px;
                    }
                }
    
            }
        }
    }
}

#contentFooter {
    &Contact {
        margin-top: 100px;
        padding: 60px 0 40px;
        @include maxwidth(768) {
            padding: 40px 0;
            margin-top: 60px;
        }
        box-sizing: border-box;
        background-color: $themecolor2;
        position: relative;
        .container {
            color: $themetextcolor;
            @include container(600, 30);
            @include maxwidth(768) {
                width: auto;
                max-width: 100%;
                margin-left: 15px;
                margin-right: 15px;
            }
            .leadtext {
                @include f_all(14);
                font-weight: 500;
                line-height: 1.2;
                text-align: center;
                margin-bottom: 20px;
                @include maxwidth(768) {
                    @include f_all(13);
                    margin-bottom: 18px;
                }
            }
            .contact-buttons {
                display: flex;
                justify-content: center;
                flex-wrap: wrap;
                gap: 10px;
                @include maxwidth(600) {
                    gap: 2px;
                    flex-direction: column;
                    justify-content: flex-start;
                    &>* {
                        flex: none !important;
                    }
                }
                .contact-button {
                    flex-basis: calc((100% - 10px) / 2);
                    &:first-child {
                        flex-basis: 100%;
                        @include flex_centering;
                        margin-bottom: 20px;
                        @include maxwidth(768) {
                            margin-bottom: 28px;
                        }
                    }
                    &__link {
                        @include ff_ja(serif);
                        @include f_all(15);
                        font-weight: bold;
                        @include flex_centering;
                        position: relative;
                        &:hover { opacity: 1; }
                        @media (hover: hover) {
                        }
                        &.tel {
                            flex-direction: column;
                            gap: 10px;
                            .telnum {
                                @include f_all(40);
                                line-height: 1;
                                padding-left: 30px;
                                background: url(../images/icon-phone-white.svg) no-repeat left top 60%/20px auto;
                                @include maxwidth(768) {
                                    @include f_all(32);
                                    padding-left: 24px;
                                }
                            }
                            .teltime {
                                @include f_all(14);
                                line-height: 1.2;
                            }
                        }
                        &.form {
                            gap: 7px;
                            background-color: $basetextcolor;
                            padding: 1em 10px;
                            box-sizing: border-box;
                            min-height: 70px;
                            @media (hover: hover) {
                                z-index: 0;
                                &::after{
                                    content: '';
                                    @include absolute_centering;
                                    z-index: -1;
                                    background-color: $accentcolor;
                                    opacity: 0;
                                    transform: scaleX(0);
                                    transform-origin: left center;
                                    transition: transform .4s, opacity .4s;
                                }
                                &:hover {
                                    &::after {
                                        opacity: 1;
                                        transform: scaleX(1);
                                    }
                                }
                            }
                            &::before{
                                content: '';
                                display: inline-block;
                                background: no-repeat center/contain;
                            }
                            &.mitsumori {
                                &::before {
                                    width: 14px;
                                    height: 17px;
                                    background-image: url(../images/icon-calc-white.svg);
                                }
                            }
                            &.mail {
                                @include f_all(14);
                                &::before {
                                    width: 14px;
                                    height: 12px;
                                    background-image: url(../images/icon-mail-white.svg);
                                }
                            }
                        }
                    }
                }
            }
        }
    }
}

#footer {
    color: $themetextcolor;
    padding: 50px 0 35px;
    box-sizing: border-box;
    background-color: $basetextcolor;
    position: relative;
    @include maxwidth(768) {
        padding: 30px 0 75px;
        background-color: #000;
    }
    .container {
        @include container(1320, 30);
        @include maxwidth(786) {
            margin-left: 15px;
            margin-right: 15px;
        }
        .footer-menu {
            @include ff_ja(serif);
            @include f_all(14);
            line-height: 1.8;
            display: flex;
            justify-content: space-between;
            gap: 2em;
            @include maxwidth(1200) {
                justify-content: flex-start;
                flex-wrap: wrap;
                &>* {
                    flex-basis: calc((100% - 4em) / 3);
                }
            }
            @include maxwidth(768) {
                line-height: 1.2;
                gap: 1px;
                &>* {
                    flex: none !important;
                    width: 100%;
                }
            }
            .menu {
                li {
                    @include maxwidth(768) {
                        &:not(:first-child) {
                            padding-top: 1px;
                        }
                    }
                }
                a {
                    display: inline-flex;
                    align-items: center;
                    padding-left: calc(15px + 1.25em);
                    box-sizing: border-box;
                    position: relative;
                    @include maxwidth(768) {
                        font-weight: bold;
                        display: flex;
                        padding: 0.5em 1em 0.5em 45px;
                        min-height: 45px;
                        background-color: $basetextcolor;
                    }
                    &::after{
                        content: '';
                        display: inline-block;
                        width: 15px;
                        height: 15px;
                        border-radius: 9999px;
                        border: solid 1px;
                        background: url(../images/arrow-right-white.svg) no-repeat center/5px auto;
                        position: absolute;
                        top: 0;
                        bottom: 0;
                        left: 0;
                        margin: auto;
                        @include maxwidth(768) {
                            left: 15px;
                        }
                    }
                    &.instagram {
                        &::before{
                            content: '';
                            width: 13px;
                            height: 13px;
                            background: url(../images/instagram-logo-white.svg) no-repeat center/contain;
                            margin-right: 0.5em;
                            margin-top: 0.25em;
                        }
                    }

                    &.parent {
                        @include maxwidth(768) {
                            &::after {
                                content: "＋";
                                background: none;
                                border: none;
                                border-radius: 0px;
                                @include flex_centering;
                                font-size: 10px;
                                width: 17px;
                                height: 17px;
                                background-color: #000;
                            }
                            &.is-active {
                                &::after { content: "－"; }
                            }
                        }
                    }
                }
                .children {
                    @include maxwidth(768) {
                        padding-top: 1px;
                    }
                    li {
                        a {
                            @media (min-width: 769px) {
                                &::before {
                                    content: '－';
                                    margin-right: 1em;
                                }
                            }
                            @include maxwidth(768) {
                                font-weight: 400;
                                background-color: rgba(#fff, .4);
                                &::after {
                                }
                            }
                        }
                    }
                }
            }
        }
        .footer-banner {
            flex-basis: 100%;
            margin-top: 30px;
            @include maxwidth(1200) {
                width: 100%;
                margin-left: auto;
                margin-right: auto;
            }
            @include maxwidth(768) {
                margin-top: 20px;
            }
            ul {
                display: flex;
                flex-wrap: wrap;
                gap: 10px;
                @include maxwidth(1200) {
                    gap: 4px;
                }
                @include maxwidth(520) {
                    flex-direction: column;
                }
                li {
                    height: 100px;
                    padding: 0.25em;
                    box-sizing: border-box;
                    // flex-basis: calc((100% - (10px * 3)) / 4);
                    overflow: hidden;
                    background-color: #fff;
                    @include maxwidth(1200) {
                        // flex-basis: calc((100% - 4px) / 2);
                    }
                    @include maxwidth(520) {
                        // flex-basis: auto;
                    }
                    & > *{
                        width: 100%;
                        height: 100%;
                        object-fit: contain;
                        object-position: center;
                    }
                    a {
                    }
                }
            }
        }
        .footer-description {
            margin-top: 40px;
            display: flex;
            align-items: flex-end;
            justify-content: space-between;
            gap: 2em;
            padding-top: 18px;
            box-sizing: border-box;
            border-top: solid 1px $themecolor3;
            position: relative;
            @include maxwidth(768) {
                margin-top: 30px;
                flex-direction: column;
                justify-content: flex-start;
                align-items: flex-start;
                gap: 20px;
                &>* {
                    flex: none !important;
                    width: 100%;
                }
            }
            .description {
                display: flex;
                align-items: flex-end;
                gap: 10px;
                @include maxwidth(768) {
                    flex-direction: column;
                    align-items: flex-start;
                    gap: 8px;
                    &>* {
                        flex: none !important;
                    }
                }
                .col {
                    &:nth-child(1) {
                        display: inline-flex;
                        flex-direction: column;
                        gap: 7px;
                        .outline {
                            @include f_all(12);
                            line-height: 1.3;
                        }
                        .logo {
                            a {
                                &>img {
                                    height: 30px;
                                    @include maxwidth(768) {
                                        height: 26px;
                                    }
                                }
                            }
                        }
                    }
                    &:nth-child(2) {
                        .address {
                            @include f_all(11);
                            line-height: 1.3;
                            &>p {
                                &:not(:first-child) {
                                    margin-top: 0.5em;
                                }
                            }
                        }
                    }
                }
            }
            .copyright {
                @include maxwidth(768) {
                    display: flex;
                    justify-content: flex-end;
                }
                small {
                    @include f_all(12);
                    line-height: 1.3;
                }
            }
        }
    }
}

#totop {
    position: fixed;
    right: 10px;
    bottom: 10px;
    @include maxwidth(1200) {
        right: 0;
        bottom: 20px;
    }
    z-index: 20;
    opacity: 0;
    transform: translateX(100%);
    transition: .4s;
    .header-scroll-out & {
        opacity: 1;
        transform: translateX(0);
    }
    @include maxwidth(768) {
        bottom: 56px;
    }
    a {
        color: $themetextcolor;
        @include f_all(11);
        font-weight: 500;
        @include flex_centering;
        flex-direction: column;
        width: 45px;
        height: 45px;
        @include maxwidth(768) {
            width: 55px;
            height: 55px;
        }
        background-color: $accentcolor;
        &::before{
            content: '';
            display: inline-block;
            width: 10px;
            height: 16px;
            background: url(../images/arrow-top-white.svg) no-repeat center/contain;
        }
        @include kirari();
    }
}

.c-heading {
    @include flex_centering;
    position: relative;
    &__inner {
        display: inline-flex;
        flex-direction: column;
        align-items: center;
        position: relative;
        &::before{
            content: '';
            @include polygon();
        }
        .en {
            color: $themecolor;
            @include f_all(14);
            font-weight: 500;
            line-height: 1;
            margin-top: 15px;
            @include maxwidth(768) {
                @include f_all(12);
                margin-top: 10px;
            }
        }
        .ja {
            @include ff_ja(serif);
            @include f_all(24);
            line-height: 1.2;
            font-weight: bold;
            text-align: center;
            margin-top: 15px;
            @include maxwidth(768) {
                @include f_all(20);
                margin-top: 7px;
            }
        }
    }
    &.vertical {
        justify-content: flex-start;
        .c-heading__inner {
            align-items: flex-start;
            &::before {
                position: absolute;
                top: 4px;
                left: 0;
            }
            .en {
                padding-left: 18px;
                margin-top: 0;
            }
        }
    }
}

.c-buttons {
    display: flex;
    justify-content: flex-end;
    gap: 10px;
}

.c-button {
    display: inline-block;
    &__link {
        color: $themecolor;
        @include ff_ja(serif);
        @include f_all(14);
        font-weight: 500;
        line-height: 1.5;
        text-transform: uppercase;
        @include flex_centering;
        gap: 10px;
        min-width: 175px;
        min-height: 45px;
        height: 100%;
        position: relative;
        z-index: 0;
        @include maxwidth(768) {
            min-width: 163px;
        }
        &::before{
            content: '';
            display: inline-block;
            width: 15px;
            height: 15px;
            border-radius: 9999px;
            background: url(../images/arrow-right-white.svg) no-repeat center/4px auto currentColor;
        }

        &:hover { opacity: 1; }
        @media (hover: hover) {
            overflow: hidden;
            transition: .4s;
            &::after{
                content: '';
                @include absolute_centering;
                background-color: $themecolor;
                z-index: -1;
                opacity: 0;
                transform: translateX(-100%);
                transition: transform .4s, opacity .4s;
            }
            &:hover {
                color: $themetextcolor;
                &::before {
                    background-image: url(../images/arrow-right-black.svg);
                }
                &::after {
                    opacity: 1;
                    transform: translateX(0);
                }
            }
        }
    }
}

#toppageNews {
    padding: 76px 0 80px;
    box-sizing: border-box;
    @include maxwidth(1024) {
        padding-top: 0;
    }
    @include maxwidth(768) {
        padding-bottom: 30px;
    }
    position: relative;
    .container {
        @include container(1320, 30);
        @include maxwidth(1024) {
            margin: 0;
        }
        .columns {
            display: flex;
            gap: 80px;
            @include maxwidth(1440) {
                gap: (80 / 1440 * 100vw);
            }
            @include maxwidth(1024) {
                flex-direction: column;
                gap: 30px;
                &>* {
                    flex: none !important;
                }
            }
            .column {
                &.head {
                    flex-basis: 320px;
                    display: flex;
                    align-items: center;
                    padding: 50px 50px 100px;
                    box-sizing: border-box;
                    background-color: $themecolor;
                    position: relative;
                    @include maxwidth(1024) {
                        justify-content: center;
                        padding: 20px;
                    }
                    .c-heading {
                        color: $themetextcolor;
                        @include maxwidth(1024) {
                            justify-content: center;
                            .c-heading__inner {
                                align-items: center;
                                &::before {
                                    position: static;
                                }
                            }
                        }
                        .en {
                            color: currentColor;
                            @include maxwidth(1024) {
                                padding-left: 0;
                                margin-top: 15px;
                            }
                            @include maxwidth(768) {
                                margin-top: 10px;
                            }
                        }
                    }
                }
                &.body {
                    flex-basis: calc(100% - 320px);
                    padding-top: 20px;
                    box-sizing: border-box;
                    @include maxwidth(1024) {
                        padding: 0 30px;
                    }
                    @include maxwidth(768) {
                        padding: 0 15px;
                    }
                    .news-headline {
                    }
                    .c-buttons {
                        margin-top: 30px;
                        @include maxwidth(768) {
                            margin-top: 15px;
                        }
                    }
                }
            }
        }
    }
}

.news-headline {
    position: relative;
    ul {
        &.js-trigger {
            li {
                opacity: 0;
                visibility: hidden;
                transform: translateY(15px);
                transition-property: opacity, visibility, transform;
                transition-duration: 1s;
                @for $i from 0 to 4 {
                    &:nth-child(#{$i + 1}) {
                        transition-delay: #{$i * .15}s;
                    }
                }
            }
            &.is-active {
                li {
                    opacity: 1;
                    visibility: visible;
                    transform: translateY(0);
                }
            }
        }
        li {
            a {
                display: flex;
                align-items: center;
                padding: 18px 22px 18px 60px;
                box-sizing: border-box;
                border-bottom: solid 1px #CECECE;
                position: relative;
                @include maxwidth(768) {
                    flex-wrap: wrap;
                    padding-left: 40px;
                    padding-right: 5px;
                }
                &::before{
                    content: '';
                    display: inline-block;
                    width: 22px;
                    height: 22px;
                    border-radius: 9999px;
                    background: url(../images/arrow-right-white.svg) no-repeat center/6px auto $themecolor;
                    position: absolute;
                    top: 0;
                    bottom: 0;
                    left: 22px;
                    margin: auto;
                    @include maxwidth(768) {
                        width: 15px;
                        height: 15px;
                        background-size: 4px auto;
                        left: 5px;
                    }
                }
                &:hover { opacity: 1; }
                @media (hover: hover) {
                    &::after{
                        content: '';
                        display: inline-block;
                        height: 1px;
                        position: absolute;
                        left: 0;
                        right: 0;
                        bottom: -1px;
                        background-color: $themecolor;
                        transform: scaleX(0);
                        transform-origin: left center;
                        transition: .4s;
                    }
                    &:hover {
                        &::after {
                            transform: scaleX(1);
                        }
                    }
                }
                .date {
                    flex-shrink: 0;
                    @include f_all(15);
                    font-weight: 500;
                    margin-right: 20px;
                }
                .terms {
                    flex-shrink: 0;
                    color: $themetextcolor;
                    @include f_all(15);
                    font-weight: 500;
                    margin-right: 20px;
                    @include maxwidth(768) {
                        @include f_all(13);
                        margin-right: 0;
                    }
                    .term {
                        display: inline-flex;
                        align-items: center;
                        justify-content: center;
                        padding: 0 1em 2px;
                        box-sizing: border-box;
                        min-height: 27px;
                        background-color: $themecolor2;
                        position: relative;
                        @include maxwidth(768) {
                            min-height: 20px;
                        }
                        &:not(:first-child:last-child) {
                            margin-right: 0.25em;
                            margin-bottom: 0.25em;
                        }
                    }
                }
                .title {
                    @include f_all(15);
                    font-weight: 500;
                    line-height: 1.3;
                    @include maxwidth(768) {
                        @include f_all(14);
                        flex-basis: 100%;
                        padding-top: .75em;
                    }
                }
            }
        }
    }
}

#toppageLineup {
    &Inner {
        padding: 60px 0 40px;
        box-sizing: border-box;
        background-color: #F5F1EB;
        position: relative;
        @include maxwidth(768) {
            padding: 50px 0 20px;
        }
        .container {
            @include container(1240, 30);
            @include maxwidth(1024) {
                margin-left: 0px;
                margin-right: 0px;
            }
            .head {
                @include maxwidth(1024) {
                    margin: 0 30px;
                }
                @include maxwidth(768) {
                    margin: 0 15px;
                }
                .c-heading {
                }
            }
            .body {
                margin-top: 25px;
                @include maxwidth(768) {
                    margin-top: 30px;
                }
                .bus-terms {
                    @include maxwidth(1024) {
                        margin: 0 30px;
                    }
                    @include maxwidth(768) {
                        margin: 0 15px;
                    }
                }
                .bus-headline {
                    margin-top: 30px;
                    @include maxwidth(768) {
                        margin-top: 20px;
                    }
                    position: relative;
                    .headline-wrapper {
                        @media (min-width: 1025px) {
                            display: flex;
                            flex-wrap: wrap;
                            gap: 20px;
                        }
                        .headline-slide {
                            @media (min-width: 1025px) {
                                flex-basis: calc((100% - (20px * 2)) / 3);
                            }
                            height: auto;
                            @include maxwidth(1024) {
                                max-width: 400px;
                                width: calc(100% - 50px);
                            }
                            @include scroll_effect_mask_style(#F5F1EB);
                            &__link {
                                display: block;
                                padding: 20px 30px 25px;
                                box-sizing: border-box;
                                height: 100%;
                                background-color: $themetextcolor;
                                overflow: hidden;
                                position: relative;
                                @include maxwidth(768) {
                                    padding: 30px 15px;
                                }
                                // &::before{
                                //     content: '';
                                //     display: inline-block;
                                //     width: 25%;
                                //     height: 20%;
                                //     background-color: $accentcolor;
                                //     clip-path: polygon(100% 0, 0% 100%, 100% 100%);
                                //     position: absolute;
                                //     right: 0;
                                //     bottom: 0;
                                //     opacity: 0;
                                //     transform: translateX(100%);
                                //     transition: all .4s .2s;
                                // }
                                &:hover { opacity: 1; }
                                @media (hover: hover) {
                                    &:hover {
                                        &::before {
                                            opacity: 1;
                                            transform: translateX(0);
                                        }
                                        // .thumb>img {
                                        //     transform: scale(1.05);
                                        // }
                                        .docs .button__link {
                                            color: $themetextcolor;
                                            background-color: color-mix(in srgb, $themecolor 90%, $basecolor);
                                            &::after {
                                                background-image: url(../images/arrow-right-black.svg);
                                            }
                                        }
                                    }
                                }
                                @include kirari();
                                .term {
                                    color: $accentcolor;
                                    @include f_all(20);
                                    font-weight: bold;
                                    white-space: nowrap;
                                    position: absolute;
                                    top: 0;
                                    left: 50%;
                                    transform: translateX(-50%);
                                }
                                .thumb {
                                    height: 204px;
                                    @include flex_centering;
                                    position: relative;
                                    @include maxwidth(768) {
                                        height: 180px;
                                        padding-top: 25px;
                                    }
                                    &>img {
                                        width: 100%;
                                        transition: transform .4s;
                                    }
                                }
                                .docs {
                                    margin-top: 8px;
                                    position: relative;
                                    .const {
                                        @include f_all(15);
                                        font-weight: bold;
                                        line-height: 1.3;
                                        display: flex;
                                        gap: .5em;
                                        @include maxwidth(768) {
                                            flex-direction: column;
                                            gap: 10px;
                                        }
                                        &>span.t {
                                            flex-shrink: 0;
                                            @include maxwidth(768) {
                                                @include flex_centering;
                                                color: $themetextcolor;
                                                @include f_all(14);
                                                font-weight: bold;
                                                background-color: $basetextcolor;
                                                min-height: 30px;
                                                &>span { display: none; }
                                            }
                                        }
                                        &>span.i  {
                                            font-weight: 500;
                                            @include maxwidth(768) { 
                                                text-align: center;
                                            }
                                            &::after{
                                                content: '、';
                                            }
                                            &:last-child::after {
                                                display: none;
                                            }
                                        }
                                    }
                                    .tags {
                                        margin-top: 14px;
                                        .tag {
                                            color: $accentcolor;
                                            @include f_all(14);
                                            line-height: 1.5;
                                            font-weight: 500;
                                            position: relative;
                                            &::before{
                                                content: '#';
                                                margin-right: 0.2em;
                                            }
                                            &:not(:first-child:last-child) {
                                                margin-right: 0.7em;
                                                margin-bottom: 0.1em;
                                            }
                                        }
                                    }
                                    .button {
                                        margin-top: 32px;
                                        @include flex_centering;
                                        @include maxwidth(768) {
                                            margin-top: 16px;
                                        }
                                        &__link {
                                            color: $themecolor;
                                            @include f_all(14);
                                            font-weight: bold;
                                            display: inline-flex;
                                            align-items: center;
                                            padding: 0.5em 1em;
                                            box-sizing: border-box;
                                            border-radius: 0.25em;
                                            gap: 2px;
                                            transition: .4s;
                                            &::after {
                                                content: '';
                                                display: inline-block;
                                                width: 15px;
                                                height: 15px;
                                                border-radius: 9999px;
                                                background: url(../images/arrow-right-white.svg) no-repeat center/5px auto currentColor;
                                                margin-top: 0.15em;
                                            }
                                        }
                                    }
                                }
                            }
                        }
                    }
                    .bus-button-prev, .bus-button-next {
                        cursor: pointer;
                        width: 28px;
                        height: 28px;
                        border-radius: 9999px;
                        background-color: $themecolor;
                        background: url(../images/arrow-right-white.svg) no-repeat center/7px auto $themecolor;
                        position: absolute;
                        top: 25px;
                        z-index: 5;
                        display: none;
                    }
                    .bus-button-prev {
                        transform: rotate(-180deg);
                        left: 5px;
                    }
                    .bus-button-next { right: 5px; }
                    &.swiper-initialized {
                        .bus-button-prev, .bus-button-next {
                            display: block;
                        }
                    }
                }
                .c-buttons {
                    margin-top: 30px;
                    @include maxwidth(1024) {
                        margin-left: 30px;
                        margin-right: 30px;
                    }
                    @include maxwidth(768) {
                        margin: 15px 15px 0;
                    }
                }
            }
        }
    }
    .parallax-wrapper {
        margin-top: 50px;
        padding: 40px 0;
        box-sizing: border-box;
        background-color: $themecolor;
        position: relative;
        @include maxwidth(768) {
            margin-top: 40px;
            padding: 50px 0;
        }
        .parallax-image {
            min-height: 420px;
            height: 55vh;
            @include maxwidth(768) {
                max-height: 420px;
                min-height: 230px;
                height: 30vh;
            }
            overflow: hidden;
            position: relative;
            &::after {
                content: "";
                display: inline-block;
                @include absolute_centering;
                background-color: rgba(#000, .3);
            }
            &>img {
                width: 100%;
                height: 200%;
                object-fit: cover;
            }
        }
        .loop-text {
            color: $themetextcolor;
            @include ff_ja(serif);
            font-size: clamp(80px,(80 / 1440 * 100vw), 120px);
            @include maxwidth(1024) {
                font-size: clamp(40px,(40 / 375 * 100vw),80px);
            }
            position: absolute;
            z-index: 1;
            left: 0;
            right: 0;
            bottom: 0;
            margin: auto;
            padding: .3em 0;
            box-sizing: border-box;
            overflow: hidden;
            @include maxwidth(768) {
                bottom: auto;
                top: 25px;
                display: none !important;
            }
            &__inner {
                display: inline-flex;
                align-items: center;
                flex-wrap: nowrap;
            }
            .item {
                white-space: nowrap;
                padding-left: 0.5em;
            }

            &2 {
                display: none;
                @include maxwidth(768) {
                    display: block !important;
                }
                color: $themetextcolor;
                @include ff_ja(serif);
                font-size: clamp(40px,(40 / 375 * 100vw),80px);
                &__item {
                    position: absolute;
                    z-index: 1;
                    left: 0;
                    right: 0;
                    margin: auto;
                    padding: .3em 0;
                    box-sizing: border-box;
                    overflow: hidden;
                    &:nth-child(1) { top: calc(35px - 0.5em); }
                    &:nth-child(2) { bottom: calc(45px - 0.5em); }
                }
                &__inner {
                    display: inline-flex;
                    align-items: center;
                    flex-wrap: nowrap;
                    padding-left: 100%;
                    .item { white-space: nowrap; padding-left: 0.5em; }
                }
            }
        }
    }
}

.bus-terms, .news-terms {
    @include f_all(14);
    line-height: 1.3;
    font-weight: bold;
    position: relative;
    .subpage & {
        margin-bottom: 30px;
    }
    ul {
        display: flex;
        flex-wrap: wrap;
        gap: 6px;
        @include maxwidth(768) {
            gap: 1px;
        }
        li {
            flex-basis: 172px;
            @include maxwidth(1024) {
                flex-basis: calc((100% - 6px) / 2);
                &:first-child {
                    flex-basis: 100%;
                }
            }
            @include maxwidth(768) {
                flex-basis: 100%;
            }
            a {
                color: $themetextcolor;
                display: flex;
                align-items: center;
                background-color: $basetextcolor;
                padding: 0 1em;
                box-sizing: border-box;
                min-height: 60px;
                @include maxwidth(1024) {
                    min-height: 45px;
                }
                gap: 1em;
                position: relative;
                &::before{
                    content: '';
                    display: inline-block;
                    width: 15px;
                    height: 15px;
                    border-radius: 9999px;
                    border: solid 1px;
                    background: url(../images/arrow-right-white.svg) no-repeat center/4px auto;
                }

                @include maxwidth(1024) {
                    &:not(.current) {
                        &::before {
                            transform: rotate(90deg);
                        }
                    }
                }
                
                &.current {
                    background-color: $accentcolor;
                }

                @include maxwidth(1024) {
                    br {
                        display: none;
                    }
                }
            }
        }
    }
}

#toppageGuide {
    padding-top: 85px;
    position: relative;
    z-index: 1;
    @include maxwidth(768) {
        padding-top: 50px;
    }
    .container {
        @include container(1320, 30);
        @include maxwidth(768) {
            margin-left: 0;
            margin-right: 0;
        }
        .head {
            .c-heading {
            }
        }
        .body {
            margin-top: 32px;
            @include maxwidth(768) {
                margin-top: 20px;
            }
            .guide-cards {
                display: flex;
                flex-wrap: wrap;
                gap: 15px;
                @include maxwidth(768) {
                    flex-direction: column;
                    gap: 12px;
                    &>* {
                        flex: none !important;
                        width: 100% !important;
                    }
                }
                .guide-card {
                    flex-basis: calc((100% - (15px * 2)) / 3);
                    &:nth-child(1),
                    &:nth-child(2) {
                        flex-basis: calc((100% - 15px) / 2);
                    }
                    @include maxwidth(1024) {
                        flex-basis: calc((100% - (15px * 1)) / 2);
                    }
                    @include maxwidth(768) {
                        position: relative;
                        &::before {
                            content: '';
                            display: inline-block;
                            width: 100%;
                            height: (115 / 190 * 100%);
                            background-color: $themecolor;
                            position: absolute;
                            left: 0;
                            bottom: 0;
                        }
                    }
                    @include scroll_effect_mask_style();
                    &__link {
                        color: $themetextcolor;
                        @include ff_ja(serif);
                        @include flex_centering;
                        min-height: 200px;
                        height: 100%;
                        position: relative;
                        @include maxwidth(768) {
                            flex-direction: column;
                            align-items: flex-start;
                            min-height: initial;
                            &>* {
                                flex: none !important;
                                width: 100% !important;
                            }
                        }
                        &:hover {
                            opacity: 1;
                        }
                        @media (hover: hover) {
                            &:hover {
                                .image::before {
                                    transform: scaleX(100%);
                                }
                                .image > img {
                                    transform: scale(1.15);
                                }
                            }
                        }
                        // @include kirari();
                        // &::after { animation-delay: .2s !important; }

                        .image {
                            @include absolute_centering;
                            overflow: hidden;
                            @include maxwidth(768) {
                                position: relative;
                                top: auto;
                                right: auto;
                                bottom: auto;
                                left: auto;
                                width: calc(100% - 15px) !important;
                                // height: 150px;
                                aspect-ratio: 360 / 150;
                                margin-left: 0;
                                margin-right: auto;
                            }
                            &::before {
                                content: "";
                                @include absolute_centering;
                                z-index: 1;
                                background-color: rgba($themecolor, .45);
                                backdrop-filter: blur(2.5px);
                                -webkit-backdrop-filter: blur(2.5px);
                                transform: scaleX(0%);
                                transform-origin: left center;
                                transition: transform .4s;
                            }
                            &::after{
                                content: '';
                                @include absolute_centering;
                                background-color: rgba(#000, .4);
                            }
                            &>img {
                                position: absolute;
                                top: 0;
                                left: 0;
                                width: 100%;
                                height: 100%;
                                object-fit: cover;
                                transition: transform .4s;
                            }
                            .title-en {
                                @include f_all(14);
                                position: absolute;
                                z-index: 1;
                                top: 0;
                                bottom: 0;
                                left: 0;
                                margin: auto;
                                font-weight: bold;
                                text-transform: uppercase;
                                @media (min-width: 769px) {
                                    @include flex_centering;
                                    background-color: $themecolor;
                                    min-width: 25px;
                                }
                                @include maxwidth(768) {
                                    @include f_all(32);
                                    color: rgba(#fff, .4);
                                    position: absolute;
                                    top: auto;
                                    left: 15px;
                                    bottom: 15px;
                                }
                                &>span {
                                    @media (min-width: 769px) {
                                        display: inline-block;
                                        width: 1em;
                                        writing-mode: vertical-rl;
                                    }
                                }
                            }
                        }
                        .title {
                            @include f_all(20);
                            font-weight: bold;
                            line-height: 1.2;
                            position: relative;
                            z-index: 1;
                            display: inline-flex;
                            align-items: center;
                            gap: 4px;
                            @include maxwidth(768) {
                                @include f_all(16);
                                display: flex;
                                justify-content: space-between;
                                padding: 0.7em 15px;
                                box-sizing: border-box;
                            }
                            &::after{
                                content: '';
                                display: inline-block;
                                width: 15px;
                                height: 15px;
                                border-radius: 9999px;
                                border: solid 1px;
                                background: url(../images/arrow-right-white.svg) no-repeat center/4px auto;
                            }
                            &>span {
                            }
                        }
                    }
                }
            }
        }
    }
}

#toppageRecruit {
    padding: 60px 0;
    @include maxwidth(768) {
        padding: 80px 0 34px;
    }
    box-sizing: border-box;
    position: relative;
    &::before {
        content: '';
        position: absolute;
        bottom: 0;
        right: 0;
        width: 100%;
        height: calc(100% + (180 / 1440 * 100vw));
        background-color: $accentcolor;
        clip-path: polygon(100% 0, 0% 100%, 100% 100%);
        @include maxwidth(768) {
            width: 200%;
            height: 100%;
        }
    }
    .container {
        color: $themetextcolor;
        margin-right: (60 / 1440 * 100vw);
        padding: 40px (80 / 1440 * 100vw) 40px 0;
        border-radius: 0 100px 100px 0;
        box-sizing: border-box;
        overflow: hidden;
        position: relative;
        &::before {
            content: "";
            @include absolute_centering;
            background-color: $themecolor;
        }
        @include maxwidth(1024) {
            margin-right: 0;
            border-radius: 0;
            padding-top: 0;
            padding-right: 0;
            &::before {
                top: 30%;
            }
        }
        @include maxwidth(768) {
            &::before { top: 120px; }
        }

        .columns {
            display: flex;
            flex-direction: row-reverse;
            align-items: center;
            gap: (100 / 1440 * 100vw);
            position: relative;
            @include maxwidth(1024) {
                flex-direction: column-reverse;
                align-items: initial;
                gap: 30px;
                &>* {
                    flex: none !important;
                    width: 100% !important;
                }
            }
            .column {
                &:nth-child(1) {
                    flex: 580px;
                    @include maxwidth(1024) {
                        width: initial !important;
                        padding-left: 30px;
                        padding-right: 30px;
                    }
                    @include maxwidth(768) {
                        padding-left: 15px;
                        padding-right: 15px;
                    }
                    .head {
                        .c-heading {
                            .en {
                                color: currentColor;
                            }
                        }
                    }
                    .body {
                        margin-top: 20px;
                        @include maxwidth(768) {
                            margin-top: 15px;
                        }
                        .leadtext, .text {
                            &.js-trigger {
                                opacity: 0;
                                visibility: hidden;
                                transform: translateY(15px);
                                transition-property: opacity, visibility, transform;
                                transition-duration: 1s;
                                &.is-active {
                                    opacity: 1;
                                    visibility: visible;
                                    transform: translateY(0)
                                }
                            }
                        }
                        .leadtext {
                            @include f_all(20);
                            font-weight: bold;
                            line-height: 1.2;
                            @include maxwidth(768) {
                                @include f_all(18);
                            }
                            br {
                                display: none;
                                @include maxwidth(768) {
                                    display: block;
                                }
                            }
                        }
                        .text {
                            @include f_all(14);
                            line-height: 1.8;
                            text-align: justify;
                            margin-top: 13px;
                            @include maxwidth(768) {
                                line-height: 1.5;
                            }
                        }
                        .recruit-buttons {
                            margin-top: 23px;
                            @include maxwidth(768) {
                                margin-top: 15px;
                            }
                            &.js-trigger {
                                &>* {
                                    opacity: 0;
                                    visibility: hidden;
                                    transform: translateY(15px);
                                    transition-property: opacity, visibility, transform;
                                    transition-duration: 1s;
                                    @for $i from 0 to 4 {
                                        &:nth-child(#{$i + 1}) {
                                            transition-delay: #{$i * .15}s;
                                        }
                                    }
                                }
                                &.is-active >* {
                                    opacity: 1;
                                    visibility: visible;
                                    transform: translateY(0);
                                }
                            }
                            .recruit-button {
                                &__link {
                                    @include ff_ja(serif);
                                    @include f_all(15);
                                    font-weight: 500;
                                    padding: 1em 25px;
                                    min-height: 70px;
                                    box-sizing: border-box;
                                    display: flex;
                                    align-items: center;
                                    gap: 18px;
                                    border-bottom: solid 1px #CECECE;
                                    position: relative;
                                    @include maxwidth(768) {
                                        @include f_all(14);
                                        padding: 0.5em 15px;
                                        min-height: 45px;
                                        gap: 16px;
                                    }
                                    &::before{
                                        content: '';
                                        display: inline-block;
                                        width: 15px;
                                        height: 15px;
                                        border-radius: 9999px;
                                        border: solid 1px;
                                        background: url(../images/arrow-right-white.svg) no-repeat center/4px auto;
                                    }
                                    &:hover { opacity: 1; }
                                    @media (hover: hover) {
                                        z-index: 0;
                                        &::after{
                                            content: '';
                                            @include absolute_centering;
                                            z-index: -1;
                                            background-color: $accentcolor;
                                            background-color: color-mix(in srgb, $accentcolor 90%, $themecolor);
                                            opacity: 0;
                                            transform: scaleX(0);
                                            transform-origin: left center;
                                            transition: transform .4s, opacity .4s;
                                        }
                                        &:hover {
                                            &::after{
                                                opacity: 1;
                                                transform: scaleX(1);
                                            }
                                        }
                                    }
                                }
                            }
                        }
                    }
                }
                &:nth-child(2) {
                    flex: 620px;
                    .image {
                        height: 716px;
                        @include maxwidth(1024) {
                            height: auto;
                            aspect-ratio: 360 / 250;
                            margin-right: 30px;
                        }
                        @include maxwidth(768) { margin-right: 15px; }
                        border-radius: 0 50px 50px 0;
                        overflow: hidden;
                        position: relative;
                        &>img {
                            position: absolute;
                            top: 0;
                            left: 0;
                            width: 100%;
                            height: 100%;
                            object-fit: cover;
                        }
                    }
                }
            }
        }
    }
}

#toppageInstagram {
    padding: 80px 0 50px;
    box-sizing: border-box;
    background-color: $basecolor;
    position: relative;
    @include maxwidth(768) {
        padding: 52px 0 26px;
    }
    .container {
        @include container(1240, 30);
        @include maxwidth(768) {
            margin-left: 15px;
            margin-right: 15px;
        }
        .head {
            display: flex;
            align-items: flex-end;
            justify-content: space-between;
            gap: 2em;
            .c-heading {
                .ja {
                    padding-left: 27px;
                    box-sizing: border-box;
                    background: url(../images/instagram-logo-black.svg) no-repeat left bottom 10%/21px auto;
                    @include maxwidth(768) {
                        padding-left: 20px;
                        background-size: 15px auto;
                        background-position: left bottom 30%;
                    }
                }
            }
            .c-button {
                @include maxwidth(768) {
                    display: none;
                }
                &__link {
                    min-width: 135px;
                }
            }
        }
        .body {
            margin-top: 30px;
            &.js-trigger {
                opacity: 0;
                visibility: hidden;
                transform: translateY(15px);
                transition-property: opacity, visibility, transform;
                transition-duration: 1s;
                &.is-active {
                    opacity: 1;
                    visibility: visible;
                    transform: translateY(0);
                }
            }
            ul {
                display: flex;
                flex-wrap: wrap;
                gap: 10px;
                li {
                    width: calc((100% - (10px * 3)) / 4);
                    @include maxwidth(1024) {
                        width: calc((100% - (10px * 1)) / 2);
                    }
                    &>img {
                    }
                }
            }
            .c-buttons {
                margin-top: 10px;
                @media (min-width: 769px) {
                    display: none;
                }
            }
        }
    }
}

.pager {
    text-align: center;
    margin: 40px 0;
    @include f_all(14);
    a,
    span {
        display: inline-block;
        margin: 0 0 0.25em 0.75em;
        min-width: 3em;
        padding: 1em;
        box-sizing: border-box;
        background-color: #afafb0;
        color: #fff;
    }
    .current {
        background-color: $themecolor;
    }
}

.monthly_archive_link {
    @include container(800, 10);
    margin-top: 50px;
    @include f_all(14);
    a.show_archive_links {
        display: block;
        width: 200px;
        height: 30px;
        display: flex;
        justify-content: center;
        align-items: center;
        background-color: mix($basetextcolor, $basecolor, 0.1);
        margin: auto;
        border-radius: 30px;
        position: relative;
        &:after {
            content: ">";
            display: inline-block;
            transform: rotateZ(90deg) scaleX(0.5);
            position: absolute;
            right: 30px;
            top: 0;
            bottom: 0;
            margin: auto;
        }
    }
    ul {
        margin-top: 20px;
        display: none;
        &.show {
            display: flex;
        }
        justify-content: center;
        flex-wrap: wrap;
        li {
            margin: 0 5px 10px;
            flex: 0 0 113px;
            text-align: center;
            a {
                display: block;
                background-color: mix($basetextcolor, $basecolor, 0.05);
                padding: 7px 0;
                border-radius: 15px;
            }
        }
    }
}

#subpageHeadingVisual {
    margin-bottom: 80px;
    @include maxwidth(768) {
        margin-bottom: 60px;
    }
    position: relative;
    figure {
        height: 200px;
        @include maxwidth(768) {
            height: 180px;
        }
        position: relative;
        &::after{
            content: '';
            @include absolute_centering;
            background-color: rgba(#000, .15);
        }
        &>img {
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            object-fit: cover;
        }
    }
}

#subpageContent {
    margin: 80px 0 40px;
    position: relative;
    @include maxwidth(768) {
        margin-top: 60px;
    }
    #subpageHeading {
        margin-bottom: 40px;
        @include maxwidth(768) {
            margin-bottom: 25px;
        }
        position: relative;
        &.c-heading {
            .c-heading__inner {
            }
        }
    }
    #subpageTopicpath {
        position: absolute;
        top: 0;
        bottom: 0;
        left: (60 / 1440 * 100vw);
        margin: auto;
        z-index: 1;
        @include maxwidth(1200) {
            left: 15px;
        }
        @include maxwidth(768) {
            position: static;
            margin: 0 20px;
        }
        ul {
            // position: sticky;
            // top: 4vh;
            // .admin-bar & {
            //     top: calc(4vh + 32px);
            // }
            // left: 0;
            display: flex;
            align-items: center;
            flex-direction: column;
            gap: 10px;
            @include maxwidth(768) {
                flex-direction: row;
                flex-wrap: wrap;
                justify-content: flex-end;
            }
            li {
                @include ff_ja(serif);
                @include f_all(14);
                font-weight: bold;
                display: inline-flex;
                flex-direction: column;
                align-items: center;
                gap: 10px;
                @include maxwidth(768) {
                    @include f_all(12);
                    flex-direction: row;
                }
                &::after {
                    content: "";
                    display: inline-block;
                    width: 15px;
                    height: 15px;
                    border-radius: 9999px;
                    background: url(../images/arrow-bottom-white.svg) no-repeat center /7px auto $themecolor;
                    @include maxwidth(768) {
                        width: 13px;
                        height: 13px;
                        background-image: url(../images/arrow-right-white.svg);
                        background-size: 4px auto;
                    }
                }
                &:last-child::after { display: none; }
                span.title {
                    @media (min-width: 769px) {
                        display: inline-block;
                        width: 1em;
                        writing-mode: vertical-rl;
                    }
                }
                a {
                }
            }
        }
    }
    &Inner {
        margin-top: 30px;
        .container {
            @include container(1000, 60);
            @include maxwidth(768) {
                margin-left: 20px;
                margin-right: 20px;
            }
            min-height: 250px;
        }
    }
}

.bus-group {
    margin-bottom: 30px;
    &>* {
        margin-top: 20px;
        @include maxwidth(768) {
            margin-top: 15px;
        }
        &:first-child { margin-top: 0; }
    }
    h3 {
        @include ff_ja(serif);
        @include f_all(16);
        line-height: 1.2;
        font-weight: bold;
        padding-left: calc(10px + 0.8em);
        box-sizing: border-box;
        margin-top: 30px;
        position: relative;
        &::before{
            content: '';
            display: inline-block;
            width: 10px;
            height: 10px;
            background-color: $themecolor;
            position: absolute;
            top: 0.3em;
            left: 0;
        }
    }
    .buscategory-terms {
        position: relative;
        ul {
            margin-left: 0;
            display: flex;
            flex-wrap: wrap;
            gap: 5px;
            @include maxwidth(768) {
                gap: 1px;
            }
            li {
                list-style: none;
                margin: 0;
                height: auto;
                flex-basis: calc((100% - (5px * 5)) / 6);
                @include maxwidth(1024) {
                    flex-basis: calc((100% - (5px * 2)) / 3);
                }
                @include maxwidth(768) {
                    flex-basis: calc((100% - (1px * 1)) / 2);
                }
                @include maxwidth(600) {
                    flex-basis: 100%;
                }
                &:first-child {
                    flex-basis: 100%;
                    a {
                        @media (min-width: 601px) {
                            @include flex_centering;
                        }
                    }
                }
                a {
                    text-decoration: none !important;
                    color: $themetextcolor;
                    @include f_all(14);
                    @include maxwidth(360) {
                        @include f_all(13);
                    }
                    line-height: 1.3;
                    font-weight: bold;
                    display: flex;
                    align-items: center;
                    padding: 0.5em 1em 0.5em (40 / 14 * 1em);
                    @include maxwidth(360) {
                        padding-left: (40 / 13 * 1em);
                    }
                    box-sizing: border-box;
                    height: 100%;
                    min-height: (60 / 14 * 1em);
                    background-color: $basetextcolor;
                    position: relative;
                    @include maxwidth(768) {
                        min-height: 45px;
                    }
                    br {
                        @include maxwidth(768) { display: none; }
                    }
                    &::after{
                        content: '';
                        display: inline-block;
                        width: 15px;
                        height: 15px;
                        border-radius: 9999px;
                        border: solid 1px;
                        background: url(../images/arrow-right-white.svg) no-repeat center/4px auto;
                        position: absolute;
                        top: 0;
                        bottom: 0;
                        left: 1em;
                        margin: auto;
                    }
    
                    &.current {
                        background-color: $accentcolor;
                        &::after {
                            transform: rotate(90deg);
                            background-color: $basetextcolor;
                            border-color: $basetextcolor;
                        }
                    }
                }
            }
        }
    }

    .bustag-form-wrapper {
        padding: 30px 30px 20px;
        box-sizing: border-box;
        background-color: #FEF9F2;
        @include maxwidth(768) {
            padding: 20px 15px;
        }
        @include maxwidth(360) {
            padding-left: 10px;
            padding-right: 10px;
        }
        form.bustag-form {
            .term-items {
                display: flex;
                flex-wrap: wrap;
                gap: 10px 30px;
                @include maxwidth(768) {
                    gap: 8px;
                }
                .term-item {
                    cursor: pointer;
                    @include f_all(15);
                    font-weight: 500;
                    line-height: 1.3;
                    display: inline-flex;
                    align-items: center;
                    gap: 0.45em;
                    @include maxwidth(768) {
                        @include f_all(14);
                        padding: 0.5em;
                        box-sizing: border-box;
                        background-color: #ededed;
                        border-radius: 10px;
                    }
                    @include maxwidth(420) {
                        @include f_all(13);
                    }
                    @include maxwidth(360) {
                        @include f_all(12);
                    }
                    input[type="checkbox"] {
                        margin-top: 0.2em;
                        border-radius: 0;
                        -webkit-appearance: none;
                        -moz-appearance: none;
                             appearance: none;
                        position: relative;
                        width: 16px;
                        height: 16px;
                        vertical-align: -5px;
                        color: $themetextcolor;
                        border: 1px solid $basetextcolor;
                        background-color: currentColor;
                        border-radius: 2px;
                        &:checked {
                            border-color: $accentcolor;
                            background-color: $accentcolor;
                            &::before {
                                content: '';
                                position: absolute;
                                top: 1px;
                                left: 4px;
                                transform: rotate(50deg);
                                width: 4px;
                                height: 8px;
                                border-right: 2px solid;
                                border-bottom: 2px solid;
                            }
                        }
                    }
                }
            }
            .reset-button {
                @include flex_centering;
                margin-top: 24px;
                input[type="button"] {
                    border: none;
                    background: none;
                    padding: 0;
                    margin: 0;
                    text-align: center;
                    color: $themecolor;
                    @include f_all(15);
                    @include maxwidth(768) {
                        @include f_all(14);
                    }
                    font-weight: 500;
                    line-height: 1;
                    text-decoration: underline;
                    padding-bottom: 2px;
                    cursor: pointer;
                    &:hover {
                        opacity: 0.8;
                    }
                }
            }
            .button {
                margin-top: 18px;
                width: 70%;
                @include maxwidth(768) {
                    width: 100%;
                }
                margin-left: auto;
                margin-right: auto;
                position: relative;
                &::before{
                    content: '';
                    display: inline-block;
                    width: 15px;
                    height: 15px;
                    border-radius: 9999px;
                    border: solid 1px $themetextcolor;
                    background: url(../images/arrow-bottom-white.svg) no-repeat center/7px auto;
                    position: absolute;
                    top: 0;
                    bottom: 0;
                    left: 20px;
                    @include maxwidth(768) {
                        left: 15px;
                    }
                    margin: auto;
                    z-index: 1;
                }
                button {
                    border: none;
                    outline: none;
                    background: none;
                    color: $themetextcolor;
                    @include ff_ja;
                    @include f_all(15);
                    @include maxwidth(768) {
                        @include f_all(14);
                    }
                    @include maxwidth(360) {
                        @include f_all(13);
                    }
                    font-weight: bold;
                    @include flex_centering;
                    padding: 0 45px;
                    @include maxwidth(768) {
                        padding: 0 40px;
                    }
                    box-sizing: border-box;
                    width: 100%;
                    min-height: 45px;
                    background-color: $accentcolor;
                    cursor: pointer;
                    &:hover {
                        opacity: 0.8;
                    }
                }
            }
        }
    }
}

.equip-list {
    margin-left: 0 !important;
    margin-top: 0;
    display: flex;
    flex-wrap: wrap;
    gap: 3px;
    @include maxwidth(600) {
        gap: 1px;
    }
    .list-item {
        width: calc((100% - (3px * 7)) / 8);
        @include maxwidth(600) {
            width: calc((100% - (1px * 3)) / 4);
        }
        list-style: none;
        margin: 0;
        color: $themetextcolor;
        @include f_all(9);
        font-weight: bold;
        @include flex_centering;
        flex-direction: column;
        height: auto;
        padding: 3px 3px 15px;
        box-sizing: border-box;
        border-radius: 4px;
        background-color: #cecece;
        min-width: 56px;
        min-height: 57px;
        aspect-ratio: 1.5;
        position: relative;
        &>span {
            white-space: nowrap;
            position: absolute;
            left: 50%;
            bottom: 3px;
            transform: translateX(-50%);
        }

        &.selected {
            background-color: $basetextcolor;
        }
    }
}