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

:root {
  --color-bg: #f0f9ff;
  --color-bg-alt: #ecfdf5;
  --color-surface: #ffffff;
  --color-text: #0f172a;
  --color-muted: #64748b;
  --color-sky: #38bdf8;
  --color-sky-deep: #0284c7;
  --color-green: #4ade80;
  --color-green-deep: #16a34a;
  --color-orange: #fb923c;
  --color-orange-deep: #ea580c;
  --color-pink: #f472b6;
  --color-border: rgba(148, 163, 184, 0.35);
  --gradient-brand: linear-gradient(135deg, #38bdf8 0%, #4ade80 55%, #fbbf24 100%);
  --gradient-hero: linear-gradient(180deg, transparent 35%, rgba(2, 132, 199, 0.82) 100%);
  --gradient-footer: linear-gradient(135deg, #0ea5e9 0%, #22c55e 100%);
  --gradient-btn-primary: linear-gradient(135deg, #fb923c 0%, #f97316 100%);
  --gradient-btn-secondary: linear-gradient(135deg, #38bdf8 0%, #0284c7 100%);
  --shadow-sm: 0 4px 14px rgba(14, 165, 233, 0.08);
  --shadow-md: 0 12px 32px rgba(14, 165, 233, 0.12);
  --shadow-pop: 0 16px 40px rgba(249, 115, 22, 0.18);
  --radius: 16px;
  --radius-lg: 24px;
  --radius-pill: 999px;
  --font-display: "M PLUS Rounded 1c", "Noto Sans JP", system-ui, sans-serif;
  --font-body: "Noto Sans JP", system-ui, sans-serif;
  --max-width: 1240px;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.75;
  color: var(--color-text);
  background:
    radial-gradient(circle at 8% 12%, rgba(56, 189, 248, 0.18), transparent 42%),
    radial-gradient(circle at 92% 8%, rgba(74, 222, 128, 0.16), transparent 38%),
    radial-gradient(circle at 50% 100%, rgba(251, 191, 36, 0.1), transparent 45%),
    linear-gradient(180deg, var(--color-bg) 0%, #f8fafc 45%, var(--color-bg-alt) 100%);
  min-height: 100vh;
}

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

a {
  color: var(--color-sky-deep);
  transition: color 0.2s ease;
}

a:hover {
  color: var(--color-orange-deep);
}

.container {
  width: min(100% - 2rem, var(--max-width));
  margin-inline: auto;
}

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  z-index: 999;
  padding: 0.75rem 1rem;
  background: var(--color-sky-deep);
  color: #fff;
  border-radius: var(--radius-pill);
}

.skip-link:focus {
  left: 1rem;
  top: 1rem;
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.88);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--color-border);
  box-shadow: var(--shadow-sm);
}

.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding-block: 0.875rem;
  position: relative;
}

.site-header__actions {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  flex-shrink: 0;
}

.header-cta {
  min-height: 40px;
  padding: 0.45rem 1rem;
  font-size: 0.85rem;
  white-space: nowrap;
}

.site-header__brand a {
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 800;
  color: var(--color-text);
  text-decoration: none;
  letter-spacing: 0.02em;
}

.site-header__sub {
  display: block;
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--color-sky-deep);
  letter-spacing: 0.06em;
}

.nav-toggle {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 2px solid rgba(56, 189, 248, 0.35);
  border-radius: var(--radius-pill);
  background: #fff;
  cursor: pointer;
  box-shadow: var(--shadow-sm);
}

.nav-toggle span {
  display: block;
  width: 20px;
  height: 2px;
  margin-inline: auto;
  background: var(--color-sky-deep);
  border-radius: 2px;
  transition: transform 0.2s, opacity 0.2s;
}

.nav-toggle[aria-expanded="true"] span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.nav-toggle[aria-expanded="true"] span:nth-child(2) {
  opacity: 0;
}

.nav-toggle[aria-expanded="true"] span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

.site-nav {
  display: none;
  position: absolute;
  inset-inline: 0;
  top: 100%;
  background: rgba(255, 255, 255, 0.98);
  border-bottom: 1px solid var(--color-border);
  box-shadow: var(--shadow-md);
}

.site-nav.is-open {
  display: block;
}

.site-nav ul {
  list-style: none;
  margin: 0;
  padding: 0.75rem 0;
}

.site-nav a {
  display: block;
  padding: 0.75rem 1.5rem;
  color: var(--color-text);
  text-decoration: none;
  font-weight: 700;
  font-size: 0.95rem;
}

.site-nav a[aria-current="page"] {
  color: #fff;
  background: var(--gradient-btn-secondary);
  margin-inline: 0.75rem;
  border-radius: var(--radius-pill);
}

.site-nav a:hover {
  background: rgba(56, 189, 248, 0.12);
}

@media (min-width: 900px) {
  .site-header__inner {
    display: grid;
    grid-template-columns: auto 1fr auto;
    align-items: center;
    gap: 1.5rem;
  }

  .nav-toggle {
    display: none;
  }

  .site-nav {
    display: block;
    position: static;
    border: none;
    box-shadow: none;
    background: transparent;
    justify-self: center;
  }

  .site-nav ul {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.25rem;
    padding: 0;
  }

  .site-nav a {
    padding: 0.45rem 0.85rem;
    border-radius: var(--radius-pill);
    font-size: 0.86rem;
  }

  .site-nav a[aria-current="page"] {
    margin-inline: 0;
    box-shadow: var(--shadow-sm);
  }
}

