/*
Theme Name: TT5-child
Theme URI: https://wordpress.org/themes/twentytwentyfive/
Template: twentytwentyfive
Author: the WordPress team
Author URI: https://wordpress.org
Description: Twenty Twenty-Five emphasizes simplicity and adaptability. It offers flexible design options, supported by a variety of patterns for different page types, such as services and landing pages, making it ideal for building personal blogs, professional portfolios, online magazines, or business websites. Its templates cater to various blog styles, from text-focused to image-heavy layouts. Additionally, it supports international typography and diverse color palettes, ensuring accessibility and customization for users worldwide.
Tags: one-column,custom-colors,custom-menu,custom-logo,editor-style,featured-images,full-site-editing,block-patterns,rtl-language-support,sticky-post,threaded-comments,translation-ready,wide-blocks,block-styles,style-variations,accessibility-ready,blog,portfolio,news
Version: 3.0
Updated: 2026-08-07 7:00:42

*/
/* フォントの読み込み（明朝体 Shippori Mincho ＋ Zen Kurenaido）
   ※この一行は必ず先頭に置いてください */
@import url('https://fonts.googleapis.com/css2?family=Zen+Kurenaido&family=Shippori+Mincho:wght@400;500&display=swap');

/* =========================================================
   森ノりす — Into the Forest Within
   共通デザイン（門・トップ・about で共有）
   ========================================================= */

:root {
  --paper:      #FAF9F6;
  --ink:        #333333;
  --ink-soft:   #6b6b66;
  --ink-faint:  #a8a8a2;
  --moss:       #566B4D;
  --hairline:   #e4e2db;

  --mincho: "Shippori Mincho", serif;   /* 見出し・タイトル用の明朝体 */
  --body:   "Zen Kurenaido", sans-serif; /* 本文・投稿用 */

  /* 間(ま)— 余白のスケール */
  --ma-1: 1.5rem;
  --ma-2: 3rem;
  --ma-3: 6rem;
  --ma-4: 10rem;
  --ma-5: 16rem;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  background: var(--paper);
  color: var(--ink);
  font-family: var(--body);
  font-size: 1.32rem;
  line-height: 2.2;
  letter-spacing: 0.04em;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

a { color: inherit; text-decoration: none; }

/* 静かに浮かび上がる共通アニメーション */
@media (prefers-reduced-motion: no-preference) {
  .fade { opacity: 0; transform: translateY(14px); transition: opacity 1.6s ease, transform 1.6s ease; }
  .fade.in { opacity: 1; transform: none; }
}
@keyframes openRise   { to { opacity: 1; filter: blur(0); transform: none; } }
@keyframes openAppear { to { opacity: 1; } }


/* =========================================================
   ナビゲーション（トップ・about で常時表示）
   ========================================================= */

.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  display: flex; align-items: center; justify-content: space-between;
  padding: 1.1rem clamp(1.2rem, 4vw, 2.6rem);
  background: rgba(250, 249, 246, 0.92);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--hairline);
  opacity: 0;
  animation: openAppear 1.6s ease 0.2s forwards;
}
.nav__brand {
  font-family: var(--mincho);
  font-size: 1.2rem;
  letter-spacing: 0.24em;
  text-indent: 0.24em;
  color: var(--ink);
  white-space: nowrap;
}
.nav__links {
  display: flex;
  gap: clamp(1.2rem, 3.5vw, 2.8rem);
  align-items: center;
}
.nav__links a {
  font-family: var(--mincho);
  font-size: 1.18rem;
  letter-spacing: 0.12em;
  color: var(--ink);
  padding: 0.4rem 0;
  border-bottom: 1px solid transparent;
  transition: border-color 0.5s ease;
  white-space: nowrap;
}
.nav__links a:hover,
.nav__links a:focus-visible { border-color: var(--moss); }


/* =========================================================
   門（Gate）— 全画面の森・詩・入り口
   ========================================================= */

