// スタイルシート 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;
}

.default {
    @include contentdefault;
    @include eachcss;

    a:hover { opacity: 0.75; }
}

:where(figure) { margin: 0; }

// ===

:root {
    // ヘッダー＆サブページ見出し画像の高さ
    --header-height: 165px;
    @include maxwidth(1024) {
        // --header-height: 90px;
        --header-height: 110px;
    }
    @include maxwidth(420) { 
        --header-height: 100px;
     }
}

html { scroll-behavior: smooth; }

// スクロールエフェクトスタイル
@mixin charAnimate {
    &[data-target] {
        line-height: 1.4;
        .char {
            display: inline-block;
            position: relative;
            overflow: hidden;
            &Inner {
                display: inline-block;
                transform: translateY(100%);
                transition: transform 800ms ease-in-out;
            }
        }
        &.inview {
            .char {
                &Inner {
                    transform: translateY(0);
                    transition-delay: var(--delay, 0s);
                }
            }
        }
    }
}
@mixin inviewAnimate() {
    &[data-target] {
        opacity: 0;
        transform: translateY(30px);
        transition: opacity 1000ms, transform 1000ms;
        &.inview {
            opacity: 1;
            transform: translateY(0px);
        }
    }
}

.c-heading {
    color: $themecolor2;
    @include flex_centering;
    flex-direction: column;
    align-items: center;
    gap: .90rem;
    .en {
        @include ff_en;
        @include f_all(64);
        small { font-size: 0.70em; }

        @include maxwidth(768) { @include f_all(32); }
    }
    .ja {
        @include f_all(24);
        font-weight: 600;

        @include maxwidth(768) { @include f_all(20); }

        @include charAnimate;
    }
}

.c-buttons {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
}

.c-button {
    display: inline-block;
    height: auto;
    &__link {
        color: $themetextcolor;
        @include f_all(14);
        font-weight: 600;
        @include flex_centering;
        min-width: 280px;
        min-height: 45px;
        height: 100%;
        background-color: $themecolor;
        padding: 0 25px 0 30px;
        box-sizing: border-box;
        position: relative;
        @include maxwidth(768) {
            min-width: 278px;
        }

        &::after{
            content: '';
            display: inline-block;
            width: 7px;
            height: 12px;
            background: url(../images/arrow-white.svg) no-repeat center/contain;
            position: absolute;
            top: 0;
            bottom: 0;
            left: 15px;
            margin: auto;
        }

        &[target="_blank"] {
            &::after{
                width: 12px;
                height: 12px;
                background-image: url(../images/icon-blank-white.svg);
            }
        }

        @include button_pointer();
    }
}

#header {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    z-index: 30;
    height: var(--header-height);
    @include maxwidth(1024) { 
        position: relative;
        background-color: $basecolor; 
    }
    .shape {
        position: absolute;
        bottom: 0;
        left: 0;
        width: (380 / 1440 * 100vw);
        height: (414 / 1440 * 100vw);
        min-width: 380px;
        min-height: 414px;
        overflow: hidden;
        @include maxwidth(1024) { display: none; }
        &-item {
            position: absolute;
            bottom: 7.5%;
            left: -10%;
            width: 80%;
            height: 80%;
            background-color: rgba($themecolor, .50);
            border-radius: 30% 70% 60% 40% / 30% 40% 60% 70%;
        }
    }
    .container {
        display: flex;
        align-items: flex-start;
        justify-content: space-between;
        gap: 2em;
        padding: 30px calc(40 / 1440 * 100vw) 30px 20px;
        @include maxwidth(1024) { padding: 20px 80px 15px 15px; align-items: center; }
        @include maxwidth(360) { padding-left: 10px; }
        box-sizing: border-box;
        height: 100%;
        position: relative;
        z-index: 1;
        .header-sitename {
            flex-shrink: 0;
            display: flex;
            align-items: flex-start;
            gap: 20px;
            @include maxwidth(1024) {
                flex-shrink: 1;
                align-items: center;
                gap: 10px;
            }
            .l-left {
                .logo-mark > img { 
                    width: 110px; 
                    @include maxwidth(1024) { width: 75px; }
                    @include maxwidth(420) { width: 70px; }
                    @include maxwidth(360) { width: 65px; }
                }
            }
            .l-right {
                padding-top: 20px;
                display: flex;
                flex-direction: column;
                align-items: flex-start;
                gap: 10px;
                @include maxwidth(1024) { padding-top: 0; }
            }
            .outline {
                color: $themetextcolor;
                @include f_all(13);
                font-weight: 600;
                line-height: 1.2;
                @include maxwidth(1024) {
                    @include f_all(12);
                    color: $themecolor;
                }
                @include maxwidth(420) { @include f_all(11); }
                @include maxwidth(360) { @include f_all(10); }
            }
            .logo {
                img {
                    width: 224px;
                    @include maxwidth(420) { width: 200px; }
                    @include maxwidth(360) { width: 185px; }
                }
            }
        }
        .header-menu {
            display: flex;
            flex-direction: column-reverse;
            align-items: flex-end;
            gap: 27px;
            @include maxwidth(1024) { display: none; }
            .global-menu {
                color: $themetextcolor;
                @include f_all(15);
                font-weight: 600;
                // padding-bottom: 4px;
                ul {
                    display: flex;
                    align-items: center;
                    flex-wrap: wrap;
                    gap: 2em;
                    li {
                        a {
                            @media (any-hover: hover) {
                                transition: filter 200ms, -webkit-filter 200ms;
                                &:hover {
                                    filter: brightness(80%);
                                    -webkit-filter: brightness(80%);
                                }
                            }
                        }
                    }
                }
            }
            .contact-buttons {
                display: flex;
                align-items: flex-end;
                gap: 20px;
                .contact-button {
                    display: inline-block;
                    &__link {
                        color: $themetextcolor;
                        @include flex_centering;
                        flex-direction: column;
                        position: relative;
                        .title {
                            @include f_all(12);
                            font-weight: 600;
                        }
                        &.tel {
                            gap: 0.40em;
                            padding-bottom: 4px;
                            .telnum {
                                // @include f_all(32);
                                @include f_all(34);
                                font-weight: 600;
                                letter-spacing: -0.02%;
                                padding-left: 28px;
                                box-sizing: border-box;
                                background: url(../images/icon-phone-white.svg) no-repeat left top 85%/20px auto;
                            }
                            .teltime { 
                                @include f_all(12);
                                font-weight: 600;
                            }
                        }
                        &.form {
                            width: 120px;
                            height: 60px;
                            gap: 0.6em;
                            background-color: $accentcolor;
                            &::before{
                                content: '';
                                flex-shrink: 0;
                                display: inline-block;
                                width: 18px;
                                height: 13px;
                                background: url(../images/icon-mail-white.svg) no-repeat center/contain;
                            }
                            .title {  }

                            @include button_pointer();
                        }
                    }
                }
            }
        }
    }
}

@keyframes gnavToggle_header_scrollout {
    0% { opacity: 0; transform: translate(0,100%); }
    100% { opacity: 1; transform: translate(0,0); }
}

#gnavToggleWrap {
    position: fixed;
    z-index: 101;
    @media screen and (min-width: 1025px) {
        top: 0;
        .admin-bar & { top: 32px; }
        right: 0;
        clip-path: ellipse(0% 0% at 50% 50%);
        transition: clip-path 1s ease-out;
        .header_scrollout &,
        .menu_open &
        { clip-path: ellipse(100% 100% at 50% 50%); }
    }
    @include maxwidth(1024) {
        top: 30px;
        .admin-bar & { top: (30px + 32px); }
        right: 15px;
    }
    @include maxwidth(768) {
        position: absolute;
        top: 30px;

        .admin-bar & { top: 30px; }
        
        .header_scrollout &,
        .menu_open & { position: fixed !important; }

        .header_scrollout & {
            top: auto;
            right: 0;
            bottom: 57px;
            animation: gnavToggle_header_scrollout .2s forwards;
        }

        .menu_open & {
            top: 30px;
            right: 15px;
            bottom: auto;
        }
        .menu_open.admin-bar & { top: (30px + 32px); }

    }
    @include maxwidth(420) {
        position: absolute;
        top: 25px;

        .admin-bar & { top: 25px; }
        
        .header_scrollout &,
        .menu_open & { position: fixed !important; }

        .header_scrollout & {
            top: auto;
            right: 0;
            bottom: 57px;
            animation: gnavToggle_header_scrollout .2s forwards;
        }

        .menu_open & {
            top: 25px;
            right: 15px;
            bottom: auto;
        }
        .menu_open.admin-bar & { top: (25px + 32px); }

    }
    a#gnavToggle {
        color: $themetextcolor;
        cursor: pointer;
        display: block;
        width: 80px;
        height: 80px;
        @include maxwidth(1024) { 
            width: 55px;
            height: 55px;
        }
        background-color: $accentcolor;
        position: relative;
        .b {
            &>span {
                @include absolute_centering;
                bottom: 10%;
                display: inline-block;
                width: 25px;
                height: 1px;
                background-color: currentColor;
                transition: all .4s;
                &:nth-of-type(1) {
                    transform: translate(0,-7px);
                    .menu_open & {
                        transform: translate(0,-3.5px) rotate(225deg);
                    }
                }
                &:nth-of-type(2) {
                    .menu_open & {
                        transform: translate(0,-3.5px) rotate(-225deg);
                    }
                }
            }
        }
        .t {
            color: currentColor;
            @include ff_en;
            @include f_all(16);
            position: absolute;
            bottom: 25%;
            left: 50%;
            transform: translate(-50%, 0);
            @include maxwidth(1024) { 
                @include f_all(14); 
                bottom: 16%;
            }
            @include maxwidth(768) {
            }
            &::before {
                content: 'menu';
                .menu_open & { content: 'close'; }
            }
        }
        @include button_pointer();
    }
}

