// スタイルシート common

@charset "utf-8";

@import "mixin";

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

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

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

:where(figure) { margin: 0; }

@keyframes zoomUp {
  0% {
    transform: scale(1);
  }
  100% {
    transform: scale(1.15);
  }
}


// === Common

html { scroll-behavior: smooth; }

#bgMedia {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: 100vh;
    height: 100dvh;
    .movie { height: 100%; }
}

#wrapper { position: relative; z-index: 1; }

// パララックス画像
.parallax {
    &-wrapper {
        overflow: hidden;
        position: relative;
    }

    position: absolute;
    // bottom: 0;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}


.c-heading {
    padding-bottom: 5px;
    position: relative;
    @include flex_centering;
    .en {
        color: $themecolor2;
        font-size: 110px;
        @include maxwidth(1024) {
            font-size: clamp(75px,(110 / 1024 * 100vw),110px);
        }
        @include maxwidth(360) {
            font-size: clamp(50px,(75 / 360 * 100vw),75px);
        }
        font-weight: 300;
        line-height: 1;
        text-align: center;
        text-transform: uppercase;
    }   
    .ja {
        color: $themetextcolor;
        white-space: nowrap;
        font-size: 13px;
        @include maxwidth(768) { font-size: 14px; }
        font-weight: bold;
        display: inline-flex;
        align-items: center;
        justify-content: center;
        padding: 0 20px;
        box-sizing: border-box;
        background-color: $basetextcolor;
        min-height: 24px;
        position: absolute;
        left: 50%;
        bottom: 0;
        transform: translateX(-50%);
    }
}

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

.c-button {
    display: inline-block;
    height: auto;
    @include maxwidth(768) { width: 100%; }
    @media (any-hover: hover) {  }
    &__link {
        color: $themetextcolor;
        @include f_all(14);
        font-weight: bold;
        line-height: 1.2;
        @include flex_centering;
        background: $themecolor2;
        min-width: 250px;
        min-height: 50px;
        height: 100%;
        position: relative;
        
        @include maxwidth(768) { min-width: 100%; }

        @media (any-hover: hover) {
            // transition: background .4s;
            &:hover {
                // background-color: $themecolor;
            }
        }

    }
}

.movie {
    position: relative;
    .poster {
        height: 100%;
        &>img {
            width: 100%;
            height: 100%;
            object-fit: cover;
        }
    }
    .video {
        @include absolute_centering;
        z-index: 1;
        video {
            width: 100%;
            height: 100%;
            object-fit: cover;
        }
        &::after{
         content: '';
         display: block;
         @include absolute_centering;
        //  background-color: rgba(0, 0, 0, 0.05);
         background-image: radial-gradient(rgba(0, 0, 0, .90) 30%, transparent 31%), radial-gradient(rgba(0, 0, 0, .90) 30%, transparent 31%);
         background-size: 4px 4px;
         background-position: 0 0, 2px 2px;
        }
    }
}

#header {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    z-index: 20;
    &::before{
        content: '';
        display: inline-block;
        width: 462px;
        height: 80px;
        background-color: $themecolor;
        position: absolute;
        top: 0;
        left: 0;
        clip-path: polygon(0 0, 0% 100%, 100% 0);
        @include maxwidth(768) {
            width: 100%;
            height: 65px;
        }
    }
    .container {
        padding: 20px 0 20px 30px;
        box-sizing: border-box;
        display: flex;
        align-items: flex-start;
        justify-content: space-between;
        gap: 1em;
        position: relative;
        z-index: 1;
        @include maxwidth(1024) {
            padding: 15px;
        }
        .l-left {
            .sitename {
                h1 {
                    a {
                        @include flex_centering;
                        width: 150px;
                        height: 150px;
                        background-color: rgba($basecolor, .9);
                        position: relative;
                        @include maxwidth(768) {
                            width: 100px;
                            height: 100px;
                        }
                        img {
                            width: 100px;
                            @include maxwidth(768) { width: 70px; }
                        }
                    }
                }
            }
        }
        .l-right {
            @include f_all(15);
            font-weight: bold;
            display: flex;
            align-items: center;
            gap: 27px;
            .toppage & { color: $themetextcolor; }
            @include maxwidth(1200) { display: none !important; }
            .global-menu {
                nav {
                    &>ul {
                        display: flex;
                        align-items: center;
                        flex-wrap: wrap;
                        gap: calc(2em - 20px);
                        &>li {
                            position: relative;
                            &>a {
                            }
                            &>ul { 
                                position: absolute;
                                display: none;
                            }
                        }
                    }
                    a {
                        display: inline-flex;
                        align-items: center;
                        padding: 10px;
                        box-sizing: border-box;
                        gap: 0.4em;
                        @media (any-hover: hover) {
                            &:hover {
                                filter: opacity(80%);
                                -webkit-filter: opacity(80%);
                            }
                        }
                        &.parent {
                            &::after{
                                content: '＋';
                                color: $themetextcolor;
                                @include flex_centering;
                                font-size: 0.75em;
                                width: 12px;
                                height: 12px;
                                padding-bottom: 0.5px;
                                box-sizing: border-box;
                                background-color: $themecolor2;
                            }
                            &.active {
                                filter: opacity(80%);
                                -webkit-filter: opacity(80%);
                                &::after {
                                    content: '－';
                                    background-color: $accentcolor;
                                }
                            }
                        }
                    }
                    ul.children {
                        right: -20px;
                        display: flex;
                        flex-direction: column;
                        gap: 2px;
                        opacity: 0;
                        visibility: hidden;
                        clip-path: inset(0 0 100% 0);
                        transform: translate(10px, -10px) skew(-10deg);
                        transition-property: opacity visibility clip-path transform;
                        transition-duration: .2s;
                        &.open {
                            opacity: 1;
                            visibility: visible;
                            clip-path: inset(0 0 0 0);
                            transform: translate(0,0) skew(0deg);
                        }
                        &>li {
                            &>a {
                                color: $themetextcolor;
                                @include f_all(14);
                                font-weight: 500;
                                @include flex_centering;
                                width: 240px;
                                background-color: $themecolor2;
                                min-height: 40px;
                                position: relative;
                            }
                        }
                    }
                    @media (any-hover: hover) {
                        li:has(> .parent):hover {
                            &>.parent::after {
                                content: '－';
                                background-color: $accentcolor;
                            }
                            &>.children {
                                opacity: 1;
                                visibility: visible;
                                clip-path: inset(0 0 0 0);
                                transform: translate(0,0) skew(0deg);
                            }
                        }
                    }
                }
            }
            .aside-menu {
                @include f_all(13);
                font-weight: bold;
                ul {
                    display: flex;
                    li {
                        height: auto;
                        a {
                            color: $themetextcolor;
                            @include flex_centering;
                            min-width: 160px;
                            min-height: 45px;
                            height: 100%;
                            background-color: $themecolor2;
                            position: relative;
                            &.form {
                                gap: 8px;
                                &::before{
                                    content: '';
                                    display: inline-block;
                                    width: 14px;
                                    height: 10px;
                                    background: url(../images/icon-mail-white.svg) no-repeat center/contain;
                                    margin-top: 0.20em;
                                }
                            }

                            @media (any-hover) {
                                transition: 
                                    filter .4s,
                                    -webkit-filter .4s
                                ;
                                &:hover {
                                    filter: brightness(80%);
                                    -webkit-filter: brightness(80%);
                                }
                            }
                        }
                    }
                }
            }
        }
    }
    .recruit-button {

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

        position: absolute;
        top: 40px;
        right: 55px;
        @include maxwidth(768) { right: 50px; }
        z-index: 5;

        .subpage & {
            top: 20px;
        }

        &__link {
            color: $themetextcolor;
            @include f_all(15);
            font-weight: bold;
            @include flex_centering;
            background-color: $themecolor;
            padding: 10px;
            box-sizing: border-box;
            min-width: 180px;
            min-height: 55px;
            position: relative;
            @include maxwidth(768) {
                @include f_all(14);
                min-width: 160px;
                min-height: 50px;
            }
            @include maxwidth(360) { min-width: 140px; }
            &::before{
                flex-shrink: 0;
                content: '';
                display: inline-block;
                width: 15px;
                height: 16px;
                background: url(../images/icon-person.svg) no-repeat center/contain;
                margin-right: 8px;
            }
        }
    }
}

