// スタイルシート common

@charset "utf-8";

@import "mixin";

:root {
    --news-term-recruit: #ff543e;
    --news-term-store: #29a1a6;
    --news-term-notice: #3771c8;
}

html {
    scrollbar-gutter: stable;
}

body {
    @include root;
    position: relative;
    -webkit-text-size-adjust: none;
    text-size-adjust: none;
}

img,
video {
    max-width: 100%;
    height: auto;
}

:where(figure) {
    margin-bottom: 0px;
}

.default {
    @include contentdefault;
    @include eachcss;
}

br.pc {
    @include maxwidth(768) {
        display: none !important;
    }
}

br.sp {
    @media screen and (min-width: 769px) {
        display: none !important;
    }
}

// --- Compornent ---
#header {
    position: absolute;
    inset: 0 0 auto 0;
    z-index: 20;
    a {
        @media (any-hover: hover) {
            &:hover {
                opacity: .85;
            }
        }
    }
    .draw {
        display: none;
        position: absolute;
        z-index: -1;
        &.front {
            width: 400px;
            @include maxwidth(768) {
                width: 175px;
            }
            inset: 0 auto auto 0;
            body.toppage & {

            }
            path {
                stroke-dashoffset: 1000px;
                stroke-dasharray: 1100px;
                transition: stroke-dashoffset 800ms ease-out;
                body.loaded & {
                    stroke-dashoffset: 0px;
                }
            }
            svg.pc {
                @include maxwidth(768) {
                    display: none !important;
                }
            }
            svg.sp {
                @media screen and (min-width: 769px) {
                    display: none !important;
                }
            }
        }
        &.sub {
            width: 367px;
            @include maxwidth(1024) {
                width: (367 / 1024 * 100vw);
            }
            inset: 0 0 auto auto;
            body.subpage & {
                display: block;
            }
        }
    }
    .container {
        display: flex;
        align-items: flex-start;
        justify-content: space-between;
        gap: 20px;
        padding: 20px;
        box-sizing: border-box;
        @include maxwidth(768) {
            padding: 15px 15px 15px 0;
        }
        > * {
            position: relative;
            z-index: 21;
        }
        .l-left {
            flex-shrink: 0;
            flex-basis: 280px;
            @include maxwidth(768) {
                flex-basis: 150px;
            }
            .sitename {
            }
        }
        .l-right {
            .menu {
                @include f_all(15);
                font-weight: bold;
                line-height: 1.2;
                @include flex_centering;
                padding: 5px 5px 5px 50px;
                box-sizing: border-box;
                color: $basetextcolor;
                background-color: $themecolor2;
                body.toppage & {
                    color: $themetextcolor;
                    background-color: rgba(#000, 0.5);
                }
                border-radius: 50px;
                margin-top: 8px;
                min-height: 55px;
                @include maxwidth(1200) {
                    display: none !important;
                }
                > ul {
                    display: flex;
                    align-items: center;
                    flex-wrap: wrap;
                    gap: 10px 30px;
                    > li {
                        > a {
                            display: inline-flex;
                            align-items: center;
                            gap: 4px;
                            &.recruit {
                                @include f_all(14);
                                @include flex_centering;
                                gap: 5px;
                                min-width: 155px;
                                min-height: 45px;
                                color: $themetextcolor;
                                background-color: $themecolor;
                                border-radius: 50px;
                                padding: 10px 10px 12px 1rem;
                                box-sizing: border-box;
                                &::after {
                                    content: "";
                                    flex-shrink: 0;
                                    width: 14px;
                                    height: 14px;
                                    background: transparent
                                        url(../images/arrow-right-round.svg)
                                        center / contain no-repeat;
                                    margin-top: 0.15em;
                                }
                            }
                        }
                        > ul {
                            display: none;
                            position: absolute;
                            > li {
                                > a {
                                }
                            }
                        }
                    }
                }
                a.parent {
                    transition: color 250ms ease;
                    &::after {
                        content: "";
                        flex-shrink: 0;
                        display: block;
                        width: 14px;
                        height: 14px;
                        background: transparent
                            url(../images/arrow-bottom-round.svg) center /
                            contain no-repeat;
                        body.subpage & {
                            background-image: url(../images/arrow-bottom-round-b.svg);
                        }
                        margin-top: 0.15em;
                    }
                    &.act {
                        color: $themecolor;
                        &::after {
                            background-image: url(../images/x-round-color.svg) !important;
                        }
                    }
                }
                ul.children {
                    display: block;
                    position: absolute;
                    top: 105px;
                    right: 20px;
                    @include f_all(14);
                    display: flex;
                    align-items: center;
                    flex-wrap: wrap;
                    gap: 0.25em 1em;
                    width: 828px;
                    min-height: 55px;
                    color: $themetextcolor;
                    background-color: rgba($themecolor, 0.85);
                    box-sizing: border-box;
                    padding: 10px 5px 10px 40px;
                    border-radius: 5px;
                    opacity: 0;
                    visibility: hidden;
                    transform: translate(-15px, 0);
                    transition:
                        opacity 250ms ease,
                        visibility 250ms ease,
                        transform 250ms 250ms ease;
                    &.open {
                        transition:
                            opacity 250ms ease,
                            visibility 250ms ease,
                            transform 250ms ease;
                        opacity: 1;
                        visibility: visible;
                        transform: translate(0, 0);
                    }
                    li {
                        a {
                            display: inline-flex;
                            align-items: center;
                            gap: 0.5em;
                            padding: 0.45em 0.75em;
                            box-sizing: border-box;
                            transition: 250ms ease;
                            border-radius: 45px;
                            &::after {
                                content: "";
                                flex-shrink: 0;
                                display: block;
                                width: 14px;
                                height: 14px;
                                background: transparent
                                    url(../images/arrow-right-round.svg)
                                    center / contain no-repeat;
                            }
                            @media (any-hover: hover) {
                                &:hover {
                                    opacity: 1;
                                    background-color: rgba(
                                        $themetextcolor,
                                        0.15
                                    );
                                }
                            }
                        }
                    }
                }
            }
            .aside-menu {
                @media screen and (min-width: 1201px) {
                    display: none !important;
                }
                display: flex;
                align-items: center;
                gap: 4px;
                @include maxwidth(768) {
                    flex-direction: column;
                }
                a:not(.gnav-toggle) {
                    @include f_all(13);
                    font-weight: bold;
                    line-height: 1.2;
                    @include flex_centering;
                    gap: 8px;
                    color: $themetextcolor;
                    background-color: $themecolor;
                    min-width: 105px;
                    min-height: 45px;
                    border-radius: 50px;
                    position: relative;
                    &::after {
                        content: "";
                        flex-shrink: 0;
                        display: block;
                        width: 14px;
                        height: 14px;
                        background: transparent
                        url(../images/arrow-right-round.svg) center /
                        contain no-repeat;
                        margin-top: 0.15em;
                    }
                    @media (any-hover: hover) {
                        &:hover {
                            opacity: .85;
                        }
                    }
                }
                a {
                    transition: transform 250ms ease;
                    @media (any-hover: hover) and (min-width: 769px) {
                        &:hover {
                            transform: translate(0, -.25rem);
                        }
                    }
                }
            }
        }
    }
}

.header-children {
    @include maxwidth(1200) {
        display: none !important;
    }
    position: absolute;
    inset: 10px 10px auto 400px;
    @include maxwidth(1280) {
        inset: 10px 10px auto 10px;
    }
    z-index: 15;
    opacity: 0;
    visibility: hidden;
    transition:
        opacity 300ms ease,
        visibility 300ms ease;
    &.open {
        opacity: 1;
        visibility: visible;
        transition:
            opacity 300ms ease,
            visibility 300ms ease;
    }
    &__inner::before {
        transform: scale(0);
    }
    &.open &__inner::before {
        transform: scale(1);
    }
    &__inner {
        padding: 100px 20px 25px;
        @include maxwidth(1280) {
            padding-left: 320px;
        }
        box-sizing: border-box;
        position: relative;
        isolation: isolate;
        &::before {
            content: "";
            position: absolute;
            z-index: -1;
            background-color: $themetextcolor;
            inset: 0;
            background-color: rgba($basecolor, 0.45);
            backdrop-filter: blur(4px);
            border-radius: 10px;
            transform: scale(0);
            transform-origin: right top;
            transition: transform 300ms cubic-bezier(0.83, 0, 0.17, 1);
        }
    }
    .menu {
        .menu-item {
            opacity: 0;
            visibility: hidden;
            position: absolute;
            inset: 0 0 auto auto;
            pointer-events: none;
            &.active {
               opacity: 1;
               visibility: visible;
               position: static;
               inset: initial;
               pointer-events: auto;
               ul li {
                   opacity:1;
                   transform: translate(0,0);
                   @for $i from 0 to 10 {
                       &:nth-of-type(#{$i + 1}) {
                           transition-delay: #{$i * 0.1}s;
                       }
                   }
               }
            }
            ul {
                display: flex;
                justify-content: flex-end;
                gap: 10px;
                li {
                    flex-basis: 220px;
                    opacity: 0;
                    transform: translate(0,-1rem);
                    transition: 200ms;
                    a {
                        > :where(*) {
                            display: block;
                        }
                        @media (any-hover: hover) {
                            &:hover {
                                opacity: 1 !important;
                                .img > img {
                                    transform: scale(1.15);
                                }
                                .title::after {
                                    transform: translate(4px, 0);
                                }
                            }
                        }
                        .img {
                            aspect-ratio: 1.35 / 1;
                            border-radius: 10px;
                            overflow: hidden;
                            position: relative;
                            > img {
                                width: 100%;
                                height: 100%;
                                object-fit: cover;
                                transition: transform 250ms;
                            }
                        }
                        .title {
                            margin-top: 6px;
                            @include f_all(14);
                            font-weight: bold;
                            line-height: 1.2;
                            display: flex;
                            align-items: center;
                            padding-right: 25px;
                            box-sizing: border-box;
                            position: relative;
                            &::after {
                                content: "";
                                display: block;
                                width: 15px;
                                height: 15px;
                                background: transparent url(../images/arrow-right-round-themecolor.svg) center / contain no-repeat;
                                position: absolute;
                                inset: 0 5px 0 auto;
                                margin: auto;
                                transition: transform 250ms cubic-bezier(0.34, 1.56, 0.64, 1);
                            }

                            &:has(.s) {
                                align-items: flex-start;
                                flex-direction: column;
                            }
                            .s {
                                font-size: 0.85em;
                                font-weight: bold;
                                line-height: 1.4;
                            }
                        }
                    }
                }
            }
        }
    }
}

a.gnav-toggle {
    cursor: pointer;
    @include f_all(12);
    font-weight: 500;
    text-transform: uppercase;
    @include flex_centering;
    gap: 8px;
    min-width: 105px;
    min-height: 45px;
    border-radius: 50px;
    color: $themetextcolor;
    background-color: $basetextcolor;
    position: relative;
    transition: background-color 250ms ease;
    body.menu_open & {
        background-color: $themecolor;
    }
    @media (any-hover: hover) {
        &:hover {
            opacity: .85;
        }
    }
    .t {
        display: inline-block;
        position: relative;
        &::before, &::after {
            display: block;
            transition: transform 250ms ease, opacity 250ms ease;
        }
        &::before {
            content: "menu";
            display: block;
        }
        &::after {
            content: "close";
            display: block;
            position: absolute;
            inset: 0;
            opacity: 0;
            transform: translate(0,1em);
        }
        body.menu_open & {
            &::before {
                opacity: 0;
                transform: translate(0, -1em);
            }
            &::after {
                opacity: 1;
                transform: translate(0, 0);
            }
        }
    }
    .b {
        flex: 0 0 14px;
        position: relative;
        span {
            display: inline-block;
            width: 100%;
            height: 1px;
            position: absolute;
            inset: 0;
            background-color: $themetextcolor;
            transition:
                transform 250ms ease,
                opacity 250ms ease;
            &:nth-of-type(1) {
                transform: translate(0, -4px);
                body.menu_open & {
                    transform: translate(0, 0) rotate(45deg);
                }
            }
            &:nth-of-type(2) {
                transform: tranlsate(0, 0);
                body.menu_open & {
                    transform: translate(50%, 0);
                    opacity: 0;
                }
            }
            &:nth-of-type(3) {
                transform: translate(0, 4px);
                body.menu_open & {
                    transform: translate(0, 0) rotate(-45deg);
                }
            }
        }
    }
}

