/* ------------------------------------------------
PAGE: FRONT-PAGE - トップページ -
------------------------------------------------ */

main {
    font-weight: var(--fontWeight-bold);
    line-height: var(--lineHeight-2);
    letter-spacing: var(--letterSpacing-12);
}

/* h2見出し -------- */
.top__title2 {
    text-align: center;
    margin-bottom: clamp(26px, 2.63vw, 36px);
    --min-size: 40;
    --max-size: 64;
    padding-top: var(--clamp-size);

    .en {
        --min-size: 37;
        --max-size: 50;
        font-size: var(--clamp-size);
        font-family: var(--fontFamily-en);
        font-weight: var(--fontWeight-medium);
        color: var(--color-sky);
        line-height: var(--lineHeight-1);
        letter-spacing: var(--tracking-40);
    }

    .jp {
        --min-size: 14;
        --max-size: 15;
        font-size: var(--clamp-size);
        letter-spacing: var(--tracking-120);
        display: flex;
        justify-content: center;
        align-items: center;
        gap: 1em;
    }

    .jp::before,
    .jp::after {
        content: "";
        display: inline-block;
        width: min(10%, 80px);
        height: 1px;
        background-color: var(--color-black);
        vertical-align: middle;
    }
}

@media (width < 768px) {
    .top__title2 .jp {
        line-height: var(--lineHeight-1);
    }
}

/* h3見出し -------- */
.top__title3 {
    font-size: clamp(16px, 2.5vw, 24px);
    margin-bottom: 2em;
    font-weight: var(--fontWeight-black);
    line-height: var(--lineHeight-160);
    letter-spacing: var(--tracking-120);
    text-align: center;
    position: relative;
}

/* ボタン -------- */

.top__btn {
    --min-size: 48;
    --max-size: 54;
    margin-top: var(--clamp-size);

    a {
        font-size: 14px;
        color: var(--color-black);
        margin-inline: auto;
        display: block;
        border: 2px solid var(--color-black);
        background: transparent;
        line-height: var(--lineHeight-125);
        text-align: center;
        padding: 1.5em 2em;
        width: clamp(150px, 28vw, 220px);
        font-weight: var(--fontWeight-bold);
        transition: all 0.3s ease-in-out;
    }
}

/* ホバー機能があるものとポイントデバイスを持つデバイス限定のためスマホやタブレットは適用外 */
@media (hover: hover) and (pointer: fine) {

    .top__btn a:hover {
        color: var(--color-sky);
        border: 2px solid var(--color-sky);
        background: #fff;
        line-height: var(--lineHeight-125);
        transition: all 0.3s ease-in-out;
    }
}

/* スライダー -------- */
.js-recruit-slider {
    width: 100vw;
    margin-inline: calc(50% - 50vw);

    .splide__slide {
        padding: 10px;
        aspect-ratio: 170/130;
    }
}

/* FV
-----------------------------------------*/
.fv {
    width: 100%;
    height: 90vh;
    height: 90svh;
    position: relative;
    max-height: 800px;
}

@media (width < 768px) {
    .fv {
        height: 80vh;
        height: 80svh;
        /* max-height: 600px; */
    }
}

.fv__image {
    width: 100%;
    height: 100%;
    position: relative;

    video {
        width: 100%;
        height: 100%;
        object-fit: cover;
        object-position: top center;
    }
}

.fv__image::before {
    content: "";
    display: block;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.35);
}

.fv__contents {
    width: max-content;
    max-width: 95%;
    padding: 0 var(--padding-container);
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-43.5%, -73%);
    color: var(--color-white);
    text-align: center;
    opacity: 0;
    filter: blur(2px);
    /* common.cssに記載 */
    animation: BlurFadeIn 1s ease-out 1s 1 normal both;
}

.fv__title {
    --min-size: 29;
    --max-size: 54;
    font-size: var(--clamp-size);
    font-weight: var(--fontWeight-black);
    line-height: var(--lineHeight-150);
    letter-spacing: 0.18em;
    margin-bottom: 0.1em;
    font-feature-settings: "palt";
}

.fv__title span {
        --min-size: 24;
    --max-size: 44;
    font-size: var(--clamp-size);
}


.fv__text {
    --min-size: 14;
    --max-size: 32;
    font-size: var(--clamp-size);
    font-weight: var(--fontWeight-black);
    line-height: var(--lineHeight-185);
    letter-spacing: var(--letterSpacing-16);
    color: var(--color-white);
    padding-left: 4px;
}

