.sp {
    display: none !important;
}

img {
    max-width: 100%;
    width: inherit;
    vertical-align: middle;
}

p {
    font-size: 17px;
    font-weight: 600;
    line-height: 1.7;
    margin-bottom: 20px;
    text-align: center;
}

section {
    padding: 80px 0;

    .container {
        max-width: 1100px;
        margin: 0 auto;
    }

    &.section02 {
        background: #fff;
    }
}

h2 {
    position: relative;
    font-size: 32px;
    font-weight: 600;
    line-height: 1.7;
    text-align: center;
    margin: 20px 0 50px;

    span {
        color: #6791a4;
    }
}

/* 下層ページ（初めての方へ） */

.page-2025 {
    .page-fv {
        position: relative;
        width: 100%;
        padding: 0;

        h1 {
            position: absolute;
            top: 40%;
            left: 49%;
            transform: translate(-50%, -50%);
            color: #fff;
            font-size: 30px;
            font-weight: 600;
        }
    }

    .section01 {
        background: #f9f4e8;

        .container {
            h2 {
                max-width: 700px;
                margin: 50px auto;

                .before {
                    position: absolute;
                    left: 0;
                }

                .after {
                    position: absolute;
                    right: 0;
                    bottom: -10px;
                }
            }

            .conversation-img {
                position: relative;
                top: 60px;
                right: 80px;
                text-align: right;
                z-index: 5;
            }

            .conversation {
                position: relative;
                background: #fff;
                padding: 100px 20px;
                margin: 50px 0;
                border-radius: 90px;
                background-image: url(../../page-img2025/section02-bg01.png);

                .speech-wrap {
                    position: relative;
                    display: flex;
                    align-items: center;
                    gap: 50px;

                    &.right {
                        justify-content: right;

                        .speech-text::after {
                            content: '';
                            position: absolute;
                            right: -35px;
                            bottom: 15px;
                            transform: rotate(12deg);
                            display: block;
                            border-top: 20px solid transparent;
                            border-bottom: 10px solid transparent;
                            border-left: 50px solid #f0f0f0;
                            border-right: 0;
                        }

                        span {
                            color: #6791a4;
                        }
                    }

                    &.left {
                        left: -50px;
                        flex-direction: row-reverse;
                        justify-content: left;

                        .speech-text p {
                            text-align: left;
                            color: #fff;
                            background: #6791a4;
                            padding: 40px;
                            border-radius: 100px 100px 100px 0;

                            &::after {
                                content: '';
                                position: absolute;
                                left: -30px;
                                bottom: 9px;
                                transform: rotate(-203deg);
                                display: block;
                                border-top: 20px solid transparent;
                                border-bottom: 10px solid transparent;
                                border-left: 50px solid #6791a4;
                                border-right: 0;
                            }
                        }
                    }

                    .speech-text {
                        position: relative;
                        max-width: 650px;

                        p {
                            text-align: left;
                            background: #f0f0f0;
                            padding: 40px;
                            border-radius: 100px 100px 0;
                        }

                    }
                }

            }
        }
    }

    .section-bottom {
        padding: 50px 0;
        background: #fff;
        background-image: url(../../page-img2025/bg-bottom-section.png);
        background-repeat: repeat;
        background-position: bottom;
    }

    .section02 {
        .h2-img {
            text-align: center;
            margin: 40px 0;
        }

        .support-wrap {
            display: flex;
            flex-wrap: wrap;
            justify-content: center;
            gap: 50px 30px;
            margin: 80px 0;
        }

        .support-wrap2 {
            display: flex;
            flex-wrap: nowrap;
            justify-content: center;
            gap: 50px 30px;
            margin: 80px 0;
        }

        .support-item {
            text-align: center;

            img {
                height: 160px;
                object-fit: contain;
                margin-bottom: 20px;
            }

            p.button {
                position: relative;
                width: 90%;
                color: #fff;
                background: #d9964c;
                padding: 10px;
                margin: 5px auto;
                border-radius: 50px;

                &::after {
                    content: '';
                    display: block;
                    position: absolute;
                    top: 50%;
                    right: 15px;
                    transform: translateY(-30%);
                    width: 35px;
                    height: 10px;
                    background-image: url(../../page-img2025/section02-arrow01.png);
                    background-repeat: no-repeat;
                }
            }
        }

        .support-balloon {
            position: relative;
            width: 300px;

            p {
                position: absolute;
                top: 40%;
                left: 50%;
                transform: translate(-50%, -50%);
                width: 100%;

            }

            p.white {
                color: #fff;
            }
        }
    }

    /* 下層ページ（サービス）PC表示 */
    .section-top {
        padding: 25px 0;
        background: #fff;
        background-image: url(../../page-img2025/bg-bottom-section-top.png);
        background-repeat: repeat;
        background-position: bottom;
    }


    .section01.service01 {
        padding-bottom: 5px;

        h2 {
            line-height: 1.5;

            span {
                font-size: 16px;
            }
        }
    }

    .section02.service02 {
        background: #fff;
        background-image: url(../../top-img2025/section02-bg.png);

        h2 {
            max-width: 650px;
            margin: 50px auto;

            .before {
                position: absolute;
                top: -20px;
                left: 0;
            }

            .after {
                position: absolute;
                right: 0;
                bottom: -20px;
            }
        }

        .worries-wrap {
            position: relative;
            top: 40px;
            display: grid;
            grid-template-columns: repeat(3, 1fr);

            .worries-item {
                position: relative;

                &.no1 {
                    grid-column: 2 / 3;
                    grid-row: 1 / 2;

                    span {
                        position: absolute;
                        width: 100%;
                        top: 25%;
                        right: 5%;
                        color: #fff;
                        font-size: 18px;
                        text-align: center;
                    }
                }

                &.no2 {
                    position: relative;
                    top: -40px;
                    left: 130px;
                    text-align: right;
                    grid-row: 2 / 3;

                    span {
                        position: absolute;
                        width: 100%;
                        top: 30%;
                        left: 5%;
                        font-size: 18px;
                        text-align: center;
                    }
                }

                &.no3 {
                    position: relative;
                    top: -100px;
                    grid-column: 1 / 2;
                    grid-row: 1 / 2;
                    text-align: center;
                }

                &.no4 {
                    grid-column: 3/4;
                    grid-row: 1/2;
                    text-align: center;
                }

                &.no5 {
                    position: relative;
                    top: -50px;
                    right: 150px;
                    grid-column: 3 / 4;
                    grid-row: 2 / 3;

                    span {
                        position: absolute;
                        width: 100%;
                        top: 40%;
                        right: 10%;
                        color: #fff;
                        font-size: 18px;
                        text-align: center;
                    }
                }
            }

        }

        .worries-img {
            text-align: center;
        }
    }

    .section03.service03 {
        background: #f9f4e8;

        h2 {
            line-height: 1.5;

            span {
                font-size: 16px;
            }
        }

        .speech-wrap {
            display: flex;
            justify-content: center;
            gap: 50px;
            align-items: flex-end;

            p {
                position: relative;
                max-width: 630px;
                text-align: left;
                color: #fff;
                background: #6791a4;
                padding: 30px 50px;
                border-radius: 100px 100px 0;

                &::after {
                    content: '';
                    position: absolute;
                    right: -35px;
                    bottom: -5px;
                    transform: rotate(11deg);
                    display: block;
                    border-top: 20px solid transparent;
                    border-bottom: 10px solid transparent;
                    border-left: 50px solid #6791a4;
                    border-right: 0;
                }
            }
        }
    }

    .section04.service04 {
        background: #f9f4e8;
        background-image: url(../../top-img2025/section01-bg.png);
        background-repeat: repeat;

        h2 {
            line-height: 1.5;

            span {
                font-size: 16px;
            }
        }

        .support-wrap {
            display: flex;
            gap: 30px;
            margin-bottom: 50px;
            justify-content: center;

            .support-item {
                width: 350px;
                background: #fff;
                border-radius: 40px;

                h3 {
                    color: #fff;
                    background: #6791a4;
                    text-align: center;
                    padding: 20px 0;
                    margin-bottom: 30px;
                    border-radius: 40px 40px 0 0;
                }

                .support-img {
                    text-align: center;
                    margin-bottom: 30px;
                }

                .support-text {
                    position: relative;
                    text-align: center;
                    margin-bottom: 80px;

                    span {
                        font-size: 20px;
                        font-weight: 600;
                    }

                    .before {
                        position: absolute;
                        top: -10px;
                        left: 5%;
                        width: 30px;
                    }

                    .after {
                        position: absolute;
                        bottom: -20px;
                        right: 5%;
                        width: 30px;
                    }
                }
            }
        }

        p.button {
            position: relative;
            width: 300px;
            color: #fff;
            background: #d9964c;
            padding: 10px;
            margin: 5px auto;
            border-radius: 50px;

            &::after {
                content: '';
                display: block;
                position: absolute;
                top: 50%;
                right: 15px;
                transform: translateY(-30%);
                width: 35px;
                height: 10px;
                background-image: url(../../page-img2025/section02-arrow01.png);
                background-repeat: no-repeat;
            }
        }
    }

    .section05.service05 {
        background: #fff;

        h2 {
            line-height: 1.5;

            span {
                font-size: 16px;
            }
        }

        .solutions-wrap {
            max-width: 1100px;
            display: grid;
            grid-template-columns: 20% 60% 20%;
            background: #f9f4e8;
            padding: 50px 0;
            border-radius: 40px;

            .solutions-text {
                position: relative;
                grid-column: 2 / 3;
                grid-row: 1 / 2;

                p {
                    font-size: 25px;
                }

                span {
                    color: #6791a4;
                }

                .before {
                    position: absolute;
                    top: -10px;
                    left: 0;
                    width: 40px;
                }

                .after {
                    position: absolute;
                    top: 80px;
                    right: 0;
                    width: 40px;
                }
            }

            .solutions-img {
                margin: auto;
                text-align: center;

                &.left {
                    grid-column: 1/2;
                    grid-row: 1/3;

                }

                &.right {
                    grid-column: 3/4;
                    grid-row: 1/3;
                }
            }

            .service-button {
                margin-top: 30px;
                grid-column: 2/3;
                grid-column: 2/3;
            }
        }

        p.button {
            font-size: 17px !important;
            position: relative;
            width: 300px;
            color: #fff;
            background: #d9964c;
            padding: 10px;
            margin: 15px auto;
            border-radius: 50px;

            &::after {
                content: '';
                display: block;
                position: absolute;
                top: 50%;
                right: 15px;
                transform: translateY(-30%);
                width: 35px;
                height: 10px;
                background-image: url(../../page-img2025/section02-arrow01.png);
                background-repeat: no-repeat;
            }
        }
    }
}

