/* web/public/style.css */

:root {
  --primary: #0284c7;             /* スカイブルー */
  --primary-hover: #0369a1;
  --primary-light: #f0f9ff;
  --primary-border: #bae6fd;
  --accent: #059669;              /* エメラルド */
  --accent-light: #ecfdf5;
  --bg-main: #f8fafc;             /* 清潔な明るい背景 */
  --bg-white: #ffffff;
  --text-dark: #0f172a;           /* 読みやすい高コントラスト */
  --text-body: #334155;
  --text-muted: #64748b;
  --border-light: #e2e8f0;
  --shadow-subtle: 0 4px 6px -1px rgba(0, 0, 0, 0.05), 0 2px 4px -2px rgba(0, 0, 0, 0.03);
  --shadow-float: 0 20px 25px -5px rgba(0, 0, 0, 0.07), 0 8px 10px -6px rgba(0, 0, 0, 0.04);
  --radius-md: 12px;
  --radius-lg: 20px;
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Plus Jakarta Sans', 'Noto Sans JP', -apple-system, BlinkMacSystemFont, sans-serif;
  background-color: var(--bg-main);
  color: var(--text-body);
  font-size: 15px; /* 本文14px以上を遵守 */
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

/* ナビゲーションバー (ヘッダー被り防止対策) */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border-light);
  height: 70px;
  display: flex;
  align-items: center;
}

.nav-container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.nav-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
}

.brand-logo {
  font-size: 24px;
}

.brand-name {
  font-size: 20px;
  font-weight: 800;
  color: var(--text-dark);
  letter-spacing: -0.02em;
}

.brand-name span {
  color: var(--primary);
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 24px;
}

.nav-link {
  text-decoration: none;
  color: var(--text-body);
  font-weight: 600;
  font-size: 14px;
  transition: color 0.2s;
}

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

.nav-cta-btn {
  background: var(--primary);
  color: #ffffff;
  padding: 8px 18px;
  border-radius: 9999px;
  font-size: 14px;
  font-weight: 700;
  text-decoration: none;
  transition: all 0.2s;
}

.nav-cta-btn:hover {
  background: var(--primary-hover);
  transform: translateY(-1px);
}

/* Hero セクション (ヘッダーの高さ70px + 余白を確保) */
.hero-section {
  padding-top: 120px;
  padding-bottom: 80px;
  background: linear-gradient(180deg, #f0f9ff 0%, #ffffff 100%);
  overflow: hidden;
}

.hero-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  align-items: center;
  gap: 48px;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #ecfdf5;
  border: 1px solid #a7f3d0;
  color: #065f46;
  font-size: 13px;
  font-weight: 700;
  padding: 6px 14px;
  border-radius: 9999px;
  margin-bottom: 20px;
}

.hero-title {
  font-size: 42px;
  font-weight: 900;
  color: var(--text-dark);
  line-height: 1.25;
  letter-spacing: -0.03em;
  margin-bottom: 20px;
}

.highlight-text {
  color: var(--primary);
}

.hero-description {
  font-size: 16px;
  color: var(--text-muted);
  line-height: 1.7;
  margin-bottom: 32px;
  max-width: 580px;
}

.hero-actions {
  display: flex;
  gap: 16px;
  margin-bottom: 28px;
  flex-wrap: wrap;
}

/* ボタン (ユーザー動線として大きく目立たせる) */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  font-weight: 700;
  border-radius: var(--radius-md);
  cursor: pointer;
  transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  border: none;
}

.btn-hero {
  padding: 16px 28px;
  font-size: 16px; /* 期待する動線は大きめ */
}

.btn-primary {
  background: var(--primary);
  color: #ffffff;
  box-shadow: 0 10px 15px -3px rgba(2, 132, 199, 0.3);
}

.btn-primary:hover {
  background: var(--primary-hover);
  transform: translateY(-2px);
  box-shadow: 0 14px 20px -3px rgba(2, 132, 199, 0.4);
}

.btn-secondary {
  background: #ffffff;
  color: var(--text-dark);
  border: 1px solid var(--border-light);
  box-shadow: var(--shadow-subtle);
}

.btn-secondary:hover {
  background: #f1f5f9;
  border-color: #cbd5e1;
}

.btn-sm {
  padding: 8px 14px;
  font-size: 13px;
  border-radius: 8px;
}

.hero-trust {
  display: flex;
  gap: 20px;
  font-size: 13px;
  color: var(--text-muted);
  font-weight: 500;
}

/* Hero ビジュアルカード */
.hero-visual {
  position: relative;
}

.visual-card {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-float);
  border: 4px solid #ffffff;
}

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

.floating-badge {
  position: absolute;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(8px);
  padding: 10px 16px;
  border-radius: 9999px;
  font-size: 13px;
  font-weight: 700;
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--text-dark);
}

.badge-top {
  top: 24px;
  left: -16px;
}

.badge-bottom {
  bottom: 24px;
  right: -16px;
}

.check-icon {
  background: #10b981;
  color: #fff;
  border-radius: 50%;
  width: 20px;
  height: 20px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
}

/* 共通セクションスタイル */
.section-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 80px 24px;
}

.section-header {
  text-align: center;
  max-width: 700px;
  margin: 0 auto 56px auto;
}

.section-title {
  font-size: 32px;
  font-weight: 800;
  color: var(--text-dark);
  letter-spacing: -0.02em;
  margin-bottom: 12px;
}

.section-subtitle {
  font-size: 16px;
  color: var(--text-muted);
}

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

