
/* 
   ===============================
   📱 栗林歯科医院 丸の内ページ 
   =============================== 
*/

/* 特徴アイコン */
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: center;
}

/* 元アイコンにアニメーション */
.feature-item img {
  animation: wiggle 2.2s ease-in-out infinite;
}

/* ふわっと拡大縮小（呼吸アニメーション） */
@keyframes wiggle {
  0% { transform: scale(1); }
  50% { transform: scale(1.05); }
  100% { transform: scale(1); }
}

/* ============================
   多言語切替リンクスタイル
=============================== */

/* 言語切り替え（PC） */
.menu-lang-switch {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 18px;
}

.menu-lang-switch a {
  font-size: 14px;
  font-weight: 600;
  color: #4a7a91;
  text-decoration: none;
}

.menu-lang-switch a:hover {
  opacity: 0.7;
}

.lang-switch a.active {
  border-bottom: 2px solid #4a7a91;
  color: #4a7a91;
}
/* ===========================
   モバイルメニュー内 JP / EN 切替
   =========================== */
.drawer-nav .lang-switch {
  text-align: center;
  margin-top: 12px;
  margin-bottom: 10px;
  font-family: "Helvetica Neue", Arial, "Noto Sans JP", sans-serif;
  font-size: 14px;   /* ← 少し小さめ */
  font-weight: 600;
}

.drawer-nav .lang-switch a {
  color: #4a7a91;
  text-decoration: none;
  padding: 0 4px;
}

.drawer-nav .lang-switch a:hover {
  opacity: 0.7;
}


/* ============================
   パンくずリストスタイル
   see: functions.php内 kdc_breadcrumb( 
=============================== */
.breadcrumb {
  font-size: 14px;
  margin: 10px 0 20px;
  color: #666;
}

.breadcrumb a {
  color: #4a7a91;
  text-decoration: none;
}

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

/* ============================
   院長の想い：詳細内の画像サイズ調整
=============================== */

/* すべての画像を中央寄せ・最大幅制限 */
.director-message .message-detail img {
  display: block;
  width: 100%;           /* スマホは全幅 */
  max-width: 600px;      /* タブレット・PCでは600pxを上限 */
  margin: 20px auto;     /* 上下20px・中央寄せ */
  border-radius: 12px;
  box-shadow: 0 3px 12px rgba(0,0,0,0.08);
  height: auto;
}

/* スマホではより自然に全幅表示 */
@media screen and (max-width: 768px) {
  .director-message .message-detail img {
    max-width: 100%;
    border-radius: 8px;
  }
}

/* 大きな画面（PC）ではさらに余白を広げる */
@media screen and (min-width: 1100px) {
  .director-message .message-detail img {
    max-width: 700px;
  }
}

/* 投稿本文に左右余白を追加 */
/* スマホで本文・日付・コンテンツに左右余白を追加 */
.post-body,
.post-content,
.post-date {
  padding-left: 16px;
  padding-right: 16px;
  box-sizing: border-box;
}

/* PCでは余白を広めに */
@media (min-width: 1024px) {
  .post-body,
  .post-content,
  .post-date {
    padding-left: 40px;
    padding-right: 40px;
  }
}

/* ===== 動画リスト（バランス調整） ===== */
.director-video-list {
  list-style: none;
  padding: 0;
  margin: 1.5em auto;
  max-width: 800px;  /* 全体の最大幅を制限 */
}

.director-video-list li {
  margin-bottom: 2.5em;
  font-weight: 500;
  color: #333;
  line-height: 1.6;
  text-align: center;
}

/* ✅ 動画サイズを安定させる */
.director-video-list video {
  display: block;
  width: 90%;                /* 画面幅の90%以内に */
  max-width: 600px;          /* 最大サイズを600pxに固定 */
  margin: 0.8em auto;
  border-radius: 12px;
  box-shadow: 0 4px 16px rgba(0,0,0,0.15);
  background: #000;          /* 読み込み中の背景 */
}

/* ✅ スマホではもう少し広く見せる */
@media screen and (max-width: 768px) {
  .director-video-list video {
    width: 100%;
    max-width: 100%;
    border-radius: 8px;
  }
}

/* スタッフブログアーカイブ・カテゴリーフィルタ*/

.blog-filter {
  display: flex;
  gap: 10px;
  justify-content: flex-end;
  margin-bottom: 20px;
}
.blog-filter select {
  border: 1px solid #ccc;
  padding: 6px 10px;
  border-radius: 6px;
  font-size: 14px;
}
.archive-list, .category-list {
  list-style: none;
  padding: 0;
}
.archive-list li, .category-list li {
  margin-bottom: 6px;
}
.archive-list a, .category-list a {
  color: #6c4a2b;
  text-decoration: none;
}
.archive-list a:hover, .category-list a:hover {
  text-decoration: underline;
}

/* スタッフブログもっと見るボタン */
.btn-more {
  display: inline-block;
  background: #f7f7f7;
  color: #6c4a2b;
  padding: 10px 24px;
  border-radius: 30px;
  border: 1px solid #d0c2b2;
  font-size: 14px;
  text-decoration: none;
  transition: all 0.3s;
}
.btn-more:hover {
  background: #6c4a2b;
  color: #fff;
}


/* ====== 診療メニュー全体 ====== */
.treatment-menu-grid {
  text-align: center;
  padding: 60px 20px;
  background: #f8f5f2;
}

.menu-title {
  font-size: 28px;
  font-weight: 600;
  margin-bottom: 40px;
  font-family: "Shippori Mincho", serif;
}

.menu-sub {
  font-size: 18px;
  color: #a89d8d;
  margin-left: 8px;
  font-style: italic;
}

/* ====== グリッド配置 ====== */
.menu-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 24px;
  max-width: 1100px;
  margin: 0 auto;
}

/* ====== 各カード統一 ====== */
.menu-card {
  position: relative;
  display: block;
  width: 100%;
  aspect-ratio: 4 / 3; /* ✅ 縦横比統一（正方形にしたい場合は 1/1） */
  border-radius: 10px;
  color: #fff;
  overflow: hidden;
  text-decoration: none;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.menu-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.2);
}

/* ====== 背景画像（サイズ固定＋中央トリミング） ====== */
.menu-card-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center center;
  transition: transform 0.4s ease, filter 0.3s ease;
}

.menu-card:hover .menu-card-bg {
  transform: scale(1.05);
  filter: brightness(80%);
}

/* ====== 黒グラデーションオーバーレイ ====== */
.menu-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, rgba(0,0,0,0.0), rgba(0,0,0,0.55));
  z-index: 1;
  transition: opacity 0.3s ease;
}
.menu-card:hover::before {
  opacity: 0.8;
}

/* ====== テキスト部分 ====== */
/* ====== 共通 ====== */
.menu-card-text {
  position: absolute;
  z-index: 2;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%); /* ✅ 中央寄せ */
  text-align: center;
  width: 90%;
  line-height: 1.3;
  word-break: keep-all;
}

.menu-card-text h3 {
  font-size: 20px;
  margin: 0;
  font-weight: 600;
  letter-spacing: 1px;
  color: #fff;
  text-shadow: 0 2px 4px rgba(0,0,0,0.6);
}

.menu-card-text p {
  font-size: 13px;
  letter-spacing: 1px;
  margin-top: 4px;
  font-family: "Poppins", sans-serif;
  color: #fff;
  opacity: 0.9;
}

/* ====== スマホ最適化 ====== */
@media (max-width: 767px) {
  .menu-card {
    aspect-ratio: 1 / 1;
  }

  .menu-card-text {
    top: 52%;
    transform: translate(-50%, -50%);
    width: 95%;
    padding: 0 6px;
  }

  .menu-card-text h3 {
    font-size: 12px; /* ✅ 小さくして切れ防止 */
    line-height: 1.4;
  }

  .menu-card-text p {
    font-size: 10px;
  }
}


/* =============================
   院長の想い：オーバーレイタイトル装飾
============================= */

/* strong部分だけ強調（上品なブルー＆少し太く） */
.section-title strong {
  color: #2b70b7;
  font-weight: 700;
  letter-spacing: 0.05em;
}
.director-message .message-photo {
  position: relative;
  width: 100%;
  overflow: hidden;
}

.director-message .message-photo img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
}

/* 白ぼかし維持 */
/* この部分を削除またはコメントアウト */
.director-message .message-photo::before {
  display: none; /* ← これを追加するだけでもOK */
}
.director-message .message-photo::after {
  content: "";
  position: absolute;
  left: 0;
  width: 100%;
  height: 100px;
  pointer-events: none;
  z-index: 2;
}

.director-message .message-photo::before {
  top: 0;
  background: linear-gradient(to bottom, rgba(255,255,255,1) 0%, rgba(255,255,255,0) 100%);
}

.director-message .message-photo::after {
  bottom: 0;
  background: linear-gradient(to top, rgba(255,255,255,1) 0%, rgba(255,255,255,0) 100%);
}

/* ✅ 半透明の白帯＋タイトル配置 */
.photo-title-wrap {
  position: absolute;
  bottom: 18%;
  left: 50%;
  transform: translateX(-50%);
  background: rgba(255, 255, 255, 0.7);
  padding: 16px 40px;
  border-radius: 40px;
  text-align: center;
  z-index: 5;
  backdrop-filter: blur(6px);
  box-shadow: 0 4px 10px rgba(0,0,0,0.1);
}

/* ✅ 日本語タイトル（筆文字・美しい明朝） */
.photo-title-jp {
  font-family: "Yu Mincho", "Shippori Mincho", "Noto Serif JP", "Hiragino Mincho ProN", serif;
  font-size: 2.2rem;
  color: #222;
  letter-spacing: 0.08em;
  margin-bottom: 4px;
  text-shadow: 0 1px 2px rgba(255,255,255,0.8);
}

/* ✅ 英語サブタイトル */
.photo-title-en {
  font-family: "Cormorant Garamond", "Times New Roman", serif;
  font-size: 1rem;
  color: #444;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  opacity: 0.8;
}

/* スマホ対応 */
@media screen and (max-width: 768px) {
  .photo-title-wrap {
    padding: 10px 20px;
    border-radius: 30px;
    bottom: 12%;
  }
  .photo-title-jp {
    font-size: 1.6rem;
  }
  .photo-title-en {
    font-size: 0.9rem;
  }
}

/* =============================
   院長の想い（横幅いっぱい写真 + カード型）
============================= */
.director-message {
  background: #fff;
  padding: 0;
  text-align: center;
  border-top: 1px solid #ddd;
  margin-top: 60px;
}

/* 写真を横幅いっぱいに */
.director-message .message-photo {
  position: relative;
  width: 100%;
  overflow: hidden;
}

.director-message .message-photo img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
}

/* 上下の白ぼかし（グラデーション） */
.director-message .message-photo::before,
.director-message .message-photo::after {
  content: "";
  position: absolute;
  left: 0;
  width: 100%;
  height: 100px;
  pointer-events: none;
  z-index: 2;
}

.director-message .message-photo::before {
  top: 0;
  background: linear-gradient(to bottom, rgba(255,255,255,1) 0%, rgba(255,255,255,0) 100%);
}

.director-message .message-photo::after {
  bottom: 0;
  background: linear-gradient(to top, rgba(255,255,255,1) 0%, rgba(255,255,255,0) 100%);
}

/* タイトル＆本文カード */
.director-message .message-content {
  background: #fff;
  padding: 40px 20px;
  max-width: 900px;
  margin: -60px auto 0;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.08);
  position: relative;
  z-index: 5;
}

.director-message .section-title {
  font-size: 1.5rem;
  font-weight: 600;
  color: #222;
  line-height: 1.7;
  margin-bottom: 1.5rem;
  border-left: 4px solid #316d9b;
  padding-left: 12px;
}

/* 詳しく読むボタン（矩形・落ち着いた色） */
.director-message .toggle-btn {
  display: inline-block;
  background: #316d9b;
  color: #fff;
  border: none;
  border-radius: 4px;
  padding: 12px 32px;
  font-size: 1rem;
  cursor: pointer;
  transition: background 0.3s, transform 0.2s;
  margin-top: 10px;
  box-shadow: 0 3px 8px rgba(0,0,0,0.1);
}

.director-message .toggle-btn:hover {
  background: #498ac0;
  transform: translateY(-1px);
}

/* 開閉エリア */
.director-message .message-detail {
  /* display: none; */
  text-align: left;
  max-width: 900px;
  margin: 2rem auto;
  line-height: 1.9;
  background: #fff;
  padding: 30px;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.05);
}


@media screen and (max-width: 768px) {
  .director-message .message-header {
    flex-direction: column;
  }
}

/* お支払いページ */
.payment-page {
  padding: 40px 5%;
  font-family: "Noto Sans JP", sans-serif;
  color: #333;
  line-height: 1.8;
}

.payment-page h2 {
  font-size: 1.8em;
  border-left: 6px solid #4a7a91;
  padding-left: 10px;
  margin-bottom: 20px;
  color: #2b3a40;
}

.payment-page h3 {
  font-size: 1.4em;
  color: #4a7a91;
  margin-top: 30px;
}

.payment-page h4 {
  font-size: 1.1em;
  margin-top: 15px;
}

.payment-page p {
  margin-bottom: 1em;
}

.card-list {
  display: flex;
  justify-content: space-between; /* ← 横一列に等間隔配置 */
  align-items: center;
  flex-wrap: nowrap;
  gap: 10px;
  margin: 20px 0;
  padding: 0;
}

.card-list li {
  list-style: none;
  flex: 1; /* 各アイコンを均等幅に */
  text-align: center;
}

.card-list img {
  max-width: 80px;
  height: auto;
  display: inline-block;
}

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

.note {
  font-size: 0.9em;
  color: #777;
  margin-top: 10px;
}

/* スマホ対応 */
@media (max-width: 768px) {
  .payment-page {
    padding: 20px;
  }
  .card-list {
    flex-wrap: wrap; /* 狭い画面では2行に自動改行 */
    justify-content: center;
  }
  .card-list li {
    flex: 0 1 30%; /* スマホ時は3列表示に調整 */
    margin-bottom: 10px;
  }
  .card-list img {
    max-width: 60px;
  }
}

/* スタッフ紹介：無限スライダー */

.staff-gallery {
  width: 100%;
  overflow: hidden;
  padding: 40px 0;
  background: #f8f9fa;
}

.staff-gallery h2 {
  text-align: center;
  font-size: 1.8rem;
  margin-bottom: 20px;
  color: #444;
}

.infiniteslide_wrap {
  overflow: hidden;
}

