@charset "UTF-8";

/* =========================================================
   TOP PAGE
   Mobile First

   構成：
   各セクションごとに SP → Tablet → PC → Large PC をまとめる
========================================================= */


/* =========================================================
   First View / Hero slider
========================================================= */

.common-fv--top {
    min-height: auto;
    padding-bottom: 40px;
}

.common-fv__heading--top {
    padding-top: 68px;
}

.common-fv__title--top {
    position: relative;
    z-index: 2;
}

.common-fv__visual--top {
    min-height: 360px;
    margin-top: 34px;
}

.common-fv--top .common-fv__band {
    top: 54px;
    height: 210px;
}

.common-fv--top .common-fv__body {
    padding-top: 0;
}

.hero-slider {
    position: relative;
    width: 100%;
    height: 390px;
    overflow: hidden;
    cursor: grab;
    touch-action: pan-y;
    user-select: none;
}

/*
   上下を白い面で一括して隠し、
   全画像の上下ラインを一本につなげる。
*/
.hero-slider::before,
.hero-slider::after {
    content: "";
    position: absolute;
    left: -10%;
    z-index: 5;
    width: 120%;
    height: 115px;
    background-color: var(--color-white);
    pointer-events: none;
}

.hero-slider::before {
    top: -72px;
    transform: rotate(-5deg);
    transform-origin: center bottom;
}

.hero-slider::after {
    bottom: -72px;
    transform: rotate(-5deg);
    transform-origin: center top;
}

.hero-slider.is-dragging {
    cursor: grabbing;
}

.hero-slider.is-dragging .hero-slider__track {
    pointer-events: none;
}

.hero-slider__track {
    display: flex;
    align-items: stretch;
    gap: 12px;
    width: max-content;
    height: 100%;
    padding-inline: 20px;
    will-change: transform;
}

.hero-slider__slide {
    position: relative;
    flex: 0 0 72vw;
    max-width: 330px;
    height: 100%;
    overflow: hidden;
    background-color: transparent;
}

.hero-slider__slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: 75%;
}

.hero-slider__slide[aria-hidden="true"] {
    pointer-events: none;
}

.hero-slider__dots {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 9px;
    min-height: 26px;
    margin-top: 20px;
}

.hero-slider__dot {
    width: 7px;
    height: 7px;
    padding: 0;
    border: 0;
    border-radius: 50%;
    background-color: #b9b9b9;
    cursor: pointer;
    transition:
        width 0.3s ease,
        border-radius 0.3s ease,
        background-color 0.3s ease;
}

.hero-slider__dot.is-active {
    width: 24px;
    border-radius: 999px;
    background-color: var(--color-primary);
}

@media screen and (min-width: 768px) {
    .common-fv--top {
        padding-bottom: 60px;
    }

    .common-fv__heading--top {
        padding-top: 78px;
        z-index: 1000;
    }

    .common-fv__visual--top {
        min-height: 480px;
        margin-top: 48px;
    }

    .common-fv--top .common-fv__band {
        top: 72px;
        height: 290px;
    }

    .hero-slider {
        height: 500px;
    }

    .hero-slider::before {
        /* height: 136px; */
        height: 180px;
    }

    .hero-slider::after {
        /* height: 136px; */
        height: 195px;
    }

    .hero-slider::before {
        /* top: -68px; */
        top: -94px;
        transform: rotate(355deg);
    }

    .hero-slider::after {
        bottom: -170px;
        transform: rotate(-4.5deg);
    }

    .hero-slider__track {
        gap: 18px;
        padding-inline: 38px;
    }

    .hero-slider__slide {
        flex-basis: 45vw;
        max-width: 470px;
    }

    .hero-slider__dots {
        margin-top: 26px;
    }
}

@media screen and (min-width: 1024px) {
    .common-fv--top {
        padding-bottom: 80px;
    }

    .common-fv__heading--top {
        padding-top: 10px;
        padding-bottom: 5px;
        z-index: 1000;
    }

    .common-fv__visual--top {
        min-height: 620px;
        margin-top: 50px;
    }

    .common-fv--top .common-fv__band {
        top: 96px;
        height: 370px;
    }

    .hero-slider {
        overflow: visible;
    }

    .hero-slider__track {
        gap: 22px;
        padding-inline: 4vw;
    }

    .hero-slider__slide {
        flex-basis: 31vw;
        max-width: 560px;
        height: 540px;
    }

    .hero-slider__dots {
        margin-top: 30px;
    }
}

