// スタイルシート common

@charset "utf-8";

@import "mixin";

body {
    @include root;
    position: relative;
    -webkit-text-size-adjust: none;
    text-size-adjust: none;
}

img,
video {
    max-width: 100%;
    height: auto;
}

:where(figure) { margin: 0; }

// === Component

html { scroll-behavior: smooth; }

body.menu_open { overflow: hidden; }

@keyframes splitTextMove {
    0% { transform: translateY(0em); }
    50% { transform: translateY(-0.5em); }
    100% { transform: translateY(0em); }
}

#bgmedia {
    position: fixed;
    inset: 0;
    .image {
        height: 100vh;
        height: 100svh;
        position: relative;
        &>img {
            width: 100%;
            height: 100%;
            object-fit: cover;
        }
    }
}

#wrapper { position: relative; }

#header {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    z-index: 15;
    .container {
        display: flex;
        align-items: center;
        justify-content: space-between;
        padding: 0 (60 / 1440 * 100vw);
        @include maxwidth(768) {
            padding-left: 20px;
            padding-right: 20px;
        }
        box-sizing: border-box;
        .sitename {
            @include maxwidth(768) { margin-right: 60px; }
            a {
                @include flex_centering;
                padding: 27px 20px 17px;
                @include maxwidth(768) { padding: 20px 10px 15px; }
                @include maxwidth(480) { padding: 15px 10px 10px; }
                box-sizing: border-box;
                background: rgba(#FFFFFF, 0.8);
                img {
                    width: 350px;
                    @include maxwidth(768) { width: 280px; }
                    @include maxwidth(480) { width: 220px; }
                }

                @media (any-hover: hover) {
                    &:hover {
                        filter: brightness(0.9);
                        -webkit-filter: brightness(0.9);
                    }
                }
            }
        }
        .global-nav {
            color: $themetextcolor;
            @include f_all(14);
            font-weight: bold;
            line-height: normal;
            @include maxwidth(1024) { display: none !important; }
            ul {
                display: flex;
                align-items: center;
                gap: 30px;
                li {
                    a {
                        display: inline-block;
                        position: relative;
                        @media (any-hover: hover) {
                            padding-bottom: 0.5em;
                            &::after {
                                content: "";
                                display: inline-block;
                                width: 1.5em;
                                height: 2px;
                                background-color: $accentcolor;
                                border-radius: 1px;
                                position: absolute;
                                left: 0;
                                right: 0;
                                bottom: 0;
                                margin: auto;
                                transform: scaleX(0);
                                transition: transform 300ms;
                            }
                            &:hover {
                                &::after { transform: scaleX(1); }
                            }
                        }
                    }
                    .form { display: none; }
                }
            }
        }
    }
}

.gnav-toggle {
    &-container {
        position: absolute;
        z-index: 101;
        top: 20px;
        right: (40 / 1440 * 100vw);
        @include maxwidth(768) { right: 20px; }
        .menu_open & {
            position: fixed;
        }

        @media screen and (min-width: 1025px) {
            display: none !important;
        }
    }

    cursor: pointer;
    display: block;
    width: 45px;
    height: 45px;
    background-color: $themecolor;
    position: relative;
    transition: 200ms;
    .menu_open & {
        background-color: $accentcolor;
    }
    &>span {
        display: inline-block;
        width: 20px;
        height: 1px;
        background-color: #FFF;
        @include absolute_centering;
        @include flex_centering;
        transition: 200ms;
        &:nth-child(1) {
            transform: translateY(-6px);
            .menu_open & {
                transform: translate(0px) rotate(45deg);
            }
        }
        &:nth-child(2) {
            .menu_open & {
                opacity: 0;
                transform: translateX(100%);
            }
        }
        &:nth-child(3) {
            transform: translateY(6px);
            .menu_open & {
                transform: translate(0px) rotate(-45deg);
            }
        }
    }
}

#gnav {
    position: fixed;
    z-index: 100;
    inset: 0;
    pointer-events: none;
    background-color: transparent;
    transition: background 300ms;
    .menu_open & {
        background-color: rgba(#000, 0.8);
        pointer-events: all;
    }
    &Inner {
        position: fixed;
        inset: auto 0 0;
        height: 80vh;
        padding: 60px 0;
        box-sizing: border-box;
        background-color: $basecolor;
        border-radius: 0.5rem 0.5rem 0 0;

        overflow-y: auto;
        -ms-overflow-style: none;
        scrollbar-width: none;
        &::-webkit-scrollbar { display: none; }

        transform: translate(0, 100%);
        transition: transform 500ms ease-in-out;
        .menu_open & {
            transform: translate(0, 0);
        }
        .container {
            @include container(700, 20);
            .sitename {
                text-align: center;
                a {  } 
                img { width: 260px; }
            }
            .menu {
                @include f_all(14);
                @include maxwidth(768) { @include f_all(13); }
                margin-top: 30px;
                ul {
                    display: flex;
                    flex-direction: column;
                    flex-wrap: wrap;
                    gap: 2px;
                    li {
                        flex-basis: 100%;
                        a {
                            color: $themetextcolor;
                            display: flex;
                            align-items: center;
                            padding: 0.5em 1em 0.5em 50px;
                            box-sizing: border-box;
                            background-color: #000;
                            min-height: 3em;
                            position: relative;
                            &::before {
                                content: "";
                                display: block;
                                width: 5px;
                                height: 9px;
                                background: url(../images/arrow-white.svg) no-repeat center / contain;
                                position: absolute;
                                top: 0;
                                bottom: 0;
                                left: 20px;
                                margin: auto;
                            }
                        }
                    }
                }
            }
            address {
                @include f_all(13);
                @include maxwidth(768) { @include f_all(12); }
                font-weight: 500;
                line-height: 1.5;
                text-align: center;
                margin-top: 1em;
            }
        }
    }
}

#mainVisual {
    --mvFootHeight: 100px;
    @include maxwidth(768) {
        --mvFootHeight: 87px;
    }
    .container {
        position: relative;
        &::after {
            content: "";
            pointer-events: none;
            display: block;
            height: 150px;
            @include maxwidth(768) { height: 100px; }
            position: absolute;
            inset: 0px 0px auto 0px;
            z-index: 1;
            background: linear-gradient(180deg, rgba(0, 0, 0, 0.80) 0%, rgba(0, 0, 0, 0.00) 100%);
        }
        .swiper {
            &-wrapper {
            }
            &-slide {
                height: calc(100vh - var(--mvFootHeight));
                .admin-bar & { height: calc(100vh - var(--mvFootHeight) - 32px); }
                min-height: 480px;
                &>img {
                    width: 100%;
                    height: 100%;
                    object-fit: cover;
                }
            }
            &.mv {  }
        }
        .overlay {
            color: $themetextcolor;
            position: absolute;
            left: (60 / 1440 * 100vw);
            bottom: 60px;
            @include maxwidth(768) {
                left: 20px;
                bottom: 30px;
            }
            z-index: 5;
            &-text {
                font-size: clamp(36px, (64 / 1024 * 100vw), 64px);
                font-weight: bold;
                line-height: 1.3;
                &>span {
                    color: $themecolor;
                }
            }
            &-text2 {
                font-size: clamp(14px, (20 / 1024 * 100vw), 20px);
                font-weight: 600;
                line-height: normal;
                margin-top: 0.6em;
            }
        }
    }
    .l-foot {
        color: $themetextcolor;
        background-color: $basetextcolor;
        height: var(--mvFootHeight);
        @include flex_centering;
        flex-wrap: wrap;
        position: relative;
        .scroll-down {
            display: inline-block;
            &__link {
                @include ff_en;
                font-size: 1em;
                @include maxwidth(768) { @include f_all(14); }
                font-weight: 600;
                text-transform: capitalize;
                display: flex;
                flex-direction: column;
                align-items: center;
                gap: 0.7em;
                &::after {
                    content: "";
                    flex-shrink: 0;
                    display: block;
                    width: 19px;
                    height: 19px;
                    background: url(../images/arrow-white-bottom.svg) no-repeat center / 9px auto;
                    background-color: $themecolor;
                }
            }
        }
    }
}

#contentFooter {
    padding-top: 60px;
    @include maxwidth(768) { padding-top: 30px; }
    position: relative;
    &::before {
        content: "";
        display: block;
        height: 60px;
        @include maxwidth(768) { height: 30px; }
        position: absolute;
        inset: 0px 0px auto 0px;
        background-color: $basetextcolor;
    }
    &Contact {
        padding: 80px 0;
        @include maxwidth(768) {
            padding-top: 60px;
            padding-bottom: 60px;
        }
        box-sizing: border-box;
        background: transparent;
        position: relative;
        .container {
            @include container(1140, 20);
            .contact-buttons {
                display: flex;
                gap: (30 / 1440 * 100vw);
                @include maxwidth(1024) { flex-wrap: wrap; }
                @include maxwidth(768) { gap: 5px; }
            }
            .contact-button {
                flex: 50%;
                @include maxwidth(1024) { flex: 100%; }
                &__link {
                    color: $themetextcolor;
                    @include f_all(20);
                    font-weight: bold;
                    text-align: center;
                    line-height: 1.5;
                    @include flex_centering;
                    min-height: 180px;
                    padding: 1em;
                    box-sizing: border-box;
                    background-color: $themecolor;
                    position: relative;
                    @include maxwidth(768) {
                        @include f_all(15);
                        min-height: 100px;
                    }
                    @include maxwidth(360) { @include f_all(13); }
                    &.tel {
                        line-height: 1;
                        flex-direction: column;
                        background-color: $basetextcolor;
                        .telnum {
                            @include f_all(13);
                            font-weight: bold;
                            .num {
                                @include f_all(30);
                                @include maxwidth(768) { @include f_all(24); }
                            }
                        }
                        .teltime {
                            @include f_all(14);
                            @include maxwidth(768) { @include f_all(12); }
                            font-weight: bold;
                            line-height: normal;
                            margin-top: 4px;
                        }
                    }
                    &.form {
                        .title {
                            padding-left: 28px;
                            @include maxwidth(768) { padding-left: 25px; }
                            background: url(../images/icon-mail-white.svg) no-repeat left center / 20px auto;
                        }
                        &::after {
                            content: "";
                            flex-shrink: 0;
                            display: inline-block;
                            width: 5px;
                            height: 9px;
                            background: url(../images/arrow-white.svg) no-repeat center / contain;
                            margin-top: 2px;
                            margin-left: 10px;
                            @include maxwidth(768) { margin-left: 8px; }
                        }
                        @media (any-hover: hover) {
                            .title .char {
                                display: inline-block;
                            }
                            &:hover {
                                filter: brightness(1.1);
                                -webkit-filter: brightness(1.1);
                                .title .char {
                                    animation: splitTextMove 300ms ease-in-out forwards;
                                    @for $c from 0 to 20 {
                                        &:nth-child(#{$c + 1}) {
                                            animation-delay: #{$c * 0.05}s;
                                        }
                                    }
                                }
                            }
                        }
                    }
                }
            }
        }
    }
}