#mainVisual {
    position: relative;
    z-index: 1;
    .container {
        height: 100vh;
        height: 100svh;
        min-height: 600px;
        .admin-bar & {
            height: calc(100vh - 32px);
            height: calc(100svh - 32px);
        }
        @include maxwidth(768) {
            min-height: 500px;
            overflow: hidden;
        }
        &::before{
            content: '';
            display: block;
            width: 100%;
            height: 500px;
            background-color: $themecolor;
            clip-path: polygon(0 50%, 0 0, 100% 50%, 100% 100%);
            position: absolute;
            z-index: 2;
            left: 0;
            bottom: -310px;
            @include maxwidth(768) {
                height: 200px;
                bottom: -105px;
            }
        }
        position: relative;
        &::after {
            content: '';
            display: block;
            height: 260px;
            @include maxwidth(768) { 
                height: 170px;
            }
            position: absolute;
            z-index: 1;
            top: 0;
            left: 0;
            right: 0;
            margin: auto;
            background: linear-gradient(180deg, rgba(26, 26, 26, 0.60) 0%, rgba(0, 0, 0, 0.00) 100%);
        }
        #splitSlider {
            background-color: #000;
            height: calc(100vh + 60px);
            height: calc(100svh + 60px);
            min-height: 660px;
            .admin-bar & {
                height: calc(100vh + 60px - 32px);
                height: calc(100svh + 60px - 32px);
            }
            @include maxwidth(768) {
                height: 100vh !important;
                height: 100svh !important;
                min-height: 500px;
            }
            position: relative;
            overflow: hidden;
            .swiper {
                &-wrapper {  }
                &-slide {
                    &>img {
                        width: 100%;
                        height: 100%;
                        object-fit: cover;
                    }
                }
            }
            .split-slider-item {
                &.swiper-slide-active,
                &.swiper-slide-prev,
                &.swiper-slide-duplicate-active
                {
                    .split-slider-item__inner {
                        animation: zoomUp 7000ms linear forwards;
                    }
                }
                &__inner {
                    display: flex;
                    flex-wrap: wrap;
                    height: 100%;
                    position: relative;
                    &>div {
                        border: 1px solid transparent;
                        margin: -1px;
                    }
                    &>img {
                        position: absolute;
                        top: 0;
                        left: 0;
                        width: 100%;
                        height: 100%;
                        object-fit: cover;
                    }
                }
            }
        }
        #mvslider {
            background-color: #000;
            height: calc(100vh + 60px);
            height: calc(100svh + 60px);
            .admin-bar & {
                height: calc(100vh + 60px - 32px);
                height: calc(100svh + 60px - 32px);
            }
            @include maxwidth(768) {
                height: 100vh !important;
                height: 100svh !important;
            }
            position: relative;
            #mv_gl_images {
                height: 100%;
                &>img {
                    width: 100%;
                    height: 100%;
                    object-fit: cover;
                    &:not(:first-of-type) { display: none; }
                }
            }
            .swiper {
                &-wrapper {
                }
                &-slide {
                    height: calc(100vh + 60px);
                    height: calc(100svh + 60px);
                    .admin-bar & {
                        height: calc(100vh + 60px - 32px);
                        height: calc(100svh + 60px - 32px);
                    }
                    @include maxwidth(768) {
                        height: 100vh !important;
                        height: 100svh !important;
                    }
                    &::after{
                        content: '';
                        @include absolute_centering;
                        background-color: rgba(#000, 0.25);
                        @media screen and (min-width: 769px) { display: none; }
                    }
                    &>img {
                        width: 100%;
                        height: 100%;
                        object-fit: cover;
                    }
                }
            }
        }
        .movie {
            height: calc(100vh + 60px);
            height: calc(100svh + 60px);
            .admin-bar & {
                height: calc(100vh + 60px - 32px);
                height: calc(100svh + 60px - 32px);
            }
            @include maxwidth(768) {
                height: 100% !important;
            }
            .poster {
                &::after{
                    content: '';
                    @include absolute_centering;
                    background-color: rgba(#000, 0.25);
                    @media screen and (min-width: 769px) { display: none; }
                }
            }
        }
        .overlay {
            position: absolute;
            top: 50%;
            left: 0;
            transform: translateY(-50%);
            z-index: 5;
            display: flex;
            flex-direction: column;
            gap: 20px;
            @include maxwidth(480) { right: 0; }
            @include maxwidth(768) {
                top: auto;
                transform: none;
                bottom: 120px;
            }
            .text {
                color: $themetextcolor;
                @include ff_ja(serif);
                font-size: 64px;
                font-weight: bold;
                line-height: 1.4;
                padding-left: 40px;
                box-sizing: border-box;
                text-shadow: 0px 4px 6px rgba(0, 0, 0, 0.25);
                @include maxwidth(1200) {
                    font-size: clamp(36px,(64 / 1200 * 100vw),64px);
                    padding-left: (40 / 1200 * 100vw);
                }
                @include maxwidth(768) { padding: 0 15px; }
                @include maxwidth(360) {
                    font-size: clamp(28px,(36 / 360 * 100vw),36px);
                }

                br.sp {
                    @media screen and (min-width: 769px) { display: none; }
                }
            }
            .text-en {
                color: $themetextcolor;
                font-size: 15px;
                font-weight: 500;
                line-height: 1.2;
                text-shadow: 0px 4px 6px rgba(0, 0, 0, 0.25);
                padding: 0.15em 1em 0.2em 50px;
                box-sizing: border-box;
                min-height: 25px;
                position: relative;
                z-index: 0;
                @include maxwidth(1200) {
                    padding-left: (50 / 1200 * 100vw);
                }
                @include maxwidth(768) {
                    font-size: 14px;
                    padding-left: 15px;
                    padding-right: 15px;
                }
                &::before{
                    content: '';
                    @include absolute_centering;
                    background: linear-gradient(90deg, rgba(0, 145, 218, 0.80) 0%, rgba(0, 61, 108, 0.80) 100%);
                    backdrop-filter: blur(1px);
                    z-index: -1;
                }
            }
        }
        .scrolldown {
            @media screen and (min-width: 769px) { display: none; }
            position: absolute;
            bottom: 25px;
            left: 20px;
            z-index: 2;
        }
    }
    .overlay-foot {
        position: absolute;
        left: 0;
        right: 0;
        bottom: 25px;
        z-index: 10;
        @include maxwidth(768) {
            position: static;
        }
        &__inner {
            display: flex;
            align-items: flex-end;
            justify-content: space-between;
            flex-direction: row-reverse;
            gap: 2em;
            padding-left: 40px;
            @include maxwidth(1200) {
                padding-left: (40 / 1200 * 100vw);
            }
            @include maxwidth(768) { padding-left: 0; }
            box-sizing: border-box;
        }
        .headline {
            flex-basis: 720px;
            padding: 30px;
            box-sizing: border-box;
            background-color: #EFF1F7;
            display: flex;
            align-items: flex-start;
            gap: 20px;
            position: relative;
            @include maxwidth(768) {
                flex-basis: 100%;
                flex-direction: column;
                padding: 25px 30px;
            }
            .heading {
                flex-shrink: 0;
                @include f_all(16);
                font-weight: bold;
                line-height: 1.2;
                width: 110px;
                min-height: 20px;
                position: relative;
                @include maxwidth(768) {
                    width: 100%;
                    padding-bottom: 10px;
                    box-sizing: border-box;
                }
                &::after{
                    content: '';
                    display: inline-block;
                    width: 2px;
                    position: absolute;
                    top: 0;
                    bottom: 0;
                    right: 0;
                    background-color: $themecolor2;
                    margin: auto;
                    @include maxwidth(768) {
                        width: 20px;
                        height: 2px;
                        top: auto;
                        right: auto;
                        left: 0;
                    }
                }
            }
            .headline-list {
                .headline-item {
                    &__link {
                        display: flex;
                        align-items: center;
                        flex-wrap: wrap;
                        .date {
                            @include f_all(15);
                            font-weight: bold;
                            margin-right: 1em;
                        }
                        .terms {
                            @include f_all(12);
                            font-weight: bold;
                            @include maxwidth(768) { @include f_all(11); }
                            .term {
                                color: $themetextcolor;
                                display: inline-flex;
                                align-items: center;
                                justify-content: center;
                                padding: 1px 6px 2px;
                                box-sizing: border-box;
                                background-color: $basetextcolor;
                                min-height: 21px;
                                position: relative;
                                @include maxwidth(768) {
                                    padding-bottom: 3px;
                                    min-height: 18px;
                                }
                            }
                        }
                        .title {
                            flex-basis: 100%;
                            @include f_all(15);
                            font-weight: bold;
                            line-height: 1.5;
                            margin-top: 6px;
                            @include maxwidth(768) { @include f_all(14); }
                             overflow: hidden;
                            display: -webkit-box;
                            -webkit-box-orient: vertical;
                            -webkit-line-clamp: 2;
                            &>span {
                                &::after{
                                    content: '';
                                    display: inline-block;
                                    width: 10px;
                                    height: 10px;
                                    background: url(../images/arrow-black.svg) no-repeat center/contain;
                                }
                            }
                        }
                    }
                }
            }
        }
        .scrolldown {
            @include maxwidth(768) { display: none; }
            flex-shrink: 0;
            padding-bottom: 1em;
            box-sizing: border-box;
        }
    }
    .scrolldown {
        @include f_all(14);
        @include maxwidth(768) { @include f_all(12); }
        &__link {
            color: $themetextcolor;
            font-weight: 500;
            line-height: 1;
            display: inline-flex;
            align-items: center;
            gap: 10px;
            &::before{
                content: '';
                display: inline-block;
                width: 18px;
                height: 18px;
                background: url(../images/arrow-bottom-white.svg) no-repeat center/6px;
                background-color: $themecolor2;
            }
        }
    }
}

