/* ==========================================
   お客様の声
========================================== */

.voice-label {
    width: 100%;
    box-sizing: border-box;
    padding: 0 20px 120px;
    /* ★ 追加：このセクション専用のCSSが無く、直後のfooterと
       Moreボタンがくっついてしまっていたため、下側の余白を確保 */
}

.voice-title {
    position: relative;

    text-align: center;

    letter-spacing: clamp(2px, 0.4vw, 3px);

    /* 画面幅に応じて自動調整 */
    font-size: clamp(50px, 8vw, 100px);

    font-weight: 500;
    line-height: 1.2;

    color: rgb(11, 40, 74);

    font-family: 'Impact';

    top: 50px;

    margin: 0;

    /* 表示アニメーション */
    opacity: 0;
    transform: translateY(15px);

    transition:
        opacity 1.4s ease-out,
        transform 1.4s ease-out;
}


/* タイトル表示 */
.voice-title.is-visible {
    opacity: 1;
    transform: translateY(0);
}


/* ==========================================
   下線
========================================== */

.section-line-voice-under {
    position: relative;

    top: 45px;

    width: 15%;
    max-width: 500px;
    min-width: 100px;

    border: none;
    border-top: 5px solid #000000bb;

    margin: 0 auto;

    text-align: center;

    /* 中心から広がるアニメーション */
    transform: scaleX(0);

    transform-origin: center;

    transition: transform 1.2s ease-out;
}


/* 下線表示 */
.section-line-voice-under.is-visible {
    transform: scaleX(1);
}


/* ==========================================
   日本語タイトル
========================================== */

.voice-title-theme {
    position: relative;

    text-align: center;

    /* 画面幅に応じて字間も調整 */
    letter-spacing: clamp(3px, 0.6vw, 8px);

    /* 45px固定ではなく可変 */
    font-size: clamp(24px, 4vw, 45px);

    line-height: 1.3;

    top: 15px;

    font-weight: 700;

    margin-top: 50px;
    margin-bottom: 60px;

    font-family: "BIZ UDPMincho", serif;

    /* 表示アニメーション */
    opacity: 0;
    transform: translateY(15px);

    transition:
        opacity 1.2s ease-out 0.4s,
        transform 1.2s ease-out 0.4s;
}


/* 日本語タイトル表示 */
.voice-title-theme.is-visible {
    opacity: 1;
    transform: translateY(0);
}


/* ==========================================
   タイトル内の文章
========================================== */

.voice-title-theme p {
    opacity: 0;

    transform: translateY(15px);

    transition:
        opacity 1s ease-out,
        transform 1s ease-out;
}


/* 1行目 */
.voice-title-theme.is-visible .line1 {
    transition-delay: 0s;
}


/* 文章表示 */
.voice-title-theme.is-visible p {
    opacity: 1;
    transform: translateY(0);
}


/* ==========================================
   説明文
========================================== */

.voice-ex {
    position: relative;

    text-align: center;

    bottom: 25px;

    /* スマホでは字間を狭くする */
    letter-spacing: clamp(1px, 0.5vw, 8px);

    /* 画面幅に応じて可変 */
    font-size: clamp(14px, 2vw, 20px);

    line-height: 1;

    margin: 20px auto 0;

    font-family: "Shippori Mincho", serif;

    font-weight: 900;

    /* 表示アニメーション */
    opacity: 0;

    transform: translateY(15px);

    transition:
        opacity 1.2s ease-out 0.4s,
        transform 1.2s ease-out 0.4s;
}


/* 説明文表示 */
.voice-ex.is-visible {
    opacity: 1;
    transform: translateY(0);
}


/* 説明文の段落 */
.voice-ex p {
    margin-bottom: 10px;
}


/* ==========================================
   仮口コミエリア
========================================== */

.kariwaku-group {
    position: relative;

    width: 100%;
    max-width: 1200px;

    margin: 0 auto;

    box-sizing: border-box;

    display: flex;

    justify-content: center;
    align-items: center;

    padding: 40px 20px 100px;
}


/* ==========================================
   仮口コミカード
========================================== */

.voice-coming-card {
    position: relative;

    width: 100%;
    max-width: 700px;

    box-sizing: border-box;

    display: flex;

    flex-direction: column;

    align-items: center;

    justify-content: center;

    gap: 18px;

    padding: 60px 70px;

    border: none;
    border-top: 5px solid #c9a227;
    /* ★ 点線の仮枠 → ゴールドのアクセントラインに変更 */

    border-radius: 20px;

    background-color: #ffffff;

    box-shadow: 0 15px 40px rgba(11, 40, 74, 0.12);
    /* ★ 追加：カードに立体感を持たせる */

    text-align: center;
}


/* ==========================================
   仮口コミアイコン
========================================== */