#gnavWrap {
    position: fixed;
    inset: 0;
    z-index: 100;
    pointer-events: none;

    &::before {
        content: "";
        display: block;
        position: absolute;
        inset: 0;
        background: #09090d;
        opacity: 0;
        transition: opacity 450ms ease-in;
    }

    body.menu_open & {
        pointer-events: auto;
        &::before { opacity: 1; }
    }
}

#gnav {
    position: fixed;
    inset: 0;

    .container {
        @include container(1024, 30);
        height: 100%;
        overflow-y: auto;
        -ms-overflow-style: none;
        scrollbar-width: none;
        &::-webkit-scrollbar { display: none; }
        // display: flex;
        padding-top: 90px;
        padding-bottom: 60px;
        align-items: center;
        box-sizing: border-box;

        @include maxwidth(768) {
            margin-left: 15px;
            margin-right: 15px;
            padding-top: 60px;
            padding-bottom: 80px;
        }

        &::before {
            content: "";
            position: absolute;
            left: 0;
            top: 0;
            bottom: 0px;
            width: 1px;
            background: rgba($themecolor, 0.55);
            opacity: 0;
            transform: scaleY(0.6);
            transition: opacity 600ms 250ms ease-out, transform 700ms 200ms cubic-bezier(0.16, 1, 0.3, 1);

            body.menu_open & {
                opacity: 1;
                transform: scaleY(1);
            }
        }
    }

    .gnav-menu {
        width: 100%;

        > ul {
            counter-reset: nav-counter;
            list-style: none;
            padding: 0;
            margin: 0;
        }

        // メインメニュー 各 li
        > ul > li {
            counter-increment: nav-counter;
            position: relative;
            clip-path: inset(0 100% 0 0);
            transition: clip-path 700ms cubic-bezier(0.83, 0, 0.17, 1);
            padding-left: 50px;
            @include maxwidth(1024) {
                padding-left: 40px;
            }
            @include maxwidth(768) {
                padding-left: 28px;
            }

            &:last-child { margin-top: 28px; }

            body.menu_open & { clip-path: inset(0 0% 0 0); }
            body.menu_open &:nth-child(1) { transition-delay:  80ms; }
            body.menu_open &:nth-child(2) { transition-delay: 155ms; }
            body.menu_open &:nth-child(3) { transition-delay: 230ms; }
            body.menu_open &:nth-child(4) { transition-delay: 305ms; }
            body.menu_open &:nth-child(5) { transition-delay: 380ms; }
            body.menu_open &:nth-child(6) { transition-delay: 455ms; }
            body.menu_open &:nth-child(7) { transition-delay: 530ms; }


            // 採用情報には番号不要
            &:last-child::before { display: none; }

            &:has(> a.parent.act) > a::before { transform: scaleX(0) !important; }
        }

        // メインリンク
        > ul > li > a {
            display: flex;
            align-items: center;
            padding: 14px 0;
            text-decoration: none;
            color: rgba($themetextcolor, 0.6);
            @include f_all(46);
            font-weight: 900;
            letter-spacing: -0.025em;
            line-height: 1;
            transition: color 200ms ease;

            @include maxwidth(1200) { @include f_all(38); }
            @include maxwidth(900)  { @include f_all(32); }
            @include maxwidth(768)  { @include f_all(28); padding: 12px 0; }
            @include maxwidth(480)  { @include f_all(24); }

            // ホバー下線スイープ（left → right）
            &::before {
                content: "";
                position: absolute;
                bottom: 6px;
                left: 0;
                width: 100%;
                height: 1px;
                background: rgba($themecolor, .55);
                transform: scaleX(0);
                transform-origin: left center;
                transition: transform 400ms cubic-bezier(0.16, 1, 0.3, 1);

                @include maxwidth(768) { bottom: 3px; }
            }

            @media (any-hover: hover) {
                &:hover {
                    color: $themetextcolor;
                    &::before { transform: scaleX(1); }
                }
            }

            // 採用情報ボタン
            &.recruit {
                @include f_all(14);
                font-weight: bold;
                letter-spacing: 0.06em;
                color: $themetextcolor;
                background: linear-gradient(90deg, $themecolor 0%, #e31830 100%);
                border-radius: 50px;
                display: inline-flex;
                align-items: center;
                padding: 0 24px;
                min-height: 50px;
                transition: opacity 250ms ease;

                &::before { display: none; }

                &::after {
                    content: "";
                    flex-shrink: 0;
                    display: block;
                    width: 14px;
                    height: 14px;
                    background: url(../images/arrow-right-round.svg) center/contain no-repeat;
                    margin-left: 10px;
                }

                @media (any-hover: hover) {
                    &:hover {
                        opacity: 0.85;
                        color: $themetextcolor;
                    }
                }
            }
        }

        // サブメニュー（事業紹介の子）
        > ul > li > ul {
            list-style: none;
            padding: 0px 0 8px;
            margin: 0;

            li { clip-path: none; transition: none; }
            li::before { display: none; }

            li > a {
                display: block;
                padding: 8px 0 8px 2em;
                @include f_all(16);
                font-weight: 500;
                line-height: 1.4;
                color: rgba($themetextcolor, 0.4);
                text-decoration: none;
                letter-spacing: 0.04em;
                position: relative;
                transition: color 250ms ease;

                &::before {
                    content: "—";
                    flex-shrink: 0;
                    color: $themecolor;
                    opacity: 0.6;
                    @include f_all(10);
                    position: absolute;
                    inset: 0 auto 0 1em;
                    margin: auto;
                    @include flex_centering;
                    transform: none;
                    letter-spacing: 0;
                    pointer-events: none;
                }

                @media (any-hover: hover) {
                    &:hover {
                        color: rgba($themetextcolor, 0.8);
                    }
                }
            }
        }

        // サブメニュー展開 (.parent / .children)
        a.parent {
            padding-right: 1em;

            &::after {
                content: "+";
                position: absolute;
                top: .55em;
                right: .5em;
                font-size: .75em;
                font-weight: 300;
                color: rgba($themetextcolor, .55);
                transition: transform 300ms ease, color 200ms ease;
                line-height: 1;
            }

            &.act {
                color: rgba($themetextcolor, 0.9);
                &::after {
                    transform: rotate(45deg);
                    color: $themecolor;
                }
            }
        }

        ul.children {
            max-height: 0;
            overflow: hidden;
            transition: max-height 350ms ease-out;
            &.open { max-height: 200px; }
        }
    }

    .gnav-menu__badge {
        @include f_all(9);
        font-weight: bold;
        color: $themetextcolor;
        background-color: rgba($themecolor, 0.7);
        border-radius: 20px;
        padding: 2px 8px;
        letter-spacing: 0.06em;
        margin-left: 10px;
        flex-shrink: 0;
        vertical-align: middle;
        position: relative;
        top: -0.1em;
    }
}

#bottombar {
    position: fixed;
    inset: 20px 20px auto auto;
    body.admin-bar & {
        inset: calc(20px + 32px) 20px auto auto;
    }
    z-index: 101;
    opacity: 0;
    visibility: hidden;
    transform: translate(50%, 0);
    transition:
        transform 250ms ease,
        opacity 250ms ease,
        visibility 250ms ease;
    @include maxwidth(768) {
        transform: translate(0, 50%);
        inset: auto 5px 5px 5px !important;
    }
    body.header_scrollout &,
    body.menu_open & {
        opacity: 1;
        visibility: visible;
        transform: translate(0, 0) !important;
    }
    ul {
        display: flex;
        flex-direction: column-reverse;
        @include maxwidth(768) {
            flex-direction: row;
        }
        gap: 5px;
        li {
            flex: 1;
            body.menu_open &:has(> a:not(.gnav-toggle)) {
                display: none !important;
            }
            a:not(.gnav-toggle) {
                color: $themetextcolor;
                @include f_all(13);
                line-height: 1.2;
                font-weight: bold;
                @include flex_centering;
                gap: 8px;
                min-width: 105px;
                @include maxwidth(768) {
                    min-width: initial;
                }
                min-height: 45px;
                border-radius: 50px;
                background-color: $themecolor;
                padding: 5px;
                box-sizing: border-box;
                &::after {
                    content: "";
                    flex-shrink: 0;
                    display: block;
                    width: 14px;
                    height: 14px;
                    background: transparent url(../images/arrow-right-round.svg)
                        center / contain no-repeat;
                    margin-top: 0.2em;
                }
                @media (any-hover: hover) {
                    &:hover {
                        opacity: .85;
                    }
                }
            }
        }
    }
}

#mainVisual {
    height: 100vh;
    height: 100svh;
    body.admin-bar & {
        height: calc(100vh - 32px);
        height: calc(100svh - 32px);
    }
    min-height: 600px;
    position: relative;
    /* &::before {
        content: "";
        pointer-events: none;
        display: block;
        position: absolute;
        height: 45vh;
        min-height: 165px;
        @include maxwidth(768) {
            height: 25vh;
        }
        inset: 0 0 auto 0;
        background: linear-gradient(
            180deg,
            rgba(0, 0, 0, 0.6) 0%,
            rgba(0, 0, 0, 0) 100%
        );
        z-index: 2;
    } */
    #videoContainer {
        height: 100%;
        position: relative;
        .poster {
            height: 100%;
            position: relative;
            & > img {
                width: 100%;
                height: 100%;
                object-fit: cover;
            }
            &::after {
                content: "";
                position: absolute;
                inset: 0;
                background: linear-gradient(
                    180deg,
                    rgba(0, 0, 0, 0.4) 0%,
                    rgba(0, 0, 0, 0) 100%
                );
            }
        }
        #webglSlide {
            height: 100%;
            position: relative;
            .webgl-slide__sources {
                height: 100%;
                img {
                    width: 100%;
                    height: 100%;
                    object-fit: cover;
                    &:not(:first-child) {
                        display: none;
                    }
                }
            }
        }
        .video {
            position: absolute;
            inset: 0;
            z-index: 1;
            video {
                width: 100%;
                height: 100%;
                object-fit: cover;
            }
            &::after {
                content: "";
                position: absolute;
                inset: 0;
                z-index: 1;
                background-image:
                    radial-gradient($basetextcolor 30%, transparent 31%),
                    radial-gradient($basetextcolor 30%, transparent 31%);
                background-size: 3px 3px;
                background-position:
                    0 0,
                    3px 3px;
            }
        }
    }
    .overlay {
        color: $themetextcolor;
        position: absolute;
        z-index: 10;
        inset: auto 0 100px 0;
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 15px;
        padding-left: (40 / 1440 * 100vw);
        padding-right: (40 / 1440 * 100vw);
        box-sizing: border-box;
        overflow: hidden;
        @include maxwidth(768) {
            inset: auto 0 115px 0;
            padding-left: 0;
            padding-right: 0;
            gap: 10px;
        }
        .text-en {
            /* color: rgba($themetextcolor, 0.95); */
            font-size: clamp(33px, (100 / 1440 * 100vw), 100px);
            /* font-size: clamp(34px, (80 / 1440 * 100vw), 80px); */
            max-width: 1800px;
            /* max-width: 1360px; */
            color: rgba($themetextcolor, 0.5);
            letter-spacing: -0.02em;
            width: 100%;
            display: flex;
            box-sizing: border-box;
            @include maxwidth(768) {
                font-weight: 500;
                padding: 0 calc(10 / 375 * 100vw);
            }
            @include maxwidth(360) {
                font-size: clamp(28px,(33 / 360 * 100vw),33px);
            }
            > span {
                display: inline-block;
                opacity: 0;
                transition:
                    opacity 550ms ease-out,
                    transform 550ms ease-out;
                transition:
                    opacity 800ms cubic-bezier(0.83, 0, 0.17, 1),
                    transform 800ms cubic-bezier(0.83, 0, 0.17, 1);
                body.loaded & {
                    opacity: 1 !important;
                    transform: translate(0, 0) !important;
                }
            }
            &.left {
                margin-bottom: 0.1em;

                > span {
                    transform: translate(50%, 0);
                }
            }
            &.right {
                justify-content: flex-end;

                > span {
                    transform: translate(-50%, 0);
                }
            }
        }
        .text {
            font-size: clamp(20px, (32 / 1200 * 100vw), 32px);
            font-weight: bold;
            line-height: 1.3;
            @include flex_centering;
            color: $themetextcolor;
            padding: 0 2px 2px .625em;
            box-sizing: border-box;
            min-height: 1.5625em;
            position: relative;
            z-index: 0;
            overflow: hidden;
            @include maxwidth(768) {
                width: 100%;
                padding-top: 0.5em;
                padding-bottom: 0.5em;
                min-height: 50px;
            }
            @include maxwidth(360) {
                font-size: clamp(16px,(20 / 360 * 100vw),20px);
            }
            &::before {
                content: "";
                position: absolute;
                z-index: -1;
                inset: 0;
                opacity: 0.9;
                background: linear-gradient(
                    0deg,
                    rgba(179, 13, 33, 0.9) 0%,
                    rgba(227, 24, 48, 0.81) 100%
                );
                transform: scaleX(0);
                transition: transform 400ms 200ms cubic-bezier(0.83, 0, 0.17, 1);
                body.loaded & {
                    transform: scaleX(1);
                }
            }
            > span {
                display: inline-block;
                transform: translate(0, 4em) rotateZ(15deg);
                transition: transform 400ms 500ms ease-out;

                body.loaded & {
                    transform: translate(0, 0) rotateZ(0deg);
                }
            }
        }
    }
    .scrolldown {
        color: $themetextcolor;
        text-transform: uppercase;
        position: absolute;
        inset: auto (80 / 1440 * 100vw) 25px auto;
        @include maxwidth(768) {
            inset: auto 15px 20px auto;
        }
        z-index: 10;
        a {
            @include f_all(14);
            font-weight: 500;
            @include maxwidth(768) {
                @include f_all(11);
                font-weight: bold;
            }
            display: inline-flex;
            align-items: center;
            gap: 4px;
            &::after {
                content: "";
                flex-shrink: 0;
                display: block;
                width: 14px;
                height: 14px;
                background: transparent url(../images/arrow-bottom-round.svg)
                    center / contain no-repeat;
                margin-top: 0.15em;
            }
            @media (any-hover: hover) {
                &:hover {
                    opacity: .85;
                }
            }
        }
    }
}

