/* ============================================================
   craft-02-shokunin
   職人ドキュメンタリー / 瓦・左官・板金
   生成り #f4efe6 / 墨 #211d18 / 朱 #b3402e（印章の朱）
   見出し Shippori Mincho B1 / 本文 Noto Serif JP / 縦書き多用
   ============================================================ */

:root {
  --bg: #f4efe6;       /* curtain幕用エイリアス（reset.cssが参照） */
  --kinari: #f4efe6;   /* 生成り */
  --sumi: #211d18;     /* 墨 */
  --shu: #b3402e;      /* 朱 */
  --ink: #211d18;
  --ink-soft: #5a5148;
  --line: #d8cfbf;
  --paper-dark: #f4efe6;
  --serif: "Noto Serif JP", serif;
  --mincho: "Shippori Mincho B1", serif;
}

body {
  background: var(--kinari);
  color: var(--ink);
  font-family: var(--serif);
  font-weight: 400;
  font-size: 16px;
  line-height: 2;
  letter-spacing: 0.04em;
}

.inner {
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 32px;
}

/* ---------- 落款シール（nameJa 頭1字をCSSで切り出す） ---------- */
.seal {
  display: inline-grid;
  place-items: center;
  background: var(--shu);
  color: var(--kinari);
  border-radius: 3px;
}

.seal-glyph {
  display: block;
  width: 1em;
  height: 1.05em;
  overflow: hidden;
  text-align: center;
  white-space: nowrap;
  font-family: var(--mincho);
  font-weight: 700;
  line-height: 1.05;
}

/* ---------- Header ---------- */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 22px 32px;
  background: transparent;
  border-bottom: 1px solid transparent;
  transition: background 0.5s ease, padding 0.5s ease, border-color 0.5s ease;
}

/* スクロールで生成り地に着地（shared.js の body.is-scrolled） */
body.is-scrolled .site-header {
  padding: 14px 32px;
  background: rgba(244, 239, 230, 0.9);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom-color: rgba(216, 207, 191, 0.7);
}

/* 最上部（ヒーロー上）はロゴ・ナビを生成り文字で写真に載せる */
.site-header .header-name,
.site-header .site-nav a { color: var(--kinari); }
.site-header .header-name { text-shadow: 0 1px 16px rgba(0, 0, 0, 0.4); }

body.is-scrolled .header-name,
body.is-scrolled .site-nav a { color: var(--ink); }
body.is-scrolled .header-name { text-shadow: none; }
body.is-scrolled .site-nav a:hover { color: var(--shu); }

.header-logo {
  display: flex;
  align-items: center;
  gap: 12px;
}

.header-seal {
  display: inline-grid;
  place-items: center;
  width: 34px;
  height: 34px;
  background: var(--shu);
  color: var(--kinari);
  border-radius: 3px;
  font-size: 20px;
}

.header-name {
  font-family: var(--mincho);
  font-size: 18px;
  font-weight: 700;
  letter-spacing: 0.14em;
}

.site-nav ul {
  display: flex;
  align-items: center;
  gap: 34px;
}

.site-nav a {
  font-family: var(--mincho);
  font-size: 15px;
  font-weight: 500;
  letter-spacing: 0.18em;
  color: var(--ink);
  transition: color 0.3s ease;
}

.site-nav a:hover { color: var(--shu); }

.nav-cta a {
  color: var(--kinari);
  background: var(--sumi);
  padding: 9px 20px;
  border-radius: 3px;
  transition: background 0.3s ease;
}

.nav-cta a:hover { background: var(--shu); color: var(--kinari); }

.nav-toggle { display: none; }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  height: 100svh;
  min-height: 600px;
  overflow: hidden;
  background: var(--sumi);
}

.hero-media,
.hero-media img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* 古写真の温度をわずかに（全大判写真共通） */
.hero-media img,
.works-media img,
.people-media img {
  filter: sepia(0.08) contrast(1.02);
}

.hero-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(33, 29, 24, 0.72) 0%, rgba(33, 29, 24, 0.28) 42%, rgba(33, 29, 24, 0.05) 72%),
    linear-gradient(0deg, rgba(33, 29, 24, 0.55) 0%, rgba(33, 29, 24, 0) 40%);
}

.hero-body {
  position: absolute;
  top: 0; bottom: 0;
  left: max(48px, calc((100vw - 1120px) / 2 + 32px));
  display: flex;
  align-items: center;
  gap: 30px;
  padding: 120px 0 96px;
}