@media (width < 768px) {
    .fv__contents {
        padding-inline: 10%;
        margin-inline: auto;
        width: max-content;
        transform: translate(-52%, -73%);
        text-align: left;
    }

    .fv__title {
        margin-bottom: 0.2em;
        letter-spacing: var(--letterSpacing-8);
    }

    .fv__text {
        font-weight: var(--fontWeight-bold);
        letter-spacing: var(--letterSpacing-12);
    }
}

/* TOP-BENEFIT / TOP-SOLUTION
-----------------------------------------*/
.top-benefit,
.top-solution {
    --min-size: 80;
    --max-size: 100;
    padding-bottom: var(--clamp-size);
    background: url(../../img/page/top/bg_grey_top.avif) top center / 100% repeat;
}

.top-benefit {
    padding-top: clamp(40px, 5.85vw, 80px);
    padding-bottom: clamp(50px, 8.7vw, 120px);
}

.top-solution {
    padding-top: 0;
}

.top-benefit__copy,
.top-solution__copy {
    --min-size: 17;
    --max-size: 30;
    font-size: var(--clamp-size);
    font-weight: var(--fontWeight-black);
    line-height: var(--lineHeight-150);
    text-align: center;
    margin-bottom: clamp(10px, 1.46vw, 20px);
    color: var(--color-sky);
    letter-spacing: 0.16em;
}

.top-solution__subcopy {
    --min-size: 14;
    --max-size: 18;
    font-size: var(--clamp-size);
    font-weight: var(--fontWeight-bold);
    line-height: var(--lineHeight-160);
    letter-spacing: 0.08em;
    text-align: center;
    margin-bottom: var(--space-lg);
    color: var(--color-sky);
}

.top-benefit__text,
.top-solution__text {
    --min-size: 12;
    --max-size: 16;
    font-size: var(--clamp-size);
    /* line-height: 1.875; */
    line-height: 2.05;
    text-align: center;
}

.top-benefit__img,
.top-solution__img {
    width: min(82%, 752px);
    height: auto;
    margin-inline: auto;
}

.top-benefit__img {
    margin-top: var(--space-xs);
}

.top-solution__text {
    margin-bottom: var(--space-xl);
}

.top-solution__img {
    width: min(80%, 659px);
}

@media (width < 768px) {
    .top-copy {
        background: url(../../img/page/top/bg_grey_top_sp.avif) top center / 100% repeat;
    }

    .top-benefit,
    .top-solution {
        background: none;
    }

    .top-benefit__text,
    .top-solution__text {
        letter-spacing: 0.02em;
        line-height: 1.875;
    }

    .top-beneft__text {
        margin-bottom: 1em;
    }

    .top-benefit__img {
        width: min(81%, 430px);
        margin-top: var(--space-md);
    }

    .top-solution__img {
        width: min(78%, 400px);
    }
}

/* TOP-SERVICE/parts-service.phpに記述
-----------------------------------------*/


/* TOP-CASE
-----------------------------------------*/
.top-case {
    padding-top: 0;
    background: #e6efef;
    --min-size: 88;
    --max-size: 160;
    padding-bottom: var(--clamp-size);
}

.top-case__copy {
    --min-size: 13;
    --max-size: 16;
    font-size: var(--clamp-size);
    text-align: center;
    width: fit-content;
    margin-inline: auto;
    position: relative;
}

.top-case__copy::after {
    content: "";
    position: absolute;
    bottom: 0;
    right: 0;
    translate: 118% 35%;
    display: block;
    background: url(../../img/page/top/illust_case.svg) no-repeat center/contain;
    width: clamp(100px, 20vw, 186px);
    aspect-ratio: 186 / 118;
    height: auto;
}

.top-case__body {
    display: flex;
    flex-direction: column;
    gap: calc(27px + 40px);
    margin-top: var(--space-3xl);
}

.top-case__wrap {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: var(--space-2xl);
    position: relative;
}

/* 白の背景 */
.top-case__wrap::after {
    content: "";
    display: block;
    position: absolute;
    top: 27px;
    right: 0;
    width: 80%;
    height: 100%;
    background: #fff;
    opacity: 1;
    /* 背景が強すぎる場合は調整 */
    z-index: -1;
    pointer-events: none;
}

/* 画像 */
.top-case__img {
    flex: 4;
    width: 100%;
    height: 100%;
    position: relative;
    aspect-ratio: 306/232;

    img {
        width: 100%;
        height: 100%;
        object-fit: cover;
    }
}

