/* ============================================================
   宇宙カウンセラーすずか — site stylesheet
   ============================================================ */

/* ===== Variables ===== */
:root {
  --bg: #F4ECEC;
  --bg-alt: #ECE0E0;
  --ink: #1A1416;
  --ink-soft: #3A3034;
  --line: #C9B5B3;
  --accent: #8C5263;
  --accent-rose: #C28A9A;
  --accent-rose-light: #E6C2CC;
  --accent-blue: #8FA5BD;
  --accent-blue-dark: #6E859D;
  --serif-jp: 'Shippori Mincho', 'Yu Mincho', serif;
  --sans-jp: 'Noto Sans JP', 'Hiragino Sans', sans-serif;
  --serif-en: 'EB Garamond', serif;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: var(--sans-jp);
  font-weight: 400;
  /* 上端=下端 同色。中央へ向かって計算で濃淡変化（symmetric U-curve） */
  background:
    linear-gradient(180deg,
      #FFFCFB 0%,
      #FCF6F5 12%,
      #F6EEED 28%,
      #F0E5E4 50%,
      #F6EEED 72%,
      #FCF6F5 88%,
      #FFFCFB 100%
    ) no-repeat fixed;
  background-color: #FFFCFB;
  background-size: 100% 100%;
  color: var(--ink);
  line-height: 1.9;
  font-size: 17px;
  letter-spacing: 0.04em;
  opacity: 0;
  animation: fadeIn 1s ease forwards;
}

@keyframes fadeIn { to { opacity: 1; } }

/* ===== Navigation ===== */
nav.global {
  position: fixed;
  top: 0; left: 0; right: 0;
  padding: 12px 36px;
  background: rgba(241, 240, 236, 0.78);
  backdrop-filter: blur(14px) saturate(120%);
  -webkit-backdrop-filter: blur(14px) saturate(120%);
  z-index: 100;
  display: flex;
  align-items: center;
  gap: 28px;
}
nav.global .brand {
  font-family: var(--serif-jp);
  font-weight: 500;
  font-size: 16px;
  letter-spacing: 0.3em;
  color: var(--ink);
  text-decoration: none;
  transition: color 0.4s;
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  gap: 10px;
}
nav.global .brand-mark {
  width: 22px;
  height: 22px;
  display: block;
  flex-shrink: 0;
}
nav.global .brand:hover { color: var(--accent); }
nav.global ul {
  list-style: none;
  display: flex;
  gap: 32px;
  margin-left: auto;
}
nav.global ul a {
  color: var(--ink);
  text-decoration: none;
  font-family: var(--serif-jp);
  font-size: 13.5px;
  letter-spacing: 0.25em;
  transition: color 0.4s;
}
nav.global ul a:hover { color: var(--accent); }

nav.global .nav-actions {
  display: flex;
  gap: 10px;
  flex-shrink: 0;
}
nav.global .nav-btn {
  display: inline-block;
  padding: 8px 20px;
  border: 1px solid;
  border-radius: 999px;
  text-decoration: none;
  font-family: var(--serif-jp);
  font-size: 12px;
  letter-spacing: 0.22em;
  white-space: nowrap;
  transition: all 0.3s;
}
nav.global .nav-btn-outline {
  border-color: var(--ink-soft);
  color: var(--ink);
  background: transparent;
}
nav.global .nav-btn-outline:hover {
  border-color: var(--ink);
  background: rgba(15, 15, 14, 0.04);
}
nav.global .nav-btn-line {
  border-color: var(--accent-blue);
  background: var(--accent-blue);
  color: #fff;
}
nav.global .nav-btn-line:hover {
  background: var(--accent-blue-dark);
  border-color: var(--accent-blue-dark);
  color: #fff;
}

/* ===== Floating LINE CTA ===== */
.cta-float {
  position: fixed;
  bottom: 20px;
  right: 20px;
  z-index: 200;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 24px;
  border-radius: 999px;
  background: var(--accent-blue);
  color: #fff;
  text-decoration: none;
  font-family: var(--serif-jp);
  font-size: 12.5px;
  letter-spacing: 0.28em;
  box-shadow: 0 8px 24px rgba(15, 15, 14, 0.16);
  transition: all 0.3s ease;
}
.cta-float:hover {
  background: var(--accent-blue-dark);
  transform: translateY(-2px);
  box-shadow: 0 12px 28px rgba(15, 15, 14, 0.22);
}