#contentFooter {
    &Contact {
        color: $themetextcolor;
        padding: 160px 0 140px;
        box-sizing: border-box;
        background-color: transparent;
        position: relative;
        overflow: hidden;
        @include maxwidth(768) {
            padding: 105px 0 55px;
        }
        &::before{
            content: '';
            @include absolute_centering;
            background-color: rgba(#000, 0.60);
            backdrop-filter: blur(2px);
            -webkit-backdrop-filter: blur(2px);
        }
        &::after {
            content: '';
            @include absolute_centering;
            background-color: rgba(#000, 0.4);
            @include maxwidth(768) { display: none; }
        }
        .container {
            @include container(1200, 30);
            z-index: 5;
            .head {
                .c-heading {
                    .en {  }
                    .ja {  }
                }
            }
            .body {
                margin-top: 30px;
                .sitename { 
                    @include f_all(20);
                    font-weight: bold;
                    line-height: normal;
                    text-align: center;
                }
                .address-items {
                    margin-top: 20px;
                    display: flex;
                    flex-wrap: wrap;
                    gap: 30px;
                    position: relative;
                    @include maxwidth(1024) { gap: 10px; }
                    .address-item {
                        color: $themetextcolor;
                        flex-basis: calc((100% - (30px * 2)) / 3);
                        @include maxwidth(1024) { flex-basis: calc((100% - (10px * 2)) / 3); }
                        @include maxwidth(768) { flex-basis: 100% !important; }
                        height: auto;
                        background-color: $themecolor;
                        padding: 30px;
                        box-sizing: border-box;
                        position: relative;
                        @include maxwidth(768) { padding: 20px; }
                        .title {
                            @include f_all(20);
                            @include maxwidth(768) { @include f_all(18); }
                            font-weight: bold;
                            line-height: normal;
                            text-align: center;
                            padding-bottom: 11px;
                            box-sizing: border-box;
                            position: relative;
                            &::after{
                                content: '';
                                width: 18px;
                                height: 2px;
                                background-color: $themecolor2;
                                position: absolute;
                                left: 50%;
                                bottom: 0;
                                transform: translateX(-50%);
                            }
                        }
                        .address {
                            @include f_all(14);
                            font-weight: 500;
                            line-height: 1.5;
                            text-align: center;
                            margin-top: 13px;
                        }
                    }
                }
                .contact-buttons {
                    margin-top: 30px;
                    display: flex;
                    flex-wrap: wrap;
                    gap: 10px 30px;
                    position: relative;
                    @include maxwidth(1024) {
                        margin-top: 10px;
                        gap: 10px;
                    }
                    .contact-button {
                        flex-basis: calc((100% - 30px) / 2);
                        @include maxwidth(1024) { flex-basis: calc((100% - 10px) / 2); }
                        @include maxwidth(768) { flex-basis: 100% !important; }
                        height: auto;
                        &__link {
                            color: $themetextcolor;
                            @include f_all(18);
                            font-weight: bold;
                            @include flex_centering;
                            min-height: 96px;
                            height: 100%;
                            background-color: $themecolor2;
                            position: relative;
                            @include maxwidth(768) {
                                @include f_all(15);
                                min-height: 80px;
                            }
                            .title { }
                            &.tel {
                                flex-direction: column;
                                .telnum {
                                    @include f_all(32);
                                    @include maxwidth(768) { @include f_all(28); }
                                    display: inline-flex;
                                    align-items: center;
                                    &::before{
                                        content: 'TEL';
                                        @include f_all(14);
                                        margin-top: 0.5em;
                                        margin-right: 1em;
                                    }
                                }
                                .teltime {
                                    @include f_all(14);
                                    margin-top: 6px;
                                    @include maxwidth(768) { @include f_all(13); }
                                }
                            }
                            &.form {
                                .title {
                                    padding-left: 20px;
                                    background: url(../images/icon-mail-white.svg) no-repeat left top 70%/14px auto;
                                }
                            }

                            @media (any-hover: hover) {
                                transition: 
                                    filter .4s,
                                    -webkit-filter .4s
                                ;
                                &:hover {
                                    filter: brightness(80%);
                                    -webkit-filter: brightness(80%);
                                }
                            }

                        }
                    }
                }
            }
        }
        .shape {
            position: absolute;
            z-index: 1;
            background-color: $themecolor;
            &.--top {
                bottom: calc(100% - 135px);
                left: 0;
                width: 100%;
                height: 694px;
                clip-path: polygon(0 30%, 100% 0, 100% 70%, 0% 100%);
                @include maxwidth(768) {
                    bottom: calc(100% - 90px);
                    height: 200px;
                }
            }
            &.--bottom {
                bottom: 0;
                right: 0;
                width: 462px;
                height: 80px;
                clip-path: polygon(100% 0, 0% 100%, 100% 100%);
                @include maxwidth(768) {
                    width: 345px;
                    height: 60px;
                }
            }
        }
    }
}

#footer {
    color: $themetextcolor;
    padding: 60px 0 40px;
    @include maxwidth(768) { padding: 40px 0 80px; }
    box-sizing: border-box;
    background: linear-gradient(180deg, #0091DA 0%, #003D6C 100%);
    position: relative;
    .container {
        @include container(1200, 30);
        @include maxwidth(768) {
            margin-left: 20px;
            margin-right: 20px;
        }
        display: flex;
        align-items: flex-start;
        flex-wrap: wrap;
        @include maxwidth(1024) {
            flex-direction: column;
            align-items: initial;
            &>* { 
                flex: none !important;
                width: 100%;
            }
        }
        .l-left {
            .sitename {
                @include maxwidth(1024) { text-align: center; }
                img { 
                    width: 280px;
                    @include maxwidth(1024) { width: 115px; }
                }
            }
            address {
                @include f_all(13);
                font-weight: 500;
                line-height: 1.5;
                margin-top: 10px;
                @include maxwidth(1024) {
                    text-align: center;
                    margin-top: 1em;
                }
                &>* {
                    &:not(:first-child) { margin-top: 1em; }
                }
            }
        }
        .l-right {
            flex: auto;
            @include maxwidth(1024) { margin-top: 30px; }
            .footer-menu {
                @include f_all(14);
                font-weight: 500;
                line-height: 1.2;
                display: flex;
                justify-content: flex-end;
                flex-wrap: wrap;
                gap: (120 / 1200 * 100%);
                @include maxwidth(1024) {
                    justify-content: center;
                }
                @include maxwidth(768) {
                    justify-content: initial;
                    flex-direction: column;
                    gap: 1px;
                }
                .item {
                    ul {
                        display: flex;
                        flex-direction: column;
                        gap: 1em;
                        @include maxwidth(768) { gap: 1px; }
                        &:not(:first-of-type) { 
                            margin-top: 1em;
                            @include maxwidth(768) { margin-top: 1px; }
                        }
                        li {
                            a {
                                display: inline-flex;
                                align-items: center;
                                @include maxwidth(768) {
                                    color: $themetextcolor;
                                    display: flex;
                                    align-items: center;
                                    padding: 0 1em 0 20px;
                                    box-sizing: border-box;
                                    background-color: $basetextcolor;
                                    min-height: 45px;
                                    position: relative;
                                }
                                &::before{
                                    content: '';
                                    display: inline-block;
                                    width: 8px;
                                    height: 8px;
                                    background-color: currentColor;
                                    clip-path: polygon(0 0, 0% 100%, 100% 50%);
                                    margin-right: 1em;
                                }

                                &.facebook {
                                    &::before {
                                        width: 16px;
                                        height: 16px;
                                        background: url(../images/icon-facebook-white.svg) no-repeat center/contain;
                                        margin-right: 10px;
                                        clip-path: inset(0 0 0 0);
                                    }
                                    @include maxwidth(768) {
                                        &[target="_blank"] {
                                            padding-left: 45px;
                                            &::after {
                                                margin: 0;
                                                position: absolute;
                                                top: 0;
                                                bottom: 0;
                                                left: 20px;
                                                margin: auto;
                                            }
                                        }
                                    }
                                }

                                &[target="_blank"] {
                                    &::after{
                                        content: '';
                                        display: inline-block;
                                        width: 11px;
                                        height: 11px;
                                        background: url(../images/icon-target-blank.svg) no-repeat center/contain;
                                        margin-left: 7px;
                                        margin-top: 0.2em;
                                    }
                                }

                                @media (any-hover: hover) {
                                    transition:
                                        filter .4s,
                                        -webkit-filter .4s
                                    ;
                                    &:hover {
                                        filter: brightness(80%);
                                        -webkit-filter: brightness(80%);
                                    }
                                }
                            }
                        }
                    }
                }
            }
        }
        #copyRight {
            flex-basis: 100%;
            text-align: right;
            margin-top: 87px;
            @include maxwidth(1024) { text-align: center; }
            @include maxwidth(768) { margin-top: 20px; }
            small {
                @include f_all(13);
                font-weight: 500;
            }
        }
    }
}

