/* WIX風完コピ用スタイルシート */
html {
  scroll-behavior: smooth;
}

/* 電話番号リンクのスタイル調整 */
a[href^="tel:"] {
  color: inherit;
  text-decoration: none;
}

/* アンカーリンクのジャンプ位置調整（固定ヘッダー被り防止） */
*[id] {
  scroll-margin-top: 100px;
}

@media (max-width: 850px) {
  *[id] {
    scroll-margin-top: 80px;
  }
}
:root {
  --wix-pink: #FAC9D7; /* 新しいサクラピンク */
  --wix-pink-hover: #F8B4C6;
  --wix-yellow: #F0C42E;
  --wix-yellow-hover: #DDB42A;
  --wix-text: #222;
  --wix-link: #222;
  --wix-bg-pink: #FFF0F3; /* 波模様の下の背景色（薄いサクラ） */
  --wix-footer: #F1F1F1;
}

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

body {
  font-family: 'Zen Maru Gothic', sans-serif;
  color: #222;
  line-height: 1.8;
  background: #FFF;
  font-size: 16px; /* 15pxから少し大きくして読みやすく */
  -webkit-font-smoothing: antialiased; /* 文字の縁を滑らかにする */
  -moz-osx-font-smoothing: grayscale;
}

a {
  text-decoration: none;
  color: var(--wix-link);
}

ul {
  list-style: none;
}

.container {
  max-width: 980px; /* Wixは固定幅が多い */
  margin: 0 auto;
  padding: 0 20px;
}

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

.mt-40 {
  margin-top: 40px;
}

.section {
  padding: 60px 0;
}

/* ページ内の論理セクション間の区切り線（点線） */
.page-section {
  padding: 60px 0;
  border-bottom: 2px dashed #E0E0E0;
}

.page-section:last-of-type,
.page-section:last-child {
  border-bottom: none;
}

/* 各セクション共通のタイトルスタイル（おしゃれな手書き風の波線付き） */
.section-title {
  width: fit-content; /* 文字の幅に合わせて可変にする */
  margin: 0 auto 40px; /* 自動で中央揃え */
  text-align: center;
  font-size: 28px;
  font-weight: bold;
  color: #1B3C2A; /* ナビバーと合わせた深緑 */
  letter-spacing: 2px;
  line-height: 1.2; /* 全体設定の広い行間をリセットして隙間を締める */
}

.section-title::after {
  content: '';
  display: block;
  width: calc(100% + 10px);  /* 文字長より少しだけ長めにはみ出させる */
  height: 12px; /* 波線の高さ */
  margin: 5px 0 0 -5px; /* 下に配置しつつ左に5px補正して中央に */
  /* 文字の長さに合わせて伸縮させ、線の太さは変わらないSVG(non-scaling-stroke) */
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 20' preserveAspectRatio='none'%3E%3Cpath d='M 3 10 Q 25 16, 50 10 T 97 10' fill='none' stroke='%23D67A8C' stroke-width='3' vector-effect='non-scaling-stroke' stroke-linecap='round'/%3E%3C/svg%3E");
  background-size: 100% 100%;
  background-repeat: no-repeat;
}

/* ヘッダーエリア */
.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: var(--wix-pink);
  width: 100%;
  border-bottom: 3px solid var(--wix-yellow);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.header-inner {
  max-width: 1300px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 20px;
}

.logo-img {
  height: 60px;
  width: auto;
}

.logo-link {
  display: flex;
  align-items: center;
  gap: 15px;
  text-decoration: none;
}

.logo-text {
  font-size: 22px;
  font-weight: bold;
  letter-spacing: 1px;
  white-space: nowrap;
}

.logo-area {
  display: flex;
  align-items: center;
}

.text-green {
  color: #1B3C2A; /* 深緑で統一 */
}

/* ヘッダー電話番号ボタン */
.header-tel-btn {
  display: flex;
  align-items: center;
  gap: 8px;
  background-color: #FFD600; /* 鮮やかな黄色 */
  color: #1B3C2A;
  padding: 10px 18px;
  border-radius: 12px; /* 角丸を少し強調して親しみやすく */
  font-weight: bold;
  font-size: 17px;
  text-decoration: none;
  margin-left: 25px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.1);
  transition: all 0.3s cubic-bezier(0.2, 0.8, 0.2, 1);
  white-space: nowrap;
}

.header-tel-btn:hover {
  background-color: #FFE54C; /* ホバー時は少し明るく */
  transform: translateY(-2px);
  box-shadow: 0 6px 15px rgba(0,0,0,0.15);
}

.header-tel-btn svg {
  width: 20px;
  height: 20px;
}

@media (max-width: 1100px) {
  .header-tel-btn {
    padding: 8px 14px;
    font-size: 15px;
    margin-left: 15px;
  }
  .logo-text {
    font-size: 18px;
  }
}

@media (max-width: 850px) {
  .header-inner {
    padding: 8px 10px;
  }
  .logo-img {
    height: 45px;
  }
  .logo-text {
    font-size: 15px;
    letter-spacing: 0;
  }
  .header-tel-btn {
    padding: 6px 10px;
    font-size: 14px;
    margin-left: auto; /* 左側の余白を自動にして右に寄せる */
    margin-right: 10px; /* ハンバーガーボタンとの隙間 */
    border-radius: 8px;
    gap: 4px;
  }
  .header-tel-btn svg {
    width: 16px;
    height: 16px;
  }
  .logo-link {
    gap: 8px;
  }
}

