/* ===================================================== */
/*   CLINIC HEADER: ヘッダー全体                         */
/* ===================================================== */
.clinic-header {
    background: var(--white);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    width: 100%;
    z-index: 999;
}

/* ===== CLINIC HEADER TOP: ヘッダー上部エリア ===== */
.clinic-header__top {
    background: var(--white);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    width: 100%;
    padding: 8px 0;
    margin: 0px; /* test*/
}

.clinic-header__top .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 40px;  /* ヘッダーは余裕を持たせる */
}

/* ===== CLINIC BRAND: ブランド情報コンポーネント ===== */
.clinic-brand {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    margin: 0px 0;
    margin-top: 10px;
}

.clinic-brand__logo-group {
    display: flex;
    align-items: center;
    margin-bottom: 5px;
}

/* ロゴ画像のスタイル */
.clinic-brand__logo {
    height: 70px;
    width: auto;
    max-width: 100%;
    display: block;
    margin-right: 10px;
}

/* ロゴリンクのスタイル */
.clinic-brand__logo-link {
    display: inline-block;
    text-decoration: none;
    border: none;
    outline: none;
    transition: all 0.3s ease; /* ← ここを変更 */
    cursor: pointer; /* ← これも追加 */
}

.clinic-brand__logo-link:hover {
    opacity: 0.7;
    filter: brightness(1.3); /* 白っぽく明るくする */
}

.clinic-brand__logo-link:focus {
    outline: 2px solid #007cba;
    outline-offset: 2px;
}

.clinic-brand__details {
    text-align: left;
}

.clinic-brand__specialties {
    font-size: 1em;
    color: var(--text-color); /* 文字色を白に変更 */
    margin-bottom: 0px;
    margin-top: 0;
}

.clinic-brand__address {
    font-size: 1em;
    color: var(--text-color);
    margin-bottom: 0px;
    margin-top: 0;
}

.clinic-brand__access {
    margin-left: 10px;
}

/* ===== CLINIC CONTACT: 連絡先情報コンポーネント ===== */
.clinic-contact {
    display: flex;
    flex-direction: row;
    align-items: flex-end; /* 右寄せ*/
    /*text-align: left;*/
    flex-shrink: 0;
    flex-basis: auto; /* 幅を拡張 */
    min-width: auto; /* 最小幅を拡張 */
    margin-left: 0px;
    gap: 1rem; /* 間隔を少し狭める */
    margin-top: 10px;
}

/* 電話番号と診療時間をまとめるコンテナ */
.clinic-contact__info {
    margin-top: 20px; /* 追加：電話番号と診療時間を下げる */
    display: flex;
    flex-direction: column;
    align-items: flex-end;
}

/* 電話番号 */
.clinic-contact__phone {
   
    font-size: 34px;
    font-weight: bold;
    color: var(--primary-color-dark); /* 電話番号の色 */
    margin-bottom: 0px;
    white-space: nowrap;
    display: flex;
    align-items: center;
    flex-shrink: 0;
    align-self: flex-start;
    margin-left: 0px; /* 90px(曜日幅) + 30px(margin-right) = 120px */

}

.clinic-contact__phone-icon {
    margin-right: 10px;
    transform: scaleX(-1); /* 左右反転 */
}

.clinic-contact__phone-number {
    /* 電話番号のスタイル（必要に応じて追加） */
}

.clinic-contact__hours {
    /* 診療時間全体のコンテナ */
    margin-bottom: 0px;
}

.clinic-contact__hours-item {
    display: flex;
    justify-content: flex-end;
    align-items: flex-start;
    font-size: 17px;
    color: var(--text-color);
    line-height: 1.4;
    margin-bottom: 0px;
    white-space: nowrap;
    flex-shrink: 0;
}

.clinic-contact__hours-days {
    width: 150px; /* 90pxから150pxに変更（長い曜日に対応） */
    flex-shrink: 0;
    text-align: left;
    margin-right: 20px; /* 30pxから20pxに調整 */
}

.clinic-contact__hours-times {
    flex-grow: 1;
    text-align: left;
}

