/*
Theme Name: 護国寺内科・循環器クリニック
Theme URI: https://gokokujicl.com
Description: 護国寺内科・循環器クリニックの公式Webサイト用カスタムテーマ
Author: Clinic Team
Author URI: https://gokokujicl.com
Version: 1.0.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: gokokujicl
*/

/*
========================================
護国寺内科・循環器クリニック
カスタムCSS（イメージ準拠版）
========================================
*/

/* ========================================
   1. カラー変数定義とリセット
======================================== */
:root {
    /* メインカラー */
    --clinic-blue: #6FA9B8;
    --clinic-pink: #F3ADBE;
    --clinic-beige: #F5F1E8;
    --clinic-light-blue: #E8F4F8;

    /* テキストカラー */
    --text-dark: #444444;
    --text-gray: #666666;
    --text-light: #999999;

    /* 背景カラー */
    --bg-white: #FFFFFF;
    --bg-light: #F9F9F9;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* ========================================
   2. フォント設定
======================================== */
body {
    font-family: "Zen Maru Gothic", sans-serif;
    font-size: 16px;
    line-height: 1.8;
    color: var(--text-dark);
    letter-spacing: 0.05em;
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
    font-family: "Zen Maru Gothic", sans-serif;
    font-weight: 600;
    line-height: 1.6;
}

a {
    text-decoration: none;
    color: inherit;
}

/* ========================================
   3. 背景装飾パターン
======================================== */
.stripe-bg-left {
    position: absolute;
    left: 0;
    top: 0;
    width: 200px;
    height: 100%;
    background: repeating-linear-gradient(
        45deg,
        transparent,
        transparent 10px,
        rgba(111, 169, 184, 0.08) 10px,
        rgba(111, 169, 184, 0.08) 20px
    );
    pointer-events: none;
    z-index: 0;
}

.stripe-bg-right {
    position: absolute;
    right: 0;
    top: 0;
    width: 200px;
    height: 100%;
    background: repeating-linear-gradient(
        -45deg,
        transparent,
        transparent 10px,
        rgba(111, 169, 184, 0.08) 10px,
        rgba(111, 169, 184, 0.08) 20px
    );
    pointer-events: none;
    z-index: 0;
}

/* ========================================
   4. ヘッダー
======================================== */
.header {
    background-color: var(--bg-white);
    box-shadow: 0 2px 4px rgba(0,0,0,0.05);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.header-container {
    max-width: 100%;
    padding: 20px 50px 20px 60px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.header-logo {
    display: flex;
    align-items: center;
    flex-shrink: 0;
}

.header-logo img {
    max-height: 80px;
    width: auto;
    display: block;
}

.header-nav > ul {
    display: flex;
    list-style: none;
    gap: 2em;
}

.header-nav ul {
    list-style: none;
}

.header-nav ul li a {
    font-size: 16px;
    font-weight: 500;
    padding: 0.5em 0;
    letter-spacing: 0.08em;
    transition: color 0.3s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2px;
}

.header-nav ul li a .en {
    font-size: 16px;
    color: var(--clinic-blue);
    font-family: "Zen Maru Gothic", sans-serif;
    font-weight: 400;
}

.header-nav ul li a .ja {
    color: #444444;
    font-weight: 500;
}

.header-nav ul li a:hover .ja {
    color: var(--clinic-blue);
}

.header-nav ul li a:hover .en {
    opacity: 0.8;
}

/* ドロップダウンメニュー */
.header-nav ul li {
    position: relative;
}

.header-nav ul li.has-dropdown > a {
    cursor: pointer;
}

.dropdown-menu {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: calc(100% + 5px);
    left: 50%;
    transform: translateX(-50%);
    background-color: var(--bg-white);
    min-width: 250px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    border-radius: 8px;
    padding: 5px 0;
    margin-top: 0;
    z-index: 1000;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity 0.2s ease, visibility 0.2s ease;
    gap: 0;
}

.dropdown-menu::before {
    content: '';
    position: absolute;
    top: -5px;
    left: 0;
    right: 0;
    height: 5px;
    background: transparent;
}

.header-nav ul li.has-dropdown:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
}

.header-nav .dropdown-menu {
    gap: 0 !important;
}

.dropdown-menu li {
    display: block !important;
    width: 100%;
    list-style: none;
    border-bottom: 1px solid #f0f0f0;
    margin: 0 !important;
    padding: 0 !important;
    flex: none !important;
}

.dropdown-menu li:last-child {
    border-bottom: none;
}

.dropdown-menu li a {
    display: block;
    padding: 8px 20px;
    font-size: 14px;
    color: var(--text-dark);
    text-align: left;
    transition: background-color 0.2s ease, color 0.2s ease;
    white-space: nowrap;
    line-height: 1.3;
    margin: 0;
}

.dropdown-menu li a:hover {
    background-color: var(--clinic-light-blue);
    color: var(--clinic-blue);
}

/* ハンバーガーメニュー（モバイル用） */
.menu-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 5px;
}

.menu-toggle span {
    display: block;
    width: 25px;
    height: 3px;
    background-color: var(--clinic-blue);
    margin: 5px 0;
    transition: 0.3s;
}

/* ========================================
   5. メインビジュアル
======================================== */
.main-visual {
    position: relative;
    min-height: 600px;
    overflow: hidden;
}

.mv-background-image {
    width: 100%;
    height: 100%;
    min-height: 600px;
    object-fit: cover;
    object-position: center;
    display: block;
}

.main-visual-content {
    position: absolute;
    top: 33%;
    left: 50%;
    transform: translate(-50%, -50%);
    max-width: 1200px;
    width: 100%;
    text-align: center;
    z-index: 2;
    padding: 0 20px;
}

.main-visual h1 {
    font-size: 38px;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 25px;
    letter-spacing: 0.08em;
    text-shadow: 0 0 20px rgba(255,255,255,0.9),
                 0 0 40px rgba(255,255,255,0.7),
                 0 0 60px rgba(255,255,255,0.5);
}

.mv-opening-date {
    display: inline-block;
    margin-top: 20px;
    font-size: 38px !important;
    font-weight: 700;
    color: var(--clinic-blue) !important;
    background-color: rgba(255,255,255,0.85);
    padding: 6px 20px;
    border-radius: 4px;
    text-align: center;
    letter-spacing: 0.08em;
    text-shadow: none !important;
}

.main-visual p {
    font-size: 28px;
    color: var(--text-dark);
    line-height: 2;
    letter-spacing: 0.1em;
    text-shadow: 0 0 5px rgba(255,255,255,1),
                 0 0 10px rgba(255,255,255,1),
                 0 0 20px rgba(255,255,255,0.9),
                 0 0 40px rgba(255,255,255,0.7),
                 0 0 60px rgba(255,255,255,0.5);
}

/* メインビジュアル上のカレンダー */
.mv-schedule {
    position: absolute;
    bottom: 40px;
    right: 100px;
    z-index: 3;
    background: var(--bg-white);
    border-radius: 12px;
    padding: 10px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.15);
}

.mv-schedule .schedule-table thead th {
    font-size: 14px;
}

.mv-schedule .schedule-table tbody td {
    font-size: 14px;
}

.mv-schedule .schedule-table tbody td.time-label .sub-text {
    font-size: 14px;
}

.mv-schedule .schedule-table tbody td.available {
    font-size: 24px;
}

.mv-schedule .schedule-table tbody td.closed {
    font-size: 14px;
}

.mv-schedule .holiday-note {
    font-size: 14px;
}


/* ========================================
   7. お知らせセクション
======================================== */
.section {
    padding: 80px 30px;
    position: relative;
}

/* 採用バナー */
.recruit-banner-section {
    margin-bottom: 50px;
}

.recruit-banner-link {
    display: block;
    max-width: 600px;
    margin: 0 auto;
}

.recruit-banner-img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 12px;
    transition: opacity 0.3s ease;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
}

.recruit-banner-img:hover {
    opacity: 0.85;
}

.news-section {
    background-image: url('images/news-background.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.section-container {
    max-width: 1200px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.section-title {
    text-align: center;
    margin-bottom: 60px;
}

.section-title .en {
    display: block;
    font-size: 24px;
    color: var(--clinic-blue);
    letter-spacing: 0.2em;
    margin-bottom: 12px;
    font-weight: 400;
    font-family: "Zen Maru Gothic", sans-serif;
}

.section-title .ja {
    display: block;
    font-size: 28px;
    color: var(--text-dark);
    font-weight: 500;
    letter-spacing: 0.1em;
}

/* お知らせセクション用の横並びレイアウト */
.news-section-wrapper {
    display: flex;
    gap: 60px;
    align-items: flex-start;
    justify-content: center;
}

.news-section-wrapper .section-title {
    flex-shrink: 0;
    text-align: center;
    margin-bottom: 0;
    min-width: 200px;
}

.news-section-wrapper .news-list {
    flex-grow: 1;
    padding-right: 100px;
}

.news-list {
    background-color: transparent;
    padding: 0;
}

.news-item {
    display: flex;
    gap: 20px;
    padding: 20px 0;
    border-bottom: 1px solid #DADADA;
    align-items: center;
}

.news-item:last-child {
    border-bottom: none;
}

.news-date {
    flex-shrink: 0;
    font-size: 16px;
    color: var(--text-gray);
    font-family: "Zen Maru Gothic", sans-serif;
}

.news-category {
    flex-shrink: 0;
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 14px;
    background-color: var(--clinic-light-blue);
    color: var(--clinic-blue);
    font-weight: 500;
}

.news-title {
    flex-grow: 1;
    font-size: 16px;
    color: var(--text-dark);
    transition: color 0.3s ease;
}

.news-title:hover {
    color: var(--clinic-blue);
}

.news-more {
    text-align: center;
    margin-top: 40px;
}

/* ========================================
   ブログ一覧 カードグリッドレイアウト
======================================== */
.blog-archive-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 36px 28px;
}

.blog-archive-card {
    display: block;
    text-decoration: none;
    color: inherit;
    border-radius: 12px;
    overflow: hidden;
    background: #fff;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.07);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.blog-archive-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.12);
}

.blog-archive-thumbnail {
    width: 100%;
    aspect-ratio: 16 / 9;
    overflow: hidden;
    background-color: #f0f4f7;
}

.blog-archive-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.3s ease;
}

