/* ===================================
   記事ページ共通スタイル
   =================================== */

/* ---- 記事ヘッダー ---- */
.article-hero {
  background: var(--bg-dark);
  color: #fff;
  padding: 5rem 2rem 4rem;
  position: relative;
  overflow: hidden;
}
.article-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle, rgba(255,255,255,.05) 1px, transparent 1px);
  background-size: 24px 24px;
  pointer-events: none;
}
.article-hero-inner {
  max-width: 760px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
}
.article-hero .back-link {
  display: inline-flex;
  align-items: center;
  gap: .4rem;
  color: #888;
  font-size: .78rem;
  text-decoration: none;
  letter-spacing: .1em;
  margin-bottom: 2rem;
  transition: color .2s;
}
.article-hero .back-link:hover { color: var(--accent-yellow); }

.article-number-badge {
  display: inline-block;
  font-family: var(--font-serif);
  font-size: 4rem;
  font-weight: 700;
  color: rgba(255,255,255,.08);
  line-height: 1;
  margin-bottom: .2rem;
}

.article-tag-row {
  display: flex;
  gap: .5rem;
  flex-wrap: wrap;
  margin-bottom: 1rem;
}
.article-tag {
  background: var(--accent-red);
  color: #fff;
  font-size: .7rem;
  font-weight: 700;
  letter-spacing: .14em;
  padding: .25rem .8rem;
  border-radius: 3px;
  text-transform: uppercase;
}
.article-tag.blue   { background: var(--accent-blue); }
.article-tag.green  { background: var(--accent-green); color: var(--text-dark); }
.article-tag.yellow { background: var(--accent-yellow); color: var(--text-dark); }

.article-hero h1 {
  font-family: var(--font-serif);
  font-size: clamp(1.5rem, 4vw, 2.4rem);
  font-weight: 700;
  line-height: 1.4;
  margin-bottom: 1rem;
}

.article-hero .article-subtitle {
  color: #aaa;
  font-size: .95rem;
  line-height: 1.8;
}

/* ---- 記事本文エリア ---- */
.article-wrap {
  max-width: 760px;
  margin: 0 auto;
  padding: 3.5rem 1.5rem 5rem;
}

.article-lead-box {
  background: #fff;
  border: 2px solid var(--accent-red);
  border-radius: 10px;
  padding: 1.4rem 1.8rem;
  margin-bottom: 2.5rem;
  font-family: var(--font-serif);
  font-size: 1.05rem;
  line-height: 1.9;
  color: var(--text-dark);
}
.article-lead-box strong { color: var(--accent-red); }

.article-section-title {
  font-family: var(--font-serif);
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--text-dark);
  border-left: 5px solid var(--accent-red);
  padding-left: .9rem;
  margin: 2.5rem 0 1rem;
  line-height: 1.5;
}

.article-text {
  font-size: .95rem;
  color: var(--text-mid);
  line-height: 2;
  margin-bottom: 1.3rem;
}
.article-text strong { color: var(--text-dark); font-weight: 700; }

.article-callout {
  background: var(--bg-cream);
  border-left: 5px solid var(--accent-yellow);
  border-radius: 0 8px 8px 0;
  padding: 1.1rem 1.4rem;
  margin: 1.8rem 0;
  font-size: .95rem;
  color: var(--text-mid);
  line-height: 1.9;
}
.article-callout strong { color: var(--text-dark); }

.article-question-box {
  background: linear-gradient(135deg, #1a1a2e, #16213e);
  color: #fff;
  border-radius: 10px;
  padding: 1.5rem 1.8rem;
  margin: 2.2rem 0;
}
.article-question-box .q-label {
  font-size: .7rem;
  font-weight: 700;
  letter-spacing: .2em;
  color: var(--accent-yellow);
  text-transform: uppercase;
  margin-bottom: .8rem;
  display: block;
}
.article-question-box ul {
  list-style: none;
}
.article-question-box ul li {
  padding: .4rem 0 .4rem 1.4rem;
  position: relative;
  font-size: .92rem;
  color: #ccc;
  border-bottom: 1px solid rgba(255,255,255,.07);
  line-height: 1.7;
}
.article-question-box ul li::before {
  content: '?';
  position: absolute;
  left: 0;
  color: var(--accent-yellow);
  font-weight: 700;
}

.article-redesign-box {
  border: 2px dashed var(--accent-green);
  border-radius: 10px;
  padding: 1.4rem 1.8rem;
  margin: 2rem 0;
}
.article-redesign-box .r-label {
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .18em;
  color: var(--accent-green);
  text-transform: uppercase;
  margin-bottom: .8rem;
  display: block;
}
.article-redesign-box ul {
  list-style: none;
}
.article-redesign-box ul li {
  padding: .35rem 0 .35rem 1.4rem;
  position: relative;
  font-size: .92rem;
  color: var(--text-mid);
  line-height: 1.8;
}
.article-redesign-box ul li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--accent-green);
  font-weight: 700;
}

.article-closing {
  border-top: 2px solid var(--border);
  padding-top: 1.8rem;
  margin-top: 2.5rem;
  font-family: var(--font-serif);
  font-size: 1rem;
  color: var(--text-dark);
  line-height: 1.9;
}

.article-credit {
  margin: 1.6rem 0 0;
  color: var(--text-light);
  font-size: .82rem;
  font-weight: 700;
  text-align: right;
}

/* ページナビ */
.article-nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  padding: 2rem 0;
  border-top: 2px solid var(--border);
  margin-top: 3rem;
}
.article-nav a {
  display: flex;
  align-items: center;
  gap: .4rem;
  text-decoration: none;
  font-size: .82rem;
  font-weight: 700;
  color: var(--accent-blue);
  transition: color .2s;
}
.article-nav a:hover { color: var(--accent-red); }
.article-nav .to-top {
  color: var(--text-light);
  font-size: .78rem;
  font-weight: 400;
}

@media (max-width: 600px) {
  .article-hero { padding: 3.5rem 1.2rem 3rem; }
  .article-nav { flex-direction: column; align-items: flex-start; }
}
