/* =========================================================
トークン定義（配色・タイポグラフィ）
========================================================= */
:root {
  --forest-900: #0b5f8a; /* オーシャンブルー（メイン） */
  --forest-700: #1479ad; /* ブルー（やや明） */
  --sea-700: #0e86b4; /* 澄んだ空のブルー */
  --sea-500: #29c2e0; /* ライトブルー */
  --spring-400: #7ef0d0; /* ミント */
  --gold-500: #ff6f5e; /* コーラル（CTA差し色） */
  --paper-100: #f4fbfe; /* 背景 */
  --paper-50: #ffffff;
  --ink-900: #163247; /* 本文色 */
  --ink-600: #4d6774;

  --font-display: "BIZ UDPGothic", "Noto Sans JP", sans-serif;
  --font-body: "BIZ UDPGothic", "Noto Sans JP", sans-serif;

  --radius-s: 6px;
  --radius-m: 14px;
  --shadow-card: 0 10px 30px rgba(11, 95, 138, 0.14);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--ink-900);
  background: var(--paper-100);
  line-height: 1.8;
  -webkit-font-smoothing: antialiased;
}

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

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

h1,
h2,
h3 {
  font-family: var(--font-display);
  margin: 0;
  letter-spacing: 0;
  font-weight: 700;
}

.container {
  width: min(1120px, 92%);
  margin-inline: auto;
}

section {
  padding: 5.5rem 0;
}

@media (max-width: 640px) {
  section {
    padding: 3.4rem 0;
  }
}

/* =========================
ヘッダー / ナビゲーション
========================= */
header.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: #ffffff; /* 背景を完全な白にして文字を見やすく修正 */
  border-bottom: 1px solid rgba(11, 95, 138, 0.1);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 0;
}

.logo {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.25rem;
  color: var(--forest-900);
}

.logo .logo-mark {
  width: 34px;
  height: 34px;
  flex: none;
  color: var(--sea-700);
}

nav.main-nav ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  gap: 2rem;
}

nav.main-nav a {
  font-size: 0.92rem;
  font-weight: 500;
  color: var(--forest-900);
  position: relative;
  padding-bottom: 4px;
}

nav.main-nav a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 0;
  height: 2px;
  background: var(--gold-500);
  transition: width 0.25s ease;
}

nav.main-nav a:hover::after {
  width: 100%;
}

.nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  color: var(--forest-900);
}

@media (max-width: 780px) {
  nav.main-nav {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--paper-50);
    border-bottom: 1px solid rgba(11, 95, 138, 0.1);
    transform-origin: top;
    transform: scaleY(0);
    opacity: 0;
    pointer-events: none;
    transition:
      transform 0.22s ease,
      opacity 0.22s ease;
  }
  nav.main-nav.open {
    transform: scaleY(1);
    opacity: 1;
    pointer-events: auto;
  }
  nav.main-nav ul {
    flex-direction: column;
    gap: 0;
    padding: 0.5rem 6%;
  }
  nav.main-nav li {
    border-bottom: 1px solid rgba(11, 95, 138, 0.06);
  }
  nav.main-nav a {
    display: block;
    padding: 0.9rem 0;
  }
  .nav-toggle {
    display: block;
  }
}

/* =========================
ヒーローセクション
========================= */
.hero {
  position: relative;
  min-height: 88vh;
  display: flex;
  align-items: flex-end;
  color: #fff;
  overflow: hidden;
}

.hero-media {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(11, 95, 138, 0.15) 0%, rgba(11, 95, 138, 0.35) 55%, rgba(7, 43, 63, 0.88) 100%);
  z-index: 1;
}

.hero-media img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: -1;
}

.hero-content {
  position: relative;
  z-index: 3;
  padding-bottom: 5.5rem;
  width: 100%;
}

.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 0.85rem;
  letter-spacing: 0.18em;
  color: var(--spring-400);
  margin-bottom: 1.1rem;
  font-weight: 500;
}

.hero-eyebrow::before {
  content: "";
  width: 34px;
  height: 1px;
  background: var(--spring-400);
}

.hero h1 {
  font-size: clamp(2rem, 5vw, 3.6rem);
  font-weight: 700;
  line-height: 1.4;
  max-width: 820px;
  text-shadow: 0 4px 24px rgba(0, 0, 0, 0.35);
}

.hero p.hero-sub {
  margin-top: 1rem;
  max-width: 560px;
  font-size: 1.02rem;
  color: rgba(255, 255, 255, 0.88);
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.95rem 2.1rem;
  border-radius: 999px;
  font-weight: 700;
  font-size: 0.98rem;
  border: 1px solid transparent;
  cursor: pointer;
  transition:
    transform 0.18s ease,
    box-shadow 0.18s ease,
    background 0.18s ease;
}

.btn-primary {
  background: var(--gold-500);
  color: var(--ink-900);
  box-shadow: 0 10px 24px rgba(255, 111, 94, 0.35);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 30px rgba(255, 111, 94, 0.45);
}

.hero-cta {
  margin-top: 2.2rem;
}

/* =========================
リードセクション
========================= */
.lead {
  background: var(--paper-100);
}

.lead-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 3.5rem;
  align-items: center;
}

@media (max-width: 860px) {
  .lead-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
}

