/* ============================================================
   Hybrid Clinic - メインスタイルシート
   医療クリニック向け モバイルファースト レスポンシブCSS
   ============================================================ */

/* ------------------------------------------------------------
   1. CSS変数（カスタムプロパティ）
   ------------------------------------------------------------ */
:root {
  /* カラーパレット */
  --color-primary: #1E40AF;
  --color-primary-light: #3B82F6;
  --color-primary-lighter: #DBEAFE;
  --color-snow: #F8FAFC;
  --color-white: #FFFFFF;
  --color-gray: #F1F5F9;
  --color-text: #1E293B;
  --color-text-light: #64748B;
  --color-accent: #0EA5E9;
  --color-warm: #F59E0B;
  --color-dark: #0F172A;

  /* フォント */
  --font-ja: "Noto Sans JP", "Hiragino Sans", "Hiragino Kaku Gothic ProN", "Meiryo", sans-serif;
  --font-en: "Inter", sans-serif;

  /* サイズ */
  --header-height: 72px;
  --container-max: 1200px;
  --radius: 12px;
  --radius-sm: 8px;
  --radius-lg: 16px;

  /* シャドウ */
  --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.06);
  --shadow-md: 0 4px 12px rgba(0, 0, 0, 0.08);
  --shadow-lg: 0 8px 24px rgba(0, 0, 0, 0.12);
  --shadow-xl: 0 12px 40px rgba(0, 0, 0, 0.16);

  /* トランジション */
  --transition: 0.3s ease;
}

/* ------------------------------------------------------------
   2. リセット・ベーススタイル
   ------------------------------------------------------------ */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  font-size: 16px;
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font-ja);
  font-size: 1rem;
  line-height: 1.8;
  color: var(--color-text);
  background-color: var(--color-white);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

/* 英字フォント適用 */
h1, h2, h3, h4, h5, h6 {
  font-feature-settings: "palt";
}

.font-en {
  font-family: var(--font-en);
}

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

a {
  color: var(--color-primary-light);
  text-decoration: none;
  transition: color var(--transition);
}

a:hover {
  color: var(--color-primary);
}

ul, ol {
  list-style: none;
}

button {
  cursor: pointer;
  border: none;
  background: none;
  font-family: inherit;
  font-size: inherit;
}

table {
  border-collapse: collapse;
  width: 100%;
}

/* ------------------------------------------------------------
   3. レイアウトコンポーネント
   ------------------------------------------------------------ */
.container {
  width: 100%;
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 20px;
}

.section {
  padding: 40px 0;
}

.section--snow {
  background-color: var(--color-snow);
}

.section--gray {
  background-color: var(--color-gray);
}

.section--blue {
  background-color: var(--color-primary-lighter);
}

/* セクション見出し */
.section-title {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--color-text);
  text-align: center;
  margin-bottom: 12px;
  position: relative;
  padding-bottom: 16px;
}

.section-title::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 48px;
  height: 3px;
  background: linear-gradient(90deg, var(--color-primary), var(--color-accent));
  border-radius: 2px;
}

.section-subtitle {
  font-size: 0.938rem;
  color: var(--color-text-light);
  text-align: center;
  margin-bottom: 32px;
  line-height: 1.7;
}

/* ------------------------------------------------------------
   4. ナビゲーション・ヘッダー
   ------------------------------------------------------------ */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background-color: var(--color-white);
  height: var(--header-height);
  display: flex;
  align-items: center;
  transition: box-shadow var(--transition);
}

/* スクロール時のシャドウ */
.header--scrolled {
  box-shadow: var(--shadow-md);
}

.header .container {
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}

.header .hamburger {
  position: absolute;
  right: 16px;
  top: 50%;
  transform: translateY(-50%);
}

/* ロゴ */
.header-logo {
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 700;
  font-size: 1.125rem;
  color: var(--color-primary);
  text-decoration: none;
  flex-shrink: 1;
  min-width: 0;
  overflow: hidden;
}

.header-logo img {
  height: 52px;
  width: auto;
  max-width: 260px;
}

@media (min-width: 768px) {
  .header-logo img {
    height: 60px;
    max-width: 320px;
  }
}

.header-logo:hover {
  color: var(--color-primary);
}

/* ハンバーガーメニュー（モバイル） */
.hamburger {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  width: 48px;
  height: 48px;
  gap: 6px;
  z-index: 1001;
}