/* ===================================================== */
/*   WEB予約ボタン                         */
/* ===================================================== */
.clinic-contact__booking {
    pointer-events: none; /* クリック無効 */
    color: #999;           /* 色をグレーに */
    display: flex;
    align-items: center;
    position: relative;
    top: -30px;
}

.clinic-contact__booking-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center; /* 中央揃えを追加 */
    gap: 0.5rem;
    padding: 1rem 2rem; /* パディングを調整 */
    height: 60px; /* 高さを調整（130pxは大きすぎる） */
    background: #999; /* 画像に近いオレンジ色に変更 #e56249 */
    color: white;
    text-decoration: none;
    border-radius: 25px; /* 完全に丸みを帯びた形に変更 */
    font-weight: 600;
    font-size: 0.95rem;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(74, 144, 226, 0.3); /* 影の色も調整 */
    border: none;
    cursor: pointer;
    min-width: 120px; /* 最小幅を設定 */
    transform: translateY(0); /* 初期位置 */
}

/* ホバー時のへこむアニメーション */
.clinic-contact__booking-btn:hover {
    background: #ff7a5a; /* 少し暗めの色に変更 */
    transform: translateY(2px) scale(0.98); /* 下に移動 + 少し縮小 */
    box-shadow: 0 2px 6px rgba(229, 98, 73, 0.3); /* 影を小さく薄く */
}

/* アクティブ時（クリック時）のさらに深いへこみ */
.clinic-contact__booking-btn:active {
    transform: translateY(3px) scale(0.96); /* さらに下に移動 + 縮小 */
    box-shadow: 0 1px 3px rgba(229, 98, 73, 0.2); /* 影をさらに小さく */
    transition: all 0.1s ease; /* クリック時は素早く反応 */
}

/* ===== CLINIC NAV: ナビゲーション ===== */
/* ===== CLINIC HEADER TOP: ヘッダー上部エリア ===== */
.clinic-nav {
    position: sticky;
    top: 0;
    width: 100%;
    min-width: 1200px;  /* 固定幅レイアウト対応 */
    z-index: 1000;
    background-color: var(--white);
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    opacity: 1;
    transform: translateY(0);
    transition: opacity 0.4s ease, transform 0.4s ease;
    margin: 0px; /* test*/
}


/* ナビゲーションのコンテナに余白を追加 */
.clinic-nav .container {
    padding: 0 0px !important;  /* ナビゲーションも余裕を持たせる */
    
}

/* スクロール時の非表示状態 */
.clinic-nav.hide-on-scroll {
    opacity: 0;
    transform: translateY(-100%);
    transition: none;
}

/* スクロール時の表示状態 */
.clinic-nav.show-on-scroll {
    opacity: 1;
    transform: translateY(0);
    transition: opacity 0.4s ease, transform 0.4s ease;
}

.clinic-nav__list {
    
    display: flex;
    list-style: none;
    justify-content: center;
    padding: 10px 0;
    margin: 0;
}

.clinic-nav__item {
    margin: 0 10px;
    text-align: center;
}

.clinic-nav__link {
    font-family: 'M PLUS Rounded 1c', sans-serif;
    color: #666666;
    text-decoration: none;
    font-weight: 700;
    transition: all 0.3s ease;
    font-size: 18px;
    padding: 3px 15px;
    display: flex;
    flex-direction: column;
    align-items: center;
    border-radius: 8px;
    min-width: 80px;
    white-space: nowrap;
     position: relative; /* 下線のために追加 */
}

/* 英語表記のための疑似要素 */
.clinic-nav__link::after {
    content: attr(data-en);
    font-size: 12px;
    color: var(--primary-color);
    margin-top: 0px;
    font-family: 'M PLUS Rounded 1c', sans-serif;
    font-weight: 400;
}


/*背景が青緑に変わる*/
.clinic-nav__link:hover {
    background-color: var(--primary-color);
    color: var(--white);
    border-radius: 6px;
}

.clinic-nav__link:hover::after {
    color: var(--white);
}

/* PC版では非表示 */
.hamburger-menu {
    display: none;
}