.gate {
  position: relative;
  height: 100vh;
  min-height: 600px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  text-align: center;
}
.gate__image {
  position: absolute; inset: 0;
  background:
    linear-gradient(180deg, rgba(28,32,26,0.30), rgba(28,32,26,0.42)),
    url('images/hero.jpg');
  background-size: cover;
  background-position: center;
}
.gate__title {
  position: relative;
  font-family: var(--mincho);
  font-weight: 400;
  color: #fbfbf8;
  font-size: clamp(1.9rem, 5.2vw, 3.4rem);
  letter-spacing: 0.22em;
  text-indent: 0.22em;
  text-shadow: 0 1px 22px rgba(20,24,18,0.5);
  line-height: 1.5;
}
.gate__sub {
  position: relative;
  font-family: var(--mincho);
  color: rgba(251,251,248,0.9);
  font-size: clamp(1rem, 2.4vw, 1.35rem);
  letter-spacing: 0.4em;
  text-indent: 0.4em;
  margin-top: 1.6rem;
  text-shadow: 0 1px 16px rgba(20,24,18,0.5);
}
@media (prefers-reduced-motion: no-preference) {
  .gate__title { opacity: 0; filter: blur(12px); transform: translateY(10px);
    animation: openRise 3.6s cubic-bezier(0.22,0.61,0.36,1) 0.4s forwards; }
  .gate__sub { opacity: 0; animation: openAppear 2.4s ease 2.2s forwards; }
}
.gate__cue {
  position: absolute; left: 50%; bottom: 2.4rem; transform: translateX(-50%);
  width: 1px; height: 3rem;
  background: linear-gradient(180deg, rgba(255,255,255,0.7), rgba(255,255,255,0));
  opacity: 0;
  animation: openAppear 2s ease 3.4s forwards;
}

/* 詩 */
.poem {
  max-width: 40em;
  margin: 0 auto;
  padding: var(--ma-5) 1.5rem var(--ma-4);
  text-align: center;
}
.poem__eyebrow {
  font-family: var(--mincho);
  font-size: 1.05rem;
  letter-spacing: 0.3em;
  text-indent: 0.3em;
  color: var(--moss);
  margin-bottom: var(--ma-4);
}
.stanza {
  font-family: var(--mincho);
  font-size: clamp(1.25rem, 2.7vw, 1.5rem);
  line-height: 2.6;
  letter-spacing: 0.08em;
  color: var(--ink);
  margin-bottom: var(--ma-3);
}
.stanza.soft  { color: var(--ink-soft); }
.stanza.solo  { margin: var(--ma-4) 0; }
.stanza.close { margin-top: var(--ma-4); }

/* 入り口ボタン */
.enter {
  text-align: center;
  padding: 0 1.5rem var(--ma-5);
}
.enter a {
  display: inline-block;
  font-family: var(--mincho);
  font-size: 1.3rem;
  letter-spacing: 0.3em;
  text-indent: 0.3em;
  color: var(--ink);
  border: 1px solid var(--hairline);
  padding: 1.1rem 3rem;
  transition: border-color 0.8s ease, color 0.8s ease;
}
.enter a:hover,
.enter a:focus-visible { border-color: var(--moss); color: var(--moss); }


/* =========================================================
   トップページ — 導入・作品群・今日の森から・結び
   ========================================================= */

/* 導入（余白から静かに） */
.opening {
  max-width: 760px;
  margin: 0 auto;
  text-align: center;
  padding: calc(var(--ma-4) + 4rem) 1.5rem var(--ma-4);
}
.opening__title {
  font-family: var(--mincho);
  font-weight: 400;
  font-size: clamp(1.7rem, 4.4vw, 2.6rem);
  letter-spacing: 0.2em;
  text-indent: 0.2em;
  color: var(--ink);
  line-height: 1.6;
}
.opening__sub {
  font-family: var(--mincho);
  font-size: clamp(0.95rem, 2.2vw, 1.15rem);
  letter-spacing: 0.34em;
  text-indent: 0.34em;
  color: var(--moss);
  margin-top: 1.4rem;
}
.opening__tagline {
  font-family: var(--mincho);
  font-size: clamp(1.2rem, 2.6vw, 1.5rem);
  letter-spacing: 0.12em;
  line-height: 2.2;
  color: var(--ink-soft);
  margin-top: var(--ma-3);
}
@media (prefers-reduced-motion: no-preference) {
  .opening__title { opacity: 0; filter: blur(9px); transform: translateY(8px);
    animation: openRise 3.2s cubic-bezier(0.22,0.61,0.36,1) 0.3s forwards; }
  .opening__sub     { opacity: 0; animation: openAppear 2.2s ease 1.9s forwards; }
  .opening__tagline { opacity: 0; animation: openAppear 2.4s ease 2.6s forwards; }
}