/* 下層ページ（初めての方へ） スマホ表示 */

@media(max-width:600px) {
    .pc {
        display: none;
    }

    .sp {
        display: block !important;
    }

    /* 固定ページ */
    .page-2025 {
        section {
            padding: 50px 15px;
        }

        .page-fv {
            h1 {
                width: 100%;
                text-align: center;
                top: 65%;
                left: 49%;
            }
        }

        .section01 {
            .container {

                h2 {
                    font-size: 26px;
                    margin: 50px 20px;
                }

                p {
                    margin: 0 20px 20px;
                    text-align: left;
                }

                .conversation-img {
                    width: 200px;
                    right: -130px;
                }

                .conversation {
                    padding: 50px 10px;
                    border-radius: 40px;

                    .speech-wrap {
                        align-items: flex-end;
                        gap: 40px;
                        margin-bottom: 30px;

                        .speech-text {
                            position: relative;
                            max-width: 650px;
                            width: 120%;

                            p {
                                padding: 50px 30px;
                                margin: 20px 0;
                                border-radius: 90px 90px 0;
                            }
                        }

                        &.right .speech-text::after {
                            right: -20px;
                        }

                        &.left {
                            left: -25px;

                            .speech-img {
                                margin-bottom: -30px;
                            }
                        }

                        .speech-img {
                            padding-bottom: 20px;
                        }
                    }
                }
            }
        }

        .section02 {
            .h2-img {
                padding: 0 20px;
            }

            .support-text {
                padding: 0 20px;
                text-align: justify;
            }
        }

        /* サービスページ（スマホ表示） */
        .section-bottom {
            padding: 20px 0;
        }

        .section02.service02 {
            h2 {
                font-size: 24px;
            }

            .before,
            .after {
                width: 30px;
            }

            .worries-wrap {
                top: 0;
                grid-template-columns: repeat(2, 1fr);

                .worries-item {
                    &.no1 {
                        width: 280px;
                        left: 40px;
                        grid-column: 1 / 3;
                        grid-row: 1 / 2;

                        span {
                            top: 30%;
                            right: 0;
                        }
                    }

                    &.no2 {
                        width: 240px;
                        top: 0;
                        left: 0;
                        grid-column: 1 / 2;
                        grid-row: 2 / 3;

                        span {
                            position: absolute;
                            width: 100%;
                            top: 25%;
                            left: -1%;
                            font-size: 17px;
                            text-align: center;
                        }
                    }

                    &.no3 {
                        width: 100px;
                        top: 0;
                        left: 0;
                        grid-column: 1 / 2;
                        grid-row: 3 / 4;
                    }

                    &.no4 {
                        top: -20px;
                        width: 120px;
                        grid-column: 2 / 3;
                        grid-row: 2 / 3;
                    }

                    &.no5 {
                        width: 240px;
                        top: 0;
                        right: 130px;
                        grid-column: 2 / 3;
                        grid-row: 3 / 4;

                        span {
                            top: 40%;
                            right: 0%;
                        }
                    }
                }
            }
        }

        .section03.service03 {
            .speech-wrap {
                flex-direction: column;
                gap: 0;

                p {
                    padding: 50px 50px;
                    border-radius: 100px;

                    &::after {
                        right: 40%;
                        bottom: -5px;
                        transform: rotate(-40deg);
                    }
                }
            }
        }

        .section04.service04 {
            .support-wrap {
                flex-direction: column;
            }
        }

        .section05.service05 {
            .solutions-wrap {
                grid-template-columns: 1fr 1fr;

                .solutions-text {
                    grid-column: 1 / 3;
                    grid-row: 1 / 2;
                    margin-bottom: 50px;

                    .before {
                        top: -20px;
                        left: 5%;
                        width: 30px;
                    }

                    .after {
                        position: absolute;
                        top: 130px;
                        right: 5%;
                        width: 30px;
                    }
                }

                .solutions-img {
                    &.left {
                        grid-column: 1 / 2;
                        grid-row: 2 / 3;
                    }

                    &.right {
                        grid-column: 2 / 3;
                        grid-row: 2 / 3;
                    }

                }

                .service-button {
                    margin-top: 30px;
                    grid-column: 1 / 3;
                    grid-row: 3 / 4;
                }
            }
        }

    }
}