/* ===== Sections (home page) ===== */
section {
  padding: 56px 48px;
}
.container {
  max-width: 880px;
  margin: 0 auto;
}
.section-no {
  font-family: var(--serif-en);
  font-style: italic;
  font-size: 13px;
  color: var(--accent);
  letter-spacing: 0.35em;
  display: block;
  margin-bottom: 12px;
}
.section-title {
  font-family: var(--serif-jp);
  font-weight: 600;
  font-size: 32px;
  letter-spacing: 0.12em;
  line-height: 1.55;
  margin-bottom: 24px;
  color: var(--ink);
}

/* ===== Section tones: 大コスモス → 小コスモス → 小星 → 大星 への旅 ===== */
/* 透かしは左右の縁にのみ配置、中央のテキスト領域はクリア */
.tone-cosmos-large,
.tone-cosmos-small,
.tone-star-small,
.tone-star-large {
  background-repeat: repeat-y, repeat-y;
  background-position: left top, right top;
}
.tone-cosmos-large {
  background-image:
    url('../images/cosmos-bloom.svg'),
    url('../images/cosmos-bloom.svg');
  background-size: 380px auto, 380px auto;
}
.tone-cosmos-small {
  background-image:
    url('../images/cosmos-bloom.svg'),
    url('../images/cosmos-bloom.svg');
  background-size: 220px auto, 220px auto;
}
.tone-star-small {
  background-image:
    url('../images/cosmos-stars.svg'),
    url('../images/cosmos-stars.svg');
  background-size: 220px auto, 220px auto;
}
.tone-star-large {
  background-image:
    url('../images/cosmos-stars.svg'),
    url('../images/cosmos-stars.svg');
  background-size: 380px auto, 380px auto;
}

/* ===== Hero avatar ===== */
.hero-avatar {
  margin: 24px auto 0;
  width: 110px;
  height: 110px;
  border-radius: 50%;
  overflow: hidden;
  background: rgba(241, 240, 236, 0.6);
  border: 1px solid rgba(15, 15, 14, 0.18);
  box-shadow: 0 6px 20px rgba(15, 15, 14, 0.12);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  display: block;
}
.hero-avatar img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 32%;
}

/* ===== Image bands (flowers) ===== */
.image-band {
  margin: 0;
  width: 100%;
  overflow: hidden;
  position: relative;
}
.image-band img {
  display: block;
  width: 100%;
  height: 260px;
  object-fit: cover;
  object-position: center;
  filter: saturate(0.92) contrast(0.98);
}
.image-band::before,
.image-band::after {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  height: 50px;
  pointer-events: none;
  z-index: 2;
}
.image-band::before { top: 0; }
.image-band::after  { bottom: 0; }
.image-band[data-top="bg"]::before    { background: linear-gradient(180deg, var(--bg) 0%, rgba(241,240,236,0) 100%); }
.image-band[data-top="alt"]::before   { background: linear-gradient(180deg, var(--bg-alt) 0%, rgba(229,228,223,0) 100%); }
.image-band[data-bottom="bg"]::after  { background: linear-gradient(0deg,   var(--bg) 0%, rgba(241,240,236,0) 100%); }
.image-band[data-bottom="alt"]::after { background: linear-gradient(0deg,   var(--bg-alt) 0%, rgba(229,228,223,0) 100%); }