/* ===================================================== */
/*   ヘッダー；スマホ版レスポンシブデザイン（768px以下）             */
/* ===================================================== */
@media screen and (max-width: 768px) {

    
    /* ===== CLINIC HEADER: スマホ版ヘッダー ===== */
    .clinic-header {
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        z-index: 1001;  /* フッター(1002)より下、メニュー(999)より上 */
    }
    
    .clinic-header__top {
        padding: 10px 0;
    }
    
    .clinic-header__top .container {
        padding: 0 15px;
        max-width: 100%;
    }
    
    /* ===== CLINIC BRAND: スマホ版ブランド情報 ===== */
    .clinic-brand {
        flex-direction: row;
        align-items: center;
        margin: 0;
    }
    
    .clinic-brand__logo-group {
        margin-bottom: 0;
    }
    
    .clinic-brand__logo {
        height: 50px;
        margin-right: 10px;
    } 

    .clinic-brand__logo-link:hover {
        opacity: 1;
        filter: none;
        transform: none;
    }

    /* タップ時のエフェクトも無効化 */
    .clinic-brand__logo-link:active {
        opacity: 1;
        filter: none;
        transform: none;
    }

    /* フォーカス時のエフェクトも調整（必要に応じて） */
    .clinic-brand__logo-link:focus {
        outline: none; /* アウトラインも非表示にする場合 */
    }

    /* タッチデバイス特有のハイライトを無効化 */
    .clinic-brand__logo-link {
        -webkit-tap-highlight-color: transparent;
        -webkit-touch-callout: none;
        -webkit-user-select: none;
        user-select: none;
    }

    /* PC版の詳細情報を非表示 */
    .clinic-brand__details {
        display: none;
    }
    
    /* PC版の連絡先情報を非表示 */
    .clinic-contact {
        display: none;
    }

    /* ===== HAMBURGER MENU: ハンバーガーメニューボタン（SVG版） ===== */
    .hamburger-menu {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 30px;
    height: 25px;
    cursor: pointer;
    z-index: 1003;
    position: relative;
    padding: 5px;
    margin: -5px;   
    }

    /* ハンバーガーメニューのアイコン共通スタイル */
    .hamburger-menu__icon {
    width: 30px;
    height: 25px;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    transition: all 0.3s ease;
    color: var(--text-color); /* currentColorで色を継承 */
    }

    /* 初期状態：ハンバーガーアイコンを表示、×アイコンを非表示 */
    .hamburger-menu__icon--open {
    opacity: 1;
    visibility: visible;
    transform: translate(-50%, -50%) rotate(0deg);    
    }

    .hamburger-menu__icon--close {
    opacity: 0;
    visibility: hidden;
    transform: translate(-50%, -50%) rotate(90deg);
    }

    /* アクティブ状態：ハンバーガーアイコンを非表示、×アイコンを表示 */
    .hamburger-menu.active .hamburger-menu__icon--open {
    opacity: 0;
    visibility: hidden;
    transform: translate(-50%, -50%) rotate(-90deg);
     }

    .hamburger-menu.active .hamburger-menu__icon--close {
    opacity: 1;
    visibility: visible;
    transform: translate(-50%, -50%) rotate(0deg);
    }

    /* ホバー効果（オプション） */
    .hamburger-menu:hover .hamburger-menu__icon {
     color: var(--primary-color);
    }

    /* フォーカス時のアクセシビリティ */
    .hamburger-menu:focus {
    outline: 2px solid var(--primary-color);
    outline-offset: 2px;
    border-radius: 4px;
    }

    .hamburger-menu:focus .hamburger-menu__icon {
    color: var(--primary-color);
    }

    
    /* PC版のナビゲーション（スクロール含む）を強制的に非表示 */
    .clinic-nav,
    .clinic-nav.show-on-scroll,
    .clinic-nav.hide-on-scroll {
        position: fixed !important;
        top: 70px !important;
        opacity: 1 !important;
        visibility: visible !important;
        transform: translateX(-100%) !important;
        transition: transform 0.3s ease !important;
        display: block !important;
    }
    
    /* スマホ専用ナビゲーション：同じクラス名で再定義 */
    .clinic-nav {
        display: block !important;
        position: fixed;
        top:70px !important; /* 常に画面上端に固定 */
        bottom: 0; /* ※修正：下端も固定 */
        left: 0;
        width: 100%;
        height: calc(100vh - 70px); /* 70px(ヘッダー) + 70px(フッター) = 140px */
        background: var(--white);      
        transform: translateX(-100%);
        transition: transform 0.3s ease;
        z-index: 999;

        overflow-y: scroll !important; /* 常にスクロールバー表示 */
        -webkit-overflow-scrolling: touch;
        
   
        
    }
    
    .clinic-nav.active {
         transform: translateX(0) !important;
         overflow-y: scroll !important;

    }
    
    /* メニューのコンテンツ部分 */
    .clinic-nav .container {
        width: 100%;
        max-width: none;
        background: transparent;
        border-radius: 0;
        padding: 0px;
        box-shadow: none;

        margin-top: 0px; /* ヘッダー分の余白 */
        margin-bottom: 70px; /* フッター分の余白 */
        height: auto; /* ヘッダー+フッター分を除いた高さ */
        min-height: calc(100vh - 140px); /* 最小高さを設定 */
        overflow-y: visible; /* 縦スクロール有効 */

        padding: 20px;
        
        /* メニューが開くときのアニメーション */
        transform: scale(1);
        transition: none;
    }
    
    .clinic-nav.active .container {
        transform: scale(1);
    }
    
    .clinic-nav__list {
        flex-direction: column;
        padding: 0;
        gap: 0;
    }
    
    .clinic-nav__item {
        margin: 0;
        border-bottom: 1px solid #eee;
    }
    
    .clinic-nav__item:last-child {
        border-bottom: none;
    }
    
    .clinic-nav__link {
        flex-direction: row;
        justify-content: space-between;
        padding: 18px 15px;
        color: var(--text-color);
        font-weight: 600;
        font-size: 16px;
        border-radius: 8px;
        margin: 2px 0;
        min-width: auto;
    }
    
    .clinic-nav__link:hover,
    .clinic-nav__link:focus {
        background-color: var(--primary-color);
        color: var(--white);
        outline: none;
    }
    
    .clinic-nav__link::after {
        font-size: 12px;
        color: var(--primary-color);
        font-weight: 400;
        margin-top: 0;
        transition: color 0.3s ease;
    }
    
    .clinic-nav__link:hover::after,
    .clinic-nav__link:focus::after {
        color: var(--white);
    }
    
    /* ===== BODY: メニューが開いている時のスクロール制御 ===== */
    body.menu-open {
        overflow: hidden;
        position: fixed;
        width: 100%;
    }
    
    /* ===== ページコンテンツのマージン調整 ===== */
    /* ヘッダーが固定されるため、ページコンテンツに上部余白を追加 */
    .main-content,
    main {
        margin-top: 80px; /* ヘッダーの高さ分のマージン */
    }
}