.infiniteslide {
  display: flex;
  gap: 20px;
  align-items: center;
  list-style: none;
  padding: 0;
  margin: 0;
}

.infiniteslide li {
  flex: 0 0 auto;
}

.infiniteslide img {
  width: 220px;
  height: 220px;
  object-fit: cover;
  border-radius: 12px;
  box-shadow: 0 2px 6px rgba(0,0,0,0.1);
}


.shift-table {
  max-width: 100%;
  overflow-x: auto;
  margin: 40px auto;
  position: relative;
}

/* ✅ テーブル幅を固定レイアウトにして列幅を均一に */
.shift-table table {
  border-collapse: collapse;
  width: 100%;
  text-align: center;
  font-size: 0.9rem;
  table-layout: fixed; /* ←これで全列幅を均一に */
}

/* 全セル統一スタイル */
.shift-table th,
.shift-table td {
  border: 1px solid #ccc;
  padding: 6px;
  width: 45px; /* ← 幅固定 */
  min-width: 45px;
  white-space: nowrap;
	text-align: center;
  white-space: nowrap;
}

/* 左端列（名前列のデータ） */
.shift-table td:first-child {
  position: sticky;
  left: 0;
  z-index: 40; /* ← 左上セルより下、でも本文より上 */
  background: #fff;
}


/* ✅ 左上（「名前」セル）を最前面に固定 */
.shift-table thead th:first-child {
	position: sticky;
  left: 0;
  width: 90px;
  text-align: center;
  padding-left: 10px;
  box-shadow: 2px 0 5px rgba(0, 0, 0, 0.05);
  z-index: 50; 
  background: #f2f8fb;
}

/* 通常の曜日ヘッダー（日付・曜日） */
.shift-table thead th:not(:first-child) {
  position: sticky;
  top: 0;
  z-index: 5; /* ← 左端より低く */
  background: #f2f8fb;
}

/* ✅ ヘッダー背景を統一 */
.shift-table thead th {
  position: sticky;
  top: 0;
  z-index: 10;
  background: #f2f8fb;
}

/* ✅ 1行目（日付）・2行目（曜日）どちらも同じ背景 */
.shift-table thead .date-cell,
.shift-table thead .week-cell {
  background: #f2f8fb;
  width: 45px;
  min-width: 45px;
	z-index: 10;
}
/* --- 曜日セル共通 --- */
.shift-table thead .week-cell {
  position: sticky;
  top: 0;
  background: #f2f8fb;
  font-weight: 600;
  z-index: 8; /* ← ヘッダーより低く、名前よりさらに下 */
}

/* 土曜 */
.shift-table thead .week-cell.sat {
  background: #eaf4ff;  /* 淡い青 */
  color: #004;
  z-index: 8; /* ← 同じく名前より下 */
}

/* 日曜 */
.shift-table thead .week-cell.sun {
  background: #ffecec;  /* 淡い赤 */
  color: #c00;
  z-index: 8; /* ← 明示しておくと安定 */
}

