@charset "utf-8";
/* ==========================================================================
   SKTR SHIMANAMI 2026 — 共通スタイル
   設計基準：375px 幅のスマートフォン。そこから 1440px まで伸ばす。
   色・書体は制作指示書 5. デザイン方針に準拠。
   ========================================================================== */

/* --------------------------------------------------------------------------
   1. トークン（色・書体・寸法）
   -------------------------------------------------------------------------- */
:root {
  /* ベース（白〜オフホワイト） */
  --c-white:      #FFFFFF;
  --c-off:        #FBFCFD;

  /* 空の淡い水色（セクション背景） */
  --c-sky:        #EAF6FB;
  --c-sky-deep:   #D8EDF7;

  /* 海の青（メインカラー） */
  --c-blue:       #0E7FA8;
  --c-blue-deep:  #0C6E92;  /* 白文字を載せる用（コントラスト 5.8:1） */
  --c-blue-ink:   #0A5F7F;  /* 白背景に置く文字用（コントラスト 7.1:1） */
  --c-blue-pale:  #BFE3F2;

  /* 日差しのオレンジ（アクセント：CTA とチェックポイントのみ） */
  --c-orange:     #FF7A33;
  --c-orange-hi:  #FF9257;

  /* 文字色（真っ黒を避けた濃い青みグレー） */
  --c-ink:        #1A2B33;
  --c-ink-2:      #44606C;  /* 補助テキスト（白背景 6.7:1 / 水色背景 6.1:1） */
  --c-ink-deep:   #0F2A38;  /* ヒーロー見出し・フッター地色 */

  --c-line:       #DBE8EE;
  --c-line-soft:  #EDF4F7;

  /* 書体 */
  --f-ja:   "Zen Kaku Gothic New", "Hiragino Kaku Gothic ProN", "Noto Sans JP", sans-serif;
  --f-en:   "Barlow Condensed", "Zen Kaku Gothic New", sans-serif;
  --f-mono: "IBM Plex Mono", "SFMono-Regular", Consolas, monospace;

  /* 寸法 */
  --pad:      20px;   /* スマホの左右余白 */
  --maxw:     1080px;
  --maxw-txt: 34em;   /* 本文の最大行長 */
  --r:        14px;
  --r-lg:     20px;
  --bar-h:    72px;   /* 下部固定 CTA バーの高さ */

  --shadow-s: 0 1px 2px rgba(15, 42, 56, .05), 0 4px 14px rgba(15, 42, 56, .06);
  --shadow-m: 0 2px 6px rgba(15, 42, 56, .06), 0 14px 34px rgba(15, 42, 56, .09);
}

/* --------------------------------------------------------------------------
   2. リセット・ベース
   -------------------------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: 72px; /* 固定ヘッダー分のアンカーずれ補正 */
}

body {
  margin: 0;
  /* 横スクロールを絶対に発生させない */
  overflow-x: hidden;
  background: var(--c-white);
  color: var(--c-ink);
  font-family: var(--f-ja);
  font-size: 17px;
  font-weight: 400;
  line-height: 1.9;
  letter-spacing: .02em;
  font-feature-settings: "palt" 1;
  -webkit-font-smoothing: antialiased;
  padding-bottom: calc(var(--bar-h) + env(safe-area-inset-bottom, 0px));
}

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

h1, h2, h3, h4 { margin: 0; line-height: 1.45; font-weight: 700; letter-spacing: .01em; }
p, ul, ol, dl { margin: 0; }
ul, ol { padding: 0; list-style: none; }

a { color: var(--c-blue-ink); text-underline-offset: .25em; }
a:hover { color: var(--c-blue); }

:focus-visible {
  outline: 3px solid var(--c-orange);
  outline-offset: 3px;
  border-radius: 4px;
}

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

.skip-link {
  position: absolute; left: 50%; top: 0; z-index: 200;
  transform: translate(-50%, -140%);
  background: var(--c-ink-deep); color: #fff;
  padding: 12px 20px; border-radius: 0 0 10px 10px;
  font-size: 15px; font-weight: 700; text-decoration: none;
}
.skip-link:focus { transform: translate(-50%, 0); color: #fff; }

/* --------------------------------------------------------------------------
   3. レイアウト
   -------------------------------------------------------------------------- */
.wrap {
  width: 100%;
  max-width: var(--maxw);
  margin-inline: auto;
  padding-inline: var(--pad);
}

.section { padding-block: 60px; }
.section--white { background: var(--c-white); }
.section--sky   { background: var(--c-sky); }
.section--off   { background: var(--c-off); }

/* セクション見出し */
.sec-head { margin-bottom: 28px; }
.sec-head__en {
  display: block;
  font-family: var(--f-en);
  font-size: 13px; font-weight: 600; line-height: 1;
  letter-spacing: .22em; text-transform: uppercase;
  color: var(--c-blue-ink);
  margin-bottom: 10px;
}
.sec-head__ja {
  font-size: 25px; line-height: 1.45; color: var(--c-ink-deep);
}
.sec-head__lead {
  margin-top: 14px;
  max-width: var(--maxw-txt);
  color: var(--c-ink-2);
  font-size: 16px;
}
.sec-head::after {
  content: ""; display: block;
  width: 42px; height: 3px; border-radius: 3px;
  background: var(--c-orange);
  margin-top: 16px;
}

.lede {
  max-width: var(--maxw-txt);
  font-size: 18px; line-height: 2.0;
}

/* --------------------------------------------------------------------------
   4. ボタン
   -------------------------------------------------------------------------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  gap: 10px;
  min-height: 52px;            /* タップ領域は最低 48px */
  padding: 12px 26px;
  border: 0; border-radius: 999px;
  font-family: var(--f-ja);
  font-size: 17px; font-weight: 700; line-height: 1.4;
  letter-spacing: .04em;
  text-decoration: none;
  cursor: pointer;
  transition: background-color .18s ease, color .18s ease, box-shadow .18s ease;
}
/* 主 CTA：日差しのオレンジ。文字は濃い青みグレー（コントラスト 5.6:1） */
.btn--primary {
  background: var(--c-orange);
  color: var(--c-ink);
  box-shadow: var(--shadow-s);
}
.btn--primary:hover { background: var(--c-orange-hi); color: var(--c-ink); }