/* 課題セクション */
.problem-card {
  background: var(--bg-white);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  padding: 32px 24px;
  box-shadow: var(--shadow-subtle);
  transition: transform 0.2s;
}

.problem-card:hover {
  transform: translateY(-4px);
}

.problem-icon {
  font-size: 32px;
  margin-bottom: 16px;
}

.problem-card h3 {
  font-size: 18px;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 12px;
}

.problem-card p {
  font-size: 14px;
  color: var(--text-body);
  line-height: 1.6;
}

/* 機能詳細セクション */
.feature-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 60px;
  margin-bottom: 72px;
}

.feature-row.reverse {
  direction: rtl;
}

.feature-row.reverse .feature-text {
  direction: ltr;
}

.feature-text {
  display: flex;
  flex-direction: column;
}

.feature-tag {
  color: var(--primary);
  font-size: 13px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 10px;
}

.feature-text h3 {
  font-size: 26px;
  font-weight: 800;
  color: var(--text-dark);
  margin-bottom: 16px;
}

.feature-text p {
  font-size: 15px;
  color: var(--text-body);
  line-height: 1.7;
  margin-bottom: 20px;
}

.feature-checklist {
  list-style: none;
}

.feature-checklist li {
  position: relative;
  padding-left: 28px;
  margin-bottom: 10px;
  font-weight: 600;
  font-size: 14px;
}

.feature-checklist li::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: 0;
  color: var(--accent);
  font-weight: 900;
}

.feature-image-box {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-float);
  border: 1px solid var(--border-light);
}

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

/* 空港コード逆引きツール */
.airport-lookup-section {
  background: #f0f9ff;
  border-top: 1px solid #e0f2fe;
  border-bottom: 1px solid #e0f2fe;
}

.lookup-card {
  background: #ffffff;
  border-radius: var(--radius-lg);
  padding: 32px;
  box-shadow: var(--shadow-subtle);
  border: 1px solid var(--border-light);
}

.search-input-wrapper {
  position: relative;
  margin-bottom: 16px;
}

.search-input-wrapper input {
  width: 100%;
  font-size: 16px; /* 16px以上 */
  padding: 16px 20px;
  border: 2px solid var(--primary-border);
  border-radius: var(--radius-md);
  outline: none;
  transition: border-color 0.2s;
  background: #ffffff;
  color: var(--text-dark);
}

.search-input-wrapper input:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 4px rgba(2, 132, 199, 0.15);
}

.search-clear-btn {
  position: absolute;
  right: 16px;
  top: 50%;
  transform: translateY(-50%);
  cursor: pointer;
  color: var(--text-muted);
  font-size: 18px;
  padding: 6px;
}

.quick-tags {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 24px;
}

.tag-label {
  font-size: 13px;
  font-weight: 700;
  color: var(--text-muted);
}

.tag-btn {
  background: #f1f5f9;
  border: 1px solid var(--border-light);
  border-radius: 9999px;
  padding: 6px 14px;
  font-size: 13px;
  font-weight: 600;
  color: var(--text-body);
  cursor: pointer;
  transition: all 0.2s;
}

.tag-btn:hover {
  background: var(--primary-light);
  border-color: var(--primary);
  color: var(--primary);
}

.airport-results-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 16px;
  max-height: 400px;
  overflow-y: auto;
  padding-right: 6px;
}

.airport-card {
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  padding: 16px;
  background: #ffffff;
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: all 0.2s;
}

.airport-card:hover {
  border-color: var(--primary);
  box-shadow: var(--shadow-subtle);
  transform: translateY(-2px);
}

.airport-code-badge {
  font-size: 20px;
  font-weight: 900;
  color: var(--primary);
  background: var(--primary-light);
  padding: 6px 12px;
  border-radius: 8px;
  letter-spacing: 0.05em;
}

.airport-info h4 {
  font-size: 15px;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 2px;
}

.airport-info p {
  font-size: 13px;
  color: var(--text-muted);
}

/* データビューアセクション */
.viewer-card {
  background: #ffffff;
  border-radius: var(--radius-lg);
  padding: 32px;
  box-shadow: var(--shadow-subtle);
  border: 1px solid var(--border-light);
}

.drop-zone {
  border: 2px dashed #93c5fd;
  border-radius: var(--radius-md);
  padding: 48px 24px;
  text-align: center;
  background: #f8fafc;
  cursor: pointer;
  transition: all 0.2s;
}

.drop-zone:hover,
.drop-zone.dragover {
  border-color: var(--primary);
  background: #eff6ff;
}

.drop-icon {
  font-size: 48px;
  margin-bottom: 12px;
}

.drop-title {
  font-size: 18px;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 6px;
}

.drop-desc {
  font-size: 14px;
  color: var(--text-muted);
}

.viewer-summary-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 16px;
  background: #f0fdf4;
  border: 1px solid #bbf7d0;
  border-radius: var(--radius-md);
  margin-bottom: 20px;
}

.summary-label {
  font-size: 13px;
  color: var(--text-muted);
  margin-right: 6px;
}

.best-price-text {
  font-size: 20px;
  font-weight: 900;
  color: var(--accent);
}

.viewer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 14px;
}

.flight-cell {
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  padding: 16px;
  background: #ffffff;
  transition: all 0.2s;
}

.flight-cell.is-best {
  border: 2px solid var(--accent);
  background: #ecfdf5;
}

.flight-date {
  font-size: 14px;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 4px;
}

.flight-price {
  font-size: 22px;
  font-weight: 800;
  color: var(--primary);
  margin-bottom: 8px;
}

.flight-cell.is-best .flight-price {
  color: var(--accent);
}

