/* ==========================================================================
   kohaku note — v2.0 stylesheet
   モダン・エディトリアル方針: 写真とタイポグラフィで語る、装飾は最小限
   ========================================================================== */

:root {
  /* --- カラー: ペーパー・インク・アンバー三層 --- */
  --bg: #faf7f2;          /* base — warm cream */
  --bg-elev: #f3eee5;     /* elevated — pale cream(セクション交互背景に) */
  --bg-card: #ffffff;     /* card paper */
  --bg-tint: #fbf6ec;     /* very subtle tint(ホバー・帯背景) */
  --line: #ebe3d3;        /* hairline */
  --line-soft: #f1ebde;   /* even softer hairline */

  --ink: #1a1612;         /* near-black, warm */
  --text: #2a221c;        /* main body text */
  --text-mid: #5a4f44;    /* mid-emphasis */
  --text-dim: #6e645a;    /* secondary / labels — WCAG AA 対応の濃さに */

  --accent: #b07211;      /* deeper amber — より上品に */
  --accent-soft: #c89240; /* hover */
  --accent-deep: #7a4e08; /* active / emphasis */
  --accent-tint: rgba(176,114,17,0.10);

  /* --- shape & elevation --- */
  --shadow-sm: 0 1px 2px rgba(45,37,32,0.04);
  --shadow: 0 1px 2px rgba(45,37,32,0.04), 0 4px 12px rgba(45,37,32,0.05);
  --shadow-lg: 0 2px 4px rgba(45,37,32,0.04), 0 16px 40px rgba(45,37,32,0.10);
  --shadow-xl: 0 4px 8px rgba(45,37,32,0.05), 0 32px 64px rgba(45,37,32,0.14);

  --radius-sm: 6px;
  --radius: 10px;
  --radius-lg: 18px;

  --max: 1280px;
  --max-narrow: 920px;

  /* --- typography --- */
  --font-jp: "Noto Sans JP", -apple-system, BlinkMacSystemFont, "Hiragino Kaku Gothic ProN", "Yu Gothic", sans-serif;
  --font-en: "Inter", -apple-system, BlinkMacSystemFont, sans-serif;
  --font-display: "Cormorant Garamond", "Times New Roman", "游明朝", "Yu Mincho", serif;

  /* --- motion --- */
  --ease: cubic-bezier(.22, .81, .35, 1);
  --ease-out: cubic-bezier(.16, 1, .3, 1);
  --dur-fast: 200ms;
  --dur: 320ms;
  --dur-slow: 520ms;
}

/* --- reset --- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  font-family: var(--font-jp);
  background: var(--bg);
  color: var(--text);
  line-height: 1.78;
  font-feature-settings: "palt";
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  line-break: strict;
  overflow-wrap: anywhere;
  /* defensive: 装飾要素が稀に右にはみ出した時にもページ横スクロールを発生させない */
  overflow-x: clip;
}

img, svg { max-width: 100%; height: auto; display: block; }

a { color: inherit; text-decoration: none; transition: color var(--dur-fast) ease; }
a:hover { color: var(--accent); }

::selection { background: rgba(176,114,17,0.22); color: var(--ink); }

:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
  border-radius: 2px;
}

/* prefers-reduced-motion: 動きを切る */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
    scroll-behavior: auto !important;
  }
}

/* --- typographic primitives --- */
h1, h2, h3, h4 {
  text-wrap: balance;
  letter-spacing: -0.012em;
  color: var(--ink);
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-family: var(--font-en);
  font-weight: 500;
  font-size: 11px;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--accent);
}
.eyebrow::before {
  content: "";
  display: inline-block;
  width: 32px;
  height: 1px;
  background: currentColor;
  opacity: 0.65;
  flex-shrink: 0;
}

.skip-link {
  position: absolute;
  left: -9999px;
  top: 8px;
  background: var(--accent);
  color: #fff;
  padding: 8px 16px;
  border-radius: var(--radius);
  font-size: 14px;
  z-index: 1000;
}
.skip-link:focus { left: 8px; }

.container {
  width: 100%;
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 24px;
}
@media (min-width: 720px) {
  .container { padding: 0 32px; }
}
@media (min-width: 1100px) {
  .container { padding: 0 48px; }
}

/* ==========================================================================
   Header
   ========================================================================== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(250, 247, 242, 0.86);
  backdrop-filter: saturate(180%) blur(14px);
  -webkit-backdrop-filter: saturate(180%) blur(14px);
  border-bottom: 1px solid var(--line);
  transition: border-color var(--dur) ease, background var(--dur) ease;
}
.site-header .inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 68px;
}
.site-logo {
  font-family: var(--font-en);
  font-weight: 600;
  font-size: 19px;
  letter-spacing: 0.005em;
  color: var(--ink);
  display: inline-flex;
  align-items: baseline;
  gap: 0;
  transition: color var(--dur-fast) ease;
}
.site-logo span {
  color: var(--accent);
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 600;
  font-size: 1.2em;
  line-height: 0;
  margin: 0 1px;
  transform: translateY(0.06em);
}
.site-nav { display: flex; gap: 32px; }
.site-nav a {
  font-family: var(--font-en);
  font-size: 13.5px;
  font-weight: 500;
  letter-spacing: 0.06em;
  color: var(--text-dim);
  position: relative;
  padding: 4px 0;
  transition: color var(--dur-fast) ease;
}
.site-nav a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -2px;
  height: 1.5px;
  background: var(--accent);
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform var(--dur) var(--ease);
}
.site-nav a:hover { color: var(--ink); }
.site-nav a:hover::after { transform: scaleX(1); }
.site-nav a[aria-current="page"] {
  color: var(--ink);
}
.site-nav a[aria-current="page"]::after {
  transform: scaleX(1);
  background: var(--accent);
}

.nav-toggle {
  display: none;
  background: none;
  border: 0;
  color: var(--ink);
  cursor: pointer;
  padding: 8px;
}
.nav-toggle span {
  display: block;
  width: 22px; height: 1.5px;
  background: currentColor;
  margin: 6px 0;
  transition: transform var(--dur-fast) ease, opacity var(--dur-fast) ease;
}

@media (max-width: 720px) {
  .site-nav {
    position: fixed;
    inset: 68px 0 auto 0;
    flex-direction: column;
    background: var(--bg);
    border-bottom: 1px solid var(--line);
    padding: 24px;
    gap: 18px;
    transform: translateY(-110%);
    transition: transform var(--dur) var(--ease), visibility var(--dur);
    box-shadow: var(--shadow);
    visibility: hidden;
    /* header (50) より上に — モバイルメニュー展開時に必ず最前面 */
    z-index: 51;
  }
  .site-nav.open { transform: translateY(0); visibility: visible; }
  .site-nav a::after { display: none; }
  .nav-toggle { display: block; }
}

/* ==========================================================================
   Hero (Home)
   ========================================================================== */
.hero {
  position: relative;
  min-height: min(86vh, 780px);
  display: grid;
  align-items: center;
  overflow: hidden;
  padding: 88px 0 96px;
  isolation: isolate;
}

/* 背景グラデーション(ウォーム・上品) */
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 75% 85% at 78% 22%, rgba(212,155,58,0.18), transparent 62%),
    radial-gradient(ellipse 50% 55% at 8% 105%, rgba(176,114,17,0.10), transparent 65%),
    var(--bg);
  z-index: -2;
}