/* Main */
main {
  padding-block: 2rem 4rem;
}

.page-header {
  margin-bottom: 2rem;
  text-align: center;
}

.page-header h1 {
  margin: 0 0 0.5rem;
  font-family: var(--font-display);
  font-size: clamp(1.75rem, 4.5vw, 2.35rem);
  font-weight: 800;
  line-height: 1.25;
  background: var(--gradient-brand);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.page-header p {
  margin: 0;
  color: var(--color-muted);
  font-weight: 500;
}

.section-title {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  margin: 0 0 1rem;
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--color-sky-deep);
}

.section-title::before {
  content: "";
  width: 0.55rem;
  height: 1.4rem;
  border-radius: var(--radius-pill);
  background: var(--gradient-brand);
  flex-shrink: 0;
}

.content-card {
  position: relative;
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: 1.75rem;
  box-shadow: var(--shadow-sm);
  overflow: hidden;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.content-card::before {
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: 4px;
  background: var(--gradient-brand);
}

.content-card:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.content-card + .content-card {
  margin-top: 1.5rem;
}

.content-card h2 {
  margin: 0 0 1rem;
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 800;
  color: var(--color-sky-deep);
}

.content-card ul,
.content-card ol {
  padding-left: 1.25rem;
}

.content-card li + li {
  margin-top: 0.5rem;
}

/* コース図（PDF埋め込み + ダウンロードリンク） */
.course-maps {
  display: grid;
  gap: 1.25rem;
  margin-top: 1.25rem;
  padding-top: 1rem;
  border-top: 1px solid var(--color-border);
}

@media (min-width: 768px) {
  .course-maps {
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
  }
}

.course-map {
  margin: 0;
}

.course-map figcaption {
  margin: 0 0 0.5rem;
  font-family: var(--font-display);
  font-size: 0.95rem;
  font-weight: 800;
  color: var(--color-text);
}

.course-map__frame {
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  overflow: hidden;
  background: #f8fafc;
  box-shadow: var(--shadow-sm);
}

.course-map__frame object {
  display: block;
  width: 100%;
  min-height: clamp(220px, 42vw, 360px);
  border: 0;
}

.course-map__fallback {
  margin: 0;
  padding: 1.25rem;
  font-size: 0.9rem;
  color: var(--color-muted);
  text-align: center;
}

.course-map__action {
  margin: 0.65rem 0 0;
  text-align: center;
}

@media (min-width: 768px) {
  .course-map__action {
    text-align: left;
  }
}

/* 運行スケジュール（詳細タイムライン） */
.run-schedule {
  margin-top: 1.25rem;
  padding-top: 1rem;
  border-top: 1px solid var(--color-border);
}

.run-schedule__heading {
  margin: 0 0 1rem;
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 800;
  color: var(--color-text);
}

.run-schedule__group + .run-schedule__group {
  margin-top: 1.5rem;
  padding-top: 1.25rem;
  border-top: 1px dashed var(--color-border);
}

.run-schedule__name {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 0.35rem 0.75rem;
  margin: 0 0 0.75rem;
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 800;
  color: var(--color-primary);
}

.run-schedule__gather {
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--color-text);
}

.run-schedule__timeline {
  margin: 0;
  padding: 0;
  list-style: none;
}

.run-schedule__item {
  display: grid;
  grid-template-columns: 4.25rem 1fr;
  gap: 0.5rem 0.75rem;
  padding: 0.55rem 0;
  border-bottom: 1px solid var(--color-border);
}

.run-schedule__text-wrap {
  min-width: 0;
}

.run-schedule__text-wrap .run-schedule__text {
  display: block;
}

.run-schedule__item:last-child {
  border-bottom: 0;
}

.run-schedule__time {
  font-family: var(--font-display);
  font-size: 0.95rem;
  font-weight: 800;
  color: var(--color-primary);
  white-space: nowrap;
}

.run-schedule__text {
  font-size: 0.95rem;
  line-height: 1.5;
  color: var(--color-text);
}

.run-schedule__route {
  margin: 0.75rem 0 0;
  padding: 0.65rem 0.85rem;
  font-size: 0.9rem;
  line-height: 1.55;
  color: var(--color-muted);
  background: #f8fafc;
  border-radius: var(--radius-md);
  border-left: 3px solid var(--color-primary);
}

.run-schedule__note {
  margin: 1.25rem 0 0;
  font-size: 0.85rem;
  line-height: 1.6;
  color: var(--color-muted);
}

/* 先走り参加案内 */
.event-guide__heading {
  margin: 0 0 0.75rem;
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 800;
}

.event-guide__intro {
  margin: 0 0 1.25rem;
  color: var(--color-muted);
  line-height: 1.65;
}

.event-guide__subheading {
  margin: 1.25rem 0 0.5rem;
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 800;
  color: var(--color-text);
}

.event-guide__subheading:first-of-type {
  margin-top: 0;
}