.hero-title {
  writing-mode: vertical-rl;
  text-orientation: upright;
  font-family: var(--mincho);
  font-weight: 800;
  font-size: clamp(38px, 6.4vh, 76px);
  line-height: 1.42;
  letter-spacing: 0.22em;
  color: var(--kinari);
  max-height: 74vh;
  text-shadow: 0 2px 24px rgba(0, 0, 0, 0.35);
}

.hero-sub {
  writing-mode: vertical-rl;
  font-family: var(--mincho);
  font-size: clamp(13px, 1.8vh, 16px);
  letter-spacing: 0.28em;
  color: var(--kinari);
  opacity: 0.85;
  padding-top: 8px;
  max-height: 62vh;
}

.hero-en {
  position: absolute;
  left: max(48px, calc((100vw - 1120px) / 2 + 32px));
  bottom: 40px;
  font-family: var(--mincho);
  font-size: 13px;
  letter-spacing: 0.34em;
  color: var(--kinari);
  opacity: 0.7;
}

.hero-scroll {
  position: absolute;
  right: 34px;
  bottom: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
}

.hero-scroll span {
  font-family: var(--mincho);
  font-size: 11px;
  letter-spacing: 0.3em;
  color: var(--kinari);
  opacity: 0.8;
  writing-mode: vertical-rl;
}

.hero-scroll::after {
  content: "";
  width: 1px;
  height: 60px;
  background: linear-gradient(to bottom, rgba(244, 239, 230, 0.8), transparent);
  animation: scrollline 2.4s ease-in-out infinite;
}

@keyframes scrollline {
  0% { transform: scaleY(0); transform-origin: top; }
  45% { transform: scaleY(1); transform-origin: top; }
  55% { transform: scaleY(1); transform-origin: bottom; }
  100% { transform: scaleY(0); transform-origin: bottom; }
}

/* ---------- News ---------- */
.news {
  border-bottom: 1px solid var(--line);
  background: var(--kinari);
}

.news-inner {
  display: flex;
  gap: 44px;
  padding-top: 34px;
  padding-bottom: 34px;
}

.news-label {
  font-family: var(--mincho);
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0.2em;
  color: var(--shu);
  padding-top: 3px;
  flex-shrink: 0;
}

.news-list { flex: 1; }

.news-list li {
  display: flex;
  gap: 24px;
  padding: 5px 0;
  font-size: 14px;
}

.news-list time {
  letter-spacing: 0.08em;
  color: var(--ink-soft);
  flex-shrink: 0;
}

/* ---------- Sections（交互配色） ---------- */
.section {
  padding: 128px 0;
  position: relative;
}

.section.dark {
  background: var(--sumi);
  color: var(--kinari);
}

/* 墨↔生成りの境界に和紙の耳のような朱の一本罫（1px） */
.section::before,
.cta::before {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 1px;
  background: color-mix(in srgb, var(--shu) 68%, transparent);
  z-index: 3;
}
/* news 直後の concept は news 側の罫と重ねない */
.news + .section::before { display: none; }

.section.dark .section-en,
.section.dark .menu-note,
.section.dark .faq-a { color: rgba(244, 239, 230, 0.72); }

.section-head {
  display: flex;
  align-items: flex-start;
  gap: 26px;
  margin-bottom: 72px;
}

/* 縦書きセクション見出し */
.section-title-vr {
  writing-mode: vertical-rl;
  font-family: var(--mincho);
  font-weight: 700;
  font-size: clamp(26px, 3.4vw, 40px);
  line-height: 1.3;
  letter-spacing: 0.2em;
  max-height: 8.5em;
}

.section-en {
  writing-mode: horizontal-tb;
  align-self: flex-end;
  font-family: var(--mincho);
  font-size: 13px;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--shu);
  padding-bottom: 6px;
}

.section-en::before {
  content: "";
  display: block;
  width: 40px;
  height: 2px;
  background: var(--shu);
  margin-bottom: 14px;
}

/* ---------- Concept（墨背景・縦書き見出し＋落款透かし） ---------- */
.concept { position: relative; overflow: hidden; }

.concept-inner {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 72px;
  align-items: center;
  position: relative;
  z-index: 2;
}

.vhead {
  display: flex;
  align-items: flex-start;
  gap: 22px;
}

.vhead-en {
  align-self: flex-end;
  font-family: var(--mincho);
  font-size: 12px;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--shu);
  padding-bottom: 6px;
}