.blog-archive-card:hover .blog-archive-img {
    transform: scale(1.04);
}

.blog-archive-no-image {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #aaa;
    font-size: 13px;
}

.blog-archive-body {
    padding: 14px 16px 18px;
}

.blog-archive-date {
    display: block;
    font-size: 13px;
    color: var(--text-gray);
    font-family: "Zen Maru Gothic", sans-serif;
    margin-bottom: 6px;
}

.blog-archive-title {
    font-size: 15px;
    color: var(--text-dark);
    line-height: 1.6;
    margin: 0;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* ========================================
   8. 症状・お悩みセクション
======================================== */
.symptoms-section {
    position: relative;
}

.symptoms-section-bg {
    background-image: url('images/symptoms-background.png');
    background-size: 100% 40%;
    background-position: bottom center;
    background-repeat: no-repeat;
    padding: 80px 30px;
    position: relative;
}

.symptoms-title {
    text-align: center;
    font-size: 24px;
    color: var(--text-dark);
    margin-bottom: 60px;
    line-height: 1.8;
    letter-spacing: 0.1em;
    position: relative;
    background-image: url('images/logo-background.png');
    background-repeat: no-repeat;
    background-position: center top;
    background-size: contain;
    padding: 80px 20px 20px;
}

.symptoms-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto 50px;
}

.symptom-card {
    background: var(--bg-white);
    border-radius: 12px;
    padding: 80px 30px 40px;
    text-align: center;
    box-shadow: 0 2px 10px rgba(0,0,0,0.08);
    transition: all 0.3s ease;
    position: relative;
    margin-top: 60px;
    flex: 1;
    display: flex;
    flex-direction: column;
    width: 100%;
}


.symptom-card .icon {
    width: 120px;
    height: 120px;
    margin: 0 auto 25px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 40px;
    overflow: hidden;
    position: absolute;
    top: -60px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--bg-white);
    border-radius: 50%;
    box-shadow: 0 4px 15px rgba(0,0,0,0.12);
}

.symptom-card .icon img {
    width: 60px;
    height: 60px;
    object-fit: contain;
}

.symptom-card h3 {
    font-size: 18px;
    margin-bottom: 20px;
    color: var(--clinic-pink);
    font-weight: 700;
    letter-spacing: 0.05em;
}

.symptom-card ul {
    list-style: none;
    text-align: left;
    font-size: 16px;
    line-height: 2.2;
    color: var(--text-dark);
    flex: 1;
}

.symptom-card ul li:before {
    content: "・";
    margin-right: 5px;
}

/* ========================================
   9. ボタンスタイル
======================================== */
.btn {
    display: inline-block;
    border-radius: 50px;
    padding: 1em 2.5em;
    font-weight: 500;
    letter-spacing: 0.1em;
    transition: all 0.3s ease;
    text-align: center;
    cursor: pointer;
    border: none;
    font-size: 16px;
}

.btn-main {
    background-color: var(--clinic-blue);
    color: #FFFFFF;
}

.btn-main:hover {
    background-color: #5a8e9d;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(111, 169, 184, 0.3);
}

.btn-outline {
    background-color: var(--bg-white);
    border: 2px solid var(--clinic-blue);
    color: var(--clinic-blue);
    padding: 0.8em 2.2em;
}

.btn-outline:hover {
    background-color: var(--clinic-light-blue);
}

/* WEB予約ボタン（ピンク枠線・大） */
.btn-reserve-large {
    background-color: var(--bg-white);
    border: 4px solid var(--clinic-pink);
    color: var(--clinic-pink);
    font-size: 22px;
    padding: 1em 4em;
    border-radius: 80px;
    box-shadow: 0 6px 20px rgba(243, 173, 190, 0.4);
    display: inline-flex;
    align-items: center;
    gap: 15px;
    font-weight: 600;
}

.btn-reserve-large:hover {
    background-color: var(--bg-white);
    color: var(--clinic-pink);
    transform: translateY(-5px);
    box-shadow: 0 8px 30px rgba(243, 173, 190, 0.5);
}

.btn-reserve-large img {
    width: 100px;
    height: 100px;
    object-fit: contain;
}

/* 症状セクション内のWEB予約ボタンラッパー */
.symptoms-reserve-btn-wrapper {
    text-align: center;
    margin-top: 100px;
}

/* 詳しく見るボタン */
.btn-details {
    background-color: var(--clinic-blue);
    color: #FFFFFF;
    padding: 0.9em 2.5em;
    font-size: 16px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: all 0.3s ease;
}

.btn-details:hover {
    background-color: #5a8e9d;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(111, 169, 184, 0.3);
}

.btn-details:after {
    content: "＞";
    font-size: 16px;
}

.symptom-card-wrapper {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
    height: 100%;
    width: 100%;
}

/* ========================================
   10. 診療案内カード（6枚グリッド）
======================================== */
.medical-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
    max-width: 1200px;
    margin: 0 auto 50px;
    padding: 60px 50px;
    position: relative;
    z-index: 1;
}

.medical-grid::before {
    content: '';
    position: absolute;
    left: 50%;
    right: 50%;
    margin-left: -50vw;
    margin-right: -50vw;
    top: 0;
    bottom: 0;
    background-image: url('images/medical-background.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    z-index: -1;
}

.medical-card {
    background: var(--bg-white);
    border: 2px solid var(--clinic-blue);
    border-radius: 12px;
    padding: 30px 25px 40px;
    text-align: center;
    box-shadow: 0 4px 15px rgba(111, 169, 184, 0.25);
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    min-height: 350px;
}

.medical-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(111, 169, 184, 0.35);
}

.medical-card h3 {
    font-size: 22px;
    margin-bottom: 25px;
    color: var(--text-dark);
    font-weight: 500;
    letter-spacing: 0.05em;
}

.medical-image {
    width: 40%;
    aspect-ratio: 1 / 1;
    margin: 0 auto 25px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.medical-image img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    border-radius: 8px;
}

.medical-card p {
    font-size: 16px;
    line-height: 1.9;
    color: var(--text-gray);
    margin-top: auto;
}

/* ========================================
   11. 院長挨拶セクション
======================================== */
.doctor-section {
    background-color: var(--bg-white);
    padding: 80px 0 0 0;
    position: relative;
}

.doctor-section .section-container {
    padding-bottom: 40px;
}

.doctor-content {
    width: 100%;
    max-width: 1600px;
    margin: 0 auto;
    position: relative;
    min-height: 500px;
    background-image: url('images/doctor-image.jpg');
    background-size: 100% auto;
    background-position: left top;
    background-repeat: no-repeat;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    padding: 20px 80px 80px;
}

.doctor-text {
    max-width: 60%;
    background-color: transparent;
    padding: 10px 20px 50px;
    margin-right: auto;
}

.doctor-text h2 {
    font-size: 28px;
    color: var(--clinic-blue);
    margin-bottom: 30px;
    line-height: 1.8;
    letter-spacing: 0.08em;
}

.doctor-text p {
    font-size: 16px;
    line-height: 2.2;
    color: var(--text-dark);
    margin-bottom: 20px;
    letter-spacing: 0.05em;
}

.doctor-text .doctor-name {
    margin-top: 30px;
    font-size: 16px;
    color: var(--text-gray);
    font-weight: 600;
}

/* 院長プロフィールボックス */
.doctor-profile-box {
    display: flex;
    align-items: center;
    gap: 80px;
    background-color: var(--bg-white);
    border: 2px solid var(--clinic-blue);
    border-radius: 20px;
    padding: 40px 80px;
    margin-top: 60px;
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
}

.doctor-profile-left {
    flex-shrink: 0;
    text-align: center;
}

.doctor-photo {
    width: 200px;
    height: 260px;
    overflow: hidden;
    border-radius: 12px;
    margin-bottom: 15px;
}

.doctor-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.doctor-photo-caption {
    font-size: 16px;
    font-weight: 600;
    color: var(--text-dark);
    letter-spacing: 0.1em;
}

/* PC表示：写真エリアを非表示 */
.doctor-profile-left {
    display: none;
}

.doctor-profile-right {
    flex: 1;
    display: flex;
    flex-direction: row;
    gap: 60px;
    align-items: flex-start;
}

.doctor-career h3,
.doctor-qualifications h3 {
    font-size: 18px;
    color: var(--clinic-blue);
    margin-bottom: 15px;
    padding-bottom: 8px;
    border-bottom: 2px solid var(--clinic-blue);
    display: inline-block;
}

.doctor-career ul,
.doctor-qualifications ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.doctor-career ul li,
.doctor-qualifications ul li {
    font-size: 16px;
    line-height: 2;
    color: var(--text-dark);
    padding-left: 1em;
    position: relative;
}

.doctor-career ul li::before,
.doctor-qualifications ul li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0.9em;
    width: 6px;
    height: 6px;
    background-color: var(--clinic-blue);
    border-radius: 50%;
}