#contentFooter {
    #contentFooterContact {
        padding: 80px 0;
        box-sizing: border-box;
        position: relative;
        @include maxwidth(768) {
            padding: 60px 0 50px;
        }
        .bgimage {
            position: absolute;
            inset: 0;
            > img {
                width: 100%;
                height: 100%;
                object-fit: cover;
            }
            &::after {
                content: "";
                pointer-events: none;
                display: block;
                position: absolute;
                inset: 0;
                background-color: rgba(#000, 0.5);
                @include maxwidth(768) {
                    background-color: rgba(#000, 0.6);
                }
            }
        }
        .container {
            color: $themetextcolor;
            position: relative;
            .head {
                .c-heading {
                    align-items: center;
                    .ja {
                        @media screen and (min-width: 1201px) {
                            position: absolute;
                            inset: 0 auto auto (60 / 1440 * 100vw);
                        }
                        @include maxwidth(1200) {
                            padding: 7px 20px;
                        }
                        & > span {
                            @include maxwidth(1200) {
                                writing-mode: initial;
                                width: initial;
                                letter-spacing: 0;
                            }
                        }
                    }
                    .en {
                        color: currentColor;
                    }
                }
            }
            .body {
                margin: 30px 30px 0;
                @include maxwidth(768) {
                    margin-left: 15px;
                    margin-right: 15px;
                }
                .contact-buttons {
                    max-width: 850px;
                    width: 100%;
                    margin: 0 auto;
                    display: flex;
                    flex-wrap: wrap;
                    gap: 5px 10px;
                    .contact-button {
                        flex-basis: calc((100% - 10px) / 2);
                        &:first-of-type {
                            flex-basis: 100%;
                        }
                        @include maxwidth(1024) {
                            flex-basis: 100% !important;
                        }
                        &__link {
                            @include flex_centering;
                            color: $themetextcolor;
                            background-color: $themecolor;
                            min-height: 120px;
                            @include maxwidth(768) {
                                min-height: 100px;
                            }
                            .title {
                                @include f_all(18);
                                @include maxwidth(360) {
                                    @include f_all(16);
                                }
                                font-weight: bold;
                                display: inline-flex;
                                align-items: center;
                                flex-wrap: wrap;
                                &::after {
                                    content: "";
                                    display: block;
                                    width: 14px;
                                    height: 14px;
                                    background: transparent
                                        url(../images/arrow-right-round.svg)
                                        center / contain no-repeat;
                                    margin-top: 0.15em;
                                    margin-left: 6px;
                                }
                            }
                            &.tel {
                                flex-direction: column;
                                align-items: center;
                                gap: 8px;
                                @include maxwidth(768) {
                                    gap: 4px;
                                }
                                .text {
                                    @include f_all(14);
                                    @include maxwidth(768) {
                                        @include f_all(13);
                                    }
                                    font-weight: bold;
                                    text-align: center;
                                }
                                .num {
                                    @include f_all(28);
                                    font-weight: bold;
                                    padding-left: 23px;
                                    background: transparent
                                        url(../images/icon-phone-white.svg) left
                                        top 65% / 18px no-repeat;
                                }
                                .time {
                                    @include f_all(13);
                                    font-weight: bold;
                                    text-align: center;
                                }
                            }
                            &.form {
                                .title {
                                    padding-left: 23px;
                                    background: transparent
                                        url(../images/icon-mail-white.svg) left
                                        top 65% / 15px auto no-repeat;
                                }
                            }
                            @media (any-hover: hover) {
                                &:hover {
                                    opacity: .85;
                                }
                            }
                        }
                    }
                }
            }
        }
    }
}

#footer {
    color: $themetextcolor;
    background-color: $basetextcolor;
    padding: 50px 0 30px;
    box-sizing: border-box;
    position: relative;
    @include maxwidth(1200) {
        background: linear-gradient(180deg, #151922 0%, #000 100%);
    }
    @include maxwidth(768) {
        padding-bottom: 85px;
    }
    a {
        @media (any-hover: hover) {
            &:hover {
                opacity: .85;
            }
        }
    }
    .container {
        @include container(1280, 30);
        display: flex;
        flex-wrap: wrap;
        justify-content: space-between;
        gap: 40px 20px;
        @include maxwidth(1200) {
            flex-direction: column;
            justify-content: initial;
        }
        @include maxwidth(768) {
            margin-left: 15px;
            margin-right: 15px;
        }
        .l-left {
            .description {
                @include maxwidth(1200) {
                    text-align: center;
                }
                .sitename {
                    @include f_all(15);
                    font-weight: bold;
                    a {
                    }
                    img {
                        width: 180px;
                    }
                }
                .address {
                    @include f_all(14);
                    line-height: 1.5;
                    margin-top: 0.5em;
                    > *:not(:first-child) {
                        margin-top: 1em;
                    }
                }
                .sns-list {
                    margin-top: 15px;
                    display: flex;
                    align-items: center;
                    flex-wrap: wrap;
                    gap: 5px;
                    @include maxwidth(1200) {
                        justify-content: center;
                    }
                    li {
                        a {
                            @include flex_centering;
                            width: 40px;
                            height: 40px;
                            border-radius: 40px;
                            background-color: $themecolor;
                            transform: transalte(0, 0);
                            transition: transform 250ms ease;
                            @media (any-hover: hover) {
                                &:hover {
                                    transform: translate(0, -.30em);
                                }
                            }
                            > img {
                            }
                        }
                    }
                }
            }
        }
        .l-right {
            &__top {
                display: flex;
                gap: 20px 100px;
                flex-wrap: wrap;
                @include maxwidth(1200) {
                    flex-direction: column;
                }
            }
            .menu {
                @include f_all(14);
                font-weight: bold;
                line-height: 1.2;
                display: flex;
                flex-wrap: wrap;
                gap: 1rem 100px;
                @include maxwidth(1200) {
                    @include f_all(13);
                    font-weight: bold;
                    gap: 5px;
                    margin-top: 20px;
                }
                @include maxwidth(768) {
                    @include f_all(13);
                }
                .menu-item {
                    @include maxwidth(1200) {
                        flex-basis: calc((100% - 5px) / 2);
                    }
                    > ul {
                        > li {
                            &:not(:first-of-type) {
                                margin-top: 0.8em;
                                @include maxwidth(1200) {
                                    margin-top: 5px;
                                }
                            }
                            > a {
                            }
                            > ul {
                                line-height: 1.5;
                                margin-top: 0.8em;
                                @include maxwidth(1200) {
                                    margin-top: 5px;
                                }
                                > li {
                                    @include maxwidth(1200) {
                                        margin-top: 5px;
                                    }
                                    > a {
                                        display: inline-block;
                                        padding-left: 1em;
                                        box-sizing: border-box;
                                        position: relative;
                                        &::before {
                                            content: "";
                                            display: block;
                                            width: 5px;
                                            height: 5px;
                                            border-radius: 5px;
                                            background-color: currentColor;
                                            position: absolute;
                                            inset: 0.6em auto auto 0;
                                            @include maxwidth(1200) {
                                                width: 3px;
                                                height: 3px;
                                                border-radius: 3px;
                                                background-color: $themecolor;
                                                inset: 0 auto 0 5px;
                                                margin: auto;
                                            }
                                        }
                                    }
                                }
                            }
                        }
                    }
                    @include maxwidth(1200) {
                        a {
                            display: flex !important;
                            align-items: center;
                            padding: 0.5em 15px;
                            box-sizing: border-box;
                            color: $themetextcolor;
                            background-color: #000;
                            min-height: 40px;
                        }
                    }
                }
            }
            .banner-list {
                ul {
                    display: flex;
                    flex-direction: column;
                    gap: 10px;
                    @include maxwidth(1200) {
                        flex-direction: row;
                        justify-content: center;
                        gap: 5px;
                    }
                    li {
                        a {
                            > img {
                            }
                        }
                    }
                }
            }
            .aside-menu {
                @include f_all(14);
                font-weight: bold;
                line-height: 1.2;
                margin-top: 30px;
                @include maxwidth(1200) {
                    @include f_all(13);
                    line-height: 2;
                    margin-top: 25px;
                }
                ul {
                    display: flex;
                    align-items: center;
                    justify-content: flex-end;
                    flex-wrap: wrap;
                    gap: 2em;
                    @include maxwidth(1200) {
                        flex-direction: column;
                        align-items: flex-start;
                        justify-content: initial;
                        gap: 0px;
                    }
                    li {
                        a {
                        }
                    }
                }
            }
            .copyright {
                text-align: right;
                line-height: 1.2;
                margin-top: 20px;
                @include maxwidth(1200) {
                    text-align: left;
                }
                small {
                    @include f_all(14);
                    @include maxwidth(768) {
                        @include f_all(12);
                    }
                }
            }
        }
    }
}

.c-heading {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
    .ja {
        font-size: clamp(24px, (32 / 1200 * 100vw), 32px);
        font-weight: bold;
        line-height: 1.2;
        @include flex_centering;
        color: $themetextcolor;
        background: linear-gradient(
            180deg,
            $themecolor 0%,
            rgba(227, 24, 48, 0.9) 100%
        );
        padding: 20px 7px;
        box-sizing: border-box;
        min-height: 50px;
        @include maxwidth(768) {
            padding-left: 10px;
            padding-right: 10px;
            min-height: 45px;
        }
        > span {
            display: inline-block;
            width: 1.2em;
            writing-mode: vertical-rl;
            letter-spacing: 0.2em;
            white-space: nowrap;
        }
    }
    .en {
        color: $themecolor;
        text-transform: uppercase;
        @include f_all(15);
        font-weight: 500;
        @include maxwidth(768) {
            @include f_all(13);
        }
    }
}

