/* ============================================================
   水戸ランニングフェスティバル in 千波湖 2026 — 公式サイト
   Design tokens & styles (handoff hifi reproduction)
   ============================================================ */

:root {
  --paper: #ffffff;   /* ページ背景 */
  --mist:  #fdf3f8;   /* セクション交互の淡い背景 */
  --aqua:  #e64d8b;   /* メイン（ボタン・リンク・強調・キッカー） */
  --teal:  #c01f6e;   /* 引き締め（主見出し・濃い面） */
  --ink:   #0e2a33;   /* 本文 */
  --leaf:  #e066a0;   /* アクセント（面積を絞る） */
  --line:  #f7dde9;   /* 区切り線・カード枠 */
  --sub-on-dark: #f9cfe1; /* 濃色面上のサブ文字 */
  --chip-border: #f2cfe0; /* チップの枠 */
  --footer-bg: #6a1038;   /* フッター背景 */
  --gold:  #e3a93a;   /* 差し色（金）※面積を絞る */

  /* グラデーション（大会の世界観：水→若草／引き締め） */
  --grad-cta:   linear-gradient(135deg, #ff7ab0 0%, #e64d8b 45%, #b81f63 100%);
  --grad-title: linear-gradient(120deg, #ff85b6 0%, #e64d8b 38%, #b01f63 100%);
  --grad-soft:  linear-gradient(135deg, #fde0ec 0%, #fbd0e2 45%, #f7d9e8 100%);

  --maxw: 1120px;
  --radius: 16px;
  --radius-sm: 12px;
  --shadow: 0 10px 30px rgba(192,31,110,.10);
  --shadow-hover: 0 16px 38px rgba(192,31,110,.14);
  --shadow-cta: 0 14px 34px rgba(192,31,110,.40);
}

* { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: 88px;
}

body {
  margin: 0;
  font-family: 'Noto Sans JP', sans-serif;
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

a { color: inherit; text-decoration: none; }

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

@keyframes scrollcue {
  0%   { transform: translateY(0);  opacity: .9; }
  50%  { transform: translateY(8px); opacity: .3; }
  100% { transform: translateY(0);  opacity: .9; }
}

.page { overflow-x: hidden; }

/* ---------- 共通：見出しの型 ---------- */
.kicker {
  display: inline-block;
  font-family: 'Oswald', sans-serif;
  font-size: clamp(16px, 1.7vw, 19px);
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: #fff;
  background: var(--grad-cta);
  font-weight: 600;
  padding: 9px 24px;
  border-radius: 999px;
  margin: 0 0 20px;
  box-shadow: 0 6px 16px rgba(192,31,110,.22);
}
.kicker--leaf { background: linear-gradient(135deg, #ff9ec6 0%, #e0609e 100%); color: #fff; }

.section-title {
  font-size: clamp(28px, 5vw, 60px);
  font-weight: 900;
  line-height: 1.18;
  letter-spacing: -0.04em;
  margin: 0;
  background: var(--grad-title);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.rule { display: none; }

.inner { max-width: var(--maxw); margin: 0 auto; }

.section { padding: clamp(64px, 10vw, 140px) 24px; }
.section--white { background: var(--paper); }
.section--mist  { background: var(--mist); }

/* ---------- reveal アニメ ---------- */
/* 出現アニメは JS が有効なときだけ初期非表示にする（=フェイルオープン）。
   JS が読み込めない/取りこぼしても、内容（写真など）は必ず表示される。 */
.js-anim [data-reveal] {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity .6s ease, transform .6s ease;
}
.js-anim [data-reveal].is-visible { opacity: 1; transform: none; }

/* ---------- ボタン ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-size: 19px;
  font-weight: 700;
  color: #fff;
  background: var(--grad-cta);
  background-size: 160% 160%;
  background-position: 0% 50%;
  padding: 16px 32px;
  border-radius: 999px;
  box-shadow: 0 10px 26px rgba(192,31,110,.28);
  transition: background-position .35s ease, transform .25s ease, box-shadow .25s ease;
}
.btn:hover { background-position: 100% 50%; transform: translateY(-2px); box-shadow: var(--shadow-cta); }
/* 太い矢印アイコン（→）：currentColorで色を継承 */
.arrow {
  display: inline-block;
  width: 1.3em;
  height: 1.3em;
  vertical-align: -0.28em;
  background-color: currentColor;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M3.5 12h14' fill='none' stroke='%23000' stroke-width='3.4' stroke-linecap='round'/%3E%3Cpath d='M13 5.5l6.5 6.5-6.5 6.5' fill='none' stroke='%23000' stroke-width='3.4' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") no-repeat center / contain;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M3.5 12h14' fill='none' stroke='%23000' stroke-width='3.4' stroke-linecap='round'/%3E%3Cpath d='M13 5.5l6.5 6.5-6.5 6.5' fill='none' stroke='%23000' stroke-width='3.4' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") no-repeat center / contain;
}
.btn .arrow { width: 1.35em; height: 1.35em; }

.btn--hero { font-size: 20px; padding: 18px 44px; box-shadow: var(--shadow-cta); }
.btn--hero:hover { transform: translateY(-2px); }

.btn--lg {
  font-size: 21px;
  padding: 20px 52px;
  color: var(--teal);
  background: #fff;
  box-shadow: 0 14px 40px rgba(0,0,0,.18);
}
.btn--lg:hover { transform: translateY(-2px); background: var(--mist); }

.btn--sm {
  font-size: 16px;
  padding: 11px 24px;
  color: #fff;
  background: var(--grad-cta);
  gap: 8px;
}
.btn--sm:hover { background-position: 100% 50%; }

/* ============================================================
   ヘッダー
   ============================================================ */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  background: #fff;
  color: var(--ink);
  box-shadow: 0 6px 24px rgba(192,31,110,.10);
  transition: background .35s ease, color .35s ease, box-shadow .35s ease;
}
.logo img { height: 40px; width: auto; display: block; }
.site-header.is-scrolled {
  background: #fff;
  color: var(--ink);
  box-shadow: 0 6px 24px rgba(192,31,110,.10);
}
.header-inner {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 18px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.logo { display: flex; flex-direction: column; line-height: 1.1; color: inherit; }
.logo__main {
  font-family: 'Oswald', sans-serif;
  font-weight: 700;
  font-size: 18px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}
.logo__sub {
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.18em;
  margin-top: 3px;
  opacity: .85;
}
.nav {
  display: flex;
  align-items: center;
  gap: 24px;
  color: inherit;
}
.nav a { font-size: 14px; font-weight: 700; color: inherit; letter-spacing: .04em; }
.nav a.btn--sm { color: #fff; }

.hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 46px; height: 46px;
  border: none;
  background: transparent;
  cursor: pointer;
  color: inherit;
  padding: 10px;
}
.hamburger span {
  display: block;
  height: 2px;
  background: currentColor;
  border-radius: 2px;
}

/* モバイルメニュー オーバーレイ */
.mobile-menu {
  position: fixed;
  inset: 0;
  z-index: 200;
  background: var(--teal);
  color: #fff;
  display: none;
  flex-direction: column;
  padding: 24px;
}
.mobile-menu.is-open { display: flex; }
.mobile-menu__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.mobile-menu__brand {
  font-family: 'Oswald', sans-serif;
  font-weight: 700;
  font-size: 18px;
  letter-spacing: 0.14em;
}
.mobile-menu__close {
  width: 46px; height: 46px;
  border: none; background: transparent; color: #fff;
  font-size: 30px; cursor: pointer; line-height: 1;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-top: 48px;
}
.mobile-nav a {
  font-size: 22px;
  font-weight: 700;
  padding: 14px 0;
  border-bottom: 1px solid rgba(255,255,255,.16);
}
.mobile-menu__cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin-top: auto;
  font-size: 19px;
  font-weight: 700;
  color: var(--teal);
  background: #fff;
  padding: 18px;
  border-radius: 999px;
}

/* 880px未満：ナビをハンバーガーへ */
@media (max-width: 1080px) {
  .nav { display: none; }
  .hamburger { display: flex; }
}

/* ============================================================
   ヒーロー
   ============================================================ */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}
.hero .hero__media { position: absolute; inset: 0; width: 100%; height: 100%; border-radius: 0; box-shadow: none; }
.hero__media img { width: 100%; height: 100%; object-fit: cover; }
.hero__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(14,42,51,.45) 0%, rgba(14,42,51,.20) 38%, rgba(14,42,51,.62) 100%);
}
.hero__content {
  position: relative;
  z-index: 2;
  max-width: var(--maxw);
  width: 100%;
  padding: 120px 24px 96px;
  text-align: center;
  color: #fff;
}
.hero__kicker {
  font-family: 'Oswald', sans-serif;
  font-size: clamp(15px, 1.9vw, 20px);
  font-weight: 600;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  margin: 0 0 22px;
  color: #fff0f6;
  text-shadow: 0 2px 14px rgba(14,42,51,.55);
}
.hero__title {
  font-size: clamp(34px, 5.4vw, 72px);
  font-weight: 900;
  line-height: 1.16;
  letter-spacing: -0.02em;
  margin: 0;
  text-shadow: 0 3px 18px rgba(14,42,51,.55), 0 1px 3px rgba(14,42,51,.6);
}
.hero__title .in {
  font-family: 'Oswald', sans-serif;
  font-weight: 500;
  font-size: .62em;
  letter-spacing: 0.02em;
}
.hero__catch {
  font-size: clamp(19px, 3vw, 28px);
  font-weight: 700;
  margin: 28px 0 0;
  letter-spacing: .06em;
  opacity: 1;
  text-shadow: 0 2px 16px rgba(14,42,51,.45);
}
.hero__meta {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
  margin: 30px 0 40px;
}
.hero__date {
  display: inline-block;
  font-family: 'Oswald', sans-serif;
  font-size: clamp(36px, 5.4vw, 58px);
  font-weight: 700;
  letter-spacing: .02em;
  padding: 8px 26px;
  border-radius: 16px;
  background: rgba(12,40,49,.34);
  -webkit-backdrop-filter: blur(2px);
  backdrop-filter: blur(2px);
  box-shadow: 0 10px 26px rgba(14,42,51,.30);
  text-shadow: 0 2px 10px rgba(14,42,51,.45);
}
.hero__date .sun { font-size: .60em; font-weight: 600; color: #ffb3d4; margin-left: .15em; }
.hero__divider { display: none; }
.hero__place { font-size: clamp(18px, 2.4vw, 24px); font-weight: 600; }

.hero__sns {
  display: flex;
  width: 100%;
  align-items: center;
  justify-content: center;
  gap: 12px;
  margin: 26px 0 0;
  color: #fff;
  font-size: 18px;
  font-weight: 600;
  letter-spacing: .04em;
  opacity: .95;
  transition: opacity .2s ease, transform .2s ease;
}
.hero__sns svg { display: block; filter: drop-shadow(0 2px 6px rgba(14,42,51,.35)); }
.hero__sns:hover { opacity: 1; transform: translateY(-1px); }

.scrollcue {
  position: absolute;
  bottom: 26px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  color: rgba(255,255,255,.85);
}
.scrollcue span:first-child {
  font-family: 'Oswald', sans-serif;
  font-size: 10px;
  letter-spacing: 0.3em;
}
.scrollcue__line {
  display: block;
  width: 1px;
  height: 40px;
  background: linear-gradient(rgba(255,255,255,.8), rgba(255,255,255,0));
  animation: scrollcue 1.8s ease-in-out infinite;
}

/* ============================================================
   写真スロット（実写真差し替え対応のプレースホルダー）
   ============================================================ */
.photo {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  /* 水面を思わせる淡いグラデーション（写真未設定時の見栄え用） */
  background: linear-gradient(135deg, #fde0ec 0%, #fbd0e2 45%, #f7d9e8 100%);
}
.photo img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.photo__label {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 6px;
  text-align: center;
  padding: 16px;
  color: var(--teal);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .08em;
}
.photo__label::before {
  content: "PHOTO";
  font-family: 'Oswald', sans-serif;
  font-size: 11px;
  letter-spacing: .3em;
  opacity: .6;
}
/* 画像が読み込めたらラベルを隠す */
.photo.has-image .photo__label { display: none; }
.photo.has-image { background: none; }

/* 横長の枠にして上側（空・湖）を見せ、下の道路をカット */
.lake-photo { height: clamp(190px, 30vw, 360px); margin: 56px 0 0; }
.lake-photo img { object-position: center 12%; }
.course-photo { height: clamp(300px, 40vw, 480px); }
/* コース図：クリックで拡大 */
.course-zoomable { display: block; cursor: zoom-in; }
.zoom-hint {
  position: absolute;
  right: 14px;
  bottom: 14px;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .04em;
  color: #fff;
  background: rgba(12,40,49,.62);
  -webkit-backdrop-filter: blur(2px);
  backdrop-filter: blur(2px);
  padding: 8px 16px;
  border-radius: 999px;
  pointer-events: none;
}
.zoom-hint__icon { font-size: 16px; line-height: 1; }
/* 写真未設定（プレースホルダー）時はヒントを隠す */
.course-photo:not(.has-image) .zoom-hint { display: none; }

.course-lightbox {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 300;
  align-items: center;
  justify-content: center;
  padding: clamp(16px, 4vw, 48px);
}
.course-lightbox:target { display: flex; }
.course-lightbox__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(14, 42, 51, .82);
  -webkit-backdrop-filter: blur(3px);
  backdrop-filter: blur(3px);
}
.course-lightbox__panel {
  position: relative;
  z-index: 1;
  width: min(1100px, 100%);
  max-height: 92vh;
}
.course-lightbox__panel img {
  width: 100%;
  height: auto;
  max-height: 92vh;
  object-fit: contain;
  border-radius: var(--radius-sm);
  box-shadow: 0 24px 60px rgba(8,30,37,.5);
}
.course-lightbox__close {
  position: absolute;
  top: -46px;
  right: 0;
  font-size: 36px;
  line-height: 1;
  color: #fff;
  font-weight: 300;
}

/* 円形（ペーサー顔写真） */
.avatar {
  width: 148px;
  height: 148px;
  margin: 0 auto;
  border-radius: 50%;
  box-shadow: none;
}
.avatar .photo__label { font-size: 11px; }

/* ============================================================
   コンセプト
   ============================================================ */
.lead { max-width: 760px; }
.concept-sub {
  font-size: clamp(17px, 2.2vw, 20px);
  font-weight: 700;
  color: var(--aqua);
  margin: 24px 0 0;
  letter-spacing: .02em;
}
.body-text {
  font-size: 17px;
  line-height: 1.95;
  color: var(--ink);
  margin: 28px 0 0;
  max-width: 40em;
}
.concept-hero-title {
  font-size: clamp(34px, 6vw, 68px);
  font-weight: 900;
  line-height: 1.18;
  letter-spacing: -0.02em;
  margin: 0;
  background: var(--grad-title);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.prep-block { max-width: 780px; margin: clamp(64px, 9vw, 120px) 0 0; }
.prep-block .section-title { line-height: 1.22; }
.prep-sub {
  font-size: clamp(18px, 2.4vw, 22px);
  font-weight: 700;
  color: var(--ink);
  margin: 16px 0 0;
  line-height: 1.6;
}
.prep-note {
  font-size: 15px;
  line-height: 1.9;
  color: var(--ink);
  opacity: .7;
  margin: 18px 0 0;
}
.prep-block .body-text strong { color: var(--teal); }

/* テーパリングとは？ 解説ボックス */
.taper-note {
  position: relative;
  margin: 28px 0 0;
  background: var(--mist);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 24px 28px 24px 32px;
  overflow: hidden;
}
.taper-note::before {
  content: "";
  position: absolute;
  left: 0; top: 0; bottom: 0;
  width: 6px;
  background: var(--grad-cta);
}
.taper-note__label {
  display: inline-block;
  font-size: clamp(21px, 2.6vw, 26px);
  font-weight: 900;
  margin: 0 0 12px;
  background: var(--grad-title);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.taper-note p:last-child {
  font-size: 16px;
  line-height: 1.9;
  color: var(--ink);
  margin: 0;
}
.taper-note strong { color: var(--teal); }

.two-col {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 28px;
  margin: 48px 0 0;
}
.distance-card {
  background: var(--mist);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: clamp(28px, 3.4vw, 40px);
  box-shadow: 0 8px 24px rgba(192,31,110,.07);
  text-align: center;
}
.distance-card__tag {
  display: inline-block;
  font-family: 'Oswald', sans-serif;
  font-size: clamp(24px, 3vw, 34px);
  font-weight: 700;
  letter-spacing: 0.06em;
  line-height: 1;
  color: #fff;
  background: var(--aqua);
  padding: 12px 30px;
  border-radius: 999px;
  box-shadow: 0 8px 20px rgba(192,31,110,.22);
}
.distance-card__tag--km30 { background: var(--grad-cta); }
.distance-card__tag--half { background: var(--grad-cta); }
.distance-card h3 {
  font-size: clamp(26px, 3.4vw, 38px);
  font-weight: 900;
  color: var(--teal);
  margin: 18px 0 0;
  line-height: 1.32;
}
.distance-card p {
  font-size: 16px;
  line-height: 1.9;
  color: var(--ink);
  margin: 20px 0 0;
  text-align: left;
}
.distance-card .chips { justify-content: center; }
.chips-label {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.14em;
  color: var(--aqua);
  margin: 24px 0 12px;
}
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip {
  font-size: 13px;
  font-weight: 500;
  color: var(--teal);
  background: #fff;
  border: 1px solid var(--chip-border);
  padding: 7px 14px;
  border-radius: 999px;
}

.callout {
  margin: 40px 0 0;
  background: var(--teal);
  border-radius: var(--radius);
  padding: clamp(32px, 4vw, 48px);
  color: #fff;
}
.callout p {
  font-size: clamp(17px, 2.2vw, 22px);
  font-weight: 700;
  line-height: 1.8;
  margin: 0;
  letter-spacing: .01em;
}
.callout span { color: var(--sub-on-dark); }

/* ============================================================
   ゲストペーサー
   ============================================================ */
.pacer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 24px;
  margin: 48px 0 0;
}
.pacer-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 36px 28px;
  text-align: center;
  box-shadow: 0 10px 30px rgba(192,31,110,.06);
}
.pacer-card h3 {
  font-size: 21px;
  font-weight: 900;
  color: var(--ink);
  margin: 24px 0 0;
}
.pacer-card .role {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.1em;
  color: var(--aqua);
  margin: 8px 0 0;
}
.pacer-sns {
  display: inline-flex;
  margin: 6px 0 0;
  transition: transform .2s ease;
}
.pacer-sns:hover { transform: translateY(-2px); }
.pacer-sns svg { display: block; width: 42px; height: 42px; filter: drop-shadow(0 4px 10px rgba(192,31,110,.20)); }

.pace-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
  align-items: start;
  margin: 32px 0 0;
}
.pace-list {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 32px;
}
.pace-list__title {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 22px;
  font-weight: 800;
  letter-spacing: 0.04em;
  color: var(--teal);
  margin: 0 0 20px;
  padding-bottom: 16px;
  border-bottom: 2px solid rgba(214,80,140, 0.18);
}
.pace-list__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  flex: 0 0 auto;
  border-radius: 50%;
  background: rgba(214,80,140, 0.10);
  color: var(--teal);
}
.pace-list__icon svg { width: 22px; height: 22px; }
.pace-list ul { list-style: none; margin: 0; padding: 0; }
.pace-list li {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 15px 0;
  border-bottom: 1px solid var(--line);
}
.pace-list li:last-child { border-bottom: none; }
.pace-list .num {
  font-family: 'Oswald', sans-serif;
  font-size: 25px;
  font-weight: 600;
  color: var(--aqua);
  width: 40px;
}
.pace-list .val { font-size: 24px; font-weight: 700; color: var(--ink); }

.notice {
  background: var(--teal);
  border-radius: var(--radius);
  padding: 32px;
  color: #fff;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.notice__label {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.16em;
  color: var(--sub-on-dark);
  margin: 0 0 12px;
}
.notice p { font-size: 17px; line-height: 1.85; font-weight: 700; margin: 0; }

/* ============================================================
   大会概要
   ============================================================ */
.overview-dl { margin: 48px 0 0; }
.overview-dl .row {
  display: grid;
  grid-template-columns: 200px 1fr;
  gap: 24px;
  padding: 22px 0;
  border-top: 1px solid var(--line);
}
.overview-dl .row:last-child { border-bottom: 1px solid var(--line); }
.overview-dl dt { font-size: 17px; font-weight: 700; color: var(--teal); }
.overview-dl dd { margin: 0; font-size: clamp(19px, 2.4vw, 22px); font-weight: 500; color: var(--ink); line-height: 1.7; }

@media (max-width: 560px) {
  .overview-dl .row { grid-template-columns: 1fr; gap: 6px; }
}

/* ============================================================
   種目・参加料
   ============================================================ */
.event-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 24px;
  margin: 48px 0 0;
}
.event-card {
  position: relative;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 32px 32px 32px;
  box-shadow: 0 10px 28px rgba(192,31,110,.12);
  overflow: hidden;
  transition: transform .25s ease, box-shadow .25s ease;
}
.event-card::before {
  content: "";
  position: absolute;
  left: 0; right: 0; top: 0;
  height: 5px;
  background: var(--grad-cta);
}
.event-card:hover { transform: translateY(-6px); box-shadow: 0 18px 40px rgba(192,31,110,.18); }
.event-card__num {
  font-family: 'Oswald', sans-serif;
  font-size: 44px;
  font-weight: 700;
  line-height: 1;
  background: var(--grad-title);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.event-card h3 {
  font-size: 22px;
  font-weight: 900;
  color: var(--ink);
  margin: 14px 0 0;
}
.event-card h3 .tag { font-size: 14px; color: var(--teal); }
.event-card dl { margin: 22px 0 0; }
.event-card .row {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 11px 0;
  border-top: 1px solid var(--line);
}
.event-card dt { font-size: 15px; color: var(--teal); font-weight: 700; white-space: nowrap; flex-shrink: 0; }
.event-card dd { margin: 0; font-size: 16px; text-align: right; color: var(--ink); }
.event-card .num-font { font-size: 23px; font-weight: 700; line-height: 1; }
.num-font { font-family: 'Oswald', sans-serif; font-weight: 600; }
.event-card__discount {
  font-size: clamp(20px, 2.8vw, 26px);
  font-weight: 800;
  color: #db5896;
  margin: 18px 0 0;
  letter-spacing: .01em;
}
.event-card__note { font-size: 18px; font-weight: 700; color: var(--teal); opacity: 1; margin: 16px 0 0; }

.discount-note {
  display: flex;
  gap: 18px;
  align-items: flex-start;
  margin: 28px 0 0;
  background: #fff;
  border: 1px solid var(--chip-border);
  border-left: 4px solid var(--leaf);
  border-radius: var(--radius-sm);
  padding: 24px 28px;
}
.discount-note .label {
  display: inline-block;
  font-size: clamp(17px, 2.2vw, 20px);
  font-weight: 800;
  letter-spacing: 0.04em;
  color: #fff;
  background: linear-gradient(135deg, #ff9ec6 0%, #db5896 100%);
  padding: 8px 20px;
  border-radius: 999px;
  margin: 0 0 14px;
  box-shadow: 0 6px 16px rgba(224,102,160,.28);
}
.discount-note p {
  font-size: 15px;
  line-height: 1.85;
  color: var(--ink);
  margin: 0;
}
.discount-note strong { color: var(--teal); }

/* ============================================================
   3kmのご案内（はじめて・親子）
   ============================================================ */
.section--family {
  background: linear-gradient(135deg, #eef9f3 0%, #e9f6fb 55%, #eef9f3 100%);
}
.family-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 28px;
  margin: 44px 0 0;
}
.family-card {
  position: relative;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: clamp(28px, 3.4vw, 40px);
  box-shadow: 0 10px 28px rgba(192,31,110,.10);
  overflow: hidden;
}
.family-card::before {
  content: "";
  position: absolute;
  left: 0; right: 0; top: 0;
  height: 5px;
  background: var(--grad-cta);
}
.family-card--green::before { background: linear-gradient(135deg, #ff9ec6 0%, #db5896 100%); }
.family-card__tag {
  display: block;
  width: fit-content;
  max-width: 100%;
  margin: 0 auto;
  text-align: center;
  white-space: nowrap;
  font-size: clamp(20px, 2.4vw, 26px);
  font-weight: 800;
  letter-spacing: 0;
  color: #fff;
  background: var(--grad-cta);
  padding: 11px 16px;
  border-radius: 999px;
  box-shadow: 0 8px 18px rgba(192,31,110,.24);
}
.family-card__tag--family { background: linear-gradient(135deg, #ff9ec6 0%, #db5896 100%); }
.family-card h3 {
  font-size: clamp(23px, 2.9vw, 30px);
  font-weight: 900;
  color: var(--teal);
  line-height: 1.4;
  margin: 20px 0 0;
}
.family-card__target {
  font-size: clamp(16px, 2vw, 19px);
  font-weight: 700;
  color: var(--aqua);
  margin: 14px 0 0;
}
.family-list {
  margin: 22px 0 0;
  padding: 0;
  list-style: none;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 14px 24px;
}
.family-list li {
  position: relative;
  padding-left: 32px;
  font-size: clamp(16px, 1.9vw, 18px);
  line-height: 1.65;
  color: var(--ink);
}
.family-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: .2em;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--grad-cta);
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Ccircle cx='12' cy='12' r='12' fill='%23000'/%3E%3C/svg%3E") no-repeat center / contain;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Ccircle cx='12' cy='12' r='12' fill='%23000'/%3E%3C/svg%3E") no-repeat center / contain;
}
.family-list li::after {
  content: "";
  position: absolute;
  left: 5px;
  top: calc(.2em + 6px);
  width: 10px;
  height: 6px;
  border-left: 2.4px solid #fff;
  border-bottom: 2.4px solid #fff;
  transform: rotate(-45deg);
}
.family-card--green .family-list li::before { background: linear-gradient(135deg, #ff9ec6 0%, #db5896 100%); }
.family-list strong { color: var(--teal); font-weight: 800; }

/* ============================================================
   見どころ
   ============================================================ */
.highlight-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 28px;
  margin: 48px 0 0;
}
.highlight-card {
  position: relative;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: clamp(28px, 3.4vw, 40px);
  box-shadow: 0 8px 24px rgba(192,31,110,.07);
  overflow: hidden;
}
.highlight-card::before {
  content: "";
  position: absolute;
  left: 0; top: 0; bottom: 0;
  width: 6px;
  background: var(--grad-cta);
}
.highlight-card__num {
  display: inline-block;
  font-family: 'Oswald', sans-serif;
  font-size: 30px;
  font-weight: 700;
  letter-spacing: 0.04em;
  line-height: 1;
  background: var(--grad-title);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.highlight-card h3 {
  font-size: clamp(20px, 2.2vw, 25px);
  font-weight: 900;
  color: var(--teal);
  margin: 8px 0 0;
  line-height: 1.45;
}
.highlight-card > p {
  font-size: 16px;
  line-height: 1.9;
  color: var(--ink);
  margin: 20px 0 0;
}
.aid-box {
  margin: 24px 0 0;
  display: grid;
  gap: 16px;
}
.aid-item {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  padding: 18px 20px;
}
.aid-item__icon {
  flex-shrink: 0;
  width: 54px;
  height: 54px;
  border-radius: 50%;
  background: var(--grad-cta);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 6px 16px rgba(192,31,110,.22);
}
.aid-item__body { min-width: 0; }
.aid-item__h { font-size: 19px; font-weight: 800; color: var(--teal); margin: 0; }
.aid-item__v { font-size: 15px; color: var(--ink); margin: 5px 0 0; line-height: 1.7; }
.aid-item__list {
  margin: 8px 0 0;
  padding: 0;
  list-style: none;
}
.aid-item__list li {
  position: relative;
  padding-left: 16px;
  font-size: 15px;
  line-height: 1.85;
  color: var(--ink);
}
.aid-item__list li::before {
  content: "・";
  position: absolute;
  left: 0;
  color: var(--aqua);
  font-weight: 700;
}
.aid-item__note {
  font-size: 13px;
  color: var(--ink);
  opacity: .6;
  margin: 10px 0 0;
  line-height: 1.6;
}

.bullet-list {
  list-style: none;
  margin: 24px 0 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.bullet-list li { display: flex; gap: 14px; align-items: flex-start; }
.bullet-list .dot {
  flex: none;
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--aqua);
  margin-top: 8px;
}
.bullet-list .dot--leaf { background: var(--leaf); }
.bullet-list span:last-child { font-size: 16px; line-height: 1.8; color: var(--ink); }

/* ============================================================
   コース
   ============================================================ */
.course-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: clamp(32px, 5vw, 64px);
  align-items: center;
}
.course-grid .body-text { max-width: none; }
.course-grid .bullet-list { margin-top: 32px; }
.course-grid .bullet-list span:last-child { line-height: 1.7; }

/* ============================================================
   エントリー CTA
   ============================================================ */
.entry {
  background: linear-gradient(135deg, #e64d8b 0%, #c01f6e 55%, #0c5e72 100%);
  padding: clamp(72px, 9vw, 120px) 24px;
  color: #fff;
  text-align: center;
}
.entry__inner { max-width: 780px; margin: 0 auto; }
.entry .kicker { background: #fff; color: var(--teal); }
.entry h2 {
  font-size: clamp(30px, 4.6vw, 52px);
  font-weight: 900;
  line-height: 1.25;
  letter-spacing: -0.01em;
  margin: 0;
}
.entry__period { font-size: 17px; line-height: 1.85; margin: 24px 0 0; opacity: .92; }
.entry .btn--lg { margin: 40px 0 0; }
.entry__fine { font-size: 13px; line-height: 1.9; margin: 40px 0 0; opacity: .72; }

/* ============================================================
   フッター
   ============================================================ */
.footer {
  background: var(--footer-bg);
  color: #fff;
  padding: clamp(56px, 7vw, 88px) 24px 40px;
}
.footer__brand {
  display: flex;
  flex-direction: column;
  line-height: 1.1;
  margin-bottom: 48px;
}
.footer__logo { width: 104px; height: auto; display: block; margin-bottom: 14px; }
.footer__brand .main {
  font-family: 'Oswald', sans-serif;
  font-weight: 700;
  font-size: 24px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}
.footer__brand .sub {
  font-size: 16px;
  font-weight: 500;
  letter-spacing: 0.14em;
  margin-top: 8px;
  opacity: .9;
}
.footer__cols {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 36px;
  border-top: 1px solid rgba(255,255,255,.14);
  padding-top: 40px;
}
.footer__cols .label {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.16em;
  color: var(--sub-on-dark);
  margin: 0 0 12px;
}
.footer__cols p:last-child { font-size: 18px; line-height: 1.8; margin: 0; }
.footer__copy {
  font-size: 12px;
  opacity: .55;
  margin: 48px 0 0;
  letter-spacing: .03em;
}

/* ============================================================
   お知らせ（News）
   ============================================================ */
.news-list {
  display: grid;
  gap: 16px;
  margin: 48px 0 0;
  max-width: 860px;
}
.news-item {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 140px;
  gap: 24px;
  align-items: center;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 24px 28px 24px 34px;
  overflow: hidden;
  box-shadow: 0 6px 18px rgba(192,31,110,.06);
  transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}
/* 左端のアクセントバー（各項目を際立たせる） */
.news-item::before {
  content: "";
  position: absolute;
  left: 0; top: 0; bottom: 0;
  width: 6px;
  background: var(--grad-cta);
}
.news-item:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-hover);
  border-color: transparent;
}
.news-body time {
  display: inline-block;
  font-family: 'Oswald', sans-serif;
  font-size: 18px;
  font-weight: 600;
  letter-spacing: .05em;
  color: var(--teal);
}
.news-body h3 {
  font-size: 21px;
  font-weight: 800;
  color: var(--ink);
  line-height: 1.55;
  margin: 6px 0 0;
}
.news-photo {
  position: relative;
  width: 140px;
  aspect-ratio: 4 / 3;
  margin: 0;
  border-radius: var(--radius-sm);
  overflow: hidden;
  background: linear-gradient(135deg, #fde0ec 0%, #fbd0e2 45%, #f7d9e8 100%);
}
.news-photo img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
}
/* 画像があるときは背景を白にして、写真全体をきちんと収める */
.news-photo:has(img) { background: #fff; }
/* 画像があるときは「写真」のプレースホルダー文字を消す */
.news-photo:has(img) .news-photo__label { display: none; }
.news-photo__label {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .2em;
  color: var(--teal);
}
.news-more { margin: 40px 0 0; text-align: center; }
.text-link {
  font-size: 15px;
  font-weight: 700;
  color: var(--aqua);
  transition: color .25s ease;
}
.text-link:hover { color: var(--teal); }
.text-link .arrow { font-family: 'Oswald', sans-serif; }
/* お知らせ「すべて見る」グラデーション・ピルボタン */
.news-more .text-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: #fff;
  background: var(--grad-cta);
  background-size: 160% 160%;
  background-position: 0% 50%;
  padding: 15px 42px;
  border-radius: 999px;
  box-shadow: 0 10px 26px rgba(192,31,110,.28);
  transition: background-position .35s ease, transform .25s ease, box-shadow .25s ease;
}
.news-more .text-link:hover {
  color: #fff;
  background-position: 100% 50%;
  transform: translateY(-2px);
  box-shadow: var(--shadow-cta);
}

@media (max-width: 640px) {
  /* スマホは一覧は写真なし・文字だけ。タップで開くポップアップには写真を表示する */
  .news-item { grid-template-columns: 1fr; gap: 8px; }
  .news-photo { display: none; }
}

/* お知らせ拡大ポップアップ（:target 表示） */
.news-lightbox {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 300;
  align-items: center;
  justify-content: center;
  padding: 24px;
}
.news-lightbox:target { display: flex; }
.news-lightbox-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(14, 42, 51, .6);
}
.news-lightbox-panel {
  position: relative;
  z-index: 1;
  width: min(560px, 100%);
  max-height: 86vh;
  overflow: auto;
  background: #fff;
  border-radius: var(--radius);
  padding: 28px;
  box-shadow: 0 24px 60px rgba(14, 42, 51, .3);
}
.news-lightbox-close {
  position: absolute;
  top: 12px;
  right: 16px;
  font-size: 28px;
  line-height: 1;
  color: var(--teal);
  font-weight: 400;
}
.news-lightbox-photo {
  position: relative;
  margin: 0 0 20px;
  width: 100%;
  border-radius: var(--radius-sm);
  overflow: hidden;
}
/* 写真は切り抜かず、本来の縦横比のまま全体を表示する */
.news-lightbox-photo img {
  display: block;
  width: 100%;
  height: auto;
}
/* 画像があるときはプレースホルダーの「写真」ラベルを隠す */
.news-lightbox-photo:has(img) .news-photo__label { display: none; }
/* 画像が無いときだけ枠（16:9のプレースホルダー）を出す */
.news-lightbox-photo:not(:has(img)) {
  aspect-ratio: 16 / 9;
  background: linear-gradient(135deg, #fde0ec 0%, #fbd0e2 45%, #f7d9e8 100%);
}
.news-lightbox-photo .news-photo__label { font-size: 12px; }
.news-lightbox-caption time {
  font-family: 'Oswald', sans-serif;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: .04em;
  color: var(--aqua);
}
.news-lightbox-caption h3 {
  font-size: 20px;
  font-weight: 900;
  color: var(--teal);
  margin: 8px 0 0;
  line-height: 1.5;
}
.news-lightbox-caption p {
  font-size: 16px;
  line-height: 1.9;
  color: var(--ink);
  margin: 14px 0 0;
}
/* 本文中のリンク（URL自動リンク）：色付き・下線・長いURLでも折り返す */
.news-lightbox-caption a {
  color: var(--aqua);
  text-decoration: underline;
  word-break: break-all;
}
.news-lightbox-caption a:hover { color: var(--teal); }

/* PC用／スマホ用の文章出し分け（既定はPC用を表示・スマホ用は隠す） */
.sp-only { display: none; }
.sp-br { display: none; }
/* 改行させたくない語句のまとまり（スマホで中途半端に折り返さないため） */
.nw { display: inline-block; }
/* サブページのヘッダー「← トップへ戻る」は折り返さない */
.news-page-header .back, .sub-page-header .back { white-space: nowrap; flex: none; }
/* お知らせのスワイプ案内は既定で非表示（スマホで2件以上のときだけ表示する） */
.swipe-hint--news { display: none; }

/* ============================================================
   スマホ：見出しの改行＆文章量の調整（PCは詳しく／スマホは要点）
   ============================================================ */
@media (max-width: 600px) {
  .pc-only { display: none !important; }
  .sp-only { display: block !important; }
  .sp-br { display: inline; }
  .hero__title { font-size: clamp(38px, 11vw, 54px); line-height: 1.2; }
  .hero__catch { font-size: clamp(15px, 4vw, 19px); }
  .hero__date { font-size: clamp(32px, 9vw, 44px); padding: 7px 20px; }
  .hero__place { font-size: clamp(15px, 4vw, 18px); }
  /* スマホ：全タイトルを同一サイズに統一（prep/courseの個別指定は撤去）。
     長い見出し（「たかはぎ駅伝競走大会」10文字）が1行に収まる範囲で、実機で目立つ大きさに引き上げ */
  .section-title { font-size: clamp(24px, 8vw, 38px); }
  /* スマホ：見出しと中身の余白を少し詰めてリズムを整える */
  .overview-dl, .event-grid, .pacer-grid, .highlight-grid, .two-col { margin-top: 32px; }
  .callout, .discount-note, .pace-grid { margin-top: 28px; }
  .section { padding: 56px 22px; }
  .concept-hero-title { font-size: clamp(32px, 10vw, 52px); }

  /* スマホ：カードを横スライド（縦に並べるとページが長くなりすぎるため右へスワイプ） */
  .swipe-hint {
    margin: 18px 0 0;
    font-size: 13px;
    font-weight: 700;
    color: var(--teal);
    letter-spacing: .02em;
    text-align: center;
  }
  .swipe-hint .arrow-l,
  .swipe-hint .arrow-r { display: inline-block; font-size: 16px; vertical-align: -1px; animation: swipe-hint-nudge 1.4s ease-in-out infinite; }
  .swipe-hint .arrow-r { animation-delay: .2s; }
  @keyframes swipe-hint-nudge {
    0%, 100% { transform: translateX(0); opacity: .5; }
    50% { transform: translateX(3px); opacity: 1; }
  }
  /* 横スライドの共通レイアウト（種目／魅力／お知らせ） */
  .event-grid,
  .highlight-grid,
  .news-list {
    display: flex;
    flex-wrap: nowrap;
    grid-template-columns: none;
    gap: 14px;
    margin-top: 14px;
    max-width: none;
    /* セクション左右パディング(22px)を打ち消し、画面端まで使ってスクロール */
    margin-left: -22px;
    margin-right: -22px;
    padding: 6px 22px 18px;
    overflow-x: auto;
    overflow-y: hidden;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
  }
  .event-grid::-webkit-scrollbar,
  .highlight-grid::-webkit-scrollbar,
  .news-list::-webkit-scrollbar { display: none; }
  .event-card,
  .highlight-card,
  .news-item {
    flex: 0 0 80%;
    max-width: 340px;
    scroll-snap-align: center;
  }
  .highlight-card { flex-basis: 82%; max-width: 360px; }
  /* 横スクロール時はホバーで浮き上がる演出を切る（タップ時のガタつき防止） */
  .event-card:hover { transform: none; box-shadow: 0 10px 28px rgba(192,31,110,.12); }
  .news-item:hover { transform: none; box-shadow: 0 6px 18px rgba(192,31,110,.06); }

  /* お知らせカード：縦組みのカード型に（写真があるものだけ写真を上に表示） */
  .news-item {
    grid-template-columns: none;
    display: flex;
    flex-direction: column-reverse;
    gap: 14px;
    min-height: 112px;
    padding: 22px 24px 24px 30px;
  }
  .news-item .news-photo:has(img) {
    display: block;
    width: 100%;
    aspect-ratio: 16 / 9;
  }
  /* お知らせのスワイプ案内は「2件以上あるとき」だけ表示する */
  .news-section:has(.news-item ~ .news-item) .swipe-hint--news { display: block; }
  /* スマホ：ボタン・見出しが中途半端に折り返さないよう少し小さく */
  .btn { font-size: 17px; padding: 15px 22px; gap: 8px; }
  .highlight-card h3 { font-size: 19px; }
  .news-body h3 { font-size: 19px; }
  .footer__brand .sub { letter-spacing: .04em; }
  body .news-page-header .inner, body .sub-page-header .inner { padding-left: 16px; padding-right: 16px; }
  body .news-page-header .logo__sub, body .sub-page-header .logo__sub { letter-spacing: .02em; font-size: 10.5px; white-space: nowrap; }
}

/* ============================================================
   エントリー受付準備中ポップアップ
   ============================================================ */
.entry-modal {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  opacity: 0;
  visibility: hidden;
  transition: opacity .25s ease, visibility .25s ease;
}
.entry-modal.is-open { opacity: 1; visibility: visible; }
.entry-modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(8,30,37,.55);
  -webkit-backdrop-filter: blur(3px);
  backdrop-filter: blur(3px);
}
.entry-modal__box {
  position: relative;
  width: min(440px, 100%);
  background: #fff;
  border-radius: var(--radius);
  padding: clamp(32px, 5vw, 48px) clamp(26px, 4vw, 40px);
  text-align: center;
  box-shadow: 0 24px 60px rgba(8,30,37,.4);
  transform: translateY(12px) scale(.98);
  transition: transform .25s ease;
}
.entry-modal.is-open .entry-modal__box { transform: translateY(0) scale(1); }
.entry-modal__kicker {
  display: inline-block;
  font-family: 'Oswald', sans-serif;
  font-size: 13px;
  letter-spacing: 0.18em;
  color: #fff;
  background: var(--grad-cta);
  font-weight: 600;
  padding: 7px 18px;
  border-radius: 999px;
  margin: 0 0 18px;
}
.entry-modal__box h3 {
  font-size: clamp(20px, 3vw, 24px);
  font-weight: 900;
  color: var(--teal);
  margin: 0 0 14px;
  line-height: 1.5;
}
.entry-modal__text {
  font-size: 16px;
  line-height: 1.9;
  color: var(--ink);
  margin: 0 0 28px;
}
.entry-modal__text strong { color: var(--aqua); }
.entry-modal__close {
  font-size: 16px;
  font-weight: 700;
  color: #fff;
  background: var(--grad-cta);
  background-size: 160% 160%;
  background-position: 0% 50%;
  border: none;
  cursor: pointer;
  padding: 13px 40px;
  border-radius: 999px;
  box-shadow: 0 10px 26px rgba(192,31,110,.28);
  transition: background-position .35s ease, transform .25s ease;
}
.entry-modal__close:hover { background-position: 100% 50%; transform: translateY(-2px); }

/* ============================================================
   お問い合わせ
   ============================================================ */
.contact-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 28px;
  margin: 44px 0 0;
  align-items: start;
}
.contact-info {
  background: var(--mist);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: clamp(26px, 3.4vw, 38px);
}
.contact-info__h, .contact-form__h {
  font-size: clamp(19px, 2.4vw, 23px);
  font-weight: 800;
  letter-spacing: .03em;
  color: var(--teal);
  margin: 0 0 18px;
}
.contact-tel {
  display: inline-flex;
  align-items: center;
  gap: 13px;
  color: var(--teal);
}
.contact-tel__icon {
  width: 46px;
  height: 46px;
  flex-shrink: 0;
  border-radius: 50%;
  background: var(--grad-cta);
  color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 6px 16px rgba(192,31,110,.22);
}
.contact-tel .num-font {
  font-size: clamp(28px, 4.6vw, 38px);
  font-weight: 700;
  letter-spacing: .01em;
}
.contact-info__note { font-size: 14px; color: var(--ink); opacity: .7; margin: 12px 0 0; }
.contact-meta { margin: 26px 0 0; display: grid; gap: 16px; }
.contact-meta dt { font-size: 13px; font-weight: 700; letter-spacing: .04em; color: var(--aqua); margin: 0 0 4px; }
.contact-meta dd { margin: 0; font-size: 15px; line-height: 1.7; color: var(--ink); }

.contact-form {
  position: relative;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: clamp(26px, 3.4vw, 38px);
  box-shadow: 0 10px 28px rgba(192,31,110,.08);
}
.form-row { margin: 0 0 18px; }
.form-row label {
  display: block;
  font-size: 14px;
  font-weight: 700;
  color: var(--teal);
  margin: 0 0 8px;
}
.form-row .req {
  display: inline-block;
  font-size: 11px;
  font-weight: 700;
  color: #fff;
  background: #e0726a;
  padding: 2px 9px;
  border-radius: 999px;
  margin-left: 6px;
  vertical-align: 2px;
}
.contact-form input,
.contact-form select,
.contact-form textarea {
  width: 100%;
  font: inherit;
  font-size: 16px;
  color: var(--ink);
  background: var(--paper);
  border: 1.5px solid var(--line);
  border-radius: var(--radius-sm);
  padding: 13px 14px;
  transition: border-color .2s ease, box-shadow .2s ease;
}
.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
  outline: none;
  border-color: var(--aqua);
  box-shadow: 0 0 0 3px rgba(230,77,139,.15);
}
.contact-form textarea { resize: vertical; min-height: 130px; line-height: 1.7; }
.contact-form__privacy { font-size: 13px; color: var(--ink); opacity: .65; line-height: 1.7; margin: 4px 0 20px; }
.contact-form__submit { width: 100%; justify-content: center; border: none; cursor: pointer; }
/* ハニーポット（画面に表示しない） */
.cf-hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

.contact-status {
  margin: 28px 0 0;
  border-radius: var(--radius-sm);
  padding: 16px 20px;
  font-size: 15px;
  font-weight: 700;
  line-height: 1.7;
}
.contact-status.is-ok { background: #e9f7ee; border: 1px solid #f7d6e6; color: #b8246b; }
.contact-status.is-err { background: #fdecea; border: 1px solid #f3c0bb; color: #c0392b; }

/* ============================================================
   2026-09-18 ボタンと見出しラベルの見分け
   - ボタン：丸い（楕円）形のまま、全ページで同じ幅にそろえる
   - 見出しラベル（CONCEPT・COURSE など）：楕円をやめ、ライン付きの文字ラベルにする
   ============================================================ */
/* ボタンは中央寄せ・同じ幅 */
.btn:not(.btn--sm), .sp-cta .btn-white {
  box-sizing: border-box;
  display: flex; align-items: center;
  width: 380px; max-width: 100%;
  margin-left: auto; margin-right: auto;
  justify-content: center; text-align: center;
  line-height: 1.4; font-size: 18px; padding: 16px 20px; gap: 8px;
}

.kicker {
  display: inline-flex; align-items: center; gap: 12px;
  background: none; box-shadow: none; padding: 0; border-radius: 0;
  color: var(--aqua);
  font-size: clamp(18px, 2vw, 22px); font-weight: 700; letter-spacing: 0.22em;
  margin: 0 0 14px;
}
.kicker::before {
  content: ""; flex: none; width: 36px; height: 3px; border-radius: 2px;
  background: var(--grad-cta);
}
.kicker--leaf { background: none; color: #e0609e; }
.entry .kicker { background: none; color: #fff; }
.entry .kicker::before { background: #fff; }

@media (max-width: 600px) {
  .btn:not(.btn--sm), .sp-cta .btn-white { width: 300px; max-width: 100%; font-size: 16px; padding: 15px 8px; gap: 6px; }
  /* 枠の中にあるボタンも同じ幅（300px）に収まるよう、枠の左右の余白を詰める */
  body .contact-form, body .faq-contact, body .sp-office { padding-left: 14px; padding-right: 14px; }
  body .sp-cta { padding-left: 14px; padding-right: 14px; }
  body .sp-flyer { margin-left: auto; margin-right: auto; }
  .kicker { font-size: 18px; }
}

/* ============================================================
   2026-09-18 公式Instagram（ヒーロー・専用欄・フッター・メニュー）
   ============================================================ */
.hero__sns {
  display: flex; width: 100%; align-items: center; justify-content: center; gap: 12px;
  margin: 22px 0 0; color: #fff; font-size: 18px; font-weight: 700; letter-spacing: .04em;
  text-shadow: 0 2px 8px rgba(14,42,51,.45); transition: transform .2s ease;
}
.hero__sns svg { display: block; filter: drop-shadow(0 2px 6px rgba(14,42,51,.35)); }
.hero__sns:hover { transform: translateY(-1px); }

.ig-card {
  display: grid; grid-template-columns: auto 1fr; gap: clamp(24px, 4vw, 48px); align-items: center;
  padding: clamp(28px, 4vw, 48px);
  background: linear-gradient(135deg, #fff5f9 0%, #fdf0f7 50%, #f4efff 100%);
  border: 1px solid var(--chip-border); border-radius: var(--radius);
  box-shadow: var(--shadow); position: relative; overflow: hidden;
}
.ig-card::before {
  content: ""; position: absolute; inset: 0 auto 0 0; width: 8px;
  background: linear-gradient(180deg, #feda75, #fa7e1e, #d62976, #962fbf, #4f5bd5);
}
.ig-card__icon { display: block; transition: transform .25s ease; }
.ig-card__icon svg { display: block; filter: drop-shadow(0 10px 22px rgba(214,41,118,.35)); }
.ig-card__icon:hover { transform: translateY(-3px) rotate(-4deg); }
.ig-card__handle {
  margin: 10px 0 0; font-family: 'Oswald', sans-serif; font-size: clamp(20px, 2.4vw, 26px);
  font-weight: 600; letter-spacing: .04em; color: #d62976;
}
.ig-card .body-text { margin-top: 14px; }
.ig-card .btn { margin: 24px auto 0; }
.btn--ig { background: linear-gradient(135deg, #fa7e1e 0%, #d62976 45%, #962fbf 100%); }
.btn--ig:hover { background-position: 100% 50%; }
.btn__ig { flex: none; }

.footer__sns-wrap { margin: 36px 0 0; text-align: center; }
.footer__sns {
  display: inline-flex; align-items: center; gap: 12px; color: #fff; text-decoration: none;
  font-size: 17px; font-weight: 700; letter-spacing: .02em; padding: 10px 24px 10px 14px;
  border: 1.5px solid rgba(255,255,255,.45); border-radius: 999px;
  transition: background .2s ease, border-color .2s ease, transform .2s ease;
}
.footer__sns:hover { background: rgba(255,255,255,.12); border-color: rgba(255,255,255,.8); transform: translateY(-1px); }
.footer__sns svg { flex: none; }
.footer__sns span { display: flex; flex-direction: column; line-height: 1.3; text-align: left; }
.footer__sns small { font-family: 'Oswald', sans-serif; font-size: 14px; font-weight: 500; opacity: .85; letter-spacing: .04em; }

@media (max-width: 600px) {
  .ig-card { grid-template-columns: 1fr; justify-items: center; text-align: center; padding: 30px 18px 32px 22px; }
  .ig-card__icon svg { width: 76px; height: 76px; }
  .ig-card .kicker { justify-content: center; }
  .hero__sns { font-size: 16px; margin-top: 18px; }
}

/* ============================================================
   2026-10-12 コース図（最終版）：横長の図を切らずに全体を見せる
   文章の下に横幅いっぱいで表示（.course-grid--wide／.course-photo--map）
   ============================================================ */
.course-grid--wide { grid-template-columns: 1fr; gap: clamp(24px, 3.5vw, 40px); }
.course-photo--map { height: auto; aspect-ratio: 8 / 5; background: #fff; }
.course-photo--map img { object-fit: contain; }
.course-photo--map .zoom-hint { right: 10px; bottom: 10px; padding: 6px 12px; font-size: 12px; }
/* スマホの拡大表示：画面幅の2.2倍で表示し、指で動かして見られるように（縦持ちだと図が小さすぎるため） */
@media (max-width: 600px) {
  .course-lightbox--map .course-lightbox__panel { width: 100%; }
  .course-lightbox--map .course-lightbox__scroll { max-height: 80vh; overflow: auto; -webkit-overflow-scrolling: touch; border-radius: var(--radius-sm); background: #fff; box-shadow: 0 24px 60px rgba(8,30,37,.5); }
  .course-lightbox--map .course-lightbox__scroll img { width: 220%; max-width: none; max-height: none; border-radius: 0; box-shadow: none; }
  .course-lightbox--map .course-lightbox__note { display: block; }
}
.course-lightbox__note { display: none; position: absolute; left: 0; top: -40px; color: #fff; font-size: 13px; font-weight: 700; }