/* 色分け */
.shift-table .work { background-color: #e8f8e8; color: #333; }
.shift-table .off  { background-color: #ffeaea; color: #c00; font-weight: bold; }
.shift-table .vac  { background-color: #fff7d6; color: #a67c00; font-weight: bold; }
.shift-table .sub  { background-color: #e6f2ff; color: #225; font-weight: 500; }

/* hover */
.shift-table tr:hover td { background: #f9f9f9; }

/* メインビジュアルスライダー */

.main-visual-slider {
  position: relative;
  overflow: hidden;
  width: 100%;
  padding-bottom: 56.25%; /* 16:9比率で高さを確保 */
}
@media screen and (max-width: 768px) {
  .main-visual-slider {
    padding-bottom: 130%; /* スマホでは縦長 */
  }
}

.main-visual {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  transition: opacity 1.5s ease-in-out;
	text-align: center;

}
.main-visual.active { opacity: 1; z-index: 1; }

/* OK Version */

/* 画像 */
.visual-image {
  position: relative;
  width: 100%;
  height: 100%;
}
.visual-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* 白ぼかし */
.fade-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 60px;
  background: linear-gradient(to bottom, rgba(255,255,255,0) 0%, #ffffff 100%);
  z-index:  4;
}

/* キャッチコピーを最前面に配置 */
.catchcopy {
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 100%;
  z-index: 5;

  /* 背景半透明＋上だけフェード */
  background: linear-gradient(to top, rgba(255, 255, 255, 0.85) 93%, rgba(255, 255, 255, 0) 100%);
  padding: 5px 20px 35px;
  font-family: "Shippori Mincho", "Noto Serif JP", serif;
  color: #2e2e2e;
  text-align: center;
  line-height: 1.9;
  letter-spacing: 0.05em;
  font-size: 1.4rem;
  box-sizing: border-box;
}

.catchcopy h2 {
  font-size: 1.3rem;
  margin: 0;
  font-weight: 500;
}

.catchcopy .highlight {
  color: #a67c3c;
  font-weight: 600;
}

/* スマホ */
@media screen and (max-width: 768px) {
  .main-visual-slider {
    padding-bottom: 133%; /* 縦長（3:4比率） */
  }
  .fade-overlay {
    height: 20px;
  }
  .catchcopy {
    font-size: 1.2rem;
    padding: 20px 15px 25px;
  }
  .catchcopy h2{
    font-size: 1.2rem;
    padding: 0px 5px 5px;
  }
}

html {
  scroll-behavior: smooth;
}

/* 選ばれる５つのポイント */
/* 症例用アコーディオン専用 */
/* 症例用アコーディオン専用 */
.case-accordion-btn {
  background-color: #f7f7f7;
  color: #333;
  border: 1px solid #ddd;
  padding: 10px 15px;
  border-radius: 6px;
  cursor: pointer;
  font-size: 16px;
  transition: background-color 0.3s;
  width: 100%;
  text-align: left;
  margin-top: 10px;
}

.case-accordion-btn:hover {
  background-color: #e8e8e8;
}

.case-accordion-content {
  display: none;
  padding: 15px 20px;
  margin-top: 10px;
  border-left: 3px solid #4c9;
  background: #fafafa;
}

.case-accordion-btn::after {
  content: "＋";
  float: right;
  transition: transform 0.3s;
}

.case-accordion-btn.active::after {
  content: "−";
}

/* フッター用 */

.fixed-bottom-reserve {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  transform: translateY(100%);
  transition: transform 0.4s ease;
  z-index: 1000;
}

.fixed-bottom-reserve.visible {
  transform: translateY(0);
}


/* ボタン部分 */
.reserve-buttons {
  display: flex;
  width: 100%;
}

.reserve-btn {
  flex: 1;
  color: #fff;
  text-align: center;
  text-decoration: none;
  padding: 10px 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.reserve-btn.tel {
  background: #89CFF0;
}

.reserve-btn.net {
  background: #62b37a;
}

.reserve-btn.first-visit {
  background: #bdb76b;
}

.reserve-btn .label {
  font-size: 13px;
  opacity: 0.9;
}

.reserve-btn .number {
  font-size: 18px;
  font-weight: bold;
}

/* 下の診療時間バー */
.reserve-info {
  background: #f6f6f6;
  color: #555;
  font-size: 12px;
  text-align: center;
  padding: 4px 0;
  border-top: 1px solid #ddd;
}

/* スマホ対応 */
@media (max-width: 480px) {
  .reserve-btn .label { font-size: 12px; }
  .reserve-btn .number { font-size: 16px; }
}

/* =====================
   初診予約ボタン（ページ上部）
   ===================== */

.btn-reserve {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  background: linear-gradient(135deg, #0b7db5 0%, #0f9fcf 100%);
  color: #fff;
  font-weight: 600;
  font-size: 1.1rem;
  padding: 14px 26px;
  border-radius: 50px;
  text-decoration: none;
  box-shadow: 0 4px 8px rgba(0, 123, 167, 0.25);
  transition: all 0.3s ease;
}

.btn-reserve:hover {
  background: linear-gradient(135deg, #0985c5 0%, #14a9da 100%);
  box-shadow: 0 6px 12px rgba(0, 123, 167, 0.3);
  transform: translateY(-2px);
}

.btn-reserve img {
  width: 22px;
  height: 22px;
  filter: brightness(0) invert(1);
}

/* スマホ調整 */
@media (max-width: 767px) {
  .btn-reserve {
    font-size: 1rem;
    padding: 12px 20px;
    border-radius: 40px;
  }
  .btn-reserve img {
    width: 20px;
    height: 20px;
  }
}

/* 医院案内 */

.facility-list, .access-container {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
}

.facility-item, .access-text {
  flex: 1 1 300px;
}

.facility-item img {
  width: 100%;
  border-radius: 10px;
}

.section-title {
  text-align: center;
  font-size: 1.8rem;
  margin-bottom: 20px;
}

.btn-more {
  display: inline-block;
  padding: 10px 20px;
  border: 1px solid #005BAC;
  color: #005BAC;
  border-radius: 25px;
  transition: all 0.3s;
}

.btn-more:hover {
  background: #005BAC;
  color: #fff;
}

/*スマホメニュー
---------------------------------------------------------*/
.drawer-nav ul,
.drawer-nav li {
	list-style: none;
  padding-left: 0;
  margin-left: 0;
}
.drawer-nav .dr_inbox {
	background: #f7f7f5;
	text-align: center;
}
.drawer-nav .drw_menu {
	padding: 6% 4% 8%;
	text-align: center;
}
.drawer-nav .drw_logo {
	width: 14%;
	margin: 0 auto;
}
.drawer-nav .drw_index {
	margin-top: 1.5em;
}
.drawer-nav .drw_index dt {
	width: 80%;
	margin: 0 auto;
	font-family: cronos-pro, sans-serif;
	font-weight: 400;
	font-style: normal;
	color: #529bc2;
	font-size: 150%;
	letter-spacing: .15em;
	line-height: 1.2em;
	position: relative;
}
.drawer-nav .drw_index dd {
	color: #928e87;
	font-size: 70%;
	letter-spacing: .15em;
	line-height: 1.2em;
}
.drawer-nav .drw_menu_list {
  display: flex !important;
  flex-wrap: wrap !important;
	margin-top: .5em;
	padding: 5px;
}
.drawer-nav .drw_menu_list li {
  list-style: none;
	width: 32%;
	margin-right: 2%;
	margin-top: 2%;
}
.drawer-nav .drw_menu_list li:nth-child(3n) {
	margin-right: 0;
}
.drawer-nav .drw_menu_list li:nth-child(-n+3) {
	margin-top: 2%;
}
.drawer-nav .drw_menu_list li a {
	display: block;
	background: #fff;
	position: relative;
	font-size: 80%;
	letter-spacing: .05em;
	line-height: 1.3em;
	height: 6.5em;
}
.drawer-nav .drw_menu_list li.txt_long a {
	letter-spacing: normal;
}
.drawer-nav .drw_menu_list li a::before {
	content: "";
	position: absolute;
	width: 100%;
	height: 3em;
	left: 0;
	right: 0;
	top: .6em;
	background-image: url("../images/drw_icon1@2x.png");
	background-repeat: no-repeat;
	background-position: center center;
	background-size: contain;
}

.drawer-nav .drw_menu_list li.icon1 a::before {background-image: url("https://kuribayashi-dc-hr.com/new/wp-content/themes/kuribayashi-theme/assets/images/icon-5points.jpg");}
.drawer-nav .drw_menu_list li.icon2 a::before {background-image: url("https://kuribayashi-dc-hr.com/new/wp-content/themes/kuribayashi-theme/assets/images/icon-first.jpg");}
.drawer-nav .drw_menu_list li.icon3 a::before {background-image: url("https://kuribayashi-dc-hr.com/new/wp-content/themes/kuribayashi-theme/assets/images/icon-staff.jpg");}
.drawer-nav .drw_menu_list li.icon4 a::before {background-image: url("https://kuribayashi-dc-hr.com/new/wp-content/themes/kuribayashi-theme/assets/images/icon-clinic.jpg");}
.drawer-nav .drw_menu_list li.icon5 a::before {background-image: url("https://kuribayashi-dc-hr.com/new/wp-content/themes/kuribayashi-theme/assets/images/icon-access.jpg");}
.drawer-nav .drw_menu_list li.icon6 a::before {background-image: url("https://kuribayashi-dc-hr.com/new/wp-content/themes/kuribayashi-theme/assets/images/icon-payment.jpg");}
.drawer-nav .drw_menu_list li.icon7 a::before {background-image: url("https://kuribayashi-dc-hr.com/new/wp-content/themes/kuribayashi-theme/assets/images/icon-periodontal.jpg");}
.drawer-nav .drw_menu_list li.icon8 a::before {background-image: url("https://kuribayashi-dc-hr.com/new/wp-content/themes/kuribayashi-theme/assets/images/icon-caries.jpg");}
.drawer-nav .drw_menu_list li.icon9 a::before {background-image: url("https://kuribayashi-dc-hr.com/new/wp-content/themes/kuribayashi-theme/assets/images/icon-root.jpg");}
.drawer-nav .drw_menu_list li.icon10 a::before {background-image: url("https://kuribayashi-dc-hr.com/new/wp-content/themes/kuribayashi-theme/assets/images/icon-implant.jpg");}
.drawer-nav .drw_menu_list li.icon11 a::before {background-image: url("https://kuribayashi-dc-hr.com/new/wp-content/themes/kuribayashi-theme/assets/images/icon-whitening.jpg");}
.drawer-nav .drw_menu_list li.icon12 a::before {background-image: url("https://kuribayashi-dc-hr.com/new/wp-content/themes/kuribayashi-theme/assets/images/icon-gumpearing.jpg");}

.drawer-nav .drw_menu_list li a span {
	position: absolute;
	left: 0;
	right: 0;
	top: 75%;
	-webkit-transform: translateY(-50%);
	transform: translateY(-50%);
}
.drawer-nav .com_bnr_rec {
	margin-top: 8%;
}

.drawer-nav .drw_blog {
	display: -webkit-flex;
	display: flex;
    -webkit-justify-content: space-between;
    justify-content: space-between;
}
.drawer-nav .drw_blog li {
	width: 33.3333%;
}
.drawer-nav .drw_blog li a {
	display: block;
	font-size: 70%;
	letter-spacing: .1em;
	line-height: 1.2em;
	padding: 1.5em 0;
}
.drawer-nav .drw_blog li.col_news a {
	background: #6f8aad;
}
.drawer-nav .drw_blog li.col_blog a {
	background: #d08d63;
}
.drawer-nav .drw_blog li.col_qa a {
	background: #dfc985;
}
.drawer-nav .drw_blog li a span {
	display: block;
	font-family: cronos-pro, sans-serif;
	font-weight: 400;
	font-style: normal;
	color: #fff;
	font-size: 220%;
	letter-spacing: .15em;
	line-height: 1.0em;
	margin-bottom: .1em;
}

.drawer-nav .drw_clinic {
	background: #f7f7f5;
	padding: 6% 10%;
}
.drawer-nav .com_contact {
	margin-bottom: 10%;
}
.drawer-nav .com_contact::before {
	display: none;
}
.drawer-nav .com_contact .abs_box {
	letter-spacing: .2em;
}
.drawer-nav .com_contact .abs_box .ft_min {
	padding-left: 2.8em;
	padding-right: 2.5em;
	margin-bottom: .5em;
}
.drawer-nav .com_timetable {
	font-size: 80%;
}

.drawer-nav .drw_access {
	background: #fff;
	padding: 6% 3%;
	font-size: 90%;
	letter-spacing: .05em;
	line-height: 1.4em;
}
.drawer-nav .drw_access .add_flex {
	width: 90%;
	margin: 0 auto;
	display: -webkit-flex;
	display: flex;
    -webkit-justify-content: space-between;
    justify-content: space-between;
    -webkit-align-items: center;
    align-items: center;
}
.drawer-nav .drw_access .add_flex address {
	text-align: left;
	width: 80%;
}
.drawer-nav .drw_access .add_flex address span {
	font-size: 120%;
	letter-spacing: .15em;
	display: block;
	margin-bottom: .2em;
}
.drawer-nav .drw_access .add_flex div {
	width: 20%;
}
.drawer-nav .drw_access .com_btn2 {
	width: 80%;
	margin: 1.0em auto 0;
}

.count-list {
	list-style-position: inside;
	padding: 0px;
}

/* アクセス */
/* =========================================
   アクセスページ アコーディオン専用フォント
   ========================================= */
.page-access .accordion-access-header,
.page-access .accordion-access-subheader,
.page-access .accordion-access-subcontent,
.page-access .accordion-access-subitem,
.page-access .accordion-access-item {
  font-family: "Source Han Serif JP", "Source Han Serif Japanese", source-han-serif-japanese, serif;
  letter-spacing: 0.02em;
  line-height: 1.8;
	font-size: 14px;
}
/* タイトルの見た目を少し上品に */
.page-access .accordion-access-header {
  font-weight: 600;
  font-size: 1.0rem;
}
/* サブアコーディオンのタイトル */
.page-access .accordion-access-subheader {
  font-weight: 500;
  font-size: 1rem;
  background: #fafafa;
  border-radius: 6px;
  padding: 10px 14px;
}
/* コンテンツ本文 */
.page-access .accordion-access-subcontent p {
  font-size: 0.95rem;
  margin-bottom: 10px;
}
/* 外部リンクタイプのアコーディオン */
.accordion-access-item.external-link {
  border: 1px solid #ddd;
  border-radius: 10px;
  margin-bottom: 10px;
  background: #fafafa;
  transition: background 0.3s ease;
}

.accordion-access-item.external-link:hover {
  background: #f0f8ff;
}

.accordion-access-item.external-link a.accordion-access-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-weight: 600;
  text-decoration: none;
  color: #0074cc;
  padding: 14px 16px;
}

.accordion-access-item.external-link .external-link-icon {
  font-size: 18px;
  color: #0074cc;
}

/* JR東京駅 親アコーディオン */
.accordion-access-subitem {
  border-top: 1px solid #ccc;
}

.accordion-access-subheader {
  width: 100%;
  background: #f2f6fa;
  padding: 12px 18px;
  border: none;
  text-align: left;
  cursor: pointer;
  font-size: 1.05rem;
  font-weight: 500;
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: background 0.2s;
}

.accordion-access-subheader:hover {
  background: #e6efff;
}

.accordion-access-subicon {
  font-size: 1.3rem;
  color: #004c80;
}

.accordion-access-subcontent {
  display: none;
  padding: 15px 20px;
  background: #fff;
}

.accordion-access-subcontent.show {
  display: block;
  animation: fadeIn 0.4s ease;
}

.accordion-access-item {
  border: 1px solid #ccc;
  border-radius: 8px;
  overflow: hidden;
}

.accordion-access-header {
  width: 100%;
  background: #f7f9fb;
  color: #333;
  text-align: left;
  padding: 15px 20px;
  font-size: 1.1rem;
  border: none;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-weight: 500;
  transition: background 0.2s;
}

.accordion-access-header:hover {
  background: #eaf3ff;
}

.accordion-access-icon {
  font-size: 1.5rem;
  color: #004c80;
}

.accordion-access-content {
  display: none;
  background: #fff;
  padding: 20px;
}

.accordion-access-content.show {
  display: block;
  animation: fadeIn 0.4s ease;
}


/* 初めての方へ・初診の流れ */

.access-section {
  max-width: 900px;
  margin: 80px auto;
  padding: 0 20px;
}

.accordion-header {
  width: 100%;
  background: #f7f9fb;
  color: #333;
  text-align: left;
  padding: 15px 20px;
  font-size: 1.1rem;
  border: none;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-weight: 500;
  transition: background 0.2s;
}

.accordion-header:hover {
  background: #eaf3ff;
}

.accordion-icon {
  font-size: 1.5rem;
  color: #004c80;
}

/* アコーディオン基本構造 */
.accordion-item {
  border-bottom: 1px solid #ddd;
  margin-bottom: 10px;
	border: 1px solid #ccc;
  border-radius: 8px;
  overflow: hidden;
}

.accordion-title {
  font-size: 20px;
  font-weight: 600;
  cursor: pointer;
  padding: 15px;
  background: #f9f9f9;
  border-radius: 6px;
  position: relative;
  transition: background 0.3s;
}

.accordion-title::after {
  content: "▶";
  position: absolute;
  right: 15px;
  font-size: 14px;
  transition: transform 0.3s;
	background: #f7f7f7;
}

.accordion-title.active::after {
  transform: rotate(90deg);
}

.accordion-title:hover {
  background: #f0f0f0;
}

.accordion-content.show {
  display: block;
  animation: fadeIn 0.4s ease;
}

.accordion-content {
  max-height: 0;
  overflow: hidden;
  background: #fafafa;
  border-radius: 0 0 6px 6px;
  transition: max-height 0.6s ease, opacity 0.4s ease, padding 0.3s ease;
  opacity: 0;
  padding: 0 20px; /* ← 一旦ここを0にする */
  box-sizing: border-box;
}

/* 開いた状態 */
.accordion-title.active + .accordion-content {
  opacity: 1;
  padding: 15px 20px; /* ← 開いた時だけ余白 */
}

.access-step {
  margin-bottom: 25px;
}

.accordion-title.active {
  background: #f7f7f7;
}

.accordion-content.show {
  display: block;
  animation: fadeIn 0.4s ease;
}

.accordion-content img {
	display: block;
  max-width: 80%;        /* ← PCでは横幅80%まで */
  height: auto;
  margin: 20px auto;     /* 中央寄せ */
  border-radius: 8px;    /* 角丸（任意） */
  box-shadow: 0 2px 6px rgba(0,0,0,0.1); /* 柔らかい影（任意） */
}
.treatment-section img {
	max-width: 80%; 
	height: auto;
  margin: 20px auto;
}
@keyframes fadeIn {
  from { opacity: 0; transform: translateY(-5px); }
  to { opacity: 1; transform: translateY(0); }
}

/* スマホ対応 */
@media (max-width: 768px) {
  .accordion-title {
    font-size: 18px;
  }
	.accordion-content img {
		max-width: 100%;
	}
}


/* ==========================
   テーブルの最小幅制限を解除（スマホの横はみ出し対策）
========================== */
.accordion-content table.price-table {
  width: 100% !important;
  max-width: 100% !important;
  min-width: auto !important; /* ← これが決定打 */
  table-layout: fixed;
  border-collapse: collapse;
}

.price-table th, .price-table td {
  border: 1px solid #ddd;
  padding: 8px;
}

.price-table th {
  background: #f0f0f0;
}

@media (max-width: 768px) {
  .accordion-title { font-size: 18px; }
}

/* price-table */
.price-table {
  width: 100% !important;
  border-collapse: collapse;
  margin: 20px 0;
	table-layout: fixed; /* 幅の自動拡張を防ぐ */
}

.price-table th, .price-table td {
  border: 1px solid #ddd;
  padding: 10px;
  text-align: left;
}

.price-table th {
  background: #f5f5f5;
}

/* YouTube埋め込み動画のレスポンシブ対応 */
.youtube-wrapper {
  position: relative;
  width: 100%;
  padding-bottom: 56.25%; /* 16:9 のアスペクト比 */
  height: 0;
  overflow: hidden;
  border-radius: 8px; /* お好みで角丸に */
  margin: 20px 0;
}

.youtube-wrapper iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: none;
}

/* ▼共通デザイン調整 */
/* 不要：display: none を削除（競合回避） */

/* 料金・治療*/
/* 診療メニュー */
.treatment-section {
  max-width: 900px;
  margin: 0 auto;
  padding: 40px 20px;
  line-height: 1.8;
}

.section-title {
  font-size: 28px;
  border-left: 5px solid #0073aa;
  padding-left: 12px;
  margin-bottom: 25px;
}


/* ブログ・NEWS */
/* === NEWSセクション === */
/* セクション全体を中央寄せ */
.news-thumbnail img {
  width: 100%;
  height: 180px;
  object-fit: cover;
  border-radius: 12px;
  margin-bottom: 10px;
}

.news-section {
  text-align: left;   /* ← これで h2 内の inline-block を中央揃え */
  padding-top: 20px;
  padding-bottom: 10px;
	margin-left: 30px;
}

/* NEW TOPICS 見出し */
.news-title {
  position: relative;
  display: inline-flex; /* ← inline-block → inline-flexに変更 */
  align-items: center;
  gap: 10px; /* アイコンとの間隔 */
  background: #ffffff;
  color: #4a7a91;
  font-size: 22px;
  letter-spacing: 2px;
  font-weight: 500;
  padding: 6px 24px;
  margin: 0 auto 15px;
  border-radius: 12px;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
}

/* Instagramリンク部分 */
.insta-link img {
  width: 22px;
  height: 22px;
  display: block;
  transition: transform 0.3s ease, opacity 0.3s ease;
  filter: brightness(0) saturate(100%) invert(34%) sepia(11%) 
        saturate(1225%) hue-rotate(147deg) brightness(93%) contrast(89%);
}

.insta-link:hover img {
  transform: scale(1.1);
  opacity: 0.7;
}


/* 吹き出し部分 */
.news-title::after {
  content: "";
  position: absolute;
  bottom: -8px; /* ← 10〜12pxなら下に離れる。8pxでやや詰め気味に */
  left: 50%;
  transform: translateX(-50%);
  border-left: 8px solid transparent;
  border-right: 8px solid transparent;
  border-top: 8px solid #fff;
}


.news-scroll {
  display: flex;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  gap: 20px;
  margin-top: 10px;
  justify-content: flex-start;
}

.news-item {
  flex: 0 0 250px;
  background: #fff;
  border-radius: 10px;
  box-shadow: 0 2px 6px rgba(0,0,0,0.05);
  padding: 16px;
  text-align: left;
  scroll-snap-align: start;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.news-item:hover {
  transform: translateY(-4px);
  box-shadow: 0 6px 12px rgba(0,0,0,0.1);
}

.news-date {
  color: #c28b60;
  font-size: 13px;
  margin-bottom: 6px;
}

.news-tag {
  display: inline-block;
  background: #c28b60;
  color: #fff;
  border-radius: 10px;
  padding: 2px 8px;
  font-size: 12px;
  margin-bottom: 10px;
}

.news-text a {
  font-size: 14px;
  color: #333;
  line-height: 1.4;
  text-decoration: none;
}

.news-text a:hover {
  color: #007c89;
}

/* --- PC表示（横スクロール解除・2段組など） --- */
@media (min-width: 768px) {
  .news-scroll {
    justify-content: center;
    overflow-x: visible;
    flex-wrap: wrap;
  }
  .news-item {
    flex: 0 0 280px;
  }
}

/* 医院の特徴 */
/* ===============================
   円アイコン型の特徴セクション
================================ */
/* ===== 4つのアイコン横並び（PC／スマホ対応） ===== */
.clinic-features-circle {
  display: flex;
  justify-content: center; /* 中央寄せ */
  align-items: center;
  gap: 40px;               /* アイコン間の余白 */
  flex-wrap: nowrap;       /* 1行固定 */
  margin: 10px auto;
  max-width: auto;
  text-align: center;
}

/* 各アイコンの枠 */
.feature-item {
  flex: 1;
  display: flex;
  justify-content: center;
  align-items: center;
}

/* 画像スタイル */
.feature-item img {
  width: 140px;            /* アイコンの大きさ（PC） */
  height: 140px;
  object-fit: contain;
  border-radius: 50%;
  background-color: #fff;
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
  transition: transform 0.3s ease;
}

.feature-item img:hover {
  transform: scale(1.05);
}

/* ===== スマホ調整（画面幅が狭い時） ===== */
@media (max-width: 768px) {
  .clinic-features-circle {
    gap: 10px;
    padding: 0 10px;
  }

  .feature-item img {
    width: 80px;  /* スマホ用サイズ */
    height: 80px;
  }
}


/* ナビ全体 */
/* モバイルメニュー本体 */
/* =============================
   モバイルメニュー レイアウト
============================= */

.mobile-nav {
  background: #fdfdfc;
  text-align: center;
  padding: 40px 20px;
  overflow-y: auto;
}

.menu-logo img {
  width: 200px;
  margin-bottom: 10px;
}

.menu-section {
  margin-top: 30px;
}

.menu-title-en {
  font-family: "Lato", "Helvetica Neue", sans-serif;
  color: #6a8fb7;
  font-size: 1.3rem;
  letter-spacing: 0.1em;
  margin-bottom: 4px;
}

.menu-title-ja {
  font-size: 0.85rem;
  color: #999;
  margin-bottom: 20px;
}

.menu-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  justify-items: center;
}

.menu-item {
  background: #fff;
  border-radius: 6px;
  padding: 14px 8px;
  text-decoration: none;
  color: #333;
  box-shadow: 0 0 6px rgba(0,0,0,0.05);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.menu-item:hover {
  transform: translateY(-2px);
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.menu-item img {
  width: 60px;
  height: 50px;
  object-fit: contain;
  margin-bottom: 8px;
}

.menu-item span {
  font-size: 0.85rem;
  line-height: 1.4;
  display: block;
}

/* 閉じるボタン */
.close-btn {
  position: absolute;
  right: 20px;
  top: 20px;
  background: #6a8fb7;
  color: #fff;
  border: none;
  border-radius: 50%;
  width: 36px;
  height: 36px;
  font-size: 18px;
  cursor: pointer;
}


/* ===============================
   Clinic Info Section
=============================== */

.clinic-info {
  background-color: #f9f9f9;
  padding: 60px 20px;
  text-align: center;
}

.clinic-info-container {
  max-width: 700px;
  margin: 0 auto;
}

.clinic-info-header {
  margin-bottom: 15px;
}

.clinic-logo {
  width: 80px;
  margin-bottom: 10px;
}

.clinic-name {
  font-size: 1.4rem;
  color: #444;
  font-weight: 600;
  margin: 0;
}

.clinic-address {
  font-size: 0.95rem;
  color: #555;
  line-height: 1.7;
  margin: 20px 0 30px;
}

.map-link {
  display: inline-block;
  margin-top: 6px;
  color: #0066cc;
  text-decoration: none;
  font-weight: 500;
}

.map-link:hover {
  text-decoration: underline;
}

/* 診療時間テーブル */
/* === 基本デザイン（PC共通） === */
.clinic-hours {
  text-align: left;
  margin: 0px auto;
  /* max-width: 700px; */
}

.clinic-hours h2 {
  /* font-size: 1em; */
  color: #005BAC;
  border-bottom: 2px solid #005BAC;
  display: inline-block;
  padding-bottom: 8px;
  margin-bottom: 5px;
} 

.hours-table-eng {
	padding: 10px;
  width: 70%;
  border-collapse: collapse;
  margin: 30px auto 15px;
  font-size: 16px;
}

.hours-table th, .hours-table td {
  border: 1px solid #cfd8e0;
  padding:15px;
  text-align: center;
}

.hours-table {
	padding: 10px;
  width: 100%;
  border-collapse: collapse;
  margin: 30px auto 15px;
  font-size: 16px;
}

.hours-table th, .hours-table td {
  border: 1px solid #cfd8e0;
  padding:15px;
  text-align: center;
}

.hours-table th {
  background-color: #E2E2E2;
  color: #333333;
  font-weight: normal;
}

.hours-table td {
  color: #333333;
}

.hours-table td:first-child {
  color: #333;
	margin: 10px;
	padding: 10px;
  font-weight: 500;
  width: 120px;
}

.notice-content {
  font-size: 14px;
  color: #666;
	margin: 10px;
	bottom: 50px;
	padding: 10px;
  line-height: 1.6;
}


/* 3文字分の幅を完全固定（揃える） */
.hours-table-eng th:not(:first-child),
.hours-table-eng td:not(:first-child) {
  width: 40px;   /* ← 必ず同じ幅になる */
  display: table-cell;
  text-align: center;
}

/* Hours列（最初の列）だけ少し広め */
.hours-table-eng th:first-child,
.hours-table-eng td:first-child {
  width: 110px;
  font-family: "Noto Sans", sans-serif;  /* 英字表記でも長いので可読性重視 */
}

/* スマホ対応 */
@media screen and (max-width: 600px) {
  .clinic-hours {
    padding: 0;
		overflow-x: auto;
  }
  .hours-table-eng {
		min-width: 100%
  }
  .hours-table-eng th, .hours-table-eng td {
		font-size: 80%;
		margin: 0px;
		border: 1px solid #ccc;
    text-align: center;
  }
  .hours-table {
		min-width: 100%
  }
  .hours-table th, .hours-table td {
		font-size: 90%;
		margin: 0px;
		border: 1px solid #ccc;
  }
}
/* スクロールバー非表示（Safari/Chrome） */
.clinic-hours-wrapper::-webkit-scrollbar {
  display: none;
}

.strengths {
  background-color: #f9fafc;
  padding: 80px 20px;
  text-align: center;
}

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

.section-title {
  font-size: 2rem;
  color: #004c97;
  margin-bottom: 10px;
  letter-spacing: 0.05em;
}

.section-lead {
  font-size: 1rem;
  color: #333;
  margin-bottom: 50px;
  line-height: 1.8;
}

.strengths-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 40px 30px;
}

.strength-item {
  background: #fff;
  border-radius: 10px;
  padding: 25px;
  box-shadow: 0 2px 10px rgba(0,0,0,0.08);
  transition: all 0.3s ease;
}

.strength-item:hover {
  transform: translateY(-4px);
  box-shadow: 0 5px 18px rgba(0,0,0,0.12);
}

.strength-item img {
  width: 100%;
  border-radius: 8px;
  margin-bottom: 20px;
}

.strength-item h3 {
  font-size: 1.2rem;
  color: #004c97;
  margin-bottom: 10px;
}

.strength-item p {
  font-size: 0.95rem;
  color: #555;
  line-height: 1.6;
}

/* --- スマホ対応 --- */
@media screen and (max-width: 768px) {                                                      
  .strengths-list {
    grid-template-columns: 1fr;
  }

  .section-title {
    font-size: 1.6rem;
  }

  .section-lead {
    font-size: 0.9rem;
  }

  .strength-item {
    padding: 20px;
  }
}
/* 全体をスマホ画面内に収める */



body {
  font-family: 
    "Hiragino Kaku Gothic ProN",
    "Yu Gothic",
    "游ゴシック体",
    "Noto Sans JP",
    sans-serif;
}
h2, h3 {
  font-family: 
    "Hiragino Mincho ProN",
    "Yu Mincho",
    "游明朝体",
    serif;
}
.prevention-visual {
  background: #f4f9fb;
  padding: 60px 20px;
}
.prevention-container {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  justify-content: space-between;
  max-width: 1200px;
  margin: 0 auto;
}
.prevention-left {
  flex: 0 0 120px;
  writing-mode: vertical-rl;
  font-size: 1.5em;
  color: #2a7fbc;
  margin-right: 20px;
}
.prevention-right {
  flex: 1;
  max-width: 600px;
  font-size: 1em;
  line-height: 1.8;
}
.prevention-right h2 {
  font-size: 1.5em;
  font-weight: bold;
  margin-bottom: 20px;
}
.prevention-right .blue {
  color: #2a7fbc;
  font-weight: bold;
}
.prevention-image {
  flex: 0 0 200px;
  margin-left: 20px;
}
.prevention-image img {
  width: 100%;
  max-width: 200px;
  height: auto;
}
.main-menu {
  background: #fff;
  border-top: 1px solid #eee;
  border-bottom: 1px solid #eee;
  font-family: 'Yu Mincho', serif;
  text-align: center;
}

.main-menu ul {
  list-style: none;
  display: flex;
  justify-content: center;
  padding: 0;
  margin: 0;
}

.main-menu li {
  position: relative;
  padding: 10px 24px;
  border-left: 1px solid #aaa;
}

.main-menu li:first-child {
  border-left: none;
}

.main-menu a {
  display: block;
  color: #333; /* 通常時の文字色 */
  text-decoration: none;
  transition: opacity 0.3s ease, transform 0.3s ease;

}
/* ホバー時に文字を薄く＆わずかに浮かせる */
.main-menu a:hover {
  opacity: 0.6;
  transform: translateY(-2px);
}

.main-menu .jp {
  display: block;
  font-size: 16px;
  font-weight: 500;
}

.main-menu .en {
  display: block;
  font-size: 12px;
  color: #aaa;
  margin-top: 4px;
  font-family: 'Helvetica Neue', sans-serif;
}


.reservation-buttons {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin: 60px 0 30px;
  flex-wrap: wrap;
}

.btn-reserve {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px 28px;
  font-size: 1.1em;
  font-weight: bold;
  border-radius: 999px;
  color: #fff;
  text-decoration: none;
  transition: 0.3s;
  min-width: 200px;
}

.btn-reserve img {
  margin-left: 10px;
  width: 24px;
  height: 24px;
}

.btn-reserve.blue {
  background-color: #004096;
}

.btn-reserve.green {
  background-color: #00c300;
}

.btn-reserve:hover {
  opacity: 0.85;
}

/* ===============================
   スタッフカード共通スタイル
=============================== */
/* === 経歴リスト（理事長スタイル） === */
.career-list {
  list-style-type: disc;
  margin-left: 1.5rem;
  line-height: 1.8;
  font-size: 15px;
  color: #333;
  padding-left: 0.5rem;
}

.career-list li {
  margin-bottom: 0.5em;
}

/* --- 通常グリッド（サムネ時）--- */
.staff-section {
  text-align: center;
  padding: 40px 10px;
  background-color: #fdfdfd;
}

/* ===============================
   スタッフ紹介：カード基本スタイル
   =============================== */
/* ▼ スタッフ一覧：全体の横幅を広げる */
.staff-list {
  display: grid;
  gap: 30px;
  max-width: 1300px;   /* ← ここを広げるのが最重要 */
  margin: 0 auto;
  padding: 20px;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
}

/* ▼ 通常時のスタッフカード */
.staff-item {
  transition: all 0.3s ease;
}

/* ▼ 展開したときは1列に */
.staff-list.expanded {
  max-width: 900px;  /* 詳細時は読みやすく少し狭めに */
  grid-template-columns: 1fr;
}

/* ▼ 役職のフォントサイズ（既に調整済みなら不要） */
.staff-role {
  font-size: 14px;
  color: #957f1b;
}
.staff-name {
  font-size: 20px;
  font-weight: 700;
}

/* ---------- レスポンシブ ---------- */

/* タブレット（768px〜1024px） → 2列 */
@media (max-width: 1024px) {
  .staff-list {
    max-width: 1000px;
    grid-template-columns: repeat(2, 1fr);
  }
}

/* スマホ → 2列 or 1列調整可（今回は2列） */
@media (max-width: 600px) {
  .staff-list {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
  }
}

/* ===============================
   詳細部（初期は非表示）
   =============================== */
.staff-detail {
  display: none;
  padding: 30px;
  line-height: 1.8;
}

/* ===============================
   activeクラスで開く
   =============================== */
.staff-item.active .staff-detail {
  display: block;
}

.staff-item.active .staff-thumb {
  display: none;
}

/* ===============================
   展開時は1列表示（expandedクラス時）
   =============================== */
/* ===============================
   展開時は1列表示（expandedクラス時）
   =============================== */
/* ===============================
   展開時は1列表示（expandedクラス時）
   =============================== */
.staff-list.expanded {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0;
  width: 100%;
  max-width: 1200px; /* ✅ PCでは広めに */
  margin: 0 auto;
  transition: all 0.3s ease;
}

/* 展開中はアクティブ以外非表示 */
.staff-list.expanded .staff-item:not(.active) {
  display: none;
}

/* 展開中のカードは幅いっぱいに広げる */
.staff-list.expanded .staff-item.active {
  width: 100%;
  box-sizing: border-box;
  padding: 0.4 rem; /* ✅ 左右余白を少し確保 */
}


.staff-detail img.staff-detail-img {
  display: block;
  width: 120px;
  height: 120px;
  border-radius: 50%;
  margin: 0 auto 20px;
}
.staff-list {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 40px;
  margin-top: 30px;
}

.staff-item {
  width: 180px;
  text-align: center;
}

.staff-item img {
  width: 160px;
  height: 160px;
  object-fit: cover;
  /* border-radius: 50%; */
  transition: transform 0.3s ease;
	text-decoration: none; /* 下線を消す */
  color: inherit;        /* テキスト色を親要素に合わせる */
  display: inline-block;

}

.staff-item img:hover {
  transform: scale(1.05);
}

.staff-role {
  color: #9c8b64;
  font-size: 0.8rem;
  margin-top: 10px;
}

.staff-name {
  font-size: 1.1rem;
  color: #333;
  margin-top: 4px;
  font-weight: 500;
}

/* スマホ（幅768px以下）でも2列に並ぶように */
@media (max-width: 768px) {
  .staff-list {
    justify-content: center;
    gap: 20px;
  }

  .staff-item {
    flex: 0 0 calc(50% - 20px); /* 2列 */
    width: auto;
  }

  .staff-item img {
    width: 130px;
    height: 130px;
  }

  .staff-role {
    font-size: 0.85rem;
  }

  .staff-name {
    font-size: 1rem;
  }
}
.btn-staff {
  display: inline-block;
  margin-top: 40px;
  padding: 12px 40px;
  border: 1.5px solid #333;
  border-radius: 40px;
  color: #333;
  text-decoration: none;
  transition: all 0.3s ease;
  font-size: 1rem;
}

.btn-staff:hover {
  background-color: #333;
  color: #fff;
}

.staff-grid {
  display: grid;
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1rem;
  box-sizing: border-box;
  transition: all 0.4s ease;
}

/* --- カード --- */
.staff-card {
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.05);
  overflow: hidden;
  transition: all 0.4s ease;
}

/* --- サムネ画像と名前 --- */
.staff-thumb {
  text-align: center;
  padding: 0.5rem 0.5rem;
  cursor: pointer;
}
.staff-thumb img {
  width: 130px;
  height: 140px;
  object-fit: cover;
  border-radius: 50%;
  margin-bottom: 0.8rem;
  transition: transform 0.3s ease;
}
.staff-thumb:hover img {
  transform: scale(1.05);
}
/* ===============================
   スタッフカード：役職のみ小さく
   =============================== */
.staff-name {
  font-weight: 600;
  color: #333;
  font-size: 1rem; /* ← 通常サイズ */
  line-height: 1.6;
}

/* 「【〜】」で囲まれた役職部分を小さく */
.staff-name strong,
.staff-name span.role {
  font-size: 0.85em;  /* ✅ 小さめに */
  display: block;     /* ✅ 改行で下の名前と間隔を作る */
  line-height: 1.4;
  color: #555;        /* ✅ 少し淡いグレーにして上品に */
}

/* --- 詳細部分（初期は非表示）--- */
.staff-detail {
  display: none;
  padding: 1.5rem 2rem;
  text-align: left;
}

/* --- 展開時（クリックされたら）--- */
.staff-card.active {
  grid-column: 1 / -1; /* ✅ 全幅に広がる */
}
.staff-card.active .staff-detail {
  display: block;
}
.staff-card.active .staff-thumb {
  text-align: center;
}

/* --- グリッド全体が展開状態なら1列表示 --- */
.staff-grid.expanded {
  grid-template-columns: 1fr !important; /* ✅ 1列に切り替え */
  max-width: 760px;
  padding: 0 1rem;
}

/* --- タブレット（769px〜1024px）--- */
@media (max-width: 1024px) {
  .staff-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.2rem;
  }
}

/* --- スマホ（〜768px）--- */
@media (max-width: 768px) {
  .staff-grid {
    grid-template-columns: repeat(2, 1fr); /* ✅ サムネ時は2列固定 */
    gap: 0.8rem;
    padding: 0 0.5rem;
  }
  .staff-grid.expanded {
    grid-template-columns: 1fr !important; /* ✅ 展開時は1列に */
  }
}
/* ===============================
   展開後に写真と名前を非表示にする
   =============================== */

/* 展開前はそのまま */
.staff-card .staff-thumb {
  display: block;
}

/* 展開時（activeクラス付与中）は非表示 */
.staff-card.active .staff-thumb {
  display: none;
}

/* テーブルラップ */
.table-wrapper {
  overflow-x: auto;
  margin-bottom: 2em;
}

/* テーブル本体 */
table {
  border-collapse: collapse;
  width: 100%;
  min-width: 600px;
}

table th,
table td {
  border: 1px solid #ccc;
  padding: 0.75em;
  text-align: left;
}

table th {
  background: #f0f8ff;
  font-weight: bold;
}

table tbody tr:nth-child(even) {
  background: #f9f9f9;
}

.introduction-page {
  font-family: "Hiragino Kaku Gothic ProN", "Yu Gothic", "Noto Sans JP", sans-serif;
  color: #333;
}
.intro-hero {
  text-align: center;
  padding: 20px 20px;
  background: #f5f9fc;
}

.intro-concept {
  max-width: 800px;
  margin: 0 auto;
  padding: 40px 20px;
  line-height: 1.8em;
}

.intro-facility {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 40px;
  padding: 40px 20px;
}
.facility-item {
  text-align: center;
}
.facility-item h3 { font-size: 1.4em; margin-bottom: 12px; }
.facility-item img {
  width: 100%;
  height: auto;
  border-radius: 8px;
  margin-bottom: 12px;
}
.facility-item p { font-size: 1em; color: #555; }

.intro-info {
  background: #f9f9f9;
  padding: 40px 20px;
  max-width: 600px;
  margin: 0 auto;
  text-align: center;
}
.intro-info h3 { font-size: 1.6em; margin-bottom: 20px; }
.intro-info p { margin: 8px 0; }

.intro-reserve {
  text-align: center;
  margin: 60px 0 80px;
}
.btn-reserve {
  display: inline-block;
  padding: 14px 28px;
  font-size: 1.1em;
  border-radius: 999px;
  text-decoration: none;
  color: #fff;
  margin: 0 10px;
}
.btn-reserve.blue { background-color: #004096; }
.btn-reserve.green { background-color: #00c300; }
.btn-reserve:hover { opacity: 0.85; }
.blue {
  color: #004096; /* またはお好きな青色（例: #007bff） */
  font-weight: bold;
}
.red {
  color: #FF4B23; /* またはお好きな青色（例: #007bff） */
  font-weight: bold;
}


/* 共通デザイン：青帯ヘッダー */

.sidebar {
  width: 240px;
  margin-right: 32px;
}

.content-area {
  flex: 1;
}

.content-area .intro h1 {
  font-size: 2.4em;
  color: #264653;
  margin-bottom: 16px;
}
.content-area .intro p {
  font-size: 1.1em;
  color: #555;
  margin-bottom: 40px;
}

.content-area section {
  margin-bottom: 60px;
}

.prevention-list {
  list-style: none;
  padding: 0;
}
.prevention-list li {
  margin-bottom: 12px;
}
.prevention-list li a {
  color: #0070a8;
  text-decoration: none;
}
.prevention-list li a:hover {
  text-decoration: underline;
}

.step {
  margin-top: 24px;
}
.step h3 {
  font-size: 1.3em;
  color: #0a3a67;
  margin-bottom: 8px;
}
.step p {
  font-size: 1em;
  color: #444;
  line-height: 1.6;
}

.cta-bottom {
  margin-top: 40px;
  text-align: center;
}
.btn-reserve {
  display: inline-block;
  padding: 14px 28px;
  border-radius: 999px;
  text-decoration: none;
  color: #fff;
  margin: 0 10px;
}
.btn-reserve.blue {
  background-color: #004096;
}
.btn-reserve.green {
  background-color: #00c300;
}
.btn-reserve:hover {
  opacity: 0.85;
}

/* =========================
   診療メニュー レイアウト調整
   ========================= */

/* PC：2カラムレイアウト */
.page-with-sidebar {
  display: flex;
  gap: 40px;
  align-items: flex-start;
}

/* =========================
   サイドメニュー 固定（追従）設定
   ========================= */
@media (min-width: 768px) {
  .sidebar {
    position: sticky;
    top: 100px; /* ヘッダーとの間の余白調整（例：固定ヘッダーがある場合） */
    align-self: flex-start;
    height: fit-content;
    max-height: calc(100vh - 120px); /* 画面下までで止まる */
    overflow-y: auto; /* 長くなった場合に内部スクロール */
    scrollbar-width: thin; /* Firefox */
  }

  /* スクロールバーの見た目を控えめに */
  .sidebar::-webkit-scrollbar {
    width: 6px;
  }
  .sidebar::-webkit-scrollbar-thumb {
    background-color: rgba(0, 0, 0, 0.2);
    border-radius: 3px;
  }
}

/* スマホでは通常の縦並び */
@media (max-width: 767px) {
  .sidebar {
    position: static;
    max-height: none;
    overflow: visible;
  }
}
/* サイドバーの幅を適正化 */
.sidebar {
  flex: 0 0 260px; /* ←ここで幅を固定（変更可） */
  background-color: #f8f8f8;
  border-radius: 8px;
  padding: 20px;
  box-sizing: border-box;
}

/* メニュー内の文字を見やすく */
.sidebar .menu-text {
  text-align: center;
  margin-bottom: 16px;
}
.sidebar .menu-jp {
  font-size: 18px;
  font-weight: 600;
  color: #333;
}

.sidebar .menu-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.sidebar .menu-list li {
  margin: 8px 0;
}

.sidebar .menu-list a {
  display: block;
  padding: 10px 12px;
  border-radius: 6px;
  text-decoration: none;
  color: #333;
  background: #fff;
  transition: all 0.2s ease;
}

.sidebar .menu-list a:hover {
  background-color: #0074d9;
  color: #fff;
}

/* 本文エリアを広く取る */
.main-content {
  flex: 1;
  min-width: 0;
}

/* -------------------------
   スマホ表示：1カラム化
   ------------------------- */
@media (max-width: 768px) {
  .page-with-sidebar {
    flex-direction: column;
  }

  .sidebar {
    width: 100%;
    flex: none;
    margin-bottom: 20px;
  }

  .sidebar .menu-list a {
    text-align: center;
  }
}

.main-content {
  flex: 1;
}

.prevention-message-box {
  background: #fff;
  border: 1px solid #eee;
  padding: 30px;
  border-radius: 8px;
  box-shadow: 2px 2px 8px rgba(0,0,0,0.05);
  margin-bottom: 40px;
  text-align: center;
}

.prevention-message-title {
  font-size: 1.4em;
  font-weight: bold;
  line-height: 1.6;
  margin-bottom: 20px;
}

.highlight-orange {
  color: #f57c00;
}

/* 全体ボックス */
.prevention-message-box {
  background: #fff;
  border: 1px solid #eee;
  padding: 3em 2em;
  border-radius: 8px;
  box-shadow: 2px 2px 8px rgba(0,0,0,0.05);
  margin-bottom: 3em;
  text-align: center;
  font-family: "Yu Mincho", "Noto Serif JP", "Hiragino Mincho ProN", "serif";
  color: #333;
  line-height: 2;
  letter-spacing: 0.05em;
}

/* タイトル */
.prevention-message-title {
  font-size: 1.6em;
  font-weight: normal;
  margin-bottom: 1.5em;
}

.highlight-orange {
  color: #D85C12;
}

/* サブテキスト */
.prevention-message-sub {
  font-size: 1.05em;
  margin-bottom: 2em;
}

/* チェック付きリスト */
.prevention-message-list {
  list-style: none;
  padding: 0;
  margin: 0 auto;
  display: inline-block;
  text-align: left;
}

.prevention-message-list li {
  font-size: 1em;
  margin: 0.8em 0;
  position: relative;
  padding-left: 1.8em;
}

.prevention-message-list li::before {
  content: "✔";
  position: absolute;
  left: 0;
  color: #D85C12;
  font-weight: bold;
}


.section-heading {
  display: flex;
  align-items: center;
  gap: 1em;
  margin-bottom: 2em;
}

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

.section-text {
  line-height: 1.2;
}

.section-ja {
  font-family: "Yu Mincho", "Hiragino Mincho ProN", "Noto Serif JP", serif;
  font-size: 1.2em;
  color: #333;
  margin: 0;
  letter-spacing: 0.1em;
}

.section-en {
  font-size: 2em;
  font-weight: bold;
  font-family: "Georgia", "serif";
  letter-spacing: 0.15em;
  color: #222;
  margin: 0;
}

.page-top-btn {
  position: fixed;
  bottom: 90px; /* ←フッターメニューと重ならない高さ */
  right: 20px;
  background-color: #4a7a91; /* 青色 */
  color: #fff;
  font-size: 12px;
  text-align: center;
  text-decoration: none;
  border-radius: 50%;
  width: 70px;
  height: 70px;
  display: flex;              /* ← ここを追加 */
  flex-direction: column;     /* ← 縦方向に整列 */
  align-items: center;        /* ← 水平方向センター */
  justify-content: center;    /* ← 垂直方向センター */
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.4s ease, transform 0.4s ease;
  z-index: 9999;
}

/* 表示時 */
.page-top-btn.visible {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

/* ホバー時 */
.page-top-btn:hover {
  background-color: #5c9ab2;
}

/* スマホ調整 */
@media (max-width: 480px) {
  .page-top-btn {
    width: 55px;
    height: 55px;
    font-size: 10px;
    bottom: 80px;
  }
}

.section-header {
  display: flex;
  align-items: center;
  margin-bottom: 40px;
}

.menu-logo {
  width: 80px;
  height: auto;
  margin-right: 20px;
}

.menu-text .menu-jp {
  font-family: 'Noto Serif JP', serif;
  font-size: 20px;
  color: #333;
  margin: 0;
  letter-spacing: 0.1em;
}

.menu-text .menu-en {
  font-family: 'Playfair Display', serif;
  font-size: 36px;
  font-weight: 700;
  color: #222;
  margin: 0;
  letter-spacing: 0.2em;
}

/* セクション用 大見出し */
.blue-section-title {
  background: #5cb6e0; /* 明るめの青 */
  color: #fff;
  padding: 12px 20px;
  font-size: 20px;
  font-weight: 600;
  border-radius: 6px;
  margin: 40px 0 20px;
  letter-spacing: 0.05em;
  box-shadow: 0 2px 4px rgba(0,0,0,0.05);
}

/* サブ見出し用（白背景＋青枠） */
.blue-section-subtitle {
  background: #e8f4fb;
  color: #007acc;
  padding: 12px 16px;
  font-size: 18px;
  font-weight: 500;
  border-left: 5px solid #007acc;
  border-radius: 4px;
  margin: 24px 0 12px;
}

/* 基本レイアウト：PC 用 */
.page-with-sidebar {
  display: flex;
  gap: 30px;
}
.sidebar {
  width: 240px;
}
.main-content {
  flex: 1;
}

/* スマホ・小画面向け */
@media screen and (max-width: 768px) {
	img {
		width: 320px;
	}
  .page-with-sidebar {
    display: block;
  }
  .sidebar {
    width: 100%;
    margin-bottom: 24px;
  }
  .main-content {
    width: 100%;
  }
  /* 見出しロゴ部なども中央揃えに */
  .section-header {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
  }
  .menu-logo {
    margin-right: 0;
    margin-bottom: 12px;
  }
  .menu-text .menu-en {
    font-size: 28px;  /* 小さめに */
  }
}

.contact-page {
  max-width: 900px;
  margin: 0 auto;
  padding: 40px 20px;
}
.contact-title {
  font-size: 2.4em;
  margin-bottom: 16px;
}
.contact-intro {
  font-size: 1.1em;
  margin-bottom: 32px;
}
.contact-info-map {
  display: flex;
  gap: 30px;
  flex-wrap: wrap;
  margin-bottom: 40px;
}
.contact-info {
  flex: 1 1 300px;
}
.contact-map {
  flex: 1 1 300px;
}
.contact-form-section {
  margin-top: 40px;
}
.contact-form-section form {
  display: flex;
  flex-direction: column;
}
.contact-form-section label {
  margin: 12px 0 4px;
  font-weight: bold;
}
.contact-form-section input,
.contact-form-section textarea {
  padding: 10px;
  border: 1px solid #ccc;
  border-radius: 4px;
  font-size: 1em;
}
.btn-submit {
  margin-top: 20px;
  padding: 14px 28px;
  background-color: #005bac;
  color: white;
  border: none;
  border-radius: 6px;
  font-size: 1em;
  cursor: pointer;
}
.btn-submit:hover {
  opacity: 0.9;
}

/* レスポンシブ対応 */
@media screen and (max-width: 768px) {
  .contact-info-map {
    flex-direction: column;
  }
}

.first-visit-section,
.contact-section {
  padding: 20px;
  font-size: 16px;
  line-height: 1.7;
}

.first-visit-section h2,
.contact-section h2{
  font-size: 1.5em;
  border-left: 6px solid #c7b388;
  padding-left: 12px;
  margin-bottom: 1em;
}

/* ===== 初診アコーディオン画像の調整 ===== */
.first-visit-accordion-content img {
  width: 100%;
  height: auto;
  border-radius: 8px;
  margin: 10px 0;
  display: block;
}

/* --- PC表示時にサイズ制限 --- */
@media (min-width: 769px) {
  .first-visit-accordion-content img {
    max-width: 600px;      /* 最大幅を制限 */
    margin: 20px auto;     /* 中央寄せ */
    display: block;
  }

  .first-visit-accordion-content iframe {
    max-width: 700px;
    display: block;
    margin: 20px auto;
    border-radius: 10px;
  }

  .first-visit-accordion-content p {
    text-align: left;
    margin: 8px 0;
  }
}

.important {
  color: #b22222;
  font-weight: bold;
}

.tel-link {
  display: inline-block;
  color: #005bac;
  font-size: 1.3em;
  font-weight: bold;
  text-decoration: none;
  margin: 10px 0;
}

.web-reservation img {
  border: 1px solid #ddd;
  border-radius: 8px;
  margin-top: 12px;
}


.menu-close {
  position: absolute;
  top: 10px;
  right: 10px;
  background: #007acc;
  color: white;
  font-size: 2em;
  line-height: 1;
  padding: 0.2em 0.6em;
  border-radius: 4px;
  cursor: pointer;
}

.menu-group {
  margin-bottom: 1em;
}

.menu-heading {
  font-size: 1.2em;
  font-weight: bold;
  color: #007acc;
  border-bottom: 1px solid #add8e6;
  padding-bottom: 0.3em;
  margin-bottom: 0.6em;
}

.menu-group ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.menu-group li {
  font-size: 12px;
  padding: 0.4em 0;
  display: flex;
  align-items: center;
}

.dot {
  display: inline-block;
  width: 6px;
  height: 6px;
  margin-right: 10px;
  border-radius: 50%;
  background: #007acc;
}

/* ロゴサイズの調整（スマホ時） */
/* スマホメニュー内のロゴ（歯アイコン＋文字ロゴ）調整 */
.mobile-nav .site-logo img {
  height: 45px !important;   /* ← お好みで 40〜50px程度がバランス良い */
  width: auto !important;
  display: block;
  margin: 10px auto 15px;   /* 上10px・下15pxで呼吸感を出す */
}

/* ロゴ全体を中央寄せ */
.mobile-nav .site-logo {
  text-align: center;
  padding-top: 10px;
  padding-bottom: 10px;
}

/* 背景と文字の距離も微調整（SITE MENUが近い場合） */
.mobile-nav .menu-heading:first-of-type {
  margin-top: 10px;
}
/* スマホ限定にしたい場合 */
@media screen and (max-width: 768px) {
  .mobile-header img.logo-area {
  width: 80%;
  height: auto;
  max-height: 65px;
  }
}
  /* スマホ全体の基本フォントサイズを少し小さく */
  body {
    font-size: 15px;
  }

  /* 見出し（h1〜h3など）も調整 */
  h1 {
    font-size: 22px;
  }

  h2 {
    font-size: 18px;
  }

  h3 {
    font-size: 16px;
  }


#overlay {
  display: none;
  position: fixed;
  top: 0; left: 0;
  width: 100%; height: 100%;
  background: rgba(0,0,0,0.5);
  z-index: 999;
}


.menu-label {
  background: #6FB4DC; /* 青の背景色 */
  color: #fff;
  font-weight: bold;
  text-align: center;
  padding: 20px 15px;
  min-width: 130px;
  writing-mode: horizontal-tb; /* ← 横書き */
  transform: none;             /* ← 回転しない */
  clip-path: polygon(0 0, 100% 0, 95% 100%, 0% 100%); /* 台形っぽく */
  font-size: 15px;
}

/* 初期状態では非表示にしておく */
.desktop-header,
.mobile-header,
.mobile-menu {
  display: none;
}

/* PC用ヘッダーの表示（768px以上） */
@media screen and (min-width: 768px) {
  .desktop-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 10px 20px;
  }
}

/* スマホ用ヘッダーの表示（767px以下） */
@media screen and (max-width: 767px) {
  .mobile-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 10px 20px;
  }
}

/* メニュー内スタイル */
.menu-section {
  padding: 40px 20px;
  background: #f9f9f9;
}

.section-title {
  text-align: center;
  font-size: 2em;
  margin-bottom: 40px;
  border-bottom: 1px solid #ccc;
  padding-bottom: 10px;
}

.section-title span {
  display: block;
  font-size: 0.7em;
  margin-top: 5px;
  color: #777;
}

.menu-row {
  display: flex;
  align-items: flex-start;
  margin-bottom: 30px;
  flex-wrap: wrap;
	font-family: 'Yu Mincho';
  gap: 16px; /* ← ここでカテゴリとメニューの間にスペース追加 */
}

.menu-items {
  display: flex;
  flex-wrap: wrap;
  gap: 15px;
  flex: 1;
}

.menu-item {
  background: #fff;
  border: 1px solid #ccc;
  padding: 20px;
  width: calc(50% - 15px);
  box-sizing: border-box;
  position: relative;
  font-size: 14px;
  line-height: 1.4;
}

.menu-item::after {
  content: "";
  position: absolute;
  bottom: 5px;
  right: 5px;
  width: 0;
  height: 0;
  border-style: solid;
  border-width: 0 0 10px 10px;
  border-color: transparent transparent #4ab2de transparent;
}


/* デフォルトでは非表示（＝PCでは非表示） */
/* デフォルトは非表示（PC用） */
.fixed-bottom-menu {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  background: #2f86d6;
  display: flex;
  justify-content: space-around;
  padding: 8px 0;
  z-index: 9999;
  transform: translateY(100%);
  transition: transform 0.4s ease;
}

/* スクロール後に表示するクラス */
.fixed-bottom-menu.visible {
  transform: translateY(0);
}

.fixed-bottom-menu a {
  color: #fff;
  text-decoration: none;
  text-align: center;
  font-size: 16px;
  flex: 1;
}

@media screen and (max-width: 767px) {
  .fixed-bottom-menu {
    display: flex;
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 65px;
    z-index: 9999;
    font-size: 12px;
    text-align: center;
  }

  .menu-item {
    flex: 1;
    color: #fff;
    text-decoration: none;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 0;
  }

  .menu-item .icon {
    font-size: 22px;
    margin-bottom: 0px;
    line-height: 1;
  }

  .menu-item .label {
    line-height: 1;
    margin: 0;
    padding: 0;
  }

  .menu-item.top .icon {
    font-size: 16px;
    margin-bottom: 2px;
  }

  /* 🎨 背景色を青系3トーンに変更 */
  .menu-item.tel {
    background-color: #0071bc; /* 左：濃い青（電話予約） */
  }

  .menu-item.web {
    background-color: #0091dc; /* 中：明るい青（WEB予約） */
  }

  .menu-item.top {
    background-color: #005f9e; /* 右：少しグレーがかった深めの青（TOP） */
  }
	.menu-item:not(:last-child) {
    border-right: 1px solid #fff;
  }
}
.hero-bg {
  width: 100%;
  height: auto;
  display: block;
}
.vertical-text-overlay {
  position: absolute;
  top: 10%;
  left: 5%;
  writing-mode: vertical-rl;
  text-orientation: mixed;
  font-size: 1.4em;
  line-height: 1.8;
  color: white;
  font-family: "Hiragino Mincho ProN", "Yu Mincho", "Noto Serif JP", serif;
  text-shadow: 1px 1px 4px rgba(0,0,0,0.5);
}
.vertical-text-overlay span {
  font-size: 1.6em;
  font-weight: bold;
  color: #fff;
}
/* 共通スタイル */
.vertical-text-overlay .vertical-text {
  font-size: 1.4rem;
  line-height: 1.6;
  text-align: center;
  color: white;
  font-weight: bold;
}

/* スマホ用（画面幅が767px以下のとき） */
@media screen and (max-width: 767px) {
  .vertical-text-overlay .vertical-text {
    font-size: 0.6rem; /* スマホ用に小さく *8
    line-height: 1.4;
  }

  .vertical-text-overlay {
    padding: 20px; /* スマホで内側に少し余白 */
  }
}


body { font-family: sans-serif; background: #fff; color: #333; margin: 0; padding: 0; }


/* ===== Hero Section ===== */
.hero {
  background: #e9f6f5;
  padding: 80px 20px;
  text-align: center;
}
.hero h1 {
  font-size: 2.2em;
  color: #005f73;
  margin-bottom: 10px;
}
.hero p {
  font-size: 1.2em;
  margin-bottom: 20px;
}
.hero .btn {
  background: #2a9d8f;
  color: #fff;
  padding: 12px 24px;
  text-decoration: none;
  border-radius: 5px;
}

/* ===== Features Section ===== */
.features {
  background: #f8f8f8;
  padding: 50px 20px;
  text-align: center;
}
.features h2 {
  font-size: 1.8em;
  margin-bottom: 20px;
}
.features ul {
  list-style: none;
  padding: 0;
}
.features li {
  margin: 10px 0;
  font-weight: bold;
}

/* ===== Services Menu ===== */
.services-menu {
  padding: 50px 20px;
}
.services-menu h2 {
  font-size: 1.8em;
  text-align: center;
  margin-bottom: 30px;
}
.menu-group {
  margin-bottom: 30px;
}
.menu-group h3 {
  font-size: 1.4em;
  color: #264653;
}
.menu-group ul {
  list-style: disc;
  padding-left: 40px;
}

/* ===== Contact Section ===== */
#contact {
  background: #f1f1f1;
  padding: 50px 20px;
  text-align: center;
}
#contact h2 {
  font-size: 1.8em;
  margin-bottom: 20px;
}
#contact a.btn {
  background: #e76f51;
  color: #fff;
  padding: 12px 24px;
  text-decoration: none;
  border-radius: 5px;
}

/* === PREVENTION セクション === */
.prevention-section {
  background: #ffffff;
  padding: 60px 20px;
  text-align: center;
  font-size: 1.1em;
  line-height: 1.8;
}

.prevention-heading {
  font-size: 1.8em;
  font-weight: bold;
  color: #264653;
  margin-bottom: 30px;
}

.prevention-lead {
  font-size: 1.2em;
  color: #444;
  margin-bottom: 20px;
  font-weight: 500;
}


/* === PREVENTION VISUAL セクション === */
.prevention-visual {
  background: #f4f9fb;
  padding: 60px 20px;
  font-family: "Hiragino Kaku Gothic ProN", "游ゴシック体", YuGothic, sans-serif;
}
.prevention-container {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  justify-content: space-between;
  max-width: 1200px;
  margin: 0 auto;
}
.prevention-left {
  flex: 0 0 120px;
  writing-mode: vertical-rl;
  font-size: 1.6em;
  color: #2a7fbc;
  margin-right: 20px;
  font-weight: 600;
  line-height: 1.8;
}
.prevention-right {
  flex: 1;
  max-width: 600px;
  font-size: 1em;
  line-height: 1.8;
  color: #333;
}
.prevention-right h2 {
  font-size: 1.6em;
  font-weight: bold;
  margin-bottom: 20px;
}
.prevention-right .blue {
  color: #2a7fbc;
  font-weight: bold;
}
.prevention-image {
  flex: 0 0 200px;
  margin-left: 20px;
}
.prevention-image img {
  width: 100%;
  max-width: 200px;
  height: auto;
}


/* === Webフォント（すこやか歯科風） === */
body {
  font-family: "Hiragino Kaku Gothic ProN", "Yu Gothic", "游ゴシック体", "Noto Sans JP", sans-serif;
  color: #333;
  line-height: 1.8;
}

h1, h2, h3 {
  font-family: "Hiragino Mincho ProN", "Yu Mincho", "游明朝体", "Noto Serif JP", serif;
  color: #222;
}


/* === HERO VISUAL SECTION === */
.hero-visual {
  background: url('../assets/images/hero-staff.jpg') no-repeat center center / cover;
  height: 90vh;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
}
.hero-overlay {
  background: rgba(0, 0, 0, 0.3);
  padding: 40px 20px;
  color: #fff;
  max-width: 90%;
}
.hero-overlay h1 {
  font-size: 2.2em;
  font-weight: bold;
  margin-bottom: 0.5em;
}
.hero-overlay p {
  font-size: 1.2em;
}
	

.reservation-buttons {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin: 60px 0 30px;
  flex-wrap: wrap;
}

.btn-reserve {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px 28px;
  font-size: 1.1em;
  font-weight: bold;
  border-radius: 999px;
  color: #fff;
  text-decoration: none;
  transition: 0.3s;
  min-width: 200px;
}

/* メニューテキスト */
.menu-label {
  font-size: 0.8em;
  margin-top: 4px;
  color: #333;
  text-align: center;
  font-size: 1.2em;
}

/* オーバーレイ */
#overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(0,0,0,0.3);
  display: none;
  z-index: 999;
}

/* レスポンシブ切替 */
@media screen and (max-width: 768px) {
  .main-menu {
    display: none;
  }
  .hamburger {
    display: flex;
  }
}

/* 初期状態では非表示にしておく */
.desktop-header,
.mobile-header {
  display: none;
}

/* PC用ヘッダーの表示（768px以上） */
@media screen and (min-width: 768px) {
  .desktop-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 10px 20px;
  }
}

/* スマホ用ヘッダーの表示（767px以下） */
@media screen and (max-width: 767px) {
  .mobile-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 10px 20px;
  }
}

/* ===============================
   📱 栗林歯科医院 丸の内ページ 
   =============================== 

*/

.vertical-text {
  writing-mode: vertical-rl;
  text-orientation: upright;
  font-family: "Yu Mincho", "Hiragino Mincho ProN", serif;
}

.vertical-text.upright {
  text-combine-upright:all;
}
.top-visual-wrapper {
  position: relative;
  height: auto;
  overflow: hidden;
}

.vertical-text-overlay {
  position: absolute;
  bottom: 20%;
  left: 10%;
  z-index: 2;
  max-width: 90%;
}

.vertical-text {
  font-size: 1.8rem;
  line-height: 1.8;
  color: white;
  text-shadow: 0 0 6px rgba(0,0,0,0.6);
  writing-mode: vertical-rl;
}

@media screen and (max-width: 767px) {
  .vertical-txt-overlay {
    bottom: 35%; 
    left: 5%;
    font-size: 1.8rem;
  }

  .vertical-text {
    font-size: 1.6rem;
    line-height: 1.6;
  }
}

body {
  font-family: 
    "Hiragino Kaku Gothic ProN",
    "Yu Gothic",
    "游ゴシック体",
    "Noto Sans JP",
    sans-serif;
}
h2, h3 {
  font-family: 
    "Hiragino Mincho ProN",
    "Yu Mincho",
    "游明朝体",
    serif;
}
.prevention-visual {
  background: #f4f9fb;
  padding: 60px 20px;
}
.prevention-container {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  justify-content: space-between;
  max-width: 1200px;
  margin: 0 auto;
}
.prevention-left {
  flex: 0 0 120px;
  writing-mode: vertical-rl;
  font-size: 1.5em;
  color: #2a7fbc;
  margin-right: 20px;
}
.prevention-right {
  flex: 1;
  max-width: 600px;
  font-size: 1em;
  line-height: 1.8;
}
.prevention-right h2 {
  font-size: 1.5em;
  font-weight: bold;
  margin-bottom: 20px;
}
.prevention-right .blue {
  color: #2a7fbc;
  font-weight: bold;
}
.prevention-image {
  flex: 0 0 200px;
  margin-left: 20px;
}
.prevention-image img {
  width: 100%;
  max-width: 200px;
  height: auto;
}
.main-menu {
  background: #fff;
  border-top: 1px solid #eee;
  border-bottom: 1px solid #eee;
  font-family: 'Yu Mincho', serif;
  text-align: center;
}

.main-menu ul {
  list-style: none;
  display: flex;
  justify-content: center;
  padding: 0;
  margin: 0;
}

.main-menu li {
  position: relative;
  padding: 10px 24px;
  border-left: 1px solid #aaa;
}

.main-menu li:first-child {
  border-left: none;
}

.main-menu a {
  display: block;
  text-decoration: none;
  color: #000;
}

.main-menu .jp {
  display: block;
  font-size: 16px;
  font-weight: 500;
}

.main-menu .en {
  display: block;
  font-size: 12px;
  color: #aaa;
  margin-top: 4px;
  font-family: 'Helvetica Neue', sans-serif;
}

.reservation-buttons {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin: 60px 0 30px;
  flex-wrap: wrap;
}

.btn-reserve {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px 28px;
  font-size: 1.1em;
  font-weight: bold;
  border-radius: 999px;
  color: #fff;
  text-decoration: none;
  transition: 0.3s;
  min-width: 200px;
}

.btn-reserve img {
  margin-left: 10px;
  width: 24px;
  height: 24px;
}

.btn-reserve.blue {
  background-color: #004096;
}

.btn-reserve.green {
  background-color: #00c300;
}

.btn-reserve:hover {
  opacity: 0.85;
}

.staff-page {
  font-family: "Hiragino Kaku Gothic ProN", "Yu Gothic", "Noto Sans JP", sans-serif;
  color: #333;
}

.staff-hero {
  text-align: center;
  padding: 60px 20px;
  background: #f5f9fc;
}
.staff-hero h1 {
  font-size: 2.4em;
  color: #264653;
  margin-bottom: 10px;
}
.staff-hero p {
  font-size: 1.2em;
  color: #555;
}

.staff-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  padding: 40px 20px;
  max-width: 1200px;
  margin: 0 auto;
}

