/* ============================================
   DIVE DREAM - 本格版スタイルシート
   静岡県伊東市の老舗ダイビングサービス
   ============================================ */

/* ===== カラーパレット・基本変数 ===== */
:root {
  --primary: #003d5b;          /* ディープ・オーシャン */
  --primary-dark: #002a40;
  --secondary: #00a8cc;        /* シーアクア */
  --secondary-text: #007693;   /* シーアクア（文字用・WCAG AA 4.5:1対応） */
  --accent-text: #8f6400;      /* アンバー（文字用・WCAG AA対応） */
  --accent: #ffb627;           /* サンライズ・イエロー */
  --accent-dark: #e09e15;
  --coral: #ee6c4d;            /* 体験/家族向けアクセント */
  --coral-text: #c04527;       /* コーラル（文字用・WCAG AA対応） */
  --bg: #ffffff;
  --bg-soft: #f4f7fa;
  --bg-deep: #eaf3f7;
  --text: #1a2332;
  --text-soft: #54667a;
  --text-mute: #596b7f;
  --border: #d8e2eb;
  --shadow-sm: 0 2px 6px rgba(0, 61, 91, 0.06);
  --shadow: 0 4px 14px rgba(0, 61, 91, 0.10);
  --shadow-lg: 0 12px 32px rgba(0, 61, 91, 0.16);
  --radius-sm: 8px;
  --radius: 14px;
  --radius-lg: 22px;
  --transition: 0.25s ease;
  --max: 1180px;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: -apple-system, BlinkMacSystemFont, "Hiragino Kaku Gothic ProN",
               "Yu Gothic Medium", "Meiryo", sans-serif;
  font-size: 16px;
  line-height: 1.75;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  -webkit-text-size-adjust: 100%;
}

img { max-width: 100%; height: auto; display: block; }

/* ===== 埋め込みモード（iframe内表示用） ===== */
body.embed-mode .site-header,
body.embed-mode .global-nav,
body.embed-mode .site-footer,
body.embed-mode .menu-toggle { display: none !important; }
body.embed-mode .hero,
body.embed-mode .hero-page { min-height: 200px !important; }

/* ===== iframeラッパー ===== */
.embed-wrap {
  width: 100%;
  border: 0;
  display: block;
}
.embed-notice {
  background: var(--bg-soft);
  color: var(--text-soft);
  padding: 14px 20px;
  text-align: center;
  font-size: 14px;
  border-bottom: 1px solid var(--border);
}

/* ===== 画像の汎用フィット改善 ===== */
.staff-photo, .diver-photo, .voice-photo, .product-photo,
.tour-photo, .event-photo, .skill-photo, .access-photo,
.kinen-photo, .monthly-photo, .feature-photo, .about-photo {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  object-position: center;
  background: var(--bg-deep);
  border-radius: var(--radius-sm);
  display: block;
}
.voice-photo, .staff-photo { aspect-ratio: 1 / 1; border-radius: 50%; max-width: 200px; margin: 0 auto; }
.monthly-photo { aspect-ratio: 3 / 2; max-height: 560px; }
.product-photo { aspect-ratio: 1 / 1; }
.about-photo { aspect-ratio: 16 / 11; }
.feature-photo { aspect-ratio: 16 / 10; }

/* レイジーローディング・スムーズ表示 */
img[loading="lazy"] { transition: opacity 0.3s; }
img.lazy-fade { opacity: 0; }
img.lazy-fade.loaded { opacity: 1; }
a { color: var(--secondary-text); text-decoration: none; transition: color var(--transition); }
a:hover { color: var(--primary); }
button { font-family: inherit; cursor: pointer; }

/* ===== 共通ユーティリティ ===== */
.container { max-width: var(--max); margin: 0 auto; padding: 0 20px; }
.text-center { text-align: center; }
.mt-1 { margin-top: 8px; } .mt-2 { margin-top: 16px; } .mt-3 { margin-top: 24px; }
.mt-4 { margin-top: 32px; } .mt-5 { margin-top: 48px; } .mt-6 { margin-top: 64px; }

/* ===== ヘッダー ===== */
.site-header {
  position: sticky;
  top: 0;
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: saturate(180%) blur(12px);
  -webkit-backdrop-filter: saturate(180%) blur(12px);
  border-bottom: 1px solid var(--border);
  z-index: 100;
}
.header-inner {
  max-width: var(--max);
  margin: 0 auto;
  padding: 12px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
.logo {
  display: flex;
  flex-direction: column;
  font-weight: 800;
  color: var(--primary);
  letter-spacing: 0.04em;
  line-height: 1.05;
}
.logo .logo-main { font-size: 22px; }
.logo .logo-sub { font-size: 13px; color: var(--text-soft); letter-spacing: 0.05em; font-weight: 600; }
.logo .logo-img { display: block; height: 40px; width: auto; max-width: 220px; margin-bottom: 2px; }
@media (max-width: 768px) {
  .logo .logo-img { height: 32px; max-width: 160px; }
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}
.lang-switch {
  font-size: 14px;          /* 🌐 絵文字のサイズはこの値で決まる */
  font-weight: 700;
  padding: 7px 16px;
  border-radius: 999px;
  border: 1.5px solid var(--border);
  color: var(--text-soft);
  white-space: nowrap;
  flex-shrink: 0;
  line-height: 1;
  display: inline-flex;     /* 絵文字と文字の縦位置を中央揃え */
  align-items: center;
  gap: 4px;
}
/* 🌐 はそのまま、EN/JP テキストだけ大きく表示 */
.lang-switch .lang-text {
  font-size: 17px;
  line-height: 1;
}
.lang-switch:hover { border-color: var(--secondary-text); color: var(--secondary-text); }
.btn-contact-mini {
  background: var(--accent);
  color: var(--primary-dark);
  font-weight: 800;
  padding: 8px 16px;
  border-radius: 999px;
  font-size: 13px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  white-space: nowrap;
  flex-shrink: 0;
}
.btn-contact-mini:hover { background: var(--accent-dark); color: var(--primary-dark); }

/* スマホ版ではヘッダーのお問い合わせボタンを非表示
   理由：フッターに同等の導線（連絡先・予約/問い合わせボタン・電話ボタン）が完備されており、
   ヘッダーに無理に入れるとページごとの文字数違いでボタン幅が変動し、ページ遷移時に違和感が生じるため。 */
@media (max-width: 768px) {
  .header-actions .btn-contact-mini { display: none; }
}

.menu-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 30px;          /* 24px → 30px：縦幅アップで押しやすく */
  color: var(--primary);
  padding: 6px 8px;
  line-height: 1;            /* 余分な行間を消して、縦幅は文字サイズ通り */
}

