@charset "UTF-8";

/* =========================
   フォント読み込み
========================= */
@import url('https://fonts.googleapis.com/css2?family=Noto+Sans+JP:wght@400;500;700&display=swap');

/* =========================
   リセット
========================= */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html,
body {
    width: 100%;
    
}

body {
    font-family: 
        "Google Sans",
        -apple-system,
        BlinkMacSystemFont,
        "Noto Sans JP",
        "Helvetica Neue",
        Arial,
        sans-serif;
    position: relative;
    font-kerning: none;
    font-feature-settings: "palt" 1;
    letter-spacing: 0.1em;
    color: var(--color-text);
}

/* =========================
   カラー設定
========================= */
:root {
    --color-title: #333333;
    --color-text: #666666;
}

/* =========================
   見出し・段落設定
========================= */
h1, h2, h3, h4 {
    color: var(--color-title);
}

h1 {
    font-size: clamp(1.8rem, 3.5vw + 1rem, 3.2rem);
    font-weight: 700;
    line-height: 1.3;
}

h2 {
    font-size: clamp(1.5rem, 2.5vw + 0.8rem, 2.4rem);
    font-weight: 700;
    line-height: 1.4;
}

h3 {
    font-size: clamp(1.2rem, 1.8vw + 0.6rem, 1.8rem);
    font-weight: 700;
    line-height: 1.4;
}

h4 {
    font-size: clamp(1rem, 1vw + 0.5rem, 1.3rem);
    font-weight: 700;
    line-height: 1.5;
}

p, li, dd, dt {
    font-size: clamp(0.9rem, 0.5vw + 0.8rem, 1.05rem);
    font-weight: 400;
    line-height: 1.7;
    color: var(--color-text);
}

/* =========================
   全体ラッパー（100vh制御）
========================= */
.page-wrapper {
    display: flex;
    flex-direction: column;
    height: 100vh;
    width: 100%;
    overflow: hidden;
}

/* =========================
   ヘッダー
========================= */
.header {
    width: 100%;
    background-color: #ffffff;
    box-shadow: 0 2px 4px rgba(0,0,0,0.05);
    z-index: 100;
    flex-shrink: 0;
}

.header-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    padding: 0;
}

.header-left {
    padding: clamp(8px, 1.2vw, 12px) clamp(16px, 2vw, 24px);
}
.logo-img {
    height: clamp(50px, 5vw, 52px);
    width: auto;
    display: block;
}

.header-right-area {
    display: flex;
    flex-direction: column;
    justify-content: center;
    flex-grow: 1;
    padding: 6px clamp(12px, 2vw, 24px);
}

.header-top-row {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: clamp(8px, 1.5vw, 16px);
    margin-bottom: 4px;
}

.btn-outline {
    display: flex;
    align-items: center;
    gap: 4px;
    padding: 4px 10px;
    border: 1px solid #4a80bc;
    color: #4a80bc;
    border-radius: 8px;
    font-size: clamp(0.7rem, 0.9vw, 0.8rem);
    text-decoration: none;
    transition: background 0.2s;
    white-space: nowrap;
}
.btn-outline:hover {
    background-color: #f0f4f9;
}

.header-phone {
    display: flex;
    align-items: center;
    gap: 8px;
    white-space: nowrap;
}

.phone-icon-circle {
    display: flex;
    align-items: center;
    justify-content: center;
    width: clamp(24px, 2.2vw, 30px);
    height: clamp(24px, 2.2vw, 30px);
    background-color: #5b8bc4;
    border-radius: 50%;
}

.phone-icon-img {
    width: 14px;
    height: 14px;
    display: block;
    filter: brightness(0) invert(1);
}

.phone-number {
    font-size: clamp(0.95rem, 1.4vw, 1.2rem);
    font-weight: 700;
    color: #333333;
    letter-spacing: 0.05em;
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 6px;
}

.btn-pill {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 4px 10px;
    border-radius: 50px;
    font-size: clamp(0.7rem, 0.9vw, 0.8rem);
    text-decoration: none;
    font-weight: 500;
    white-space: nowrap;
}

.btn-primary {
    background-color: #5b8bc4;
    color: #ffffff;
}
.btn-primary:hover {
    background-color: #4a75a8;
}

.btn-gray {
    background-color: #e5e8ec;
    color: #333333;
}
.btn-gray:hover {
    background-color: #d5d9df;
}

.header-search {
    position: relative;
    display: flex;
    align-items: center;
}
.search-icon {
    position: absolute;
    left: 8px;
    width: 12px;
    height: 12px;
}
.header-search input {
    padding: 4px 8px 4px 28px;
    border: 1px solid #d5d9df;
    border-radius: 50px;
    font-size: clamp(0.75rem, 0.9vw, 0.8rem);
    outline: none;
    width: clamp(90px, 12vw, 120px);
    color: #666666;
    background-color: #ffffff;
}
.header-search input::placeholder {
    color: #999999;
}

.global-nav ul {
    display: flex;
    justify-content: flex-end;
    list-style: none;
    gap: clamp(10px, 1.8vw, 20px);
    margin: 0;
    padding: 0;
}
.global-nav li a {
    display: flex;
    align-items: center;
    gap: 2px;
    text-decoration: none;
    font-size: clamp(0.90rem, 1vw, 1.85rem);
    color: #333333;
    font-weight: 500;
    transition: color 0.2s;
    white-space: nowrap;
}
.global-nav li a:hover {
    color: #5b8bc4;
}
.global-nav .material-symbols-outlined {
    font-size: 0.95rem;
    color: #666666;
}
.material-symbols-outlined {
    font-size: 20px;
}

/* ==========================================
   ハンバーガーボタン（青背景＆白文字の強制適用）
========================================== */
button#menuBtn,
#menuBtn,
.menu-btn {
  background-color: #5b8ac7 !important; /* 青色背景 */
  width: 80px !important;
  height: 80px !important;
  padding: 10px !important;
  border: none !important;
  border-radius: 0 !important;
  box-sizing: border-box !important;
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
  justify-content: center !important;
  cursor: pointer !important;
  position: relative !important;
  z-index: 10001 !important;
}

/* 3本線（白色） */
#menuBtn .menu-icon-wrap span,
.menu-btn .menu-icon-wrap span {
  background-color: #ffffff !important;
  height: 2px !important;
  width: 100% !important;
  display: block !important;
}

/* 「メニュー」テキスト（白色） */
#menuBtn .menu-text,
.menu-btn .menu-text {
  color: #ffffff !important;
  font-size: 11px !important;
  font-weight: 700 !important;
  line-height: 1 !important;
  margin-top: 10px !important;
}



.menu-text {
    font-size: 0.65rem;
    letter-spacing: 0.1em;
}

@media screen and (max-width: 1024px) {
    .header-right-area {
        display: none;
    }
}

/* =========================
   ファーストビュー（FV）
========================= */
.fv-container {
    width: 100%;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    background-color: #f5eedb;
    overflow: hidden;
}

.fv-news-bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background-color: #e94e77;
    color: #ffffff;
    padding: 10px 20px;
    font-size: 0.8rem;
    flex-shrink: 0;
    z-index: 10;
}

.fv-news-inner {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-grow: 1;
    overflow: hidden;
}

.fv-news-date {
    font-weight: 500;
    white-space: nowrap;
}

.fv-news-tag {
    background-color: #ffffff;
    color: #e94e77;
    padding: 2px 6px;
    border-radius: 4px;
    font-size: 0.7rem;
    font-weight: 700;
    white-space: nowrap;
}

.fv-news-ticker-wrap {
    overflow: hidden;
    white-space: nowrap;
    flex-grow: 1;
}

.fv-news-text {
    display: inline-block;
    color: #ffffff;
    text-decoration: none;
    font-weight: 500;
    padding-left: 100%;
    animation: marquee 18s linear infinite;
    font-size: 16px;
}

.fv-news-text:hover {
    text-decoration: underline;
}

@keyframes marquee {
    0% { transform: translate3d(0, 0, 0); }
    100% { transform: translate3d(-100%, 0, 0); }
}

.fv-news-arrow {
    font-size: 16px;
    cursor: pointer;
    flex-shrink: 0;
    margin-left: 10px;
}

.fv-slider {
    position: relative;
    width: 100%;
    flex-grow: 1;
    min-height: 180px;
    overflow: hidden;
    background-color: #e5dcc2;
}

.fv-slide-track {
    position: relative;
    width: 100%;
    height: 100%;
}

/* =========================
   ファーストビュー・スライダー：ガタつきのない極めてスムーズな拡大縮小
========================= */

.fv-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    
    /* 完全に透明で、初期状態は縮小（または拡大）にセット */
    opacity: 0;
    visibility: hidden;
    transform: scale(1.0);
    
    /* フェードと拡大縮小の時間を完全に同期させる（長めに設定することで滑らかになります） */
    transition: opacity 1.5s ease-in-out, visibility 1.5s ease-in-out, transform 6s ease-in-out;
}

/* スライドが表示されている間（アクティブ時）にゆっくり拡大 */
.fv-slide.active {
    opacity: 1;
    visibility: visible;
    transform: scale(1.08); /* じわーっと拡大 */
}

/* 次のスライドへ切り替わる「直前（非表示に向かう瞬間）」に、アニメーションがガタつかないよう位置を固定 */
.fv-slide.is-hiding {
    opacity: 0;
    visibility: hidden;
    transform: scale(1.08); /* 拡大されたままふんわり消えることで、切り替わりのショックを消す */
}
.fv-slider-dots {
    position: absolute;
    bottom: 60px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    align-items: center;
    gap: 8px;
    z-index: 5;
}

/* ドットの基本スタイル（伸び縮みさせず、きれいな正円にする） */
.fv-slider-dots .dot {
    width: 10px;
    height: 10px;
    background-color: rgba(255, 255, 255, 0.6);
    border-radius: 50%;
    display: inline-block;
    cursor: pointer;
    transition: background-color 0.3s ease, transform 0.3s ease;
}

/* アクティブなドット（青色） */
.fv-slider-dots .dot.active {
    background-color: #5b8ac7;
    transform: scale(1.1);
}

/* 再生・一時停止ボタン（青の塗りつぶし背景 ＋ 白いアイコン） */
.fv-slider-dots .pause-icon {
    width: 32px;
    height: 32px;
    background-color: #5b8ac7; /* 背景をしっかり塗りつぶす */
    border: none;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    margin-left: 12px;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.15);
    transition: background-color 0.2s ease;
}

.fv-slider-dots .pause-icon:hover {
    background-color: #4a75a8;
}

/* ボタンの中のアイコン（白色） */
.fv-slider-dots .pause-icon .material-symbols-outlined {
    font-size: 16px;
    color: #ffffff; /* アイコンを白抜きにする */
}

/* =========================
   3. 下部カード型ナビゲーション
========================= */
.fv-cards-section {
    background-color: transparent; /* 背景を透明にしてスライダーに重ねる */
    padding: 0 16px 16px;
    margin-top: -30px; /* ここで上に突き出させます（お好みで -20px 〜 -50px 等に調整してください） */
    flex-shrink: 0;
    position: relative;
    z-index: 10; /* スライダーより手前に表示させる */
}
.fv-cards-grid {
    max-width: 1280px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 10px;
}

.fv-card {
    background-color: #ffffff;
    border-radius: 12px;
    /* 上下の高さを出すためにパディングを大きくしています */
    padding: 24px 6px 36px;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    text-decoration: none;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.04);
    position: relative;
    overflow: visible;
    transition: transform 0.2s, box-shadow 0.2s;
}

.fv-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.08);
}