.btn--blue {
  background: var(--c-blue-deep);
  color: #fff;
}
.btn--blue:hover { background: var(--c-blue); color: #fff; }

.btn--ghost {
  background: var(--c-white);
  color: var(--c-blue-ink);
  box-shadow: inset 0 0 0 1.5px var(--c-line);
}
.btn--ghost:hover { background: var(--c-sky); color: var(--c-blue-ink); }

.btn--block { display: flex; width: 100%; }

.btn__arrow { font-family: var(--f-en); font-size: 20px; line-height: 1; }

/* --------------------------------------------------------------------------
   5. ヘッダー
   -------------------------------------------------------------------------- */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(255, 255, 255, .88);
  -webkit-backdrop-filter: saturate(150%) blur(10px);
  backdrop-filter: saturate(150%) blur(10px);
  border-bottom: 1px solid var(--c-line-soft);
}
.site-header__inner {
  display: flex; align-items: center; gap: 12px;
  min-height: 60px;
}
.brand {
  display: flex; flex-direction: column; justify-content: center; gap: 2px;
  /* タップ領域を48px以上確保する（制作指示書 5. の指定） */
  min-height: 48px; padding-block: 6px;
  text-decoration: none; color: var(--c-ink-deep);
  margin-right: auto;
}
.brand__main {
  font-family: var(--f-en);
  font-size: 21px; font-weight: 700; line-height: 1;
  letter-spacing: .06em;
}
.brand__sub {
  font-family: var(--f-mono);
  font-size: 9.5px; font-weight: 400; line-height: 1;
  letter-spacing: .12em; color: var(--c-blue-ink);
}

.icon-link {
  display: inline-flex; align-items: center; justify-content: center;
  width: 48px; height: 48px; border-radius: 50%;
  color: var(--c-blue-ink); text-decoration: none;
}
.icon-link:hover { background: var(--c-sky); color: var(--c-blue-ink); }
.icon-link svg { width: 22px; height: 22px; display: block; }