/* 数字 */
.top-case__img::before {
    content: "0" attr(data-list);
    display: block;
    position: absolute;
    top: 0;
    left: 0;
    translate: 30% -50%;
    --min-size: 35;
    --max-size: 70;
    font-size: var(--clamp-size);
    font-family: var(--fontFamily-en);
    font-weight: var(--fontWeight-medium);
    line-height: 1;
    color: #cce5e5;
    z-index: 10;
}

/* 業種＋タイトル */
.top-case__content {
    flex: 6;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    height: stretch;
    margin-top: calc(27px * 2);
    padding-right: 27px;
}

/* 業種 */
.top-case__industry {
    --min-size: 11.5;
    --max-size: 18;
    font-size: var(--clamp-size);
    font-weight: var(--fontWeight-bold);
    color: var(--color-sky);
    margin-bottom: var(--space-xs);
}

/* タイトル */
.top-case__title {
    --min-size: 18;
    --max-size: 24;
    font-size: var(--clamp-size);
    color: var(--color-base);
    line-height: 1.52;
    letter-spacing: var(--letterSpacing-6);
    font-family: "Oswald", "Noto Sans JP", "游ゴシック", "Yu Gothic", "Meiryo", sans-serif;
}

/* ボタン */
.top-case__btn {
    font-size: clamp(12px, 1.03vw, 14px);
    display: inline-block;
    background-color: var(--color-sky);
    border: 2px solid var(--color-sky);
    color: var(--color-white);
    padding: 0.25em 2em;
    width: 158px;
    margin-right: 0;
    align-self: flex-end;
    text-align: center;
    transition: all 0.3s ease-in-out;
    cursor: pointer;
}

@media (hover: hover) and (pointer: fine) {

    .top-case__btn:hover {
        background-color: #fff;
        color: var(--color-sky);
        transition: all 0.3s ease-in-out;
    }
}

/* レイアウトを反転 */
.top-case__wrap:nth-child(2n) {
    flex-direction: row-reverse;

    .top-case__img::before {
        left: unset;
        right: 0;
        translate: -30% -50%;
    }

    .top-case__content {
        padding-right: 0;
        padding-left: 27px;
    }
}

/* 数字を反転 */
.top-case__wrap:nth-child(2n)::after {
    right: unset;
    left: 0;
}

@media (width < 768px) {
    .top-case {
        padding-bottom: calc(90px + calc(clamp(10px, 3.9vw, 22px) * 2));
    }

    .top-case__copy {
        letter-spacing: 0.02em;
        line-height: 1.73;
    }

    .top-case__copy::after {
        position: static;
        translate: 0 0;
        margin: auto;
        margin-top: var(--space-xl);
        width: clamp(110px, 29vw, 220px);
    }

    .top-case__body {
        max-width: 500px;
        margin-inline: auto;
    }

    .top-case__wrap {
        flex-direction: column;
        gap: 0;
        max-width: 660px;
        margin-inline: auto;
    }

    /* 白の背景 */
    .top-case__wrap::after {
        width: calc(100% - 22px);
        right: unset;
        left: clamp(10px, 3.9vw, 22px);
        top: clamp(10px, 3.9vw, 22px);
    }

    .top-case__img {
        width: min(72%, 500px);
        height: 100%;
        aspect-ratio: 500 / 278;
    }

    /* 数字 */
    .top-case__img::before {
        font-size: clamp(35px, 9.11vw, 70px);
        font-family: var(--fontFamily-en);
        font-weight: var(--fontWeight-medium);
        line-height: 1;
        color: #cce5e5;
        z-index: 10;
    }

    .top-case__content {
        align-self: center;
        margin-top: 18px;
        gap: 20px;
        padding-right: 0;
        padding-left: calc(clamp(10px, 3.9vw, 22px) * 2);
        width: min(500px, calc(100% - 44px));
    }

    .top-case__btn {
        align-self: center;
        margin-right: calc(clamp(10px, 3.9vw, 22px) * 2);
        margin-bottom: 1em;
        width: 130px;
    }

    .top-case__text::after {
        position: static;
        translate: 0;
        left: 0;
        margin-inline: auto;
        margin-top: 2em;
    }

    /* レイアウトを反転 */
    .top-case__wrap:nth-child(2n) {
        flex-direction: column;

        .top-case__img {
            align-self: flex-end;
        }

        .top-case__content {
            padding-left: 0;
            padding-right: calc(clamp(10px, 3.9vw, 22px) * 2);
        }

        .top-case__btn {
            margin-left: calc(clamp(10px, 3.9vw, 22px) * 2);
            margin-right: 0;
        }
    }

    /* 数字を反転 */
    .top-case__wrap:nth-child(2n)::after {
        right: unset;
        left: 0;
    }
}

