/* ==============================
   お客様の声デザイン
   20260303作成
============================== */

/* セクション全体 */
.customerVoice {
    padding: 16vw 8vw;
    background-color: #fff;
}

/* キャッチコピー */
.customerVoice__catchcopy p {
    font-family: "NotoSerifJP-b";
    font-size: 4vw;
    font-weight: bold;
    text-align: center;
    margin-top: 8vw;
    line-height: 1.8;
    letter-spacing: 0.08em;
    color: #222;
}

/* カード */
.customerVoice__card {
    margin-top: 8vw;
    padding: 0;
}

/* 動画サムネイル */
.customerVoice__videoTrigger {
    position: relative;
    cursor: pointer;
    margin-bottom: 6.6666666667vw;
}
.customerVoice__videoTrigger figure {
    position: relative;
    line-height: 0;
}
.customerVoice__videoTrigger figure img {
    width: 100%;
    height: auto;
}

/* 再生ボタン（A2: YouTube風赤丸角） */
.customerVoice__playBtn {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 68px;
    height: 48px;
    background: #FF0000;
    border-radius: 12px;
    transition: background 0.3s;
    z-index: 2;
}
.customerVoice__playBtn::after {
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-30%, -50%);
    width: 0;
    height: 0;
    border-style: solid;
    border-width: 10px 0 10px 18px;
    border-color: transparent transparent transparent #fff;
}
.customerVoice__videoTrigger:hover .customerVoice__playBtn {
    background: #CC0000;
}

/* C2: テキスト（写真下） */
.customerVoice__videoLink {
    text-align: center;
    color: #222;
    font-weight: bold;
    font-size: 3.4666666667vw;
    margin-top: 2vw;
    letter-spacing: 0.05em;
}

/* C3: テキスト（写真オーバーレイ黒帯） */
.customerVoice__videoLabel {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    background: rgba(0, 0, 0, 0.6);
    color: #fff;
    text-align: center;
    font-size: 3.2vw;
    padding: 2vw 0;
    letter-spacing: 0.08em;
}

/* カード本体 */
.customerVoice__card__body {
    border: 1px solid #e5e5e5;
    padding: 6.6666666667vw;
}

/* プロフィール */
.customerVoice__profile {
    margin-bottom: 1.5em;
    padding-bottom: 1.5em;
    border-bottom: 1px solid #e5e5e5;
}
.customerVoice__profile__name {
    font-family: "NotoSerifJP-b";
    font-size: 3.7333333333vw;
    font-weight: bold;
    margin-bottom: 0.5em;
    letter-spacing: 0.08em;
    color: #222;
}
.customerVoice__profile__tags {
    font-size: 3.7333333333vw;
    color: #222;
    line-height: 1.8;
    margin-top: 1em;
}

/* 体験談 */
.customerVoice__testimony p {
    font-size: 3.2vw;
    line-height: 2;
    color: #333;
    letter-spacing: 0.05em;
}
.customerVoice__testimony p + p {
    margin-top: 1em;
}

/* 注釈 */
.customerVoice__note {
    text-align: left;
    margin-top: 1.5em;
    clear: both;
}
.customerVoice__note small {
    font-size: 2.4vw;
    color: #888;
}

/* 動画モーダル */
.customerVoice__modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 9999;
    align-items: center;
    justify-content: center;
}
.customerVoice__modal.is-active {
    display: flex;
}
.customerVoice__modal__overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
}
.customerVoice__modal__inner {
    position: relative;
    width: 90%;
    max-width: 800px;
    z-index: 1;
}
.customerVoice__modal__close {
    position: absolute;
    top: -40px;
    right: 0;
    background: none;
    border: none;
    color: #fff;
    font-size: 2rem;
    cursor: pointer;
    line-height: 1;
}
.customerVoice__modal__video {
    position: relative;
    padding-bottom: 56.25%;
    height: 0;
}
.customerVoice__modal__video iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

/* --- PC（768px以上）--- */
@media screen and (min-width: 768px) {
    .customerVoice {
        padding: 8vw 0;
        background-color: #fff;
    }
    .customerVoice > .centering > .centering__inner {
        max-width: 80vw;
        margin: 0 auto;
    }
    .customerVoice__catchcopy p {
        font-size: 1.6vw;
        margin-top: 3.3333333333vw;
        white-space: nowrap;
    }
    .customerVoice__card {
        display: flex;
        align-items: center;
        gap: 3.3333333333vw;
        margin-top: 3.3333333333vw;
        padding: 0;
        max-width: 80vw;
        margin-left: auto;
        margin-right: auto;
    }
    .customerVoice__videoTrigger {
        flex-shrink: 0;
        width: 30vw;
        margin-bottom: 0;
    }
    .customerVoice__card__body {
        flex: 1;
        border: 1px solid #e5e5e5;
        padding: 3.3333333333vw;
    }
    .customerVoice__profile__name {
        font-size: 1.2vw;
        white-space: nowrap;
    }
    .customerVoice__profile__tags {
        font-size: 1.1333333333vw;
        white-space: nowrap;
    }
    .customerVoice__testimony p {
        font-size: 0.9333333333vw;
        line-height: 2;
    }
    .customerVoice__note {
        text-align: right;
    }
    .customerVoice__note small {
        font-size: 0.8vw;
    }
    .customerVoice__playBtn {
        width: 80px;
        height: 56px;
        border-radius: 14px;
    }
    .customerVoice__playBtn::after {
        border-width: 12px 0 12px 22px;
    }
    .customerVoice__videoLink {
        font-size: 1vw;
        margin-top: 0.8vw;
    }
    .customerVoice__videoLabel {
        font-size: 0.9333333333vw;
        padding: 0.8vw 0;
    }
}

/* --- 大画面（1500px以上）--- */
@media screen and (min-width: 1500px) {
    .customerVoice {
        padding: 120px 0;
        background-color: #fff;
    }
    .customerVoice > .centering > .centering__inner {
        max-width: 1200px;
        margin: 0 auto;
    }
    .customerVoice__catchcopy p {
        font-size: 24px;
        margin-top: 50px;
        white-space: nowrap;
    }
    .customerVoice__card {
        gap: 50px;
        margin-top: 50px;
        padding: 0;
        max-width: 1200px;
    }
    .customerVoice__card__body {
        padding: 50px;
    }
    .customerVoice__videoTrigger {
        width: 450px;
    }
    .customerVoice__profile__name {
        font-size: 18px;
        white-space: nowrap;
    }
    .customerVoice__profile__tags {
        font-size: 17px;
        white-space: nowrap;
    }
    .customerVoice__testimony p {
        font-size: 14px;
    }
    .customerVoice__note small {
        font-size: 12px;
    }
    .customerVoice__videoLink {
        font-size: 15px;
        margin-top: 12px;
    }
    .customerVoice__videoLabel {
        font-size: 14px;
        padding: 12px 0;
    }
}