.voice-coming-icon {
    display: flex;
    align-items: center;
    justify-content: center;

    width: 64px;
    height: 64px;

    border-radius: 50%;

    background-color: rgba(201, 162, 39, 0.12);
    /* ★ 追加：ゴールドの円バッジにして単なるグレー文字から格上げ */

    font-size: 28px;
}


/* ==========================================
   英語タイトル
========================================== */

.voice-coming-en {
    font-family: 'Impact';

    font-size: clamp(24px, 3vw, 30px);

    letter-spacing: clamp(2px, 0.4vw, 4px);

    color: rgb(11, 40, 74);

    margin: 0;
}

.voice-coming-en::after {
    content: "";
    display: block;
    width: 50px;
    height: 3px;
    background-color: #c9a227;
    margin: 14px auto 0;
    /* ★ 追加：タイトル下にゴールドの小さな下線を追加 */
}


/* ==========================================
   日本語説明
========================================== */

.voice-coming-jp {
    font-family: "Shippori Mincho", serif;

    font-size: clamp(13px, 1.5vw, 15px);

    line-height: 1.9;

    letter-spacing: clamp(0.5px, 0.2vw, 1px);

    color: rgba(11, 40, 74, 0.75);

    margin: 0;

    text-align: center;

    max-width: 550px;
}


/* ==========================================
   タブレット対応
========================================== */

@media (max-width: 900px) {

    .voice-title {
        top: 40px;

        font-size: clamp(50px, 10vw, 80px);
    }


    .section-line-voice-under {
        top: 25px;

        width: 20%;
    }


    .voice-title-theme {
        margin-top: 45px;

        margin-bottom: 50px;

        letter-spacing: 4px;
    }


    .voice-ex {
        letter-spacing: 3px;

        margin-top: 15px;
    }


    .kariwaku-group {
        padding: 30px 20px 80px;
    }


    .voice-coming-card {
        max-width: 600px;

        padding: 45px 40px;
    }
}


/* ==========================================
   スマートフォン対応
========================================== */

@media (max-width: 600px) {

    .voice-label {
        padding: 0 16px 80px;
    }

    /* ------------------------------
       タイトル
    ------------------------------ */

    .voice-title {
        top: 30px;

        font-size: clamp(45px, 15vw, 65px);

        letter-spacing: 2px;
    }


    /* ------------------------------
       下線
    ------------------------------ */

    .section-line-voice-under {
        top: 20px;

        width: 30%;

        min-width: 80px;

        border-top-width: 3px;
    }


    /* ------------------------------
       日本語タイトル
    ------------------------------ */

    .voice-title-theme {
        margin-top: 35px;

        margin-bottom: 35px;

        font-size: clamp(22px, 7vw, 30px);

        letter-spacing: 3px;

        line-height: 1.5;
    }


    /* ------------------------------
       説明文
    ------------------------------ */

    .voice-ex {
        margin-top: 10px;

        padding: 0 15px;

        box-sizing: border-box;

        font-size: 14px;

        letter-spacing: 1.5px;

        line-height: 1.8;
    }


    .voice-ex p {
        margin-bottom: 8px;
    }


    /* ------------------------------
       仮口コミエリア
    ------------------------------ */

    .kariwaku-group {
        width: 100%;

        padding: 30px 15px 70px;

        box-sizing: border-box;
    }


    /* ------------------------------
       仮口コミカード
    ------------------------------ */

    .voice-coming-card {
        width: 100%;

        max-width: 420px;

        padding: 36px 20px;

        gap: 12px;

        border-radius: 14px;
    }


    /* ------------------------------
       アイコン
    ------------------------------ */

    .voice-coming-icon {
        width: 52px;
        height: 52px;
        font-size: 22px;
    }


    /* ------------------------------
       英語タイトル
    ------------------------------ */

    .voice-coming-en {
        font-size: 24px;

        letter-spacing: 3px;
    }


    /* ------------------------------
       日本語
    ------------------------------ */

    .voice-coming-jp {
        font-size: 13px;

        line-height: 1.8;

        letter-spacing: 1px;
    }
}


/* ==========================================
   小さいスマートフォン対応
========================================== */

@media (max-width: 400px) {

    .voice-title {
        font-size: 45px;

        letter-spacing: 1px;
    }


    .voice-title-theme {
        font-size: 21px;

        letter-spacing: 2px;
    }


    .voice-ex {
        font-size: 13px;

        letter-spacing: 1px;
    }


    .voice-coming-card {
        padding: 30px 16px;
    }


    .voice-coming-en {
        font-size: 21px;
    }


    .voice-coming-jp {
        font-size: 12px;
    }
}
/* ========================================
   VOICEセクションの「More」ボタンの
   四隅の飾り枠(コーナーブラケット)を非表示化
   (button.cssの.button_wroks::before/::afterは
    施工事例セクションのMoreボタンと共通のため、
    ここではvoice-labelの中だけに絞って上書きしています)
======================================== */

.voice-label .button_wroks::before,
.voice-label .button_wroks::after {
    display: none;
}