.staff-card {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  align-items: center;
  padding: 20px;
  border-bottom: 1px solid #ddd;
  max-width: 800px;
  margin: 0 auto 20px;
}

.staff-text {
  flex: 1;
  padding-right: 20px;
}

.staff-photo {
  flex-shrink: 0;
}

.staff-photo img {
  width: 150px;
  height: auto;
  border-radius: 8px;
}

.staff-info {
  padding: 20px;
}

.staff-info h3 {
  font-size: 1.4em;
  margin-bottom: 8px;
}
.staff-info .title {
  font-size: 0.9em;
  color: #888;
  margin-left: 6px;
}

.staff-info .specialty {
  font-size: 1em;
  color: #666;
  margin-bottom: 16px;
}

.staff-info .career, .staff-info .affiliations {
  margin-top: 16px;
}
.staff-info .career h4, .staff-info .affiliations h4 {
  font-size: 1.1em;
  margin-bottom: 8px;
}
.staff-info .career ul, .staff-info .affiliations ul {
  list-style: disc;
  padding-left: 20px;
}
.staff-info .career li, .staff-info .affiliations li {
  margin-bottom: 6px;
  font-size: 0.95em;
  color: #444;
}

.staff-contact-cta {
  text-align: center;
  margin: 60px 0;
}
.staff-contact-cta .btn {
  display: inline-block;
  padding: 14px 28px;
  background: #2a9d8f;
  color: #fff;
  text-decoration: none;
  border-radius: 6px;
  font-size: 1.1em;
}