#gnav {
    &Wrap {
        position: fixed;
        top: 0;
        right: 0;
        bottom: 0;
        left: 0;
        z-index: 100;
        opacity: 0;
        visibility: hidden;
        background-color: rgba($basecolor, 0.90);

        .menu_open & {
            opacity: 1;
            visibility: visible;
        }

    }

    position: fixed;
    top: 0;
    .admin-bar & { top: 32px; }
    right: 0;
    bottom: 0;
    left: 0;
    // スクロールバー
    overflow-y: auto;
    -ms-overflow-style: none;
    scrollbar-width: none;
    &::-webkit-scrollbar { display: none; }
    padding: 80px 0;
    box-sizing: border-box;

    .container {
        @include container(900, 30);
        @include maxwidth(360) {
            margin-left: 20px;
            margin-right: 20px;
        }

        opacity: 0;
        visibility: hidden;
        transform: translateY(1em);
        transition-property: opacity, visibility, transform;
        transition-duration: .4s;

        .menu_open & {
            opacity: 1;
            visibility: visible;
            transform: translateY(0px);
        }
        .head {
            margin-bottom: 20px;
            .logo {
                @include flex_centering;
                img { width: 100px; }
            }
        }
        .menu {
            @include f_all(14);
            @include maxwidth(360) { @include f_all(13); }
            font-weight: 500;
            line-height: 1.2;
            ul {
                display: flex;
                flex-direction: column;
                gap: 1px;
                &:not(:first-of-type) { margin-top: 1px; }
                li {
                    a {
                        color: $themetextcolor;
                        display: flex;
                        align-items: center;
                        background-color: $basetextcolor;
                        padding: 0.25em 20px;
                        box-sizing: border-box;
                        min-height: 45px;
                        position: relative;
                        &::before{
                            content: '';
                            display: inline-block;
                            width: 10px;
                            height: 10px;
                            background: url(../images/arrow-white.svg) no-repeat center/contain;
                            margin-right: 1rem;
                        }
                        &[target="_blank"] {
                            &::after{
                                 content: '';
                                 display: inline-block;
                                 width: 11px;
                                 height: 11px;
                                 background: url(../images/icon-target-blank.svg) no-repeat center/contain;
                                 margin-left: 7px;
                                 margin-top: 0.2em;
                             }
                        }
                        &.tel {
                            font-weight: bold;
                            line-height: 1;
                            padding: 10px;
                            min-height: 80px;
                            @include flex_centering;
                            flex-direction: column;
                            background-color: $themecolor2;
                            &::before { display: none !important; }
                            .telnum {
                                @include f_all(32);
                                @include maxwidth(768) { @include f_all(28); }
                                @include maxwidth(360) { @include f_all(26); }
                                display: inline-flex;
                                align-items: center;
                                &::before{
                                    content: 'TEL';
                                    @include f_all(14);
                                    margin-top: 0.5em;
                                    margin-right: 1em;
                                }
                            }
                            .teltime {
                                @include f_all(14);
                                text-align: center;
                                margin-top: 6px;
                                @include maxwidth(768) { @include f_all(13); }
                                @include maxwidth(360) { @include f_all(12); }
                            }
                        }
                        &.facebook {
                            &::before {
                                width: 16px;
                                height: 16px;
                                background: url(../images/icon-facebook-white.svg) no-repeat center/contain;
                                margin-right: 10px;
                            }
                            @include maxwidth(768) {
                                &[target="_blank"] {
                                    padding-left: 45px;
                                    &::after {
                                        margin: 0;
                                        position: absolute;
                                        top: 0;
                                        bottom: 0;
                                        left: 20px;
                                        margin: auto;
                                    }
                                }
                            }
                        }

                    }
                }
            }

            a.parent {
            }

            ul.children {
                padding-top: 1px;
            }

        }
    }

}

.gnav-toggle {
    &-wrap {
        position: fixed;
        top: 20px;
        .admin-bar & { top: (20px + 32px); }
        right: 25px;
        z-index: 101;
        opacity: 0;
        visibility: hidden;
        .header_scrollout & {
            opacity: 1;
            visibility: visible;
        }

        @include maxwidth(1200) {
            position: absolute;
            top: 40px;
            .admin-bar & { top: 40px; }
            right: 0;
            .subpage & { top: 20px; }
            .admin-bar.subpage & { top: 20px; }
            opacity: 1;
            visibility: visible;

            .menu_open & {
                position: fixed;
                top: 20px;
                right: 10px;
            }
            .admin-bar.menu_open & {
                top: (20px + 32px);
            }
        }
    }

    cursor: pointer;
    color: $themetextcolor;
    @include f_all(14);
    font-weight: 500;
    line-height: 1;
    text-transform: uppercase;
    display: block;
    width: 55px;
    height: 55px;
    @include maxwidth(768) {
        width: 50px;
        height: 50px;
    }
    box-sizing: border-box;
    background-color: $themecolor2;
    
    .menu_open & {
        background-color: $accentcolor !important;
    }
    
    &>span {
        display: inline-block;
        width: 20px;
        height: 2px;
        background: currentColor;
        @include absolute_centering;
        &:nth-of-type(1) {
            transform: translateY(-7px);
            .menu_open & {
                transform: translateY(0px) rotate(45deg);
            }
        }
        &:nth-of-type(2) {
            .menu_open & {
                opacity: 0;
            }
        }
        &:nth-of-type(3) {
            transform: translateY(7px);
            .menu_open & {
                transform: translateY(0px) rotate(-45deg);
            }
        }
    }

}

#totop {
    &Wrap {
        position: fixed;
        right: 0;
        bottom: 0;
        z-index: 18;
        opacity: 0;
        visibility: hidden;
        .header_scrollout & {
            opacity: 1;
            visibility: visible;
        }

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

    cursor: pointer;
    color: $themetextcolor;
    @include f_all(14);
    font-weight: 500;
    line-height: 1;
    text-transform: uppercase;
    @include flex_centering;
    flex-direction: column;
    width: 55px;
    height: 55px;
    padding-top: 10%;
    box-sizing: border-box;
    background-color: $themecolor2;
    gap: 6px;
    &::before{
        content: '';
        display: block;
        width: 10px;
        height: 10px;
        background: url(../images/arrow-top-white.svg) no-repeat center/contain;
    }
}

