/* SmartNews W2A LP — brand-aligned design tokens
   Source: SN Brand Guidelines [External] (Oct 2024)
   - Primary type: DM Serif Text (headers) + DM Sans (body/subheader/CTA)
   - Color palette: theme1.xml から抽出した公式色 */
@import url('https://fonts.googleapis.com/css2?family=DM+Sans:ital,wght@0,400;0,500;0,700;1,400&family=DM+Serif+Text:ital@0;1&display=swap');

:root {
  /* Brand primary */
  --sn-ink:        #262A48;   /* dark primary (headers, body text) */
  --sn-white:      #FFFFFF;
  --sn-surface:    #FAF7F4;   /* warm off-white bg */
  --sn-red:        #FD4749;   /* SmartNews accent red */
  /* Brand accents */
  --sn-blue:       #329FE7;
  --sn-mint:       #00CC8B;
  --sn-orange:     #FB9200;
  --sn-peach:      #FEDEB2;
  --sn-mint-lt:    #BCEFD8;
  --sn-blue-lt:    #BAE5F3;
  --sn-teal:       #0097A7;
  /* Neutrals */
  --sn-gray:       #6B7280;
  --sn-gray-light: #E5E7EB;
  --star-gold:     #F5A623;
  --shadow-sm: 0 1px 2px rgba(38,42,72,0.05);
  --shadow-md: 0 4px 12px rgba(38,42,72,0.08);
  --shadow-lg: 0 12px 32px rgba(38,42,72,0.10);
  --radius: 16px;      /* SmartNews rounded article card 精神を継承 */
  --radius-lg: 24px;
}
* { box-sizing: border-box; margin: 0; padding: 0; }
html { -webkit-text-size-adjust: 100%; }
body {
  font-family: "DM Sans", -apple-system, BlinkMacSystemFont, "Helvetica Neue", sans-serif;
  color: var(--sn-ink);
  background: var(--sn-surface);
  line-height: 1.55;
  font-size: 16px;
  font-weight: 400;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; border: none; background: none; }

.wrap { max-width: 720px; margin: 0 auto; background: var(--sn-white); min-height: 100vh; }
.nav {
  display: flex; justify-content: space-between; align-items: center;
  padding: 14px 20px; border-bottom: 1px solid var(--sn-gray-light);
  position: sticky; top: 0; background: rgba(255,255,255,0.96);
  backdrop-filter: blur(10px); z-index: 10;
}
.logo-row { display: flex; align-items: center; }
.logo-row img { height: 24px; width: auto; }
.nav-cta {
  padding: 8px 14px; background: var(--sn-ink); color: var(--sn-white);
  border-radius: 999px; font-weight: 500; font-size: 14px;
  font-family: "DM Sans", sans-serif;
}

.hero { padding: 44px 24px 36px; text-align: center; }
.hero .badge {
  display: inline-block; padding: 6px 14px; background: rgba(38,42,72,0.06);
  border-radius: 999px; font-size: 12px; font-weight: 500; letter-spacing: 0.04em;
  text-transform: uppercase; margin-bottom: 20px; color: var(--sn-ink);
}
.hero h1 {
  font-family: "DM Serif Text", Georgia, serif;
  font-size: 38px; line-height: 1.12; letter-spacing: -0.01em;
  font-weight: 400; margin-bottom: 16px; color: var(--sn-ink);
}
.hero .sub {
  font-size: 17px; color: var(--sn-ink); opacity: 0.72;
  max-width: 480px; margin: 0 auto 28px;
}

/* App Store marketing screenshot は完成デザインなので、そのまま角丸+シャドウで魅せる */
.phone-frame {
  position: relative; width: 260px; margin: 24px auto 0;
  border-radius: 28px; overflow: hidden;
  box-shadow: 0 24px 60px rgba(38,42,72,0.15), 0 8px 20px rgba(38,42,72,0.08);
}
.phone-frame img { display: block; width: 100%; }
.phone-showcase {
  padding: 44px 24px; background: var(--sn-surface); text-align: center;
}
.phone-showcase h2 {
  font-family: "DM Serif Text", Georgia, serif;
  font-weight: 400; font-size: 24px; margin-bottom: 4px; letter-spacing: -0.01em;
}
.phone-showcase .caption {
  color: var(--sn-ink); opacity: 0.6; font-size: 14px; margin-top: 20px;
}