/* ========================================
   12. 背景色バリエーション
======================================== */
.section-light {
    background-color: var(--bg-light);
}

.section-beige {
    background-color: var(--clinic-beige);
}

.section-blue-light {
    background-color: var(--clinic-light-blue);
}

/* ========================================
   13. 当院についてセクション
======================================== */
.clinic-info-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    max-width: 1200px;
    margin: 0 auto;
}

.clinic-info-left {
    display: flex;
    flex-direction: column;
    gap: 35px;
}

/* 診療時間カレンダー */
.clinic-schedule {
    background: var(--bg-white);
    padding: 30px;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.15);
}

.schedule-table {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 20px;
}

.schedule-table thead th {
    background-color: #FFFFFF;
    color: #000000;
    padding: 12px 8px;
    font-size: 16px;
    font-weight: 700;
    border-bottom: 2px solid var(--clinic-blue);
    text-align: center;
}

.schedule-table thead th:first-child {
    text-align: center;
}

.schedule-table tbody td {
    padding: 15px 8px;
    text-align: center;
    border-bottom: 2px solid var(--clinic-blue);
    font-size: 16px;
    font-weight: 700;
}

.schedule-table tbody td.time-label {
    text-align: center;
    font-weight: 700;
    color: var(--text-dark);
}

.schedule-table tbody td.time-label .sub-text {
    font-size: 16px;
    color: var(--text-dark);
    font-weight: 700;
}

.schedule-table tbody td.available {
    color: var(--clinic-blue);
    font-size: 28px;
}

.schedule-table tbody td.closed {
    color: var(--clinic-blue);
    font-size: 16px;
}

.holiday-note {
    font-size: 16px;
    color: var(--text-dark);
    text-align: left;
    margin-top: 15px;
    font-weight: 700;
}

/* ロゴセクション */
.clinic-logo-section {
    text-align: center;
    padding: 40px 0 10px;
}

.clinic-logo-image {
    max-width: 100%;
    height: auto;
    max-height: 120px;
}

/* テキスト情報 */
.clinic-contact-info {
    background: var(--bg-white);
    padding: 10px;
    border-radius: 12px;
}

.clinic-tel {
    font-size: 28px;
    color: var(--clinic-blue);
    font-weight: 600;
    margin-bottom: 20px;
    letter-spacing: 0.05em;
}

.clinic-address {
    font-size: 16px;
    color: var(--text-dark);
    line-height: 2;
    margin-bottom: 20px;
}

.clinic-departments {
    font-size: 16px;
    color: var(--text-dark);
    font-weight: 500;
}

/* 地図エリア */
.clinic-info-right {
    display: flex;
    align-items: stretch;
}

.clinic-map {
    width: 100%;
    height: 100%;
    min-height: 600px;
    background-color: var(--clinic-light-blue);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0,0,0,0.08);
}

/* ========================================
   14. 院内写真セクション（背景固定）
======================================== */
.clinic-photo-section {
    width: 100%;
    height: 500px;
    background-attachment: fixed;
    background-size: cover;
    background-position: center;
}

/* ========================================
   15. 診療科のご案内
======================================== */
/* 診療科のご案内専用タイトル */
.departments-title {
    text-align: center;
    margin-bottom: 60px;
}

.departments-title .en {
    display: none;
}

.departments-title .ja {
    display: block;
    font-size: 28px;
    color: var(--clinic-blue);
    font-weight: 600;
    letter-spacing: 0.1em;
}

.departments-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 25px;
    max-width: 1000px;
    margin: 0 auto;
    justify-content: center;
}

.department-btn {
    background-color: rgba(111, 169, 184, 0.15);
    border: 3px solid var(--clinic-blue);
    border-radius: 15px;
    padding: 20px 40px;
    text-align: center;
    color: var(--text-dark);
    font-size: 20px;
    font-weight: 600;
    transition: all 0.3s ease;
    letter-spacing: 0.08em;
    min-height: 70px;
    min-width: 300px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.department-btn:nth-child(1),
.department-btn:nth-child(2),
.department-btn:nth-child(3) {
    flex: 0 0 calc(33.333% - 17px);
}

.department-btn:nth-child(4),
.department-btn:nth-child(5) {
    flex: 0 0 calc(33.333% - 17px);
}

.department-btn:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 20px rgba(111, 169, 184, 0.3);
}

/* ========================================
   16. 提携医療機関
======================================== */
.partners-title .ja {
    display: block;
    font-size: 28px;
    color: var(--clinic-blue);
    font-weight: 600;
    letter-spacing: 0.1em;
}

.partners-description {
    text-align: left;
    font-size: 16px;
    line-height: 2.2;
    color: var(--text-dark);
    margin-bottom: 50px;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
    padding: 30px 40px;
    background-color: #F9F9F9;
    border-radius: 12px;
}

.partners-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    max-width: 900px;
    margin: 0 auto;
}

.partner-item {
    padding: 20px 20px 20px 30px;
    text-align: left;
    font-size: 18px;
    color: var(--text-dark);
    font-weight: 600;
    background-color: white;
    transition: all 0.3s ease;
    border-radius: 8px;
    position: relative;
    padding-left: 35px;
    display: flex;
    align-items: center;
}

.partner-item::before {
    content: '';
    position: absolute;
    left: 15px;
    top: 50%;
    transform: translateY(-50%);
    width: 6px;
    height: 40px;
    background-color: var(--clinic-blue);
    border-radius: 3px;
}

.partner-item:hover {
    background-color: var(--bg-light);
    transform: translateX(5px);
}

/* ========================================
   17. 初めて当院を受診される方へ
======================================== */
.first-visit-wrapper {
    position: relative;
    max-width: 900px;
    margin: 0 auto;
}

.first-visit-header {
    text-align: center;
    padding: 20px 60px;
    background-color: var(--clinic-blue);
    border-radius: 12px;
    max-width: 600px;
    margin: 0 auto;
    position: relative;
    z-index: 2;
    margin-bottom: -25px;
}

.first-visit-title {
    font-size: 24px;
    color: #FFFFFF;
    font-weight: 500;
    letter-spacing: 0.1em;
    margin: 0;
}

.visit-flow-container {
    background-color: #F4F2F3;
    border-radius: 20px;
    padding: 60px 40px 50px;
    border: 3px solid var(--clinic-blue);
    position: relative;
    z-index: 1;
}

.visit-flow-title {
    text-align: center;
    font-size: 24px;
    color: var(--clinic-blue);
    margin-bottom: 40px;
    padding-bottom: 20px;
    letter-spacing: 0.08em;
    position: relative;
    max-width: 280px;
    margin-left: auto;
    margin-right: auto;
}

.visit-flow-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 4px;
    background-color: var(--clinic-pink);
}

.visit-steps {
    margin-bottom: 50px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.visit-step {
    display: flex;
    gap: 25px;
    align-items: flex-start;
    margin-bottom: 35px;
    padding-bottom: 35px;
    border-bottom: 1px solid var(--clinic-light-blue);
}

.visit-step:last-child {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}

.step-number {
    flex-shrink: 0;
    width: 90px;
    height: 90px;
    border-radius: 50%;
    background-color: #B4C9DC;
    color: #FFFFFF;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    font-weight: 600;
    line-height: 1.5;
    text-align: center;
    font-family: "Zen Maru Gothic", sans-serif;
}

.step-content {
    flex-grow: 1;
    padding-top: 10px;
}

.step-content h4 {
    font-size: 20px;
    color: var(--text-dark);
    margin-bottom: 12px;
    font-weight: 500;
    letter-spacing: 0.05em;
}

.step-content p {
    font-size: 16px;
    line-height: 2;
    color: var(--text-gray);
    text-align: left;
}

.first-visit-items {
    background-color: transparent;
    border-radius: 15px;
    padding: 35px 40px;
    max-width: 700px;
    margin: 0 auto;
}

.items-title {
    text-align: center;
    font-size: 24px;
    color: var(--clinic-blue);
    margin-bottom: 25px;
    padding-bottom: 20px;
    letter-spacing: 0.08em;
    position: relative;
    max-width: 250px;
    margin-left: auto;
    margin-right: auto;
}

.items-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 4px;
    background-color: var(--clinic-pink);
}

.items-list {
    background-color: #FFFFFF;
    border-radius: 12px;
    padding: 30px 40px;
    max-width: 550px;
    margin: 0 auto;
}

.items-list ul {
    list-style: none;
    padding: 0;
}

.items-list ul li {
    font-size: 16px;
    line-height: 2.5;
    color: var(--text-dark);
    padding-left: 25px;
    position: relative;
}

.items-list ul li:before {
    content: "•";
    position: absolute;
    left: 0;
    color: var(--clinic-blue);
    font-size: 20px;
}

/* ========================================
   18. フッター
======================================== */
.footer {
    background-color: var(--clinic-blue);
    color: var(--bg-white);
    padding: 50px 30px 30px;
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
}

.footer-nav-links {
    display: flex;
    justify-content: center;
    gap: 16px 80px;
    flex-wrap: wrap;
    padding-bottom: 36px;
    margin-bottom: 36px;
    border-bottom: 1px solid rgba(255,255,255,0.2);
}

.footer-nav-links a {
    color: var(--bg-white);
    text-decoration: none;
    font-size: 15px;
    letter-spacing: 0.05em;
    white-space: nowrap;
    transition: opacity 0.2s ease;
}

.footer-nav-links a:hover {
    opacity: 0.7;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 50px;
    margin-bottom: 40px;
}

.footer-section h3 {
    font-size: 17px;
    margin-bottom: 20px;
    font-weight: 500;
}