/* ======================================== */
/* 2026.01.22追加_はじめての方へ（ガイド）ページ　*/
/* ======================================== */

/* はじめての方へページ：共通見出しスタイル */
.page-2025 h2.message-title {
    line-height: 1.2;
    /* 行間を狭くして上下の距離を詰める */
    margin-bottom: 50px;
    /* 下のコンテンツ（グリッドなど）との距離 */
    text-align: center;
    /* 念のため中央揃えを明示 */

    span {
        font-size: 20px;
        /* 英語表記のサイズ */
        color: #6791a4;
        /* 既存の青系カラーを適用 */
        display: inline-block;
        margin-bottom: 5px;
        /* 下の日本語見出しとの隙間を調整 */
        font-weight: 600;
        letter-spacing: 0.05em;
        /* 英語を少し読みやすく */
    }
}

/* スマホでの見出し調整 */
@media(max-width:600px) {
    .page-2025 h2.message-title {
        margin-bottom: 30px;

        span {
            font-size: 18px;
            /* スマホでは少し小さく調整 */
        }
    }
}

/* 代表メッセージセクション */
.section-message .message-flex-container {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 60px;
    margin-top: 40px;
}

.section-message .message-photo {
    flex: 0 0 400px;

    img {
        width: 100%;
        border-radius: 30px;
        display: block;
    }
}