/* 上部アイコンのベージュサークル */
.fv-card-icon {
    width: 80px;
    height: 80px;
    background-color: #f5eedb;
    border-radius: 50%;
    margin-bottom: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.fv-card-icon img {
    width: 46px;
    height: 46px;
    object-fit: contain;
}

/* テキストラッパー */
.fv-card-title-wrap {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

/* カード上部のテキスト（青：#5b8ac7） */
.fv-card-top-text {
    font-size: 1.0rem;
    font-weight: 700;
    color: #5b8ac7;
    line-height: 1.3;
}

/* カード下部のテキスト（黒：#333333） */
.fv-card-bottom-text {
    font-size: 1.0rem;
    font-weight: 700;
    color: #333333;
    line-height: 1.3;
}

/* 下部からはみ出る矢印ボタン */
.fv-card-arrow {
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    
    width: 28px;
    height: 28px;
    background-color: #ffffff;
    border-radius: 50%;
    box-shadow: 0 0 0 4px #f5eedb;
    
    display: flex;
    align-items: center;
    justify-content: center;
}

.fv-card-arrow .material-symbols-outlined {
    font-size: 14px;
    color: #333333;
}



/* =========================
   リクルートバナー（さらに大きめサイズ）
========================= */
.fv-recruit-banner {
    position: absolute;
    right: 40px;
    bottom: 45px;
    z-index: 6;
    display: block;
    text-decoration: none;
    transition: transform 0.2s ease;
}

.fv-recruit-banner:hover {
    transform: scale(1.05);
}

.fv-recruit-circle {
    position: relative;
    width: 210px; /* ← さらに拡大 */
    height: 210px;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* 周囲を回るテキストのラッパー（回転アニメーション） */
.fv-rotating-text-wrap {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    animation: spinRotate 20s linear infinite;
    z-index: 3;
}

.fv-circle-svg {
    width: 100%;
    height: 100%;
}

.fv-circle-svg text {
    font-size: 10px; /* ← 回る文字をさらに大きく */
    font-weight: 700;
    fill: #5b8ac7;
    letter-spacing: 0.25em;
}

@keyframes spinRotate {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* 青い円形の背景と中央の中身 */
.fv-recruit-content {
    position: absolute;
    width: 155px;  /* ← 青い円のサイズをさらに拡大 */
    height: 155px;
    background-color: #5b8ac7;
    border-radius: 50%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    z-index: 2;
    box-shadow: 0 6px 16px rgba(0,0,0,0.2);
    overflow: hidden;
    padding-top: 6px;
}

/* 中央のイラスト（/img/top12.png） */
.fv-recruit-img {
    width: 78px;  /* ← イラストをさらに拡大 */
    height: 60px;
    object-fit: contain;
    margin-bottom: 4px;
}

/* 中央の「RECRUIT」文字 */
.fv-recruit-title {
    font-size: 1.15rem; /* ← 文字をさらに拡大 */
    font-weight: 700;
    color: #ffffff;
    letter-spacing: 0.05em;
    line-height: 1;
}

/* 白い区切り線 */
.fv-recruit-line {
    width: 65px;
    height: 2px;
    background-color: #ffffff;
    margin: 5px 0;
}

/* 「積極採用中」文字 */
.fv-recruit-sub {
    font-size: 0.85rem; /* ← 文字をさらに拡大 */
    font-weight: 700;
    color: #ffffff;
    letter-spacing: 0.05em;
    line-height: 1;
}

/* レスポンシブ対応（スマホ表示時） */
@media screen and (max-width: 768px) {
    .fv-recruit-banner {
        right: 15px;
        bottom: 40px;
    }
    .fv-recruit-circle {
        width: 150px;
        height: 150px;
    }
    .fv-recruit-content {
        width: 112px;
        height: 112px;
    }
    .fv-recruit-img {
        width: 54px;
        height: 42px;
    }
    .fv-circle-svg text {
        font-size: 12.5px;
        letter-spacing: 3.8px;
    }
    .fv-recruit-title {
        font-size: 0.85rem;
    }
    .fv-recruit-sub {
        font-size: 0.62rem;
    }
    .fv-recruit-line {
        width: 45px;
        height: 1.5px;
        margin: 3px 0;
    }
}

/* バナーを左下に配置する親ラッパー（画面幅に合わせて伸縮） */
.fv-slide-banners {
    position: absolute;
    left: 20px;    
    bottom: 40px;  
    z-index: 5; 
    pointer-events: none; 
    /* ▼ 画面幅(vw)を基準にしつつ、小さくなりすぎず大きくなりすぎないように設定 */
    width: 25vw;         /* 画面幅の25%の大きさに連動して伸縮します */
    min-width: 240px;    /* スマホなどで小さくなりすぎないための最小幅 */
    max-width: 460px;    /* パソコンなどで大きくなりすぎないための最大幅 */
}

/* 各バナーの基本設定 */
.fv-slide-banner {
    position: absolute;
    left: 0;
    bottom: 0;
    width: 100%;
    
    opacity: 0;
    visibility: hidden;
    z-index: 1;
    
    transition: opacity 1.2s ease-in-out, visibility 1.2s ease-in-out, transform 0.3s ease, box-shadow 0.3s ease;
    
    border-radius: 12px;       
    overflow: hidden;          
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15); 
}

/* activeが付いたとき */
.fv-slide-banner.active {
    opacity: 1;
    visibility: visible;
    z-index: 2; 
    pointer-events: auto;
}

/* ホバー時の「浮き上がり ＋ さらに少し拡大」アニメーション */
.fv-slide-banner.active:hover {
    transform: translateY(-6px) scale(1.03); 
    box-shadow: 0 10px 22px rgba(0, 0, 0, 0.25); 
}

.fv-slide-banner img {
    width: 100%;  
    height: auto; 
    display: block;
}

/* 画面右上のポップアップ全体 */
.popup-cooperation-banner {
    position: fixed;
    left: 20px;
    top: 140px; /* ヘッダーの下あたりに配置（ヘッダーの高さに合わせて微調整してください） */
    z-index: 9999;
    background: #ffffff;
    padding: 24px 20px 20px 20px;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
    display: flex;
    flex-direction: column;
    gap: 12px;
    max-width: 380px;
    width: 100%;
    box-sizing: border-box;
    transition: opacity 0.3s ease, transform 0.3s ease;
}

/* 非表示になったとき用（JSでclassを付与） */
.popup-cooperation-banner.is-hidden {
    opacity: 0;
    visibility: hidden;
    transform: translateY(-20px); /* 右上なので上にスライドして消えるように調整 */
    pointer-events: none;
}

/* 閉じる（×）ボタン */
.popup-close-btn {
    position: absolute;
    top: 8px;
    right: 8px;
    width: 28px;
    height: 28px;
    background: #f0f0f0;
    border: none;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.2s ease;
}

.popup-close-btn:hover {
    background: #e0e0e0;
}

.popup-close-btn .material-symbols-outlined {
    font-size: 18px;
    color: #555555;
}

/* ボタンを縦並びにするコンテナ */
.popup-buttons-inner {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

/* 連携協定ボタンのスタイル */
.cooperation-btn {
    display: block;
    background-color: #5bc0de; /* 爽やかな水色ベース */
    color: #ffffff;
    text-align: center;
    text-decoration: none;
    padding: 12px 16px;
    border-radius: 6px;
    font-size: 13px;
    font-weight: 500;
    line-height: 1.5;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
    transition: background-color 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
}

/* ホバー時のアクション */
.cooperation-btn:hover {
    background-color: #46b8da;
    transform: translateY(-2px);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
}

/* セクション全体のレイアウト */
.info-section {
    padding: 40px 20px 100px;
    background-color: #f5eedb; /* 背景の薄いベージュ */
}

.info-container {
    max-width: 1280px;
    margin: 0 auto;
    display: flex;
    gap: 24px;
    align-items: stretch;
}

@media (max-width: 960px) {
    .info-container {
        flex-direction: column;
    }
}

/* 左側ボックス全体 */
.info-left-box {
    flex: 1.6;
    background: #ffffff;
    border-radius: 16px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.info-upper-content {
    display: flex;
    padding: 24px;
    gap: 24px;
}

@media (max-width: 600px) {
    .info-upper-content {
        flex-direction: column;
    }
}

/* 診療時間エリア */
.hours-block {
    flex: 1;
    display: flex;
    flex-direction: column;
}

.hours-title-bar {
    background-color: #5282c2; /* 落ち着いた青 */
    color: #fff;
    text-align: center;
    padding: 8px;
    border-radius: 20px;
    font-weight: 700;
    font-size: 14px;
    margin-bottom: 16px;
}

.hours-body {
    text-align: center;
    display: flex;
    flex-direction: column;
    justify-content: center;
    flex: 1;
}

.hours-sub {
    font-size: 16px;
    color: #333;
    margin-bottom: 4px;
}

.hours-time {
    font-size: 30px;
    font-weight: 700;
    color: #222;
    line-height: 1.2;
}

.hours-time span {
    font-size: 20px;
    margin: 0 2px;
}

.hours-note {
    font-size: 14px;
    color: #666;
    margin-top: 6px;
}

/* 休診日エリア */
.holiday-block {
    flex: 1.4;
    border-left: 1px solid #eee;
    padding-left: 24px;
    display: flex;
    flex-direction: column;
}

@media (max-width: 600px) {
    .holiday-block {
        border-left: none;
        border-top: 1px solid #eee;
        padding-left: 0;
        padding-top: 20px;
    }
}

.holiday-title-bar {
    background-color: #e35d79; /* ピンク系の休診日カラー */
    color: #fff;
    text-align: center;
    padding: 8px;
    border-radius: 20px;
    font-weight: 700;
    font-size: 14px;
    margin-bottom: 16px;
}

.holiday-list {
    list-style: none;
    padding: 0;
    margin: 0 0 16px 0;
    font-size: 13px;
    color: #333;
    display: flex;
    flex-direction: column;
    gap: 0px;
}

.holiday-list li {
    position: relative;
    padding-left: 12px;
}

.holiday-list li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 6px;
    width: 6px;
    height: 6px;
    background-color: #e35d79;
}

.holiday-date {
    color: #666;
    font-size: 12px;
}

.holiday-contact-wrap {
    background: #fafafa;
    padding: 20px 20px;
    border-radius: 8px;
    margin-top: auto;
}

.holiday-contact-text {
    font-size: 14px;
    color: #555;
    margin-bottom: 6px;
    line-height: 1.4;
}

.holiday-phone {
    display: flex;
    align-items: center;
    gap: 8px;
}

/* ヘルパー共通の電話アイコン流用 */
.phone-icon-circle {
    width: 26px;
    height: 26px;
    background-color: #5282c2;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.phone-icon-img {
    width: 14px;
    height: 14px;
    filter: brightness(0) invert(1); /* 白抜きにする場合 */
}

.holiday-phone-number {
    font-size: 30px;
    font-weight: 700;
    color: #222;
    letter-spacing: 0.5px;
}

/* 左下の一面リンクバー */
.info-bottom-bar {
    background-color: #5282c2;
    color: #fff;
    text-decoration: none;
    padding: 16px;
    text-align: center;
    font-weight: 700;
    font-size: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    transition: background-color 0.2s ease;
}

.info-bottom-bar:hover {
    background-color: #416b9e;
}

/* 右側：3つのリンクボタンエリア */
.info-right-buttons {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 12px;
    justify-content: space-between;
}

.info-sub-btn {
    background: #ffffff;
    border-radius: 12px;
    padding: 16px 20px;
    display: flex;
    align-items: center;
    text-decoration: none;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.info-sub-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.08);
}

.info-sub-icon {
    width: 50px;
    height: 50px;
    background-color: #5282c2;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 16px;
    flex-shrink: 0;
}

.info-sub-icon img {
    width: 30px;
    height: 30px;
    filter: brightness(0) invert(1);
}

.info-sub-text {
    font-size: 15px;
    font-weight: 700;
    color: #222;
    flex: 1;
}

.info-sub-btn .material-symbols-outlined {
    color: #333;
    font-size: 20px;
}

/* ==========================================
   診療科案内セクション (department-section)
========================================== */
.department-section {
  padding: 100px 20px;
  background-color: #f6f6f6;
}

.department-container {
  max-width: 1280px;
  margin: 0 auto;
}

/* ヘッダー領域 */
.department-header {
  text-align: center;
  margin-bottom: 40px;
}

.dep-eng-title {
  font-size: 30px;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: #5b8ac7;
  margin-bottom: 4px;
}

.dep-jp-title {
  font-size: 16px;
  font-weight: 700;
  color: #333333;
  margin: 0;
}

/* グリッドレイアウト（PC: 4列） */
.department-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px 32px;
}

/* 診療科カード */
.dep-card {
  position: relative;
  display: flex;
  align-items: center;
  background-color: #ffffff;
  border-radius: 20px;
  padding: 16px 45px 16px 16px;
  text-decoration: none;
  color: #333333;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  min-height: 90px;
  box-sizing: border-box;
}

.dep-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.06);
}

/* 左側：サークル（グレーの丸背景）付きアイコン */
.dep-icon {
  width: 80px;
  height: 80px;
  object-fit: contain;
  background-color: #f6f6f6; /* 丸背景の色 */
  border-radius: 20%; /* 正円にする */
  padding: 16px; /* 余白を確保して枠切れを防止 */
  margin-right: 16px;
  flex-shrink: 0;
  box-sizing: border-box;
  overflow: visible; /* 枠外にはみ出しても全表示 */
}

/* テキストエリア */
.dep-name {
  font-size: 18px;
  font-weight: 700;
  color: #333333;
  line-height: 1.3;
}

.dep-text-wrap {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.dep-subtext {
  font-size: 12px;
  color: #666666;
  margin-top: 2px;
  line-height: 1.2;
}

/* 右端：飛び出す丸型矢印ボタン */
.dep-arrow {
  position: absolute;
  right: -20px;
  top: 50%;
  transform: translateY(-50%);
  width: 44px;
  height: 44px;
  background-color: #ffffff;
  border: 4px solid #f6f6f6;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  color: #333333;
  transition: all 0.3s ease;
}

.dep-card:hover .dep-arrow {
  background-color: #5282c2;
  color: #ffffff;
  right: -23px;
}

/* ==========================================
   アイコン個別サイズ微調整用（全18種）
========================================== */
.dep-icon[src*="top24.svg"] { padding: 18px; } /* 総合内科 */
.dep-icon[src*="top25.svg"] { padding: 15px; } /* 消化器内科 */
.dep-icon[src*="top26.svg"] { padding: 18px; } /* 脳神経内科 */
.dep-icon[src*="top27.svg"] { padding: 16px; } /* 整形外科 */

.dep-icon[src*="top28.svg"] { padding: 16px; } /* 糖尿病内分泌内科 */
.dep-icon[src*="top29.svg"] { padding: 16px; } /* 呼吸器内科 */
.dep-icon[src*="top30.svg"] { padding: 15px; } /* 小児科 */
.dep-icon[src*="top31.svg"] { padding: 16px; } /* 脳神経外科 */

.dep-icon[src*="top32.svg"] { padding: 15px; } /* 循環器内科 */
.dep-icon[src*="top33.svg"] { padding: 15px; } /* 腎臓・人工透析内科 */
.dep-icon[src*="top34.svg"] { padding: 16px; } /* 外科 */
.dep-icon[src*="top35.svg"] { padding: 18px; } /* 産婦人科 */

.dep-icon[src*="top36.svg"] { padding: 15px; } /* 眼科 */
.dep-icon[src*="top37.svg"] { padding: 16px; } /* 皮膚科 */
.dep-icon[src*="top38.svg"] { padding: 16px; } /* 泌尿器科 */
.dep-icon[src*="top39.svg"] { padding: 15px; } /* リハビリテーション科 */

.dep-icon[src*="top40.svg"] { padding: 16px; } /* 麻酔科 */
.dep-icon[src*="top41.svg"] { padding: 16px; } /* 放射線科 */

/* ==========================================
   レスポンシブ対応
========================================== */

/* タブレット (〜1024px): 2列表示 */
@media screen and (max-width: 1024px) {
  .department-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px 30px;
  }
}

/* スマホ (〜600px): 1列表示 */
@media screen and (max-width: 600px) {
  .department-section {
    padding: 60px 20px;
  }

  .department-grid {
    grid-template-columns: 1fr;
    gap: 16px;
    padding-right: 15px;
  }

  .dep-card {
    padding: 12px 40px 12px 12px;
    min-height: 80px;
  }

  .dep-icon {
    width: 50px;
    height: 50px;
    padding: 10px;
    margin-right: 12px;
  }

  .dep-name {
    font-size: 16px;
  }

  .dep-arrow {
    width: 38px;
    height: 38px;
    font-size: 16px;
    right: -16px;
  }
}



/* ==========================================
   STRENGTHS セクション
========================================== */
.strengths-section {
  padding: 100px 20px;
  background-color: #ffffff;
}

.strengths-container {
  max-width: 1000px;
  margin: 0 auto;
}

/* ヘッダー */
.strengths-header {
  text-align: center;
  margin-bottom: 48px;
}

.strengths-eng-title {
  font-size: 30px;
  font-weight: 700;
  letter-spacing: 0.12em;
  color: #5b8ac7;
  margin-bottom: 12px;
}

.strengths-jp-title {
  font-size: 30px;
  font-weight: 700;
  color: #333333;
  line-height: 1.5;
  margin: 0;
}

/* 2列グリッド */
.strengths-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  margin-bottom: 48px;
}

/* カード全体構造 */
.strength-card {
  display: flex;
  height: 280px;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
}

/* 左側ピンク縦帯ラベル */
.card-label {
  width: 50px;
  background-color: #e8527a;
  color: #ffffff;
  font-size: 20px;
  font-weight: 700;
  writing-mode: vertical-rl; /* 縦書き指定 */
  display: flex;
  align-items: center;
  justify-content: center;
  letter-spacing: 0.1em;
  flex-shrink: 0;
}