#gnav {
    position: fixed;
    inset: 0;
    z-index: 100;
    background-color: $basecolor;
    opacity: 0;
    visibility: hidden;
    transition-property: opacity visibility;
    transition-duration: .4s;
    .menu_open & {
        opacity: 1;
        visibility: visible;
    }
    a { @include button_pointer(); }
    &Container {
        position: fixed;
        inset: 0;
        padding: 40px 0 40px;
        .admin-bar & { padding-top: (40px + 32px); }
        @include maxwidth(768) {
            padding-top: 25px;
            .admin-bar & { padding-top: (25px + 32px); }
        }
        box-sizing: border-box;
        // スクロールバー
        overflow-y: auto;
        -ms-overflow-style: none;
        scrollbar-width: none;
        &::-webkit-scrollbar { display: none; }
    }
    &Inner { 
        max-width: 840px;
        width: 100%;
        margin: 0 auto;
        padding: 0 30px;
        box-sizing: border-box;
        overflow: hidden;
        @include maxwidth(768) {
            padding-left: 15px;
            padding-right: 15px;
        }
    }

    .head {
        box-sizing: border-box;
        @include maxwidth(1024) {
            padding-right: 65px;
        }
        .description {
            display: flex;
            align-items: center;
            gap: 20px;
            @include maxwidth(1024) { gap: 10px; }
            .l-left {
                .logo-mark {
                    &>img {
                        width: 110px;
                        @include maxwidth(1024) { width: 75px; }
                        @include maxwidth(420) { width: 70px; }
                        @include maxwidth(360) { width: 65px; }
                    }
                }
            }
            .l-right {
                display: inline-flex;
                flex-direction: column;
                align-items: flex-start;
                gap: 10px;
                .outline {
                    color: $themecolor;
                    @include f_all(13);
                    line-height: 1.2;
                    @include maxwidth(768) { @include f_all(12); }
                    @include maxwidth(360) { @include f_all(11); }
                    font-weight: 600;
                }
                .logo {
                    a {  }
                    img { 
                        width: 225px;
                        @include maxwidth(420) { width: 200px; }
                        @include maxwidth(360) { width: 185px; }
                    }
                }
            }
        }
    }
    .body {
        margin-top: 30px;
        @include maxwidth(768) { margin-top: 16px; }
        &>*:not(:first-child) { margin-top: 1px; }
        .address {
            &>*:not(:first-child) { margin-top: 1px; }
            .row {
                display: flex;
                align-items: center;
                justify-content: space-between;
                .col {
                    &:nth-of-type(1) {  }
                    &:nth-of-type(2) {  }
                    p {
                        color: $themecolor;
                        @include f_all(16);
                        @include maxwidth(768) { @include f_all(14); }
                        font-weight: 600;
                        line-height: 1.3;
                    }
                    .gmap__link {
                        @include ff_en;
                        color: $themetextcolor;
                        @include f_all(16);
                        @include maxwidth(768) { @include f_all(14); }
                        display: inline-flex;
                        align-items: center;
                        justify-content: center;
                        flex-direction: column;
                        gap: 3px;
                        width: 80px;
                        height: 80px;
                        @include maxwidth(768) {
                            width: 55px;
                            height: 55px;
                        }
                        background-color: $themecolor;
                        &::before{
                            content: '';
                            display: inline-block;
                            width: 18px;
                            height: 20px;
                            background: url(../images/icon-map-white.svg) no-repeat center/contain;
                        }
                    }
                }
            }
            .contact-buttons {
                display: flex;
                flex-direction: column;
                gap: 1px;
                .contact-button {
                    width: 100%;
                    &__link {
                        color: $themetextcolor;
                        @include flex_centering;
                        width: 100%;
                        padding: 10px;
                        box-sizing: border-box;
                        background-color: $themecolor;
                        min-height: 90px;
                        position: relative;

                        &::after{
                            content: '';
                            display: inline-block;
                            width: 7px;
                            height: 12px;
                            background: url(../images/arrow-white.svg) no-repeat center/contain;
                            position: absolute;
                            top: 0;
                            bottom: 0;
                            left: 15px;
                            margin: auto;
                        }

                        &.tel {
                            flex-direction: column;
                            gap: 10px;
                            @include maxwidth(420) {
                                align-items: flex-start;
                                padding-left: 30px;
                            }
                            .telnum {
                                @include f_all(34);
                                @include maxwidth(768) { @include f_all(30);}
                                @include maxwidth(420) { margin-left: 10px; }
                                @include maxwidth(360) { @include f_all(26); }
                                font-weight: 600;
                                padding-left: 28px;
                                background: url(../images/icon-phone-white.svg) no-repeat left top 70%/20px auto;
                            }
                            .teltime {
                                @include f_all(12);
                                @include maxwidth(360) { @include f_all(11); }
                                font-weight: 600;
                            }
                        }
                    }
                }
            }
        }
        .global-menu {
            &>*:not(:first-child) { margin-top: 1px; }
            @include f_all(14);
            font-weight: 600;
            line-height: 1.3;
            ul {
                li {
                    &:not(:first-of-type) { margin-top: 1px; }

                    --menu-open-transition-delay: 0s;
                    opacity: 0;
                    transform: translate(10%,0);
                    transition: all .4s .4s;
                    .menu_open & {
                        opacity: 1;
                        transform: translate(0,0);
                        transition-delay: var(--menu-open-transition-delay, 0s);
                    }
                    a {
                        color: $themetextcolor;
                        display: flex;
                        align-items: center;
                        background-color: $themecolor3;
                        padding: 0.5em 40px;
                        box-sizing: border-box;
                        min-height: 45px;
                        position: relative;
                        &:has(> img) { gap: 15px; }
                        &::after{
                            content: '';
                            display: inline-block;
                            width: 7px;
                            height: 12px;
                            background: url(../images/arrow-white.svg) no-repeat center/contain;
                            position: absolute;
                            top: 0;
                            bottom: 0;
                            left: 15px;
                            margin: auto;
                        }
                        &[data-form-link] {
                            gap: 15px;
                            &::before{ 
                                flex-shrink: 0;
                                content: '';
                                display: inline-block;
                                width: 20px;
                                height: 15px;
                                @include maxwidth(360) {
                                    width: 18px;
                                    height: 14px;
                                }
                                background: url(../images/icon-mail-white.svg) no-repeat center/contain;
                            }
                        }
                        &[target="_blank"] {
                            &::after{
                                content: '';
                                display: inline-block;
                                width: 11px;
                                height: 11px;
                                background-image: url(../images/icon-blank-white.svg);
                            }
                        }

                        &>img { 
                            flex-shrink: 0; 
                            width: 20px;
                            @include maxwidth(360) { width: 18px; }
                        }

                    }
                }
            }
        }
    }

}

#totop {
    position: fixed;
    right: 0;
    bottom: 0;
    z-index: 25;
    clip-path: ellipse(0% 0% at 50% 50%);
    transition: clip-path 1s ease-out;
    .header_scrollout & { 
        clip-path: ellipse(100% 100% at 50% 50%);
    }
    @include maxwidth(1024) {
        bottom: 20px;
        right: 15px;
    }
    @include maxwidth(768) { display: none !important; }
    a {
        color: $themetextcolor;
        cursor: pointer;
        @include ff_en;
        @include f_all(16);
        @include flex_centering;
        flex-direction: column;
        width: 80px;
        height: 80px;
        padding-top: .5em;
        box-sizing: border-box;
        background-color: $themecolor;
        gap: .5em;
        @include maxwidth(1024) {
            @include f_all(14);
            width: 55px;
            height: 55px;
        }
        &::before{
            content: '';
            display: inline-block;
            width: 12px;
            height: 7px;
            background: url(../images/arrow-top-white.svg) no-repeat center/contain;
        }

        @include button_pointer();
    }
}

@keyframes asideMenuDisplay {
    from {
        opacity: 0;
        transform: translate(100%,0);
    }
    to {
        opacity: 1;
        transform: translate(0,0);
    }
}

#asideMenu {
    position: fixed;
    top: 50%;
    right: 0;
    transform: translate(0,-50%);
    z-index: 30;
    .subpage & {  }
    @include maxwidth(768) { display: none !important; }
    .items {
        width: 50px;
        padding: 40px 0;
        box-sizing: border-box;
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 40px;
        border-radius: 10px 0 0 10px;
        position: relative;
        transition: background .3s;
        .toppage & {
            background-color: $themecolor;
            // opacity: 0;
            // animation: asideMenuDisplay 0.5s 1s ease-out forwards;
        }
        .toppage.header_scrollout & {
            background-color: rgba($themecolor, .80); 
            &:hover { background-color: $themecolor; }
        }
        .subpage & { 
            background-color: rgba($basecolor, .80); 
            &:hover { background-color: $basecolor; }
        }
        .item {
            display: flex;
            flex-direction: column;
            align-items: center;
            gap: 20px;
            &.sns {  }
            &.store {
                .toppage & { 
                    @media screen and (min-width: 1025px) {
                        display: none !important; 
                    }
                }
            }
            &-title {
                color: $themetextcolor;
                .subpage & { color: $accentcolor; }
                @include ff_en;
                @include f_all(16);
                writing-mode: vertical-rl;
                display: inline-block;
                width: 1em;
                margin-left: 0.45em;
            }
            &-list {
                display: flex;
                align-items: center;
                flex-direction: column;
                gap: 20px;
                li {
                    flex-shrink: 0;
                    a {
                        @media (any-hover: hover) {
                            transition: filter 200ms, -webkit-filter 200ms;
                            &:hover {
                                filter: opacity(80%);
                                -webkit-filter: opacity(80%);
                            }
                        }
                        &>img {  }
                    }
                }
            }
        }
    }

    &Sp {
        display: none;
        @include maxwidth(768) { display: block !important; }
        position: fixed;
        left: 0;
        right: 0;
        bottom: 0;
        z-index: 25;
        opacity: 0;
        transform: translate(0,100%);
        transition-property: opacity transform;
        transition-duration: .2s;
        .header_scrollout & {
            opacity: 1;
            transform: translate(0,0);
        }
        ul {
            display: flex;
            gap: 2px;
            li {
                flex-basis: calc(100% - 55px);
                &:last-of-type {
                    flex-shrink: 0;
                    flex-basis: 55px;
                }
                a {
                    color: $themetextcolor;
                    @include flex_centering;
                    width: 100%;
                    height: 55px;
                    background-color: $accentcolor;
                    padding: 5px;
                    box-sizing: border-box;
                    position: relative;
                    @media (any-hover: hover) {
                        transition: filter 200ms, -webkit-filter 200ms;
                        &:hover {
                            filter: brightness(80%);
                            -webkit-filter: brightness(80%);
                        }
                    }
                    &.tel {
                        flex-direction: column;
                        .telnum {
                            @include f_all(17);
                            @include maxwidth(360) { @include f_all(16); }
                            font-weight: 600;
                            padding-left: 14px;
                            background: url(../images/icon-phone-white.svg) no-repeat left top 70%/12px;
                        }
                        .teltime {
                            @include f_all(10);
                            line-height: 1.3;
                            font-weight: 600;
                            text-align: center;
                        }
                    }
                    &.form {
                        gap: 3px;
                        &::before{
                            flex-shrink: 0;
                            content: '';
                            display: inline-block;
                            width: 16px;
                            height: 12px;
                            background: url(../images/icon-mail-white.svg) no-repeat center/contain;
                            margin-top: 0.15em;
                            @include maxwidth(360) { 
                                width: 14px;
                                height: 10px;
                            }
                        }
                        .title {
                            @include f_all(12);
                            font-weight: 600;
                            @include maxwidth(360) { @include f_all(11); }
                        }
                    }
                    &.totop {
                        @include ff_en;
                        @include f_all(14);
                        flex-direction: column;
                        background-color: $themecolor;
                        padding-top: 0.5em;
                        gap: 4px;
                        &::before{
                            content: '';
                            display: inline-block;
                            width: 12px;
                            height: 7px;
                            background: url(../images/arrow-top-white.svg) no-repeat center/contain;
                        }
                    }
                }
            }
        }
    }
}

