/* ==========================================================================
   みずほ日和（地域・観光ポータル）— 制作サンプル
   骨組み：波形で切るヒーロー → アイコン付きナビ（スクロールで固定）→ 波形で区切る9節
   ========================================================================== */

/* ---------- 0. 変数・リセット ---------- */
:root {
  --base: #FFFDF7;     /* 地（白） */
  --sky: #BFE3EE;      /* 水色 */
  --leaf: #DCE8C8;     /* 若草 */
  --cream: #FBF1E2;    /* 生成り */
  --ink: #3A3F45;     /* 文字 */
  --accent: #E8793A;   /* 柿色 */
  --teal: #1F6F78;     /* 濃い青緑 */

  --font-head: "Zen Maru Gothic", "Hiragino Maru Gothic ProN", "Yu Gothic", sans-serif;
  --font-body: "Noto Sans JP", "Hiragino Sans", "Yu Gothic", sans-serif;
  --font-en: "Quicksand", "Zen Maru Gothic", sans-serif;

  --sec-pad: clamp(96px, 12vw, 168px);   /* 節の上下の余白 */
  --gutter: 20px;
  --radius: 16px;
  --wave-h: clamp(26px, 5.5vw, 76px);    /* 節の上端の波の高さ */
  --gnav-h: 104px;                       /* ナビの高さ（固定前） */
  --gnav-stuck-h: 68px;                  /* ナビの高さ（固定後） */
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: no-preference) {
  html { scroll-behavior: smooth; }
}
body {
  margin: 0;
  background: var(--base);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 15px;
  line-height: 2;
  overflow-x: clip;
}
@media (min-width: 768px) { body { font-size: 16px; } }

img { display: block; max-width: 100%; height: auto; }
svg { display: block; }
ul, ol { list-style: none; margin: 0; padding: 0; }
h1, h2, h3, h4, p { margin: 0; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; }

h1, h2, h3, h4 { font-family: var(--font-head); text-wrap: balance; line-height: 1.5; }

:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; }

.svg-defs { position: absolute; width: 0; height: 0; overflow: hidden; }

.skip {
  position: absolute; left: 12px; top: -80px; z-index: 200;
  background: var(--teal); color: #fff; padding: 10px 18px; border-radius: 10px;
}
.skip:focus { top: 12px; }

.wrap { width: min(1240px, 100% - var(--gutter) * 2); margin-inline: auto; }
@media (min-width: 768px) { :root { --gutter: 32px; } }