@media screen and (min-width: 1280px) {
    .common-fv__visual--top {
        min-height: 680px;
    }

    .common-fv--top .common-fv__band {
        top: 120px;
        height: 340px;
    }

    .hero-slider__track {
        gap: 26px;
        padding-inline: 5vw;
    }

    .hero-slider__slide {
        flex-basis: 29vw;
        max-width: 600px;
        height: 590px;
    }
}


/* =========================================================
   About
========================================================= */

.top-about {
    padding: 72px 0 110px;
    background-color: var(--color-white);
}

.top-about__inner {
    width: min(
        100% - calc(var(--content-padding-sp) * 2),
        var(--content-width)
    );
    margin-inline: auto;
}

.top-about__content {
    position: relative;
    z-index: 2;
}

.top-about__text {
    font-size: 14px;
    line-height: 2.15;
}

.top-about__text p + p {
    margin-top: 22px;
}
.link-wrap {
    display: flex;
    justify-content: center;
    width: 100%;
    margin-top: 36px;
}

.top-about__content .round-link {
    display: inline-flex;
    width: fit-content;
    margin: 0;
}


.top-about__visual {
    position: relative;
    width: 100%;
    max-width: 520px;
    min-height: 455px;
    margin: 65px auto 0;
}

.top-about__image {
    position: absolute;
    overflow: hidden;
}

.top-about__image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    /* max-height: 433px; */
}

.top-about__image--back {
    top: 50px;
    right: 0;
    width: 90%;
    height: 520px;
}

.top-about__image--main {
    top: 18%;
    left: 6%;
    z-index: 2;
    width: 45%;
    height: 250px;
    border-radius: 10px;
}

.top-about__image--people {
    top: 0;
    right: 0;
    z-index: 3;
    width: 41%;
    height: 235px;
    border-radius: 8px;
}

.top-about__image--office {
    bottom: -10%;
    left: 29%;
    z-index: 4;
    width: 62%;
    height: 155px;
    border-radius: 8px;
}

@media screen and (min-width: 768px) {
    .top-about {
        padding-top: 105px;
        padding-bottom: 145px;
    }

    .top-about__inner {
        width: min(
            100% - calc(var(--content-padding-pc) * 2),
            var(--content-width)
        );
    }

    .top-about__text {
        font-size: 15px;
    }

    .top-about__visual {
        max-width: 680px;
        min-height: 600px;
        margin-top: 80px;
    }

    .top-about__image--back {
        top: 70px;
        width: 78%;
        height: 420px;
    }

    .top-about__image--main {
        width: 62%;
        height: 340px;
    }

    .top-about__image--people {
        top: -10%;
        right: 4%;
        width: 30%;
        height: 100%;
        max-height: 300px;
        object-fit: scale-down;
        border-radius: 5px;
    }

    .top-about__image--office {
        left: 8%;
        width: 40%;
        height: 205px;
    }
}

@media screen and (min-width: 1024px) {
    .top-about {
        padding-top: 80px;
        padding-bottom: 80px;
    }

    .top-about__inner {
        display: grid;
        grid-template-columns:
            minmax(320px, 0.72fr)
            minmax(520px, 1.28fr);
        align-items: center;
        gap: 8vw;
    }

    .top-about__content {
        padding-bottom: 10px;
    }

    .top-about__content .round-link {
        margin-top: 46px;
    }

    .top-about__visual {
        width: 100%;
        max-width: none;
        min-height: 660px;
        margin-top: 0;
    }

    .top-about__image--back {
        top: 0;
        right: 0;
        width: 79%;
        height: 100%;
        min-height: 650px;
    }

    .top-about__image--main {
        top: 35px;
        left: 45px;
        width: 48%;
        height: 385px;
        border-radius: 6px;
    }

    .top-about__image--office {
        bottom: -10%;
        left: 30%;
        width: 60%;
        height: 220px;
        border-radius: 6px;
    }
}