/* ===================================================== */
/*   PC版WEBボタン                         */
/* ===================================================== */
.floating-btn {
    pointer-events: none; /* クリック無効 */
    color: #999;           /* 色をグレーに */
    position: fixed;
    top: 50%;
    right: 0px;
    transform: translateY(-50%);
    z-index: 9999;
}

.floating-btn a {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 25px 15px;
    background: #999; /* クリニックのメインカラーに合わせたオレンジ #e56249 */
    color: white;
    text-decoration: none;
    border-radius: 25px 0 0 25px; /* 右側は角丸なし */
    box-shadow: -2px 0 8px rgba(0,0,0,0.15);
    transition: all 0.3s ease;
    font-weight: bold;
    font-size: 18px;
    writing-mode: vertical-rl; /* 縦書き */
    text-orientation: upright; /* 文字を正立させる */
    height: 180px;
    width: 70px;
    letter-spacing: 2px;
}

.floating-btn a:hover {
    background: #ff7a5a; /* ホバー時は少し濃いオレンジに */
    text-decoration: none;
}

.floating-btn .text {
    font-size: 20px;
    line-height: 1.2;
}


/* スマホ版では完全に非表示 */
@media (max-width: 768px) {
    .floating-btn {
        display: none;
    }
}

/* ===================================================== */
/*   PC版トップボタン                         */
/* ===================================================== */
#topButton {
    display: none; /* 最初は非表示 */
    position: fixed; /* 画面に固定 */
    bottom: 40px; /* 下から20pxの位置 */
    right: 40px; /* 右から20pxの位置 */
    width: 80px; /* ボタンの幅 */
    height: 80px; /* ボタンの高さ */
    background-color: var(--first-color); /* 緑色の背景 */
    color: white; /* 白いテキスト */
    border: none; /* ボーダーなし */
    border-radius: 50%; /* 丸い形にする */
    cursor: pointer; /* カーソルをポインターに */
    font-size: 16px; /* フォントサイズ */
    text-align: center; /* テキストを中央揃え */
    z-index: 99; /* 他の要素より前面に */
    box-shadow: 0 2px 5px rgba(0,0,0,0.3); /* 影をつける */
}

