/*
Theme Name: SAKURA Health
Theme URI: https://sakura-health.jp
Author: SAKURA Health
Description: 産婦人科専門医監修の女性向け健康ポータルサイト
Version: 1.0.0
License: GNU General Public License v2 or later
Text Domain: sakura-health
*/

/* ── RESET & VARIABLES ── */
:root {
  --sakura-50:  #fff5f7;
  --sakura-100: #ffe4ea;
  --sakura-200: #ffc2d1;
  --sakura-300: #ff94ad;
  --sakura-400: #f9607f;
  --sakura-500: #e8385a;
  --sakura-600: #c4193c;
  --lavender:      #e8dff5;
  --lavender-mid:  #c9b8e8;
  --lavender-deep: #9b7fc7;
  --ink:       #1a1015;
  --ink-light: #4a3545;
  --petal:     #f7eef2;
  --cream:     #fdfaf8;
}

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

body {
  font-family: 'Zen Kaku Gothic New', sans-serif;
  color: var(--ink);
  overflow-x: hidden;
  background: linear-gradient(150deg, #fff0f4 0%, #fdfaf8 55%, #f4effe 100%);
  background-attachment: fixed;
}

img { max-width: 100%; height: auto; }
a { text-decoration: none; }

/* ── NAV ── */
nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 200;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 48px;
  height: 64px;
  background: rgba(253,250,248,0.88);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(249,96,127,0.12);
  transition: box-shadow 0.3s;
}
nav.scrolled { box-shadow: 0 4px 24px rgba(26,16,21,0.07); }

.nav-logo {
  display: flex;
  align-items: baseline;
  gap: 8px;
  text-decoration: none;
  flex-shrink: 0;
}
.nav-logo .jp {
  font-family: 'Shippori Mincho', serif;
  font-size: 11px;
  letter-spacing: 0.15em;
  color: var(--sakura-400);
  font-weight: 500;
}
.nav-logo .en {
  font-family: 'Cormorant Garamond', serif;
  font-size: 22px;
  font-weight: 400;
  letter-spacing: 0.1em;
  color: var(--ink);
}
.nav-logo .en span { color: var(--sakura-400); font-style: italic; }

.nav-links {
  display: flex;
  gap: 32px;
  list-style: none;
  align-items: center;
}
.nav-links a {
  text-decoration: none;
  font-size: 13px;
  letter-spacing: 0.05em;
  color: var(--ink-light);
  font-weight: 400;
  transition: color 0.2s;
  position: relative;
  white-space: nowrap;
}
.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -4px; left: 0;
  width: 0; height: 1px;
  background: var(--sakura-400);
  transition: width 0.3s;
}
.nav-links a:hover { color: var(--sakura-500); }
.nav-links a:hover::after { width: 100%; }

.nav-cta {
  background: var(--sakura-400);
  color: white !important;
  padding: 9px 22px;
  border-radius: 24px;
  font-size: 12px !important;
  letter-spacing: 0.08em;
  box-shadow: 0 3px 14px rgba(249,96,127,0.3);
  transition: background 0.2s, transform 0.2s, box-shadow 0.2s !important;
}
.nav-cta:hover {
  background: var(--sakura-500) !important;
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(249,96,127,0.4) !important;
}
.nav-cta::after { display: none !important; }

.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 36px; height: 36px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
  z-index: 300;
}
.nav-toggle span {
  display: block;
  width: 22px; height: 1.5px;
  background: var(--ink);
  border-radius: 2px;
  transition: transform 0.3s, opacity 0.3s;
  transform-origin: center;
}
.nav-toggle.open span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.nav-toggle.open span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

/* ── HERO ── */
.hero {
  position: relative;
  z-index: 1;
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: 100px 48px 60px;
  overflow: hidden;
  background:
    radial-gradient(ellipse 80% 60% at 15% 40%, rgba(255,140,185,0.65) 0%, transparent 60%),
    radial-gradient(ellipse 65% 70% at 88% 20%, rgba(195,170,240,0.7) 0%, transparent 60%),
    linear-gradient(160deg, #ffedf3 0%, #fdfaf8 50%, #ede4fb 100%);
}

.hero-inner {
  width: 100%;
  max-width: 680px;
  margin: 0 auto;
}

.hero-content { animation: fadeUp 1.2s cubic-bezier(0.22,1,0.36,1) both; }

@keyframes fadeUp {
  from { opacity: 0; transform: translateY(28px); }
  to   { opacity: 1; transform: translateY(0); }
}

.hero-eyebrow {
  font-family: 'Shippori Mincho', serif;
  font-size: 11px;
  letter-spacing: 0.3em;
  color: var(--sakura-400);
  margin-bottom: 20px;
  display: flex;
  align-items: center;
  gap: 12px;
}
.hero-eyebrow::before {
  content: '';
  display: block;
  width: 28px; height: 1px;
  background: var(--sakura-300);
}

.hero-title {
  font-family: 'Shippori Mincho', serif;
  font-size: clamp(34px, 4.2vw, 52px);
  font-weight: 600;
  line-height: 1.35;
  color: var(--ink);
  margin-bottom: 16px;
}
.hero-title .accent {
  color: var(--sakura-500);
  font-style: italic;
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.12em;
  font-weight: 300;
}

.hero-sub {
  font-family: 'Cormorant Garamond', serif;
  font-size: 18px;
  font-weight: 300;
  font-style: italic;
  color: var(--ink-light);
  margin-bottom: 24px;
  letter-spacing: 0.03em;
}

.hero-desc {
  font-size: 14px;
  line-height: 2;
  color: var(--ink-light);
  margin-bottom: 40px;
  letter-spacing: 0.025em;
}

.hero-actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  align-items: center;
}