@media screen and (min-width: 1280px) {
    .top-about__inner {
        gap: 110px;
    }

    .top-about__visual {
        min-height: 720px;
    }

    .top-about__image--back {
        height: auto;
    }

    .top-about__image--main {
        height: 420px;
    }

    .top-about__image--people {
        top: -63px;
        right: 20px;
        width: 36%;
        height: 330px;
        border-radius: 6px;
    }

    .top-about__image--office {
        height: 270px;
    }
}


/* =========================================================
   Message
========================================================= */

.top-message {
    position: relative;
    padding-top: 72px;
    background-color: var(--color-white);
    overflow: hidden;
}

.top-message::before,
.top-message::after {
    content: none;
}

.top-message__inner {
    width: 100%;
    margin-inline: auto;
}

.section-heading--message {
    width: calc(100% - 24px);
    margin: 0 auto 10px;
}

.section-heading--message .section-heading__sub {
    margin: 0 0 2px;
    font-size: 10px;
    line-height: 1.5;
}

.section-heading--message .section-heading__title {
    display: flex;
    align-items: baseline;
    margin: 0;
    font-size: clamp(42px, 14vw, 58px);
    font-weight: 700;
    line-height: 0.9;
    letter-spacing: -0.055em;
    color: var(--color-primary);
}

.section-heading--message .section-heading__letter {
    display: inline-block;
}

.top-message__image {
    position: relative;
    width: calc(100% - 24px);
    height: 310px;
    margin: 0 auto;
    overflow: hidden;
}

.top-message__image picture {
    display: block;
    width: 100%;
    height: 100%;
}

.top-message__image img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.top-message__bottom {
    display: flex;
    flex-direction: column;
    width: calc(100% - 24px);
    margin: 0 auto;
    padding: 28px 0 72px;
}

.top-message__text {
    font-size: 14px;
    line-height: 2.15;
}

.top-message__text p {
    margin: 0;
}

.top-message__bottom .round-link {
    align-self: center;
    margin-top: 38px;
}

@media screen and (min-width: 768px) {
    .top-message {
        padding-top: 90px;
    }

    .section-heading--message {
        width: min(
            calc(100% - 80px),
            var(--content-width)
        );
        margin-bottom: 18px;
    }

    .section-heading--message .section-heading__sub {
        font-size: 11px;
    }

    .section-heading--message .section-heading__title {
        font-size: clamp(62px, 9vw, 86px);
    }

    .top-message__image {
        width: 100%;
        height: 470px;
    }

    .top-message__bottom {
        display: grid;
        grid-template-columns: minmax(0, 1fr) auto;
        align-items: end;
        column-gap: 60px;
        width: min(
            calc(100% - 80px),
            var(--content-width)
        );
        padding: 44px 0 92px;
    }

    .top-message__text {
        font-size: 15px;
    }

    .top-message__bottom .round-link {
        align-self: end;
        margin-top: 0;
    }
}

@media screen and (min-width: 1024px) {
    .top-message {
        padding-top: 115px;
    }

    .section-heading--message {
        width: min(
            calc(100% - 190px),
            1720px
        );
        margin-bottom: 24px;
    }

    .section-heading--message .section-heading__sub {
        font-size: 12px;
    }

    .section-heading--message .section-heading__title {
        font-size: clamp(76px, 5.6vw, 108px);
        line-height: 0.88;
    }

    .top-message__image {
        width: 100%;
        height: min(35.9vw, 689px);
        min-height: 480px;
    }

    .top-message__bottom {
        column-gap: 80px;
        width: min(
            calc(100% - 190px),
            920px
        );
        padding: 46px 0 108px;
    }

    .top-message__text {
        max-width: 1180px;
        line-height: 2.15;
    }

    .top-message__bottom .round-link {
        margin: 0 0 2px;
    }
}

@media screen and (min-width: 1280px) {
    .top-message {
        padding-top: 126px;
    }

    .section-heading--message {
        margin-bottom: 28px;
    }

    .section-heading--message .section-heading__title {
        font-size: 108px;
    }

    .top-message__bottom {
        padding-top: 50px;
        padding-bottom: 116px;
    }
}


/* =========================================================
   Schedule
========================================================= */

.top-schedule {
    position: relative;
    /* padding: 100px 0 115px; */
    color: var(--color-white);
    background-color: var(--color-primary);
    overflow: hidden;
}

/* .top-schedule::before {
    content: "";
    position: absolute;
    top: -42px;
    right: -15%;
    width: 130%;
    height: 80px;
    background-color: #f4f4f4;
    transform: rotate(5deg);
} */