/* 共通レイアウト */
main { display: block; }
.band { padding: var(--ma-5) 1.5rem; }
.wrap { max-width: 640px; margin: 0 auto; }
.eyebrow {
  font-family: var(--mincho);
  font-size: 1.05rem;
  letter-spacing: 0.34em;
  text-indent: 0.34em;
  color: var(--moss);
  margin-bottom: var(--ma-2);
}

/* 作品群（選ばせない） */
.works { max-width: 760px; margin: 0 auto; }
.work {
  display: block;
  padding: var(--ma-3) 0;
  border-bottom: 1px solid var(--hairline);
}
.works .work:first-child { border-top: 1px solid var(--hairline); }
.work__frame {
  aspect-ratio: 3 / 2;
  background: #ecebe4;
  display: flex; align-items: center; justify-content: center;
  margin-bottom: var(--ma-2);
  overflow: hidden;
}
.work__frame img {
  width: 100%; height: 100%; object-fit: cover; display: block;
}
.work__title {
  font-family: var(--mincho);
  font-weight: 500;
  font-size: 1.9rem;
  letter-spacing: 0.14em;
  margin-bottom: var(--ma-1);
}
.work__note {
  color: var(--ink-soft);
  font-size: 1.24rem;
  max-width: 34em;
}

/* 今日の森から */
.today { text-align: center; }
.today__mark {
  font-family: var(--mincho);
  font-size: 1.48rem;
  letter-spacing: 0.3em;
  text-indent: 0.3em;
  color: var(--moss);
  margin-bottom: var(--ma-2);
}
.today__body {
  max-width: 30em; margin: 0 auto;
  color: var(--ink);
}
.today__date {
  margin-top: var(--ma-2);
  font-size: 1.0rem; letter-spacing: 0.24em; color: var(--ink-faint);
}

/* about への静かな導線 */
.about-link { text-align: center; }
.about-link a {
  font-family: var(--mincho);
  font-size: 1.28rem;
  letter-spacing: 0.28em;
  text-indent: 0.28em;
  color: var(--ink);
  border-bottom: 1px solid var(--hairline);
  padding-bottom: 0.5rem;
  transition: border-color 0.8s ease;
}
.about-link a:hover { border-color: var(--moss); }

/* 結び */
.closing { text-align: center; }
.closing__word {
  font-family: var(--mincho);
  font-size: clamp(1.6rem, 4vw, 2.2rem);
  letter-spacing: 0.24em;
  text-indent: 0.24em;
  line-height: 2.4;
  color: var(--ink);
}

/* フッター */
footer {
  padding: var(--ma-3) 1.5rem var(--ma-2);
  text-align: center;
  border-top: 1px solid var(--hairline);
}
.footer__name {
  font-family: var(--mincho);
  letter-spacing: 0.3em;
  text-indent: 0.3em;
  font-size: 1.2rem;
  margin-bottom: var(--ma-1);
}
.footer__meta {
  font-size: 0.95rem; letter-spacing: 0.18em; color: var(--ink-faint);
}


/* =========================================================
   about ページ本文
   ========================================================= */

.about__text p { margin-bottom: var(--ma-2); }
.about__break {
  font-family: var(--mincho);
  text-align: center;
  font-size: 1.5rem;
  letter-spacing: 0.2em;
  color: var(--ink);
  margin: var(--ma-3) 0;
}
.about__close-lines {
  font-family: var(--body);
  color: var(--moss);
  line-height: 2.6;
}


/* =========================================================
   スマホ表示の調整（画面幅が狭いとき）
   ========================================================= */

@media (max-width: 640px) {
  :root { --ma-5: 9rem; --ma-4: 6rem; --ma-3: 4rem; }
  body { line-height: 2.0; }
  .stanza { line-height: 2.4; }
}
@media (max-width: 600px) {
  .nav { padding: 0.9rem 1.1rem; flex-direction: column; gap: 0.6rem; }
  .nav__links { gap: 1.3rem; flex-wrap: wrap; justify-content: center; }
  .nav__links a { font-size: 1.08rem; }
}

/* =========================================================
   トップページ 追加分（横長ヒーロー帯・ほか）
   ※ style.css のいちばん下に、この内容を足してください
   ========================================================= */

