:root {
  --black: #000;
  --panel: #0b0b0d;
  --panel-2: #151515;
  --white: #f8f8f2;
  --muted: #b9b5ad;
  --orange: #ff6600;
  --red: #cc2200;
  --line: rgba(255, 255, 255, 0.16);
  --shadow: rgba(255, 76, 0, 0.38);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  background: var(--black);
}

body {
  margin: 0;
  color: var(--white);
  background:
    radial-gradient(circle at 50% 115%, rgba(255, 102, 0, 0.28), transparent 26rem),
    var(--black);
  font-family: "Noto Sans JP", system-ui, sans-serif;
  line-height: 1.7;
  overflow-x: hidden;
}

body::before {
  content: "";
  position: fixed;
  z-index: -3;
  inset: 0;
  background:
    radial-gradient(circle at 50% 100%, rgba(255, 102, 0, 0.16), transparent 36rem),
    radial-gradient(circle at 12% 24%, rgba(204, 34, 0, 0.12), transparent 24rem),
    #000;
}

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

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


.bg-watermark {
  position: fixed;
  z-index: 1;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.8s ease;
}

.bg-watermark.is-visible {
  opacity: 1;
}

.bg-watermark img {
  width: min(80vw, 800px);
  height: min(80vw, 800px);
  object-fit: contain;
  opacity: 0.16;
  filter: saturate(0.9) contrast(1.12);
}

.fire-scene {
  position: fixed;
  z-index: 0;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
}

main {
  position: relative;
  z-index: 2;
}

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

.flame-wall {
  position: absolute;
  left: -10vw;
  right: -10vw;
  bottom: -10vh;
  height: min(46vh, 420px);
  opacity: 0.68;
  filter: blur(10px) saturate(1.5);
  background:
    radial-gradient(ellipse at 8% 100%, rgba(255, 221, 77, 0.86) 0 7%, rgba(255, 102, 0, 0.62) 13%, transparent 31%),
    radial-gradient(ellipse at 18% 100%, rgba(255, 102, 0, 0.9) 0 9%, rgba(204, 34, 0, 0.58) 17%, transparent 38%),
    radial-gradient(ellipse at 31% 100%, rgba(255, 196, 53, 0.78) 0 8%, rgba(255, 102, 0, 0.6) 16%, transparent 34%),
    radial-gradient(ellipse at 45% 100%, rgba(255, 102, 0, 0.92) 0 11%, rgba(204, 34, 0, 0.5) 20%, transparent 42%),
    radial-gradient(ellipse at 58% 100%, rgba(255, 218, 82, 0.72) 0 7%, rgba(255, 102, 0, 0.58) 15%, transparent 36%),
    radial-gradient(ellipse at 74% 100%, rgba(255, 102, 0, 0.9) 0 10%, rgba(204, 34, 0, 0.56) 18%, transparent 40%),
    radial-gradient(ellipse at 91% 100%, rgba(255, 189, 36, 0.8) 0 8%, rgba(255, 102, 0, 0.52) 16%, transparent 34%),
    linear-gradient(0deg, rgba(255, 102, 0, 0.58), rgba(204, 34, 0, 0.12) 44%, transparent 78%);
  transform-origin: center bottom;
  animation: flameRise 2.4s ease-in-out infinite alternate;
}

.flame-wall::before,
.flame-wall::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 14% 100%, rgba(255, 245, 160, 0.72) 0 5%, rgba(255, 102, 0, 0.48) 12%, transparent 28%),
    radial-gradient(ellipse at 38% 100%, rgba(255, 221, 82, 0.62) 0 6%, rgba(255, 102, 0, 0.46) 14%, transparent 31%),
    radial-gradient(ellipse at 66% 100%, rgba(255, 235, 120, 0.66) 0 5%, rgba(255, 102, 0, 0.42) 13%, transparent 30%),
    radial-gradient(ellipse at 84% 100%, rgba(255, 221, 82, 0.58) 0 5%, rgba(255, 102, 0, 0.42) 13%, transparent 28%);
  mix-blend-mode: screen;
}

.flame-wall::before {
  animation: flameLick 1.8s ease-in-out infinite alternate;
}

.flame-wall::after {
  opacity: 0.62;
  transform: translateY(8%);
  animation: flameLick 2.2s ease-in-out -0.8s infinite alternate-reverse;
}