/* ===== グローバルナビ ===== */
.global-nav {
  background: var(--primary);
}
.nav-inner {
  max-width: var(--max);
  margin: 0 auto;
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  padding: 0 20px;
}
.nav-inner > a {
  color: #fff;
  padding: 14px 18px;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.02em;
  border-bottom: 3px solid transparent;
  transition: all var(--transition);
  white-space: nowrap;
}
.nav-inner > a:hover { background: rgba(255, 255, 255, 0.08); color: #fff; }
.nav-inner > a.active { border-bottom-color: var(--accent); color: var(--accent); }

/* ===== その他メニュー（ドロップダウン）===== */
.nav-more {
  position: relative;
  margin-left: auto;
}
.nav-more-btn {
  background: none;
  border: none;
  color: #fff;
  font-family: inherit;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.02em;
  padding: 14px 18px;
  cursor: pointer;
  border-bottom: 3px solid transparent;
  transition: all var(--transition);
  white-space: nowrap;
  display: inline-flex;
  align-items: center;
  gap: 5px;
}
.nav-more-btn:hover {
  background: rgba(255, 255, 255, 0.08);
  border-bottom-color: var(--accent);
}
.nav-more-btn .arrow {
  display: inline-block;
  transition: transform 0.2s ease;
  font-size: 12px;
  opacity: 0.85;
}
.nav-more.open .nav-more-btn {
  background: rgba(255, 255, 255, 0.12);
  border-bottom-color: var(--accent);
}
.nav-more.open .nav-more-btn .arrow {
  transform: rotate(180deg);
}
.nav-more-panel {
  display: none;
  position: absolute;
  top: 100%;
  right: 0;
  background: #fff;
  border-radius: 0 0 14px 14px;
  box-shadow: 0 12px 36px rgba(0, 0, 0, 0.18);
  padding: 26px 30px;
  min-width: 720px;
  z-index: 100;
  grid-template-columns: repeat(4, 1fr);
  gap: 26px;
}
.nav-more.open .nav-more-panel {
  display: grid;
  animation: navMoreFade 0.2s ease-out;
}
@keyframes navMoreFade {
  from { opacity: 0; transform: translateY(-8px); }
  to { opacity: 1; transform: translateY(0); }
}
.nav-more-col h5 {
  font-size: 12px;
  color: var(--primary);
  border-bottom: 2px solid var(--accent);
  padding-bottom: 7px;
  margin-bottom: 10px;
  letter-spacing: 0.06em;
  font-weight: 700;
}
.nav-more-col a {
  display: block;
  color: #333;
  padding: 7px 0;
  font-size: 13.5px;
  font-weight: 500;
  border-bottom: none !important;
  background: none !important;
  transition: color 0.15s, padding-left 0.15s;
}
.nav-more-col a:hover {
  color: var(--primary);
  padding-left: 5px;
  background: none !important;
}

/* ===== ヒーロー ===== */
.hero {
  position: relative;
  min-height: 520px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: #fff;
  background-size: cover;
  background-position: center;
  overflow: hidden;
}
.hero::before {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(0, 42, 64, 0.4) 0%, rgba(0, 42, 64, 0.65) 100%);
}
.hero-content {
  position: relative;
  padding: 80px 24px;
  max-width: 880px;
}
.hero h1 {
  font-size: clamp(28px, 5vw, 52px);
  font-weight: 800;
  letter-spacing: 0.02em;
  text-shadow: 0 4px 20px rgba(0, 0, 0, 0.5);
  line-height: 1.2;
}
.hero .hero-sub {
  font-size: clamp(14px, 1.6vw, 18px);
  margin-top: 18px;
  font-weight: 500;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.6);
  line-height: 1.7;
}
.hero-cta {
  margin-top: 32px;
  display: inline-flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
}

/* ヒーロー（小・各下層ページ用） */
.hero-page {
  min-height: 320px;
}
.hero-page h1 { font-size: clamp(26px, 4vw, 42px); }

/* パンくずリスト（ヒーロー内・左下に重ねて表示） */
.hero-breadcrumbs {
  position: absolute;
  bottom: 16px;
  left: 24px;
  font-size: 13px;
  color: rgba(255,255,255,0.85);
  z-index: 3;
}
.hero-breadcrumbs a {
  color: rgba(255,255,255,0.85);
  text-decoration: none;
}
.hero-breadcrumbs a:hover {
  color: #fff;
  text-decoration: underline;
}
.hero-breadcrumbs span { margin: 0 6px; }

/* ===== ヒーロー：HOMEのキャッチコピー文 ===== */
.hero-tag {
  font-size: clamp(14px, 1.5vw, 16px);
  margin-top: 22px;
  line-height: 1.95;
  font-weight: 500;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.6);
  max-width: 760px;
  margin-left: auto;
  margin-right: auto;
}

/* ===== ヒーロー：コースを見るボタン（2x2 / 4列） ===== */
.course-buttons {
  margin-top: 36px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
  max-width: 880px;
  margin-left: auto;
  margin-right: auto;
}
.course-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 16px 12px;
  background: rgba(255, 255, 255, 0.92);
  color: var(--primary-dark);
  border-radius: 12px;
  font-size: 16px;
  font-weight: 700;
  text-decoration: none;
  letter-spacing: 0.02em;
  transition: all var(--transition);
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.15);
  min-height: 56px;
  line-height: 1.4;
}
.course-btn:hover {
  background: #fff;
  color: var(--primary);
  transform: translateY(-3px);
  box-shadow: 0 8px 22px rgba(0, 0, 0, 0.25);
}