/* TOP-ATTEMPT
-----------------------------------------*/
.top-attempt {
    padding-top: 0;
    padding-bottom: 114px;
}

.top-attempt__inner {
    max-width: 848px;
    margin-inline: auto;
}

.top-attempt .top__title2 {
    padding-top: clamp(50px, 6.5vw, 90px);
    margin-bottom: clamp(30px, 4.6vw, 63px);
}

.top-attempt__body {
    position: relative;
}

.top-attempt__wrap {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: clamp(55px, 5.85vw, 80px) var(--space-2xl);
}

.top-attempt__title3 {
    z-index: 2;
}

.top__title3 span::before {
    content: "Attempt";
    display: inline-block;
    --min-size: 45;
    --max-size: 130;
    font-size: var(--clamp-size);
    font-family: var(--fontFamily-en);
    font-weight: var(--fontWeight-medium);
    writing-mode: vertical-rl;
    line-height: var(--lineHeight-1);
    letter-spacing: var(--tracking-40);
    color: var(--color-sky-light);
    position: absolute;
    top: 20px;
    right: calc(0px - clamp(67px, 14vw, 200px));
    translate: -50% 0;
    z-index: var(--zindex-back);
    height: min-content;
}

/* 取り組み ------ */
.top-attempt__article {
    height: 100%;
    gap: var(--space-xl);
}

.top-attempt__img {
    width: min(100%, 306px);
    aspect-ratio: 306/232;
    height: auto;
    position: relative;

    img {
        width: 100%;
        height: 100%;
        object-fit: cover;
    }
}

.top-attempt__img::before {
    content: "";
    display: block;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: var(--overlay-gray15);
    z-index: 10;
}

.top-attempt__content {
    flex: 1;
}

.top-attempt__title {
    --min-size: 15;
    --max-size: 18;
    font-size: var(--clamp-size);
    font-weight: var(--fontWeight-black);
    letter-spacing: var(--letterSpacing-8);
    color: var(--color-sky);
    display: inline-block;
}

.top-attempt__title::after {
    content: "";
    display: block;
    width: min(calc(100% + 2em), 220px);
    height: 1px;
    background-color: var(--color-black);
    margin-bottom: 0.5em;
}

.top-attempt__text {
    --min-size: 13;
    --max-size: 14;
    font-size: var(--clamp-size);
    font-weight: var(--fontWeight-regular);
    line-height: 2.3;
    margin-bottom: var(--space-lg);
    letter-spacing: var(--letterSpacing-6);
}

.top-attempt__btn {
    background-color: var(--color-sky);
    border: 2px solid var(--color-sky);
    color: var(--color-white);
    font-size: var(--fontSize-base);
    font-weight: var(--fontWeight-black);
    line-height: var(--lineHeight-125);
    letter-spacing: var(--letterSpacing-8);
    text-align: center;
    display: block;
    width: clamp(150px, 28vw, 220px);
    padding: 0.8em 2em;
    transition: all 0.3s ease-in-out;
}


/* ホバー機能があるものとポイントデバイスを持つデバイス限定のためスマホやタブレットは適用外 */
@media (hover: hover) and (pointer: fine) {

    .top-attempt__btn:hover {
        background-color: #fff;
        color: var(--color-sky);
        border-color: var(--color-sky);
        transition: all 0.3s ease-in-out;
    }
}


@media (width < 768px) {
    .top-attempt {
        padding-bottom: 90px;
    }

    .top-attempt .top__title2 .jp {
        align-items: flex-start;
        line-height: var(--lineHeight-150);
    }

    .top-attempt .top__title2 .jp::before,
    .top-attempt .top__title2 .jp::after {
        margin-top: 0.8em;
    }

    .top__title3 span::before {
        top: 1%;
        right: -2.5vw;
        translate: 0;
        margin: 0 auto;
        width: fit-content;
        height: min-content;
        z-index: -10;
    }

    .top-attempt__copy {
        line-height: var(--lineHeight-180);
    }

    .top-attempt__img {
        flex: none;
        max-height: unset;
        position: relative;
        aspect-ratio: 710 / 300;

        img {
            width: 100%;
            height: 100%;
            object-fit: cover;
            aspect-ratio: 710/300;
        }
    }

    .top-attempt__img::before {
        content: "";
        display: block;
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background-color: var(--overlay-gray15);
        z-index: 10;
    }

    .top-attempt__content {
        flex: none;
    }

    .top-attempt__text {
        line-height: var(--lineHeight-180);
        margin-bottom: 25px;
    }

    .top-attempt__btn {
        margin-inline: auto;
    }
}

