:root {
  --ink: #342522;
  --muted: #76645e;
  --cream: #fff9f2;
  --paper: #fffdf9;
  --rose: #d9867a;
  --rose-dark: #bd685f;
  --gold: #e6b449;
  --mint: #8bb9a2;
  --sky: #8db9d7;
  --line: rgba(52, 37, 34, 0.12);
  --shadow: 0 22px 60px rgba(87, 58, 48, 0.14);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background:
    radial-gradient(circle at top left, rgba(217, 134, 122, 0.18), transparent 32rem),
    linear-gradient(180deg, #fff8f0 0%, #fffdf9 38%, #f5fbf8 100%);
  font-family: "Noto Sans JP", system-ui, sans-serif;
  line-height: 1.75;
}

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

a {
  color: inherit;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  width: min(1160px, calc(100% - 32px));
  margin: 14px auto 0;
  padding: 12px 16px;
  border: 1px solid rgba(255, 255, 255, 0.75);
  border-radius: 999px;
  background: rgba(255, 253, 249, 0.86);
  box-shadow: 0 14px 36px rgba(85, 56, 46, 0.12);
  backdrop-filter: blur(18px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
  text-decoration: none;
}

.brand-main {
  color: #b57970;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 700;
  line-height: 1;
}

.brand-sub {
  padding: 4px 12px 5px;
  border-radius: 999px;
  color: #fff;
  background: var(--rose);
  font-family: "M PLUS Rounded 1c", sans-serif;
  font-size: 0.9rem;
  font-weight: 700;
  white-space: nowrap;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.92rem;
  font-weight: 700;
}

.site-nav a {
  padding: 8px 12px;
  border-radius: 999px;
  color: var(--muted);
  text-decoration: none;
}

.site-nav a:hover,
.site-nav a:focus-visible {
  color: var(--ink);
  background: rgba(217, 134, 122, 0.13);
}

.nav-toggle {
  display: none;
  width: 42px;
  height: 42px;
  border: 0;
  border-radius: 50%;
  background: #f3ded7;
  cursor: pointer;
}

.nav-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  margin: 4px auto;
  border-radius: 999px;
  background: var(--ink);
}

.hero {
  display: grid;
  grid-template-columns: minmax(380px, 0.8fr) minmax(560px, 1.2fr);
  align-items: center;
  gap: clamp(24px, 4vw, 56px);
  width: min(1220px, calc(100% - 32px));
  margin: -10px auto 0;
  padding: clamp(58px, 7vw, 86px) 0 clamp(54px, 7vw, 78px);
}

.hero-copy {
  position: relative;
  z-index: 2;
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--rose-dark);
  font-family: "M PLUS Rounded 1c", sans-serif;
  font-size: 0.8rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.hero h1,
.section h2,
.join-section h2 {
  margin: 0;
  font-family: "M PLUS Rounded 1c", "Noto Sans JP", sans-serif;
  font-weight: 800;
  line-height: 1.18;
}

.hero h1 {
  font-size: clamp(3rem, 5.3vw, 5.5rem);
}

.lead {
  width: min(100%, 31rem);
  margin: 24px 0 0;
  color: var(--muted);
  font-size: clamp(1rem, 1.7vw, 1.15rem);
  font-weight: 500;
}

.hero-actions,
.join-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 30px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  padding: 12px 22px;
  border-radius: 999px;
  font-weight: 800;
  text-decoration: none;
  transition: transform 180ms ease, box-shadow 180ms ease, background 180ms ease;
}

.button:hover,
.button:focus-visible {
  transform: translateY(-2px);
}

.button.primary {
  color: #fff;
  background: linear-gradient(135deg, var(--rose), #cc6c77);
  box-shadow: 0 14px 28px rgba(196, 104, 95, 0.26);
}

.button.secondary {
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.72);
}

.hero-image {
  border-radius: 28px;
  box-shadow: var(--shadow);
  transform: rotate(1deg);
  background: #fff;
}

