@charset "utf-8";

/**
 * スマホ用設定
 */
@media ( max-width: 768px ) {

    main {
        margin: 0 auto;
        width: 100%;
    }

    .mv {
        margin: 0 auto;
        width: 100%;
        overflow: hidden;
    }
    .mv .mv-bg {
        margin: 0;
        padding: 0;
        width: 200%;
        height: auto;
        aspect-ratio: 1656 / 1028;
        translate: -23% 0;
    }
    .mv .mv-bg img {
        margin: 0;
        padding: 0;
        width: 100%;
        height: auto;
    }
    .mv .mv-txt1 {
        margin: 4.0vw auto 0;
        width: 90%;
        color: var(--color-accent);
        font-size: 3.2vw;
        font-family: var(--font-alphabet);
        font-weight: 700;
        text-align: left;
    }
    .mv h1 {
        margin: 2.0vw auto 0;
        width: 90%;
        color: var(--fg-color);
        font-size: 4.8vw;
        font-weight: 700;
        text-align: left;
        line-height: calc( 39 / 27 );
    }
    .mv .mv-txt2 {
        position: absolute;
        top: 0%;
        left: 5%;
        transform-origin: left bottom;
        transform: rotate(90deg);
        color: var(--color-accent);
        font-size: 18.0vw;
        font-family: var(--font-alphabet);
        font-weight: 700;
        text-align: left;
        line-height: 1.0;
        white-space: nowrap;
        opacity: 0.46;
    }

    #what {
        margin: 0 auto;
        padding: 12.0vw 5%;
        overflow: hidden;
    }
    #what::after {
        position: absolute;
        content: "";
        right: -5%;
        bottom: 0;
        width: 100%;
        height: auto;
        aspect-ratio: 860 / 670;
        background: url(../images/top-what-bg.svg) no-repeat center / contain;
        z-index: -1;
    }
    #what h2 {
        margin: 0;
        color: var(--color-accent);
        font-size: 6.0vw;
        font-family: var(--font-alphabet);
        font-weight: 700;
        text-align: left;
        line-height: calc( 72 / 60 );
    }
    #what h3 {
        margin: 2.0em 0 0;
        color: var(--fg-color);
        font-size: 4.0vw;
        font-weight: 700;
        text-align: left;
        line-height: calc( 45 / 28 );
    }
    #what p {
        margin: 2.0em 0 0;
        color: var(--fg-color);
        font-size: 3.6vw;
        font-weight: 700;
        text-align: left;
        line-height: calc( 32 / 16 );
    }

    #service {
        margin: 0 auto;
        padding: 12.0vw 0 16.0vw;
        background: url(../images/top-service-bg.jpg) no-repeat center / cover;
    }
    #service h2 {
        margin: 0 auto;
        width: 90%;
        color: #fff;
        font-size: 6.0vw;
        font-family: var(--font-alphabet);
        font-weight: 700;
        text-align: left;
        line-height: calc( 72 / 60 );
    }
    #service .subtitle {
        margin: 0 auto;
        width: 90%;
        color: #fff;
        font-size: 3.6vw;
        font-weight: 700;
        text-align: left;
        line-height: calc( 24 / 16 );
    }
    #service #service-slider {
        margin: 8.0vw 0 0;
        overflow: hidden;
    }
    #service #service-slider .swiper-slide {
        padding: 0 4.0vw;
    }
    #service #service-slider .swiper-slide + .swiper-slide {
        border-left: 1px solid rgb( 255, 255, 255, 0.49 );
    }
    #service #service-slider .swiper-slide .no {
        margin: 0;
        color: #fff;
        font-size: 3.6vw;
        font-family: var(--font-alphabet);
        font-weight: 700;
        teat-align: left;
        line-height: calc( 24 / 20 );
    }
    #service #service-slider .swiper-slide h3 {
        margin: 0;
        color: #fff;
        font-size: 4.0vw;
        font-weight: 700;
        teat-align: left;
        line-height: calc( 40 / 28 );
    }
    #service #service-slider .swiper-slide p {
        margin: 0.5em 0 0;
        color: #fff;
        font-size: 3.2vw;
        font-weight: 400;
        teat-align: left;
        line-height: calc( 26 / 16 );
    }
    #service #service-slider .swiper-slide figure {
        margin: 4.0vw 0 0;
    }

    #recruit {
        margin: 0 auto;
        padding: 4.0vw 0;
    }
    #recruit .recruit-wrap {
        display: flex;
        align-items: center;
        justify-content: space-between;
        margin: 0 auto;
        padding: 0 4.0vw;
        width: calc( 100% - 8.0vw );
        height: auto;
        aspect-ratio: 5 / 3;
        background: url(../images/top-recruit-bg.jpg) no-repeat center / cover;
    }
    #recruit .recruit-info {
        width: 70%;
    }
    #recruit .recruit-btn {
        width: 30%;
        display: grid;
        place-items: center;
    }
    #recruit h2 {
        margin: 0;
        color: #fff;
        font-size: 6.0vw;
        font-family: var(--font-alphabet);
        font-weight: 700;
        text-align: left;
        line-height: calc( 72 / 60 );
    }
    #recruit .subtitle {
        margin: 0;
        color: #fff;
        font-size: 3.2vw;
        font-weight: 700;
        text-align: left;
        line-height: calc( 24 / 16 );
    }
    #recruit .txt1 {
        margin: 1.0em 0 0;
        color: #fff;
        font-size: 3.6vw;
        font-weight: 700;
        text-align: left;
        line-height: calc( 45 / 28 );
    }
    #recruit .txt2 {
        margin: 0.5em 0 0;
        color: #fff;
        font-size: 3.2vw;
        font-weight: 700;
        text-align: left;
        line-height: calc( 24 / 16 );
    }
    #recruit .recruit-btn > a {
        display: grid;
        place-items: center;
        width: 20.0vw;
        max-width: 90%;
        height: auto;
        aspect-ratio: 1 / 1;
        background: #fff;
        border-radius: 100%;
    }
    #recruit .recruit-btn > a img {
        width: 8.0vw;
        height: auto;
        aspect-ratio: 55 / 39;
        object-fit: contain;
    }

}