.section-message .message-body {
    flex: 1;
    display: flex;
    flex-direction: column;
    /* 通常は上から本文、下に署名 */
}

.section-message .message-text-box {
    order: 1;

    /* 通常順序 */
    p {
        text-align: left;
        /* PC・スマホ共通で左寄せ */
        line-height: 1.8;
        margin-bottom: 20px;
    }
}

.section-message .message-signature {
    order: 2;
    display: flex;
    align-items: baseline;
    gap: 15px;
    margin-top: 40px;
    padding-top: 20px;
    border-top: 1px solid #6791a4;

    p {
        text-align: left;
        margin-bottom: 0 !important;
    }

    .role {
        font-size: 15px;
        color: #6791a4;
        font-weight: 600;
    }

    .name {
        font-size: 24px;
        color: #333;
        font-weight: 600;
    }
}

@media(max-width:600px) {
    .section-message .message-flex-container {
        flex-direction: column;
        align-items: center;
        gap: 30px;
    }

    .section-message .message-photo {
        flex: none;
        width: 80%;
        /* スマホでは中央に程よいサイズで */
    }

    .section-message .message-body {
        /* column-reverse を使うことで、HTMLの記述順に関わらず見た目を上下反転させます */
        flex-direction: column-reverse;
    }

    .section-message .message-signature {
        justify-content: center;
        margin-top: 0;
        margin-bottom: 25px;
        padding-top: 0;
        padding-bottom: 20px;
        border-top: none;
        border-bottom: 1px solid #6791a4;

        .name {
            font-size: 20px;
        }
    }

    .section-message .message-text-box p {
        text-align: left;
        font-size: 16px;
    }
}