/* 横長の帯ヒーロー */
.hero-band {
  position: relative;
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 1.5rem;
  margin-top: 6rem;   /* 固定ナビのぶん、上を空ける */
}
.hero-band__image {
  position: relative;
  height: 42vh;
  min-height: 280px;
  max-height: 460px;
  background-size: cover;
  background-position: center;
  background-image: linear-gradient(180deg, rgba(28,32,26,0.24), rgba(28,32,26,0.34)), url('images/hero.jpg');
}
.hero-band__text {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
}
.hero-band__title {
  font-family: var(--mincho);
  font-weight: 400;
  color: #fbfbf8;
  font-size: clamp(1.5rem, 4vw, 2.6rem);
  letter-spacing: 0.2em;
  text-indent: 0.2em;
  text-shadow: 0 1px 20px rgba(20,24,18,0.5);
  opacity: 0;
  animation: openRise 3s cubic-bezier(0.22,0.61,0.36,1) 0.3s forwards;
}
.hero-band__sub {
  font-family: var(--mincho);
  color: rgba(251,251,248,0.9);
  font-size: clamp(0.9rem, 2vw, 1.15rem);
  letter-spacing: 0.34em;
  text-indent: 0.34em;
  margin-top: 1.1rem;
  text-shadow: 0 1px 16px rgba(20,24,18,0.5);
  opacity: 0;
  animation: openAppear 2.2s ease 1.8s forwards;
}

/* ヒーロー帯があるときの導入は、上の余白を詰める */
.opening--compact {
  padding-top: var(--ma-3);
  padding-bottom: var(--ma-3);
}

/* 今日の森から:添え書き */
.today__sub {
  font-family: var(--mincho);
  font-size: 1.02rem;
  letter-spacing: 0.14em;
  color: var(--ink-soft);
  margin-bottom: var(--ma-2);
}

/* フッター:これまでの記録への静かな導線 */
.footer__archive {
  margin-top: var(--ma-2);
}
.footer__archive a {
  font-family: var(--mincho);
  font-size: 0.95rem;
  letter-spacing: 0.18em;
  color: var(--ink-faint);
  border-bottom: 1px solid transparent;
  padding-bottom: 0.3rem;
  transition: color 0.6s ease, border-color 0.6s ease;
}
.footer__archive a:hover,
.footer__archive a:focus-visible {
  color: var(--moss);
  border-color: var(--hairline);
}

@media (max-width: 640px) {
  .hero-band { margin-top: 5rem; padding: 0 1rem; }
  .hero-band__image { height: 34vh; min-height: 220px; }
}
/* =========================================================
   画像の高さ修正（aspect-ratio が効かない環境向けの保険）
   ※ style.css のいちばん下に、この内容を足してください
   ========================================================= */

/* 作品カードの写真:高さをはっきり固定して、横長に収める */
.work__frame {
  aspect-ratio: auto;            /* 効かない指定を打ち消す */
  height: clamp(220px, 34vw, 400px);
  width: 100%;
  overflow: hidden;
}
.work__frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* ヒーローの帯:高さをはっきり固定 */
.hero-band__image {
  height: clamp(240px, 40vh, 440px);
}

@media (max-width: 640px) {
  .work__frame { height: clamp(180px, 56vw, 300px); }
  .hero-band__image { height: clamp(200px, 34vh, 320px); }
}

/* =========================================================
   トップページ 追加分 2（余白・ニュースレター・フッター）
   ※ style.css のいちばん下に足してください
   ========================================================= */

/* 最上部の余白を少し広げる */
.hero-band { margin-top: 8.5rem; }
@media (max-width: 640px) { .hero-band { margin-top: 6.5rem; } }