#footer {
    color: $themetextcolor;
    background-color: $basetextcolor;
    padding: 80px 0 40px;
    @include maxwidth(768) {
        padding: 40px 0 75px;
    }
    position: relative;
    a:hover { opacity: 0.8; }
    .container {
        @include container(1280, 20);
        display: flex;
        justify-content: space-between;
        flex-wrap: wrap;
        @include maxwidth(1024) {
            &>* {
                flex-basis: 100% !important;
            }
        }
        .footer-description {
            @include maxwidth(1024) {
                text-align: center;
            }
            .sitename {
                img {
                    // width: 203px;
                    width: 295px;
                    @include maxwidth(1024) { width: 215px;}
                }
            }
            address {
                @include f_all(13);
                font-weight: 500;
                line-height: 1.5;
                margin-top: 15px;
                @include maxwidth(768) {
                    @include f_all(12);
                    margin-top: 10px;
                    font-weight: 400;
                }
                &>*:not(:first-child) { margin-top: 1em; }
            }
        }
        .footer-menu {
            padding-top: 18px;
            @include maxwidth(1024) {
                padding-top: 0;
                margin-top: 25px;
            }
            @include f_all(14);
            @include maxwidth(768) { @include f_all(13); }
            font-weight: bold;
            line-height: normal;
            ul {
                display: flex;
                align-items: center;
                justify-content: flex-end;
                flex-wrap: wrap;
                gap: 30px;
                @include maxwidth(1024) {
                    align-items: initial;
                    justify-content: initial;
                    gap: 2px;
                    &>* {
                        flex-basis: 100% !important;
                    }
                }
                &:not(:first-child) {
                    margin-top: 30px;
                    @include maxwidth(1024) { margin-top: 2px; }
                }
                li {
                    a {
                        @include maxwidth(1024) {
                            color: $themetextcolor;
                            display: flex;
                            align-items: center;
                            padding: 0.5em 1em 0.5em 50px;
                            box-sizing: border-box;
                            background-color: #000;
                            min-height: 3em;
                            position: relative;
                            &::before {
                                content: "";
                                display: block;
                                width: 5px;
                                height: 9px;
                                background: url(../images/arrow-white.svg) no-repeat center / contain;
                                position: absolute;
                                top: 0;
                                bottom: 0;
                                left: 20px;
                                margin: auto;
                            }
                        }
                    }
                }
            }
        }
        .footer-banner {
            flex-basis: 100%;
            margin-top: 28px;
            @include maxwidth(768) { margin-top: 20px; }
            ul {
                display: flex;
                justify-content: center;
                flex-wrap: wrap;
                gap: 12px;
                @include maxwidth(1024) { gap: 2px; }
                @include maxwidth(768) {
                    flex-direction: column;
                    align-items: center;
                }
                li:has(> a):hover {
                    outline: solid 3px $themecolor;
                }
                a:hover { opacity: 1; }
            }
        }
        .footer-copyright {
            text-align: right;
            @include maxwidth(1024) { text-align: center; }
            flex-basis: 100%;
            margin-top: 32px;
            @include maxwidth(768) { margin-top: 30px; }
            small {
                @include f_all(14);
                line-height: normal;
                @include maxwidth(768) { @include f_all(12); }
            }
        }
    }
}


#aside {
    position: fixed;
    bottom: 0;
    right: 0;
    z-index: 20;
    display: flex;
    gap: 1px;
    
    &>* {
        transform: translateY(100%);
        transition: transform 200ms;
        .header_scrollout & { transform: translateY(0%); }
    }

    .gnav-toggle-item {
        @media screen and (min-width: 1025px) {
            display: none !important;
        }
    }
}

#totop {
    &Container {  }
    cursor: pointer;
    @include ff_en;
    color: $themetextcolor;
    @include f_all(12);
    font-weight: bold;
    @include flex_centering;
    flex-direction: column;
    gap: 0.55em;
    width: 45px;
    height: 45px;
    background-color: $themecolor3;
    &::after {
        content: "";
        display: block;
        width: 9px;
        height: 5px;
        background: url(../images/arrow-white-bottom.svg) no-repeat center / contain;
        transform: scale(1, -1);
    }

    @media (any-hover: hover) {
        &:hover {
            filter: brightness(1.1);
            -webkit-filter: brightness(1.1);
        }
    }
}

// 共通見出し
.c-heading {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    position: relative;
    @include maxwidth(1024) {
        align-items: center;
    }
    .en {
        @include ff_en;
        color: $themecolor;
        @include f_all(20);
        @include maxwidth(768) { @include f_all(16); }
        font-weight: 600;
        line-height: normal;
        text-transform: capitalize;
    }
    .ja {
        @include f_all(24);
        @include maxwidth(768) { @include f_all(18); }
        color: currentColor;
        font-weight: bold;
        line-height: 1.8;
    }
}

// 共通ボタンラッパー
.c-buttons {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
    @include maxwidth(768) {
        flex-direction: column;
        align-items: flex-start;
        gap: 5px;
    }
}

// 共通ボタン
.c-button {
    display: inline-block;
    &__link {
        color: currentColor;
        @include f_all(14);
        font-weight: 500;
        line-height: 1.1;
        display: flex;
        align-items: center;
        padding-right: 1em;
        padding-left: 70px;
        min-height: 40px;
        position: relative;
        &::before, &::after {
            content: "";
            flex-shrink: 0;
            display: block;
            width: 40px;
            height: 40px;
            position: absolute;
            top: 0;
            bottom: 0;
            left: 0;
            margin: auto;
            background: url(../images/arrow-white.svg) no-repeat center / 5px auto;
            background-color: $themecolor;
        }
        &::after {
            clip-path: inset(0% 100% 0% 0%);
            background-color: $accentcolor;
        }
        @media (any-hover: hover) {
            .char { display: inline-block; }
            &:hover {
                &::after {
                    clip-path: inset(0% 0% 0% 0%);
                    transition: 300ms;
                }
                .char {
                    animation: splitTextMove 300ms ease-in-out forwards;
                    @for $c from 0 to 20 {
                        &:nth-child(#{$c + 1}) {
                            animation-delay: #{$c * 0.05}s;
                        }
                    }
                }
            }
        }
    }
}

.information-terms {
    --information-terms-color: transparent;
    position: relative;
    display: flex;
    flex-wrap: wrap;
    gap: 7px;
    &:has(+ .information-headline),
    &:has(+ .headline-box) { margin-bottom: 30px; }
    .tab {
        color: $basetextcolor;
        cursor: pointer;
        @include ff_ja;
        @include f_all(13);
        font-weight: 500;
        @include flex_centering;
        min-width: 250px;
        @include maxwidth(768) { min-width: 120px; }
        .subpage & { min-width: 195px; }
        min-height: 40px;
        border: none;
        background: none;
        background-color: var(--information-terms-color);
        box-sizing: border-box;
        .toppage & {
            color: $themetextcolor;
            --information-terms-color: $basetextcolor;
        }
        border-bottom: solid 1px;
        position: relative;

        @include maxwidth(768) {
            .subpage & {
                flex-basis: calc((100% - 7px) / 2);
                min-width: initial;
                &[data-source="all"] { flex-basis: 100%; }
            }
        }

        &.act {
            color: $themetextcolor;
            --information-terms-color: $basetextcolor;
            border: none;
            
            .toppage &[data-source="all"] {
                color: $basetextcolor;
                --information-terms-color: #fff;
            }

            &.yghd { --information-terms-color: $yghdColor; }
            &.yg { --information-terms-color: $ygColor; }
            &.sd { --information-terms-color: $sdColor; }
            &.rira { --information-terms-color: $riraColor; }
        }
    }
}