/* テーブルラップ */
.table-wrapper {
  overflow-x: auto;
  margin-bottom: 2em;
}

/* テーブル本体 */
table {
  border-collapse: collapse;
  width: 100%;
  min-width: 600px;
}

table th,
table td {
  border: 1px solid #ccc;
  padding: 0.75em;
  text-align: left;
}

table th {
  background: #f0f8ff;
  font-weight: bold;
}

table tbody tr:nth-child(even) {
  background: #f9f9f9;
}

/* 見出し */
#price-table h2,
#price-table h3 {
  margin-top: 2em;
  font-weight: bold;
  color: #006699;
}

/* リスト */
#price-table ul {
  padding-left: 1.2em;
}
#price-table ul li {
  margin-bottom: 0.5em;
}

.price-section {
  margin: 2em 0;
}

.price-title {
  font-size: 1.4em;
  font-weight: bold;
  color: #006699;
  margin-bottom: 0.8em;
}

.price-table.simple {
  width: 100%;
  max-width: 640px;
  border-collapse: collapse;
  font-size: 16px;
  margin-bottom: 2em;
}

.price-table.simple th,
.price-table.simple td {
  border: 1px solid #ccc;
  padding: 0.75em 1em;
  vertical-align: top;
}

.price-table.simple th {
  width: 70%;
  background: #f0f8ff;
  text-align: left;
}