/**
 * PC用設定
 */
@media ( min-width: 768.01px ) {

    main {
        margin: 0 auto;
        width: 100%;
    }

    .mv {
        margin: 0 auto;
        width: 100%;
    }
    .mv .mv-bg {
        margin: 0;
        padding: 0;
        width: 100%;
        height: auto;
    }
    .mv .mv-bg img {
        margin: 0;
        padding: 0;
        width: 100%;
        height: auto;
    }
    .mv .mv-txt1 {
        position: absolute;
        top: calc( 100% * 336 / 768 );
        left: calc( 100% * 101 / 1366 );
        color: var(--color-accent);
        font-size: 30px;
        font-family: var(--font-alphabet);
        font-weight: 700;
        text-align: left;
    }
    .mv h1 {
        position: absolute;
        top: calc( 100% * 390 / 768 );
        left: calc( 100% * 96 / 1366 );
        color: var(--fg-color);
        font-size: 30px;
        font-weight: 700;
        text-align: left;
        line-height: calc( 39 / 27 );
    }
    .mv .mv-txt2 {
        position: absolute;
        top: calc( 100% * 350 / 768 );
        left: calc( 100% * 84 / 1366 );
        color: var(--color-accent);
        font-size: calc( 100vw * 202 / 1366 );
        font-family: var(--font-alphabet);
        font-weight: 700;
        text-align: left;
        line-height: calc( 243 / 202 );
        opacity: 0.46;
    }

    #what {
        margin: 0 auto;
        padding: min( 130px, 10.0vw ) max( 40px, calc( 50vw - 490px ) );
        overflow: hidden;
    }
    #what::after {
        position: absolute;
        content: "";
        right: -5%;
        bottom: -5%;
        width: calc( 100% * 860 / 1366 );
        height: auto;
        aspect-ratio: 860 / 670;
        background: url(../images/top-what-bg.svg) no-repeat center / contain;
        z-index: -1;
    }
    #what h2 {
        margin: 0;
        color: var(--color-accent);
        font-size: 60px;
        font-family: var(--font-alphabet);
        font-weight: 700;
        text-align: left;
        line-height: calc( 72 / 60 );
    }
    #what h3 {
        margin: 2.0em 0 0;
        color: var(--fg-color);
        font-size: 28px;
        font-weight: 700;
        text-align: left;
        line-height: calc( 45 / 28 );
    }
    #what p {
        margin: 2.0em 0 0;
        color: var(--fg-color);
        font-size: 16px;
        font-weight: 700;
        text-align: left;
        line-height: calc( 32 / 16 );
    }

    #service {
        margin: 0 auto;
        padding: min( 72px, 5.0vw ) max( 40px, calc( 50vw - 490px ) ) min( 100px, 7.5vw );
        padding: min( 72px, 5.0vw ) 0 min( 100px, 7.5vw );
        background: url(../images/top-service-bg.jpg) no-repeat center / cover;
    }
    #service h2 {
        margin: 0 auto;
        width: 90%;
        max-width: 980px;
        color: #fff;
        font-size: 60px;
        font-family: var(--font-alphabet);
        font-weight: 700;
        text-align: left;
        line-height: calc( 72 / 60 );
    }
    #service .subtitle {
        margin: 0 auto;
        width: 90%;
        max-width: 980px;
        color: #fff;
        font-size: 16px;
        font-weight: 700;
        text-align: left;
        line-height: calc( 24 / 16 );
    }
    #service #service-slider {
        margin: 50px 0 0;
        overflow: hidden;
    }
    #service #service-slider .swiper-slide {
        padding: 0 80px;
    }
    #service #service-slider .swiper-slide + .swiper-slide {
        border-left: 1px solid rgb( 255, 255, 255, 0.49 );
    }
    #service #service-slider .swiper-slide .no {
        margin: 0;
        color: #fff;
        font-size: 20px;
        font-family: var(--font-alphabet);
        font-weight: 700;
        teat-align: left;
        line-height: calc( 24 / 20 );
    }
    #service #service-slider .swiper-slide h3 {
        margin: 0;
        color: #fff;
        font-size: 28px;
        font-weight: 700;
        teat-align: left;
        line-height: calc( 40 / 28 );
    }
    #service #service-slider .swiper-slide p {
        margin: 0.5em 0 0;
        color: #fff;
        font-size: 16px;
        font-weight: 400;
        teat-align: left;
        line-height: calc( 26 / 16 );
    }
    #service #service-slider .swiper-slide figure {
        margin: 20px 0 0;
    }

    #recruit {
        margin: 0 auto;
        padding: 50px 0;
    }
    #recruit .recruit-wrap {
        display: flex;
        align-items: center;
        justify-content: space-between;
        margin: 0 auto;
        padding: 0 max( 40px, calc( 50vw - 490px - 50px ) );
        width: calc( 100% - 100px );
        height: auto;
        aspect-ratio: 1276 / 540;
        background: url(../images/top-recruit-bg.jpg) no-repeat center / cover;
    }
    #recruit .recruit-info {
        width: 50%;
    }
    #recruit .recruit-btn {
        width: 50%;
        display: grid;
        place-items: center;
    }
    #recruit h2 {
        margin: 0;
        color: #fff;
        font-size: 60px;
        font-family: var(--font-alphabet);
        font-weight: 700;
        text-align: left;
        line-height: calc( 72 / 60 );
    }
    #recruit .subtitle {
        margin: 0;
        color: #fff;
        font-size: 16px;
        font-weight: 700;
        text-align: left;
        line-height: calc( 24 / 16 );
    }
    #recruit .txt1 {
        margin: 1.5em 0 0;
        color: #fff;
        font-size: 28px;
        font-weight: 700;
        text-align: left;
        line-height: calc( 45 / 28 );
    }
    #recruit .txt2 {
        margin: 1.0em 0 0;
        color: #fff;
        font-size: 16px;
        font-weight: 700;
        text-align: left;
        line-height: calc( 32 / 16 );
    }
    #recruit .recruit-btn > a {
        display: grid;
        place-items: center;
        width: 200px;
        max-width: 90%;
        height: auto;
        aspect-ratio: 1 / 1;
        background: #fff;
        border-radius: 100%;
    }
    #recruit .recruit-btn > a img {
        width: 55px;
        height: 39px;
        object-fit: contain;
    }

}