// スマホ幅で出現するバナー
#spFootBanner {
    position: fixed;
    z-index: 20;
    left: 0;
    right: 0;
    bottom: 0;
    margin: auto;
    @media screen and (min-width: 769px) { display: none; }
    opacity: 0;
    visibility: hidden;
    transform: translateY(100%);
    .header_scrollout & {
        opacity: 1;
        visibility: visible;
        transform: translateY(0);
        transition: all .3s;
    }
    ul {
        display: flex;
        li {
            flex-basis: 50%;
            &:has(> .gnav-toggle) { flex-basis: auto; }
            a {
                color: $themetextcolor;
                @include f_all(14);
                font-weight: bold;
                @include flex_centering;
                padding: 5px;
                box-sizing: border-box;
                background-color: $basetextcolor;
                min-height: 55px;
                position: relative;
                &.recruit {
                    background-color: $themecolor;
                    &::before{
                        content: '';
                        display: inline-block;
                        width: 15px;
                        height: 16px;
                        background: url(../images/icon-person.svg) no-repeat center/contain;
                        margin-right: 10px;
                    }
                }
                &.form {
                    &::before{
                        content: '';
                        display: inline-block;
                        width: 14px;
                        height: 10px;
                        background: url(../images/icon-mail-white.svg) no-repeat center/contain;
                        margin-right: 6px;
                        margin-top: 0.15em;
                    }
                }

                &.gnav-toggle {
                    width: 55px;
                    height: 55px;
                    background-color: $themecolor2;
                    z-index: 101;
                }
            }
        }
    }
}

.headline {
    .noposts {
        p {
            @include f_all(15);
            padding: 1em;
            border-radius: 5px;
            text-align: center;
            box-sizing: border-box;
            background-color: $themecolor3;
        }
    }
}


// === Toppage

// ターム一覧
.term-list {
    @include f_all(15);
    @include maxwidth(768) { @include f_all(14); }
    font-weight: 500;
    line-height: 1.2;
    ul {
        display: flex;
        flex-wrap: wrap;
        gap: 4px;
        li {
            flex-basis: 200px;
            @include maxwidth(768) { flex-basis: 157px !important; }
            height: auto;

            .subpage & {
                flex-basis: calc((100% - (4px * 3)) / 4);
                @include maxwidth(768) {
                    flex-basis: calc((100% - (4px * 1)) / 2) !important;
                    &:has(> .all) {
                        flex-basis: 100% !important;
                    }
                }
            }

            a {
                @include flex_centering;
                padding: 10px 1em;
                box-sizing: border-box;
                background-color: $themecolor3;
                min-height: 45px;
                height: 100%;
                border-bottom: solid 2px $basetextcolor;
                position: relative;

                &.current {
                    font-weight: bold;
                    color: $themetextcolor;
                    background-color: $basetextcolor;
                }

                @media (any-hover: hover) {
                    transition: .2s;
                    &:hover {
                    }
                }

            }
        }
    }
}

#toppageAbout {
    color: $themetextcolor;
    padding: 300px 0;
    background-color: rgba(#000, .60);
    position: relative;
    overflow: hidden;
    @include maxwidth(768) { padding: 150px 0 200px; }
    .container {
        @include container(1200, 40);
        @include maxwidth(768) {
            margin-left: 30px;
            margin-right: 30px;
        }
        .head {
            .c-heading {
                @media screen and (min-width: 769px) {
                    display: inline-flex;
                    .en { text-align: left; }
                }
            }
        }
        .body {
            max-width: 540px;
            width: 100%;
            margin-top: 30px;
            @include maxwidth(768) {
                margin-left: auto;
                margin-right: auto;
            }
            .leadtext {
                @include ff_ja(serif);
                @include f_all(28);
                font-weight: bold;
                line-height: normal;
                @include maxwidth(768) {
                    @include f_all(24);
                    text-align: center;
                }
                &>span {
                    display: inline-block;
                    position: relative;
                    &::after{
                        content: attr(data-char);
                        display: inline-block;
                        @include absolute_centering;
                        display: none;
                    }
                }
            }
            .text {
                @include f_all(15);
                font-weight: 500;
                line-height: 2.2em;
                margin-top: 23px;
                @include maxwidth(768) {
                    @include f_all(14);
                }

                br.wide {
                    @include maxwidth(768) { display: none; }
                }
            }
            .c-buttons {
                margin-top: 30px;
                @include maxwidth(768) {
                    align-items: center;
                }
            }
        }
    }
    .shape {
        position: absolute;
        top: calc(100% - 184px);
        left: 0;
        width: 100%;
        height: 494px;
        background-color: $basecolor;
        clip-path: polygon(0 0, 100% 50%, 100% 100%, 0 50%);
        @include maxwidth(768) {
            top: calc(100% - 100px);
            height: 200px;
            clip-path: polygon(0 0, 100% 30%, 100% 100%, 0 70%);
        }
    }
}

#toppageBusiness {
    color: $themetextcolor;
    padding: 100px 0 195px;
    box-sizing: border-box;
    position: relative;
    @include maxwidth(1024) {
        padding-top: 0;
        padding-bottom: 40px;
    }
    .shape {
        position: absolute;
        top: calc((494px / 2) * -1);
        left: 0;
        width: 100%;
        height: 494px;
        background-color: $themecolor;
        z-index: 1;
        clip-path: polygon(0 50%, 100% 0%, 100% 50%, 0% 100%);
        @include maxwidth(768) {
            height: 200px;
            top: -100px;
            clip-path: polygon(0 30%, 100% 0%, 100% 70%, 0% 100%);
        }
    }
    .bgimage {
        @include absolute_centering;
        &>span {
            display: block;
            width: 100%;
            height: 100%;
            background-size: cover;
            background-position: center center;
            background-repeat: no-repeat;
        }
        &::after{
            content: '';
            @include absolute_centering;
            background-color: rgba(#000, 0.6);
            backdrop-filter: blur(6.5px);
            -webkit-backdrop-filter: blur(6.5px);
        }
    }
    .container {
        @include container(1360, 30);
        @include maxwidth(1024) {
            margin-left: 0;
            margin-right: 0;
        }
        z-index: 5;
        .columns {
            display: flex;
            align-items: center;
            justify-content: space-between;
            gap: 2em;
            @include maxwidth(1024) {
                flex-direction: column;
                align-items: initial;
                justify-content: initial;
                gap: 0px;
                &>* {
                    flex: none !important;
                }
            }
            .column {
                height: auto;
                &:nth-of-type(1) {
                    flex-basis: 320px;
                }
                &:nth-of-type(2) {
                    flex-basis: 480px;
                    padding: 60px 0;
                    box-sizing: border-box;
                    @include maxwidth(1024) { padding: 60px 30px; }
                    @include maxwidth(768) { padding: 40px 30px; }
                }
                &:nth-of-type(3) {
                    flex-basis: 320px;
                }

                .leadtext {
                    @include ff_ja(serif);
                    @include f_all(28);
                    @include maxwidth(768) { @include f_all(24); }
                    font-weight: bold;
                    line-height: 1.4;
                    text-align: center;
                    margin-top: 30px;
                }

                .text {
                    @include f_all(15);
                    font-weight: 500;
                    line-height: 2.2;
                    margin-top: 23px;
                    @include maxwidth(768) { @include f_all(14); }
                }

                .c-buttons {
                    align-items: center;
                    margin-top: 30px;
                }

                .body {
                    @include maxwidth(1024) {
                        max-width: 540px;
                        width: 100%;
                        margin: auto;
                    }
                }

                .image {
                    padding-top: (680 / 320 * 100%);
                    box-sizing: border-box;
                    position: relative;
                    @include maxwidth(1024) {
                        padding-top: 0;
                        height: (200 / 375 * 100vw);
                        max-height: 350px;
                    }
                    &>img {
                        // position: absolute;
                        // top: 0;
                        // left: 0;
                        // width: 100%;
                        // height: 100%;
                        // object-fit: cover;
                    }
                }
            }
        }
    }
}