.btn-primary {
  background: linear-gradient(135deg, var(--sakura-400), var(--sakura-500));
  color: white;
  padding: 15px 36px;
  border-radius: 32px;
  text-decoration: none;
  font-size: 13px;
  letter-spacing: 0.1em;
  font-weight: 500;
  transition: transform 0.25s cubic-bezier(0.22,1,0.36,1), box-shadow 0.25s;
  box-shadow: 0 4px 24px rgba(233,56,90,0.3);
  display: inline-block;
}
.btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 32px rgba(233,56,90,0.42);
  color: white;
}

.btn-ghost {
  color: var(--ink-light);
  text-decoration: none;
  font-size: 13px;
  letter-spacing: 0.05em;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 15px 0;
  transition: color 0.2s, gap 0.25s;
}
.btn-ghost:hover { color: var(--sakura-500); gap: 14px; }

.hero-stats {
  display: flex;
  gap: 40px;
  margin-top: 48px;
  padding-top: 32px;
  border-top: 1px solid rgba(249,96,127,0.14);
}
.stat-num {
  font-family: 'Cormorant Garamond', serif;
  font-size: 36px;
  font-weight: 300;
  color: var(--sakura-500);
  line-height: 1;
}
.stat-label {
  font-size: 11px;
  color: var(--ink-light);
  letter-spacing: 0.1em;
  margin-top: 6px;
}

/* ── TOPICS STRIP ── */
.topics-strip {
  position: relative;
  z-index: 1;
  background: var(--ink);
  padding: 15px 0;
  overflow: hidden;
}
.topics-scroll {
  display: flex;
  animation: scrollLeft 28s linear infinite;
  white-space: nowrap;
}
.topics-strip:hover .topics-scroll { animation-play-state: paused; }
@keyframes scrollLeft {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}
.topic-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 0 28px;
  font-size: 11px;
  letter-spacing: 0.15em;
  color: rgba(255,255,255,0.55);
  border-right: 1px solid rgba(255,255,255,0.07);
  transition: color 0.2s;
  cursor: default;
}
.topic-tag:hover { color: rgba(255,255,255,0.85); }
.topic-tag .dot {
  width: 4px; height: 4px;
  border-radius: 50%;
  background: var(--sakura-300);
  flex-shrink: 0;
}

/* ── SECTION COMMON ── */
section { position: relative; z-index: 1; }

.section-label {
  font-family: 'Shippori Mincho', serif;
  font-size: 10px;
  letter-spacing: 0.35em;
  color: var(--sakura-400);
  text-transform: uppercase;
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 12px;
}
.section-label::after {
  content: '';
  display: block;
  width: 28px; height: 1px;
  background: var(--sakura-200);
}

.section-title {
  font-family: 'Shippori Mincho', serif;
  font-size: clamp(22px, 2.8vw, 34px);
  font-weight: 600;
  line-height: 1.4;
  color: var(--ink);
}

/* ── FEATURED ARTICLES ── */
.featured {
  padding: 88px 48px;
  background: var(--petal);
}
.featured-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-bottom: 48px;
}

.view-all {
  font-size: 12px;
  color: var(--sakura-400);
  text-decoration: none;
  letter-spacing: 0.08em;
  display: flex;
  align-items: center;
  gap: 6px;
  transition: gap 0.25s, color 0.2s;
  white-space: nowrap;
}
.view-all:hover { gap: 12px; color: var(--sakura-500); }

.articles-grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr;
  grid-template-rows: auto auto;
  gap: 20px;
}

.article-card {
  background: white;
  border-radius: 20px;
  overflow: hidden;
  cursor: pointer;
  transition: transform 0.35s cubic-bezier(0.22,1,0.36,1), box-shadow 0.35s;
  box-shadow: 0 2px 16px rgba(26,16,21,0.06);
}
.article-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 52px rgba(26,16,21,0.13);
}
.article-card.featured-main { grid-row: 1 / 3; }
.article-card a { color: inherit; text-decoration: none; }

.card-body { padding: 22px; }