/* ★数字部分を縦書きの中で正立（横向き化を防止）させる */
.card-label .num {
  text-combine-upright: all;
  -webkit-text-combine: horizontal; /* Safari対応 */
  margin-bottom: 8px; /* 数字と日本語文字の間の余白 */
  font-family: sans-serif;
}

/* 右側画像エリア */
.card-img-wrap {
  position: relative;
  flex: 1;
  overflow: hidden;
}

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

/* 画像上のグラデーション＆テキスト重ね処理 */
.card-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.65) 0%, rgba(0, 0, 0, 0.1) 60%, rgba(0, 0, 0, 0) 100%);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 16px 20px;
  box-sizing: border-box;
}

.card-title {
  color: #ffffff;
  font-size: 18px;
  font-weight: 700;
  margin: 0 0 4px 0;
  line-height: 1.4;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.3);
}

.card-desc {
  color: #ffffff;
  font-size: 14px;
  margin: 0;
  opacity: 0.9;
  line-height: 1.4;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.3);
}

/* 下部ボタン */
.strengths-btn-wrap {
  text-align: center;
}

.strengths-btn {
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  width: 240px;
  height: 52px;
  padding: 0 6px 0 24px;
  background-color: #5b8ac7;
  color: #ffffff;
  border-radius: 30px;
  text-decoration: none;
  font-weight: 700;
  font-size: 15px;
  transition: background-color 0.3s ease, transform 0.3s ease;
  box-sizing: border-box;
}

.strengths-btn:hover {
  background-color: #4a77b0;
  transform: translateY(-2px);
}

/* 矢印背景（白い丸）は固定 */
.btn-arrow {
  width: 40px;
  height: 40px;
  background-color: #ffffff;
  color: #5b8ac7;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  overflow: hidden; /* はみ出し防止 */
}

/* ★白丸の中身（矢印文字）だけアニメーション設定 */
.btn-arrow::before {
  display: inline-block;
  transition: transform 0.3s ease;
}

/* ★ホバー時：白丸は位置固定のまま、矢印文字だけ右へ3px移動 */
.strengths-btn:hover .btn-arrow {
  /* 白丸自体の移動指定（translateX）は削除 */
}

.strengths-btn:hover .btn-arrow::before,
.strengths-btn:hover .btn-arrow {
  /* Material Symbols等のフォントアイコンの場合 */
  transform: translateX(0); 
}

/* Material Symbolsアイコン（spanの中身）のみを動かす記述 */
.btn-arrow {
  transition: padding-left 0.3s ease, transform 0.3s ease;
}

.strengths-btn:hover .btn-arrow {
  /* 矢印文字だけを右に寄せる処理 */
  padding-left: 4px;
}


/* レスポンシブ (スマホ表示) */
@media screen and (max-width: 768px) {
  .strengths-section {
    padding: 50px 16px;
  }

  .strengths-jp-title {
    font-size: 18px;
  }

  .strengths-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .strength-card {
    height: 180px;
  }

  .card-label {
    width: 42px;
    font-size: 13px;
  }

  .card-title {
    font-size: 14px;
  }

  .card-desc {
    font-size: 10px;
  }
}

/* ==========================================
   バナーセクション (banner-section)
========================================== */
.banner-section {
  padding: 60px 20px;
  background-color: #ffffff;
}

.banner-container {
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

/* バナーカード基本設計 */
.banner-card {
  position: relative;
  display: block;
  height: 240px;
  border-radius: 4px;
  overflow: hidden;
  text-decoration: none;
}

/* 背景画像＆ホバーズーム設定 */
.banner-img-wrap {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.banner-bg {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.banner-card:hover .banner-bg {
  transform: scale(1.05); /* ホバー時に背景画像を少し拡大 */
}

/* 画像を適度に暗くするオーバーレイ */
.banner-overlay {
  position: absolute;
  inset: 0;
  background-color: rgba(20, 35, 55, 0.35); /* 薄い暗青色のオーバーレイ */
  transition: background-color 0.3s ease;
}

.banner-card:hover .banner-overlay {
  background-color: rgba(20, 35, 55, 0.25);
}

/* 中央テキスト・アイコンコンテンツ */
.banner-content {
  position: relative;
  z-index: 2;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 20px;
  box-sizing: border-box;
}

/* 青い丸背景アイコン */
.banner-icon-wrap {
  width: 64px;
  height: 64px;
  background-color: #5282c2; /* 青背景 */
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 12px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
}

.banner-icon {
  width: 32px;
  height: 32px;
  object-fit: contain;
}

/* タイトルテキスト */
.banner-eng-title {
  color: #ffffff;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.1em;
  margin: 0 0 6px 0;
  text-shadow: 0 1px 4px rgba(0, 0, 0, 0.4);
}

.banner-jp-title {
  color: #ffffff;
  font-size: 20px;
  font-weight: 700;
  letter-spacing: 0.05em;
  margin: 0;
  text-shadow: 0 1px 4px rgba(0, 0, 0, 0.4);
}

/* レスポンシブ（スマホ表示） */
@media screen and (max-width: 768px) {
  .banner-section {
    padding: 0px 20px;
  }

  .banner-container {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .banner-card {
    height: 180px;
  }

  .banner-icon-wrap {
    width: 52px;
    height: 52px;
    margin-bottom: 8px;
  }

  .banner-icon {
    width: 26px;
    height: 26px;
  }

  .banner-eng-title {
    font-size: 12px;
  }

  .banner-jp-title {
    font-size: 17px;
  }
}

/* ==========================================
   PICKUP セクション (全幅見切れスクロール)
========================================== */
.pickup-section {
  padding: 80px 0 0 0 ; /* 左右paddingは0にして全幅スクロールを実現 */
  
  overflow: hidden; /* 横スクロールバーのはみ出し防止 */
}

/* ヘッダー */
.pickup-header {
  text-align: center;
  margin-bottom: 40px;
  padding: 0 20px;
}

.pickup-eng-title {
  font-size: 30px;
  font-weight: 700;
  letter-spacing: 0.12em;
  color: #5b8ac7;
  margin: 0 0 4px 0;
}

  .pickup-jp-title {
  font-size: 16px;
  font-weight: 700;
  color: #333;
  margin: 0;
}

/* 全幅横スクロール用コンテナ */
.pickup-scroll-container {
  width: 100%;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  padding-bottom: 20px; /* シャドウ切れ防止用 */
  
  /* スクロールバー非表示（オプション） */
  scrollbar-width: none; /* Firefox */
}

.pickup-scroll-container::-webkit-scrollbar {
  display: none; /* Chrome / Safari */
}

/* カードを並べるトラック */
.pickup-track {
  display: flex;
  gap: 20px;
  /* 左端の位置をコンテンツに合わせつつ、右側は見切れる計算 */
  padding-left: calc((100vw - 1100px) / 2 + 20px);
  padding-right: 40px;
  width: max-content;
}

/* 画面幅が1100px未満の場合の左パディング調整 */
@media screen and (max-width: 1140px) {
  .pickup-track {
    padding-left: 20px;
  }
}

/* カード単体 */
.pickup-card {
  width: 270px; /* 固定幅にすることで見切れ状態を作る */
  background-color: #ffffff;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.06);
  text-decoration: none;
  color: inherit;
  display: flex;
  flex-direction: column;
  scroll-snap-align: start;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  flex-shrink: 0;
}

.pickup-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.12);
}

/* 画像エリアとバッジ */
.pickup-img-wrap {
  position: relative;
  width: 100%;
  height: 190px;
  background-color: #f0f4f8;
  overflow: hidden;
}

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

/* NEW丸バッジ */
.badge {
  position: absolute;
  top: 10px;
  right: 10px;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  font-size: 11px;
  font-weight: 700;
  z-index: 2;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.15);
}

.badge-pink {
  background-color: #e8527a;
}

/* カードコンテンツエリア */
.pickup-content {
  padding: 16px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.pickup-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 10px;
  gap: 8px;
}

/* カテゴリタグ */
.category-tag {
  font-size: 11px;
  padding: 3px 10px;
  border-radius: 12px;
  border: 1px solid #5b8ac7;
  color: #5b8ac7;
  white-space: nowrap;
}

.category-tag.tag-orange {
  border-color: #e69138;
  color: #e69138;
}

.category-tag.tag-green {
  border-color: #5bb787;
  color: #5bb787;
}

/* 日付 */
.pickup-date {
  font-size: 11px;
  color: #888888;
  white-space: nowrap;
}

/* タイトル */
.pickup-card-title {
  font-size: 14px;
  font-weight: 700;
  color: #333333;
  line-height: 1.5;
  margin: 0;
  display: -webkit-box;
  -webkit-line-clamp: 2; /* 2行超えたら省略符号... */
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* レスポンシブ (スマホ表示) */
@media screen and (max-width: 768px) {
  .pickup-section {
    padding: 60px 0 0 0;
  }

  .pickup-card {
    width: 230px;
  }

  .pickup-img-wrap {
    height: 160px;
  }

  .badge {
    width: 40px;
    height: 40px;
    font-size: 10px;
  }
  
  
  .pickup-eng-title {
  font-size: 28px;
  
}

  
}
/* カルーセルラッパー（矢印の絶対位置の基準） */
.pickup-carousel-wrapper {
  position: relative;
  width: 100%;
}

/* 左右矢印ボタン基本スタイル */
.pickup-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 10;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background-color: #ffffff;
  border: 1px solid #e0e0e0;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.12);
  color: #5b8ac7;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background-color 0.3s ease, transform 0.3s ease, opacity 0.3s ease;
}

.pickup-arrow:hover {
  background-color: #5b8ac7;
  color: #ffffff;
  transform: translateY(-50%) scale(1.05);
}

.pickup-arrow span {
  font-size: 28px;
  pointer-events: none;
}

/* 矢印の位置調整（画面両端に固定配置） */
.arrow-prev {
  left: 20px;
}

.arrow-next {
  right: 20px;
}

/* スクロール限界時の非活性表示 */
.pickup-arrow.is-disabled {
  opacity: 0.3;
  cursor: not-allowed;
  pointer-events: none;
}

/* スクロールコンテナのスタイル補正 */
.pickup-scroll-container {
  width: 100%;
  overflow-x: auto;
  scroll-behavior: smooth; /* スムーススクロール */
  scrollbar-width: none;
  -ms-overflow-style: none;
  cursor: grab;
}

.pickup-scroll-container::-webkit-scrollbar {
  display: none;
}

/* ドラッグ時の画像引っかかり防止 */
.pickup-card img {
  pointer-events: none;
}

@media screen and (max-width: 768px) {
  .pickup-arrow {
    width: 38px;
    height: 38px;
  }
  
  .pickup-arrow span {
    font-size: 22px;
  }

  .arrow-prev { left: 8px; }
  .arrow-next { right: 8px; }
}

/* ==========================================
   NEWS セクション
========================================== */
.news-section {
  padding: 80px 20px;
  background-color: #ffffff;
}

.news-container {
  max-width: 1100px;
  margin: 0 auto;
}

/* ヘッダー */
.news-header {
  text-align: center;
  margin-bottom: 40px;
}

.news-eng-title {
  font-size: 22px;
  font-weight: 700;
  letter-spacing: 0.12em;
  color: #5b8ac7;
  margin: 0 0 4px 0;
}

.news-jp-title {
  font-size: 14px;
  font-weight: 500;
  color: #333;
  margin: 0;
}

/* 2列レイアウト */
.news-content-wrapper {
  display: grid;
  grid-template-columns: 1fr 340px;
  gap: 40px;
  align-items: start;
}

/* ------------------------------------------
   左エリア：お知らせ
------------------------------------------ */
.news-main {
  width: 100%;
}

/* カテゴリタブ */
.news-tabs {
  display: flex;
  align-items: center;
  border-bottom: 1px solid #e0e0e0;
  margin-bottom: 12px;
  overflow-x: auto;
  white-space: nowrap;
}

.tab-btn {
  position: relative;
  padding: 12px 18px;
  background: none;
  border: none;
  font-size: 14px;
  font-weight: 700;
  color: #333333;
  cursor: pointer;
  transition: color 0.3s ease;
}

/* アクティブ時の吹き出し風デザイン */
.tab-btn.active {
  background-color: #5b8ac7;
  color: #ffffff;
  border-radius: 8px 8px 0 0;
}

.tab-btn.active::after {
  content: "";
  position: absolute;
  bottom: -6px;
  left: 50%;
  transform: translateX(-50%);
  border-width: 6px 6px 0 6px;
  border-style: solid;
  border-color: #5b8ac7 transparent transparent transparent;
}

/* お知らせリスト */
.news-list {
  list-style: none;
  padding: 0;
  margin: 0 0 32px 0;
}

.news-item {
  border-bottom: 1px solid #eeeeee;
}

.news-link {
  display: flex;
  align-items: center;
  padding: 0px 0px;
  text-decoration: none;
  color: inherit;
  transition: background-color 0.2s ease;
}

.news-link:hover {
  background-color: #f9fbfd;
}

/* 日付エリア（グレー背景） */
.news-date {
  width: 90px;
  background-color: #f0f0f0;
  padding: 30px 0;
  text-align: center;
  border-radius: 0px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  flex-shrink: 0;
  margin-right: 20px;
}

.news-date .year {
  font-size: 11px;
  color: #666666;
  line-height: 1.2;
}

.news-date .day {
  font-size: 13px;
  font-weight: 700;
  color: #333333;
  line-height: 1.2;
}

/* タグ */
.news-tag-wrap {
  width: 140px;
  flex-shrink: 0;
  margin-right: 16px;
}

.news-tag {
  display: inline-block;
  font-size: 12px;
  padding: 4px 12px;
  border-radius: 16px;
  text-align: center;
}

.tag-blue {
  border: 1px solid #5b8ac7;
  color: #5b8ac7;
}

.tag-pink {
  border: 1px solid #e8527a;
  color: #e8527a;
}

/* タイトル */
.news-title {
  flex: 1;
  font-size: 15px;
  font-weight: 700;
  color: #333333;
  margin: 0;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* 右側矢印 */
.news-arrow {
  font-size: 18px;
  color: #333333;
  margin-left: 12px;
  transition: transform 0.3s ease;
}

.news-link:hover .news-arrow {
  transform: translateX(4px);
}

/* ボタン */
.news-btn-wrap {
  text-align: center;
}

.news-more-btn {
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  width: 200px;
  height: 48px;
  padding: 0 4px 0 20px;
  background-color: #5b8ac7;
  color: #ffffff;
  border-radius: 24px;
  text-decoration: none;
  font-weight: 700;
  font-size: 14px;
  transition: background-color 0.3s ease;
  box-sizing: border-box;
}

.news-more-btn:hover {
  background-color: #4a77b0;
}

.btn-arrow-wrap {
  width: 40px;
  height: 40px;
  background-color: #ffffff;
  color: #5b8ac7;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.btn-arrow-wrap span {
  font-size: 18px;
  transition: padding-left 0.3s ease;
}

.news-more-btn:hover .btn-arrow-wrap span {
  padding-left: 4px; /* 白丸の中で矢印のみ移動 */
}

/* ------------------------------------------
   右エリア：Facebook
------------------------------------------ */
.fb-wrapper {
  width: 100%;
  display: flex;
  justify-content: center;
  background-color: #ffffff;
  border-radius: 8px;
  overflow: hidden;
  
}

.fb-wrapper iframe {
  max-width: 100%;
}

/* レスポンシブ (スマホ・タブレット表示) */
@media screen and (max-width: 992px) {
  .news-content-wrapper {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .fb-wrapper {
    margin: 0 auto;
  }
}

@media screen and (max-width: 600px) {
  .news-link {
    flex-wrap: wrap;
    position: relative;
    padding: 12px 0;
  }

  .news-date {
    width: 70px;
    margin-right: 10px;
  }

  .news-tag-wrap {
    width: auto;
    margin-right: 0;
  }

  .news-title {
    width: 100%;
    margin-top: 8px;
    white-space: normal;
  }

  .news-arrow {
    position: absolute;
    right: 0;
    top: 20px;
  }
}

/* 非表示用クラス */
.news-item.is-hidden {
  display: none !important;
}

/* 非表示用クラス */
.news-item.is-hidden {
  display: none !important;
}

/* ==========================================
   NEWS セクション
========================================== */
.news-section {
  padding: 100px 20px;
  background-color: #ffffff;
}

.news-container {
  max-width: 1280px;
  margin: 0 auto;
}

/* ヘッダー */
.news-header {
  text-align: center;
  margin-bottom: 40px;
}

.news-eng-title {
  font-size: 30px;
  font-weight: 700;
  letter-spacing: 0.12em;
  color: #5b8ac7;
  margin: 0 0 4px 0;
}

.news-jp-title {
  font-size: 16px;
  font-weight: 700;
  color: #333;
  margin: 0;
}

/* 2列レイアウト */
.news-content-wrapper {
  display: grid;
  grid-template-columns: 1fr 340px;
  gap: 80px;
  align-items: start;
}

/* 左エリア */
.news-main {
  width: 100%;
}

/* タブバー（縦スクロールバーの発生を防止） */
.news-tabs {
  display: flex;
  align-items: flex-end; /* 下揃えに固定 */
  border-bottom: 2px solid #e0e0e0;
  margin-bottom: 0;
  overflow: hidden; /* 不要なスクロールバーを非表示 */
}

.tab-btn {
  position: relative;
  padding: 14px 20px;
  background: transparent;
  border: none;
  font-size: 15px;
  font-weight: 700;
  color: #333333;
  cursor: pointer;
  transition: color 0.2s ease, background-color 0.2s ease;
  flex-shrink: 0;
  box-sizing: border-box;
}

.tab-btn:hover {
  color: #5b8ac7;
}

/* アクティブタブ（上下の揺れを防ぐ配置調整） */
.tab-btn.active {
  background-color: #5b8ac7;
  color: #ffffff;
  border-radius: 10px 10px 0 0;
}

/* 下向き三角（下線上にぴったり配置） */
.tab-btn.active::after {
  content: "";
  position: absolute;
  bottom: -6px; /* 位置を調整して親要素内に納める */
  left: 50%;
  transform: translateX(-50%);
  border-width: 6px 6px 0 6px;
  border-style: solid;
  border-color: #5b8ac7 transparent transparent transparent;
  z-index: 2;
  pointer-events: none;
}
/* お知らせリスト */
.news-list {
  list-style: none;
  padding: 0;
  margin: 0 0 32px 0;
}

.news-item {
  border-bottom: 1px solid #e2e8f0;
}

.news-link {
  display: flex;
  align-items: center;
  text-decoration: none;
  color: inherit;
  transition: background-color 0.2s ease;
}

.news-link:hover {
  background-color: #f8fafc;
}

/* 左側グレーの日付ボックス */
.news-date {
  width: 130px;
  background-color: #f0f0f0;
  padding: 28px 0;
  text-align: center;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  flex-shrink: 0;
}

.news-date .year {
  font-size: 12px;
  font-weight: 700;
  color: #333333;
  line-height: 1.2;
}

.news-date .day {
  font-size: 18px;
  font-weight: 700;
  color: #333333;
  line-height: 1.2;
  margin-top: 2px;
}

/* タグ */
.news-tag-wrap {
  width: 170px;
  padding-left: 24px;
  flex-shrink: 0;
}

.news-tag {
  display: inline-block;
  font-size: 12px;
  font-weight: 500;
  padding: 5px 16px;
  border-radius: 20px;
  text-align: center;
  width: fit-content;
}

.tag-blue {
  border: 1px solid #5b8ac7;
  color: #5b8ac7;
}

.tag-pink {
  border: 1px solid #e8527a;
  color: #e8527a;
}

/* タイトルテキスト */
.news-title {
  flex: 1;
  font-size: 16px;
  font-weight: 700;
  color: #333333;
  margin: 0;
  padding: 0 16px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* 右側矢印 */
.news-arrow {
  font-size: 20px;
  color: #333333;
  padding-right: 20px;
  flex-shrink: 0;
  transition: transform 0.2s ease;
}

.news-link:hover .news-arrow {
  transform: translateX(5px);
}

/* 「すべて見る」ボタン（右寄せ配置） */
.news-btn-wrap {
  display: flex;
  justify-content: flex-end;
  margin-top: 30px;
}

.news-more-btn {
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  width: 200px;
  height: 52px;
  padding: 0 6px 0 24px;
  background-color: #5b8ac7;
  color: #ffffff;
  border-radius: 26px;
  text-decoration: none;
  font-weight: 700;
  font-size: 15px;
  transition: background-color 0.3s ease;
  box-sizing: border-box;
}

.news-more-btn:hover {
  background-color: #4a77b0;
}

.btn-arrow-wrap {
  width: 40px;
  height: 40px;
  background-color: #ffffff;
  color: #5b8ac7;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.btn-arrow-wrap span {
  font-size: 20px;
  transition: transform 0.2s ease;
}

.news-more-btn:hover .btn-arrow-wrap span {
  transform: translateX(2px);
}

/* 右エリア：Facebook */
.fb-wrapper {
  width: 100%;
  display: flex;
  justify-content: center;
  background-color: #ffffff;
  border-radius: 8px;
  overflow: hidden;
  
}

/* レスポンシブ */
@media screen and (max-width: 992px) {
  .news-content-wrapper {
    grid-template-columns: 1fr;
    gap: 40px;
  }
}

@media screen and (max-width: 768px) {
  .news-date {
    width: 90px;
    padding: 12px 0;
  }
  .news-date .year { font-size: 10px; }
  .news-date .day { font-size: 14px; }
  
  .news-tag-wrap {
    width: 120px;
    padding-left: 10px;
  }
  .news-tag {
    font-size: 11px;
    padding: 3px 10px;
  }

  .news-title {
    font-size: 13px;
    padding: 0 8px;
  }
}



/* ==========================================
   ABOUT US セクション
========================================== */
.about-section {
  padding: 100px 20px;
  background-color: #eaf4fd; /* 画像と同じ淡い水色背景 */
}

.about-container {
  max-width: 1000px;
  margin: 0 auto;
}

/* ヘッダー */
.about-header {
  text-align: center;
  margin-bottom: 40px;
}

.about-eng-title {
  font-size: 30px;
  font-weight: 700;
  letter-spacing: 0.12em;
  color: #5b8ac7;
  margin: 0 0 4px 0;
}

.about-jp-title {
  font-size: 16px;
  font-weight: 500;
  color: #333;
  margin: 0;
}

/* グリッドレイアウト（3列） */
.about-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

/* カード基本スタイル */
.about-card {
  position: relative;
  display: block;
  border-radius: 12px;
  overflow: hidden;
  text-decoration: none;
  min-height: 140px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.about-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.12);
}

/* 特殊グリッド配置（縦長カード） */
.card-tall-left {
  grid-row: span 2; /* 縦に2行分使用 */
  min-height: 296px;
}

.card-tall-right {
  grid-row: span 2; /* 縦に2行分使用 */
  grid-column: 3;   /* 3列目に配置 */
  min-height: 296px;
}

/* 背景画像エリア */
.about-img-wrap {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.about-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.about-card:hover .about-img {
  transform: scale(1.05);
}

/* グラデーションオーバーレイ（下部の文字を読みやすくする） */
.about-card-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.65) 0%, rgba(0, 0, 0, 0.1) 60%, rgba(0, 0, 0, 0) 100%);
  transition: opacity 0.3s ease;
}

.about-card:hover .about-card-overlay {
  opacity: 0.85;
}

/* カード内コンテンツ（タイトル＋矢印アイコン） */
.about-card-content {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  z-index: 2;
  color: #ffffff;
}

.about-card-title {
  font-size: 18px;
  font-weight: 700;
  line-height: 1.3;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.5);
}