.footer-section p,
.footer-section a {
    font-size: 14px;
    line-height: 2;
    color: var(--bg-white);
}

.footer-section a:hover {
    opacity: 0.8;
}

.footer-nav ul {
    list-style: none;
}

.footer-nav ul li {
    margin-bottom: 10px;
}

.footer-bottom {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid rgba(255,255,255,0.2);
    font-size: 13px;
}

/* ========================================
   19. 画像の切り替え（PC/スマホ）
======================================== */
/* メインビジュアル：デフォルトでPC用を表示 */
.mv-bg-pc {
    display: block;
}
.mv-bg-sp {
    display: none;
}

/* ========================================
   20. レスポンシブ対応
======================================== */
@media (max-width: 1024px) {
    .main-visual {
        min-height: 500px;
    }

    .mv-background-image {
        min-height: 500px;
    }

    .main-visual h1 {
        font-size: 28px;
    }

    .main-visual p {
        font-size: 16px;
    }

    .medical-grid,
    .symptoms-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .doctor-content {
        width: 100%;
        padding: 60px 40px;
        min-height: 450px;
    }

    .doctor-text {
        max-width: 550px;
        padding: 40px 35px;
        background-color: transparent;
    }

    .doctor-text h2 {
        font-size: 22px;
    }

    .departments-grid {
        gap: 20px;
    }

    .department-btn {
        min-width: 250px;
        font-size: 18px;
    }

    .department-btn:nth-child(1),
    .department-btn:nth-child(2),
    .department-btn:nth-child(3) {
        flex: 0 0 calc(50% - 10px);
    }

    .department-btn:nth-child(4),
    .department-btn:nth-child(5) {
        flex: 0 0 calc(50% - 10px);
    }

    .partners-description {
        padding: 25px 30px;
        font-size: 16px;
        margin-left: auto;
        margin-right: auto;
    }

    .partners-grid {
        grid-template-columns: repeat(2, 1fr);
        max-width: 90%;
        width: fit-content;
        margin-left: auto;
        margin-right: auto;
    }

    /* 当院について：タブレットでは縦並び */
    .clinic-info-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .clinic-map {
        min-height: 450px;
    }

    /* 院内写真：タブレット */
    .clinic-photo-section {
        height: 400px;
        background-attachment: scroll;
    }

    /* お知らせセクション：タブレットでは縦並び */
    .news-section-wrapper {
        flex-direction: column;
        gap: 40px;
        align-items: center;
    }

    .news-section-wrapper .section-title {
        text-align: center;
    }

    .news-section-wrapper .news-list {
        max-width: 700px;
        width: 100%;
    }

    /* 初めて当院を受診される方へ：タブレット */
    .first-visit-header {
        padding: 18px 50px;
        max-width: 550px;
    }

    .first-visit-title {
        font-size: 22px;
    }

    .visit-flow-container {
        padding: 55px 30px 40px;
    }

    .visit-flow-title {
        max-width: 270px;
    }

    .items-title {
        max-width: 240px;
    }
}

/* ブログ一覧：タブレットでは2列 */
@media (max-width: 900px) and (min-width: 481px) {
    .blog-archive-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 24px 20px;
    }
}

