/* ============================================
   journal.css
   style.css からの差分・journal.html 専用スタイル
   ============================================ */

/* NAV — active状態（style.cssにない追加ルール） */
nav a.active { color: var(--red); font-weight: 700; }

/* PAGE HERO — journal専用ページヒーロー */
.page-hero {
  position: relative; z-index: 1;
  padding: 52px 24px 32px;
  text-align: center;
  background: linear-gradient(180deg, var(--pink-light) 0%, var(--cream) 100%);
  max-width: 680px;
  margin: 0 auto;
}
.page-hero-label {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: 'DM Serif Display', serif; font-size: 11px; letter-spacing: 0.3em;
  color: var(--red-soft); text-transform: uppercase; margin-bottom: 18px;
}
.page-hero-label::before, .page-hero-label::after { content: ''; display: block; width: 18px; height: 1px; background: var(--pink-mid); }
.page-hero-title {
  font-family: 'Zen Maru Gothic', sans-serif;
  font-size: clamp(24px, 5vw, 36px);
  font-weight: 700;
  color: var(--text);
  margin-bottom: 12px;
  line-height: 1.4;
}
.page-hero-desc {
  font-size: 13px;
  color: var(--text-soft);
  line-height: 2;
  max-width: 340px;
  margin: 0 auto;
  letter-spacing: 0.04em;
}

/* SECTION — padding上書き（style.css: 52px 24px → journal: 32px 24px 52px） */
.section { padding: 32px 24px 52px; }

/* FILTER BAR */
.filter-bar {
  display: flex; flex-wrap: wrap; gap: 8px;
  margin-bottom: 32px;
}
.filter-tag {
  background: var(--white); color: var(--text-soft);
  font-family: 'Zen Maru Gothic', sans-serif; font-size: 11px;
  padding: 6px 16px; border-radius: 99px;
  border: 1.5px solid var(--pink); cursor: pointer;
  letter-spacing: 0.06em; transition: all 0.2s;
}
.filter-tag:hover { border-color: var(--red); color: var(--red); }
.filter-tag.active {
  background: var(--red); color: var(--white);
  border-color: var(--red);
}

/* ARTICLE GRID */
.article-grid {
  display: flex; flex-direction: column; gap: 18px;
}
.article-card {
  background: var(--white); border-radius: 20px; padding: 24px 22px;
  border: 2px solid var(--pink);
  transition: transform 0.22s, box-shadow 0.22s;
  cursor: pointer; position: relative; overflow: hidden;
  box-shadow: 0 2px 12px rgba(240,160,184,0.08);
  text-decoration: none; color: inherit; display: block;
}
.article-card:hover { transform: translateY(-4px); box-shadow: 0 8px 24px rgba(240,160,184,0.2); }
.article-card::before {
  content: ''; position: absolute; right: -24px; bottom: -24px;
  width: 80px; height: 80px; background: var(--pink-light);
  border-radius: 50%; opacity: 0.5;
}
.article-card-inner { display: flex; align-items: flex-start; gap: 16px; }
.article-emoji { font-size: 28px; flex-shrink: 0; margin-top: 2px; }
.article-body { flex: 1; }
.article-category {
  font-family: 'DM Serif Display', serif; font-size: 10px;
  letter-spacing: 0.2em; color: var(--pink-deep);
  text-transform: uppercase; margin-bottom: 6px;
}
.article-title {
  font-family: 'Zen Maru Gothic', sans-serif;
  font-size: 15px; font-weight: 700;
  line-height: 1.6; color: var(--text);
  margin-bottom: 8px;
}
.article-excerpt {
  font-size: 12px; color: var(--text-soft);
  line-height: 1.8; margin-bottom: 10px;
}
.article-meta {
  font-size: 10px; color: var(--text-soft); letter-spacing: 0.06em;
}

/* DOT ACCENT — 上書き（style.css: 12px → journal: 14px） */
.dot-accent { right: 14px; top: 14px; }

/* EMPTY STATE */
.empty-state {
  text-align: center; padding: 52px 24px;
  color: var(--text-soft); font-size: 14px; line-height: 2;
}
/* ARTICLE ICON IMAGE */
.article-icon {
  width: 40px;
  height: 40px;
  object-fit: contain; /* 縦横比を保ったままリサイズ */
  border-radius: 8px;  /* 角を少し丸くする（好みで消してOK）*/
}