.card-category {
  font-size: 10px;
  letter-spacing: 0.2em;
  color: var(--sakura-400);
  font-weight: 500;
  margin-bottom: 8px;
  text-transform: uppercase;
}
.card-title {
  font-family: 'Shippori Mincho', serif;
  font-size: 14px;
  font-weight: 600;
  line-height: 1.6;
  color: var(--ink);
  margin-bottom: 10px;
}
.featured-main .card-title { font-size: 19px; }

.card-excerpt {
  font-size: 12px;
  line-height: 1.85;
  color: var(--ink-light);
  margin-bottom: 10px;
}
.card-meta {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 16px;
  padding-top: 14px;
  border-top: 1px solid rgba(26,16,21,0.06);
}
.card-meta-badge {
  background: var(--sakura-50);
  color: var(--sakura-500);
  padding: 4px 10px;
  border-radius: 20px;
  font-size: 10px;
  letter-spacing: 0.04em;
  border: 1px solid rgba(249,96,127,0.14);
}
.card-date { font-size: 10px; color: #c0b8bc; margin-left: auto; }

/* ── CATEGORIES ── */
.categories {
  padding: 88px 48px;
  background: var(--cream);
}
.cat-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 16px;
  margin-top: 40px;
}
.cat-card {
  background: white;
  border-radius: 20px;
  padding: 28px 16px 24px;
  text-align: center;
  cursor: pointer;
  transition: all 0.35s cubic-bezier(0.22,1,0.36,1);
  border: 1.5px solid transparent;
  box-shadow: 0 2px 12px rgba(26,16,21,0.05);
  text-decoration: none;
  display: block;
  color: inherit;
}
.cat-card:hover {
  border-color: var(--sakura-200);
  transform: translateY(-5px);
  box-shadow: 0 12px 36px rgba(233,56,90,0.12);
  background: var(--sakura-50);
}
.cat-icon {
  width: 52px; height: 52px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 14px;
}
.cat-icon svg { width: 100%; height: 100%; }
.cat-name {
  font-family: 'Shippori Mincho', serif;
  font-size: 13px;
  font-weight: 600;
  color: var(--ink);
  margin-bottom: 4px;
}
.cat-count { display: none; }

/* ── AI BANNER ── */
.ai-banner-wrap {
  position: relative;
  z-index: 1;
  padding: 0 48px 88px;
}
.ai-banner {
  border-radius: 28px;
  background: linear-gradient(135deg, #1a1015 0%, #2a1828 50%, #1a1015 100%);
  padding: 60px 64px;
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 48px;
}
.ai-banner::before {
  content: '';
  position: absolute;
  top: -25%; right: -5%;
  width: 480px; height: 480px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(233,56,90,0.18), transparent 65%);
  pointer-events: none;
}
.ai-banner::after {
  content: '';
  position: absolute;
  bottom: -40%; left: 8%;
  width: 320px; height: 320px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(155,127,199,0.14), transparent 65%);
  pointer-events: none;
}
.ai-banner-content { flex: 1; position: relative; z-index: 1; }
.ai-tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(249,96,127,0.14);
  border: 1px solid rgba(249,96,127,0.24);
  color: var(--sakura-200);
  padding: 5px 14px;
  border-radius: 20px;
  font-size: 10px;
  letter-spacing: 0.15em;
  margin-bottom: 20px;
}
.ai-banner h2 {
  font-family: 'Shippori Mincho', serif;
  font-size: clamp(20px, 2.4vw, 28px);
  font-weight: 600;
  color: white;
  line-height: 1.55;
  margin-bottom: 14px;
}
.ai-banner p {
  font-size: 13px;
  line-height: 1.95;
  color: rgba(255,255,255,0.5);
  max-width: 400px;
}
.ai-banner-cta { position: relative; z-index: 1; flex-shrink: 0; }
.btn-light {
  background: white;
  color: var(--ink);
  padding: 15px 36px;
  border-radius: 32px;
  text-decoration: none;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.08em;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: transform 0.25s cubic-bezier(0.22,1,0.36,1), box-shadow 0.25s;
  box-shadow: 0 4px 24px rgba(0,0,0,0.25);
  white-space: nowrap;
}
.btn-light:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 36px rgba(0,0,0,0.35);
  color: var(--ink);
}

/* ── LATEST ARTICLES ── */
.latest {
  padding: 88px 48px;
  background: var(--petal);
}
.latest-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-bottom: 40px;
}
.list-articles {
  display: flex;
  flex-direction: column;
  gap: 1px;
  background: rgba(26,16,21,0.06);
  border-radius: 20px;
  overflow: hidden;
}
.list-item {
  background: white;
  padding: 24px 32px;
  display: flex;
  align-items: center;
  gap: 24px;
  cursor: pointer;
  transition: background 0.2s;
  text-decoration: none;
  color: inherit;
}
.list-item:hover { background: var(--sakura-50); }
.list-num {
  font-family: 'Cormorant Garamond', serif;
  font-size: 30px;
  font-weight: 300;
  color: var(--sakura-200);
  width: 44px;
  flex-shrink: 0;
  line-height: 1;
}
.list-content { flex: 1; }
.list-cat {
  font-size: 10px;
  letter-spacing: 0.18em;
  color: var(--sakura-400);
  margin-bottom: 6px;
  text-transform: uppercase;
}
.list-title {
  font-family: 'Shippori Mincho', serif;
  font-size: 14px;
  font-weight: 600;
  color: var(--ink);
  line-height: 1.6;
}

