/*
Theme Name: Kouhei Otsuka Archive
Author: Political Organization Office
Description: 故・大塚耕平元参議院議員 メモリアルサイト専用テーマ（セピア＆マルチフォント＆スクロール演出仕様）
Version: 1.6
*/

:root {
  /* カラーパレット（セピア・クラシック調） */
  --primary: #3d2b1f;
  --primary-light: #5c4332;
  --accent: #8c663e;
  --kouan-green: #3b422e;
  --kouan-brown: #4f3524;
  --bg-color: #f6f2eb;
  --card-bg: #fdfbf7;
  --text-main: #2c221c;
  --text-muted: #6e5d50;
  --border-color: #e2d7c5;

  /* フォントファミリー定義（4種の役割分担） */
  --font-display: 'Shippori Mincho', "Hiragino Mincho ProN", "Yu Mincho", serif;
  --font-body: 'Noto Serif JP', "Hiragino Mincho ProN", "Yu Mincho", serif;
  --font-sans: 'Zen Kaku Gothic New', "Hiragino Kaku Gothic ProN", "Yu Gothic", sans-serif;
  --font-en: 'Cormorant Garamond', Georgia, serif;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: var(--font-body);
  background-color: var(--bg-color);
  color: var(--text-main);
  line-height: 1.85;
  font-feature-settings: "palt" 1;
  -webkit-font-smoothing: antialiased;
}

.sans-serif {
  font-family: var(--font-sans);
  letter-spacing: 0.03em;
}

.en-serif {
  font-family: var(--font-en);
  letter-spacing: 0.14em;
}

a {
  color: var(--primary);
  text-decoration: none;
  transition: opacity 0.2s;
}
a:hover {
  opacity: 0.8;
}

/* スニペットの旧追従バナーを強制非表示 */
#floating-banners-container {
  display: none !important;
}

/* ヘッダー・ナビゲーション */
header {
  background-color: var(--card-bg);
  border-bottom: 1px solid var(--border-color);
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: 0 2px 12px rgba(44, 34, 28, 0.05);
}
.header-inner {
  max-width: 1120px;
  margin: 0 auto;
  padding: 16px 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  position: relative;
}
.site-title {
  font-family: var(--font-display);
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--primary);
  letter-spacing: 0.1em;
}

/* ハンバーガーボタン（PCでは非表示） */
.menu-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  width: 40px;
  height: 40px;
  padding: 8px;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 6px;
  z-index: 110;
}
.menu-toggle .bar {
  display: block;
  width: 24px;
  height: 2px;
  background-color: var(--primary);
  transition: transform 0.3s ease, opacity 0.3s ease;
}
.menu-toggle.is-active .bar:nth-child(1) {
  transform: translateY(8px) rotate(45deg);
}
.menu-toggle.is-active .bar:nth-child(2) {
  opacity: 0;
}
.menu-toggle.is-active .bar:nth-child(3) {
  transform: translateY(-8px) rotate(-45deg);
}

nav ul {
  list-style: none;
  display: flex;
  gap: 26px;
  flex-wrap: wrap;
}
nav a {
  font-family: var(--font-sans);
  font-size: 0.92rem;
  font-weight: 500;
  color: var(--text-main);
  padding-bottom: 4px;
  border-bottom: 2px solid transparent;
  letter-spacing: 0.05em;
}
nav a:hover {
  border-bottom: 2px solid var(--accent);
  opacity: 1;
}

/* サブナビバー（プロフィール内アンカー等） */
.sub-nav-bar {
  background: #f0e9dd;
  border-bottom: 1px solid var(--border-color);
}
.sub-nav-inner {
  max-width: 1120px;
  margin: 0 auto;
  padding: 12px 24px;
  display: flex;
  gap: 28px;
}
.sub-nav-inner a {
  font-family: var(--font-sans);
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--primary);
}

/* =========================================================
   ヒーローエリア（セピア調オーバーレイ＆しっぽり明朝タイトル）
========================================================= */
.hero {
  background-color: #2b1f14;
  background-size: cover;
  background-position: center 55%;
  background-repeat: no-repeat;
  color: #ffffff;
  width: 100%;
  position: relative;
  overflow: hidden;
  display: block;
}

.hero--sub {
  aspect-ratio: 16 / 9;
  min-height: 340px;
  max-height: 440px;
  padding: 48px 24px 40px;
  display: flex;
  align-items: flex-end;
  justify-content: center;
}