.event-guide__event-type {
  margin: 0 0 0.35rem;
  font-weight: 700;
  color: var(--color-primary);
}

.event-guide__gathering {
  margin: 0 0 0.75rem;
}

.event-guide__timeline {
  margin-bottom: 0;
}

.event-guide__list,
.event-guide__contacts {
  margin: 0;
  padding-left: 1.25rem;
}

.event-guide__list li + li,
.event-guide__contacts li + li {
  margin-top: 0.45rem;
}

.event-guide__note-item {
  color: var(--color-muted);
}

.event-guide__alert {
  margin: 0.4rem 0 0;
  padding: 0.45rem 0.6rem;
  font-size: 0.85rem;
  line-height: 1.5;
  color: #b45309;
  background: #fffbeb;
  border-radius: var(--radius-sm);
  border-left: 3px solid #f59e0b;
}

.event-guide__hours {
  font-size: 0.85rem;
  color: var(--color-muted);
}

.event-guide__contacts a {
  font-weight: 700;
}

.event-guide__day {
  margin-top: 1.5rem;
  padding-top: 1.25rem;
  border-top: 1px solid var(--color-border);
}

.event-guide__day:first-of-type {
  margin-top: 0.75rem;
  padding-top: 0;
  border-top: 0;
}

.event-guide__day-title {
  margin: 0 0 0.35rem;
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 800;
  color: var(--color-text);
}

.event-guide__dates-note {
  margin: 0 0 0.75rem;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--color-primary);
}

.event-dates-summary {
  margin: 1rem 0 0;
  padding-left: 1.25rem;
  line-height: 1.7;
}

.event-dates-summary a {
  font-weight: 700;
  color: var(--color-primary);
}

.lead {
  font-size: 1.05rem;
  color: var(--color-muted);
  font-weight: 500;
}

/* Hero */
.hero {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-lg);
  margin-bottom: 2rem;
  box-shadow: var(--shadow-md);
  border: 3px solid rgba(255, 255, 255, 0.85);
}

.hero img {
  width: 100%;
  height: auto;
  aspect-ratio: 1024 / 561;
  object-fit: cover;
  object-position: center center;
}

.hero__badge {
  position: absolute;
  top: 1rem;
  right: 1rem;
  z-index: 2;
  padding: 0.35rem 0.9rem;
  font-family: var(--font-display);
  font-size: 0.85rem;
  font-weight: 800;
  color: #fff;
  background: var(--gradient-btn-primary);
  border-radius: var(--radius-pill);
  box-shadow: var(--shadow-pop);
  letter-spacing: 0.05em;
}

.hero__overlay {
  position: absolute;
  inset: auto 0 0 0;
  padding: 2rem 1.5rem 1.5rem;
  background: var(--gradient-hero);
  color: #fff;
}

.hero__overlay h1 {
  margin: 0 0 0.35rem;
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 4.5vw, 2.1rem);
  font-weight: 800;
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.2);
}

.hero__overlay p {
  margin: 0;
  font-size: 0.98rem;
  font-weight: 500;
  opacity: 0.96;
  max-width: 36rem;
}

/* Buttons */
.btn-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
  margin-top: 1.5rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0.7rem 1.5rem;
  border-radius: var(--radius-pill);
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 0.95rem;
  text-decoration: none;
  border: none;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease, filter 0.2s ease;
  box-shadow: var(--shadow-sm);
}

.btn:hover {
  transform: translateY(-2px);
  filter: brightness(1.03);
}

.btn-primary {
  background: var(--gradient-btn-primary);
  color: #fff;
  box-shadow: var(--shadow-pop);
}

.btn-primary:hover {
  color: #fff;
}

.btn-secondary {
  background: var(--gradient-btn-secondary);
  color: #fff;
}

.btn-secondary:hover {
  color: #fff;
}

.btn-line {
  background: #06c755;
  color: #fff;
  box-shadow: 0 4px 14px rgba(6, 199, 85, 0.35);
}

.btn-line:hover {
  color: #fff;
  background: #05b04c;
  box-shadow: 0 6px 20px rgba(6, 199, 85, 0.45);
}

.btn-line--light {
  background: #06c755;
  color: #fff;
  border: 2px solid rgba(255, 255, 255, 0.5);
}

.btn-line--light:hover {
  color: #fff;
  background: #05b04c;
}

.btn-line--large {
  min-height: 52px;
  padding: 0.75rem 1.75rem;
  font-size: 1rem;
}

.header-line {
  min-height: 40px;
  padding: 0.45rem 0.85rem;
  font-size: 0.8rem;
}

@media (max-width: 480px) {
  .header-line {
    font-size: 0.68rem;
    padding: 0.4rem 0.55rem;
    min-height: 36px;
  }

  .header-cta {
    font-size: 0.75rem;
    padding: 0.4rem 0.65rem;
  }
}

.home-line-bar {
  padding-block: 1.25rem;
  background: linear-gradient(90deg, rgba(6, 199, 85, 0.12), rgba(6, 199, 85, 0.04));
  border-block: 1px solid rgba(6, 199, 85, 0.25);
}

.home-line-bar__inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.home-line-bar__label {
  margin: 0 0 0.2rem;
  font-family: var(--font-display);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  color: #059669;
  text-transform: uppercase;
}

