/* ============================================================
   AI Wire — home.css
   トップページ専用スタイル。NYT 風エディトリアル × AI Wire 文化
   (白基調・明朝・新聞風)。レスポンシブ完全対応。
   ============================================================ */

:root {
  --paper:       #faf6ee;
  --paper-2:     #f3ede0;
  --ink:         #1a1814;
  --ink-2:       #4a453c;
  --gray:        #6b6862;
  --rule:        #d8d2c4;
  --rule-bold:   #1a1814;
  --accent:      #b8341e;
  --accent-dark: #8f2616;
  --serif-display: 'Playfair Display', 'Noto Serif JP', serif;
  --serif-body:    'Noto Serif JP', serif;
  --sans:          'Inter', system-ui, -apple-system, sans-serif;
  --wrap: 1180px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html, body {
  background: var(--paper);
  color: var(--ink);
  font-family: var(--serif-body);
  -webkit-font-smoothing: antialiased;
}

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

.wrap {
  max-width: var(--wrap);
  margin: 0 auto;
  padding: 0 28px;
}

/* ===== マストヘッド ===== */
.masthead { padding-top: 18px; }
.masthead-inner {
  max-width: var(--wrap);
  margin: 0 auto;
  padding: 0 28px;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 16px;
}
.masthead-left { font-family: var(--sans); }
.dateline {
  font-size: 12px;
  letter-spacing: 0.08em;
  color: var(--gray);
  text-transform: uppercase;
}
.wordmark {
  font-family: var(--serif-display);
  font-weight: 900;
  font-size: 42px;
  letter-spacing: -0.01em;
  text-align: center;
  white-space: nowrap;
}
.masthead-right {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 18px;
  font-family: var(--sans);
}
.nav-link {
  font-size: 13px;
  color: var(--ink-2);
  border-bottom: 1px solid transparent;
  padding-bottom: 1px;
}
.nav-link:hover { border-bottom-color: var(--ink-2); }
.btn-subscribe-sm {
  font-size: 13px;
  font-weight: 600;
  color: #fff;
  background: var(--accent);
  padding: 8px 16px;
  border-radius: 2px;
  transition: background 0.15s;
}
.btn-subscribe-sm:hover { background: var(--accent-dark); }

.masthead-rule {
  border-top: 3px solid var(--rule-bold);
  margin: 14px 0 0;
}
.tagline-bar {
  max-width: var(--wrap);
  margin: 0 auto;
  padding: 7px 28px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  border-bottom: 1px solid var(--rule);
}
.tagline {
  font-family: var(--sans);
  font-size: 12.5px;
  color: var(--ink-2);
  letter-spacing: 0.02em;
}
.beta-badge {
  font-family: var(--sans);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.14em;
  color: var(--accent);
  border: 1px solid var(--accent);
  padding: 2px 7px;
  border-radius: 2px;
}

/* ===== HERO ===== */
.hero { padding: 34px 0 8px; }
.hero-loading {
  font-family: var(--sans);
  color: var(--gray);
  font-size: 14px;
  padding: 80px 0;
  text-align: center;
}

.hero-issue-label {
  font-family: var(--sans);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 18px;
  display: flex;
  align-items: center;
  gap: 10px;
}
.hero-issue-label::after {
  content: "";
  flex: 1;
  border-top: 1px solid var(--rule);
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 44px;
  align-items: start;
}

/* 左:テキスト */
.hero-cat {
  font-family: var(--sans);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 10px;
}
.hero-headline {
  font-family: var(--serif-display);
  font-weight: 800;
  font-size: 40px;
  line-height: 1.16;
  letter-spacing: -0.005em;
  margin-bottom: 14px;
}
.hero-deck {
  font-family: var(--serif-body);
  font-size: 16px;
  font-style: italic;
  color: var(--ink-2);
  line-height: 1.55;
  margin-bottom: 16px;
}
.hero-lead {
  font-size: 16px;
  line-height: 1.78;
  color: var(--ink);
  margin-bottom: 20px;
}
.hero-subs {
  list-style: none;
  border-top: 1px solid var(--rule);
  padding-top: 14px;
  margin-bottom: 22px;
}
.hero-subs li {
  position: relative;
  padding-left: 18px;
  font-size: 15px;
  line-height: 1.5;
  margin-bottom: 9px;
  color: var(--ink);
}
.hero-subs li::before {
  content: "";
  position: absolute;
  left: 0; top: 9px;
  width: 5px; height: 5px;
  background: var(--accent);
  border-radius: 50%;
}
.hero-subs .sub-cat {
  font-family: var(--sans);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: var(--gray);
  margin-right: 6px;
}
.hero-read-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--sans);
  font-size: 14px;
  font-weight: 600;
  color: var(--ink);
  border-bottom: 2px solid var(--accent);
  padding-bottom: 3px;
}
.hero-read-btn:hover { color: var(--accent); }