.hero-video {
  width: 100%;
  height: auto;
  display: block;
  pointer-events: none;
  filter: sepia(30%) contrast(98%);
}
.hero-video--pc {
  display: block;
  aspect-ratio: 16 / 9;
}
.hero-video--sp {
  display: none;
  aspect-ratio: 9 / 16;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(
    to bottom,
    rgba(62, 43, 25, 0.25) 0%,
    rgba(52, 35, 19, 0.42) 60%,
    rgba(36, 23, 12, 0.84) 100%
  );
  pointer-events: none;
}

.hero-inner {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 42px;
  max-width: 1120px;
  width: 100%;
  margin: 0 auto;
  padding: 0 24px;
  text-align: center;
  z-index: 2;
  animation: heroFadeUp 1.2s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}
.hero--sub .hero-inner {
  position: relative;
  bottom: auto;
  padding: 0;
}

@keyframes heroFadeUp {
  0% {
    opacity: 0;
    transform: translateY(20px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

.hero-catch {
  font-family: var(--font-display);
  font-size: 1.08rem;
  font-weight: 500;
  letter-spacing: 0.16em;
  color: #f7f2eb;
  margin-bottom: 10px;
  text-shadow: 0 2px 8px rgba(24, 15, 7, 0.9);
}
.pc-dash {
  display: inline;
}
.sp-br {
  display: none;
}

.hero h1 {
  font-family: var(--font-display);
  font-size: 3.1rem;
  letter-spacing: 0.22em;
  font-weight: 600;
  color: #ffffff;
  text-shadow: 0 2px 12px rgba(24, 15, 7, 0.92);
}
.hero-en-name {
  display: block;
  font-family: var(--font-en);
  font-size: 1.05rem;
  font-style: italic;
  letter-spacing: 0.28em;
  color: #dccbb5;
  margin-top: 4px;
  text-shadow: 0 1px 6px rgba(24, 15, 7, 0.85);
}

/* ご挨拶・追悼ボックス */
.memorial-section {
  max-width: 1120px;
  margin: 40px auto 0;
  padding: 0 24px;
}
.memorial-box {
  background: var(--card-bg);
  border: 1px solid var(--border-color);
  border-top: 3px solid var(--accent);
  border-radius: 6px;
  padding: 32px 40px;
  font-size: 1rem;
  line-height: 2;
  color: var(--text-main);
  box-shadow: 0 6px 20px rgba(61, 43, 31, 0.05);
  position: relative;
}
.memorial-box p + p {
  margin-top: 14px;
}

/* メインコンテナ・セクション */
main {
  max-width: 1120px;
  margin: 0 auto;
  padding: 56px 24px 96px;
}
section {
  margin-bottom: 88px;
  scroll-margin-top: 84px;
}
.section-header {
  border-bottom: 1px solid var(--primary);
  padding-bottom: 14px;
  margin-bottom: 18px;
  position: relative;
}
.section-header::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -4px;
  width: 80px;
  height: 3px;
  background-color: var(--accent);
}
.section-en-sub {
  display: block;
  font-family: var(--font-en);
  font-size: 0.88rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  color: var(--accent);
  text-transform: uppercase;
  margin-bottom: 2px;
}
.section-title {
  font-family: var(--font-display);
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--primary);
  letter-spacing: 0.08em;
}
.section-desc {
  color: var(--text-muted);
  font-size: 0.95rem;
  margin-bottom: 28px;
}

/* 検索・フィルターバー・タブ */
.filter-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 24px;
  gap: 16px;
  flex-wrap: wrap;
}
.search-input {
  font-family: var(--font-sans);
  padding: 10px 16px;
  border: 1px solid var(--border-color);
  border-radius: 6px;
  width: 100%;
  max-width: 360px;
  font-size: 0.9rem;
  background: var(--card-bg);
  color: var(--text-main);
}
.search-input::placeholder {
  color: #9c8a79;
}
.tabs {
  display: flex;
  gap: 10px;
  margin-bottom: 28px;
  flex-wrap: wrap;
}
.tab-btn {
  font-family: var(--font-sans);
  padding: 10px 22px;
  border: 1px solid var(--border-color);
  background: var(--card-bg);
  color: var(--text-main);
  cursor: pointer;
  border-radius: 6px;
  font-size: 0.9rem;
  font-weight: 500;
  letter-spacing: 0.03em;
  transition: all 0.2s;
}
.tab-btn:hover {
  border-color: var(--accent);
}
.tab-btn.active {
  background: var(--primary);
  color: #fdfbf7;
  border-color: var(--primary);
}