.flight-airline {
  font-size: 13px;
  color: var(--text-muted);
}

/* インストール手順 */
.steps-grid {
  margin-bottom: 48px;
}

.step-card {
  background: #ffffff;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  padding: 32px 24px;
  text-align: center;
  box-shadow: var(--shadow-subtle);
  position: relative;
}

.step-num {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--primary);
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  font-weight: 800;
  margin: 0 auto 20px auto;
}

.step-card h3 {
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 10px;
  color: var(--text-dark);
}

.step-card p {
  font-size: 14px;
  color: var(--text-body);
}

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

/* フッター */
.app-footer {
  background: #ffffff;
  border-top: 1px solid var(--border-light);
  padding: 60px 24px 30px 24px;
}

.footer-container {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 40px;
  flex-wrap: wrap;
  gap: 32px;
}

.footer-brand {
  max-width: 380px;
}

.footer-logo {
  font-size: 20px;
  font-weight: 800;
  color: var(--text-dark);
  margin-bottom: 10px;
}

.footer-logo span {
  color: var(--primary);
}

.footer-desc {
  font-size: 13px;
  color: var(--text-muted);
  line-height: 1.6;
}

.footer-links {
  display: flex;
  gap: 24px;
  flex-wrap: wrap;
}

.footer-links a {
  text-decoration: none;
  font-size: 14px;
  color: var(--text-body);
  font-weight: 600;
}

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

.footer-bottom {
  max-width: 1200px;
  margin: 0 auto;
  padding-top: 24px;
  border-top: 1px solid var(--border-light);
  text-align: center;
  font-size: 12px;
  color: var(--text-muted);
}

