/* ==========================================================================
   名古屋アクセスクリニック — 共通スタイルシート
   Webサイト専用デザインポリシー準拠
   コンセプト: 優しさ・安心感・心遣い・軽やかさ
   ========================================================================== */

/* ========== リセット・ベース ========== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: "Zen Maru Gothic", "Hiragino Kaku Gothic ProN", "Yu Gothic", "Meiryo", sans-serif;
  font-size: 18px;
  line-height: 2.0;
  color: #313131;
  background: #FDFBF9;
  letter-spacing: 0.04em;
}
img { max-width: 100%; height: auto; display: block; }
a { color: #64A9E4; text-decoration: none; transition: color 0.2s; }
a:hover { color: #E87DA0; text-decoration: none; }
ul, ol { list-style: none; }

/* ========== カラー変数（Webデザインポリシー準拠） ========== */
:root {
  /* メインカラー（淡色ベース） */
  --sky: #A8D4F0;
  --sky-deep: #64A9E4;
  --sky-light: #E8F4FD;
  --pink: #E87DA0;
  --pink-light: #F5C2D0;
  --pink-hover: #D66A8C;
  --lavender: #C5A8E8;
  --lavender-light: #F0E8F8;

  /* テキスト */
  --heading: #2A4A6C;
  --text: #313131;
  --text-sub: #5A5A5A;

  /* 背景 */
  --bg-base: #FDFBF9;
  --bg-white: #FFFFFF;
  --bg-gray: #F5F8FC;

  /* グラデーション */
  --grad-mist: linear-gradient(135deg, #F0F7FC 0%, #FDF0F4 50%, #F0F7FC 100%);
  --grad-breeze: linear-gradient(135deg, #E8F4FD 0%, #F8E8F0 100%);
  --grad-ocean: linear-gradient(135deg, #A8D4F0 0%, #C5A8E8 100%);
  --grad-blush: linear-gradient(135deg, #F5C2D0 0%, #E8D0F0 100%);

  /* ボーダー・シャドウ */
  --border: rgba(168, 212, 240, 0.3);
  --border-light: rgba(168, 212, 240, 0.2);
  --shadow: 0 2px 16px rgba(168, 212, 240, 0.15);
  --shadow-hover: 0 4px 24px rgba(168, 212, 240, 0.25);

  /* 角丸 */
  --radius: 16px;
  --radius-lg: 20px;
  --radius-pill: 9999px;

  /* レイアウト */
  --max-width: 1080px;
}

/* ========== ユーティリティ ========== */
.sr-only {
  position: absolute; width: 1px; height: 1px;
  padding: 0; margin: -1px; overflow: hidden;
  clip: rect(0,0,0,0); white-space: nowrap; border: 0;
}
.container { max-width: var(--max-width); margin: 0 auto; padding: 0 20px; }
.pc-only { display: inline; }
@media (max-width: 768px) { .pc-only { display: none; } }

/* ユーティリティクラス */
.text-center { text-align: center; }
.text-sub { color: var(--text-sub); }
.text-sm { font-size: 14px; }
.content-narrow { max-width: 800px; margin: 0 auto; }
.card-narrow { max-width: 480px; }
.lead-text { font-size: 17px; line-height: 1.9; }
.cta-link-white { color: #fff; font-weight: bold; }
.cta-link-white:hover { color: #fff; opacity: 0.9; }

/* お問い合わせページ用 */
.contact-card { margin-bottom: 28px; }
.contact-card-title {
  color: var(--heading);
  margin-bottom: 20px;
  text-align: center;
}
.contact-card-title-pink {
  color: var(--pink);
  margin-bottom: 16px;
  text-align: center;
}
.contact-card-heading {
  color: var(--heading);
  margin-bottom: 16px;
}
.contact-card-action { margin-top: 16px; }
.contact-th { width: 140px; }
.contact-num-lg {
  font-size: 20px;
  font-weight: bold;
  font-family: "BIZ UDGothic", sans-serif;
  color: var(--heading);
}
.contact-num {
  font-size: 18px;
  font-weight: bold;
  font-family: "BIZ UDGothic", sans-serif;
  color: var(--heading);
}
.contact-email {
  font-size: 16px;
  font-weight: bold;
}
.contact-freedial {
  font-size: 28px;
  font-weight: bold;
  font-family: "BIZ UDGothic", sans-serif;
  color: var(--pink);
}

/* セクション内CTA・チャート用 */
.section-cta { text-align: center; margin-top: 32px; }
.chart-section { max-width: 640px; margin: 44px auto 0; }
.chart-heading {
  font-size: 16px;
  font-weight: 500;
  color: var(--heading);
  margin-bottom: 20px;
  text-align: center;
}
.chart-note {
  font-size: 12px;
  color: var(--text-sub);
  text-align: center;
  margin-top: 10px;
}
.steps-centered { max-width: 640px; margin: 0 auto; }
.download-grid-centered { max-width: 640px; margin: 28px auto 0; }
.news-container { max-width: 720px; margin: 0 auto; }
.map-container {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow);
}
.clinic-info-card { height: 100%; }
.clinic-info-card h3 {
  color: var(--heading);
  margin-bottom: 16px;
}
.card-actions { margin-top: 16px; display: flex; gap: 8px; flex-wrap: wrap; }
.cta-sub { margin-top: 12px; }
.cta-sub a { color: #fff; font-weight: 500; }

/* ========== ヘッダー ========== */
.site-header {
  background: rgba(255,255,255,0.95);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 0;
  z-index: 1000;
}
.header-top {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 12px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
.header-logo a { display: block; }
.logo-img {
  height: 44px;
  width: auto;
  object-fit: contain;
}
.header-contact {
  display: flex;
  align-items: center;
  gap: 20px;
}
.header-phone {
  text-align: right;
  line-height: 1.3;
}
.header-phone .phone-num {
  font-family: "BIZ UDGothic", sans-serif;
  font-size: 20px;
  font-weight: 500;
  color: var(--heading);
  letter-spacing: 0.04em;
}
.header-phone .phone-hours {
  font-size: 11px;
  color: var(--text-sub);
}
.btn-header-call {
  display: none;
  background: var(--pink);
  color: #fff;
  font-size: 13px;
  font-weight: 500;
  padding: 10px 20px;
  border-radius: var(--radius-pill);
  white-space: nowrap;
  transition: all 0.3s;
}
.btn-header-call:hover { background: var(--pink-hover); }

/* ナビゲーション — 横スクロール常時表示（高齢者対応） */
.site-nav {
  background: var(--bg-white);
  border-top: 1px solid var(--border);
  overflow-x: auto;
  overflow-y: hidden;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none; /* Firefox */
}
.site-nav::-webkit-scrollbar { display: none; } /* Chrome/Safari */
.nav-list {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 12px;
  display: flex;
  justify-content: center;
  gap: 0;
  width: max-content;
  min-width: 100%;
}
.nav-list li { flex-shrink: 0; }
.nav-list a {
  display: block;
  color: var(--text);
  font-size: 15px;
  font-weight: 500;
  padding: 14px 18px;
  transition: all 0.3s;
  white-space: nowrap;
  position: relative;
  letter-spacing: 0.06em;
}
.nav-list a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 0;
  height: 2px;
  background: var(--sky-deep);
  transition: width 0.3s;
  border-radius: 1px;
}
.nav-list a:hover,
.nav-list a.active,
.nav-list a.is-active {
  color: var(--sky-deep);
}
.nav-list a:hover::after,
.nav-list a.active::after,
.nav-list a.is-active::after {
  width: 24px;
}

/* ナビ: 視覚的グルーピング（対象別） */
.nav-list .nav-label {
  display: flex;
  align-items: center;
  padding: 0 10px 0 14px;
  font-size: 11px;
  letter-spacing: 0.08em;
  color: var(--text-sub);
  white-space: nowrap;
  pointer-events: none;
  user-select: none;
}
.nav-list .nav-divider {
  display: flex;
  align-items: center;
  padding: 0 6px;
  pointer-events: none;
}
.nav-list .nav-divider::before {
  content: '';
  width: 1px;
  height: 20px;
  background: var(--border);
}

/* ハンバーガーメニュー — 不使用（横スクロールに置換） */
.nav-toggle { display: none !important; }
.nav-overlay { display: none !important; }

/* ========== お知らせバー（全ページ共通） ========== */
.notice-bar {
  background: linear-gradient(90deg, #FFF8E8 0%, #FFF4E0 60%, #FFF8E8 100%);
  border-top: 1px solid rgba(212, 167, 94, 0.25);
  border-bottom: 1px solid rgba(212, 167, 94, 0.25);
  font-size: 14px;
}
.notice-bar-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 10px 20px;
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}
.notice-bar-heading {
  display: flex;
  align-items: center;
  gap: 6px;
  flex-shrink: 0;
  font-weight: 700;
  color: #8B6914;
  font-size: 13px;
}
.notice-bar-icon { font-size: 16px; }
.notice-bar-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
  flex: 1 1 auto;
}
.notice-bar-item {
  display: flex;
  align-items: center;
  gap: 10px;
  line-height: 1.5;
}
.notice-bar-item a {
  display: flex;
  align-items: center;
  gap: 10px;
  color: #4a3a1a;
  text-decoration: none;
  transition: color 0.2s;
}
.notice-bar-item a:hover {
  color: var(--sky-deep);
  text-decoration: underline;
}
.notice-date {
  font-family: "BIZ UDGothic", "Hiragino Kaku Gothic ProN", sans-serif;
  color: #8B6914;
  font-size: 12px;
  flex-shrink: 0;
  letter-spacing: 0.02em;
}
.notice-tag {
  display: inline-block;
  padding: 2px 10px;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.7);
  font-size: 11px;
  font-weight: 700;
  color: #8B6914;
  flex-shrink: 0;
}
.notice-bar-item.notice-urgent .notice-tag {
  background: var(--pink);
  color: #fff;
}
.notice-text {
  font-size: 13.5px;
  color: #4a3a1a;
}
.notice-bar-more {
  flex-shrink: 0;
  font-size: 12.5px;
  font-weight: 500;
  color: var(--sky-deep);
  text-decoration: none;
  white-space: nowrap;
}
.notice-bar-more:hover { text-decoration: underline; }

@media (max-width: 768px) {
  .notice-bar-inner {
    padding: 8px 12px;
    gap: 8px;
  }
  .notice-bar-heading { font-size: 12px; }
  .notice-bar-heading .notice-bar-title { display: none; }
  .notice-bar-list { gap: 10px; width: 100%; }
  .notice-bar-item { font-size: 12px; gap: 6px; }
  .notice-text { font-size: 12.5px; }
  .notice-date { font-size: 11px; }
  .notice-tag { padding: 1px 8px; font-size: 10.5px; }
  .notice-bar-more { margin-left: auto; }
}

/* ========== ヒーローセクション — 外観写真背景 ========== */
.hero {
  color: var(--heading);
  padding: 0;
  text-align: center;
  position: relative;
  overflow: hidden;
  min-height: 520px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}
/* スライドショー: 3枚 × 5秒表示 + 1.5秒フェード = 合計19.5秒サイクル */
.hero-slide {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 30%;
  opacity: 0;
  animation: heroFade 19.5s ease-in-out infinite;
}
.hero-slide-1 { animation-delay: 0s; }
.hero-slide-2 { animation-delay: 6.5s; }
.hero-slide-3 { animation-delay: 13s; }

@keyframes heroFade {
  0%      { opacity: 0; }
  5%      { opacity: 1; }   /* フェードイン完了 */
  33.3%   { opacity: 1; }   /* 表示維持 */
  38.3%   { opacity: 0; }   /* フェードアウト完了 */
  100%    { opacity: 0; }
}
.hero-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(240,247,252,0.92) 0%, rgba(253,240,244,0.88) 50%, rgba(240,247,252,0.92) 100%);
}
.hero-inner {
  position: relative;
  z-index: 1;
  max-width: 720px;
  margin: 0 auto;
  padding: 80px 20px 72px;
}
.hero-badge {
  display: inline-block;
  background: rgba(168, 212, 240, 0.2);
  border: 1px solid rgba(168, 212, 240, 0.4);
  color: var(--sky-deep);
  font-size: 12px;
  font-weight: 500;
  padding: 5px 20px;
  border-radius: var(--radius-pill);
  margin-bottom: 24px;
  letter-spacing: 0.08em;
}
.hero h1 {
  font-size: 36px;
  line-height: 1.6;
  margin-bottom: 20px;
  font-weight: 700;
  letter-spacing: 0.06em;
}
.hero-sub {
  font-size: 17px;
  line-height: 1.8;
  color: var(--text);
  margin-bottom: 40px;
}
.hero-cta-group {
  display: flex;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
}

/* ========== ボタン ========== */
.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--pink);
  color: #fff;
  font-size: 17px;
  font-weight: 500;
  padding: 14px 32px;
  border-radius: var(--radius-pill);
  border: none;
  cursor: pointer;
  transition: all 0.3s;
  box-shadow: 0 4px 20px rgba(232, 125, 160, 0.25);
}
.btn-primary:hover {
  background: var(--pink-hover);
  transform: translateY(-1px);
  box-shadow: 0 6px 24px rgba(232, 125, 160, 0.35);
}
.btn-secondary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--bg-white);
  border: 1.5px solid var(--sky);
  color: var(--heading);
  font-size: 16px;
  font-weight: 500;
  padding: 13px 28px;
  border-radius: var(--radius-pill);
  cursor: pointer;
  transition: all 0.3s;
}
.btn-secondary:hover {
  background: var(--sky-light);
  border-color: var(--sky-deep);
  transform: translateY(-1px);
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 500;
  padding: 14px 30px;
  border-radius: var(--radius-pill);
  border: none;
  cursor: pointer;
  transition: all 0.3s;
  font-size: 16px;
  letter-spacing: 0.04em;
}
.btn-pink {
  background: var(--pink);
  color: #fff;
  box-shadow: 0 3px 16px rgba(232, 125, 160, 0.2);
}
.btn-pink:hover { background: var(--pink-hover); transform: translateY(-1px); }
.btn-sky {
  background: var(--sky-deep);
  color: #fff;
  box-shadow: 0 3px 16px rgba(100, 169, 228, 0.2);
}
.btn-sky:hover { background: #5298D3; transform: translateY(-1px); }
.btn-navy {
  background: var(--heading);
  color: #fff;
  box-shadow: 0 3px 16px rgba(58, 90, 124, 0.2);
}
.btn-navy:hover { background: #2E4A66; transform: translateY(-1px); }
.btn-outline {
  background: var(--bg-white);
  color: var(--heading);
  border: 1.5px solid var(--border);
}
.btn-outline:hover {
  border-color: var(--sky);
  background: var(--sky-light);
}
.btn-sm { padding: 8px 20px; font-size: 12px; }
.btn-lg { padding: 16px 36px; font-size: 16px; }

/* ========== 共通セクション ========== */
section { padding: 80px 20px; }
.bg-white { background: var(--bg-white); }
.bg-gray { background: var(--bg-gray); }
.bg-warm { background: #FDF6F2; }
.bg-mist { background: var(--grad-breeze); }
.bg-navy { background: var(--grad-ocean); color: #fff; }

.section-header {
  text-align: center;
  margin-bottom: 52px;
}
.section-title {
  font-size: 28px;
  font-weight: 500;
  color: var(--heading);
  margin-bottom: 8px;
  letter-spacing: 0.06em;
}
.bg-navy .section-title { color: #fff; }
.section-title::after {
  content: '';
  display: block;
  width: 40px;
  height: 2px;
  background: var(--grad-blush);
  margin: 14px auto 0;
  border-radius: 1px;
}
.section-lead {
  color: var(--text-sub);
  font-size: 16px;
  margin-top: 12px;
  line-height: 1.8;
}
.bg-navy .section-lead { color: rgba(255,255,255,0.85); }

/* ========== カードグリッド ========== */
.card-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.card-grid-2 { grid-template-columns: repeat(2, 1fr); }
.card {
  background: var(--bg-white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px;
  transition: all 0.3s;
}
.card:hover {
  box-shadow: var(--shadow-hover);
  transform: translateY(-2px);
}
.card-accent { border-top: 3px solid var(--sky); }
.card-pink { border-top: 3px solid var(--pink-light); }
.card-icon {
  width: 56px;
  height: 56px;
  background: var(--sky-light);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 26px;
  margin-bottom: 16px;
}
.card h3 {
  font-size: 20px;
  font-weight: 500;
  color: var(--heading);
  margin-bottom: 10px;
}
.card p {
  font-size: 16px;
  color: var(--text);
  line-height: 1.8;
}

/* ========== 特徴セクション（3カラム） ========== */
.features {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}
.feature-item {
  text-align: center;
  padding: 36px 24px;
  background: var(--bg-white);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
  transition: all 0.3s;
}
.feature-item:hover {
  box-shadow: var(--shadow-hover);
  transform: translateY(-2px);
}
.feature-icon {
  width: 72px;
  height: 72px;
  background: var(--grad-breeze);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 32px;
  margin: 0 auto 18px;
}
.feature-item h3 {
  font-size: 20px;
  font-weight: 500;
  color: var(--heading);
  margin-bottom: 10px;
}
.feature-item p {
  font-size: 16px;
  color: var(--text);
  line-height: 1.8;
}

/* ========== データ・統計表示 ========== */
.stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.stat-card {
  text-align: center;
  padding: 32px 20px;
  background: var(--bg-white);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}
.stat-number {
  font-family: "BIZ UDGothic", sans-serif;
  font-size: 44px;
  font-weight: 700;
  color: var(--sky-deep);
  line-height: 1.1;
}
.stat-unit {
  font-size: 16px;
  font-weight: 500;
  color: var(--heading);
}
.stat-prefix {
  font-family: "Zen Maru Gothic", sans-serif;
  font-size: 22px;
  font-weight: 500;
  color: var(--heading);
  margin-right: 4px;
  vertical-align: middle;
}
.stat-label {
  font-size: 15px;
  color: var(--text);
  margin-top: 6px;
}

/* ========== ドーナツチャート ========== */
.donut-charts {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  margin-top: 44px;
}
.donut-chart-item {
  background: var(--bg-white);
  border-radius: var(--radius-lg);
  padding: 32px 24px;
  box-shadow: var(--shadow);
  text-align: center;
}
.donut-wrapper {
  position: relative;
  width: 200px;
  height: 200px;
  margin: 20px auto 24px;
}
.donut {
  width: 200px;
  height: 200px;
  border-radius: 50%;
  -webkit-mask: radial-gradient(circle, transparent 62%, black 63%);
  mask: radial-gradient(circle, transparent 62%, black 63%);
}
/* NRS: 53.3% / 33.3% / 13.3% */
.donut-nrs {
  background: conic-gradient(
    var(--sky-deep) 0% 53.3%,
    var(--sky) 53.3% 86.7%,
    var(--pink-light) 86.7% 100%
  );
}
/* 比較: 79.3% / 17.2% / 3.4% */
.donut-comp {
  background: conic-gradient(
    var(--sky-deep) 0% 79.3%,
    var(--sky) 79.3% 96.6%,
    var(--pink-light) 96.6% 100%
  );
}
.donut-center {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}
.donut-big {
  font-family: "BIZ UDGothic", sans-serif;
  font-size: 36px;
  font-weight: 700;
  color: var(--sky-deep);
  line-height: 1.1;
}
.donut-sub {
  font-size: 12px;
  color: var(--text-sub);
  margin-top: 2px;
}

/* 凡例 */
.donut-legend {
  list-style: none;
  text-align: left;
  max-width: 280px;
  margin: 0 auto;
  padding: 0;
}
.donut-legend li {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  color: var(--text);
  padding: 4px 0;
  line-height: 1.4;
}
.donut-legend strong {
  margin-left: auto;
  font-family: "BIZ UDGothic", sans-serif;
  color: var(--heading);
}
.legend-dot {
  flex-shrink: 0;
  width: 12px;
  height: 12px;
  border-radius: 50%;
}
.legend-sky-deep { background: var(--sky-deep); }
.legend-sky { background: var(--sky); }
.legend-pink-light { background: var(--pink-light); }
.legend-gray { background: #E0E0E0; }

/* ========== 送迎セクション レイアウト ========== */
.transport-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
  align-items: start;
}
.transport-photo img {
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
  width: 100%;
  height: auto;
}
.transport-cards {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

/* ========== 受付写真（アクセスセクション） ========== */
.clinic-photo {
  margin-bottom: 16px;
  border-radius: var(--radius);
  overflow: hidden;
}
.clinic-photo img {
  width: 100%;
  height: auto;
}

/* ========== CTA帯 レイアウト ========== */
.cta-band-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 40px;
}
.cta-illustration img {
  border-radius: var(--radius);
  opacity: 0.95;
}
.cta-content { text-align: center; }

/* ========== ステップ（手順） ========== */
.steps { position: relative; }
.step {
  display: flex;
  gap: 20px;
  padding: 24px 0;
  position: relative;
}
.step-num {
  flex-shrink: 0;
  width: 40px;
  height: 40px;
  background: var(--grad-ocean);
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: "BIZ UDGothic", sans-serif;
  font-size: 16px;
  font-weight: 500;
}
.step-content h3 {
  font-size: 19px;
  font-weight: 500;
  color: var(--heading);
  margin-bottom: 4px;
}
.step-content p {
  font-size: 16px;
  color: var(--text);
  line-height: 1.8;
}

/* ========== CTA帯 — 淡色グラデーション ========== */
.cta-band {
  background: var(--grad-ocean);
  color: #fff;
  padding: 56px 20px;
  text-align: center;
}
.cta-band h2 {
  font-size: 26px;
  font-weight: 500;
  margin-bottom: 12px;
  letter-spacing: 0.06em;
}
.cta-band p {
  font-size: 16px;
  opacity: 0.9;
  margin-bottom: 24px;
}
.cta-phone {
  font-family: "BIZ UDGothic", sans-serif;
  font-size: 34px;
  font-weight: 700;
  letter-spacing: 0.04em;
  margin-bottom: 8px;
}
.cta-phone a { color: #fff; }
.cta-phone a:hover { opacity: 0.9; }
.cta-hours {
  font-size: 13px;
  opacity: 0.85;
}

/* ========== お知らせリスト ========== */
.news-list { list-style: none; }
.news-item {
  display: flex;
  gap: 16px;
  padding: 16px 0;
  border-bottom: 1px solid var(--border);
  align-items: baseline;
}
.news-item:last-child { border-bottom: none; }
.news-date {
  flex-shrink: 0;
  font-family: "BIZ UDGothic", sans-serif;
  font-size: 15px;
  color: var(--text-sub);
  min-width: 100px;
}
.news-tag {
  flex-shrink: 0;
  font-size: 10px;
  font-weight: 500;
  padding: 3px 12px;
  border-radius: var(--radius-pill);
  background: var(--sky-light);
  color: var(--sky-deep);
}
.news-tag-important {
  background: #FDE8EF;
  color: var(--pink);
}
.news-title { font-size: 16px; color: var(--text); }
.news-title a { color: var(--text); }
.news-title a:hover { color: var(--pink); }

/* ========== SNSリンク ========== */
.sns-links {
  display: flex;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
}
.sns-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 28px;
  border-radius: var(--radius-pill);
  font-weight: 500;
  font-size: 14px;
  color: #fff;
  transition: all 0.3s;
}
.sns-link:hover { transform: translateY(-1px); opacity: 0.9; }

/* LINE: PC=QRコード、モバイル=リンクボタン */
.sns-line-pc {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 20px 28px;
  transition: all 0.3s;
}
.sns-line-pc:hover {
  box-shadow: var(--shadow-hover);
  transform: translateY(-2px);
}
.line-qr-img {
  border-radius: 8px;
}
.line-qr-label {
  font-size: 13px;
  font-weight: 500;
  color: #06C755;
  text-align: center;
  line-height: 1.5;
}
/* Instagram: PC=QRコード、モバイル=リンクボタン */
.sns-ig-pc {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 20px 28px;
  transition: all 0.3s;
}
.sns-ig-pc:hover {
  box-shadow: var(--shadow-hover);
  transform: translateY(-2px);
}
.ig-qr-img {
  border-radius: 8px;
}
.ig-qr-label {
  font-size: 13px;
  font-weight: 500;
  background: linear-gradient(45deg, #f09433, #dc2743, #bc1888);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  text-align: center;
  line-height: 1.5;
}
.sns-ig-mobile { display: none; }
.sns-line-mobile { display: none; }
.sns-instagram { background: linear-gradient(45deg, #f09433, #e6683c, #dc2743, #cc2366, #bc1888); }
.sns-line { background: #06C755; }
.sns-google { background: #4285F4; }

/* ========== フッター — ソフトオーシャン ========== */
.site-footer {
  background: var(--grad-ocean);
  color: rgba(255,255,255,0.9);
  padding: 52px 20px 24px;
}
.footer-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.2fr 1fr 1fr;
  gap: 40px;
}
.logo-img-footer {
  height: 40px;
  margin-bottom: 16px;
  filter: brightness(10);
}
.footer-info {
  font-size: 13px;
  line-height: 1.8;
}
.footer-info .phone {
  font-family: "BIZ UDGothic", sans-serif;
  font-size: 18px;
  font-weight: 500;
  color: #fff;
}
.footer-nav h4,
.footer-links h4 {
  font-size: 13px;
  font-weight: 500;
  color: #fff;
  margin-bottom: 12px;
  padding-bottom: 8px;
  border-bottom: 1px solid rgba(255,255,255,0.2);
  letter-spacing: 0.06em;
}
.footer-nav a,
.footer-links a {
  display: block;
  color: rgba(255,255,255,0.75);
  font-size: 12px;
  padding: 5px 0;
  transition: color 0.2s;
}
.footer-nav a:hover,
.footer-links a:hover { color: #fff; }
.footer-bottom {
  max-width: var(--max-width);
  margin: 32px auto 0;
  padding-top: 20px;
  border-top: 1px solid rgba(255,255,255,0.15);
  text-align: center;
  font-size: 11px;
  color: rgba(255,255,255,0.6);
}

/* ========== ページヘッダー（下層ページ用）— 淡色 ========== */
.page-header {
  background: var(--grad-breeze);
  color: var(--heading);
  padding: 52px 20px;
  text-align: center;
}
.page-header h1 {
  font-size: 30px;
  font-weight: 500;
  margin-bottom: 8px;
  letter-spacing: 0.06em;
}
.page-header p {
  font-size: 16px;
  color: var(--text-sub);
}
.breadcrumb {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 12px 20px;
  font-size: 11px;
  color: var(--text-sub);
}
.breadcrumb a { color: var(--text-sub); }
.breadcrumb a:hover { color: var(--pink); }

/* ========== ページコンテンツ（下層ページ） ========== */
.page-content {
  max-width: 800px;
  margin: 0 auto;
  padding: 52px 20px;
}
.page-content h2 {
  font-size: 24px;
  font-weight: 500;
  color: var(--heading);
  margin: 44px 0 16px;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--border);
}
.page-content h2:first-child { margin-top: 0; }
.page-content h3 {
  font-size: 20px;
  font-weight: 500;
  color: var(--heading);
  margin: 28px 0 12px;
}
.page-content p {
  margin-bottom: 16px;
  line-height: 1.9;
}
.page-content ul, .page-content ol {
  margin: 12px 0 20px 24px;
  list-style: disc;
}
.page-content ol { list-style: decimal; }
.page-content li { margin-bottom: 8px; line-height: 1.8; }

/* ========== 表 ========== */
.table-wrap { overflow-x: auto; margin: 20px 0; }
table {
  width: 100%;
  border-collapse: collapse;
  font-size: 15px;
}
th, td {
  padding: 12px 16px;
  text-align: left;
  border-bottom: 1px solid var(--border);
}
th {
  background: var(--sky-light);
  font-weight: 500;
  color: var(--heading);
  white-space: nowrap;
}

/* ========== DLボタン群 ========== */
.download-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
  margin: 20px 0;
}
.download-btn {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 16px 22px;
  background: var(--bg-white);
  border: 1.5px solid var(--border);
  border-radius: var(--radius);
  color: var(--heading);
  font-weight: 500;
  font-size: 16px;
  transition: all 0.3s;
}
.download-btn:hover {
  border-color: var(--sky);
  box-shadow: var(--shadow);
  transform: translateY(-1px);
}

/* ========== 帳票リスト（表示・ダウンロード並列） ========== */
.form-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.form-row {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 18px 22px;
  background: var(--bg-white);
  border: 1.5px solid var(--border);
  border-radius: var(--radius);
  transition: all 0.3s;
}
.form-row:hover {
  border-color: var(--sky);
  box-shadow: var(--shadow);
}
.form-row-title {
  font-weight: 500;
  font-size: 16px;
  color: var(--heading);
  line-height: 1.5;
}
.form-row-actions {
  display: flex;
  gap: 18px;
  flex-wrap: wrap;
  align-items: center;
}
.form-action-primary {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 9px 22px;
  background: var(--sky-deep);
  color: #fff;
  border-radius: var(--radius-pill);
  font-size: 14px;
  font-weight: 500;
  transition: all 0.2s;
}
.form-action-primary:hover {
  background: #5298D3;
  color: #fff;
  transform: translateY(-1px);
}
.form-action-secondary {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 13.5px;
  color: var(--text-sub);
  text-decoration: underline;
  text-underline-offset: 3px;
  transition: color 0.2s;
}
.form-action-secondary:hover { color: var(--sky-deep); }

@media (min-width: 640px) {
  .form-row {
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
  }
}

/* Webフォーム CTA */
.webform-cta {
  background: var(--grad-mist);
  border-radius: var(--radius-lg);
  padding: 32px 28px;
  text-align: center;
  box-shadow: var(--shadow);
  border: 1px solid var(--border);
}
.webform-cta-badge {
  display: inline-block;
  background: var(--sky-deep);
  color: #fff;
  font-size: 12px;
  font-weight: 700;
  padding: 4px 14px;
  border-radius: var(--radius-pill);
  margin-bottom: 14px;
}
.webform-cta h3 {
  font-size: 21px;
  color: var(--heading);
  margin-bottom: 12px;
}
.webform-cta p {
  font-size: 15px;
  line-height: 1.9;
  color: var(--text);
  max-width: 520px;
  margin: 0 auto 22px;
}

/* ========== フローティング無料相談ボタン ========== */
.floating-consult {
  position: fixed;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  z-index: 998;
}
.floating-consult-btn {
  display: flex;
  align-items: center;
  gap: 10px;
  background: linear-gradient(135deg, #64A9E4 0%, #4A8FCC 100%);
  color: #fff;
  padding: 16px 18px;
  border-radius: 12px 0 0 12px;
  box-shadow: -2px 4px 20px rgba(100, 169, 228, 0.35);
  transition: all 0.3s;
  writing-mode: horizontal-tb;
}
.floating-consult-btn:hover {
  color: #fff;
  padding-right: 24px;
  box-shadow: -4px 6px 28px rgba(100, 169, 228, 0.45);
}
.floating-consult-icon {
  font-size: 22px;
  line-height: 1;
}
.floating-consult-text {
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.floating-consult-label {
  font-size: 11px;
  font-weight: 500;
  opacity: 0.9;
  letter-spacing: 0.06em;
}
.floating-consult-num {
  font-family: "BIZ UDGothic", sans-serif;
  font-size: 18px;
  font-weight: 700;
  letter-spacing: 0.02em;
  line-height: 1.2;
}
.floating-consult-hours {
  font-size: 10px;
  opacity: 0.8;
}

/* ========== モバイル固定フッター ========== */
.mobile-footer-bar {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: rgba(255,255,255,0.95);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-top: 1px solid var(--border);
  padding: 8px 16px;
  z-index: 999;
}
.mobile-footer-bar a {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: var(--pink);
  color: #fff;
  font-weight: 500;
  font-size: 15px;
  padding: 14px;
  border-radius: var(--radius-pill);
  box-shadow: 0 3px 16px rgba(232, 125, 160, 0.25);
}

/* ========== レスポンシブ ========== */
@media (max-width: 768px) {
  /* ナビ: 横スクロール（常時表示） */
  .nav-list {
    justify-content: flex-start;
    padding: 0 8px;
  }
  .nav-list a {
    padding: 12px 14px;
    font-size: 12px;
  }
  /* モバイルではグループラベルを非表示、区切り線のみ残す */
  .nav-list .nav-label { display: none; }
  .nav-list .nav-divider { padding: 0 4px; }
  /* スクロールのヒント — 右端にフェード */
  .site-nav {
    position: relative;
  }
  .site-nav::after {
    content: '';
    position: absolute;
    top: 0; right: 0;
    width: 32px;
    height: 100%;
    background: linear-gradient(90deg, transparent, var(--bg-white));
    pointer-events: none;
  }

  /* ヘッダー */
  .header-phone { display: none; }
  .btn-header-call { display: inline-block; }

  /* ヒーロー */
  .hero { min-height: 400px; }
  .hero-inner { padding: 52px 16px 44px; }
  .hero h1 { font-size: 26px; }
  .hero-sub { font-size: 16px; }

  /* グリッド */
  .features,
  .card-grid,
  .stats { grid-template-columns: 1fr; }
  .card-grid-2 { grid-template-columns: 1fr; }
  .download-grid { grid-template-columns: 1fr; }
  .transport-layout { grid-template-columns: 1fr; }
  .donut-charts { grid-template-columns: 1fr; gap: 24px; }

  /* SNS: モバイルはリンクボタン、QR非表示 */
  .sns-ig-pc { display: none; }
  .sns-ig-mobile { display: inline-flex; }
  .sns-line-pc { display: none; }
  .sns-line-mobile { display: inline-flex; }

  /* CTA帯 */
  .cta-band-inner { flex-direction: column; gap: 20px; }
  .cta-illustration img { width: 120px; }

  /* フッター */
  .footer-inner { grid-template-columns: 1fr; gap: 28px; }

  /* セクション */
  section { padding: 48px 16px; }
  .section-title { font-size: 24px; }

  /* CTA */
  .cta-phone { font-size: 26px; }

  /* モバイル固定フッター */
  .mobile-footer-bar { display: block; }
  .site-footer { padding-bottom: 80px; }

  /* フローティング無料相談 — モバイル: 丸ボタン */
  .floating-consult {
    top: auto;
    bottom: 76px; /* 固定フッターバーの上 */
    transform: none;
  }
  .floating-consult-btn {
    flex-direction: column;
    padding: 14px;
    border-radius: 16px 0 0 16px;
    gap: 4px;
  }
  .floating-consult-icon { font-size: 20px; }
  .floating-consult-text { align-items: center; }
  .floating-consult-label { font-size: 9px; }
  .floating-consult-num { font-size: 11px; }
  .floating-consult-hours { font-size: 9px; }

  /* ページヘッダー */
  .page-header { padding: 36px 16px; }
  .page-header h1 { font-size: 24px; }

  /* テーブル */
  th, td { padding: 10px 12px; font-size: 14px; }
}

@media (max-width: 480px) {
  .hero h1 { font-size: 23px; }
  .btn-primary { font-size: 15px; padding: 12px 24px; }
  .btn-secondary { font-size: 14px; padding: 10px 20px; }
  .stat-number { font-size: 34px; }
  .sns-links { flex-direction: column; align-items: center; }
}
