:root {
  --ink: #0f172a;
  --muted: #475569;
  --line: rgba(15, 23, 42, 0.12);
  --sky: #f0f9ff;
  --slate: #f8fafc;
  --orange: #f97316;
  --orange-deep: #ea580c;
  --line-green: #06c755;
  --line-deep: #05a347;
  --white: #ffffff;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--white);
  color: var(--ink);
  font-family: "Zen Kaku Gothic New", "Hiragino Sans", "Yu Gothic", sans-serif;
  font-weight: 500;
  font-size: 16px;
  line-height: 1.75;
  overflow-x: hidden;
}

img {
  max-width: 100%;
  display: block;
}

button,
a {
  font-family: inherit;
}

a {
  color: inherit;
}

.wrap {
  max-width: 1080px;
  margin: 0 auto;
  padding: 0 24px;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 30;
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px 28px;
  min-height: 76px;
  padding-top: 12px;
  padding-bottom: 12px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
  text-decoration: none;
}

.logo-mark {
  flex: none;
  width: 42px;
  height: 42px;
  border-radius: 12px;
  background: var(--orange);
  color: var(--white);
  font-weight: 900;
  font-size: 1.35rem;
  line-height: 42px;
  text-align: center;
}

.logo-text {
  display: flex;
  flex-direction: column;
  min-width: 0;
}

.logo-en {
  font-weight: 700;
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  line-height: 1.3;
}

.logo-name {
  font-weight: 900;
  font-size: 1.35rem;
  letter-spacing: 0.04em;
  line-height: 1.1;
}

.gnav {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 8px 18px;
}

.gnav a {
  text-decoration: none;
  font-weight: 700;
  font-size: 0.95rem;
  line-height: 1.4;
}

.gnav a:hover {
  color: var(--orange-deep);
}

.fv {
  position: relative;
  display: flex;
  align-items: flex-end;
  min-height: 760px;
  color: var(--white);
  overflow: hidden;
}

.fv-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 78%;
}

.fv-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(rgba(15, 23, 42, 0.45), rgba(15, 23, 42, 0.65));
}

.fv-inner {
  position: relative;
  z-index: 1;
  padding-top: 72px;
  padding-bottom: 72px;
  max-width: 860px;
}

.fv-badge {
  display: inline-flex;
  flex-wrap: wrap;
  align-items: center;
  column-gap: 0.35em;
  row-gap: 2px;
  max-width: 100%;
  margin: 0 0 18px;
  padding: 6px 12px;
  border-radius: 999px;
  background: var(--orange);
  color: var(--white);
  font-weight: 700;
  font-size: 0.92rem;
  line-height: 1.5;
}

.sp-br {
  display: none;
}

.fv h1 {
  margin: 0 0 16px;
  max-width: 16em;
  font-weight: 900;
  font-size: clamp(2rem, 4.6vw, 3.35rem);
  line-height: 1.35;
  letter-spacing: 0.02em;
}

.fv-sub {
  margin: 0 0 28px;
  max-width: 38em;
  font-weight: 500;
  font-size: 1.08rem;
  line-height: 1.8;
}

.fv-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 12px 22px;
  border: none;
  border-radius: 999px;
  font-weight: 700;
  font-size: 1rem;
  line-height: 1.45;
  text-align: center;
  text-decoration: none;
  cursor: pointer;
}

.btn-line {
  background: var(--line-green);
  color: var(--white);
}

.btn-line:hover {
  background: var(--line-deep);
}

.btn-orange {
  background: var(--orange);
  color: var(--white);
}

.btn-orange:hover {
  background: var(--orange-deep);
}

.btn-block {
  width: 100%;
}

.btn:focus-visible,
.gnav a:focus-visible,
.faq-item summary:focus-visible {
  outline: 3px solid var(--orange);
  outline-offset: 3px;
}

.section {
  padding: 88px 0;
}

.section-sky {
  background: var(--sky);
}

.section-slate {
  background: var(--slate);
}