.price-table.simple td {
  width: 30%;
  text-align: right;
  background: #fff;
}

.price-table.simple .total th,
.price-table.simple .total td {
  background: #e6f0fa;
  font-weight: bold;
}

.introduction-page {
  font-family: "Hiragino Kaku Gothic ProN", "Yu Gothic", "Noto Sans JP", sans-serif;
  color: #333;
}
.intro-hero {
  text-align: center;
  padding: 80px 20px;
  background: #f5f9fc;
}
.intro-hero h1 { font-size: 2.6em; color: #264653; margin-bottom: 10px; }
.intro-hero p { font-size: 1.2em; }

.intro-concept {
  max-width: 800px;
  margin: 0 auto;
  padding: 40px 20px;
  line-height: 1.8em;
}

.intro-facility {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 40px;
  padding: 40px 20px;
}
.facility-item {
  text-align: center;
}
.facility-item h3 { font-size: 1.4em; margin-bottom: 12px; }
.facility-item img {
  width: 100%;
  height: auto;
  border-radius: 8px;
  margin-bottom: 12px;
}
.facility-item p { font-size: 1em; color: #555; }

.intro-info {
  background: #f9f9f9;
  padding: 40px 20px;
  max-width: 600px;
  margin: 0 auto;
  text-align: center;
}
.intro-info h3 { font-size: 1.6em; margin-bottom: 20px; }
.intro-info p { margin: 8px 0; }

.intro-reserve {
  text-align: center;
  margin: 60px 0 80px;
}
.btn-reserve {
  display: inline-block;
  padding: 14px 28px;
  font-size: 1.1em;
  border-radius: 999px;
  text-decoration: none;
  color: #fff;
  margin: 0 10px;
}
.btn-reserve.blue { background-color: #004096; }
.btn-reserve.green { background-color: #00c300; }
.btn-reserve:hover { opacity: 0.85; }
.blue {
  color: #004096; /* またはお好きな青色（例: #007bff） */
  font-weight: bold;
}
 .red {
  color: #004096; /* またはお好きな青色（例: #007bff） */
  font-weight: bold;
}

/* 共通デザイン：青帯ヘッダー */

.prevention-page.container {
  display: flex;
  margin: 40px auto;
  max-width: 1100px;
}

.sidebar {
  width: 240px;
  margin-right: 32px;
}

.content-area {
  flex: 1;
}

.content-area .intro h1 {
  font-size: 2.4em;
  color: #264653;
  margin-bottom: 16px;
}
.content-area .intro p {
  font-size: 1.1em;
  color: #555;
  margin-bottom: 40px;
}

.content-area section {
  margin-bottom: 60px;
}

.prevention-list {
  list-style: none;
  padding: 0;
}
.prevention-list li {
  margin-bottom: 12px;
}
.prevention-list li a {
  color: #0070a8;
  text-decoration: none;
}
.prevention-list li a:hover {
  text-decoration: underline;
}

.step {
  margin-top: 24px;
}
.step h3 {
  font-size: 1.3em;
  color: #0a3a67;
  margin-bottom: 8px;
}
.step p {
  font-size: 1em;
  color: #444;
  line-height: 1.6;
}

.cta-bottom {
  margin-top: 40px;
  text-align: center;
}
.btn-reserve {
  display: inline-block;
  padding: 14px 28px;
  border-radius: 999px;
  text-decoration: none;
  color: #fff;
  margin: 0 10px;
}
.btn-reserve.blue {
  background-color: #004096;
}
.btn-reserve.green {
  background-color: #00c300;
}
.btn-reserve:hover {
  opacity: 0.85;
}

.page-with-sidebar {
  display: flex;
  gap: 40px;
}

.sidebar {
  width: 220px;
  background: #f5f5f5;
  padding: 20px;
  border-radius: 8px;
}

.sidebar .menu-title {
  font-weight: bold;
  margin-bottom: 15px;
  font-size: 1.2em;
}

.sidebar .menu-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.sidebar .menu-list li {
  margin: 12px 0;
}

.sidebar .menu-list li a {
  color: #0070c0;
  text-decoration: none;
}

.sidebar .menu-list li a:hover {
  text-decoration: underline;
}

.main-content {
  flex: 1;
}

.prevention-message-box {
  background: #fff;
  border: 1px solid #eee;
  padding: 30px;
  border-radius: 8px;
  box-shadow: 2px 2px 8px rgba(0,0,0,0.05);
  margin-bottom: 40px;
  text-align: center;
}

.prevention-message-title {
  font-size: 1.4em;
  font-weight: bold;
  line-height: 1.6;
  margin-bottom: 20px;
}

.highlight-orange {
  color: #f57c00;
}

/* 全体ボックス */
.prevention-message-box {
  background: #fff;
  border: 1px solid #eee;
  padding: 3em 2em;
  border-radius: 8px;
  box-shadow: 2px 2px 8px rgba(0,0,0,0.05);
  margin-bottom: 3em;
  text-align: center;
  font-family: "Yu Mincho", "Noto Serif JP", "Hiragino Mincho ProN", "serif";
  color: #333;
  line-height: 2;
  letter-spacing: 0.05em;
}

/* タイトル */
.prevention-message-title {
  font-size: 1.6em;
  font-weight: normal;
  margin-bottom: 1.5em;
}

.highlight-orange {
  color: #D85C12;
}

/* サブテキスト */
.prevention-message-sub {
  font-size: 1.05em;
  margin-bottom: 2em;
}

/* チェック付きリスト */
.prevention-message-list {
  list-style: none;
  padding: 0;
  margin: 0 auto;
  display: inline-block;
  text-align: left;
}

.prevention-message-list li {
  font-size: 1em;
  margin: 0.8em 0;
  position: relative;
  padding-left: 1.8em;
}

.prevention-message-list li::before {
  content: "✔";
  position: absolute;
  left: 0;
  color: #D85C12;
  font-weight: bold;
}


.section-heading {
  display: flex;
  align-items: center;
  gap: 1em;
  margin-bottom: 2em;
}

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

.section-text {
  line-height: 1.2;
}

.section-ja {
  font-family: "Yu Mincho", "Hiragino Mincho ProN", "Noto Serif JP", serif;
  font-size: 1.2em;
  color: #333;
  margin: 0;
  letter-spacing: 0.1em;
}

.section-en {
  font-size: 2em;
  font-weight: bold;
  font-family: "Georgia", "serif";
  letter-spacing: 0.15em;
  color: #222;
  margin: 0;
}

.page-top {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 80px;
  height: 80px;
  background-color: #3399cc;
  color: #fff;
  text-align: center;
  line-height: 1.2;
  font-size: 14px;
  border-radius: 50%;
  text-decoration: none;
  display: none; /* 初期状態は非表示 */
  z-index: 1000;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
  font-family: "Georgia", serif;
  padding-top: 22px;
  transition: opacity 0.3s ease, transform 0.3s ease;
}

.page-top:hover {
  opacity: 0.9;
  transform: scale(1.05);
}

/* 不要な before 擬似要素がある場合は無効にする */
.page-top::before {
  content: none !important;
  display: none !important;
}

.section-header {
  display: flex;
  align-items: center;
  margin-bottom: 40px;
}

.menu-logo {
  width: 80px;
  height: auto;
  margin-right: 20px;
}

.menu-text .menu-jp {
  font-family: 'Noto Serif JP', serif;
  font-size: 20px;
  color: #333;
  margin: 0;
  letter-spacing: 0.1em;
}

.menu-text .menu-en {
  font-family: 'Playfair Display', serif;
  font-size: 36px;
  font-weight: 700;
  color: #222;
  margin: 0;
  letter-spacing: 0.2em;
}

/* セクション用 大見出し */
.blue-section-title {
  background: #5cb6e0; /* 明るめの青 */
  color: #fff;
  padding: 12px 20px;
  font-size: 20px;
  font-weight: 600;
  border-radius: 6px;
  margin: 40px 0 20px;
  letter-spacing: 0.05em;
  box-shadow: 0 2px 4px rgba(0,0,0,0.05);
}

/* サブ見出し用（白背景＋青枠） */
.blue-section-subtitle {
  background: #e8f4fb;
  color: #007acc;
  padding: 12px 16px;
  font-size: 18px;
  font-weight: 500;
  border-left: 5px solid #007acc;
  border-radius: 4px;
  margin: 24px 0 12px;
}

/* 基本レイアウト：PC 用 */
.page-with-sidebar {
  display: flex;
  gap: 30px;
}
.sidebar {
  width: 240px;
}
.main-content {
  flex: 1;
}

/* スマホ・小画面向け */
@media screen and (max-width: 768px) {
  .page-with-sidebar {
    display: block;
  }
  .sidebar {
    width: 100%;
    margin-bottom: 24px;
  }
  .main-content {
    width: 100%;
  }
  /* 見出しロゴ部なども中央揃えに */
  .section-header {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
  }
  .menu-logo {
    margin-right: 0;
    margin-bottom: 12px;
  }
  .menu-text .menu-en {
    font-size: 28px;  /* 小さめに */
  }
}

.contact-page {
  max-width: 900px;
  margin: 0 auto;
  padding: 40px 20px;
}
.contact-title {
  font-size: 2.4em;
  margin-bottom: 16px;
}
.contact-intro {
  font-size: 1.1em;
  margin-bottom: 32px;
}
.contact-info-map {
  display: flex;
  gap: 30px;
  flex-wrap: wrap;
  margin-bottom: 40px;
}
.contact-info {
  flex: 1 1 300px;
}
.contact-map {
  flex: 1 1 300px;
}
.contact-form-section {
  margin-top: 40px;
}
.contact-form-section form {
  display: flex;
  flex-direction: column;
}
.contact-form-section label {
  margin: 12px 0 4px;
  font-weight: bold;
}
.contact-form-section input,
.contact-form-section textarea {
  padding: 10px;
  border: 1px solid #ccc;
  border-radius: 4px;
  font-size: 1em;
}
.btn-submit {
  margin-top: 20px;
  padding: 14px 28px;
  background-color: #005bac;
  color: white;
  border: none;
  border-radius: 6px;
  font-size: 1em;
  cursor: pointer;
}
.btn-submit:hover {
  opacity: 0.9;
}


.important {
  color: #b22222;
  font-weight: bold;
}

.tel-link {
  display: inline-block;
  color: #005bac;
  font-size: 1.3em;
  font-weight: bold;
  text-decoration: none;
  margin: 10px 0;
}

.web-reservation img {
  border: 1px solid #ddd;
  border-radius: 8px;
  margin-top: 12px;
}

.mobile-menu {
  display: none; /* ← 最初は非表示 */
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: white;
  z-index: 9999;
  padding: 2em 1em;
  overflow-y: auto;
}
.mobile-menu a, 
.mobile-menu li, 
.mobile-menu {
  writing-mode: horizontal-tb !important;
  text-orientation: mixed !important;
  display: block;
  white-space: nowrap;
}
.mobile-menu.open {
  display: block; /* ← 開いた状態 */
}

.menu-close {
  position: absolute;
  top: 10px;
  right: 10px;
  background: #007acc;
  color: white;
  font-size: 2em;
  line-height: 1;
  padding: 0.2em 0.6em;
  border-radius: 4px;
  cursor: pointer;
}

.menu-group {
  margin-bottom: 2em;
}

.menu-heading {
  font-size: 1.2em;
  font-weight: bold;
  color: #007acc;
  border-bottom: 1px solid #add8e6;
  padding-bottom: 0.3em;
  margin-bottom: 0.6em;
}

.menu-group ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.menu-group li {
  font-size: 16px;
  padding: 0.4em 0;
  display: flex;
  align-items: center;
}

.dot {
  display: inline-block;
  width: 6px;
  height: 6px;
  margin-right: 10px;
  border-radius: 50%;
  background: #007acc;
}

/* ロゴサイズの調整（スマホ時） */
@media screen and (max-width: 767px) {
  .mobile-header .site-logo {
    max-height: 40px; /* 元の高さが60pxだったらこれで小さく */
    width: auto;
  }

  /* タイトルフォント調整 */
  .mobile-header .site-title {
    font-size: 16px;
  }

  /* スマホ全体の基本フォントサイズを少し小さく */
  body {
    font-size: 15px;
  }

  /* 見出し（h1〜h3など）も調整 */
  h1 {
    font-size: 22px;
  }

  h2 {
    font-size: 18px;
  }

  h3 {
    font-size: 16px;
  }
}

/* 開いたときは右0にスライド */
.mobile-nav.active {
  right: 0;
}

.mobile-nav ul {
  list-style: none;
  padding: 0;
  margin: 0;
}
.mobile-nav li {
  list-style-type: disc;
  list-style-position: outside; /* ← inside を outside に */
  padding-left: 0;          /* 必要に応じて調整 */
  text-indent: 0;               /* ← -0.5em をやめる */
}

#overlay {
  display: none;
  position: fixed;
  top: 0; left: 0;
  width: 100%; height: 100%;
  background: rgba(0,0,0,0.5);
  z-index: 999;
}

.hamburger {
  cursor: pointer;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 10px;
}

.hamburger span {
  height: 3px;
  background: #333;
  margin: 4px 0;
  width: 25px;
}

.menu-label {
  background: #6FB4DC; /* 青の背景色 */
  color: #fff;
  font-weight: bold;
  text-align: center;
  padding: 20px 15px;
  min-width: 130px;
  writing-mode: horizontal-tb; /* ← 横書き */
  transform: none;             /* ← 回転しない */
  clip-path: polygon(0 0, 100% 0, 95% 100%, 0% 100%); /* 台形っぽく */
  font-size: 15px;
}

/* 初期状態では非表示にしておく */
.desktop-header,
.mobile-header,
.mobile-menu {
  display: none;
}

/* PC用ヘッダーの表示（768px以上） */
@media screen and (min-width: 768px) {
  .desktop-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 10px 20px;
  }
}

/* スマホ用ヘッダーの表示（767px以下） */
@media screen and (max-width: 767px) {
  .mobile-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 10px 20px;
  }
}

/* ハンバーガーメニュー ナビ全体 */
/* メニュー全体 */

/* メニュー内スタイル */
.menu-section {
  padding: 40px 20px;
  background: #f9f9f9;
}

.section-title {
  text-align: center;
  font-size: 2em;
  margin-bottom: 40px;
  border-bottom: 1px solid #ccc;
  padding-bottom: 10px;
}

.section-title span {
  display: block;
  font-size: 0.7em;
  margin-top: 5px;
  color: #777;
}

.menu-row {
  display: flex;
  align-items: flex-start;
  margin-bottom: 30px;
  flex-wrap: wrap;
	font-family: 'Yu Mincho';
  gap: 16px; /* ← ここでカテゴリとメニューの間にスペース追加 */
}

.menu-items {
  display: flex;
  flex-wrap: wrap;
  gap: 15px;
  flex: 1;
}

.menu-item {
  background: #fff;
  border: 1px solid #ccc;
  padding: 20px;
  width: calc(50% - 15px);
  box-sizing: border-box;
  position: relative;
  font-size: 14px;
  line-height: 1.4;
}

.menu-item::after {
  content: "";
  position: absolute;
  bottom: 5px;
  right: 5px;
  width: 0;
  height: 0;
  border-style: solid;
  border-width: 0 0 10px 10px;
  border-color: transparent transparent #4ab2de transparent;
}

/* デフォルトでは非表示（＝PCでは非表示） */
/* デフォルトは非表示（PC用） */
.fixed-bottom-menu {
  display: none;
}

@media screen and (max-width: 767px) {
  .fixed-bottom-menu {
    display: flex;
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 65px;
    z-index: 9999;
    font-size: 12px;
    text-align: center;
  }

  .menu-item .icon {
    font-size: 22px;
    margin-bottom: 0px;
    line-height: 1;
  }

  .menu-item .label {
    line-height: 1;
    margin: 0;
    padding: 0;
  }

  .menu-item.top .icon {
    font-size: 16px;
    margin-bottom: 2px;
  }

  /* 🎨 背景色を青系3トーンに変更 */
  .menu-item.tel {
    background-color: #0071bc; /* 左：濃い青（電話予約） */
  }

  .menu-item.web {
    background-color: #0091dc; /* 中：明るい青（WEB予約） */
  }

  .menu-item.top {
    background-color: #005f9e; /* 右：少しグレーがかった深めの青（TOP） */
  }
	.menu-item:not(:last-child) {
    border-right: 1px solid #fff;
  }
}

.hero-bg {
  width: 100%;
  height: auto;
  display: block;
}
.vertical-text-overlay {
  position: absolute;
  top: 10%;
  left: 5%;
  writing-mode: vertical-rl;
  text-orientation: mixed;
  font-size: 1.4em;
  line-height: 1.8;
  color: white;
  font-family: "Hiragino Mincho ProN", "Yu Mincho", "Noto Serif JP", serif;
  text-shadow: 1px 1px 4px rgba(0,0,0,0.5);
}
.vertical-text-overlay span {
  font-size: 1.6em;
  font-weight: bold;
  color: #fff;
}
/* 共通スタイル */
.vertical-text-overlay .vertical-text {
  font-size: 1.4rem;
  line-height: 1.6;
  text-align: center;
  color: white;
  font-weight: bold;
}

/* スマホ用（画面幅が767px以下のとき） */
@media screen and (max-width: 767px) {
  .vertical-text-overlay .vertical-text {
    font-size: 0.6rem; /* スマホ用に小さく *8
    line-height: 1.4;
  }

  .vertical-text-overlay {
    padding: 20px; /* スマホで内側に少し余白 */
  }
}


body { font-family: sans-serif; background: #fff; color: #333; margin: 0; padding: 0; }


/* ===== Hero Section ===== */
.hero {
  background: #e9f6f5;
  padding: 80px 20px;
  text-align: center;
}
.hero h1 {
  font-size: 2.2em;
  color: #005f73;
  margin-bottom: 10px;
}
.hero p {
  font-size: 1.2em;
  margin-bottom: 20px;
}
.hero .btn {
  background: #2a9d8f;
  color: #fff;
  padding: 12px 24px;
  text-decoration: none;
  border-radius: 5px;
}

/* ===== Features Section ===== */
.features {
  background: #f8f8f8;
  padding: 50px 20px;
  text-align: center;
}
.features h2 {
  font-size: 1.8em;
  margin-bottom: 20px;
}
.features ul {
  list-style: none;
  padding: 0;
}
.features li {
  margin: 10px 0;
  font-weight: bold;
}

/* ===== Services Menu ===== */
.services-menu {
  padding: 50px 20px;
}
.services-menu h2 {
  font-size: 1.8em;
  text-align: center;
  margin-bottom: 30px;
}
.menu-group {
  margin-bottom: 30px;
}
.menu-group h3 {
  font-size: 1.4em;
  color: #264653;
}
.menu-group ul {
  list-style: disc;
  padding-left: 40px;
}

/* ===== Contact Section ===== */
#contact {
  background: #f1f1f1;
  padding: 50px 20px;
  text-align: center;
}
#contact h2 {
  font-size: 1.8em;
  margin-bottom: 20px;
}
#contact a.btn {
  background: #e76f51;
  color: #fff;
  padding: 12px 24px;
  text-decoration: none;
  border-radius: 5px;
}