.hamburger-line {
  display: block;
  width: 24px;
  height: 2px;
  background-color: var(--color-text);
  border-radius: 1px;
  transition: transform var(--transition), opacity var(--transition);
}

/* ハンバーガー開閉アニメーション */
.hamburger.is-active .hamburger-line:nth-child(1) {
  transform: translateY(8px) rotate(45deg);
}

.hamburger.is-active .hamburger-line:nth-child(2) {
  opacity: 0;
}

.hamburger.is-active .hamburger-line:nth-child(3) {
  transform: translateY(-8px) rotate(-45deg);
}

/* ナビゲーションメニュー（モバイル: フルスクリーンオーバーレイ） */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: var(--color-white);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  transform: translateX(100%);
  transition: transform var(--transition);
  z-index: 999;
}

.nav.is-active {
  transform: translateX(0);
}

.nav-link {
  display: block;
  padding: 16px 32px;
  font-size: 1.125rem;
  font-weight: 500;
  color: var(--color-text);
  text-decoration: none;
  text-align: center;
  min-height: 48px;
  transition: color var(--transition);
}

.nav-link:hover,
.nav-link.is-active {
  color: var(--color-primary-light);
}

/* ヘッダー予約ボタン */
.header-cta {
  display: none;
}

/* ヘッダー分の余白 */
.main {
  padding-top: var(--header-height);
}

/* ------------------------------------------------------------
   5. ヒーローセクション
   ------------------------------------------------------------ */
.hero {
  position: relative;
  min-height: auto;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(
    135deg,
    rgba(30, 64, 175, 0.85) 0%,
    rgba(14, 165, 233, 0.75) 50%,
    rgba(59, 130, 246, 0.8) 100%
  );
  background-size: cover;
  background-position: center;
  overflow: hidden;
  padding: 56px 20px 16px;
}

/* 背景画像がある場合の設定 */
.hero--with-bg {
  background-blend-mode: overlay;
}

/* 雪の結晶パターン装飾（疑似要素） */
.hero::before {
  content: "";
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background-image:
    radial-gradient(circle at 20% 30%, rgba(255, 255, 255, 0.08) 1px, transparent 1px),
    radial-gradient(circle at 60% 10%, rgba(255, 255, 255, 0.06) 2px, transparent 2px),
    radial-gradient(circle at 80% 50%, rgba(255, 255, 255, 0.05) 1.5px, transparent 1.5px),
    radial-gradient(circle at 40% 70%, rgba(255, 255, 255, 0.07) 1px, transparent 1px),
    radial-gradient(circle at 10% 80%, rgba(255, 255, 255, 0.04) 2px, transparent 2px);
  background-size: 120px 120px, 180px 180px, 150px 150px, 200px 200px, 160px 160px;
  animation: snowfall 30s linear infinite;
  pointer-events: none;
}

.hero::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 60px;
  background: linear-gradient(to top, rgba(255,255,255,0.3), transparent);
  pointer-events: none;
}

.hero-content {
  position: relative;
  z-index: 1;
  text-align: center;
  max-width: 720px;
}

.hero-catch {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--color-white);
  line-height: 1.4;
  margin-bottom: 10px;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
}

.hero-sub {
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: 16px;
  line-height: 1.7;
}

.hero-buttons {
  display: flex;
  flex-direction: column;
  gap: 8px;
  align-items: center;
}

.hero-buttons .btn-lg {
  font-size: 1rem;
  min-height: 44px;
  padding: 10px 28px;
}

/* ------------------------------------------------------------
   6. ボタン
   ------------------------------------------------------------ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-family: var(--font-ja);
  font-weight: 600;
  font-size: 1rem;
  text-decoration: none;
  border-radius: var(--radius);
  transition: all var(--transition);
  cursor: pointer;
  /* 高齢者向け：十分なタップターゲット */
  min-height: 52px;
  padding: 14px 32px;
  line-height: 1.4;
}

.btn-primary {
  background: linear-gradient(135deg, var(--color-primary), var(--color-primary-light));
  color: var(--color-white);
  border: none;
  box-shadow: 0 4px 12px rgba(30, 64, 175, 0.3);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(30, 64, 175, 0.4);
  color: var(--color-white);
}

.btn-secondary {
  background: transparent;
  color: var(--color-primary);
  border: 2px solid var(--color-primary);
}