/* レスポンシブ対応 (スマホ最適化) */
@media (max-width: 768px) {
  .navbar {
    height: 60px;
  }

  .nav-menu {
    gap: 12px;
  }

  /* スマホでは不要な長いリンクを隠し、CTAのみ表示してごちゃつき防止 */
  .nav-link {
    display: none;
  }

  .hero-section {
    padding-top: 90px;
    padding-bottom: 50px;
  }

  .hero-container {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .hero-title {
    font-size: 28px;
    line-height: 1.3;
  }

  .mobile-only {
    display: inline;
  }

  .grid-3 {
    grid-template-columns: 1fr;
  }

  .feature-row,
  .feature-row.reverse {
    grid-template-columns: 1fr;
    direction: ltr;
    gap: 24px;
    margin-bottom: 48px;
  }

  .feature-img {
    height: 220px;
  }

  .floating-badge {
    position: static;
    margin-top: 10px;
  }

  .hero-actions {
    flex-direction: column;
  }

  .btn-hero {
    width: 100%;
  }

  .footer-container {
    flex-direction: column;
  }
}

/* ==========================================
   オウンドメディア (Blog / Media) スタイル
   ========================================== */

/* ブログ一覧ヒーロー */
.blog-hero {
  padding-top: 110px;
  padding-bottom: 40px;
  background: linear-gradient(180deg, #f0f9ff 0%, #ffffff 100%);
  border-bottom: 1px solid var(--border-light);
  text-align: center;
}

.blog-hero-badge {
  display: inline-block;
  font-size: 13px;
  font-weight: 700;
  color: var(--primary);
  background: rgba(2, 132, 199, 0.1);
  padding: 6px 14px;
  border-radius: 9999px;
  margin-bottom: 16px;
  letter-spacing: 0.05em;
}

.blog-hero-title {
  font-size: 32px;
  font-weight: 800;
  color: var(--text-dark);
  line-height: 1.35;
  margin-bottom: 16px;
}

.blog-hero-sub {
  max-width: 780px;
  margin: 0 auto;
  font-size: 16px;
  color: var(--text-body);
  line-height: 1.7;
}

/* 検索・カテゴリーフィルター */
.blog-controls-wrapper {
  margin: 0 auto 40px auto;
  max-width: 900px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.blog-search-box {
  position: relative;
  width: 100%;
}

.blog-search-input {
  width: 100%;
  padding: 14px 20px 14px 44px;
  font-size: 16px;
  border: 1.5px solid var(--border-light);
  border-radius: 9999px;
  background: #ffffff;
  color: var(--text-dark);
  box-shadow: var(--shadow-subtle);
  transition: border-color 0.2s, box-shadow 0.2s;
  outline: none;
}

.blog-search-input:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(2, 132, 199, 0.15);
}

.blog-search-icon {
  position: absolute;
  left: 16px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 18px;
  color: var(--text-muted);
  pointer-events: none;
}

.blog-category-tabs {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
}

.category-tab-btn {
  background: #ffffff;
  border: 1px solid var(--border-light);
  color: var(--text-body);
  font-size: 14px;
  font-weight: 600;
  padding: 8px 18px;
  border-radius: 9999px;
  cursor: pointer;
  transition: all 0.2s;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.category-tab-btn:hover {
  border-color: var(--primary);
  color: var(--primary);
  background: #f0f9ff;
}

.category-tab-btn.active {
  background: var(--primary);
  border-color: var(--primary);
  color: #ffffff;
  box-shadow: 0 2px 8px rgba(2, 132, 199, 0.3);
}

.blog-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}

.blog-card {
  background: #ffffff;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-subtle);
  display: flex;
  flex-direction: column;
  transition: transform 0.2s, box-shadow 0.2s;
}

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

.blog-card-thumb {
  position: relative;
  height: 200px;
  overflow: hidden;
}

.blog-card-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s;
}

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

.blog-card-category {
  position: absolute;
  top: 12px;
  left: 12px;
  background: rgba(15, 23, 42, 0.85);
  color: #ffffff;
  font-size: 13px;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 6px;
  backdrop-filter: blur(4px);
}

.blog-card-body {
  padding: 24px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

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

.blog-date {
  font-size: 13px;
  color: var(--text-muted);
  font-weight: 600;
}

.blog-read-time {
  font-size: 12px;
  color: var(--text-muted);
  background: var(--bg-card);
  padding: 2px 8px;
  border-radius: 4px;
}

.blog-card-title {
  font-size: 18px;
  font-weight: 700;
  line-height: 1.45;
  margin-bottom: 12px;
}

.blog-card-title a {
  text-decoration: none;
  color: var(--text-dark);
  transition: color 0.2s;
}

.blog-card-title a:hover {
  color: var(--primary);
}

.blog-card-excerpt {
  font-size: 14px;
  color: var(--text-body);
  line-height: 1.6;
  margin-bottom: 20px;
  flex: 1;
}

.blog-card-footer {
  border-top: 1px solid var(--border-light);
  padding-top: 12px;
}

.read-more {
  font-size: 14px;
  font-weight: 700;
  color: var(--primary);
}

/* メディアCTAバナー */
.blog-cta-banner {
  padding: 40px 0 80px 0;
}

.cta-inner-card {
  background: linear-gradient(135deg, #0284c7 0%, #0369a1 100%);
  color: #ffffff;
  border-radius: var(--radius-lg);
  padding: 48px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 32px;
  box-shadow: var(--shadow-float);
}

.cta-text-content h3 {
  font-size: 26px;
  font-weight: 800;
  margin-bottom: 12px;
  color: #ffffff;
}

.cta-text-content p {
  font-size: 15px;
  color: #e0f2fe;
  max-width: 600px;
  line-height: 1.6;
}

.cta-btn-wrapper .btn-primary {
  background: #ffffff;
  color: var(--primary);
  font-weight: 800;
  font-size: 16px;
  white-space: nowrap;
}

.cta-btn-wrapper .btn-primary:hover {
  background: #f0f9ff;
}

/* 記事詳細ページレイアウト */
.article-main {
  padding-top: 100px;
  padding-bottom: 80px;
}

.article-container {
  max-width: 860px;
  margin: 0 auto;
  padding: 0 24px;
}

.breadcrumb-nav {
  margin-bottom: 24px;
  font-size: 13px;
  color: var(--text-muted);
}

.breadcrumb-nav ol {
  display: flex;
  list-style: none;
  gap: 8px;
  flex-wrap: wrap;
}

.breadcrumb-nav li+li:before {
  content: "/";
  padding-right: 8px;
  color: #cbd5e1;
}

.breadcrumb-nav a {
  text-decoration: none;
  color: var(--text-muted);
}

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

.article-header {
  margin-bottom: 32px;
}

.article-badge {
  display: inline-block;
  background: var(--primary-light);
  color: var(--primary);
  font-size: 13px;
  font-weight: 700;
  padding: 4px 12px;
  border-radius: 6px;
  margin-bottom: 16px;
}

.article-title {
  font-size: 32px;
  font-weight: 800;
  line-height: 1.35;
  color: var(--text-dark);
  margin-bottom: 16px;
}

.article-meta {
  display: flex;
  gap: 20px;
  font-size: 13px;
  color: var(--text-muted);
  flex-wrap: wrap;
}

.article-featured-image {
  margin-bottom: 40px;
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-subtle);
}

.article-featured-image img {
  width: 100%;
  height: 420px;
  object-fit: cover;
  display: block;
}

/* 記事本文 typography */
.article-body {
  font-size: 16px;
  line-height: 1.85;
  color: var(--text-body);
}

.article-body p {
  margin-bottom: 24px;
}

.article-body .lead-text {
  font-size: 18px;
  font-weight: 500;
  line-height: 1.8;
  color: var(--text-dark);
  background: #f8fafc;
  border-left: 4px solid var(--primary);
  padding: 20px 24px;
  border-radius: 0 var(--radius-md) var(--radius-md) 0;
  margin-bottom: 32px;
}

.article-body h2 {
  font-size: 24px;
  font-weight: 800;
  color: var(--text-dark);
  margin-top: 48px;
  margin-bottom: 20px;
  padding-bottom: 12px;
  border-bottom: 2px solid var(--border-light);
}

.article-body h3 {
  font-size: 20px;
  font-weight: 700;
  color: var(--text-dark);
  margin-top: 32px;
  margin-bottom: 16px;
}

.content-toc {
  background: #ffffff;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  padding: 24px 32px;
  margin-bottom: 40px;
  box-shadow: var(--shadow-subtle);
}

.content-toc h3 {
  margin-top: 0;
  margin-bottom: 16px;
  font-size: 16px;
  color: var(--text-dark);
}

.content-toc ul {
  list-style: none;
  padding-left: 0;
}

.content-toc li {
  margin-bottom: 10px;
}

.content-toc a {
  text-decoration: none;
  color: var(--text-body);
  font-size: 15px;
  font-weight: 500;
  transition: color 0.2s;
}

.content-toc a:hover {
  color: var(--primary);
  text-decoration: underline;
}

.info-box {
  background: var(--primary-light);
  border: 1px solid var(--primary-border);
  border-radius: var(--radius-md);
  padding: 24px;
  margin: 28px 0;
}

.info-box h4 {
  color: var(--primary-hover);
  font-size: 16px;
  font-weight: 700;
  margin-bottom: 12px;
}

.info-box ul {
  padding-left: 20px;
}

.info-box li {
  margin-bottom: 8px;
}

.problem-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin: 24px 0;
}

.problem-item {
  background: #ffffff;
  border: 1px solid #fee2e2;
  border-left: 4px solid #ef4444;
  border-radius: 8px;
  padding: 16px 20px;
}

.problem-item strong {
  display: block;
  color: #b91c1c;
  font-size: 16px;
  margin-bottom: 6px;
}

.problem-item p {
  margin-bottom: 0;
  font-size: 14px;
}

/* 比較テーブル */
.comparison-table {
  width: 100%;
  border-collapse: collapse;
  margin: 32px 0;
  background: #ffffff;
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-subtle);
  border: 1px solid var(--border-light);
}

