/* ============================================================
   THE BRIEF — Magazine page styles
   ============================================================ */

body { background: #fff; }

/* ---------------- Header ---------------- */
.mag-header {
  border-bottom: 1px solid var(--border-1);
  padding: 24px 0;
}
.mag-header .row {
  max-width: var(--mag-max-width);
  margin: 0 auto;
  padding: 0 var(--mag-gutter);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.mag-header .wordmark {
  font-family: var(--font-en);
  font-weight: 900;
  font-size: 28px;
  letter-spacing: var(--tr-wordmark);
  color: var(--eh-navy-01);
  line-height: 1;
}
.mag-header .meta {
  display: flex;
  align-items: center;
  gap: 28px;
}
.mag-header .vol-block {
  display: flex;
  flex-direction: column;
  font-family: var(--font-en);
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--fg-2);
  text-align: right;
  line-height: 1.5;
}
.mag-header .powered {
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-en);
  font-size: 10px;
  letter-spacing: 0.12em;
  color: var(--fg-2);
  white-space: nowrap;
}
.mag-header .powered img { height: 16px; opacity: 0.85; }

/* ---------------- Cover section ---------------- */
.cover {
  padding: 96px 0 80px;
}
.cover .inner {
  max-width: var(--mag-max-width);
  margin: 0 auto;
  padding: 0 var(--mag-gutter);
}
.cover .issue-line {
  font-family: var(--font-en);
  font-style: italic;
  font-size: 14px;
  letter-spacing: 0.12em;
  color: var(--fg-accent);
  text-transform: uppercase;
  margin-bottom: 32px;
}
.cover .headline {
  font-family: var(--font-jp);
  font-weight: 900;
  font-size: 64px;
  line-height: 1.15;
  letter-spacing: -0.02em;
  color: var(--eh-black);
  margin: 0 0 32px;
}
.cover .sub {
  font-size: 18px;
  line-height: 1.7;
  color: var(--fg-2);
  max-width: 560px;
  margin: 0;
}
.cover .cover-photo {
  margin-top: 64px;
  width: 100%;
  aspect-ratio: 16 / 9;
  background: #E8E9EE;
  border-radius: 2px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #8C8C8C;
  font-size: 13px;
  letter-spacing: 0.1em;
}

/* ---------------- Section primitives ---------------- */
section.mag-section { padding: 96px 0; }
section.mag-section .inner {
  max-width: var(--mag-max-width);
  margin: 0 auto;
  padding: 0 var(--mag-gutter);
}
.section-head { margin-bottom: 56px; }
.section-head .eyebrow {
  font-family: var(--font-en);
  font-style: italic;
  font-size: 13px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--fg-accent);
  margin-bottom: 16px;
}
.section-head .title {
  font-family: var(--font-jp);
  font-weight: 900;
  font-size: 40px;
  line-height: 1.2;
  letter-spacing: -0.02em;
  margin: 0;
  white-space: nowrap;
}
.section-head .rule {
  width: 56px;
  height: 2px;
  background: var(--eh-blue-01);
  margin: 24px 0 0;
  border: 0;
}