.btn-secondary:hover {
  background: var(--color-primary);
  color: var(--color-white);
  transform: translateY(-2px);
}

/* ヒーロー用白枠ボタン */
.btn-outline-white {
  background: transparent;
  color: var(--color-white);
  border: 2px solid rgba(255, 255, 255, 0.8);
}

.btn-outline-white:hover {
  background: var(--color-white);
  color: var(--color-primary);
  transform: translateY(-2px);
}

.btn-lg {
  font-size: 1.125rem;
  min-height: 56px;
  padding: 16px 40px;
}

.btn-sm {
  font-size: 0.875rem;
  min-height: 40px;
  padding: 8px 20px;
}

.btn-block {
  width: 100%;
}

/* ------------------------------------------------------------
   7. カードコンポーネント
   ------------------------------------------------------------ */
.card {
  background: var(--color-white);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  border: 1px solid #E2E8F0;
  padding: 28px 24px;
  text-align: center;
  transition: transform var(--transition), box-shadow var(--transition);
}

.card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

.card-icon {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--color-primary-lighter);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 16px;
  color: var(--color-primary);
  font-size: 1.5rem;
  flex-shrink: 0;
}

.card-title {
  font-size: 1.125rem;
  font-weight: 700;
  color: var(--color-text);
  margin-bottom: 8px;
}

.card-text {
  font-size: 0.938rem;
  color: var(--color-text-light);
  line-height: 1.7;
  text-align: left;
}

/* カードグリッド */
.card-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
}

/* ------------------------------------------------------------
   8. ハイブリッド診療図解セクション
   ------------------------------------------------------------ */
.hybrid-diagram {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
}

.hybrid-box {
  border-radius: var(--radius-lg);
  padding: 28px 24px;
  text-align: center;
  width: 100%;
  position: relative;
}

.hybrid-box--onsite {
  background: linear-gradient(135deg, var(--color-primary-lighter), #EFF6FF);
  border: 2px solid var(--color-primary-light);
}

.hybrid-box--online {
  background: linear-gradient(135deg, #E0F2FE, #F0F9FF);
  border: 2px solid var(--color-accent);
}

.hybrid-box-title {
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 8px;
}

.hybrid-box--onsite .hybrid-box-title {
  color: var(--color-primary);
}

.hybrid-box--online .hybrid-box-title {
  color: var(--color-accent);
}

.hybrid-box-text {
  font-size: 0.938rem;
  color: var(--color-text-light);
  line-height: 1.7;
}

.hybrid-box-icon {
  font-size: 2.5rem;
  margin-bottom: 12px;
}

/* 中央接続アイコン */
.hybrid-connector {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--color-primary), var(--color-accent));
  color: var(--color-white);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  font-weight: 700;
  flex-shrink: 0;
  box-shadow: var(--shadow-md);
}

/* ステップフロー */
.hybrid-flow {
  display: flex;
  flex-direction: column;
  gap: 0;
  margin-top: 32px;
}

.hybrid-step {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  padding: 20px 0;
  position: relative;
}

.hybrid-step-number {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--color-primary);
  color: var(--color-white);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 0.875rem;
  flex-shrink: 0;
}

/* ステップ間の縦線 */
.hybrid-step:not(:last-child)::after {
  content: "";
  position: absolute;
  left: 17px;
  top: 56px;
  bottom: -20px;
  width: 2px;
  background: var(--color-primary-lighter);
}

.hybrid-step-content {
  flex: 1;
}

.hybrid-step-title {
  font-weight: 700;
  font-size: 1rem;
  color: var(--color-text);
  margin-bottom: 4px;
}

.hybrid-step-text {
  font-size: 0.875rem;
  color: var(--color-text-light);
  line-height: 1.7;
}

/* ------------------------------------------------------------
   9. 診療スケジュールテーブル
   ------------------------------------------------------------ */