/* 選ばれる理由セクション */
.section-reasons {
    background: #f9f4e8;
    /* 既存の薄いベージュに合わせる */

    .reasons-grid {
        display: grid;
        grid-template-columns: repeat(3, 1fr);
        /* 3カラム */
        gap: 30px;
        margin-top: 50px;
    }

    .reason-item {
        background: #fff;
        padding: 40px 30px;
        border-radius: 40px;
        box-shadow: 0 5px 20px rgba(0, 0, 0, 0.03);
        display: flex;
        flex-direction: column;
    }

    .reason-head {
        text-align: center;
        margin-bottom: 25px;

        .reason-num {
            display: block;
            font-size: 28px;
            color: #d9964c;
            /* アクセントのオレンジ */
            font-weight: 700;
            margin-bottom: 10px;
            font-family: 'Georgia', serif;
            /* 数字を綺麗に見せる */
        }

        h3 {
            font-size: 20px;
            color: #6791a4;
            /* メインのブルー */
            font-weight: 700;
            line-height: 1.5;
            min-height: 3em;
            /* 高さを揃えてガタつきを防ぐ */
        }
    }

    .reason-body {
        p {
            font-size: 15px;
            /* 説明文は少し小さめに */
            text-align: justify;
            /* 両端揃えで綺麗に */
            line-height: 1.8;
            margin-bottom: 0;
        }
    }
}

@media(max-width: 900px) {
    .section-reasons .reasons-grid {
        grid-template-columns: 1fr;
        /* 1列に変更 */
        padding: 0 10px;
    }

    .section-reasons .reason-head h3 {
        min-height: auto;
    }
}

/* 経営理念・行動指針セクション */
.section-philosophy {
    background: #fff;
    /* 白背景で清潔感を */

    .philosophy-content {
        max-width: 900px;
        margin: 0 auto;
    }

    .philosophy-box {
        position: relative;
        margin-bottom: 60px;
        padding: 50px 40px;
        border: 2px solid #6791a4;
        /* メインカラーの枠線 */
        border-radius: 40px;
        background: #fdfcf9;
        /* 非常に薄いベージュで高級感を */

        &:last-child {
            margin-bottom: 0;
        }

        .philosophy-tag {
            position: absolute;
            top: -15px;
            left: 50%;
            transform: translateX(-50%);
            background: #6791a4;
            color: #fff;
            padding: 5px 35px;
            border-radius: 20px;
            font-weight: 600;
            font-size: 18px;
        }

        /* 経営理念のメインテキスト */
        .philosophy-main-text {
            font-size: 20px;
            color: #333;
            line-height: 2;
            font-weight: 600;
            margin-bottom: 0;
        }

        /* 行動指針の見出し */
        h3 {
            font-size: 20px;
            color: #d9964c;
            /* アクセントカラーのオレンジ */
            margin-bottom: 25px;
            font-weight: 700;
            line-height: 1.6;
            text-align: center;
        }

        p {
            text-align: center;
            line-height: 2;
            margin-bottom: 0;
        }
    }
}

@media(max-width:600px) {
    .section-philosophy {
        .philosophy-box {
            padding: 40px 20px;

            .philosophy-main-text {
                font-size: 17px;
            }

            h3 {
                font-size: 18px;
            }
        }
    }
}