.ember-field {
  position: absolute;
  inset: 0;
}

.ember-field span {
  position: absolute;
  bottom: -24px;
  border-radius: 50%;
  opacity: 0;
  background: #ff8a00;
  box-shadow:
    0 0 8px #ff6600,
    0 0 18px rgba(255, 102, 0, 0.72);
  animation-name: emberRise;
  animation-timing-function: linear;
  animation-iteration-count: infinite;
}

.site-header {
  position: fixed;
  z-index: 20;
  top: 0;
  left: 0;
  right: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 14px clamp(18px, 4vw, 56px);
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.86), rgba(0, 0, 0, 0));
}

.brand,
h1,
h2,
h3,
.button,
.kicker,
.site-nav {
  font-family: "Bebas Neue", "Noto Sans JP", sans-serif;
  letter-spacing: 0.04em;
}

.brand {
  font-size: 1.7rem;
  color: var(--orange);
  text-shadow: 0 0 18px var(--shadow);
}

.site-nav {
  display: flex;
  gap: clamp(12px, 3vw, 28px);
  font-size: 1.05rem;
}

.site-nav a {
  color: rgba(255, 255, 255, 0.78);
}

.site-nav a:hover {
  color: var(--orange);
}

.section {
  position: relative;
  padding: clamp(72px, 10vw, 128px) clamp(18px, 5vw, 72px);
}

.section-dark {
  background:
    radial-gradient(circle at 85% 18%, rgba(204, 34, 0, 0.24), transparent 32vw),
    linear-gradient(180deg, rgba(0, 0, 0, 0.92), rgba(8, 8, 8, 0.86));
}

.section-flame {
  background:
    linear-gradient(135deg, rgba(204, 34, 0, 0.34), transparent 42%),
    radial-gradient(circle at 20% 10%, rgba(255, 102, 0, 0.32), transparent 28vw),
    rgba(8, 8, 8, 0.84);
}

.hero {
  position: relative;
  min-height: 100svh;
  display: grid;
  align-items: center;
  overflow: hidden;
  padding: 96px clamp(18px, 5vw, 72px) 48px;
}

.hero-art {
  position: absolute;
  z-index: 1;
  inset: 0;
}

.hero-art::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(0, 0, 0, 0.34) 0%, rgba(0, 0, 0, 0.22) 31%, rgba(0, 0, 0, 0.02) 58%, rgba(0, 0, 0, 0.32) 100%),
    linear-gradient(0deg, rgba(0, 0, 0, 0.74) 0%, rgba(0, 0, 0, 0) 44%, rgba(0, 0, 0, 0.62) 100%);
}

.hero-art img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  filter: saturate(1.1) contrast(1.08);
  animation: heroPulse 12s ease-in-out infinite alternate;
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: min(50vw, 760px);
}

.kicker {
  margin: 0 0 10px;
  color: var(--orange);
  font-size: clamp(1rem, 2vw, 1.4rem);
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  margin-bottom: 8px;
  font-size: clamp(5.2rem, 10vw, 9.5rem);
  line-height: 0.82;
  white-space: nowrap;
  text-shadow:
    0 2px 0 #7a1200,
    0 0 34px rgba(255, 102, 0, 0.48);
}

h2 {
  margin-bottom: 18px;
  font-size: clamp(3rem, 8vw, 6.5rem);
  line-height: 0.9;
}

h3 {
  margin-bottom: 10px;
  color: var(--white);
  font-size: 1.7rem;
  line-height: 1;
}

.tagline {
  margin-bottom: 12px;
  color: var(--orange);
  font-family: "Bebas Neue", sans-serif;
  font-size: clamp(1.8rem, 3.6vw, 3.2rem);
  line-height: 1;
  text-transform: uppercase;
  white-space: nowrap;
}

.hero-copy {
  max-width: 680px;
  margin-bottom: 28px;
  color: rgba(255, 255, 255, 0.86);
  font-size: clamp(1.05rem, 1.75vw, 1.45rem);
  font-weight: 900;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 12px 26px;
  border: 1px solid var(--orange);
  border-radius: 4px;
  font-size: 1.25rem;
  line-height: 1;
  text-transform: uppercase;
  cursor: pointer;
}