/* === PREVENTION セクション === */
.prevention-section {
  background: #ffffff;
  padding: 60px 20px;
  text-align: center;
  font-size: 1.1em;
  line-height: 1.8;
}

.prevention-heading {
  font-size: 1.8em;
  font-weight: bold;
  color: #264653;
  margin-bottom: 30px;
}

.prevention-lead {
  font-size: 1.2em;
  color: #444;
  margin-bottom: 20px;
  font-weight: 500;
}


/* === PREVENTION VISUAL セクション === */
.prevention-visual {
  background: #f4f9fb;
  padding: 60px 20px;
  font-family: "Hiragino Kaku Gothic ProN", "游ゴシック体", YuGothic, sans-serif;
}
.prevention-container {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  justify-content: space-between;
  max-width: 1200px;
  margin: 0 auto;
}
.prevention-left {
  flex: 0 0 120px;
  writing-mode: vertical-rl;
  font-size: 1.6em;
  color: #2a7fbc;
  margin-right: 20px;
  font-weight: 600;
  line-height: 1.8;
}
.prevention-right {
  flex: 1;
  max-width: 600px;
  font-size: 1em;
  line-height: 1.8;
  color: #333;
}
.prevention-right h2 {
  font-size: 1.6em;
  font-weight: bold;
  margin-bottom: 20px;
}
.prevention-right .blue {
  color: #2a7fbc;
  font-weight: bold;
}
.prevention-image {
  flex: 0 0 200px;
  margin-left: 20px;
}
.prevention-image img {
  width: 100%;
  max-width: 200px;
  height: auto;
}