.section-staff {
    background: #fff;
    /* 背景を白に変更 */
    padding: 80px 0;

    .staff-grid {
        display: grid;
        grid-template-columns: repeat(3, 1fr);
        gap: 50px 30px;
        /* 縦の間隔を少し広めに設定 */
        margin-top: 50px;
    }

    .staff-item {
        background: transparent;
        /* 背景なし */
        padding: 0;
        /* 余白なし */
        display: flex;
        flex-direction: column;
    }

    .staff-img {
        width: 100%;
        margin-bottom: 20px;

        img {
            width: 100%;
            aspect-ratio: 1 / 1;
            object-fit: cover;
            border-radius: 25px;
            /* イメージ画像に合わせた角丸 */
        }
    }

    .staff-role {
        font-size: 14px;
        color: #6791a4;
        font-weight: 700;
        margin-bottom: 5px;
        text-align: left;
    }

    .staff-name {
        font-size: 22px;
        font-weight: 700;
        margin-bottom: 15px;
        text-align: left;
        color: #333;

        span {
            font-size: 15px;
            font-weight: 600;
            color: #666;
            margin-left: 5px;
        }
    }

    .staff-desc {
        font-size: 15px;
        line-height: 1.8;
        text-align: left;
        margin-bottom: 20px;
        color: #444;
        font-weight: 500;
    }

    .staff-affiliate {
        margin-top: auto;
        padding-top: 15px;
        border-top: 1px solid #eee;

        /* 薄い実線で区切り */
        p {
            font-size: 12px;
            color: #888;
            text-align: left;
            margin-bottom: 0 !important;
            line-height: 1.5;
        }
    }
}

@media(max-width: 900px) {
    .section-staff {
        padding: 50px 15px;

        .staff-grid {
            grid-template-columns: 1fr;
            gap: 60px;
            /* スマホでは各スタッフの間隔を広く */
        }

        .staff-img img {
            border-radius: 20px;
        }

        .staff-name {
            font-size: 20px;
        }
    }
}

/* スタッフ紹介：スマホでの2カラム調整 */
@media(max-width: 600px) {
    .section-staff .staff-item {
        /* グリッドレイアウトを適用 */
        display: grid;
        grid-template-columns: 120px 1fr;
        /* 左:写真120px、右:残り */
        grid-template-areas:
            "img role"
            "img name"
            "desc desc"
            "aff aff";
        column-gap: 20px;
        /* 写真と文字の間隔 */
        margin-bottom: 40px;
        /* スタッフ同士の間隔 */
    }

    /* 写真エリア */
    .section-staff .staff-img {
        grid-area: img;
        /* エリア指定 */
        margin-bottom: 0;

        img {
            width: 100%;
            height: auto;
            aspect-ratio: 1 / 1;
            object-fit: cover;
            border-radius: 20px;
        }
    }

    /* 情報エリアの枠を無効化し、中身を直接グリッド配置 */
    .section-staff .staff-info {
        display: contents;
    }

    /* 役職 */
    .section-staff .staff-role {
        grid-area: role;
        align-self: end;
        /* 下揃え */
        margin-bottom: 5px;
        font-size: 13px;
    }

    /* 名前 */
    .section-staff .staff-name {
        grid-area: name;
        align-self: start;
        /* 上揃え */
        font-size: 18px;

        span {
            display: block;
            /* ふりがなを改行して表示 */
            font-size: 12px;
            margin-left: 0;
            margin-top: 3px;
        }
    }

    /* 説明文（全幅で表示） */
    .section-staff .staff-desc {
        grid-area: desc;
        margin-top: 20px;
        /* 写真との距離 */
        font-size: 15px;
    }

    /* 所属情報（全幅で表示） */
    .section-staff .staff-affiliate {
        grid-area: aff;
    }
}

