/*
 * article-page.css
 * Trendbook article page styles
 * Typography spec: heading Serif/300, body 14px/400/line-height:2.0
 * Used by: trendbook-article-*.html
 */

:root {
  --bg:         #FFFFFF;
  --bg-soft:    #F7F7F5;
  --text:       #1A1A1A;
  --text-muted: #6B6B6B;
  --accent:     #6B7C8A;
  --border:     #E0E0E0;
  --serif:      'Noto Serif JP', serif;
  --sans:       'Noto Sans JP', sans-serif;
}

*,*::before,*::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
img  { display: block; max-width: 100%; height: auto; }
a    { color: inherit; text-decoration: none; }

body {
  font-family: var(--sans);
  background:  var(--bg-soft);
  color:       var(--text);
  padding-top: 72px;
  line-height: 1.8;
  -webkit-font-smoothing: antialiased;
}

/* =====================================================
   HERO
   ===================================================== */
.hero {
  background: linear-gradient(150deg, var(--bg-soft) 0%, #eae8e1 100%);
  padding: 56px 80px 48px;
  text-align: center;
}

.hero-eyebrow {
  font-size: 10px;
  letter-spacing: 0.35em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 16px;
  font-weight: 400;
}

.hero-title {
  font-family: var(--serif);
  font-size: clamp(20px, 2.4vw, 30px);
  font-weight: 300;
  color: var(--text);
  line-height: 1.7;
  letter-spacing: 0.03em;
  max-width: 680px;
  margin: 0 auto 20px;
}

.hero-meta {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  font-size: 11px;
  color: var(--text-muted);
  letter-spacing: 0.08em;
  margin-bottom: 32px;
  flex-wrap: wrap;
}

.hero-image {
  width: 100%;
  max-width: 680px;
  height: 300px;
  object-fit: cover;
  margin: 0 auto;
  display: block;
}

/* =====================================================
   MAIN LAYOUT
   ===================================================== */
.main-layout {
  background: var(--bg);
  max-width: 720px;
  margin: 0 auto;
  padding: 64px 80px;
}

/* =====================================================
   ARTICLE HEADER
   ===================================================== */
.article-header {
  margin-bottom: 36px;
  padding-bottom: 24px;
  border-bottom: 1px solid var(--border);
}

.article-category {
  display: inline-block;
  font-size: 9px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--accent);
  border: 1px solid var(--accent);
  padding: 3px 10px;
  margin-bottom: 16px;
  font-weight: 400;
}

.article-title {
  font-family: var(--serif);
  font-size: 19px;
  font-weight: 300;
  color: var(--text);
  line-height: 1.7;
  letter-spacing: 0.03em;
  margin-bottom: 12px;
}

.article-meta {
  font-size: 11px;
  color: var(--text-muted);
  letter-spacing: 0.06em;
}

/* =====================================================
   ARTICLE BODY
   body: 14px / weight:400 / line-height:2.0
   heading: Serif / weight:300
   ===================================================== */
.article-body { margin-bottom: 48px; }

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

.article-section h2 {
  font-family: var(--serif);
  font-size: 17px;
  font-weight: 300;
  color: var(--text);
  line-height: 1.7;
  letter-spacing: 0.03em;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--border);
  margin-bottom: 20px;
}

.article-section p {
  font-size: 14px;
  font-weight: 400;
  color: var(--text);
  line-height: 2.0;
  margin-bottom: 16px;
}

.article-section ul {
  list-style: none;
  margin-bottom: 16px;
}

.article-section li {
  font-size: 14px;
  font-weight: 400;
  color: var(--text);
  line-height: 2.0;
  margin-bottom: 8px;
  padding-left: 18px;
  position: relative;
}

.article-section li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 14px;
  width: 6px;
  height: 1px;
  background: var(--accent);
}

.article-section strong { font-weight: 500; }

/* Inline image */
.article-image {
  width: 100%;
  height: 240px;
  object-fit: cover;
  margin: 28px 0;
  display: block;
}

/* Highlight box */
.highlight-box {
  background: var(--bg-soft);
  border-left: 2px solid var(--accent);
  padding: 20px 24px;
  margin: 24px 0;
}

.highlight-box p {
  font-size: 13px;
  font-weight: 400;
  color: var(--text);
  line-height: 1.9;
  margin-bottom: 12px;
}

.highlight-box p:last-child { margin-bottom: 0; }

/* Table */
.article-table {
  width: 100%;
  border-collapse: collapse;
  margin: 20px 0;
  font-size: 13px;
}

.article-table th,
.article-table td {
  border: 1px solid var(--border);
  padding: 12px 16px;
  text-align: left;
  line-height: 1.8;
  vertical-align: top;
}

.article-table th {
  background: var(--bg-soft);
  font-weight: 400;
  font-size: 11px;
  letter-spacing: 0.08em;
  color: var(--text-muted);
}

.article-table tr:nth-child(even) td { background: #FAFAF8; }

/* =====================================================
   REFERENCES
   ===================================================== */
.article-references {
  background: var(--bg-soft);
  padding: 24px 28px;
  margin-top: 40px;
}

.article-references h3 {
  font-family: var(--serif);
  font-size: 12px;
  font-weight: 300;
  color: var(--text-muted);
  letter-spacing: 0.2em;
  text-transform: uppercase;
  margin-bottom: 16px;
}

.article-references ul { list-style: none; }

.article-references li {
  font-size: 12px;
  color: var(--text-muted);
  line-height: 1.9;
  margin-bottom: 6px;
  padding-left: 0;
}

.article-references li::before { display: none; }

/* =====================================================
   ARTICLE FOOTER
   ===================================================== */
.article-footer {
  margin-top: 48px;
  padding-top: 32px;
  border-top: 1px solid var(--border);
}

.footer-nav {
  display: flex;
  gap: 12px;
  margin-bottom: 24px;
}

.footer-btn {
  flex: 1;
  padding: 14px;
  background: transparent;
  color: var(--text-muted);
  border: 1px solid var(--border);
  text-align: center;
  font-size: 11px;
  font-family: var(--sans);
  letter-spacing: 0.1em;
  cursor: pointer;
  transition: border-color 0.2s, color 0.2s;
}

.footer-btn:hover { border-color: var(--accent); color: var(--text); }

.article-cta {
  font-size: 12px;
  color: var(--text-muted);
  line-height: 1.9;
}

.article-cta a {
  color: var(--accent);
  border-bottom: 1px solid var(--border);
  transition: border-color 0.2s;
}

.article-cta a:hover { border-color: var(--accent); }

/* =====================================================
   RESPONSIVE
   ===================================================== */
@media (max-width: 1024px) {
  .hero        { padding: 48px 40px 40px; }
  .main-layout { padding: 48px 40px; }
}

@media (max-width: 768px) {
  .hero         { padding: 40px 24px 32px; }
  .hero-image   { height: 200px; }
  .main-layout  { padding: 36px 24px; }
  .footer-nav   { flex-direction: column; }
  .article-table { font-size: 12px; }
  .article-table th,
  .article-table td { padding: 8px 10px; }
}