/* ===== HOME予約セクション ===== */
.booking-band {
  background: linear-gradient(135deg, var(--bg-soft) 0%, var(--bg-deep) 100%);
  padding: 64px 20px;
}
.booking-inner {
  max-width: var(--max);
  margin: 0 auto;
}
.booking-buttons {
  margin-top: 32px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  max-width: 920px;
  margin-left: auto;
  margin-right: auto;
}
.booking-btn {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 4px;
  padding: 16px 14px;
  background: #fff;
  color: var(--primary) !important;
  border: 1.5px solid var(--primary);
  border-radius: 12px;
  font-weight: 700;
  text-decoration: none;
  letter-spacing: 0.02em;
  transition: all var(--transition);
  box-shadow: 0 3px 10px rgba(0, 61, 91, 0.08);
  min-height: 64px;
  line-height: 1.4;
  text-align: center;
}
.booking-btn > span:first-child { font-size: 15px; }
.booking-btn > span:last-child { font-size: 13px; opacity: 0.78; }
.booking-btn:hover {
  background: var(--primary);
  color: #fff !important;
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(0, 61, 91, 0.22);
}

/* HOME予約バンドの見出し・リードのサイズ調整 */
.booking-band .section-head h2 {
  font-size: 22px;
  line-height: 1.5;
}
.booking-band .section-head .lead {
  font-size: 15px;
}

/* ===== ボタン ===== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 28px;
  font-size: 15px;
  font-weight: 700;
  border-radius: 999px;
  border: none;
  transition: all var(--transition);
  text-decoration: none;
  letter-spacing: 0.02em;
  min-height: 48px;
}
.btn-primary { background: var(--accent); color: var(--primary-dark); box-shadow: var(--shadow); }
.btn-primary:hover { background: var(--accent-dark); transform: translateY(-2px); box-shadow: var(--shadow-lg); color: var(--primary-dark); }
.btn-outline { background: transparent; color: #fff; border: 2px solid #fff; }
.btn-outline:hover { background: #fff; color: var(--primary); }
.btn-secondary { background: var(--secondary-text); color: #fff; }
.btn-secondary:hover { background: var(--primary); color: #fff; transform: translateY(-2px); }

/* ===== セクション共通 ===== */
.section {
  padding: 72px 20px;
}
.section-alt { background: var(--bg-soft); }
.section-deep { background: var(--bg-deep); }
.section-inner { max-width: var(--max); margin: 0 auto; }

.section-head {
  text-align: center;
  margin-bottom: 48px;
}
.section-head .eyebrow {
  font-size: 12px;
  letter-spacing: 0.3em;
  color: var(--secondary-text);
  font-weight: 700;
  text-transform: uppercase;
}
.section-head h2 {
  font-size: clamp(24px, 3.4vw, 36px);
  margin-top: 8px;
  color: var(--primary);
  font-weight: 800;
  letter-spacing: 0.02em;
}
.section-head .lead {
  margin-top: 14px;
  color: var(--text-soft);
  font-size: 15px;
  max-width: 720px;
  margin-left: auto;
  margin-right: auto;
}