/* ── DOCTOR ── */
.doctor {
  padding: 88px 48px;
  background: var(--cream);
}
.doctor-inner {
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1.3fr;
  gap: 80px;
  align-items: center;
}
.doctor-img-wrap {
  position: relative;
  display: flex;
  justify-content: center;
}
.doctor-avatar-circle {
  width: 300px; height: 300px;
  border-radius: 50%;
  overflow: hidden;
  border: 5px solid white;
  box-shadow: 0 16px 56px rgba(26,16,21,0.12), 0 0 0 10px rgba(249,96,127,0.07);
  flex-shrink: 0;
}

.doctor-badge {
  position: absolute;
  bottom: 10px;
  right: calc(50% - 210px);
  background: var(--sakura-400);
  color: white;
  padding: 13px 17px;
  border-radius: 14px;
  font-size: 11px;
  letter-spacing: 0.08em;
  line-height: 1.7;
  box-shadow: 0 8px 28px rgba(233,56,90,0.35);
  text-align: center;
  font-family: 'Shippori Mincho', serif;
}
.doctor-x-badge {
  position: absolute;
  top: 0; right: calc(50% - 210px);
  background: #0a0a0a;
  color: white;
  padding: 8px 14px;
  border-radius: 24px;
  font-size: 11px;
  letter-spacing: 0.04em;
  display: flex;
  align-items: center;
  gap: 6px;
  text-decoration: none;
  box-shadow: 0 4px 16px rgba(0,0,0,0.25);
  transition: transform 0.2s, box-shadow 0.2s;
  white-space: nowrap;
}
.doctor-x-badge:hover { transform: translateY(-2px); box-shadow: 0 8px 24px rgba(0,0,0,0.35); }

.doctor-name {
  font-family: 'Shippori Mincho', serif;
  font-size: 30px;
  font-weight: 600;
  color: var(--ink);
  margin-bottom: 4px;
  margin-top: 16px;
}
.doctor-title {
  font-size: 13px;
  color: var(--sakura-400);
  letter-spacing: 0.1em;
  margin-bottom: 28px;
}
.doctor-bio {
  font-size: 14px;
  line-height: 2.05;
  color: var(--ink-light);
  margin-bottom: 32px;
}
.credentials { display: flex; flex-direction: column; gap: 12px; }
.cred-item {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 13px;
  color: var(--ink-light);
  letter-spacing: 0.02em;
}
.cred-dot {
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--sakura-300);
  flex-shrink: 0;
}