/* ニュースレター(フッター手前・控えめ) */
.newsletter {
  max-width: 560px;
  margin: 0 auto;
  padding: var(--ma-3) 1.5rem;
  text-align: center;
  border-top: 1px solid var(--hairline);
}
.newsletter__eyebrow {
  font-family: var(--mincho);
  font-size: 0.95rem;
  letter-spacing: 0.3em;
  text-indent: 0.3em;
  color: var(--moss);
  margin-bottom: var(--ma-1);
}
.newsletter__lede {
  font-family: var(--mincho);
  font-size: 1.05rem;
  line-height: 2.0;
  color: var(--ink-soft);
  margin-bottom: var(--ma-2);
}
.newsletter__form {
  display: flex;
  gap: 0.6rem;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: var(--ma-1);
}
.newsletter__input {
  flex: 1 1 15rem;
  max-width: 20rem;
  padding: 0.7rem 0.9rem;
  font-family: var(--body);
  font-size: 1rem;
  color: var(--ink);
  background: #ffffff;
  border: 1px solid var(--hairline);
  border-radius: 2px;
}
.newsletter__input::placeholder { color: var(--ink-faint); }
.newsletter__btn {
  padding: 0.7rem 1.6rem;
  font-family: var(--mincho);
  font-size: 1rem;
  letter-spacing: 0.1em;
  color: #fbfbf8;
  background: var(--moss);
  border: 1px solid var(--moss);
  border-radius: 2px;
  cursor: pointer;
  transition: background 0.5s ease;
}
.newsletter__btn:hover { background: #45573d; }
.newsletter__note {
  font-size: 0.88rem;
  letter-spacing: 0.04em;
  color: var(--ink-faint);
}
.newsletter__note a {
  color: var(--ink-soft);
  border-bottom: 1px solid var(--hairline);
  padding-bottom: 1px;
}

/* フッター:メニューと著作権表示 */
.footer__nav {
  display: flex;
  gap: 1.4rem;
  justify-content: center;
  flex-wrap: wrap;
  margin-top: var(--ma-2);
}
.footer__nav a {
  font-family: var(--mincho);
  font-size: 0.95rem;
  letter-spacing: 0.12em;
  color: var(--ink-soft);
  border-bottom: 1px solid transparent;
  padding-bottom: 0.2rem;
  transition: color 0.5s ease, border-color 0.5s ease;
}
.footer__nav a:hover,
.footer__nav a:focus-visible { color: var(--moss); border-color: var(--hairline); }
.footer__copyright {
  margin-top: var(--ma-2);
  font-size: 0.82rem;
  letter-spacing: 0.08em;
  color: var(--ink-faint);
}

/* ナビを少し下げて、上に隙間をつくる */
.nav { top: 2.0rem; }
body::before {
  content: "";
  position: fixed;
  top: 0; left: 0; right: 0;
  height: 2.0rem;
  background: var(--paper);
  z-index: 99;
}
@media (max-width: 600px) {
  .nav { top: 0.8rem; }
  body::before { height: 0.8rem; }
}

/* 「これまでの記録」を少し大きく、濃い色に */
.footer__archive a { font-size: 1.12rem; color: var(--ink); }

/* ヒーローの文字を、ふわっと浮かび上がらせる */
@media (prefers-reduced-motion: no-preference) {
  .hero-band__title {
    filter: blur(10px);
    transform: translateY(16px);
  }
  .hero-band__sub {
    transform: translateY(12px);
    animation: openRise 2.4s cubic-bezier(0.22, 0.61, 0.36, 1) 1.5s forwards;
  }
}

/* =========================================================
   今日の森から（自動）＋ 最近の更新
   ※ style.css のいちばん下に足してください
   ========================================================= */

/* 今日の森から:投稿から自動表示 */
.today--link { display: block; }
.today__thumb {
  max-width: 30em;
  margin: 0 auto var(--ma-2);
  overflow: hidden;
}
.today__thumb img {
  display: block;
  width: 100%;
  height: clamp(200px, 34vw, 360px);
  object-fit: cover;
}
.today__title {
  font-family: var(--mincho);
  font-weight: 500;
  font-size: 1.7rem;
  letter-spacing: 0.1em;
  color: var(--ink);
  margin-bottom: var(--ma-1);
  transition: color 0.5s ease;
}
.today--link:hover .today__title,
.today--link:focus-visible .today__title { color: var(--moss); }

/* 最近の更新（各カテゴリー最新1件・小さめ） */
.updates-band { padding-top: var(--ma-2); padding-bottom: var(--ma-3); }
.updates__eyebrow {
  font-family: var(--mincho);
  font-size: 1.0rem;
  letter-spacing: 0.3em;
  text-indent: 0.3em;
  color: var(--moss);
  text-align: center;
  margin-bottom: var(--ma-2);
}
.updates {
  max-width: 640px;
  margin: 0 auto;
  display: grid;
  gap: 1.5rem;
}
.update {
  display: flex;
  align-items: center;
  gap: 1.1rem;
  padding-bottom: 1.4rem;
  border-bottom: 1px solid var(--hairline);
}
.update:last-child { border-bottom: none; padding-bottom: 0; }
.update__thumb {
  flex: 0 0 auto;
  width: 92px;
  height: 68px;
  overflow: hidden;
  background: #ecebe4;
  border-radius: 2px;
}
.update__thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.update__text {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  text-align: left;
  min-width: 0;
}
.update__label {
  font-family: var(--mincho);
  font-size: 0.82rem;
  letter-spacing: 0.2em;
  color: var(--moss);
}
.update__title {
  font-family: var(--mincho);
  font-size: 1.08rem;
  letter-spacing: 0.04em;
  color: var(--ink);
  line-height: 1.6;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  transition: color 0.5s ease;
}
.update:hover .update__title,
.update:focus-visible .update__title { color: var(--moss); }
.update__date {
  font-size: 0.8rem;
  letter-spacing: 0.14em;
  color: var(--ink-faint);
}
@media (max-width: 640px) {
  .update__title { white-space: normal; }
}

/* =========================================================
   ナビのプルダウン（今日の森から）
   ========================================================= */
.nav__item { position: relative; display: inline-flex; align-items: center; }
.nav__item--has-menu .nav__toplink::after {
  content: "▾";
  font-size: 0.7em;
  margin-left: 0.35em;
  color: var(--ink-faint);
  display: inline-block;
  transition: transform 0.35s ease, color 0.35s ease;
}
.nav__item--has-menu:hover .nav__toplink::after,
.nav__item--has-menu:focus-within .nav__toplink::after,
.nav__item--has-menu.is-open .nav__toplink::after { color: var(--moss); transform: rotate(180deg); }
.nav__submenu {
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%) translateY(8px);
  min-width: 11em;
  max-width: 90vw;
  background: var(--paper);
  border: 1px solid var(--hairline);
  border-radius: 3px;
  padding: 0.5rem 0;
  display: flex;
  flex-direction: column;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.35s ease, transform 0.35s ease;
  box-shadow: 0 10px 34px rgba(28, 32, 26, 0.10);
  z-index: 130;
}
.nav__item--has-menu:hover .nav__submenu,
.nav__item--has-menu:focus-within .nav__submenu,
.nav__item--has-menu.is-open .nav__submenu {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(4px);
}
.nav__submenu a {
  display: block;
  padding: 0.55rem 1.5rem;
  font-family: var(--mincho);
  font-size: 0.98rem;
  letter-spacing: 0.1em;
  color: var(--ink-soft);
  white-space: nowrap;
  transition: color 0.4s ease;
}
.nav__submenu a:hover,
.nav__submenu a:focus-visible { color: var(--moss); }