.home-line-bar__lead {
  margin: 0;
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--color-text);
}

@media (max-width: 640px) {
  .home-line-bar__inner {
    flex-direction: column;
    align-items: stretch;
    text-align: center;
  }

  .home-line-bar__inner .btn-line--large {
    width: 100%;
  }
}

.btn-outline {
  background: #fff;
  color: var(--color-sky-deep);
  border: 2px solid rgba(56, 189, 248, 0.5);
}

.btn-outline:hover {
  background: rgba(56, 189, 248, 0.08);
  color: var(--color-sky-deep);
}

/* Schedule */
.schedule-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 1rem;
}

.schedule-item {
  display: grid;
  gap: 0.85rem;
  padding: 1.25rem 1.35rem;
  background: linear-gradient(135deg, #fff 0%, #f8fdff 100%);
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  border-left: 5px solid var(--color-sky);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.schedule-item:hover {
  transform: translateX(4px);
  box-shadow: var(--shadow-md);
}

@media (min-width: 640px) {
  .schedule-item {
    grid-template-columns: 6.5rem 1fr;
    align-items: start;
  }
}

.schedule-item__date {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.05rem;
  width: fit-content;
  min-width: 4.5rem;
  padding: 0.4rem 0.75rem;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 0.88rem;
  color: var(--color-text);
  background: #fff;
  border: 2px solid var(--color-border);
  border-radius: var(--radius-pill);
  line-height: 1.3;
  box-shadow: var(--shadow-sm);
}

.schedule-item__date-num {
  font-weight: 800;
  color: var(--color-text);
}

.schedule-item h3 {
  margin: 0 0 0.35rem;
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 800;
  color: var(--color-text);
}

.schedule-item p {
  margin: 0;
  color: var(--color-muted);
  font-size: 0.95rem;
}

.notice {
  padding: 0.9rem 1.1rem;
  background: linear-gradient(90deg, rgba(251, 146, 60, 0.12), rgba(56, 189, 248, 0.1));
  border: 1px solid rgba(251, 146, 60, 0.35);
  border-radius: var(--radius);
  font-size: 0.92rem;
  font-weight: 500;
  margin-bottom: 1rem;
  color: #9a3412;
}

/* FAQ */
.faq-list {
  display: grid;
  gap: 0.85rem;
}

.faq-item {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: box-shadow 0.2s ease;
}

.faq-item[open] {
  box-shadow: var(--shadow-md);
  border-color: rgba(56, 189, 248, 0.45);
}

.faq-item summary {
  padding: 1rem 1.25rem;
  font-family: var(--font-display);
  font-weight: 700;
  cursor: pointer;
  list-style: none;
  color: var(--color-text);
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item summary::after {
  content: "+";
  float: right;
  font-size: 1.35rem;
  font-weight: 800;
  color: var(--color-sky-deep);
}

.faq-item[open] summary {
  background: linear-gradient(90deg, rgba(56, 189, 248, 0.12), transparent);
  color: var(--color-sky-deep);
}

.faq-item[open] summary::after {
  content: "−";
  color: var(--color-orange-deep);
}

.faq-item__answer {
  padding: 0 1.25rem 1rem;
  color: var(--color-muted);
  border-top: 1px dashed var(--color-border);
}

/* Price table */
.price-table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  margin: 1rem 0;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--color-border);
}

.price-table th,
.price-table td {
  padding: 0.85rem 1rem;
  text-align: left;
}

.price-table th {
  background: linear-gradient(135deg, rgba(56, 189, 248, 0.15), rgba(74, 222, 128, 0.12));
  width: 38%;
  font-weight: 700;
  color: var(--color-sky-deep);
  border-bottom: 1px solid var(--color-border);
}

.price-table td {
  background: #fff;
  border-bottom: 1px solid var(--color-border);
}

.price-table tr:last-child th,
.price-table tr:last-child td {
  border-bottom: none;
}

/* Footer */
.site-footer {
  background: var(--gradient-footer);
  color: #fff;
  padding-block: 2.75rem;
  margin-top: 2rem;
  position: relative;
  overflow: hidden;
}

.site-footer::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 20% 0%, rgba(255, 255, 255, 0.18), transparent 45%),
    radial-gradient(circle at 80% 100%, rgba(255, 255, 255, 0.12), transparent 40%);
  pointer-events: none;
}

.site-footer .container {
  position: relative;
  z-index: 1;
}

.site-footer a {
  color: #fff;
  font-weight: 600;
}

.site-footer h2 {
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 800;
  margin: 0 0 0.75rem;
}

.line-cta {
  text-align: center;
  margin-bottom: 2rem;
  padding: 1.5rem;
  background: rgba(255, 255, 255, 0.14);
  border-radius: var(--radius-lg);
  backdrop-filter: blur(6px);
}

.line-cta p {
  max-width: 36rem;
  margin: 0 auto 1rem;
  font-weight: 500;
}

.line-cta img {
  margin-inline: auto;
  border-radius: var(--radius-pill);
}

.site-footer__grid {
  display: grid;
  gap: 2rem;
  margin-bottom: 2rem;
}