/* TOP-RECRUIT
-----------------------------------------*/
.top-recruit {
    --min-size: 80;
    --max-size: 92;
    padding-bottom: var(--clamp-size);
    background-color: var(--color-bg-light);
    padding-top: 0;
}

.top-recruit__inner {
    max-width: 920px;
    margin-inline: auto;
}

.top-recruit .top__title3 {
    --min-size: 22;
    --max-size: 32;
    margin-bottom: var(--clamp-size);
}

.top-recruit__figures {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
    --min-size: 30;
    --max-size: 50;
    margin-bottom: var(--clamp-size);
}

.top-recruit__figure {
    box-shadow: var(--shadow);
    flex: 1;
}

.top-recruit__figure a{
    display: block;
    width: 100%;
    height: 100%;
}

.top-recruit__figure img {
    width: 100%;
    height: 100%;
    aspect-ratio: 290/174;
    object-fit: cover;
}

.top-recruit__figure {
    overflow: hidden;
    position: relative;
}

.top-recruit__figure a::after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0);
    transition: all 0.3s ease;
    pointer-events: none;
}

@media (hover: hover) and (pointer: fine) {
    .top-recruit__figure:hover a::after {
        background-color: rgba(0, 0, 0, 0.2);
        transition: all 0.3s ease;
    }
}

.top-recruit__figure figcaption {
    --min-size: 15;
    --max-size: 18;
    font-size: var(--clamp-size);
    letter-spacing: var(--tracking-140);
    text-align: center;
    background-color: var(--color-white);
    padding: 0.3em 1em;
    position:relative;
    z-index: 10;

    &::before {
        content: attr(data-en);
        display: inline-block;
        font-family: var(--fontFamily-en);
        font-weight: var(--fontWeight-medium);
        color: var(--color-sky);
        letter-spacing: var(--tracking-80);
        padding-right: 0.5em;
    }
}


.splide__slide {
    height: 100%;
}

.top-recruit__link {
    position: relative;
    display: block;
    text-decoration: none;
    color: inherit;
}

.top-recruit__image {
    border-radius: 1em;
    box-shadow: var(--shadow);
    aspect-ratio: 170/130;
    width: 100%;
    height: 100%;
    overflow: hidden;

    img {
        border-radius: 1em;
        width: 100%;
        height: 100%;
        object-fit: cover;
    }
}

.top-recruit__label {
    position: absolute;
    top: 0;
    right: 0;
    translate: 45% -7%;
    /* 固定サイズの円形ラベル */
    aspect-ratio: 1;
    width: clamp(20px, 3.8vw, 80px);
    height: auto;
    /* padding削除、完全中央配置 */
    padding: 0;
    line-height: 1;
    border-radius: 50%;
    background: var(--gradient);
    color: var(--color-white);
    /* 完全中央配置 */
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    z-index: var(--zindex-max);
    /* フォントサイズ調整 */
    font-size: clamp(6px, 0.8vw, 18px);
    font-weight: var(--fontWeight-semi-bold);
    letter-spacing: var(--letterSpacing-14);
}

/* ホバー効果 */
.top-recruit__link:hover .top-recruit__image {
    transform: scale(1.02);
    transition: transform 0.3s ease;
}

.top-recruit__link:hover .top-recruit__label {
    transform: scale(1.05);
    transition: transform 0.3s ease;
}

@media (width < 768px) {
    .top-recruit .top__title2 {
        --min-size: 64;
    }

    .top-recruit__figures {
        padding-inline: var(--padding-container);
        flex-direction: column;
        gap: 30px;
    }

    .top-recruit__figure {
        width: 100%;

        img {
            width: 100%;
            height: 100%;
            aspect-ratio: 670/200;
            object-fit: cover;
        }
    }
}

/* タブレット以下 */
@media (width < 1024px) {
    .top-recruit__label {
        width: clamp(40px, 9vw, 55px);
        font-size: clamp(8px, 1.6vw, 12px);
    }
}