/* カードグリッド */
.grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 26px;
}
.card {
  background: var(--card-bg);
  border: 1px solid var(--border-color);
  border-radius: 8px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 26px rgba(61, 43, 31, 0.10);
}
.card-thumb-wrap {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  background-color: #ebe3d5;
  overflow: hidden;
  border-bottom: 1px solid var(--border-color);
}
.card-thumb {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  filter: sepia(12%);
  transition: transform 0.35s ease, filter 0.35s ease;
}
.card:hover .card-thumb {
  transform: scale(1.04);
  filter: sepia(0%);
}
.thumb-badge {
  position: absolute;
  top: 12px;
  left: 12px;
  background: rgba(48, 33, 22, 0.88);
  color: #fdfbf7;
  padding: 4px 11px;
  border-radius: 4px;
  font-family: var(--font-sans);
  font-size: 0.74rem;
  font-weight: 500;
  letter-spacing: 0.05em;
}
.thumb-badge .vol-en {
  font-family: var(--font-en);
  font-size: 0.92rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  margin-left: 4px;
}
.card-body {
  padding: 22px 24px 18px;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
}
.card-meta {
  font-family: var(--font-en), var(--font-sans);
  font-size: 0.88rem;
  color: var(--accent);
  font-weight: 600;
  letter-spacing: 0.06em;
  margin-bottom: 6px;
}
.card-title {
  font-family: var(--font-display);
  font-size: 1.18rem;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 10px;
  line-height: 1.5;
  letter-spacing: 0.03em;
}
.card-excerpt {
  font-family: var(--font-body);
  font-size: 0.88rem;
  color: var(--text-muted);
  line-height: 1.8;
}
.card-footer {
  padding: 12px 24px 16px;
  border-top: 1px solid #ede5d8;
  display: flex;
  justify-content: flex-end;
  align-items: center;
  font-size: 0.85rem;
  background: #f8f4ec;
}
.btn-link {
  font-family: var(--font-sans);
  color: var(--primary);
  font-weight: 700;
  cursor: pointer;
  background: none;
  border: none;
  font-size: 0.84rem;
  letter-spacing: 0.04em;
  padding: 0;
}
.btn-link:hover {
  color: var(--accent);
  text-decoration: underline;
}

/* 著書カード */
.book-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(460px, 1fr));
  gap: 26px;
}
.book-card {
  background: var(--card-bg);
  border: 1px solid var(--border-color);
  border-radius: 8px;
  padding: 24px;
  display: flex;
  gap: 24px;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.book-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 22px rgba(61, 43, 31, 0.09);
}
.book-cover-wrap {
  flex-shrink: 0;
  width: 118px;
  aspect-ratio: 1 / 1.42;
  border-radius: 4px;
  overflow: hidden;
  box-shadow: 3px 4px 12px rgba(44, 34, 28, 0.18);
  background: #ebe3d5;
  border: 1px solid rgba(61, 43, 31, 0.1);
  align-self: flex-start;
}
.book-cover {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.book-info {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  flex-grow: 1;
}
.book-category {
  display: inline-block;
  font-family: var(--font-sans);
  font-size: 0.74rem;
  color: var(--accent);
  background: #f5efe4;
  border: 1px solid #dfd3be;
  padding: 2px 10px;
  border-radius: 3px;
  margin-bottom: 8px;
  font-weight: 700;
  letter-spacing: 0.04em;
}
.book-title {
  font-family: var(--font-display);
  font-size: 1.12rem;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 10px;
  line-height: 1.5;
}
.book-desc {
  font-family: var(--font-body);
  font-size: 0.86rem;
  color: var(--text-muted);
  line-height: 1.75;
  margin-bottom: 14px;
}
.book-footer {
  border-top: 1px solid #ede5d8;
  padding-top: 10px;
  text-align: right;
}

/* ボタン・もっと見る */
.more-wrap {
  text-align: center;
  margin-top: 36px;
}
.btn-outline {
  font-family: var(--font-sans);
  display: inline-block;
  padding: 12px 30px;
  border: 1px solid var(--primary);
  color: var(--primary);
  border-radius: 6px;
  font-size: 0.9rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  background: var(--card-bg);
  cursor: pointer;
  transition: all 0.2s;
}
.btn-outline:hover {
  background: var(--primary);
  color: #fdfbf7;
  opacity: 1;
}

/* モーダル */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(34, 24, 16, 0.74);
  display: none;
  justify-content: center;
  align-items: center;
  padding: 20px;
  z-index: 1000;
}
.modal-overlay.open {
  display: flex;
}
.modal-content {
  background: var(--card-bg);
  max-width: 780px;
  width: 100%;
  max-height: 86vh;
  border-radius: 8px;
  overflow-y: auto;
  padding: 38px 44px;
  position: relative;
  border: 1px solid var(--border-color);
  box-shadow: 0 12px 32px rgba(28, 19, 12, 0.35);
}
.modal-close {
  position: sticky;
  top: 0;
  float: right;
  background: #efe8dc;
  border: 1px solid var(--border-color);
  width: 36px;
  height: 36px;
  border-radius: 50%;
  font-size: 1.2rem;
  cursor: pointer;
  color: var(--primary);
}
.modal-close:hover {
  background: var(--primary);
  color: #fdfbf7;
}
.modal-thumb {
  width: 100%;
  max-height: 260px;
  object-fit: cover;
  border-radius: 6px;
  margin-bottom: 20px;
  border: 1px solid var(--border-color);
}
.modal-meta {
  font-family: var(--font-en), var(--font-sans);
  color: var(--accent);
  font-size: 0.92rem;
  font-weight: 600;
  margin-bottom: 6px;
}
.modal-title {
  font-family: var(--font-display);
  font-size: 1.55rem;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 24px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--border-color);
}
.modal-body p {
  font-family: var(--font-body);
  margin-bottom: 16px;
  font-size: 1rem;
  line-height: 2;
}
.modal-body h2, .modal-body h3, .modal-body h4 {
  font-family: var(--font-display);
  margin: 28px 0 12px;
  color: var(--primary);
  font-size: 1.18rem;
  font-weight: 700;
  border-left: 3px solid var(--accent);
  padding-left: 12px;
}