/* 右下に大きな肉球(インクスタンプ風)— 控えめに */
.hero::after {
  content: "";
  position: absolute;
  width: 340px; height: 340px;
  right: -70px; bottom: -70px;
  background: var(--accent);
  -webkit-mask: url("../images/paw.svg") center/contain no-repeat;
  mask: url("../images/paw.svg") center/contain no-repeat;
  opacity: 0.045;
  transform: rotate(28deg);
  pointer-events: none;
  z-index: -1;
}

.hero > * { position: relative; z-index: 1; }

.hero-grid {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: 72px;
  align-items: center;
}

.hero-text .eyebrow { margin-bottom: 24px; }

.hero-text h1 {
  font-family: var(--font-jp);
  font-size: clamp(38px, 6vw, 64px);
  font-weight: 700;
  line-height: 1.16;
  letter-spacing: -0.018em;
  margin-bottom: 24px;
  color: var(--ink);
}
.hero-text h1 .accent {
  font-family: "游明朝", "Yu Mincho", "Hiragino Mincho ProN", "ヒラギノ明朝 ProN", serif;
  font-style: normal;
  font-weight: 600;
  font-size: 1.14em;
  color: var(--accent-deep);
  letter-spacing: 0.04em;
}
.hero-text h1 small {
  display: block;
  font-family: var(--font-display);
  font-style: italic;
  font-size: clamp(15px, 1.2vw, 18px);
  font-weight: 500;
  color: var(--text-dim);
  letter-spacing: 0;
  margin-top: 18px;
}
.hero-text > p {
  color: var(--text-mid);
  max-width: 480px;
  font-size: 16px;
  line-height: 1.92;
  margin-bottom: 36px;
}
.hero-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  margin-bottom: 40px;
  padding: 22px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.hero-stats div {
  font-size: 13px;
  padding: 0 22px 0 0;
}
.hero-stats div + div {
  padding-left: 22px;
  border-left: 1px solid var(--line);
}
.hero-stats dt {
  font-family: var(--font-en);
  font-size: 10px;
  letter-spacing: 0.16em;
  color: var(--text-dim);
  text-transform: uppercase;
  margin-bottom: 6px;
  font-weight: 500;
}
.hero-stats dd {
  font-weight: 600;
  color: var(--ink);
  font-size: 14.5px;
}

/* 写真ラッパー */
.hero-photo-wrap {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* figure + stamp を内包する positioning context(stamp が figure 基準で配置される) */
.hero-figure {
  position: relative;
  width: 100%;
  z-index: 1;
}

/* 大きな柔らかい円形 blob */
.hero-blob-main {
  position: absolute;
  width: 92%;
  aspect-ratio: 1;
  top: 50%;
  left: 50%;
  transform: translate(-44%, -50%);
  border-radius: 50%;
  background: radial-gradient(circle at 38% 36%,
    rgba(212,155,58,0.30),
    rgba(212,155,58,0.14) 45%,
    rgba(212,155,58,0.04) 70%,
    transparent 78%);
  filter: blur(2px);
  pointer-events: none;
  z-index: 0;
}

/* 写真フレーム本体 */
.hero-image {
  aspect-ratio: 4 / 5;
  background: var(--bg-elev);
  border-radius: var(--radius-lg);
  overflow: hidden;
  position: relative;
  z-index: 1;
  width: 100%;
  /* アンバーリング枠 + 微妙な傾き */
  box-shadow:
    0 0 0 5px var(--bg),
    0 0 0 6.5px rgba(176,114,17,0.42),
    0 28px 56px rgba(45,37,32,0.18),
    0 8px 16px rgba(45,37,32,0.10);
  transform: rotate(-3.5deg) translateY(-2px);
  transition:
    transform 1s var(--ease),
    box-shadow 1s var(--ease);
}
.hero-image:hover {
  transform: rotate(-1.5deg) translateY(-10px);
  box-shadow:
    0 0 0 5px var(--bg),
    0 0 0 6.5px rgba(176,114,17,0.58),
    0 36px 64px rgba(45,37,32,0.22),
    0 10px 20px rgba(45,37,32,0.13);
}
.hero-image img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 1.4s var(--ease);
}
.hero-image:hover img { transform: scale(1.04); }
.hero-image::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 60%, rgba(45,37,32,0.18));
  pointer-events: none;
}

/* 写真右下の上品な date stamp(旧バッジを置き換え) */
.hero-stamp {
  position: absolute;
  bottom: 12px;
  right: -20px;
  z-index: 2;
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-display);
  font-style: italic;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.02em;
  padding: 12px 18px;
  border-radius: 4px;
  box-shadow: var(--shadow);
  border: 1px solid var(--line);
  text-align: center;
  pointer-events: none;
  transform: rotate(2deg);
  white-space: nowrap;
}
.hero-stamp em {
  display: block;
  font-style: normal;
  font-family: var(--font-en);
  font-size: 9px;
  font-weight: 500;
  color: var(--text-dim);
  letter-spacing: 0.22em;
  text-transform: uppercase;
  margin-bottom: 2px;
}

@media (max-width: 820px) {
  .hero { padding: 56px 0 72px; min-height: 0; }
  .hero-grid { grid-template-columns: 1fr; gap: 48px; }
  .hero-figure { max-width: 480px; margin: 0 auto; }
  .hero-image { aspect-ratio: 1 / 1; }
  /* stamp は figure(=.hero-figure)基準なので位置はそのままでOK。
     画面端からはみ出さないよう右オフセットを縮める */
  .hero-stamp { right: -8px; bottom: 8px; padding: 10px 14px; font-size: 12px; }
}

/* ==========================================================================
   全ページ共通装飾(HOME 以外)
   ========================================================================== */
main:not(:has(.hero)) {
  position: relative;
  isolation: isolate;
  overflow-x: clip;
}
.post-article {
  position: relative;
  isolation: isolate;
  overflow-x: clip;
}
main:not(:has(.hero))::before,
.post-article::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 65% 45% at 92% 0%, rgba(212,155,58,0.13), transparent 56%),
    radial-gradient(ellipse 40% 50% at 4% 100%, rgba(176,114,17,0.07), transparent 62%);
  z-index: -1;
  pointer-events: none;
}
main:not(:has(.hero))::after,
.post-article::after {
  content: "";
  position: absolute;
  width: 300px; height: 300px;
  right: -60px; top: 56px;
  background: var(--accent);
  -webkit-mask: url("../images/paw.svg") center/contain no-repeat;
  mask: url("../images/paw.svg") center/contain no-repeat;
  opacity: 0.05;
  transform: rotate(-22deg);
  pointer-events: none;
  z-index: -1;
}

/* ==========================================================================
   Buttons
   ========================================================================== */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 14px 26px;
  font-family: var(--font-en);
  font-weight: 500;
  font-size: 13.5px;
  letter-spacing: 0.06em;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: transparent;
  color: var(--ink);
  cursor: pointer;
  transition: all var(--dur-fast) ease;
}
.btn:hover {
  border-color: var(--accent);
  color: var(--accent);
}
.btn .arrow {
  display: inline-block;
  transition: transform var(--dur) var(--ease);
}
.btn:hover .arrow {
  transform: translateX(4px);
}
.btn-primary {
  background: var(--accent);
  border-color: var(--accent);
  color: #ffffff;
}
.btn-primary:hover {
  background: var(--accent-deep);
  border-color: var(--accent-deep);
  color: #ffffff;
}

/* ==========================================================================
   Sections
   ========================================================================== */
section { padding: 104px 0; }
@media (max-width: 720px) {
  section { padding: 72px 0; }
}