// タブ　コンポーネント
.tab {
    &-trigger {
        padding-bottom: 16px !important;
        ul {
            display: inline-flex;
            flex-wrap: nowrap;
            gap: 0px !important;
            &>* { flex-shrink: 0; }
            a { min-width: 160px; }
            li {
                flex-basis: calc((100% - (4px * 5)) / 6);
                a {
                    &::after{
                        content: '';
                        display: block;
                        width: 12px;
                        height: 12px;
                        background-color: $basetextcolor;
                        position: absolute;
                        left: 50%;
                        bottom: -12px;
                        clip-path: polygon(50% 100%, 0 0, 100% 0);
                        opacity: 0;
                        transform: translateX(-50%) translateY(-100%);
                    }
                    &.current {
                        &::after {
                            opacity: 1;
                            transform: translateX(-50%);
                            transition: transform 0.3s, opacity 0.3s;
                        }
                    }
                }
            }
        }
    }
    &-contents {
        position: relative;
    }
    &-panel {
        transform: scale(0);
        position: absolute;
        top: 0;
        left: 0;
        .child-terms {
            ul {
                @include maxwidth(1320) { // 途中から適用
                    display: inline-flex !important;
                    flex-wrap: nowrap !important;
                    gap: 0 !important;
                    &>* { flex-shrink: 0; }
                    a { min-width: 88px; }
                }
                li {
                    flex-basis: auto;
                    width: auto;
                    opacity: 0;
                    transform: translateY(100%);
                    transition: opacity .2s, transform .2s;
                    a {
                    }
                }
            }
        }
        .headline-item {
            &::after{
                content: '';
                @include absolute_centering;
                background-color: $basecolor;
                clip-path: inset(0 0 0 0);
            }
        }
        &.active {
            transform: scale(1);
            position: static;
            .child-terms {
                ul {
                    li {
                        opacity: 1;
                        transform: translateY(0);
                        @for $i from 0 to 20 {
                            &:nth-of-type(#{$i + 1}) {
                                transition-delay: calc(#{$i} * 0.05s) !important;
                            }
                        }
                        a {
                        }
                    }
                }
            }
            .headline-item {
                &::after {
                    transition: clip-path .4s;
                    clip-path: inset(0 0 0 100%);
                }
            }
        }
    }
}

#toppageReport {
    margin-top: -60px;
    padding-bottom: 80px;
    box-sizing: border-box;
    background-color: $basecolor;
    position: relative;
    @include maxwidth(1024) {
        margin-top: 0;
        padding-top: 30px;
    }
    @include maxwidth(768) { padding-bottom: 50px; }
    @mixin report_container() {
        max-width: 1260px;
        width: 100%;
        margin-left: auto;
        margin-right: auto;
        padding-left: 30px;
        padding-right: 30px;
        box-sizing: border-box;
    }
    .shape {
        position: absolute;
        top: calc((494px / 2) * -1);
        left: 0;
        width: 100%;
        height: 494px;
        background-color: $basecolor;
        clip-path: polygon(0 50%, 100% 0, 100% 100%, 0% 100%);
        @include maxwidth(768) {
            top: -100px;
            height: 200px;
        }
    }
    .container {
        position: relative;
        z-index: 5;
        .head {}
        .body {
            margin-top: 40px;
            .tab {
                &-trigger {
                    @include report_container();
                }
                &-contents {
                }
                &-panel {

                    .child-terms {
                        @include report_container();
                        display: none;
                    }

                    .report-headline {
                        margin-top: 20px;

                        .noposts {
                            @include report_container();
                        }

                        // swiperを不適用時
                        &.no-app-swiper {
                            @include report_container();
                            .headline-list {
                                display: flex;
                                flex-wrap: wrap;
                                gap: 10px;
                            }
                            .headline-item {
                                width: calc((100% - (10px * 2)) / 3);
                                @include maxwidth(768) {
                                    width: calc((100% - 10px) / 2);
                                    max-width: initial;
                                }
                            }
                        }



                        .headline-list {
                            .headline-item {
                                &__link {
                                }
                            }
                        }
                    }

                }
            }
            .c-buttons {
                align-items: center;
                margin-top: 75px;
                @include maxwidth(768) { margin-top: 40px; }
                @include report_container();
            }
        }
    }
}

.child-terms {
    @include f_all(14);
    font-weight: 500;
    line-height: 1.2;
    .subpage & {
        margin-top: 10px;
    }
    ul {
        display: flex;
        flex-wrap: wrap;
        gap: 4px;
        li {
            height: auto;
            a {
                @include flex_centering;
                padding: 0 30px;
                box-sizing: border-box;
                background-color: $themecolor3;
                min-height: 45px;
                position: relative;
    
                &.current {
                    color: $themetextcolor;
                    background-color: $themecolor2;
                }
    
                @media (any-hover: hover) {
                    transition:
                        filter .4s,
                        -webkit-filter .4s
                    ;
                    &:hover {
                        filter: brightness(80%);
                        -webkit-filter: brightness(80%);
                    }
                }
    
            }
        }
    }
}

// レポート 一覧
.child-terms{
    display: none;
}

.report-headline {
    position: relative;
    .subpage & {
        margin-top: 30px;
    }
    .headline-list {
        display: flex;
        flex-wrap: wrap;
        gap: 5px;
        .subpage & {
            row-gap: 20px;
        }
        .headline-item {
            .subpage & {
                flex-basis: calc((100% - (5px * 2)) / 3);
                @include maxwidth(768) {
                    flex-basis: calc((100% - (5px * 1)) / 2);
                }
                 @include maxwidth(360) {
                    flex-basis: calc(100% - (5px * 1));
                 }
            }
            &__link {
                display: block;
                position: relative;
                &>* { display: block; }
                @media (any-hover: hover) {
                    &:hover {
                        .thumb .thumb__inner > img {
                            transform: scale(1.15);
                        }
                    }
                }
                .thumb {
                    &__inner {
                        display: block;
                        padding-top: 100%;
                        box-sizing: border-box;
                        position: relative;
                        overflow: hidden;
                        &>img {
                            position: absolute;
                            top: 0;
                            left: 0;
                            width: 100%;
                            height: 100%;
                            object-fit: cover;
                            transform: scale(1);
                            transition: transform 300ms;
                        }
                    }
                }
                .docs {
                    margin-top: 12px;
                    .terms {
                        @include f_all(14);
                        font-weight: 500;
                        line-height: 1.2;
                        display: flex;
                        flex-wrap: wrap;
                        gap: 5px;
                        @include maxwidth(480) {
                            @include f_all(13);
                        }
                        .term {
                            color: $themetextcolor;
                            display: inline-flex;
                            align-items: center;
                            justify-content: center;
                            padding: 0 10px 1px;
                            box-sizing: border-box;
                            height: auto;
                            background-color: $themecolor3;
                            min-height: 22px;
                            position: relative;

                            &.parent {
                                background-color: $basetextcolor;
                            }
                            &.child {
                                background-color: $themecolor2;
                            }

                        }
                    }
                    .title {
                        @include ff_ja(serif);
                        @include f_all(18);
                        font-weight: bold;
                        line-height: 1.2;
                        display: block;
                        margin-top: 6px;
                        @include maxwidth(768) {
                            @include f_all(16);
                        }
                        @include maxwidth(480) {
                             @include f_all(15);
                        }
                    }
                }
            }
        }
    }
    
    &.swiper {
        .headline-list {
            flex-wrap: nowrap;
            gap: 0px;
            .headline-item {
                width: 393px;
                @include maxwidth(1440) { 
                    width: (393 / 1440 * 100vw);
                }
                @include maxwidth(1024) { width: (100% / 3.4); }
                @include maxwidth(768) { 
                    width: 315px;
                    max-width: 85%;
                }
                &__link {
                    .thumb {
                        &__inner {
                            &>img {
                            }
                        }
                    }
                    .docs {
                        .terms {
                            .term {
                            }
                        }
                        .title {
                        }
                    }
                }
            }
        }


        
        .headline-button {
            &-prev, &-next {
                display: none;
                cursor: pointer;
                width: 50px;
                height: 50px;
                position: absolute;
                z-index: 1;
                top: 40%;
                background: url(../images/arrow-white.svg) no-repeat center/8px $themecolor2;
                @include maxwidth(768) {
                    width: 30px;
                    height: 30px;
                    background-size: 6px;
                }
            }
            &-prev {
                left: 30px;
                transform: scale(-1,-1);
                @include maxwidth(1200) { left: (30 / 1200 * 100%); }
                @include maxwidth(768) { left: 10px; }
            }
            &-next {
                right: 30px;
                @include maxwidth(1200) { right: (30 / 1200 * 100%); }
                @include maxwidth(768) { right: 10px; }
            }
        }
        &.swiper-initialized {
            .headline-button {
                &-prev, &-next { display: block; }
            }
            @media (any-hover: hover) {
                .headline-button {
                    &-prev, &-next { opacity: 0; transition: opacity 0.2s; }
                }
                &:hover {
                    .headline-button {
                        &-prev, &-next { opacity: 1; }
                    }
                }
            }
        }
    }
}