.section-kicker {
  margin: 0 0 8px;
  color: var(--orange);
  font-weight: 900;
  font-size: 0.82rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.section-head {
  max-width: 760px;
  margin-bottom: 36px;
}

.section-head h2,
.organizer-body h2 {
  margin: 0 0 14px;
  font-weight: 900;
  font-size: clamp(1.7rem, 3vw, 2.35rem);
  line-height: 1.4;
  letter-spacing: 0.02em;
}

.section-head h2::after {
  content: "";
  display: block;
  width: 56px;
  height: 4px;
  margin-top: 12px;
  border-radius: 999px;
  background: var(--orange);
}

.section-lead {
  margin: 0;
  color: var(--muted);
  font-weight: 500;
}

.gallery {
  display: grid;
  grid-template-columns: 1.15fr 0.9fr 0.9fr;
  grid-template-rows: 250px 300px;
  gap: 14px;
}

.tile {
  position: relative;
  margin: 0;
  border-radius: 20px;
  overflow: hidden;
  min-width: 0;
  background: #cbd5e1;
}

.tile img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.tile-coast {
  grid-column: 1;
  grid-row: 1 / 3;
}

.tile-coast img {
  object-position: center 24%;
}

.tile-stretch {
  grid-column: 2 / 4;
  grid-row: 1;
}

.tile-stretch img {
  object-position: center 45%;
}

.tile-cafe {
  grid-column: 2;
  grid-row: 2;
}

.tile-cafe img {
  object-position: center 30%;
}

.tile-trail {
  grid-column: 3;
  grid-row: 2;
}

.tile-trail img {
  object-position: center 35%;
}

.tile figcaption {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding: 56px 16px 14px;
  background: linear-gradient(transparent, rgba(15, 23, 42, 0.82));
  color: var(--white);
}

.tile figcaption span {
  font-weight: 900;
  font-size: 0.75rem;
  letter-spacing: 0.12em;
  color: #fdba74;
}

.tile figcaption strong {
  font-weight: 900;
  font-size: 1.05rem;
  line-height: 1.45;
}

.schedule {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  align-items: stretch;
}

.sched-card {
  display: flex;
  flex-direction: column;
  min-width: 0;
  padding: 18px 18px 20px;
  border-radius: 20px;
  background: var(--white);
  box-shadow: 0 10px 30px rgba(15, 23, 42, 0.06);
}

.sched-date {
  display: flex;
  align-items: baseline;
  gap: 10px;
  margin: 0 0 12px;
}

.sched-md {
  font-weight: 900;
  font-size: 2rem;
  line-height: 1;
  color: var(--orange);
}

.sched-meta {
  font-weight: 700;
  font-size: 0.95rem;
}

.level {
  align-self: flex-start;
  margin: 0 0 10px;
  padding: 3px 10px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 0.8rem;
  line-height: 1.5;
}

.level-beginner {
  background: var(--orange);
  color: var(--white);
}

.level-easy {
  background: #e0f2fe;
  color: #075985;
}

.level-trail {
  background: var(--ink);
  color: var(--white);
}

.sched-card h3 {
  margin: 0 0 14px;
  font-weight: 900;
  font-size: 1.15rem;
  line-height: 1.5;
}

.sched-facts {
  margin: 0 0 18px;
}

.sched-facts div {
  padding: 8px 0;
  border-top: 1px solid var(--line);
}

.sched-facts dt {
  font-weight: 700;
  font-size: 0.78rem;
  color: var(--muted);
}

.sched-facts dd {
  margin: 0;
  font-weight: 500;
}

.sched-facts strong {
  font-weight: 900;
  font-size: 1.15rem;
  color: var(--orange-deep);
}

.sched-card .btn {
  margin-top: auto;
}

.schedule-note {
  margin: 18px 0 0;
  color: var(--muted);
  font-size: 0.95rem;
}

.organizer {
  display: grid;
  grid-template-columns: minmax(0, 0.82fr) minmax(0, 1.18fr);
  gap: 36px;
  align-items: center;
}

.organizer-photo {
  width: 100%;
  height: 520px;
  object-fit: cover;
  object-position: center 18%;
  border-radius: 24px;
}

.organizer-body h2::after {
  content: "";
  display: block;
  width: 56px;
  height: 4px;
  margin-top: 12px;
  border-radius: 999px;
  background: var(--orange);
}

.organizer-name {
  margin: 0 0 12px;
  font-weight: 900;
}

.organizer-body p {
  margin: 0 0 14px;
}

.organizer-body .btn {
  margin-top: 6px;
}

.join-board {
  display: grid;
  gap: 22px;
}

.fee-row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.fee-item {
  padding: 22px 22px 18px;
  border-radius: 20px;
  background: var(--sky);
}

.fee-item-member {
  background: var(--ink);
  color: var(--white);
}

.fee-label {
  margin: 0;
  font-weight: 700;
  letter-spacing: 0.06em;
}

.fee-price {
  margin: 4px 0 6px;
  font-weight: 900;
  line-height: 1.1;
}

.fee-price span {
  font-size: 2.6rem;
  letter-spacing: 0.02em;
}

.fee-unit {
  font-size: 1rem !important;
  margin-left: 4px;
}

.fee-note {
  margin: 0;
  font-weight: 500;
  line-height: 1.6;
}

.fee-item-member .fee-note {
  color: rgba(255, 255, 255, 0.82);
}

.rule-list {
  margin: 0;
  border-top: 1px solid var(--line);
}

.rule-list div {
  display: grid;
  grid-template-columns: 7em minmax(0, 1fr);
  gap: 16px;
  padding: 16px 0;
  border-bottom: 1px solid var(--line);
}

.rule-list dt {
  font-weight: 900;
  color: var(--orange-deep);
}

.rule-list dd {
  margin: 0;
}

.faq-list {
  display: grid;
  gap: 10px;
}

.faq-item {
  border-radius: 16px;
  background: var(--white);
  border: 1px solid var(--line);
}

.faq-item summary {
  padding: 16px 18px;
  font-weight: 900;
  cursor: pointer;
  list-style: none;
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item summary span {
  display: block;
  padding-right: 1.6em;
  position: relative;
}

.faq-item summary span::after {
  content: "+";
  position: absolute;
  right: 0;
  top: 0;
  color: var(--orange);
  font-weight: 900;
}

.faq-item[open] summary span::after {
  content: "–";
}

.faq-body {
  padding: 0 18px 16px;
}

.faq-body p {
  margin: 0;
  color: var(--muted);
}

.faq-cta {
  margin-top: 28px;
}

.faq-cta p {
  margin: 0 0 12px;
  font-weight: 700;
}

.section-sns {
  padding-top: 64px;
  padding-bottom: 64px;
}

.section-sns .section-head {
  margin-bottom: 22px;
}

.sns-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.sns-card {
  display: flex;
  align-items: center;
  gap: 14px;
  width: 100%;
  min-width: 0;
  margin: 0;
  padding: 16px 18px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: var(--white);
  color: var(--ink);
  text-align: left;
  cursor: pointer;
}

.sns-card:hover {
  border-color: rgba(249, 115, 22, 0.45);
}

.sns-card:focus-visible {
  outline: 3px solid var(--orange);
  outline-offset: 3px;
}

.sns-icon {
  flex: none;
  display: grid;
  place-items: center;
  width: 52px;
  height: 52px;
}

.sns-icon svg {
  display: block;
  width: 40px;
  height: 40px;
}

.sns-copy {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
}

.sns-copy strong {
  font-weight: 900;
  font-size: 1.05rem;
  line-height: 1.4;
}

.sns-id {
  font-weight: 700;
}

.sns-desc {
  color: var(--muted);
  font-weight: 500;
  font-size: 0.92rem;
  line-height: 1.5;
}

.site-footer {
  padding: 36px 0 42px;
  background: var(--ink);
  color: var(--white);
}

.footer-name {
  margin: 0 0 6px;
  font-weight: 900;
  letter-spacing: 0.04em;
}

.footer-meta,
.footer-note {
  margin: 0;
  color: rgba(255, 255, 255, 0.78);
  font-weight: 500;
  font-size: 0.92rem;
}

.footer-note {
  margin-top: 8px;
}

.fixed-cta {
  display: none;
}

.modal[hidden] {
  display: none;
}

.modal {
  position: fixed;
  inset: 0;
  z-index: 80;
  display: grid;
  place-items: center;
  padding: 24px;
}

.modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(15, 23, 42, 0.55);
}

.modal-dialog {
  position: relative;
  z-index: 1;
  width: min(100%, 440px);
  padding: 32px 26px;
  border-radius: 20px;
  background: var(--white);
  text-align: center;
}

.modal-dialog p {
  margin: 0 0 20px;
  font-weight: 700;
  font-size: 1.05rem;
  line-height: 1.7;
}

.btn-close {
  background: var(--ink);
  color: var(--white);
  min-width: 140px;
}

body.is-modal-open {
  overflow: hidden;
}

@media (max-width: 900px) {
  .gallery {
    grid-template-columns: 1fr 1fr;
    grid-template-rows: 280px 220px 240px;
  }

  .tile-coast {
    grid-column: 1 / -1;
    grid-row: 1;
  }

  .tile-stretch {
    grid-column: 1;
    grid-row: 2;
  }

  .tile-cafe {
    grid-column: 2;
    grid-row: 2;
  }

  .tile-trail {
    grid-column: 1 / -1;
    grid-row: 3;
  }

  .schedule,
  .organizer,
  .fee-row {
    grid-template-columns: 1fr;
  }

  .organizer-photo {
    height: 420px;
  }
}

@media (max-width: 767px) {
  body {
    padding-bottom: 100px;
  }

  .header-inner {
    flex-direction: column;
    align-items: flex-start;
    min-height: 0;
    gap: 10px;
  }

  .logo-en {
    font-size: 0.68rem;
    letter-spacing: 0.04em;
    white-space: nowrap;
  }

  .logo-name {
    font-size: 1.2rem;
  }

  .gnav {
    width: 100%;
    justify-content: flex-start;
    gap: 6px 14px;
  }

  .gnav a {
    font-size: 0.84rem;
  }

  .sp-br {
    display: inline;
  }

  .fv-badge {
    flex-direction: column;
    align-items: flex-start;
    width: fit-content;
    border-radius: 16px;
    padding: 8px 14px;
  }

  .badge-sep {
    display: none;
  }

  .fv {
    min-height: 0;
    align-items: flex-end;
  }

  .fv-inner {
    padding-top: 48px;
    padding-bottom: 36px;
  }

  .fv h1 {
    font-size: 1.72rem;
  }

  .fv-sub {
    font-size: 0.98rem;
  }

  .fv-actions,
  .fv-actions .btn {
    width: 100%;
    font-size: 0.95rem;
  }

  .section {
    padding: 64px 0;
  }

  .gallery {
    grid-template-columns: 1fr 1fr;
    grid-template-rows: 230px 210px 220px;
    gap: 10px;
  }

  .tile {
    border-radius: 16px;
  }

  .tile figcaption {
    padding: 42px 10px 10px;
  }

  .tile figcaption strong {
    font-size: 0.78rem;
    line-height: 1.35;
  }

  .rule-list div {
    grid-template-columns: minmax(0, 1fr);
    gap: 2px;
  }

  .organizer-photo {
    height: 360px;
  }

  .fixed-cta {
    display: block;
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 40;
    padding: 10px 16px calc(10px + env(safe-area-inset-bottom));
    background: rgba(255, 255, 255, 0.96);
    border-top: 1px solid var(--line);
  }

  .section-sns {
    padding-top: 48px;
    padding-bottom: 48px;
  }

  .sns-grid {
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .sns-card {
    gap: 12px;
    padding: 14px;
  }

  .sns-icon {
    width: 40px;
    height: 40px;
  }

  .sns-copy strong,
  .sns-desc,
  .sns-id {
    white-space: nowrap;
  }

  .sns-copy strong {
    font-size: 0.95rem;
  }

  .sns-desc {
    font-size: 0.82rem;
  }
}

@media (min-width: 768px) {
  .fixed-cta {
    display: none;
    position: static;
  }
}