@media (max-width: 480px) {
  .logo-img {
    height: 38px;
  }
  .logo-text {
    font-size: 13px;
  }
  .header-tel-btn {
    padding: 4px 8px;
    font-size: 12px;
    margin-left: auto; /* スマホでも右寄せを維持 */
    margin-right: 8px;
  }
  .header-tel-btn svg {
    width: 14px;
    height: 14px;
  }
}

/* PC用グローバルナビゲーション */
.global-nav {
  margin-left: auto;
  margin-right: 20px;
}

.nav-inner {
  padding: 0;
}

.global-nav ul {
  display: flex;
  justify-content: center;
  gap: 6px;
  width: 100%;
  padding: 8px 0;
}

.global-nav li {
  text-align: center;
}

.global-nav a {
  display: block;
  padding: 10px 18px;
  font-size: 16px;
  font-weight: 700;
  color: #1B3C2A; /* 明るい背景に合わせて濃い緑文字に変更 */
  letter-spacing: 1.5px;
  border-radius: 6px;
  position: relative;
  transition: all 0.3s ease;
}

/* ホバー時：下線アニメーション＋発光 */
.global-nav a::after {
  content: '';
  position: absolute;
  bottom: 4px;
  left: 50%;
  width: 0;
  height: 2px;
  background: var(--wix-yellow);
  border-radius: 1px;
  transition: all 0.3s ease;
  transform: translateX(-50%);
}

.global-nav a:hover {
  background: rgba(255, 255, 255, 0.5);
  color: #000;
}

.global-nav a:hover::after {
  width: 60%;
}

/* ----- ドロップダウンメニューのスタイル ----- */
.global-nav li {
    position: relative;
}

/* PC用ドロップダウン */
.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%) translateY(10px);
    background: #FFF;
    min-width: 220px;
    box-shadow: 0 12px 35px rgba(0,0,0,0.12);
    border-radius: 12px;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s cubic-bezier(0.2, 0.8, 0.2, 1);
    z-index: 1000;
    display: block !important;
    padding: 12px 0 !important;
    border-top: 4px solid var(--wix-pink);
    margin: 0;
    list-style: none;
}

.global-nav li:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(0);
}

/* シンプルな「一マス」のボックス形式 */
.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%) translateY(10px);
    background: #FFF;
    min-width: 195px; /* 220pxから縮小して右側の余白を最適化 */
    border: 1px solid #EEE;
    border-radius: 4px;
    padding: 0 !important;
    box-shadow: 0 8px 25px rgba(0,0,0,0.08); /* 柔らかい影 */
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    z-index: 1000;
    display: block !important;
    margin: 0;
    list-style: none;
}

.dropdown-menu li {
    display: block !important;
    width: 100%;
    margin: 0;
}

.dropdown-menu li:not(:last-child) {
    border-bottom: 1px dotted #D67A8C; /* 項目間にピンクの点線を追加 */
}

.dropdown-menu a {
    display: flex !important;
    align-items: center;
    justify-content: flex-start; /* 左寄せに変更 */
    padding: 11px 10px 11px 18px !important; /* 右側(10px)を特に詰め、全体をコンパクトに */
    font-size: 14.5px !important;
    color: #333 !important;
    transition: all 0.2s;
    letter-spacing: 0.05em !important;
    text-decoration: none;
    white-space: nowrap; /* テキストが改行されないように追加 */
}

.dropdown-menu a::before {
    content: '';
    display: inline-block;
    width: 20px;
    height: 20px;
    background-image: url('images/illustration_library-cherryblossom-01.png');
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    margin-right: 12px;
    flex-shrink: 0;
}

.dropdown-menu a:hover {
    background: #FFF5F7 !important; /* 薄いピンクに変更 */
    color: #D67A8C !important;
}

/* 下マーク（矢印）は「微妙」とのことなので一旦非表示に */
.has-dropdown > a::after {
    display: none !important;
}

/* スマホ用ハンバーガーボタン (PCでは非表示) */
.menu-toggle {
  display: none;
}

/* ヒーロー画像エリア（アニメーションスライドショー） */
.hero-section {
  position: relative;
  width: 100%;
  height: 450px; /* 高さを少し低くしてスッキリさせる */
  overflow: hidden;
  background-color: #FAFAFA;
}

.hero-slideshow {
  position: absolute;
  top: 0; left: 0; width: 100%; height: 100%;
}

.slide {
  position: absolute;
  top: 0; left: 0; width: 100%; height: 100%;
  background-size: cover;
  background-position: center;
  opacity: 0;
  animation: fadeZoom 20s infinite;
}

/* PC用の個別設定 */
.slide1 {
  background-image: url("images/hero-sakura.png");
  background-position: center 25%; /* 幹の部分が見えるよう、少しだけ下に調整 */
  animation-delay: 0s;
}
.slide2 {
  background-image: url("images/IMG_4488_edited.png");
  background-position: center center;
  animation-delay: 5s;
}
.slide3 {
  background-image: url('images/クリニック入口.jpeg'); /* クリニック入口画像に変更 */
  background-position: center center;
  animation-delay: 10s;
}
.slide4 {
  background-image: url('images/診察風景_メイン.png');
  background-position: center center;
  animation-delay: 15s;
}

@keyframes fadeZoom {
  0% { opacity: 0; transform: scale(1.0); }
  5% { opacity: 1; }
  20% { opacity: 1; }
  25% { opacity: 0; transform: scale(1.05); }
  100% { opacity: 0; }
}