.button-primary {
  color: #120400;
  background: linear-gradient(135deg, var(--orange), #ff3b00);
  box-shadow: 0 0 22px var(--shadow);
  animation: buttonGlow 2.8s ease-in-out infinite;
}

.button-ghost {
  color: var(--white);
  background: rgba(0, 0, 0, 0.42);
}

.button-small {
  min-height: 38px;
  padding: 8px 16px;
  font-size: 1rem;
}

.section-heading {
  max-width: 860px;
  margin-bottom: 34px;
}

.section-heading p {
  color: var(--muted);
  font-size: 1.05rem;
}

.entry-title span {
  display: block;
}

.about {
  position: relative;
}

.about-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 16px;
  margin-bottom: 28px;
}

.rule-block,
.timeline article {
  border: 1px solid var(--line);
  border-radius: 6px;
  padding: 22px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.06), rgba(255, 255, 255, 0.02));
}

.rule-block p,
.timeline p,
.schedule-note {
  color: var(--muted);
}

.highclass-btn {
  display: inline-block;
  margin-left: 8px;
  padding: 2px 8px;
  border: 1px solid var(--red);
  border-radius: 3px;
  background: transparent;
  color: var(--red);
  font-size: 0.8rem;
  font-family: "Noto Sans JP", sans-serif;
  cursor: pointer;
  vertical-align: middle;
  white-space: nowrap;
}

.highclass-btn:hover {
  background: var(--red);
  color: var(--white);
}

.modal {
  display: none;
  position: fixed;
  z-index: 500;
  inset: 0;
}

.modal.is-open {
  display: block;
}

.modal-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.82);
  cursor: pointer;
}

.modal-content {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: min(92vw, 600px);
  max-height: 82vh;
  overflow-y: auto;
  padding: clamp(24px, 5vw, 40px);
  background: #0f0f0f;
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 0 48px rgba(255, 102, 0, 0.18);
}

.modal-content h2 {
  margin-bottom: 12px;
  font-size: clamp(1.6rem, 4vw, 2.2rem);
  color: var(--orange);
}

.modal-content h3 {
  margin: 0 0 6px;
  font-size: 1.1rem;
  color: var(--orange);
}

.modal-content p {
  color: var(--muted);
  font-size: 0.95rem;
  margin-bottom: 8px;
}

.modal-content ul {
  margin: 0 0 8px;
  padding-left: 1.2em;
  color: var(--muted);
  font-size: 0.95rem;
  line-height: 1.8;
}

.modal-section {
  margin: 18px 0;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.03);
}

.modal-note {
  margin-top: 18px;
  padding: 12px;
  border-left: 3px solid var(--orange);
  color: var(--muted);
  font-size: 0.9rem;
}

.modal-close {
  position: absolute;
  top: 14px;
  right: 16px;
  background: transparent;
  border: none;
  color: var(--muted);
  font-size: 1.2rem;
  cursor: pointer;
  line-height: 1;
}

.modal-close:hover {
  color: var(--white);
}

.rule-sub {
  margin: 10px 0 4px;
  color: var(--orange);
  font-family: "Bebas Neue", "Noto Sans JP", sans-serif;
  font-size: 1rem;
  letter-spacing: 0.04em;
}

.rule-list {
  margin: 8px 0 10px;
  padding-left: 1.2em;
  color: var(--muted);
  font-size: 0.95rem;
  line-height: 1.8;
}

.caution {
  display: block;
  margin-top: 8px;
  color: var(--red);
  font-size: 0.85rem;
  font-weight: 700;
}

.table-wrap {
  overflow-x: auto;
  border: 1px solid var(--line);
  border-radius: 6px;
}

table {
  width: 100%;
  min-width: 680px;
  border-collapse: collapse;
  background: rgba(0, 0, 0, 0.48);
}

th,
td {
  padding: 16px;
  border-bottom: 1px solid var(--line);
  text-align: left;
}

th {
  color: var(--orange);
  font-family: "Bebas Neue", sans-serif;
  font-size: 1.25rem;
  letter-spacing: 0.04em;
}

tr:last-child td {
  border-bottom: 0;
}

.schedule {
  overflow: hidden;
}

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

.timeline span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  margin-bottom: 18px;
  border-radius: 50%;
  color: #120400;
  background: var(--orange);
  font-family: "Bebas Neue", sans-serif;
  font-size: 1.4rem;
}

.timeline article:hover,
.rule-block:hover {
  border-color: rgba(255, 102, 0, 0.52);
  transform: translateY(-3px);
  transition: transform 180ms ease, border-color 180ms ease;
}

