/*----------------------------------------------------
    PCサイトcss
----------------------------------------------------*/

/*/////////////PC用のCSSをここに作成してください。/////////////*/
/* --- 親コンテナ：全体を中央に寄せて左右の余白を確保 --- */
.custom-staff-section {
    display: flex !important;
    justify-content: center !important;
    padding: 20px !important;
    width: 100% !important;
    box-sizing: border-box !important;
}

/* --- PC版：右画像・左吹き出しのレイアウト --- */
.custom-staff-section .staff-comment-right {
    display: flex !important;
    flex-direction: row-reverse !important; /* 画像を右に */
    align-items: flex-start !important;
    gap: 24px !important;
    width: 100% !important;
    max-width: 850px !important; /* PCでの吹き出しの長さを調節 */
    margin: 0 auto !important;
}

/* 画像の基本スタイル */
.custom-staff-section .staff-comment-right .staff-image img {
    width: 120px !important;
    height: 120px !important;
    border-radius: 50% !important;
    object-fit: cover !important;
    flex-shrink: 0 !important;
    border: 3px solid #fff !important;
    box-shadow: 0 4px 10px rgba(0,0,0,0.1) !important;
}

/* 吹き出しの基本スタイル */
.custom-staff-section .staff-comment-right .comment-bubble {
    position: relative !important;
    background-color: #fffade !important;
    padding: 25px !important;
    border-radius: 12px !important;
    flex: 1 !important;
    box-sizing: border-box !important;
}

/* PC版のみ表示する三角形（右側） */
.custom-staff-section .staff-comment-right .comment-bubble::before {
    content: "" !important;
    position: absolute !important;
    top: 30px !important;
    right: -15px !important;
    left: auto !important;
    width: 0 !important;
    height: 0 !important;
    border-style: solid !important;
    border-width: 12px 0 12px 15px !important;
    border-color: transparent transparent transparent #fffade !important;
}

/* テキストスタイル */
.custom-staff-section .staff-comment-right .comment-text {
    margin: 0 0 10px 0 !important;
    font-size: 16px !important;
    line-height: 1.8 !important;
    color: #333 !important;
    text-align: left !important;
}

.custom-staff-section .staff-comment-right .staff-info {
    font-size: 14px !important;
    color: #00428d !important;
    font-weight: bold !important;
    text-align: left !important;
    display: block !important;
}

/* --- スマホ版（640px以下）：縦並び・中央揃えへの切り替え --- */
@media screen and (max-width: 640px) {
    .custom-staff-section .staff-comment-right {
        flex-direction: column !important; /* 縦並びに強制変更 */
        align-items: center !important;    /* 中央揃え */
        gap: 15px !important;
        max-width: 100% !important;        /* 横幅いっぱい使う */
    }

    .custom-staff-section .staff-comment-right .comment-bubble {
        width: 100% !important;            /* 吹き出しを横幅いっぱいに広げる */
        padding: 20px !important;
    }

    .custom-staff-section .staff-comment-right .comment-bubble::before {
        display: none !important;          /* 横向きの三角形を消す */
    }

    .custom-staff-section .staff-comment-right .comment-text,
    .custom-staff-section .staff-comment-right .staff-info {
        text-align: center !important;     /* テキストも中央揃え */
    }
}


/*----------------------------------------------------
    SPサイトcss
----------------------------------------------------*/

@media screen and (max-width: 480px) {
/*/////////////SP用のCSSをここに作成してください。/////////////*/
/*/////////////必ず中括弧の中に作成してください。/////////////*/



}