/* 特設ページ（動画・フォトギャラリー） */
.video-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(440px, 1fr));
  gap: 28px;
  margin-top: 20px;
}
.video-wrap {
  width: 100%;
  aspect-ratio: 16 / 9;
  background: #1e150e;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 4px 16px rgba(44, 34, 28, 0.14);
}
.video-wrap iframe {
  width: 100%;
  height: 100%;
  border: 0;
}
.photo-gallery {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 14px;
}
.photo-item {
  aspect-ratio: 4 / 3;
  border-radius: 6px;
  overflow: hidden;
  cursor: zoom-in;
  background: #ebe3d5;
  border: 1px solid var(--border-color);
}
.photo-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: sepia(10%);
  transition: transform 0.3s ease, filter 0.3s ease;
}
.photo-item:hover img {
  transform: scale(1.05);
  filter: sepia(0%);
}

/* プロフィール専用スタイル */
.profile-lead-box {
  background: var(--card-bg);
  border: 1px solid var(--border-color);
  border-left: 4px solid var(--primary);
  border-radius: 6px;
  padding: 26px 32px;
  margin-bottom: 28px;
  font-size: 0.98rem;
  line-height: 2;
}
.profile-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(440px, 1fr));
  gap: 24px;
}
.profile-card {
  background: var(--card-bg);
  border: 1px solid var(--border-color);
  border-radius: 8px;
  padding: 28px 32px;
}
.profile-card-title {
  font-family: var(--font-display);
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--primary);
  border-bottom: 1px solid var(--border-color);
  padding-bottom: 10px;
  margin-bottom: 18px;
  letter-spacing: 0.06em;
}
.profile-list {
  list-style: none;
}
.profile-list li {
  padding: 9px 0;
  border-bottom: 1px dashed #e6dccb;
  font-size: 0.94rem;
}
.profile-list li strong {
  font-family: var(--font-sans);
  color: var(--primary);
}
.profile-list li:last-child {
  border-bottom: none;
}
.timeline-list {
  display: grid;
  grid-template-columns: 82px 1fr;
  row-gap: 10px;
  column-gap: 14px;
  font-size: 0.93rem;
  align-items: baseline;
}
.timeline-list dt {
  font-family: var(--font-en), var(--font-sans);
  font-size: 1.05rem;
  color: var(--accent);
  font-weight: 700;
  letter-spacing: 0.04em;
}
.timeline-list dd {
  color: var(--text-main);
  padding-bottom: 8px;
  border-bottom: 1px dashed #e6dccb;
}
.profile-sub-block {
  margin-top: 24px;
  padding-top: 20px;
  border-top: 1px solid var(--border-color);
}
.profile-sub-block h4 {
  font-family: var(--font-display);
  font-size: 1.08rem;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 8px;
  border-left: 3px solid var(--accent);
  padding-left: 10px;
}
.profile-sub-block p {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.9;
}

