/* ライバル新聞 — 新聞の紙面をイメージした見た目 */
:root {
  --paper: #f6f2e9;
  --paper-2: #efe9dc;
  --sheet: #fffdf8;
  --ink: #1b1814;
  --ink-2: #4a443b;
  --muted: #6f675b;
  --rule: #d9d1c1;
  --rule-strong: #1b1814;
  --red: #b3261e;
  --red-weak: #f6e2df;
  --green: #2f6b3f;
  --green-weak: #e2efe4;
  --shadow:
    0 1px 2px rgba(27, 24, 20, 0.05), 0 10px 30px rgba(27, 24, 20, 0.07);
  --serif: "Noto Serif JP", "Hiragino Mincho ProN", "Yu Mincho", serif;
  --sans:
    "Noto Sans JP", "Hiragino Sans", "Hiragino Kaku Gothic ProN", "Yu Gothic",
    sans-serif;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --paper: #14120f;
    --paper-2: #1b1814;
    --sheet: #1e1b17;
    --ink: #efe9dc;
    --ink-2: #cfc6b6;
    --muted: #a39a8b;
    --rule: #3a342c;
    --rule-strong: #efe9dc;
    --red: #ef7a6f;
    --red-weak: #3a1d1a;
    --green: #8fd19e;
    --green-weak: #1c2f20;
    --shadow: 0 1px 2px rgba(0, 0, 0, 0.3), 0 10px 30px rgba(0, 0, 0, 0.3);
  }
}
* {
  box-sizing: border-box;
}
html {
  -webkit-text-size-adjust: 100%;
}
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.8;
}
a {
  color: inherit;
}
.wrap {
  max-width: 1080px;
  margin: 0 auto;
  padding: 0 20px;
}
.ib {
  display: inline-block;
}
.serif {
  font-family: var(--serif);
}

/* header */
header.site {
  border-bottom: 1px solid var(--rule);
  background: var(--paper);
}
header.site .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
  gap: 16px;
}
.logo {
  font-family: var(--serif);
  font-weight: 900;
  font-size: 22px;
  text-decoration: none;
  letter-spacing: 0.04em;
  display: flex;
  align-items: center;
  gap: 10px;
}
.logo .seal {
  display: inline-grid;
  place-items: center;
  width: 30px;
  height: 30px;
  background: var(--red);
  color: #fff;
  font-size: 15px;
  border-radius: 4px;
  letter-spacing: 0;
}
.nav {
  display: flex;
  gap: 22px;
  font-size: 14px;
}
.nav a {
  text-decoration: none;
  color: var(--ink-2);
}
.nav a:hover {
  color: var(--red);
}

/* hero */
.hero {
  padding: 64px 0 56px;
}
.hero .grid {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: 48px;
  align-items: center;
}
.kicker {
  display: inline-block;
  font-size: 13px;
  font-weight: 700;
  color: var(--red);
  border: 1px solid var(--red);
  padding: 2px 10px;
  border-radius: 2px;
  letter-spacing: 0.06em;
}
h1.big {
  font-family: var(--serif);
  font-weight: 900;
  font-size: 44px;
  line-height: 1.35;
  margin: 18px 0 16px;
  letter-spacing: 0.02em;
}
h1.big em {
  font-style: normal;
  color: var(--red);
}
.lead {
  font-size: 17px;
  color: var(--ink-2);
  margin: 0 0 26px;
}
form.check {
  display: flex;
  gap: 10px;
  max-width: 560px;
}
form.check input {
  flex: 1;
  min-width: 0;
  font: inherit;
  font-size: 16px;
  padding: 14px 16px;
  border: 1.5px solid var(--rule-strong);
  border-radius: 4px;
  background: var(--sheet);
  color: var(--ink);
}
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font: inherit;
  font-weight: 700;
  font-size: 16px;
  padding: 14px 22px;
  border-radius: 4px;
  border: 0;
  background: var(--red);
  color: #fff;
  text-decoration: none;
  cursor: pointer;
  white-space: nowrap;
}
.btn:hover {
  filter: brightness(1.06);
}
.btn.ghost {
  background: transparent;
  color: var(--ink);
  border: 1.5px solid var(--rule-strong);
}
.btn[disabled] {
  opacity: 0.6;
  cursor: default;
}
.note {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 18px;
  margin-top: 12px;
  font-size: 13px;
  color: var(--muted);
}
.note span::before {
  content: "✓ ";
  color: var(--green);
  font-weight: 700;
}