.information-headline {
    position: relative;
    .headline-item {
        border-bottom: solid 1px #3E3A39;
        &:last-child { border-bottom: none; }
        &__link {
            text-decoration: none !important;
            @include f_all(13);
            font-weight: 600;
            line-height: 1.5;
            display: flex;
            align-items: center;
            flex-wrap: wrap;
            padding: 25px 35px 25px 20px;
            box-sizing: border-box;
            position: relative;
            @include maxwidth(768) {
                padding: 15px 25px 12px 10px;
            }
            .subpage & {
                // @include f_all(12);
                padding-top: 1rem;
                padding-bottom: 1rem;
            }
            .date {
                margin-right: 2em;
                @include maxwidth(768) { margin-right: 1em; }
            }
            .terms {
                line-height: 1;
                margin-right: 2.5em;
                @include maxwidth(768) { margin-right: 0; }
                .term {
                    color: $themetextcolor;
                    display: inline-flex;
                    align-items: center;
                    justify-content: center;
                    padding: 0 10px 2px;
                    box-sizing: border-box;
                    min-height: 22px;
                    position: relative;
                    background-color: $basetextcolor;
                    &.yghd { background-color: $yghdColor; }
                    &.yg { background-color: $ygColor; }
                    &.sd { background-color: $sdColor; }
                    &.rira { background-color: $riraColor; }
                }
            }
            .title {
                @include maxwidth(768) {
                    flex-basis: 100%;
                    margin-top: 0.83em;
                    font-weight: 500;
                }
            }
            &::after {
                content: "";
                display: block;
                width: 5px;
                height: 9px;
                background: url(../images/arrow-black.svg) no-repeat center / contain;
                .toppage & {
                    background-image: url(../images/arrow-white.svg);
                }
                position: absolute;
                top: 0;
                bottom: 0;
                right: 20px;
                @include maxwidth(768) { right: 10px; }
                margin: auto;
            }
            &[target="_blank"]::after {
                width: 10px;
                height: 10px;
                background-image: url(../images/icon-target-blank-black.svg);
                .toppage & {
                    background-image: url(../images/icon-target-blank.svg);
                }
            }

            @media (any-hover: hover) {
                &:hover { opacity: 0.8; }
            }
        }
    }
}

.recruit-terms {
    position: relative;
    &:has(+ .recruit-headline) { margin-bottom: 30px; }
    ul {
        display: flex;
        flex-wrap: wrap;
        gap: 7px;
        li {
            @include f_all(13);
            font-weight: 500;
            @include maxwidth(768) {
                flex-basis: calc((100% - 7px) / 2);
                &:has(> .all) { flex-basis: 100%; }
            }
            a {
                --recruit-term-color: transparent;
                @include flex_centering;
                min-width: 195px;
                @include maxwidth(768) { min-width: initial; }
                min-height: 40px;
                background-color: var(--recruit-term-color);
                box-sizing: border-box;
                border-bottom: solid 1px;
                position: relative;
                &.current {
                    --recruit-term-color: $basetextcolor;
                    color: $themetextcolor;
                    border: none;
                    &.yghd { --recruit-term-color: $yghdColor; }
                    &.yg { --recruit-term-color: $ygColor; }
                    &.sd { --recruit-term-color: $sdColor; }
                    &.rira { --recruit-term-color: $riraColor; }
                }
            }
        }
    }
}

.recruit-headline {
    position: relative;
    &.rest-headline {
        display: flex;
        flex-wrap: wrap;
        gap: 20px;
        margin-top: 40px;
        @include maxwidth(768) { gap: 5px; }
        a { text-decoration: none !important; }
    }
    .headline-items {
        display: flex;
        flex-wrap: wrap;
        gap: 20px;
        @include maxwidth(768) { gap: 5px; }
    }
    .headline-item {
        flex-basis: calc((100% - (20px * 2)) / 3);
        @include maxwidth(1024) {
            flex-basis: calc((100% - (20px * 1)) / 2);
        }
        @include maxwidth(768) { flex-basis: 100%; }
        height: auto;
        &__link {
            --change-color: $basetextcolor;
            color: $basetextcolor;
            display: block;
            padding: 20px;
            box-sizing: border-box;
            background-color: color-mix(in srgb, var(--change-color), $basecolor 90%);
            height: 100%;
            position: relative;
            &>span { display: block; }
            .terms {
                @include f_all(13);
                @include maxwidth(768) { @include f_all(12); }
                font-weight: 600;
                display: flex;
                flex-wrap: wrap;
                gap: 4px;
                .term {
                    color: $themetextcolor;
                    display: inline-flex;
                    align-items: center;
                    justify-content: center;
                    padding: 0 10px 1px;
                    box-sizing: border-box;
                    background-color: $basetextcolor;
                    min-height: 22px;
                    position: relative;
                    &.yghd { background-color: $yghdColor }
                    &.yg { background-color: $ygColor; }
                    &.sd { background-color: $sdColor; }
                    &.rira { background-color: $riraColor; }
                    &.recruitcategory {
                    }
                }
            }
            .title {
                @include f_all(15);
                font-weight: bold;
                line-height: 1.5;
                margin-top: 10px;
                min-height: 3.5em;
                @include maxwidth(768) {
                    @include f_all(14);
                    // margin-top: 8px;
                }
                @media screen and (min-width: 769px) {
                    // min-height: 3.5em;
                }
            }
            .address {
                // @include maxwidth(768) { display: none !important; }
                &>* { display: block; }
                &-title {
                    @include f_all(14);
                    font-weight: bold;
                    line-height: 1.5;
                    padding-bottom: 5px;
                    margin-bottom: 10px;
                    position: relative;
                    &::before {
                        content: "";
                        display: block;
                        width: 20px;
                        height: 2px;
                        background-color: var(--change-color);
                        position: absolute;
                        left: 0;
                        bottom: 0;
                    }
                }
                &-text {
                    @include f_all(13);
                    font-weight: 500;
                    line-height: 1.5;
                    padding-right: 30px;
                    box-sizing: border-box;
                }
            }

            &::after {
                content: "";
                display: block;
                width: 40px;
                height: 40px;
                @include maxwidth(768) {
                    width: 35px;
                    height: 35px;
                }
                position: absolute;
                bottom: 0;
                right: 0;
                background: url(../images/arrow-white.svg) no-repeat center / 8px auto;
                background-color: var(--change-color);
                // @include maxwidth(768) {
                //     background-image: url(../images/arrow-black.svg);
                //     background-color: transparent !important;
                //     position: absolute;
                //     right: 6px;
                //     top: 0;
                //     margin: auto;
                // }
            }

            // &[href="javascript:void(0)"] {
            //     &::after { display: none; }
            // }
            
            &[target="_blank"] {
                &::after {
                    background-image: url(../images/icon-target-blank.svg);
                    background-size: 12px auto;
                }
            }

            
            @media (any-hover: hover) {
                &:hover {
                    .toppage & {
                        filter: brightness(1.1);
                        -webkit-filter: brightness(1.1);
                    }
                    .subpage & {
                        filter: brightness(0.95);
                        -webkit-filter: brightness(0.95);
                    }
                }
            }
        }
        &.yghd .headline-item__link {
            --change-color: $yghdColor;
        }
        &.yg .headline-item__link {
            --change-color: $ygColor;
        }
        &.sd .headline-item__link {
            --change-color: $sdColor;
        }
        &.rira .headline-item__link {
            --change-color: $riraColor;
        }
    }
}

// === Toppage
@keyframes mask-animation {
    0% {
      -webkit-mask-position: center bottom;
      mask-position: center bottom;
      opacity: 0;
    }
    20% { opacity: 1; }
    to {
      -webkit-mask-position: center 0%;
      mask-position: center 0%;
      -webkit-mask-size: auto 500%;
      mask-size: auto 500%;
      opacity: 1;
    }
}
// @企業概要
#toppageMessage {
    color: $themetextcolor;
    padding: 180px 0 160px;
    position: relative;
    z-index: 2;
    @include maxwidth(768) {
        padding: 100px 0 70px;
    }
    .container {
        @include container(1140, 20);
        .cols {
            display: flex;
            align-items: center;
            justify-content: space-between;
            gap: 3rem;
            @include maxwidth(1024) {
                align-items: initial;
                justify-content: initial;
                flex-wrap: wrap;
                &>* {
                    flex-basis: 100% !important;
                    max-width: 500px;
                    width: 100%;
                    margin-left: auto;
                    margin-right: auto;
                }
            }
            @include maxwidth(768) { gap: 40px; }
            .col {
                flex-basis: 500px;
                .c-heading {
                    .en {  }
                    .ja {
                        margin-top: 0.8em;
                        @include maxwidth(1024) {
                            text-align: center;
                            margin-top: 0;
                        }
                        @include maxwidth(320) { @include f_all(16); }

                    }
                    &.js-scroll-trigger {
                        opacity: 0;
                        filter: blur(2px);
                        transform: translateY(10px);
                        transition: 1s ease;
                        &.inview {
                            opacity: 1;
                            filter: blur(0px);
                            transform: translateY(0px);
                        }
                    }
                }

                .text {
                    @include f_all(14);
                    font-weight: 500;
                    line-height: 2;
                    margin-top: 20px;
                    @include maxwidth(768) { margin-top: 1em; }
                    &.js-scroll-trigger {
                        opacity: 0;
                        filter: blur(2px);
                        transform: translateY(10px);
                        transition: 1s ease;
                        &.inview {
                            opacity: 1;
                            filter: blur(0px);
                            transform: translateY(0px);
                        }
                    }
                }

                .c-buttons {
                    margin-top: 30px;
                    &.js-scroll-trigger {
                        opacity: 0;
                        filter: blur(2px);
                        transform: translateY(10px);
                        transition: 1s ease;
                        &.inview {
                            opacity: 1;
                            filter: blur(0px);
                            transform: translateY(0px);
                        }
                    }
                }

                .c-button {
                    &__link {  }
                }
                
                .image {
                    aspect-ratio: 502 / 495;
                    @include maxwidth(768) { aspect-ratio: 1; }
                    position: relative;
                    will-change: opacity, transform, mask-position;
                    &>img {
                        width: 100%;
                        height: 100%;
                        object-fit: cover;
                    }
                    &.js-scroll-trigger {
                        -webkit-mask-image: url(../images/mask.png);
                        mask-image: url(../images/mask.png);
                        mask-mode: alpha;
                        -webkit-mask-position: center bottom;
                        mask-position: center bottom;
                        -webkit-mask-repeat: no-repeat;
                        mask-repeat: no-repeat;
                        -webkit-mask-size: 100% 300%;
                        mask-size: 100% 300%;
                        opacity: 0;
                        &.inview {
                            -webkit-animation: 2s mask-animation cubic-bezier(0, 0.4, 0.48, 1) 0s forwards;
                            animation: 2s mask-animation cubic-bezier(0, 0.4, 0.48, 1) 0s forwards;
                        }
                    }
                }
            }
        }
    }
}

