/* ==========================================
   医師紹介のCSSをベースに構築
   ========================================== */
.inner {
    width: 100%;
    max-width: 1200px; /* 医師紹介と完全一致 */
    margin: 0 auto;
    padding: 0 15px;
    box-sizing: border-box;
}

/* フォント指定：すべて明朝体（セリフ体）に統一 */
.sub-mv__title, .common-title, .info-label { 
    font-family: "Noto Serif JP", serif; 
}

/* ★ここを Sans から Serif に変更 */
.info-content, .breadcrumb { 
    font-family: "Noto Serif JP", serif; 
}

/* --- メインビジュアル（PC時300px） --- */
.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; 
    z-index: 1; 
}

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

/* --- 見出し：医師紹介の .common-title と完全同期 --- */
.common-title {
    background-color: #556b2f;
    color: #fff;
    text-align: center;
    padding: 12px 10px;
    font-size: 1.3rem;
    margin-bottom: 25px;
}

/* --- アクセスレイアウト --- */
.access-section { padding: 30px 10px 50px; }

.access-flex-container {
    display: flex;
    flex-direction: column; /* スマホデフォルト */
    gap: 30px;
}

/* 地図 */
.access-map iframe {
    border-radius: 4px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

/* ★情報の表：空白を詰め、区切り線を白に */
.access-info-table {
    border: 1px solid #a88a6d;
    background-color: #f9f6f3;
}

.info-row {
    display: flex;
    align-items: stretch;
}
/* 所在地と最寄り駅の間の線を「白」にしてハッキリさせる */
.info-row:first-child {
    border-bottom: 2px solid #fff; 
}

.info-label {
    background-color: #990900CC;
    color: #fff;
    padding: 20px 10px;
    width: 100px;
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.info-content {
    flex: 1;
    padding: 20px;
}

.info-content p {
    font-size: 0.95rem; /* 医師紹介と一致 */
    line-height: 1.8;
    color: #333;
    margin: 0;
}

/* ==========================================
   PC版（769px以上）
   ========================================== */
@media (min-width: 769px) {
    .sub-mv { height: 300px; } /* 医師紹介のPC高さに一致 */
    .sub-mv__title { font-size: 2.2rem; }
    
    .access-section { padding: 60px 0 80px; }
    
    .common-title { 
        font-size: 1.8rem; 
        padding: 15px; 
        margin-bottom: 50px;
        max-width: 1200px; /* ここも1200pxいっぱいに使う */
    }

    /* ★横並びと横幅の調整：医師紹介のバランスに合わせる */
    .access-flex-container {
        flex-direction: row;
        gap: 50px; /* 医師紹介のgap: 50pxに合わせる */
        align-items: flex-start;
    }

    .access-map {
        flex: 1; /* 地図を左側に広く */
    }

    .access-info-table {
        flex: 0 0 450px; /* ★表が広がりすぎないよう幅を固定（空白をなくす） */
    }

    .info-label {
        width: 130px;
        font-size: 1.1rem;
    }
}