.c-buttons {
    @include flex_centering;
    flex-wrap: wrap;
    gap: 8px;
    @include maxwidth(768) {
        gap: 5px;
    }

    &.l-page-bottom-buttons {
        justify-content: flex-start;
        margin-top: 90px;
        @include maxwidth(768) {
        }
        .c-button {
            width: 100%;
            flex-basis: calc((100% - (10px * 2)) / 3);
            @include maxwidth(1024) {
                flex-basis: calc((100% - 10px) / 2);
            }
            @include maxwidth(480) {
                flex-basis: 100%;
            }
            &:first-of-type:last-of-type,
            &:last-of-type {
                flex-basis: 100%;
            }
            &__link {
                min-width: initial;
                &:has(> .s) {
                    align-items: flex-start;
                    justify-content: center;
                    flex-direction: column;
                }
                .s {
                    display: inline-block;
                    font-size: 0.75em;
                    margin-top: 0.25em;
                }
            }
        }

        &.button-width-100per {
            .c-button {
                flex-basis: 100% !important;
             }
        }
    }
}

.c-button {
    @include commonButton;

    &__link {
        &.presence {
            border: 1px solid rgba(255, 255, 255, 0.9);
            background: linear-gradient(90deg, $themecolor 0%, #e31830 100%);
        }
    }
}

.term-list {
    --news-terms-between: 10px;
    @include maxwidth(768) {
        --news-terms-between: 5px;
    }
    position: relative;
    margin-bottom: 30px;
    body.toppage & {
        margin-bottom: 15px;
        @include maxwidth(768) {
            margin-bottom: 35px;
        }
    }
    ul {
        display: flex;
        flex-wrap: wrap;
        gap: var(--news-terms-between);
        li {
            @include f_all(18);
            font-weight: 500;
            line-height: 1.4;
            @include maxwidth(1024) {
                flex-basis: calc((100% - var(--news-terms-between)) / 2);
            }
            @include maxwidth(768) {
                @include f_all(14);
            }
            a {
                @include flex_centering;
                min-width: 230px;
                min-height: 52px;
                color: $basetextcolor;
                background-color: $themecolor2;
                border-radius: 160px;
                padding: 0.5em 35px 0.5em calc(35px + 4px);
                box-sizing: border-box;
                position: relative;
                @include maxwidth(1024) {
                    min-width: initial;
                }
                @include maxwidth(768) {
                    padding-left: 25px;
                    padding-right: 20px;
                    min-height: 45px;
                }

                &::before {
                    content: "";
                    display: block;
                    width: 5px;
                    height: 5px;
                    border-radius: 5px;
                    background-color: currentColor;
                    position: absolute;
                    inset: 0 auto 0 25px;
                    @include maxwidth(768) {
                        inset: 0 auto 0 15px;
                    }
                    margin: auto;
                }

                &.current {
                    color: $themetextcolor;
                    background-color: $themecolor;
                }

                @media (any-hover: hover) {
                    &:hover {
                        opacity: .85;
                    }
                }

            }
        }
    }
}

.information-headline {
    color: $basetextcolor;
    position: relative;
    .headline-items {
    }
    .headline-item {
        &:not(:first-of-type) {
            margin-top: 10px;
            @include maxwidth(768) {
                margin-top: 5px;
            }
        }
        &__link {
            display: flex;
            align-items: center;
            flex-wrap: wrap;
            padding: 30px 50px;
            box-sizing: border-box;
            background-color: $themecolor2;
            border-radius: 10px;
            position: relative;
            @include maxwidth(768) {
                padding: 20px 46px 24px 20px;
            }
            .date {
                @include f_all(18);
                font-weight: bold;
                margin-right: 0.9em;
                @include maxwidth(768) {
                    @include f_all(15);
                }
            }
            .terms {
                @include f_all(15);
                font-weight: 500;
                display: flex;
                align-items: center;
                flex-wrap: wrap;
                gap: 10px 15px;
                @include maxwidth(768) {
                    @include f_all(13);
                }
                .term {
                    display: inline-flex;
                    align-items: center;
                    justify-content: center;
                    padding: 0 15px 1px;
                    box-sizing: border-box;
                    min-height: 25px;
                    color: $themetextcolor;
                    background-color: $basetextcolor;
                    border-radius: 160px;
                    @include maxwidth(768) {
                        padding-left: 10px;
                        padding-right: 10px;
                        min-height: 20px;
                    }

                    &.recruit {
                        background-color: var(--news-term-recruit);
                    }
                    &.store-info {
                        background-color: var(--news-term-store);
                    }
                    &.news {
                        background-color: var(--news-term-notice);
                    }

                    &.tag {
                        all: unset;
                        color: var(--news-term-store);
                        @include f_all(17);
                        @include maxwidth(768) {
                            @include f_all(13);
                        }
                        font-weight: 500;
                        &::before {
                            content: "#";
                            margin-right: 0.1em;
                        }
                    }
                }
            }
            .title {
                flex-basis: 100%;
                @include f_all(20);
                font-weight: bold;
                line-height: 1.5;
                margin-top: 5px;
                @include maxwidth(768) {
                    @include f_all(15);
                }
            }
            &::after {
                content: "";
                display: block;
                width: 15px;
                height: 15px;
                background: transparent
                    url(../images/arrow-right-round-themecolor.svg) center /
                    contain no-repeat;
                position: absolute;
                inset: 0 32px 0 auto;
                margin: auto;
                @include maxwidth(768) {
                    inset: 25% 20px 0 auto;
                }
            }

            @media (any-hover: hover) {
                &:hover {
                    opacity: .85;
                }
            }

        }
    }
}

.store-information {
    position: relative;
    .headline-item {
        &:not(:first-of-type) {
            margin-top: 60px;
        }
        > *:not(:first-child) {
            margin-top: 40px;
        }

        .store-title {
        }

        .cols {
            display: flex;
            gap: 25px;
        @include maxwidth(1024) {
            flex-direction: column;
            gap: 20px;
            .col {
                flex: none !important;
            }
        }
            .col {
                > *:not(:first-child) {
                    margin-top: 15px;
                }
                &:nth-of-type(1) {
                    flex-basis: 410px;
                }
                &:nth-of-type(2) {
                    flex-grow: 1;
                }
            }
        }

        .store-img {
            aspect-ratio: 410 / 350;
            @include maxwidth(1024) {
                aspect-ratio: 410 / 270;
            }
            > img {
                width: 100%;
                height: 100%;
                object-fit: cover;
            }
        }

        .store-table {
            @include f_all(15);
            font-weight: 500;
            line-height: 1.5;
            position: relative;
            table {
                width: 100%;
                tr {
                    &:not(:first-child) {
                        border-top: solid 1px $basecolor;
                        @include maxwidth(768) {
                            border-width: 4px;
                        }
                    }
                }
                td {
                    padding: 20px 30px;
                    box-sizing: border-box;
                    background-color: #f5f5f5;
                    @include maxwidth(768) {
                        padding: 10px 1em;
                    }
                    &:first-of-type {
                        width: 180px;
                        @include maxwidth(768) {
                            width: 160px;
                        }
                        font-weight: bold;
                        color: $themetextcolor;
                        background-color: $basetextcolor;
                    }
                }
                @include maxwidth(768) {
                    *, td {
                        display: block !important;
                        width: 100% !important;
                    }
                }
            }
        }

        .store-buttons {
            .c-button {
                flex-basis: calc((100% - 8px) / 2);
                @include maxwidth(768) {
                    flex-basis: 100%;
                }
                &__link {
                    min-width: initial;
                }
            }
        }
    }
}

// .store-headline {
.storeinformation-headline {
    --store-headline-between: 25px;
    @include maxwidth(1024) {
        --store-headline-between: 15px;
    }
    display: flex;
    flex-wrap: wrap;
    gap: 40px var(--store-headline-between);
    position: relative;
    .headline-item {
        flex-basis: calc((100% - (var(--store-headline-between) * 2)) / 3);
        @include maxwidth(1024) {
            flex-basis: calc((100% - var(--store-headline-between)) / 2);
        }
        @include maxwidth(420) {
            flex-basis: 100%;
        }
        &__link {
            text-decoration: none;
            display: flex;
            flex-direction: column;
            justify-content: space-between;
            height: 100%;
            > * { display: block; width: 100%; }
            @media (any-hover: hover) {
                &:hover {
                    .img > img {
                        transform: scale(1.15);
                    }
                }
            }
            @media (any-hover: hover) and (min-width: 769px) {
                &:hover {
                    .c-button__link {
                        border-radius: 50px;
                        background: linear-gradient(90deg, $themecolor 0%, rgba(227, 24, 48, 0.90) 100%);

                        &::before {
                            background-image: url(../images/arrow-right-white.svg);
                            inset: 0 35px 0 auto;
                        }
                        &::after {
                            width: 60px;
                            height: 60px;
                            border-radius: 60px;
                            inset: 0 10px 0 auto;
                            background-color: rgba(227, 24, 48, 0.90);
                            box-shadow: 0 0 5px 0 rgba(0, 0, 0, 0.50) inset;
                            mix-blend-mode: multiply;
                        }
                    }

                }
            }
            .img {
                // aspect-ratio: 410 / 280;
                padding-top: (280 / 410 * 100%);
                box-sizing: border-box;
                overflow: hidden;
                position: relative;
                > img {
                    position: absolute;
                    inset: 0 auto auto 0;
                    width: 100%;
                    height: 100%;
                    object-fit: cover;
                    transition: transform 300ms ease-out;
                }
                .terms {
                    position: absolute;
                    z-index: 1;
                    inset: 10px auto auto 10px;
                    display: flex;
                    align-items: center;
                    flex-wrap: wrap;
                    gap: 0.5em;
                    .term {
                        @include f_all(13);
                        font-weight: bold;
                        line-height: 1;
                        display: inline-flex;
                        align-items: center;
                        justify-content: center;
                        padding: 0 10px 1px;
                        box-sizing: border-box;
                        border-radius: 25px;
                        color: $themecolor;
                        background-color: $themetextcolor;
                        min-height: 25px;
                        &::before {
                            content: "#";
                            margin-right: 0.15em;
                        }
                    }
                }
            }
            .docs {
                padding-top: 14px;
                .title {
                    @include f_all(18);
                    @include maxwidth(768) {
                        @include f_all(16);
                    }
                    font-weight: bold;
                    line-height: 1.2;
                }
                .c-buttons {
                    flex-direction: column;
                    gap: 4px;
                    margin-top: 18px;
                }
                .c-button {
                    width: 100%;
                    &__link {
                        min-width: initial;
                    }
                }
            }
        }
    }
}

// --- Frontpage ---

#toppageAboutus {
    padding: (200 / 1440 * 100vw) 0 (400 / 1440 * 100vw);
    @include maxwidth(768) {
        padding: 400px 0 260px;
    }
    position: relative;
    z-index: 5;
    .draw {
        position: absolute;
        z-index: -1;
        inset: (280 / 1440 * 100vw * -1) 0 auto 0;
        @include maxwidth(768) {
            inset: (115 / 375 * -100vw) 0 auto 0;
        }
        width: 100%;
        svg {
            &.pc {
                @include maxwidth(768) {
                    display: none;
                }
            }
            &.sp {
                @media screen and (min-width: 769px) {
                    display: none;
                }
            }
            mask {
                rect {
                    fill: $themecolor;
                }
            }
        }
    }
    .draw-wrapper {
        position: absolute;
        inset: 0;
        z-index: -1;
        overflow: hidden;
        .draw1 {
            position: absolute;
            inset: auto 0 (1480 / 1440 * 100vw * -1) 0;
            @include maxwidth(768) {
                inset: auto 0 (470 / 375 * 100vw * -1) 0;
            }
            svg {
                &.pc {
                    @include maxwidth(768) {
                        display: none;
                    }
                }
                &.sp {
                    @media screen and (min-width: 769px) {
                        display: none;
                    }
                }
            }
        }
    }
    .container {
        .head {
            max-width: 750px;
            width: 100%;
            margin-left: auto;
            margin-right: auto;
            display: flex;
            flex-direction: column;
            gap: 18px;
            @include maxwidth(1024) {
                max-width: initial;
                width: auto;
                margin-left: (137 / 1024 * 100vw);
                margin-right: (137 / 1024 * 100vw);
            }
            @include maxwidth(768) {
                align-items: flex-end;
                gap: 10px;
                margin-left: (44 / 375 * 100vw);
                margin-right: (44 / 375 * 100vw);
            }
            .c-heading {
                .ja {
                    position: absolute;
                    inset: 115px auto auto (73 / 1440 * 100vw);
                    z-index: 5;
                    @include maxwidth(768) {
                        inset: 50px auto auto (15 / 375 * 100vw);
                    }
                    > span {
                    }
                }
                .en {
                    padding: 2px 4px;
                    box-sizing: border-box;
                    background-color: $themetextcolor;
                    position: relative;
                    z-index: 1;
                    margin-left: 0.75em;
                    @include maxwidth(768) {
                        margin-left: 0;
                        margin-right: 0.35em;
                    }
                }
            }
            .leadtext {
                color: $themecolor;
                @include f_all(32);
                font-weight: bold;
                display: flex;
                align-items: flex-start;
                justify-content: flex-end;
                flex-direction: row-reverse;
                gap: 14px;
                position: relative;
                z-index: 1;
                @include maxwidth(768) {
                    @include f_all(24);
                    gap: 2px;
                }
                .char {
                    padding: 20px 7px 0;
                    box-sizing: border-box;
                    background-color: $themetextcolor;
                    @include maxwidth(768) {
                        padding-top: 15px;
                        background-color: rgba($themetextcolor, 0.95);
                    }
                    > span {
                        display: inline-block;
                        width: 1em;
                        letter-spacing: 0.3rem;
                        writing-mode: vertical-rl;
                        white-space: nowrap;
                    }

                    &.js-target {
                        clip-path: inset(0% 0% 100% 0%);
                        transition: clip-path 800ms cubic-bezier(0.83, 0, 0.17, 1);
                        @for $i from 0 to 2 {
                            &:nth-of-type(#{$i + 1}) {
                                transition-delay: #{$i * 0.35}s;
                            }
                        }
                        &.is-active {
                            clip-path: inset(0% 0% 0% 0%);
                        }
                    }
                }
            }
        }
        .body {
            margin-top: (240 / 1440 * 100vw);
            @include maxwidth(768) {
                margin-top: (34 / 375 * 100vw);
            }
            .round-images {
                pointer-events: none;
                position: absolute;
                inset: 0;
                overflow: hidden;
                .image {
                    position: absolute;
                    z-index: 0;
                    &::before {
                        content: "";
                        position: absolute;
                        inset: 0;
                        background-color: $themecolor;
                        clip-path: circle(50% at 50% 50%);
                        z-index: -1;
                    }
                    &.image1 {
                        --round-image1: 800px;
                        @include maxwidth(1200) {
                            --round-image1: (800 / 1200 * 100vw);
                        }
                        @include maxwidth(768) {
                            --round-image1: 380px;
                        }
                        @include maxwidth(375) {
                            --round-image1: (380 / 375 * 100vw);
                        }
                        width: var(--round-image1);
                        height: var(--round-image1);
                        inset: 7% -67px auto auto;
                        @include maxwidth(1200) {
                            inset: 7% (67 / 1200 * -100vw) auto auto;
                        }
                        @include maxwidth(768) {
                            inset: 100px -20px auto auto;
                        }
                        &.js-target {
                            &.is-active {
                                img {
                                    transform: translate(76px, 40px);
                                    @include maxwidth(1200) {
                                        transform: translate(
                                            (76 / 1200 * 100vw),
                                            (40 / 1200 * 100vw)
                                        );
                                    }
                                    @include maxwidth(768) {
                                        transform: translate(36px, 20px);
                                    }
                                }
                            }
                        }
                    }
                    &.image2 {
                        --round-image2: 488px;
                        @include maxwidth(1200) {
                            --round-image2: (488 / 1200 * 100vw);
                        }
                        @include maxwidth(768) {
                            --round-image2: 250px;
                        }
                        @include maxwidth(375) {
                            --round-image2: (250 / 375 * 100vw);
                        }
                        width: var(--round-image2);
                        height: var(--round-image2);
                        inset: auto auto 28% -120px;
                        @include maxwidth(1200) {
                            inset: auto auto 28% (120 / 1200 * -100vw);
                        }
                        @include maxwidth(768) {
                            inset: 540px auto auto -30px;
                        }
                        &.js-target {
                            &.is-active {
                                img {
                                    transform: translate(0, 26px);
                                    @include maxwidth(1200) {
                                        transform: translate(
                                            0,
                                            (26 / 1200 * 100vw)
                                        );
                                    }
                                    @include maxwidth(768) {
                                        transform: translate(0, 20px);
                                    }
                                }
                            }
                        }
                    }
                    &.image3 {
                        --round-image3: 488px;
                        @include maxwidth(1200) {
                            --round-image3: (488 / 1200 * 100vw);
                        }
                        @include maxwidth(768) {
                            --round-image3: 250px;
                        }
                        @include maxwidth(375) {
                            --round-image3: (250 / 375 * 100vw);
                        }
                        width: var(--round-image3);
                        height: var(--round-image3);
                        inset: auto -125px 7% auto;
                        @include maxwidth(1200) {
                            inset: auto (125 / 1200 * -100vw) 7% auto;
                        }
                        @include maxwidth(1200) {
                            inset: auto 0 20px auto;
                        }
                        &.js-target {
                            &.is-active {
                                img {
                                    transform: translate(0, -35px);
                                    @include maxwidth(1200) {
                                        transform: translate(
                                            0,
                                            (35 / 1200 * -100vw)
                                        );
                                    }
                                    @include maxwidth(768) {
                                        transform: translate(0, -20px);
                                    }
                                }
                            }
                        }
                    }
                    > img {
                        width: 100%;
                        height: 100%;
                        object-fit: cover;
                        border-radius: 50%;
                        transition: transform 800ms 50ms cubic-bezier(0.83, 0, 0.17, 1);
                    }
                }
            }

            &__inner {
                perspective: 800px;
                margin-left: 30px;
                margin-right: 30px;
                @include maxwidth(768) {
                    margin-left: 15px;
                    margin-right: 15px;
                }
            }

            .text {
                text-align: center;
                @include f_all(24);
                @include maxwidth(768) {
                    @include f_all(16);
                }
                font-weight: bold;
                line-height: 1.8;
                > *:not(:first-of-type) {
                    margin-top: 3.33333em;
                    @include maxwidth(768) {
                        margin-top: 2.8125em;
                    }
                }

                > p {
                    > span {
                        display: block;
                    }
                }
            }
            .c-buttons {
                margin-top: 80px;
                @include maxwidth(768) {
                    margin-top: 60px;
                }
            }
            .c-button {
                &__link {
                }
            }
        }
    }
}