/* 右:ビジュアルパネル(写真の代わりにタイポグラフィック) */
.hero-panel {
  background: var(--ink);
  color: var(--paper);
  padding: 36px 34px;
  display: flex;
  flex-direction: column;
  min-height: 380px;
  position: relative;
}
.hero-panel-top {
  font-family: var(--sans);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(250,246,238,0.55);
}
.hero-panel-date {
  font-family: var(--serif-display);
  font-weight: 900;
  font-size: 68px;
  line-height: 1;
  margin: 20px 0 6px;
  letter-spacing: -0.02em;
}
.hero-panel-weekday {
  font-family: var(--serif-body);
  font-size: 17px;
  color: rgba(250,246,238,0.7);
  font-style: italic;
}
.hero-panel-mid {
  flex: 1;
  display: flex;
  align-items: center;
}
.hero-panel-quote {
  font-family: var(--serif-display);
  font-size: 22px;
  font-weight: 500;
  line-height: 1.5;
  font-style: italic;
}
.hero-panel-meta {
  display: flex;
  gap: 24px;
  border-top: 1px solid rgba(250,246,238,0.2);
  padding-top: 16px;
  font-family: var(--sans);
}
.hero-panel-meta .m-num {
  font-family: var(--serif-display);
  font-weight: 800;
  font-size: 24px;
  display: block;
}
.hero-panel-meta .m-lab {
  font-size: 10px;
  letter-spacing: 0.08em;
  color: rgba(250,246,238,0.55);
  text-transform: uppercase;
}

/* ===== SUBSCRIBE CTA BAND(最重要) ===== */
.cta-band {
  background: var(--accent);
  color: #fff;
  margin: 40px 0;
  padding: 52px 28px;
}
.cta-inner {
  max-width: 680px;
  margin: 0 auto;
  text-align: center;
}
.cta-kicker {
  font-family: var(--sans);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.85);
  margin-bottom: 14px;
}
.cta-headline {
  font-family: var(--serif-display);
  font-weight: 800;
  font-size: 36px;
  line-height: 1.22;
  margin-bottom: 14px;
}
.cta-sub {
  font-size: 15.5px;
  line-height: 1.7;
  color: rgba(255,255,255,0.92);
  margin-bottom: 26px;
}
.cta-sub strong { color: #fff; border-bottom: 2px solid rgba(255,255,255,0.5); }
.cta-form {
  display: flex;
  gap: 8px;
  max-width: 460px;
  margin: 0 auto 12px;
}
.cta-input {
  flex: 1;
  font-family: var(--sans);
  font-size: 15px;
  padding: 14px 16px;
  border: none;
  border-radius: 2px;
  color: var(--ink);
}
.cta-btn {
  font-family: var(--sans);
  font-size: 15px;
  font-weight: 700;
  color: var(--accent);
  background: #fff;
  border: none;
  padding: 14px 24px;
  border-radius: 2px;
  cursor: pointer;
  white-space: nowrap;
  transition: transform 0.1s;
}
.cta-btn:hover { transform: translateY(-1px); }
.cta-fineprint {
  font-family: var(--sans);
  font-size: 12px;
  color: rgba(255,255,255,0.7);
}

/* ===== ARCHIVE ===== */
.archive-section { padding-bottom: 50px; }
.section-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  border-bottom: 2px solid var(--rule-bold);
  padding-bottom: 8px;
  margin-bottom: 24px;
}
.section-title {
  font-family: var(--serif-display);
  font-weight: 800;
  font-size: 24px;
}
.section-more {
  font-family: var(--sans);
  font-size: 13px;
  color: var(--accent);
  font-weight: 600;
}
.archive-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
}
.archive-card {
  padding: 4px 24px 22px;
  border-right: 1px solid var(--rule);
}
.archive-card:first-child { padding-left: 0; }
.archive-card:last-child { border-right: none; padding-right: 0; }
.archive-card-date {
  font-family: var(--sans);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: var(--gray);
  text-transform: uppercase;
  margin-bottom: 8px;
}
.archive-card-cat {
  font-family: var(--sans);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.12em;
  color: var(--accent);
  text-transform: uppercase;
  margin-bottom: 6px;
}
.archive-card-headline {
  font-family: var(--serif-display);
  font-weight: 700;
  font-size: 21px;
  line-height: 1.28;
  margin-bottom: 10px;
}
.archive-card:hover .archive-card-headline { color: var(--accent); }
.archive-card-lead {
  font-size: 14px;
  line-height: 1.65;
  color: var(--ink-2);
  margin-bottom: 12px;
}
.archive-card-subs {
  list-style: none;
  border-top: 1px solid var(--rule);
  padding-top: 10px;
}
.archive-card-subs li {
  font-size: 13px;
  line-height: 1.4;
  color: var(--ink-2);
  margin-bottom: 6px;
  padding-left: 14px;
  position: relative;
}
.archive-card-subs li::before {
  content: "›";
  position: absolute;
  left: 0;
  color: var(--accent);
  font-weight: 700;
}
.archive-card-meta {
  font-family: var(--sans);
  font-size: 11px;
  color: var(--gray);
  margin-top: 10px;
}