/* ===== スライドショー上の高級感キャッチコピー ===== */
@keyframes heroTextFadeIn {
  0%   { opacity: 0; transform: translateY(30px) scale(0.98); }
  100% { opacity: 1; transform: translateY(0) scale(1); }
}

.hero-overlay-catch {
  position: absolute;
  bottom: 60px;
  left: 40px; /* 左側に寄せる */
  right: auto;
  width: fit-content;
  max-width: 80%;
  z-index: 10;
  background: none; /* 背景を透明に */
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  padding: 0; /* 余計な余白を削除 */
  display: flex;
  align-items: center;
  justify-content: flex-start; /* 左寄せ */
  gap: 20px;
  border: none;
  box-shadow: none;
  animation: heroTextFadeIn 2s cubic-bezier(0.2, 0.8, 0.2, 1) 0.8s both;
}

/* 装飾ライン（カード形式に合わせて調整） */
.hero-overlay-catch::before {
  content: '';
  display: none;
}

.hero-catch-inner {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 5px;
}

.hero-overlay-catch .catch-sub {
  font-size: 16px;
  font-weight: 700;
  color: #FFF; /* 白に戻す */
  letter-spacing: 2px;
  display: flex;
  align-items: center;
  gap: 10px;
  text-shadow: 0 2px 4px rgba(0,0,0,0.9), 0 0 10px rgba(0,0,0,0.5); /* 影を多重化して白文字を際立たせる */
}

.hero-overlay-catch .catch-main {
  font-size: 32px; /* カードがなくなった分、少し大きく */
  font-weight: 700;
  color: #FFF; /* 文字を白に */
  letter-spacing: 2px;
  line-height: 1.5;
  text-shadow: 0 2px 10px rgba(0,0,0,0.9), 0 0 20px rgba(0,0,0,0.4); /* 多重の影で視認性を確保 */
}

/* ===== 桜の花びらアニメーション ===== */
.sakura-container {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
  pointer-events: none;
  z-index: 999; /* 他のあらゆる要素より前面に出す */
}

.petal {
  position: absolute;
  display: block !important; /* 強制的にブロック要素化 */
  background-color: #ffdae0; /* 少し明るく視認性の高いピンク */
  border-radius: 150% 0 150% 0;
  opacity: 0.9;
  width: 12px;
  height: 12px;
  animation: petal-fall linear infinite;
  box-shadow: 1px 1px 5px rgba(255, 182, 193, 0.4);
}

@keyframes petal-fall {
  0% {
    top: -10%;
    transform: translateX(0) rotate(0deg) rotateY(0deg);
  }
  100% {
    top: 110%;
    transform: translateX(150px) rotate(720deg) rotateY(360deg);
  }
}

/* 個別の花びらの設定（位置、時間、遅延） */
.p1  { left: 10%; width: 10px; height: 10px; animation-duration: 7s;  animation-delay: 0s; }
.p2  { left: 20%; width: 14px; height: 14px; animation-duration: 9s;  animation-delay: 2s; }
.p3  { left: 30%; width: 8px;  height: 8px;  animation-duration: 6s;  animation-delay: 4s; }
.p4  { left: 40%; width: 12px; height: 12px; animation-duration: 10s; animation-delay: 1s; }
.p5  { left: 50%; width: 15px; height: 15px; animation-duration: 8s;  animation-delay: 3s; }
.p6  { left: 60%; width: 9px;  height: 9px;  animation-duration: 11s; animation-delay: 5s; }
.p7  { left: 70%; width: 13px; height: 13px; animation-duration: 7s;  animation-delay: 0.5s; }
.p8  { left: 80%; width: 11px; height: 11px; animation-duration: 9.5s; animation-delay: 2.5s; }
.p9  { left: 90%; width: 14px; height: 14px; animation-duration: 12s; animation-delay: 1.5s; }
.p10 { left: 15%; width: 8px;  height: 8px;  animation-duration: 8.5s; animation-delay: 4.5s; }
.p11 { left: 25%; width: 12px; height: 12px; animation-duration: 7.5s; animation-delay: 0.2s; }
.p12 { left: 45%; width: 16px; height: 16px; animation-duration: 10.5s; animation-delay: 3.5s; }
.p13 { left: 65%; width: 10px; height: 10px; animation-duration: 6.5s;  animation-delay: 5.5s; }
.p14 { left: 85%; width: 13px; height: 13px; animation-duration: 11.5s; animation-delay: 2.2s; }
.p15 { left: 5%;  width: 11px; height: 11px; animation-duration: 9.2s;  animation-delay: 1.8s; }

/* スマホ表示での調整 */
@media (max-width: 800px) {
  .petal { width: 8px; height: 8px; }
  .p1  { width: 6px; height: 6px; }
  .p2  { width: 10px; height: 10px; }
  .p3  { width: 5px; height: 5px; }
  .p4  { width: 7px; height: 7px; }
  .p5  { width: 11px; height: 11px; }
  .p6  { width: 6px; height: 6px; }
  .p7  { width: 9px; height: 9px; }
  .p8  { width: 7px; height: 7px; }
  .p9  { width: 10px; height: 10px; }
  .p10 { width: 5px; height: 5px; }
  .p11 { width: 8px; height: 8px; }
  .p12 { width: 12px; height: 12px; }
  .p13 { width: 6px; height: 6px; }
  .p14 { width: 9px; height: 9px; }
  .p15 { width: 8px; height: 8px; }
}