/* === Webフォント（すこやか歯科風） === */
body {
  font-family: "Hiragino Kaku Gothic ProN", "Yu Gothic", "游ゴシック体", "Noto Sans JP", sans-serif;
  color: #333;
  line-height: 1.8;
}

h1, h2, h3 {
  font-family: "Hiragino Mincho ProN", "Yu Mincho", "游明朝体", "Noto Serif JP", serif;
  color: #222;
}


/* === HERO VISUAL SECTION === */
.hero-visual {
  background: url('../assets/images/hero-staff.jpg') no-repeat center center / cover;
  height: 90vh;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
}
.hero-overlay {
  background: rgba(0, 0, 0, 0.3);
  padding: 40px 20px;
  color: #fff;
  max-width: 90%;
}
.hero-overlay h1 {
  font-size: 2.2em;
  font-weight: bold;
  margin-bottom: 0.5em;
}
.hero-overlay p {
  font-size: 1.2em;
}

.reservation-buttons {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin: 60px 0 30px;
  flex-wrap: wrap;
}

.btn-reserve {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px 28px;
  font-size: 1.1em;
  font-weight: bold;
  border-radius: 999px;
  color: #fff;
  text-decoration: none;
  transition: 0.3s;
  min-width: 200px;
}

/* ===== ハンバーガーメニュー（スマホ用） ===== */
.hamburger {
  display: none;
  flex-direction: column;
  cursor: pointer;
  width: 40px;
  height: 30px;
  justify-content: space-between;
  z-index: 1001;
  position: relative;
}
.hamburger span {
  background: #333;
  height: 4px;
  border-radius: 2px;
  transition: all 0.3s ease;
}

/* メニューテキスト */
.menu-label {
  font-size: 0.8em;
  margin-top: 4px;
  color: #333;
  text-align: center;
}

/* スマホメニュー */
/* 不要：display: none を削除（競合回避） */
.mobile-nav {
  /* display: none; ←これ削除 */
  position: fixed;
  top: 0;
  right: -100%; /* 右に隠す */
  width: 85%;
  height: 100vh;
  background: #f9f9f9;
  z-index: 2000;
  transition: right 0.3s ease;
  padding: 20px;
  box-sizing: border-box;
  overflow-y: auto;
}
.mobile-nav ul {
  list-style: none;
  padding: 60px 20px;
}
.mobile-nav li {
  margin-bottom: 20px;
}
.mobile-nav a {
  text-decoration: none;
  color: #333;
  font-size: 1.2em;
}

/* オーバーレイ */
#overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(0,0,0,0.3);
  display: none;
  z-index: 999;
}

/* レスポンシブ切替 */
@media screen and (max-width: 768px) {
  .main-menu {
    display: none;
  }
  .hamburger {
    display: flex;
  }
}

/* 初期状態では非表示にしておく */
.desktop-header,
.mobile-header {
  display: none;
}

/* PC用ヘッダーの表示（768px以上） */
@media screen and (min-width: 768px) {
  .desktop-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 10px 20px;
  }
}

/* スマホ用ヘッダーの表示（767px以下） */
@media screen and (max-width: 767px) {
  .mobile-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 10px 20px;
  }
}