/* 「今日の森から」の高さズレ修正 */
.nav__item--has-menu { padding-bottom: 0; margin-top: 0; }
.nav__item--has-menu::after {
  content: "";
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  height: 14px;
}

/* =========================================================
   個別記事（single.php）
   ========================================================= */
.site-article {
  max-width: 720px;
  margin: 0 auto;
  padding: 9rem 1.5rem var(--ma-4);   /* 上は固定ナビのぶんを空ける */
}
.article__header { text-align: center; margin-bottom: var(--ma-3); }
.article__cat {
  display: inline-block;
  font-family: var(--mincho);
  font-size: 0.95rem;
  letter-spacing: 0.24em;
  text-indent: 0.24em;
  color: var(--moss);
  margin-bottom: var(--ma-1);
  border-bottom: 1px solid transparent;
  transition: border-color 0.5s ease;
}
.article__cat:hover, .article__cat:focus-visible { border-color: var(--hairline); }
.article__title {
  font-family: var(--mincho);
  font-weight: 500;
  font-size: clamp(1.8rem, 4vw, 2.6rem);
  letter-spacing: 0.08em;
  line-height: 1.7;
  color: var(--ink);
}
.article__date {
  margin-top: var(--ma-1);
  font-size: 0.95rem;
  letter-spacing: 0.2em;
  color: var(--ink-faint);
}
.article__hero {
  margin: 0 auto var(--ma-3);
  overflow: hidden;
  border-radius: 2px;
}
.article__hero img { display: block; width: 100%; height: auto; }

