/* --- 全体のコンテナスタイル --- */
/* mainタグに直接クラスを割り当てる想定 */
.esthetician-interview-main {
    max-width: 800px;
    margin: 40px auto;
    padding: 40px;
    background-color: #FFFFFF;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.06);
    border-radius: 12px;
    color: #4A4A4A;
    line-height: 1.8;
}

/* --- ヘッダー部分 --- */
.interview-intro {
    text-align: left; /* 左寄せに変更 */
    color: #555; /* 少し濃い色に変更 */
    margin-bottom: 3em; /* 下のマージンを調整 */
    font-size: 1em; /* 少し大きくする */
    padding: 1em 1.5em; /* パディングを追加 */
    border-left: 4px solid #B09A7A; /* 左にアクセントボーダー */
    background-color: #FDFCFB; /* 背景色を追加 */
    border-radius: 4px;
}

.interview-title {
    text-align: left;
    font-size: 1.6rem; /* サイズを調整 */
    font-weight: 300;
    color: #333;
    margin-bottom: 1.5em; /* 下のマージンを調整 */
    line-height: 1.4;
}

.interview-title span {
    display: block;
    font-size: 0.6em;
    color: #B09A7A; /* ゴールド系のアクセントカラー */
    letter-spacing: 1.5px;
    margin-bottom: 8px;
}

/* --- セクション共通スタイル --- */
.interview-section {
    margin-top: 1.5em;
    padding-top: 1.5em;
    border-top: 1px solid #EAEAEA;
}
.interview-section:first-of-type {
    margin-top: 2em;
    padding-top: 0;
    border-top: none;
}

/* --- セクションタイトル --- */
.section-title {
    font-size: 2.3em;
    text-align: center;
    color: #333;
    margin-bottom: 1.5em !important; /* 既存スタイルを上書き */
    position: relative;
    padding-bottom: 10px;
    margin-top: 1.0em;
}
/* タイトルの下にゴールドのラインを引く装飾 */
.section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 2px;
    background: linear-gradient(90deg, #D4AF37, #C69A34); /* ゴールドのグラデーション */
}

/* --- 画像スタイル --- */
.interview-image {
    max-width: 100%; /* コンテナより大きくならないようにする */
    height: auto; /* アスペクト比を維持 */
    display: block; /* 中央寄せのためにブロック要素にする */
    margin: 0 auto; /* 中央に配置 */
}
.interview-image img {
    max-width: 100%; /* コンテナより大きくならないようにする */
    height: auto; /* アスペクト比を維持 */
    border-radius: 8px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
    display: block; /* 中央寄せのためにブロック要素にする */
    margin: 0 auto; /* 中央に配置 */
}

/* --- テキストスタイル --- */
.profile-text, .answer-text, .info-text {
    font-size: 1em;
    color: #555;
    padding: 0 1em;
}

/* --- Q&Aセクション --- */
.qa-item {
    margin-bottom: 3em;
}

.question-title {
    font-size: 1.6em !important; /* 既存スタイルを上書き */
    font-weight: 700;
    color: #B09A7A; /* ゴールド系のアクセントカラー */
    border-left: 4px solid #D4AF37;
    padding-left: 0.8em;
    margin-bottom: 1em !important; /* 既存スタイルを上書き */
}

/* --- サロン情報セクション --- */
.salon-info-block {
    background-color: #FDFCFB;
    border: 1px solid #EDEDED;
    border-radius: 8px;
    padding: 1.5em 2em;
    margin-bottom: 2em;
}

.info-subtitle {
    font-weight: bold;
    color: #333;
    margin-bottom: 0.8em;
    border-bottom: 1px solid #EAEAEA;
    padding-bottom: 0.5em;
    font-size: 1.1em !important; /* 既存スタイルを上書き */
    margin-top: 1.0em;
}

.menu-list {
    list-style: none;
    padding-left: 0;
}
.menu-list li {
    padding: 0.3em 0;
}

/* --- お客様の年齢層 --- */
.age-demographics-table {
    max-width: 200px; /* テーブルの最大幅を制限して中央に配置 */
    width: 100%;
    margin: 0 auto; /* 中央寄せ */
    border: 0;
    border-collapse: separate; /* セル間のスペースを扱うために必要 */
    border-spacing: 0 4px; /* 行間のスペース */
}

.age-demographics-table td {
    padding: 8px 0;
    border: none; /* 罫線を削除 */
    vertical-align: middle;
    border-bottom: 1px dotted lightgray;
}

/* 年齢層のラベル */
.age-demographics-table td:first-child {
    width: 50%;
    font-weight: bold;
    color: #666;
    text-align: center; /* 中央寄せ */
}

/* パーセンテージ部分 */
.age-demographics-table td:last-child {
    width: 50%;
    font-weight: bold;
    color: #333;
    text-align: right; /* 右寄せ */
}

/* バーチャート用のspanがあればスタイルをリセット */
.percentage-bar {
    all: unset;
}

/* --- My Favorite セクション --- */
.favorite-item-block {
    text-align: center;
}

.favorite-item-text {
    color: #555;
    font-style: italic;
    max-width: 500px;
    margin: 1em auto 0 auto; /* 画像の下に配置し中央寄せ */
}

/* --- レスポンシブ対応 --- */
@media (max-width: 768px) {
    .esthetician-interview-main {
        margin: 20px;
        padding: 25px;
    }
    .interview-title {
        font-size: 1.8em;
    }
    .section-title {
        font-size: 1.7em;
    }
    .profile-text, .answer-text, .info-text {
        padding: 0;
    }
}