#toppageService {
    position: relative;
    z-index: 1;
    .sticky-wrapper {
        position: relative;
        .c-heading {
            pointer-events: none;
            position: sticky;
            inset: 0 auto auto 0;
            z-index: 10;
            height: 100vh;
            .ja {
                position: absolute;
                inset: 12vh auto auto (60 / 1440 * 100vw);
                @include maxwidth(1024) {
                    inset: 60px auto auto (15 / 375 * 100vw);
                }
            }
        }
        .sticky-content {
            position: sticky;
            inset: 0 auto auto 0;
            height: 100vh;
            margin-top: -100vh;
            .draw {
                pointer-events: none;
                position: absolute;
                inset: (52 / 1440 * 100vw * -1) 0 auto 0;
                @include maxwidth(768) {
                    inset: (177 / 375 * 100vw * -1) 0 auto 0;
                }
                z-index: 1;
                width: 100%;
                svg {
                    &.pc {
                        @include maxwidth(768) {
                            display: none;
                        }
                    }
                    &.sp {
                        @media screen and (min-width: 769px) {
                            display: none;
                        }
                    }
                }
            }
            .bgimages {
                position: absolute;
                inset: 0;
                &::after {
                    content: "";
                    position: absolute;
                    inset: 0;
                    background-color: rgba(#000, 0.25);
                    backdrop-filter: blur(4px);
                }
                .image {
                    position: absolute;
                    inset: 0;
                    > img {
                        width: 100%;
                        height: 100%;
                        object-fit: cover;
                    }
                }
            }
        }
        .container {
            margin-top: -100vh;
            margin: -100vh (80 / 1440 * 100vw) 0;
            padding: 40px 0 0;
            box-sizing: border-box;
            position: relative;
            z-index: 2;
            @include maxwidth(1280) {
                margin-left: 30px;
                margin-right: 30px;
            }
            @include maxwidth(1024) {
                margin: -100vh 0 0 (30 / 375 * 100vw);
                padding: 90px 0 0;
            }
            .cols {
                display: flex;
                gap: 10px;
                @include maxwidth(1024) {
                    display: contents;
                }
                .col {
                    box-sizing: border-box;
                    &:nth-of-type(1) {
                        flex: 622px;
                        padding: 8vh 7.5%;
                        position: relative;
                        z-index: 0;
                        margin: 40px 0 40px (70 / 1440 * 100vw);
                        @include maxwidth(1024) {
                            display: contents;
                        }
                        &::before {
                            content: "";
                            position: absolute;
                            z-index: -1;
                            inset: 0;
                            background-color: rgba($basecolor, 0.9);
                            backdrop-filter: blur(5px);
                            border-radius: 10px;
                            @include maxwidth(1024) {
                                display: none;
                            }
                        }
                    }
                    &:nth-of-type(2) {
                        flex: 578px;
                        @include maxwidth(1024) {
                            display: none !important;
                        }
                    }
                }
            }
            .service-item {
                min-height: 70vh;
                display: flex;
                flex-direction: column;
                @include maxwidth(1024) {
                    padding: 45px (15 / 375 * 100vw) 40px 50px;
                    box-sizing: border-box;
                    position: relative;
                    z-index: 0;
                    &::before {
                        content: "";
                        display: block;
                        position: absolute;
                        inset: 0;
                        z-index: -1;
                        border-radius: 10px 0 0 10px;
                        background: rgba(255, 255, 255, 0.9);
                        backdrop-filter: blur(5px);
                    }
                }

                &:not(:first-of-type) {
                    margin-top: 100px;
                    @include maxwidth(768) {
                        margin-top: 40px;
                    }
                }

                &.js-target {
                    .title {
                        .char {
                            color: mix($basetextcolor, $themetextcolor, 0.25);
                            transition: color 250ms calc((var(--i) * 0.06) * 1s);
                        }
                        .supplement {
                            clip-path: inset(0 100% 0 0);
                            transition: clip-path 800ms cubic-bezier(0.83, 0, 0.17, 1);
                        }
                        .en {
                            clip-path: inset(0 100% 0 0);
                            transition: clip-path 800ms cubic-bezier(0.83, 0, 0.17, 1);
                        }
                    }
                    &.is-active {
                        .title {
                            .char {
                                color: $basetextcolor;
                            }
                            .supplement {
                                clip-path: inset(0 0% 0 0);
                            }
                            .en {
                                clip-path: inset(0 0% 0 0);
                            }
                        }
                    }
                }

                > * {
                    width: 100%;
                }
                .title {
                    display: flex;
                    flex-direction: column;
                    align-items: flex-start;
                    .idx {
                        color: $themecolor;
                        @include f_all(14);
                        font-weight: 500;
                        text-transform: uppercase;
                        @include maxwidth(768) {
                            @include f_all(13);
                        }
                        .num {
                            display: block;
                            @include f_all(36);
                            margin-top: 8px;
                            @include maxwidth(768) {
                                @include f_all(28);
                            }
                        }
                    }
                    .ja {
                        @include f_all(32);
                        font-weight: bold;
                        line-height: 1.4;
                        margin-top: 10px;
                        /* @include maxwidth(1140) {
                            @include f_all(24);
                        } */
                        @include maxwidth(1440) {
                            font-size: clamp(24px, (32 / 1440 * 100vw),32px);
                        }
                        @include maxwidth(768) {
                            font-size: clamp(20px, (32 / 768 * 100vw), 32px);
                            margin-top: 6px;
                        }
                    }
                    .supplement {
                        @include f_all(15);
                        @include maxwidth(768) {
                            @include f_all(13);
                        }
                        font-weight: bold;
                        line-height: 1.4;
                    }
                    .en {
                        @include f_all(15);
                        font-weight: 500;
                        text-transform: uppercase;
                        display: inline-flex;
                        align-items: center;
                        justify-content: center;
                        padding: 0.1em 8px 0.15em;
                        box-sizing: border-box;
                        color: $themetextcolor;
                        background-color: $themecolor;
                        min-height: 22px;
                        margin-top: 10px;
                        @include maxwidth(768) {
                            @include f_all(13);
                        }
                    }
                }
                .image {
                    margin-top: 20px;
                    aspect-ratio: 422 / 250;
                    @include maxwidth(768) {
                        margin-top: 15px;
                    }
                    > img {
                        width: 100%;
                        height: 100%;
                        object-fit: cover;
                        border-radius: 10px;
                    }
                }
                .text {
                    @include f_all(18);
                    font-weight: bold;
                    line-height: 1.8;
                    margin-top: 25px;
                    @include maxwidth(768) {
                        @include f_all(15);
                        margin-top: 15px;
                    }
                }
                .links {
                    margin-top: 25px;
                    @include maxwidth(768) {
                        margin-top: 20px;
                    }
                }
                .c-button {
                    width: 100%;
                    &__link {
                        min-width: initial;
                    }
                }
            }
            #cloudTransitionWrap {
                position: sticky;
                inset: 0 auto auto 0;
                width: 100%;
                height: 100vh;
                &Inner {
                    position: absolute;
                    inset: 40px 0 40px 0;
                    border-radius: 10px;
                    overflow: hidden;
                }

                #cloudTransition {
                }
            }
            .images {
                display: none !important;
            }
            .service-item-image {
                @media screen and (min-width: 1025px) {
                    display: none;
                }
                height: clamp(280px, (280 / 375 * 100vw), 480px);
                margin-top: 40px;
                margin-left: (30 / 375 * -100vw);
                overflow: hidden;
                clip-path: inset(0);
                position: relative;
                > img {
                    position: fixed;
                    inset: 0;
                    width: 100%;
                    height: 100%;
                    object-fit: cover;
                }
            }
        }
    }
}

