@charset "UTF-8";
/* rn_index_sp.css — リニューアル版トップページ（SP / 640px 以下）。PC は rn_index.css */

@media screen and (max-width: 640px) {
    .rn-btn-xl {
        font-size: 15px;
        padding: 16px 28px;
    }

    .rn-hero {
        padding: 64px 20px 80px; /* 固定ヘッダー分は common_sp.css の body padding-top が確保 */
    }

    .rn-hero-h {
        font-size: clamp(25px, 7.4vw, 34px);
        line-height: 1.3;
        letter-spacing: -.02em;
    }

    .rn-hero-sub {
        font-size: 15px;
        text-wrap: balance;
    }

    .rn-hero-sub br {
        display: none;
    }

    .rn-hero-cta {
        flex-direction: column;
        align-items: stretch;
        width: 100%;
        max-width: 320px;
        margin-bottom: 44px;
    }

    .rn-hero-meta {
        grid-template-columns: 1fr;
        gap: 22px;
    }

    .rn-trust, .rn-strengths, .rn-services { padding: 72px 20px; }
    .rn-sec-title, .rn-trust-title { font-size: 26px; }

    .rn-trust-kpi { grid-template-columns: 1fr; gap: 16px; }
    .rn-kpi + .rn-kpi { border-left: none; border-top: 1px solid var(--rn-hair-soft); padding-top: 20px; }
    .rn-marquee-track li { min-width: 130px; height: 64px; padding: 0 16px; }
    .rn-marquee-track img { max-width: 100px; max-height: 38px; }

    /* Services：2 列 */
    .rn-svc-grid { grid-template-columns: repeat(2, 1fr); gap: 10px; }
    .rn-svc-card { padding: 18px 14px; }
    .rn-svc-num { margin-bottom: 10px; font-size: 11px; }
    .rn-svc-card h3 { font-size: 15px; }
    .rn-svc-card h3 small { font-size: 10.5px; }
    .rn-svc-card p { font-size: 11.5px; line-height: 1.6; }

    /* Strengths */
    .rn-pillars { grid-template-columns: 1fr; }
    .rn-pillar-x { display: none; }
    .rn-pillar, .rn-pillar-x + .rn-pillar { flex-direction: column; min-height: 0; }
    .rn-pillar-photo { flex: none; height: 300px; }
    .rn-pillar-body { padding: 28px 22px 32px; }
    .rn-str-list { padding-top: 32px; gap: 10px; }
    .rn-str-item { padding: 12px 16px 12px 12px; border-radius: 40px; min-height: 76px; }
    .rn-str-item-num { left: 12px; width: 52px; height: 52px; font-size: 26px; }
    .rn-str-item-txt { padding: 0 60px; }
    .rn-str-item h4 { font-size: 19px; }
    .rn-str-item p { font-size: 12px; }

    .rn-con-grid {
        grid-template-columns:repeat(2,1fr);
    }
    .rn-feat-grid {
        grid-template-columns:repeat(2,1fr);
    }
    .rn-sec-title, .rn-sup-title {
        font-size:26px;
    }
    .rn-features {
        padding-left:20px;
        padding-right:20px;
    }
    .rn-features {
        padding-top:72px;
        padding-bottom:72px;
    }
    .rn-feat-grid, .rn-con-grid {
        grid-template-columns:repeat(2,1fr);
        gap:10px;
    }
    .rn-feat-cell {
        padding:14px 10px;
        gap:8px;
        flex-direction:column;
        text-align:center;
    }
    .rn-feat-cell b {
        font-size:12.5px;
    }
    .rn-con-card {
        min-height:0;
        padding:18px 10px 16px;
    }
    .rn-con-ico {
        width:40px;
        height:40px;
        font-size:20px;
        margin-bottom:10px;
    }
    .rn-con-card b {
        font-size:16px;
    }
    .rn-con-pre, .rn-con-suf {
        font-size:10.5px;
    }
    .rn-team-photo {
        padding:36px 12px 0;
    }
    .rn-team-photo-caption h3 {
        font-size:18px;
        padding:0 20px;
    }

    .rn-news { padding: 64px 20px; }
    .rn-news-head { flex-direction: column; align-items: flex-start; gap: 12px; }
    .rn-news-head-left h2 { font-size: 24px; }
    .rn-news-list li { gap: 8px; padding: 16px 4px; }
    .rn-news-list li > a:first-child { display: block; }
    .rn-news-list .day, .rn-news-list .category { display: inline-block; margin: 0 10px 6px 0; vertical-align: middle; }
    .rn-news-list .category:empty { display: none; }

    /* ECトピックス：カルーセル用の幅指定をトップの 3 枚グリッドでは使わない */
    /* 見出し・リード文：文節単位で改行し、中央揃え（孤立した 1〜2 文字を出さない） */
    .rn-hero-sub, .rn-sec-title, .rn-sec-sub, .rn-trust-title, .rn-trust-sub, .rn-sup-title, .rn-sup-sub, .rn-team-photo-caption h3 {
        text-align: center;
        word-break: auto-phrase;
        text-wrap: balance;
        line-break: strict;
    }
    .rn-hero-sub br, .rn-sec-sub br, .rn-trust-sub br { display: none; }
    .rn-sup-sub br { display: block; }

    /* 悩みカード：上の小さな文言を 2 行分の高さに揃え、太字・末尾文言の位置を全カードで合わせる */
    .rn-con-pre {
        min-height: 2.8em;
        display: flex;
        align-items: flex-end;
        justify-content: center;
        margin-bottom: 4px;
    }
}
