.support-page__fv {
    background: #fff;
    padding: 30px 0 20px;
}

.support-page__fv-inner img {
    width: 90%;
    max-width: 450px;
    margin: auto;
    display: block;
}

.support_title {
    font-size: 35px;
    font-weight: 900;
    text-align: center;
    margin: 40px 0 20px;
}

/* 下の横線 */
.support_title::after {
    content: "";
    display: block;
    width: 160px;    /* 横線の長さ */
    height: 3px;     /* 線の太さ */
    background: #000;
    margin: 10px auto 0;
}

.support_sub_title {
    font-size: 3rem;
    font-weight: 900;
    text-align: center;
}

/* -----------------------------------
    本文
----------------------------------- */

.content-box {
    display: flex;
    align-items: stretch;
    gap: 60px;              /* 画像とテキストのすき間 */
    width: 80%;
    margin: auto;
    padding: 70px 0;
}

.reverse {
    flex-direction: row-reverse;
}

.bg-color {
    background-color: #efefef;
}

.content-box img {
    width: 45%;
}

.content-text {
    display: flex;
    flex-direction: column;
}

.content-box h3 {
    font-size: 3.2rem;
    font-weight: 1000;
    margin-top: 30px;
    margin-bottom: 25px;
}

.content-box h4 {
    font-size: 1.8rem;
    font-weight: 400;
    line-height: 1.7;
}

.content-box p {
    font-size: 13px;
    font-weight: 400;
    margin-top: auto;
}

/* -----------------------------------
    グリッド
----------------------------------- */

.grid-title {
    text-align: center;
    font-size: 32px;
    font-weight: 1000;
    margin-bottom: 30px;
    padding-top:40px;
}

.content-grid-wrap {
    display: grid;
    grid-template-columns: repeat(3, 1fr);  /* 横3 */
    gap: 40px 0px;                          /* 縦 横の余白 */
    justify-items: center;                  /* 中身を中央寄せ */
    width: 80%;
    margin: 0 auto;
}

.grid_img {
    display: block;
    width: 100%;
    height: auto;
    margin: 0 auto;
    z-index: 1;
}

.content-grid {
    width: 100%;
    max-width: 80%;
}

.grid-text {
    display: flex;
    width: 100%;          /* ←画像と幅を合わせる */
    margin: 0 auto 0;
    font-size: 20px;
    z-index: 2;
}

.grid-text-under {
    position: relative;
    width: 100%;
    margin: 10px auto;
    display: flex;
    align-items: center;
}

.grid-text h3 {
    color: white;
    font-weight: bold;
}

.grid-text > div {
    width: 50%;          /* 左右半分 */
    text-align: center;  /* 各テキスト中央揃え */
}

.grid-text.single-center {
    justify-content: center;
    text-align: center;
    background-color: #8fc31f;
}

.grid-text-under h2 {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);  /* 完全中央 */
    white-space: nowrap;          /* 折り返し防止（要るなら） */
    font-size: 2.7rem;
    font-weight: bold;
}

.left {
    background-color: #8fc31f;
    padding: 3%;
}

.right {
    background-color: #009dda;
    padding: 3%;
}

.single-center {
    padding: 3% 0;
}

.grid-p {
    width: 75%;
    text-align: center;
    margin: 0 auto;
}

.grid-p p {
    text-align: left;
    font-size: 1.8rem;
    font-weight: 400;
    margin-top: 60px;
    padding-bottom: 40px;
    line-height: 1.8;
}

.under-content img {
    width: 65%;
    padding-bottom: 60px;
}

.under-content-text {
    display: flex;
    align-items: center;
    width: 65%;
    margin: 0 auto;
    padding-top: 60px;
}

.under-content h3 {
    font-size: 3.2rem;
    font-weight: 1000;
}

.under-content p {
    font-size: 1.7rem;
    font-weight: 400;
    margin-left: 50px;
}

.scroll-guide {
    display: none;
}

/* タブレット */
@media screen and (max-width: 1024px) {
    .content-box {
        width: 90%;
        gap: 40px;
    }
}

/* スマホ */
@media screen and (max-width: 768px) {
    .support_sub_title {
        font-size: 2rem;
        text-align: left;
    }

    .sub_title {
        width: 80%;
        margin: 0 auto;
        border-left: #000 4px solid;
        border-right: #000 4px solid;
    }

    .text-center {
        width: 200px;
        margin: 0 auto;
    }

    .content-box {
        display: flex;
        flex-direction: column;
        width: 92%;
        gap: 10px;
        padding: 30px 0;
    }

    /* 親を消す（中身だけ生きる） */
    .content-text {
        display: contents;
    }

    .content-box h3 {
        order: 1;
        margin-top: 0;
        font-size: 2.4rem;
    }

    .content-box img {
        order: 2;
        width: 100%;
    }

    .content-box h4 {
        order: 3;
        font-size: 1.6rem;
    }

    .content-box p {
        order: 4;
    }

    .content-box h3 {
        font-size: 1.9rem;
        text-align: center;
        margin: 0;
    }

    .content-box h4 {
        font-size: 1.4rem;
    }

    .grid-title {
        font-size: 1.9rem;
        width: 280px;
        text-align: center;
        margin: 0 auto;
        padding: 30px 0;
    }

    .content-grid-wrap {
        grid-template-columns: repeat(2, 1fr);
        gap: 10px 20px;
    }

    .grid-content h2 {
        font-size: 1.5rem;
    }

    .grid-content h3 {
        font-size: 0.9rem;
    }

    .content-grid {
        width: 100%;
        max-width: 100%;
    }

    .grid-p {
        width: 90%;
    }

    .grid-p p {
        font-size: 1.4rem;
        margin-top: 20px;
        padding-bottom: 30px;
        line-height: 1.6;
    }

    .order-text-first {
        display: flex;
        flex-direction: column;
    }

    .order-text-first .content-text {
        display: contents;
    }

    .order-text-first h3 {
        order: 1;
    }

    .order-text-first h4 {
        order: 2;
    }

    .order-text-first img {
        order: 3;
        width: 100%;
    }

    .under-content {
        background-color: white;
    }

    .under-content-text {
        display: flex;
        flex-direction: column;
        align-items: center;
        width: 100%;
        margin: 0 auto;
        padding-top: 40px;
    }

    .under-content h3 {
        font-size: 2rem;
        font-weight: 1000;
        letter-spacing: 0.1em;
    }

    .under-content p {
        font-size: 1.4rem;
        font-weight: 400;
        margin-left: 0px;
        margin-bottom: 15px;
    }

    .under-content img {
        background-color: #efefef;
    }

    /* 横スクロール全体 */
    .scroll-area-wrap {
        width: 100%;
        margin: 0 auto 40px;
    }

    .scroll-img {
        overflow-x: auto;          /* 横スクロール許可 */
        -webkit-overflow-scrolling: touch; /* iOSぬるぬる */
        padding-bottom: 10px;
    }

    .scroll-img img {
        width: auto;               /* 縮めない */
        max-width: 100%;
        height: auto;
        min-width: 850px;          /* ←画像の実サイズに合わせて調整 */
        padding: 30px;
        margin: 20px;
    }

    .scroll-guide {
        margin-top: 10px;
        font-size: 1.3rem;
        color: #666;
        text-align: center;
        display: block;
    }
}