/* ===== Hero ===== */
.hero {
  position: relative;
  min-height: 80vh;
  padding-top: 120px;
  padding-bottom: 60px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  overflow: hidden;
  background: var(--bg);
}
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: url('../../images/scenes/scene_06.jpg');
  background-size: cover;
  background-position: center 28%;
  filter: saturate(0.9) contrast(0.96);
  z-index: 0;
}
.hero::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg,
    rgba(255, 252, 251, 1.00) 0%,
    rgba(255, 252, 251, 1.00) 14%,
    rgba(255, 252, 251, 0.88) 24%,
    rgba(255, 252, 251, 0.50) 38%,
    rgba(255, 252, 251, 0.22) 56%,
    rgba(255, 252, 251, 0.18) 72%,
    rgba(252, 246, 245, 0.40) 86%,
    rgba(246, 238, 237, 0.85) 96%,
    rgba(246, 238, 237, 1.00) 100%);
  z-index: 1;
  pointer-events: none;
}
.hero .container {
  position: relative;
  z-index: 2;
  max-width: 880px;
}
.hero .seal { margin-bottom: 40px; color: var(--accent); }
.hero .role-en {
  font-family: var(--serif-en);
  font-style: italic;
  font-size: 13px;
  letter-spacing: 0.4em;
  color: var(--ink-soft);
  margin-bottom: 16px;
  text-transform: uppercase;
}
.hero h1 {
  font-family: var(--serif-jp);
  font-weight: 600;
  font-size: 50px;
  letter-spacing: 0.12em;
  line-height: 1.55;
  margin-bottom: 24px;
  color: var(--ink);
  text-shadow: 0 1px 18px rgba(241, 240, 236, 0.78), 0 0 2px rgba(241, 240, 236, 0.6);
}
.hero .opening {
  font-family: var(--serif-jp);
  font-size: 18px;
  font-weight: 400;
  letter-spacing: 0.1em;
  line-height: 2.1;
  max-width: 660px;
  color: var(--ink);
  text-shadow: 0 1px 12px rgba(241, 240, 236, 0.85);
}
.hero .signature {
  margin-top: 32px;
  font-family: var(--serif-jp);
  font-size: 14px;
  letter-spacing: 0.4em;
  color: var(--ink);
  text-shadow: 0 1px 10px rgba(241, 240, 236, 0.85);
}

/* ===== Message ===== */
.message blockquote {
  font-family: var(--serif-jp);
  font-size: 21px;
  font-weight: 400;
  line-height: 2.2;
  letter-spacing: 0.1em;
  padding: 24px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  position: relative;
  color: var(--ink);
}
.message blockquote::before {
  content: '"';
  font-family: var(--serif-en);
  font-style: italic;
  font-size: 72px;
  color: var(--accent);
  position: absolute;
  top: -6px;
  left: -32px;
  line-height: 1;
  opacity: 0.5;
}
.message .role-def {
  font-family: var(--serif-jp);
  font-size: 21px;
  font-weight: 400;
  line-height: 2.2;
  letter-spacing: 0.1em;
  color: var(--ink);
  margin-top: 28px;
}
.message-figure {
  margin: 40px auto 8px;
  max-width: 640px;
  text-align: center;
}
.message-figure img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 6px;
  box-shadow: 0 2px 18px rgba(0,0,0,0.08);
}
.message-figure figcaption {
  font-family: var(--serif-jp);
  font-size: 14.5px;
  letter-spacing: 0.08em;
  color: var(--accent);
  margin-top: 12px;
  line-height: 1.8;
}
.message-figure .figcaption-aside {
  display: block;
  margin-top: 4px;
  font-size: 13px;
  opacity: 0.85;
}
.message-figure .figcaption-source {
  display: block;
  margin-top: 6px;
  font-size: 12.5px;
  letter-spacing: 0.05em;
  opacity: 0.65;
}
@media (max-width: 640px) {
  .message-figure { margin: 28px 0 4px; }
  .message-figure figcaption { font-size: 13px; }
  .message-figure .figcaption-aside { font-size: 12px; }
  .message-figure .figcaption-source { font-size: 11.5px; }
}

/* ===== Match / no match ===== */
.match-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
}
.match-col h3 {
  font-family: var(--serif-jp);
  font-weight: 500;
  font-size: 19px;
  letter-spacing: 0.12em;
  margin-bottom: 16px;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--line);
  display: flex;
  align-items: baseline;
  gap: 14px;
}
.match-col h3 .marker {
  font-family: var(--serif-en);
  font-size: 24px;
  color: var(--accent);
  font-weight: 400;
}
.match-col ul {
  list-style: none;
}
.match-col li {
  padding: 12px 0;
  font-size: 15.5px;
  line-height: 1.85;
  color: var(--ink);
  position: relative;
  padding-left: 22px;
  border-bottom: 1px dashed var(--line);
}
.match-col li::before {
  content: '—';
  position: absolute;
  left: 0;
  top: 12px;
  color: var(--accent);
  font-family: var(--serif-en);
}
.match-col li:last-child { border-bottom: none; }