#toppageRecruit {
    color: $themetextcolor;
    padding: 148px 0 100px;
    @include maxwidth(768) {
        padding: 135px 0 0;
    }
    box-sizing: border-box;
    position: relative;
    overflow: hidden;
    &::before{
        content: '';
        @include absolute_centering;
        background: linear-gradient(180deg, rgba(0, 145, 218, 0.50) 0%, rgba(0, 61, 108, 0.50) 100%);
    }
    &::after{
        content: '';
        @include absolute_centering;
        background-color: rgba(#000, .20);
        backdrop-filter: blur(2px);
        -webkit-backdrop-filter: blur(2px);
    }
    .shape {
        position: absolute;
        left: 0;
        width: 100%;
        height: 694px;
        background-color: $themecolor;
        z-index: 1;
        &.--top {
            bottom: calc(100% - 214px);
            clip-path: polygon(0 35%, 100% 0%, 100% 65%, 0% 100%);
        }
        &.--bottom {
            top: calc(100% - 160px);
            clip-path: polygon(0 0, 100% 35%, 100% 100%, 0 65%);
        }

        @include maxwidth(768) {
            height: 200px;
            &.--top { bottom: calc(100% - 90px); }
            &.--bottom { top: calc(100% - 90px); }
        }
    }
    .container {
        @include container(1340, 30);
        z-index: 5;
        @include maxwidth(768) { margin: 0; }
        .columns {
            display: flex;
            align-items: center;
            // justify-content: flex-end;
            justify-content: space-between;
            padding-left: (90 / 1340 * 100%);
            box-sizing: border-box;
            gap: 2.5em;
            @include maxwidth(1024) {
                flex-direction: column;
                align-items: initial;
                justify-content: initial;
                padding-left: 0;
                &>* { flex: none !important; }
            }
            @include maxwidth(768) {
                gap: 20px;
            }
            .column {
                &:nth-of-type(1) {
                    flex-basis: 480px;
                }
                &:nth-of-type(2) {
                    flex-basis: 660px;
                }

                .head {
                    .c-heading {
                        .en { color: currentColor; }
                    }
                }

                .body {
                    margin-top: 30px;
                    @include maxwidth(1024) {
                        max-width: 600px;
                        width: 100%;
                        margin-left: auto;
                        margin-right: auto;
                        padding: 0 30px;
                        box-sizing: border-box;
                    }
                    .leadtext {
                        @include ff_ja(serif);
                        @include f_all(28);
                        font-weight: bold;
                        line-height: 1.4;
                        text-align: center;
                        @include maxwidth(768) { @include f_all(24); }
                        @include maxwidth(360) { @include f_all(20); }

                        br.sp {
                            @media screen and (min-width: 769px) { display: none; }
                        }
                    }
                    .text {
                        @include f_all(15);
                        font-weight: 500;
                        line-height: 2;
                        margin-top: 24px;
                        @include maxwidth(768) { @include f_all(14); }
                    }
                    .c-buttons {
                        align-items: center;
                        margin-top: 30px;
                    }
                }

                .recruit-buttons {
                    display: flex;
                    flex-wrap: wrap;
                    position: relative;
                    @include maxwidth(768) {
                        padding-top: 64px;
                        box-sizing: border-box;
                        &::before {
                            content: '';
                            display: block;
                            position: absolute;
                            left: 0;
                            width: 100%;
                            height: 64px;
                            background-color: $themecolor;
                            clip-path: polygon(100% 0, 0% 100%, 100% 100%);
                            z-index: 1;
                            position: absolute;
                            top: 0;
                            left: 0;
                        }
                    }
                    .recruit-button {
                        flex-basis: 50%;
                        position: relative;
                        @include maxwidth(768) {
                            flex-basis: 100%;
                        }
                        &::before, &::after {
                            content: '';
                            display: block;
                            position: absolute;
                            left: 0;
                            width: 100%;
                            height: 57px;
                            background-color: $themecolor2;
                            z-index: 1;
                            @include maxwidth(768) {
                                height: 64px;
                            }
                        }
                        &::before {
                            top: 0;
                            clip-path: polygon(0 0, 0% 100%, 100% 0);
                        }
                        &::after {
                            bottom: 0;
                            clip-path: polygon(100% 0, 0% 100%, 100% 100%);
                        }
                        @include maxwidth(768) {
                            &:nth-of-type(odd) {
                                &::before {  }
                                &::after { 
                                    clip-path: polygon(0 0, 0% 100%, 100% 100%);
                                }
                            }
                            &:nth-of-type(even) {
                                &::before {
                                    clip-path: polygon(100% 0, 0 0, 100% 100%);
                                }
                                &::after {
                                }
                            }
                            &:first-of-type {
                                &::before { background-color: $themecolor; }
                            }
                            &:last-of-type {
                                &::after{
                                    clip-path: polygon(0 0, 0% 100%, 100% 100%);
                                    background-color: $themecolor;
                                }
                            }
                        }
                        @media (any-hover: hover) {
                            &::before, &::after { transition: .4s; }
                            .recruit-button__bgimg {
                                overflow: hidden;
                                &>span {
                                    transform: scale(1);
                                    transition: transform .2s;
                                }
                                &::after { transition: background .2s; }
                            }
                            &:hover {
                                .recruit-button__bgimg {
                                    & > span { transform: scale(1.1); }
                                    &::after { background-color: rgba(#000, .8); }
                                }
                            }
                        }
                        &__link {
                            @include ff_ja(serif);
                            color: $themetextcolor;
                            @include f_all(20);
                            font-weight: bold;
                            line-height: 1.2;
                            @include flex_centering;
                            min-height: 400px;
                            position: relative;
                            z-index: 5;
                            @include maxwidth(768) {
                                min-height: 230px;
                            }
                            .title {
                                display: inline-flex;
                                align-items: center;
                                flex-direction: column;
                                gap: 30px;
                                &::after{
                                    content: '';
                                    display: inline-block;
                                    width: 18px;
                                    height: 18px;
                                    background: url(../images/arrow-white.svg) no-repeat center/6px $themecolor2;
                                }
                            }
                        }
                        &__bgimg {
                            @include absolute_centering;
                            &>span {
                                @include absolute_centering;
                                background-size: cover;
                                background-position: center center;
                                background-repeat: no-repeat;
                                filter: grayscale(100%);
                                -webkit-filter: grayscale(100%);
                            }
                            &::after{
                                content: '';
                                @include absolute_centering;
                                background-color: rgba(#000, 0.6);
                            }
                        }
                    }
                }

            }
        }
    }
}

#toppageLoopslide {
    padding-top: 20px;
    @include maxwidth(768) { padding-top: 30px; }
    background-color: $basecolor;
    position: relative;
    .swiper {
        &-wrapper {
        }
        &-slide {
            max-width: 400px;
            width: (100% / 3.5);
            @include maxwidth(1200) { width: (100% / 2.5); }
            @include maxwidth(768) {
                max-width: 320px;
                width: (100% / 1.15);
            }
            &__inner {
                padding-top: 100%;
                box-sizing: border-box;
                position: relative;
                &>img {
                    position: absolute;
                    top: 0;
                    left: 0;
                    width: 100%;
                    height: 100%;
                    object-fit: cover;
                }
            }
        }
    }
}

#toppageNewstopics {
    padding: 120px 0;
    @include maxwidth(768) { padding: 40px 0; }
    box-sizing: border-box;
    background-color: $basecolor;
    position: relative;
    @mixin newstopics_container() {
        max-width: 1260px;
        width: 100%;
        margin-left: auto;
        margin-right: auto;
        padding: 0 30px;
        box-sizing: border-box;
    }
    .c-button {
        &.wide { @include maxwidth(1200) { display: none; } }
        &.narrow {
            @media screen and (min-width: 1201px) { display: none; }
        }
    }
    .container {
        .head {
            @media screen and (min-width: 1201px) {
                display: flex;
                align-items: flex-end;
                justify-content: space-between;
                gap: 1em;
            }
            @include newstopics_container;
            .c-heading {
                justify-content: flex-start;
                .en {
                    text-align: left;
                    @include maxwidth(768) {
                        font-size: 68px;
                    }
                    @include maxwidth(360) {
                        font-size: clamp(50px,(68 / 360 * 100vw),68px);
                    }

                    &-wrap {
                        display: contents;
                        @include maxwidth(768) {
                            display: inline-flex;
                            flex-wrap: nowrap;
                            overflow: hidden;
                            margin-left: -30px;
                            margin-right: -30px;
                        }
                    }

                    &:not(:first-of-type) {
                        @media screen and (min-width: 769px) { display: none; }
                    }

                    @include maxwidth(768) {
                        white-space: nowrap;
                        display: inline-block;
                        padding-left: 0.8em;
                        box-sizing: border-box;
                    }

                }
                .ja {
                    left: 0;
                    transform: translateX(0);
                }
            }
            .c-button {
                @include maxwidth(1200) { display: none; }
            }
        }
        .body {
            margin-top: 30px;
            .term-list {
                @include newstopics_container;
                ul {
                    display: inline-flex;
                    flex-wrap: nowrap;
                    gap: 0px;
                    li {
                        flex-shrink: 0;
                        a { }
                    }
                }
            }
            .newstopics-headline {
                margin-top: 50px;
                @include maxwidth(768) { margin-top: 20px; }
                @include newstopics_container;
                ul {
                    li {
                        a {
                        }
                    }
                }
            }
            .c-buttons {
                margin-top: 40px;
                @include maxwidth(768) { margin-top: 20px; }
                @include newstopics_container;
                align-items: center;
            }
        }
    }
}

// ニュース 一覧
.newstopics-headline {
    position: relative;
    .subpage & {
        margin-top: 30px;
    }
    .headline-list {
        .headline-item {
            &__link {
                display: flex;
                align-items: center;
                padding: 30px 50px 30px 40px;
                .subpage & {
                    padding-left: 5px !important;
                }
                box-sizing: border-box;
                background-color: $basecolor;
                position: relative;
                @include maxwidth(768) {
                    padding: 18px 25px 18px 0;
                    flex-wrap: wrap;
                }
                .date {
                    @include f_all(16);
                    font-weight: bold;
                    line-height: 1.2;
                    margin-right: 20px;
                    @include maxwidth(768) {
                        @include f_all(15);
                        margin-right: 10px;
                    }
                }
                .terms {
                    @include f_all(12);
                    line-height: 1.2;
                    font-weight: bold;
                    margin-right: 20px;
                    display: flex;
                    flex-wrap: wrap;
                    gap: 4px;
                    min-width: 70px;
                    @include maxwidth(768) {
                        @include f_all(11);
                        min-width: 60px;
                    }
                    .term {
                        color: $themetextcolor;
                        display: inline-flex;
                        align-items: center;
                        justify-content: center;
                        padding: 0 10px 2px;
                        box-sizing: border-box;
                        background-color: $basetextcolor;
                        min-height: 21px;
                        position: relative;
                        @include maxwidth(768) {
                            padding: 0 6px 1px;
                            min-height: 18px;
                        }
                    }
                }
                .title {
                    @include f_all(15);
                    font-weight: bold;
                    line-height: 1.5;
                    @include maxwidth(768) {
                        flex-basis: 100%;
                        @include f_all(14);
                        margin-top: 7px;
                    }
                }
                &::after{
                    content: '';
                    display: block;
                    width: 18px;
                    height: 18px;
                    background: url(../images/arrow-white.svg) no-repeat center/6px $basetextcolor;
                    position: absolute;
                    top: 0;
                    bottom: 0;
                    right: 30px;
                    margin: auto;
                    @include maxwidth(768) {
                        top: auto;
                        right: 0;
                        bottom: 20%;
                    }
                }

                @media (any-hover: hover) {
                    transition: background .4s;
                    &:hover {
                        background-color: $themecolor3;
                    }
                }

            }
        }
    }
}

// === Subpage

#subpageHeading {
    padding-top: 85px;
    background-color: $basecolor;
    position: relative;
    z-index: 1;
    &::before{
        content: '';
        display: block;
        position: absolute;
        top: 60px;
        left: 0;
        width: 100%;
        height: 497px;
        @include maxwidth(768) {
            height: 400px;
        }
        background-color: $themecolor;
        clip-path: polygon(0 0, 100% 50%, 100% 100%, 0 50%);
    }
    .image {
        height: 250px;
        @include maxwidth(768) {
            height: 210px;
        }
        position: relative;
        &>img {
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            object-fit: cover;
        }
        &::after{
            content: '';
            @include absolute_centering;
            background-color: rgba(#000, .40);
        }
    }
    .c-heading {
        position: absolute;
        z-index: 5;
        left: 0;
        right: 0;
        margin: auto;
        bottom: 60px;
        // transform: translateX(-50%);
        // white-space: nowrap;
        .en { 
            color: $themetextcolor;
            @include maxwidth(768) {
                font-size: clamp(50px, (80 / 768 * 100vw), 110px)
            }
            @include maxwidth(360) { font-size: 45px; }
        }
        .ja {
            background-color: $themecolor2;
            @include maxwidth(768) { bottom: -6px; }
            @include maxwidth(400) { bottom: -10px; }
        }
    }
    &::after{
        content: '';
        display: block;
        width: 2px;
        height: 30px;
        background-color: $themecolor2;
        position: absolute;
        left: 50%;
        bottom: -15px;
        transform: translateX(-50%);
        z-index: 2;
    }
}

#subpageTopicpath {
    @media screen and (min-width: 1025px) {
        position: absolute;
        top: 0;
        left: -30px;
    }
    @include maxwidth(1024) {
        max-width: 800px;
        width: 100%;
        margin-left: auto;
        margin-right: auto;
        margin-bottom: 1rem;
    }
    ul {
        display: flex;
        align-items: center;
        @media screen and (min-width: 1025px) {
            flex-direction: column;
        }
        gap: 10px;
        @include maxwidth(1024) { 
            display: block;
        }
        li {
            @include f_all(14);
            font-weight: bold;
            line-height: 1.5;
            text-transform: uppercase;
            display: inline-flex;
            align-items: center;
            @media screen and (min-width: 1025px) {
                flex-direction: column;
            }
            gap: 8px;
            &::after{
                flex-shrink: 0;
                content: '';
                display: block;
                width: 10px;
                height: 10px;
                background: url(../images/arrow-bottom-black.svg) no-repeat center/contain;
                @media screen and (min-width: 1025px) {
                    margin-right: 0.25em;
                }
                @include maxwidth(1024) {
                    background-image: url(../images/arrow-black.svg);
                }
            }
            &:last-of-type::after { display: none; }

            a {}

            span {
                @media screen and (min-width: 1025px) {
                    display: inline-block;
                    width: 1.4em;
                    writing-mode: vertical-rl;
                    &.ja { letter-spacing: 0.15em; }

                    // 抜粋する (← 長くなるため)
                    max-height: 20em;
                    white-space: nowrap;
                    overflow: hidden;
                    text-overflow: ellipsis;
                }

            }

        }
    }
}