@keyframes splitTextMove {
    0% { transform: translateY(0em); }
    50% { transform: translateY(-0.5em); }
    100% { transform: translateY(0em); }
}

@keyframes displayFigure {
    0% {
        opacity: 0;
        transform: translate(0, 50px) scale(0.50);
    }
    35% { opacity: 1; }
    70% {
        opacity: 1;
        transform: translate(0, -15px) scale(1);
    }
    100% {
        opacity: 1;
        transform: translate(0, 0) scale(1);
    }
}

// @事業紹介
#toppageBusiness {
    margin-top: -180px;
    @include maxwidth(1024) {
        margin-top: -200px;
    }
    padding: 190px 0 150px;
    @include maxwidth(768) {
        padding: 200px 0 120px;
    }
    position: relative;
    z-index: 1;
    &::before {
        content: "";
        display: block;
        position: absolute;
        inset: 0;
        @include maxwidth(768) { inset: 0 0 200px 0; }
        background-color: $basecolor;
        clip-path: polygon(0 155px, 100% 0, 100% 100%, 0 calc(100% - 150px));
        @include maxwidth(768) {
            clip-path: polygon(0 40px, 100% 0, 100% 100%, 0 calc(100% - 40px));
        }
    }
    // &.js-scroll-trigger {
    //     .container {
    //         clip-path: inset(0 0 0 100%);
    //         transition: clip-path 1000ms ease-in-out;
    //     }
    //     &.inview .container { clip-path: inset(0 0 0 0); }
    // }
    .container, .container_sp {
        &.js-scroll-trigger {
            opacity: 0;
            /* ② マスク画像(左へ向かって透明になる直線グラデーション) */
            mask-image: linear-gradient(to left, rgba(0, 0, 0, 0) 0%, rgba(0, 0, 0, 0) 33%, #000 66%, #000 100%);
            /* Safariの旧実装対策 */
            -webkit-mask-image: linear-gradient(to left, rgba(0, 0, 0, 0) 0%, rgba(0, 0, 0, 0) 33%, #000 66%, #000 100%);
          
            /* ③ マスクを大きめに(横300%)して "動かす余白" を確保 */
            mask-size: 300% 100%;
            -webkit-mask-size: 300% 100%;
          
            /* ④ 初期は一番右に配置(右側が隠れている状態) */
            mask-position: 100% 0;
            -webkit-mask-position: 100% 0;
            
            /* 見た目のトランジション(要素を右へ動かす＋不透明化) */
            transition: all 2s ease-out;
            will-change: opacity, transform, mask-position;
          
            &.inview {
              opacity: 1;
              /* マスクを左端に移動させることで全体を表示 */
              mask-position: 0% 0;
              -webkit-mask-position: 0% 0;
            }
          }
    }
    .container {
        @include container(1280, 20);
        display: flex;
        align-items: center;
        gap: 1.5rem;
        @include maxwidth(768) { display: none !important; }
        .side {
            flex-shrink: 0;
            flex-basis: 285px;
            flex-basis: 295px;
            .c-heading { margin-left: 4.5em; }
            .nav {
                margin-top: 30px;
                ul {
                    display: flex;
                    flex-direction: column;
                    gap: 10px;
                    li {
                        --front-business-nav-item-color: $basetextcolor;
                        &:nth-child(1) { --front-business-nav-item-color: $yghdColor; }
                        &:nth-child(2) { --front-business-nav-item-color: $ygColor; }
                        &:nth-child(3) { --front-business-nav-item-color: $sdColor; }
                        &:nth-child(4) { --front-business-nav-item-color: $riraColor; }
                        a {
                            cursor: pointer;
                            display: flex;
                            justify-content: center;
                            flex-direction: column;
                            // padding-left: 65px;
                            padding: 0.2em 0.3em 0.3em 65px;
                            box-sizing: border-box;
                            min-height: 80px;
                            position: relative;
                            &::before {
                                content: "";
                                display: block;
                                width: 40px;
                                height: 100%;
                                position: absolute;
                                top: 0;
                                left: 0;
                                background: url(../images/arrow-white.svg) no-repeat left 17.5px center / 5px auto;
                                background-color: var(--front-business-nav-item-color);
                            }
                            &>* {
                                position: relative;
                                z-index: 1;
                            }
                            .idx {
                                @include f_all(20);
                                font-weight: bold;
                                line-height: 1.5;
                                color: var(--front-business-nav-item-color);
                            }
                            .name {
                                @include f_all(20);
                                font-weight: bold;
                                line-height: 1.5;
                            }
                            .name-en {
                                @include f_all(14);
                                line-height: 1.1;
                            }

                            @media (any-hover: hover) {
                                .name .char {
                                    display: inline-block;
                                    
                                }
                                &:hover {
                                    .name .char {
                                        animation: splitTextMove 300ms ease-in-out forwards;
                                        @for $c from 0 to 20 {
                                            &:nth-child(#{$c + 1}) {
                                                animation-delay: #{$c * 0.05}s;
                                            }
                                        }
                                    }
                                }
                            }
                        }
                    }
                }
            }
        }
        .figure-image {
            &>img {  }
        }
    }

    // スマホ幅用
    .container_sp {
        position: relative;
        @media screen and (min-width: 769px) {
            display: none !important;
        }
        .head { }
        .body {
            margin-top: 35px;
            .biz-cards {
                &-wrapper {  }
            }
            .biz-card {
                --biz-card-themecolor: $basetextcolor;
                &.yghd { --biz-card-themecolor: $yghdColor; }
                &.yg { --biz-card-themecolor: $ygColor; }
                &.sd { --biz-card-themecolor: $sdColor; }
                &.rira { --biz-card-themecolor: $riraColor; }
                padding: 0 20px;
                box-sizing: border-box;
                position: relative;
                opacity: 0 !important;
                visibility: hidden;
                &.swiper-slide-active {
                    opacity: 1 !important;
                    visibility: visible;
                    .title {
                        .ja > span {
                            // animation: splitTextMove 300ms ease-in-out forwards;
                            transform: translate(0,0);
                            @for $c from 0 to 20 {
                                &:nth-child(#{$c + 1}) {
                                    transition-delay: #{$c * 0.05}s;
                                }
                            }
                        }
                        .en > span {
                            clip-path: inset(0 0 0 0);
                            transition: clip-path 500ms 200ms;
                        }
                    }
                    .content {
                        .img {
                            opacity: 1;
                            transition: opacity 0ms 200ms;
                            &>img {
                                animation: displayFigure 500ms 200ms ease-in-out forwards;
                            }
                        }
                    }
                }
                .title {
                    display: flex;
                    flex-direction: column;
                    align-items: center;
                    line-height: 1.5;
                    .idx {
                        color: var(--biz-card-themecolor, $basetextcolor);
                        @include f_all(20);
                        font-weight: bold;
                    }
                    .ja {
                        @include f_all(18);
                        font-weight: bold;
                        margin-top: 1px;
                        overflow: hidden;
                        .char {
                            display: inline-block;
                            transform: translate(0,100%);
                            transition: 300ms ease-in-out;
                        }
                    }
                    .en {
                        @include f_all(13);
                        margin-top: 2px;
                        &>span {
                            display: inline-block;
                            clip-path: inset(0 100% 0 0);
                        }
                    }
                }
                .content {
                    margin-top: 20px;
                    &>*:not(:first-child) {
                        margin-top: 24px;
                    }
                    .img {
                        display: block;
                        text-align: center;
                        opacity: 0;
                        margin: 0 8px;
                        &>img {
                            animation: none;
                        }
                    }
                    .link {
                        color: $themetextcolor;
                        @include f_all(14);
                        font-weight: bold;
                        line-height: 1.1;
                        @include flex_centering;
                        padding: 10px 32px;
                        box-sizing: border-box;
                        background-color: var(--biz-card-themecolor, #000);
                        min-height: 45px;
                        position: relative;
                        &::after {
                            content: "＋";
                            display: block;
                            position: absolute;
                            top: 0;
                            bottom: 0;
                            right: 16px;
                            margin: auto;
                            @include flex_centering;
                        }
                    }
                }
            }
            .biz-button {
                &-prev, &-next {
                    cursor: pointer;
                    display: block;
                    width: 60px;
                    height: 60px;
                    background: url(../images/arrow-white.svg) no-repeat right 70% center / 5px auto;
                    background-color: $basetextcolor;
                    border-radius: 60px;
                    position: absolute;
                    top: 1rem;
                    z-index: 15;
                    transition: transform 300ms;
                }
                &-prev {
                    left: -28px;
                    transform: scale(-1, 1);
                    @media (any-hover: hover) {
                        &:hover {
                            transform: scale(-1, 1) translateX(5px);
                        }
                    }
                }
                &-next {
                    right: -28px;
                    @media (any-hover: hover) {
                        &:hover {
                            transform: translateX(5px);
                        }
                    }
                }
            }
        }
    }
}

// @新着情報
#toppageNewstopics {
    margin-top: -150px;
    padding: 170px 0 70px;
    @include maxwidth(1024) {
        margin-top: -240px;
        padding-top: 240px;
    }
    color: $themetextcolor;
    background-color: $basetextcolor;
    position: relative;
    .container {
        @include container(1280, 0);
        &.js-scroll-trigger {
            opacity: 0;
            /* ② マスク画像(上へ向かって透明になる直線グラデーション) */
            mask-image: linear-gradient(to top, rgba(0, 0, 0, 0) 0%, rgba(0, 0, 0, 0) 33%, #000 66%, #000 100%);
            /* Safariの旧実装対策 */
            -webkit-mask-image: linear-gradient(to top, rgba(0, 0, 0, 0) 0%, rgba(0, 0, 0, 0) 33%, #000 66%, #000 100%);
          
            /* ③ マスクを大きめに(縦300%)して "動かす余白" を確保 */
            mask-size: 100% 300%;
            -webkit-mask-size: 100% 300%;
          
            /* ④ 初期は一番下に配置(下側が隠れている状態) */
            mask-position: 0 100%;
            -webkit-mask-position: 0 100%;
            
            /* 見た目のトランジション(要素を下へ動かす＋不透明化) */
            transition: all 2s ease-out;
            will-change: opacity, transform, mask-position;
          
            &.inview {
              opacity: 1;
              /* マスクを上端に移動させることで全体を表示 */
              mask-position: 0 0;
              -webkit-mask-position: 0 0;
            }
          }
        .head {
            .c-heading {
                align-items: center;
            }
        }
        .body {
            margin-top: 40px;
            .information-terms {
                // margin-right: -20px;
                // margin-left: -20px;
                @media screen and (min-width: 769px) {
                    .tab {
                        flex: 1;
                        min-width: initial;
                    }
                }
                @include maxwidth(1320) {
                    padding: 0 20px;
                    box-sizing: border-box;
                }
                @include maxwidth(768) {
                    flex-wrap: nowrap;
                    overflow-x: auto;
                }
            }
            .headline-box {
                padding: 50px 20px;
                box-sizing: border-box;
                background-color: #000;
                @include maxwidth(768) {
                    margin: 15px 0 0;
                    padding: 30px 20px;
                }
                &>* {
                    max-width: 980px;
                    width: 100%;
                    margin: auto;
                }
                .information-headline { }
            }
            .c-buttons {
                justify-content: flex-end;
                margin-top: 30px;
                @include maxwidth(768) {
                    align-items: flex-end;
                    margin-top: 15px;
                }
            }
        }
    }
}

// @グループ採用情報
#toppageRecruit {
    padding-top: 80px;
    background-color: $basetextcolor;
    position: relative;
    .bgimage {
        position: absolute;
        inset: 0px 0px 80px 0px;
        @include maxwidth(768) {
            inset: 0px 0px 180px 0px;
        }
        &>span {
            display: block;
            width: 100%;
            height: 100%;
            background-repeat: no-repeat;
            background-position: center center;
            background-size: cover;
            position: relative;
            &::after {
                content: "";
                @include absolute_centering;
                background: rgba(0, 0, 0, 0.50);
                backdrop-filter: blur(2px);
            }
        }
    }
    .l-top {
        color: $themetextcolor;
        position: relative;
        .container {
            @include container(1280, 20);
            z-index: 1;
            .head {
                .c-heading {
                    align-items: center;
                    .en { color: $themecolor3; }
                }
            }
            .body {
                margin-top: 40px;
                @include maxwidth(768) {
                    margin-top: 20px;
                }
                .recruit-headline {
                    .headline-items {
                        &.js-scroll-trigger {
                            .headline-item {
                                opacity: 0;
                                /* ② マスク画像(左へ向かって透明になる直線グラデーション) */
                                mask-image: linear-gradient(to left, rgba(0, 0, 0, 0) 0%, rgba(0, 0, 0, 0) 33%, #000 66%, #000 100%);
                                /* Safariの旧実装対策 */
                                -webkit-mask-image: linear-gradient(to left, rgba(0, 0, 0, 0) 0%, rgba(0, 0, 0, 0) 33%, #000 66%, #000 100%);
                              
                                /* ③ マスクを大きめに(横300%)して "動かす余白" を確保 */
                                mask-size: 300% 100%;
                                -webkit-mask-size: 300% 100%;
                              
                                /* ④ 初期は一番右に配置(右側が隠れている状態) */
                                mask-position: 100% 0;
                                -webkit-mask-position: 100% 0;
                                
                                /* 見た目のトランジション(要素を右へ動かす＋不透明化) */
                                transform: translateX(-10px) scale(1.02);
                                transition: all 1s ease-out;
                                will-change: opacity, transform, mask-position;
                                @for $i from 0 to 20 {
                                    &:nth-child(#{$i + 1}) {
                                        transition-delay: #{$i * 0.2}s;
                                    }
                                }
                            }
                            &.inview .headline-item {
                              opacity: 1;
                              /* マスクを左端に移動させることで全体を表示 */
                              mask-position: 0% 0;
                              -webkit-mask-position: 0% 0;
                              transform: translateX(0) scale(1);
                            }
                          }
                    }
                }
            }
        }
    }
    .l-foot {
        margin-top: 50px;
        @include maxwidth(768) { margin-top: 80px; }
        background-color: $basetextcolor;
        .banner {
            max-width: 1320px;
            width: 100%;
            margin: auto;
            padding: 0 20px;
            box-sizing: border-box;
            position: relative;
            .banner-items {
                @media screen and (min-width: 1025px) {
                    display: flex;
                    flex-wrap: wrap;
                    gap: 20px;
                }

                @media screen and (min-width: 1025px) {
                    &.js-scroll-trigger {
                        .banner-item {
                            transform: translateY(100%);
                            transition: 1s ease-out;
                            @for $i from 0 to 4 {
                                &:nth-child(#{$i + 1}) {
                                    transition-delay: #{$i * 0.5}s;
                                }
                            }
                        }
                        &.inview .banner-item {
                            opacity: 1;
                            transform: translateY(0px);
                        }
                    }
                }
            }
            .banner-item {
                @media screen and (min-width: 1025px) {
                    flex-basis: calc((100% - (20px * 3)) / 4);
                }
                @include maxwidth(1024) { width: 335px; }
                @include maxwidth(375) { width: (335 / 375 * 100vw); }
                height: auto;
                &__link {
                    &.yghd {
                        &::after { background-color: $yghdColor; }
                    }
                    &.yg {
                        &::after { background-color: $ygColor; }
                    }
                    &.sd {
                        &::after { background-color: $sdColor; }
                    }
                    &.rira {
                        &::after { background-color: $riraColor; }
                    }
                    color: $themetextcolor;
                    @include flex_centering;
                    min-height: 200px;
                    @include maxwidth(768) {
                        min-height: 150px;
                    }
                    position: relative;
                    overflow: hidden;
                    .title {
                        @include f_all(20);
                        @include maxwidth(768) { @include f_all(18); }
                        font-weight: bold;
                        line-height: 1.5;
                        text-align: center;
                        position: relative;
                        z-index: 5;
                        transition: 300ms;
                    }
                    .image {
                        @include absolute_centering;
                        background-repeat: no-repeat;
                        background-position: center center;
                        background-size: cover;
                        transition: 300ms;
                        &::after {
                            content: "";
                            @include absolute_centering;
                            background-color: rgba(#000, 0.5);
                            transition: 300ms;
                        }
                    }
                    &::after {
                        content: "";
                        display: block;
                        width: 40px;
                        height: 40px;
                        background: url(../images/arrow-white.svg) no-repeat center / 6px auto;
                        background-color: $basetextcolor;
                        position: absolute;
                        right: 0;
                        bottom: 0;
                        @include maxwidth(768) {
                            width: 30px;
                            height: 30px;
                        }
                    }

                    &[target="_blank"] {
                        &::after {
                            background-image: url(../images/icon-target-blank.svg);
                            background-size: 12px auto;
                        }
                    }

                    @media (any-hover: hover) {
                        &:hover {
                            .title { letter-spacing: 0.08em; }
                            .image { transform: scale(1.2); }
                            .image::after { background-color: rgba(#000, 0.75); backdrop-filter: blur(2px); }
                        }
                    }
                }
            }
        }
    }
}

// モーダルの後ろが動かないようにするため
body.modal-open { overflow: hidden; }

@keyframes animate001 {
    from {
        clip-path: inset(0% 0% 0% 0%);
    }
    to {
        clip-path: inset(100% 0% 0% 0%);
    }
}

// @スプリットレイアウト
#splitLayout {
    position: fixed;
    inset: 0;
    z-index: 200;
    pointer-events: none;
    &.open { pointer-events: all; }
    &.open .container:after { opacity: 1; }
    .container {
        position: fixed;
        inset: 0;
        display: flex;
        &::before {
            content: "Business Overview";
            @include ff_en;
            @include f_all(20);
            @include maxwidth(768) { @include f_all(15); }
            @include maxwidth(768) { font-size: clamp(15px,(20 / 768 * 100vw),20px); }
            color: $themecolor;
            font-weight: 600;
            position: fixed;
            z-index: 6;
            top: 6vh;
            left: (60 / 1440 * 100vw);
            @include maxwidth(768) {
                top: 20px;
                left: 5px;
            }
            writing-mode: vertical-rl;
            display: inline-block;
            width: 1em;
            opacity: 0;
            transform: translateX(-55vw);
            transition: 800ms ease-in-out;
            .modal-open & {
                opacity: 1;
                transform: translateX(0%);
            }
        }
        &::after {
            content: "";
            @include absolute_centering;
            background: rgba(0, 0, 0, 0.80);
            backdrop-filter: blur(4px);
            opacity: 0;
            transition: opacity 100ms;
        }
        &>a.close {
            position: fixed;
            top: 20px;
            right: 47vw;
            @include maxwidth(1440) { right: 46vw; }
            @include maxwidth(1200) { right: 45vw; }
            @include maxwidth(1024) { right: 18px; }
            z-index: 10;
            cursor: pointer;
            display: inline-block;
            width: 50px;
            height: 50px;
            border-radius: 50px;
            background-color: $accentcolor;
            opacity: 0;
            visibility: hidden;
            transform: translateY(-100%);
            transition: 400ms 0ms ease-in-out;
            @include maxwidth(768) { display: none !important; }
            .modal-open & {
                opacity: 1;
                visibility: visible;
                transition-delay: 600ms;
                transform: translateY(0%);
            }
            &>span {
                display: inline-block;
                width: 12px;
                height: 1px;
                background-color: #FFF;
                position: absolute;
                inset: 50% auto auto 50%;
                transform: translate(-50%, -50%);
                &:nth-child(1) {
                    transform: translate(-50%, -50%) rotate(45deg);
                }
                &:nth-child(2) {
                    transform: translate(-50%, -50%) rotate(-45deg);
                }
            }
        }
        &>* {
            flex-grow: 1;
            z-index: 5;
        }
        .l-left {
            flex-basis: 790px;
            background-color: $basecolor;
            padding: 6vh (80 / 1440 * 100vw) 6vh (150 / 1440 * 100vw);
            @include maxwidth(768) {
                padding: 50px 30px 60px 35px;
            }
            box-sizing: border-box;

            // スクロールバー
            overflow-y: auto;
            scrollbar-width: auto;
            scrollbar-color: $basetextcolor #d9d9d9;
            &::-webkit-scrollbar {
                width: 9px;
                @include maxwidth(768) { width: 5px; }
            }
            &::-webkit-scrollbar-track { background-color: #d9d9d9; }
            &::-webkit-scrollbar-thumb { background-color: $basetextcolor; border-radius: 20px; }

            transform: translateX(-100%);
            transition: 800ms ease-in-out;
            .modal-open & {
                transform: translateX(0%);
            }

            // .close {
            //     display: block;
            //     width: 50px;
            //     height: 50px;
            //     position: fixed;
            //     top: 5vh;
            //     right: 0;
            //     background-color: $basetextcolor;
            //     border-radius: 50px;
            // }
            

            .docs {
                &-wrapper {
                }
                --split-base-color: $basetextcolor;
                display: none;
                z-index: 0;
                &.act {
                    display: block;
                    z-index: 10;
                }
                &:nth-child(1) {
                    --split-base-color: $yghdColor;
                    .group a[target="_blank"]::after { background-image: url(../images/icon-target-blank-color4.svg) !important; }
                }
                &:nth-child(2) {
                    --split-base-color: $ygColor;
                    .group a[target="_blank"]::after { background-image: url(../images/icon-target-blank-color2.svg) !important; }
                }
                &:nth-child(3) {
                    --split-base-color: $sdColor;
                    .group a[target="_blank"]::after { background-image: url(../images/icon-target-blank-color3.svg) !important; }
                }
                &:nth-child(4) {
                    --split-base-color: $riraColor;
                    .group a[target="_blank"]::after { background-image: url(../images/icon-target-blank-color1.svg) !important; }
                }
                .title {
                    display: flex;
                    align-items: center;
                    gap: 20px;
                    @include maxwidth(1024) {
                        flex-direction: column;
                        gap: 0px;
                    }
                    &::before {
                        content: "";
                        flex-shrink: 0;
                        display: block;
                        width: 40px;
                        height: 40px;
                        background: url(../images/arrow-white-bottom.svg) no-repeat center / 9px auto;
                        background-color: var(--split-base-color);
                        @include maxwidth(1024) { display: none !important; }
                    }
                    .idx {
                        @include f_all(20);
                        font-weight: bold;
                        color: var(--split-base-color);
                        line-height: 1.5;
                    }
                    .box {
                        display: flex;
                        flex-direction: column;
                        @include maxwidth(1024) { align-items: center; }
                        .ja {
                            @include f_all(20);
                            @include maxwidth(768) { @include f_all(18); }
                            font-weight: bold;
                            line-height: 1.5;
                        }
                        .en {
                            @include f_all(14);
                            @include maxwidth(768) { @include f_all(13); }
                            line-height: 1.5;
                        }
                    }
                }
                .content {
                    margin-top: 20px;
                    &>*:not(:first-child) { margin-top: 30px; }
                    *.sp {
                        @media screen and (min-width: 1025px) { display: none !important; }
                    }
                    .image {
                        aspect-ratio: 560 / 373;
                        position: relative;
                        &>img {
                            width: 100%;
                            height: 100%;
                            object-fit: cover;
                        }
                    }
                    .group {
                        padding: 40px (40 / 1440 * 100vw) 50px;
                        @include maxwidth(768) {
                            padding: 25px 30px 40px 35px;
                            margin-right: -30px;
                            margin-left: -35px;
                        }
                        box-sizing: border-box;
                        // background-color: mix($basetextcolor, $basecolor, 0.1);
                        background-color: color-mix(in srgb, var(--split-base-color) 10%, $basecolor);
                        position: relative;

                        .close {
                            &-wrap {
                                position: absolute;
                                top: 0;
                                bottom: 15px;
                                margin: auto;
                                right: 10px;
                                z-index: 5;
                                @media screen and (min-width: 769px) {
                                    display: none !important;
                                }
                            }

                            cursor: pointer;
                            position: sticky;
                            top: 100%;
                            left: 0;
                            display: block;
                            width: 50px;
                            height: 50px;
                            border-radius: 50px;
                            // background-color: $basetextcolor;
                            background-color: $accentcolor;
                            &>span {
                                display: inline-block;
                                height: 1px;
                                width: 12px;
                                background-color: #FFF;
                                @include absolute_centering;
                                @include flex_centering;
                                &:nth-child(1) { transform: rotate(45deg); }
                                &:nth-child(2) { transform: rotate(-45deg); }
                            }
                        }
                        &__inner {
                            &>* {
                                @include f_all(14);
                                font-weight: 500;
                                line-height: 1.5;
                                strong {
                                    font-size: 1.15em;
                                    @include maxwidth(768) { font-size: 1.1em; }
                                    font-weight: bold;
                                }
                                &:first-child { margin-top: 0 !important; }
                                &:not(:first-child) {
                                    margin-top: 20px;
                                    @include maxwidth(768) { margin-top: 1rem; }
                                }
                            }
                        }
    
                        a {
                            text-decoration: underline;
                            color: var(--split-base-color);
                            &[target="_blank"] {
                                &::after {
                                    content: "";
                                    display: inline-block;
                                    width: 10px;
                                    height: 10px;
                                    background: url(../images/icon-target-blank-black.svg) no-repeat center / contain;
                                    margin-left: 0.2em;
                                }
                            }
                        }
    
                        .heading {
                            color: $themetextcolor;
                            @include f_all(16);
                            font-weight: 500;
                            line-height: 1.1;
                            display: flex;
                            align-items: center;
                            background-color: var(--split-base-color);
                            padding: 0.2em 0.95em;
                            box-sizing: border-box;
                            min-height: 30px;
                            margin-top: 30px;
                            position: relative;
    
                            &2 {
                                // color: $themecolor;
                                color: var(--split-base-color);
                                @include f_all(15);
                                font-weight: bold;
                                line-height: 1.5;
                                padding-bottom: 0.5em;
                                box-sizing: border-box;
                                border-bottom: dotted 2px;
    
                                &+* { margin-top: 15px; }
                            }
                        }
    
                        .leadtext {
                            @include f_all(16);
                            font-weight: 500;
                        }
    
                        .cols {
                            display: flex;
                            gap: 1rem;
                            @include maxwidth(768) {
                                flex-wrap: wrap;
                                gap: 0px;
                            }
                            .col {
                                flex-basis: 50%;
                                @include maxwidth(768) { flex-basis: 100%; }
                            }
                        }
    
                        .list {
                            @include f_all(14);
                            font-weight: 500;
                            line-height: 1.5;
                            li {
                                display: flex;
                                align-items: center;
                                gap: 0.9em;
                                &::before {
                                    content: "■";
                                    flex-shrink: 0;
                                    color: var(--split-base-color);
                                    font-size: 10px;
                                }
                            }
                        }
        
                        .table {
                            @include f_all(14);
                            font-weight: 500;
                            line-height: 1.2;
                            table {
                                width: 100%;
                                tr {
                                    &:last-child th,
                                    &:last-child td {
                                        border-bottom: none;
                                    }
                                    th, td {
                                        padding: 12px 20px;
                                        @include maxwidth(768) {
                                            padding-left: 1em;
                                            padding-right: 1em;
                                        }
                                        box-sizing: border-box;
                                        vertical-align: top;
                                        border-bottom: solid 1px $basecolor;
                                    }
                                    th {
                                        color: $themetextcolor;
                                        width: 120px;
                                        background-color: $basetextcolor;
                                    }
                                    td {
                                        background-color: $basecolor;
                                    }

                                    @include maxwidth(768) {
                                        &, th, td {
                                            display: block !important;
                                            width: 100% !important;
                                            border: none !important;
                                        }
                                    }
                                }
                            }
                        }
        
                        .gmap {
                            aspect-ratio: 480 / 250;
                            @include maxwidth(768) { aspect-ratio: 305 / 180; }
                            @include maxwidth(375) {
                                aspect-ratio: auto;
                                height: 180px;
                            }
                            background-color: #3e3a39;
                            // height: 250px;
                            position: relative;
                            iframe {
                                width: 100% !important;
                                height: 100% !important;
                            }
                        }

                        .gallery {
                            display: flex;
                            flex-wrap: wrap;
                            gap: 0px;
                            &-item {
                                flex-basis: 50%;
                                @include maxwidth(768) { flex-basis: 100%; }
                                aspect-ratio: 305 / 186;
                                position: relative;
                                &>img {
                                    width: 100%;
                                    height: 100%;
                                    object-fit: cover;
                                }
                            }
                        }
                    }
    
                }
                .nav-items {
                    margin-top: 20px;
                    display: flex;
                    flex-wrap: wrap;
                    gap: 1px;
                    @include maxwidth(768) { gap: 5px; }
                    .nav-item {
                        flex-basis: calc((100% - 3px) / 3);
                        height: auto;
                        &:first-child { flex-basis: 100%; }
                        @include maxwidth(768) { flex-basis: 100% !important; }
                        &__link {
                            cursor: pointer;
                            color: $themetextcolor;
                            text-align: center;
                            @include f_all(14);
                            font-weight: 500;
                            line-height: 1.2;
                            @include flex_centering;
                            padding: 0.5em 0.75em 0.5em 1.5em;
                            box-sizing: border-box;
                            background-color: $basetextcolor;
                            height: 100%;
                            min-height: 60px;
                            @include maxwidth(768) { min-height: 50px; }
                            position: relative;
                            &::before {
                                content: "";
                                display: block;
                                width: 5px;
                                height: 9px;
                                background: url(../images/arrow-white.svg) no-repeat center / contain;
                                position: absolute;
                                top: 0;
                                bottom: 0;
                                left: 15px;
                                margin: auto;
                            }
                            &[data-target="1"] { background-color: $yghdColor; }
                            &[data-target="2"] { background-color: $ygColor; }
                            &[data-target="3"] { background-color: $sdColor; }
                            &[data-target="4"] { background-color: $riraColor; }
                        }
                    }
                }
            }
        }
        .l-right {
            flex-basis: 650px;
            padding: 6vh (65 / 1440 * 100vw);
            box-sizing: border-box;
            // @include flex_centering;
            position: relative;

            @include maxwidth(1024) { display: none !important; }
            .gallery {
                // transform: translateX(100%);
                // opacity: 0;
                // transition: 800ms ease-in-out;
                // .modal-open & {
                //     opacity: 1;
                //     // transform: translateX(0%);
                // }

                width: 100%;
                height: auto;
                display: flex;
                flex-wrap: wrap;
                z-index: 1;
                position: relative;
                &-item {
                    --split-gallery-image-height: 22vh;
                    flex-basis: (100% / 2);
                    height: var(--split-gallery-image-height);
                    position: relative;
                    &:nth-child(1), &:nth-child(4) {
                        flex-basis: 100%;
                        height: calc(var(--split-gallery-image-height) * 1.5);
                    }
                    overflow: hidden;
                    @media screen and (max-height: 600px) {
                        flex-basis: (100% / 2) !important;
                        height: calc(var(--split-gallery-image-height) * 2) !important;
                    }
                    &>img {
                        position: absolute;
                        top: 0;
                        left: 0;
                        width: 100%;
                        height: 100%;
                        object-fit: cover;
                        clip-path: inset(0% 0% 100% 0%);
                        transition: 800ms ease-in-out;
                        &.act { 
                            clip-path: inset(0% 0% 0% 0%);
                            z-index: 5;
                        }
                        &.hidden {
                            animation: animate001 800ms ease-in-out;
                        }
                    }
                }
            }
        }
    }
}

// === Subpage

.subpage #content {
    background-color: $basecolor;
    padding-bottom: 100px;
    @include maxwidth(768) { padding-bottom: 80px; }
}

// サブページ見出し画像
#subpageHeadingVisual {
    position: relative;
    .visual {
        height: 250px;
        @include maxwidth(768) { height: 200px; }
        position: relative;
        &::after {
            content: "";
            @include absolute_centering;
            background: linear-gradient(180deg, rgba(0, 0, 0, 0.60) 0%, rgba(0, 0, 0, 0.00) 100%);
        }
        &>img {
            width: 100%;
            height: 100%;
            object-fit: cover;
        }
    }
}

// サブページトピックパス
#subpageTopicpath {
    color: $themetextcolor;
    padding: 1.05rem 0px;
    background-color: $basetextcolor;
    position: relative;
    .container {
        @include container(1200, 20);
        ul {
            display: flex;
            align-items: center;
            flex-wrap: wrap;
            li {
                display: inline-flex;
                align-items: center;
                &.ff_en {
                    @include ff_en;
                    @include f_all(16);
                    @include maxwidth(768) { @include f_all(15); }
                }
                &.ff_ja {
                    @include ff_ja;
                    @include f_all(13);
                    @include maxwidth(768) { @include f_all(12); }
                }
                font-weight: 600;
                text-transform: uppercase;
                &::after {
                    content: "";
                    flex-shrink: 0;
                    display: block;
                    width: 12px;
                    height: 12px;
                    background: url(../images/arrow-white.svg) no-repeat center / 4px auto;
                    background-color: $themecolor;
                    margin: 0.2em 0.55em 0;
                }
                &:last-child::after { display: none; }
                a {  }
            }
        }
    }
}

// サブページ大見出し
#subpageHeading {
    align-items: center;
    margin: 56px 1rem 30px;
    position: relative;
    .en { text-transform: uppercase; }
    .ja { text-align: center; }
}

// サブページコンテンツラッパー
#subpageContent {
    margin-top: 30px;
    position: relative;
    .container {
        @include container(1200, 20);
        .default {
            @include contentdefault;
            @include eachcss;
        }

        // グループ企業コーポレートサイト　一覧
        .yghd-group-list {
            display: flex;
            flex-wrap: wrap;
            gap: 20px;
            margin-left: 0 !important;
            list-style: none !important;
            @include maxwidth(768) { gap: 5px; }
            li {
                flex-basis: calc((100% - (20px * 2)) / 3);
                @include maxwidth(1024) { flex-basis: calc((100% - 20px) / 2); }
                @include maxwidth(768) { flex-basis: 100%; }
                height: auto;
                a {
                    text-decoration: none !important;
                    color: $themetextcolor;
                    @include flex_centering;
                    flex-direction: column;
                    justify-content: flex-end;
                    padding: 30px;
                    box-sizing: border-box;
                    align-items: center;
                    height: 100%;
                    min-height: 200px;
                    background-color: $basetextcolor;
                    position: relative;
                    @include maxwidth(768) {
                        padding: 20px;
                        min-height: 180px;
                    }
                    &>* {
                        display: block;
                        position: relative;
                        z-index: 1;
                    }
                    .name {
                        @include f_all(20);
                        @include maxwidth(768) { @include f_all(18); }
                        font-weight: bold;
                        text-align: center;
                        line-height: 1.5;
                    }
                    .cta {
                        color: $themetextcolor;
                        @include f_all(13);
                        font-weight: 500;
                        line-height: 1.2;
                        margin-top: 30px;
                        @include flex_centering;
                        width: 100%;
                        min-height: 40px;
                        background-color: $themecolor;
                        position: relative;
                        &::after {
                            content: "";
                            display: block;
                            width: 5px;
                            height: 9px;
                            background: url(../images/arrow-white.svg) no-repeat center / contain;
                            position: absolute;
                            top: 0;
                            bottom: 0;
                            right: 14px;
                            margin: auto;
                        }
                    }
                    .image {
                        display: block;
                        width: 100%;
                        height: 100%;
                        position: absolute;
                        top: 0;
                        left: 0;
                        z-index: 0;
                        background-repeat: no-repeat;
                        background-position: center center;
                        background-size: cover;
                        &::after {
                            content: "";
                            @include absolute_centering;
                            background-color: rgba(#000, 0.5);
                        }
                    }

                    &[target="_blank"] {
                        .cta {
                            &::after {
                                width: 10px;
                                height: 10px;
                                background-image: url(../images/icon-target-blank.svg);
                            }
                        }
                    }

                    @media (any-hover: hover) {
                        .cta {
                            background-color: transparent;
                            border: solid 1px #9FA0A0;
                        }
                        .image {
                            opacity: 0;
                            clip-path: inset(0% 100% 0% 0%);
                            transition: clip-path 200ms;
                        }
                        &:hover {
                            .cta {
                                background-color: $themecolor;
                                border-color: $themecolor;
                                transition: 200ms;
                            }
                            .image { 
                                opacity: 1;
                                clip-path: inset(0% 0% 0% 0%);
                            }
                        }
                    }
                }
            }
        }
    }
}

// ページャー
.rest-pager {
    text-align: center;
    margin: 40px 0;
    @include f_all(14);
    @include maxwidth(768) { @include f_all(13); }
    display: flex;
    align-items: flex-end;
    justify-content: center;
    flex-wrap: wrap;
    gap: 0.5em;
    .pagination-btn {
        cursor: pointer;
        border: none;
        background: none;
        display: inline-block;
        min-width: 2.85em;
        min-height: 2.85em;
        padding: 0 1em;
        box-sizing: border-box;
        background-color: mix($basetextcolor, $basecolor, 0.25);
        color: #fff;
        &.act { background-color: $basetextcolor; }
        &[disabled="disabled"] {
            opacity: 0.5;
            cursor: not-allowed;
        }
    }
}
.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: $basetextcolor;
    }
}

// 月別アーカイブ
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;
            }
        }
    }
}