.top-schedule__inner {
    position: relative;
    z-index: 1;
    width: min(
        100% - calc(var(--content-padding-sp) * 2),
        var(--content-width)
    );
    margin-inline: auto;
    padding: 80px 0;
}

.top-schedule__content {
    position: relative;
}

.top-schedule .section-heading {
    margin-bottom: 34px;
}

.top-schedule__image--sp {
    display: block;
}

.top-schedule__image--pc {
    display: none;
}

.top-schedule__image {
    position: relative;
    overflow: hidden;
}

.top-schedule__image::before {
    content: "";
    display: block;
    padding-top: 73%;
}

.top-schedule__image img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    max-height: 350px;
    align-self: center;
}

.top-schedule__text {
    margin-top: 34px;
    font-size: 14px;
    line-height: 2.1;
}

.top-schedule__text p + p {
    margin-top: 20px;
}

.top-schedule .round-link {
    margin-top: 34px;
    justify-self: center;
    display: inline-flex;
}

@media screen and (min-width: 768px) {
    /* .top-schedule {
        padding-top: 140px;
        padding-bottom: 145px;
    } */


    .top-schedule__inner {
        width: min(
            100% - calc(var(--content-padding-pc) * 2),
            var(--content-width)
        );
    }

    .top-schedule__image::before {
        padding-top: 56%;
    }

    .top-schedule__text {
        font-size: 15px;
    }
}

@media screen and (min-width: 1024px) {
    /* .top-schedule {
        padding-top: 175px;
        padding-bottom: 180px;
    } */


    .top-schedule__inner {
        display: grid;
        grid-template-columns: 45% 45%;
            /* minmax(360px, 0.78fr)
            minmax(540px, 1.22fr); */
        align-items: center;
        gap: 10%;
    }

    .top-schedule__content {
        padding-left: 2vw;
    }

    .top-schedule__image--sp {
        display: none;
    }

    .top-schedule__image--pc {
        display: block;
    }

    .top-schedule__image--pc::before {
        padding-top: 115%;
    }

    .top-schedule .section-heading {
        margin-bottom: 42px;
    }

    /* .top-schedule__content .section-heading__title {
        font-size: clamp(88px, 8vw, 128px);
    } */

    .top-schedule__text {
        margin-top: 0;
    }

    .top-schedule .round-link {
        margin-top: 44px;
    }
}

@media screen and (min-width: 1280px) {
    .top-schedule__inner {
        gap: 110px;
    }

    .top-schedule__content {
        padding-left: 35px;
    }
}


/* =========================================================
   Recruit
========================================================= */

.top-recruit {
    position: relative;
    z-index: 1;
    padding: 0;
    background-color: var(--color-white);
    overflow: visible;
    padding-bottom: 110px;
}


/*=========================================
  Images
=========================================*/

.top-recruit__images {

    position: relative;

    display: grid;
    grid-template-columns: 1fr 1fr;

    width: 100%;
    height: 100svh;
    max-height: 980px;
    margin: 0;

}

.top-recruit__image{

    position: relative;
    overflow: hidden;

}

.top-recruit__image::before{

    content:"";
    display:block;
    padding-top:90%;

}

.top-recruit__image img{

    position:absolute;
    inset:0;

    width:100%;
    height:100%;

    object-fit:cover;

}

.top-recruit__image--left img{

    object-position:20%;

}

.top-recruit__image--right img{

    object-position:top;

}

@media screen and (min-width: 768px) {
    .top-recruit__image--left img{

    object-position:top;
    }

}
/* タブレットサイズ（768px 〜 1024px）のみ適用 */
@media screen and (min-width: 768px) and (max-width: 1023px) {
        .top-recruit__image--left img {
        object-position: center 30%;
    }
}
/*=========================================
  Card
=========================================*/