/* 単一記事・汎用固定ページ */
.article-box {
  background: var(--card-bg);
  border: 1px solid var(--border-color);
  border-radius: 8px;
  padding: 40px 48px;
}
.article-box h1 {
  font-family: var(--font-display);
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 24px;
  padding-bottom: 14px;
  border-bottom: 2px solid var(--primary);
}
.article-content p {
  margin-bottom: 1.4em;
  line-height: 2;
}
.article-content h2, .article-content h3, .article-content h4 {
  font-family: var(--font-display);
  margin: 28px 0 12px;
  color: var(--primary);
  border-left: 3px solid var(--accent);
  padding-left: 12px;
}

/* フッター */
footer {
  background: #261b13;
  color: #dfd3c3;
  padding: 52px 24px;
  text-align: center;
  font-size: 0.9rem;
  border-top: 3px solid var(--accent);
}
.footer-inner {
  max-width: 800px;
  margin: 0 auto;
}
.footer-catch {
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 600;
  color: #fdfbf7;
  margin-bottom: 10px;
  letter-spacing: 0.12em;
}
.copyright {
  font-family: var(--font-en), var(--font-sans);
  margin-top: 24px;
  font-size: 0.85rem;
  letter-spacing: 0.08em;
  color: #a3907c;
}

/* =========================================================
   スクロール連動フェードイン演出（ふわっと出現）
========================================================= */
.scroll-reveal {
  opacity: 0;
  transform: translateY(26px);
  transition:
    opacity 0.85s cubic-bezier(0.22, 1, 0.36, 1),
    transform 0.85s cubic-bezier(0.22, 1, 0.36, 1);
  transition-delay: var(--reveal-delay, 0s);
  will-change: opacity, transform;
}

.scroll-reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* カードホバー時の浮き上がりと干渉しないよう表示完了後はトランジションを最適化 */
.card.scroll-reveal.is-visible,
.book-card.scroll-reveal.is-visible {
  transition: transform 0.25s ease, box-shadow 0.25s ease, opacity 0.85s ease;
  transition-delay: 0s;
}
.card.scroll-reveal.is-visible:hover {
  transform: translateY(-4px);
}
.book-card.scroll-reveal.is-visible:hover {
  transform: translateY(-3px);
}

@media (prefers-reduced-motion: reduce) {
  .scroll-reveal {
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
  }
}

/* =========================================================
   スマートフォン向けレスポンシブ設定（768px以下）
========================================================= */
@media (max-width: 768px) {
  .header-inner {
    padding: 14px 20px;
  }
  .site-title {
    font-size: 1.18rem;
  }
  .menu-toggle {
    display: flex;
  }
  nav.main-nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--card-bg);
    border-bottom: 1px solid var(--border-color);
    box-shadow: 0 8px 20px rgba(44, 34, 28, 0.12);
    padding: 8px 24px 16px;
  }
  nav.main-nav.is-open {
    display: block;
  }
  nav.main-nav ul {
    flex-direction: column;
    gap: 0;
  }
  nav.main-nav li {
    border-bottom: 1px solid #e6dccb;
  }
  nav.main-nav li:last-child {
    border-bottom: none;
  }
  nav.main-nav a {
    display: block;
    padding: 14px 0;
    border-bottom: none;
    font-size: 0.95rem;
  }

  .hero-video--pc {
    display: none;
  }
  .hero-video--sp {
    display: block;
  }

  .hero--sub {
    aspect-ratio: 16 / 9;
    min-height: 240px;
    max-height: 320px;
    padding: 24px 16px;
  }

  .hero-inner {
    bottom: 28px;
    padding: 0 12px;
  }

  .pc-dash {
    display: none;
  }
  .sp-br {
    display: block;
  }
  .hero-catch {
    font-size: clamp(0.75rem, 3.5vw, 0.92rem);
    letter-spacing: 0.06em;
    line-height: 1.75;
    margin-bottom: 8px;
  }
  .hero h1 {
    font-size: 2.2rem;
  }
  .hero-en-name {
    font-size: 0.88rem;
  }

  .memorial-box, .profile-card, .article-box, .modal-content { padding: 22px 20px; }
  .book-grid, .video-grid, .profile-grid { grid-template-columns: 1fr; }
  .book-card { flex-direction: column; align-items: center; text-align: left; }
  .book-cover-wrap { width: 140px; margin-bottom: 8px; align-self: center; }
}