.schedule-wrapper {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

/* テーブル表示（全デバイス共通） */
.schedule-table {
  width: 100%;
  border-radius: var(--radius);
  overflow: hidden;
  border-collapse: collapse;
}

.schedule-table thead th {
  background: var(--color-primary);
  color: var(--color-white);
  padding: 8px 4px;
  font-size: 0.75rem;
  font-weight: 600;
  text-align: center;
  white-space: nowrap;
}

.schedule-table thead th:first-child {
  border-radius: var(--radius-sm) 0 0 0;
}

.schedule-table thead th:last-child {
  border-radius: 0 var(--radius-sm) 0 0;
}

.schedule-table tbody tr:nth-child(even) {
  background: var(--color-snow);
}

.schedule-table tbody th[scope="row"] {
  padding: 10px 6px;
  font-size: 0.75rem;
  font-weight: 600;
  text-align: center;
  white-space: nowrap;
  color: var(--color-primary);
  border-bottom: 1px solid var(--color-gray);
}

.schedule-table tbody td {
  padding: 10px 4px;
  text-align: center;
  border-bottom: 1px solid var(--color-gray);
  font-size: 0.8rem;
}

/* data-label不要（テーブル表示のため） */
.schedule-table tbody td::before {
  content: none;
}

/* 対面/オンライン色分け */
.schedule-onsite {
  background: var(--color-primary-lighter);
  color: var(--color-primary);
  font-weight: 600;
}

.schedule-online {
  background: #E0F2FE;
  color: var(--color-accent);
}

.schedule-closed {
  color: var(--color-text-light);
}

/* ------------------------------------------------------------
   10. 設備紹介
   ------------------------------------------------------------ */
.equipment-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
}

.equipment-card {
  background: var(--color-white);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: transform var(--transition), box-shadow var(--transition);
}

.equipment-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

.equipment-card-img {
  width: 100%;
  height: 200px;
  object-fit: cover;
}

.equipment-card-body {
  padding: 20px;
}

.equipment-card-title {
  font-size: 1rem;
  font-weight: 700;
  color: var(--color-text);
  margin-bottom: 8px;
}

.equipment-card-text {
  font-size: 0.875rem;
  color: var(--color-text-light);
  line-height: 1.7;
}

/* ------------------------------------------------------------
   11. アクセスセクション
   ------------------------------------------------------------ */
.access-layout {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.access-map {
  width: 100%;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  aspect-ratio: 4 / 3;
}

.access-map iframe {
  width: 100%;
  height: 100%;
  border: none;
}

.access-info {
  background: var(--color-white);
  border-radius: var(--radius);
  padding: 24px;
  box-shadow: var(--shadow-sm);
}

.access-info-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 12px 0;
  border-bottom: 1px solid var(--color-gray);
  font-size: 0.938rem;
}

.access-info-item:last-child {
  border-bottom: none;
}

.access-info-label {
  font-weight: 600;
  color: var(--color-text);
  min-width: 80px;
  flex-shrink: 0;
}

.access-info-value {
  color: var(--color-text-light);
  line-height: 1.7;
}

/* ------------------------------------------------------------
   12. CTAセクション
   ------------------------------------------------------------ */
.cta-section {
  background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-accent) 100%);
  padding: 48px 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}

/* 装飾パターン */
.cta-section::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background:
    radial-gradient(circle at 10% 20%, rgba(255, 255, 255, 0.05) 0%, transparent 50%),
    radial-gradient(circle at 90% 80%, rgba(255, 255, 255, 0.05) 0%, transparent 50%);
  pointer-events: none;
}

.cta-section .container {
  position: relative;
  z-index: 1;
}

.cta-title {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--color-white);
  margin-bottom: 12px;
}

.cta-text {
  font-size: 1rem;
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: 28px;
  line-height: 1.8;
}

.cta-buttons {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
}

/* CTA内ボタン（白背景） */
.btn-cta {
  background: var(--color-white);
  color: var(--color-primary);
  font-weight: 700;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.btn-cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.2);
  color: var(--color-primary);
}

/* ------------------------------------------------------------
   13. フッター
   ------------------------------------------------------------ */
.footer {
  background-color: var(--color-dark);
  color: rgba(255, 255, 255, 0.7);
  padding: 48px 0 24px;
}

.footer-inner {
  display: flex;
  flex-direction: column;
  gap: 32px;
}

.footer-logo {
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 700;
  font-size: 1.125rem;
  color: var(--color-white);
  text-decoration: none;
  margin-bottom: 12px;
}

.footer-logo:hover {
  color: var(--color-white);
}

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

.footer-desc {
  font-size: 0.875rem;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.6);
}

.footer-nav-title {
  font-size: 0.875rem;
  font-weight: 700;
  color: var(--color-white);
  margin-bottom: 12px;
}