#toppageRecruit {
    color: $themetextcolor;
    background: linear-gradient(to right, $themecolor 0%, #e31830 100%);
    position: relative;
    @include maxwidth(768) {
        background: linear-gradient(134deg, $themecolor 9.43%, #ca152a 90.57%);
    }
    .container {
        padding: 115px 0 150px;
        margin-right: (155 / 1440 * 100vw);
        position: relative;
        z-index: 1;
        @include maxwidth(1200) {
            margin-right: 30px;
        }
        @include maxwidth(768) {
            padding: 60px 0 100px;
            margin-right: 15px;
        }
        .c-heading {
            pointer-events: none;
            position: sticky;
            inset: 0px auto auto 0;
            @include maxwidth(768) {
                inset: 8vh auto auto 0;
            }
            z-index: 10;
            height: 70vh;
            .ja {
                margin-top: (120 / 1440 * 100vh);
                margin-left: (60 / 1440 * 100vw);
                @include maxwidth(768) {
                    margin-top: 0;
                    margin-left: (15 / 375 * 100vw);
                }
                > span {
                }
            }
        }
        .cols {
            margin-top: -70vh;
            display: flex;
            gap: (120 / 1440 * 100vw);
            @include maxwidth(1200) {
                gap: 40px;
            }
            @include maxwidth(1024) {
                flex-direction: column;
                > .col {
                    flex: none !important;
                }
            }
            @include maxwidth(768) {
                padding-top: 60px;
            }
            .col {
                &:nth-of-type(1) {
                    flex: 740px;
                }
                &:nth-of-type(2) {
                    flex: 422px;
                }
                .recruit-item-main {
                    --recruit-item-main-top: 0px;
                    position: sticky;
                    inset: var(--recruit-item-main-top, 2vh) auto auto 0;


                    > * {
                        width: 100%;
                    }
                    .image {
                        // aspect-ratio: 740 / 480;
                        width: 100%;
                        height: calc(480 / 960 * 100vh);
                        max-height: 480px;
                        min-height: 250px;
                        position: relative;
                        @include maxwidth(1024) {
                            aspect-ratio: 360 / 233;
                            height: auto;
                            max-height: initial;
                            min-height: initial;
                        }
                        > img {
                            width: 100%;
                            height: 100%;
                            object-fit: cover;
                            border-radius: 0 10px 10px 0;
                        }
                        &.js-target {
                            > img {
                                clip-path: inset(0 100% 0 0 round 0 10px 10px 0);
                                transition: clip-path 800ms cubic-bezier(0.83, 0, 0.17, 1);
                            }
                            &.is-active {
                                > img {
                                    clip-path: inset(0 0% 0 0 round 0 10px 10px 0);
                                }
                            }
                        }
                    }
                    .docs {
                        margin-top: -140px;
                        margin-right: (15 / 1440 * 100vw);
                        box-sizing: border-box;
                        max-width: (580 / 1440 * 100vw);
                        width: 100%;
                        margin-left: auto;
                        position: relative;
                        @include maxwidth(1024) {
                            max-width: initial;
                            width: auto;
                            margin-left: (80 / 375 * 100vw);
                            margin-top: -64px;
                        }
                        &.js-target {
                            .title {
                                .en {
                                    clip-path: inset(0 100% 0 0);
                                    transition: clip-path 800ms cubic-bezier(0.83, 0, 0.17, 1);
                                }
                                .ja {
                                    clip-path: inset(0 100% 0 0);
                                    transition: clip-path 800ms cubic-bezier(0.83, 0, 0.17, 1);
                                }
                            }
                            &.is-active {
                                .title {
                                    .en {
                                        clip-path: inset(0 0% 0 0);
                                    }
                                    .ja {
                                        clip-path: inset(0 0% 0 0);
                                    }
                                }
                            }
                        }
                        .title {
                            display: flex;
                            flex-direction: column;
                            align-items: flex-start;
                            .en {
                                @include f_all(14);
                                @include maxwidth(768) {
                                    @include f_all(13);
                                }
                                text-transform: uppercase;
                                font-weight: 500;
                                color: $themetextcolor;
                                background-color: $themecolor;
                                padding: 2px 4px 0px;
                                box-sizing: border-box;
                                min-height: 18px;
                            }
                            .ja {
                                font-size: clamp(
                                    23px,
                                    (32 / 1440 * 100vw),
                                    32px
                                );
                                @include maxwidth(360) {
                                    font-size: 20px;
                                }
                                font-weight: bold;
                                line-height: 1.3;
                                margin-top: 15px;
                                display: flex;
                                flex-direction: column;
                                align-items: flex-start;
                                gap: 0.4em;
                                @include maxwidth(768) {
                                    gap: 2px;
                                    margin-top: 10px;
                                }
                                .char {
                                    display: inline-flex;
                                    align-items: center;
                                    justify-content: center;
                                    padding: 0.25em 0 0.25em .625em;
                                    box-sizing: border-box;
                                    color: $themecolor;
                                    background-color: $themetextcolor;
                                    min-height: 50px;
                                    @include maxwidth(768) {
                                        padding-left: .5em;
                                        background-color: rgba($themetextcolor, .95);
                                        min-height: 45px;
                                    }
                                }
                                &.pc {
                                    @include maxwidth(768) {
                                        display: none !important;
                                    }
                                }
                                &.sp {
                                    @media screen and (min-width: 769px) {
                                        display: none !important;
                                    }
                                }
                            }
                        }
                        .text {
                            font-size: clamp(16px, (24 / 1440 * 100vw), 24px);
                            font-weight: bold;
                            line-height: 1.8;
                            margin-top: 30px;
                            @include maxwidth(768) {
                                margin-top: 10px;
                            }
                        }
                        .links {
                            margin-top: 30px;
                            justify-content: flex-start;
                            @include maxwidth(768) {
                                display: none !important;
                            }
                        }
                        .c-button {
                            &__link {
                            }
                        }
                    }
                }
                .recruit-item-sub {
                    @include maxwidth(1024) {
                        margin-left: (80 / 375 * 100vw);
                    }
                    &:not(:first-of-type) {
                        margin-top: 70px;
                        @include maxwidth(768) {
                            margin-top: 30px;
                        }
                    }
                    &__link {
                        > * {
                            display: block;
                        }
                        .image {
                            aspect-ratio: 422 / 250;
                            @include maxwidth(768) {
                                aspect-ratio: 280 / 170;
                            }
                            border-radius: 10px;
                            overflow: hidden;
                            position: relative;
                            > img {
                                width: 100%;
                                height: 100%;
                                object-fit: cover;
                            }
                            &::after {
                                content: "MORE";
                                @include f_all(15);
                                font-weight: bold;
                                letter-spacing: 0.02em;
                                position: absolute;
                                inset: 0;
                                border-radius: 10px;
                                background-color: rgba(#000, 0.5);
                                @include flex_centering;
                                opacity: 0;
                                transition: opacity 300ms ease;
                            }
                            @include maxwidth(768) {
                                &::before {
                                    content: "";
                                    display: block;
                                    width: 50px;
                                    height: 50px;
                                    border-radius: 50px;
                                    background: #e31830
                                        url(../images/arrow-right-white.svg)
                                        center / 8px auto no-repeat;
                                    box-shadow: 0 0 3px 0 rgba(0, 0, 0, 0.5)
                                        inset;
                                    position: absolute;
                                    inset: auto 5px 5px auto;
                                    z-index: 1;
                                }
                            }
                            &.js-target {
                                > img {
                                    clip-path: inset(0 50% 0 50% round 10px);
                                    transition: clip-path 800ms cubic-bezier(0.83, 0, 0.17, 1);
                                }
                                &::after {
                                    visibility: hidden;
                                }
                                &.is-active {
                                    > img {
                                        clip-path: inset(0 0% 0 0% round 10px);
                                    }
                                    &::after {
                                        visibility: visible;
                                        transition: visibility 0ms 700ms;
                                    }
                                }
                            }
                        }
                        .docs {
                            padding-top: 20px;
                            @include maxwidth(768) {
                                padding-top: 10px;
                            }
                            position: relative;
                            &.js-target {
                                .title  {
                                    .ja .char {
                                        color: mix($themetextcolor, $themecolor, 0.25);
                                        transition: color 250ms calc((var(--i) * 0.06) * 1s);
                                    }
                                    .en {
                                        clip-path: inset(0 100% 0 0);
                                        transition: clip-path 600ms cubic-bezier(0.83, 0, 0.17, 1);
                                    }
                                }
                                &.is-active {
                                    .title {
                                        .ja .char {
                                            color: $themetextcolor;
                                        }
                                        .en {
                                            clip-path: inset(0 0% 0 0);
                                        }
                                    }
                                }
                            }
                            .title {
                                display: flex;
                                flex-direction: column;
                                align-items: flex-start;
                                gap: 12px;
                                padding-right: 70px;
                                box-sizing: border-box;
                                position: relative;
                                @include maxwidth(768) {
                                    gap: 5px;
                                    padding-right: 0px;
                                }
                                &::before {
                                    content: "";
                                    display: block;
                                    width: 60px;
                                    height: 60px;
                                    border-radius: 60px;
                                    border: solid 1px;
                                    position: absolute;
                                    inset: 0 0 0 auto;
                                    margin: auto;
                                    transition: 250ms ease;
                                    @include maxwidth(768) {
                                        display: none;
                                    }
                                }
                                &::after {
                                    content: "";
                                    display: block;
                                    width: 9px;
                                    height: 8px;
                                    background: transparent
                                        url(../images/arrow-right-white.svg)
                                        center / contain no-repeat;
                                    position: absolute;
                                    inset: 0 26px 0 auto;
                                    margin: auto;
                                    @include maxwidth(768) {
                                        display: none;
                                    }
                                }
                                .ja {
                                    font-size: clamp(
                                        23px,
                                        (32 / 1440 * 100vw),
                                        32px
                                    );
                                    font-weight: bold;
                                    line-height: 1.4;
                                }
                                .en {
                                    @include f_all(15);
                                    @include maxwidth(768) {
                                        @include f_all(13);
                                    }
                                    font-weight: 500;
                                    text-transform: uppercase;
                                    display: inline-flex;
                                    align-items: center;
                                    justify-content: center;
                                    padding: 0.2em 8px 0.3em;
                                    box-sizing: border-box;
                                    color: $themetextcolor;
                                    background-color: $basetextcolor;
                                    min-height: 22px;
                                }
                            }
                        }
                        @media (any-hover: hover) {
                            &:hover {
                                .image {
                                    > img {
                                        /* transform: scale(1.15); */
                                    }
                                    &::after {
                                        opacity: 1;
                                    }
                                }
                                .title::before {
                                    border-color: transparent;
                                    background: rgba(227, 24, 48, 0.9);
                                    mix-blend-mode: multiply;
                                    box-shadow: 0 0 5px 0 rgba(0, 0, 0, 0.5)
                                        inset;
                                }
                            }
                        }
                    }
                }
            }
        }
        .c-buttons.sp {
            @media screen and (min-width: 769px) {
                display: none !important;
            }
            margin: 50px 15px 0;
            .c-button {
                &__link {
                    border: none !important;
                }
            }
        }
    }
    .parallax-image-wrapper {
        height: 20vw;
        min-height: 280px;
        overflow: hidden;
        clip-path: inset(0);
        position: relative;
        .parallax-image {
            position: fixed;
            inset: 0;
            width: 100%;
            height: 100%;
            object-fit: cover;
        }
    }
}

// 新着情報 & Instagram
.section-wrapper {
    overflow: hidden;
    position: relative;
    z-index: 0;
    .draw {
        pointer-events: none;
        position: absolute;
        inset: 0;
        @include maxwidth(768) {
            inset: 80px 0 0 0;
        }
        z-index: -1;
        svg {
            &.pc {
                @include maxwidth(768) {
                    display: none !important;
                }
            }
            &.sp {
                @media screen and (min-width: 769px) {
                    display: none !important;
                }
            }
        }
    }
    &::after {
        content: "";
        pointer-events: none;
        position: absolute;
        inset: 0;
        z-index: -1;
        background: linear-gradient(
            0deg,
            rgba(255, 255, 255, 0.9) 0%,
            rgba(255, 255, 255, 0.8) 100%
        );
    }
}

#toppageNews {
    padding-top: 155px;
    padding-bottom: 60px;
    @include maxwidth(768) {
        padding-top: 60px;
        padding-bottom: 60px;
    }
    position: relative;
    .container {
        --space-left: 170px;
        padding: 0 (80 / 1440 * 100vw);
        box-sizing: border-box;
        position: relative;
        @include maxwidth(1024) {
            padding: 5px 30px 0px;
        }
        @include maxwidth(768) {
            --space-left: 65px;
            padding: 25px 15px 0px;
        }
        .head {
            margin-left: var(--space-left);
            .c-heading {
                .ja {
                    position: absolute;
                    inset: 0 auto auto (60 / 1440 * 100vw);
                    @include maxwidth(1024) {
                        inset: 0 auto auto 30px;
                    }
                    @include maxwidth(768) {
                        inset: 0 auto auto 15px;
                    }
                    > span {
                    }
                }
                .en {
                    text-transform: none;
                }
            }
        }
        .body {
            margin-top: 20px;
            > * {
                margin-left: var(--space-left);
                @include maxwidth(1024) {
                    &:not(.information-terms) {
                        margin-left: 0;
                    }
                }
            }
            .information-terms {
            }
            .information-headline {
            }
            .c-buttons {
                justify-content: flex-end;
                margin-top: 25px;
                @include maxwidth(768) {
                    margin-top: 20px;
                }
            }
            .c-button {
                &__link {
                }
            }
        }
    }
}

#toppageInstagram {
    padding: 0 0 100px;
    @include maxwidth(768) {
        padding: 0 0 60px 0;
    }
    position: relative;
    .container {
        @include container(1280, 30);
        @include maxwidth(768) {
            margin-left: 15px;
            margin-right: 15px;
        }
        .head {
            h2 {
                display: flex;
                flex-direction: column;
                align-items: center;
                gap: 14px;
                .icon {
                    & > img {
                    }
                }
                .text {
                    @include f_all(15);
                    @include maxwidth(768) {
                        @include f_all(13);
                    }
                    font-weight: 500;
                    text-align: center;
                    color: $themecolor;
                    text-transform: uppercase;
                }
            }
        }
        .body {
            margin-top: 30px;
            @include maxwidth(768) {
                margin-top: 15px;
            }
            .dummy {
                display: flex;
                flex-wrap: wrap;
                gap: 20px;
                div {
                    flex-basis: calc((100% - (20px * 3)) / 4);
                    @include maxwidth(900) {
                        flex-basis: calc((100% - (20px * 1)) / 2);
                    }
                    aspect-ratio: 1;
                    background-color: #151922;
                }
            }
            .c-buttons {
                margin-top: 25px;
                @include maxwidth(768) {
                    margin-top: 20px;
                }
            }
            .c-button {
                &__link {
                }
            }
        }
    }
}