@media (max-width: 768px) {
    body {
        font-size: 17px;
    }

    /* 画像の切り替え：スマホ用画像を表示 */
    .mv-bg-pc {
        display: none;
    }
    .mv-bg-sp {
        display: block;
    }

    /* 院長写真：スマホ用に切り替え */
    .doctor-content {
        background-image: url('images/doctor-image-sp.jpg') !important;
    }

    /* ヘッダー */
    .header-container {
        padding: 15px 20px;
    }

    .header-logo img {
        max-height: 50px;
    }

    .header-nav {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background-color: var(--bg-white);
        box-shadow: 0 4px 8px rgba(0,0,0,0.1);
        z-index: 999;
    }

    .header-nav.active {
        display: block;
    }

    .header-nav ul {
        flex-direction: column;
        gap: 0;
    }

    .header-nav ul li {
        border-bottom: 1px solid #f0f0f0;
    }

    .header-nav ul li a {
        padding: 15px 20px;
        flex-direction: row;
        justify-content: flex-start;
        gap: 10px;
    }

    .header-nav ul li a .en {
        font-size: 14px;
    }

    .header-nav ul li a .ja {
        font-size: 14px;
    }

    .menu-toggle {
        display: block;
    }

    /* モバイル用ドロップダウンメニュー */
    .header-nav .dropdown-menu {
        position: static;
        transform: none;
        box-shadow: none;
        border-radius: 0;
        margin-top: 0;
        padding: 0;
        display: none;
        background-color: var(--bg-light);
    }

    .header-nav .has-dropdown.dropdown-open .dropdown-menu {
        display: block;
        opacity: 1;
        visibility: visible;
    }

    .header-nav .dropdown-menu li {
        border-bottom: 1px solid #e0e0e0;
    }

    .header-nav .dropdown-menu li a {
        padding: 12px 20px 12px 40px;
        font-size: 13px;
    }

    .header-nav .dropdown-menu li:last-child {
        border-bottom: none;
    }

    /* メインビジュアル */
    .main-visual {
        min-height: 450px;
    }

    .mv-background-image {
        min-height: 450px;
    }

    .main-visual-content {
        top: 25%;
        padding: 0 15px;
    }

    .main-visual h1 {
        font-size: 20px;
        margin-bottom: 20px;
    }

    .main-visual p {
        font-size: 18px;
        line-height: 1.8;
    }

    .mv-opening-date {
        font-size: 22px !important;
        margin-top: 10px;
    }

    /* メインビジュアルのカレンダー：スマホでは画像下に中央表示 */
    .mv-schedule {
        position: relative;
        bottom: auto;
        right: auto;
        left: auto;
        transform: none;
        display: block;
        margin: 20px auto;
        width: calc(100% - 40px);
        max-width: none;
        padding: 20px 15px;
    }

    .mv-schedule .schedule-table {
        font-size: 14px;
    }

    .mv-schedule .schedule-table thead th {
        padding: 8px 4px;
        font-size: 14px;
    }

    .mv-schedule .schedule-table tbody td {
        padding: 10px 4px;
        font-size: 14px;
    }

    .mv-schedule .schedule-table tbody td.time-label {
        font-size: 18px;
        white-space: nowrap;
        min-width: 80px;
    }

    .mv-schedule .schedule-table tbody td.time-label .sub-text {
        font-size: 12px;
        display: block;
    }

    .mv-schedule .schedule-table tbody td.available {
        font-size: 18px;
    }

    .mv-schedule .schedule-table tbody td.closed {
        font-size: 14px;
    }

    .mv-schedule .holiday-note {
        font-size: 14px;
    }

    /* セクション */
    .section {
        padding: 60px 20px;
    }

    .section-title .ja {
        font-size: 22px;
    }

    /* お知らせセクション:スマホでは縦並び */
    .news-section-wrapper {
        flex-direction: column;
        gap: 30px;
        align-items: center;
    }

    .news-section-wrapper .section-title {
        text-align: center;
        margin-bottom: 20px;
    }

    .news-section-wrapper .news-list {
        max-width: 100%;
        width: 100%;
        padding-right: 0;
    }

    .news-item {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
        padding: 15px 0;
    }

    .news-date {
        font-size: 16px;
    }

    .news-category {
        font-size: 14px;
        padding: 4px 12px;
    }

    .news-title {
        font-size: 16px;
        line-height: 1.6;
    }

    /* ブログ一覧カードグリッド：スマホでは2列 */
    .blog-archive-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px 16px;
    }

    .blog-archive-title {
        font-size: 14px;
    }

    /* 症状・お悩みセクション：スマホでは背景画像を非表示 */
    .symptoms-section-bg {
        background-image: none;
        padding-left: 30px;
        padding-right: 30px;
        padding-bottom: 20px;
    }

    .symptoms-grid,
    .medical-grid {
        grid-template-columns: 1fr;
        gap: 20px;
        padding: 0 10px;
    }

    .symptoms-title {
        font-size: 18px;
        padding: 60px 15px 15px;
    }

    .symptoms-reserve-btn-wrapper {
        margin-top: 20px;
    }

    .symptom-card {
        padding: 70px 20px 30px;
        margin-top: 50px;
    }

    .symptom-card h3 {
        font-size: 18px;
        margin-bottom: 15px;
    }

    .symptom-card ul {
        font-size: 16px;
        line-height: 2;
        text-align: center;
    }

    .medical-grid {
        padding: 40px 20px;
    }

    .medical-card {
        padding: 25px 20px 30px;
        min-height: auto;
    }

    .medical-card h3 {
        font-size: 20px;
        margin-bottom: 20px;
    }

    .medical-image {
        width: 35%;
        margin-bottom: 20px;
    }

    .medical-card p {
        font-size: 16px;
    }

    /* 院長挨拶 */
    .doctor-section .section-container {
        padding-bottom: 10px;
    }

    .doctor-content {
        width: 100%;
        padding: 15px 20px;
        min-height: 400px;
        background-position: 50% 60%;
        align-items: flex-start;
    }

    .doctor-text {
        max-width: 100%;
        padding: 5px 25px;
        background-color: transparent;
    }

    .doctor-text h2 {
        font-size: 20px;
    }

    .doctor-text p {
        font-size: 16px;
    }

    /* 院長プロフィール */
    .doctor-profile-right {
        flex-direction: column;
        gap: 30px;
    }

    .doctor-profile-box {
        flex-direction: column;
        gap: 30px;
        padding: 25px 20px;
        margin: 40px 15px 0;
    }

    .doctor-profile-left {
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    .doctor-photo {
        width: 160px;
        height: 210px;
    }

    .doctor-photo-caption {
        font-size: 16px;
    }

    .doctor-career h3,
    .doctor-qualifications h3 {
        font-size: 16px;
    }

    .doctor-career ul li,
    .doctor-qualifications ul li {
        font-size: 16px;
        line-height: 1.9;
    }

    /* 当院について */
    .clinic-info-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .clinic-schedule {
        padding: 20px 15px;
        overflow-x: auto;
    }

    .schedule-table {
        font-size: 14px;
    }

    .schedule-table thead th {
        padding: 8px 4px;
        font-size: 14px;
    }

    .schedule-table tbody td {
        padding: 10px 4px;
        font-size: 14px;
    }

    .schedule-table tbody td.time-label {
        font-size: 18px;
    }

    .schedule-table tbody td.time-label .sub-text {
        font-size: 12px;
    }

    .schedule-table tbody td.available {
        font-size: 18px;
    }

    .schedule-table tbody td.closed {
        font-size: 14px;
    }

    .holiday-note {
        font-size: 14px;
    }

    .clinic-tel {
        font-size: 22px;
    }

    .clinic-address {
        font-size: 16px;
    }

    .clinic-departments {
        font-size: 16px;
    }

    .clinic-map {
        min-height: 350px;
    }

    /* 院内写真 */
    .clinic-photo-section {
        display: none;
    }

    /* パンくずリストを非表示 */
    .breadcrumb {
        display: none;
    }

    /* お知らせ個別ページ：タイトルを20pxに */
    .type-news .entry-header h1 {
        font-size: 20px !important;
    }

    /* ブログ個別ページ：タイトルを非表示 */
    .type-blog .entry-header h1 {
        display: none;
    }

    /* 診療科のご案内 */
    .departments-grid {
        flex-direction: column;
        max-width: 400px;
    }

    .department-btn {
        min-width: 100%;
        font-size: 18px;
    }

    .department-btn:nth-child(1),
    .department-btn:nth-child(2),
    .department-btn:nth-child(3),
    .department-btn:nth-child(4),
    .department-btn:nth-child(5) {
        flex: 0 0 auto;
    }

    /* 提携医療機関 */
    .partners-title .ja {
        font-size: 22px;
    }

    .partners-description {
        padding: 20px 25px;
        font-size: 16px;
        line-height: 2;
        margin-left: auto;
        margin-right: auto;
    }

    .partners-grid {
        grid-template-columns: 1fr;
        max-width: 90%;
        width: fit-content;
        margin-left: auto;
        margin-right: auto;
    }

    .partner-item {
        font-size: 16px;
        width: auto;
    }

    /* 初めて当院を受診される方へ */
    .first-visit-header {
        padding: 15px 30px;
        max-width: 90%;
        margin-bottom: -20px;
    }

    .first-visit-title {
        font-size: 18px;
    }

    .visit-flow-container {
        padding: 50px 20px 30px;
        border-width: 2px;
    }

    .visit-flow-title {
        font-size: 20px;
        max-width: 240px;
    }

    .visit-steps {
        max-width: 100%;
    }

    .visit-step {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .step-number {
        width: 80px;
        height: 80px;
        font-size: 14px;
    }

    .first-visit-items {
        padding: 25px 20px;
        max-width: 100%;
    }

    .items-title {
        font-size: 19px;
        max-width: 220px;
    }

    .items-list {
        padding: 25px 20px;
        max-width: 100%;
    }

    /* ボタン */
    .btn {
        font-size: 16px;
        padding: 0.9em 2em;
    }

    .btn-main {
        padding: 0.9em 2em;
    }

    .btn-outline {
        padding: 0.7em 1.8em;
    }

    .btn-details {
        font-size: 16px;
        padding: 0.8em 2em;
    }

    .btn-reserve-large {
        display: flex;
        font-size: 16px;
        padding: 0.8em 2em;
        gap: 10px;
        border-width: 3px;
        width: 90%;
        justify-content: center;
        margin: 0 auto;
    }

    .btn-reserve-large img {
        width: 70px;
        height: 70px;
    }

    /* フッター */
    .footer-content {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    /* フッターナビ：スマホでは3列×2行 */
    .footer-nav-links {
        gap: 14px 0;
        justify-content: flex-start;
    }

    .footer-nav-links a {
        width: 33.333%;
        text-align: center;
        font-size: 14px;
    }
}

@media (max-width: 480px) {
    body {
        font-size: 16px;
    }

    .header-container {
        padding: 12px 15px;
    }

    .header-logo img {
        max-height: 45px;
    }

    .main-visual {
        min-height: 400px;
    }

    .mv-background-image {
        min-height: 400px;
    }

    .main-visual-content {
        padding: 0 10px;
    }

    .main-visual h1 {
        font-size: 20px;
        margin-bottom: 15px;
    }

    .main-visual p {
        font-size: 16px;
    }

    .section {
        padding: 50px 15px;
    }

    .section-title .en {
        font-size: 20px;
    }

    .section-title .ja {
        font-size: 20px;
    }

    .symptoms-section-bg {
        padding-left: 20px;
        padding-right: 20px;
        padding-bottom: 15px;
    }

    .symptoms-title {
        font-size: 18px;
        padding: 50px 10px 10px;
    }

    .symptom-card {
        padding: 60px 15px 25px;
        margin-top: 45px;
    }

    .symptom-card .icon {
        width: 100px;
        height: 100px;
        top: -50px;
    }

    .symptom-card .icon img {
        width: 50px;
        height: 50px;
    }

    .symptom-card h3 {
        font-size: 18px;
    }

    .symptom-card ul {
        font-size: 16px;
        text-align: center;
    }

    .symptoms-reserve-btn-wrapper {
        margin-top: 10px;
    }

    .medical-grid {
        padding: 30px 15px;
    }

    .medical-card {
        padding: 20px 15px 25px;
    }

    .medical-card h3 {
        font-size: 18px;
    }

    .medical-image {
        width: 30%;
    }

    .medical-card p {
        font-size: 16px;
    }

    .doctor-content {
        padding: 10px 15px 15px;
        min-height: 350px;
    }

    .doctor-text {
        padding: 5px 20px;
    }

    .doctor-text h2 {
        font-size: 18px;
        margin-bottom: 20px;
    }

    .doctor-text p {
        font-size: 16px;
        line-height: 2;
    }

    .clinic-schedule {
        padding: 15px 10px;
    }

    .schedule-table {
        font-size: 14px;
    }

    .schedule-table thead th {
        padding: 6px 3px;
        font-size: 14px;
    }

    .schedule-table tbody td {
        padding: 8px 3px;
        font-size: 14px;
    }

    .schedule-table tbody td.time-label {
        font-size: 18px;
    }

    .schedule-table tbody td.time-label .sub-text {
        font-size: 12px;
    }

    .schedule-table tbody td.available {
        font-size: 18px;
    }

    .clinic-tel {
        font-size: 20px;
    }

    .clinic-address,
    .clinic-departments {
        font-size: 16px;
    }

    .clinic-map {
        min-height: 300px;
    }

    .clinic-photo-section {
        height: 250px;
    }

    .department-btn {
        font-size: 16px;
        padding: 15px 30px;
        min-width: 100%;
        min-height: 60px;
    }

    .partners-grid {
        max-width: 90%;
        width: fit-content;
        margin-left: auto;
        margin-right: auto;
    }

    .partner-item {
        font-size: 16px;
        padding: 18px 18px 18px 30px;
        width: auto;
    }

    .first-visit-header {
        padding: 12px 20px;
    }

    .first-visit-title {
        font-size: 16px;
    }

    .visit-flow-container {
        padding: 45px 15px 25px;
    }

    .visit-flow-title,
    .items-title {
        font-size: 18px;
    }

    .step-number {
        width: 70px;
        height: 70px;
        font-size: 14px;
    }

    .step-content h4 {
        font-size: 16px;
    }

    .step-content p {
        font-size: 16px;
    }

    .items-list ul li {
        font-size: 16px;
    }

    .btn-reserve-large {
        font-size: 16px;
        padding: 0.7em 1.5em;
        flex-direction: row;
        gap: 8px;
        width: 90%;
        justify-content: center;
        margin: 0 auto;
    }

    .btn-reserve-large img {
        width: 50px;
        height: 50px;
    }

    .btn-details {
        font-size: 16px;
        padding: 0.7em 1.8em;
    }

    .footer-section h3 {
        font-size: 16px;
    }

    .footer-section p,
    .footer-section a {
        font-size: 14px;
    }
}

/* ========================================
   循環器内科ページ専用スタイル
======================================== */

/* ページメインビジュアル */
.page-mv {
    position: relative;
    width: 100%;
    height: 400px;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

.page-mv-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
}

.page-mv-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, rgba(0,0,0,0.2), rgba(0,0,0,0.4));
    z-index: 1;
}

.page-mv-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 2;
    text-align: center;
    width: 100%;
}

.page-mv-title {
    font-size: 48px;
    font-weight: 700;
    color: var(--text-dark);
    letter-spacing: 0.15em;
    text-shadow: 0 0 20px rgba(255,255,255,0.9),
                 0 0 40px rgba(255,255,255,0.7),
                 0 0 60px rgba(255,255,255,0.5);
    margin-bottom: 15px;
}