/* 矢印アイコン（丸枠付き） */
.about-card-arrow {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.8);
  background-color: rgba(0, 0, 0, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  flex-shrink: 0;
  margin-left: 8px;
  transition: background-color 0.3s ease, transform 0.3s ease;
}

.about-card:hover .about-card-arrow {
  background-color: #ffffff;
  color: #5b8ac7;
  transform: translateX(3px);
}

/* レスポンシブ (タブレット・スマホ表示) */
@media screen and (max-width: 850px) {
  .about-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  /* スマホ・タブレットでは普通のグリッド表示に崩す */
  .card-tall-left,
  .card-tall-right {
    grid-row: auto;
    grid-column: auto;
    min-height: 160px;
  }
  
  .about-card {
    min-height: 160px;
  }
}

@media screen and (max-width: 550px) {
  .about-grid {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .about-card {
    min-height: 160px;
  }

  .about-card-title {
    font-size: 16px;
  }
}



/* ==========================================
   RECRUIT セクション
========================================== */
.recruit-section {
  padding: 100px 20px;
  background-color: #ffffff;
}

.recruit-container {
  max-width: 1100px;
  margin: 0 auto;
}

.recruit-wrapper {
  position: relative;
  display: flex;
  width: 100%;
  height: 380px;
  border-radius: 190px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
}

.recruit-card {
  position: relative;
  width: 50%;
  height: 100%;
  display: block;
  text-decoration: none;
  color: #333333;
}

.recruit-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  transition: transform 0.5s ease;
}

.recruit-card:hover .recruit-bg {
  transform: scale(1.05);
}

.recruit-content {
  position: absolute;
  inset: 0;
  z-index: 2;
}

/* ------------------------------------------
   バッジ共通の基礎設定
------------------------------------------ */
.recruit-badge {
  position: absolute;
  display: inline-block;
  white-space: nowrap;
  color: #ffffff;
  font-weight: 700;
  letter-spacing: 0.05em;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}


/* ------------------------------------------
   【左側】医師・職員（個別設定）
------------------------------------------ */
/* 左バッジの設定 */
.badge-doctor {
  top: 90px;                  /* 上位置 */
  left: -30px;                 /* 左位置 */
  background-color: #e8527a;  /* ピンク背景 */
  font-size: 24px;            /* 文字サイズ */
  padding: 18px 32px 18px 60px;         /* 余白 */
  border-radius: 40px;        /* 角丸 */
}

/* 左コピーの位置設定 */
.card-left .recruit-copy {
  position: absolute;
  top: 180px;
  left: 40px;
  text-align: left;
}

/* 左矢印ボタンの位置設定 */
.card-left .recruit-arrow-btn {
  position: absolute;
  top: 250px;
  left: 40px;
}


/* ------------------------------------------
   【右側】看護職員（個別設定）
------------------------------------------ */
/* 右バッジの設定 */
.badge-nurse {
  top: 90px;                  /* 上位置 */
  right: -30px;                /* 右位置 */
  background-color: #5b8ac7;  /* ブルー背景 */
  font-size: 24px;            /* 文字サイズ */
  padding: 18px 60px 18px 32px;         /* 余白 */
  border-radius: 40px;        /* 角丸 */
}

/* 右コピーの位置設定 */
.card-right .recruit-copy {
  position: absolute;
  top: 180px;
  right: 40px;
  text-align: right;
}

/* 右矢印ボタンの位置設定 */
.card-right .recruit-arrow-btn {
  position: absolute;
  top: 250px;
  right: 40px;
}


/* ------------------------------------------
   コピー・矢印 共通設定
------------------------------------------ */
.recruit-copy {
  font-size: 14px;
  font-weight: 700;
  line-height: 1.6;
  color: #333333;
  margin: 0;
  text-shadow: 0 0 8px rgba(255, 255, 255, 0.9);
  white-space: nowrap;
}

.recruit-arrow-btn {
  width: 44px;
  height: 44px;
  background-color: #ffffff;
  color: #333333;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
  transition: transform 0.3s ease, background-color 0.3s ease, color 0.3s ease;
}

.recruit-arrow-btn span {
  font-size: 22px;
}

.recruit-card:hover .recruit-arrow-btn {
  transform: translateX(5px);
  background-color: #333333;
  color: #ffffff;
}


/* ------------------------------------------
   中央：Recruitバナー
------------------------------------------ */
.recruit-center-box {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 10;
  width: 260px;
  height: 260px;
  background: #ffffff;
  border: 8px solid #dbeafe;
  border-radius: 40px;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  box-sizing: border-box;
}

.center-box-inner {
  padding: 10px;
}

.center-eng-title {
  position: relative;
  margin-bottom: 12px;
}

.center-eng-title .sub-text {
  display: block;
  font-size: 13px;
  font-weight: 700;
  color: #333333;
  letter-spacing: 0.1em;
}

.center-eng-title .script-text {
  font-family: 'Arizonia', cursive;
  font-size: 120px;
  color: #5b8ac7;
  position: absolute;
  top: 50px;
  left: -60px;
  transform: translate(-50%, -55%);
  width: 100%;
  pointer-events: none;
  font-weight: 400;
  line-height: 1;
}

.center-catch {
  font-size: 18px;
  font-weight: 700;
  color: #333;
  line-height: 1.4;
  margin: 80px 0 0 0;
  letter-spacing: 0.05em;
}


/* ------------------------------------------
   レスポンシブ対応
------------------------------------------ */
@media screen and (max-width: 992px) {
  .recruit-wrapper {
    height: auto;
    flex-direction: column;
    border-radius: 40px;
  }

  .recruit-card {
    width: 100%;
    min-height: 280px;
  }

  .recruit-content {
    position: relative;
    padding: 40px 30px;
  }

  .badge-doctor,
  .badge-nurse,
  .card-left .recruit-copy,
  .card-left .recruit-arrow-btn,
  .card-right .recruit-copy,
  .card-right .recruit-arrow-btn {
    position: static;
    margin-bottom: 16px;
  }

  .recruit-center-box {
    position: relative;
    top: auto;
    left: auto;
    transform: none;
    margin: -30px auto 30px;
    width: 220px;
    height: 220px;
  }
}