/* ===== Timeline ===== */
.timeline { position: relative; }
.timeline-item {
  display: grid;
  grid-template-columns: 140px 1fr;
  gap: 32px;
  padding: 18px 0;
  border-top: 1px solid var(--line);
}
.timeline-item:last-child { border-bottom: 1px solid var(--line); }
.timeline-period {
  font-family: var(--serif-en);
  font-style: italic;
  font-size: 14px;
  letter-spacing: 0.2em;
  color: var(--accent);
  padding-top: 4px;
}
.timeline-body {
  font-size: 16px;
  line-height: 1.9;
  color: var(--ink);
  letter-spacing: 0.05em;
}

/* ===== Menu ===== */
.menu-list { list-style: none; }
.menu-item {
  padding: 24px 0;
  border-top: 1px solid var(--line);
}
.menu-item:last-child { border-bottom: 1px solid var(--line); }
.menu-name {
  font-family: var(--serif-jp);
  font-weight: 600;
  font-size: 22px;
  letter-spacing: 0.1em;
  margin-bottom: 8px;
  color: var(--ink);
}
.menu-desc {
  font-size: 15.5px;
  color: var(--ink);
  line-height: 1.9;
  margin-bottom: 10px;
  max-width: 720px;
}
.menu-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  font-family: var(--serif-en);
  font-style: italic;
  font-size: 13px;
  color: var(--accent);
  letter-spacing: 0.1em;
}
.menu-note {
  margin-top: 28px;
  padding: 18px 22px;
  font-size: 14px;
  color: var(--ink-soft);
  line-height: 1.95;
  border: 1px solid var(--line);
  background: rgba(241, 240, 236, 0.5);
  letter-spacing: 0.05em;
}

/* ===== CTA ===== */
.cta {
  text-align: center;
  padding: 72px 48px;
}
.cta .container { max-width: 600px; }
.cta-text {
  font-family: var(--serif-jp);
  font-size: 19px;
  font-weight: 400;
  letter-spacing: 0.12em;
  line-height: 2;
  margin-bottom: 28px;
  color: var(--ink);
}
.cta-button {
  display: inline-block;
  padding: 16px 48px;
  border: 1.5px solid var(--accent-blue);
  border-radius: 999px;
  background: var(--accent-blue);
  color: #fff;
  text-decoration: none;
  font-family: var(--serif-jp);
  font-size: 15px;
  font-weight: 500;
  letter-spacing: 0.3em;
  transition: all 0.4s;
}
.cta-button:hover {
  background: var(--accent-blue-dark);
  border-color: var(--accent-blue-dark);
  color: #fff;
}
.cta-note {
  margin-top: 24px;
  font-size: 13px;
  color: var(--ink-soft);
  letter-spacing: 0.1em;
  line-height: 1.9;
}
.cta-divider {
  width: 56px;
  height: 1px;
  background: var(--line);
  margin: 44px auto 24px;
}
.cta-subtext {
  font-family: var(--serif-jp);
  font-size: 15.5px;
  font-weight: 400;
  letter-spacing: 0.1em;
  line-height: 2;
  color: var(--ink);
  margin-bottom: 20px;
}
.social-list {
  list-style: none;
  display: flex;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
}
.social-link {
  display: inline-block;
  padding: 10px 28px;
  border: 1px solid var(--ink-soft);
  border-radius: 999px;
  color: var(--ink);
  text-decoration: none;
  font-family: var(--serif-en);
  font-style: italic;
  font-size: 14.5px;
  letter-spacing: 0.2em;
  transition: all 0.3s;
}
.social-link:hover {
  border-color: var(--ink);
  color: var(--ink);
  background: rgba(15, 15, 14, 0.04);
}

/* ===== Profile ===== */
.profile-statement {
  font-family: var(--serif-jp);
  font-size: 19px;
  font-weight: 400;
  line-height: 2.2;
  letter-spacing: 0.1em;
  padding: 24px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  color: var(--ink);
}
.profile-grid {
  display: grid;
  grid-template-columns: minmax(280px, 360px) 1fr;
  gap: 36px;
  margin-top: 28px;
  align-items: start;
}
.profile-instagram {
  width: 100%;
  background: #fff;
  border: 1px solid var(--line);
  overflow: hidden;
  border-radius: 18px;
}
.profile-instagram .instagram-media {
  border: 0 !important;
  border-radius: 0 !important;
  box-shadow: none !important;
  margin: 0 !important;
  max-width: 100% !important;
  width: 100% !important;
}
.profile-facts {
  margin: 0;
}
.profile-row {
  display: grid;
  grid-template-columns: 200px 1fr;
  gap: 24px;
  padding: 14px 0;
  border-bottom: 1px dashed var(--line);
  align-items: baseline;
}
.profile-row:last-child { border-bottom: none; }
.profile-row dt {
  font-family: var(--serif-jp);
  font-weight: 500;
  font-size: 14.5px;
  letter-spacing: 0.18em;
  color: var(--accent);
}
.profile-row dd {
  font-family: var(--serif-jp);
  font-weight: 400;
  font-size: 17px;
  line-height: 1.85;
  letter-spacing: 0.08em;
  color: var(--ink);
}

