:root { --gold: #d8b45a; --gold-light: #f7e7b4; --night: #0b1430; --night2: #1a2350; --text: #e9ecf5; --muted: #b9c0d6; --red: #c8161a; --red2: #9e0b0e; --yellow: #ffe14d; --line: #06c755; }
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
html, body { margin: 0; }
body {
  background: linear-gradient(180deg, var(--night) 0%, var(--night2) 100%) fixed;
  background-color: var(--night);
  color: var(--text);
  font-family: "Hiragino Sans", "Hiragino Kaku Gothic ProN", "Noto Sans JP", sans-serif;
  font-size: 16px;
  line-height: 1.9;
  min-height: 100vh;
}
a { color: var(--gold-light); }
.wrap { max-width: 860px; margin: 0 auto; padding: 48px 20px 80px; }
.back { display: inline-block; color: var(--gold-light); text-decoration: none; font-size: 14px; margin-bottom: 28px; }
.back:hover { text-decoration: underline; }
.nw { display: inline-block; }

.hero { text-align: center; margin-bottom: 28px; }
.hero-img { aspect-ratio: 21 / 9; border-radius: 16px; background: #2a0507 center / cover no-repeat; border: 2px solid #f2d98f; margin-bottom: 24px; }
.en { font-family: "Cinzel", serif; color: var(--gold); letter-spacing: .14em; font-size: 14px; margin: 0; }
h1 { font-size: 30px; font-weight: 900; margin: 4px 0 4px; letter-spacing: .04em; color: #ffd84a; line-height: 1.45; }
.hero-sub { margin: 0; font-size: 15px; color: var(--muted); }

.keys { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; margin: 0 0 20px; }
.key { background: linear-gradient(180deg, var(--red), var(--red2)); border: 2px solid #f2d98f; border-radius: 12px; padding: 14px 12px; text-align: center; }
.key .k { display: inline-block; white-space: nowrap; background: var(--yellow); color: var(--red2); font-size: 12px; font-weight: 900; padding: 1px 10px; border-radius: 999px; }
.key .v { display: block; margin-top: 6px; font-size: 19px; font-weight: 900; line-height: 1.4; color: #fff; }
.key .s { display: block; font-size: 12px; color: #ffe9e9; margin-top: 2px; }

.toc { display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; margin: 0 0 36px; padding: 0; list-style: none; }
.toc a { display: inline-block; font-size: 13px; text-decoration: none; color: var(--gold-light); border: 1px solid rgba(216,180,90,.6); border-radius: 999px; padding: 3px 12px; }
.toc a:hover { background: rgba(216,180,90,.15); }

.sec { background: rgba(255,255,255,.035); border: 1px solid rgba(216,180,90,.4); border-radius: 14px; padding: 26px 26px 20px; margin: 0 0 22px; scroll-margin-top: 16px; }
.sec h2 { display: flex; align-items: center; gap: 12px; font-size: 21px; font-weight: 900; color: var(--gold-light); margin: 0 0 16px; padding-bottom: 10px; border-bottom: 1px solid rgba(216,180,90,.4); line-height: 1.4; }
.sec h2 .no { flex: none; display: inline-flex; align-items: center; justify-content: center; width: 34px; height: 34px; border-radius: 50%; background: var(--gold); color: var(--night); font-family: "Cinzel", serif; font-size: 16px; }
.sec h3 { font-size: 17px; font-weight: 900; color: #fff; margin: 22px 0 8px; padding-left: 10px; border-left: 4px solid var(--red); line-height: 1.5; }
.sec h3:first-of-type { margin-top: 4px; }
.sec p { margin: 0 0 10px; }
.sec ul { margin: 0 0 10px; padding-left: 1.3em; }
.sec li { margin: 0 0 6px; }
.sec li::marker { color: var(--gold); }
.sec .sub { color: var(--muted); font-size: 14px; }
.sec .must { color: var(--yellow); font-weight: 700; }
dl.rows { margin: 0 0 8px; display: grid; grid-template-columns: 10.5em 1fr; gap: 0; border-top: 1px solid rgba(255,255,255,.12); }
dl.rows dt, dl.rows dd { margin: 0; padding: 10px 0; border-bottom: 1px solid rgba(255,255,255,.12); }
dl.rows dt { color: var(--gold-light); font-weight: 700; padding-right: 12px; }
dl.rows dd .sub { display: block; }
.hl { display: inline-block; background: var(--yellow); color: var(--red2); font-weight: 900; padding: 0 8px; border-radius: 4px; }

ul.check { list-style: none; padding-left: 0; }
ul.check li { position: relative; padding-left: 30px; margin-bottom: 10px; }
ul.check li::before { content: ""; position: absolute; left: 0; top: .35em; width: 18px; height: 18px; border-radius: 4px; border: 2px solid var(--gold); }
ul.check li::after { content: ""; position: absolute; left: 6px; top: calc(.35em + 2px); width: 5px; height: 10px; border: solid var(--yellow); border-width: 0 3px 3px 0; transform: rotate(45deg); }

.fee { display: flex; flex-wrap: wrap; align-items: baseline; gap: 6px 14px; background: rgba(0,0,0,.2); border-radius: 10px; padding: 14px 18px; margin: 0 0 12px; }
.fee .lbl { font-weight: 700; color: var(--gold-light); }
.fee .num { font-size: 28px; font-weight: 900; color: #fff; line-height: 1.2; }
.fee .unit { font-size: 14px; color: var(--muted); }

.days { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin: 0 0 10px; }
.day { background: rgba(0,0,0,.2); border-radius: 12px; padding: 14px 16px 8px; }
.day-ttl { font-weight: 900; color: var(--yellow); margin: 0 0 8px; font-size: 16px; }
.tl, .sec ul.tl { list-style: none; margin: 0; padding: 0; }
.tl li { display: grid; grid-template-columns: 5.4em 1fr; gap: 8px; padding: 8px 0; border-top: 1px dashed rgba(255,255,255,.15); font-size: 15px; line-height: 1.7; }
.tl li:first-child { border-top: none; }
.tl .t { font-weight: 900; color: #fff; }
.tl .d b { color: var(--gold-light); }
.tl .off { color: #ffb3b3; }
.alert { background: rgba(200,22,26,.25); border: 1px solid rgba(255,120,120,.5); border-radius: 10px; padding: 10px 14px; margin: 8px 0 14px; font-size: 15px; }

.apply { text-align: center; background: linear-gradient(180deg, #11204a, #0b1430); border: 2px solid var(--gold); }
.apply h2 { justify-content: center; }
.line-big { display: inline-flex; align-items: center; gap: 10px; margin: 10px 0 8px; padding: 16px 30px; background: var(--line); color: #fff; text-decoration: none; border-radius: 999px; font-size: 18px; font-weight: 900; line-height: 1.4; box-shadow: 0 8px 22px rgba(0,0,0,.35); }
.line-big:hover { filter: brightness(1.05); }
.line-big svg { flex: none; width: 46px; height: 46px; } .line-big { gap: 16px; padding-left: 24px; }
.apply .deadline { display: inline-flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 4px 10px; margin: 6px 0 14px; padding: 7px 16px; border: 2px solid var(--yellow); border-radius: 10px; font-weight: 900; font-size: 18px; }
.apply .deadline .lbl { background: var(--yellow); color: var(--red2); font-size: 13px; padding: 2px 10px; border-radius: 999px; }

.foot { text-align: center; color: var(--muted); font-size: 13px; margin-top: 36px; }

@media (max-width: 680px) {
  .wrap { padding: 36px 16px 64px; }
  body { font-size: 15px; }
  h1 { font-size: 24px; }
  .hero-img { aspect-ratio: 16 / 9; }
  .keys { grid-template-columns: 1fr; gap: 10px; }
  .key { padding: 10px 12px; }
  .key .v { margin-top: 4px; font-size: 18px; }
  .key .s { display: inline; margin-left: 6px; }
  .tl li { grid-template-columns: 5.2em 1fr; gap: 6px; }
  .tl .t { font-size: 14px; white-space: nowrap; }
  .sec { padding: 20px 16px 14px; }
  .sec h2 { font-size: 18px; }
  dl.rows { grid-template-columns: 1fr; }
  dl.rows dt { padding-bottom: 0; border-bottom: none; }
  dl.rows dd { padding-top: 2px; }
  .days { grid-template-columns: 1fr; }
  .fee .num { font-size: 24px; }
  .line-big { font-size: 16px; padding: 14px 20px 14px 16px; gap: 12px; }
  .line-big svg { width: 38px; height: 38px; }
  .apply .deadline { font-size: 16px; }
  .apply .deadline .nw { white-space: nowrap; }
}

.agree { display: flex; align-items: center; justify-content: center; gap: 12px; width: fit-content; max-width: 100%; margin: 4px auto 8px; padding: 12px 20px; background: rgba(255,255,255,.06); border: 1px solid rgba(216,180,90,.6); border-radius: 10px; cursor: pointer; font-weight: 700; font-size: 16px; text-align: left; line-height: 1.6; }
.agree input { flex: none; width: 24px; height: 24px; margin: 0; accent-color: var(--line); cursor: pointer; }
.line-big.is-off { cursor: not-allowed; }
.agree-note { font-size: 13px; color: var(--muted); margin: 0; }
@media (max-width: 680px) { .agree { font-size: 15px; padding: 10px 14px; } }