.section-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 56px;
  padding-bottom: 22px;
  border-bottom: 1px solid var(--line);
}
.section-head .heading-block {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.section-head .eyebrow {
  margin-bottom: 4px;
}
.section-head h2 {
  font-family: var(--font-en);
  font-size: clamp(28px, 4.4vw, 42px);
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 1.1;
  color: var(--ink);
}
/* h2 を section-head の直接子として書く場合 — 縦バーアクセント */
.section-head > h2 {
  display: inline-flex;
  align-items: center;
  gap: 16px;
}
.section-head > h2::before {
  content: "";
  display: inline-block;
  width: 3px;
  height: 0.92em;
  background: var(--accent);
  border-radius: 2px;
  flex-shrink: 0;
  align-self: center;
}
/* heading-block の中に h2 がある場合(eyebrow+h2 構造)はバーなし */
.section-head .heading-block h2 { display: block; }
.section-head .heading-block h2::before { content: none; }
.section-head .more {
  font-family: var(--font-en);
  font-size: 13px;
  letter-spacing: 0.06em;
  color: var(--text-dim);
  white-space: nowrap;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: color var(--dur-fast) ease;
}
.section-head .more:hover { color: var(--accent); }
.section-head .more .arrow {
  transition: transform var(--dur) var(--ease);
}
.section-head .more:hover .arrow { transform: translateX(4px); }

@media (max-width: 560px) {
  .section-head { align-items: baseline; gap: 12px; }
  .section-head h2 { font-size: 26px; }
}

.section-lead {
  font-size: 17px;
  line-height: 1.92;
  color: var(--text-mid);
  max-width: 720px;
  margin-bottom: 56px;
}

/* ==========================================================================
   Profile preview (Home)
   ========================================================================== */
.profile-grid {
  display: grid;
  grid-template-columns: 0.95fr 1fr;
  gap: 88px;
  align-items: center;
}

/* 写真側: スタンプ付き円形フレーム + 二重リング */
.profile-photo {
  position: relative;
  width: 100%;
  max-width: 380px;
  margin: 0 auto;
  aspect-ratio: 1 / 1;
}
.profile-image {
  position: relative;
  width: 100%;
  height: 100%;
  margin: 0;
  border-radius: 50%;
  overflow: hidden;
  background: var(--bg-card);
  box-shadow:
    0 0 0 6px var(--bg),
    0 0 0 7.5px rgba(176,114,17,0.35),
    var(--shadow-lg);
  transition: transform var(--dur) var(--ease);
}
.profile-image::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 50%;
  box-shadow: inset 0 0 0 1px rgba(255,255,255,0.4);
  pointer-events: none;
}
.profile-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 25%;
  display: block;
}
.profile-photo:hover .profile-image { transform: translateY(-2px); }

.profile-stamp {
  position: absolute;
  right: -14px;
  bottom: 18px;
  z-index: 2;
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-en);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.04em;
  padding: 12px 18px;
  border-radius: 4px;
  box-shadow: var(--shadow);
  border: 1px solid var(--line);
  text-align: center;
  pointer-events: none;
  transform: rotate(-3deg);
  white-space: nowrap;
}
.profile-stamp em {
  display: block;
  font-style: normal;
  font-family: var(--font-en);
  font-size: 9px;
  font-weight: 500;
  color: var(--text-dim);
  letter-spacing: 0.22em;
  text-transform: uppercase;
  margin-bottom: 2px;
}

/* テキスト側: リード + 雑誌風リスト */
.profile-content { position: relative; }
.profile-lead {
  font-family: "游明朝", "Yu Mincho", "Hiragino Mincho ProN", serif;
  font-size: clamp(20px, 2.2vw, 26px);
  line-height: 1.7;
  font-weight: 500;
  color: var(--ink);
  letter-spacing: 0.04em;
  margin: 0 0 32px;
  padding-left: 20px;
  border-left: 2px solid var(--accent);
}
.profile-list {
  list-style: none;
  display: grid;
  gap: 0;
  margin: 0;
  padding: 0;
}
.profile-list > div {
  display: grid;
  grid-template-columns: 96px 1fr;
  gap: 24px;
  padding: 16px 0;
  border-bottom: 1px solid var(--line-soft);
  align-items: baseline;
}
.profile-list > div:first-child { padding-top: 4px; }
.profile-list > div:last-child { border-bottom: 0; }
.profile-list dt {
  color: var(--text-dim);
  font-family: var(--font-en);
  font-size: 11px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  font-weight: 600;
}
.profile-list dd {
  color: var(--ink);
  font-size: 15px;
  margin: 0;
  line-height: 1.7;
}
.profile-sub {
  display: inline-block;
  margin-left: 10px;
  color: var(--text-dim);
  font-family: var(--font-display);
  font-style: italic;
  font-size: 13px;
  letter-spacing: 0.02em;
}

/* Profile ページの大きめ版(縦長フォト・大きい文字) */
.profile-grid--featured {
  grid-template-columns: 1fr 1.05fr;
  gap: 96px;
  align-items: center;
}
.profile-photo--portrait {
  max-width: 460px;
  aspect-ratio: 4 / 5;
}
.profile-photo--portrait .profile-image {
  border-radius: var(--radius-lg);
}
.profile-photo--portrait .profile-image::after {
  border-radius: var(--radius-lg);
}
.profile-photo--portrait .profile-image img {
  object-position: center 25%;
}
.profile-photo--portrait .profile-stamp {
  right: -16px;
  bottom: 24px;
}

.profile-list--lg > div {
  grid-template-columns: 130px 1fr;
  gap: 28px;
  padding: 22px 0;
}
.profile-list--lg dt {
  font-size: 12px;
  letter-spacing: 0.22em;
}
.profile-list--lg dd {
  font-size: 17px;
  line-height: 1.75;
}
.profile-list--lg .profile-sub {
  font-size: 14px;
  margin-left: 12px;
}

@media (max-width: 820px) {
  .profile-grid { grid-template-columns: 1fr; gap: 48px; }
  .profile-grid--featured { gap: 56px; }
  .profile-photo { max-width: 320px; }
  .profile-photo--portrait { max-width: 380px; }
  .profile-stamp { right: -8px; bottom: 12px; padding: 10px 14px; font-size: 12px; }
  .profile-lead { font-size: 20px; padding-left: 16px; }
  .profile-list > div { grid-template-columns: 84px 1fr; gap: 16px; padding: 14px 0; }
  .profile-list--lg > div { grid-template-columns: 96px 1fr; gap: 18px; padding: 18px 0; }
  .profile-list--lg dd { font-size: 16px; }
  .profile-sub { display: block; margin-left: 0; margin-top: 2px; }
  .profile-list--lg .profile-sub { display: block; margin-left: 0; margin-top: 4px; }
}

/* ==========================================================================
   Prose / story blocks
   ========================================================================== */
.prose {
  max-width: var(--max-narrow);
  margin-left: auto;
  margin-right: auto;
  font-size: 16px;
  line-height: 1.96;
  color: var(--text);
}
.prose p { margin-bottom: 22px; }
.prose h2 { font-size: 21px; font-weight: 700; margin: 44px 0 14px; color: var(--ink); }
.prose h3 { font-size: 17px; font-weight: 600; margin: 30px 0 10px; color: var(--ink); }

/* Pull quote(エディトリアル装飾) */
.pull-quote {
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 500;
  font-size: clamp(20px, 2.6vw, 28px);
  line-height: 1.5;
  color: var(--ink);
  max-width: var(--max-narrow);
  margin: 56px auto;
  padding: 24px 0 24px 32px;
  border-left: 2px solid var(--accent);
  letter-spacing: -0.005em;
}
.pull-quote .attr {
  display: block;
  font-family: var(--font-en);
  font-style: normal;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.16em;
  color: var(--text-dim);
  text-transform: uppercase;
  margin-top: 14px;
}