/* ==========================================
   フッター セクション
========================================== */
.footer {
  background-color: #f7f7f7;
  color: #444444;
  font-size: 13px;
  line-height: 1.6;
  padding: 100px 20px 30px;
}

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

/* ------------------------------------------
   上段：サイトマップ（3列グリッド）
------------------------------------------ */
.footer-nav-grid {
  display: grid;
  grid-template-columns: 240px 1fr 280px;
  gap: 40px;
  margin-bottom: 40px;
}

.footer-block {
  margin-bottom: 24px;
}

.footer-heading {
  font-size: 16px;
  font-weight: 700;
  color: #333333;
  margin: 0 0 10px 0;
  display: flex;
  align-items: center;
}

.footer-heading::before {
  content: "■";
  color: #5b8ac7;
  font-size: 11px;
  margin-right: 6px;
}

.footer-sub-heading {
  font-size: 13px;
  font-weight: 700;
  color: #555555;
  margin: 0 0 8px 0;
}

.footer-sub-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

/* ------------------------------------------
   リンク一覧リスト（他CSSの上書き防止処理）
------------------------------------------ */
.footer-list {
  list-style: none !important;
  padding: 0 !important;
  margin: 0 !important;
}

.footer-list li {
  margin-bottom: 6px !important;
  font-size: 13px !important;
  line-height: 1.5 !important;
}

.footer-list li a,
.footer-list-dash li a {
  color: #555555 !important; /* テキスト色を確実に適用 */
  font-size: 14px !important;
  text-decoration: none !important;
  display: inline-block;
  transition: color 0.2s ease;
}

.footer-list li a:hover,
.footer-list-dash li a:hover {
  color: #5b8ac7 !important;
  text-decoration: underline !important;
}

/* 診療科のハイフン付きリスト */
.footer-list-dash li {
  position: relative !important;
  padding-left: 10px !important;
}

.footer-list-dash li::before {
  content: "-" !important;
  position: absolute !important;
  left: 0 !important;
  color: #666666 !important;
}

/* Facebook バナー */
.footer-facebook-banner a {
  display: block;
  background-color: #3b5998;
  color: #ffffff;
  text-decoration: none;
  padding: 12px 16px;
  border-radius: 4px;
  text-align: center;
  transition: opacity 0.2s ease;
}

.footer-facebook-banner a:hover {
  opacity: 0.9;
}

.footer-facebook-banner .fb-sub {
  display: block;
  font-size: 11px;
  letter-spacing: 0.05em;
}

.footer-facebook-banner .fb-main {
  display: block;
  font-size: 22px;
  font-weight: 700;
  font-family: Arial, sans-serif;
  line-height: 1.1;
}

/* 区切り線 */
.footer-divider {
  border: none;
  border-top: 1px solid #e0e0e0;
  margin: 0 0 40px 0;
}

/* ------------------------------------------
   下段：病院情報 & クレジットカード
------------------------------------------ */
.footer-info-wrapper {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 30px;
  margin-bottom: 40px;
}

/* 左側：病院ロゴ・住所 */
.footer-hospital-info {
  flex: 1;
  max-width: 450px;
}

.footer-logo img {
  max-width: 320px;
  height: auto;
  margin-bottom: 16px;
}

.footer-address {
  font-style: normal;
  color: #666666;
  font-size: 12px;
  line-height: 1.7;
  margin-bottom: 20px;
}

.footer-address p {
  margin: 0;
}

.address-text {
  display: flex;
  align-items: center;
  gap: 4px;
}

.map-pin-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;                  /* 円の幅 */
  height: 36px;                 /* 円の高さ */
  border: 1px solid #999999;    /* 丸い罫枠の色 */
  border-radius: 50%;           /* 完全な正円にする */
  font-size: 18px;              /* ピンアイコン自体のサイズ */
  color: #555555;               /* ピンの色 */
  vertical-align: middle;
  margin-left: 6px;             /* 住所文字との間隔 */
  box-sizing: border-box;
}
/* 注意事項（禁煙・撮影禁止：罫枠付き） */
.footer-notices {
  display: flex;
  gap: 12px;
}

.notice-item {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 12px;
  font-weight: 700;
  color: #444444;
  line-height: 1.4;
  background-color: #f2f2f2;
  border: 1px solid #dcdcdc; /* 薄いグレーの罫枠 */
  border-radius: 6px;        /* 角丸 */
  padding: 8px 14px;         /* 余白 */
  flex: 1;                   /* 幅均等 */
}

.notice-icon {
  width: 50px;
  height: 50px;
  flex-shrink: 0;
}

/* 右側：各種クレジット対応カード表示枠 */
.footer-credit-card-box {
  background-color: #ffffff;
  border-radius: 12px;
  padding: 24px 30px;
  
  max-width: 520px;
  width: 100%;
  box-sizing: border-box;
}

.credit-title {
  font-size: 15px;
  font-weight: 700;
  color: #333333;
  margin: 0 0 16px 0;
}

.credit-card-list {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
}

.credit-card-list img {
  height: 40px; /* 画像の高さ */
  width: auto;
  object-fit: contain;
}

/* ------------------------------------------
   ボトム：ナビリンク & コピーライト
------------------------------------------ */
.footer-bottom {
  text-align: center;
  border-top: 1px solid #eee;
  padding-top: 24px;
}

.footer-bottom-links {
  list-style: none;
  padding: 0;
  margin: 0 0 12px 0;
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 20px;
}

.footer-bottom-links a {
  color: #666666 !important;
  text-decoration: none !important;
  font-size: 12px !important;
}

.footer-bottom-links a:hover {
  text-decoration: underline !important;
}

.copyright {
  font-size: 11px;
  color: #888888;
  margin: 0;
}

/* ------------------------------------------
   レスポンシブ対応
------------------------------------------ */
@media screen and (max-width: 900px) {
  .footer-nav-grid {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .footer-info-wrapper {
    flex-direction: column;
  }

  .footer-credit-card-box {
    max-width: 100%;
  }
}

/* ==========================================
   ハンバーガーボタンのアニメーション & 閉じる変換
========================================== */
.menu-btn {
  position: relative;
  z-index: 10001; /* メニューの上に出す */
  background: transparent;
  border: none;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 8px;
}

.menu-icon-wrap {
  width: 28px;
  height: 20px;
  position: relative;
}

.menu-icon-wrap span {
  display: block;
  position: absolute;
  height: 2px;
  width: 100%;
  background-color: #333333;
  border-radius: 2px;
  transition: transform 0.3s ease, opacity 0.3s ease, top 0.3s ease;
}

.menu-icon-wrap span:nth-child(1) { top: 0; }
.menu-icon-wrap span:nth-child(2) { top: 9px; }
.menu-icon-wrap span:nth-child(3) { top: 18px; }

.menu-text {
  font-size: 11px;
  font-weight: 700;
  color: #333333;
  margin-top: 10px;
}

/* 開いたときの「✕ 閉じる」アニメーション */
.menu-btn.is-active .menu-icon-wrap span:nth-child(1) {
  top: 9px;
  transform: rotate(45deg);
}

.menu-btn.is-active .menu-icon-wrap span:nth-child(2) {
  opacity: 0;
}

.menu-btn.is-active .menu-icon-wrap span:nth-child(3) {
  top: 9px;
  transform: rotate(-45deg);
}


/* ==========================================
   フルスクリーン ドロワーメニュー (SP Overlay)
========================================== */
.sp-menu-overlay {
  position: fixed;
  inset: 0;
  z-index: 10000;
  background-color: #f7f6f2; /* スクショのような温かみのある薄ベージュ背景 */
  overflow-y: auto;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}

.sp-menu-overlay.is-open {
  opacity: 1;
  visibility: visible;
}

.sp-menu-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 100px 0px 60px;
  display: grid;
  grid-template-columns: 320px 1fr;
  gap: 60px;
}

/* ------------------------------------------
   左側：病院情報 & バナーエリア
------------------------------------------ */
.sp-menu-left {
  border-right: 1px solid #e2ded5;
  padding-right: 40px;
}

.sp-menu-logo img {
  max-width: 220px;
  height: auto;
  margin-bottom: 24px;
}

.sp-menu-catch p {
  font-size: 20px;
  font-weight: 700;
  color: #5b8ac7;
  line-height: 1.4;
  margin-bottom: 30px;
  letter-spacing: 0.05em;
}

.sp-menu-address {
  font-size: 13px;
  color: #555555;
  margin-bottom: 24px;
}

.sp-menu-address p { margin: 0 0 4px 0; }

.sp-menu-address .tel-main {
  font-size: 16px;
  font-weight: 700;
  color: #333333;
  display: flex;
  align-items: center;
  gap: 6px;
  margin: 8px 0;
}

.sp-menu-action-links {
  display: flex;
  gap: 12px;
  margin-bottom: 30px;
}

.btn-sub-link {
  font-size: 12px;
  color: #333333;
  text-decoration: underline;
  font-weight: 700;
}

/* 採用バナー */
.sp-menu-banners {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.drawer-banner-item {
  background: #ffffff;
  border: 1px solid #dcdcdc;
  border-radius: 8px;
  padding: 12px 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  text-decoration: none;
  color: #333333;
  font-size: 13px;
  font-weight: 700;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.03);
  transition: transform 0.2s ease, border-color 0.2s ease;
}

.drawer-banner-item:hover {
  transform: translateY(-2px);
  border-color: #5b8ac7;
}

.drawer-banner-item .icon-ext {
  font-size: 16px;
  color: #888888;
}

/* ------------------------------------------
   右側：検索・クイックアクセス・サイトマップ
------------------------------------------ */
.sp-menu-top-bar {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 30px;
}

.sp-search-box {
  flex: 1;
  display: flex;
  align-items: center;
  background: #ffffff;
  border-radius: 30px;
  padding: 4px 6px 4px 16px;
  border: 1px solid #dcdcdc;
}

.sp-search-box input {
  border: none;
  outline: none;
  width: 100%;
  font-size: 14px;
  background: transparent;
}

.btn-search-submit {
  background-color: #5b8ac7;
  color: #ffffff;
  border: none;
  padding: 8px 20px;
  border-radius: 20px;
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
  white-space: nowrap;
}

.btn-reserve-top {
  background-color: #4ba2be;
  color: #ffffff;
  text-decoration: none;
  padding: 10px 24px;
  border-radius: 30px;
  font-size: 16px;
  font-weight: 700;
  white-space: nowrap;
}

/* 丸アイコンクイックボタン */
.sp-quick-nav {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 12px;
  margin-bottom: 40px;
}

.quick-nav-item {
  background: #ffffff;
  border-radius: 12px;
  padding: 30px 8px;
  text-align: center;
  text-decoration: none;
  color: #333333;
  font-size: 16px;
  font-weight: 700;
  box-shadow: 0 2px 8px rgba(0,0,0,0.04);
}

.quick-icon {
  width: 64px;
  height: 64px;
  background-color: #e8f0fe;
  color: #5b8ac7;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
}

.quick-nav-item.danger .quick-icon {
  background-color: #fde8e8;
  color: #e53e3e;
}

/* サイトマップグリッド */
.sp-sitemap-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
}

.sitemap-heading-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid #333333;
  padding-bottom: 6px;
  margin-bottom: 12px;
}

.sitemap-heading {
  font-size: 18px;
  font-weight: 700;
  color: #333333;
  margin: 0;
}

.sitemap-department-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.sp-sitemap-grid ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.sp-sitemap-grid li {
  margin-bottom: 8px;
  font-size: 16px;
}

.sp-sitemap-grid a {
  color: #444444;
  text-decoration: none;
}

.sp-sitemap-grid a:hover {
  color: #5b8ac7;
  text-decoration: underline;
}

.sitemap-block {
  margin-bottom: 24px;
}

/* ------------------------------------------
   レスポンシブ (スマホ表示時)
------------------------------------------ */
@media screen and (max-width: 900px) {
  .sp-menu-container {
    grid-template-columns: 1fr;
    padding: 100px 20px 30px;
    gap: 40px;
  }

  .sp-menu-left {
    border-right: none;
    border-bottom: 1px solid #e2ded5;
    padding-right: 0;
    padding-bottom: 30px;
  }

  .sp-quick-nav {
    grid-template-columns: repeat(3, 1fr);
  }

  .sp-sitemap-grid {
    grid-template-columns: 1fr;
  }
}

/* ==========================================
   メニュー右上 固定「✕ 閉じる」ボタン（CSS線で作成）
========================================== */
.sp-menu-close-btn {
  position: absolute !important;
  top: 0 !important;
  right: 0 !important;
  width: 80px !important;
  height: 80px !important;
  background-color: #5b8ac7 !important; /* 青背景 */
  border: none !important;
  cursor: pointer !important;
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
  justify-content: center !important;
  z-index: 10002 !important;
  padding: 10px !important;
  box-sizing: border-box !important;
}

/* アイコン枠（ハンバーガー線と同サイズ） */
.sp-menu-close-btn .close-icon-wrap {
  width: 26px !important;
  height: 18px !important;
  position: relative !important;
  margin-bottom: 4px !important;
}

/* 2本の白線で「✕」を形成（ハンバーガー線のスタイルと統一） */
.sp-menu-close-btn .close-icon-wrap span {
  display: block !important;
  position: absolute !important;
  height: 2px !important; /* ハンバーガー線の太さ */
  width: 100% !important;
  background-color: #ffffff !important; /* 白色 */
  border-radius: 2px !important;
  top: 8px !important; /* 中央に配置 */
}

/* 1本目を45度回転 */
.sp-menu-close-btn .close-icon-wrap span:nth-child(1) {
  transform: rotate(45deg) !important;
}

/* 2本目を-45度回転 */
.sp-menu-close-btn .close-icon-wrap span:nth-child(2) {
  transform: rotate(-45deg) !important;
}

/* 「閉じる」テキスト */
.sp-menu-close-btn .close-text {
  color: #ffffff !important;
  font-size: 11px !important;
  font-weight: 700 !important;
  line-height: 1 !important;
  letter-spacing: 0.05em !important;
  margin-top: 10px;
}

.sp-menu-close-btn:hover {
  opacity: 0.9;
}
/* ==========================================
   ドロワーメニュー内 完全版サイトマップ（テキストサイズ・スタイル強制適用）
========================================== */