/* mini paper (hero) */
.mini {
  background: var(--sheet);
  box-shadow: var(--shadow);
  padding: 22px 24px 20px;
  border-radius: 3px;
  transform: rotate(0.6deg);
}
.mini .mast {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  border-bottom: 3px double var(--rule-strong);
  padding-bottom: 6px;
}
.mini .mast b {
  font-family: var(--serif);
  font-size: 26px;
  font-weight: 900;
  letter-spacing: 0.08em;
}
.mini .mast small {
  font-size: 11px;
  color: var(--muted);
  text-align: right;
  line-height: 1.5;
}
.mini h3 {
  font-family: var(--serif);
  font-size: 21px;
  line-height: 1.45;
  margin: 14px 0 6px;
}
.mini p {
  font-size: 13px;
  color: var(--ink-2);
  margin: 0;
  line-height: 1.7;
}
.mini .cols {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  margin-top: 12px;
  padding-top: 10px;
  border-top: 1px solid var(--rule);
}
.mini .cols b {
  font-family: var(--serif);
  font-size: 14px;
  display: block;
  line-height: 1.5;
}
.mini .ippo {
  margin-top: 12px;
  background: var(--red-weak);
  border-left: 4px solid var(--red);
  padding: 8px 12px;
  font-size: 13px;
}
.mini .ippo strong {
  color: var(--red);
}
.tag {
  display: inline-block;
  font-size: 11px;
  font-weight: 700;
  color: #fff;
  background: var(--ink);
  padding: 0 7px;
  border-radius: 2px;
  margin-right: 6px;
  letter-spacing: 0.04em;
  vertical-align: 2px;
}
.tag.red {
  background: var(--red);
}

/* sections */
section {
  padding: 72px 0;
  border-top: 1px solid var(--rule);
}
.sec-head {
  text-align: center;
  max-width: 720px;
  margin: 0 auto 40px;
}
.sec-head .kicker {
  margin-bottom: 12px;
}
h2 {
  font-family: var(--serif);
  font-weight: 900;
  font-size: 30px;
  line-height: 1.45;
  margin: 0 0 10px;
}
.sec-head p {
  color: var(--ink-2);
  margin: 0;
}
.cards {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
}
.card {
  background: var(--sheet);
  border: 1px solid var(--rule);
  border-radius: 4px;
  padding: 24px 24px 22px;
}
.card .n {
  font-family: var(--serif);
  font-weight: 900;
  color: var(--red);
  font-size: 15px;
  letter-spacing: 0.08em;
}
.card h3 {
  font-family: var(--serif);
  font-size: 20px;
  margin: 6px 0 8px;
  line-height: 1.5;
}
.card p {
  margin: 0;
  color: var(--ink-2);
  font-size: 15px;
}
.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  counter-reset: s;
}
.step {
  border-top: 3px solid var(--rule-strong);
  padding-top: 14px;
}
.step b {
  font-family: var(--serif);
  font-size: 19px;
  display: block;
  margin-bottom: 6px;
}
.step b::before {
  counter-increment: s;
  content: counter(s) "　";
  color: var(--red);
}
.step p {
  margin: 0;
  color: var(--ink-2);
  font-size: 15px;
}
.plans {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
  max-width: 820px;
  margin: 0 auto;
}
.plan {
  background: var(--sheet);
  border: 1px solid var(--rule);
  border-radius: 4px;
  padding: 26px;
  display: flex;
  flex-direction: column;
}
.plan.featured {
  border: 2px solid var(--red);
}
.plan h3 {
  font-family: var(--serif);
  font-size: 20px;
  margin: 0;
}
.plan .amount {
  font-family: var(--serif);
  font-size: 38px;
  font-weight: 900;
  margin: 6px 0 4px;
}
.plan .amount small {
  font-size: 14px;
  font-weight: 400;
  margin-left: 4px;
}
.plan ul {
  margin: 12px 0 20px;
  padding-left: 0;
  list-style: none;
  flex: 1;
}
.plan li {
  padding-left: 1.4em;
  position: relative;
  font-size: 15px;
  margin: 4px 0;
}
.plan li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--green);
  font-weight: 700;
}
.price-note {
  text-align: center;
  color: var(--muted);
  font-size: 13px;
  margin-top: 18px;
}
.faq {
  max-width: 760px;
  margin: 0 auto;
}
.faq details {
  border-bottom: 1px solid var(--rule);
  padding: 14px 0;
}
.faq summary {
  cursor: pointer;
  font-weight: 700;
  list-style: none;
}
.faq summary::before {
  content: "Q. ";
  color: var(--red);
  font-family: var(--serif);
}
.faq details p {
  margin: 8px 0 0;
  color: var(--ink-2);
  font-size: 15px;
}
.cta {
  text-align: center;
}
.cta form.check {
  margin: 22px auto 0;
}
footer {
  border-top: 1px solid var(--rule);
  padding: 28px 0 40px;
  font-size: 13px;
  color: var(--muted);
}
footer .wrap {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 22px;
}