/* ==========================================================================
   fact-cards — 連番つき編集カード(プロフィール詳細・特徴紹介などに)
   連番は CSS カウンターで自動生成(<ol> の意味を保ったまま視覚デザイン)
   <ol class="fact-cards">
     <li><h3>...</h3><p>...</p></li>
   </ol>
   ========================================================================== */
.fact-cards {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 22px;
  margin: 0;
  padding: 0;
  counter-reset: fact;
}
.fact-cards li {
  position: relative;
  padding: 32px 28px 30px;
  background: var(--bg-card);
  border: 1px solid var(--line-soft);
  border-radius: var(--radius);
  list-style: none;
  counter-increment: fact;
  transition:
    transform var(--dur) var(--ease),
    border-color var(--dur) var(--ease),
    box-shadow var(--dur) var(--ease);
}
.fact-cards li::marker { content: ""; }
.fact-cards li:hover {
  transform: translateY(-3px);
  border-color: rgba(176,114,17,0.30);
  box-shadow: var(--shadow-lg);
}
.fact-cards li::before {
  content: counter(fact, decimal-leading-zero);
  display: block;
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 600;
  font-size: 30px;
  color: var(--accent);
  margin-bottom: 10px;
  line-height: 1;
  letter-spacing: -0.02em;
}
/* 後方互換: <span class="num"> が残っていてもスタイルは効くが、上の ::before と二重表示にならないよう非表示 */
.fact-cards .num { display: none; }
.fact-cards h3 {
  font-size: 17px;
  font-weight: 600;
  margin-bottom: 12px;
  color: var(--ink);
  letter-spacing: -0.005em;
}
.fact-cards p {
  font-size: 14.5px;
  color: var(--text-mid);
  line-height: 1.82;
  margin: 0;
}
.fact-cards p + p { margin-top: 12px; }

/* fact-cards のバリエーション: アクセント大(より目立たせたい時) */
.fact-cards--accent li {
  background: var(--bg-tint);
  border-color: rgba(176,114,17,0.15);
}

/* ==========================================================================
   stat-strip — 横並びの数値・キーバリュー(reusable)
   ========================================================================== */
.stat-strip {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  margin: 32px 0 0;
  padding: 22px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.stat-strip > div {
  font-size: 13px;
  padding: 0 22px;
  position: relative;
}
.stat-strip > div + div::before {
  content: "";
  position: absolute;
  left: 0;
  top: 4px;
  bottom: 4px;
  width: 1px;
  background: var(--line);
}
.stat-strip dt {
  font-family: var(--font-en);
  font-size: 10px;
  letter-spacing: 0.18em;
  color: var(--text-dim);
  text-transform: uppercase;
  margin-bottom: 6px;
  font-weight: 500;
}
.stat-strip dd {
  font-weight: 600;
  color: var(--ink);
  font-size: 15px;
  letter-spacing: -0.005em;
}
@media (max-width: 480px) {
  .stat-strip { grid-template-columns: 1fr 1fr; gap: 16px 0; }
  .stat-strip > div + div::before { display: none; }
  .stat-strip > div { border-top: 1px solid var(--line); padding-top: 12px; padding-left: 0; padding-right: 0; }
  .stat-strip > div:first-child,
  .stat-strip > div:nth-child(2) { border-top: 0; padding-top: 0; }
}

/* ==========================================================================
   policy-list — 規定・運営方針セクション用の dl(編集番号 + 本文)
   ========================================================================== */
.policy-list {
  display: grid;
  gap: 0;
  margin: 0;
}
.policy-list > div {
  display: grid;
  grid-template-columns: 100px 1fr;
  gap: 36px;
  align-items: start;
  padding: 28px 0;
  border-bottom: 1px solid var(--line);
}
.policy-list > div:last-child { border-bottom: 0; }
.policy-list dt {
  font-family: var(--font-display);
  font-style: italic;
  font-size: 24px;
  font-weight: 600;
  color: var(--accent);
  line-height: 1;
  padding-top: 4px;
  letter-spacing: -0.01em;
}
.policy-list dd {
  margin: 0;
}
.policy-list dd h4 {
  font-size: 17px;
  font-weight: 700;
  color: var(--ink);
  margin: 0 0 10px;
  letter-spacing: -0.005em;
}
.policy-list dd p {
  font-size: 15px;
  line-height: 1.88;
  color: var(--text-mid);
  margin: 0;
}
@media (max-width: 560px) {
  .policy-list > div { grid-template-columns: 1fr; gap: 8px; padding: 24px 0; }
  .policy-list dt { font-size: 22px; padding-top: 0; }
}

/* ==========================================================================
   intro-block — ページ冒頭のリード(短い文 + stat-strip)
   ========================================================================== */
.intro-block {
  max-width: var(--max-narrow);
  margin: 0 auto 56px;
}
.intro-block .lead {
  font-size: 17px;
  line-height: 1.92;
  color: var(--text-mid);
  margin: 0;
}
.intro-block .lead strong { color: var(--ink); font-weight: 600; }

/* ==========================================================================
   Blog post enhancements — 記事内編集パターン
   ========================================================================== */

/* ドロップキャップ:opt-in(.with-dropcap)— 英字始まりの記事のみ。
   日本語スタート記事(「カギ括弧」や漢字始まり)では不自然になるため自動適用しない */
.post-article.with-dropcap > p:first-of-type::first-letter {
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 600;
  float: left;
  font-size: 4.4em;
  line-height: 0.86;
  padding: 8px 12px 0 0;
  color: var(--accent-deep);
  letter-spacing: -0.02em;
}

/* meta line: cat-pill + date + reading-time */
.post-article .meta-line {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
  margin-bottom: 22px;
  font-family: var(--font-en);
  font-size: 12px;
  letter-spacing: 0.1em;
  color: var(--text-dim);
}
.post-article .meta-line .dot {
  width: 3px; height: 3px;
  border-radius: 50%;
  background: currentColor;
  opacity: 0.5;
}
.post-article .meta-line time { letter-spacing: 0.12em; }
.post-article .meta-line .read-time {
  text-transform: uppercase;
  letter-spacing: 0.14em;
}

/* post-summary: 記事冒頭の「この記事のポイント」要点ボックス */
.post-summary {
  background: var(--bg-tint);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 28px 32px 30px;
  margin: 0 0 56px;
}
.post-summary > .label {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-en);
  font-size: 10.5px;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--accent);
  margin: 0 0 18px;
}
.post-summary > .label::before {
  content: "";
  display: inline-block;
  width: 24px; height: 1px;
  background: var(--accent);
  opacity: 0.7;
}
.post-summary ul {
  list-style: none;
  display: grid;
  gap: 10px;
  margin: 0;
  padding: 0;
}
.post-summary li {
  font-size: 15px;
  color: var(--text);
  padding-left: 22px;
  position: relative;
  line-height: 1.74;
}
.post-summary li::before {
  content: "—";
  position: absolute;
  left: 0;
  top: 0;
  color: var(--accent);
  font-family: var(--font-display);
  font-weight: 600;
  font-style: italic;
}
.post-summary li strong { color: var(--ink); font-weight: 600; }
@media (max-width: 560px) {
  .post-summary { padding: 22px 22px 24px; margin-bottom: 40px; }
}