#topButton:hover {
    background-color: var(--accent-color); /* ホバー時の色 */
}

/* 矢印スタイル */
.arrow-up {
    display: block;
    width: 10px;
    height: 10px;
    border-top: 2px solid white;
    border-left: 2px solid white;
    transform: rotate(45deg);
    margin: 5px auto 0;
}

.top-text {
    margin-top: 3px;
    font-size: 12px;
    font-weight: bold;
}

/* スマホ版では完全に非表示 */
@media (max-width: 768px) {
    #topButton {
        display: none !important;
    }
}

/* ============================================
   パンくずリスト（全ページ共通）
   ============================================ */
.breadcrumb {
    margin-top: 0px;
    margin-bottom: 0px;  /* 追加：下に余白を作る */
}

.breadcrumb__list {
    list-style: none;
    padding: 0;
    display: flex;
    justify-content: flex-start;  /* 変更：center → flex-start（左揃え） */
    align-items: center;
    font-size: 16px;
}

/* 以下は変更なし */
.breadcrumb__item {
    color: #666;
}

.breadcrumb__item:not(:last-child)::after {
    content: ">";
    margin: 0 10px;
    color: #999;
}

.breadcrumb__link {
    color: #0066cc;
    text-decoration: none;
    transition: color 0.3s ease;
}

.breadcrumb__link:hover {
    color: #0052a3;
    text-decoration: underline;
}

.breadcrumb__item--current {
    font-weight: bold;
    color: #333;
}

/* パンくずリスト スマホ版の位置調整 */
@media screen and (max-width: 768px) {
    .breadcrumb {
        padding-top: 100px; /* パンくずリストとヘッダーの間 */
        padding-bottom: 10px; /* パンくずリストと項目の間 */
        font-size: 12px;
    }
}

/* ------------------------------
   セクション共通スタイル（統一）
------------------------------ */
/* 全セクション共通のパディング */
section {
    padding: 40px 0;
}

/* セクションタイトル統一スタイル */
.section-title {
    font-family: 'M PLUS Rounded 1c', sans-serif;
    text-align: center;
    margin-bottom: 50px;/* ロゴとの下の距離 */
}

.section-logo {
    height: 80px;
    width: auto;
    margin: 0 auto 0px auto;
    display: block;
}

.section-title h2 {
    font-family: 'M PLUS Rounded 1c', sans-serif;
    font-size: 2.0rem;
    font-weight: 700;
    color: #7b605c;
    margin: 0;
    line-height: 1.4;
}

@media screen and (max-width: 768px) {
    section {
        padding: 30px 0;
    }
    
    .section-title {
        margin-bottom: 30px;
    }
    
    .section-logo {
        height: 60px;
    }
    
    .section-title h2 {
        font-size: 24px;
    }
}

/* ------------------------------
   フッター(PC）
------------------------------ */
.clinic-footer {
    background: #fef9f1;
    color: var(--white);
    margin-top: 0px;
    padding: 40px 0 0;
    position: relative;
}

/* ===== CLINIC FOOTER HEADER: フッター上部ブランド情報 ===== */
.clinic-footer__header {
    text-align: center;
    margin-bottom: 10px;
    padding-bottom: 10px;
    border-bottom: 2px solid #7b605c;
}