/* ご相談の流れ（Step文字を円に入れる版） */
.section-flow {
    background: #f9f4e8;

    .flow-list {
        max-width: 900px;
        margin: 0 auto;
    }

    .flow-item {
        position: relative;
        display: flex;
        align-items: center;
        background: #fff;
        border: 2px solid #6791a4;
        border-radius: 10px;
        padding: 30px 40px;
        margin-bottom: 50px;
        gap: 40px;

        /* 下の矢印（▼） */
        &::after {
            content: '';
            position: absolute;
            bottom: -30px;
            left: 50%;
            transform: translateX(-50%);
            width: 0;
            height: 0;
            border-style: solid;
            border-width: 20px 15px 0 15px;
            border-color: #6791a4 transparent transparent transparent;
        }

        &:last-child {
            margin-bottom: 0;

            &::after {
                display: none;
            }
        }
    }

    /* アイコンエリア */
    .flow-icon-area {
        flex-shrink: 0;
        width: 100px;
        /* エリア幅 */
        display: flex;
        justify-content: center;

        .icon-circle {
            width: 100px;
            /* 円のサイズを少し大きくして余裕を持たせる */
            height: 100px;
            border: 2px solid #6791a4;
            border-radius: 50%;
            display: flex;
            flex-direction: column;
            /* ★縦並びに変更 */
            align-items: center;
            justify-content: center;
            padding: 5px;
            /* 内側の余白 */
            background: #fff;

            /* Stepの文字 */
            .step-label {
                font-size: 15px;
                font-weight: 700;
                color: #6791a4;
                font-family: 'Georgia', sans-serif;
                line-height: 1;
                margin-bottom: 9px;
                margin-top: -5px;
            }

            /* アイコン画像 */
            img {
                width: auto;
                height: 40px;
                /* ★高さを指定して円からはみ出さないように */
                max-width: 80%;
                object-fit: contain;
            }
        }
    }

    /* 右側のテキストエリア */
    .flow-content {
        flex: 1;

        h3 {
            font-size: 20px;
            font-weight: 700;
            color: #333;
            text-align: left;
            margin: 0 0 15px 0;
        }

        p {
            font-size: 15px;
            line-height: 1.6;
            text-align: left;
            margin-bottom: 0;
            color: #333;
        }

        .flow-link {
            display: inline-block;
            margin-top: 10px;
            color: #0000ee;
            text-decoration: underline;
            font-size: 14px;
        }
    }
}

@media(max-width: 600px) {
    .section-flow .flow-item {
        flex-direction: column;
        text-align: center;
        padding: 30px 20px;
        gap: 20px;
    }

    .section-flow .flow-content {
        h3 {
            text-align: center;
            font-size: 18px;
        }

        p {
            text-align: left;
        }

        .flow-link {
            text-align: center;
            display: block;
        }
    }
}

/* よくある質問（Q&A）セクション */
.section-faq {
    background: #fff;
    padding: 80px 0;

    .faq-list {
        max-width: 900px;
        margin: 0 auto;
    }

    .faq-item {
        border-bottom: 1px solid #ddd;
        /* 区切り線 */

        &:last-child {
            border-bottom: none;
        }
    }

    /* 質問部分（クリックエリア） */
    .faq-question {
        position: relative;
        font-size: 18px;
        color: #6791a4;
        font-weight: 600;
        line-height: 1.6;
        padding: 20px 50px 20px 0;
        /* 右側にアイコン用のスペースを空ける */
        cursor: pointer;
        /* カーソルを指マークに */
        transition: color 0.3s;

        &:hover {
            opacity: 0.8;
        }
    }

    /* 開閉アイコン（＋/－） */
    .faq-icon {
        position: absolute;
        right: 0;
        top: 50%;
        transform: translateY(-50%);
        width: 30px;
        height: 30px;
        background: #6791a4;
        /* 丸い背景 */
        border-radius: 50%;

        /* プラスマークの線を作成 */
        &::before,
        &::after {
            content: '';
            position: absolute;
            top: 50%;
            left: 50%;
            transform: translate(-50%, -50%);
            background: #fff;
            transition: all 0.3s ease;
        }

        &::before {
            width: 14px;
            height: 2px;
            /* 横棒 */
        }

        &::after {
            width: 2px;
            height: 14px;
            /* 縦棒 */
        }
    }

    /* 開いている状態のアイコン変化 */
    .faq-question.is-open {
        .faq-icon {
            background: #d9964c;
            /* 開いたときは色をオレンジなどに変える（任意） */

            &::after {
                transform: translate(-50%, -50%) rotate(90deg);
                /* 縦棒を回転させて横棒に重ねる（－になる） */
                opacity: 0;
                /* あるいは消す */
            }
        }
    }

    /* 回答エリア（初期は非表示） */
    .faq-answer {
        display: none;
        /* JSで開閉するため隠しておく */
        padding: 0 10px 30px;

        p {
            font-size: 15px;
            color: #333;
            line-height: 1.8;
            margin-bottom: 0;
            border-radius: 10px;
            text-align: left;
        }
    }
}