/* スマホ */
@media (width < 768px) {
    .top-recruit__label {
        width: clamp(35px, 11vw, 54px);
        font-size: clamp(9px, 2.2vw, 11px);
    }
}

/* TOP-NEWS
-----------------------------------------*/
.top-news {
    --min-size: 50;
    --max-size: 100;
    margin-bottom: var(--clamp-size);
    padding: 0 var(--padding-container);
}

.top-news__inner {
    max-width: 850px;
    margin-inline: auto;
}

.top-news__list {
    background-color: var(--color-gray-light);
    padding: clamp(20px, 2.19vw, 30px) clamp(12px, 5.27vw, 72px) clamp(25px, 3.36vw, 46px);
    display: flex;
    flex-direction: column;
    row-gap: 1em;
}

.top-news__item {
    display: flex;
    flex-direction: column;
    gap: 0.5em;
    opacity: 1;
    transition: all 0.3s ease-in-out;
}



.top-news__link {
    display: block;
    border-bottom: 1px solid var(--color-gray);
    padding-bottom: 1em;
}

.top-news__date {
    font-size: 12px;
    font-family: var(--fontFamily-en);
    letter-spacing: var(--tracking-140);
    color: var(--color-sky);
}

.top-news__title {
    font-size: var(--fontSize-sm);
    letter-spacing: var(--tracking-140);
    transition: all 0.3s ease-in-out;

}

.top-news__btn {
    background-color: var(--color-sky);
    border: 2px solid var(--color-sky);
    color: var(--color-white);
    font-size: var(--fontSize-base);
    font-weight: var(--fontWeight-black);
    line-height: var(--lineHeight-125);
    letter-spacing: var(--letterSpacing-8);
    text-align: center;
    display: block;
    width: clamp(150px, 28vw, 220px);
    padding: 0.8em 2em;
    transition: all 0.3s ease-in-out;
    margin: var(--space-xl) auto 0;
}

@media (hover: hover) and (pointer: fine) {
    .top-news__item:hover .top-news__date {
        color: #54d6db;
        transition: all.3s ease-in-out;
    }

    .top-news__item:hover .top-news__title {
        color: #666;
        transition: all 0.3s ease-in-out;
    }

    .top-news__btn:hover {
        background-color: #fff;
        color: var(--color-sky);
        border-color: var(--color-sky);
        transition: all 0.3s ease-in-out;
    }
}

@media (width < 768px) {
    .top-news .top__title2 {
        --min-size: 60;
    }

    .top-news__link {
        padding-inline: 20px;
    }
}


/* イラストの配置
-----------------------------------------*/
.top-attempt__head,
.top-recruit__head,
.top-news__head {
    position: relative;
}

.top-attempt__head::before,
.top-recruit__head::before,
.top-news__head::before {
    content: "";
    display: block;
    position: absolute;
    top: 0;
    left: 0;
    height: auto;
    z-index: 1;
}

.top-attempt__head::before {
    background: url(../../img/page/top/illust_attempt.svg) no-repeat center/contain;
    transform: translate(calc(-1 * clamp(0px, 7.5vw, 86px)), -50%);
    width: clamp(100px, 14.8vw, 173px);
    aspect-ratio: 173/158;
}

.top-recruit__head::before {
    background: url(../../img/page/top/illust_recruit.svg) no-repeat center/contain;
    left: unset;
    right: 0;
    transform: translate(calc(1 * clamp(0px, 3.2vw, 96px)), -50%);
    width: clamp(100px, 16vw, 190px);
    aspect-ratio: 190/142;
}

.top-news__head::before {
    background: url(../../img/page/top/illust_news.svg) no-repeat center/contain;
    transform: translate(calc(-1 * clamp(0px, 3.4vw, 95px)), -50%);
    width: clamp(100px, 15.5vw, 184px);
    aspect-ratio: 184/144;
}

@media (width < 1024px) {

    .top-attempt__head::before,
    .top-news__head::before {
        transform: translate(-20%, -50%);
    }

    .top-recruit__head::before {
        transform: translate(20%, -50%);
    }
}

@media (width < 768px) {
    .top-attempt__head::before {
        transform: translate(0%, -50%);
        width: clamp(89px, 20vw, 174px);
    }

    .top-recruit__head::before {
        transform: translate(0%, -50%);
        width: clamp(95px, 20vw, 190px);
    }

    .top-news__head::before {
        transform: translate(0%, -50%);
        width: clamp(92px, 20vw, 184px);
    }
}