.clinic-footer__logo-group {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 0;
}

.clinic-footer__logo {
    height: 80px;
     width: auto;
    max-width: 100%;
}

.clinic-footer__name {
    /* ロゴ横のクリニック名 */
}

.clinic-footer__title {
    margin: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.clinic-footer__title-main {
    font-size: 28px;
    line-height: 1.2;   /* てらすクリニックとにっぽりの間 */
    color: #7b605c;
    margin-bottom: -2px;
}

.clinic-footer__title-sub {
    font-size: 22px;
    color: #7b605c;
}

/* ===== CLINIC FOOTER MAIN: フッターメインコンテンツ ===== */
.clinic-footer__main {
    display: grid;
    grid-template-columns: 300px 220px 250px;
    gap: 80px;
    margin-bottom: 5px;
    align-items: stretch;
    justify-content: center; /* グリッド全体を中央配置 */
}

/* ===== CLINIC FOOTER BRAND: ブランド情報 ===== */
.clinic-footer__brand {
    /* ブランド情報全体 */
}

.clinic-footer__description {
    font-size: 14px;
    line-height: 1.6;
    margin-bottom: 15px;
    opacity: 0.9;
}

.clinic-footer__specialties {
    font-size: 16px;
    font-weight: bold;
    color: #7b605c;
    margin: 0;
}

/* ===== CLINIC FOOTER SECTION TITLES: セクションタイトル(リンク・診療時間・お問い合わせ) ===== */
.clinic-footer__section-title {
    font-size: 24px;
    font-weight: bold;
    color: #7b605c;
    margin-bottom: 20px;
    padding-bottom: 8px; /*リンク・診療時間・お問い合わせと下線の間 */
    border-bottom: 2px solid #7b605c;
}

/* ===== CLINIC FOOTER NAV: ナビゲーションリンク ===== */
.clinic-footer__nav {
    /* ナビゲーションセクション全体 */
    display: flex;
    flex-direction: column;
    height: 100%; /* 親の高さに合わせる */
}

.clinic-footer__nav-list {
    list-style: none;
    padding: 0;
    margin: 0;
    flex: 1; /* 残りスペースを占有 */

    /* PC版で2カラムレイアウトを追加 */
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px 20px;  /* 縦の間隔8px、横の間隔20px */
}

.clinic-footer__nav-item {
    margin-bottom: 0px;
}

/* リンク一覧 */
.clinic-footer__nav-link {
    font-weight: 500;
    color: #7b605c;
    text-decoration: none;
    font-size: 18px;
    transition: all 0.3s ease;
    display: block;
    padding: 0px 0;
}

.clinic-footer__nav-link:hover {
    opacity: 1;
    color: #7b605c;
    padding-left: 8px;
}

/* ===== CLINIC FOOTER HOURS: 診療時間 ===== */
.clinic-footer__hours {
    display: flex;
    flex-direction: column;
    height: 100%; /* 親の高さに合わせる */
}

.clinic-footer__hours-list {
    list-style: none;
    padding: 0;
    margin: 0;
    flex: 1; /* 残りスペースを占有 */
}

.clinic-footer__hours-item {
    display: flex;
    flex-direction: column;
    font-size: 18px;
    margin-bottom: 12px;
    line-height: 1.4;
}

.clinic-footer__hours-days {
    font-weight: ;
    color: #7b605c;
    margin-bottom: 2px;
}

.clinic-footer__hours-times {
    color: #7b605c;
    font-size: 18px;
}

/* ===== CLINIC FOOTER CONTACT: 連絡先情報 ===== */
.clinic-footer__contact {
    /* 連絡先セクション全体 */
    display: flex;
    flex-direction: column;
    height: 100%; /* 親の高さに合わせる */
}

.clinic-footer__contact-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 15px;
}

.clinic-footer__contact-icon {
    flex-shrink: 0;
    width: 20px;
    margin-right: 12px;
    margin-top: 2px;
}

.clinic-footer__contact-icon i {
    color: #7b605c;
    font-size: 20px;
}