.comparison-table th,
.comparison-table td {
  padding: 16px 20px;
  text-align: left;
  border-bottom: 1px solid var(--border-light);
  font-size: 14px;
}

.comparison-table th {
  background: #f8fafc;
  font-weight: 700;
  color: var(--text-dark);
}

.comparison-table tr.highlight-row {
  background: #ecfdf5;
}

/* 記事内ソリューションCTAカード */
.solution-highlight-card {
  background: linear-gradient(180deg, #f0fdf4 0%, #ffffff 100%);
  border: 2px solid #bbf7d0;
  border-radius: var(--radius-lg);
  padding: 36px 32px;
  margin: 48px 0;
  box-shadow: var(--shadow-float);
}

.solution-badge {
  display: inline-block;
  background: #16a34a;
  color: #ffffff;
  font-size: 12px;
  font-weight: 800;
  padding: 4px 12px;
  border-radius: 9999px;
  margin-bottom: 12px;
}

.solution-header h3 {
  margin-top: 0;
  font-size: 22px;
  color: #14532d;
  margin-bottom: 16px;
}

.solution-features {
  list-style: none;
  padding-left: 0;
  margin: 20px 0;
}

.solution-features li {
  margin-bottom: 12px;
  font-size: 15px;
  line-height: 1.6;
}

.solution-cta {
  margin-top: 28px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 8px;
}

.btn-large {
  padding: 16px 36px;
  font-size: 16px;
  font-weight: 800;
}

.cta-note {
  font-size: 12px;
  color: var(--text-muted);
}

/* 関連記事レコメンド */
.related-articles-section {
  margin-top: 60px;
  padding-top: 40px;
  border-top: 2px solid var(--border-light);
}

.related-articles-section h3 {
  font-size: 20px;
  font-weight: 800;
  color: var(--text-dark);
  margin-bottom: 24px;
}

.related-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

.related-card {
  text-decoration: none;
  background: #ffffff;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-subtle);
  transition: transform 0.2s, box-shadow 0.2s;
  display: flex;
  flex-direction: column;
}

.related-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-float);
}

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

.related-card h4 {
  padding: 16px;
  font-size: 15px;
  font-weight: 700;
  color: var(--text-dark);
  line-height: 1.5;
  margin: 0;
}

.related-card:hover h4 {
  color: var(--primary);
}

/* PWAインストールバナー */
.pwa-install-banner {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 999;
  background: #ffffff;
  border: 1px solid var(--primary-border);
  border-radius: var(--radius-md);
  padding: 16px 20px;
  box-shadow: 0 10px 25px -5px rgba(2, 132, 199, 0.2);
  display: flex;
  align-items: center;
  gap: 16px;
  animation: slideUp 0.4s ease-out;
  max-width: 400px;
}

@keyframes slideUp {
  from { transform: translateY(100px); opacity: 0; }
  to { transform: translateY(0); opacity: 1; }
}

.pwa-icon {
  font-size: 28px;
}

.pwa-text {
  flex: 1;
}

.pwa-title {
  font-size: 14px;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 2px;
}

.pwa-sub {
  font-size: 12px;
  color: var(--text-muted);
}

.pwa-actions {
  display: flex;
  align-items: center;
  gap: 8px;
}

.pwa-close-btn {
  background: transparent;
  border: none;
  font-size: 16px;
  color: var(--text-muted);
  cursor: pointer;
  padding: 4px;
}

/* レスポンシブ最適化 (メディア用) */
@media (max-width: 768px) {
  .blog-grid {
    grid-template-columns: 1fr;
  }

  .blog-hero-title {
    font-size: 24px;
  }

  .cta-inner-card {
    flex-direction: column;
    padding: 32px 24px;
    text-align: center;
  }

  .article-title {
    font-size: 24px;
  }

  .article-featured-image img {
    height: 240px;
  }

  .related-grid {
    grid-template-columns: 1fr;
  }

  .comparison-table {
    display: block;
    overflow-x: auto;
  }

  .pwa-install-banner {
    left: 16px;
    right: 16px;
    bottom: 16px;
    max-width: none;
  }
}


/* インストール: 公開通知CTA & 開発者向け手動読み込み */
.install-note {
  margin-top: 12px;
  font-size: 14px;
  color: var(--text-muted);
}

.dev-install {
  margin-top: 48px;
  background: var(--bg-white);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  padding: 20px 24px;
}

.dev-install > summary {
  cursor: pointer;
  font-weight: 700;
  color: var(--text-dark);
}

.dev-install[open] > summary {
  margin-bottom: 16px;
}

.dev-install-lead {
  font-size: 14px;
  color: var(--text-body);
  margin-bottom: 24px;
}

/* ==========================================
   2026-10 改修: CSP対応（inline style撤去）・ペルソナ導線・共有・回遊
   ========================================== */