/* 画面には出さず、読み上げには残す */
.vh {
  position: absolute !important; width: 1px; height: 1px; margin: -1px; padding: 0;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

/* ---------- 1. HERO ---------- */
.hero {
  position: relative;
  min-height: 560px;
  height: min(92svh, 960px);
  display: grid;
  place-items: center;
  overflow: hidden;
  background: var(--sky);
  color: #fff;
  isolation: isolate;
}
.hero-slides { position: absolute; inset: 0; z-index: -2; }
.hero-slide {
  position: absolute; inset: 0;
  opacity: 0;
  animation: heroFade 18s infinite;
}
.hero-slide:nth-child(2) { animation-delay: 6s; }
.hero-slide:nth-child(3) { animation-delay: 12s; }
.hero-slide img { width: 100%; height: 100%; object-fit: cover; }

@keyframes heroFade {
  0%   { opacity: 0; transform: scale(1); }
  6%   { opacity: 1; }
  33%  { opacity: 1; }
  39%  { opacity: 0; transform: scale(1.07); }
  100% { opacity: 0; transform: scale(1.07); }
}

.hero-shade {
  position: absolute; inset: 0; z-index: -1;
  background:
    linear-gradient(180deg, rgba(14, 52, 60, .42) 0%, rgba(14, 52, 60, 0) 30%),
    radial-gradient(ellipse at 50% 46%, rgba(14, 52, 60, .34), rgba(14, 52, 60, .06) 70%);
}

/* ヘッダー（ロゴと丸ボタン） */
.site-head {
  position: absolute; top: 0; left: 0; right: 0; z-index: 5;
  display: flex; justify-content: space-between; align-items: flex-start;
  padding: clamp(14px, 2vw, 28px) clamp(14px, 3vw, 44px);
}
.logo { display: flex; align-items: center; gap: 10px; color: #fff; }
.logo-mark { width: 40px; height: 40px; flex: none; }
.logo-text { display: flex; flex-direction: column; line-height: 1.25; }
.logo-text small { font-size: 11px; letter-spacing: .08em; }
.logo-text strong { font-family: var(--font-head); font-size: 20px; font-weight: 900; letter-spacing: .06em; }
.logo-text, .hero-copy { text-shadow: 0 1px 14px rgba(14, 52, 60, .5); }

.head-tools { display: flex; gap: 6px; align-items: center; }
.round-btn {
  width: 40px; height: 40px; border-radius: 50%;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: 1px;
  border: 0; cursor: pointer;
  background: rgba(255, 253, 247, .92);
  color: var(--teal);
  text-shadow: none;
  transition: background-color .2s, color .2s, transform .2s;
}
.round-btn svg { width: 19px; height: 19px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.round-btn span { display: none; font-size: 10px; font-weight: 700; line-height: 1; letter-spacing: .02em; }
.round-btn:hover { background: #fff; transform: translateY(-2px); }
.round-btn--menu { background: var(--teal); color: #fff; }
.round-btn--menu:hover { background: #17565d; }
@media (min-width: 768px) {
  .head-tools { gap: 10px; }
  .round-btn { width: 58px; height: 58px; gap: 3px; }
  .round-btn svg { width: 20px; height: 20px; }
  .round-btn span { display: block; }
  .logo-mark { width: 48px; height: 48px; }
  .logo-text strong { font-size: 24px; }
  .logo-text small { font-size: 12px; }
}

/* タイトル */
.hero-copy { text-align: center; padding: 0 20px clamp(40px, 8vw, 110px); }
.hero-en {
  font-family: var(--font-en); font-weight: 700;
  font-size: clamp(14px, 1.7vw, 22px); letter-spacing: .6em;
  display: flex; align-items: center; justify-content: center; gap: 1.1em;
  margin-bottom: clamp(6px, 1.2vw, 16px);
}
.hero-en::before, .hero-en::after { content: ""; width: clamp(28px, 6vw, 80px); height: 2px; background: currentColor; opacity: .8; }
.hero-en span { margin-right: -.6em; }
.hero-title {
  font-weight: 900;
  font-size: clamp(54px, 11.5vw, 176px);
  letter-spacing: .06em;
  line-height: 1.15;
  text-shadow: 0 2px 30px rgba(14, 52, 60, .5);
}
.hero-lead {
  margin-top: clamp(10px, 1.6vw, 24px);
  font-family: var(--font-head); font-weight: 700;
  font-size: clamp(16px, 2.2vw, 28px); letter-spacing: .14em;
}

/* 点3つ */
.hero-dots {
  position: absolute; right: clamp(16px, 3vw, 44px); bottom: clamp(70px, 10vw, 150px); z-index: 4;
  display: flex; gap: 9px;
}
.hero-dots i { width: 10px; height: 10px; border-radius: 50%; background: #fff; opacity: .45; animation: heroDot 18s infinite; }
.hero-dots i:nth-child(2) { animation-delay: 6s; }
.hero-dots i:nth-child(3) { animation-delay: 12s; }
@keyframes heroDot {
  0%   { opacity: 1; transform: scale(1.35); }
  33%  { opacity: 1; transform: scale(1.35); }
  34%  { opacity: .45; transform: scale(1); }
  100% { opacity: .45; transform: scale(1); }
}
.hero-dots i:first-child { opacity: 1; }

/* 下端の白い波形（SVG） */
.hero-wave { position: absolute; left: 0; right: 0; bottom: -1px; z-index: 3; height: clamp(60px, 9vw, 140px); pointer-events: none; }
.hero-wave svg { width: 100%; height: 100%; }
.hero-wave .w-back { fill: var(--base); opacity: .55; }
.hero-wave .w-front { fill: var(--base); }

/* 動きを減らす設定：1枚目だけ静止して見せる */
@media (prefers-reduced-motion: reduce) {
  .hero-slide, .hero-dots i { animation: none; }
  .hero-slide:first-child { opacity: 1; }
  .hero-dots i:first-child { opacity: 1; transform: scale(1.35); }
}

/* ---------- 2. アイコン付きナビ（主ナビ） ---------- */
.gnav-sentinel { height: 1px; margin-bottom: -1px; }
.gnav-holder { height: calc(var(--gnav-h) * 1.9); background: var(--base); position: relative; z-index: 40; }
.gnav {
  height: 100%;
  background: var(--base);
  display: flex; align-items: stretch;
}
.gnav-list {
  flex: 1;
  display: grid; grid-template-columns: repeat(4, 1fr); grid-auto-rows: 1fr;
}
.gnav-item {
  height: 100%;
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 6px;
  padding: 6px 2px;
  font-family: var(--font-head); font-weight: 700; font-size: 12.5px; line-height: 1.3; text-align: center;
  color: var(--ink);
  border-left: 2px dotted rgba(31, 111, 120, .4);
  transition: color .2s;
}
.gnav-list li:nth-child(4n+1) .gnav-item { border-left: 0; }
.gnav-list li:nth-child(n+5) .gnav-item { border-top: 2px dotted rgba(31, 111, 120, .4); }

.gnav-ico {
  width: 46px; height: 46px; border-radius: 50%;
  display: grid; place-items: center;
  background: var(--sky);
  transition: background-color .25s, transform .25s;
}
.gnav-list li:nth-child(even) .gnav-ico { background: var(--leaf); }
.gnav-ico svg { width: 26px; height: 26px; fill: none; stroke: var(--teal); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; transition: stroke .25s; }
.gnav-item:hover { color: var(--teal); }
.gnav-item:hover .gnav-ico { background: var(--accent); transform: translateY(-3px); }
.gnav-item:hover .gnav-ico svg { stroke: #fff; }

.gnav-menu { display: none; }

@media (min-width: 900px) {
  .gnav-holder { height: var(--gnav-h); }
  .gnav-list { grid-template-columns: repeat(8, 1fr); grid-auto-rows: auto; }
  .gnav-list li .gnav-item { border-top: 0 !important; border-left: 2px dotted rgba(31, 111, 120, .4) !important; padding: 6px 4px; font-size: 14px; }
  .gnav-list li:first-child .gnav-item { border-left: 0 !important; }
  .gnav-ico { width: 52px; height: 52px; }
  .gnav-ico svg { width: 30px; height: 30px; }
  .gnav { padding-inline: clamp(8px, 2vw, 40px); }
}

/* スクロールして固定された状態（JS が .is-stuck を付ける） */
.gnav.is-stuck {
  position: fixed; top: 0; left: 0; right: 0; z-index: 60;
  height: 56px;
  box-shadow: 0 6px 18px rgba(31, 111, 120, .14);
  align-items: center;
}
.gnav.is-stuck::after {
  content: ""; position: absolute; left: 0; right: 0; top: 100%; height: 10px; pointer-events: none;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='28' height='10' viewBox='0 0 28 10'%3E%3Cpath d='M0 0H28V3Q21 10 14 3T0 3Z' fill='%23FFFDF7'/%3E%3C/svg%3E") repeat-x left top / 28px 10px;
}
.gnav.is-stuck .gnav-list { grid-template-columns: repeat(8, 1fr); grid-auto-rows: auto; align-items: center; }
.gnav.is-stuck .gnav-list li .gnav-item { border: 0 !important; padding: 0; flex-direction: row; }
.gnav.is-stuck .gnav-ico { width: 36px; height: 36px; }
.gnav.is-stuck .gnav-ico svg { width: 22px; height: 22px; }
.gnav.is-stuck .gnav-label {
  position: absolute; width: 1px; height: 1px; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap;
}
.gnav.is-stuck .gnav-menu {
  display: flex; flex: none; align-items: center; justify-content: center; gap: 6px;
  width: 42px; height: 42px; margin-left: 4px; border-radius: 50%;
  background: var(--teal); color: #fff;
}
.gnav.is-stuck .gnav-menu svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; }
.gnav.is-stuck .gnav-menu span { display: none; }

@media (min-width: 900px) {
  .gnav.is-stuck { height: var(--gnav-stuck-h); }
  .gnav.is-stuck .gnav-list li .gnav-item { border-left: 2px dotted rgba(31, 111, 120, .4) !important; flex-direction: column; gap: 2px; padding: 4px; font-size: 12px; }
  .gnav.is-stuck .gnav-list li:first-child .gnav-item { border-left: 0 !important; }
  .gnav.is-stuck .gnav-ico { width: 34px; height: 34px; }
  .gnav.is-stuck .gnav-ico svg { width: 21px; height: 21px; }
  .gnav.is-stuck .gnav-label { position: static; width: auto; height: auto; margin: 0; overflow: visible; clip: auto; white-space: normal; }
  .gnav.is-stuck .gnav-menu { width: auto; height: 44px; padding: 0 18px; border-radius: 22px; margin-left: 20px; font-family: var(--font-head); font-weight: 700; font-size: 14px; }
  .gnav.is-stuck .gnav-menu span { display: inline; }
}

/* ---------- 3. 節の共通（波形の区切り・見出しの飾り） ---------- */
.sec {
  position: relative;
  background: var(--bg);
  padding-block: var(--sec-pad);
}
.sec--cream { --bg: var(--cream); }
.sec--base  { --bg: var(--base); }
.sec--sky   { --bg: var(--sky); }
.sec--leaf  { --bg: var(--leaf); }

/* 区切りの技法①：節の上端に、前の節の色で波形を描く（波は3種類を使い分け） */
.wave {
  position: absolute; left: 0; right: 0; top: -1px; z-index: 1;
  height: var(--wave-h);
  color: var(--prev, var(--base));
  pointer-events: none;
}
.wave svg { width: 100%; height: 100%; }
.prev-base  { --prev: var(--base); }
.prev-cream { --prev: var(--cream); }
.prev-sky   { --prev: var(--sky); }
.prev-leaf  { --prev: var(--leaf); }

.sec > .wrap { position: relative; z-index: 2; }

/* 区切りの技法②：見出しの飾り（左右の括弧形の線＋下に波線） */
.sec-head { text-align: center; margin-bottom: clamp(44px, 6vw, 80px); }
.sec-en {
  font-family: var(--font-en); font-weight: 700; font-size: 13px; letter-spacing: .32em;
  color: var(--teal); margin-bottom: 8px; padding-left: .32em;
}
.sec-head h2 {
  display: inline-flex; align-items: center; gap: clamp(12px, 2vw, 24px);
  font-weight: 900; font-size: clamp(26px, 3.6vw, 42px); letter-spacing: .08em;
  max-width: 100%;
}
.sec-head h2::before, .sec-head h2::after {
  content: ""; flex: none; width: 16px; height: clamp(34px, 4vw, 48px);
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='44' viewBox='0 0 16 44'%3E%3Cpath d='M13 3Q3 3 3 13V31Q3 41 13 41' fill='none' stroke='%231F6F78' stroke-width='2.6' stroke-linecap='round'/%3E%3C/svg%3E") no-repeat center / 100% 100%;
}
.sec-head h2::after { transform: scaleX(-1); }
.sec-head::after {
  content: ""; display: block; width: 120px; height: 12px; margin: 16px auto 0;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='30' height='12' viewBox='0 0 30 12'%3E%3Cpath d='M0 6Q7.5 0 15 6T30 6' fill='none' stroke='%23E8793A' stroke-width='2.6' stroke-linecap='round'/%3E%3C/svg%3E") repeat-x center / 30px 12px;
}
.sec-lead { margin-top: 20px; margin-bottom: -4px; font-size: 15px; }

/* 区切りの技法③：はみ出す丸い写真（2か所） */
.dot-photo {
  position: absolute; z-index: 6;
  width: clamp(120px, 15vw, 230px); aspect-ratio: 1; border-radius: 50%;
  overflow: hidden;
  border: clamp(5px, .7vw, 9px) solid #fff;
  bottom: 0; transform: translateY(50%);
}
.dot-photo img { width: 100%; height: 100%; object-fit: cover; }
.dot-photo--br { right: clamp(10px, 6vw, 120px); }
.dot-photo--bl { left: clamp(10px, 6vw, 120px); }

/* ---------- 4. カード共通 ---------- */
.grid { display: grid; gap: clamp(18px, 2.4vw, 32px); }
.card {
  position: relative;
  display: flex; flex-direction: column;
  background: #fff;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid rgba(31, 111, 120, .14);
  height: 100%;
  transition: transform .3s ease, border-color .3s;
}
.card img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; transition: transform .6s ease; }
.card:hover { transform: translateY(-4px); border-color: rgba(31, 111, 120, .35); }
.card:hover img { transform: scale(1.04); }
.card { isolation: isolate; }
.card-body { padding: 18px 22px 24px; display: flex; flex-direction: column; gap: 6px; }
.card-meta { display: flex; align-items: center; flex-wrap: wrap; gap: 8px 12px; font-size: 13px; line-height: 1.6; }
.card-meta time { font-family: var(--font-en); font-weight: 700; letter-spacing: .04em; }
.card-note { font-size: 13px; color: var(--teal); font-weight: 500; }
.card-title { font-weight: 700; font-size: 18px; line-height: 1.55; }
.card-desc { font-size: 14.5px; line-height: 1.85; }
.stretch::after { content: ""; position: absolute; inset: 0; z-index: 2; }
.stretch:focus-visible { outline: none; }
.stretch:focus-visible::after { outline: 3px solid var(--accent); outline-offset: -3px; border-radius: var(--radius); }
.card:hover .card-title a { color: var(--teal); }

/* 分類の札 */
.tag {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 1px 10px 1px 8px; border-radius: 6px;
  font-size: 12px; font-weight: 700; line-height: 1.9; color: var(--ink);
  background: var(--cream);
}
.tag::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--accent); }
.tag--info { background: rgba(191, 227, 238, .55); }
.tag--info::before { background: var(--teal); }
.tag--call { background: var(--leaf); }
.tag--call::before { background: var(--ink); }

.btn {
  display: inline-flex; align-items: center; gap: 12px;
  padding: 16px 30px; border-radius: 14px;
  background: var(--teal); color: #fff;
  font-family: var(--font-head); font-weight: 700; font-size: 16px;
  transition: background-color .25s, transform .25s;
}
.btn svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; transition: transform .25s; }
.btn:hover { background: #17565d; }
.btn:hover svg { transform: translateX(4px); }
.more { text-align: center; margin-top: clamp(36px, 5vw, 60px); }

/* ---------- 5. 新着情報 ---------- */
.grid--news { grid-template-columns: 1fr; }
@media (min-width: 600px) { .grid--news { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1060px) { .grid--news { grid-template-columns: repeat(4, 1fr); } }

/* ---------- 6. いま行きたい（非対称：大1＋小2） ---------- */
.pickup { display: grid; gap: clamp(18px, 2.4vw, 32px); grid-template-columns: 1fr; }
.card--big .card-body { padding: 24px 28px 30px; gap: 10px; }
.card--big .card-title { font-size: clamp(22px, 2.6vw, 32px); }
.card--big .card-desc { font-size: 15.5px; max-width: 36em; }
.stamp {
  position: absolute; z-index: 3; top: 16px; left: 16px;
  width: 78px; height: 78px; border-radius: 50%;
  display: grid; place-items: center; text-align: center;
  background: var(--accent); color: #fff;
  font-family: var(--font-head); font-weight: 900; font-size: 19px; line-height: 1.15;
  transform: rotate(-9deg);
  border: 3px solid #fff;
}
.card--sm img { aspect-ratio: 16 / 10; }
@media (min-width: 900px) {
  .pickup { grid-template-columns: minmax(0, 1.7fr) minmax(0, 1fr); }
  .card--big { grid-row: 1 / span 2; }
  .card--big > img { flex: 1 1 auto; height: 0; min-height: 360px; aspect-ratio: auto; }
}

/* ---------- 7. 見る・遊ぶ・食べる（タブ） ---------- */
.tabs-nav { display: none; }
.js .tabs-nav { display: flex; justify-content: center; gap: 10px; margin-bottom: clamp(28px, 4vw, 48px); flex-wrap: wrap; }
.tab-btn {
  min-width: 112px; padding: 12px 30px 10px;
  border: 0; border-bottom: 4px solid transparent; border-radius: 14px;
  background: rgba(255, 255, 255, .5); color: var(--ink);
  font-family: var(--font-head); font-weight: 700; font-size: 18px; cursor: pointer;
  transition: background-color .2s;
}
.tab-btn:hover { background: rgba(255, 255, 255, .85); }
.tab-btn[aria-selected="true"] { background: #fff; color: var(--teal); border-bottom-color: var(--accent); }
.tab-panel + .tab-panel { margin-top: clamp(48px, 7vw, 88px); }
.js .tab-panel + .tab-panel { margin-top: 0; }
.js .tab-panel[hidden] { display: none; }
.panel-title {
  font-weight: 900; font-size: 24px; color: var(--teal); margin-bottom: 22px;
  display: flex; align-items: center; gap: 14px;
}
.panel-title::after { content: ""; flex: 1; border-top: 3px dotted var(--teal); opacity: .5; }
.js .panel-title { position: absolute; width: 1px; height: 1px; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.grid--spots { grid-template-columns: 1fr; }
@media (min-width: 600px) { .grid--spots { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 980px) { .grid--spots { grid-template-columns: repeat(3, 1fr); } }

/* ---------- 8. モデルコース（横に進む道のり） ---------- */
.course {
  background: #fff; border-radius: 20px;
  padding: clamp(24px, 3vw, 40px);
  display: grid; gap: 28px;
}
.course + .course { margin-top: clamp(20px, 2.6vw, 32px); }
.course-head { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 18px; }
.course-kind { font-family: var(--font-head); font-weight: 900; font-size: 22px; color: var(--teal); }
.course-time { font-family: var(--font-en); font-weight: 700; font-size: 44px; line-height: 1.1; color: var(--accent); }
.course-time span { font-family: var(--font-head); font-size: 15px; color: var(--ink); margin: 0 3px; }
.course-cap { flex-basis: 100%; font-size: 15px; }

.route { counter-reset: none; }
.route li { position: relative; padding: 0 0 30px 44px; }
.route li::before {
  content: ""; position: absolute; left: 0; top: 4px; z-index: 1;
  width: 20px; height: 20px; border-radius: 50%;
  background: #fff; border: 5px solid var(--accent);
}
.route li::after {
  content: ""; position: absolute; left: 8px; top: 28px; bottom: -2px;
  border-left: 3px dotted var(--teal);
}
.route li:last-child { padding-bottom: 0; }
.route li:last-child::after { display: none; }
.r-time { display: block; font-family: var(--font-en); font-weight: 700; font-size: 15px; color: var(--teal); line-height: 1.6; }
.r-name { display: block; font-family: var(--font-head); font-weight: 700; font-size: 17px; line-height: 1.6; }
.r-leg { display: inline-block; margin-top: 4px; font-size: 13px; color: var(--ink); background: var(--leaf); border-radius: 6px; padding: 0 10px; line-height: 1.8; }

@media (min-width: 900px) {
  .course { grid-template-columns: 220px 1fr; align-items: center; gap: 36px; }
  .course-head { display: block; }
  .course-kind { font-size: 24px; }
  .course-time { margin: 4px 0 8px; font-size: 56px; }
  .route { display: flex; }
  .route li { flex: 1; min-width: 0; padding: 34px 6px 0; text-align: center; }
  .route li::before { left: 50%; top: 34px; margin-left: -10px; }
  .route li::after { left: 50%; right: auto; width: 100%; top: 43px; bottom: auto; border-left: 0; border-top: 3px dotted var(--teal); }
  .r-time { position: absolute; top: 0; left: 0; right: 0; }
  .route li::before { top: 34px; }
  .r-name { margin-top: 30px; font-size: 16px; }
  .r-leg { position: absolute; top: 24px; left: 100%; transform: translateX(-50%); margin: 0; white-space: nowrap; z-index: 2; background: transparent; padding: 0; font-size: 12px; line-height: 1.5; }
  .route li:last-child .r-leg { display: none; }
}
@media (min-width: 1100px) {
  .course { grid-template-columns: 250px 1fr; }
}

/* ---------- 9. イベントカレンダー（12か月の帯） ---------- */
.cal { overflow-x: auto; border-radius: 22px; -webkit-overflow-scrolling: touch; }
.cal:focus-visible { outline-offset: 4px; }
.cal-band { display: grid; grid-template-columns: repeat(12, minmax(78px, 1fr)); min-width: 960px; border-radius: 22px; overflow: hidden; }
.m {
  position: relative; display: flex; flex-direction: column; align-items: center;
  padding: 18px 4px 26px; min-height: 320px;
  background: var(--tint, transparent);
}
.m--winter { --tint: rgba(191, 227, 238, .28); }
.m--spring { --tint: rgba(220, 232, 200, .75); }
.m--summer { --tint: rgba(191, 227, 238, .65); }
.m--autumn { --tint: var(--cream); }
.m::before { /* 年を貫く点線 */
  content: ""; position: absolute; left: 0; right: 0; top: 75px; border-top: 2px dotted var(--teal); opacity: .6;
}
.m-num { height: 36px; line-height: 36px; font-family: var(--font-en); font-weight: 700; font-size: 28px; color: var(--teal); }
.m-num small { font-family: var(--font-head); font-size: 13px; margin-left: 2px; color: var(--ink); }
.pin {
  position: relative; z-index: 1;
  width: 12px; height: 12px; margin-top: 16px; border-radius: 50%;
  background: #fff; border: 2px solid rgba(31, 111, 120, .55);
}
.has-ev .pin { width: 20px; height: 20px; margin-top: 12px; background: var(--accent); border: 4px solid #fff; box-shadow: 0 0 0 2px var(--accent); }
.ev {
  margin-top: 20px; writing-mode: vertical-rl;
  font-family: var(--font-head); font-weight: 700; font-size: 16px; letter-spacing: .14em; line-height: 1.5;
}
.ev-date { margin-top: 14px; font-family: var(--font-en); font-weight: 700; font-size: 13px; color: var(--teal); }
.cal-note { margin-top: 18px; font-size: 13px; text-align: center; }

/* ---------- 10. アクセス ---------- */
.routemap { background: #fff; border-radius: 22px; padding: clamp(14px, 2.4vw, 32px); overflow-x: auto; }
.routemap:focus-visible { outline-offset: 4px; }
.routemap svg { width: 100%; min-width: 640px; height: auto; }
.rl { fill: none; stroke-width: 7; stroke-linecap: round; stroke-linejoin: round; }
.rl--train { stroke: var(--teal); }
.rl--bus { stroke: var(--accent); }
.rl--car { stroke: var(--ink); }
.st circle { fill: #fff; stroke: var(--ink); stroke-width: 4; }
.goal { fill: var(--accent); stroke: #fff; stroke-width: 5; }
.t-name { font-family: var(--font-head); font-weight: 700; font-size: 15px; fill: var(--ink); }
.t-leg { font-family: var(--font-body); font-weight: 500; font-size: 13.5px; fill: var(--teal); }
.t-goal { font-family: var(--font-head); font-weight: 900; font-size: 16px; fill: var(--ink); }
.routemap-note { margin-top: 12px; margin-bottom: clamp(32px, 4vw, 52px); }

.tbl-wrap { background: #fff; border-radius: 22px; padding: clamp(8px, 2vw, 20px) clamp(12px, 3vw, 36px); }
.tbl { width: 100%; border-collapse: collapse; font-size: 15px; line-height: 1.8; }
.tbl caption { text-align: left; font-family: var(--font-head); font-weight: 700; font-size: 17px; color: var(--teal); padding: 14px 0 8px; }
.tbl th, .tbl td { padding: 16px 14px; text-align: left; vertical-align: top; border-bottom: 2px dotted rgba(31, 111, 120, .4); }
.tbl thead th { font-size: 13px; color: var(--teal); }
.tbl tbody th { font-family: var(--font-head); font-weight: 900; font-size: 18px; white-space: nowrap; }
.tbl tbody tr:last-child th, .tbl tbody tr:last-child td { border-bottom: 0; }
.t-time { font-family: var(--font-head); font-weight: 900; font-size: 18px; white-space: nowrap; color: var(--accent); }
.t-time { color: var(--ink); }

@media (max-width: 679px) {
  .tbl thead { position: absolute; width: 1px; height: 1px; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); }
  .tbl tr, .tbl th, .tbl td { display: block; }
  .tbl tbody tr { padding: 14px 0; border-bottom: 2px dotted rgba(31, 111, 120, .4); }
  .tbl tbody tr:last-child { border-bottom: 0; }
  .tbl th, .tbl td { border: 0 !important; padding: 2px 6px; }
  .tbl tbody th { display: inline-block; margin-right: 10px; color: var(--teal); }
  .tbl td:nth-child(2) { display: inline-block; }
  .t-time { font-size: 20px; }
}

/* ---------- 11. 関連リンクとお問い合わせ ---------- */
.links { display: grid; gap: 14px; grid-template-columns: 1fr; }
@media (min-width: 760px) { .links { grid-template-columns: repeat(2, 1fr); gap: 18px 24px; } }
.link-btn {
  display: grid; grid-template-columns: 1fr auto; align-items: center; column-gap: 16px;
  padding: 22px 26px; border-radius: 18px;
  background: #fff; color: var(--ink);
  border: 2px solid transparent;
  transition: background-color .25s, color .25s, transform .25s;
}
.link-btn span { grid-column: 1; font-family: var(--font-head); font-weight: 900; font-size: 20px; line-height: 1.4; }
.link-btn small { grid-column: 1; font-size: 13.5px; line-height: 1.6; }
.link-btn svg {
  grid-column: 2; grid-row: 1 / span 2;
  width: 42px; height: 42px; padding: 9px; border-radius: 50%;
  background: var(--sky); fill: none; stroke: var(--teal); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round;
  transition: background-color .25s, stroke .25s, transform .25s;
}
.link-btn:hover { background: var(--teal); color: #fff; transform: translateY(-3px); }
.link-btn:hover svg { background: var(--accent); stroke: #fff; transform: translateX(4px); }

.contact {
  margin-top: clamp(44px, 6vw, 72px); text-align: center;
  background: rgba(255, 253, 247, .6); border-radius: 22px; padding: 28px 20px;
}
.contact h3 { font-weight: 900; font-size: 20px; margin-bottom: 6px; }

/* ---------- 12. FOOTER ---------- */
.footer {
  position: relative; background: var(--teal); color: #fff;
  padding: calc(var(--wave-h) + clamp(56px, 8vw, 100px)) 0 36px;
}
.footer .wave { z-index: 0; }
.footer a:focus-visible { outline-color: #fff; }
.footer-inner { position: relative; z-index: 2; display: grid; gap: 40px; }
@media (min-width: 800px) { .footer-inner { grid-template-columns: 1.3fr 1fr; align-items: start; } }
.footer-logo { display: flex; flex-direction: column; line-height: 1.3; margin-bottom: 8px; }
.footer-logo small { font-size: 13px; letter-spacing: .1em; }
.footer-logo strong { font-family: var(--font-head); font-size: 34px; font-weight: 900; letter-spacing: .08em; }
.footer-addr { margin-top: 20px; font-size: 14px; line-height: 2; }
.footer-nav { display: grid; grid-template-columns: 1fr 1fr; gap: 0 24px; }
.footer-nav li { border-bottom: 2px dotted rgba(255, 255, 255, .4); }
.footer-nav a { display: block; padding: 10px 4px; font-family: var(--font-head); font-weight: 700; font-size: 15px; }
.footer-nav a:hover { text-decoration: underline; text-underline-offset: 4px; }
.footer-bottom { position: relative; z-index: 2; margin-top: clamp(40px, 6vw, 72px); padding-top: 22px; border-top: 1px solid rgba(255, 255, 255, .3); display: grid; gap: 10px; }
.sample-note { font-size: 12.5px; }
.footer-credit { display: flex; flex-wrap: wrap; gap: 6px 24px; font-size: 13px; }
.footer-credit a { text-decoration: underline; text-underline-offset: 4px; }

/* ---------- 13. 全項目メニュー ---------- */
.menu {
  position: fixed; inset: 0; z-index: 100;
  background: rgba(23, 86, 93, .97); color: #fff;
  opacity: 0; visibility: hidden;
  transition: opacity .3s ease, visibility 0s linear .3s;
  overflow-y: auto;
}
.menu:target, .menu.is-open { opacity: 1; visibility: visible; transition-delay: 0s; }
.menu-panel { width: min(1100px, 100% - 40px); margin: 0 auto; padding: clamp(28px, 5vw, 64px) 0 56px; }
.menu-close {
  position: absolute; top: clamp(14px, 2vw, 28px); right: clamp(14px, 3vw, 44px);
  width: 58px; height: 58px; border-radius: 50%;
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px;
  background: var(--base); color: var(--teal); font-size: 10px; font-weight: 700;
}
.menu-close svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; }
.menu-title { font-family: var(--font-head); font-weight: 900; font-size: clamp(26px, 3.4vw, 38px); letter-spacing: .08em; margin-bottom: clamp(24px, 4vw, 48px); padding-right: 70px; }
.menu-title small { font-size: 14px; font-weight: 500; letter-spacing: .1em; margin-left: 12px; }
.menu-cols { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 0 36px; }
.menu-cols section { border-bottom: 2px dotted rgba(255, 255, 255, .4); padding: 18px 0; }
.menu-cols h2 { font-size: 20px; font-weight: 900; margin-bottom: 4px; }
.menu-cols h2 a::after { content: " ›"; color: var(--sky); }
.menu-cols li a { display: block; padding: 3px 0 3px 14px; font-size: 14.5px; position: relative; }
.menu-cols li a::before { content: ""; position: absolute; left: 0; top: 1.05em; width: 6px; height: 6px; border-radius: 50%; background: var(--sky); }
.menu a:hover { text-decoration: underline; text-underline-offset: 4px; }
.menu a:focus-visible { outline-color: #fff; }
body.menu-lock { overflow: hidden; }

/* ---------- 14. スクロールで現れる動き（JS が動いたときだけ隠す） ---------- */
@media (prefers-reduced-motion: no-preference) {
  .js .reveal { opacity: 0; transform: translateY(16px); transition: opacity .6s ease, transform .6s ease; }
  .js .reveal.is-in { opacity: 1; transform: none; }
  .js li.reveal:nth-child(2) { transition-delay: .08s; }
  .js li.reveal:nth-child(3) { transition-delay: .16s; }
  .js li.reveal:nth-child(4) { transition-delay: .24s; }
}
@media (prefers-reduced-motion: reduce) {
  .card, .card img, .round-btn, .gnav-ico, .link-btn, .btn svg { transition: none; }
  .card:hover, .card:hover img { transform: none; }
}

/* ---------- 15. 大きな画面 ---------- */
@media (min-width: 1700px) {
  body { font-size: 17px; }
  .wrap { width: min(1440px, 100% - 128px); }
  .card-title { font-size: 20px; }
  .card-desc { font-size: 15.5px; }
}