/* ===== issue page (the newspaper) ===== */
.issue-wrap {
  max-width: 1000px;
  margin: 28px auto 60px;
  padding: 0 16px;
}
.sheet {
  background: var(--sheet);
  box-shadow: var(--shadow);
  padding: 34px 40px 40px;
  border-radius: 2px;
}
.masthead {
  text-align: center;
  border-bottom: 4px double var(--rule-strong);
  padding-bottom: 10px;
}
.masthead .title {
  font-family: var(--serif);
  font-weight: 900;
  font-size: 52px;
  letter-spacing: 0.18em;
  line-height: 1.2;
}
.masthead .sub {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
  font-size: 13px;
  color: var(--ink-2);
  border-top: 1px solid var(--rule-strong);
  margin-top: 10px;
  padding-top: 6px;
}
.front {
  display: grid;
  grid-template-columns: 1fr;
  gap: 6px;
  padding: 22px 0 18px;
  border-bottom: 1px solid var(--rule-strong);
}
.front h1 {
  font-family: var(--serif);
  font-weight: 900;
  font-size: 36px;
  line-height: 1.4;
  margin: 0;
}
.front p {
  font-size: 16px;
  color: var(--ink-2);
  margin: 6px 0 0;
}
.articles {
  display: grid;
  grid-template-columns: 1fr 1fr;
  column-gap: 32px;
}
.article {
  padding: 18px 0;
  border-bottom: 1px solid var(--rule);
}
.article .who {
  font-size: 13px;
  color: var(--muted);
}
.article .who a {
  color: var(--muted);
}
.article h2 {
  font-size: 22px;
  margin: 4px 0 6px;
  line-height: 1.5;
}
.article p {
  margin: 0;
  font-size: 15px;
  line-height: 1.85;
}
.briefs {
  margin: 8px 0 0;
  padding: 0;
  list-style: none;
  font-size: 13px;
  color: var(--ink-2);
}
.briefs li {
  padding-left: 0;
}
.briefs time {
  font-variant-numeric: tabular-nums;
  color: var(--red);
  margin-right: 6px;
  font-weight: 700;
}
.lower {
  display: grid;
  grid-template-columns: 1.35fr 1fr;
  gap: 32px;
  margin-top: 22px;
}
.ippo-box {
  border: 2px solid var(--red);
  padding: 18px 20px 14px;
}
.ippo-box h3 {
  font-family: var(--serif);
  color: var(--red);
  font-size: 22px;
  margin: 0 0 8px;
}
.ippo-box ol {
  margin: 0;
  padding-left: 1.3em;
}
.ippo-box li {
  margin: 8px 0;
}
.ippo-box li b {
  font-family: var(--serif);
  font-size: 17px;
  display: block;
}
.ippo-box li span {
  font-size: 14px;
  color: var(--ink-2);
}
.ai-box {
  background: var(--paper-2);
  padding: 16px 18px;
}
.ai-box h3 {
  font-family: var(--serif);
  font-size: 19px;
  margin: 0 0 6px;
}
.ai-box .q {
  font-size: 13px;
  color: var(--muted);
  margin-bottom: 6px;
}
.ai-box p {
  margin: 0;
  font-size: 14px;
}
.ai-box .marks {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 10px;
}
.mark {
  font-size: 12px;
  font-weight: 700;
  padding: 1px 8px;
  border-radius: 2px;
  background: var(--sheet);
  border: 1px solid var(--rule);
}
.mark.on {
  background: var(--green-weak);
  color: var(--green);
  border-color: transparent;
}
.mark.off {
  background: var(--red-weak);
  color: var(--red);
  border-color: transparent;
}
.rivals-box {
  margin-top: 22px;
  border-top: 1px solid var(--rule-strong);
  padding-top: 12px;
  font-size: 13px;
  color: var(--ink-2);
}
.rivals-box b {
  font-family: var(--serif);
  color: var(--ink);
}
.issue-cta {
  margin-top: 26px;
  text-align: center;
  background: var(--paper-2);
  padding: 24px 18px;
  border-radius: 4px;
}
.issue-cta h3 {
  font-family: var(--serif);
  font-size: 22px;
  margin: 0 0 6px;
}
.issue-cta p {
  margin: 0 0 14px;
  color: var(--ink-2);
  font-size: 15px;
}
.disclaimer {
  font-size: 12px;
  color: var(--muted);
  margin-top: 18px;
}