[hidden] { display: none !important; }

.nav-link.is-current { color: var(--primary); }

.section-white {
  padding: 70px 0;
  background: var(--bg-white);
  border-top: 1px solid var(--border-light);
  border-bottom: 1px solid var(--border-light);
}

.section-actions {
  text-align: center;
  margin-top: 40px;
}

.eyebrow {
  display: inline-block;
  font-size: 13px;
  font-weight: 700;
  color: var(--primary);
  background: var(--primary-light);
  border: 1px solid var(--primary-border);
  padding: 4px 12px;
  border-radius: 9999px;
  margin-bottom: 12px;
}

/* Hero デモカード（実際の出力イメージ） */
.demo-card {
  background: var(--bg-white);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-float);
  padding: 20px;
  max-width: 460px;
  margin: 0 auto;
}

.demo-card-head {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 12px;
  margin-bottom: 4px;
}

.demo-route {
  font-weight: 800;
  color: var(--text-dark);
  font-size: 17px;
}

.demo-cond {
  font-size: 12px;
  color: var(--text-muted);
  margin-bottom: 12px;
}

.demo-cal,
.vw-grid {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 4px;
}

.demo-dow,
.vw-dow {
  font-size: 11px;
  font-weight: 700;
  text-align: center;
  color: var(--text-muted);
  padding: 2px 0;
}

.demo-day,
.vw-day {
  border-radius: 6px;
  min-height: 46px;
  padding: 4px 2px;
  text-align: center;
  font-size: 11px;
  line-height: 1.3;
  background: #f1f5f9;
  color: var(--text-muted);
}

.demo-day b,
.vw-day b {
  display: block;
  font-size: 12px;
  color: var(--text-dark);
}

.demo-day.blank,
.vw-day.blank { background: transparent; }