.vtitle {
  writing-mode: vertical-rl;
  font-family: var(--mincho);
  font-weight: 700;
  font-size: clamp(26px, 3.2vw, 40px);
  line-height: 1.7;
  letter-spacing: 0.18em;
  max-height: 15em;
}

.concept-body { max-width: 40em; }

.concept-para {
  color: rgba(244, 239, 230, 0.82);
  line-height: 2.4;
  margin-bottom: 1.6em;
}

.seal-watermark {
  position: absolute;
  right: -0.14em;
  bottom: -0.22em;
  z-index: 1;
  display: grid;
  place-items: center;
  font-size: clamp(220px, 34vw, 460px);
  color: var(--shu);
  opacity: 0.14;
  pointer-events: none;
}

.seal-watermark .seal-glyph {
  height: 0.9em;
  line-height: 1;
}

/* ---------- Works / 施工事例 ---------- */
.works-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 56px 48px;
}

.works-media {
  overflow: hidden;
}

.works-media img {
  width: 100%;
  aspect-ratio: 16 / 11;
  object-fit: cover;
  transition: transform 1.4s cubic-bezier(0.19, 1, 0.22, 1);
}

.works-item:hover .works-media img { transform: scale(1.05); }

.works-text { padding-top: 20px; }

.works-tag {
  display: inline-block;
  font-family: var(--mincho);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.14em;
  color: var(--kinari);
  background: var(--shu);
  padding: 3px 12px;
  border-radius: 2px;
}

.works-title {
  font-family: var(--mincho);
  font-size: 21px;
  font-weight: 700;
  line-height: 1.7;
  letter-spacing: 0.06em;
  margin-top: 14px;
}

.works-desc {
  font-size: 14px;
  color: var(--ink-soft);
  line-height: 2;
  margin-top: 10px;
}

/* ---------- People / 職人紹介（主役） ---------- */
.people-list {
  display: grid;
  gap: 128px;
}

/* ポートレートを画面の半分まで大きく */
.people-item {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 72px;
  align-items: center;
}

.people-item:nth-child(even) .people-media { order: 2; }

.people-media {
  position: relative;
}

/* 現場写真（環境・後ろ姿）が主役。顔前提の縦長ではなく、
   情景が残る記録写真の比率で大きく見せる。朱の額縁は資産として維持。 */
.people-media img {
  width: 100%;
  aspect-ratio: 5 / 4;
  object-fit: cover;
}

.people-media::after {
  content: "";
  position: absolute;
  top: 20px; left: -20px;
  width: 100%; height: 100%;
  border: 1px solid var(--shu);
  z-index: -1;
}

.people-item:nth-child(even) .people-media::after {
  left: auto; right: -20px;
}

.people-role {
  font-family: var(--mincho);
  font-size: 14px;
  letter-spacing: 0.16em;
  color: var(--shu);
}

/* 名前を Shippori Mincho B1 の特大に */
.people-name {
  font-family: var(--mincho);
  font-size: clamp(40px, 5.4vw, 66px);
  font-weight: 800;
  letter-spacing: 0.08em;
  line-height: 1.2;
  margin: 16px 0 34px;
}

/* 「言葉」を鉤括弧付きの大きな引用に */
.people-bio {
  position: relative;
  font-family: var(--mincho);
  font-weight: 500;
  font-size: clamp(17px, 1.5vw, 20px);
  color: rgba(244, 239, 230, 0.9);
  line-height: 2.5;
  max-width: 24em;
  padding: 0.5em 0 0 0.7em;
  text-indent: 0.9em;
}

.people-bio::before {
  content: "「";
  position: absolute;
  top: -0.28em; left: -0.34em;
  font-family: var(--mincho);
  font-weight: 700;
  font-size: 2.6em;
  line-height: 1;
  color: color-mix(in srgb, var(--shu) 82%, transparent);
  pointer-events: none;
}

/* ---------- Voices / 手紙風 ---------- */
.voices-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 40px;
}

.voices-item {
  position: relative;
  background: #fbf8f1;
  border: 1px solid var(--line);
  padding: 44px 42px 40px;
  box-shadow: 0 14px 34px -26px rgba(33, 29, 24, 0.5);
}

.voices-item::before {
  content: "";
  position: absolute;
  top: 12px; left: 12px; right: 12px; bottom: 12px;
  border: 1px solid color-mix(in srgb, var(--shu) 28%, transparent);
  pointer-events: none;
}

.voices-text {
  position: relative;
  font-size: 15.5px;
  line-height: 2.5;
  color: var(--ink);
}