.clinic-footer__contact-text {
    font-size: 18px;
    color: #7b605c;
    line-height: 1.5;
    opacity: 0.9;
}

.clinic-footer__access {
    font-size: 13px;
    opacity: 0.8;
    margin-top: 2px;
    display: block;
}

/* ===== CLINIC FOOTER COPYRIGHT: コピーライト ===== */
.clinic-footer__copyright {
   border-top: 1px solid rgba(255, 255, 255, 0.2);
    padding: 4px 0;
    text-align: center;
    background: #7b605c;
}

.clinic-footer__copyright-text {
    font-family: 'M PLUS Rounded 1c', sans-serif;
    font-size: 14px;
    color: var(--white);
    margin: 0;
}



/* ===================================================== */
/*   フッター：スマホ版レスポンシブデザイン（768px以下）     */
/* ===================================================== */
@media screen and (max-width: 768px) {
    
    /* ===== CLINIC FOOTER: スマホ版フッター調整 ===== */
    .clinic-footer {
        padding: 40px 0 0px 0; /* 固定フッター分の余白を追加 */
    }
    
    .clinic-footer__header {
        margin-bottom: 20px;
        padding: 0 15px 15px 15px;
    }
    
    /* フッターロゴの大きさ変更 */
    .clinic-footer__logo {
        height: 60px;
        margin-right: 12px;
    }
    
    .clinic-footer__title-main {
        font-size: 22px;
    }
    
    .clinic-footer__title-sub {
        font-size: 18px;
    }
    
    /* スマホ版：縦並びレイアウト */
    .clinic-footer__main {
        grid-template-columns: 1fr;
        gap: 25px;
        padding: 0 15px;
        margin-bottom: 20px;
    }
    
    .clinic-footer__section-title {
        font-size: 18px;
        margin-bottom: 15px;
    }
    
    /* ナビゲーションリンク */
    .clinic-footer__nav-list {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 5px;
    }
    
    .clinic-footer__nav-link {
        font-size: 14px;
        padding: 5px 0;
    }
    
    .clinic-footer__nav-link:hover {
        padding-left: 5px;
    }
    
    /* 診療時間 */
    .clinic-footer__hours-item {
        margin-bottom: 15px;
    }
    
    .clinic-footer__hours-days {
        font-size: 16px;
        margin-bottom: 3px;
    }
    
    .clinic-footer__hours-times {
        font-size: 14px;
    }
    
    /* 連絡先情報 */
    .clinic-footer__contact-item {
        margin-bottom: 12px;
    }
    
    .clinic-footer__contact-text {
        font-size: 14px;
    }
    
    .clinic-footer__copyright {
        padding: 8px 15px;
    }
    
    .clinic-footer__copyright-text {
        font-size: 12px;
    }
    
    /* ===== MOBILE FOOTER: 固定フッターボタン ===== */
    .mobile-footer {
        display: flex;
        position: fixed;
        bottom: 0;
        left: 0;
        width: 100%;
        background: var(--white);
        border-top: 1px solid #eee;
        justify-content: space-around;
        padding: 8px 0;
        box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.1);
        z-index: 1003;
    }
    
    .mobile-footer__btn {
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        text-decoration: none;
        color: var(--text-color);
        font-size: 11px;
        font-weight: 600;
        padding: 6px 5px;
        border-radius: 8px;
        transition: all 0.3s ease;
        min-width: 65px;
        text-align: center;
    }
    
    .mobile-footer__btn:hover {
        background-color: var(--light-bg);
        color: var(--primary-color);
    }
    
    .mobile-footer__btn i {
        font-size: 18px;
        margin-bottom: 3px;
    }
    
    /* 電話ボタンの特別スタイル */
    .mobile-footer__btn--phone {
        background-color: var(--primary-color);
        color: var(--white);
    }
    
    .mobile-footer__btn--phone:hover {
        background-color: var(--primary-color3);
        color: var(--white);
    }
}

/* ===== PC版でのスマホ要素の非表示 ===== */
@media screen and (min-width: 769px) {
    .mobile-footer {
        display: none;
    }
}