/* 番号付き h2(オプトイン:.post-article.numbered)
   サイベリアンって?のような N 項目記事に */
.post-article.numbered { counter-reset: section; }
.post-article.numbered > h2,
.post-article.numbered section > h2 {
  counter-increment: section;
  display: flex;
  align-items: baseline;
  gap: 16px;
}
.post-article.numbered > h2::before,
.post-article.numbered section > h2::before {
  content: counter(section, decimal-leading-zero);
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 600;
  font-size: 1.5em;
  line-height: 1;
  color: var(--accent);
  letter-spacing: -0.02em;
  flex-shrink: 0;
  border: 0;  /* h2 の border-top と干渉しないよう ::before からは取らない */
}

/* インライン figure with caption(画像にキャプションをつけたい時) */
.post-article figure.inline-figure {
  margin: 36px 0;
  text-align: center;
}
.post-article figure.inline-figure img {
  display: block;
  width: 100%;
  max-width: 100%;
  height: auto;
  border-radius: var(--radius);
  margin: 0 auto;
}
.post-article figure.inline-figure figcaption {
  margin-top: 12px;
  font-family: var(--font-en);
  font-size: 12px;
  letter-spacing: 0.06em;
  color: var(--text-dim);
  font-style: italic;
}
.post-article figure.inline-figure.constrained img {
  max-width: 480px;
}

/* callout box(注意・補足を強調) */
.post-article .callout {
  background: var(--bg-tint);
  border-left: 3px solid var(--accent);
  border-radius: 0 var(--radius) var(--radius) 0;
  padding: 22px 26px;
  margin: 32px 0;
}
.post-article .callout > h4 {
  font-family: var(--font-en);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--accent);
  margin: 0 0 8px;
  border: 0;
  padding-top: 0;
}
.post-article .callout > p {
  font-size: 15px;
  line-height: 1.82;
  color: var(--text);
  margin: 0;
}
.post-article .callout > p + p { margin-top: 10px; }

/* blockquote(本文中の引用) */
.post-article blockquote:not(.pull-quote) {
  margin: 32px 0;
  padding: 12px 0 12px 24px;
  border-left: 2px solid var(--line);
  color: var(--text-mid);
  font-size: 15px;
  font-style: italic;
  line-height: 1.85;
}

/* 関連記事の見出しを少し編集風に */
.related h2 {
  display: inline-flex;
  align-items: center;
  gap: 12px;
}
.related h2::before {
  content: "";
  display: inline-block;
  width: 24px;
  height: 1px;
  background: var(--accent);
  opacity: 0.7;
  flex-shrink: 0;
}

/* ==========================================================================
   Timeline (growth record)
   ========================================================================== */
.timeline {
  display: grid;
  gap: 0;
  position: relative;
}
.timeline-item {
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: 48px;
  align-items: start;
  padding: 40px 0;
  border-bottom: 1px solid var(--line);
}
.timeline-item:last-child { border-bottom: 0; }
.timeline-item .t-img {
  aspect-ratio: 1 / 1;
  border-radius: 50%;
  overflow: hidden;
  background: var(--bg-elev);
  box-shadow: var(--shadow);
  position: relative;
}
.timeline-item .t-img::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 50%;
  box-shadow: inset 0 0 0 1px rgba(176,114,17,0.20);
  pointer-events: none;
}
.timeline-item .t-img img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 1.2s var(--ease);
}
.timeline-item:hover .t-img img { transform: scale(1.05); }
.timeline-item time {
  font-family: var(--font-en);
  font-size: 11.5px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--accent);
  display: block;
  margin-bottom: 10px;
  font-weight: 500;
}
.timeline-item h3 {
  font-size: 21px;
  font-weight: 600;
  margin-bottom: 16px;
  letter-spacing: -0.01em;
  color: var(--ink);
}
.timeline-item p {
  color: var(--text-mid);
  line-height: 1.92;
  font-size: 15.5px;
}
@media (max-width: 720px) {
  .timeline-item { grid-template-columns: 1fr; gap: 18px; padding: 32px 0; }
  .timeline-item .t-img { max-width: 240px; }
}

/* ==========================================================================
   Info table
   ========================================================================== */
.info-table {
  width: 100%;
  max-width: var(--max-narrow);
  margin-left: auto;
  margin-right: auto;
  border-collapse: collapse;
  font-size: 15px;
}
.info-table th, .info-table td {
  padding: 16px 0;
  border-bottom: 1px solid var(--line);
  text-align: left;
  vertical-align: top;
}
.info-table th {
  font-family: var(--font-en);
  font-size: 11.5px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-dim);
  font-weight: 500;
  width: 200px;
}
.info-table td { color: var(--ink); }

/* ==========================================================================
   Step flow(手順フロー図)— how-to 記事の流れを縦に可視化
   ========================================================================== */
.post-article .step-flow {
  list-style: none;
  counter-reset: step;
  max-width: var(--max-narrow);
  margin: 30px auto;
  padding: 0;
}
.post-article .step-flow > li {
  counter-increment: step;
  position: relative;
  display: grid;
  grid-template-columns: 42px 1fr;
  column-gap: 16px;
  margin: 0;
  padding: 0 0 20px;
}
.post-article .step-flow > li:last-child { padding-bottom: 0; }
.post-article .step-flow > li:not(:last-child)::before {
  content: "";
  position: absolute;
  left: 20px;
  top: 46px;
  bottom: 0;
  width: 2px;
  background: var(--line);
}
.post-article .step-flow > li > .step-no {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: var(--bg-card);
  border: 1.5px solid var(--accent);
  color: var(--accent-deep);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 600;
  font-size: 18px;
  position: relative;
  z-index: 1;
}
.post-article .step-flow > li > .step-no::before { content: counter(step); }
.post-article .step-flow .step-body { padding-top: 9px; }
.post-article .step-flow .step-title {
  display: block;
  font-weight: 700;
  color: var(--ink);
  font-size: 16px;
  margin-bottom: 3px;
}
.post-article .step-flow .step-body p {
  margin: 0;
  font-size: 14px;
  line-height: 1.7;
  color: var(--text-mid);
}

/* ==========================================================================
   Author box(記事末の著者プロフィール — E-E-A-T 強化)
   ========================================================================== */
.post-article .author-box {
  display: flex;
  gap: 18px;
  align-items: flex-start;
  max-width: var(--max-narrow);
  margin: 56px auto 0;
  padding: 26px 28px;
  background: var(--bg-tint);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
}
.post-article .author-box .author-mark {
  flex: 0 0 auto;
  width: 54px;
  height: 54px;
  border-radius: 50%;
  background: var(--bg-card);
  border: 1px solid var(--line);
  display: flex;
  align-items: center;
  justify-content: center;
}
.post-article .author-box .author-mark img { width: 28px; height: 28px; opacity: 0.55; }
.post-article .author-box .author-label {
  font-family: var(--font-en);
  font-size: 10.5px;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--accent);
  margin: 0 0 6px;
}
.post-article .author-box .author-name {
  font-weight: 700;
  color: var(--ink);
  font-size: 16px;
  margin: 0 0 6px;
}
.post-article .author-box .author-bio {
  font-size: 14px;
  line-height: 1.8;
  color: var(--text-mid);
  margin: 0 0 10px;
}
.post-article .author-box .author-links {
  margin: 0;
  font-size: 13px;
  display: flex;
  gap: 18px;
  flex-wrap: wrap;
}
.post-article .author-box .author-links a { color: var(--accent); font-family: var(--font-en); letter-spacing: 0.02em; }
@media (max-width: 560px) {
  .post-article .author-box { padding: 22px 20px; gap: 14px; }
}