.voices-author {
  position: relative;
  margin-top: 22px;
  text-align: right;
  font-family: var(--mincho);
  font-size: 14px;
  letter-spacing: 0.1em;
  color: var(--shu);
}

/* ---------- Menu / 御品書（墨背景・料金） ---------- */
.menu-groups {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px 88px;
}

/* 御品書の風格：category を朱の見出しに、細い二重罫で品書き感 */
.menu-category {
  font-family: var(--mincho);
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0.42em;
  text-indent: 0.42em;
  color: var(--shu);
  margin: 30px 0 6px;
  padding-bottom: 12px;
  border-bottom: 1px solid color-mix(in srgb, var(--shu) 46%, transparent);
  box-shadow: 0 3px 0 -2px color-mix(in srgb, var(--shu) 22%, transparent);
}

.menu-item {
  padding: 17px 0;
  border-bottom: 1px solid rgba(244, 239, 230, 0.14);
}

.menu-item-main {
  display: flex;
  align-items: baseline;
  gap: 14px;
}

.menu-name {
  font-family: var(--mincho);
  font-size: 16px;
  letter-spacing: 0.1em;
}

.menu-dots {
  flex: 1;
  align-self: center;
  border-bottom: 1px dotted rgba(244, 239, 230, 0.26);
}

.menu-price {
  font-family: var(--mincho);
  font-size: 17px;
  font-weight: 600;
  letter-spacing: 0.06em;
  font-variant-numeric: tabular-nums;
  color: var(--kinari);
  white-space: nowrap;
}

.menu-note {
  margin-top: 7px;
  padding-left: 1em;
  font-size: 13px;
  line-height: 1.9;
  text-indent: -1em;
}

.menu-note::before {
  content: "※ ";
  color: color-mix(in srgb, var(--shu) 78%, transparent);
}

.menu-foot {
  margin-top: 46px;
  padding-top: 22px;
  border-top: 1px solid rgba(244, 239, 230, 0.14);
  font-size: 13px;
  letter-spacing: 0.06em;
  color: rgba(244, 239, 230, 0.6);
}

/* ---------- Flow ---------- */
.flow-list {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 44px;
}

.flow-item {
  border-top: 2px solid var(--shu);
  padding-top: 22px;
}

.flow-step {
  font-family: var(--mincho);
  font-size: 15px;
  letter-spacing: 0.2em;
  color: var(--shu);
}

.flow-title {
  font-family: var(--mincho);
  font-size: 19px;
  font-weight: 700;
  letter-spacing: 0.06em;
  margin: 12px 0 14px;
}

.flow-desc {
  font-size: 14px;
  color: var(--ink-soft);
  line-height: 2.1;
}

/* ---------- FAQ ---------- */
.faq-list { max-width: 820px; }

.faq-item {
  padding: 30px 0;
  border-bottom: 1px solid rgba(244, 239, 230, 0.16);
}

.faq-q {
  font-family: var(--mincho);
  font-size: 17px;
  font-weight: 700;
  display: flex;
  gap: 16px;
  line-height: 1.8;
}

.faq-q::before {
  content: "問";
  font-family: var(--mincho);
  color: var(--shu);
  flex-shrink: 0;
}

.faq-a {
  margin-top: 14px;
  font-size: 14.5px;
  line-height: 2.2;
  display: flex;
  gap: 16px;
}

.faq-a::before {
  content: "答";
  font-family: var(--mincho);
  color: color-mix(in srgb, var(--shu) 70%, transparent);
  flex-shrink: 0;
}

/* ---------- Access ---------- */
.access-grid {
  display: grid;
  grid-template-columns: 1fr 1.05fr;
  gap: 64px;
}

.access-info div {
  display: grid;
  grid-template-columns: 92px 1fr;
  gap: 18px;
  padding: 15px 0;
  border-bottom: 1px solid var(--line);
  font-size: 14.5px;
  line-height: 1.9;
}

.access-info dt {
  font-family: var(--mincho);
  color: var(--shu);
  letter-spacing: 0.08em;
}

.access-info dd a { border-bottom: 1px solid var(--line); }

.access-license {
  background: color-mix(in srgb, var(--shu) 6%, transparent);
}

.access-license dd {
  font-size: 13.5px;
  color: var(--ink);
}

.access-map iframe {
  width: 100%;
  height: 100%;
  min-height: 360px;
  border: 0;
  filter: sepia(0.14) contrast(0.96);
}

/* ---------- CTA ---------- */
.cta {
  position: relative;
  padding: 118px 0;
  text-align: center;
  overflow: hidden;
}