.footer-nav-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.footer-nav-link {
  font-size: 0.875rem;
  color: rgba(255, 255, 255, 0.6);
  text-decoration: none;
  transition: color var(--transition);
  min-height: 44px;
  display: flex;
  align-items: center;
}

.footer-nav-link:hover {
  color: var(--color-white);
}

.footer-contact {
  font-size: 0.875rem;
  line-height: 1.8;
}

.footer-contact a {
  color: rgba(255, 255, 255, 0.8);
  text-decoration: none;
}

.footer-contact a:hover {
  color: var(--color-white);
}

.footer-tel {
  font-family: var(--font-en);
  font-size: 1.375rem;
  font-weight: 700;
  color: var(--color-white);
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  margin-top: 32px;
  padding-top: 20px;
  text-align: center;
}

.footer-copyright {
  font-size: 0.75rem;
  color: rgba(255, 255, 255, 0.4);
}

/* ------------------------------------------------------------
   14. ユーティリティクラス
   ------------------------------------------------------------ */

/* レスポンシブ表示切替 */
.show-mobile { display: flex; }
.show-desktop { display: none !important; }

@media (min-width: 1024px) {
  .show-mobile { display: none !important; }
  .show-desktop { display: flex !important; }
}

/* テキスト配置 */
.text-center { text-align: center; }
.text-left   { text-align: left; }
.text-right  { text-align: right; }

/* マージン */
.mb-1 { margin-bottom: 8px; }
.mb-2 { margin-bottom: 16px; }
.mb-3 { margin-bottom: 24px; }
.mb-4 { margin-bottom: 32px; }
.mb-5 { margin-bottom: 48px; }

.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; }

/* バッジ */
.badge {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 4px 12px;
  border-radius: 100px;
  font-size: 0.75rem;
  font-weight: 600;
  line-height: 1.4;
}

.badge-primary {
  background: var(--color-primary-lighter);
  color: var(--color-primary);
}

.badge-accent {
  background: #E0F2FE;
  color: var(--color-accent);
}

.badge-warm {
  background: #FEF3C7;
  color: #92400E;
}

.badge-gray {
  background: var(--color-gray);
  color: var(--color-text-light);
}

/* お知らせボックス */
.notice {
  background: #FFFBEB;
  border-left: 4px solid var(--color-warm);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  padding: 16px 20px;
  font-size: 0.938rem;
  color: #92400E;
  line-height: 1.7;
}

.notice-title {
  font-weight: 700;
  margin-bottom: 4px;
  display: flex;
  align-items: center;
  gap: 6px;
}

.notice--info {
  background: #EFF6FF;
  border-left-color: var(--color-primary-light);
  color: var(--color-primary);
}

/* フェードインアニメーション用 */
.fade-in {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-in.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* スクリーンリーダー専用テキスト */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border-width: 0;
}

/* ------------------------------------------------------------
   15. アニメーション（キーフレーム）
   ------------------------------------------------------------ */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(24px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

/* 雪が降るアニメーション（ヒーロー装飾用、控えめ） */
@keyframes snowfall {
  0% {
    transform: translate(0, 0);
  }
  100% {
    transform: translate(-60px, 60px);
  }
}

/* ヒーローコンテンツのエントリーアニメーション */
.hero-content {
  animation: fadeInUp 0.8s ease 0.2s both;
}

/* ------------------------------------------------------------
   16. アクセシビリティ
   ------------------------------------------------------------ */

/* フォーカス表示（キーボードナビゲーション用） */
:focus-visible {
  outline: 3px solid var(--color-primary-light);
  outline-offset: 2px;
  border-radius: 4px;
}

/* モーション軽減設定対応 */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }

  .hero::before {
    animation: none;
  }

  .fade-in {
    opacity: 1;
    transform: none;
  }
}

/* ハイコントラストモード対応 */
@media (forced-colors: active) {
  .btn-primary,
  .btn-secondary {
    border: 2px solid ButtonText;
  }

  .badge {
    border: 1px solid ButtonText;
  }
}

/* ------------------------------------------------------------
   17. レスポンシブ：タブレット（768px〜）
   ------------------------------------------------------------ */