/* ===== Footer ===== */
footer {
  padding: 28px 48px;
  text-align: center;
  font-size: 12.5px;
  color: var(--ink-soft);
  letter-spacing: 0.3em;
  border-top: 1px solid var(--line);
}
footer .footer-name {
  font-family: var(--serif-jp);
  font-size: 14.5px;
  font-weight: 600;
  letter-spacing: 0.4em;
  margin-bottom: 10px;
  color: var(--ink);
}
footer .footer-links {
  list-style: none;
  display: flex;
  justify-content: center;
  gap: 32px;
  flex-wrap: wrap;
  margin-bottom: 10px;
}
footer .footer-links a {
  color: var(--ink-soft);
  text-decoration: none;
  font-family: var(--sans-jp);
  font-size: 13px;
  letter-spacing: 0.18em;
  transition: color 0.4s;
}
footer .footer-links a:hover { color: var(--ink); }
footer .copyright {
  font-family: var(--serif-en);
  font-style: italic;
  font-size: 11px;
  color: var(--ink-soft);
  letter-spacing: 0.2em;
}

/* ============================================================
   Koans page (宇宙対話)
   ============================================================ */

.page-head {
  position: relative;
  overflow: hidden;
  min-height: 80vh;
  padding: 120px 48px 60px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  text-align: center;
}
.page-head .label-en,
.page-head h1,
.page-head .preface { width: 100%; }
.page-head .preface { margin: 0 auto; }
.page-head::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: url('../../images/scenes/scene_06.jpg');
  background-size: cover;
  background-position: center 28%;
  filter: saturate(0.9) contrast(0.96);
  z-index: 0;
}
.page-head::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg,
    rgba(255, 252, 251, 1.00) 0%,
    rgba(255, 252, 251, 1.00) 14%,
    rgba(255, 252, 251, 0.88) 24%,
    rgba(255, 252, 251, 0.50) 38%,
    rgba(255, 252, 251, 0.22) 56%,
    rgba(255, 252, 251, 0.18) 72%,
    rgba(252, 246, 245, 0.40) 86%,
    rgba(246, 238, 237, 0.85) 96%,
    rgba(246, 238, 237, 1.00) 100%);
  z-index: 1;
  pointer-events: none;
}
.page-head > * {
  position: relative;
  z-index: 2;
}
.page-head .label-en {
  font-family: var(--serif-en);
  font-style: italic;
  font-size: 14px;
  letter-spacing: 0.4em;
  color: var(--accent);
  margin-bottom: 14px;
  text-transform: uppercase;
}
.page-head h1 {
  font-family: var(--serif-jp);
  font-weight: 600;
  font-size: 50px;
  letter-spacing: 0.12em;
  line-height: 1.55;
  margin-bottom: 24px;
  color: var(--ink);
  text-shadow: 0 1px 18px rgba(255, 252, 251, 0.78), 0 0 2px rgba(255, 252, 251, 0.6);
}
.page-head .preface {
  font-family: var(--serif-jp);
  font-size: 16px;
  font-weight: 400;
  line-height: 2;
  letter-spacing: 0.08em;
  color: var(--ink);
  max-width: 620px;
  margin: 0 auto;
  text-align: left;
}
.page-head .preface .layer-def {
  display: grid;
  grid-template-columns: 110px 1fr;
  gap: 14px;
  padding: 10px 0;
  border-bottom: 1px dashed var(--line);
}
.page-head .preface .layer-def:last-of-type { border-bottom: none; }
.page-head .preface .layer-def .name {
  font-family: var(--serif-en);
  font-style: italic;
  color: var(--accent);
  font-size: 15px;
  letter-spacing: 0.18em;
}
.page-head .preface .layer-def .desc {
  font-size: 15.5px;
  line-height: 1.9;
  color: var(--ink);
}
.page-head .preface-note {
  margin-top: 20px;
  font-size: 15.5px;
  line-height: 1.95;
  color: var(--ink);
}