@media (min-width: 640px) {
  .site-footer__grid {
    grid-template-columns: 1fr 1fr;
  }
}

.site-footer address {
  font-style: normal;
}

.site-footer__note {
  font-size: 0.9rem;
  opacity: 0.92;
}

.sns-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.sns-list a {
  display: inline-flex;
  align-items: center;
  padding: 0.45rem 1rem;
  background: rgba(255, 255, 255, 0.18);
  border-radius: var(--radius-pill);
  text-decoration: none;
  transition: background 0.2s ease;
}

.sns-list a:hover {
  background: rgba(255, 255, 255, 0.3);
  color: #fff;
}

.site-footer__copy {
  text-align: center;
  font-size: 0.875rem;
  opacity: 0.88;
  margin: 0;
  font-weight: 500;
}

/* Forms */
.apply-form {
  margin-top: 1.5rem;
}

.form-section {
  margin: 0 0 1.25rem;
  padding: 1.35rem;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  background: rgba(255, 255, 255, 0.75);
  box-shadow: var(--shadow-sm);
}

.form-section legend {
  font-family: var(--font-display);
  font-weight: 800;
  padding: 0 0.5rem;
  color: var(--color-sky-deep);
}

.form-grid {
  display: grid;
  gap: 1rem;
}

@media (min-width: 640px) {
  .form-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .form-field--wide {
    grid-column: 1 / -1;
  }
}

.form-field label,
.field-label {
  display: block;
  font-weight: 700;
  margin-bottom: 0.35rem;
  font-size: 0.92rem;
  color: var(--color-text);
}

.form-field input[type="text"],
.form-field input[type="email"],
.form-field input[type="tel"],
.form-field input[type="date"],
.form-field select,
.form-field textarea {
  width: 100%;
  min-height: 46px;
  padding: 0.55rem 0.85rem;
  border: 2px solid rgba(148, 163, 184, 0.35);
  border-radius: var(--radius);
  font: inherit;
  background: #fff;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.form-field textarea {
  min-height: 7rem;
  resize: vertical;
  line-height: 1.6;
}

.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus {
  outline: none;
  border-color: var(--color-sky);
  box-shadow: 0 0 0 4px rgba(56, 189, 248, 0.2);
}

.apply-form .ime-active {
  ime-mode: active;
}

.apply-form .ime-inactive {
  ime-mode: inactive;
}

.apply-form .ime-disabled {
  ime-mode: disabled;
}

.checkbox-grid {
  display: grid;
  gap: 0.65rem;
}

.checkbox-label,
.radio-label {
  display: flex;
  align-items: flex-start;
  gap: 0.55rem;
  cursor: pointer;
  min-height: 44px;
  padding: 0.5rem 0.75rem;
  border-radius: var(--radius);
  transition: background 0.2s ease;
}

.checkbox-label:hover,
.radio-label:hover {
  background: rgba(56, 189, 248, 0.08);
}

.radio-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
}

.required {
  color: var(--color-orange-deep);
  font-size: 0.78rem;
  font-weight: 800;
}

.optional {
  color: var(--color-muted);
  font-size: 0.78rem;
  font-weight: 600;
}

.field-error {
  margin: 0.35rem 0 0;
  color: #dc2626;
  font-size: 0.875rem;
  font-weight: 600;
}

.form-alert {
  padding: 0.9rem 1rem;
  border-radius: var(--radius);
  margin-bottom: 1rem;
  font-weight: 600;
}

.form-alert--error {
  background: #fef2f2;
  border: 1px solid #fecaca;
  color: #b91c1c;
}

.form-alert--warning {
  background: #fffbeb;
  border: 1px solid #fde68a;
  color: #b45309;
}

.form-hint {
  margin: 0;
  font-size: 0.875rem;
  color: var(--color-muted);
}

.postal-lookup-status--error {
  color: #dc2626;
}

.postal-lookup-status--ok {
  color: var(--color-muted);
}

.content-card--highlight {
  border-color: rgba(56, 189, 248, 0.45);
  background: linear-gradient(135deg, rgba(56, 189, 248, 0.08), rgba(255, 255, 255, 0.95));
}

.terms-document__meta {
  margin: 0 0 0.75rem;
  font-size: 0.875rem;
  color: var(--color-muted);
}

.terms-document__lead {
  margin: 0 0 1.5rem;
  line-height: 1.75;
}

.terms-document__section {
  margin-bottom: 1rem;
}

.terms-document__section h2 {
  margin: 0 0 0.75rem;
  font-size: 1.125rem;
  font-family: var(--font-display, inherit);
}

.terms-document__section ol,
.terms-document__section ul {
  margin: 0;
  padding-left: 1.35rem;
  line-height: 1.75;
}

.terms-document__section li + li {
  margin-top: 0.5rem;
}

.terms-document__section p {
  margin: 0 0 0.75rem;
  line-height: 1.75;
}

.terms-document__section p:last-child {
  margin-bottom: 0;
}

.terms-document__note {
  margin-top: 1rem;
  font-size: 0.9rem;
  color: var(--color-muted);
}

.terms-document + .btn-row {
  margin-top: 1.5rem;
}

.participants-container {
  display: grid;
  gap: 1.25rem;
}