/* 安い(h1)〜高い(h5) */
.h1 { background: #d1fae5; color: #065f46; }
.h2 { background: #ecfdf5; color: #047857; }
.h3 { background: #fefce8; color: #854d0e; }
.h4 { background: #fff7ed; color: #9a3412; }
.h5 { background: #fef2f2; color: #991b1b; }
.is-best { outline: 2px solid #f59e0b; outline-offset: -2px; font-weight: 800; }

.demo-legend {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  font-size: 11px;
  color: var(--text-muted);
  margin-top: 10px;
}

.demo-legend span::before {
  content: "";
  display: inline-block;
  width: 10px;
  height: 10px;
  border-radius: 3px;
  margin-right: 4px;
  vertical-align: -1px;
  background: var(--sw, #e2e8f0);
}

.lg-cheap::before { background: #d1fae5 !important; }
.lg-mid::before { background: #fefce8 !important; }
.lg-high::before { background: #fef2f2 !important; }
.lg-best::before { background: #fff !important; outline: 2px solid #f59e0b; }

.demo-best {
  margin-top: 14px;
  padding: 12px 14px;
  border-radius: var(--radius-md);
  background: var(--accent-light);
  border: 1px solid #a7f3d0;
  font-size: 13px;
  color: var(--text-dark);
}

.demo-best strong { font-size: 18px; color: var(--accent); }

.demo-caption {
  margin-top: 10px;
  font-size: 12px;
  color: var(--text-muted);
  text-align: center;
}

/* ペルソナ別タブ */
.persona-tabs {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  justify-content: center;
  margin-bottom: 28px;
}

.persona-tab {
  border: 1.5px solid var(--border-light);
  background: var(--bg-white);
  color: var(--text-body);
  font: inherit;
  font-weight: 700;
  font-size: 14px;
  padding: 10px 18px;
  border-radius: 9999px;
  cursor: pointer;
}

.persona-tab[aria-selected="true"] {
  background: var(--primary);
  border-color: var(--primary);
  color: #fff;
}

.persona-panel {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 32px;
  background: var(--bg-white);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: 32px;
  box-shadow: var(--shadow-subtle);
}

.persona-panel + .persona-panel { margin-top: 20px; }
.js .persona-panel + .persona-panel { margin-top: 0; }

.persona-panel h3 {
  font-size: 22px;
  font-weight: 800;
  color: var(--text-dark);
  margin-bottom: 8px;
}

.persona-quote {
  color: var(--text-muted);
  font-size: 14px;
  margin-bottom: 16px;
}

.persona-panel ul { padding-left: 20px; margin-bottom: 16px; }
.persona-panel li { margin-bottom: 6px; }

.preset-chip {
  display: inline-block;
  font-size: 12px;
  font-weight: 700;
  color: var(--accent);
  background: var(--accent-light);
  border: 1px solid #a7f3d0;
  padding: 3px 10px;
  border-radius: 6px;
  margin-bottom: 10px;
}

.persona-links {
  background: var(--bg-main);
  border-radius: var(--radius-md);
  padding: 20px;
}

.persona-links h4 {
  font-size: 14px;
  color: var(--text-dark);
  margin-bottom: 10px;
}

.persona-links a {
  display: block;
  color: var(--primary);
  text-decoration: none;
  font-weight: 600;
  font-size: 14px;
  padding: 6px 0;
  border-bottom: 1px dashed var(--border-light);
}

.persona-links a:hover { text-decoration: underline; }

/* 小さな機能カード */
.mini-feature-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.mini-feature {
  background: var(--bg-white);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  padding: 22px;
}

.mini-feature h3 {
  font-size: 16px;
  font-weight: 800;
  color: var(--text-dark);
  margin-bottom: 6px;
}

.mini-feature p { font-size: 14px; }

/* 使い方3ステップ */
.how-steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  counter-reset: step;
}

.how-step {
  background: var(--bg-white);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  padding: 24px;
  position: relative;
}

.how-step::before {
  counter-increment: step;
  content: counter(step);
  display: inline-flex;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  align-items: center;
  justify-content: center;
  background: var(--primary);
  color: #fff;
  font-weight: 800;
  margin-bottom: 12px;
}

.how-step h3 { font-size: 16px; color: var(--text-dark); margin-bottom: 6px; }
.how-step p { font-size: 14px; }

/* 路線カード */
.route-preview-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.route-mini-card {
  display: block;
  text-decoration: none;
  background: var(--bg-white);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  padding: 18px;
  transition: transform 0.2s, box-shadow 0.2s;
}

.route-mini-card:hover { transform: translateY(-2px); box-shadow: var(--shadow-float); }
.route-mini-card .rm-code { font-weight: 800; font-size: 18px; color: var(--text-dark); }
.route-mini-card .rm-name { font-size: 13px; color: var(--text-muted); }
.route-mini-card .rm-region { font-size: 12px; font-weight: 700; color: var(--primary); margin-top: 6px; }

/* 空港コード → 路線ページ */
.airport-route-links {
  margin-top: 6px;
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
}

.airport-route-links a {
  font-size: 12px;
  font-weight: 700;
  color: var(--primary);
  text-decoration: none;
  background: var(--primary-light);
  padding: 2px 8px;
  border-radius: 6px;
}

.airport-empty {
  grid-column: 1 / -1;
  text-align: center;
  color: var(--text-muted);
  padding: 24px;
}

/* FAQ */
.faq-list { max-width: 820px; margin: 0 auto; }

.faq-list details {
  background: var(--bg-white);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  padding: 16px 20px;
  margin-bottom: 12px;
}

.faq-list summary {
  font-weight: 700;
  color: var(--text-dark);
  cursor: pointer;
}

.faq-list details p { margin-top: 10px; font-size: 14px; }

/* 公開通知フォーム */
.notify-form {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  justify-content: center;
  max-width: 640px;
  margin: 0 auto;
}

.notify-form input[type="email"],
.notify-form select {
  font: inherit;
  padding: 12px 14px;
  border: 1.5px solid var(--border-light);
  border-radius: 10px;
  background: #fff;
  min-width: 0;
}

.notify-form input[type="email"] { flex: 1 1 260px; }
.notify-form select { flex: 0 1 200px; }
.notify-form .btn { flex: 0 0 auto; }

.hp-field { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

.notify-msg {
  text-align: center;
  margin-top: 12px;
  font-size: 14px;
  font-weight: 600;
}

.notify-msg.ok { color: var(--accent); }
.notify-msg.err { color: #b91c1c; }

.hero-notify { margin-top: 8px; justify-content: flex-start; margin-left: 0; }

/* シェアバー */
.share-bar {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
  margin: 40px 0 0;
  padding: 16px 20px;
  background: var(--bg-main);
  border-radius: var(--radius-md);
}

.share-bar-label { font-weight: 700; font-size: 14px; color: var(--text-dark); margin-right: 4px; }

.share-btn {
  display: inline-block;
  text-decoration: none;
  font-size: 13px;
  font-weight: 700;
  padding: 8px 14px;
  border-radius: 8px;
  color: #fff;
}

.share-line { background: #06c755; }
.share-x { background: #0f172a; }
.share-hatena { background: #00a4de; }

/* 自動生成の関連リンク（画像なし） */
.related-card .related-kind {
  display: block;
  padding: 14px 16px 0;
  font-size: 12px;
  font-weight: 700;
  color: var(--primary);
}

.related-card .related-kind + h4 { padding-top: 6px; }
.related-card p { padding: 0 16px 16px; font-size: 13px; color: var(--text-muted); }

/* 記事一覧の空表示と回遊バナー */
.no-results-msg { text-align: center; padding: 60px 20px; }
.no-results-msg p { font-size: 18px; color: var(--text-muted); margin-bottom: 12px; }

.cross-banner-wrap { margin-bottom: 40px; }

.cross-banner {
  background: #fff;
  border: 1.5px solid var(--border-light);
  border-radius: var(--radius-md);
  padding: 32px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
  box-shadow: var(--shadow-subtle);
}

.cross-banner-tag {
  font-size: 13px;
  font-weight: 700;
  color: var(--primary);
  background: rgba(2, 132, 199, 0.1);
  padding: 4px 10px;
  border-radius: 4px;
}

.cross-banner h3 { font-size: 20px; font-weight: 800; color: var(--text-dark); margin: 8px 0; }
.cross-banner p { font-size: 14px; margin: 0; }
.cross-banner-btn { white-space: nowrap; font-size: 15px; }

/* 拡張へ条件を渡すボタン（拡張検知時のみ文言を変える） */
.fh-preset-hint { display: block; font-size: 12px; color: var(--text-muted); margin-top: 6px; }
html[data-flighthack-ext] .fh-preset-hint.when-missing { display: none; }
html:not([data-flighthack-ext]) .fh-preset-hint.when-installed { display: none; }

/* 結果ビューア（共有URLの着地ページ） */
.vw-main {
  max-width: 980px;
  margin: 0 auto;
  padding: 100px 20px 60px;
}

.vw-main h1 { font-size: 28px; font-weight: 800; color: var(--text-dark); margin-bottom: 8px; }
.vw-lead { color: var(--text-muted); margin-bottom: 24px; }

.vw-shared-banner {
  background: var(--primary-light);
  border: 1px solid var(--primary-border);
  border-radius: var(--radius-md);
  padding: 14px 18px;
  margin-bottom: 20px;
  font-size: 14px;
  color: var(--text-dark);
}

.vw-drop {
  display: block;
  border: 2px dashed var(--primary-border);
  border-radius: var(--radius-md);
  background: var(--bg-white);
  padding: 40px 20px;
  text-align: center;
  cursor: pointer;
  color: var(--text-body);
  font-weight: 600;
}

.vw-drop.over { background: var(--primary-light); border-color: var(--primary); }
.vw-drop-actions { margin-top: 14px; }

.vw-toolbar {
  display: flex;
  gap: 16px;
  align-items: center;
  flex-wrap: wrap;
  background: var(--bg-white);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  padding: 14px 18px;
  margin: 24px 0 16px;
}

.vw-toolbar select { font: inherit; padding: 6px 10px; border-radius: 8px; border: 1px solid var(--border-light); }
.vw-best { margin-left: auto; font-weight: 800; color: var(--accent); font-size: 18px; }
.vw-meta { font-size: 13px; color: var(--text-muted); }

.vw-months {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 16px;
}

.vw-month {
  background: var(--bg-white);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  padding: 14px;
}

.vw-month h3 { font-size: 15px; color: var(--text-dark); margin-bottom: 8px; }
.vw-day.none { background: #f8fafc; color: #cbd5e1; }

.vw-main h2 { font-size: 20px; color: var(--text-dark); margin: 32px 0 12px; }

.table-wrap {
  overflow-x: auto;
  background: var(--bg-white);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
}

.table-wrap table { width: 100%; border-collapse: collapse; font-size: 14px; }
.table-wrap th, .table-wrap td { padding: 10px 12px; border-bottom: 1px solid var(--border-light); text-align: left; vertical-align: top; }
.table-wrap th { background: var(--bg-main); font-size: 12px; color: var(--text-muted); white-space: nowrap; }
.table-wrap a { color: var(--primary); font-weight: 700; }
.vw-note { font-size: 12px; color: var(--text-muted); }

.vw-badge {
  display: inline-block;
  font-size: 11px;
  font-weight: 700;
  background: var(--accent-light);
  color: var(--accent);
  border-radius: 4px;
  padding: 1px 6px;
  margin: 0 4px 4px 0;
}

.vw-warn { font-size: 12px; color: #b45309; }

.vw-cta {
  margin-top: 40px;
  background: linear-gradient(135deg, #0284c7 0%, #0369a1 100%);
  color: #fff;
  border-radius: var(--radius-lg);
  padding: 32px;
  text-align: center;
}

.vw-cta h2 { color: #fff; margin: 0 0 8px; }
.vw-cta p { color: #e0f2fe; margin-bottom: 18px; }
.vw-cta .btn { background: #fff; color: var(--primary); }

/* ウェルカム（インストール直後） */
.welcome-main { max-width: 860px; margin: 0 auto; padding: 110px 20px 60px; }
.welcome-main h1 { font-size: 30px; font-weight: 800; color: var(--text-dark); margin-bottom: 10px; }
.welcome-main h2 { font-size: 20px; color: var(--text-dark); margin: 36px 0 14px; }
.welcome-main ol, .welcome-main ul { padding-left: 22px; }
.welcome-main li { margin-bottom: 8px; }

@media (max-width: 768px) {
  .persona-panel { grid-template-columns: 1fr; padding: 22px; }
  .mini-feature-grid, .how-steps, .route-preview-grid { grid-template-columns: 1fr; }
  .vw-best { margin-left: 0; }
  .demo-day, .vw-day { min-height: 40px; font-size: 10px; }
}

.section-header-spaced { margin-top: 64px; }
.feature-row-spaced { margin-top: 64px; }
a.vw-day { text-decoration: none; display: block; }
a.vw-day:hover { filter: brightness(0.95); }

/* 規約ページ（legal/*.html）の簡易レイアウト */
header.site, footer.site { background: var(--bg-white); border-bottom: 1px solid var(--border-light); }
footer.site { border-top: 1px solid var(--border-light); border-bottom: 0; margin-top: 48px; font-size: 13px; color: var(--text-muted); }
.wrap { max-width: 860px; margin: 0 auto; padding: 16px 20px; }
header.site .wrap, footer.site .wrap { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
header.site .logo { display: inline-flex; align-items: center; gap: 8px; font-weight: 800; color: var(--text-dark); text-decoration: none; }
header.site .logo img { width: 24px; height: 24px; }
header.site .logo span { color: var(--primary); }
nav.site a, footer.site a { color: var(--primary); text-decoration: none; margin-right: 16px; font-weight: 600; font-size: 14px; }
footer.site p { width: 100%; }
.legal { padding-top: 32px; padding-bottom: 32px; }
.legal h1 { font-size: 28px; color: var(--text-dark); margin-bottom: 8px; }
.legal h2 { font-size: 19px; color: var(--text-dark); margin: 32px 0 12px; }
.legal h3 { font-size: 16px; color: var(--text-dark); margin: 20px 0 8px; }
.legal p, .legal li { margin-bottom: 10px; }
.legal ol, .legal ul { padding-left: 22px; }
.legal .meta { font-size: 13px; color: var(--text-muted); }
.legal table { width: 100%; border-collapse: collapse; margin: 12px 0 16px; font-size: 14px; display: block; overflow-x: auto; }
.legal th, .legal td { border: 1px solid var(--border-light); padding: 8px 10px; text-align: left; vertical-align: top; }
.legal th { background: var(--bg-main); }