@-webkit-keyframes rotation {
    0% {
      transform: rotate(0deg);
    }
    100% {
      transform: rotate(360deg);
    }
}
@keyframes rotation {
    0% {
      transform: rotate(0deg);
    }
    100% {
      transform: rotate(360deg);
    }
}

// お知らせ記事一覧
// WP REST API Fetch
#wp-rest-api-fetch, #wp-rest-api-fetch_recruit {
    .rest-error-message {  }
    //　ローディング実装
    .rest-loading {
        @include flex_centering;
        flex-direction: column-reverse;
        gap: 1rem;
        .loading-text {
            @include f_all(14);
            font-weight: 500;
        }
        .loading-i {
            width: 25px;
            height: 25px;
            border-radius: 50%;
            display: inline-block;
            border-top: 3px solid $accentcolor;
            border-right: 3px solid transparent;
            -webkit-animation: rotation 400ms linear infinite;
                    animation: rotation 400ms linear infinite;
        }
    }
}

// 採用情報タグフィルター
.recruit-tags {
    margin: 20px 0 30px;
    
    #recruitTagsForm {
        display: flex;
        align-items: flex-start;
        gap: 1rem;
        @include maxwidth(768) {
            flex-direction: column;
        }
        .recruit-tags-title {
            flex-shrink: 0;
            @include f_all(15);
            font-weight: 500;
            padding-top: 0.45em;
            display: inline-flex;
            align-items: center;
            &::before {
                content: "";
                flex-shrink: 0;
                display: inline-block;
                width: 1em;
                height: 2px;
                background: $accentcolor;
                margin-right: 0.5em;
                margin-top: 0.15em;
            }
            &::after {
                content: ":";
                flex-shrink: 0;
                margin-left: 0.25em;
            }
        }

        .recruit-tags-checkboxes {
            display: flex;
            flex-wrap: wrap;
            gap: 8px;
            @include maxwidth(768) {
                gap: 4px;
            }
            
            .recruit-tag-item {
                position: relative;
                
                input[type="checkbox"] {
                    position: absolute;
                    opacity: 0;
                    
                    &:checked + span {
                        color: #fff;
                        background-color: $themecolor;
                        border-color: $themecolor;
                    }
                    
                    // 選択状態でホバー時のみ×アイコン表示
                    &:checked:hover + span::before,
                    &:checked + span::before {
                        opacity: 1;
                        content: '×';
                    }
                    
                    // 未選択状態でホバー時のみ+アイコン表示
                    &:not(:checked):hover + span::before {
                        opacity: 1;
                        content: '+';
                    }
                    
                    &:hover + span {
                        border-color: $themecolor;
                    }
                }
                
                & > span {
                    position: relative;
                    display: inline-block;
                    padding: 0.55em 1em;
                    border: 1px solid #ddd;
                    border-radius: 3px;
                    background-color: #fff;
                    cursor: pointer;
                    @include f_all(14);
                    @include maxwidth(768) {
                        @include f_all(13);
                    }
                    transition: all 0.2s;
                    
                    &::before {
                        position: absolute;
                        left: 14px;
                        top: 50%;
                        transform: translateY(-50%);
                        opacity: 0;
                        transition: opacity 0.2s;
                        font-weight: bold;
                    }
                }
                
                // ホバー時のみ左paddingを調整
                input[type="checkbox"]:hover + span,
                input[type="checkbox"]:checked + span {
                    padding-left: 2.25em;
                }
            }
        }
        
        .recruit-tags-actions {
            flex-basis: 100%;
            
            .recruit-tags-clear {
                display: inline-block;
                padding: 6px 16px;
                background-color: #666;
                color: #fff;
                border-radius: 3px;
                text-decoration: none;
                font-size: 13px;
                
                &:hover {
                    background-color: #555;
                }
            }
        }
    }
}