/* 3列レイアウトへの拡張 */
.sp-menu-overlay .sp-sitemap-full-grid {
  display: grid !important;
  grid-template-columns: 220px 1fr 240px !important;
  gap: 30px !important;
}

/* ■付き 大見出し */
.sp-menu-overlay .sitemap-col .sitemap-heading {
  font-size: 14px !important;
  font-weight: 700 !important;
  color: #333333 !important;
  margin: 0 0 10px 0 !important;
  display: flex !important;
  align-items: center !important;
  line-height: 1.4 !important;
}

.sp-menu-overlay .sitemap-col .sitemap-heading::before {
  content: "■" !important;
  color: #5b8ac7 !important;
  font-size: 10px !important;
  margin-right: 6px !important;
}

/* サブ見出し（診療科について、医療機能 など） */
.sp-menu-overlay .sitemap-sub-heading {
  font-size: 13px !important;
  font-weight: 700 !important;
  color: #555555 !important;
  margin: 14px 0 6px 0 !important;
}

.sp-menu-overlay .sitemap-sub-heading a {
  color: #333333 !important;
  text-decoration: none !important;
}

/* 診療科 2列レイアウト */
.sp-menu-overlay .sitemap-dept-2col {
  display: grid !important;
  grid-template-columns: 1fr 1fr !important;
  gap: 16px !important;
}

/* 通常リスト & ハイフン付きリストの共通設定 */
.sp-menu-overlay .sitemap-list,
.sp-menu-overlay .sitemap-list-dash {
  list-style: none !important;
  padding: 0 !important;
  margin: 0 !important;
}

.sp-menu-overlay .sitemap-list li {
  margin-bottom: 6px !important;
  font-size: 12px !important;
  line-height: 1.5 !important;
}

.sp-menu-overlay .sitemap-list a {
  color: #555555 !important;
  text-decoration: none !important;
  font-size: 16px;
}

/* ハイフン（-）付きリスト設定 */
.sp-menu-overlay .sitemap-list-dash li {
  position: relative !important;
  padding-left: 10px !important;
  font-size: 12px !important;
  margin-bottom: 6px !important;
  line-height: 1.5 !important;
}

.sp-menu-overlay .sitemap-list-dash li::before {
  content: "-" !important;
  position: absolute !important;
  left: 0 !important;
  color: #888888 !important;
}

.sp-menu-overlay .sitemap-list-dash a {
  color: #555555 !important;
  text-decoration: none !important;
}

.sp-menu-overlay a:hover {
  color: #5b8ac7 !important;
  text-decoration: underline !important;
}

/* Facebook バナー */
.sp-menu-overlay .drawer-facebook-banner a {
  display: block !important;
  background-color: #3b5998 !important;
  color: #ffffff !important;
  text-decoration: none !important;
  padding: 12px 16px !important;
  border-radius: 6px !important;
  text-align: center !important;
  margin-top: 12px !important;
}

.sp-menu-overlay .drawer-facebook-banner .fb-sub {
  display: block !important;
  font-size: 11px !important;
  margin-bottom: 2px !important;
}

.sp-menu-overlay .drawer-facebook-banner .fb-main {
  display: block !important;
  font-size: 20px !important;
  font-weight: 700 !important;
  font-family: Arial, sans-serif !important;
}

/* スマホ表示時のレスポンシブ切り替え */
@media screen and (max-width: 900px) {
  .sp-menu-overlay .sp-sitemap-full-grid {
    grid-template-columns: 1fr !important;
    gap: 24px !important;
  }
}

/* ==========================================
   ドロワー左側（病院情報＆バナーエリア）スタイル強制適用
========================================== */

/* 左側ブロック枠線・余白 */
.sp-menu-overlay .sp-menu-left {
  border-right: 1px solid #e2ded5 !important;
  padding-right: 40px !important;
}

/* ロゴ */
.sp-menu-overlay .sp-menu-logo img {
  max-width: 220px !important;
  height: auto !important;
  margin-bottom: 24px !important;
}

/* キャッチコピー */
.sp-menu-overlay .sp-menu-catch p {
  font-size: 32px !important;
  font-weight: 700 !important;
  color: #5b8ac7 !important;
  line-height: 1.4 !important;
  margin: 0 0 30px 0 !important;
  letter-spacing: 0.05em !important;
}

/* 住所エリアテキスト */
.sp-menu-overlay .sp-menu-address {
  font-size: 13px !important;
  color: #555555 !important;
  margin-bottom: 24px !important;
}

.sp-menu-overlay .sp-menu-address p {
  font-size: 16px !important;
  margin: 0 0 4px 0 !important;
  line-height: 1.5 !important;
}

/* 電話番号（大きめ指定） */
.sp-menu-overlay .sp-menu-address .tel-main {
  font-size: 30px !important;
  font-weight: 700 !important;
  color: #333333 !important;
  display: flex !important;
  align-items: center !important;
  gap: 6px !important;
  margin: 8px 0 !important;
}

/* サブリンク（お知らせ一覧等） */
.sp-menu-overlay .sp-menu-action-links {
  display: flex !important;
  gap: 12px !important;
  margin-bottom: 30px !important;
}

.sp-menu-overlay .btn-sub-link {
  font-size: 14px !important;
  color: #333333 !important;
  text-decoration: underline !important;
  font-weight: 700 !important;
}

/* 採用バナー一覧 */
.sp-menu-overlay .sp-menu-banners {
  display: flex !important;
  flex-direction: column !important;
  gap: 10px !important;
}

.sp-menu-overlay .drawer-banner-item {
  background: #ffffff !important;
  border: 1px solid #dcdcdc !important;
  border-radius: 8px !important;
  padding: 12px 16px !important;
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  text-decoration: none !important;
  color: #333333 !important;
  font-size: 13px !important;
  font-weight: 700 !important;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.03) !important;
  transition: transform 0.2s ease, border-color 0.2s ease !important;
}

.sp-menu-overlay .drawer-banner-item .banner-title {
  font-size: 16px !important;
  font-weight: 700 !important;
  color: #333333 !important;
}

.sp-menu-overlay .drawer-banner-item .icon-ext {
  font-size: 16px !important;
  color: #888888 !important;
}

/* スマホ表示時 */
@media screen and (max-width: 900px) {
  .sp-menu-overlay .sp-menu-left {
    border-right: none !important;
    border-bottom: 1px solid #e2ded5 !important;
    padding-right: 0 !important;
    padding-bottom: 30px !important;
  }
}



/* ==========================================================
   全体ラッパー（page-wrapper）レスポンシブ対応
========================================================== */
@media screen and (max-width: 768px) {
  .page-wrapper {
    /* 現代的なスマホ全画面高さ指定（アドレスバーの影響を受けない100dvh） */
    height: 50dvh !important;
    
    /* 画面内にコンテンツが収まりきらない場合は自動で縦スクロールを許可 */
    height: auto !important;
    min-height: 50dvh !important;
    overflow-y: auto !important;
    
    /* スムーズなスクロール（iOS対応） */
    -webkit-overflow-scrolling: touch;
  }
}


/* ==========================================================
   ポップアップバナー スマホ（画面下部）配置調整
========================================================== */
@media screen and (max-width: 768px) {
  .popup-cooperation-banner {
    position: fixed !important;
    top: auto !important;           /* PC用の top: 140px を解除 */
    bottom: 16px !important;        /* 画面下部から16px浮かす */
    left: 16px !important;          /* 左右余白を均等に設定 */
    right: 16px !important;
    width: auto !important;          /* max-width制限を解除して全幅化 */
    max-width: none !important;
    padding: 18px 16px 14px !important;
    box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.15) !important; /* 上方向に影をつける */
    z-index: 9999 !important;
  }

  /* 非表示時のスライド移動（下方向にスライドして消える） */
  .popup-cooperation-banner.is-hidden {
    transform: translateY(100%) !important;
    opacity: 0 !important;
    visibility: hidden !important;
  }

  /* スマホでのボタン余白とフォントサイズ調整 */
  .cooperation-btn {
    padding: 10px 12px !important;
    font-size: 12px !important;
  }

  /* 閉じる（×）ボタンの位置・サイズ微調整 */
  .popup-close-btn {
    top: 6px !important;
    right: 6px !important;
    width: 24px !important;
    height: 24px !important;
  }

  .popup-close-btn .material-symbols-outlined {
    font-size: 16px !important;
  }
}

/* ==========================================================
   ファーストビュー（FV）レスポンシブ対応
========================================================== */

/* --- 1024px以下（タブレット・中画面） --- */
@media screen and (max-width: 1024px) {
  .fv-container {
    height: auto !important;
    min-height: auto !important;
  }

  /* スライダーの高さ調整 */
  .fv-slider {
    height: 40vh !important;
    min-height: 260px !important;
    max-height: 400px !important;
  }

  /* ドットナビゲーションの位置調整 */
  .fv-slider-dots {
    bottom: 50px !important;
  }

  /* カードナビゲーション（タブレット向け3列配置） */
  .fv-cards-section {
    margin-top: -20px !important;
    padding: 0 16px 16px !important;
  }

  .fv-cards-grid {
    grid-template-columns: repeat(3, 1fr) !important;
    gap: 12px !important;
  }

  .fv-card {
    padding: 18px 6px 28px !important;
  }

  .fv-card-icon {
    width: 64px !important;
    height: 64px !important;
    margin-bottom: 8px !important;
  }

  .fv-card-icon img {
    width: 36px !important;
    height: 36px !important;
  }

  .fv-card-top-text,
  .fv-card-bottom-text {
    font-size: 0.9rem !important;
  }
}

/* --- 768px以下（スマホ表示） --- */
@media screen and (max-width: 768px) {
  /* ニュースバーの文字サイズ・余白調整 */
  .fv-news-bar {
    padding: 8px 12px !important;
    font-size: 0.75rem !important;
  }

  .fv-news-inner {
    gap: 8px !important;
  }

  .fv-news-date {
    font-size: 0.7rem !important;
  }

  .fv-news-tag {
    font-size: 0.65rem !important;
    padding: 2px 5px !important;
  }

  .fv-news-text {
    font-size: 13px !important;
    animation-duration: 12s !important; /* スマホ用に流れる速度を調整 */
  }

  /* スライダー領域の高さ調整 */
  .fv-slider {
    height: 40vh !important;
    min-height: 400px !important;
  }

  .fv-slider-dots {
    bottom: 40px !important;
    gap: 6px !important;
  }

  .fv-slider-dots .dot {
    width: 8px !important;
    height: 8px !important;
  }

  .fv-slider-dots .pause-icon {
    width: 26px !important;
    height: 26px !important;
    margin-left: 6px !important;
  }

  .fv-slider-dots .pause-icon .material-symbols-outlined {
    font-size: 14px !important;
  }

  /* カードナビゲーション（スマホ向け2列配置・重なり調整） */
  .fv-cards-section {
    margin-top: -15px !important;
    padding: 0 12px 16px !important;
  }

  .fv-cards-grid {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 10px !important;
  }

  .fv-card {
    padding: 14px 6px 24px !important;
  }

  .fv-card-icon {
    width: 52px !important;
    height: 52px !important;
    margin-bottom: 6px !important;
  }

  .fv-card-icon img {
    width: 30px !important;
    height: 30px !important;
  }

  .fv-card-top-text,
  .fv-card-bottom-text {
    font-size: 0.8rem !important;
  }

  .fv-card-arrow {
    width: 22px !important;
    height: 22px !important;
    bottom: -8px !important;
    box-shadow: 0 0 0 3px #f5eedb !important;
  }

  .fv-card-arrow .material-symbols-outlined {
    font-size: 12px !important;
  }
}


/* ==========================================================
   リクルートバナー スマホ（768px以下）サイズ調整
========================================================== */
@media screen and (max-width: 768px) {
  /* バナー全体の表示・配置位置 */
  .fv-recruit-banner {
    display: block !important; /* 非表示を解除 */
    right: 10px !important;
    bottom: 30px !important;
  }

  /* 全体枠の縮小（210px → 120px） */
  .fv-recruit-circle {
    width: 130px !important;
    height: 130px !important;
  }

  /* 青い円の縮小（155px → 88px） */
  .fv-recruit-content {
    width: 90px !important;
    height: 90px !important;
    padding-top: 3px !important;
  }

  /* 回転テキストSVGの文字サイズ・文字間調整 */
  .fv-circle-svg text {
    font-size: 11px !important;
    letter-spacing: 2px !important;
  }

  /* 中央イラストの縮小 */
  .fv-recruit-img {
    width: 40px !important;
    height: 30px !important;
    margin-bottom: 2px !important;
  }

  /* 「RECRUIT」テキストの縮小 */
  .fv-recruit-title {
    font-size: 0.68rem !important;
  }

  /* 区切り線の縮小 */
  .fv-recruit-line {
    width: 35px !important;
    height: 1px !important;
    margin: 2px 0 !important;
  }

  /* 「積極採用中」テキストの縮小 */
  .fv-recruit-sub {
    font-size: 0.52rem !important;
  }
}


/* ==========================================================
   カード型ナビゲーション スマホ時のみ横スライド化（カード大きめ版）
========================================================== */
@media screen and (max-width: 768px) {
  /* セクション全体の余白調整と突き出しの解除 */
  .fv-cards-section {
    margin-top: -15px !important;
    padding: 0 0 24px 0 !important; /* はみ出し矢印・影のために下余白を少し拡大 */
    overflow: hidden; /* はみ出し防止 */
  }

  /* GridからFlex（横スクロール）へ変更 */
  .fv-cards-grid {
    display: flex !important;
    grid-template-columns: none !important;
    overflow-x: auto !important;
    overflow-y: visible !important;
    -webkit-overflow-scrolling: touch; /* iOSでの慣性スクロールを有効化 */
    gap: 14px !important; /* カード同士の間隔を少し広げる */
    padding: 4px 16px 16px 16px !important; /* 内側に上下左右の余白を確保 */
    
    /* スクロールバーの非表示化（IE/Edge） */
    -ms-overflow-style: none;
    /* スクロールバーの非表示化（Firefox） */
    scrollbar-width: none;
  }

  /* スクロールバーの非表示化（Chrome/Safari） */
  .fv-cards-grid::-webkit-scrollbar {
    display: none;
  }

  /* 各カードの幅と縮小防止設定（130px → 155px へ拡大） */
  .fv-card {
    flex: 0 0 155px !important; /* ★カード幅を155pxに拡大 */
    min-width: 155px !important;
    padding: 20px 8px 28px !important; /* 内側のパディング（高さ方向）を拡大 */
  }

  /* アイコンサークルの拡大（56px → 64px） */
  .fv-card-icon {
    width: 64px !important;
    height: 64px !important;
    margin-bottom: 10px !important;
  }

  .fv-card-icon img {
    width: 36px !important;
    height: 36px !important;
  }

  /* テキストサイズ調整（0.8rem → 0.88rem へ拡大） */
  .fv-card-top-text,
  .fv-card-bottom-text {
    font-size: 0.88rem !important;
  }

  /* 下部矢印ボタンのサイズ調整 */
  .fv-card-arrow {
    width: 24px !important;
    height: 24px !important;
    bottom: -9px !important;
    box-shadow: 0 0 0 3px #f5eedb !important;
  }

  .fv-card-arrow .material-symbols-outlined {
    font-size: 13px !important;
  }
}