.hero-image img {
  width: 100%;
  height: auto;
  object-fit: contain;
}

.section {
  width: min(1120px, calc(100% - 32px));
  margin: 0 auto;
  padding: clamp(68px, 9vw, 112px) 0;
}

.section-head {
  max-width: 760px;
  margin-bottom: 34px;
}

.section-head.split {
  display: grid;
  grid-template-columns: 1fr minmax(220px, 360px);
  align-items: end;
  gap: 28px;
  max-width: none;
}

.section h2,
.join-section h2 {
  font-size: clamp(2rem, 4vw, 3.6rem);
}

.section-head p:not(.eyebrow) {
  margin: 0;
  color: var(--muted);
}

.intro-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.intro-grid article,
.event-card {
  border: 1px solid rgba(255, 255, 255, 0.78);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.72);
  box-shadow: 0 16px 36px rgba(85, 56, 46, 0.08);
}

.intro-grid article {
  padding: 26px;
}

.mini-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  margin-bottom: 18px;
  border-radius: 50%;
  color: #fff;
  background: var(--mint);
  font-family: "M PLUS Rounded 1c", sans-serif;
  font-weight: 800;
}

.intro-grid article:nth-child(2) .mini-icon {
  background: var(--rose);
}

.intro-grid article:nth-child(3) .mini-icon {
  background: var(--gold);
}

h3 {
  margin: 0 0 10px;
  font-family: "M PLUS Rounded 1c", "Noto Sans JP", sans-serif;
  font-size: 1.35rem;
  line-height: 1.35;
}

.intro-grid p,
.event-card p,
.feature-copy p,
.rule-item span,
.join-inner p,
.site-footer p {
  margin: 0;
  color: var(--muted);
}

.events-section {
  width: min(1180px, calc(100% - 32px));
}

.event-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}

.event-card {
  overflow: visible;
}

.event-card img {
  width: 100%;
  height: auto;
  object-fit: contain;
  border-radius: 8px 8px 0 0;
  background: #fff;
}

.event-card div {
  padding: 20px;
}

.feature-section {
  display: grid;
  grid-template-columns: minmax(300px, 0.62fr) minmax(360px, 1.38fr);
  align-items: center;
  gap: clamp(28px, 6vw, 72px);
}

.feature-copy p {
  margin-top: 18px;
}

.text-link {
  display: inline-flex;
  margin-top: 22px;
  color: var(--rose-dark);
  font-weight: 900;
  text-decoration-thickness: 2px;
  text-underline-offset: 5px;
}

.poster-wrap {
  border-radius: 8px;
  background: #fff;
  box-shadow: var(--shadow);
}

.poster-wrap img {
  width: 100%;
  height: auto;
  object-fit: contain;
  border-radius: 8px;
}

.safe-section {
  width: min(980px, calc(100% - 32px));
}

.rule-list {
  display: grid;
  gap: 14px;
}

.news-list {
  display: grid;
  border-top: 1px solid var(--line);
}

.news-list p {
  display: grid;
  grid-template-columns: 130px 1fr;
  gap: 18px;
  margin: 0;
  padding: 14px 0;
  border-bottom: 1px solid var(--line);
}

.news-list time {
  color: var(--rose-dark);
  font-family: "M PLUS Rounded 1c", sans-serif;
  font-weight: 900;
}

.news-list span,
.supervision {
  color: var(--muted);
}

.supervision {
  margin: 18px 0 0;
  font-weight: 700;
}

.rule-item {
  display: grid;
  grid-template-columns: 240px 1fr;
  gap: 22px;
  padding: 22px 0;
  border-top: 1px solid var(--line);
}

.rule-item:last-child {
  border-bottom: 1px solid var(--line);
}

.rule-item strong {
  font-family: "M PLUS Rounded 1c", sans-serif;
  font-size: 1.15rem;
}