.entries {
  max-width: 720px;
  margin: 0 auto;
  padding: 20px 48px;
}
.entry {
  padding: 16px 0 20px;
  border-bottom: 1px solid var(--line);
}
.entry:first-of-type { padding-top: 8px; }
.entry:last-of-type { border-bottom: none; padding-bottom: 12px; }
.entry-head { margin-bottom: 14px; }
.entry-no {
  font-family: var(--serif-en);
  font-style: italic;
  font-size: 14px;
  letter-spacing: 0.3em;
  color: var(--accent);
  margin-bottom: 8px;
}
.entry-title {
  font-family: var(--serif-jp);
  font-weight: 600;
  font-size: 30px;
  letter-spacing: 0.12em;
  line-height: 1.55;
  color: var(--ink);
}

.layer { margin-bottom: 28px; }
.layer:last-child { margin-bottom: 0; }
.layer-label {
  display: block;
  font-family: var(--serif-en);
  font-style: italic;
  font-size: 13px;
  letter-spacing: 0.35em;
  color: var(--accent);
  margin-bottom: 12px;
  text-transform: uppercase;
}

.layer-key .key-text {
  font-family: var(--serif-jp);
  font-weight: 500;
  font-size: 25px;
  line-height: 1.85;
  letter-spacing: 0.12em;
  padding: 20px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  text-align: center;
  color: var(--ink);
}

.layer-essay .essay-body p {
  font-family: var(--serif-jp);
  font-weight: 400;
  font-size: 18px;
  line-height: 2.15;
  letter-spacing: 0.1em;
  margin-bottom: 18px;
  color: var(--ink);
}
.layer-essay .essay-body p:last-child { margin-bottom: 0; }
.layer-essay .essay-body .emphasis {
  font-weight: 500;
  letter-spacing: 0.12em;
}
.layer-essay .essay-body .quote {
  font-family: var(--serif-jp);
  font-weight: 500;
  font-style: normal;
  display: block;
  padding: 28px 28px;
  margin: 24px auto;
  font-size: 21px;
  line-height: 2;
  color: var(--ink);
  text-align: center;
  position: relative;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.35);
  max-width: 540px;
}
.layer-essay .essay-body .quote::before,
.layer-essay .essay-body .quote::after {
  content: '❀';
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  color: var(--accent);
  font-size: 18px;
  line-height: 1;
  background: var(--bg);
  padding: 0 14px;
  opacity: 0.85;
}
.layer-essay .essay-body .quote::before { top: -10px; }
.layer-essay .essay-body .quote::after { bottom: -10px; }

.layer-inquiry .prompts {
  list-style: none;
  counter-reset: prompt;
}
.layer-inquiry .prompts li {
  padding: 18px 0 18px 48px;
  border-bottom: 1px dashed var(--line);
  font-family: var(--serif-jp);
  font-weight: 400;
  font-size: 17px;
  line-height: 2.05;
  letter-spacing: 0.08em;
  position: relative;
  counter-increment: prompt;
  color: var(--ink);
}
.layer-inquiry .prompts li::before {
  content: counter(prompt, decimal-leading-zero);
  position: absolute;
  left: 0;
  top: 18px;
  font-family: var(--serif-en);
  font-style: italic;
  font-size: 18px;
  color: var(--accent);
  letter-spacing: 0.1em;
}
.layer-inquiry .prompts li:last-child { border-bottom: none; }
.layer-inquiry .inquiry-note {
  margin-top: 20px;
  padding: 14px 0 0;
  font-family: var(--serif-jp);
  font-size: 14px;
  line-height: 1.9;
  color: var(--ink-soft);
  letter-spacing: 0.05em;
  border-top: 1px dashed var(--line);
  text-align: center;
}

/* ============================================================
   Responsive
   ============================================================ */