/* ===== スマホ用の調整 ===== */
@media (max-width: 800px) {
  .hero-section {
    height: 380px; /* スマホでも画像が見える高さを確保 */
    display: block; /* stackingを解除して重ねる */
    position: relative;
    overflow: hidden;
  }
  .hero-slideshow {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
  }
  .hero-overlay-catch {
    position: absolute;
    bottom: 30px;
    left: 20px; /* 左側に配置 */
    right: auto;
    width: fit-content;
    max-width: 90%;
    margin: 0;
    padding: 0;
    background: none;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    display: flex;
    flex-direction: column;
    align-items: flex-start; /* 左揃えに統一 */
    justify-content: center;
    gap: 5px;
    border: none;
    box-shadow: none;
    animation: heroTextFadeIn 1.5s ease-out 0.5s both;
  }
  
  .notice-section {
    padding: 30px 0 60px !important; 
  }
  
  .notice-section .section-title {
    margin-top: 0;
    margin-bottom: 20px !important;
  }

  /* スマホ専用の個別位置調整 */
  .slide1 {
    background-size: cover; 
    background-position: center 50%; 
  }
  .slide2 {
    background-size: cover;
    background-position: center center;
  }
  .slide3 {
    background-size: cover;
    background-position: center center;
  }
  .slide4 {
    background-size: cover;
    background-position: center center;
  }


  .hero-overlay-catch .catch-sub {
    font-size: 11px; /* サイズを縮小 */
    font-weight: 700;
    letter-spacing: 1px;
    gap: 6px;
    color: #FFF;
    text-shadow: 0 1px 3px rgba(0,0,0,0.9);
  }
  .hero-overlay-catch .catch-main {
    font-size: 16px; /* サイズを縮小 */
    letter-spacing: 0.5px;
    line-height: 1.5;
    color: #FFF;
    text-shadow: 0 2px 6px rgba(0,0,0,0.9);
    text-align: left; /* 左揃え */
  }

  /* スマホでのみ改行を無効にするクラス */
  .pc-br { display: none; }
}

.hero-text-overlay {
  text-align: center;
  margin-top: 30px;
  padding: 0 20px;
}

.hero-text-overlay h2 {
  font-weight: normal;
  font-size: 24px;
  line-height: 1.8;
  color: #333;
}

.hero-text-overlay h2 span {
  font-size: 20px;
}

/* はじめに等のスタイリッシュなカード (画像背景パララックス) */
.intro-section {
  position: relative;
  background-image: url('images/toppga_edited_v2.png');
  background-size: cover;
  background-position: center;
  background-attachment: fixed; /* パララックスでおしゃれな動き */
  padding: 60px 0; /* 高さを抑えてスッキリと */
  z-index: 1;
}

.intro-section::before {
  content: '';
  position: absolute;
  top: 0; left: 0; width: 100%; height: 100%;
  background: rgba(45, 85, 50, 0.8); /* 深みのある緑のオーバーレイ */
  z-index: -1;
}

.stylish-card-intro {
  background: rgba(255, 255, 255, 0.95); /* 視認性確保のための白い半透明カード */
  border-radius: 12px;
  padding: 40px 30px; /* パディングを少し抑える */
  margin: 0 auto;
  max-width: 700px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.15);
  border: 1px solid rgba(255, 255, 255, 0.6);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.intro-title {
  font-size: 24px;
  font-weight: normal;
  color: #333;
  margin-bottom: 10px;
}

.intro-subtitle {
  font-size: 18px;
  color: #555;
  margin-bottom: 40px;
}

.intro-text {
  display: inline-block;
  text-align: left;
  line-height: 2;
  color: #555;
  font-size: 16px;
}

/* パネルセクション（Wix特有のカード並び） */
.panel-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.panel-item {
  display: block;
  text-align: center;
}

.panel-img-box {
  background-color: #EFEFEF;
  height: 180px;
  border-radius: 10px;
  margin-bottom: 15px;
  background-size: cover;
  background-position: center;
  transition: transform 0.3s;
  box-shadow: 0 4px 10px rgba(0,0,0,0.05);
}

.wix-style-img1 { background-image: url('images/当クリニックについて.png'); }
.wix-style-img2 { background-image: url('images/reception_smiling.png'); }
.wix-style-img3 { background-image: url('images/kidney.png'); }
.wix-style-img4 { background-image: url('images/看板_加工済み.png'); }

.panel-item:hover .panel-img-box {
  transform: scale(1.03);
  box-shadow: 0 8px 15px rgba(0,0,0,0.1);
}

/* WIX波背景境界 */
.wave-top, .wave-bottom {
  width: 100%;
  height: 60px;
  overflow: hidden;
  line-height: 0;
  background: #FFF;
}
.wave-top svg, .wave-bottom svg {
  display: block;
  width: 100%;
  height: 60px;
}
.wave-bottom {
  transform: rotate(180deg);
  background: #FFF;
}
.wave-top svg path, .wave-bottom svg path { fill: var(--wix-bg-pink); }

.green-bg-section {
  background-color: var(--wix-bg-pink); /* 波の中の背景色 */
  padding: 40px 0;
}

/* ブロック共通 */
.notice-section {
  padding: 80px 0;
}

.block-title {
  display: block;
  font-size: 22px;
  border-left: 6px solid #1B3C2A; /* 深緑で統一 */
  padding: 4px 0 8px 15px; /* 下に少し余裕を持たせて線を表示 */
  margin-bottom: 15px; /* 25pxから15pxに縮小 */
  color: #333;
  border-bottom: 1px solid #E0E0E0; /* 区切り線を追加 */
}