/* ── NEWSLETTER ── */
.newsletter {
  padding: 88px 48px;
  background: linear-gradient(160deg, var(--lavender) 0%, var(--sakura-100) 100%);
  text-align: center;
  position: relative;
  overflow: hidden;
}
.newsletter::before {
  content: '';
  position: absolute;
  top: -50%; left: 50%;
  transform: translateX(-50%);
  width: 600px; height: 600px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255,255,255,0.28), transparent 70%);
  pointer-events: none;
}
.newsletter h2 {
  font-family: 'Shippori Mincho', serif;
  font-size: clamp(22px, 2.8vw, 34px);
  font-weight: 600;
  color: var(--ink);
  margin-bottom: 14px;
  position: relative;
}
.newsletter p {
  font-size: 14px;
  color: var(--ink-light);
  line-height: 1.95;
  margin-bottom: 36px;
  position: relative;
}
.nl-form {
  display: flex;
  gap: 12px;
  max-width: 460px;
  margin: 0 auto;
  position: relative;
}
.nl-input {
  flex: 1;
  padding: 15px 22px;
  border-radius: 32px;
  border: 1.5px solid rgba(249,96,127,0.18);
  background: white;
  font-size: 13px;
  font-family: inherit;
  outline: none;
  transition: border-color 0.2s, box-shadow 0.2s;
  box-shadow: 0 2px 12px rgba(249,96,127,0.07);
}
.nl-input:focus {
  border-color: var(--sakura-400);
  box-shadow: 0 4px 20px rgba(249,96,127,0.14);
}
.nl-input::placeholder { color: #c4bcc0; }
.nl-btn {
  background: linear-gradient(135deg, var(--sakura-400), var(--sakura-500));
  color: white;
  padding: 15px 28px;
  border-radius: 32px;
  border: none;
  font-size: 13px;
  font-weight: 500;
  font-family: inherit;
  cursor: pointer;
  letter-spacing: 0.08em;
  transition: transform 0.25s cubic-bezier(0.22,1,0.36,1), box-shadow 0.25s;
  box-shadow: 0 4px 20px rgba(233,56,90,0.3);
  white-space: nowrap;
}
.nl-btn:hover { transform: translateY(-2px); box-shadow: 0 8px 28px rgba(233,56,90,0.4); }

/* ── FOOTER ── */
.site-footer {
  background: var(--ink);
  color: rgba(255,255,255,0.5);
  padding: 56px 48px 40px;
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1fr;
  gap: 40px;
}
.footer-brand .en {
  font-family: 'Cormorant Garamond', serif;
  font-size: 22px;
  font-weight: 400;
  color: white;
  letter-spacing: 0.1em;
  margin-bottom: 4px;
}
.footer-brand .en span { color: var(--sakura-300); font-style: italic; }
.footer-brand .tagline {
  font-family: 'Shippori Mincho', serif;
  font-size: 10px;
  letter-spacing: 0.2em;
  color: rgba(255,255,255,0.3);
  margin-bottom: 16px;
}
.footer-brand p { font-size: 11px; line-height: 1.9; color: rgba(255,255,255,0.32); }
.footer-col h4 {
  font-family: 'Shippori Mincho', serif;
  font-size: 12px;
  letter-spacing: 0.1em;
  color: rgba(255,255,255,0.75);
  margin-bottom: 18px;
}
.footer-col ul { list-style: none; }
.footer-col li { margin-bottom: 10px; }
.footer-col a {
  text-decoration: none;
  font-size: 11px;
  color: rgba(255,255,255,0.38);
  letter-spacing: 0.05em;
  transition: color 0.2s;
}
.footer-col a:hover { color: var(--sakura-300); }
.footer-bottom {
  background: var(--ink);
  border-top: 1px solid rgba(255,255,255,0.06);
  padding: 20px 48px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.footer-bottom p { font-size: 10px; color: rgba(255,255,255,0.2); letter-spacing: 0.07em; }

/* ── ARTICLE PAGE ── */
.article-wrap {
  max-width: 1100px;
  margin: 0 auto;
  padding: 88px 40px 80px;
  display: grid;
  grid-template-columns: 1fr 260px;
  gap: 64px;
  align-items: start;
}

.article-header { margin-bottom: 40px; }

.article-cats {
  display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 20px;
}
.article-cat {
  font-size: 10px; letter-spacing: 0.2em;
  color: var(--sakura-400); font-weight: 500;
  text-transform: uppercase;
  background: var(--sakura-50);
  border: 1px solid rgba(249,96,127,0.2);
  padding: 4px 12px; border-radius: 20px;
}

.article-title {
  font-family: 'Shippori Mincho', serif;
  font-size: clamp(24px, 3.5vw, 38px);
  font-weight: 700;
  line-height: 1.45;
  color: var(--ink);
  margin-bottom: 20px;
  letter-spacing: 0.02em;
}
.article-title .title-sub {
  display: block;
  font-size: 0.62em;
  font-weight: 500;
  color: var(--ink-light);
  margin-top: 8px;
}

.article-meta {
  display: flex; align-items: center; gap: 16px;
  flex-wrap: wrap;
  padding: 16px 0;
  border-top: 1px solid rgba(249,96,127,0.12);
  border-bottom: 1px solid rgba(249,96,127,0.12);
  margin-bottom: 32px;
}
.meta-badge {
  display: inline-flex; align-items: center; gap: 6px;
  background: var(--sakura-400);
  color: white; padding: 5px 14px;
  border-radius: 20px; font-size: 11px;
  letter-spacing: 0.06em; font-weight: 500;
}
.meta-date { font-size: 11px; color: #b0a8ac; letter-spacing: 0.08em; }
.meta-read { font-size: 11px; color: #b0a8ac; letter-spacing: 0.05em; }
.meta-dot { width: 3px; height: 3px; border-radius: 50%; background: #d0c8cc; }

.article-body { font-size: 15px; line-height: 1.9; color: var(--ink); }
.article-body h2 {
  font-family: 'Shippori Mincho', serif;
  font-size: clamp(18px, 2vw, 22px);
  font-weight: 700;
  color: var(--ink);
  margin: 56px 0 20px;
  padding-bottom: 12px;
  border-bottom: 2px solid var(--sakura-100);
  line-height: 1.4;
}
.article-body h3 {
  font-family: 'Shippori Mincho', serif;
  font-size: 16px;
  font-weight: 700;
  color: var(--ink);
  margin: 32px 0 14px;
  padding-left: 14px;
  border-left: 3px solid var(--sakura-300);
}
.article-body p { margin-bottom: 1.5em; }
.article-body strong { font-weight: 600; color: var(--ink); }
.article-body ul, .article-body ol {
  padding-left: 1.5em; margin-bottom: 1.5em;
}
.article-body li { margin-bottom: 0.5em; }

.article-table {
  width: 100%; border-collapse: collapse;
  margin: 28px 0; font-size: 13px;
}
.article-table th {
  background: var(--sakura-50);
  color: var(--ink);
  font-weight: 600;
  padding: 12px 16px;
  text-align: left;
  border-bottom: 2px solid var(--sakura-200);
  font-family: 'Shippori Mincho', serif;
  font-size: 12px;
  letter-spacing: 0.05em;
}
.article-table td {
  padding: 12px 16px;
  border-bottom: 1px solid rgba(249,96,127,0.1);
  vertical-align: top;
  line-height: 1.7;
}
.article-table tr:last-child td { border-bottom: none; }
.article-table tr:nth-child(even) td { background: rgba(249,96,127,0.03); }

.checklist {
  background: var(--sakura-50);
  border: 1px solid rgba(249,96,127,0.15);
  border-radius: 16px;
  padding: 28px 32px;
  margin: 28px 0;
}
.checklist-title {
  font-family: 'Shippori Mincho', serif;
  font-size: 15px; font-weight: 700;
  color: var(--ink); margin-bottom: 18px;
  display: flex; align-items: center; gap: 8px;
}
.checklist ul { list-style: none; padding: 0; }
.checklist li {
  display: flex; align-items: flex-start; gap: 10px;
  padding: 9px 0; border-bottom: 1px solid rgba(249,96,127,0.1);
  font-size: 14px; line-height: 1.65; color: var(--ink-light);
}
.checklist li:last-child { border-bottom: none; }
.checklist li::before {
  content: '☐';
  color: var(--sakura-400); font-size: 16px; flex-shrink: 0; margin-top: 1px;
}

.highlight-box {
  background: linear-gradient(135deg, rgba(249,96,127,0.06), rgba(200,180,240,0.08));
  border-left: 3px solid var(--sakura-400);
  border-radius: 0 12px 12px 0;
  padding: 20px 24px;
  margin: 24px 0;
  font-size: 14px;
  line-height: 1.85;
  color: var(--ink-light);
}

.disclaimer {
  background: var(--petal);
  border-radius: 12px;
  padding: 20px 24px;
  font-size: 12px;
  color: #a09098;
  line-height: 1.85;
  margin-top: 56px;
}

/* Sidebar */
.article-sidebar { position: sticky; top: 88px; }
.toc {
  background: white;
  border-radius: 16px;
  padding: 24px;
  box-shadow: 0 2px 16px rgba(26,16,21,0.06);
  margin-bottom: 24px;
}
.toc-title {
  font-family: 'Shippori Mincho', serif;
  font-size: 12px; font-weight: 700;
  letter-spacing: 0.1em; color: var(--ink);
  margin-bottom: 16px; padding-bottom: 12px;
  border-bottom: 1px solid rgba(249,96,127,0.12);
}
.toc ol { padding-left: 1.2em; margin: 0; }
.toc li { margin-bottom: 10px; line-height: 1.55; }
.toc a {
  font-size: 12px; color: var(--ink-light);
  text-decoration: none; letter-spacing: 0.02em;
  transition: color 0.2s;
}
.toc a:hover { color: var(--sakura-500); }

.sidebar-supervisor {
  background: white;
  border-radius: 16px;
  padding: 20px;
  box-shadow: 0 2px 16px rgba(26,16,21,0.06);
  text-align: center;
}
.s-avatar {
  width: 72px; height: 72px;
  border-radius: 50%; overflow: hidden;
  margin: 0 auto 12px;
  border: 3px solid white;
  box-shadow: 0 4px 16px rgba(26,16,21,0.1);
}
.s-badge {
  display: inline-block;
  background: var(--sakura-400);
  color: white; font-size: 9px;
  letter-spacing: 0.1em; padding: 3px 10px;
  border-radius: 10px; margin-bottom: 8px;
}
.s-name {
  font-family: 'Shippori Mincho', serif;
  font-size: 14px; font-weight: 700;
  color: var(--ink); margin-bottom: 2px;
}
.s-title { font-size: 11px; color: var(--ink-light); }

/* ── ARTICLE SPECIAL BLOCKS ── */
.summary-box {
  background: white;
  border-radius: 16px;
  border-left: 4px solid var(--sakura-400);
  padding: 24px 28px;
  margin-bottom: 40px;
  box-shadow: 0 2px 16px rgba(26,16,21,0.06);
}
.summary-box h3 {
  font-family: 'Shippori Mincho', serif;
  font-size: 13px; font-weight: 600;
  color: var(--sakura-500); letter-spacing: 0.1em;
  margin-bottom: 14px;
}
.summary-box ul { padding-left: 0; list-style: none; display: flex; flex-direction: column; gap: 10px; }
.summary-box li {
  font-size: 13px; color: var(--ink-light); line-height: 1.75;
  padding-left: 18px; position: relative;
}
.summary-box li::before {
  content: ''; position: absolute; left: 0; top: 9px;
  width: 5px; height: 5px; border-radius: 50%; background: var(--sakura-300);
}

.highlight {
  background: var(--petal);
  border-radius: 14px;
  padding: 22px 26px;
  margin: 24px 0;
  border: 1px solid rgba(249,96,127,0.1);
}
.highlight p { margin-bottom: 0; color: var(--ink); font-size: 14px; line-height: 1.9; }
.highlight strong { color: var(--sakura-500); }

.info-box {
  background: var(--lavender);
  border-radius: 14px;
  padding: 22px 26px;
  margin: 24px 0;
}
.info-box h4 {
  font-family: 'Shippori Mincho', serif;
  font-size: 14px; font-weight: 600;
  color: var(--lavender-deep); margin-bottom: 12px; letter-spacing: 0.05em;
}
.info-box p { font-size: 13px; color: var(--ink-light); margin-bottom: 8px; line-height: 1.85; }
.info-box p:last-child { margin-bottom: 0; }

.pull-quote {
  margin: 32px 0; padding: 24px 32px;
  text-align: center; position: relative;
}
.pull-quote::before, .pull-quote::after {
  content: ''; display: block; height: 1px;
  background: linear-gradient(to right, transparent, var(--sakura-200), transparent);
  margin: 0 auto; width: 80%;
}
.pull-quote p {
  font-family: 'Shippori Mincho', serif;
  font-size: 19px; font-weight: 600;
  color: var(--sakura-500); line-height: 1.7;
  margin: 16px 0; letter-spacing: 0.03em;
}

.warning-box {
  background: #fff8f0;
  border: 1px solid #f8c090;
  border-radius: 14px;
  padding: 20px 24px;
  margin: 24px 0;
  font-size: 13px; color: #7a5020; line-height: 1.85;
}
.warning-box strong { color: #c06020; }

.references {
  margin-top: 56px; padding-top: 32px;
  border-top: 1px solid rgba(249,96,127,0.15);
}
.references h3 {
  font-family: 'Shippori Mincho', serif;
  font-size: 14px; font-weight: 600;
  color: var(--ink-light); margin-bottom: 16px; letter-spacing: 0.1em;
}
.references ol { padding-left: 20px; display: flex; flex-direction: column; gap: 8px; }
.references li { font-size: 11px; color: #a0989c; line-height: 1.7; }

.sidebar { position: sticky; top: 80px; }

.toc h4 {
  font-family: 'Shippori Mincho', serif;
  font-size: 12px; font-weight: 600;
  letter-spacing: 0.15em; color: var(--sakura-400);
  text-transform: uppercase; margin-bottom: 16px;
  padding-bottom: 10px; border-bottom: 1px solid var(--sakura-100);
}
.toc ol { list-style: none; padding: 0; counter-reset: toc; }
.toc li {
  counter-increment: toc; margin-bottom: 10px;
  padding-left: 24px; position: relative;
}
.toc li::before {
  content: counter(toc);
  position: absolute; left: 0;
  font-family: 'Cormorant Garamond', serif;
  font-size: 14px; font-weight: 300;
  color: var(--sakura-300); line-height: 1.4;
}

.supervisor-card {
  background: white; border-radius: 16px;
  padding: 20px;
  box-shadow: 0 2px 16px rgba(26,16,21,0.06);
  text-align: center;
}
.supervisor-avatar {
  width: 72px; height: 72px; border-radius: 50%; overflow: hidden;
  margin: 0 auto 12px;
  border: 3px solid white;
  box-shadow: 0 4px 16px rgba(26,16,21,0.1), 0 0 0 4px rgba(249,96,127,0.07);
}
.supervisor-card .s-name {
  font-family: 'Shippori Mincho', serif;
  font-size: 14px; font-weight: 600; color: var(--ink); margin-bottom: 4px;
}
.supervisor-card .s-title { font-size: 10px; color: var(--sakura-400); letter-spacing: 0.1em; margin-bottom: 12px; }
.supervisor-card .s-badge {
  display: inline-block;
  background: var(--sakura-50); border: 1px solid rgba(249,96,127,0.2);
  color: var(--sakura-500); font-size: 10px; padding: 4px 12px;
  border-radius: 20px; letter-spacing: 0.05em;
}

/* nav-back for article page */
.nav-back {
  font-size: 12px; color: var(--ink-light); text-decoration: none;
  letter-spacing: 0.05em; display: flex; align-items: center; gap: 6px;
  transition: color 0.2s;
}
.nav-back:hover { color: var(--sakura-500); }

/* ══════════════════════════════════════
   TABLET  ≤1024px
══════════════════════════════════════ */
@media (max-width: 1024px) {
  nav { padding: 0 28px; }
  .hero { padding: 96px 28px 56px; }
  .featured, .categories, .latest, .doctor, .newsletter { padding-left: 28px; padding-right: 28px; }
  .ai-banner-wrap { padding-left: 28px; padding-right: 28px; }
  .ai-banner { padding: 48px 44px; }
  .site-footer { padding: 48px 28px 36px; grid-template-columns: 1fr 1fr; gap: 32px; }
  .footer-bottom { padding: 18px 28px; }
  .articles-grid { grid-template-columns: 1fr 1fr; }
  .article-card.featured-main { grid-column: 1 / 3; grid-row: 1; }
  .doctor-inner { gap: 48px; }
  .doctor-avatar-circle { width: 260px; height: 260px; }
  .doctor-badge { right: calc(50% - 184px); }
  .doctor-x-badge { right: calc(50% - 184px); }
  .article-wrap { padding: 80px 28px 60px; gap: 40px; }
}

/* ══════════════════════════════════════
   MOBILE  ≤768px
══════════════════════════════════════ */
@media (max-width: 768px) {
  nav { padding: 0 20px; }
  .nav-toggle { display: flex; }
  .nav-links {
    position: fixed;
    top: 64px; left: 0; right: 0;
    background: rgba(253,250,248,0.97);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    flex-direction: column;
    padding: 8px 20px 24px;
    gap: 0;
    transform: translateY(-110%);
    opacity: 0;
    visibility: hidden;
    transition: transform 0.38s cubic-bezier(0.22,1,0.36,1), opacity 0.3s ease, visibility 0.38s;
    border-bottom: 1px solid rgba(249,96,127,0.1);
    box-shadow: 0 8px 32px rgba(26,16,21,0.1);
    z-index: 150;
    align-items: stretch;
  }
  .nav-links.open { transform: translateY(0); opacity: 1; visibility: visible; }
  .nav-links li { border-bottom: 1px solid rgba(249,96,127,0.07); }
  .nav-links li:last-child { border-bottom: none; padding-top: 12px; }
  .nav-links a { display: block; padding: 14px 4px; font-size: 14px; }
  .nav-links a::after { display: none; }
  .nav-cta { display: block !important; text-align: center !important; padding: 13px 24px !important; font-size: 13px !important; }

  .hero { padding: 84px 20px 48px; min-height: auto; }
  .hero-title { font-size: clamp(28px, 7vw, 36px); }
  .hero-sub { font-size: 15px; }
  .hero-desc { font-size: 13.5px; line-height: 1.95; }
  .hero-stats { gap: 28px; margin-top: 36px; padding-top: 28px; }
  .stat-num { font-size: 30px; }

  .featured { padding: 56px 20px; }
  .featured-header { flex-direction: column; align-items: flex-start; gap: 8px; margin-bottom: 28px; }
  .articles-grid { grid-template-columns: 1fr; }
  .article-card.featured-main { grid-column: 1; grid-row: 1; }

  .categories { padding: 56px 20px; }
  .cat-grid { grid-template-columns: repeat(2, 1fr); gap: 12px; }
  .cat-card { padding: 20px 12px 18px; }

  .ai-banner-wrap { padding: 0 20px 56px; }
  .ai-banner { flex-direction: column; align-items: flex-start; padding: 36px 28px; gap: 28px; border-radius: 20px; }
  .ai-banner p { max-width: none; }
  .btn-light { width: 100%; justify-content: center; }

  .latest { padding: 56px 20px; }
  .latest-header { flex-direction: column; align-items: flex-start; gap: 8px; margin-bottom: 28px; }
  .list-item { padding: 20px; gap: 16px; }
  .list-num { font-size: 24px; width: 32px; }
  .list-title { font-size: 13px; }

  .doctor { padding: 56px 20px; }
  .doctor-inner { grid-template-columns: 1fr; gap: 40px; text-align: center; }
  .doctor-img-wrap { justify-content: center; }
  .doctor-avatar-circle { width: 220px; height: 220px; }
  .doctor-badge { right: calc(50% - 150px); bottom: 4px; }
  .doctor-x-badge { right: calc(50% - 150px); top: 0; }
  .credentials { text-align: left; }

  .newsletter { padding: 56px 20px; }
  .nl-form { flex-direction: column; gap: 10px; }
  .nl-btn { width: 100%; justify-content: center; }

  .site-footer { padding: 44px 20px 32px; grid-template-columns: 1fr 1fr; gap: 28px; }
  .footer-brand { grid-column: 1 / 3; }
  .footer-bottom { padding: 16px 20px; flex-direction: column; gap: 6px; text-align: center; }

  .article-wrap { grid-template-columns: 1fr; padding: 80px 20px 48px; }
  .article-sidebar { display: none; }
}

@media (max-width: 480px) {
  .hero-title { font-size: 27px; }
  .hero-stats { flex-direction: column; gap: 16px; padding-top: 24px; }
  .stat-item { display: flex; align-items: baseline; gap: 10px; }
  .stat-label { margin-top: 0; }
  .cat-grid { grid-template-columns: repeat(2, 1fr); }
  .site-footer { grid-template-columns: 1fr; }
  .footer-brand { grid-column: 1; }
}