/* waiting */
.waiting {
  text-align: center;
  padding: 70px 10px;
}
.waiting h2 {
  font-size: 24px;
}
.press {
  width: 60px;
  height: 60px;
  margin: 0 auto 18px;
  border: 4px solid var(--rule);
  border-top-color: var(--red);
  border-radius: 50%;
  animation: spin 1s linear infinite;
}
@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}
.progress {
  list-style: none;
  padding: 0;
  margin: 18px auto 0;
  max-width: 360px;
  text-align: left;
  font-size: 15px;
}
.progress li {
  color: var(--muted);
  padding: 3px 0;
}
.progress li.done {
  color: var(--ink);
}
.progress li.done::before {
  content: "✓ ";
  color: var(--green);
  font-weight: 700;
}
.progress li.now {
  color: var(--ink);
  font-weight: 700;
}
.progress li.now::before {
  content: "… ";
  color: var(--red);
}
.err {
  text-align: center;
  padding: 60px 10px;
}

@media (max-width: 860px) {
  .hero .grid,
  .lower {
    grid-template-columns: 1fr;
  }
  .articles {
    grid-template-columns: 1fr;
  }
  .plans,
  .cards,
  .steps {
    grid-template-columns: 1fr;
  }
  .nav {
    display: none;
  }
}
@media (max-width: 640px) {
  .wrap {
    padding: 0 16px;
  }
  h1.big {
    font-size: 32px;
  }
  h2 {
    font-size: 24px;
  }
  form.check {
    flex-direction: column;
  }
  .hero {
    padding: 40px 0 44px;
  }
  .mini {
    transform: none;
  }
  .sheet {
    padding: 22px 16px 26px;
  }
  .masthead .title {
    font-size: 36px;
    letter-spacing: 0.12em;
  }
  .front h1 {
    font-size: 26px;
  }
  section {
    padding: 52px 0;
  }
}

/* legal */
.legal h1 { font-size: 28px; margin: 0 0 8px; }
.legal dl { margin: 22px 0; border-top: 1px solid var(--rule); }
.legal dl > div { display: grid; grid-template-columns: 180px 1fr; gap: 14px; padding: 12px 0; border-bottom: 1px solid var(--rule); }
.legal dt { font-weight: 700; }
.legal dd { margin: 0; color: var(--ink-2); }
@media (max-width: 640px) { .legal dl > div { grid-template-columns: 1fr; gap: 2px; } }
.plan .launch { display: inline-block; margin-top: 8px; font-size: 13px; font-weight: 700; color: #fff; background: var(--red); padding: 1px 10px; border-radius: 2px; align-self: flex-start; }
.plan .regular { font-size: 13px; color: var(--muted); line-height: 1.6; }