.cta-row { display: flex; gap: 10px; justify-content: center; flex-wrap: wrap; }
.store-btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 13px 20px; background: var(--sn-ink); color: var(--sn-white);
  border-radius: 999px; font-weight: 500; font-size: 15px;
  box-shadow: var(--shadow-sm);
  font-family: "DM Sans", sans-serif;
}
.store-btn .icon { width: 20px; height: 20px; }
.rating-row {
  display: flex; gap: 20px; justify-content: center; margin-top: 22px;
  font-size: 13px; color: var(--sn-ink); opacity: 0.72;
}
.rating-row .stars { color: var(--star-gold); letter-spacing: 2px; }

.section { padding: 44px 24px; }
.section h2 {
  font-family: "DM Serif Text", Georgia, serif;
  font-size: 26px; font-weight: 400; letter-spacing: -0.01em; margin-bottom: 6px;
}
.section .kicker {
  font-size: 12px; color: var(--sn-ink); opacity: 0.55;
  text-transform: uppercase; letter-spacing: 0.06em; font-weight: 500; margin-bottom: 8px;
}
.section .lead { color: var(--sn-ink); opacity: 0.72; margin-bottom: 24px; font-size: 15px; }

.article-list { display: flex; flex-direction: column; gap: 12px; }
.article {
  display: flex; gap: 14px; padding: 16px; background: var(--sn-surface);
  border-radius: var(--radius);       /* rounded card = brand core motif */
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}
.article:hover { transform: translateY(-2px); box-shadow: var(--shadow-md); }
.article .thumb {
  width: 88px; height: 88px; border-radius: 12px; flex-shrink: 0;
  background: linear-gradient(135deg, var(--topic-primary, #888), var(--topic-secondary, #444));
  display: flex; align-items: center; justify-content: center;
  font-size: 30px; color: var(--sn-white);
}
.article .thumb.has-image {
  background-size: cover; background-position: center; background-repeat: no-repeat;
  background-color: var(--sn-surface);
  color: transparent;
}
.article .body { flex: 1; min-width: 0; }
.article .src {
  font-size: 11px; color: var(--sn-ink); opacity: 0.55;
  text-transform: uppercase; letter-spacing: 0.05em; font-weight: 500; margin-bottom: 4px;
}
.article .title { font-size: 15px; font-weight: 500; line-height: 1.35; margin-bottom: 6px; }
.article .meta { font-size: 12px; color: var(--sn-ink); opacity: 0.55; }

.value-grid { display: grid; grid-template-columns: 1fr; gap: 12px; }
.value-card {
  padding: 22px; background: var(--sn-surface); border-radius: var(--radius);
}
.value-card .icon { font-size: 26px; margin-bottom: 12px; }
.value-card h3 {
  font-size: 17px; font-weight: 500; margin-bottom: 6px;
  font-family: "DM Sans", sans-serif;
}
.value-card p { color: var(--sn-ink); opacity: 0.72; font-size: 14px; }

.publishers {
  display: flex; flex-wrap: wrap; gap: 10px 12px; padding: 22px;
  background: var(--sn-surface); border-radius: var(--radius);
  align-items: center; justify-content: center;
}
.publisher {
  padding: 8px 14px; background: var(--sn-white); border: 1px solid var(--sn-gray-light);
  border-radius: 999px;    /* round pill = brand moment */
  font-size: 13px; font-weight: 500; color: var(--sn-ink);
}

.faq-item { padding: 18px 0; border-bottom: 1px solid var(--sn-gray-light); }
.faq-item:last-child { border-bottom: none; }
.faq-q { font-weight: 500; font-size: 16px; margin-bottom: 6px; }
.faq-a { color: var(--sn-ink); opacity: 0.72; font-size: 14px; }

.cta-block {
  background: var(--topic-primary, var(--sn-ink)); color: var(--sn-white);
  padding: 44px 24px; text-align: center; border-radius: var(--radius-lg);
  margin: 24px;
}
.cta-block h2 {
  font-family: "DM Serif Text", Georgia, serif;
  font-weight: 400; color: var(--sn-white); font-size: 30px; margin-bottom: 12px;
  letter-spacing: -0.01em;
}
.cta-block p { color: rgba(255,255,255,0.85); margin-bottom: 22px; }
.cta-block .store-btn { background: var(--sn-white); color: var(--sn-ink); }

.footer {
  padding: 24px; text-align: center; font-size: 12px;
  color: var(--sn-ink); opacity: 0.55;
  border-top: 1px solid var(--sn-gray-light);
}
.footer a { text-decoration: underline; }

@media (min-width: 720px) {
  .hero h1 { font-size: 48px; }
  .section h2 { font-size: 30px; }
  .phone-frame { width: 300px; }
  .value-grid { grid-template-columns: repeat(3, 1fr); }
}