@media (max-width: 760px) {
  nav.global { padding: 10px 14px; gap: 10px; }
  nav.global ul { display: none; }
  nav.global .brand { font-size: 13px; letter-spacing: 0.2em; gap: 6px; }
  nav.global .brand-mark { width: 18px; height: 18px; }
  nav.global .nav-actions { margin-left: auto; gap: 8px; }
  nav.global .nav-btn { padding: 6px 12px; font-size: 10.5px; letter-spacing: 0.15em; }

  .cta-float { bottom: 12px; right: 12px; padding: 10px 18px; font-size: 11px; letter-spacing: 0.2em; }

  /* home */
  section { padding: 44px 22px; }
  .hero { padding-top: 100px; padding-bottom: 48px; min-height: auto; }
  .hero h1 { font-size: 32px; margin-bottom: 18px; }
  .hero .opening { font-size: 16px; line-height: 2; }
  .hero .signature { margin-top: 22px; }
  .hero-avatar { width: 88px; height: 88px; margin-top: 22px; }
  .section-title { font-size: 24px; margin-bottom: 20px; }
  .message blockquote { font-size: 17px; padding: 22px 0; line-height: 2; }
  .message blockquote::before { left: -6px; top: -4px; font-size: 56px; }
  .message .role-def { font-size: 17px; line-height: 2; }
  .match-grid { grid-template-columns: 1fr; gap: 32px; }
  .timeline-item { grid-template-columns: 1fr; gap: 6px; padding: 14px 0; }
  .menu-name { font-size: 18px; }
  .menu-item { padding: 20px 0; }
  .cta { padding: 56px 22px; }
  .cta-button { padding: 16px 32px; letter-spacing: 0.25em; }
  .cta-divider { margin: 32px auto 20px; }
  .image-band img { height: 190px; }

  .profile-statement { font-size: 16.5px; padding: 18px 0; line-height: 2; }
  .profile-grid { grid-template-columns: 1fr; gap: 22px; margin-top: 22px; }
  .profile-row { grid-template-columns: 1fr; gap: 4px; padding: 12px 0; }
  .profile-row dt { font-size: 12.5px; }
  .profile-row dd { font-size: 16px; }

  /* koans */
  .page-head { min-height: auto; padding: 96px 22px 48px; }
  .page-head h1 { font-size: 32px; margin-bottom: 18px; }
  .page-head .preface { font-size: 15.5px; }
  .page-head .preface .layer-def { grid-template-columns: 80px 1fr; gap: 10px; }
  .page-head .preface .layer-def .desc { font-size: 14.5px; }
  .page-head .preface-note { font-size: 14.5px; margin-top: 14px; }
  .entries { padding: 22px 22px; }
  .entry { padding: 22px 0 28px; }
  .entry:first-of-type { padding-top: 10px; }
  .entry-title { font-size: 23px; }
  .layer-key .key-text { font-size: 19px; padding: 18px 0; line-height: 1.8; }
  .layer-essay .essay-body p { font-size: 16.5px; line-height: 2.05; margin-bottom: 14px; }
  .layer-essay .essay-body .quote { padding: 22px 18px; margin: 20px auto; font-size: 18px; line-height: 1.95; }
  .layer-essay .essay-body .quote::before,
  .layer-essay .essay-body .quote::after { font-size: 14px; padding: 0 10px; }
  .layer-inquiry .prompts li { padding: 16px 0 16px 40px; font-size: 15.5px; }
  .layer-inquiry .prompts li::before { font-size: 16px; top: 16px; }
  .layer-inquiry .inquiry-note { margin-top: 12px; padding-top: 12px; }

  footer { padding: 20px 22px; }
}

/* ============================================================
   Dialogue index (宇宙対話)
   ============================================================ */
.dialogue-index-item .entry-title a {
  color: inherit;
  text-decoration: none;
  transition: color 0.2s ease;
}
.dialogue-index-item .entry-title a:hover {
  color: var(--accent);
}
.dialogue-list-summary {
  font-family: var(--serif-jp);
  font-size: 16px;
  color: var(--ink-soft);
  line-height: 1.9;
  margin: 14px 0 10px;
}
.dialogue-list-link {
  margin-top: 8px;
}
.dialogue-list-link a {
  font-family: var(--serif-en);
  font-style: italic;
  font-size: 14px;
  color: var(--accent);
  letter-spacing: 0.08em;
  text-decoration: none;
}
.dialogue-list-link a:hover {
  text-decoration: underline;
}
.entry-back {
  margin: 48px 0 16px;
  text-align: center;
}
.entry-back a {
  font-family: var(--serif-jp);
  font-size: 15px;
  color: var(--accent);
  text-decoration: none;
  letter-spacing: 0.08em;
}
.entry-back a:hover {
  text-decoration: underline;
}
.entry-illustration {
  margin: 28px auto 32px;
  max-width: 100%;
}
.entry-illustration img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 4px;
}
