:root {
  --blue: #00a4df;
  --blue-deep: #007fae;
  --ink: #315d69;
  --paper: rgba(255,255,255,.94);
}

* { box-sizing: border-box; }
html, body { width: 100%; min-height: 100%; margin: 0; }
html { -webkit-text-size-adjust: 100%; }
body {
  min-height: 100svh;
  overflow-x: hidden;
  color: var(--ink);
  font-family: -apple-system, BlinkMacSystemFont, "Hiragino Kaku Gothic ProN", "Yu Gothic", sans-serif;
  background: #dff3fa url('../images/common/C-02.webp') center top / 100% auto repeat-y;
}
button, input { font: inherit; }
button { -webkit-tap-highlight-color: transparent; }
.hidden { display: none !important; }

.landing-shell {
  width: 100%;
  max-width: 460px;
  min-height: 100svh;
  margin: 0 auto;
  padding: max(14px, env(safe-area-inset-top)) 14px max(24px, env(safe-area-inset-bottom));
}

.coming-view {
  min-height: calc(100svh - 38px);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 22px;
}

.landing-logo {
  display: block;
  width: min(78vw, 315px);
  height: auto;
  filter: drop-shadow(0 5px 4px rgba(60, 100, 115, .12));
}

.coming-card,
.notice-card,
.agreement-card {
  width: min(94vw, 390px);
  background: var(--paper);
  border: 1px solid rgba(0, 164, 223, .16);
  box-shadow: 0 10px 30px rgba(43, 108, 132, .14);
}

.coming-card {
  padding: 24px 18px 20px;
  border-radius: 24px;
  text-align: center;
}

.coming-kicker {
  display: inline-block;
  margin: 0 0 8px;
  padding: 6px 14px;
  border-radius: 999px;
  color: #fff;
  background: var(--blue);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: .16em;
}

.coming-card h1 {
  margin: 0;
  color: var(--blue-deep);
  font-size: clamp(29px, 9vw, 40px);
  font-weight: 900;
  letter-spacing: .025em;
}

.coming-copy { margin: 9px 0 16px; font-size: 13px; font-weight: 800; }
.countdown { display: grid; grid-template-columns: repeat(4, 1fr); gap: 7px; }
.time-box {
  min-width: 0;
  padding: 11px 4px 8px;
  border-radius: 15px;
  background: #eefaff;
  border: 1px solid rgba(0,164,223,.16);
}
.time-box strong { display: block; color: var(--blue); font-size: 24px; line-height: 1; font-variant-numeric: tabular-nums; }
.time-box span { display: block; margin-top: 5px; color: #66818a; font-size: 10px; font-weight: 800; }
.release-status { min-height: 1.4em; margin: 12px 0 0; color: #70878f; font-size: 11px; font-weight: 700; }

.precautions-view { padding-top: 2px; }
.precautions-logo { margin: 0 auto 10px; width: min(63vw, 250px); }
.notice-card { overflow: hidden; border-radius: 20px; margin: 0 auto; }
.notice-header { padding: 13px 16px 12px; background: var(--blue); text-align: center; color: #fff; }
.notice-header p { margin: 0 0 2px; font-size: 10px; font-weight: 800; letter-spacing: .08em; }
.notice-header h1 { margin: 0; font-size: 21px; font-weight: 900; letter-spacing: .1em; }
.notice-body { padding: 8px 15px 14px; }
.notice-section { padding: 12px 0 11px; border-bottom: 1px solid rgba(0,164,223,.18); }
.notice-section:last-child { border-bottom: 0; }
.section-heading { display: flex; align-items: center; gap: 8px; margin-bottom: 7px; }
.section-heading span {
  display: inline-grid; place-items: center; width: 29px; height: 29px; flex: 0 0 29px;
  border-radius: 50%; color: #fff; background: var(--blue); font-size: 10px; font-weight: 900;
}
.section-heading h2 { margin: 0; color: var(--blue-deep); font-size: 15px; font-weight: 900; }
.notice-section ul { margin: 0; padding-left: 1.25em; }
.notice-section li { margin: 5px 0; font-size: 11px; line-height: 1.58; color: #496b75; }

.agreement-card { margin: 13px auto 0; padding: 15px 15px 14px; border-radius: 18px; }
.agreement-card h2 { margin: 0 0 5px; text-align: center; color: var(--blue-deep); font-size: 16px; font-weight: 900; }
.agreement-card > p { margin: 0 0 12px; text-align: center; color: #6e858d; font-size: 10.5px; line-height: 1.5; font-weight: 700; }
.agreement-check { display: flex; align-items: flex-start; gap: 9px; font-size: 11.5px; line-height: 1.5; font-weight: 800; cursor: pointer; }
.agreement-check input { position: absolute; opacity: 0; pointer-events: none; }
.check-visual {
  position: relative; width: 22px; height: 22px; flex: 0 0 22px; border: 2px solid #68beda;
  border-radius: 6px; background: #fff;
}
.agreement-check input:checked + .check-visual { background: var(--blue); border-color: var(--blue); }
.agreement-check input:checked + .check-visual::after {
  content: ""; position: absolute; left: 6px; top: 2px; width: 6px; height: 11px;
  border: solid #fff; border-width: 0 3px 3px 0; transform: rotate(45deg);
}
.agree-button {
  width: 100%; min-height: 48px; margin-top: 12px; border: 0; border-radius: 999px;
  color: #fff; background: var(--blue); font-size: 14px; font-weight: 900; letter-spacing: .04em;
  box-shadow: 0 5px 12px rgba(0,142,198,.18); cursor: pointer;
}
.agree-button:disabled { opacity: .38; cursor: default; box-shadow: none; }
.agree-message { min-height: 1.5em !important; margin: 8px 0 0 !important; color: #d85e47 !important; font-size: 10px !important; }

@media (max-width: 375px) and (max-height: 667px) {
  .landing-shell { padding-left: 12px; padding-right: 12px; }
  .coming-view { gap: 16px; }
  .landing-logo { width: min(74vw, 278px); }
  .coming-card { padding: 20px 14px 17px; }
  .precautions-logo { width: min(57vw, 214px); margin-bottom: 7px; }
  .notice-card, .agreement-card { width: 95vw; }
  .notice-header { padding: 10px 14px 9px; }
  .notice-header h1 { font-size: 18px; }
  .notice-body { padding: 5px 13px 10px; }
  .notice-section { padding: 8px 0 7px; }
  .section-heading { margin-bottom: 4px; }
  .section-heading span { width: 25px; height: 25px; flex-basis: 25px; }
  .section-heading h2 { font-size: 13px; }
  .notice-section li { margin: 3px 0; font-size: 9.8px; line-height: 1.45; }
  .agreement-card { margin-top: 9px; padding: 11px 12px; }
  .agreement-card h2 { font-size: 14px; }
  .agreement-card > p { margin-bottom: 8px; font-size: 9.5px; }
  .agreement-check { font-size: 10.5px; }
  .agree-button { min-height: 44px; margin-top: 9px; font-size: 13px; }
}