.c-movie {
    position: relative;
    &>* { transition: opacity .2s; }
    .poster {
        width: 100%;
        height: 100%;
        img {
            width: 100%;
            height: 100%;
            object-fit: cover;
        }
    }
    .video {
        opacity: 0;
        @include absolute_centering;
        z-index: 1;

        video {
            width: 100%;
            height: 100%;
            object-fit: cover;
        }

        &::after{
            content: '';
            @include absolute_centering;
            // イメージに合わせて変更して。
            background-image: 
                radial-gradient( rgba($basetextcolor, .90) 30%,  transparent 31% ), 
                radial-gradient( rgba($basetextcolor, .90) 30%, transparent 31%)
            ;
            background-size: 4px 4px;
            background-position: 0 0, 2px 2px;
        }
    }

    &.loaded {
        .video { opacity: 1; }
    }
}

@keyframes outside_loaded {
    from {
        opacity: 0;
        transform: scale(0.7);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

#mainVisual {
    position: relative;
    z-index: 10;
    --mv-foot-height: 70px;
    @include maxwidth(1024) { --mv-foot-height: 47px; }
    &Container {
        height: calc(100vh - var(--mv-foot-height, 0px));
        height: calc(100svh - var(--mv-foot-height, 0px));
        .admin-bar & 
        { 
            height: calc(100vh - var(--mv-foot-height, 0px) - 32px);
            height: calc(100svh - var(--mv-foot-height, 0px) - 32px);
        }
        min-height: 400px;
        position: relative;
        @include maxwidth(1024) {
            height: calc(100vh - var(--mv-foot-height, 0px) - var(--header-height, 0px));
            height: calc(100svh - var(--mv-foot-height, 0px) - var(--header-height, 0px));
            .admin-bar & 
            { 
                height: calc(100vh - var(--mv-foot-height, 0px) - var(--header-height, 0px) - 32px);
                height: calc(100svh - var(--mv-foot-height, 0px) - var(--header-height, 0px) - 32px);
            }
            margin-right: 15px;
            margin-left: 15px;
        }
        &::after{
            content: '';
            display: inline-block;
            background:
                linear-gradient(
                    180deg,
                    rgba(0, 0, 0, 0.70) 0%,
                    rgba(0, 0, 0, 0.00) 100%
                )
            ;
            height: 40%;
            position: absolute;
            top: 0;
            left: 0;
            right: 0;
            margin: auto;
            z-index: 5;
            @include maxwidth(1024) { display: none; }
        }
        .c-movie {
            height: 100%;
            &::after{
             content: '';
             @include absolute_centering;
             background-color: rgba(#000, .15);
             @include maxwidth(1024) { background-color: rgba(#000, .10); }
             z-index: 1;
            }
            .poster {
                .swiper {
                    height: 100%;
                    &-slide {
                        &>img {
                            width: 100%;
                            height: 100%;
                            object-fit: cover;
                        }
                    }
                }
                .mv-slider-pagination {
                    position: absolute;
                    z-index: 2;
                    left: 50%;
                    bottom: 25px;
                    @include maxwidth(1024) { bottom: 15px; }
                    transform: translate(-50%,0);
                    display: flex;
                    opacity: 0;
                    .smartphone & { opacity: 1; }
                    align-items: center;
                    flex-wrap: wrap;
                    gap: 10px;
                    width: auto;
                    @include maxwidth(768) {
                        top: 50%;
                        right: 10px;
                        bottom: auto;
                        left: auto;
                        transform: translate(0, -50%);
                        flex-direction: column;
                    }
                    &-bullet {
                        cursor: pointer;
                        display: inline-block;
                        width: 14px;
                        height: 14px;
                        @include maxwidth(768) {
                            width: 12px;
                            height: 12px;
                        }
                        border-radius: 9999px;
                        background-color: $themecolor2;
                        transition: background .3s;
                        &-active { background-color: $accentcolor;}
                    }                    
                }
            }
            .video {
                video {  }
            }
        }
        .overlay {
            position: absolute;
            z-index: 4;
            left: 50%;
            bottom: 30vh;
            transform: translate(-50%,0);
            // left: 0;
            // right: 0;
            // bottom: 40px;
            @include maxwidth(1024) { bottom: 45px; }
            @include maxwidth(768) { bottom: 25px; }
            margin: auto;
            &__inner {
                color: $themetextcolor;
                text-align: center;
                display: flex;
                flex-direction: column;
                align-items: center;
                gap: 30px;
                padding: 0 10px;
                box-sizing: border-box;
                @include maxwidth(1024) { gap: 10px }
            }
            .text-en {
                @include ff_en;
                font-size: clamp(32px,(64 / 1200 * 100vw),64px);
                @include maxwidth(360) { font-size: 28px; }
                line-height: 1.2;
                white-space: nowrap;
                br.sp {
                    @media screen and (min-width: 1025px) { display: none; }
                }
            }
            .text {
                font-size: 16px;
                font-weight: bold;
                letter-spacing: 0.20em;
                display: inline-flex;
                align-items: center;
                justify-content: center;
                padding: 0.20em calc(20px - 0.7em) 0.20em 20px;
                box-sizing: border-box;
                background-color: $themecolor;
                min-height: 30px;
                @include maxwidth(1024) { 
                    font-size: 14px;
                    min-height: 27px;
                }
                @include maxwidth(480) {
                    letter-spacing: 0em;
                    line-height: 120%;
                 }
                @include maxwidth(360) { 
                    font-size: 13px; 
                    padding-left: 10px;
                    padding-right: calc(10px - 0.7em);
                }
            }
        }
        .outside {
            position: absolute;
            right: 10px;
            bottom: 20px;
            z-index: 3;
            @include maxwidth(1024) { display: none; }
            // opacity: 0;
            // animation: outside_loaded 0.5s 0.5s ease-out forwards;
            &__link {
                color: $themetextcolor;
                @include flex_centering;
                flex-direction: column;
                width: 220px;
                height: 220px;
                border-radius: 9999px;
                background-color: $accentcolor;
                .icon {
                    &>img {  }
                }
                .title {
                    @include f_all(20);
                    font-weight: bold;
                    text-align: center;
                    margin-top: 10px;
                    line-height: 1.2;
                }
                .btn {
                    color: $themetextcolor;
                    @include f_all(14);
                    font-weight: 500;
                    display: inline-flex;
                    align-items: center;
                    justify-content: center;
                    gap: 6px;
                    width: 143px;
                    height: 35px;
                    background-color: $basetextcolor;
                    position: relative;
                    margin-top: 18px;
                    &::before{
                        content: '';
                        display: inline-block;
                        width: 6px;
                        height: 10px;
                        background: url(../images/arrow-white.svg) no-repeat center/contain;
                        margin-top: 0.15em;
                    }
                }

                @media (hover:hover) {
                    transform: scale(1);
                    transition: transform 0.4s;
                    will-change: transform;
                    &:hover { 
                        transform: scale(0.95); 
                    }
                }

            }
        }
    }
    &Foot {
        height: var(--mv-foot-height);
        .scrolldown {
            height: 100%;
            @include flex_centering;
            a {
                @include ff_en;
                @include f_all(16);
                color: $themecolor;
                display: flex;
                flex-direction: column;
                align-items: center;
                gap: 10px;
                @include maxwidth(1024) { 
                    @include f_all(13);
                    gap: 6px;
                }
                &::after{
                    content: '';
                    display: inline-block;
                    width: 12px;
                    height: 7px;
                    background: url(../images/arrow-bottom-color.svg) no-repeat center/contain;
                }
            }
        }
    }
}


// Footer

.footer-contact-buttons {
    display: flex;
    flex-direction: column;
    gap: 4px;
    .footer-contact-button {
        display: inline-block;
        &__link {
            color: $themetextcolor;
            @include flex_centering;
            background-color: $themecolor;
            padding: 10px 40px;
            box-sizing: border-box;
            min-height: 90px;
            position: relative;
            @include maxwidth(768) {
                padding-left: 35px;
                padding-right: 35px;
            }

            .title {
                @include f_all(20);
                line-height: 1.5;
                font-weight: 600;
                @include maxwidth(768) { @include f_all(18); }
                @include maxwidth(360) { @include f_all(16); }
            }

            &::after{
                content: '';
                display: inline-block;
                width: 7px;
                height: 12px;
                background: url(../images/arrow-white.svg) no-repeat center/contain;
                position: absolute;
                top: 0;
                bottom: 0;
                left: 30px;
                margin: auto;
                @include maxwidth(768) { left: 20px; }
            }

            &.tel {
                flex-direction: column;
                gap: 8px;
                @include maxwidth(768) { gap: 4px; }
                .telnum {
                    @include f_all(37);
                    font-weight: 600;
                    padding-left: 36px;
                    background: url(../images/icon-phone-white.svg) no-repeat left top 70%/26px auto;
                    @include maxwidth(768) {
                        @include f_all(26);
                        padding-left: 23px;
                        background-size: 19px;
                    }
                    @include maxwidth(360) { @include f_all(24); }
                }
                .teltime {
                    @include f_all(14);
                    font-weight: 600;
                    line-height: 1.2;
                    text-align: center;
                    @include maxwidth(768) {
                        @include f_all(12);
                        font-weight: 400;
                    }

                    br.sp {
                        @media screen and (min-width: 769px) { display: none; }
                    }
                }
            }
            &.form {
                .title {
                    padding-left: 33px;
                    background: url(../images/icon-mail-white.svg) no-repeat left top 65%/23px auto;
                    @include maxwidth(360) { 
                        padding-left: 28px;
                        background-size: 20px auto; 
                    }
                }
            }

            // ホバーしたら、マウスポインターを表示
            @include button_pointer();
            
        }
    }
}

#contentFooter {
    position: relative;
    &Banner {
        margin: 40px 0;
        position: relative;
        &Container {
            @include container(1320, 60);
            z-index: 5;
            @include maxwidth(768) {
                margin-left: 15px;
                margin-right: 15px;
            }
        }
        .banner-list {
            .banner-item {
                &:not(:first-of-type) { margin-top: 10px; }
                position: relative;
                &:nth-of-type(even) .banner-item__link {
                    &::before {
                        top: 0;
                        bottom: auto;
                        clip-path: polygon(0 0, 0% 100%, 100% 0);
                    }
                    &::after {
                        top: auto;
                        bottom: 0;
                        clip-path: polygon(100% 100%, 0% 100%, 100% 0);
                    }
                }
                &.js-trigger {
                    @include inviewAnimate;
                }
                &__link {
                    color: $themetextcolor;
                    @include flex_centering;
                    min-height: 245px;
                    overflow: hidden;
                    padding: 14px 10px 10px 10px;
                    box-sizing: border-box;
                    position: relative;
                    @include maxwidth(768) {
                        min-height: 215px;
                        padding-top: 2.5em;
                    }

                    &::before, &::after {
                        content: '';
                        display: block;
                        width: 160px;
                        height: 90px;
                        position: absolute;
                        background-color: rgba($themecolor, .90);
                        @media (hover:hover) { background-color: $themecolor; }
                        z-index: 1;
                        @include maxwidth(768) {
                            width: 106px;
                            height: 60px;
                        }
                    }
                    &::before {
                        left: 0;
                        bottom: 0;
                        clip-path: polygon(0 100%, 100% 100%, 0 0);
                    }
                    &::after {
                        top: 0;
                        right: 0;
                        clip-path: polygon(100% 0, 0 0, 100% 100%);
                    }

                    &[target="_blank"] .c-heading::after {
                        background-image: url(../images/icon-blank-white.svg);
                        background-size: 12px;
                    }
                    .c-heading {
                        position: relative;
                        z-index: 2;
                        gap: .5em;
                        @include maxwidth(768) { gap: .7em; }
                        .en {
                            display: inline-flex;
                            align-items: flex-end;
                            @include maxwidth(768) { @include f_all(40); }
                        }
                        .ja {  
                            @include maxwidth(360) { @include f_all(18); }
                        }
                        &::after {
                            flex-shrink: 0;
                            content: '';
                            display: inline-block;
                            width: 32px;
                            height: 32px;
                            border-radius: 9999px;
                            background: url(../images/arrow-white.svg) no-repeat center/7px 12px $themecolor;
                            position: relative;
                            margin-top: 0.5em;
                        }
                    }
                    .bgimage {
                        @include absolute_centering;
                        &::after{
                            content: '';
                            @include absolute_centering;
                            background-color: rgba(#000000, .50);
                        }
                        &>img {
                            width: 100%;
                            height: 100%;
                            object-fit: cover;
                        }
                    }

                    &.onlineshop {
                        .c-heading .en {
                            &::before{
                                flex-shrink: 0;
                                content: '';
                                display: inline-block;
                                width: 32px;
                                height: 32px;
                                background: url(../images/icon-store-v2.svg) no-repeat center/contain;
                                margin-right: 0.05em;
                                margin-bottom: 0.025em;
                                @include maxwidth(768) {
                                    width: 20px;
                                    height: 20px;
                                }
                            }
                        }
                    }

                    @media (hover: hover) {
                        overflow: hidden;
                        &::before, &::after {
                            transition-property: transform;
                            transition-duration: .4s;
                        }
                        &::before {
                            transform: translate(-100%,0);
                        }
                        &::after {
                            transform: translate(100%,0);
                        }
                        .c-heading::after { 
                            background-color: $basetextcolor;
                            transition: background .4s;
                         }
                        .bgimage::after {
                            background-color: rgba($themecolor, .9);
                            transition: background .4s;
                        }
                        &:hover {
                            &::before, &::after {
                                transform: translate(0,0);
                            }
                            .c-heading::after { background-color: $themecolor; }
                            .bgimage::after {
                                background-color: rgba(#000, .50);
                            }
                        }
                    }

                }
            }
        }
        .shape {
            position: absolute;
            bottom: -90%;
            right: 0;
            z-index: 2;
            width: (350 / 1440 * 100vw);
            height: (355 / 1440 * 100vw);
            min-width: 350px;
            min-height: 355px;
            @include maxwidth(768) {
                min-width: auto;
                min-height: auto;
                width: 280px;
                height: 283px;
            }
            overflow: hidden;
            &-item {
                position: absolute;
                bottom: 0;
                right: -10%;
                width: 80%;
                height: 80%;
                background-color: rgba($themecolor, .50);
                border-radius: 30% 70% 60% 40% / 30% 40% 60% 70%;
            }
        }
    }
    &Contact {
        position: relative;
        z-index: 2;
        &Container {
            @include container(1320, 60);
            color: $themetextcolor;
            z-index: 2;
            padding: 80px (60 / 1440 * 100vw) 50px 0;
            box-sizing: border-box;
            @include maxwidth(1024) {
                padding: 80px 0 180px;
            }
            @include maxwidth(768) {
                padding-top: 50px;
                margin-left: 15px;
                margin-right: 15px;
            }
            .docs {
                @media screen and (min-width: 1025px) {
                    width: calc(540 / 1260 * 100%);
                    margin-left: auto;
                    margin-right: 0;
                }
                @include maxwidth(1024) {  }
                .head {
                    .c-heading {
                        align-items: flex-start; 
                        @include maxwidth(1024) { align-items: center; }
                    }
                    .address {
                        margin-top: 30px;
                        @include maxwidth(1024) { text-align: center; }
                        &>*:not(:first-child) { margin-top: 4px; }
                        p {
                            @include f_all(15);
                            @include maxwidth(768) { @include f_all(14); }
                            font-weight: 600;
                            line-height: 1.6;
                            a { text-decoration: underline; }
                        }
                        .gmap__link {
                            display: inline-flex;
                            align-items: center;
                            &::before{
                                content: '';
                                width: 7px;
                                height: 12px;
                                background: url(../images//arrow-white.svg) no-repeat center/contain;
                                margin-right: .30em;
                                margin-top: .15em;
                            }
                        }
                    }
                }
                .body {
                    @media screen and (min-width: 1025px) { display: none; }
                    margin-top: 20px;
                    .footer-contact-buttons {
                        .footer-contact-button {
                            &__link {  }
                        }
                    }
                }
            }
        }
        .c-movie {
            @include absolute_centering;
            &::after{
                content: '';
                @include absolute_centering;
                bottom: -1px;
                // background-color: rgba(#000, .50);
                background-color: rgba(#000, .40);
                z-index: 1;
            }
            .poster {  }
            .video {  }
        }
    }
}

#footer {
    padding-bottom: 40px;
    box-sizing: border-box;
    background-color: $basetextcolor;
    position: relative;
    @include maxwidth(1024) {
        padding-top: 160px;
        padding-bottom: 100px;
    }
    .container {
        color: $themetextcolor;
        @include container(1320, 60);
        padding-right: (60 / 1440 * 100vw);
        box-sizing: border-box;
        @include maxwidth(1024) { padding-right: 0; }
        @include maxwidth(768) {
            margin-right: 15px;
            margin-left: 15px;
        }
        .head {
            padding-top: 50px;
            @include maxwidth(1024) { padding-top: 0; }
            box-sizing: border-box;
            position: relative;
            .image {
                position: absolute;
                left: 0;
                bottom: 0;
                z-index: 5;
                width: (620 / 1260 * 100%);
                height: 510px;
                @include maxwidth(1024) {
                    width: 100%;
                    height: 320px;
                }
                &>img {
                    position: absolute;
                    top: 0;
                    left: 0;
                    width: 100%;
                    height: 100%;
                    object-fit: cover;
                }
            }
            .footer-contact-buttons {
                width: calc(540 / 1260 * 100%);
                margin-left: auto;
                margin-right: 0;
                @include maxwidth(1024) { display: none !important; }
            }
        }
        .foot {
            display: flex;
            justify-content: space-between;
            gap: 2em;
            padding-top: 50px;
            box-sizing: border-box;
            @include maxwidth(1200) {
                flex-direction: column;
                justify-content: initial;
                padding-top: 30px;
                gap: 30px;
            }
            .footer-description {
                @include maxwidth(1200) {
                    text-align: center;
                }
                .sitename {
                    display: inline-flex;
                    flex-direction: column;
                    gap: 10px;
                    .outline { 
                        @include f_all(13);
                        font-weight: 600;
                        line-height: 1.2;
                        @include maxwidth(360) { @include f_all(12); }
                    }
                    .logo {
                        a {  }
                        img {
                            width: 225px;
                            @include maxwidth(360) { width: 200px; }
                        }
                    }
                }
                .address {
                    @include f_all(14);
                    font-weight: 600;
                    line-height: 1.5;
                    margin-top: 10px;
                    @include maxwidth(768) { @include f_all(12); }
                    &>*:not(:first-child) { margin-top: 1em; }
                }
            }
            .footer-menu {
                // メニュースタイル
                .main-menu,
                .external-menu,
                .aside-menu
                {
                    @include f_all(14);
                    font-weight: 600;
                    ul {
                        display: flex;
                        align-items: center;
                        justify-content: flex-end;
                        flex-wrap: wrap;
                        gap: 1em 40px;
                        @include maxwidth(1200) {
                            flex-direction: column;
                            align-items: initial;
                            justify-content: initial;
                            gap: 2px;
                        }
                        li {
                            a {
                                @media screen and (min-width: 1201px) {
                                    &.onlineshop {
                                        display: flex;
                                        align-items: flex-end;
                                        gap: .5em;
                                        &::after{
                                            content: 'オンラインショップ';
                                        }
                                    }
                                }
                                @include maxwidth(1200) {
                                    color: $themetextcolor;
                                    display: flex;
                                    align-items: center;
                                    justify-content: center;
                                    gap: 0.80em;
                                    background-color: $themecolor3;
                                    min-height: 45px;
                                    box-sizing: border-box;
                                    position: relative;
                                    &::before { 
                                        content: '';
                                        display: inline-block;
                                        width: 7px;
                                        height: 12px;
                                        background: url(../images/arrow-white.svg) no-repeat center/contain;
                                        position: absolute;
                                        top: 0;
                                        bottom: 0;
                                        left: 15px;
                                        margin: auto;
                                    }

                                    &>img { flex-shrink: 0; }

                                    &[target="_blank"] {
                                        &::before {
                                            width: 11px;
                                            height: 11px;
                                            background-image: url(../images/icon-blank-white.svg);
                                        }
                                    }

                                    &.onlineshop::after {
                                        content: "オンラインショップ";
                                    }

                                }
                                @include maxwidth(768) {
                                    justify-content: flex-start;
                                    padding-left: 40px;

                                    &.instagram {
                                        &::after { content: "instagram"; }
                                    }
                                    
                                    &.x {
                                        &::after { content: "x"; }
                                    }

                                    &.onlineshop {
                                        &::after { content: "online shop"; }
                                    }

                                }

                                &>img {
                                    flex-shrink: 0;
                                    width: 20px;
                                    @include maxwidth(360) { width: 18px; }
                                }

                                @media (any-hover: hover) {
                                    transition: filter 200ms, -webkit-filter 200ms;
                                    &:hover {
                                        filter: brightness(80%);
                                        -webkit-filter: brightness(80%);
                                    }
                                }

                            }
                        }
                    }
                }
                .main-menu {  }
                .external-menu { 
                    margin-top: 40px; 
                    @include maxwidth(1200) { margin-top: 2px; }
                }
                .aside-menu { 
                    margin-top: 32px;
                    @include maxwidth(1200) { margin-top: 2px; }
                }
                #copyRight {
                    margin-top: 40px;
                    text-align: right;
                    @include maxwidth(768) {
                        margin-top: 30px;
                        text-align: left;
                    }
                    small {
                        @include f_all(12);
                        font-weight: 600;
                    }
                }
            }
        }
    }
}

// === Toppage (Section & Part)

#toppageAboutus {
    position: relative;
    padding-bottom: 280px;
    box-sizing: border-box;
    @include maxwidth(768) { padding-bottom: 150px; }
    z-index: 8;
    .container {
        position: relative;
        z-index: 1;
        @include maxwidth(768) { overflow: hidden; }
        &__inner {
            color: $themetextcolor;
            padding: 235px 0;
            box-sizing: border-box;
            height: 100%;
            position: relative;
            z-index: 2;
            @include maxwidth(1024) { padding-top: 150px; }
            @include maxwidth(768) { padding-bottom: 215px; }

            .head {
                position: absolute;
                top: 50%;
                left: (60 / 1440 * 100vw);
                transform: translate(0,-50%);
                @include maxwidth(768) {
                    top: 40px;
                    left: 10px;
                    transform: translate(0,0);
                }
                .c-heading {  
                    color: rgba($themecolor2, .50);
                    @include maxwidth(768) { color: rgba($themecolor2, .80); }
                    .en {
                        display: inline-block;
                        width: 1em;
                        writing-mode: vertical-rl;
                        white-space: nowrap;
                    }
                }
            }
            .body {
                max-width: 580px;
                width: 100%;
                margin: 0 auto;
                padding: 0 20px;
                box-sizing: border-box;
                .leadtext {
                    @include f_all(24);
                    font-weight: 600;
                    line-height: 1.8;
                    text-align: center;
                    @include maxwidth(768) { @include f_all(20); }

                    &.js-trigger {
                        @include charAnimate;
                    }
                }
                .text {
                    @include f_all(16);
                    font-weight: 600;
                    line-height: 2.3;
                    text-align: center;
                    margin-top: 1em;
                    @include maxwidth(768) { 
                        @include f_all(15); 
                        font-weight: 400;
                    }

                    br.sp {
                        @media screen and (min-width: 769px) { display: none; }
                    }

                    &.js-trigger {
                        @include inviewAnimate;
                    }
                }
                .c-buttons {
                    margin-top: 28px;
                    @include maxwidth(768) { margin-top: 40px; }

                    .c-button {
                        &.js-trigger {
                            @include inviewAnimate;
                        }
                    }
                }
            }
        }
        .c-movie {
            @include absolute_centering;
            &::after{
                content: '';
                @include absolute_centering;
                // background-color: rgba(#000, .50);
                background-color: rgba(#000, .40);
                z-index: 1;
                @include maxwidth(768) { background-color: rgba(#000, .65); }
            }
            .poster {  }
            .video {  }
        }
        .shape {
            &1 {
                position: absolute;
                top: -20%;
                right: 0;
                z-index: 2;
                width: (380 / 1440 * 100vw);
                height: (415 / 1440 * 100vw);
                min-width: 380px;
                min-height: 415px;
                overflow: hidden;
                @include maxwidth(768) {
                    width: 280px;
                    height: 305px;
                    min-width: initial;
                    min-height: initial;
                    top: -10%;
                    right: auto;
                    left: 0;
                }
                .shape-item {
                    position: absolute;
                    top: 0;
                    right: -10%;
                    width: 80%;
                    height: 80%;
                    background-color: rgba($themecolor, .40);
                    border-radius: 30% 70% 60% 40% / 30% 40% 60% 70%;
                    @include maxwidth(768) {
                        right: auto;
                        left: -20%;
                    }
                }
            }
            &2 {
                position: absolute;
                bottom: 0;
                left: 0;
                z-index: 2;
                width: (351 / 1440 * 100vw);
                height: (355 / 1440 * 100vw);
                min-width: 351px;
                min-height: 355px;
                overflow: hidden;
                @include maxwidth(768) {
                    width: 280px;
                    height: 283px;
                    min-width: initial;
                    min-height: initial;
                    bottom: 10%;
                    left: auto;
                    right: 0;
                }
                .shape-item {
                    position: absolute;
                    bottom: 0;
                    left: -10%;
                    width: 80%;
                    height: 80%;
                    background-color: rgba($themecolor, .40);
                    border-radius: 30% 70% 60% 40% / 30% 40% 60% 70%;
                    @include maxwidth(768) {
                        left: auto;
                        right: -20%;
                    }
                }
            }
        }
    }
    .infinite-slider {
        position: absolute;
        left: 0;
        bottom: 0;
        width: 100%;
        z-index: 5;
        .swiper {
            &-wrapper {
            }
            &-slide {
                width: 400px;
                @include maxwidth(768) { width: 300px; }
                &__inner {
                    padding-top: 100%;
                    box-sizing: border-box;
                    position: relative;
                    &>img {
                        position: absolute;
                        top: 0;
                        left: 0;
                        width: 100%;
                        height: 100%;
                        object-fit: cover;
                    }
                }
            }
        }
    }
}

#toppageProduct {
    padding-top: 80px;
    position: relative;
    z-index: 8;
    @include maxwidth(768) { padding-top: 50px; }
    .container {
        margin-bottom: 80px;
        @include maxwidth(768) { margin-bottom: 40px; }
        .head {
            .c-heading {
                .en {}
                .ja { color: $themecolor; }
            }
        }
        .body {
            margin-top: 40px;
            @include maxwidth(768) { margin-top: 30px; }
            .product-terms {
                max-width: 1200px;
                width: 100%;
                margin: 0 auto;
                padding: 0 60px;
                box-sizing: border-box;
                @include maxwidth(768) { padding: 0 15px; }
                .follow { display: none; }
                @media (hover:hover) and (min-width: 1201px) {
                    ul {
                        flex-wrap: nowrap;
                        background-color: $themecolor2;
                        border-radius: 50px;
                        li {
                            flex-basis: 200px;
                            a {
                                min-width: initial !important;
                                background-color: transparent;
                                z-index: 1;
                                transition: color .2s;

                                &::after {
                                    opacity: 0;
                                    transform: translate(-1em,0);
                                    background-image: url(../images/arrow-white.svg);
                                    transition: all .4s;
                                }

                                &.current::after {
                                    transition-delay: .3s;
                                    opacity: 1; 
                                    transform: translate(0,0);
                                }

                            }
                        }
                    }
                    .follow {
                        display: block !important;
                        position: absolute;
                        top: 0;
                        left: 0;
                        background-color: $basetextcolor;
                        border-radius: 50px;
                    }
                }
            }
            .product-headline {
                margin-top: 40px;
                @include maxwidth(1024) {
                    padding: 0 30px;
                    box-sizing: border-box;
                } 
                @include maxwidth(768) { 
                    margin-top: 30px;
                    padding: 0 15px;
                }
                .headline-items {
                    .headline-item {
                        max-width: 480px;
                        width: calc(385 / 1440 * 100vw);    
                        @include maxwidth(1024) {  width: (100% / 2.0); }
                        @include maxwidth(768) { width: (100% / 1.15); }
                        &__link {}
                    }
                }
                &.js-trigger[data-target] {
                    .headline-item {
                        clip-path: circle(20% at 50% 50%);
                        transition: clip-path 1000ms 300ms;
                    }
                    &.inview {
                        .headline-item {
                            clip-path: circle(100% at 50% 50%) !important;
                        }
                    }
                }

                // Swiper が適用しないとき
                &.no-swiper {
                    .headline-items {
                        display: flex;
                        align-items: center;
                        justify-content: center;
                        flex-wrap: wrap;
                        gap: 10px;
                    }
                    .headline-button-prev, 
                    .headline-button-next {
                        display: none !important;
                    }
                }
            }
            .c-buttons {
                margin-top: 50px;
                @include maxwidth(768) { margin-top: 30px; }
            }
        }
    }
    .parallax-wrapper {
        height: 350px;
        overflow: hidden;
        position: relative;
        @include maxwidth(768) { height: 280px; }
        .parallax-image {
            height: 200%;
            @include maxwidth(768) { height: 160%; }
            &>img {
                width: 100%;
                height: 100%;
                object-fit: cover;
            }
        }
    }
}

.product-terms {
    position: relative;
    ul {
        display: flex;
        flex-wrap: wrap;
        gap: 10px 20px;
        @include maxwidth(1200) { gap: 10px; }
        @include maxwidth(768) { gap: 5px; }
        .subpage & { gap: 5px; }
        li {
            height: auto;
            @include maxwidth(768) { 
                flex-basis: calc((100% - 5px) / 2); 
                &:first-of-type { flex-basis: 100%; }
            }
            a {
                color: $themecolor;
                @include f_all(14);
                font-weight: 600;
                @include flex_centering;
                height: 100%;
                border-radius: 50px;
                background-color: $themecolor2;
                min-width: 200px;
                min-height: 50px;
                @include maxwidth(768) { 
                    min-width: initial;
                    min-height: 45px; 
                }
                height: 100%;
                position: relative;

                &::after{
                    content: '';
                    display: inline-block;
                    width: 7px;
                    height: 12px;
                    background: url(../images/arrow-color.svg) no-repeat center/contain;
                    position: absolute;
                    top: 0;
                    bottom: 0;
                    left: 20px;
                    margin: auto;
                }

                &.current {
                    color: $themetextcolor;
                    background-color: $basetextcolor;
                    &::after { 
                        background-image: url(../images/arrow-white.svg);
                    }
                }
                
                @include button_pointer();

            }
        }
    }
}


@keyframes swiper_navi_hover {
    0% { transform: scale(0.7); }
    50% { transform: scale(1.3); }
    100% { transform: scale(1); }
}

@mixin swiper_navigation {
    .headline-button {
        &-prev, 
        &-next {
            cursor: pointer;
            display: inline-block;
            width: 60px;
            height: 60px;
            border-radius: 9999px;
            position: absolute;
            z-index: 5;
            top: 0;
            bottom: 0;
            margin: auto;
            background: url(../images/arrow-white.svg) no-repeat center/7px auto rgba($basetextcolor, .9);
            @include maxwidth(768) {
                width: 40px;
                height: 40px;
            }
            transition-property: opacity, visibility;
            transition-duration: .4s;
            @media (hover: hover) {
                opacity: 0;
                visibility: hidden;
                will-change: transform;
            }

            // 機能しない場合は、非表示
            &.swiper-button-disabled { opacity: 0 !important; visibility: hidden !important; }

        }
        &-prev {
            left: (60 / 1440 * 100vw);
            background-image: url(../images/arrow-left-white.svg);
            @include maxwidth(768) { left: (8 / 375 * 100vw); }
        }
        &-next { 
            right: (60 / 1440 * 100vw); 
            @include maxwidth(768) { right: (8 / 375 * 100vw); }
        }
    }

    @media (hover: hover) {
        &:hover {
            .headline-button {
                &-prev,
                &-next { 
                    opacity: 1; 
                    visibility: visible; 
                    animation: swiper_navi_hover 1.2s forwards;
                }
            }
        }
    }
}

.product-headline {
    position: relative;
    .subpage & { margin-top: 30px; }
    @include swiper_navigation;
    .headline-items {
        .subpage & {
            display: flex;
            flex-wrap: wrap;
            gap: 30px 5px;

            @include maxwidth(768) { row-gap: 25px; }

        }
        .headline-item {
            position: relative;
            .subpage & {

                flex-basis: calc((100% - (5px * 3)) / 4);
                
                @include maxwidth(1200) { flex-basis: calc((100% - (5px * 2)) / 3); }

                @include maxwidth(768) { flex-basis: calc((100% - 5px) / 2); }

            }
            &__link {
                &>* { display: block; }
                .thumb {
                    padding-top: 100%;
                    box-sizing: border-box;
                    position: relative;
                    .toppage &::after{
                        content: '';
                        position: absolute;
                        left: 0;
                        right: 0;
                        bottom: 0;
                        margin: auto;
                        height: 40%;
                        background: 
                            linear-gradient(
                                180deg, 
                                rgba(0, 0, 0, 0.00) 0%, 
                                rgba(0, 0, 0, 0.50) 100%
                            )
                        ;
                        z-index: 2;
                    }
                    &>img {
                        position: absolute;
                        top: 0;
                        left: 0;
                        width: 100%;
                        height: 100%;
                        object-fit: cover;
                    }
                }
                .docs {
                    padding-top: 20px;
                    box-sizing: border-box;

                    .toppage & {
                        color: $themetextcolor;
                        position: absolute;
                        bottom: 0;
                        left: 0;
                        right: 0;
                        margin: auto;
                        z-index: 5;
                        padding: 20px;
                        @include maxwidth(768) { padding: 20px 18px; }
                    }

                    .subpage & {
                        @include maxwidth(768) {
                            padding-top: 10px;
                        }
                    }

                    &>* { display: block; }
                    .terms {
                        color: $themetextcolor;
                        @include f_all(12);
                        font-weight: 600;
                        display: flex;
                        flex-wrap: wrap;
                        gap: 5px;
                        .term {
                            display: inline-flex;
                            align-items: center;
                            justify-content: center;
                            height: auto;
                            padding: 0 10px 1px;
                            box-sizing: border-box;
                            background-color: $accentcolor;
                            min-height: 22px;
                            border-radius: 2px;
                            position: relative;
                        }
                    }
                    .title {
                        @include f_all(16);
                        font-weight: 600;
                        line-height: 1.3;
                        margin-top: 0.5em;
                        @include maxwidth(768) { @include f_all(15); }
                    }
                }

                @media (hover:hover) {
                    .thumb {
                        overflow: hidden;
                        &>img {
                            transform: scale(1);
                            transition: transform .4s;
                        }
                    }
                    .thumb::before {
                        content: "";
                        @include absolute_centering;
                        z-index: 1;
                        background-color: rgba(#000, .30);
                        backdrop-filter: blur(3px);
                        -webkit-backdrop-filter: blur(3px);
                        opacity: 0;
                        transition: opacity .4s;
                    }
                    &:hover {
                        .thumb::before { opacity: 1; }
                        .thumb>img { transform: scale(1.15); }
                    }
                }

            }
        }
    }
}

#toppageRecruit {
    background-color: $accentcolor;
    padding: 60px;
    box-sizing: border-box;
    position: relative;
    @include maxwidth(768) {
        padding: 30px (8 / 375 * 100vw);
    }
    .shape {
        &1 {
            position: absolute;
            top: -2%;
            right: 0;
            z-index: 2;
            width: (350 / 1440 * 100vw);
            height: (355 / 1440 * 100vw);
            min-width: 350px;
            min-height: 355px;
            mix-blend-mode: screen;
            -webkit-mix-blend-mode: screen;
            overflow: hidden;
            @include maxwidth(768) {
                min-width: initial;
                min-height: initial;
                width: 236px;
                height: 240px;
                z-index: 7;
            }
            .shape-item {
                position: absolute;
                top: 0;
                right: -5%;
                @include maxwidth(768) { right: -10%; }
                width: 80%;
                height: 80%;
                background-color: rgba($accentcolor, .50);
                border-radius: 30% 70% 60% 40% / 30% 40% 60% 70%;
            }
        }
        &2 {
            position: absolute;
            bottom: 0;
            left: 0;
            z-index: 2;
            width: (463 / 1440 * 100vw);
            height: (505 / 1440 * 100vw);
            min-width: 463px;
            min-height: 505px;
            mix-blend-mode: screen;
            -webkit-mix-blend-mode: screen;
            overflow: hidden;
            @include maxwidth(768) {
                min-width: initial;
                min-height: initial;
                width: 238px;
                height: 260px;
            }
            .shape-item {
                position: absolute;
                bottom: -10%;
                left: -20%;
                width: 80%;
                height: 80%;
                background-color: rgba($accentcolor, .50);
                border-radius: 30% 70% 60% 40% / 30% 40% 60% 70%;
            }
        }
    }
    .c-heading {
        color: #FFA9A1;
        position: absolute;
        top: calc(40% + 60px);
        right: 60px;
        transform: translate(0,-50%);
        z-index: 10;
        @include maxwidth(768) {
            top: 60px;
            right: calc((8 / 375 * 100vw) + 5px);
            transform: translate(0,0);
        }
        .en {
            display: inline-block;
            width: 1em;
            writing-mode: vertical-rl;
        }
    }
    .container {
        padding: 80px 0 60px;
        box-sizing: border-box;
        position: relative;
        @include maxwidth(768) { padding: 0; }
        &__inner {
            color: $themetextcolor;
            position: relative;
            z-index: 5;
            .body {
                max-width: 1250px;
                width: 100%;
                margin: 0 auto;
                padding: 0 85px;
                box-sizing: border-box;
                position: relative;
                @include maxwidth(768) { display: contents; }
                .docs {
                    &,
                    &-container {
                        @media screen and (min-width: 769px) { display: contents; }
                        position: relative;
                    }
                    &-container {
                        padding: 140px 20px 65px;
                        box-sizing: border-box;
                        z-index: 1;
                    }
                    .leadtext {
                        @include f_all(24);
                        font-weight: 600;
                        line-height: 1.3;
                        text-align: center;
                        @include maxwidth(768) {
                            @include f_all(20);
                            line-height: 1.8;
                        }

                        br.sp {
                            @media screen and (min-width: 769px) { display: none; }
                        }

                        &.js-trigger {
                            @include charAnimate;
                        }
                    }
                    .text {
                        @include f_all(16);
                        font-weight: 600;
                        line-height: 2.3;
                        text-align: center;
                        margin-top: 22px;
                        @include maxwidth(768) {
                            @include f_all(15);
                            font-weight: 400;
                            line-height: 2;
                            margin-top: 10px;
                        }

                        br.pc {
                            @media screen and (max-width: 768px) { display: none; }
                        }

                        &.js-trigger {
                            @include inviewAnimate;
                        }
                    }
                    .bgimage {  }
                }
                .recruit-buttons {
                    display: flex;
                    flex-wrap: wrap;
                    gap: 20px;
                    margin-top: 48px;
                    @include maxwidth(1024) {
                        flex-direction: column;
                        gap: 10px;
                    }
                    @include maxwidth(768) { 
                        gap: 5px; 
                        margin-top: 5px;
                    }
                    &.js-trigger {
                        clip-path: inset(0 0 100% 0);
                        transition: clip-path 1500ms ease-out;
                        .recruit-button {
                            // clip-path: polygon(0 0, 0 0%, 0% 0);
                            // clip-path: polygon(80% 0, 80% 0, 20% 100%, 20% 100%);
                            // &:nth-of-type(2),
                            // &:nth-of-type(4) {
                            //     clip-path: polygon(20% 0, 20% 0, 80% 100%, 80% 100%);
                            // }
                        }
                        &.inview {
                            clip-path: inset(0% 0 0 0);
                            .recruit-button {
                                // clip-path: polygon(0 0, 0 200%, 200% 0);
                                // clip-path: polygon(-20% 0, 180% 0, 120% 100%, -80% 100%) !important;
                                // &:nth-of-type(2),
                                // &:nth-of-type(4) {
                                //     clip-path: polygon(-80% 0, 120% 0, 180% 100%, -20% 100%) !important;
                                // }
                                @for $i from 0 to 5 {
                                    &:nth-of-type(#{$i + 1}) {
                                        transition-delay: calc(#{$i} * 0.2s);
                                    }
                                }
                            }
                        }
                    }
                    .recruit-button {
                        --recruit-button-curtain-w: 105px;
                        --recruit-button-curtain-h: 60px;
                        flex-basis: calc(50% - 10px);
                        @media screen and (min-width: 1025px) {
                            &:first-of-type { 
                                flex-basis: 100%;
                                .recruit-button__link {
                                    &::before, &::after {
                                        width: calc(var(--recruit-button-curtain-w) * 1.5);
                                        height: calc(var(--recruit-button-curtain-h) * 1.5);
                                    }
    
                                }
                            }
                        }
                        &:nth-of-type(odd) .recruit-button__link {
                            &::before {
                                top: 0;
                                left: 0;
                                clip-path: polygon(100% 0, 0% 100%, 0 0);
                            }
                            &::after {
                                bottom: 0;
                                right: 0;
                                clip-path: polygon(100% 0, 0% 100%, 100% 100%);
                            }
                        }
                        &:nth-of-type(even) .recruit-button__link {
                            &::before {
                                left: 0;
                                bottom: 0;
                                clip-path: polygon(0 0, 0% 100%, 100% 100%);
                            }
                            &::after {
                                top: 0;
                                right: 0;
                                clip-path: polygon(0 0, 100% 0, 100% 100%);
                            }
                        }
                        &__link {
                            color: $themetextcolor;
                            @include flex_centering;
                            min-height: 185px;
                            padding: 30px 10px 10px;
                            box-sizing: border-box;
                            overflow: hidden;
                            position: relative;
                            @include maxwidth(768) {
                                min-height: 160px;
                            }
                            &::before, &::after {
                                content: '';
                                display: inline-block;
                                width: var(--recruit-button-curtain-w);
                                height: var(--recruit-button-curtain-h);
                                background-color: rgba($themecolor, .90);
                                position: absolute;
                                z-index: 1;
                            }
                            .title {
                                @include f_all(20);
                                @include maxwidth(768) { @include f_all(18); }
                                font-weight: 600;
                                display: inline-flex;
                                flex-direction: column;
                                align-items: center;
                                gap: 1em;
                                position: relative;
                                z-index: 5;
                                &::after{
                                    content: '';
                                    display: inline-block;
                                    width: 24px;
                                    height: 24px;
                                    border-radius: 9999px;
                                    background: url(../images/arrow-white.svg) no-repeat center/7px auto transparent;
                                    border: solid 1px;

                                    @media (hover: hover) {
                                        background-color: $basetextcolor;
                                        border-color: $basetextcolor;
                                        transition: all .4s;
                                    }
                                }
                            }
                            .image {
                                @include absolute_centering;
                                &::after{
                                    content: '';
                                    @include absolute_centering;
                                    background-color: rgba(#000, .60);
                                    @media (hover: hover) {
                                        background-color: rgba($themecolor, .90);
                                        transition: background .4s;
                                    }
                                }
                                &>img {
                                    width: 100%;
                                    height: 100%;
                                    object-fit: cover;
                                }
                            }

                            @media (hover: hover) { // ホバー可能のデバイス
                                &::before, &::after { 
                                    opacity: 0;
                                    transition: all .4s;
                                 }
                                &::before { transform: translate(-100%,0); }
                                &::after { transform: translate(100%,0); }

                                &:hover {
                                    &::before, &::after {
                                        opacity: 1;
                                        background-color: $accentcolor;
                                        transform: translate(0,0);
                                    }
                                    .title::after {
                                        background-color: transparent;
                                        border-color: currentColor;
                                    }
                                    .image::after { background-color: rgba(#000, .60); }
                                }
                            }

                        }
                    }
                }
            }
        }
        &>.bgimage { 
            @include maxwidth(768) { display: none; }
        }
        .bgimage {
            @include absolute_centering;
            &.sp {
                @media screen and (min-width: 769px) { display: none;}
            }
            &::after{
                content: '';
                @include absolute_centering;
                background-color: rgba(#000, .50);
                backdrop-filter: blur(5px);
                -webkit-backdrop-filter: blur(5px);
            }
            &>img {
                width: 100%;
                height: 100%;
                object-fit: cover;
            }
        }
    }
}

#toppageNewstopics {
    padding: 80px 0 60px;
    box-sizing: border-box;
    position: relative;
    @include maxwidth(768) { padding: 60px 0 50px; }
    .container {
        @mixin newsContainer {
            max-width: 1320px;
            width: 100%;
            margin: 0 auto;
            padding: 0 60px;
            box-sizing: border-box;
            @include maxwidth(768) { padding: 0 15px; }
        }
        .head {
            @include newsContainer();
            .c-heading {
                .ja { color: $themecolor; }
                @media screen and (min-width: 1025px) {
                    justify-content: space-between;
                    flex-direction: row-reverse;
                    .en {}
                    .ja { 
                        margin-top: 1.0em;
                    }
                }
                @include maxwidth(1024) {
                    align-items: flex-start;
                }
            }
        }
        .body {
            margin-top: 40px;
            @include maxwidth(768) { margin-top: 30px; }
            .newstopics-terms {
                @include newsContainer();
            }
            .newstopics-headline {
                @media screen and (min-width: 1025px) {
                    @include newsContainer();
                }
                margin-top: 20px !important;
                @include maxwidth(1024) {
                    padding: 0 60px;
                    box-sizing: border-box;
                }
                @include maxwidth(768) { padding: 0 15px; }
                .headline-items {
                    @media screen and (min-width: 1025px) {
                        display: flex;
                        flex-wrap: wrap;
                        gap: 75px;
                        .headline-item {
                            flex-basis: calc((100% - (75px * 2)) / 3);

                            &__link {  }
                        }
                    }
                    .headline-item {    
                        @include maxwidth(1024) { width: (100% / 2); }
                        @include maxwidth(768) { 
                            width: (100% / 1.08); 
                            max-width: 540px; 
                        }

                        &__link {  }
                    }
                }

                @include swiper_navigation();
                .headline-button {
                    &-prev, &-next {
                        top: 35%;
                        bottom: auto;

                        @media screen and (min-width: 1025px) { display: none !important; }
                    }
                }

                &.js-trigger[data-target] {
                    .headline-item {
                        clip-path: circle(20% at 50% 50%);
                        transition: clip-path 1000ms 300ms;
                    }
                    &.inview {
                        .headline-item {
                            clip-path: circle(100% at 50% 50%);
                        }
                    }
                }
            }
            .c-buttons {
                margin-top: 60px;
                @include maxwidth(768) { margin-top: 50px; }
            }
        }
    }
}

.newstopics-terms {
    position: relative;
    ul {
        display: flex;
        flex-wrap: wrap;
        gap: 5px;
        li {
            display: inline-block;
            height: auto;
            @include maxwidth(768) {
                flex-basis: calc((100% - 5px) / 2);
                &:first-of-type { flex-basis: 100%; }
            }
            a {
                color: $themecolor;
                @include f_all(14);
                font-weight: 600;
                @include flex_centering;
                padding: 0.5em 35px;
                box-sizing: border-box;
                min-width: 200px;
                min-height: 50px;
                height: 100%;
                background-color: $themecolor2;
                border-radius: 50px;
                position: relative;
                @include maxwidth(768) {
                    min-width: initial;
                    min-height: 45px;
                }

                &::before{
                    content: '';
                    display: inline-block;
                    width: 7px;
                    height: 12px;
                    background: url(../images/arrow-color.svg) no-repeat center/contain;
                    position: absolute;
                    top: 0;
                    bottom: 0;
                    left: 20px;
                    margin: auto;
                }

                &.current {
                    color: $themetextcolor;
                    background-color: $basetextcolor;
                    &::before {
                        background-image: url(../images/arrow-white.svg);
                    }
                }


                @include button_pointer();

            }
        }
    }
}

.newstopics-headline {
    position: relative;

    .subpage & { margin-top: 30px; }

    .headline-items {
        .subpage & {
            display: flex;
            flex-wrap: wrap;
            gap: 30px 15px;

            @include maxwidth(768) { gap: 0px; }

        }
        .headline-item {
            .subpage & {
                flex-basis: calc((100% - (15px * 2)) / 3);

                @include maxwidth(1200) { flex-basis: calc((100% - (15px * 1)) / 2); }

                @include maxwidth(768) { 
                    flex-basis: 100%; 
                    padding: 15px 2px;
                    box-sizing: border-box;
                    border-bottom: solid 1px rgba($themecolor, .90);
                }

            }
            &__link {
                &>* { display: block; }
                .thumb {
                    padding-top: (240 / 350 * 100%);
                    box-sizing: border-box;
                    position: relative;
                    @include maxwidth(768) { padding-top: (200 / 320 * 100%); }

                    .subpage & {    
                        @include maxwidth(768) { display: none; }
                    }

                    &>img {
                        position: absolute;
                        top: 0;
                        left: 0;
                        width: 100%;
                        height: 100%;
                        object-fit: cover;
                    }
                }
                .docs {
                    padding-top: 14px;
                    display: flex;
                    align-items: center;
                    flex-wrap: wrap;
                    gap: 8px 12px;
                    @include maxwidth(768) { padding-top: 10px; }
                    .subpage & {
                        @include maxwidth(768) { padding-top: 0; }
                    }
                    .date {
                        @include f_all(14);
                        font-weight: 600;
                        @include maxwidth(768) { @include f_all(13); }
                    }
                    .terms {
                        color: $themetextcolor;
                        @include f_all(12);
                        font-weight: 600;
                        display: flex;
                        align-items: center;
                        flex-wrap: wrap;
                        gap: 5px;
                        .term {
                            display: inline-flex;
                            align-items: center;
                            justify-content: center;
                            padding: 0 10px 1px;
                            box-sizing: border-box;
                            background-color: $themecolor;
                            min-height: 22px;
                            border-radius: 2px;
                            position: relative;
                        }
                    }
                    .title {
                        @include f_all(15);
                        font-weight: 600;
                        line-height: 1.2;
                        flex-basis: 100%;
                        @include maxwidth(768) { @include f_all(14); }
                    }
                }

                @media (hover:hover) {
                    .thumb {
                        overflow: hidden;
                        &>img {
                            transform: scale(1);
                            transition: transform .4s;
                        }
                    }
                    .docs {
                        .title {
                            &>span::after{
                                content: '';
                                display: inline-block;
                                width: 7px;
                                height: 12px;
                                background: url(../images/arrow-black.svg) no-repeat center/contain;
                                margin-left: 0.50em;
                                transform: 
                                    translate(0,0.05em)
                                    translate(-.5em,0)
                                ;
                                opacity: 0;
                                transition-property: transform opacity;
                                transition-duration: .4s;
                            }
                        }
                    }
                    &:hover {
                        .thumb > img { transform: scale(1.15); }
                        .docs {
                            .title {
                                &>span::after {
                                    transform: 
                                        translate(0,0.05em)
                                        translate(0,0)
                                    ;
                                    opacity: 1;
                                }
                            }
                        }
                    }
                }

            }
        }
    }
}

#toppageInstagram {
    padding: 50px 0;
    box-sizing: border-box;
    background-color: $themecolor;
    overflow: hidden;
    position: relative;
    @include maxwidth(768) { padding: 55px 0 63px; }
    .kame {
        --insta-kame-w: 65px;
        position: absolute;
        left: calc(var(--insta-kame-w) * -1);
        right: 0;
        bottom: -5px;
        &>img { 
            cursor: grab;
            width: var(--insta-kame-w); 
        }
    }
    .container {
        .head {
            .logo {
                @include flex_centering;
                &>img { width: 20px; }
            }
            .c-heading {
                position: absolute;
                top: 50%;
                left: (60 / 1440 * 100vw);
                transform: translate(0,-50%);
                @include maxwidth(1440) { left: 60px; }
                @include maxwidth(768) { 
                    position: static; 
                    transform: translate(0,0);
                }
                .en {  
                    @media screen and (min-width: 769px) {
                        display: inline-block;
                        width: 1em;
                        writing-mode: vertical-rl;
                    }
                }
            }
        }
        .body {
            max-width: 1380px;
            width: 100%;
            margin: 40px auto 0;
            padding: 0 140px;
            box-sizing: border-box;
            @include maxwidth(768) {
                max-width: 100%;
                width: auto;
                padding: 0 30px;
                margin-top: 25px;
            }
            .instagram-wrapper.js-trigger {
                @include inviewAnimate;
            }
            ul {
                display: flex;
                flex-wrap: wrap;
                gap: 10px;
                li {
                    flex-basis: calc((100% - (10px * 3)) / 4);
                    @include maxwidth(1024) {
                        flex-basis: calc((100% - (10px * 1)) / 2);
                    }
                }
            }
            .c-buttons {
                margin-top: 30px;
                @include maxwidth(768) { margin-top: 25px; }
                .c-button__link { background-color: $basetextcolor; }
            }
        }
    }
}

// === Subpage

body.subpage #content { position: relative; }

#subpageHeadingVisual {
    position: relative;
    .visual {
        height: var(--header-height);
        @include maxwidth(1024) { height: calc(var(--header-height) * 1.5); }
        &::after{
            content: '';
            @include absolute_centering;
            background-color: rgba(#000, .50);
        }
        &>img {
            width: 100%;
            height: 100%;
            object-fit: cover;
        }
    }
}

#subpageHeading {
    justify-content: flex-start;
    @media screen and (min-width: 1025px) {
        color: rgba($themecolor2, .50);
        position: absolute;
        top: 120px;
        left: (45 / 1440 * 100vw);
        bottom: 0;
        z-index: 5;
    }
    @include maxwidth(1024) { margin: 20px 0 30px; }
    .en {
        font-size: clamp(64px,(64 / 1440 * 100vw),120px);
        @include maxwidth(1024) { font-size: clamp(32px,(64 / 1024 * 100vw),64px); }
        position: sticky;
        top: 0.5em;
        .admin-bar & { top: calc(0.5em + 32px); }
        left: 0;
        @media screen and (min-width: 1025px) {
            display: inline-block;
            width: 1.2em;
            writing-mode: vertical-rl;
            white-space: nowrap;
        }
        
        &>small {
            @media screen and (min-width: 1025px) {
                display: inline-block;
                transform: translate(-0.15em,0);
                margin: 0.30em 0;
            }
        }
    }
}

#subpageTopicpath {
    padding-top: 80px;
    position: relative;
    color: $themecolor;
    @include f_all(16);
    font-weight: 600;
    @include maxwidth(1024) { padding-top: 40px; }
    @include maxwidth(768) { @include f_all(14); }
    .container {
        @include container(1080, 60);
        @include maxwidth(768) {
            margin-left: 15px;
            margin-right: 15px;
        }
        ul {
            li {
                display: inline-flex;
                align-items: center;
                &::after{
                    flex-shrink: 0;
                    content: '';
                    display: inline-block;
                    width: 7px;
                    height: 12px;
                    background: url(../images/arrow-color.svg) no-repeat center/contain;
                    margin: .15em .50em 0 .70em;
                }
                &:last-of-type::after { display: none; }
                a {  }
            }
        }
    }
}

#subpageContent {
    margin: 30px 0 60px;
    position: relative;
    .container {
        max-width: 1320px;
        width: 100%;
        margin: 0 auto;
        padding: 0 120px;
        box-sizing: border-box;
        @include maxwidth(1024) {
            max-width: 1200px;
            padding: 0 60px;
        }
        @include maxwidth(768) {
            max-width: 100%;
            width: auto;
            padding: 0 15px;
        }
        min-height: 300px;
    }

}

.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;
    }
}

div.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;
            }
        }
    }
}