// --- Subpage ---

#subpageFirstview {
    color: $themetextcolor;
    background-color: $basetextcolor;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    align-items: flex-start;
    gap: 10vh;
    height: 100%;
    padding: 250px (80/ 1440 * 100vw) 90px;
    box-sizing: border-box;
    min-height: 580px;
    position: relative;
    @include maxwidth(1024) {
        padding-left: 30px;
        padding-right: 30px;
    }
    @include maxwidth(768) {
        min-height: 400px;
        padding: 80px 15px 60px;
    }
    /* z-index: 0; */
    .image {
        position: absolute;
        inset: 0;
        /* z-index: -1; */
        > img {
            width: 100%;
            height: 100%;
            object-fit: cover;
        }
        &::after {
            content: "";
            position: absolute;
            inset: 0;
            background: linear-gradient(
                180deg,
                rgba(0, 0, 0, 0.6) 0%,
                rgba(0, 0, 0, 0.2) 100%
            );
        }
    }
}

@keyframes sh_anime {
    0% {
        clip-path: inset(0% 100% 0% 0%);
    }
    100% {
        clip-path: inset(0% 0% 0% 0%);
    }
}

#subpageHeading {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    position: relative;
    z-index: 21;
    .ja {
        font-size: clamp(25px, (80 / 1440 * 100vw), 100px);
        line-height: 1;
        display: inline-flex;
        align-items: center;
        justify-content: center;
        padding: 0 0.2em 0.1em;
        box-sizing: border-box;
        color: $themetextcolor;
        position: relative;
        overflow: hidden;
        isolation: isolate;
        // transition: clip-path 800ms cubic-bezier(0.83, 0, 0.17, 1);
        clip-path: inset(0% 100% 0% 0%);
        animation: sh_anime 800ms cubic-bezier(0.83, 0, 0.17, 1) forwards;
        &::before {
            content: "";
            position: absolute;
            inset: 0;
            z-index: -1;
            background: linear-gradient(90deg, $themecolor 0%, #e31830 100%);
        }
        &:has( > .s) {
            align-items: flex-end;
            justify-content: flex-start;
            flex-wrap: wrap;
        }
        .s {
            font-size: 0.55em;
            margin-left: 0.25em;
        }
    }
    .supplement {
        margin-top: 5px;
        font-size: clamp(14px, (24 / 1440 * 100vw), 24px);
        font-weight: 500;
        line-height: 1;
        display: inline-flex;
        align-items: center;
        justify-content: center;
        padding: 0.1em 0.833em 0.15em;
        box-sizing: border-box;
        color: $themetextcolor;
        background-color: $themecolor;
        min-height: 1.333em;
        background: linear-gradient(90deg, $themecolor 0%, #e31830 100%);
        clip-path: inset(0% 100% 0% 0%);
        animation: sh_anime 750ms cubic-bezier(0.83, 0, 0.17, 1) forwards;
    }
    .en {
        margin-top: 20px;
        font-size: clamp(16px, (32 / 1440 * 100vw), 32px);
        font-weight: 500;
        text-transform: uppercase;
        line-height: 1;
        letter-spacing: 0.02rem;
        display: inline-flex;
        align-items: center;
        justify-content: center;
        padding: 0.1em 0.625em 0.15em;
        box-sizing: border-box;
        color: $themetextcolor;
        background-color: $themecolor;
        min-height: 0.86486em;
        background: linear-gradient(90deg, $themecolor 0%, #e31830 100%);
        clip-path: inset(0% 100% 0% 0%);
        animation: sh_anime 750ms cubic-bezier(0.83, 0, 0.17, 1) forwards;
    }
}

#subpageNavigation {
    display: flex;
    flex-wrap: wrap;
    gap: 5px;
    .nav {
        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);
        }
        @include commonButton;

        &__link {
            min-width: initial;
            &::before {
                transform: rotateZ(90deg);
                inset: 0 34px 0 auto;
                @include maxwidth(768) {
                    inset: 0 30px 0 auto;
                }
            }
            @media (any-hover: hover) and (min-width: 769px) {
                &:hover {
                    &::before {
                        inset: 0 36px 0 auto;
                    }
                }
            }

            &:has(> .s) {
                align-items: flex-start;
                justify-content: center;
                flex-direction: column;
            }
            .s {
                display: inline-block;
                font-size: 0.75em;
                margin-top: 0.25em;
            }
        }

        @include maxwidth(480) {
            flex-basis: 100%;
            body.page-company & {
                flex-basis: calc((100% - 5px) / 2);
            }
             &__link {
                body.page-company & {
                    font-size: clamp( 12px, (14 / 420 * 100vw), 14px);
                }
                min-height: 50px !important;
                padding-left: 1.25em;
                padding-right: 42px;
                &::before {
                    inset: 0 19px 0 auto;
                }
                &::after {
                    width: 35px;
                    height: 35px;
                    border-radius: 35px;
                    inset: 0 5px 0 auto;
                }
            }
        }

    }
}

#subpageTopicpath {
    @include f_all(15);
    font-weight: bold;
    line-height: 1.2;
    position: relative;
    margin: 40px 0;
    @include maxwidth(768) {
        @include f_all(13);
        margin: 30px 0;
    }
    body.page-recruit & {
        color: $themetextcolor;
        background-color: $themecolor;
        margin: 0px;
        padding: 40px 0;
        @include maxwidth(768) {
            padding: 30px 0;
        }
    }
    .container {
        @include container(1280, 30);
        @include maxwidth(768) {
            margin-left: 15px;
            margin-right: 15px;
        }
        ul {
            li {
                display: inline-flex;
                align-items: center;
                &::after {
                    content: "";
                    flex-shrink: 0;
                    display: block;
                    width: 15px;
                    height: 15px;
                    border-radius: 15px;
                    @include maxwidth(768) {
                        width: 13px;
                        height: 13px;
                        border-radius: 13px;
                    }
                    background: $themecolor url(../images/arrow-right-white.svg)
                        center top 60% / 8px auto no-repeat;
                    margin: 0 .66667em;
                }
                &:last-of-type::after {
                    display: none;
                }

                body.page-recruit & {
                    &::after {
                        background-color: $basetextcolor;
                    }
                }
            }
        }
    }
}

#subpageContent {
    --subpagecontent-margin: 80px;
    margin: 40px 0 var(--subpagecontent-margin);
    position: relative;
    @include maxwidth(768) {
        margin-top: 30px;
    }
    .container {
        @include container(1280, 30);
        @include maxwidth(768) {
            margin-left: 15px;
            margin-right: 15px;
        }

        .width100per {
            margin: 60px calc(50% - 50vw) 0;
            padding: 50px calc(50vw - 50%);
            box-sizing: border-box;
            background-color: #f5f5f5;

            &:where(> *) {
                margin: 0;
            }

            h3 {
                all: unset;
                display: block;
                @include f_all(28);
                @include maxwidth(768) {
                    @include f_all(24);
                }
                font-weight: bold;
                line-height: 1.3;
                &:has(+ .storeinformation-headline) {
                    margin-bottom: 28px;
                }
            }

            .storeinformation-headline {
            }

            + .l-page-bottom-buttons {
                margin-top: 40px;
            }
        }

        #subpageNavigation {
            margin-bottom: 40px;
        }
    }
}

/* Pager */
.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;
    }
}
/* Archivelink */
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;
            }
        }
    }
}