/* 本文 */
.article__body {
  font-family: var(--body);
  font-size: 1.16rem;
  line-height: 2.15;
  color: var(--ink);
}
.article__body p { margin-bottom: var(--ma-2); }
.article__body h2 {
  font-family: var(--mincho);
  font-weight: 500;
  font-size: 1.6rem;
  letter-spacing: 0.06em;
  margin: var(--ma-3) 0 var(--ma-1);
  color: var(--ink);
}
.article__body h3 {
  font-family: var(--mincho);
  font-weight: 500;
  font-size: 1.3rem;
  letter-spacing: 0.04em;
  margin: var(--ma-2) 0 var(--ma-1);
  color: var(--ink);
}
.article__body a { color: var(--moss); border-bottom: 1px solid var(--hairline); }
.article__body ul, .article__body ol { margin: 0 0 var(--ma-2) 1.4em; }
.article__body li { margin-bottom: 0.5em; }
.article__body blockquote {
  margin: var(--ma-2) 0;
  padding-left: 1.4rem;
  border-left: 2px solid var(--hairline);
  color: var(--ink-soft);
}
.article__body img { max-width: 100%; height: auto; }
.article__body figure { margin: var(--ma-2) 0; }
.article__body figure img { display: block; margin: 0 auto; border-radius: 2px; }
.article__body figcaption {
  text-align: center;
  font-size: 0.9rem;
  color: var(--ink-faint);
  margin-top: 0.6rem;
}

/* 末尾:カテゴリー一覧への静かな導線 */
.article__foot {
  margin-top: var(--ma-3);
  padding-top: var(--ma-2);
  border-top: 1px solid var(--hairline);
  text-align: center;
}
.article__back {
  font-family: var(--mincho);
  font-size: 1.05rem;
  letter-spacing: 0.14em;
  color: var(--ink-soft);
  border-bottom: 1px solid transparent;
  padding-bottom: 0.2rem;
  transition: color 0.5s ease, border-color 0.5s ease;
}
.article__back:hover, .article__back:focus-visible { color: var(--moss); border-color: var(--hairline); }

@media (max-width: 640px) {
  .site-article { padding: 8rem 1.1rem var(--ma-4); }
}

/* =========================================================
   この場所について（page-about.php）
   ========================================================= */
.site-about {
  max-width: 720px;
  margin: 0 auto;
  padding: 9rem 1.5rem var(--ma-4);
}

/* 目次プルダウン */
.about-toc {
  display: flex;
  justify-content: center;
  margin-bottom: var(--ma-4);
}
.about-toc__label {
  font-family: var(--mincho);
  font-size: 1.18rem;
  letter-spacing: 0.14em;
  color: var(--ink);
  cursor: pointer;
  padding: 0.4rem 0;
  user-select: none;
}
.about-toc__item .nav__submenu { left: 50%; }
.about-toc__menu a {
  font-size: 1.0rem;
  letter-spacing: 0.08em;
}

/* セクション */
.about-sec {
  padding: var(--ma-3) 0;
  scroll-margin-top: 8rem;   /* 目次で飛んだとき、固定ナビに隠れない */
}
.about-sec + .about-sec { border-top: 1px solid var(--hairline); }
.about-sec__head {
  text-align: center;
  margin-bottom: var(--ma-3);
}
.about-sec__title {
  font-family: var(--mincho);
  font-weight: 500;
  font-size: clamp(1.7rem, 3.6vw, 2.3rem);
  letter-spacing: 0.16em;
  text-indent: 0.16em;
  color: var(--ink);
}
.about-sec__en {
  font-family: var(--mincho);
  font-size: 0.92rem;
  letter-spacing: 0.34em;
  text-indent: 0.34em;
  color: var(--moss);
  margin-top: 0.9rem;
}
.about-sec__body {
  font-family: var(--body);
  font-size: 1.16rem;
  line-height: 2.4;
  color: var(--ink);
  text-align: center;
}
.about-sec__body p { margin-bottom: var(--ma-2); }
.about-sec__body p:last-child { margin-bottom: 0; }

@media (max-width: 640px) {
  .site-about { padding: 8rem 1.1rem var(--ma-4); }
  .about-sec__body { text-align: left; line-height: 2.2; }
  .about-sec__body br { display: none; }   /* スマホでは改行を詰めて、自然な折り返しに */
}

/* =========================================================
   詩の独立ページ（page-poem.php）と、about からの導線
   ========================================================= */