.section-eyebrow {
  font-size: 0.82rem;
  letter-spacing: 0.16em;
  color: var(--sea-700);
  font-weight: 700;
  margin-bottom: 0.8rem;
  display: block;
}

.lead h2 {
  font-size: clamp(1.5rem, 3vw, 2.1rem);
  color: var(--forest-900);
  line-height: 1.6;
  margin-bottom: 1.4rem;
}

.lead p {
  color: var(--ink-600);
  font-size: 1rem;
  max-width: 52ch;
}

.region-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  margin-top: 1.8rem;
}

.region-tags span {
  font-size: 0.82rem;
  padding: 0.45rem 1rem;
  border-radius: 999px;
  background: var(--forest-900);
  color: #ffffff;
  font-weight: 500;
}

/* =========================
エリア全体マップセクション
========================= */
.map-section {
  background: var(--forest-900);
  color: var(--paper-50);
}

.map-section .section-eyebrow {
  color: var(--spring-400);
}

.map-section h2 {
  color: #fff;
  margin-bottom: 0.6rem;
  font-size: clamp(1.5rem, 3vw, 2.1rem);
}

.map-embed {
  position: relative;
  width: 100%;
  aspect-ratio: 16/9;
  border-radius: var(--radius-m);
  overflow: hidden;
  background: var(--forest-700);
  border: 1px dashed rgba(255, 255, 255, 0.35);
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: rgba(255, 255, 255, 0.55);
  font-size: 0.9rem;
  padding: 2rem;
}

.map-embed iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

/* =========================
ルート紹介セクション
========================= */
.routes {
  background: var(--paper-100);
}

.routes-head {
  text-align: center;
  max-width: 640px;
  margin: 0 auto 3.2rem;
}

.routes-head h2 {
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  color: var(--forest-900);
}

.routes-head p {
  color: var(--ink-600);
  margin-top: 0.8rem;
}

.route-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.8rem;
}

@media (max-width: 1020px) {
  .route-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 560px) {
  .route-grid {
    grid-template-columns: 1fr;
  }
}

.route-card {
  background: var(--paper-50);
  border-radius: var(--radius-m);
  overflow: hidden;
  box-shadow: var(--shadow-card);
  display: flex;
  flex-direction: column;
  transition:
    transform 0.22s ease,
    box-shadow 0.22s ease;
}

.route-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 16px 40px rgba(11, 95, 138, 0.18);
}

.route-thumb {
  aspect-ratio: 16/9;
  overflow: hidden;
  position: relative;
}

.route-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.route-card:hover .route-thumb img {
  transform: scale(1.06);
}

.route-body {
  padding: 1.3rem 1.4rem 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.7rem;
  flex: 1;
}

.route-body h3 {
  font-size: 1.08rem;
  color: var(--forest-900);
  line-height: 1.5;
}

.route-meta {
  display: flex;
  gap: 0.6rem;
  flex-wrap: wrap;
  font-size: 0.78rem;
}

.route-meta span {
  background: rgba(31, 79, 99, 0.09);
  color: var(--sea-700);
  padding: 0.3rem 0.7rem;
  border-radius: 999px;
  font-weight: 700;
}

.route-meta span.level-hard {
  background: rgba(255, 111, 94, 0.15);
  color: #b23a2c;
}

.route-body p {
  color: var(--ink-600);
  font-size: 0.9rem;
  flex: 1;
  margin: 0;
}

.route-link {
  margin-top: 0.4rem;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-weight: 700;
  font-size: 0.88rem;
  color: var(--sea-700);
}

.route-link svg {
  width: 16px;
  height: 16px;
  transition: transform 0.2s ease;
}

.route-card:hover .route-link svg {
  transform: translateX(4px);
}

/* =========================
フッター
========================= */
footer.site-footer {
  background: var(--forest-900);
  color: rgba(255, 255, 255, 0.82);
  padding: 3.6rem 0 2rem;
}

.footer-notice {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius-m);
  padding: 1.3rem 1.5rem;
  margin-bottom: 2.4rem;
}

.footer-notice svg {
  flex: none;
  width: 26px;
  height: 26px;
  color: var(--gold-500);
  margin-top: 2px;
}

.footer-notice p {
  margin: 0;
  font-size: 0.9rem;
  line-height: 1.9;
  color: rgba(255, 255, 255, 0.78);
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.8rem;
  padding-top: 1.6rem;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  font-size: 0.82rem;
  color: rgba(255, 255, 255, 0.55);
}

.footer-logo {
  font-family: var(--font-display);
  font-weight: 700;
  color: rgba(255, 255, 255, 0.85);
  font-size: 1.02rem;
}

/* アクセシビリティ・モーション軽減 */
a:focus-visible,
button:focus-visible {
  outline: 2px solid var(--gold-500);
  outline-offset: 3px;
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    transition: none !important;
    scroll-behavior: auto !important;
  }
}

/* YouTube埋め込み動画 */
.video-container {
  width: 80%;
  aspect-ratio: 16 / 9;
  margin-bottom: 1.5rem;
}

.video-container iframe {
  width: 100%;
  height: 100%;
  border: none;
}

/* スマホ画面では幅いっぱいに表示 */
@media (max-width: 768px) {
  .video-container {
    width: 100%;
  }
}