/* ===== EMPTY STATE(2026-05-15 以前) ===== */
.empty-state {
  text-align: center;
  padding: 60px 0 30px;
}
.empty-kicker {
  font-family: var(--sans);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 18px;
}
.empty-headline {
  font-family: var(--serif-display);
  font-weight: 900;
  font-size: 52px;
  line-height: 1.15;
  margin-bottom: 18px;
}
.empty-date-big {
  font-family: var(--serif-display);
  font-weight: 900;
  font-size: 88px;
  color: var(--accent);
  line-height: 1;
  margin: 24px 0 10px;
}
.empty-sub {
  font-size: 17px;
  line-height: 1.7;
  color: var(--ink-2);
  max-width: 540px;
  margin: 0 auto 8px;
}

/* ===== FOOTER ===== */
.site-footer {
  border-top: 3px solid var(--rule-bold);
  background: var(--paper-2);
}
.footer-inner {
  max-width: var(--wrap);
  margin: 0 auto;
  padding: 32px 28px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
}
.footer-wordmark {
  font-family: var(--serif-display);
  font-weight: 900;
  font-size: 22px;
  margin-right: 14px;
}
.footer-desc {
  font-family: var(--sans);
  font-size: 12.5px;
  color: var(--gray);
}
.footer-nav {
  display: flex;
  gap: 22px;
  font-family: var(--sans);
  font-size: 13px;
}
.footer-nav a { color: var(--ink-2); }
.footer-nav a:hover { color: var(--accent); }
.footer-legal {
  display: flex;
  gap: 14px;
  font-family: var(--sans);
  font-size: 11px;
  color: var(--gray);
}

/* ===== レスポンシブ:タブレット ===== */
@media (max-width: 880px) {
  .hero-grid { grid-template-columns: 1fr; gap: 28px; }
  .hero-panel { min-height: 280px; }
  .hero-headline { font-size: 34px; }
  .archive-grid { grid-template-columns: 1fr; }
  .archive-card {
    border-right: none;
    border-bottom: 1px solid var(--rule);
    padding: 18px 0;
  }
  .archive-card:first-child { padding-top: 0; }
}

/* ===== レスポンシブ:スマホ ===== */
@media (max-width: 560px) {
  .wrap, .masthead-inner, .tagline-bar, .footer-inner { padding-left: 18px; padding-right: 18px; }
  .masthead-inner { grid-template-columns: 1fr; gap: 8px; text-align: center; }
  .masthead-left, .masthead-right { justify-content: center; }
  .wordmark { font-size: 34px; }
  .tagline-bar { flex-direction: column; gap: 6px; padding: 8px 18px; }
  .hero-headline { font-size: 28px; }
  .hero-deck { font-size: 14.5px; }
  .hero-lead { font-size: 15px; }
  .hero-panel-date { font-size: 52px; }
  .hero-panel-quote { font-size: 18px; }
  .cta-band { padding: 38px 18px; }
  .cta-headline { font-size: 27px; }
  .cta-form { flex-direction: column; }
  .empty-headline { font-size: 34px; }
  .empty-date-big { font-size: 60px; }
  .footer-inner { flex-direction: column; align-items: flex-start; }
}