/* ==========================================================================
   Category page heading + category nav(ブログのカテゴリ別一覧)
   ========================================================================== */
.section-head > .cat-h1 {
  display: inline-flex;
  align-items: center;
  gap: 16px;
  font-family: var(--font-jp);
  font-size: clamp(24px, 3.6vw, 32px);
  font-weight: 700;
  line-height: 1.2;
  color: var(--ink);
  margin: 0;
}
.section-head > .cat-h1::before {
  content: "";
  display: inline-block;
  width: 3px;
  height: 0.92em;
  background: var(--accent);
  border-radius: 2px;
  flex-shrink: 0;
}
.cat-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 0 0 44px;
}
.cat-nav a {
  font-family: var(--font-en);
  font-size: 13px;
  letter-spacing: 0.04em;
  color: var(--text-mid);
  padding: 7px 16px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--bg-card);
  transition: color var(--dur-fast) ease, border-color var(--dur-fast) ease, background var(--dur-fast) ease;
}
.cat-nav a:hover { border-color: var(--accent); color: var(--accent); }
.cat-nav a.is-active { background: var(--accent); border-color: var(--accent); color: #fff; }

/* にほんブログ村 参加バナー(フッター) */
.site-footer .blogmura-link {
  display: inline-block;
  margin-left: 14px;
  vertical-align: middle;
}
.site-footer .blogmura-link img {
  display: block;
  opacity: 0.85;
  transition: opacity var(--dur-fast) ease;
}
.site-footer .blogmura-link:hover img { opacity: 1; }
/* 人気ブログランキング 参加バナー(フッター) */
.site-footer .with2-link { display: inline-block; margin-left: 10px; vertical-align: middle; }
.site-footer .with2-link img { display: block; opacity: 0.85; transition: opacity var(--dur-fast) ease; }
.site-footer .with2-link:hover img { opacity: 1; }

.todo {
  display: inline-block;
  background: var(--accent-tint);
  color: var(--accent-deep);
  font-size: 12px;
  padding: 2px 9px;
  border-radius: 3px;
  font-family: var(--font-en);
  letter-spacing: 0.05em;
}

/* ==========================================================================
   Carousel (gallery + blog preview)
   ========================================================================== */
.carousel {
  position: relative;
  margin: 0 -8px;
}
.carousel-track {
  display: flex;
  gap: 18px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  padding: 8px 8px 28px;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}
.carousel-track::-webkit-scrollbar { display: none; }
.carousel-track > * {
  flex: 0 0 auto;
  scroll-snap-align: start;
}
.carousel-track.gallery-track > .tile {
  width: clamp(220px, 28vw, 300px);
  aspect-ratio: 1 / 1;
  background: var(--bg-card);
  overflow: hidden;
  cursor: pointer;
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  transition: box-shadow var(--dur) var(--ease), transform var(--dur) var(--ease);
}
.carousel-track.gallery-track > .tile:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-3px);
}
.carousel-track.gallery-track > .tile img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.7s var(--ease);
}
.carousel-track.gallery-track > .tile:hover img { transform: scale(1.06); }
.carousel-track.blog-track > .post-card {
  width: clamp(280px, 32vw, 360px);
}
.carousel-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1px solid var(--line);
  background: var(--bg-card);
  color: var(--ink);
  font-size: 22px;
  line-height: 1;
  cursor: pointer;
  z-index: 2;
  box-shadow: var(--shadow);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all var(--dur-fast) ease;
  padding: 0;
  font-family: var(--font-en);
}
.carousel-btn:hover {
  background: var(--accent);
  color: #fff;
  border-color: var(--accent);
}
.carousel-btn.prev { left: -8px; }
.carousel-btn.next { right: -8px; }
.carousel-btn:disabled {
  opacity: 0.32;
  cursor: not-allowed;
}
.carousel-btn:disabled:hover {
  background: var(--bg-card);
  color: var(--ink);
  border-color: var(--line);
}
@media (max-width: 640px) {
  .carousel-btn { width: 36px; height: 36px; font-size: 18px; }
  .carousel-btn.prev { left: 0; }
  .carousel-btn.next { right: 0; }
}

/* ==========================================================================
   Gallery grid
   ========================================================================== */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 10px;
}
.gallery-grid .tile {
  aspect-ratio: 1 / 1;
  background: var(--bg-card);
  overflow: hidden;
  cursor: zoom-in;
  position: relative;
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  transition: box-shadow var(--dur) var(--ease), transform var(--dur) var(--ease);
}
.gallery-grid .tile:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-3px);
}
.gallery-grid .tile img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.7s var(--ease);
}
.gallery-grid .tile:hover img { transform: scale(1.06); }
.gallery-grid .tile.tall { grid-row: span 2; aspect-ratio: 1 / 2; }
.gallery-grid .tile.wide { grid-column: span 2; aspect-ratio: 2 / 1; }

/* ==========================================================================
   Gallery magazine — 3列グリッド(featured 1枚 + std 7枚)
   ========================================================================== */
.gallery-magazine {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}
.gallery-magazine .tile {
  position: relative;
  background: var(--bg-card);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  cursor: zoom-in;
  overflow: hidden;
  aspect-ratio: 4 / 3;
  transition: transform var(--dur) var(--ease), box-shadow var(--dur) var(--ease);
}
.gallery-magazine .tile:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}
.gallery-magazine .tile img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.75s var(--ease);
}
.gallery-magazine .tile:hover img { transform: scale(1.05); }

/* feature: 横ワイド(span 2)、ヒーロー的存在感だが過大ではない */
.gallery-magazine .tile.feature { grid-column: span 2; aspect-ratio: 16 / 10; }

/* feature: 下部にグラデを敷いてキャプションを白文字で */
.gallery-magazine .tile.feature::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to top,
    rgba(50, 30, 5, 0.70) 0%,
    rgba(50, 30, 5, 0.20) 40%,
    rgba(50, 30, 5, 0) 70%
  );
  pointer-events: none;
}
.gallery-magazine .tile .tile-cap {
  position: absolute;
  left: 20px;
  right: 20px;
  bottom: 14px;
  color: #fff;
  text-shadow: 0 1px 4px rgba(0, 0, 0, 0.5);
  z-index: 2;
}
.gallery-magazine .cap-label {
  display: inline-block;
  font-family: var(--font-en);
  font-size: 10px;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: #f6d495;
  margin-bottom: 3px;
}
.gallery-magazine .cap-title {
  display: block;
  font-size: 15px;
  font-weight: 600;
  line-height: 1.4;
}
.gallery-magazine .cap-serif {
  display: block;
  font-family: 'Cormorant Garamond', serif;
  font-style: italic;
  font-size: 14px;
  color: #f6d495;
  margin-bottom: 4px;
  letter-spacing: 0.02em;
  opacity: 0.95;
}
@media (min-width: 720px) {
  .gallery-magazine .cap-title { font-size: 18px; }
  .gallery-magazine .cap-serif { font-size: 17px; }
}