body.page-recruit {
    #recruitContent {
        .message {
            padding: 120px 20px 105px;
            @include maxwidth(768) {
                padding: 100px 20px 80px;
            }
            box-sizing: border-box;
            position: relative;
            isolation: isolate;
            .bgimg {
                position: absolute;
                inset: 0;
                z-index: -1;
                > img {
                    width: 100%;
                    height: 100%;
                    object-fit: cover;
                }
                &::after {
                    content: "";
                    position: absolute;
                    inset: 0;
                    background: rgba(255, 255, 255, 0.85);
                    backdrop-filter: blur(4px);
                }
            }
            .default {
                h3 {
                    text-align: center;
                    align-items: center;
                    .en {
                    }
                    .ja {
                    }
                }
                .message-leadtext {
                    color: $themecolor;
                    font-size: clamp(18px,(32 / 1024 * 100vw),32px);
                    @include maxwidth(360) {
                        font-size: 16px;
                    }
                    font-weight: bold;
                    line-height: 1;
                    display: flex;
                    flex-direction: column;
                    align-items: center;
                    gap: 0.4375em;
                    margin-top: 60px;
                    @include maxwidth(768) {
                        margin-top: 50px;
                    }
                    .char {
                        padding: 0.15em 0 0.15em 20px;
                        @include maxwidth(768) {
                            padding-left: 10px;
                        }
                        box-sizing: border-box;
                        background-color: $themetextcolor;
                        min-height: 1.5625em;
                        display: inline-flex;
                        align-items: center;
                        justify-content: center;
                    }
                }
                .message-text {
                    @include f_all(18);
                    @include maxwidth(768) {
                        @include f_all(15);
                    }
                    @include maxwidth(360) {
                        @include f_all(13);
                    }
                    font-weight: bold;
                    line-height: 1.8;
                    text-align: center;
                    > p {
                        &:not(:first-child) {
                            margin-top: 1.8em;
                        }
                    }
                }
            }
        }
        .container {
            @include container(1280, 30);
            @include maxwidth(768) {
                margin-left: 15px;
                margin-right: 15px;
            }
        }
        .links-wrapper {
            padding: 80px 0 50px;
            @include maxwidth(768) {
                padding: 60px 0 40px;
            }
            box-sizing: border-box;
            position: relative;
            color: $themetextcolor;
            background-color: $themecolor;
            .links {
                --recruit-links-gap: 40px;
                @include maxwidth(1200) {
                    --recruit-links-gap: 20px;
                }
                @include maxwidth(768) {
                    --recruit-links-gap: 10px;
                }
                display: flex;
                flex-wrap: wrap;
                gap: 66px var(--recruit-links-gap);
                @include maxwidth(1200) {
                    gap: 40px var(--recruit-links-gap);
                }
                @include maxwidth(768) {
                    gap: 30px var(--recruit-links-gap);
                }
                .link {
                    flex-basis: calc((100% - (var(--recruit-links-gap) * 2)) / 3);
                    @include maxwidth(1024) {
                        flex-basis: calc((100% - var(--recruit-links-gap)) / 2);
                    }
                    @include maxwidth(420) {
                        flex-basis: 100%;
                    }
                    position: relative;
                    a {
                        > :where( * ) {
                            display: block;
                        }
                        @media (any-hover: hover) {
                            &:hover {
                                .img > img {
                                    transform: scale(1.15);
                                }
                                .img::after {
                                    background-color: $themecolor;
                                }
                            }
                        }
                        .img {
                            padding-top: calc(250 / 400 * 100%);
                            @include maxwidth(768) {
                                padding-top: calc(170 / 280 * 100%);
                            }
                            box-sizing: border-box;
                            overflow: hidden;
                            border-radius: 10px;
                            position: relative;
                            > img {
                                position: absolute;
                                inset: 0 auto auto 0;
                                width: 100%;
                                height: 100%;
                                object-fit: cover;
                                transition: transform 200ms;
                            }
                            &::after {
                                content: "";
                                display: block;
                                width: 60px;
                                height: 60px;
                                border-radius: 60px;
                                background: $basetextcolor url(../images/arrow-right-white.svg) center / 8px auto no-repeat;
                                position: absolute;
                                inset: auto auto 10px 10px;
                                transition: background 200ms;
                                @include maxwidth(768) {
                                    width: 50px;
                                    height: 50px;
                                    border-radius: 50px;
                                    inset: auto auto 5px 5px;
                                }
                            }
                        }
                        .title {
                            padding-top: 18px;
                            display: flex;
                            flex-direction: column;
                            align-items: flex-start;
                            gap: 6px;
                            @include maxwidth(768) {
                                padding-top: 10px;
                                gap: 5px;
                            }
                            .en {
                                @include f_all(15);
                                @include maxwidth(768) {
                                    @include f_all(13);
                                }
                                font-weight: 500;
                                line-height: 1;
                                text-transform: uppercase;
                                @include flex_centering;
                                padding: 0 8px 1px;
                                box-sizing: border-box;
                                color: $themetextcolor;
                                background-color: $basetextcolor;
                                min-height: 22px;
                            }
                            .ja {
                                @include f_all(28);
                                @include maxwidth(768) {
                                    @include f_all(20);
                                }
                                font-weight: bold;
                                line-height: normal;
                            }
                        }
                    }
                }
            }
        }
        .docomo-banner-wrapper {
            padding: 50px 0 120px;
            @include maxwidth(768) {
                padding: 40px 0 100px;
            }
            box-sizing: border-box;
            background-color: $themecolor;
            position: relative;
            .docomo-banner {
                position: relative;
                .cols {
                    display: flex;
                    @include maxwidth(1024) {
                        flex-direction: column;
                        > * {
                            flex: none !important;
                        }
                    }
                    .col {
                        &:nth-of-type(1) {
                            flex-basis: 660px;
                            padding: 94px 6.7% 94px 4.7%;
                            @include maxwidth(768) {
                                padding: 55px 4.5% 55px 4.5%;
                            }
                            box-sizing: border-box;
                            display: flex;
                            justify-content: center;
                            flex-direction: column;
                            color: $themetextcolor;
                            background-color: $basetextcolor;
                        }
                        &:nth-of-type(2) {
                            flex-basis: 620px;
                        }

                        .title {
                            display: flex;
                            flex-direction: column;
                            align-items: flex-start;
                            position: relative;
                            padding-bottom: 17px;
                            .en {
                                @include f_all(14);
                                @include maxwidth(768) {
                                    @include f_all(13);
                                }
                                font-weight: 500;
                                line-height: 1;
                                text-transform: uppercase;
                            }
                            .ja {
                                font-size: clamp(23px,(32 / 1024 * 100vw),32px);
                                font-weight: bold;
                                line-height: 1.2;
                                margin-top: 6px;
                            }
                            &::after {
                                content: "";
                                display: block;
                                width: 30px;
                                height: 5px;
                                background-color: currentColor;
                                position: absolute;
                                inset: auto auto 0 0;
                            }
                        }
                        .text {
                            @include f_all(18);
                            @include maxwidth(768) {
                                @include f_all(15);
                            }
                            font-weight: bold;
                            line-height: 1.5;
                            margin-top: 30px;
                            @include maxwidth(768) {
                                margin-top: 25px;
                            }
                        }
                        .c-buttons {
                            margin-top: 40px;
                            @include maxwidth(768) {
                                margin-top: 35px;
                            }
                            .c-button {
                                width: 100%;
                                &__link {
                                    min-width: initial;
                                }
                            }
                        }
                        .img {
                            display: block;
                            height: 100%;
                            @include maxwidth(1024) {
                                height: calc(280 / 375 * 100vw);
                                max-height: 600px;
                                min-height: 280px;
                            }
                            > img {
                                width: 100%;
                                height: 100%;
                                object-fit: cover;
                            }
                        }
                    }
                }
            }
        }
    }
}

body.page-recruit, body.page-recruit_child {
    .recruit-common-buttons {
        position: sticky;
        inset: 50vh auto auto 0;
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: flex-end;
        gap: 10px;
        @include maxwidth(768) {
            gap: 5px;
        }
        height: 0px;
        z-index: 5;
        .recruit-common-button {
            /* opacity: 0;
            transition: opacity 250ms; */
            &__link {
                font-size: clamp(14px,(16 / 1024 * 100vw),16px);
                font-weight: 500;
                line-height: 1;
                color: $basetextcolor;
                display: flex;
                align-items: center;
                flex-direction: column;
                justify-content: center;
                gap: 0.5em;
                padding: 1em 1.15em 0;
                box-sizing: border-box;
                border-radius: 10px 0 0 10px;
                overflow: hidden;
                position: relative;
                isolation: isolate;
                min-width: 3.5em;
                min-height: 8.75em;
                padding-top: 1em;
                flex-direction: column;
                justify-content: center;

                > span {
                    display: inline-block;
                    width: 1em;
                    writing-mode: vertical-rl;
                    letter-spacing: 0.2em;
                }

                &::before {
                    content: "";
                    position: absolute;
                    z-index: -1;
                    inset: 0;
                    background-color: rgba($themecolor2, 0.75);
                    backdrop-filter: blur(4px);
                }

                &::after {
                    content: "";
                    flex-shrink: 0;
                    width: 14px;
                    height: 14px;
                    background: transparent url(../images/arrow-right-round.svg) center / contain no-repeat;
                    margin-top: 0.15em;
                    filter: invert(100%);
                    transition: transform 200ms;
                }

                &.current {
                    pointer-events: none;
                    color: $themetextcolor;
                    &::before {
                        background-color: rgba($themecolor, 0.9);
                    }
                    &::after {
                        filter: invert(0%);
                    }
                }

                @media (any-hover: hover) {
                    &:hover {
                        &::after {
                            transform: translate(3px, 0);
                        }
                    }
                }
            }
        }
    }
}
/* body.page-recruit.header_scrollout, body.page-recruit_child.header_scrollout {
    .recruit-common-button  {
        opacity: 1;
        @for $i from 0 to 5 {
            &:nth-of-type(#{$i + 1}) {
                transition-delay: #{$i * 0.15}s;
            }
        }
    }
} */

body.single-storeinformation {
    .store-slide {
        .swiper-wrapper {
            .swiper-slide {
                aspect-ratio: 1280 / 650;
                @include maxwidth(768) {
                    aspect-ratio: 738 / 520;
                }
                position: relative;
                > img {
                    width: 100%;
                    height: 100%;
                    object-fit: cover;
                }
            }
        }
        .store-pagination {
            margin-top: 14px;
            @include flex_centering;
            flex-wrap: wrap;
            gap: 10px;
            @include maxwidth(768) {
                margin-top: 10px;
            }
            .swiper-pagination-bullet {
                margin: 0;
                border-radius: 0px;
                opacity: 1;
                display: block;
                width: 12px;
                height: 12px;
                background-color: $basetextcolor;
                &-active {
                    background-color: $themecolor;
                }
            }
        }
    }

    .store-gmap {
        height: 600px;
        iframe {
            width: 100% !important;
            height: 100% !important;
        }
    }

    .store-buttons {
        flex-direction: column;
        align-items: initial;
        .c-button {
            &__link {
                min-width: initial;
                @include flex_centering;
                &.pin {
                    @include f_all(20);
                    @include maxwidth(768) {
                        @include f_all(18);
                    }
                    > span.title {
                        display: inline-flex;
                        align-items: center;
                        gap: 8px;
                        &::before {
                            content: "";
                            flex-shrink: 0;
                            display: block;
                            width: 15px;
                            height: 17px;
                            background: transparent url(../images/icon-pin.svg)
                                center / contain no-repeat;
                            margin-top: 0.15em;
                        }
                    }
                }
                &.tel {
                    flex-direction: column;
                    gap: 2px;
                    .t {
                        @include f_all(14);
                        font-size: clamp(10px,(14 / 520 * 100vw),14px);
                        font-weight: 500;
                        line-height: 1.4;
                        text-align: center;
                    }
                    .n {
                        @include f_all(20);
                        font-weight: bold;
                        line-height: 1.4;
                        padding-left: 23px;
                        background: transparent
                            url(../images/icon-phone-white.svg) left top 60% /
                            17px auto no-repeat;
                    }
                }
            }
        }
    }

    .store-list {
        margin-left: 0;
        @include f_all(16);
        font-weight: 500;
        line-height: 1.4;
        display: flex;
        flex-wrap: wrap;
        gap: 10px;
        @include maxwidth(768) {
            gap: 5px;
        }
        li {
            list-style: none;
            margin-bottom: 0;
            flex-basis: calc((100% - (10px * 2)) / 3);
            @include maxwidth(1024) {
                flex-basis: calc((100% - (10px * 1)) / 2);
            }
            display: flex;
            align-items: center;
            flex-wrap: wrap;
            padding: 10px 25px;
            box-sizing: border-box;
            background-color: #f5f5f5;
            min-height: 80px;
            @include maxwidth(768) {
                flex-basis: 100%;
                padding-left: 1em;
                padding-right: 1em;
            }
        }
    }
}