.red-note {
  color: #D32F2F;
  font-size: 14px;
  margin-bottom: 10px;
}

/* 診療時間カードデザイン */
.schedule-card {
  padding: 30px;
  margin-bottom: 30px;
  border: 1px solid #ECECEC;
}

.dialysis-schedule { background-color: #fcfcfc; border-radius: 8px; border: 1px solid #e0e0e0; }
.internal-schedule { background-color: #fcfcfc; border-radius: 8px; border: 1px solid #e0e0e0; }

.dept-title {
  text-align: center;
  font-size: 16px;
  margin-bottom: 15px;
  font-weight: normal;
}
.dialysis-schedule .dept-title { color: #1B3C2A; font-weight: bold; }
.internal-schedule .dept-title { color: #1B3C2A; font-weight: bold; }

.schedule-grid {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  text-align: center;
  margin-bottom: 15px;
  padding-bottom: 15px;
}
.dialysis-schedule .schedule-grid { 
  border-top: 3px solid #1B3C2A; 
  border-bottom: 1px solid #eee; 
  padding-top: 20px;
}
.internal-schedule .schedule-grid { 
  border-top: 3px solid #1B3C2A; 
  border-bottom: 1px solid #eee; 
  padding-top: 20px;
}

.day-col {
  border-right: 1px dotted #B0B0B0;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 5px;
}
.day-col.no-border { border-right: none; }

.day-name {
  font-size: 13px;
  margin-bottom: 10px;
}
.dialysis-schedule .day-name { color: #666; font-weight: bold; }
.internal-schedule .day-name { color: #666; font-weight: bold; }

.time {
  font-size: 16px;
  color: #2F4D3F; /* 深い緑がかった文字色 */
  letter-spacing: 0.5px;
}
.time.closed { font-weight: normal; }
.time.empty { visibility: hidden; }

.schedule-note {
  text-align: center;
  font-size: 14px;
  color: #888;
}

.global-note {
  text-align: left;
  font-size: 14px;
  color: #333;
  margin-top: 15px;
  letter-spacing: 1px;
}

/* スマホ用テーブル調整 */
@media (max-width: 800px) {
  .schedule-card { padding: 15px 5px; }
  .schedule-grid { grid-template-columns: repeat(7, 1fr); gap: 0; }
  .time { font-size: 11px; }
  .day-name { font-size: 10px; transform: scale(0.9); }
}

.reception-text {
  margin-bottom: 10px;
}

.reception-ul {
  padding-left: 20px;
  list-style: disc;
}

.dept-ul li {
  margin-bottom: 5px;
}

/* ニュースセクション */
.wix-title {
  text-align: center;
  font-size: 28px;
  margin-bottom: 40px;
  color: #333;
}

.news-list {
  max-width: 700px;
  margin: 0 auto 30px;
  border-top: 1px solid #EEE;
}

.news-item {
  display: flex;
  padding: 15px 0;
  border-bottom: 1px solid #EEE;
}

.news-date {
  width: 120px;
  color: #999;
}

.news-title a {
  text-decoration: underline;
}

.btn-center {
  text-align: center;
}

.btn-more {
  display: inline-block;
  background: #EEE;
  padding: 8px 30px;
  border-radius: 5px;
  border: 1px solid #CCC;
}

/* お問合せセクションのスタイリッシュなカード (画像背景パララックス) */
.contact-section {
  position: relative;
  background-image: url('images/assets/reception.png');
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  padding: 60px 0; /* 大きすぎる余白をカット */
  z-index: 1;
}

.contact-section::before {
  content: '';
  position: absolute;
  top: 0; left: 0; width: 100%; height: 100%;
  background: rgba(255, 235, 240, 0.85); /* 柔らかなサクラ色のオーバーレイ */
  z-index: -1;
}

.stylish-card-contact {
  background: rgba(255, 255, 255, 0.97);
  border-radius: 12px;
  padding: 40px 30px; /* パディングを抑えて他の要素と釣合うように */
  margin: 0 auto;
  max-width: 550px; /* ボックス自体の横幅をスマートに */
  box-shadow: 0 10px 30px rgba(0,0,0,0.1); 
  border: 4px solid #FFF;
}

.contact-desc {
  font-size: 16px;
  margin-bottom: 25px;
  line-height: 1.8;
}

.contact-tel-box {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background-color: #FFD54F; /* 黄色に変更 */
  color: #333; /* 背景色に合わせて文字色を濃く */
  padding: 12px 35px;
  border-radius: 50px;
  gap: 15px;
  box-shadow: 0 5px 15px rgba(0,0,0,0.1);
  transition: transform 0.3s, background-color 0.3s;
}

.contact-tel-box:hover {
  transform: translateY(-3px);
  background-color: #FFC107; /* ホバー時は少し濃い黄色に */
}

.tel-icon {
  font-size: 18px;
  font-weight: bold;
  letter-spacing: 1px;
}

.contact-tel {
  font-size: 26px; /* 基準サイズも少しだけスッキリ調整 */
  font-weight: bold;
  letter-spacing: 1px;
}

/* スマホ表示時のボタンサイズ調整 */
@media (max-width: 600px) {
  .contact-tel-box {
    padding: 10px 20px; /* 余白を縮小 */
    gap: 10px; /* アイコンと文字の隙間を縮小 */
  }
  
  .tel-icon {
    font-size: 15px;
  }
  
  .contact-tel {
    font-size: 20px; /* 文字サイズを縮小して1行に収める */
    letter-spacing: 0px;
  }
}

.footer-links a {
  text-decoration: underline;
  color: #0066CC;
}

/* 受付方法・診療科目のペールボックス（スクリーンショット再現） */
.pale-box {
  background-color: #FFF5F7; /* 優しいサクラピンクの背景 */
  border: 1px solid #FFEBEF; /* ほんのり境界線 */
  border-radius: 12px;
  padding: 35px 40px;
  box-shadow: 0 4px 15px rgba(0,0,0,0.03);
}

.box-title {
  font-size: 22px;
  font-weight: bold;
  color: #333;
  margin-bottom: 20px;
  padding-left: 15px;
  border-left: 6px solid #1B3C2A; /* 深緑のアクセントライン */
}

.reception-text {
  line-height: 1.8;
  color: #444;
  margin-bottom: 15px;
}

.reception-ul {
  list-style-type: none;
  padding-left: 0;
}

.reception-ul li {
  position: relative;
  padding-left: 20px;
  margin-bottom: 12px;
  color: #444;
  line-height: 1.6;
}

.reception-ul li::before {
  content: "●";
  position: absolute;
  left: 0;
  font-size: 10px;
  color: #666;
  top: 4px;
}

/* 共通インラインリンクボタン */
.btn-inline-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-top: 20px;
    padding: 12px 32px;
    background-color: #1B3C2A;
    color: #FFF !important;
    border-radius: 50px;
    font-size: 15px;
    font-weight: bold;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

.btn-inline-link:hover {
    background-color: #2D5A3F;
    transform: translateY(-2px);
    box-shadow: 0 6px 18px rgba(0,0,0,0.15);
}

.btn-inline-link::after {
    content: '→';
    margin-left: 10px;
    font-size: 16px;
    transition: transform 0.3s ease;
}

.btn-inline-link:hover::after {
    transform: translateX(5px);
}

/* 診療科目 リッチカードグリッド */
.dept-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 20px;
  margin-top: 25px;
}

.dept-card {
  flex: 0 0 calc(33.333% - 14px); /* 3つ並び */
  min-width: 250px;
  background: #FFF;
  border: 1px solid #EAF0DA;
  border-radius: 12px;
  padding: 25px 15px;
  text-align: center;
  /* transition: all 0.3s ease; */
  box-shadow: 0 4px 10px rgba(0,0,0,0.03);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
}

@media (max-width: 900px) {
  .dept-card {
    flex: 0 0 calc(50% - 10px); /* 2つ並び */
    min-width: unset;
  }
}

@media (max-width: 550px) {
  .dept-grid {
    gap: 12px; /* 隙間を少し詰める */
  }
  .dept-card {
    flex: 0 0 calc(50% - 6px); /* 2列表示 */
    padding: 18px 10px; /* パディングをコンパクトに */
    min-width: unset;
  }
  .dept-name {
    font-size: 13px; /* 文字サイズを微調整 */
  }
  .dept-icon {
    width: 40px;
    height: 40px;
  }
}




.dept-icon {
  width: 45px;
  height: 45px;
  background-color: #1B3C2A;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #FFF;
}

.dept-icon svg {
  width: 24px;
  height: 24px;
}

.dept-name {
  font-size: 15px;
  font-weight: bold;
  color: #333;
}






/* フッター */
.site-footer {
  background: var(--wix-footer);
  padding: 40px 0 20px;
  border-top: 1px solid #DDD;
}

.site-footer p {
  line-height: 2;
  margin-bottom: 15px;
}

.copyright {
  font-size: 12px;
  color: #888;
}

/* ページトップ固定ボタン */
.float-top {
  position: fixed;
  right: 25px;
  bottom: 30px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  width: 70px;
  height: 70px;
  border-radius: 50%;
  color: #FFF;
  background-color: #D67A8C; /* サクラピンク */
  text-decoration: none;
  box-shadow: 0 4px 15px rgba(0,0,0,0.2);
  z-index: 1001;
  transition: all 0.4s cubic-bezier(0.2, 0.8, 0.2, 1);
  gap: 4px; /* 矢印と文字の間に少し隙間を追加 */
  
  /* 初期状態は非表示 */
  opacity: 0;
  visibility: hidden;
  transform: translateY(20px);
}

.float-top.visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.float-top:hover {
  background-color: #e08ba0; /* 少し明るく */
  transform: scale(1.08);
  box-shadow: 0 8px 20px rgba(0,0,0,0.25);
}

.float-top .arrow {
  display: block;
  font-size: 24px;
  line-height: 1;
}

.float-top .text {
  display: block;
  font-size: 12px;
  font-weight: bold;
  letter-spacing: 1px;
  line-height: 1;
}

/* スマホでは少し小さく */
@media (max-width: 600px) {
  .float-top {
    width: 60px;
    height: 60px;
    right: 15px;
    bottom: 25px;
  }
  .float-top .arrow {
    font-size: 20px;
  }
  .float-top .text {
    font-size: 10px;
  }
}

/* アクセスセクション */
.access-container {
  display: flex;
  gap: 40px;
  align-items: flex-start;
  margin-top: 20px;
}

.access-info {
  flex: 1;
}

.access-subtitle {
  font-size: 20px;
  color: #333;
  margin-bottom: 15px;
  border-bottom: 2px solid var(--wix-pink);
  display: inline-block;
  padding-bottom: 5px;
}

.access-address {
  font-size: 18px;
  margin-bottom: 20px;
}

.access-details p {
  margin-bottom: 10px;
}

.map-wrapper {
  flex: 1.5;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

/* スマホ・タブレット用レスポンシブ調整 */
@media (max-width: 800px) {
  /* ヘッダーの調整 */
  .header-inner { 
    flex-direction: row; 
    justify-content: space-between;
    padding: 10px 15px;
  }
  .logo-text {
    font-size: 16px;
    letter-spacing: 0.5px;
  }
  .logo-area {
    flex: 1; /* ロゴエリアを広げて子要素を右寄せ可能にする */
    display: flex;
    align-items: center;
  }
  .logo-img {
    height: 50px;
  }

  /* 見出し階層のサイズ調整（スマホ用）さらに縮小 */
  .box-title, .block-title {
    font-size: 16px !important;
    padding-left: 10px;
    margin-bottom: 15px;
  }
  .guidance-card h3 {
    font-size: 15px !important;
  }
  .dept-name {
    font-size: 14px;
  }
  /* スマホ用メニュー切り替え設定 */
  .menu-toggle {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    width: 30px;
    height: 22px;
    background: transparent;
    border: none;
    cursor: pointer;
    z-index: 1000;
  }
  .menu-toggle span {
    width: 100%;
    height: 3px;
    background-color: #1B3C2A; /* ピンク背景で見えるように深緑に変更 */
    border-radius: 2px;
    transition: all 0.3s;
  }
  .menu-toggle.active span:nth-child(1) { transform: translateY(9.5px) rotate(45deg); }
  .menu-toggle.active span:nth-child(2) { opacity: 0; }
  .menu-toggle.active span:nth-child(3) { transform: translateY(-9.5px) rotate(-45deg); }

  .global-nav {
    position: fixed;
    top: 0;
    right: 0; /* 起点を右端に固定 */
    width: 100%;
    height: 100vh;
    background: #D67A8C;
    box-shadow: none;
    transition: all 0.3s ease;
    z-index: 999;
    padding-top: 80px;
    padding-bottom: 40px;
    border-bottom: none;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    
    /* 閉じている時の状態：完全に隠す */
    transform: translateX(100%);
    visibility: hidden;
    opacity: 0;
  }
  .global-nav.active {
    /* 開いている時の状態：画面内に戻す */
    transform: translateX(0);
    visibility: visible;
    opacity: 1;
  }
  .global-nav ul {
    flex-direction: column;
    gap: 0;
    padding: 0;
  }
  .global-nav li {
    border-bottom: 1px solid rgba(255, 255, 255, 0.1); /* 白い極細線 */
    text-align: left;
  }
  .global-nav a {
    display: block !important;
    padding: 18px 28px !important; /* 通常時も強制固定 */
    text-align: left !important;
    font-size: 15px !important;
    font-weight: 700 !important;
    color: #FFF !important;
    border-radius: 0 !important;
    transition: none !important; /* アニメーションを完全に殺す */
    transform: none !important;
  }

  /* スマホ用ドロップダウン調整 */
  .global-nav li.has-dropdown {
    display: flex !important;
    flex-direction: column !important;
  }

  .global-nav .dropdown-menu {
    position: static !important;
    transform: none !important;
    opacity: 1 !important;
    visibility: visible !important;
    background: rgba(0, 0, 0, 0.1) !important;
    box-shadow: none !important;
    border: none !important;
    border-radius: 0 !important;
    padding: 0 !important;
    min-width: 0 !important;
    display: block !important;
  }

  .global-nav .dropdown-menu li {
    border-bottom: 1px solid rgba(255, 255, 255, 0.05) !important;
  }

  .global-nav .dropdown-menu a {
    padding: 15px 45px !important; /* 子メニューも通常時から強制固定 */
    font-size: 14px !important;
    color: rgba(255, 255, 255, 0.9) !important;
    transition: none !important;
    transform: none !important;
  }

  .has-dropdown > a::after {
    display: none !important;
  }
  .global-nav a::after {
    display: none;
  }
  .global-nav a:hover,
  .global-nav a:active,
  .global-nav a:focus {
    background: transparent !important;
    color: #FFF !important;
    transform: none !important; /* 移動を完全に禁止 */
    padding-left: 28px !important; /* 親メニューの余白を固定 */
    transition: none !important;
  }

  /* ドロップダウン内の項目（クリニック案内など）も完全に固定 */
  .global-nav .dropdown-menu a,
  .global-nav .dropdown-menu a:hover,
  .global-nav .dropdown-menu a:active,
  .global-nav .dropdown-menu a:focus {
    background: transparent !important;
    color: rgba(255, 255, 255, 0.9) !important;
    padding-left: 45px !important; /* 子メニューの余白を固定 */
    transform: none !important;
    transition: none !important;
    display: block !important;
  }

  /* アイコンやアニメーション用の線を根こそぎ削除 */
  .global-nav a::before,
  .global-nav a::after,
  .global-nav .dropdown-menu a::before,
  .global-nav .dropdown-menu a::after {
    display: none !important;
    content: none !important;
    width: 0 !important;
    height: 0 !important;
  }

  /* ヒーローエリアの調整 */
  .hero-section { height: 300px; }

  /* パネルセクション */
  .panel-grid { grid-template-columns: 1fr 1fr; }

  /* 診療時間カード */
  .schedule-card { 
    padding: 20px 10px; 
    overflow-x: auto;
  }
  .schedule-grid { 
    min-width: 600px;
  }
  .time { font-size: 13px; }
  .day-name { font-size: 12px; }

  /* アクセスセクション */
  .access-container { 
    flex-direction: column; 
    gap: 20px;
  }
  .map-wrapper { 
    width: 100%; 
    height: 300px; 
  }
}

@media (max-width: 480px) {
  .panel-grid { grid-template-columns: 1fr; } 
  .logo-text { font-size: 14px; }
  .logo-link { gap: 10px; }
  .logo-img { height: 40px; }
  .section-title { 
    font-size: 18px; /* さらに縮小 */
    margin-bottom: 20px;
    letter-spacing: 1.2px;
  }
}

/* ==================== クリニック概要の横並びレイアウト (共通) ==================== */
.overview-flex-container {
  display: flex;
  gap: 40px;
  align-items: stretch;
  margin-top: 40px;
}

.overview-flex-container .overview-table {
  flex: 1;
  margin: 0;
  border-collapse: collapse;
  width: 100%;
}

.overview-flex-container .map-wrapper {
  flex: 1;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  height: 400px;
}

.overview-flex-container .map-wrapper iframe {
  width: 100%;
  height: 100%;
}

@media (max-width: 800px) {
  .overview-flex-container {
    flex-direction: column;
    gap: 30px;
  }
  .overview-flex-container .map-wrapper {
    height: 300px;
  }
}

/* ==================== 関連施設 カードデザイン ==================== */
.facility-card-container {
  display: flex;
  flex-direction: column;
  gap: 30px; /* 50pxから短縮 */
  margin-top: 40px;
}

.facility-card {
  display: flex;
  background: #FFFFFF;
  border-radius: 20px; /* 少し角丸を抑える */
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.04);
  transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
  border: 1px solid rgba(255, 255, 255, 0.8);
  max-width: 880px; /* 広がりすぎないよう制限 */
  margin: 0 auto; /* 中央揃え */
}

.facility-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 45px rgba(0, 0, 0, 0.08);
}

.facility-card-content {
  flex: 1;
  padding: 30px 40px; /* 50pxから縮小 */
  display: flex;
  flex-direction: column;
}

.facility-card-title {
  font-size: 22px; /* 24pxから微調整 */
  font-weight: bold;
  color: #333;
  margin-bottom: 15px; /* 20pxから縮小 */
  padding-left: 15px;
  line-height: 1.4;
  position: relative;
}

.facility-card-title::before {
  content: "";
  position: absolute;
  left: 0;
  top: 4px;
  bottom: 4px;
  width: 5px;
  border-radius: 10px;
}

/* 個別カラー（さくら） */
.sakura-card .facility-card-title::before { background-color: #D67A8C; }
.sakura-card .btn-inline-link { background-color: #D67A8C; }

/* 個別カラー（カフェ） */
.cafe-card .facility-card-title::before { background-color: #A07855; }
.cafe-card .btn-inline-link { background-color: #6B4F31; }

.facility-card-text {
  color: #555;
  line-height: 1.7; /* 1.8から微調整 */
  font-size: 15px; /* 16pxから微調整 */
  margin-bottom: 20px; /* 30pxから縮小 */
}

.facility-card-image {
  flex: 0 0 240px; /* 横幅を240pxに固定 */
  height: auto;
  min-height: 180px; /* 高さを180pxに統一 */
  overflow: hidden;
}

.facility-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.facility-card:hover .facility-card-image img {
  transform: scale(1.06);
}

/* 交互に左右を入れ替える（デスクトップ） */
.facility-card:nth-child(even) {
  flex-direction: row-reverse;
}

/* モバイル対応 */
@media (max-width: 850px) {
  .facility-card,
  .facility-card:nth-child(even) {
    flex-direction: column;
  }
  
  .facility-card-content {
    display: contents; /* 子要素を親のflex子要素として扱う */
  }

  .facility-card-title {
    order: 1;
    padding: 25px 20px 15px 35px; /* 下パディングを5pxから15pxに増加 */
    margin-bottom: 0;
    width: 100%;
    background: #fff;
  }

  .sakura-card .facility-card-title::before,
  .cafe-card .facility-card-title::before {
    left: 20px;
    top: 25px;
    bottom: 15px; /* タイトルのパディング変更に合わせて調整 */
  }

  .facility-card-image {
    order: 2;
    flex: none;
    width: 100%;
    height: 220px;
    min-height: auto;
    margin-bottom: 10px; /* 画像の下に少し余白を追加 */
  }

  .facility-card-text {
    order: 3;
    padding: 20px 20px 10px;
    margin-bottom: 0;
    font-size: 14px;
    line-height: 1.6;
  }

  .facility-card-content > div { /* ボタンエリア */
    order: 4;
    padding: 0 20px 30px;
    width: 100%;
    background: #fff;
  }
}

/* ===== パンくずリスト ===== */
.breadcrumb-container {
  max-width: 980px;
  margin: 0 auto;
  padding: 20px 20px; /* 上下均等な余白で「真ん中」に配置 */
}
.breadcrumb {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  font-size: 13.5px;
  color: #666;
}
.breadcrumb a {
  color: #666;
  text-decoration: none;
  transition: 0.2s;
}
.breadcrumb a:hover {
  color: #D67A8C;
}
.breadcrumb .separator {
  color: #CCC;
  font-size: 12px;
}
.breadcrumb .current {
  color: #222;
  font-weight: 500;
}

.breadcrumb-container { margin-bottom: -40px !important; }