/* 詩:文字を控えめに、色をやわらかく（静かに） */
.poem--quiet .stanza {
  font-size: clamp(1.02rem, 2vw, 1.22rem);
  line-height: 2.9;
  letter-spacing: 0.1em;
  color: var(--ink-soft);
}
.poem--quiet .stanza.solo,
.poem--quiet .stanza.close { color: var(--ink); }

/* about の一番下:詩へのひっそりとした導線 */
.about-poem-link {
  text-align: center;
  margin-top: var(--ma-4);
  padding-top: var(--ma-3);
  border-top: 1px solid var(--hairline);
}
.about-poem-link a {
  font-family: var(--mincho);
  font-size: 1.1rem;
  letter-spacing: 0.24em;
  text-indent: 0.24em;
  color: var(--ink-faint);
  border-bottom: 1px solid transparent;
  padding-bottom: 0.3rem;
  transition: color 0.6s ease, border-color 0.6s ease;
}
.about-poem-link a:hover,
.about-poem-link a:focus-visible { color: var(--moss); border-color: var(--hairline); }
/* =========================================================
   カテゴリー一覧（archive.php）
   ========================================================= */
.site-archive {
  max-width: 760px;
  margin: 0 auto;
  padding: 9rem 1.5rem var(--ma-4);
}
.archive__head {
  text-align: center;
  margin-bottom: var(--ma-4);
}
.archive__eyebrow {
  font-family: var(--mincho);
  font-size: 0.95rem;
  letter-spacing: 0.3em;
  text-indent: 0.3em;
  color: var(--moss);
  margin-bottom: var(--ma-1);
}
.archive__title {
  font-family: var(--mincho);
  font-weight: 500;
  font-size: clamp(1.8rem, 4vw, 2.4rem);
  letter-spacing: 0.16em;
  text-indent: 0.16em;
  color: var(--ink);
}
.archive__desc {
  margin-top: var(--ma-1);
  font-family: var(--body);
  font-size: 1.02rem;
  color: var(--ink-soft);
}

/* 記事の一覧 */
.archive__list { display: grid; gap: var(--ma-2); }
.entry {
  display: flex;
  gap: 1.4rem;
  align-items: flex-start;
  padding-bottom: var(--ma-2);
  border-bottom: 1px solid var(--hairline);
}
.entry:last-child { border-bottom: none; }
.entry__thumb {
  flex: 0 0 auto;
  width: 132px;
  height: 99px;
  overflow: hidden;
  background: #ecebe4;
  border-radius: 2px;
}
.entry__thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.entry__text { min-width: 0; }
.entry__title {
  font-family: var(--mincho);
  font-weight: 500;
  font-size: 1.32rem;
  letter-spacing: 0.04em;
  line-height: 1.7;
  color: var(--ink);
  transition: color 0.5s ease;
}
.entry:hover .entry__title,
.entry:focus-visible .entry__title { color: var(--moss); }
.entry__excerpt {
  margin-top: 0.5rem;
  font-family: var(--body);
  font-size: 1.0rem;
  line-height: 1.9;
  color: var(--ink-soft);
}
.entry__date {
  margin-top: 0.6rem;
  font-size: 0.85rem;
  letter-spacing: 0.14em;
  color: var(--ink-faint);
}

/* ページ送り */
.archive__pager {
  display: flex;
  justify-content: center;
  gap: 0.8rem;
  flex-wrap: wrap;
  margin-top: var(--ma-3);
}
.archive__pager .page-numbers {
  font-family: var(--mincho);
  font-size: 1.0rem;
  letter-spacing: 0.08em;
  color: var(--ink-soft);
  padding: 0.3rem 0.7rem;
  border-bottom: 1px solid transparent;
  transition: color 0.5s ease, border-color 0.5s ease;
}
.archive__pager .page-numbers:hover { color: var(--moss); border-color: var(--hairline); }
.archive__pager .page-numbers.current { color: var(--moss); border-color: var(--moss); }
.archive__empty {
  text-align: center;
  font-family: var(--mincho);
  color: var(--ink-soft);
  padding: var(--ma-3) 0;
}

@media (max-width: 640px) {
  .site-archive { padding: 8rem 1.1rem var(--ma-4); }
  .entry__thumb { width: 96px; height: 72px; }
  .entry__title { font-size: 1.16rem; }
}