.hp-field {
  position: absolute;
  left: -9999px;
  height: 0;
  overflow: hidden;
}

.confirm-summary {
  white-space: pre-wrap;
  line-height: 1.8;
  font-size: 0.95rem;
}

.apply-receipt-card {
  border: 2px solid rgba(56, 189, 248, 0.35);
}

.apply-receipt {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.apply-receipt__badge {
  display: inline-block;
  margin: 0;
  padding: 0.35rem 0.85rem;
  font-size: 0.875rem;
  font-weight: 700;
  color: #0c4a6e;
  background: rgba(56, 189, 248, 0.2);
  border-radius: 999px;
  width: fit-content;
}

.apply-receipt__meta {
  margin: 0;
  display: grid;
  gap: 0.5rem;
}

.apply-receipt__meta-row {
  display: grid;
  grid-template-columns: 6.5rem 1fr;
  gap: 0.5rem 1rem;
  margin: 0;
}

.apply-receipt__meta-row dt {
  margin: 0;
  font-weight: 700;
  color: var(--color-muted);
}

.apply-receipt__meta-row dd {
  margin: 0;
  word-break: break-word;
}

.apply-receipt__id {
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: 0.02em;
}

.apply-receipt__heading {
  margin: 0;
  font-size: 1.05rem;
  font-family: var(--font-display, inherit);
}

.apply-receipt__fees th {
  width: 62%;
}

.apply-receipt__fees-total th,
.apply-receipt__fees-total td {
  font-size: 1.05rem;
  font-weight: 700;
  background: rgba(56, 189, 248, 0.1);
}

.apply-receipt__fee-notes {
  margin: 0;
  padding-left: 1.2rem;
  font-size: 0.875rem;
  color: var(--color-muted);
  line-height: 1.6;
}

.apply-receipt__fee-notes li + li {
  margin-top: 0.35rem;
}

.apply-receipt__summary {
  margin: 0;
  padding: 1rem;
  background: #f8fafc;
  border-radius: var(--radius);
  border: 1px solid rgba(148, 163, 184, 0.25);
}

.apply-receipt-notice {
  margin-bottom: 1rem;
}

.apply-receipt-notice p {
  margin: 0 0 0.5rem;
}

.apply-receipt-notice p:last-child {
  margin-bottom: 0;
}

.apply-receipt-contact {
  margin: 1rem 0 0;
  font-size: 0.95rem;
}

.apply-submit-overlay {
  position: fixed;
  inset: 0;
  z-index: 10000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
  background: rgba(15, 23, 42, 0.55);
  backdrop-filter: blur(4px);
}

.apply-submit-overlay[hidden] {
  display: none;
}

body.apply-submit-overlay-open {
  overflow: hidden;
}

.apply-submit-overlay__dialog {
  width: min(100%, 22rem);
  padding: 1.75rem 1.5rem;
  border-radius: var(--radius-lg);
  background: var(--color-surface);
  box-shadow: var(--shadow-md);
  text-align: center;
}

.apply-submit-overlay__spinner {
  width: 3rem;
  height: 3rem;
  margin: 0 auto 1.25rem;
  border: 4px solid rgba(56, 189, 248, 0.25);
  border-top-color: var(--color-sky-deep);
  border-radius: 50%;
  animation: apply-submit-spin 0.8s linear infinite;
}

.apply-submit-overlay__title {
  margin: 0 0 0.75rem;
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--color-text);
}

.apply-submit-overlay__text {
  margin: 0;
  font-size: 0.95rem;
  line-height: 1.6;
  color: var(--color-muted);
}

@keyframes apply-submit-spin {
  to {
    transform: rotate(360deg);
  }
}

@media (max-width: 520px) {
  .apply-receipt__meta-row {
    grid-template-columns: 1fr;
    gap: 0.15rem;
  }
}

.participant-block + .participant-block {
  margin-top: 0;
}

.participant-add-row {
  margin: 1.25rem 0 2rem;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.5rem;
}

.participant-block__actions {
  margin-top: 0.75rem;
}

.btn-sm {
  padding: 0.35rem 0.85rem;
  font-size: 0.875rem;
}

/* Utilities */
.text-gradient {
  background: var(--gradient-brand);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.section-head {
  margin-bottom: 2rem;
  max-width: 40rem;
}

.section-head__label {
  margin: 0 0 0.5rem;
  font-family: var(--font-display);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--color-sky-deep);
}

.section-head h2 {
  margin: 0 0 0.65rem;
  font-family: var(--font-display);
  font-size: clamp(1.6rem, 3.5vw, 2.2rem);
  font-weight: 800;
  line-height: 1.2;
  color: var(--color-text);
}

.section-head__lead {
  margin: 0;
  color: var(--color-muted);
  font-weight: 500;
}

.section-head--light .section-head__label,
.section-head--light h2 {
  color: #fff;
}

.section-head--light .section-head__lead {
  color: rgba(255, 255, 255, 0.82);
}

/* Home page */
.page-home main {
  padding-block: 0;
}

.page-home .site-footer {
  margin-top: 0;
}

.home-hero {
  position: relative;
  padding: 0;
  overflow: hidden;
}

.home-hero__image {
  display: block;
  width: 100%;
  height: auto;
  vertical-align: bottom;
  z-index: 0;
}