/* Variants */
.bg-alt  { background: var(--bg-2); }
.bg-navy { background: var(--eh-navy-01); color: #fff; }
.bg-navy .section-head .eyebrow { color: var(--eh-blue-03); }
.bg-navy .section-head .title   { color: #fff; }

.placeholder { color: var(--fg-3); font-style: italic; }
.bg-navy .placeholder { color: rgba(255,255,255,0.5); }

/* ---------------- S1 Manifesto ---------------- */
.manifesto .lead {
  font-family: var(--font-jp);
  font-weight: 700;
  font-size: 28px;
  line-height: 1.6;
  color: var(--eh-navy-01);
  max-width: 808px;
  letter-spacing: -0.01em;
  margin: 0 0 32px;
}
.manifesto p {
  font-size: 16px;
  line-height: 1.85;
  color: var(--fg-1);
  max-width: 808px;
  margin: 0 0 16px;
}

/* ---------------- S2 Failures (numbered cards) ---------------- */
.failures .cards {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0;
}
.failure {
  display: grid;
  grid-template-columns: 120px 1fr;
  gap: 48px;
  padding: 48px 0;
  border-bottom: 1px solid var(--border-1);
  align-items: start;
}
.failure:first-child { border-top: 1px solid var(--border-1); }
.failure .num {
  font-family: var(--font-en);
  font-style: italic;
  font-weight: 400;
  font-size: 80px;
  line-height: 0.9;
  color: var(--eh-blue-01);
}
.failure h3 {
  font-family: var(--font-jp);
  font-weight: 900;
  font-size: 28px;
  line-height: 1.35;
  letter-spacing: -0.01em;
  color: var(--eh-black);
  margin: 0 0 16px;
}
.failure p {
  font-size: 16px;
  line-height: 1.85;
  color: var(--fg-1);
  margin: 0;
  max-width: 640px;
}
.failure .tag {
  display: inline-block;
  font-family: var(--font-en);
  font-style: italic;
  font-size: 12px;
  letter-spacing: 0.12em;
  color: var(--fg-2);
  text-transform: uppercase;
  margin-bottom: 12px;
}

/* ---------------- S3 Timeline (months) ---------------- */
.timeline {
  background: var(--eh-navy-01);
  color: #fff;
}
.timeline .section-head .eyebrow { color: var(--eh-blue-03); }
.timeline .section-head .title { color: #fff; }
.timeline .scale {
  font-family: var(--font-en);
  font-style: italic;
  font-size: 14px;
  color: var(--eh-blue-03);
  margin-top: 16px;
  letter-spacing: 0.04em;
}
.timeline .grid {
  display: grid;
  grid-template-columns: 80px 1fr;
}
.tl-month {
  font-family: var(--font-en);
  font-weight: 700;
  font-style: italic;
  font-size: 22px;
  color: #fff;
  padding: 24px 0;
  border-top: 1px solid rgba(255,255,255,0.18);
}
.tl-content {
  padding: 24px 0 24px 32px;
  border-top: 1px solid rgba(255,255,255,0.18);
  border-left: 1px solid rgba(255,255,255,0.18);
}
.tl-content h4 {
  font-family: var(--font-jp);
  font-weight: 700;
  font-size: 18px;
  color: #fff;
  margin: 0 0 8px;
  line-height: 1.4;
}
.timeline.bg-navy .tl-content p {
  font-size: 14px;
  line-height: 1.7;
  color: rgba(255,255,255,0.75);
  margin: 0;
  max-width: 696px;
}
.timeline .grid > .tl-month:last-of-type,
.timeline .grid > .tl-content:last-of-type {
  border-bottom: 1px solid rgba(255,255,255,0.18);
}

/* ---------------- S4 Reverse table ---------------- */
.reverse table {
  width: 100%;
  border-collapse: collapse;
  font-family: var(--font-jp);
}
.reverse thead th {
  text-align: left;
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--fg-2);
  font-family: var(--font-en);
  font-style: italic;
  font-weight: 400;
  padding: 0 0 16px;
  border-bottom: 1px solid var(--eh-black);
}
.reverse tbody tr { border-bottom: 1px solid var(--border-1); }
.reverse tbody td {
  padding: 24px 0;
  vertical-align: top;
  font-size: 17px;
  line-height: 1.55;
}
.reverse tbody td:first-child {
  width: 44%;
  font-weight: 700;
  color: var(--eh-black);
  padding-right: 32px;
}
.reverse tbody td:nth-child(2) {
  width: 8%;
  font-family: var(--font-en);
  font-style: italic;
  color: var(--eh-blue-01);
  font-size: 22px;
  line-height: 1.2;
  text-align: center;
  padding-top: 22px;
}
.reverse tbody td:last-child {
  color: var(--fg-1);
  line-height: 1.7;
  padding-left: 32px;
}

/* ---------------- S5 Asset (pull quote + aside) ---------------- */
.asset { background: var(--bg-2); }
.asset .layout {
  display: flex;
  flex-direction: column;
  gap: 40px;
  align-items: stretch;
}
.asset .pull {
  font-family: var(--font-jp);
  font-weight: 900;
  font-size: 32px;
  line-height: 1.35;
  letter-spacing: -0.01em;
  color: var(--eh-navy-01);
  margin: 0;
  border-left: 3px solid var(--eh-blue-01);
  padding-left: 24px;
}
.asset .aside-note {
  display: block;
  font-family: var(--font-en);
  font-style: italic;
  font-size: 13px;
  letter-spacing: 0.08em;
  color: var(--fg-2);
  text-transform: uppercase;
  margin-bottom: 12px;
}
.asset p {
  font-size: 16px;
  line-height: 1.85;
  color: var(--fg-1);
  margin: 0 0 16px;
  max-width: 808px;
}

/* ---------------- Generic section paragraph ---------------- */
.mag-section p {
  font-size: 16px;
  line-height: 1.85;
  color: var(--fg-1);
  max-width: 808px;
  margin: 0 0 16px;
}
.bg-navy .mag-section p,
.mag-section.bg-navy p { color: rgba(255,255,255,0.85); }

/* ---------------- Footer ---------------- */
.mag-footer {
  background: var(--eh-navy-01);
  color: #fff;
  padding: 96px 0 48px;
}
.mag-footer .inner {
  max-width: var(--mag-max-width);
  margin: 0 auto;
  padding: 0 var(--mag-gutter);
}
.mag-footer .cta-block {
  text-align: center;
  padding-bottom: 64px;
  border-bottom: 1px solid rgba(255,255,255,0.15);
}
.mag-footer .cta-label {
  font-family: var(--font-en);
  font-style: italic;
  font-size: 14px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--eh-blue-03);
  margin-bottom: 16px;
}
.mag-footer .cta-headline {
  font-family: var(--font-jp);
  font-weight: 900;
  font-size: 40px;
  line-height: 1.3;
  letter-spacing: -0.01em;
  color: #fff;
  margin: 0 0 40px;
}
.mag-footer .cta-btn {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  background: #fff;
  color: var(--eh-navy-01);
  font-family: inherit;
  font-weight: 700;
  font-size: 16px;
  padding: 18px 36px;
  border-radius: 4px;
  text-decoration: none;
  transition: background 120ms;
  white-space: nowrap;
}
.mag-footer .cta-btn:hover { background: var(--eh-light-gray); text-decoration: none; }
.mag-footer .cta-btn::after { content: "→"; font-family: var(--font-en); font-size: 18px; }
.mag-footer .colophon {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  margin-top: 40px;
  font-family: var(--font-en);
  font-size: 11px;
  letter-spacing: 0.12em;
  color: rgba(255,255,255,0.5);
  white-space: nowrap;
}
.mag-footer .colophon img { height: 18px; opacity: 0.85; }

/* ============================================================
   Responsive breakpoints
   ============================================================ */

/* Tablet landscape / small desktop */
@media (max-width: 900px) {
  .cover { padding: 72px 0 64px; }
  .cover .headline { font-size: 52px; }
  .cover .issue-line { margin-bottom: 24px; }

  section.mag-section { padding: 72px 0; }
  .section-head { margin-bottom: 40px; }
  .section-head .title { font-size: 32px; }

  .manifesto .lead { font-size: 24px; }

  .failure { grid-template-columns: 96px 1fr; gap: 32px; padding: 40px 0; }
  .failure .num { font-size: 64px; }
  .failure h3 { font-size: 24px; }

  .timeline .grid { grid-template-columns: 64px 1fr; }
  .tl-month { font-size: 18px; }
  .tl-content { padding-left: 24px; }

  .reverse tbody td { font-size: 16px; }

  .asset .pull { font-size: 28px; }

  .mag-footer .cta-headline { font-size: 32px; }
}

/* Tablet portrait */
@media (max-width: 680px) {
  .mag-header .row { gap: 16px; }
  .mag-header .wordmark { font-size: 24px; }
  .mag-header .meta { gap: 20px; }

  .cover { padding: 56px 0 48px; }
  .cover .headline { font-size: 40px; }
  .cover .sub { font-size: 16px; }

  section.mag-section { padding: 56px 0; }
  .section-head { margin-bottom: 32px; }
  .section-head .title {
    font-size: 26px;
    white-space: normal;
  }

  .manifesto .lead { font-size: 20px; line-height: 1.55; }

  .failure { grid-template-columns: 72px 1fr; gap: 20px; padding: 32px 0; }
  .failure .num { font-size: 48px; }
  .failure h3 { font-size: 20px; margin-bottom: 12px; }
  /* .failure p の15px縮小は撤廃：装飾配下は全幅で16px基準に統一（2026-07-14） */

  .timeline .grid { grid-template-columns: 56px 1fr; }
  .tl-month { font-size: 16px; }
  .tl-content { padding: 20px 0 20px 20px; }
  .tl-content p { max-width: none; }

  .reverse table { display: block; }
  .reverse thead, .reverse tbody, .reverse tr, .reverse td { display: block; }
  .reverse thead { display: none; }
  .reverse tbody tr { padding: 20px 0; }
  .reverse tbody td { padding: 0; width: auto !important; font-size: 15px; }
  .reverse tbody td:first-child { padding-right: 0; margin-bottom: 6px; }
  .reverse tbody td:nth-child(2) {
    display: none;
  }
  .reverse tbody td:last-child {
    padding-left: 16px;
    border-left: 2px solid var(--eh-blue-01);
    color: var(--fg-1);
  }

  .asset .pull { font-size: 22px; padding-left: 16px; }

  .mag-footer { padding: 64px 0 32px; }
  .mag-footer .cta-headline { font-size: 24px; }
  .mag-footer .cta-btn { padding: 14px 28px; font-size: 14px; }
  .mag-footer .colophon { flex-direction: column; gap: 16px; text-align: center; }
}

/* Phone */
@media (max-width: 440px) {
  .mag-header .powered span { display: none; }
  .mag-header .meta { gap: 14px; }

  .cover .headline { font-size: 32px; }

  .failure { grid-template-columns: 1fr; gap: 12px; }
  .failure .num { font-size: 40px; line-height: 1; }

  .timeline .grid {
    display: flex;
    flex-direction: column;
    gap: 0;
  }
  .timeline .tl-month {
    padding: 20px 0 4px;
    border-top: 1px solid rgba(255,255,255,0.18);
    border-bottom: 0;
  }
  .timeline .tl-content {
    padding: 0 0 20px;
    border-top: 0;
    border-left: 0;
  }
  .timeline .grid > .tl-content:last-of-type {
    border-bottom: 1px solid rgba(255,255,255,0.18);
    padding-bottom: 24px;
  }
}