.page-mv-subtitle {
    font-size: 20px;
    font-weight: 400;
    color: var(--text-dark);
    letter-spacing: 0.2em;
    text-shadow: 0 0 5px rgba(255,255,255,1),
                 0 0 10px rgba(255,255,255,1),
                 0 0 20px rgba(255,255,255,0.9),
                 0 0 40px rgba(255,255,255,0.7),
                 0 0 60px rgba(255,255,255,0.5);
}

/* 循環器内科 説明セクション */
.cardiology-intro-section {
    background-color: #ffffff;
    padding-bottom: 40px;
}

.cardiology-intro {
    text-align: center;
    max-width: 650px;
    margin: 0 auto;
}

.cardiology-icon {
    width: 100px;
    height: 100px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: center;
}

.cardiology-icon img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.cardiology-main-title {
    font-size: 24px;
    color: var(--clinic-pink);
    margin-bottom: 10px;
    font-weight: 600;
    letter-spacing: 0.08em;
}

.cardiology-subtitle {
    font-size: 24px;
    color: var(--clinic-pink);
    margin-bottom: 30px;
    font-weight: 600;
    letter-spacing: 0.08em;
    line-height: 1.8;
}

.cardiology-description {
    text-align: left;
    font-size: 16px;
    line-height: 2.2;
    color: var(--text-dark);
    margin-bottom: 20px;
    padding-top: 30px;
    border-top: 2px solid #CCCCCC;
}

/* 診療対象と主な疾患セクション */
.cardiology-diseases-section {
    background-color: var(--bg-white);
    padding-top: 40px;
}

.cardiology-diseases-section .section-container {
    background-color: #E8F4F8;
    border-radius: 20px;
    padding: 60px 40px;
    max-width: 800px;
}

.diseases-section-title {
    text-align: center;
    font-size: 28px;
    color: var(--text-dark);
    margin-bottom: 60px;
    font-weight: 600;
    letter-spacing: 0.08em;
}

.diseases-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 20px;
    max-width: 650px;
    margin: 0 auto 50px;
}

.disease-card {
    background: var(--bg-white);
    border-radius: 12px;
    padding: 20px 25px;
    text-align: left;
    box-shadow: 0 2px 10px rgba(0,0,0,0.08);
    display: flex;
    align-items: center; 
    gap: 20px;
    min-height: 120px; /* カードの最小高さを調整（2行の説明文に合わせて縮小） */
}

.disease-icon {
    width: 50px;
    height: 50px;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

.disease-icon img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.disease-title {
    font-size: 20px;
    color: var(--clinic-blue);
    margin: 0;
    font-weight: 600;
    letter-spacing: 0.05em;
    line-height: 1.3;
    word-break: break-word;
    text-align: center;
    flex-shrink: 0;
    width: 180px;
    align-self: center;
}

.disease-list {
    font-size: 16px;
    line-height: 1.6;
    color: var(--text-gray);
    margin: 0;
    flex: 1;
    min-width: 0;
    align-self: center;
}

.diseases-cta {
    text-align: center;
    margin-top: 60px;
}

.btn-cardiology-detail {
    background-color: var(--clinic-blue);
    color: #FFFFFF;
    padding: 1em 3em;
    border-radius: 50px;
    font-size: 18px;
    font-weight: 600;
    letter-spacing: 0.1em;
    transition: all 0.3s ease;
    display: inline-block;
}

.btn-cardiology-detail:hover {
    background-color: #5a8e9d;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(111, 169, 184, 0.4);
}

/* 提携医療機関セクション（ページ用） */
.partners-section-page {
    background-color: var(--bg-white);
    padding-top: 40px; 
}

/* WEB予約セクション */
.reserve-section {
    background-color: var(--bg-white);
    padding: 60px 30px;
}

.reserve-cta {
    text-align: center;
}

.btn-reserve-pink {
    background-color: var(--bg-white);
    border: 4px solid var(--clinic-pink);
    color: var(--clinic-pink);
    font-size: 22px;
    padding: 1em 4em;
    border-radius: 80px;
    box-shadow: 0 6px 20px rgba(243, 173, 190, 0.4);
    display: inline-flex;
    align-items: center;
    gap: 15px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.btn-reserve-pink:hover {
    background-color: var(--bg-white);
    color: var(--clinic-pink);
    transform: translateY(-5px);
    box-shadow: 0 8px 30px rgba(243, 173, 190, 0.5);
}

.btn-reserve-pink img {
    width: 100px;
    height: 100px;
    object-fit: contain;
}

/* レスポンシブ対応 */
@media (max-width: 1024px) {
    .page-mv-title {
        font-size: 34px;
    }

    .page-mv-subtitle {
        font-size: 17px;
    }
}

@media (max-width: 768px) {
    .page-mv {
        height: 300px;
    }

    .page-mv-title {
        font-size: 20px;
    }

    .page-mv-subtitle {
        font-size: 16px;
    }

    .cardiology-main-title {
        font-size: 20px;
    }

    .cardiology-subtitle {
        font-size: 20px;
    }

    .cardiology-description {
        font-size: 16px;
    }

    .cardiology-diseases-section .section-container {
        padding: 50px 30px;
    }

    .diseases-section-title {
        font-size: 22px;
    }

    .diseases-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .disease-card {
        padding: 20px 20px;
        min-height: 110px; /* タブレット用（2行に合わせて縮小） */
    }

    .disease-title {
        font-size: 18px;
        min-height: 2.2em; /* タブレット用に少し調整 */
        width: 150px; /* タブレット用にタイトル幅を調整 */
    }

    .disease-list {
        font-size: 16px;
        line-height: 1.6;
        height: 3.2em; /* 2行分の高さ */
    }

    .btn-cardiology-detail {
        font-size: 16px;
        padding: 0.9em 2.5em;
    }

    .btn-reserve-pink {
        display: flex;
        font-size: 16px;
        padding: 0.8em 2em;
        flex-direction: row;
        gap: 10px;
        width: 90%;
        justify-content: center;
        margin: 0 auto;
    }

    .btn-reserve-pink img {
        width: 70px;
        height: 70px;
    }
}

@media (max-width: 480px) {
    .page-mv {
        height: 250px;
    }

    .page-mv-title {
        font-size: 20px;
    }

    .page-mv-subtitle {
        font-size: 16px;
    }

    .cardiology-main-title {
        font-size: 18px;
    }

    .cardiology-subtitle {
        font-size: 18px;
    }

    .cardiology-description {
        font-size: 16px;
    }

    .cardiology-diseases-section .section-container {
        padding: 40px 20px;
    }

    .diseases-section-title {
        font-size: 18px;
    }

    .disease-card {
        padding: 18px 15px;
        flex-direction: column;
        text-align: center;
        align-items: center;
        min-height: 160px; /* スマホ用（縦並び・2行に合わせて縮小） */
    }

    .disease-title {
        font-size: 16px;
        min-height: 2em; /* スマホ用に調整 */
        width: 100%; /* スマホは縦並びなので100% */
    }

    .disease-list {
        font-size: 16px;
        line-height: 1.6;
        height: 3.2em; /* 2行分の高さ */
        width: 100%; /* スマホは縦並びなので100% */
    }

    .reserve-section {
        padding: 50px 20px 60px;
    }

    .btn-reserve-pink {
        font-size: 16px;
        padding: 0.7em 1.5em;
        flex-direction: row;
        gap: 8px;
        width: 90%;
        justify-content: center;
        margin: 0 auto;
    }

    .btn-reserve-pink img {
        width: 50px;
        height: 50px;
    }
}

/* ========================================
   投稿・お知らせページ：本文内スタイル
======================================== */

/* リストスタイル */
.entry-content ul,
.entry-content ol {
    padding-left: 1.8em;
    margin-bottom: 20px;
    line-height: 2.2;
    color: var(--text-dark);
}

.entry-content ul li,
.entry-content ol li {
    margin-bottom: 5px;
}

/* 段落スタイル */
.entry-content p {
    line-height: 2.2;
    color: var(--text-dark);
    margin-bottom: 20px;
    text-align: left;
}

.entry-content p:last-child {
    margin-bottom: 0;
}

/* 改行スタイル */
.entry-content br {
    line-height: 2.2;
}

/* 表スタイル */
.entry-content table {
    width: 100%;
    border-collapse: collapse;
    margin: 30px 0;
    font-size: 16px;
    line-height: 1.8;
}

.entry-content table thead th {
    background-color: var(--clinic-blue);
    color: #FFFFFF;
    padding: 12px 15px;
    font-weight: 600;
    text-align: left;
    border: 1px solid var(--clinic-blue);
}

.entry-content table tbody td {
    padding: 12px 15px;
    border: 1px solid #DADADA;
    color: var(--text-dark);
}

.entry-content table tbody tr:nth-child(even) {
    background-color: #F9F9F9;
}

/* 表のセル背景色オプション */
.entry-content table .bg-blue {
    background-color: var(--clinic-light-blue);
}

.entry-content table .bg-beige {
    background-color: var(--clinic-beige);
}

.entry-content table .bg-pink {
    background-color: rgba(243, 173, 190, 0.15);
}

.entry-content table .bg-white {
    background-color: #FFFFFF;
}

.entry-content table .bg-gray {
    background-color: #F9F9F9;
}

/* H2タイトルスタイル */
.entry-content h2 {
    color: var(--text-dark);
    font-size: 24px;
    font-weight: 600;
    margin: 70px 0 30px;
    padding-left: 60px;
    padding-bottom: 15px;
    border-bottom: 3px solid var(--clinic-blue);
    position: relative;
    line-height: 1.6;
}

.entry-content h2::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    width: 45px;
    height: 45px;
    background-image: url('images/logo-title.png');
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
}

/* H3タイトルスタイル */
.entry-content h3 {
    color: var(--clinic-blue);
    font-size: 20px;
    font-weight: 600;
    margin: 45px 0 25px;
    padding-left: 20px;
    padding-bottom: 10px;
    border-left: 5px solid var(--clinic-blue);
    border-bottom: 2px solid var(--clinic-light-blue);
    line-height: 1.6;
}

/* H4タイトルスタイル */
.entry-content h4 {
    color: var(--clinic-blue);
    font-size: 18px;
    font-weight: 600;
    margin: 40px 0 20px;
    padding-left: 18px;
    position: relative;
    line-height: 1.6;
}

.entry-content h4::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 10px;
    height: 10px;
    background-color: var(--clinic-blue);
    border-radius: 50%;
}