#subpageContent {
    padding: 50px 0 60px;
    @include maxwidth(768) {
        padding: 40px 0;
    }
    background-color: $basecolor;
    position: relative;
    &Inner {
        @include container(1200, 50);
        @include maxwidth(1024) {
            margin-left: 30px;
            margin-right: 30px;
        }
        @include maxwidth(768) {
            margin-left: 10px;
            margin-right: 10px;
        }
        z-index: 10;
        background-color: rgba($basecolor, .95);
        padding: 80px 30px 60px;
        @include maxwidth(1024) { padding-top: 60px; }
        @include maxwidth(768) {
            padding: 35px 15px 40px;
        }
        box-sizing: border-box;
        min-height: 500px;
        .container {
            max-width: 900px;
            width: 100%;
            margin: auto;
            .default a:hover { opacity: 0.8; }
        }
    }
}


.pager {
    text-align: center;
    margin: 40px 0;
    @include f_all(13);
    font-weight: 500;
    a,
    span {
        display: inline-block;
        margin: 0 0 0.25em 0.75em;
        min-width: 3em;
        padding: 1em;
        box-sizing: border-box;
        background-color: $themecolor3;
        color: $basetextcolor;
    }
    .current {
        background-color: $themecolor;
        color: $themetextcolor;
    }
}

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