.schedule-note {
  margin: 24px 0 0;
}

.entry {
  display: grid;
  grid-template-columns: minmax(260px, 0.8fr) minmax(0, 1.2fr);
  gap: clamp(28px, 5vw, 64px);
  align-items: start;
}

.entry-visual {
  position: sticky;
  top: 88px;
}

.entry-visual img {
  border: 1px solid var(--line);
  border-radius: 6px;
  background: #050505;
  box-shadow: 0 0 36px rgba(255, 102, 0, 0.22);
}

.entry-form {
  display: grid;
  gap: 20px;
}

.inquiry-type {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 8px;
}

.inquiry-legend {
  width: 100%;
  margin: 0 0 4px;
  font-weight: 700;
  color: var(--white);
}

.radio-option {
  display: inline-flex;
  align-items: center;
  justify-content: flex-start;
  gap: 8px;
  width: -webkit-fit-content;
  width: fit-content;
  max-width: 100%;
  flex: 0 0 auto;
  padding: 10px 14px;
  border: 1px solid rgba(255, 102, 0, 0.36);
  border-radius: 4px;
  background: rgba(255, 102, 0, 0.08);
  cursor: pointer;
  white-space: nowrap;
}

.radio-option input[type="radio"] {
  appearance: auto;
  -webkit-appearance: radio;
  display: inline-block;
  width: 18px;
  height: 18px;
  flex: 0 0 auto;
  margin: 0;
  padding: 0;
  border: 0;
  background: transparent;
  accent-color: var(--orange);
}

.radio-label {
  display: inline-block;
  flex: 0 0 auto;
  font-weight: 700;
  color: var(--white);
  cursor: pointer;
  white-space: nowrap;
}

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

label,
legend {
  display: grid;
  gap: 8px;
  color: var(--white);
  font-weight: 700;
}

.checkbox-field {
  grid-template-columns: auto 1fr;
  align-items: start;
  gap: 12px;
  padding: 16px;
  border: 1px solid rgba(255, 102, 0, 0.36);
  border-radius: 6px;
  background: rgba(255, 102, 0, 0.08);
}

fieldset {
  margin: 0;
  padding: 0;
  border: 0;
}

input:not([type="checkbox"]):not([type="radio"]),
textarea {
  width: 100%;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 4px;
  padding: 13px 14px;
  color: var(--white);
  background: #101010;
  font: inherit;
}

input:focus,
textarea:focus {
  outline: 2px solid var(--orange);
  outline-offset: 1px;
}

.checkbox-field input {
  width: 20px;
  height: 20px;
  margin-top: 3px;
  accent-color: var(--orange);
}

.is-hidden {
  display: none !important;
}

.form-status {
  min-height: 1.5em;
  color: var(--orange);
  font-weight: 700;
}