.video-button {
    margin-top: 40px;
    flex: 100%;
    // @include maxwidth(1024) { flex: 100%; }
    &__link {
        text-decoration: none !important;
        color: $themetextcolor;
        @include f_all(18);
        font-weight: bold;
        text-align: center;
        line-height: 1.5;
        @include flex_centering;
        min-height: 100px;
        padding: 1em;
        box-sizing: border-box;
        background-color: $themecolor;
        position: relative;
        @include maxwidth(768) {
            @include f_all(15);
            min-height: 80px;
        }
        @include maxwidth(360) { @include f_all(13); }
        &::after {
            content: "";
            flex-shrink: 0;
            display: inline-block;
            width: 5px;
            height: 9px;
            background: url(../images/arrow-white.svg) no-repeat center / contain;
            margin-top: 2px;
            margin-left: 10px;
            @include maxwidth(768) { margin-left: 8px; }
        }
    }
}

body.single-recruit {
    .recruit-contents {
        margin-top: 40px;
        padding: 20px 30px 30px;
        @include maxwidth(768) { padding: 25px 15px; }
        box-sizing: border-box;
        background-color: $themecolor2;
        position: relative;
        &>*:not(:first-child) { margin-top: 15px; }
        h4 { font-size: 1.15em !important; }
        .text {
            @include f_all(14);
            font-weight: 500;
            line-height: 1.3;
            &>*:not(:first-child) { margin-top: 1em; }
        }
    }
}