.join-section {
  width: min(1120px, calc(100% - 32px));
  margin: 0 auto 80px;
  padding: clamp(54px, 8vw, 86px);
  border-radius: 8px;
  color: var(--ink);
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.9), rgba(255, 249, 242, 0.94));
  box-shadow: var(--shadow);
}

.join-inner {
  max-width: 620px;
}

.join-inner p {
  margin-top: 18px;
  font-weight: 500;
}

.join-choice-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  margin-top: 28px;
}

.join-choice {
  display: grid;
  gap: 12px;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.78);
  text-decoration: none;
  box-shadow: 0 14px 28px rgba(85, 56, 46, 0.08);
  transition: transform 180ms ease, box-shadow 180ms ease;
}

.join-choice:hover,
.join-choice:focus-visible {
  transform: translateY(-2px);
  box-shadow: 0 18px 34px rgba(85, 56, 46, 0.13);
}

.join-choice img {
  width: 100%;
  height: auto;
  border-radius: 6px;
}

.join-choice span {
  color: var(--ink);
  font-weight: 900;
  text-align: center;
}

.subpage-main {
  width: min(980px, calc(100% - 32px));
  margin: 0 auto;
  padding: clamp(54px, 8vw, 88px) 0 84px;
}

.page-hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 360px);
  align-items: center;
  gap: clamp(24px, 6vw, 68px);
  margin-bottom: 48px;
}

.page-hero h1 {
  margin: 0;
  font-family: "M PLUS Rounded 1c", "Noto Sans JP", sans-serif;
  font-size: clamp(2.35rem, 5vw, 4.5rem);
  line-height: 1.18;
}

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

.page-hero img {
  width: 100%;
  height: auto;
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.notice-box {
  margin: 24px 0 0;
  padding: 18px 20px;
  border: 1px solid rgba(189, 104, 95, 0.22);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.82);
  color: var(--muted);
  font-weight: 700;
}

.flow-list {
  display: grid;
  gap: 16px;
  margin: 32px 0 0;
}

.flow-step {
  display: grid;
  grid-template-columns: 72px 1fr;
  gap: 20px;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.74);
  box-shadow: 0 16px 34px rgba(85, 56, 46, 0.07);
}

.step-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 58px;
  height: 58px;
  border-radius: 50%;
  color: #fff;
  background: var(--rose);
  font-family: "M PLUS Rounded 1c", sans-serif;
  font-weight: 900;
}

.flow-step h2 {
  margin: 0 0 10px;
  font-family: "M PLUS Rounded 1c", "Noto Sans JP", sans-serif;
  font-size: clamp(1.35rem, 3vw, 2rem);
  line-height: 1.35;
}

.flow-step p,
.text-page p,
.text-page li {
  color: var(--muted);
}

.flow-step p {
  margin: 0 0 14px;
}

.link-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 14px;
}

.link-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 9px 15px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: #fff;
  color: var(--ink);
  font-weight: 800;
  text-decoration: none;
}

.page-section {
  margin-top: 42px;
}

.text-page {
  display: grid;
  gap: 28px;
  padding: 34px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.76);
  box-shadow: var(--shadow);
}

.text-page h2 {
  margin: 0 0 8px;
  font-family: "M PLUS Rounded 1c", "Noto Sans JP", sans-serif;
  font-size: clamp(1.45rem, 3vw, 2.2rem);
}

.payment-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.payment-card {
  display: grid;
  gap: 16px;
  align-content: start;
  padding: 28px;
  border: 1px solid rgba(255, 255, 255, 0.78);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.78);
  box-shadow: 0 16px 36px rgba(85, 56, 46, 0.08);
}

.payment-card h2 {
  margin: 0;
  font-family: "M PLUS Rounded 1c", "Noto Sans JP", sans-serif;
  font-size: clamp(1.55rem, 3vw, 2.25rem);
  line-height: 1.3;
}