/* Gallery editorial CTA — ページ末尾、控えめにエレガント */
.gallery-cta {
  margin-top: 72px;
  padding: 48px 16px 8px;
  text-align: center;
  border-top: 1px solid rgba(176, 114, 17, 0.18);
}
.gallery-cta .eyebrow {
  font-family: 'Cormorant Garamond', serif;
  font-style: italic;
  font-size: clamp(22px, 3.6vw, 28px);
  color: var(--accent);
  display: block;
  margin-bottom: 10px;
  line-height: 1.3;
}
.gallery-cta p {
  color: var(--text);
  font-size: 15px;
  max-width: 520px;
  margin: 0 auto 28px;
  line-height: 1.85;
}
.gallery-cta .links {
  display: inline-flex;
  gap: 28px;
  flex-wrap: wrap;
  justify-content: center;
}
.gallery-cta .links a {
  font-family: var(--font-en);
  letter-spacing: 0.18em;
  text-transform: uppercase;
  font-size: 12px;
  color: var(--text);
  padding-bottom: 3px;
  border-bottom: 1px solid var(--accent);
  transition: color var(--dur) var(--ease), border-color var(--dur) var(--ease);
}
.gallery-cta .links a:hover {
  color: var(--accent);
}

/* tablet: 2列 */
@media (max-width: 1023px) and (min-width: 641px) {
  .gallery-magazine { grid-template-columns: repeat(2, 1fr); }
  .gallery-magazine .tile.feature { grid-column: span 2; aspect-ratio: 16 / 9; }
}

/* mobile: 1列 */
@media (max-width: 640px) {
  .gallery-magazine { grid-template-columns: 1fr; gap: 10px; }
  .gallery-magazine .tile,
  .gallery-magazine .tile.feature {
    grid-column: span 1;
    aspect-ratio: 4 / 3;
  }
  .gallery-magazine .tile-cap { left: 16px; right: 16px; bottom: 12px; }
  .gallery-magazine .cap-title { font-size: 14px; }
}

/* ==========================================================================
   Blog list / post-card
   ========================================================================== */
.post-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 36px;
}

/* Featured post card(blog 一覧の先頭記事に使う大型カード)
   <a class="post-card post-card--featured"> */
.post-card--featured {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: 1fr 1.05fr;
  gap: 0;
  background: var(--bg-card);
  max-width: 960px;
  margin: 0 auto 36px;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow);
  position: relative;
}
.post-card--featured::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--accent);
  z-index: 2;
}
.post-card--featured .thumb {
  aspect-ratio: 1 / 1;
  border-radius: 0;
  height: 100%;
  min-height: 0;
}
.post-card--featured .thumb::after { content: none; }
.post-card--featured .body {
  padding: 56px 52px 48px;
  justify-content: center;
  gap: 0;
}
.post-card--featured .featured-tag {
  display: inline-block;
  font-family: var(--font-en);
  font-size: 10.5px;
  font-weight: 600;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 14px;
}
.post-card--featured .cat-pill {
  align-self: flex-start;
  margin-bottom: 14px;
}
.post-card--featured time {
  font-size: 12px;
  letter-spacing: 0.16em;
  margin: 0 0 12px !important;
}
.post-card--featured h3 {
  font-family: var(--font-jp);
  font-size: 26px;
  line-height: 1.45;
  font-weight: 700;
  margin: 0 0 18px;
  letter-spacing: -0.005em;
}
.post-card--featured p {
  font-size: 14.5px;
  line-height: 1.85;
  color: var(--text-mid);
  margin-bottom: 24px;
}
.post-card--featured .read-more {
  font-size: 12px;
  letter-spacing: 0.18em;
}
@media (max-width: 820px) {
  .post-card--featured {
    grid-template-columns: 1fr;
    max-width: 540px;
  }
  .post-card--featured .thumb { aspect-ratio: 4/5; }
  .post-card--featured .body { padding: 32px 28px 36px; }
  .post-card--featured h3 { font-size: 21px; }
}
.post-card {
  background: var(--bg-card);
  border: 1px solid var(--line-soft);
  border-radius: var(--radius);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  position: relative;
  transition:
    transform var(--dur) var(--ease),
    border-color var(--dur) var(--ease),
    box-shadow var(--dur) var(--ease);
  box-shadow: var(--shadow-sm);
}
.post-card:hover {
  transform: translateY(-4px);
  border-color: rgba(176,114,17,0.35);
  color: var(--ink);
  box-shadow: var(--shadow-lg);
}
.post-card .thumb {
  aspect-ratio: 16 / 10;
  background: var(--bg-elev);
  overflow: hidden;
  position: relative;
}
.post-card .thumb img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.9s var(--ease);
}
.post-card:hover .thumb img { transform: scale(1.04); }
.post-card .thumb::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 70%, rgba(45,37,32,0.20));
  pointer-events: none;
  opacity: 0;
  transition: opacity var(--dur) var(--ease);
}
.post-card:hover .thumb::after { opacity: 1; }
.post-card .body {
  padding: 26px 26px 30px;
  display: flex;
  flex-direction: column;
  flex: 1;
}
.post-card time {
  display: block;
  font-family: var(--font-en);
  font-size: 11.5px;
  letter-spacing: 0.14em;
  color: var(--text-dim);
  margin-top: 14px;
}
.post-card h3 {
  font-size: 17.5px;
  font-weight: 600;
  margin: 10px 0 12px;
  line-height: 1.42;
  color: var(--ink);
  letter-spacing: -0.005em;
}
.post-card p {
  font-size: 14px;
  color: var(--text-mid);
  line-height: 1.72;
  margin: 0 0 18px;
}
.post-card .read-more {
  margin-top: auto;
  font-family: var(--font-en);
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent);
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 500;
}
.post-card .read-more .arrow {
  transition: transform var(--dur) var(--ease);
}
.post-card:hover .read-more .arrow { transform: translateX(4px); }

/* ==========================================================================
   Breadcrumbs
   ========================================================================== */
.breadcrumbs {
  font-family: var(--font-en);
  font-size: 12px;
  letter-spacing: 0.06em;
  color: var(--text-dim);
  padding: 28px 0 0;
}
.breadcrumbs a { color: var(--text-dim); }
.breadcrumbs a:hover { color: var(--accent); }
.breadcrumbs .sep { margin: 0 10px; opacity: 0.5; }

/* ==========================================================================
   Post category & tags
   ========================================================================== */
.cat-pill {
  display: inline-block;
  padding: 4px 12px;
  background: var(--accent-tint);
  color: var(--accent-deep);
  font-family: var(--font-en);
  font-size: 10.5px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  border-radius: 999px;
  font-weight: 500;
}
.cat-pill + .cat-pill { margin-left: 6px; }

.post-tags {
  margin: 60px 0 0;
  padding: 32px 0 0;
  border-top: 1px solid var(--line);
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
  list-style: none;
}
.post-tags li {
  list-style: none;
  display: inline-flex;
  align-items: center;
}
.post-tags li::marker { content: ""; }
.post-tags .label {
  font-family: var(--font-en);
  font-size: 11.5px;
  line-height: 1;
  letter-spacing: 0.12em;
  color: var(--text-dim);
  text-transform: uppercase;
  margin-right: 8px;
  padding: 5px 0;
  font-weight: 500;
}
.post-tags .tag {
  font-size: 13px;
  line-height: 1;
  color: var(--text-mid);
  padding: 6px 14px;
  border: 1px solid var(--line);
  border-radius: 999px;
  transition: all var(--dur-fast) ease;
}
.post-tags .tag:hover {
  color: var(--accent);
  border-color: var(--accent);
  background: var(--accent-tint);
}

/* ==========================================================================
   Related posts
   ========================================================================== */
.related {
  margin-top: 88px;
  padding-top: 52px;
  border-top: 1px solid var(--line);
}
.related h2 {
  font-family: var(--font-en);
  font-size: 13px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--text-dim);
  margin-bottom: 28px;
  font-weight: 500;
}