/* レスポンシブ対応 */
@media (max-width: 768px) {

    .entry-content table {
        font-size: 14px;
    }

    .entry-content table thead th,
    .entry-content table tbody td {
        padding: 10px 12px;
    }

    .entry-content h2 {
        font-size: 20px;
        padding-left: 50px;
        padding-bottom: 12px;
        margin: 55px 0 25px;
    }

    .entry-content h2::before {
        width: 38px;
        height: 38px;
    }

    .entry-content h3 {
        font-size: 18px;
        padding-left: 18px;
        padding-bottom: 8px;
        margin: 35px 0 20px;
        border-left-width: 4px;
    }

    .entry-content h4 {
        font-size: 16px;
        padding-left: 16px;
        margin: 30px 0 18px;
    }

    .entry-content h4::before {
        width: 9px;
        height: 9px;
    }
}

@media (max-width: 480px) {
    .entry-content p {
        line-height: 2;
    }

    .entry-content table {
        font-size: 13px;
    }

    .entry-content table thead th,
    .entry-content table tbody td {
        padding: 8px 10px;
    }

    .entry-content h2 {
        font-size: 18px;
        padding-left: 45px;
        padding-bottom: 10px;
        margin: 45px 0 20px;
    }

    .entry-content h2::before {
        width: 35px;
        height: 35px;
    }

    .entry-content h3 {
        font-size: 16px;
        padding-left: 15px;
        padding-bottom: 7px;
        margin: 30px 0 18px;
        border-left-width: 3px;
    }

    .entry-content h4 {
        font-size: 15px;
        padding-left: 14px;
        margin: 25px 0 15px;
    }

    .entry-content h4::before {
        width: 8px;
        height: 8px;
    }
}

/* ========================================
   症状ページ専用スタイル
======================================== */

/* 症状説明セクション */
.symptoms-intro-section {
    background-color: var(--bg-white);
    padding: 80px 30px;
}

.symptoms-content {
    display: grid;
    grid-template-columns: 400px 1fr;
    gap: 60px;
    max-width: 1000px;
    margin: 0 auto;
    align-items: center;
}

.symptoms-image {
    width: 100%;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    grid-column: 1;
}

.symptoms-image img {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
}

.symptoms-text {
    text-align: left;
    grid-column: 2;
}

.symptoms-heading {
    font-size: 22px;
    color: var(--clinic-blue);
    margin-bottom: 30px;
    font-weight: 600;
    letter-spacing: 0.08em;
    line-height: 1.8;
}

.symptoms-description {
    font-size: 16px;
    line-height: 2.2;
    color: var(--text-dark);
}

.symptoms-description p {
    margin-bottom: 20px;
}

.symptoms-description p:last-child {
    margin-bottom: 0;
}

/* WEB予約セクション（症状ページ用） */
.symptoms-reserve-section {
    background-color: var(--bg-white);
    padding: 40px 30px 80px;
}

/* レスポンシブ対応 */
@media (max-width: 768px) {
    .symptoms-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .symptoms-image {
        max-width: 400px;
        margin: 0 auto;
        grid-column: 1;
    }

    .symptoms-text {
        grid-column: 1;
    }

    .symptoms-heading {
        font-size: 20px;
        text-align: center;
    }

    .symptoms-description {
        font-size: 16px;
    }

    .btn-reserve-pink-large {
        font-size: 18px;
        padding: 1em 3em;
        flex-direction: column;
        gap: 15px;
    }

    .btn-reserve-pink-large img {
        width: 80px;
        height: 80px;
    }
}

@media (max-width: 480px) {
    .symptoms-intro-section {
        padding: 60px 20px;
    }

    .symptoms-image {
        max-width: 100%;
        grid-column: 1;
    }

    .symptoms-text {
        grid-column: 1;
    }

    .symptoms-heading {
        font-size: 18px;
    }

    .symptoms-description {
        font-size: 16px;
        line-height: 2;
    }

    .symptoms-reserve-section {
        padding: 50px 20px 60px;
    }

    .btn-reserve-pink-large {
        font-size: 16px;
        padding: 0.9em 2.5em;
        gap: 12px;
    }

    .btn-reserve-pink-large img {
        width: 70px;
        height: 70px;
    }
}

/* ========================================
   こんな症状セクション
======================================== */

.symptoms-checklist-section {
    background-color: var(--bg-white);
    padding: 40px 30px;
}

.symptoms-checklist-box {
    max-width: 600px;
    margin: 0 auto;
    background-color: var(--bg-white);
    border: 3px solid var(--clinic-blue);
    border-radius: 20px;
    padding: 40px 50px;
}

.symptoms-checklist {
    list-style: none;
    padding: 0;
    margin: 0;
}

.symptoms-checklist li {
    font-size: 16px;
    line-height: 1.8;
    color: var(--text-dark);
    padding-left: 35px;
    position: relative;
    letter-spacing: 0.05em;
    display: flex;
    align-items: center;
    min-height: 24px;
    margin-bottom: 15px;
}

.symptoms-checklist li:before {
    content: "✓";
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    color: var(--clinic-blue);
    font-size: 14px;
    font-weight: bold;
    width: 24px;
    height: 24px;
    border: 2px solid var(--clinic-blue);
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* レスポンシブ対応 */
@media (max-width: 768px) {
    .symptoms-checklist-section {
        padding: 60px 20px;
    }

    .symptoms-checklist-box {
        padding: 35px 30px;
    }

    .symptoms-checklist li {
        font-size: 16px;
        line-height: 1.8;
        min-height: 22px;
        margin-bottom: 12px;
    }

    .symptoms-checklist li:before {
        font-size: 13px;
        width: 22px;
        height: 22px;
    }
}

@media (max-width: 480px) {
    .symptoms-checklist-section {
        padding: 50px 15px;
    }

    .symptoms-checklist-box {
        padding: 30px 25px;
    }

    .symptoms-checklist li {
        font-size: 16px;
        line-height: 1.8;
        padding-left: 30px;
        min-height: 20px;
        margin-bottom: 10px;
    }

    .symptoms-checklist li:before {
        font-size: 12px;
        width: 20px;
        height: 20px;
    }
}

/* ========================================
   当院で行う検査・診断セクション
======================================== */

.examinations-section {
    position: relative;
}

.examinations-section-bg {
    background-image: url('images/medical-background.jpg');
    background-size: 100% 30%;
    background-position: bottom center;
    background-repeat: no-repeat;
    padding: 80px 30px;
    position: relative;
}

.examinations-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    max-width: 900px;
    margin: 0 auto 10px;
}

.examination-card {
    background: var(--bg-white);
    border-radius: 12px;
    padding: 20px 15px;
    text-align: center;
    box-shadow: 0 2px 10px rgba(0,0,0,0.08);
}

.examination-card h3 {
    font-size: 16px;
    line-height: 1.5;
    height: 3em; /* 2行分の高さを確保 */
    margin-bottom: 15px;
    color: var(--text-dark);
    font-weight: 600;
    letter-spacing: 0.05em;
    display: flex;
    align-items: center;
    justify-content: center;
}

.examination-image {
    width: 100%;
    aspect-ratio: 4 / 3;
    overflow: hidden;
    border-radius: 8px;
}

.examination-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* 検査セクション内のWEB予約ボタンラッパー */
.examinations-reserve-btn-wrapper {
    text-align: center;
    margin-top: 60px;
}

/* レスポンシブ対応 */
@media (max-width: 1024px) {
    .examinations-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 18px;
    }
}

@media (max-width: 768px) {
    /* 背景画像を非表示 */
    .examinations-section-bg {
        background-image: none;
    }

    .examinations-grid {
        grid-template-columns: 1fr;
        gap: 15px;
        padding: 0 10px;
    }

    .examination-card {
        padding: 18px 15px;
    }

    .examination-card h3 {
        font-size: 16px;
        margin-bottom: 12px;
    }

    .examinations-reserve-btn-wrapper {
        margin-top: 30px;
    }
}

@media (max-width: 480px) {
    .examination-card {
        padding: 15px 12px;
    }

    .examination-card h3 {
        font-size: 16px;
    }

    .examinations-reserve-btn-wrapper {
        margin-top: 10px;
    }
}

/* ========================================
   よくある質問セクション
======================================== */

.faq-section {
    background-color: var(--bg-white);
    position: relative;
}

.faq-section-bg {
    background-image: url('images/faq-background.jpg');
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
    padding: 80px 30px;
    position: relative;
}

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

.faq-item {
    padding-bottom: 40px;
    border-bottom: 2px solid #DADADA;
    margin-bottom: 40px;
}

.faq-item:last-child {
    margin-bottom: 0;
}

.faq-question {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    margin-bottom: 15px;
}

