:root {
  --cyan: #00cbd6;
  --cyan-light: #e0f9fb;
  --coral: #FF6F61;
  --navy: #1E293B;
  --navy-light: #334155;
  --gray: #64748B;
  --gray-light: #F1F5F9;
  --white: #ffffff;
  --card-shadow: 0 8px 40px rgba(30,41,59,0.10), 0 2px 8px rgba(30,41,59,0.06);
  --max-w: 512px;
  --radius: 20px;
  --radius-sm: 12px;
}

*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  background: #F8FAFC;
  color: var(--navy);
  font-family: 'Zen Kaku Gothic New', sans-serif;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

.shell {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 20px;
}

/* ── NAV ── */
nav {
  position: sticky;
  top: 0; left: 0; right: 0;
  z-index: 100;
  display: flex;
  justify-content: center;
}

.nav-inner {
  width: 100%;
  max-width: var(--max-w);
  padding: 16px 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: rgba(255,255,255,0.9);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(0,203,214,0.12);
}

.logo {
  font-size: 1.1rem;
  font-weight: 900;
  color: var(--cyan);
  letter-spacing: -0.02em;
  text-decoration: none;
}

.nav-cta {
  background: var(--coral);
  color: var(--white);
  border: none;
  border-radius: 100px;
  padding: 9px 18px;
  font-family: 'Zen Kaku Gothic New', sans-serif;
  font-size: 0.75rem;
  font-weight: 700;
  text-decoration: none;
  letter-spacing: 0.02em;
}

/* ── ARTICLE HEADER ── */
.article-header {
  padding: 40px 0 28px;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--cyan-light);
  color: var(--cyan);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  padding: 6px 14px;
  border-radius: 100px;
  margin-bottom: 18px;
}

.article-header h1 {
  font-size: 1.6rem;
  font-weight: 900;
  line-height: 1.4;
  letter-spacing: -0.02em;
  color: var(--navy);
  margin-bottom: 14px;
}

.article-lead {
  font-size: 0.9rem;
  color: var(--gray);
  line-height: 1.9;
}

.article-meta {
  font-size: 0.72rem;
  color: var(--gray);
  margin-top: 16px;
  font-family: 'DM Mono', monospace;
}

/* ── ARTICLE BODY ── */
.article-body {
  padding-bottom: 40px;
}

.article-body h2 {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--navy);
  letter-spacing: -0.01em;
  margin: 40px 0 14px;
}

.article-body p {
  font-size: 0.88rem;
  color: var(--navy-light);
  line-height: 1.95;
  margin-bottom: 16px;
}

.article-body ul, .article-body ol {
  margin: 0 0 16px;
  padding-left: 20px;
}

.article-body li {
  font-size: 0.86rem;
  color: var(--navy-light);
  line-height: 1.85;
  margin-bottom: 8px;
}

.callout {
  background: linear-gradient(135deg, rgba(0,203,214,0.08), rgba(0,203,214,0.02));
  border: 1.5px solid rgba(0,203,214,0.25);
  border-radius: var(--radius-sm);
  padding: 20px;
  margin: 24px 0;
}

.callout strong {
  display: block;
  font-size: 0.85rem;
  color: var(--cyan);
  margin-bottom: 6px;
}

.callout p {
  font-size: 0.82rem;
  color: var(--navy-light);
  margin-bottom: 0;
}

.legal-badge {
  display: flex;
  align-items: center;
  gap: 10px;
  background: rgba(0,203,214,0.06);
  border: 1px solid rgba(0,203,214,0.15);
  border-radius: var(--radius-sm);
  padding: 14px 16px;
  margin: 24px 0;
}

.legal-badge p {
  font-size: 0.73rem;
  color: var(--gray);
  line-height: 1.6;
  margin: 0;
}

/* ── IN-ARTICLE CTA ── */
.inline-cta {
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--card-shadow);
  padding: 24px 20px;
  text-align: center;
  margin: 32px 0;
  border: 1.5px solid rgba(0,203,214,0.12);
}

.inline-cta p {
  font-size: 0.85rem;
  color: var(--navy);
  font-weight: 700;
  margin-bottom: 14px;
}

.cta-btn {
  display: inline-block;
  background: #06C755;
  color: var(--white);
  border-radius: var(--radius-sm);
  padding: 14px 28px;
  font-family: 'Zen Kaku Gothic New', sans-serif;
  font-size: 0.88rem;
  font-weight: 700;
  text-decoration: none;
  letter-spacing: 0.02em;
  box-shadow: 0 12px 40px rgba(6,199,85,0.35), 0 4px 16px rgba(0,0,0,0.12);
}

/* ── RELATED ARTICLES ── */
.related {
  padding: 8px 0 40px;
}

.related h2 {
  font-size: 1rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 16px;
}

.related-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.related-card {
  display: block;
  background: var(--white);
  border-radius: var(--radius-sm);
  padding: 18px 20px;
  box-shadow: 0 2px 8px rgba(30,41,59,0.05);
  text-decoration: none;
  border: 1px solid rgba(0,203,214,0.08);
}

/* カテゴリ名(オンライン内見/内見代行/注意点)は仮。分類方針は未確定 */
.related-card .tag {
  display: inline-block;
  background: var(--cyan-light);
  color: var(--cyan);
  font-size: 0.68rem;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 100px;
  margin-bottom: 8px;
}

.related-card h3 {
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--navy);
  line-height: 1.5;
}

.related-card p {
  font-size: 0.78rem;
  color: var(--gray);
  margin-top: 6px;
  line-height: 1.6;
}

/* ── FOOTER ── */
footer {
  background: var(--navy);
  padding: 40px 0 32px;
  text-align: center;
}

.footer-logo {
  font-size: 1.5rem;
  font-weight: 900;
  color: var(--cyan);
  margin-bottom: 4px;
}

.footer-tagline {
  font-size: 0.72rem;
  color: rgba(255,255,255,0.4);
  margin-bottom: 24px;
}

.footer-links {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-bottom: 24px;
  flex-wrap: wrap;
}

.footer-links a {
  color: rgba(255,255,255,0.4);
  text-decoration: none;
  font-size: 0.75rem;
}
.footer-links a:hover { color: var(--cyan); }

.footer-copy {
  font-size: 0.7rem;
  color: rgba(255,255,255,0.2);
}