/* ==========================================================================
   Post (article) — 全幅背景 + パディングで本文中央寄せ
   ========================================================================== */
.post-article {
  max-width: none;
  padding-top: 64px;
  padding-bottom: 96px;
  padding-left: max(32px, calc((100% - 880px) / 2));
  padding-right: max(32px, calc((100% - 880px) / 2));
}
.post-article .meta {
  font-family: var(--font-en);
  letter-spacing: 0.12em;
  font-size: 11.5px;
  color: var(--accent);
  margin-bottom: 18px;
  text-transform: uppercase;
  font-weight: 500;
}
.post-article h1 {
  font-size: clamp(28px, 4.2vw, 42px);
  font-weight: 700;
  line-height: 1.28;
  margin-bottom: 36px;
  letter-spacing: -0.018em;
  color: var(--ink);
}
.post-article .lead-image {
  aspect-ratio: 16 / 10;
  margin: 0 0 48px;
  background: var(--bg-card);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow);
}
.post-article > p { margin-bottom: 26px; font-size: 16px; line-height: 1.92; color: var(--text); }
.post-article > p:first-of-type:not(.meta) {
  /* リード段落 — やや大きめ */
  font-size: 17px;
  color: var(--text);
  line-height: 1.92;
}
.post-article h2 {
  font-size: 22.5px;
  font-weight: 700;
  margin: 56px 0 18px;
  padding-top: 36px;
  border-top: 1px solid var(--line);
  letter-spacing: -0.01em;
  color: var(--ink);
}
.post-article h3 {
  font-size: 17.5px;
  font-weight: 600;
  margin: 32px 0 10px;
  color: var(--ink);
}
.post-article ul, .post-article ol {
  margin: 0 0 26px 1.4em;
  font-size: 16px;
  line-height: 1.92;
}
.post-article li { margin-bottom: 8px; }
.post-article a {
  color: var(--accent);
  border-bottom: 1px solid rgba(176,114,17,0.30);
  transition: border-color var(--dur-fast) ease;
}
.post-article a:hover { border-bottom-color: var(--accent); }
.post-article strong { color: var(--ink); font-weight: 700; }
.post-article img.inline {
  display: block;
  width: 100%;
  max-width: 100%;
  height: auto;
  margin: 36px auto;
  border-radius: var(--radius);
}
.post-back {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-top: 36px;
  font-family: var(--font-en);
  font-size: 13px;
  color: var(--text-dim);
  transition: color var(--dur-fast) ease;
}
.post-back:hover { color: var(--accent); }
.post-back .arrow {
  transition: transform var(--dur) var(--ease);
}
.post-back:hover .arrow { transform: translateX(-4px); }

/* ==========================================================================
   Footer — シンプルな 1 行
   ========================================================================== */
.site-footer {
  border-top: 1px solid var(--line);
  padding: 64px 0 48px;
  margin-top: 96px;
  color: var(--text-dim);
  font-size: 13px;
  background: var(--bg-elev);
}
.site-footer .inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
}
.site-footer .copy {
  font-family: var(--font-en);
  letter-spacing: 0.05em;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.site-footer .copy::before {
  content: "";
  display: inline-block;
  width: 14px; height: 14px;
  background: var(--accent);
  -webkit-mask: url("../images/paw.svg") center/contain no-repeat;
  mask: url("../images/paw.svg") center/contain no-repeat;
  opacity: 0.7;
}
.site-footer a { transition: color var(--dur-fast) ease; }
.site-footer nav,
.site-footer nav a {
  overflow-wrap: normal;
  word-break: keep-all;
  white-space: nowrap;
}
@media (max-width: 560px) {
  .site-footer .inner { flex-direction: column; text-align: center; }
  .site-footer nav { flex-wrap: wrap; justify-content: center; gap: 16px 20px !important; }
}

/* ==========================================================================
   Lightbox
   ========================================================================== */
.lightbox {
  position: fixed;
  inset: 0;
  background: rgba(26, 22, 18, 0.94);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 100;
  padding: 24px;
  opacity: 0;
  transition: opacity var(--dur) ease;
}
.lightbox.open {
  display: flex;
  opacity: 1;
}
.lightbox img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  border-radius: var(--radius);
  animation: lightbox-in var(--dur-slow) var(--ease-out);
}
@keyframes lightbox-in {
  from { opacity: 0; transform: scale(0.96); }
  to { opacity: 1; transform: scale(1); }
}
.lightbox button {
  position: absolute;
  background: rgba(0,0,0,0.5);
  border: 1px solid rgba(255,255,255,0.2);
  color: #fff;
  width: 48px; height: 48px;
  border-radius: 50%;
  cursor: pointer;
  font-size: 22px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background var(--dur-fast) ease, border-color var(--dur-fast) ease;
}
.lightbox button:hover {
  background: rgba(0,0,0,0.7);
  border-color: rgba(255,255,255,0.4);
}
.lightbox .close { top: 24px; right: 24px; }
.lightbox .prev { left: 24px; top: 50%; transform: translateY(-50%); }
.lightbox .next { right: 24px; top: 50%; transform: translateY(-50%); }

/* ==========================================================================
   Reveal animations(スクロールフェードイン)
   .reveal-up: JS で .is-visible が付くと上から滑らかに表示
   ========================================================================== */
.reveal-up {
  opacity: 0;
  transform: translateY(28px);
  transition:
    opacity 0.9s var(--ease-out),
    transform 0.9s var(--ease-out);
}
.reveal-up.is-visible {
  opacity: 1;
  transform: translateY(0);
}
.reveal-up[data-delay="1"] { transition-delay: 0.08s; }
.reveal-up[data-delay="2"] { transition-delay: 0.16s; }
.reveal-up[data-delay="3"] { transition-delay: 0.24s; }
.reveal-up[data-delay="4"] { transition-delay: 0.32s; }

/* placeholder fallback */
.placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%; height: 100%;
  color: var(--text-dim);
  font-family: var(--font-en);
  font-size: 12px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

/* paw-accent(タイトル末などに使う場合の小型肉球) */
.paw-accent {
  display: inline-block;
  width: 18px;
  height: 18px;
  background: var(--accent);
  -webkit-mask: url("../images/paw.svg") center/contain no-repeat;
  mask: url("../images/paw.svg") center/contain no-repeat;
  vertical-align: middle;
  opacity: 0.85;
}

/* ==========================================================================
   Notebook — 写真+手書きノート(Instagram の手書き付き写真を取り込む)
   写真本体に文字が焼き込まれていることを前提に、サイト側は素直な額装に徹する
   ========================================================================== */
.notebook-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(360px, 1fr));
  gap: 64px 40px;
  max-width: 1200px;
  margin: 0 auto;
}

.notebook-item {
  margin: 0;
}

.notebook-item img {
  width: 100%;
  height: auto;
  border-radius: var(--radius);
  background: var(--bg-card);
  display: block;
  box-shadow: var(--shadow-sm);
}

.notebook-item figcaption {
  margin-top: 16px;
  font-size: 13.5px;
  line-height: 1.78;
  color: var(--text-dim);
}

.notebook-item figcaption time {
  font-family: var(--font-en);
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--text-dim);
  margin-right: 12px;
}

.notebook-item figcaption code {
  font-size: 12px;
  background: var(--bg-tint);
  padding: 1px 6px;
  border-radius: 3px;
  color: var(--text-mid);
}

@media (max-width: 720px) {
  .notebook-list {
    grid-template-columns: 1fr;
    gap: 48px;
    max-width: 560px;
  }
}