.faq-icon-q {
    width: 50px;
    height: 50px;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

.faq-icon-q img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.faq-question p {
    flex: 1;
    font-size: 16px;
    line-height: 1.8;
    color: var(--text-dark);
    font-weight: 500;
    letter-spacing: 0.05em;
    margin: 0;
    padding-top: 8px;
}

.faq-answer {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    margin-left: 0;
}

.faq-icon-a {
    width: 50px;
    height: 50px;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

.faq-icon-a img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.faq-answer p {
    flex: 1;
    font-size: 16px;
    line-height: 2;
    color: var(--text-gray);
    letter-spacing: 0.05em;
    margin: 0;
    padding-top: 8px;
}

/* レスポンシブ対応 */
@media (max-width: 768px) {
    .faq-section-bg {
        padding: 60px 20px;
    }

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

    .faq-question,
    .faq-answer {
        gap: 12px;
    }

    .faq-icon-q,
    .faq-icon-a {
        width: 40px;
        height: 40px;
    }

    .faq-question p,
    .faq-answer p {
        font-size: 16px;
        padding-top: 5px;
    }
}

@media (max-width: 480px) {
    .faq-section-bg {
        padding: 50px 15px;
    }

    .faq-item {
        padding-bottom: 25px;
        margin-bottom: 25px;
    }

    .faq-question,
    .faq-answer {
        gap: 10px;
    }

    .faq-icon-q,
    .faq-icon-a {
        width: 35px;
        height: 35px;
    }

    .faq-question p,
    .faq-answer p {
        font-size: 16px;
        line-height: 1.8;
    }
}

/* ========================================
   循環器内科とは？セクション
======================================== */

.cardiology-info-section {
    background-color: var(--bg-white);
    padding: 80px 30px;
}

.cardiology-info-wrapper {
    max-width: 800px;
    margin: 0 auto;
}

/* タイトル部分 */
.cardiology-info-header {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 25px;
    margin-bottom: 40px;
    margin-left: 130px;
}

.cardiology-info-icon {
    width: 80px;
    height: 80px;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

.cardiology-info-icon img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.cardiology-info-text {
    flex: 1;
    text-align: left;
}

.cardiology-info-title {
    font-size: 24px;
    color: var(--clinic-blue);
    margin-bottom: 10px;
    font-weight: 600;
    letter-spacing: 0.08em;
}

.cardiology-info-subtitle {
    font-size: 24px;
    color: var(--text-dark);
    font-weight: 500;
    letter-spacing: 0.05em;
}

/* 画像 */
.cardiology-info-image {
    width: 100%;
    margin-bottom: 40px;
    overflow: hidden;
}

.cardiology-info-image img {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
}

/* 説明文 */
.cardiology-info-description {
    font-size: 16px;
    line-height: 2.2;
    color: var(--text-dark);
    margin-bottom: 50px;
    text-align: left;
}

.cardiology-info-description p {
    margin-bottom: 20px;
}

.cardiology-info-description p:last-child {
    margin-bottom: 0;
}

/* 循環器内科で診る病気の代表例 */
.cardiology-diseases-examples {
    background-color: #F9F9F9;
    border-radius: 12px;
    padding: 40px 35px;
    margin-bottom: 30px;
}

.diseases-examples-title {
    text-align: center;
    font-size: 22px;
    color: var(--text-dark);
    margin-bottom: 25px;
    font-weight: 600;
    letter-spacing: 0.08em;
    position: relative;
    padding-bottom: 15px;
}

.diseases-examples-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background-color: var(--clinic-pink);
}

.diseases-examples-description {
    font-size: 16px;
    line-height: 2.2;
    color: var(--text-dark);
    margin-bottom: 30px;
    text-align: left;
}

.diseases-examples-description p {
    margin-bottom: 20px;
}

.diseases-examples-description p:last-child {
    margin-bottom: 0;
}

.diseases-examples-button {
    text-align: center;
}

/* 当院の特徴 */
.clinic-features {
    background-color: #F9F9F9;
    border-radius: 12px;
    padding: 40px 35px;
    margin-bottom: 35px;
}

.clinic-features:last-of-type {
    margin-bottom: 0;
}

.clinic-features-title {
    text-align: center;
    font-size: 22px;
    color: var(--text-dark);
    margin-bottom: 25px;
    font-weight: 600;
    letter-spacing: 0.08em;
    position: relative;
    padding-bottom: 15px;
}

.clinic-features-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background-color: var(--clinic-pink);
}

.clinic-features-description {
    font-size: 16px;
    line-height: 2.2;
    color: var(--text-dark);
    text-align: left;
}

.clinic-features-description p {
    margin-bottom: 20px;
}

.clinic-features-description p:last-child {
    margin-bottom: 0;
}

/* レスポンシブ対応 */
@media (max-width: 768px) {
    .cardiology-info-section {
        padding: 60px 20px;
    }

    .cardiology-info-header {
        flex-direction: column;
        align-items: center;
        text-align: center;
        margin-left: 0;
    }

    .cardiology-info-text {
        text-align: center;
    }

    .cardiology-info-title {
        font-size: 24px;
    }

    .cardiology-info-subtitle {
        font-size: 18px;
    }

    .cardiology-info-description {
        font-size: 16px;
    }

    .cardiology-diseases-examples {
        padding: 35px 25px;
    }

    .diseases-examples-title {
        font-size: 20px;
    }

    .diseases-examples-description {
        font-size: 16px;
    }

    .clinic-features {
        padding: 35px 25px;
    }

    .clinic-features-title {
        font-size: 20px;
    }

    .clinic-features-description {
        font-size: 16px;
    }
}

@media (max-width: 480px) {
    .cardiology-info-section {
        padding: 50px 15px;
    }

    .cardiology-info-header {
        flex-direction: column;
        align-items: center;
        gap: 15px;
        margin-left: 0;
    }

    .cardiology-info-text {
        text-align: center;
    }

    .cardiology-info-icon {
        width: 60px;
        height: 60px;
    }

    .cardiology-info-title {
        font-size: 22px;
    }

    .cardiology-info-subtitle {
        font-size: 16px;
    }

    .cardiology-info-description {
        font-size: 16px;
        line-height: 2;
    }

    .cardiology-diseases-examples {
        padding: 30px 20px;
    }

    .diseases-examples-title {
        font-size: 18px;
    }

    .diseases-examples-description {
        font-size: 16px;
        line-height: 2;
    }

    .clinic-features {
        padding: 30px 20px;
    }

    .clinic-features-title {
        font-size: 18px;
    }

    .clinic-features-description {
        font-size: 16px;
        line-height: 2;
    }
}

/* ========================================
   追従ボタン・TOPに戻るボタン・SP下固定バー
======================================== */

/* PC: 右側固定WEB予約ボタン */
.floating-reserve-btn {
    display: flex;
    position: fixed;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    z-index: 900;
}

.floating-reserve-btn a {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 6px;
    background-color: var(--clinic-blue);
    color: #ffffff;
    width: 52px;
    padding: 18px 0;
    border-radius: 8px 0 0 8px;
    text-decoration: none;
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 0.08em;
    line-height: 1.5;
    box-shadow: -2px 2px 10px rgba(111, 169, 184, 0.4);
    transition: background-color 0.25s, box-shadow 0.25s;
    text-align: center;
}

.floating-reserve-btn a span {
    display: block;
    text-align: center;
    width: 100%;
}

.floating-reserve-btn a:hover {
    background-color: #5a96a6;
    box-shadow: -3px 3px 16px rgba(111, 169, 184, 0.6);
}

.floating-reserve-btn a svg {
    flex-shrink: 0;
}

/* TOPに戻るボタン（PC・SP共通） */
.scroll-to-top {
    display: none;
    position: fixed;
    right: 20px;
    bottom: 30px;
    width: 44px;
    height: 44px;
    background-color: var(--clinic-blue);
    color: #ffffff;
    border: none;
    border-radius: 50%;
    cursor: pointer;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 10px rgba(111, 169, 184, 0.5);
    transition: background-color 0.25s, transform 0.25s, opacity 0.3s;
    opacity: 0;
    z-index: 890;
}

.scroll-to-top.visible {
    display: flex;
    opacity: 1;
}

.scroll-to-top:hover {
    background-color: #5a96a6;
    transform: translateY(-3px);
}

/* SP: 下固定バー（デフォルト非表示） */
.sp-fixed-bar {
    display: none;
}

/* ========================================
   レスポンシブ対応（768px以下 = SP）
======================================== */
@media (max-width: 768px) {
    /* PC用追従ボタンを非表示 */
    .floating-reserve-btn {
        display: none;
    }

    /* TOPに戻るボタン: SPでは下固定バーの上に配置 */
    .scroll-to-top {
        right: 15px;
        bottom: 80px;
    }

    /* SP: 下固定バー */
    .sp-fixed-bar {
        display: flex;
        position: fixed;
        bottom: 0;
        left: 0;
        width: 100%;
        height: 60px;
        z-index: 900;
        box-shadow: 0 -2px 8px rgba(0, 0, 0, 0.1);
    }

    .sp-fixed-bar__item {
        display: flex;
        flex: 1;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        gap: 2px;
        text-decoration: none;
        font-size: 16px;
        font-weight: 600;
        letter-spacing: 0.04em;
        transition: opacity 0.2s;
    }

    .sp-fixed-bar__item:active {
        opacity: 0.75;
    }

    .sp-fixed-bar__tel {
        background-color: #8abfcc;
        color: #ffffff;
    }

    .sp-fixed-bar__reserve {
        background-color: var(--clinic-blue);
        color: #ffffff;
    }

    /* SP下固定バー分だけbodyに余白を追加 */
    body {
        padding-bottom: 60px;
    }
}