.home-hero__overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(180deg, transparent 0%, transparent 45%, rgba(0, 0, 0, 0.28) 100%),
    linear-gradient(
      90deg,
      rgba(0, 0, 0, 0.42) 0%,
      rgba(0, 0, 0, 0.12) 48%,
      transparent 72%
    );
  pointer-events: none;
}

.home-hero__inner.container {
  width: 100%;
  max-width: none;
  margin-inline: 0;
}

.home-hero__inner {
  position: absolute;
  inset: auto 0 0 0;
  z-index: 2;
  padding-block: clamp(2rem, 5vw, 4rem);
  padding-inline: clamp(1.5rem, 6vw, 4rem);
  display: flex;
  justify-content: center;
}

.home-hero__content {
  width: 100%;
  max-width: 34rem;
}

@media (min-width: 768px) {
  .home-hero__inner {
    justify-content: flex-start;
    padding-left: clamp(2.5rem, 12vw, 10rem);
    padding-right: clamp(2rem, 28vw, 36rem);
  }

  .home-hero__content {
    max-width: 32rem;
  }
}

@media (max-width: 767px) {
  .home-hero__content {
    text-align: center;
  }

  .home-hero__lead {
    margin-inline: auto;
  }

  .home-hero__actions {
    justify-content: center;
  }
}

.home-hero__eyebrow {
  display: inline-block;
  margin: 0 0 1rem;
  padding: 0.45rem 1rem;
  font-family: var(--font-display);
  font-size: clamp(0.78rem, 2vw, 0.92rem);
  font-weight: 800;
  line-height: 1.45;
  letter-spacing: 0.02em;
  color: #fff;
  background: rgba(0, 0, 0, 0.35);
  border: 1px solid rgba(255, 255, 255, 0.35);
  border-radius: var(--radius-md);
  backdrop-filter: blur(8px);
  max-width: 28rem;
}

.home-hero__content h1 {
  margin: 0 0 1rem;
  font-family: var(--font-display);
  font-size: clamp(2rem, 5vw, 3.4rem);
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.02em;
  color: #fff;
  text-shadow: 0 2px 16px rgba(0, 0, 0, 0.55), 0 0 40px rgba(0, 0, 0, 0.25);
}

.text-gradient--light {
  background: linear-gradient(135deg, #fff 0%, #bfdbfe 45%, #fde68a 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.home-hero__lead {
  margin: 0 0 1.75rem;
  font-size: 1.05rem;
  color: rgba(255, 255, 255, 0.95);
  font-weight: 500;
  max-width: 34rem;
  text-shadow: 0 1px 12px rgba(0, 0, 0, 0.5);
}

.home-hero__actions {
  margin-top: 0;
}

.btn-outline--light {
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
  border: 2px solid rgba(255, 255, 255, 0.65);
  backdrop-filter: blur(6px);
}

.btn-outline--light:hover {
  background: rgba(255, 255, 255, 0.22);
  color: #fff;
}

/* 一時非表示: 協賛・後援マーキー（再表示時は display: none を削除） */
.marquee {
  display: none;
  overflow: hidden;
  border-block: 1px solid var(--color-border);
  background: #f8fafc;
}

.marquee__track {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  width: max-content;
  padding-block: 1rem;
  animation: marquee-scroll 180s linear infinite;
}

.sponsor-logo {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  padding: 0.45rem 0.95rem;
  white-space: nowrap;
  line-height: 1.1;
  border: 1px solid rgba(148, 163, 184, 0.45);
  border-radius: 6px;
  background: #fff;
  box-shadow: 0 2px 8px rgba(15, 23, 42, 0.06);
}

.sponsor-logo--corp {
  font-family: "Zen Kaku Gothic New", "Noto Sans JP", sans-serif;
  font-weight: 900;
  font-size: 0.78rem;
  letter-spacing: 0.06em;
  color: #0f172a;
}

.sponsor-logo--caps {
  font-family: Oswald, "Zen Kaku Gothic New", sans-serif;
  font-weight: 700;
  font-size: 0.95rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #1e293b;
  border-color: #0f172a;
}

.sponsor-logo--serif {
  font-family: "Shippori Mincho", "Noto Sans JP", serif;
  font-weight: 700;
  font-size: 0.82rem;
  letter-spacing: 0.03em;
  color: #334155;
}

.sponsor-logo--wide {
  font-family: "Noto Sans JP", sans-serif;
  font-weight: 500;
  font-size: 0.72rem;
  letter-spacing: 0.16em;
  color: #475569;
  background: transparent;
  border-style: dashed;
}

.sponsor-logo--gothic {
  font-family: "Zen Kaku Gothic New", sans-serif;
  font-weight: 700;
  font-size: 0.8rem;
  letter-spacing: 0.04em;
  color: #0284c7;
}

.sponsor-logo--condensed {
  font-family: "Zen Kaku Gothic New", sans-serif;
  font-weight: 900;
  font-size: 0.74rem;
  letter-spacing: -0.01em;
  color: #0f172a;
  transform: scaleX(0.94);
}

.sponsor-logo--minimal {
  font-family: "M PLUS Rounded 1c", sans-serif;
  font-weight: 800;
  font-size: 0.88rem;
  letter-spacing: 0.05em;
  color: #0369a1;
  border: none;
  background: transparent;
  box-shadow: none;
  padding-inline: 0.35rem;
}

@keyframes marquee-scroll {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(-50%);
  }
}