.nav-toggle {
  display: inline-flex; align-items: center; justify-content: center;
  width: 48px; height: 48px;
  background: none; border: 0; border-radius: 12px;
  color: var(--c-ink-deep); cursor: pointer;
}
.nav-toggle:hover { background: var(--c-sky); }
.nav-toggle__bars { display: block; width: 22px; height: 14px; position: relative; }
.nav-toggle__bars::before,
.nav-toggle__bars::after,
.nav-toggle__bars i {
  content: ""; position: absolute; left: 0; right: 0; height: 2px;
  background: currentColor; border-radius: 2px;
  transition: transform .2s ease, opacity .2s ease;
}
.nav-toggle__bars::before { top: 0; }
.nav-toggle__bars i       { top: 6px; }
.nav-toggle__bars::after  { top: 12px; }
.nav-toggle[aria-expanded="true"] .nav-toggle__bars::before { transform: translateY(6px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] .nav-toggle__bars i       { opacity: 0; }
.nav-toggle[aria-expanded="true"] .nav-toggle__bars::after  { transform: translateY(-6px) rotate(-45deg); }

/* JS が無いときはメニューボタンを出さず、ナビをそのまま並べる */
.nav-toggle { display: none; }
.js .nav-toggle { display: inline-flex; }

.site-nav ul {
  display: flex; flex-wrap: wrap; gap: 4px 6px;
  padding-bottom: 10px;
}
.site-nav a {
  display: flex; align-items: center;
  min-height: 48px; padding: 4px 14px;
  border-radius: 10px;
  font-size: 15.5px; font-weight: 500;
  color: var(--c-ink); text-decoration: none;
}
.site-nav a:hover { background: var(--c-sky); color: var(--c-blue-ink); }

.js .site-nav {
  display: none;
  border-top: 1px solid var(--c-line-soft);
}
.js .site-nav.is-open { display: block; }
.js .site-nav ul { flex-direction: column; gap: 2px; padding-block: 8px 14px; }

/* --------------------------------------------------------------------------
   6. ヒーロー
   ヒーローは画面高の 80% 程度に抑え、100dvh で埋めない。
   -------------------------------------------------------------------------- */
.hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  min-height: min(80dvh, 760px);
  display: flex; flex-direction: column; justify-content: center;
  padding-block: 48px 150px;
  /* ▼▼ 差し替え箇所：写真が用意できたら、この background を
         background: url("img/hero.jpg") center/cover no-repeat; に置き換える。
         その際、下の .hero__sun / .hero__scene（SVG）は削除してよい。 ▼▼ */
  background:
    linear-gradient(180deg,
      #D6EDF9 0%,
      #EAF6FB 26%,
      #FDFEFE 52%,
      #F4FAFD 68%,
      #DCF0FA 100%);
  /* ▲▲ 差し替え箇所ここまで ▲▲ */
}

/* 太陽：白い円と淡い radial-gradient */
.hero__sun {
  position: absolute; z-index: -2;
  top: 6%; right: -14%;
  width: 78vw; max-width: 520px; aspect-ratio: 1;
  border-radius: 50%;
  background:
    radial-gradient(circle at 50% 50%,
      rgba(255, 255, 255, .98) 0%,
      rgba(255, 255, 255, .92) 17%,
      rgba(255, 236, 214, .55) 34%,
      rgba(255, 214, 176, .22) 56%,
      rgba(255, 214, 176, 0) 74%);
  pointer-events: none;
}

/* 島影・吊り橋（インライン SVG） */
.hero__scene {
  position: absolute; z-index: -1;
  left: 0; right: 0; bottom: 0;
  width: 100%; height: 46%;
  display: block;
  pointer-events: none;
}

.hero__inner { position: relative; z-index: 1; }

.hero__catch {
  font-size: clamp(31px, 8.6vw, 62px);
  line-height: 1.4;
  letter-spacing: .01em;
  color: var(--c-ink-deep);
  text-shadow: 0 1px 0 rgba(255, 255, 255, .7);
  margin-bottom: 22px;
}
.hero__catch span { display: block; }

.hero__title {
  font-family: var(--f-en);
  font-size: clamp(26px, 6.6vw, 42px);
  font-weight: 700; line-height: 1.05;
  letter-spacing: .05em;
  color: var(--c-blue-ink);
}
.hero__subtitle {
  font-family: var(--f-mono);
  font-size: 10.5px; font-weight: 400; line-height: 1.7;
  letter-spacing: .13em;
  color: var(--c-ink-2);
  margin-top: 8px;
}

.hero__meta {
  display: flex; flex-wrap: wrap; align-items: baseline; gap: 6px 14px;
  margin-top: 22px;
}
.hero__date {
  font-family: var(--f-mono);
  font-size: 15px; font-weight: 600; letter-spacing: .04em;
  color: var(--c-ink-deep);
}
.hero__place { font-size: 15px; color: var(--c-ink-2); }

.hero__actions {
  display: flex; flex-wrap: wrap; gap: 12px;
  margin-top: 26px;
}

.hero__scroll {
  position: absolute; left: 0; right: 0; bottom: 22px; z-index: 1;
  text-align: center;
  font-family: var(--f-mono); font-size: 10px; letter-spacing: .2em;
  color: var(--c-ink-2);
  text-shadow: 0 0 6px #fff, 0 0 12px #fff;
}
.hero__scroll::after {
  content: ""; display: block;
  width: 1px; height: 30px; margin: 8px auto 0;
  background: linear-gradient(180deg, var(--c-blue) 0%, rgba(14,127,168,0) 100%);
}

/* --------------------------------------------------------------------------
   7. カウントダウン
   -------------------------------------------------------------------------- */
.countdown {
  display: inline-flex; align-items: center; flex-wrap: wrap; gap: 4px 10px;
  padding: 9px 16px;
  background: var(--c-white);
  border: 1px solid var(--c-line);
  border-radius: 999px;
  box-shadow: var(--shadow-s);
  font-size: 14px;
}
.countdown__label {
  font-family: var(--f-mono);
  font-size: 10px; letter-spacing: .14em;
  color: var(--c-blue-ink);
}
.countdown__body { font-weight: 700; color: var(--c-ink-deep); }
.countdown__num {
  font-family: var(--f-mono); font-size: 19px; font-weight: 600;
  /* 白地でのオレンジは 2.6:1 でAAに届かないため、メインカラーの濃い青を使う。
     オレンジはCTAとチェックポイントに限定する。 */
  color: var(--c-blue-ink);
  padding-inline: 2px;
}
.countdown--closed .countdown__body { color: var(--c-ink-2); }

/* --------------------------------------------------------------------------
   8. ルール（大会の最大の特徴：目立たせる）
   -------------------------------------------------------------------------- */
.rules { display: grid; gap: 14px; margin-top: 30px; }

.rule {
  position: relative;
  background: var(--c-white);
  border: 1px solid var(--c-line);
  border-radius: var(--r-lg);
  padding: 22px 20px 24px;
  box-shadow: var(--shadow-s);
}
.rule__no {
  display: inline-flex; align-items: center; justify-content: center;
  width: 38px; height: 38px; border-radius: 50%;
  background: var(--c-orange); color: var(--c-ink);
  font-family: var(--f-mono); font-size: 16px; font-weight: 600;
  margin-bottom: 12px;
}
.rule__title {
  font-size: 19px; line-height: 1.6; color: var(--c-ink-deep);
  margin-bottom: 8px;
}
.rule__body { font-size: 16px; color: var(--c-ink-2); }
.rule strong { color: var(--c-blue-ink); font-weight: 700; }

/* --------------------------------------------------------------------------
   9. 地図（インライン SVG）とチェックポイント
   -------------------------------------------------------------------------- */
.map {
  margin: 4px auto 30px;
  max-width: 420px;
}
.map svg { width: 100%; height: auto; display: block; }
.map__note {
  margin-top: 10px; font-size: 13.5px; line-height: 1.8;
  color: var(--c-ink-2); text-align: center;
}

.cp-list { display: grid; gap: 10px; counter-reset: cp; }
.cp {
  display: flex; align-items: center; gap: 14px;
  background: var(--c-white);
  border: 1px solid var(--c-line);
  border-radius: var(--r);
  padding: 14px 16px;
  min-height: 60px;
}
.cp__no {
  flex: 0 0 auto;
  display: inline-flex; align-items: center; justify-content: center;
  width: 34px; height: 34px; border-radius: 50%;
  background: var(--c-orange); color: var(--c-ink);
  font-family: var(--f-mono); font-size: 15px; font-weight: 600;
}
.cp__name { font-size: 16.5px; font-weight: 700; line-height: 1.5; }
.cp__island {
  display: block;
  font-size: 12.5px; font-weight: 400; line-height: 1.6;
  color: var(--c-ink-2);
}

.goal {
  display: flex; align-items: flex-start; gap: 14px;
  margin-top: 14px;
  background: var(--c-blue-deep);
  color: #fff;
  border-radius: var(--r);
  padding: 18px 16px;
}
.goal__flag {
  flex: 0 0 auto;
  display: inline-flex; align-items: center; justify-content: center;
  width: 34px; height: 34px;
}
.goal__flag svg { width: 24px; height: 24px; }
.goal__label {
  display: block;
  font-family: var(--f-en); font-size: 13px; font-weight: 700;
  letter-spacing: .18em; color: #DCF0FA;
}
.goal__name { font-size: 16.5px; font-weight: 700; line-height: 1.5; }
.goal__time { display: block; font-size: 13.5px; font-weight: 400; color: #DCF0FA; }

/* --------------------------------------------------------------------------
   9-b. チェックポイントの写真枠（あとから差し込む用）
   assets/img/cp1.jpg 〜 cp7.jpg を置き、index.html 側の <img> のコメントを外すと
   自動でこのレイアウトに切り替わる。写真がない間は、いまの見た目のまま変わらない。
   -------------------------------------------------------------------------- */
.cp { flex-direction: column; align-items: stretch; gap: 12px; }
.cp__body { display: flex; align-items: center; gap: 14px; }

.cp__photo {
  display: block;
  width: 100%; height: auto;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  border-radius: 10px;
  /* 読み込み前の下地。width/height 属性と併せてスクロール中のガタつき（CLS）を防ぐ */
  background: var(--c-sky-deep);
}
/* 写真が入ったカードだけ、内側の余白を写真向けに詰める（:has 未対応でも崩れない） */
.cp:has(.cp__photo) { padding: 12px 12px 16px; }

/* --------------------------------------------------------------------------
   10. 定義リスト（表組みは使わない）
   -------------------------------------------------------------------------- */
.dl {
  background: var(--c-white);
  border: 1px solid var(--c-line);
  border-radius: var(--r-lg);
  padding: 4px 18px;
  box-shadow: var(--shadow-s);
}
.dl div {
  padding-block: 16px;
  border-bottom: 1px solid var(--c-line-soft);
}
.dl div:last-child { border-bottom: 0; }
.dl dt {
  font-family: var(--f-mono);
  font-size: 11px; font-weight: 600; line-height: 1.6;
  letter-spacing: .1em; text-transform: uppercase;
  color: var(--c-blue-ink);
  margin-bottom: 4px;
}
.dl dd {
  margin: 0;
  font-size: 17px; font-weight: 700; line-height: 1.7;
  color: var(--c-ink-deep);
}
.dl dd small {
  display: block;
  font-size: 13.5px; font-weight: 400; line-height: 1.8;
  color: var(--c-ink-2);
}
.dl dd .num {
  font-family: var(--f-mono); font-size: 21px; font-weight: 600;
  letter-spacing: .01em;
}

/* 注意事項 */
.notes {
  margin-top: 22px;
  background: var(--c-white);
  border: 1px solid var(--c-line);
  border-left: 4px solid var(--c-orange);
  border-radius: var(--r);
  padding: 20px 18px;
}
.notes__title {
  font-size: 16px; color: var(--c-ink-deep); margin-bottom: 10px;
}
.notes ul { display: grid; gap: 10px; }
.notes li {
  position: relative; padding-left: 20px;
  font-size: 15.5px; line-height: 1.85; color: var(--c-ink-2);
}
.notes li::before {
  content: ""; position: absolute; left: 4px; top: .78em;
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--c-blue-pale);
}

/* --------------------------------------------------------------------------
   11. 参加特典
   -------------------------------------------------------------------------- */
.perks { display: grid; gap: 14px; }
.perk {
  background: var(--c-white);
  border: 1px solid var(--c-line);
  border-radius: var(--r-lg);
  padding: 20px 18px;
  box-shadow: var(--shadow-s);
}
.perk__icon {
  /* span は既定でインラインのため、display を指定しないと width/height が効かない */
  display: block;
  width: 44px; height: 44px; margin-bottom: 12px;
  color: var(--c-blue);
}
.perk__icon svg { width: 100%; height: 100%; display: block; }
.perk__title { font-size: 17.5px; color: var(--c-ink-deep); margin-bottom: 6px; }
.perk__body { font-size: 15.5px; line-height: 1.85; color: var(--c-ink-2); }
.perk__tag {
  display: inline-block; margin-top: 10px;
  padding: 3px 10px; border-radius: 999px;
  background: var(--c-sky); color: var(--c-blue-ink);
  font-family: var(--f-mono); font-size: 10.5px; letter-spacing: .08em;
}
.perk__shops {
  display: grid; gap: 6px; margin-top: 12px;
  padding-top: 12px; border-top: 1px dashed var(--c-line);
}
.perk__shops li {
  font-size: 14px; line-height: 1.75; color: var(--c-ink-2);
  padding-left: 16px; position: relative;
}
.perk__shops li::before {
  content: ""; position: absolute; left: 2px; top: .72em;
  width: 5px; height: 5px; border-radius: 1px;
  background: var(--c-orange);
}
.perk--finish { background: var(--c-sky); border-color: var(--c-sky-deep); }

/* --------------------------------------------------------------------------
   12. Instagram（最新情報）
   -------------------------------------------------------------------------- */
.ig-grid { display: grid; gap: 16px; }
.ig-slot {
  background: var(--c-white);
  border: 1px solid var(--c-line);
  border-radius: var(--r-lg);
  overflow: hidden;
  min-height: 220px;
  display: grid;
}
/* 投稿が入っているスロットは、埋め込みの実寸（約530px）ぶん最初から高さを予約する。
   読み込み後に下のセクションが押し下げられ、アンカーの着地位置がずれるのを防ぐ。
   （:has 未対応の古いブラウザは 220px のまま → script.js のアンカー補正が救う） */
.ig-slot:has(.instagram-media) { min-height: 530px; }
/* Instagram 公式埋め込みの既定スタイルを枠内に収める */
.ig-slot .instagram-media {
  margin: 0 !important;
  min-width: 0 !important;
  width: 100% !important;
  max-width: 100% !important;
  border: 0 !important;
  border-radius: 0 !important;
  box-shadow: none !important;
}
/* 埋め込みが読めなかったときに見えるプレースホルダー */
.ig-slot__fallback {
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: 10px; padding: 28px 20px; text-align: center;
  color: var(--c-ink-2); font-size: 14.5px; line-height: 1.8;
}
.ig-slot__fallback svg { width: 30px; height: 30px; color: var(--c-blue-pale); }
.ig-actions { margin-top: 22px; }

/* --------------------------------------------------------------------------
   12-b. エントリー受付状況
   運営側で状態を切り替える。index.html の class を差し替えるだけ：
     status--open   受付中
     status--few    残りわずか
     status--closed 受付終了（定員に達した／期間終了）
   -------------------------------------------------------------------------- */
.status {
  display: flex; flex-wrap: wrap; align-items: center; gap: 6px 12px;
  background: var(--c-white);
  border: 1px solid var(--c-line);
  border-left: 4px solid var(--c-blue);
  border-radius: var(--r);
  padding: 14px 16px;
  box-shadow: var(--shadow-s);
}
.status__dot {
  flex: 0 0 auto; width: 10px; height: 10px; border-radius: 50%;
  background: var(--c-blue);
}
.status__label {
  font-family: var(--f-mono); font-size: 10.5px; letter-spacing: .1em;
  color: var(--c-ink-2);
}
.status__text { font-size: 17px; font-weight: 700; color: var(--c-ink-deep); }
.status__note {
  flex: 1 0 100%;
  font-size: 13.5px; line-height: 1.75; color: var(--c-ink-2);
}
.status--few    { border-left-color: var(--c-orange); }
.status--few .status__dot { background: var(--c-orange); }
.status--closed { border-left-color: #8CA3AD; background: var(--c-off); }
.status--closed .status__dot { background: #8CA3AD; }
.status--closed .status__text { color: var(--c-ink-2); }

/* --------------------------------------------------------------------------
   12-c. 当日の流れ（タイムライン）
   -------------------------------------------------------------------------- */
.timeline { display: grid; gap: 0; }
.tl { position: relative; padding: 0 0 26px 62px; }
.tl::before {
  content: ""; position: absolute; left: 15px; top: 6px;
  width: 13px; height: 13px; border-radius: 50%;
  background: var(--c-white);
  box-shadow: 0 0 0 3px var(--c-blue);
}
.tl::after {
  content: ""; position: absolute; left: 20px; top: 26px; bottom: 0;
  width: 2px; background: var(--c-sky-deep);
}
.tl:last-child { padding-bottom: 0; }
.tl:last-child::after { display: none; }
.tl__time {
  display: inline-block; margin-bottom: 6px;
  font-family: var(--f-mono); font-size: 12.5px; font-weight: 600;
  letter-spacing: .06em; color: var(--c-blue-ink);
}
.tl__title { font-size: 18px; line-height: 1.5; color: var(--c-ink-deep); margin-bottom: 6px; }
.tl__body { font-size: 15.5px; line-height: 1.85; color: var(--c-ink-2); }
.tl__place {
  display: inline-block; margin-top: 8px;
  padding: 4px 12px; border-radius: 999px;
  background: var(--c-sky); color: var(--c-blue-ink);
  font-size: 13.5px; font-weight: 700;
}

/* --------------------------------------------------------------------------
   12-d. お知らせ
   -------------------------------------------------------------------------- */
.news-list { display: grid; gap: 10px; }
.news-item {
  background: var(--c-white);
  border: 1px solid var(--c-line);
  border-radius: var(--r);
}
.news-item > a {
  display: flex; flex-wrap: wrap; align-items: center; gap: 6px 12px;
  min-height: 64px; padding: 14px 16px;
  text-decoration: none; color: inherit;
  border-radius: var(--r);
}
.news-item > a:hover { background: var(--c-sky); color: inherit; }
.news-item__date {
  font-family: var(--f-mono); font-size: 13px; font-weight: 600;
  letter-spacing: .03em; color: var(--c-blue-ink);
}
.news-item__tag {
  padding: 3px 10px; border-radius: 999px;
  background: var(--c-sky); color: var(--c-blue-ink);
  font-size: 11.5px; font-weight: 700; line-height: 1.6;
}
.news-item__tag--important { background: #FFECE1; color: #9A3D08; }
.news-item__title {
  flex: 1 0 100%;
  font-size: 16px; font-weight: 700; line-height: 1.6; color: var(--c-ink-deep);
}
.news-actions { margin-top: 20px; }
.news-empty {
  padding: 28px 20px; text-align: center;
  font-size: 15.5px; color: var(--c-ink-2);
  background: var(--c-white); border: 1px solid var(--c-line); border-radius: var(--r);
}

/* お知らせ一覧ページの本文 */
.news-entry {
  padding-bottom: 34px; margin-bottom: 34px;
  border-bottom: 1px solid var(--c-line);
}
.news-entry:last-child { border-bottom: 0; margin-bottom: 0; }
.news-entry__meta { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin-bottom: 10px; }
/* .prose h2 の上罫線・上余白がお知らせの見出しに乗ってしまうため打ち消す */
.news-entry__title,
.prose .news-entry__title {
  font-size: 20px; line-height: 1.55; color: var(--c-ink-deep);
  margin-top: 0; margin-bottom: 12px;
  padding-top: 0; border-top: 0;
}
.news-entry__body { font-size: 16px; line-height: 1.95; color: var(--c-ink-2); }
.news-entry__body p { margin-bottom: 12px; }
.news-entry__body p:last-child { margin-bottom: 0; }
.news-entry__body ul { display: grid; gap: 8px; margin: 12px 0; }
.news-entry__body ul li { position: relative; padding-left: 20px; }
.news-entry__body ul li::before {
  content: ""; position: absolute; left: 4px; top: .82em;
  width: 6px; height: 6px; border-radius: 50%; background: var(--c-blue-pale);
}

/* --------------------------------------------------------------------------
   12-e. 準備中のボタン・リンク（押しても何も起きない見た目にする）
   href="#" のリンクはページ最上部へ飛んでしまうため、リンクにはしない。
   -------------------------------------------------------------------------- */
.is-disabled {
  background: var(--c-off) !important;
  color: var(--c-ink-2) !important;
  box-shadow: inset 0 0 0 1.5px var(--c-line) !important;
  cursor: default;
}
.dl-item--pending { cursor: default; }
.dl-item--pending:hover { background: var(--c-white); color: var(--c-ink-2); }
.form-note {
  margin-top: 12px;
  font-size: 13.5px; line-height: 1.8; color: var(--c-ink-2);
}
.form-note code {
  font-family: var(--f-mono); font-size: 12.5px;
  background: var(--c-sky); border-radius: 4px; padding: 1px 6px;
}

/* --------------------------------------------------------------------------
   12-f. ゴール会場イベント
   大会にエントリーしていない来場者向けのブロック。参加者向けの案内と
   混ざらないよう、囲みを付けて別ものだと分かるようにする。
   -------------------------------------------------------------------------- */
.event-lead {
  background: var(--c-white);
  border: 1px solid var(--c-line);
  border-left: 4px solid var(--c-blue);
  border-radius: var(--r-lg);
  padding: 22px 20px;
  box-shadow: var(--shadow-s);
  margin-bottom: 22px;
}
.event-lead__badge {
  display: inline-block; margin-bottom: 10px;
  padding: 4px 12px; border-radius: 999px;
  background: var(--c-sky); color: var(--c-blue-ink);
  font-size: 12.5px; font-weight: 700; letter-spacing: .04em;
}
.event-lead__title { font-size: 20px; line-height: 1.55; color: var(--c-ink-deep); margin-bottom: 10px; }
.event-lead__body { font-size: 16px; line-height: 1.9; color: var(--c-ink-2); }

.event-cards { display: grid; gap: 14px; }
.ev {
  background: var(--c-white);
  border: 1px solid var(--c-line);
  border-radius: var(--r-lg);
  padding: 20px 18px;
}
.ev__label {
  font-family: var(--f-mono); font-size: 10.5px; letter-spacing: .12em;
  color: var(--c-blue-ink); margin-bottom: 8px;
}
.ev__title { font-size: 17.5px; line-height: 1.5; color: var(--c-ink-deep); margin-bottom: 8px; }
.ev__body { font-size: 15.5px; line-height: 1.85; color: var(--c-ink-2); }
.ev__price {
  display: flex; align-items: baseline; gap: 6px;
  margin: 4px 0 6px;
}
.ev__price .num {
  font-family: var(--f-mono); font-size: 30px; font-weight: 600; line-height: 1.1;
  color: var(--c-ink-deep);
}
.ev__price .unit { font-size: 15px; font-weight: 700; color: var(--c-ink-deep); }
.ev__free {
  display: inline-block; margin-top: 10px;
  padding: 5px 12px; border-radius: 8px;
  background: var(--c-sky); color: var(--c-blue-ink);
  font-size: 14px; font-weight: 700; line-height: 1.6;
}
.ev__note {
  margin-top: 10px; padding-top: 10px; border-top: 1px dashed var(--c-line);
  font-size: 13.5px; line-height: 1.8; color: var(--c-ink-2);
}
.ev__list { display: grid; gap: 8px; margin-top: 10px; }
.ev__list li {
  position: relative; padding-left: 18px;
  font-size: 15px; line-height: 1.8; color: var(--c-ink-2);
}
.ev__list li::before {
  content: ""; position: absolute; left: 2px; top: .72em;
  width: 6px; height: 6px; border-radius: 50%; background: var(--c-blue-pale);
}
.ev--wide { }

/* --------------------------------------------------------------------------
   12-g. 主催・共催・協賛・後援
   協賛社が決まったら .org-logos にロゴ画像を並べる。
   未定のあいだは「募集中」の枠を出しておく（交渉材料になる）。
   -------------------------------------------------------------------------- */
.orgs { display: grid; gap: 14px; }
.org {
  background: var(--c-white);
  border: 1px solid var(--c-line);
  border-radius: var(--r-lg);
  padding: 20px 18px;
}
.org__label {
  font-family: var(--f-mono); font-size: 10.5px; letter-spacing: .12em;
  color: var(--c-blue-ink); margin-bottom: 10px;
}
.org__name { font-size: 17px; font-weight: 700; line-height: 1.65; color: var(--c-ink-deep); }
.org__list { display: grid; gap: 8px; }
.org__list li { font-size: 16px; font-weight: 700; line-height: 1.65; color: var(--c-ink-deep); }
.org__empty {
  font-size: 15px; line-height: 1.8; color: var(--c-ink-2);
}
/* 協賛ロゴを並べる枠。画像が入るまでは何も表示されない */
.org-logos {
  display: flex; flex-wrap: wrap; align-items: center; gap: 16px 22px;
  margin-top: 14px;
}
.org-logos:empty { display: none; }
.org-logos img { max-height: 46px; width: auto; }

/* --------------------------------------------------------------------------
   13. お申し込み（最大の離脱ポイント）
   -------------------------------------------------------------------------- */
.entry-steps { counter-reset: step; display: grid; gap: 0; margin-bottom: 26px; }
.step {
  position: relative;
  padding: 0 0 26px 52px;
}
.step::before {
  counter-increment: step;
  content: counter(step);
  position: absolute; left: 0; top: 0;
  display: flex; align-items: center; justify-content: center;
  width: 36px; height: 36px; border-radius: 50%;
  background: var(--c-orange); color: var(--c-ink);
  font-family: var(--f-mono); font-size: 16px; font-weight: 600;
}
.step::after {
  content: ""; position: absolute; left: 17px; top: 40px; bottom: 6px;
  width: 2px; background: var(--c-sky-deep);
}
.step:last-child { padding-bottom: 0; }
.step:last-child::after { display: none; }
.step__title { font-size: 18px; color: var(--c-ink-deep); margin-bottom: 6px; padding-top: 4px; }
.step__body { font-size: 15.5px; line-height: 1.85; color: var(--c-ink-2); }

.mail-card {
  background: var(--c-white);
  border: 1px solid var(--c-line);
  border-radius: var(--r-lg);
  padding: 22px 18px;
  box-shadow: var(--shadow-m);
}
.mail-card__label {
  font-family: var(--f-mono);
  font-size: 10.5px; letter-spacing: .12em;
  color: var(--c-blue-ink); margin-bottom: 6px;
}
.mail-card__addr {
  font-family: var(--f-mono);
  font-size: 16px; font-weight: 600; line-height: 1.6;
  color: var(--c-ink-deep);
  word-break: break-all;
  margin-bottom: 16px;
}
.mail-card__actions { display: grid; gap: 10px; }
.copy-status {
  min-height: 1.6em;
  font-size: 13.5px; color: var(--c-blue-ink);
}

.dl-list { display: grid; gap: 10px; margin-top: 16px; }
.dl-item {
  display: flex; align-items: center; gap: 12px;
  min-height: 56px; padding: 12px 16px;
  border: 1px dashed var(--c-line);
  border-radius: var(--r);
  background: var(--c-white);
  color: var(--c-ink-2);
  text-decoration: none;
  font-size: 15.5px; line-height: 1.6;
}
.dl-item:hover { background: var(--c-sky); color: var(--c-blue-ink); }
.dl-item svg { flex: 0 0 auto; width: 20px; height: 20px; color: var(--c-blue); }
.dl-item span { flex: 1 1 auto; }
.dl-item em {
  flex: 0 0 auto;
  font-family: var(--f-mono); font-style: normal;
  font-size: 10.5px; letter-spacing: .08em;
  color: var(--c-ink-2);
  background: var(--c-sky); border-radius: 999px; padding: 3px 9px;
}

/* --------------------------------------------------------------------------
   14. FAQ 導線 / FAQ ページ
   -------------------------------------------------------------------------- */
.faq-cta {
  background: var(--c-white);
  border: 1px solid var(--c-line);
  border-radius: var(--r-lg);
  padding: 26px 20px;
  text-align: center;
  box-shadow: var(--shadow-s);
}
.faq-cta h2 { font-size: 21px; color: var(--c-ink-deep); margin-bottom: 8px; }
.faq-cta p { font-size: 15.5px; color: var(--c-ink-2); margin-bottom: 18px; }

.qa { display: grid; gap: 14px; }
.qa__item {
  background: var(--c-white);
  border: 1px solid var(--c-line);
  border-radius: var(--r-lg);
  padding: 20px 18px;
}
/* Q・A の記号は絶対配置にする。
   flex にすると、回答内の <strong> やリンクが別々の flex アイテムに分解され、
   文が縦の細切れになって崩壊する（2026-08-24 に実際に起きた不具合）。 */
.qa__q {
  position: relative; display: block;
  padding-left: 32px;
  font-size: 17.5px; line-height: 1.6; color: var(--c-ink-deep);
  margin-bottom: 10px;
}
.qa__q::before {
  content: "Q"; position: absolute; left: 0; top: 0;
  font-family: var(--f-en); font-size: 20px; font-weight: 700; line-height: 1.4;
  color: var(--c-orange);
}
.qa__a {
  position: relative; display: block;
  padding-left: 32px;
  font-size: 15.5px; line-height: 1.9; color: var(--c-ink-2);
  overflow-wrap: anywhere;  /* 長いメールアドレス等でカードが横に膨らむのを防ぐ */
}
.qa__a::before {
  content: "A"; position: absolute; left: 0; top: 0;
  font-family: var(--f-en); font-size: 20px; font-weight: 700; line-height: 1.5;
  color: var(--c-blue);
}

/* 下層ページの見出し帯 */
.page-head {
  background: linear-gradient(180deg, #D6EDF9 0%, var(--c-sky) 100%);
  padding-block: 44px 40px;
}
.page-head__en {
  font-family: var(--f-en); font-size: 13px; font-weight: 600;
  letter-spacing: .22em; text-transform: uppercase;
  color: var(--c-blue-ink); margin-bottom: 8px;
}
.page-head h1 { font-size: 27px; color: var(--c-ink-deep); }
.page-head p { margin-top: 12px; font-size: 15.5px; color: var(--c-ink-2); max-width: var(--maxw-txt); }

.breadcrumb {
  font-size: 13px; color: var(--c-ink-2);
  padding-block: 14px;
}
.breadcrumb ol { display: flex; flex-wrap: wrap; gap: 8px; }
.breadcrumb li::after { content: "／"; margin-left: 8px; color: var(--c-line); }
.breadcrumb li:last-child::after { content: ""; }

/* 規約系の本文 */
.prose { max-width: var(--maxw-txt); }
.prose h2 {
  font-size: 20px; color: var(--c-ink-deep);
  margin-top: 40px; margin-bottom: 12px;
  padding-top: 22px; border-top: 1px solid var(--c-line);
}
.prose h2:first-child { margin-top: 0; padding-top: 0; border-top: 0; }
.prose p { font-size: 16px; line-height: 1.95; color: var(--c-ink-2); margin-bottom: 14px; }
.prose ul { display: grid; gap: 8px; margin-bottom: 14px; }
.prose ul li {
  position: relative; padding-left: 20px;
  font-size: 16px; line-height: 1.95; color: var(--c-ink-2);
}
.prose ul li::before {
  content: ""; position: absolute; left: 4px; top: .82em;
  width: 6px; height: 6px; border-radius: 50%; background: var(--c-blue-pale);
}
.prose .updated {
  font-family: var(--f-mono); font-size: 12.5px; letter-spacing: .06em;
  color: var(--c-ink-2); margin-top: 32px;
}

/* --------------------------------------------------------------------------
   15. フッター
   -------------------------------------------------------------------------- */
.site-footer {
  position: relative;
  background: var(--c-ink-deep);
  color: #D7E6ED;
  padding-block: 46px 34px;
}
.site-footer a { color: #fff; }
.footer__brand {
  font-family: var(--f-en);
  font-size: 26px; font-weight: 700; line-height: 1.1; letter-spacing: .05em;
  color: #fff;
}
.footer__sub {
  font-family: var(--f-mono);
  font-size: 10px; letter-spacing: .13em; color: #8FB6C6;
  margin-top: 8px;
}
.footer__dl { margin-top: 28px; display: grid; gap: 18px; }
.footer__dl dt {
  font-family: var(--f-mono); font-size: 10px; letter-spacing: .12em;
  color: #8FB6C6; margin-bottom: 4px;
}
.footer__dl dd { margin: 0; font-size: 15.5px; line-height: 1.75; color: #EAF4F8; }
.footer__dl dd a { word-break: break-all; }

.footer__social { display: flex; gap: 8px; margin-top: 26px; }
.footer__social .icon-link { color: #fff; box-shadow: inset 0 0 0 1px rgba(255,255,255,.24); }
.footer__social .icon-link:hover { background: rgba(255,255,255,.12); color: #fff; }

.footer__nav { margin-top: 28px; }
.footer__nav ul { display: flex; flex-wrap: wrap; gap: 2px 8px; }
.footer__nav a {
  display: flex; align-items: center; min-height: 48px; padding: 0 12px;
  border-radius: 10px;
  font-size: 15px; text-decoration: none;
}
.footer__nav a:hover { background: rgba(255,255,255,.1); }

.footer__copy {
  margin-top: 26px; padding-top: 20px;
  border-top: 1px solid rgba(255,255,255,.14);
  font-family: var(--f-mono); font-size: 11px; letter-spacing: .06em;
  color: #8FB6C6;
}

/* --------------------------------------------------------------------------
   16. 下部固定 CTA バー
   -------------------------------------------------------------------------- */
.cta-bar {
  position: fixed; z-index: 90;
  left: 0; right: 0; bottom: 0;
  background: rgba(255, 255, 255, .94);
  -webkit-backdrop-filter: saturate(150%) blur(10px);
  backdrop-filter: saturate(150%) blur(10px);
  border-top: 1px solid var(--c-line);
  box-shadow: 0 -6px 20px rgba(15, 42, 56, .07);
  padding: 10px var(--pad) calc(10px + env(safe-area-inset-bottom, 0px));
  transition: transform .28s ease, opacity .28s ease;
}
.cta-bar__inner {
  max-width: var(--maxw); margin-inline: auto;
  display: flex; align-items: center; gap: 12px;
}
.cta-bar__info { flex: 1 1 auto; min-width: 0; }
.cta-bar__label {
  display: block;
  font-family: var(--f-mono); font-size: 9.5px; letter-spacing: .12em;
  color: var(--c-blue-ink);
}
.cta-bar__text {
  display: block;
  font-size: 13.5px; font-weight: 700; line-height: 1.5;
  color: var(--c-ink-deep);
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.cta-bar__text .countdown__num { font-size: 17px; }
.cta-bar .btn { flex: 0 0 auto; min-height: 48px; padding-inline: 20px; font-size: 15.5px; }
/* フッターに到達したら自然に隠れる */
.cta-bar.is-hidden { transform: translateY(calc(100% + 10px)); opacity: 0; }

/* --------------------------------------------------------------------------
   17. スクロールに応じた控えめなフェードイン
   -------------------------------------------------------------------------- */
.js .reveal {
  opacity: 0;
  transform: translateY(14px);
  transition: opacity .55s ease, transform .55s ease;
}
.js .reveal.is-in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .js .reveal { opacity: 1; transform: none; transition: none; }
  *, *::before, *::after {
    animation-duration: .001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .001ms !important;
  }
}

/* --------------------------------------------------------------------------
   18. ブレークポイント
   -------------------------------------------------------------------------- */
@media (min-width: 600px) {
  .section { padding-block: 76px; }
  .rules { grid-template-columns: repeat(3, 1fr); }
  .cp-list { grid-template-columns: repeat(2, 1fr); }
  .perks { grid-template-columns: repeat(2, 1fr); }
  .event-cards { grid-template-columns: repeat(2, 1fr); }
  .event-cards .ev--wide { grid-column: span 2; }
  .orgs { grid-template-columns: repeat(2, 1fr); }
  .mail-card__actions { grid-template-columns: 1fr 1fr; }
  .footer__dl { grid-template-columns: repeat(2, 1fr); }
  .hero__catch { max-width: 12em; }
  .dl { display: grid; grid-template-columns: repeat(2, 1fr); gap: 0 24px; padding: 4px 24px; }
}

@media (min-width: 900px) {
  :root { --pad: 40px; }
  .section { padding-block: 96px; }
  .site-header__inner { min-height: 72px; }
  .brand__main { font-size: 24px; }
  .brand__sub { font-size: 10.5px; }

  /* デスクトップではメニューボタンを隠してナビを常時表示 */
  .js .nav-toggle { display: none; }
  .js .site-nav { display: block; border-top: 0; }
  .js .site-nav ul { flex-direction: row; gap: 2px; padding-block: 0; }
  .site-nav ul { padding-bottom: 0; }
  .site-nav a { font-size: 15px; padding-inline: 12px; }

  .sec-head__ja { font-size: 32px; }
  .lede { font-size: 19px; }

  .hero { padding-block: 60px 170px; }
  .hero__scene { height: 52%; }

  .cp-list { grid-template-columns: repeat(3, 1fr); }
  .perks { grid-template-columns: repeat(3, 1fr); }
  .perks .perk--wide { grid-column: span 2; }
  .ig-grid { grid-template-columns: repeat(3, 1fr); }
  .entry-steps { grid-template-columns: repeat(3, 1fr); gap: 24px; }
  .event-cards { grid-template-columns: repeat(3, 1fr); }
  .orgs { grid-template-columns: repeat(4, 1fr); }
  .event-cards .ev--wide { grid-column: span 3; }
  .timeline { grid-template-columns: repeat(3, 1fr); gap: 28px; }
  .tl { padding-bottom: 0; }
  .tl::after { display: none; }
  .news-item > a { flex-wrap: nowrap; }
  .news-item__title { flex: 1 1 auto; }
  .step { padding-bottom: 0; }
  .step::after { display: none; }
  .dl { grid-template-columns: repeat(3, 1fr); }

  /* 4カラムだと1列約250pxしかなく、「しまなみ海道ツーリング実行委員会」や
     メールアドレスが途中で折り返して不格好になる。PCでも2×2で1行に収める。 */
  .footer__dl { grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 56px; }

  /* 地図とリストを横に並べる */
  .map-layout { display: grid; grid-template-columns: 360px 1fr; gap: 40px; align-items: start; }
  .map { margin: 0; }
  .map-layout .cp-list { grid-template-columns: repeat(2, 1fr); }
}

@media (min-width: 1200px) {
  .hero__catch { font-size: 66px; }
}
