/* ==========================================
   1. 基本設定（スマホ・共通）
   ========================================== */
.inner {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px; /* PC版ではこれが左右の余白になる */
    box-sizing: border-box;
}

/* フォント指定：医師紹介・プライバシーポリシーと完全同期 */
.sub-mv__title, .common-title, .faq-question-text {
    font-family: "Noto Serif JP", serif;
}

/* ★ Sans から Serif へ書き換え：リード文や回答も明朝体にします */
.faq-lead, .faq-answer-text, .faq-icon, .breadcrumb {
    font-family: "Noto Serif JP", serif;
}

/* --- 下層共通メインビジュアル --- */
.sub-mv {
    width: 100%;
    height: 180px; /* スマホ高さ */
    background: url('https://hata-shika.com/wp-content/uploads/2026/05/bg.png') no-repeat center 70% / cover;
    background-color: #556b2f;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}
.sub-mv::before {
    content: '';
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background: rgba(0, 0, 0, 0.4);
}
.sub-mv__title {
    position: relative;
    color: #fff;
    font-size: 1.5rem;
    margin: 0;
    line-height: 1.4;
    z-index: 1;
}

/* --- 共通パンくず --- */
.breadcrumb { padding: 10px 0; font-size: 0.75rem; } /* ★padding-leftを削除 */
.breadcrumb ol { display: flex; flex-wrap: wrap; list-style: none; margin: 0; padding: 0; }
.breadcrumb li + li::before { content: ">"; margin: 0 8px; color: #ccc; }
.breadcrumb a { color: #556b2f; text-decoration: none; }

/* --- 共通h2（はた歯科カラー） --- */
.common-title {
    background-color: #556b2f;
    color: #fff;
    text-align: center;
    padding: 12px 10px;
    font-size: 1.3rem;
    margin-bottom: 25px;
}

/* ==========================================
   よくある質問 専用デザイン
   ========================================== */
.faq-content {
    padding: 30px 15px 60px; /* スマホ用 */
}

.faq-lead {
    text-align: center;
    margin-bottom: 30px;
    font-size: 0.95rem;
    color: #333;
    line-height: 1.6;
}

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

.faq-item-section {
    background: #fff;
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
    margin-bottom: 20px;
    padding: 20px;
    border: 1px solid #eee;
}

.faq-q, .faq-a {
    display: flex;
    align-items: flex-start;
    gap: 15px;
}

.faq-q {
    margin-bottom: 15px;
    border-bottom: 1px solid #f0f0f0;
    padding-bottom: 15px;
}

.faq-icon {
    flex: 0 0 32px;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 1rem;
}

.faq-q .faq-icon {
    background-color: #556b2f;
    color: #fff;
}

.faq-a .faq-icon {
    border: 2px solid #556b2f;
    color: #556b2f;
    background-color: #fff;
}

.faq-question-text {
    margin: 0;
    font-size: 1.05rem;
    line-height: 1.5;
    color: #333;
    padding-top: 3px;
    font-weight: 700;
}

.faq-answer-text {
    font-size: 0.95rem;
    line-height: 1.8;
    color: #444;
    padding-top: 3px;
}

/* ==========================================
   2. PC版設定（769px以上）
   ========================================== */
@media (min-width: 769px) {
    .sub-mv { height: 300px; } /* 医師紹介と一致 */
    .sub-mv__title { font-size: 2.2rem; }
    
    /* ★パンくず位置修正：医師紹介の padding: 10px 0; と完全に一致させる */
    .breadcrumb { 
        padding: 10px 0; 
    }
    
    .faq-content { padding: 60px 0 100px; }
    .common-title { 
        font-size: 1.8rem; 
        padding: 15px; 
        margin-bottom: 50px; 
        max-width: 1200px; /* ここも共通幅 */
    }

    .faq-item-section {
        padding: 35px 45px;
        margin-bottom: 30px;
    }

    .faq-icon {
        flex: 0 0 40px;
        width: 40px;
        height: 40px;
        font-size: 1.2rem;
    }

    .faq-question-text {
        font-size: 1.3rem;
        padding-top: 6px;
    }

    .faq-answer-text {
        font-size: 1.05rem;
        padding-top: 5px;
    }
}