:root {
  color-scheme: light;
  --accent: #b9131e;
  --accent-dark: #8f1018;
  --ink: #181414;
  --muted: #6c6262;
  --paper: #ffffff;
  --soft: #fff7f7;
  --line: #eadada;
  --dark: #241b1b;
  --shell: min(1120px, calc(100% - 40px));
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  overflow-x: hidden;
  background: var(--paper);
  color: var(--ink);
  font-family: "Hiragino Sans", "Hiragino Kaku Gothic ProN", "Noto Sans JP", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  -webkit-font-smoothing: antialiased;
}

button, input, textarea { font: inherit; }
a { color: inherit; }
img { display: block; max-width: 100%; }
.shell { width: var(--shell); margin-inline: auto; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  border-bottom: 1px solid rgba(185, 19, 30, .12);
  background: rgba(255, 255, 255, .92);
  backdrop-filter: blur(16px);
}

.header-inner {
  display: flex;
  min-height: 72px;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.site-brand {
  display: grid;
  width: max-content;
  gap: 6px;
  color: var(--ink);
  font-size: 19px;
  font-weight: 900;
  letter-spacing: -.035em;
  line-height: 1;
  text-decoration: none;
}

.site-brand small {
  display: block;
  width: 100%;
  color: var(--accent);
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 0;
  text-align: justify;
  text-align-last: justify;
}

.header-actions { display: flex; align-items: center; gap: 20px; }
.header-label { color: var(--muted); font-size: 12px; font-weight: 750; letter-spacing: .08em; }

.button,
.date-list button,
.submit-button {
  display: inline-flex;
  min-height: 54px;
  align-items: center;
  justify-content: center;
  gap: 14px;
  border: 1px solid var(--accent);
  border-radius: 4px;
  background: var(--accent);
  color: white;
  font-weight: 850;
  letter-spacing: .03em;
  text-decoration: none;
  transition: transform 180ms ease, background 180ms ease;
}

.button { padding: 14px 22px; }
.button:hover, .date-list button:hover, .submit-button:hover { background: var(--accent-dark); transform: translateY(-2px); }
.button-small { min-height: 42px; padding: 9px 15px; font-size: 13px; }

.hero {
  position: relative;
  overflow: hidden;
  padding: clamp(64px, 8vw, 112px) 0 clamp(72px, 9vw, 128px);
  background: linear-gradient(145deg, #fff 0%, #fff 55%, #fff2f2 100%);
}

.hero::before {
  position: absolute;
  top: -16rem;
  right: -13rem;
  width: 34rem;
  height: 34rem;
  border: 1px solid rgba(185, 19, 30, .12);
  border-radius: 50%;
  content: "";
}

.hero-inner {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(360px, .78fr);
  gap: clamp(44px, 7vw, 92px);
  align-items: center;
}

.eyebrow {
  margin: 0 0 16px;
  color: var(--accent);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: .18em;
  text-transform: uppercase;
}

.hero h1,
.section-heading h2,
.final-cta h2 {
  margin: 0;
  font-size: clamp(38px, 5.5vw, 72px);
  font-weight: 900;
  letter-spacing: -.065em;
  line-height: 1.13;
}

.hero h1 span { display: block; }
.hero h1 span:last-child { color: var(--accent); }
.hero-lead {
  max-width: 650px;
  margin: 28px 0 0;
  color: var(--muted);
  font-size: clamp(16px, 1.7vw, 19px);
  line-height: 1.95;
}

.hero-actions { display: flex; align-items: center; gap: 24px; margin-top: 34px; }
.text-link { color: var(--accent); font-size: 14px; font-weight: 800; text-underline-offset: 5px; }
.hero-facts {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  margin: 42px 0 0;
  padding: 0;
  border-top: 1px solid var(--line);
  list-style: none;
}
.hero-facts li { display: grid; gap: 6px; padding: 20px 18px 0 0; }
.hero-facts strong { color: var(--accent); font-size: 18px; }
.hero-facts span { color: var(--muted); font-size: 12px; }

.hero-visual {
  position: relative;
  min-height: 560px;
  margin: 0;
  overflow: hidden;
  background: #e7dddd;
  box-shadow: 0 30px 70px rgba(67, 24, 24, .16);
}
.hero-visual img { width: 100%; height: 100%; min-height: 560px; object-fit: cover; object-position: 58% center; }
.hero-visual figcaption {
  position: absolute;
  right: 18px;
  bottom: 18px;
  left: 18px;
  display: grid;
  gap: 4px;
  padding: 18px 20px;
  background: rgba(28, 20, 20, .78);
  color: white;
  backdrop-filter: blur(14px);
}
.hero-visual figcaption span { font-size: 11px; letter-spacing: .12em; }
.hero-visual figcaption strong { font-size: 17px; }

.section { padding: clamp(76px, 9vw, 128px) 0; }
.section-heading { max-width: 780px; }
.section-heading h2 { font-size: clamp(34px, 4.5vw, 58px); }
.section-heading > p:last-child { max-width: 620px; margin: 22px 0 0; color: var(--muted); line-height: 1.9; }

.themes { border-top: 1px solid var(--line); }
.theme-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; margin-top: 48px; }
.theme-card {
  display: flex;
  min-height: 360px;
  flex-direction: column;
  align-items: flex-start;
  padding: clamp(28px, 4vw, 48px);
  border: 1px solid var(--line);
  background: var(--soft);
}
.theme-card-dark { border-color: var(--dark); background: var(--dark); color: white; }
.theme-mark, .schedule-mark {
  display: grid;
  width: 54px;
  height: 54px;
  place-items: center;
  background: var(--accent);
  color: white;
  font-size: 22px;
  font-weight: 950;
}
.theme-fit { margin: 36px 0 10px; color: var(--accent); font-size: 12px; font-weight: 850; letter-spacing: .08em; }
.theme-card-dark .theme-fit { color: #ffabb0; }
.theme-card h3 { margin: 0; font-size: clamp(25px, 3vw, 36px); letter-spacing: -.04em; }
.theme-card > p:not(.theme-fit) { max-width: 520px; margin: 18px 0 0; color: var(--muted); line-height: 1.85; }
.theme-card-dark > p:not(.theme-fit) { color: #d9caca; }
.theme-card a { margin-top: auto; padding-top: 34px; color: var(--accent); font-weight: 850; text-underline-offset: 5px; }
.theme-card-dark a { color: white; }

.schedule { background: var(--soft); }
.schedule-grid { display: grid; gap: 24px; margin-top: 50px; }
.schedule-card { border: 1px solid var(--line); background: white; }
.schedule-card-dark { border-color: var(--dark); }
.schedule-card-heading { display: flex; align-items: center; gap: 20px; padding: 26px 30px; }
.schedule-card-heading p { margin: 0 0 4px; color: var(--accent); font-size: 11px; font-weight: 900; letter-spacing: .16em; text-transform: uppercase; }
.schedule-card-heading h3 { margin: 0; font-size: clamp(22px, 2.6vw, 30px); }
.schedule-card-dark .schedule-card-heading { background: var(--dark); color: white; }
.schedule-card-dark .schedule-card-heading p { color: #ffabb0; }
.date-list { display: grid; margin: 0; padding: 0; list-style: none; }
.date-list li { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 24px; align-items: center; padding: 22px 30px; border-top: 1px solid var(--line); }
.date-list time { font-size: clamp(16px, 2vw, 20px); font-weight: 900; }
.date-list li div span { display: block; margin-top: 5px; color: var(--accent); font-size: 12px; font-weight: 800; }
.date-list button { min-height: 44px; padding: 10px 15px; cursor: pointer; font-size: 13px; }

.participation { background: var(--dark); color: white; }
.participation .eyebrow { color: #ffabb0; }
.participation-grid { display: grid; grid-template-columns: minmax(0, .85fr) minmax(460px, 1fr); gap: clamp(48px, 8vw, 100px); }
.steps { display: grid; margin: 0; padding: 0; list-style: none; }
.steps li { display: grid; grid-template-columns: 56px 1fr; gap: 20px; padding: 24px 0; border-top: 1px solid rgba(255,255,255,.16); }
.steps li:last-child { border-bottom: 1px solid rgba(255,255,255,.16); }
.steps > li > span { color: #ffabb0; font-size: 13px; font-weight: 900; letter-spacing: .08em; }
.steps h3 { margin: 0 0 8px; font-size: 20px; }
.steps p { margin: 0; color: #d9caca; line-height: 1.75; }

.faq-grid { display: grid; grid-template-columns: minmax(260px, .7fr) minmax(0, 1fr); gap: clamp(48px, 8vw, 100px); }
.faq-list { border-top: 1px solid var(--line); }
.faq-list details { border-bottom: 1px solid var(--line); }
.faq-list summary { position: relative; padding: 25px 48px 25px 0; cursor: pointer; font-weight: 850; list-style: none; }
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after { position: absolute; top: 21px; right: 4px; color: var(--accent); font-size: 24px; content: "+"; }
.faq-list details[open] summary::after { content: "−"; }
.faq-list p { margin: -4px 0 24px; color: var(--muted); line-height: 1.85; }

.final-cta { padding: clamp(80px, 10vw, 140px) 0; background: var(--accent); color: white; text-align: center; }
.final-cta .eyebrow { color: #ffd7d9; }
.final-cta h2 { font-size: clamp(36px, 5.5vw, 68px); }
.final-cta .button { margin-top: 34px; }
.button-light { border-color: white; background: white; color: var(--accent); }
.button-light:hover { background: #fff5f5; color: var(--accent-dark); }

.site-footer { padding: 34px 0; border-top: 1px solid var(--line); }
.footer-inner { display: flex; justify-content: space-between; gap: 24px; align-items: center; }
.footer-brand { color: var(--accent); font-weight: 900; letter-spacing: .08em; }
.site-footer nav { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 18px; }
.site-footer a { color: var(--muted); font-size: 12px; text-underline-offset: 4px; }

dialog {
  width: min(580px, calc(100vw - 28px));
  max-height: calc(100dvh - 28px);
  padding: 0;
  overflow: auto;
  border: 1px solid rgba(185, 19, 30, .18);
  border-radius: 10px;
  background: white;
  color: var(--ink);
  box-shadow: 0 30px 90px rgba(37, 20, 20, .26);
}
dialog::backdrop { background: rgba(30, 18, 18, .42); backdrop-filter: blur(6px); }
.contact-form { display: grid; gap: 18px; padding: clamp(24px, 5vw, 40px); }
.dialog-header { display: flex; justify-content: space-between; gap: 20px; align-items: flex-start; }
.dialog-kicker { margin: 0 0 7px; color: var(--accent); font-size: 10px; font-weight: 900; letter-spacing: .16em; text-transform: uppercase; }
.dialog-header h2 { margin: 0; font-size: clamp(23px, 4vw, 31px); letter-spacing: -.035em; }
.dialog-close { display: grid; width: 38px; height: 38px; flex: 0 0 38px; place-items: center; border: 1px solid var(--line); background: white; color: var(--accent); cursor: pointer; font-size: 24px; }
.dialog-lead { margin: -4px 0 2px; color: var(--muted); font-size: 14px; line-height: 1.7; }
.field { display: grid; gap: 7px; }
.field label { font-size: 13px; font-weight: 850; }
.field label span { color: var(--accent); font-size: 10px; }
.field label small { color: var(--muted); font-weight: 500; }
.field input, .field textarea { width: 100%; border: 1px solid #b7aaaa; border-radius: 0; background: white; color: var(--ink); }
.field input { min-height: 48px; padding: 10px 12px; }
.field textarea { min-height: 116px; padding: 12px; resize: vertical; line-height: 1.65; }
.field input:focus, .field textarea:focus { border-color: var(--accent); outline: 2px solid rgba(185, 19, 30, .13); outline-offset: 1px; }
.privacy-note { margin: 0; color: var(--muted); font-size: 11px; line-height: 1.7; }
.privacy-note a { color: var(--accent); }
.form-status { min-height: 1.5em; margin: -6px 0; color: var(--accent); font-size: 12px; line-height: 1.5; }
.submit-button { min-height: 52px; cursor: pointer; }
.submit-button:disabled { opacity: .55; cursor: wait; transform: none; }
.honeypot { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }

:focus-visible { outline: 3px solid rgba(185, 19, 30, .3); outline-offset: 4px; }

@media (max-width: 860px) {
  .hero-inner { grid-template-columns: 1fr; }
  .hero-visual, .hero-visual img { min-height: 480px; }
  .participation-grid, .faq-grid { grid-template-columns: 1fr; }
  .participation-grid { gap: 46px; }
}

@media (max-width: 640px) {
  :root { --shell: min(100% - 28px, 1120px); }
  .header-inner { min-height: 64px; }
  .header-label { display: none; }
  .site-brand { font-size: 17px; }
  .site-brand small { font-size: 8px; }
  .hero { padding-top: 54px; }
  .hero h1, .section-heading h2, .final-cta h2 { letter-spacing: -.055em; }
  .hero-actions { align-items: stretch; flex-direction: column; gap: 16px; }
  .text-link { align-self: flex-start; }
  .hero-facts { gap: 8px; }
  .hero-facts li { padding-right: 4px; }
  .hero-facts strong { font-size: 15px; }
  .hero-facts span { font-size: 10px; line-height: 1.5; }
  .hero-visual, .hero-visual img { min-height: 420px; }
  .theme-grid { grid-template-columns: 1fr; }
  .theme-card { min-height: 330px; }
  .date-list li { grid-template-columns: 1fr; gap: 14px; padding: 20px; }
  .date-list button { width: 100%; }
  .schedule-card-heading { padding: 22px 20px; }
  .footer-inner { align-items: flex-start; flex-direction: column; }
  .site-footer nav { justify-content: flex-start; }
}

@media (max-width: 380px) {
  .button-small { padding-inline: 12px; }
  .hero h1 { font-size: 34px; }
  .hero-visual, .hero-visual img { min-height: 370px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; }
}