.payment-card p {
  margin: 0;
  color: var(--muted);
}

.payment-card .price {
  color: var(--ink);
  font-family: "M PLUS Rounded 1c", "Noto Sans JP", sans-serif;
  font-size: 1.55rem;
  font-weight: 900;
}

.text-page p,
.text-page ul,
.text-page ol {
  margin: 0;
}

.guide-image {
  margin: 18px 0;
}

.guide-image img {
  width: min(100%, 620px);
  height: auto;
  border-radius: 8px;
  box-shadow: 0 12px 28px rgba(85, 56, 46, 0.09);
}

.guide-image figcaption {
  margin-top: 8px;
  color: var(--muted);
  font-size: 0.92rem;
}

.guide-gallery {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 10px;
  margin-top: 18px;
}

.guide-gallery img {
  width: 100%;
  height: auto;
  border-radius: 8px;
  border: 1px solid var(--line);
}

.plain-url {
  overflow-wrap: anywhere;
  font-size: 0.92rem;
}

.site-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  width: min(1120px, calc(100% - 32px));
  margin: 0 auto;
  padding: 28px 0 42px;
  border-top: 1px solid var(--line);
}

.brand-footer {
  color: var(--rose-dark);
  font-family: "M PLUS Rounded 1c", sans-serif;
  font-weight: 900;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 16px;
  justify-content: flex-end;
}

.footer-links a {
  color: var(--muted);
  font-weight: 700;
  text-decoration: none;
}

@media (max-width: 900px) {
  .site-header {
    align-items: flex-start;
    border-radius: 24px;
  }

  .nav-toggle {
    display: block;
    flex: 0 0 auto;
  }

  .site-nav {
    position: absolute;
    top: calc(100% + 8px);
    right: 0;
    display: none;
    flex-direction: column;
    align-items: stretch;
    min-width: 220px;
    padding: 12px;
    border-radius: 18px;
    background: rgba(255, 253, 249, 0.98);
    box-shadow: 0 16px 36px rgba(85, 56, 46, 0.14);
  }

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

  .brand + .site-nav {
    position: static;
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    min-width: 0;
    padding: 0;
    background: transparent;
    box-shadow: none;
  }

  .site-nav a {
    padding: 10px 12px;
  }

  .hero,
  .section-head.split,
  .feature-section {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: auto;
    padding-top: 46px;
  }

  .hero-image {
    transform: none;
  }

  .intro-grid,
  .event-grid {
    grid-template-columns: repeat(2, 1fr);
  }

}

@media (max-width: 640px) {
  .site-header {
    width: calc(100% - 20px);
    margin-top: 10px;
    padding: 10px;
  }

  .brand-sub {
    display: none;
  }

  .hero,
  .section,
  .events-section,
  .safe-section,
  .join-section,
  .site-footer {
    width: calc(100% - 24px);
  }

  .hero {
    padding-bottom: 44px;
  }

  .hero h1 {
    font-size: clamp(2.55rem, 14vw, 3.7rem);
  }

  .hero-actions,
  .join-actions {
    flex-direction: column;
  }

  .button {
    width: 100%;
  }

  .hero-image img {
    height: auto;
    object-fit: contain;
  }

  .intro-grid,
  .event-grid {
    grid-template-columns: 1fr;
  }

  .rule-item {
    grid-template-columns: 1fr;
    gap: 8px;
  }

  .news-list p {
    grid-template-columns: 1fr;
    gap: 2px;
  }

  .guide-gallery {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .join-section {
    margin-bottom: 54px;
    padding: 34px 22px;
  }

  .join-choice-grid,
  .payment-grid,
  .page-hero,
  .flow-step {
    grid-template-columns: 1fr;
  }

  .flow-step {
    gap: 14px;
    padding: 20px;
  }

  .site-footer {
    flex-direction: column;
    align-items: flex-start;
  }

  .footer-links {
    justify-content: flex-start;
  }
}