/* スマホ対応 */
@media(max-width: 600px) {
    .section-faq {
        padding: 50px 15px;

        .faq-question {
            font-size: 16px;
            padding-right: 40px;
        }

        .faq-icon {
            width: 24px;
            height: 24px;

            &::before {
                width: 10px;
            }

            &::after {
                height: 10px;
            }
        }
    }
}

/* 相続税シミュレーション・案内セクション */
.section-simulation {
    background: #fff9f3;
    padding: 80px 0;
}

.section-simulation .simulation-box {
    max-width: 900px;
    margin: 0 auto 25px auto; /* 下マージンを追加 */
    background: #eaf4f7;
    border: 2px solid #6791a4;
    border-radius: 40px;
    padding: 40px 50px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
    box-shadow: 0 10px 25px rgba(103, 145, 164, 0.15);
}

.section-simulation .simulation-content {
    flex: 1;
}

/* タイトル周り */
.section-simulation .simulation-title {
    margin-bottom: 20px;
    text-align: left;
}

.section-simulation .simulation-title .sub {
    display: block;
    font-size: 16px;
    color: #6791a4;
    font-family: 'Georgia', sans-serif;
    font-weight: 700;
    margin-bottom: 5px;
}

.section-simulation .simulation-title .main {
    font-size: 26px;
    color: #333;
    font-weight: 700;
    line-height: 1.4;
}

/* 説明文 */
.section-simulation .simulation-desc {
    font-size: 15px;
    line-height: 1.8;
    color: #555;
    margin-bottom: 30px;
    text-align: left;
}

/* ボタンデザイン */
.section-simulation .simulation-btn {
    display: inline-block;
    background: #d9964c;
    color: #fff;
    font-size: 18px;
    font-weight: 700;
    padding: 15px 50px;
    border-radius: 50px;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 5px 15px rgba(217, 150, 76, 0.4);
    position: relative;
    padding-right: 70px;
}

/* ボタンの矢印 */
.section-simulation .simulation-btn::after {
    content: '';
    position: absolute;
    top: 50%;
    right: 20px;
    transform: translateY(-50%);
    width: 30px;
    height: 10px;
    background-image: url(../../page-img2025/section02-arrow01.png);
    background-repeat: no-repeat;
    background-size: contain;
}

.section-simulation .simulation-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(217, 150, 76, 0.5);
    opacity: 1;
}

/* アイコンエリア全体 */
.section-simulation .simulation-icon {
    flex-shrink: 0;
    width: 180px;
    display: flex;
    justify-content: center;
    align-items: center;
}

/* 白い丸背景 */
.section-simulation .icon-circle-bg {
    width: 160px;
    height: 160px;
    background: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

/* 画像のサイズ調整 */
.section-simulation .simulation-icon img {
    width: 70%;
    height: auto;
    object-fit: contain;
}

@media(max-width: 768px) {
    .section-simulation {
        padding: 0 15px 50px;
    }

    .section-simulation .simulation-box {
        flex-direction: column-reverse;
        text-align: center;
        padding: 30px 20px;
        gap: 20px;
    }

    .section-simulation .simulation-title {
        text-align: center;
    }

    .section-simulation .simulation-title .main {
        font-size: 22px;
    }

    .section-simulation .simulation-desc {
        text-align: left;
        font-size: 14px;
    }

    .section-simulation .simulation-icon {
        width: 100%;
        margin: 0 auto;
    }

    /* スマホでは白丸を少し小さく */
    .section-simulation .icon-circle-bg {
        width: 120px;
        height: 120px;
        margin: 0 auto;
    }

    .section-simulation .simulation-icon img {
        width: 65%;
    }

    .section-simulation .simulation-btn {
        width: 100%;
        text-align: center;
        padding: 15px 20px;
    }

    .section-simulation .simulation-btn::after {
        position: static;
        display: inline-block;
        margin-left: 10px;
        transform: none;
        vertical-align: middle;
    }
}