.reveal {
  opacity: 0;
  transform: translateY(34px);
  transition: opacity 620ms ease, transform 620ms ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.timeline article.reveal:nth-child(2),
.about-grid .rule-block.reveal:nth-child(2) {
  transition-delay: 90ms;
}

.timeline article.reveal:nth-child(3),
.about-grid .rule-block.reveal:nth-child(3) {
  transition-delay: 180ms;
}

@keyframes heroPulse {
  from {
    transform: scale(1);
  }

  to {
    transform: scale(1.035);
  }
}

@keyframes buttonGlow {
  0%,
  100% {
    box-shadow: 0 0 18px rgba(255, 102, 0, 0.34);
  }

  50% {
    box-shadow: 0 0 34px rgba(255, 102, 0, 0.68);
  }
}

@keyframes flameRise {
  0% {
    transform: scaleX(1) scaleY(0.94) translateY(2%);
  }

  50% {
    transform: scaleX(1.035) scaleY(1.06) translateY(-2%);
  }

  100% {
    transform: scaleX(0.98) scaleY(1.13) translateY(-5%);
  }
}

@keyframes flameLick {
  0% {
    transform: translate3d(-2%, 8%, 0) scaleY(0.92);
    opacity: 0.48;
  }

  50% {
    transform: translate3d(2%, -6%, 0) scaleY(1.12);
    opacity: 0.84;
  }

  100% {
    transform: translate3d(-1%, -13%, 0) scaleY(1.24);
    opacity: 0.62;
  }
}

@keyframes emberRise {
  0% {
    opacity: 0;
    transform: translate3d(0, 0, 0) scale(0.7);
  }

  12% {
    opacity: var(--ember-opacity);
  }

  100% {
    opacity: 0;
    transform: translate3d(var(--drift), -112vh, 0) scale(0.15);
  }
}

.submit-button {
  width: fit-content;
}

.site-footer {
  position: relative;
  z-index: 10;
  display: flex;
  justify-content: space-between;
  gap: 18px;
  padding: 26px clamp(18px, 5vw, 72px);
  border-top: 1px solid var(--line);
  background: #050505;
  box-shadow: 0 -18px 48px rgba(0, 0, 0, 0.72);
}

.site-footer p {
  margin: 0;
  color: var(--orange);
  font-family: "Bebas Neue", sans-serif;
  font-size: 1.8rem;
  line-height: 1;
}

address {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 24px;
  font-style: normal;
}

@media (max-width: 900px) {
  .about-grid,
  .timeline,
  .entry {
    grid-template-columns: 1fr;
  }

.entry-visual {
    position: static;
    max-width: 520px;
  }

  .hero {
    grid-template-columns: 1fr;
    align-content: center;
    gap: 0;
  }

  .hero-art {
    position: relative;
    z-index: 2;
    display: grid;
    align-items: center;
    justify-items: center;
    min-height: 0;
    margin-bottom: -8vw;
  }

  .hero-art::before {
    content: "";
    position: absolute;
    z-index: -1;
    width: min(92vw, 560px);
    aspect-ratio: 1;
    border-radius: 50%;
    background:
      radial-gradient(circle, rgba(255, 102, 0, 0.28), transparent 58%),
      radial-gradient(circle, rgba(204, 34, 0, 0.24), transparent 72%);
    filter: blur(8px);
    animation: buttonGlow 3.2s ease-in-out infinite;
  }

  .hero-art::after {
    display: none;
  }

  .hero-art img {
    width: min(92vw, 560px);
    height: auto;
    max-height: 48vh;
    object-fit: contain;
    mix-blend-mode: screen;
    filter: saturate(1.16) contrast(1.12) drop-shadow(0 0 34px rgba(255, 102, 0, 0.34));
    -webkit-mask-image: radial-gradient(ellipse at center, #000 0 58%, rgba(0, 0, 0, 0.9) 66%, transparent 84%);
    mask-image: radial-gradient(ellipse at center, #000 0 58%, rgba(0, 0, 0, 0.9) 66%, transparent 84%);
  }

  .hero-content {
    max-width: 620px;
  }

  h1,
  .tagline {
    white-space: normal;
  }
}

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

  *,
  *::before,
  *::after {
    animation-duration: 1ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 1ms !important;
  }

  .fire-scene {
    display: none;
  }

  .reveal {
    opacity: 1;
    transform: none;
  }
}

@media (max-width: 620px) {
  .table-wrap {
    border: none;
    background: transparent;
  }

  .table-wrap table {
    min-width: 0;
  }

  .table-wrap thead {
    display: none;
  }

  .table-wrap tr {
    display: block;
    margin-bottom: 12px;
    border: 1px solid var(--line);
    border-radius: 6px;
    overflow: hidden;
  }

  .table-wrap td {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 14px;
    border-bottom: 1px solid var(--line);
    font-size: 0.95rem;
  }

  .table-wrap td:last-child {
    border-bottom: none;
  }

  .table-wrap tr:last-child td {
    border-bottom: 1px solid var(--line);
  }

  .table-wrap tr:last-child td:last-child {
    border-bottom: none;
  }

  .table-wrap td::before {
    content: attr(data-label);
    color: var(--orange);
    font-family: "Bebas Neue", sans-serif;
    font-size: 1rem;
    letter-spacing: 0.04em;
    flex-shrink: 0;
    margin-right: 12px;
  }

  .site-header {
    align-items: flex-start;
    padding-top: 12px;
  }

  .site-nav {
    gap: 12px;
    font-size: 0.95rem;
  }

  .hero {
    padding-top: 112px;
  }

  .entry-title {
    font-size: clamp(2.7rem, 15vw, 4.2rem);
  }

  .hero-art img {
    width: min(96vw, 500px);
    max-height: 42vh;
  }

  .form-grid {
    grid-template-columns: 1fr;
  }

  .site-footer {
    display: grid;
  }
}