@media (min-width: 768px) {
  :root {
    --header-height: 72px;
  }

  .container {
    padding: 0 32px;
  }

  /* セクション */
  .section {
    padding: 64px 0;
  }

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

  /* ヒーロー */
  .hero {
    padding: 100px 32px 60px;
  }

  .hero-catch {
    font-size: 2.25rem;
    line-height: 1.5;
    margin-bottom: 16px;
  }

  .hero-sub {
    font-size: 1.125rem;
    margin-bottom: 32px;
  }

  .hero-buttons {
    flex-direction: row;
    justify-content: center;
    gap: 12px;
  }

  .hero-buttons .btn-lg {
    font-size: 1.125rem;
    min-height: 56px;
    padding: 16px 40px;
  }

  /* カードグリッド：2列 */
  .card-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
  }

  /* ハイブリッド図解：横並び */
  .hybrid-diagram {
    flex-direction: row;
    align-items: stretch;
  }

  .hybrid-box {
    flex: 1;
  }

  /* スケジュールテーブル：タブレット以上でサイズ拡大 */
  .schedule-table thead th {
    padding: 12px 16px;
    font-size: 0.875rem;
  }

  .schedule-table tbody th[scope="row"] {
    padding: 12px 16px;
    font-size: 0.875rem;
  }

  .schedule-table tbody td {
    padding: 12px 16px;
    font-size: 0.875rem;
  }

  /* 設備グリッド：2列 */
  .equipment-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
  }

  /* アクセスレイアウト */
  .access-layout {
    flex-direction: row;
    gap: 32px;
  }

  .access-map {
    flex: 1;
    aspect-ratio: auto;
    min-height: 300px;
  }

  .access-info {
    flex: 1;
  }

  /* CTA */
  .cta-section {
    padding: 64px 0;
  }

  .cta-title {
    font-size: 1.75rem;
  }

  .cta-buttons {
    flex-direction: row;
    justify-content: center;
  }

  /* フッター */
  .footer-inner {
    flex-direction: row;
    flex-wrap: wrap;
    gap: 40px;
  }

  .footer-inner > * {
    flex: 1;
    min-width: 200px;
  }
}

/* ------------------------------------------------------------
   18. レスポンシブ：デスクトップ（1024px〜）
   ------------------------------------------------------------ */
@media (min-width: 1024px) {
  :root {
    --header-height: 80px;
  }

  .container {
    padding: 0 40px;
  }

  /* セクション */
  .section {
    padding: 80px 0;
  }

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

  .section-subtitle {
    font-size: 1rem;
  }

  /* ヘッダー：デスクトップナビ */
  .header .container {
    justify-content: space-between;
    position: static;
  }

  .hamburger {
    display: none;
  }

  .nav {
    position: static;
    transform: none;
    flex-direction: row;
    background: transparent;
    gap: 0;
  }

  .nav-link {
    font-size: 0.938rem;
    padding: 8px 16px;
    position: relative;
  }

  .nav-link::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 16px;
    right: 16px;
    height: 2px;
    background: var(--color-primary-light);
    transform: scaleX(0);
    transition: transform var(--transition);
  }

  .nav-link:hover::after,
  .nav-link.is-active::after {
    transform: scaleX(1);
  }

  /* ヘッダー予約ボタン表示 */
  .header-cta {
    display: inline-flex;
  }

  /* ヒーロー */
  .hero-catch {
    font-size: 2.75rem;
  }

  .hero-sub {
    font-size: 1.25rem;
  }

  /* カードグリッド：3列 */
  .card-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
  }

  .card {
    padding: 32px 28px;
  }

  /* 設備グリッド：3列 */
  .equipment-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
  }

  /* CTA */
  .cta-section {
    padding: 80px 0;
  }

  .cta-title {
    font-size: 2rem;
  }

  /* フッター */
  .footer {
    padding: 64px 0 28px;
  }

  .footer-inner {
    flex-wrap: nowrap;
  }
}

/* ------------------------------------------------------------
   19. 印刷用スタイル
   ------------------------------------------------------------ */
@media print {
  .header,
  .hamburger,
  .cta-section,
  .hero::before {
    display: none;
  }

  .main {
    padding-top: 0;
  }

  body {
    color: #000;
    background: #fff;
  }

  .section {
    padding: 20px 0;
  }

  a {
    color: #000;
    text-decoration: underline;
  }

  .card,
  .equipment-card {
    box-shadow: none;
    border: 1px solid #ddd;
    break-inside: avoid;
  }
}