/* ===== カードグリッド ===== */
.card-grid {
  display: grid;
  gap: 24px;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
}
.card {
  background: #fff;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: all var(--transition);
  display: flex;
  flex-direction: column;
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.card-image {
  width: 100%;
  height: 200px;
  background-size: cover;
  background-position: center;
  background-color: var(--bg-deep);
}
.card-body { padding: 24px; flex: 1; display: flex; flex-direction: column; }
.card h3 {
  font-size: 19px;
  color: var(--primary);
  margin-bottom: 10px;
  font-weight: 800;
}
.card .card-tag {
  display: inline-block;
  font-size: 11px;
  background: var(--accent);
  color: var(--primary-dark);
  padding: 3px 10px;
  border-radius: 999px;
  font-weight: 700;
  letter-spacing: 0.05em;
  margin-bottom: 10px;
  align-self: flex-start;
}
.card p { color: var(--text-soft); font-size: 14px; line-height: 1.7; }
.card-foot { margin-top: auto; padding-top: 16px; }
.card-foot a {
  font-size: 13px;
  font-weight: 700;
  color: var(--secondary-text);
  display: inline-flex;
  align-items: center;
  gap: 4px;
}
.card-foot a:hover { color: var(--primary); gap: 8px; }
.card-price {
  font-size: 13px;
  color: var(--coral-text);
  font-weight: 700;
  margin-top: 8px;
}
.card-price strong { font-size: 22px; }

/* ===== 特徴ブロック ===== */
.features {
  display: grid;
  gap: 28px;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
}
.feature {
  text-align: center;
  padding: 12px;
}
.feature .icon {
  width: 72px;
  height: 72px;
  margin: 0 auto 14px;
  background: var(--bg-deep);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 32px;
  color: var(--primary);
}
.feature h3 { font-size: 17px; color: var(--primary); margin-bottom: 8px; font-weight: 800; }
.feature p { color: var(--text-soft); font-size: 14px; line-height: 1.7; }

/* ===== HOME：コース紹介カード（デバッグ復帰版） ===== */
/* 一旦さっきの動作確認OK状態に戻す（赤枠＋黄背景） */
.feature-grid {
  display: grid !important;
  grid-template-columns: repeat(6, 1fr) !important;
  gap: 24px !important;
  max-width: 1128px !important;
  margin: 0 auto !important;
}
.feature-card {
  background: #fff !important;      /* 白背景 */
  border: none !important;           /* 黒枠削除：影だけでカードを表現 */
  padding: 0 !important;             /* カード本体には padding なし（内側 feat-body が担当） */
  overflow: hidden !important;       /* 画像が枠からはみ出ないよう */
  transform: none !important;
  /* 二重影でトリックアート的な浮き上がり感を演出 */
  box-shadow:
    0 10px 24px rgba(0, 0, 0, 0.10),   /* 遠い大きな影＝高さ感 */
    0 2px 6px rgba(0, 0, 0, 0.06)      /* 近い小さな影＝接地感 */
    !important;
  transition: none !important;
}
/* 1段目：3枚を6列に均等配置 */
.feature-card:nth-child(1) { grid-column: 1 / span 2; }
.feature-card:nth-child(2) { grid-column: 3 / span 2; }
.feature-card:nth-child(3) { grid-column: 5 / span 2; }
/* 2段目：2枚を中央寄せに配置（4-5列・4列分） */
.feature-card:nth-child(4) { grid-column: 2 / span 2; }
.feature-card:nth-child(5) { grid-column: 4 / span 2; }

/* タブレット：2列（!important で PC 用の 6 列指定を上書き） */
@media (max-width: 800px) {
  .feature-grid { grid-template-columns: repeat(2, 1fr) !important; }
  .feature-card:nth-child(1),
  .feature-card:nth-child(2),
  .feature-card:nth-child(3),
  .feature-card:nth-child(4),
  .feature-card:nth-child(5) { grid-column: auto !important; }
}
/* スマホ：1列（!important で PC 用の 6 列指定を上書き） */
@media (max-width: 600px) {
  .feature-grid { grid-template-columns: 1fr !important; }
  .feature-card:nth-child(1),
  .feature-card:nth-child(2),
  .feature-card:nth-child(3),
  .feature-card:nth-child(4),
  .feature-card:nth-child(5) { grid-column: auto !important; }
}
.feature-card .feat-img {
  width: 100%;
  height: 200px;
  background-size: cover;
  background-position: center;
  background-color: var(--bg-deep);
}
.feature-card .feat-body {
  padding: 22px 20px 24px;
  flex: 1;
  display: flex;
  flex-direction: column;
}
.feature-card .feat-lead {
  display: block;
  font-size: 12px;
  color: var(--coral-text);
  font-weight: 800;
  letter-spacing: 0.12em;
  margin-bottom: 8px;
  background: none;
  padding: 0;
}
.feature-card h3 {
  font-size: 19px;
  color: var(--primary);
  margin-bottom: 10px;
  font-weight: 800;
  line-height: 1.4;
}
.feature-card p {
  color: var(--text-soft);
  font-size: 15px;
  line-height: 1.8;
}
.feature-card .feat-link {
  margin-top: auto;
  padding-top: 16px;
  font-size: 14px;
  font-weight: 700;
  color: var(--secondary-text);
  display: inline-flex;
  align-items: center;
  gap: 4px;
}
.feature-card .feat-link:hover { color: var(--primary); gap: 8px; }

/* ===== 料金ボックス ===== */
.price-box {
  background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
  color: #fff;
  padding: 36px 24px;
  border-radius: var(--radius);
  text-align: center;
  max-width: 480px;
  margin: 0 auto;
  box-shadow: var(--shadow);
}
.price-box .price-label { font-size: 13px; letter-spacing: 0.2em; opacity: 0.9; font-weight: 600; }
.price-box .price-value { font-size: clamp(36px, 6vw, 56px); font-weight: 800; margin: 8px 0 4px; }
.price-box .price-tax { font-size: 13px; opacity: 0.85; }

.price-table {
  width: 100%;
  border-collapse: collapse;
  background: #fff;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}
.price-table th, .price-table td {
  padding: 16px 18px;
  text-align: left;
  font-size: 14px;
  border-bottom: 1px solid var(--border);
  vertical-align: top;
}
.price-table th {
  background: var(--bg-soft);
  color: var(--primary);
  font-weight: 700;
  width: 36%;
}
.price-table td.price-num { color: var(--coral); font-weight: 800; font-size: 16px; white-space: nowrap; }

/* ===== 情報テーブル ===== */
.info-table {
  width: 100%;
  border-collapse: collapse;
  background: #fff;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}
.info-table th, .info-table td {
  padding: 14px 18px;
  text-align: left;
  font-size: 14px;
  border-bottom: 1px solid var(--border);
  vertical-align: top;
}
.info-table th {
  background: var(--bg-soft);
  color: var(--primary);
  font-weight: 700;
  width: 32%;
  white-space: nowrap;
}

/* ===== ステップ（タイムライン） ===== */
.steps {
  display: grid;
  gap: 16px;
  max-width: 760px;
  margin: 0 auto;
}
.step {
  display: flex;
  gap: 16px;
  background: #fff;
  padding: 18px 20px;
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  align-items: flex-start;
}
.step-num {
  flex-shrink: 0;
  width: 40px; height: 40px;
  border-radius: 50%;
  background: var(--secondary-text);
  color: #fff;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
}
.step-body .hlv4 { font-size: 15px; color: var(--primary); margin-bottom: 4px; font-weight: 800; }
.step-body p { color: var(--text-soft); font-size: 13px; line-height: 1.7; }

/* ===== 写真＋文章の左右並びレイアウト ===== */
.media-row {
  display: grid;
  gap: 36px;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  max-width: 1080px;
  margin: 0 auto;
}
.media-row.reverse .media-photo { order: 2; }
.media-row.reverse .media-text { order: 1; }
.media-row .media-photo {
  aspect-ratio: 4 / 3;
  background-size: cover;
  background-position: center;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  min-height: 240px;
}
.media-row .media-text p {
  font-size: 15px;
  line-height: 2.0;
  color: var(--text);
  margin-bottom: 1.2em;
}
.media-row .media-text p:last-child {
  margin-bottom: 0;
}
.media-row .media-text h3 {
  font-size: 18px;
  color: var(--primary);
  margin-bottom: 12px;
  font-weight: 800;
}
@media (max-width: 768px) {
  .media-row {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .media-row.reverse .media-photo { order: 1; }
  .media-row.reverse .media-text { order: 2; }
}

/* ===== ワイド写真ブレイク ===== */
.photo-break {
  margin: 32px auto;
  max-width: 960px;
  aspect-ratio: 16 / 7;
  background-size: cover;
  background-position: center;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}
@media (max-width: 768px) {
  .photo-break {
    aspect-ratio: 4 / 3;
    margin: 20px auto;
  }
}

/* ===== ステップ内サムネイル写真 ===== */
.step.with-photo {
  flex-wrap: wrap;
}
.step-photo {
  width: 200px;
  aspect-ratio: 4 / 3;
  background-size: cover;
  background-position: center;
  border-radius: 8px;
  flex-shrink: 0;
  margin-left: auto;
  box-shadow: var(--shadow-sm);
}
@media (max-width: 600px) {
  .step.with-photo .step-body { flex: 1 1 100%; }
  .step-photo {
    width: 100%;
    margin-left: 0;
    margin-top: 12px;
  }
}

/* ===== お知らせ・最新ブログ ===== */
.news-list {
  display: grid;
  gap: 14px;
  max-width: 820px;
  margin: 0 auto;
}
.news-item {
  display: grid;
  grid-template-columns: 110px 90px 1fr;
  gap: 16px;
  padding: 16px 18px;
  background: #fff;
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  align-items: center;
  transition: all var(--transition);
}
.news-item:hover { transform: translateX(4px); box-shadow: var(--shadow); }
.news-item .news-date { color: var(--text-soft); font-size: 13px; font-weight: 600; }
.news-item .news-cat {
  display: inline-block;
  padding: 3px 10px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-align: center;
}
.news-cat.cat-sea { background: #d6f0fa; color: #0077a8; }
.news-cat.cat-tour { background: #ffe9d6; color: #c84d10; }
.news-cat.cat-press { background: #e8e0fa; color: #5b3fa7; }
.news-cat.cat-info { background: #ffeebc; color: #8a6500; }
.news-item .news-title { color: var(--text); font-size: 14px; font-weight: 600; line-height: 1.5; }

/* ===== ギャラリー ===== */
.gallery-grid {
  display: grid;
  gap: 12px;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
}
.gallery-item {
  aspect-ratio: 4 / 3;
  background-size: cover;
  background-position: center;
  border-radius: var(--radius-sm);
  overflow: hidden;
  position: relative;
  cursor: pointer;
  transition: all var(--transition);
}
.gallery-item:hover { transform: scale(1.02); box-shadow: var(--shadow); }
.gallery-item .gallery-cap {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  background: linear-gradient(180deg, transparent, rgba(0, 0, 0, 0.7));
  color: #fff;
  padding: 24px 12px 10px;
  font-size: 12px;
  font-weight: 600;
  opacity: 0;
  transition: opacity var(--transition);
}
.gallery-item:hover .gallery-cap { opacity: 1; }

/* ===== CTAバンド（強調呼びかけ） ===== */
.cta-band {
  background: linear-gradient(135deg, var(--coral) 0%, var(--accent) 100%);
  color: #fff;
  padding: 56px 20px;
  text-align: center;
}
.cta-band h2 {
  color: #fff;
  font-size: clamp(22px, 3vw, 30px);
  font-weight: 800;
  margin-bottom: 12px;
  text-shadow: 0 2px 6px rgba(0, 0, 0, 0.15);
}
.cta-band p { font-size: 16px; font-weight: 700; margin-bottom: 22px; opacity: 1; }
.btn-white {
  background: #fff;
  color: var(--coral-text);
  font-weight: 800;
  padding: 16px 32px;
  border-radius: 999px;
  font-size: 16px;
}
.btn-white:hover { background: var(--primary); color: #fff; transform: translateY(-2px); }

/* CTAバンド内4ボタングリッド（PC:横4列・スマホ:2×2） */
.cta-booking-4 {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
  max-width: 860px;
  margin: 8px auto 0;
}
@media (max-width: 768px) {
  .cta-booking-4 {
    grid-template-columns: repeat(2, 1fr);
    max-width: none;
    gap: 10px;
  }
  .cta-booking-4 .btn-white {
    padding: 11px 10px;
    font-size: 14px;
  }
}

/* ソフト版コース選択（クリーム背景内ネイビーボタン用） */
.cta-booking-4-soft {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
  max-width: 760px;
  margin: 0 auto;
}
@media (max-width: 768px) {
  .cta-booking-4-soft {
    grid-template-columns: repeat(2, 1fr);
    max-width: 400px;
    gap: 10px;
  }
  .cta-booking-4-soft .btn {
    padding: 12px 8px;
    font-size: 14px;
  }
}

/* ===== 益田一氏プロジェクト（shop.html OUR HERITAGE） ===== */
.masuda-card {
  background: #fff;
  border-radius: 14px;
  padding: 30px 32px;
  box-shadow: var(--shadow-sm);
  margin-bottom: 24px;
  overflow: hidden;
}
.masuda-card h3 {
  color: var(--primary);
  font-size: 20px;
  margin: 0 0 8px;
}
.masuda-card .sub {
  color: var(--accent-text);
  font-weight: 700;
  font-size: 13.5px;
  margin-bottom: 14px;
}
.masuda-card p {
  line-height: 2.0;
  font-size: 14.5px;
  margin-bottom: 12px;
}
.masuda-portrait {
  float: right;
  margin: 0 0 18px 24px;
  max-width: 280px;
}
.film-list {
  background: var(--bg-soft);
  padding: 18px 24px;
  border-radius: 8px;
  margin: 14px 0;
  line-height: 2.0;
  font-size: 14px;
}
.film-list strong {
  color: var(--primary);
}
@media (max-width: 768px) {
  .masuda-card { padding: 22px 18px; }
  .masuda-portrait {
    float: none;
    margin: 0 auto 18px;
    max-width: 100%;
  }
}

/* ===== お問い合わせフォーム ===== */
.contact-form {
  background: #fff;
  padding: 32px 28px;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  max-width: 720px;
  margin: 0 auto;
  display: grid;
  gap: 18px;
}
.form-row { display: grid; gap: 8px; }
.form-row label {
  font-size: 13px;
  color: var(--primary);
  font-weight: 700;
}
.form-row label .req { color: var(--coral-text); margin-left: 4px; }
.form-row input, .form-row select, .form-row textarea {
  padding: 12px 14px;
  border: 1.5px solid var(--border);
  border-radius: var(--radius-sm);
  font-size: 15px;
  font-family: inherit;
  background: #fff;
  color: var(--text);
  transition: border-color var(--transition);
}
.form-row input:focus, .form-row select:focus, .form-row textarea:focus {
  outline: none;
  border-color: var(--secondary-text);
  box-shadow: 0 0 0 3px rgba(0, 168, 204, 0.15);
}
.form-row textarea { resize: vertical; min-height: 140px; }
.form-note {
  font-size: 13px;
  color: var(--text-soft);
  background: var(--bg-soft);
  padding: 14px 16px;
  border-radius: var(--radius-sm);
  border-left: 3px solid var(--accent);
  line-height: 1.7;
}

/* ===== フッター ===== */
.site-footer {
  background: var(--primary-dark);
  color: #cdd6df;
  padding: 56px 20px 24px;
}
.footer-inner {
  max-width: var(--max);
  margin: 0 auto;
  display: grid;
  gap: 28px;
  grid-template-columns: 1.4fr 1fr 1fr 1fr 1fr;
}
.footer-cta {
  max-width: var(--max);
  margin: 36px auto 0;
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}
.footer-cta-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 28px;
  background: var(--primary);
  color: #fff !important;
  border-radius: 999px;
  font-size: 15px;
  font-weight: 700;
  text-decoration: none;
  transition: opacity 0.2s, transform 0.2s;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}
.footer-cta-btn:hover { opacity: 0.92; transform: translateY(-2px); }
.footer-cta-btn-tel { background: #16794f; }

/* PC表示：電話はボタンではなく番号テキストとして表示（PCから電話する人は稀のため） */
@media (min-width: 769px) {
  .footer-cta-btn-tel {
    background: transparent;
    box-shadow: none;
    padding: 14px 0;
    font-size: 17px;
    font-weight: 700;
    color: #fff !important;
    cursor: default;
    letter-spacing: 0.04em;
  }
  .footer-cta-btn-tel:hover {
    opacity: 1;
    transform: none;
    background: transparent;
  }
}
.footer-brand h3 { color: #fff; font-size: 22px; margin-bottom: 12px; letter-spacing: 0.04em; }
.footer-brand p { font-size: 13px; line-height: 1.85; }
/* フッターTELリンク：PCでは無反応の白文字、スマホでは青文字でタップで電話可能 */
.footer-tel-link {
  color: inherit;
  text-decoration: none;
  pointer-events: none;
  cursor: default;
}
@media (max-width: 768px) {
  .footer-tel-link {
    pointer-events: auto !important;
    cursor: pointer !important;
    color: #4da6ff !important;
    text-decoration: underline !important;
  }
}

/* CTAバンド内の電話：PCでは大きめテキストのみ／スマホではピルボタンでタップで電話可能 */
.cta-tel-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: #fff;
  font-size: 18px;
  font-weight: 700;
  text-decoration: none;
  /* PC: 文字表示のみ・反応なし */
  pointer-events: none;
  cursor: default;
}
@media (max-width: 768px) {
  .cta-tel-pill {
    /* スマホ: ピルボタン化・タップで電話発信 */
    pointer-events: auto;
    cursor: pointer;
    background: rgba(255,255,255,0.18);
    border: 1px solid rgba(255,255,255,0.35);
    padding: 7px 18px;
    border-radius: 20px;
    font-size: 13px;
    font-weight: normal;
  }
}
.footer-col h4 {
  color: #fff;
  font-size: 14px;
  margin-bottom: 14px;
  letter-spacing: 0.08em;
  font-weight: 700;
}
.footer-col ul { list-style: none; }
.footer-col li { margin-bottom: 8px; font-size: 13px; }
.footer-col a { color: #cdd6df; }
.footer-col a:hover { color: #fff; }
.footer-bottom {
  margin-top: 40px;
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  text-align: center;
  font-size: 12px;
  color: #889aaa;
}

/* ===== スマートフォン対応 ===== */
@media (max-width: 1100px) {
  .footer-inner { grid-template-columns: 1.4fr 1fr 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
}
@media (max-width: 900px) {
  .footer-inner { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
  .footer-cta-btn { padding: 12px 22px; font-size: 14px; }
}

@media (max-width: 768px) {
  .header-inner { padding: 10px 14px; }
  /* 店名はブランドの顔。スマホでも視認性を確保（2026-05-22 タカ判断、05-23 本文17px化に伴いサイズUP、05-23 サブ1行収まり調整：13px維持・字間ゼロ化） */
  .logo .logo-main { font-size: 22px; }
  .logo .logo-sub { font-size: 13px; letter-spacing: 0; white-space: nowrap; }
  .header-actions .lang-switch { padding: 6px 12px; font-size: 12px; }  /* SP: 🌐は12px相当 */
  .header-actions .lang-switch .lang-text { font-size: 15px; }            /* SP: EN/JPだけ大きく */

  .menu-toggle { display: block; }
  .global-nav { display: none; }
  /* スクロール後にハンバーガーをタップしてもメニューがちゃんと見えるように、
     開いた時はヘッダー直下に固定表示する（2026-05-23 修正） */
  .global-nav.open {
    display: block;
    position: fixed;
    top: 58px; /* ヘッダー高さ分の余白（SP実測値） */
    left: 0;
    right: 0;
    max-height: calc(100vh - 58px);
    overflow-y: auto;
    z-index: 99; /* ヘッダー(100)の下、他のコンテンツより上 */
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
  }
  .nav-inner { flex-direction: column; align-items: stretch; padding: 0; }
  .nav-inner > a {
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    padding: 14px 20px;
  }
  .nav-inner > a.active { border-bottom-color: rgba(255, 255, 255, 0.1); background: rgba(255, 255, 255, 0.06); }

  .nav-more { margin-left: 0; width: 100%; }
  .nav-more-btn {
    width: 100%;
    text-align: left;
    padding: 14px 20px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    justify-content: space-between;
  }
  /* SP：矢印を見やすく（2026-05-23 タカ判断） */
  .nav-more-btn .arrow { font-size: 14px; opacity: 0.9; }
  .nav-more-panel {
    position: static;
    min-width: 0;
    background: rgba(0, 0, 0, 0.18);
    border-radius: 0;
    box-shadow: none;
    padding: 14px 20px 16px;
    grid-template-columns: 1fr;
    gap: 14px;
  }
  .nav-more-col h5 { color: #fff; border-bottom-color: rgba(255, 255, 255, 0.25); }
  .nav-more-col a { color: rgba(255, 255, 255, 0.88) !important; padding: 8px 0; }
  .nav-more-col a:hover { color: #fff !important; padding-left: 0; }

  .hero { min-height: 440px; }
  .hero-content { padding: 56px 20px; }
  .hero-page { min-height: 240px; }

  /* スマホ：コースボタンを 2x2 グリッドに */
  .course-buttons {
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
    margin-top: 28px;
  }
  .course-btn {
    padding: 14px 8px;
    font-size: 15px;
    min-height: 60px;
  }

  /* スマホ：予約ボタンを2×2グリッドに */
  .booking-band { padding: 44px 16px; }
  .booking-buttons {
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
    margin-top: 24px;
  }
  .booking-btn {
    padding: 14px 10px;
    min-height: 62px;
  }
  .booking-btn > span:first-child { font-size: 14px; }
  .booking-btn > span:last-child { font-size: 12px; }

  /* HOME予約バンドの見出し・リード（スマホ） */
  .booking-band .section-head h2 {
    font-size: 19px;
  }
  .booking-band .section-head .lead {
    font-size: 14px;
  }

  .section { padding: 48px 16px; }
  .section-head { margin-bottom: 32px; }

  .news-item {
    grid-template-columns: 80px 1fr;
    grid-template-rows: auto auto;
    gap: 8px 12px;
  }
  .news-item .news-cat { grid-column: 2; justify-self: start; }
  .news-item .news-title { grid-column: 1 / -1; }

  .info-table th, .info-table td,
  .price-table th, .price-table td {
    display: block;
    width: 100%;
    padding: 10px 14px;
  }
  .info-table th, .price-table th { background: var(--bg-soft); border-bottom: none; white-space: normal; width: 100%; }
  .info-table td, .price-table td { padding-bottom: 14px; }

  .footer-inner { grid-template-columns: 1fr; gap: 24px; text-align: center; }

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

  /* スマホでもタップしやすいサイズを確保 */
  .btn { padding: 14px 24px; font-size: 15px; }
  .btn-primary, .btn-secondary, .btn-white { width: auto; }
}

@media (max-width: 480px) {
  .gallery-grid { grid-template-columns: repeat(2, 1fr); gap: 8px; }
  /* .btn-contact-mini は 768px 以下で非表示にしているため、ここでの調整は不要 */
}

/* ===== アクセシビリティ：フォーカス可視化 ===== */
a:focus-visible, button:focus-visible, input:focus-visible,
select:focus-visible, textarea:focus-visible {
  outline: 3px solid var(--accent);
  outline-offset: 2px;
}

/* ===== PC版ではフッター下のCTAボタンを非表示（オレンジコーナーと重複を避けるため） ===== */
@media (min-width: 769px) {
  .footer-cta { display: none; }
}

/* ===== PC/スマホで改行位置を出し分けるユーティリティ ===== */
.br-pc { display: inline; }
.br-sp { display: none; }
@media (max-width: 768px) {
  .br-pc { display: none; }
  .br-sp { display: inline; }
}

/* ===== PC/スマホで表示する文字を出し分けるユーティリティ ===== */
.pc-only { display: inline; }
.sp-only { display: none; }
@media (max-width: 768px) {
  .pc-only { display: none; }
  .sp-only { display: inline; }
}

/* ===== PC/スマホでブロック要素を出し分けるユーティリティ ===== */
.show-pc { display: block; }
.show-sp { display: none; }
@media (max-width: 768px) {
  .show-pc { display: none; }
  .show-sp { display: block; }
}

/* ===== 中盤CTA等の電話ボタン：PCでは無反応テキスト・スマホではボタン ===== */
@media (min-width: 769px) {
  .btn-tel-pc-text {
    background: transparent !important;
    border: none !important;
    box-shadow: none !important;
    color: var(--primary) !important;
    pointer-events: none !important;
    cursor: default !important;
    padding: 12px 8px !important;
  }
  .btn-tel-pc-text:hover {
    transform: none !important;
    background: transparent !important;
    color: var(--primary) !important;
  }
}

/* ===== 印刷用 ===== */
@media print {
  .site-header, .global-nav, .cta-band, .menu-toggle, .hero { display: none; }
  body { color: #000; background: #fff; }
}

/* ===== SEO対応：<img>タグでの画像配置サポート ===== */
/* 既存のbackground-image方式と併用可能 */
.media-row .media-photo,
.photo-break,
.step-photo,
.gallery-item {
  overflow: hidden;
}
.media-row .media-photo img,
.photo-break img,
.step-photo img,
.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  border-radius: inherit;
}
.gallery-item img {
  cursor: pointer;
  transition: transform 0.3s ease;
}
.gallery-item:hover img {
  transform: scale(1.05);
}

/* ============================================
   ページトップへ戻るボタン（スマホのみ表示）
   ============================================ */
#backToTop {
  display: none; /* PCでは非表示 */
}
@media (max-width: 768px) {
  #backToTop {
    display: block;
    position: fixed;
    right: 14px;
    bottom: 90px; /* フッターCTAと被らない位置 */
    width: 44px;
    height: 44px;
    border-radius: 50%;
    border: none;
    background: var(--primary);
    color: #fff;
    font-size: 20px;
    font-weight: 700;
    line-height: 1;
    padding: 0;
    cursor: pointer;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.25);
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: opacity 0.25s ease, transform 0.25s ease, visibility 0.25s ease, background 0.2s ease;
    z-index: 9999;
    -webkit-tap-highlight-color: transparent;
  }
  #backToTop.is-visible {
    opacity: 0.92;
    visibility: visible;
    transform: translateY(0);
  }
  #backToTop:active {
    background: var(--accent);
    opacity: 1;
  }
}

/* ============================================
   スマホ版・本文サイズ統一（2026-05-22）
   PC版には影響なし。シニアフレンドリー基準で本文を17pxに底上げ。
   Ccardholder.html での実機検証OK → 全ページ適用。
   各ページの inline style に勝つため !important 必須。
   ============================================ */
/* PC・SP共通：本文を17px化（Apple/プレミアム基準・シニアフレンドリー） */
.section p,
.section li,
.section summary,
.section details p,
.info-table th,
.info-table td,
.step-body p {
  font-size: 17px !important;
  line-height: 1.9 !important;
}
/* スマホ専用：h3もコンパクトに、eyebrowは小さく維持 */
@media (max-width: 768px) {
  .section h3, .section .hlv3 {
    font-size: 17px !important;
    line-height: 1.9 !important;
  }
  .section .eyebrow {
    font-size: 13px !important;
    line-height: 1.4 !important;
  }
}

/* ===== モバイル専用 中間CTA（PCでは非表示） ===== */
.cta-mid-mobile { display: none; }
@media (max-width: 768px) {
  .cta-mid-mobile { display: block; }
}

/* ===== スマホ版：フッターCTAボタンを縦並び＆幅統一 =====
   2026-05-24 タカ判断：
   - 横並びだと⬆ボタンと重なる問題を解決
   - 上下ボタンの幅が文言依存でバラバラだったのを統一
   - シニアフレンドリー（大きいボタンで押しやすい） */
@media (max-width: 768px) {
  .footer-cta {
    flex-direction: column;
    align-items: center;
  }
  .footer-cta-btn {
    width: 80%;
    max-width: 360px;
    justify-content: center;
  }
}

/* ===== 小さいスマホ対応：フルードタイポグラフィ（2026-07-07） =====
   414px（iPhone XR）以下では見出し系の文字サイズを画面幅に比例して縮小。
   これにより、XRで調整した折り返し位置がiPhone SE(375px)や
   Galaxy(360px)等の小さい画面でもそのまま再現され、泣き別れを防ぐ。
   415px以上の表示には一切影響しない。 */
@media (max-width: 414px) {
  /* h1と料金ラベルは左右の固定余白分を差し引いた「実際に使える幅」に比例させる
     （calc式：414pxでちょうど従来サイズになるよう調整済み） */
  .hero h1 { font-size: clamp(19px, calc(7.65vw - 3.67px), 28px); }
  .hero .hero-sub { font-size: clamp(11px, 3.38vw, 14px); }
  .section-head h2 { font-size: clamp(17px, 5.8vw, 24px); }
  .section-head .lead { font-size: clamp(12px, 3.62vw, 15px); }
  .cta-band h2 { font-size: clamp(16px, 5.31vw, 22px); }
  .booking-band .section-head h2 { font-size: clamp(15px, 4.59vw, 19px); }
  .price-box .price-label { font-size: clamp(9px, calc(3.89vw - 3.11px), 13px); }
  .price-box .price-value { font-size: clamp(26px, 8.7vw, 36px); }
}

/* ===== タップ領域の拡大（2026-07-12・見た目は変えず押しやすく） =====
   国際基準（44px推奨/24px最低）に合わせ、小さかった操作要素の
   「指が当たる範囲」を広げる。視覚デザインへの影響は最小限。 */
/* EN/JP切替：透明な当たり判定を周囲7pxぶん拡大（30px→44px相当） */
.lang-switch { position: relative; }
.lang-switch::after { content: ""; position: absolute; inset: -7px; border-radius: 999px; }
/* FAQなどのdetails開閉バー：上下に余白を足して44px相当に */
details > summary { padding-block: 6px; }
/* フッターのリンク・電話番号：行内リンクに上下の当たり余白 */
.footer-col a, .footer-tel-link { display: inline-block; padding-block: 6px; margin-block: -4px; }
/* ヒーロー内パンくず：負マージンで見た目を保ちつつ当たり判定を拡大 */
.hero-breadcrumbs a { position: relative; padding: 9px 4px; margin: -9px -4px; }

/* ===== 見出し階層の是正用（2026-07-12） =====
   検索エンジン向けにh4→h3・h3→h2へ格上げしつつ、
   見た目は従来のまま固定するためのクラス */
.hlv4 { font-size: 1em; margin-block: 1.33em; font-weight: bold; }
.hlv3 { font-size: 1.17em; margin-block: 1em; font-weight: bold; }

/* ページ上部のパンくずバーのリンクも押しやすく（見た目は不変） */
nav[aria-label^="パンくず"] a, nav[aria-label*="readcrumb"] a { display: inline-block; padding-block: 8px; margin-block: -6px; }

/* チェックボックス・ラジオボタンを大きく（シニアにも見やすく押しやすく） */
input[type="checkbox"], input[type="radio"] { width: 18px; height: 18px; accent-color: var(--primary); vertical-align: -3px; }

/* ===== アクセシビリティ最終仕上げ（2026-07-12） ===== */
/* キーボード利用者用スキップリンク：Tabキーを押した時だけ現れる */
.skip-link {
  position: absolute; left: -9999px; top: 0; z-index: 999;
  background: var(--primary); color: #fff; font-weight: 700;
  padding: 12px 20px; border-radius: 0 0 10px 0; text-decoration: none;
}
.skip-link:focus { left: 0; }
/* 動きを控えめにする設定のユーザーにはアニメーションを止める */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: 0.01ms !important; animation-duration: 0.01ms !important; }
}

/* ===== 実績バッジ帯（2026-07-16・トップページ） =====
   チラシ由来の確定情報（33年無事故・1130名・1993年創業・優良ガイドダイバー）を
   信頼シグナルとして表示。保証表現は使わず「事実の記録」として書く。 */
.trust-band { background: var(--bg-deep); padding: 34px 20px; }
.trust-inner { max-width: var(--max); margin: 0 auto; display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.trust-item { background: #fff; border-radius: var(--radius); box-shadow: var(--shadow-sm); text-align: center; padding: 20px 12px; }
.trust-num { font-size: clamp(24px, 2.6vw, 32px); font-weight: 800; color: var(--primary); line-height: 1.2; }
.trust-label { font-size: 13px; font-weight: 700; color: var(--text-soft); margin-top: 6px; line-height: 1.6; }
.trust-label span { font-size: 11px; font-weight: 600; display: block; margin-top: 2px; }
@media (max-width: 768px) {
  .trust-inner { grid-template-columns: repeat(2, 1fr); gap: 10px; }
  .trust-band { padding: 22px 14px; }
  .trust-item { padding: 16px 8px; }
}

/* コンパクト版（コースページのヒーロー直下用・1行帯） */
.trust-strip { background: var(--bg-deep); padding: 13px 16px; }
.trust-strip-inner { max-width: var(--max); margin: 0 auto; display: flex; flex-wrap: wrap; justify-content: center; align-items: baseline; gap: 4px 26px; font-size: 13px; font-weight: 700; color: var(--text-soft); line-height: 1.7; }
.trust-strip-inner b { color: var(--primary); font-weight: 800; font-size: 16px; margin-right: 2px; }
@media (max-width: 768px) {
  .trust-strip { padding: 11px 12px; }
  .trust-strip-inner { gap: 2px 18px; font-size: 12px; }
  .trust-strip-inner b { font-size: 15px; }
}