// 採用情報アーカイブページ
@keyframes l23 {
    100% {transform: rotate(1turn)}
}
body.archive {
    .recruit-filters {
        .show_all {
            @include f_all(16);
            font-weight: bold;
            margin-bottom: 10px;
            a {
                cursor: pointer;
                color: $themetextcolor;
                @include flex_centering;
                min-height: 45px;
                background-color: $themecolor;
            }
        }
        &__container {  }
        &__section {
            display: flex;
            gap: 10px;
            @include maxwidth(480) {
                gap: 5px;
                flex-wrap: wrap;
            }
            &:not(:first-child) { margin-top: 5px; }
        }
        &__title {
            flex: 0 0 150px;
            color: $themetextcolor;
            @include flex_centering;
            @include f_all(15);
            font-weight: bold;
            background-color: $basetextcolor;
            padding: 1em 1em 1.15em;
            box-sizing: border-box;
            @include maxwidth(1024) {
                padding-top: 0.5em;
                padding-bottom: 0.55em;
                flex: 0 0 125px;
            }
            @include maxwidth(768) { @include f_all(14); }
            @include maxwidth(480) { flex: 100%; }
        }
        &__items {
            flex: 1;
            display: flex;
            flex-wrap: wrap;
            gap: 5px;
            @include maxwidth(1024) { align-items: center; }
        }
        &__item {
            cursor: pointer;
            @include f_all(14);
            font-weight: 500;
            flex: 0 0 175px;
            @include flex_centering;
            padding: 0px 1em 1px;
            min-height: 40px;
            background-color: mix($basetextcolor, $basecolor, 0.1);
            transition: background 200ms ease;
            @include maxwidth(1024) {
                flex: 0 0 auto;
                min-height: 25px;
            }
            &:has(>input[type="checkbox"]:checked) {
                background-color: $themecolor;
                color: #fff;
            }
            @media (any-hover: hover) {
                &:hover {
                    background-color: mix($basetextcolor, $basecolor, 0.2);
                }
            }
        }
        &__checkbox {
            width: 0;
            appearance: none; /* ブラウザ標準の描画を無効化 */
            -webkit-appearance: none; /* Safari用 */
            -moz-appearance: none; /* Firefox用 */
        }
        &__actions {
            @include flex_centering;
            flex-direction: column;
            gap: 10px;
            margin-top: 15px;
            button {
                cursor: pointer;
                @include ff_ja;
                @include f_all(15);
                font-weight: bold;
                background: none;
                border: none;
                @include flex_centering;
            }
            #recruit-search-btn {
                color: #FFF;
                background-color: #000;
                width: 360px;
                @include maxwidth(480) { width: 100%; }
                min-height: 45px;
                &::before {
                    content: "";
                    display: block;
                    width: 10px;
                    height: 10px;
                    background: url(../images/icon-megane-white.svg) no-repeat center / contain;
                    transform: scale(-1, 1);
                    margin-right: 10px;
                    margin-top: 0.15em;
                }
            }
            #recruit-reset-btn {
                color: $themecolor;
                @include f_all(14);
                &::before {
                    content: "";
                    display: block;
                    width: 12px;
                    height: 12px;
                    background: url(../images/icon-reset-color.svg) no-repeat center / contain;
                    margin-right: 10px;
                    margin-top: 0.25em;
                }
            }
        }
    }

    .recruit-results {
        margin-top: 30px;
        &__loading {
            @include flex_centering;
            flex-direction: column;
            gap: 10px;
            .loader {
                width: 35px;
                aspect-ratio: 1;
                display: grid;
                border-radius: 50%;
                background:
                    linear-gradient(0deg, rgba($themecolor, 0.5) 30%, transparent 0 70%, rgba($themecolor, 1) 0) 50% / 8% 100%,
                    linear-gradient(90deg, rgba($themecolor, 0.25) 30%, transparent 0 70%, rgba($themecolor, 0.75) 0) 50% / 100% 8%;
                background-repeat: no-repeat;
                animation: l23 1s infinite steps(12);
                &::before,
                &::after {
                   content: "";
                   grid-area: 1/1;
                   border-radius: 50%;
                   background: inherit;
                   opacity: 0.915;
                   transform: rotate(30deg);
                }
                &::after {
                   opacity: 0.83;
                   transform: rotate(60deg);
                }
            }
            .text {
                @include f_all(13);
                font-weight: 600;
                text-align: center;
            }
        }
        .recruit-headline {  }
        .noposts {
            flex-basis: 100%;
            @include f_all(13);
            font-weight: 600;
            padding: 2em 1em;
            // background-color: rgba($themecolor, 0.25);
            background-color: #e6e7ea;
            text-align: center;
        }
    }
}