.cta-inner {
  position: relative;
  z-index: 2;
}

.cta-seal {
  display: inline-grid;
  place-items: center;
  width: 60px;
  height: 60px;
  margin-bottom: 30px;
  background: var(--shu);
  color: var(--kinari);
  border-radius: 4px;
  font-size: 36px;
}

.cta-en {
  font-family: var(--mincho);
  font-size: 12px;
  letter-spacing: 0.34em;
  text-transform: uppercase;
  color: var(--shu);
}

.cta-title {
  font-family: var(--mincho);
  font-size: clamp(26px, 3.4vw, 40px);
  font-weight: 700;
  letter-spacing: 0.12em;
  margin: 18px 0 16px;
}

.cta-text {
  font-size: 15px;
  color: rgba(244, 239, 230, 0.75);
  margin-bottom: 44px;
}

.cta-actions {
  display: flex;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
}

.btn {
  display: inline-block;
  min-width: 260px;
  padding: 18px 34px;
  font-family: var(--mincho);
  font-size: 15px;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-align: center;
  border-radius: 3px;
  transition: all 0.3s ease;
}

.btn-primary {
  background: var(--shu);
  color: var(--kinari);
}

.btn-primary:hover { background: color-mix(in srgb, var(--shu) 82%, #000); }

.btn-ghost {
  border: 1px solid rgba(244, 239, 230, 0.6);
  color: var(--kinari);
}

.btn-ghost:hover {
  border-color: var(--shu);
  color: var(--shu);
}

.cta-sns {
  margin-top: 40px;
  display: flex;
  justify-content: center;
  gap: 32px;
}

.cta-sns a {
  font-family: var(--mincho);
  font-size: 13px;
  letter-spacing: 0.18em;
  color: rgba(244, 239, 230, 0.7);
  border-bottom: 1px solid rgba(244, 239, 230, 0.3);
  padding-bottom: 4px;
  transition: color 0.3s ease;
}

.cta-sns a:hover { color: var(--shu); }

/* ---------- Footer ---------- */
.site-footer {
  padding: 56px 24px 48px;
  text-align: center;
}

.footer-seal {
  display: inline-grid;
  place-items: center;
  width: 42px;
  height: 42px;
  margin: 0 auto 18px;
  background: var(--shu);
  color: var(--kinari);
  border-radius: 3px;
  font-size: 24px;
}

.footer-logo {
  font-family: var(--mincho);
  font-size: 18px;
  font-weight: 700;
  letter-spacing: 0.18em;
}

.footer-copy {
  margin-top: 14px;
  font-family: var(--mincho);
  font-size: 11px;
  letter-spacing: 0.14em;
  color: rgba(244, 239, 230, 0.55);
}

/* ---------- Demo bar ---------- */
.demo-bar {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  z-index: 200;
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 10px 18px;
  background: rgba(33, 29, 24, 0.94);
  color: rgba(244, 239, 230, 0.9);
  font-size: 12px;
  line-height: 1.7;
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}

.demo-bar p { flex: 1; }

.demo-bar button.js-demo-close {
  flex-shrink: 0;
  font-family: var(--mincho);
  font-size: 12px;
  letter-spacing: 0.1em;
  color: var(--kinari);
  border: 1px solid rgba(244, 239, 230, 0.5);
  padding: 6px 16px;
  border-radius: 3px;
  cursor: pointer;
  background: transparent;
}

.demo-bar button:hover { border-color: var(--shu); color: var(--shu); }

/* ---------- Skin（店舗別差別化 / TEMPLATE_SPEC §9） ---------- */
/* 見出し系を代替ファミリー Zen Old Mincho へ切替（縦書き見出し含む） */
.u-alt-font .hero-title,
.u-alt-font .hero-sub,
.u-alt-font .header-name,
.u-alt-font .section-title-vr,
.u-alt-font .vtitle,
.u-alt-font .works-title,
.u-alt-font .people-name,
.u-alt-font .people-bio,
.u-alt-font .flow-title,
.u-alt-font .menu-category,
.u-alt-font .faq-q,
.u-alt-font .cta-title,
.u-alt-font .footer-logo {
  font-family: "Zen Old Mincho", serif;
}

/* ボタン形状 */
body.u-btn-square .btn, body.u-btn-square .nav-cta a { border-radius: 0; }
body.u-btn-round .btn, body.u-btn-round .nav-cta a { border-radius: 8px; }
body.u-btn-pill .btn, body.u-btn-pill .nav-cta a { border-radius: 999px; padding: 18px 40px; }

/* ============================================================
   レスポンシブ
   ============================================================ */
@media (max-width: 960px) {
  .works-grid { grid-template-columns: 1fr; gap: 40px; }
  .voices-list { grid-template-columns: 1fr; }
  .menu-groups { grid-template-columns: 1fr; gap: 0 0; }
  .flow-list { grid-template-columns: repeat(2, 1fr); }
  .access-grid { grid-template-columns: 1fr; gap: 40px; }

  .people-item,
  .people-item:nth-child(even) { grid-template-columns: 1fr; gap: 28px; }
  .people-item:nth-child(even) .people-media { order: 0; }
  .people-media img { aspect-ratio: 16 / 11; }
  .people-media::after,
  .people-item:nth-child(even) .people-media::after { display: none; }
  .people-list { gap: 72px; }
}

@media (max-width: 720px) {
  body { font-size: 15px; }
  .site-header { padding: 14px 20px; }
  .header-name { font-size: 16px; }

  .site-nav {
    position: fixed;
    inset: 0;
    background: rgba(33, 29, 24, 0.97);
    display: grid;
    place-items: center;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.4s ease;
  }

  body.nav-open .site-nav {
    opacity: 1;
    pointer-events: auto;
  }

  .site-nav ul {
    flex-direction: column;
    gap: 30px;
    text-align: center;
  }

  .site-nav a { color: var(--kinari); font-size: 20px; letter-spacing: 0.24em; }
  .site-nav .nav-cta a { color: var(--kinari); font-size: 16px; }

  .nav-toggle {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 7px;
    width: 40px;
    height: 40px;
    position: relative;
    z-index: 110;
  }

  .nav-toggle span {
    display: block;
    width: 26px;
    height: 2px;
    background: var(--sumi);
    margin: 0 auto;
    transition: transform 0.35s ease, background 0.35s ease;
  }

  body.nav-open .nav-toggle span { background: var(--kinari); }
  body.nav-open .nav-toggle span:nth-child(1) { transform: translateY(4px) rotate(20deg); }
  body.nav-open .nav-toggle span:nth-child(2) { transform: translateY(-4px) rotate(-20deg); }

  .inner { padding: 0 20px; }
  .section { padding: 84px 0; }
  .section-head { margin-bottom: 48px; gap: 18px; }

  /* 縦書きは高さを制御して破綻を防ぐ（見出し系のみ） */
  .hero { min-height: 560px; }
  .hero-body {
    left: 20px; right: 20px;
    gap: 18px;
    padding: 96px 0 84px;
  }
  .hero-title {
    font-size: clamp(34px, 8.4vw, 52px);
    max-height: 66vh;
    letter-spacing: 0.18em;
  }
  .hero-sub { font-size: 12px; max-height: 46vh; letter-spacing: 0.2em; }
  .hero-en { left: 20px; bottom: 28px; }
  .hero-scroll { right: 20px; }

  .section-title-vr { font-size: 26px; max-height: 7em; }
  .vtitle { font-size: 26px; max-height: 11em; }

  .concept-inner { grid-template-columns: 1fr; gap: 40px; }
  .concept-para { line-height: 2.3; }
  .seal-watermark { font-size: 46vw; opacity: 0.1; }

  .news-inner { flex-direction: column; gap: 12px; }
  .news-list li { flex-direction: column; gap: 2px; padding: 9px 0; border-bottom: 1px solid var(--line); }

  .flow-list { grid-template-columns: 1fr; gap: 26px; }

  .voices-item { padding: 34px 26px 30px; }
  .menu-groups { gap: 0; }
  .menu-category { letter-spacing: 0.3em; text-indent: 0.3em; }

  .people-list { gap: 64px; }
  .people-name { font-size: clamp(34px, 10vw, 46px); margin: 12px 0 24px; }
  .people-bio { font-size: 16px; max-width: none; }

  .cta { padding: 84px 0; }
  .btn { min-width: 100%; }
  .cta-actions { flex-direction: column; align-items: stretch; }
}

/* 極小端末: 縦書き見出しを横書きへフォールバックさせ破綻を防ぐ */
@media (max-width: 400px) {
  .hero-title,
  .hero-sub {
    writing-mode: horizontal-tb;
    max-height: none;
  }
  .hero-body {
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-end;
    gap: 14px;
  }
  .hero-title { font-size: 34px; line-height: 1.55; letter-spacing: 0.1em; }
  .hero-sub { font-size: 12px; letter-spacing: 0.14em; opacity: 0.9; }
}