/* =========================================
  Tablet / SP
=========================================

@media screen and (max-width:1023px){

    .top-recruit__card{

        position: absolute;

        top: 25%;
        left: 50%;
        transform: translateX(-50%);

        z-index: 10;

        width: calc(100% - 57px);
        max-width: 460px;

        padding: 40px 28px 44px;

        margin: 0;

        background: rgb(255 255 255 / 82%);
        backdrop-filter: blur(1px);
        -webkit-backdrop-filter: blur(1px);

        box-shadow: 0 20px 45px rgb(0 0 0 / 12%);

        border-radius: 8px;
    }

}


.top-recruit__card .section-heading{

    margin-bottom:34px;

}

.top-recruit__card .section-heading__title{

    font-size: clamp(46px, 14vw, 70px);

}

.top-recruit__text{

    font-size:14px;
    line-height:2.1;

}

.top-recruit__text p{

    margin:0;

}

.top-recruit__text p+p{

    margin-top:18px;

}



.top-recruit__link-wrap {
    display: flex;
    justify-content: center;
    width: 100%;
    margin-top: 40px;
}

.top-recruit__link-wrap .round-link {
    flex-shrink: 0;
    margin: 0;
}
=========================================
  Tablet
=========================================

@media screen and (max-width:1023px){



    .top-recruit__images{

        display: grid;
        grid-template-columns: 100%;
        grid-template-rows: 50% 50%;
        justify-items: center;

    }

    .top-recruit__image{

        width:100%;

    }


        .top-recruit__card{
        position:absolute;
        top:25%;
        right:auto;
        width:calc(100% - 57px);
        margin:auto;
        padding:40px 28px 44px;
        justify-self: center;
        border-radius: 8px;
    }

}


=========================================
  Large PC
=========================================

@media screen and (min-width:1400px){

    .top-recruit__card{

        right:12%;

        width:500px;

        padding:62px 60px 66px;

    }

} */

/*=========================================*
* Card
*=========================================*/

.top-recruit__card .section-heading {
    margin-bottom: 34px;
}

/* .top-recruit__card .section-heading__title {
    font-size: clamp(46px, 14vw, 70px);
} */

.top-recruit__text {
    font-size: 14px;
    line-height: 2.1;
}

.top-recruit__text p {
    margin: 0;
}

.top-recruit__text p + p {
    margin-top: 18px;
}

.top-recruit__link-wrap {
    display: flex;
    justify-content: center;
    width: 100%;
    margin-top: 40px;
}

.top-recruit__link-wrap .round-link {
    display: inline-flex;
    flex-shrink: 0;
    margin: 0;
}


/*=========================================*
* Tablet / SP
*=========================================*/

@media screen and (max-width: 1023px) {

    .top-recruit__card {

        position: absolute;

        top: 48%;
        left: 50%;
        transform: translate(-50%, -50%);

        z-index: 10;

        width: calc(100% - 57px);
        max-width: 460px;

        margin: 0;
        padding: 40px 28px 44px;

        background: rgb(255 255 255 / 82%);
        backdrop-filter: blur(1px);
        -webkit-backdrop-filter: blur(1px);

        box-shadow: 0 20px 45px rgb(0 0 0 / 12%);
        border-radius: 8px;
    }

    .top-recruit__images {

        display: grid;
        grid-template-columns: 100%;
        grid-template-rows: 50% 50%;
        justify-items: center;

    }

    .top-recruit__image {

        width: 100%;

    }

}
/* PC */
@media screen and (min-width:1024px) {

    .top-recruit__card {

        position: absolute;

        top: 50%;
        right: 8%;

        transform: translateY(-50%);

        z-index: 10;

        width: 460px;

        padding: 52px 48px 56px;

        background: rgb(255 255 255 / 82%);
        backdrop-filter: blur(1px);
        -webkit-backdrop-filter: blur(1px);

        box-shadow: 0 20px 45px rgb(0 0 0 / 12%);
        border-radius: 8px;

    }

}


/*=========================================*
* Large PC
*=========================================*/

@media screen and (min-width: 1400px) {

    .top-recruit__card {

        right: 12%;

        width: 500px;

        padding: 62px 60px 66px;

    }

}
/* =========================================================
   Hover
========================================================= */

@media (hover: hover) and (pointer: fine) {
    .hero-slider__dot:hover {
        background-color: var(--color-primary);
    }

    .top-about__image img,
    .top-message__image img,
    .top-schedule__image img,
    .top-recruit__image img {
        transition: transform 0.8s cubic-bezier(0.22, 1, 0.36, 1);
    }

    .top-message__image:hover img,
    .top-schedule__image:hover img {
        transform: scale(1.025);
    }
}