/* ==========================================================
   ドットナビゲーション スマホ時：画面左側の縦並び配置
========================================================== */
@media screen and (max-width: 768px) {
  .fv-slider-dots {
    /* 位置の基準を中央下から左側中央へ変更 */
    left: 16px !important;            /* 左端からの距離 */
    top: 40% !important;              /* 縦中央へ */
    bottom: auto !important;          /* 下位置指定を解除 */
    transform: translateY(-50%) !important; /* Y軸中央寄せ */

    /* 横並びから縦並びへ変更 */
    flex-direction: column !important;
    gap: 10px !important;             /* ドット同士の間隔 */
    z-index: 10 !important;
  }

  /* ドット自体のサイズ調整 */
  .fv-slider-dots .dot {
    width: 8px !important;
    height: 8px !important;
  }

  /* 一時停止・再生ボタンの余白調整 */
  .fv-slider-dots .pause-icon {
    margin-left: 0 !important;
    margin-top: 6px !important;        /* 縦並び用に上マージンへ変更 */
    width: 28px !important;
    height: 28px !important;
  }

  .fv-slider-dots .pause-icon .material-symbols-outlined {
    font-size: 14px !important;
  }
}

/* ==========================================================
   診療情報・案内エリア（info-section）レスポンシブ対応
========================================================== */

/* --- タブレットサイズ（960px以下） --- */
@media screen and (max-width: 960px) {
  .info-section {
    padding: 0px 20px 80px !important;
  }

  /* 左右並びを縦並びへ変更 */
  .info-container {
    flex-direction: column !important;
    gap: 20px !important;
  }

  /* 右側のボタン群をグリッド状（または横並び）にして収まりを良くする */
  .info-right-buttons {
    display: grid !important;
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 12px !important;
  }

  /* 右側ボタンが偶数でない場合の調整（3つ目のボタンを全幅化） */
  .info-sub-btn:nth-child(3) {
    grid-column: span 2 !important;
  }
}

/* --- スマホサイズ（600px以下） --- */
@media screen and (max-width: 600px) {
  .info-section {
    padding: 0px 20px 60px !important;
  }

  /* 左側ボックスの内側余白調整 */
  .info-upper-content {
    flex-direction: column !important;
    padding: 16px !important;
    gap: 20px !important;
  }

  /* 診療時間テキストの最適化 */
  .hours-time {
    font-size: 24px !important;
  }

  .hours-time span {
    font-size: 16px !important;
  }

  /* 休診日エリアの境界線変更（左線から上線へ） */
  .holiday-block {
    border-left: none !important;
    border-top: 1px solid #eeeeee !important;
    padding-left: 0 !important;
    padding-top: 20px !important;
  }

  /* 電話番号・連絡先枠の調整 */
  .holiday-contact-wrap {
    padding: 14px 12px !important;
  }

  .holiday-phone-number {
    font-size: 22px !important;
  }

  /* 左下の一面リンクバー */
  .info-bottom-bar {
    padding: 14px 12px !important;
    font-size: 16px !important;
  }

  /* 右側ボタンエリアを1列で縦に並べる */
  .info-right-buttons {
    grid-template-columns: 1fr !important;
    gap: 10px !important;
  }

  .info-sub-btn:nth-child(3) {
    grid-column: span 1 !important;
  }

  .info-sub-btn {
    padding: 12px 16px !important;
  }

  .info-sub-icon {
    width: 42px !important;
    height: 42px !important;
    margin-right: 12px !important;
  }

  .info-sub-icon img {
    width: 24px !important;
    height: 24px !important;
  }

  .info-sub-text {
    font-size: 14px !important;
  }
}

/* スマホ (〜600px): 2列表示 ＋ カード内縦積み（上下並び） */
@media screen and (max-width: 600px) {
  .department-section {
    padding: 60px 20px !important;
  }

  .dep-eng-title {
    font-size: 28px !important;
  }

  .dep-jp-title {
    font-size: 16px !important;
  }

  /* 2列レイアウトを維持 */
  .department-grid {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 16px 14px !important;
    padding-right: 8px !important; /* 右側矢印の飛び出し用 */
  }

  /* カード要素を縦積み（column）に変更 */
  .dep-card {
    flex-direction: column !important; /* アイコンとテキストを上下並びに */
    align-items: center !important;    /* 中央揃え */
    text-align: center !important;     /* テキスト中央寄せ */
    padding: 16px 8px 16px 8px !important; /* 上下均等な余白へ調整 */
    min-height: 110px !important;       /* 縦積み用の高さ確保 */
    border-radius: 14px !important;
  }

  /* 上部アイコンのサイズ・余白調整 */
  .dep-icon {
    width: 60px !important;
    height: 60px !important;
    padding: 8px !important;
    margin-right: 0 !important;      /* 横マージンを解除 */
    margin-bottom: 8px !important;   /* 下に余白を設定 */
    border-radius: 12px !important;
  }

  /* テキストエリアの揃え設定 */
  .dep-text-wrap {
    align-items: center !important;
  }

  /* 診療科名テキスト */
  .dep-name {
    font-size: 16px !important;
    line-height: 1.3 !important;
  }

  .dep-subtext {
    font-size: 12px !important;
    margin-top: 2px !important;
  }

  /* 右端矢印ボタンのサイズと位置の微調整 */
  .dep-arrow {
    width: 26px !important;
    height: 26px !important;
    font-size: 11px !important;
    border-width: 2px !important;
    right: -10px !important;
  }

  .dep-card:hover .dep-arrow {
    right: -12px !important;
  }
}

/* 超小型スマホ (〜360px): さらに小さく微調整 */
@media screen and (max-width: 360px) {
  .department-grid {
    gap: 12px 10px !important;
  }

  .dep-card {
    padding: 12px 4px 12px 4px !important;
    min-height: 100px !important;
  }

  .dep-icon {
    width: 40px !important;
    height: 40px !important;
    margin-bottom: 6px !important;
  }

  .dep-name {
    font-size: 12px !important;
  }
}


/* ==========================================
   STRENGTHS セクション スマホ時のみ横スライド化
========================================== */

/* タブレット (〜960px) */
@media screen and (max-width: 960px) {
  .strengths-section {
    padding: 80px 20px !important;
  }

  .strengths-container {
    max-width: 100% !important;
  }

  .strengths-eng-title {
    font-size: 28px !important;
  }

  .strengths-jp-title {
    font-size: 24px !important;
  }

  .strengths-grid {
    gap: 20px !important;
  }

  .strength-card {
    height: 240px !important;
  }
}

/* スマホ (〜768px): 横スライド化 */
@media screen and (max-width: 768px) {
  .strengths-section {
    padding: 50px 0 60px 0 !important; /* 横スクロール領域を画面いっぱいに広げるため左右パディングを0に */
    overflow: hidden;
  }

  .strengths-header {
    margin-bottom: 24px !important;
    padding: 0 16px !important; /* タイトル部分の左右余白を維持 */
  }

  .strengths-eng-title {
    font-size: 28px !important;
    margin-bottom: 6px !important;
  }

  .strengths-jp-title {
    font-size: 20px !important;
    line-height: 1.4 !important;
  }

  /* GridからFlex（横スクロール）へ変更 */
  .strengths-grid {
    display: flex !important;
    grid-template-columns: none !important;
    overflow-x: auto !important;
    overflow-y: visible !important;
    -webkit-overflow-scrolling: touch; /* iOSでの慣性スクロール */
    gap: 14px !important;
    padding: 4px 16px 20px 16px !important; /* カードの影や下部余白用 */
    margin-bottom: 20px !important;

    /* スクロールバー非表示化（IE/Edge/Firefox） */
    -ms-overflow-style: none;
    scrollbar-width: none;
  }

  /* スクロールバー非表示化（Chrome/Safari） */
  .strengths-grid::-webkit-scrollbar {
    display: none;
  }

  /* 1枚のカード幅を固定して横スライド化（280px） */
  .strength-card {
    flex: 0 0 180px !important;
    min-width: 300px !important;
    height: 360px !important; /* テキスト領域確保のため高さを調整 */
    border-radius: 10px !important;
  }

  /* 左側ピンク縦帯ラベル */
  .card-label {
    width: 50px !important;
    font-size: 18px !important;
    letter-spacing: 0.05em !important;
  }

  .card-label .num {
    margin-bottom: 4px !important;
  }

  /* テキスト・グラデーション領域 */
  .card-overlay {
    padding: 14px 16px !important;
    background: linear-gradient(
      to top,
      rgba(0, 0, 0, 0.8) 0%,
      rgba(0, 0, 0, 0.25) 70%,
      rgba(0, 0, 0, 0) 100%
    ) !important;
  }

  .card-title {
    font-size: 16px !important;
    margin-bottom: 4px !important;
  }

  .card-desc {
    font-size: 14px !important;
    line-height: 1.4 !important;
  }

  /* 下部ボタン */
  .strengths-btn-wrap {
    padding: 0 16px !important;
  }

  .strengths-btn {
    width: 220px !important;
    height: 48px !important;
    font-size: 14px !important;
    padding: 0 4px 0 20px !important;
  }

  .btn-arrow {
    width: 36px !important;
    height: 36px !important;
    font-size: 16px !important;
  }
}

/* 超小型スマホ (〜360px): カードサイズ微調整 */
@media screen and (max-width: 360px) {
  .strength-card {
    flex: 0 0 250px !important;
    min-width: 250px !important;
    height: 200px !important;
  }

  .card-title {
    font-size: 14px !important;
  }

  .card-desc {
    font-size: 11px !important;
  }
}

/* ==========================================
   NEWS セクション レスポンシブ対応
========================================== */

/* タブレット (〜992px) */
@media screen and (max-width: 992px) {
  .news-section {
    padding: 60px 20px !important;
  }

  /* お知らせとFacebookを1列（縦並び）に変更 */
  .news-content-wrapper {
    grid-template-columns: 1fr !important;
    gap: 48px !important;
  }

 .fb-wrapper {
    width: 100% !important;
    max-width: 500px !important;
    margin-left: auto !important;
    margin-right: auto !important;
    display: flex !important;
    justify-content: center !important; /* 中身（iframe）を水平中央揃え */
    align-items: center !important;
    text-align: center !important;
  }
  }

/* スマホ (〜768px) */
@media screen and (max-width: 768px) {
  .news-section {
    padding: 60px 20px !important;
  }

  .news-eng-title {
    font-size: 28px !important;
  }

  .news-jp-title {
    font-size: 16px !important;
  }

  /* カテゴリタブ：はみ出し時に横スクロール可能へ */
  .news-tabs {
    overflow-x: auto !important;
    white-space: nowrap !important;
    -webkit-overflow-scrolling: touch;
    border-bottom: 2px solid #e0e0e0 !important;
    /* スクロールバー非表示 */
    -ms-overflow-style: none;
    scrollbar-width: none;
  }

  .news-tabs::-webkit-scrollbar {
    display: none;
  }

  .tab-btn {
    padding: 10px 16px !important;
    font-size: 13px !important;
  }

  /* お知らせリストアイテムのレイアウト切り替え */
  .news-link {
    flex-wrap: wrap !important;
    position: relative !important;
    padding: 14px 28px 14px 0 !important; /* 右側に矢印用スペースを確保 */
  }

  /* 日付ボックス */
  .news-date {
    width: 80px !important;
    padding: 6px 0 !important;
    border-radius: 4px !important;
    margin-right: 12px !important;
  }

  .news-date .year {
    font-size: 10px !important;
  }

  .news-date .day {
    font-size: 13px !important;
    margin-top: 0 !important;
  }

  /* タグエリア */
  .news-tag-wrap {
    width: auto !important;
    padding-left: 0 !important;
    margin-right: 0 !important;
  }

  .news-tag {
    font-size: 11px !important;
    padding: 3px 10px !important;
  }

  /* タイトル（折り返して2行まで表示可能に設定） */
  .news-title {
    width: 100% !important;
    flex: 0 0 100% !important;
    font-size: 14px !important;
    margin-top: 8px !important;
    padding: 0 !important;
    white-space: normal !important; /* 1行制限を解除 */
    line-height: 1.4 !important;
  }

  /* 右端矢印（絶対配置で右上へ） */
  .news-arrow {
    position: absolute !important;
    right: 0 !important;
    top: 18px !important;
    padding-right: 0 !important;
    font-size: 16px !important;
  }

  /* ボタンの位置 */
  .news-btn-wrap {
    justify-content: center !important; /* スマホ時は中央寄せ */
    margin-top: 24px !important;
  }

  .news-more-btn {
    width: 180px !important;
    height: 46px !important;
    font-size: 13px !important;
  }

  .btn-arrow-wrap {
    width: 36px !important;
    height: 36px !important;
  }

  /* Facebook iframe対応 */
  .fb-wrapper {
    width: 100% !important;
  }

  .fb-wrapper iframe {
    width: 100% !important;
  }
}

/* 超小型スマホ (〜360px) */
@media screen and (max-width: 360px) {
  .news-date {
    width: 70px !important;
  }

  .news-title {
    font-size: 13px !important;
  }
}
/* ==========================================
   タブ起因の画面横ブレ・はみ出し修正コード
========================================== */

/* ページ全体の横揺れ・はみ出しを強制防止 */
html, body {
  overflow-x: hidden !important;
}

.news-section {
  overflow: hidden !important; /* セクション外への溢れをカット */
}

/* タブの親コンテナで幅を固定 */
.news-main {
  width: 100% !important;
  max-width: 100% !important;
  overflow: hidden !important;
}

/* スマホ表示時のタブ領域の挙動を修正 */
@media screen and (max-width: 768px) {
  .news-tabs {
    display: flex !important;
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
    
    /* 横スクロールを内部だけで完結させる設定 */
    overflow-x: auto !important;
    overflow-y: hidden !important;
    white-space: nowrap !important;
    -webkit-overflow-scrolling: touch; /* iOS用スムーズスクロール */
    
    /* 横スクロールバーの非表示 */
    -ms-overflow-style: none;
    scrollbar-width: none;
  }

  .news-tabs::-webkit-scrollbar {
    display: none !important;
  }

  /* タブボタン自体が縮みすぎないように保持 */
  .tab-btn {
    flex-shrink: 0 !important;
  }
}