// 商品紹介詳細ページ
#productSingleContent {
    &>*:not(:first-child) { 
        margin-top: 40px; 
        @include maxwidth(768) { margin-top: 20px; }
    }
    h3 {  }
    .product {
        &-cols {
            display: flex;
            flex-direction: row-reverse;
            // gap: 60px;
            gap: (60 / 1080 * 100%);
            @include maxwidth(768) {
                flex-direction: column-reverse;
                gap: 30px;
                &>* {
                    flex: none !important;
                    width: 100% !important;
                }
            }
        }
        &-col {

            &>* {
                @include f_all(14);
                line-height: 1.5;
            }

            .terms {
                @include f_all(12);
                font-weight: 600;
                display: flex;
                flex-wrap: wrap;
                gap: 5px;
                .term {
                    color: $themetextcolor;
                    display: inline-flex;
                    align-items: center;
                    justify-content: center;
                    padding: 0 10px 1px;
                    box-sizing: border-box;
                    background-color: $accentcolor;
                    min-height: 22px;
                    border-radius: 2px;
                    position: relative;
                }
            }

            .wp-block-buttons {
                .wp-block-button {
                    width: 100%;
                    &__link {
                        min-width: initial !important;
                        background-color: $accentcolor;
                    }
                }
            }

            &:nth-of-type(1) {
                flex-basis: 540px;
                &>*:not(:first-child) { 
                    margin-top: 25px; 
                    @include maxwidth(768) { margin-top: 15px; }
                }
            }
            &:nth-of-type(2) {
                flex-basis: 480px;
                width: 0;
            }

        }

        &-swiper {

            .swiper {
                &-wrapper {}
                &-slide {
                    &__inner {
                        display: block;
                        padding-top: (360 / 480 * 100%);
                        box-sizing: border-box;
                        position: relative;
                        &>img {
                            position: absolute;
                            top: 0;
                            left: 0;
                            width: 100%;
                            height: 100%;
                            object-fit: cover;
                        }
                    }
                }
            }

        }

        &-thumbs {
            margin-top: 10px;
            @include maxwidth(480) { margin-top: 5px; }
            &-wrapper { 
                display: flex;
                flex-wrap: wrap;
                gap: 10px;
                @include maxwidth(480) { gap: 5px; }
             }
        }
        &-thumb {
            cursor: pointer;
            flex-basis: calc((100% - (10px * 3)) / 4);
            @include maxwidth(480) { flex-basis: calc((100% - (5px * 3)) / 4); }
            // @include maxwidth(360) { flex-basis: calc((100% - (5px * 1)) / 2); }

            &::after{
             content: '';
             @include absolute_centering;
             background-color: rgba(#000, .60);
             backdrop-filter: blur(2px);
             -webkit-backdrop-filter: blur(2px);
             opacity: 0;
             transition: opacity .4s;
            }

            &>img {  }

            &.swiper-slide-thumb-active {
                &::after { opacity: 1; }
            }
        }
    }
}