/* 特徴の文字はPCでは連続表示、スマホでは指定した2行で表示 */
.top-page .benefits .benefit-copy,
.top-page .benefits .benefit-copy > span {
    font:inherit;
    color:inherit;
    margin:0;
}

.top-page .benefits .benefit-copy > span {
    display:inline;
}

/* PC：アイコンごとの縦横比の違いを補い、見た目の大きさをそろえる */
@media (min-width:761px) {
    .top-page .problem-art {
        width:56px;
        height:56px;
        flex-shrink:0;
        object-fit:contain;
        transform-origin:center;
    }

    .top-page .problem:nth-child(2) .problem-art {
        transform:scale(1.15);
    }

    .top-page .problem:nth-child(3) .problem-art {
        transform:scale(1.4);
    }
}

/* TOPの3つの特徴：スマホでも横3列 */
@media (max-width:760px) {
    .top-page .benefits {
        display:grid;
        grid-template-columns:repeat(3,minmax(0,1fr));
        gap:0;
        padding:14px 4%;
        width:100%;
    }

    .top-page .benefits p {
        display:flex;
        flex-direction:column;
        align-items:center;
        justify-content:flex-start;
        gap:8px;
        margin:0;
        padding:0 6px;
        border-bottom:0;
        border-right:1px solid #cfe1f0;
        text-align:center;
        font-size:clamp(11px,2.8vw,14px);
        line-height:1.6;
        white-space:normal;
        overflow-wrap:normal;
        word-break:normal;
        text-wrap:balance;
    }

    .top-page .benefits p:last-child {
        border-right:0;
    }

    .top-page .benefits img {
        width:32px;
        height:30px;
        object-fit:contain;
        flex-shrink:0;
    }

    .top-page .benefits .benefit-copy {
        display:block;
    }

    .top-page .benefits .benefit-copy > span {
        display:block;
        white-space:nowrap;
    }
}

/* お悩みカード：スマホでは本文を1行に収める */
@media (max-width:760px) {
    .top-page .problem {
        display:flex;
        align-items:center;
        justify-content:flex-start;
        min-height:64px;
        padding:12px clamp(10px,3vw,20px);
        gap:clamp(10px,3vw,20px);
        container-type:inline-size;
    }

    .top-page .problem-art {
        width:clamp(30px,9vw,42px);
        height:clamp(30px,9vw,42px);
        flex-shrink:0;
    }

    /* 横長の応募管理イラストは、内部の余白分を補って拡大 */
    .top-page .problem:nth-child(3) .problem-art {
        transform:scale(1.3);
        transform-origin:center;
    }

    .top-page .problem p {
        white-space:nowrap;
        font-size:clamp(10px,3.35vw,19px);
        line-height:1.5;
        margin:0;
        letter-spacing:-.035em;
    }

    .top-page .problem br {
        display:none;
    }

    .top-page .problem p span {
        display:inline;
    }

    @supports (font-size:1cqi) {
        .top-page .problem p {
            font-size:clamp(10px,4.1cqi,19px);
        }
    }
}