@media screen and (max-width: 992px) {
  /* 親枠（sidebar）を中央寄せ */
  .news-sidebar {
    width: 100% !important;
    display: flex !important;
    justify-content: center !important;
  }

  /* Facebookを囲む要素 */
  .fb-wrapper {
    width: 100% !important;
    max-width: 500px !important;
    margin: 0 auto !important;
    display: flex !important;
    justify-content: center !important;
    text-align: center !important;
  }

  /* iframe本体およびFacebookの生成タグを強制的にお腹の中央へ移動 */
  .fb-wrapper iframe,
  .fb-wrapper span,
  .fb-wrapper > div {
    display: block !important;
    margin-left: auto !important;
    margin-right: auto !important;
    float: none !important;
  }
}

/* ==========================================
   ABOUT US セクション レスポンシブ調整（2カラム維持）
========================================== */

/* タブレット (〜850px) */
@media screen and (max-width: 850px) {
  .about-section {
    padding: 60px 20px !important;
  }

  .about-eng-title {
    font-size: 28px !important;
  }

  .about-jp-title {
    font-size: 14px !important;
  }

  /* 2列グリッド化（縦長結合を解除） */
  .about-grid {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 16px !important;
  }

  .card-tall-left,
  .card-tall-right {
    grid-row: auto !important;
    grid-column: auto !important;
    min-height: 160px !important;
  }

  .about-card {
    min-height: 160px !important;
  }

  .about-card-title {
    font-size: 16px !important;
  }
}

/* スマホ (〜550px): 2カラム表示を維持 */
@media screen and (max-width: 550px) {
  .about-section {
    padding: 60px 20px !important;
  }

  .about-header {
    margin-bottom: 24px !important;
  }

  .about-eng-title {
    font-size: 28px !important;
  }

  .about-jp-title {
    font-size: 16px !important;
  }

  /* スマホでも2列を維持 */
  .about-grid {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 10px !important;
  }

  /* 2列収まり用のカード高さと角丸調整 */
  .about-card {
    min-height: 160px !important;
    border-radius: 8px !important;
  }

  /* 文字の可読性を上げるグラデーション補正 */
  .about-card-overlay {
    background: linear-gradient(
      to top,
      rgba(0, 0, 0, 0.75) 0%,
      rgba(0, 0, 0, 0.2) 70%,
      rgba(0, 0, 0, 0) 100%
    ) !important;
  }

  .about-card-content {
    padding: 10px 10px !important;
  }

  .about-card-title {
    font-size: 14px !important;
    line-height: 1.3 !important;
  }

  .about-card-arrow {
    width: 22px !important;
    height: 22px !important;
    font-size: 12px !important;
    margin-left: 4px !important;
  }
}

/* 超小型スマホ (〜360px) */
@media screen and (max-width: 360px) {
  .about-grid {
    gap: 8px !important;
  }

  .about-card {
    min-height: 98px !important;
  }

  .about-card-title {
    font-size: 12px !important;
  }

  .about-card-content {
    padding: 8px !important;
  }
}
/* ==========================================
   RECRUIT セクション レスポンシブ非表示設定
========================================== */
@media screen and (max-width: 992px) {
  .recruit-section {
    display: none !important;
  }
}

/* ==========================================
   フッター セクション レスポンシブ対応
========================================== */

/* タブレット (〜900px) */
@media screen and (max-width: 900px) {
  .footer {
    padding: 60px 20px 30px !important;
  }

  /* サイトマップの3列配置を1列化 */
  .footer-nav-grid {
    grid-template-columns: 1fr !important;
    gap: 32px !important;
    margin-bottom: 32px !important;
  }

  /* 病院情報とカード枠を縦並び化 */
  .footer-info-wrapper {
    flex-direction: column !important;
    gap: 32px !important;
  }

  .footer-hospital-info {
    max-width: 100% !important;
  }

  .footer-credit-card-box {
    max-width: 100% !important;
  }
}

/* スマホ (〜768px) */
@media screen and (max-width: 768px) {
  .footer {
    padding: 60px 20px 24px !important;
  }

  /* 診療科等の2列サブグリッドを1列化 */
  .footer-sub-grid {
    grid-template-columns: 1fr !important;
    gap: 16px !important;
  }

  .footer-block {
    margin-bottom: 20px !important;
  }

  /* 病院ロゴ */
  .footer-logo img {
    max-width: 260px !important;
  }

  /* 注意事項（敷地内禁煙・撮影禁止枠） */
  .footer-notices {
    flex-direction: column !important;
    gap: 10px !important;
  }

  .notice-item {
    padding: 10px 12px !important;
  }

  .notice-icon {
    width: 40px !important;
    height: 40px !important;
  }

  /* クレジットカード対応枠 */
  .footer-credit-card-box {
    padding: 20px 16px !important;
  }

  .credit-title {
    font-size: 14px !important;
    margin-bottom: 12px !important;
  }

  .credit-card-list {
    gap: 8px !important;
  }

  .credit-card-list img {
    height: 32px !important; /* 画像サイズをスマホ用に調整 */
  }

  /* ボトムの規約・プライバシー等リンク */
  .footer-bottom-links {
    gap: 12px 12px !important;
    margin-bottom: 16px !important;
  }
}

/* 超小型スマホ (〜480px) */
@media screen and (max-width: 480px) {
  .footer-logo img {
    max-width: 220px !important;
  }

  .credit-card-list img {
    height: 28px !important;
  }

  .footer-bottom-links a {
    font-size: 11px !important;
  }
}
@media screen and (max-width: 768px) {
  /* 2カラム（横並び）を維持 */
  .footer-notices {
    display: flex !important;
    flex-direction: row !important; /* 横並びを指定 */
    gap: 8px !important;            /* カード間の隙間を少し詰める */
    width: 100% !important;
  }

  .notice-item {
    flex: 1 1 0 !important;        /* 均等に50%幅で広げる */
    min-width: 0 !important;       /* テキスト溢れによる崩れを防止 */
    padding: 8px 6px !important;    /* パディングをコンパクトに調整 */
    gap: 6px !important;           /* アイコンと文字の間隔を微調整 */
    font-size: 11px !important;    /* スマホ用にフォントを微小調整 */
    line-height: 1.3 !important;
  }

  .notice-icon {
    width: 32px !important;        /* アイコンサイズをスマホ用に調整 */
    height: 32px !important;
    flex-shrink: 0 !important;
  }
}
/* ==========================================
   リンク色・ボタン文字色の標準化（Safari対策）
========================================== */

/* 1. 通常のテキストリンク（基本色を継承） */
a {
  color: inherit;
  text-decoration: none;
}

/* 2. ボタンやカードなど、白文字を指定している要素の再定義 */
/* ※使用されているボタンのクラス名に合わせて自動適用されます */
.btn,
.news-more-btn,
.about-card,
.footer-facebook-banner a,
.about-card-content,
[class*="btn-"],
[class*="-btn"] {
  color: #ffffff !important;
}

/* 3. ボタンのホバー時や矢印アイコンなどの色変化を保護 */
.about-card-arrow {
  color: #ffffff;
}

.news-more-btn:hover,
.about-card:hover .about-card-arrow {
  /* ホバー時の色変化スタイルを維持 */
}

/* 4. Safariによる自動電話番号リンクの青色化のみピンポイントで防止 */
a[href^="tel"] {
  color: inherit !important;
  text-decoration: none !important;
}
/* ==========================================
   フルスクリーン ドロワーメニュー レスポンシブ最適化
========================================== */

/* タブレット・スマホ全般 (〜900px) */
@media screen and (max-width: 900px) {
  /* 全体コンテナの1列化 */
  .sp-menu-container {
    grid-template-columns: 1fr !important;
    padding: 70px 20px 40px !important;
    gap: 32px !important;
  }

  /* 左側エリアの境界線変更 */
  .sp-menu-overlay .sp-menu-left {
    border-right: none !important;
    border-bottom: 1px solid #e2ded5 !important;
    padding-right: 0 !important;
    padding-bottom: 28px !important;
  }

  /* クイックナビ（5列→3列） */
  .sp-quick-nav {
    grid-template-columns: repeat(3, 1fr) !important;
    gap: 10px !important;
    margin-bottom: 30px !important;
  }

  .quick-nav-item {
    padding: 16px 8px !important;
    font-size: 16px !important;
  }

  .quick-icon {
    width: 48px !important;
    height: 48px !important;
    margin-bottom: 10px !important;
  }

 
  /* サイトマップの1列化 */
  .sp-menu-overlay .sp-sitemap-full-grid {
    grid-template-columns: 1fr !important;
    gap: 20px !important;
  }
}

/* スマホ (〜600px) */
@media screen and (max-width: 600px) {
  .sp-menu-container {
    padding: 100px 20px 30px !important;
  }

  
  /* 検索バーと予約ボタンの縦並び */
  .sp-menu-top-bar {
    flex-direction: column !important;
    align-items: stretch !important;
    gap: 10px !important;
    margin-bottom: 24px !important;
  }

  .btn-reserve-top {
    text-align: center !important;
    padding: 12px !important;
  }

  /* クイックナビ（3列→2列） */
  .sp-quick-nav {
    grid-template-columns: repeat(2, 1fr) !important;
  }

  /* 診療科リストの2列→1列化 */
  .sp-menu-overlay .sitemap-dept-2col {
    grid-template-columns: 1fr !important;
    gap: 8px !important;
  }

  /* 左側エリアフォントサイズ調整 */
  .sp-menu-overlay .sp-menu-logo img {
    max-width: 280px !important;
  }

  .sp-menu-overlay .sp-menu-catch p {
    font-size: 36px !important;
    margin-bottom: 20px !important;
  }

  .sp-menu-overlay .sp-menu-address .tel-main {
    font-size: 30px !important;
  }
}
/* オプトアウトボタン（.btn-outline）の文字色とボーダー指定 */
.btn-outline,
a.btn-outline {
  color: #4a80bc !important;
  border: 1px solid #4a80bc !important;
  background-color: transparent;
}

/* ホバー時の挙動（背景を青にし、文字を白へ） */
.btn-outline:hover,
a.btn-outline:hover {
  background-color: #4a80bc !important;
  color: #ffffff !important;
}

/* NEWSタブ切り替えボタン（非選択時）の文字色復元 */
.tab-btn {
  color: #333333 !important;
  background-color: transparent;
}

/* タブ選択時（active）およびホバー時のみ白文字化 */
.tab-btn.active,
.tab-btn:hover {
  color: #ffffff !important;
}

/* 丸型矢印アイコン（.btn-arrow）の矢印色を青（#5b8ac7）に復元 */
.btn-arrow,
.material-symbols-outlined.btn-arrow {
  color: #5b8ac7 !important;
  background-color: #ffffff;
}

/* ボタンホバー時に親ボタン要素背景に合わせて矢印を反転させる場合（必要に応じて） */
a:hover .btn-arrow,
button:hover .btn-arrow {
  color: #ffffff !important;
  background-color: #5b8ac7 !important;
}

/* 「すべてを見る」ボタン内の矢印アイコン色を青に復元 */
.btn-arrow-wrap,
.btn-arrow-wrap span,
span.btn-arrow-wrap span {
  color: #5b8ac7 !important;
}

/* ボタンホバー時に親要素に合わせて矢印も変化させる場合（必要に応じて） */
.news-more-btn:hover .btn-arrow-wrap span,
a:hover .btn-arrow-wrap span {
  color: #ffffff !important;
}

/* --- 採用カード・矢印ボタンのホバー時反転処理 --- */

/* 矢印エリアの基本スタイル（トランジション追加） */
.recruit-arrow-btn {
  background-color: #ffffff !important;
  transition: background-color 0.3s ease, color 0.3s ease;
}

.recruit-arrow-btn span {
  color: #5b8ac7 !important;
  transition: color 0.3s ease;
}

/* 1. 矢印ボタン自体にホバーした時 */
.recruit-arrow-btn:hover {
  background-color: #5b8ac7 !important;
}

.recruit-arrow-btn:hover span {
  color: #ffffff !important;
}

/* 2. カード全体（.recruit-card-left / .recruit-card-right）にホバーした時 */
.recruit-card-left:hover .recruit-arrow-btn,
.recruit-card-right:hover .recruit-arrow-btn {
  background-color: #5b8ac7 !important;
}

.recruit-card-left:hover .recruit-arrow-btn span,
.recruit-card-right:hover .recruit-arrow-btn span {
  color: #ffffff !important;
}

/* 「詳しく知る」ボタンホバー時も、矢印アイコンの配色（白背景・青矢印）を固定 */
.strengths-btn:hover .btn-arrow,
.btn-arrow,
.btn-arrow:hover {
  background-color: #ffffff !important;
  color: #5b8ac7 !important;
}

/* 中の矢印（Material Symbols）の文字色も青で固定 */
.strengths-btn:hover .btn-arrow span,
.btn-arrow span,
.btn-arrow:hover span {
  color: #5b8ac7 !important;
}

/* 「すべてを見る」ボタンホバー時も、矢印エリア（白背景・青矢印）を固定 */
.news-more-btn:hover .btn-arrow-wrap,
.btn-arrow-wrap {
  background-color: #ffffff !important;
}

.news-more-btn:hover .btn-arrow-wrap span,
.btn-arrow-wrap span,
span.btn-arrow-wrap span {
  color: #5b8ac7 !important;
}

/* 採用カード・矢印ボタン：ホバー時も配色（白背景・青矢印）を固定 */
.recruit-arrow-btn,
.recruit-card-left:hover .recruit-arrow-btn,
.recruit-card-right:hover .recruit-arrow-btn,
.recruit-arrow-btn:hover {
  background-color: #ffffff !important;
}

.recruit-arrow-btn span,
.recruit-card-left:hover .recruit-arrow-btn span,
.recruit-card-right:hover .recruit-arrow-btn span,
.recruit-arrow-btn:hover span {
  color: #5b8ac7 !important;
}

.btn-pill.btn-gray {
    color: #666!important;
}

```css
/* ==========================================
   NEWS タブの文字色
========================================== */

/* 通常時 */
.news-section .news-tabs .tab-btn {
    color: #5b8bc4 !important;
    background-color: transparent !important;
}

/* ホバー時：灰色 */
.news-section .news-tabs .tab-btn:hover {
    color: #888888 !important;
    background-color: transparent !important;
}

/* アクティブ時：青背景＋白文字 */
.news-section .news-tabs .tab-btn.active {
    color: #ffffff !important;
    background-color: #5b8bc4 !important;
}

/* アクティブ状態でマウスを乗せても白文字 */
.news-section .news-tabs .tab-btn.active:hover {
    color: #ffffff !important;
    background-color: #5b8bc4 !important;
}

/* アクティブ時の三角 */
.news-section .news-tabs .tab-btn.active::after {
    border-color: #5b8bc4 transparent transparent transparent !important;
}
```