.home-stats {
  padding-block: 2.5rem;
}

.home-stats__grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 168px), 1fr));
  gap: 1rem;
}

.stat-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.65rem;
  min-height: 100%;
  padding: 1.35rem 1rem 1.15rem;
  text-align: center;
  text-decoration: none;
  color: inherit;
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.stat-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
  border-color: rgba(56, 189, 248, 0.45);
  color: inherit;
}

.stat-card:hover .stat-card__cta {
  filter: brightness(1.05);
  box-shadow: var(--shadow-sm);
}

.stat-card__date {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.1rem;
  margin: 0;
  line-height: 1.2;
}

.stat-card__date-num {
  font-family: var(--font-display);
  font-size: clamp(1.4rem, 3vw, 1.85rem);
  font-weight: 800;
  background: var(--gradient-brand);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.stat-card__weekday {
  font-family: var(--font-display);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.04em;
}

/* 曜日色: 平日=黒 / 土=青 / 日=赤（全ページ共通） */
.weekday--weekday {
  color: #0f172a;
}

.weekday--sat {
  color: #0284c7;
}

.weekday--sun {
  color: #dc2626;
}

.content-card h2 .weekday,
.page-header .weekday {
  font-weight: 800;
}

.content-photo {
  margin: 0 0 1.25rem;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  background: #fff;
}

.content-photo img {
  display: block;
  width: 100%;
  height: auto;
}

.content-photo figcaption {
  margin: 0;
  padding: 0.65rem 1rem;
  font-size: 0.88rem;
  line-height: 1.5;
  color: var(--color-muted);
  text-align: center;
  background: #fff;
  border-top: 1px solid var(--color-border);
}

.content-photo--wide img {
  max-height: min(52vh, 420px);
  object-fit: cover;
  object-position: center 35%;
}

.stat-card__title {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
  flex: 1;
  width: 100%;
}

.stat-card__title-line {
  display: block;
  font-family: var(--font-display);
  font-size: 0.84rem;
  font-weight: 800;
  line-height: 1.35;
  color: var(--color-text);
}

.stat-card__cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-top: 0.35rem;
  padding: 0.45rem 0.9rem;
  font-family: var(--font-display);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  color: #fff;
  background: var(--gradient-btn-secondary);
  border-radius: var(--radius-pill);
  box-shadow: var(--shadow-sm);
  transition: filter 0.2s ease, box-shadow 0.2s ease;
}

.home-schedule .schedule-item h3 a {
  color: inherit;
  text-decoration: none;
}

.home-schedule .schedule-item h3 a:hover {
  color: #bfdbfe;
}

.home-features {
  padding-block: 3.5rem 4rem;
}

.feature-grid {
  display: grid;
  gap: 1.25rem;
}

@media (min-width: 640px) {
  .feature-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .feature-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

.feature-card {
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
  padding: 1.5rem;
  text-decoration: none;
  color: inherit;
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.feature-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: rgba(56, 189, 248, 0.45);
  color: inherit;
}

.feature-card__icon {
  font-family: var(--font-display);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  color: var(--color-orange-deep);
}

.feature-card h3 {
  margin: 0;
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 800;
  color: var(--color-text);
}

.feature-card p {
  margin: 0;
  flex: 1;
  font-size: 0.92rem;
  color: var(--color-muted);
  line-height: 1.65;
}

.feature-card__link {
  font-family: var(--font-display);
  font-size: 0.85rem;
  font-weight: 800;
  color: var(--color-sky-deep);
}

.home-schedule {
  padding-block: 4rem;
  background:
    linear-gradient(135deg, #0c4a6e 0%, #0369a1 45%, #15803d 100%);
  color: #fff;
}

.home-schedule .notice {
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 255, 255, 0.25);
  color: #fff;
}

.schedule-list--home {
  margin-top: 1.5rem;
}

.home-cta {
  padding-block: 4rem;
  background:
    radial-gradient(circle at 10% 50%, rgba(56, 189, 248, 0.15), transparent 45%),
    radial-gradient(circle at 90% 50%, rgba(251, 146, 60, 0.12), transparent 40%),
    #f8fafc;
}

.home-cta__inner {
  display: grid;
  gap: 2rem;
  align-items: center;
  padding: 2rem;
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
}

@media (min-width: 768px) {
  .home-cta__inner {
    grid-template-columns: 1fr auto;
    padding: 2.5rem 3rem;
  }

  .home-cta__actions {
    flex-direction: column;
    align-items: stretch;
    margin-top: 0;
  }

  .home-cta__actions .btn {
    min-width: 220px;
  }
}

.home-cta__content h2 {
  margin: 0 0 0.65rem;
  font-family: var(--font-display);
  font-size: clamp(1.4rem, 3vw, 1.85rem);
  font-weight: 800;
  color: var(--color-text);
}

.home-cta__content .lead {
  margin: 0;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .marquee__track {
    animation: none;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
}
