/*
Theme Name: teshigoto food works
Theme URI: https://yokokawa-hitomi.com
Author: Hitomi Yokokawa / Lighthouse Planning Club
Description: 食と健康のコンテンツに、手仕事の信頼を。teshigoto food works オフィシャルサイトテーマ。章立てフルスクリーン構成・カーテンスクロール・分割ヒーロー。
Version: 1.0.0
Requires at least: 6.0
Tested up to: 6.7
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: teshigoto
*/

/* ==========================================================================
   teshigoto food works
   --------------------------------------------------------------------------
   Light, natural, atmospheric.
   Reference: akagi-futokoro.com (structure), with brighter palette.
   ========================================================================== */

:root {
  /* ----- Color palette ----- */
  --c-bg:           #FAF5E8;
  --c-bg-warm:      #F2EAD3;
  --c-tint:         #F2EAD3;
  --c-white:        #FFFFFF;
  --c-text:         #1A1614;
  --c-text-body:    #3A3530;
  --c-text-mute:    #6B6055;
  --c-text-light:   #9D7C5A;
  --c-accent:       #C56B1A;   /* terracotta orange */
  --c-accent-soft:  #EA6E1A;
  --c-line:         #E6DCC4;
  --c-img-bg:       #E5DCC0;
  --c-dark:         #2A2522;

  /* ----- Type ----- */
  --f-mincho:       "Shippori Mincho", "Yu Mincho", "Hiragino Mincho ProN", serif;
  --f-sans:         "Noto Sans JP", "Yu Gothic", "Hiragino Sans", sans-serif;
  --f-en-serif:     "Cormorant Garamond", "Georgia", serif;
  --f-script:       "Allura", "Brush Script MT", cursive;

  /* ----- Sizing ----- */
  --w-content:      1200px;
  --w-narrow:       720px;
  --pad-section:    140px;
  --pad-section-sm: 80px;
}

/* ===== Reset ===== */
*, *::before, *::after { box-sizing: border-box; }
body, h1, h2, h3, h4, p, ul, figure { margin: 0; padding: 0; }
ul { list-style: none; }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
button { cursor: pointer; border: 0; background: transparent; font: inherit; color: inherit; }

html { scroll-behavior: smooth; }

/* ===== カスタムカーソル（スプーン）=====
   通常＝墨のスプーン ／ リンク等のインタラクティブ要素上＝テラコッタのスプーン */
body {
  cursor: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='26' height='26' viewBox='0 0 26 26'%3E%3Cg transform='rotate(38 13 13)' fill='none' stroke='%231A1614' stroke-width='1.7' stroke-linecap='round'%3E%3Cellipse cx='13' cy='6' rx='3.2' ry='4.4'/%3E%3Cline x1='13' y1='10.6' x2='13' y2='22.5'/%3E%3C/g%3E%3C/svg%3E") 8 3, auto;
}
a, button, [onclick], .journal-item, .recipe-card, .gallery-img {
  cursor: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='26' height='26' viewBox='0 0 26 26'%3E%3Cg transform='rotate(38 13 13)' fill='none' stroke='%23C56B1A' stroke-width='2' stroke-linecap='round'%3E%3Cellipse cx='13' cy='6' rx='3.2' ry='4.4'/%3E%3Cline x1='13' y1='10.6' x2='13' y2='22.5'/%3E%3C/g%3E%3C/svg%3E") 8 3, pointer;
}
body {
  background: var(--c-bg);
  color: var(--c-text-body);
  font-family: var(--f-sans);
  font-weight: 400;
  line-height: 1.9;
  font-feature-settings: "palt";
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

/* ===== Reveal animation ===== */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 1.2s cubic-bezier(.2,.6,.2,1), transform 1.2s cubic-bezier(.2,.6,.2,1);
}
.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* ==========================================================================
   HEADER (overlay)
   ========================================================================== */
.site-header {
  position: absolute;
  top: 0; left: 0; right: 0;
  z-index: 20;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 28px 48px;
  color: #fff;
}
.logo { display: flex; flex-direction: column; line-height: 1; gap: 6px; }
.logo-brand {
  font-family: var(--f-script);
  font-size: 32px;
  letter-spacing: 0.02em;
}
.logo-img {
  height: 52px;
  width: auto;
  display: block;
}
.footer-logo-img { height: 82px; margin-bottom: 8px; }
.hero-logo {
  height: clamp(150px, 24vh, 220px);
  width: auto;
  display: block;
  margin: 0 auto 40px;
  filter: drop-shadow(0 2px 12px rgba(0,0,0,0.35));
}
.credit-logo {
  height: 22px;
  width: auto;
  display: block;
  margin-left: auto;
  filter: drop-shadow(0 1px 4px rgba(0,0,0,0.4));
}
.logo-sub {
  font-family: var(--f-sans);
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.3em;
}

.site-nav ul {
  display: flex;
  gap: 32px;
  align-items: center;
  font-family: var(--f-sans);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.2em;
}
.site-nav a {
  position: relative;
  padding: 6px 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 3px;
  text-align: center;
}
.nav-jp {
  font-family: var(--f-mincho);
  font-size: 9px;
  font-weight: 400;
  letter-spacing: 0.12em;
  opacity: 0.78;
  white-space: nowrap;
}
.footer-nav .nav-jp { display: block; margin-top: 3px; font-size: 8.5px; opacity: 0.6; }
.site-nav a:not(.nav-cta)::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0;
  height: 1px; background: currentColor;
  transform: scaleX(0); transform-origin: right;
  transition: transform .4s ease;
}
.site-nav a:not(.nav-cta):hover::after {
  transform: scaleX(1); transform-origin: left;
}
.nav-cta {
  background: rgba(0,0,0,0.5);
  padding: 10px 22px;
  border: 1px solid rgba(255,255,255,0.4);
  transition: background .3s ease;
}
.nav-cta:hover { background: var(--c-accent); border-color: var(--c-accent); }

.menu-toggle { display: none; flex-direction: column; gap: 6px; padding: 10px; }
.menu-toggle span {
  width: 26px; height: 1px; background: currentColor; display: block;
}

/* ==========================================================================
   HERO
   ========================================================================== */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: #fff;
  overflow: hidden;
}
.hero-media {
  position: absolute; inset: 0;
  background: linear-gradient(135deg, #8a7758 0%, #6a5c44 100%);
}
.hero-video {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
}
.hero-overlay {
  position: absolute; inset: 0;
  background:
    radial-gradient(ellipse 64% 58% at 50% 44%, rgba(20,15,10,0.36) 0%, rgba(20,15,10,0) 72%),
    linear-gradient(180deg, rgba(20,15,10,0.20) 0%, rgba(20,15,10,0.42) 60%, rgba(20,15,10,0.55) 100%);
}
.hero-video { animation: heroZoom 30s ease-in-out infinite alternate; }
.hero-photo {
  position: absolute; inset: 0;
  background-position: center;
  background-size: cover;
  background-color: var(--c-img-bg);
  animation: heroZoom 30s ease-in-out infinite alternate;
}
@keyframes heroZoom {
  from { transform: scale(1); }
  to   { transform: scale(1.09); }
}

/* ==========================================================================
   HERO 分割型（宝善亭参照：左＝クリーム地にロゴ／右＝余白付き映像枠）
   ロゴが写真に重ならないため、視認性が構造的に保証される
   ========================================================================== */
.hero-split {
  display: grid;
  grid-template-columns: 42fr 58fr;
  align-items: stretch;
  justify-content: stretch;
  background: var(--c-bg);
  color: var(--c-text);
  min-height: 100vh;
  position: relative;
  overflow: hidden;
  text-align: left;
}
.hs-left {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 32px;
  padding: 120px 4vw 90px;
  text-align: center;
}
.hs-lines {
  font-family: var(--f-mincho);
  font-size: clamp(15px, 1.25vw, 19px);
  font-weight: 500;
  letter-spacing: 0.3em;
  line-height: 2.6;
  color: var(--c-text);
  opacity: 0;
  animation: fadeUp 1.3s cubic-bezier(.2,.6,.2,1) 1.15s forwards;
}
.hs-logo {
  height: min(40vh, 360px);
  width: auto;
  opacity: 0;
  animation: fadeUp 1.4s cubic-bezier(.2,.6,.2,1) 1.45s forwards;
}
.hs-en {
  font-family: var(--f-en-serif);
  font-style: italic;
  font-size: 12px;
  letter-spacing: 0.32em;
  color: var(--c-text-light);
  opacity: 0;
  animation: fadeUp 1.2s ease 1.9s forwards;
}
.hs-role {
  font-family: var(--f-sans);
  font-size: 10px;
  letter-spacing: 0.24em;
  color: var(--c-text-mute);
  margin-top: -22px;
  opacity: 0;
  animation: fadeUp 1.2s ease 2.05s forwards;
}
.hs-cta {
  display: inline-flex;
  align-items: baseline;
  gap: 10px;
  margin-top: 6px;
  padding: 14px 38px;
  border: 1px solid rgba(26,22,20,0.45);
  border-radius: 999px;
  font-family: var(--f-mincho);
  font-size: 12.5px;
  letter-spacing: 0.2em;
  color: var(--c-text);
  transition: background .3s, color .3s, border-color .3s;
  opacity: 0;
  animation: fadeUp 1.2s ease 2.4s forwards;
}
.hs-cta em {
  font-family: var(--f-en-serif);
  font-style: italic;
  font-size: 12px;
  letter-spacing: 0.22em;
}
.hs-cta:hover { background: var(--c-text); color: #fff; border-color: var(--c-text); }
.hs-right { position: relative; padding: 26px 26px 26px 0; }
.hs-frame {
  position: relative;
  width: 100%;
  height: 100%;
  overflow: hidden;
  background: var(--c-img-bg);
  clip-path: inset(0 0 100% 0);
  animation: frameReveal 1.5s cubic-bezier(.76,0,.24,1) 1.05s forwards;
}
@keyframes frameReveal { to { clip-path: inset(0 0 0 0); } }
.hs-frame .hero-photo { position: absolute; inset: 0; }
/* HERO：動画の上に序文をオーバーレイ（視認性のため下部に暗い帯） */
.hs-overlay {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  z-index: 3;
  padding: 90px 8% 40px;
  text-align: center;
  color: #fff;
  background: linear-gradient(180deg, rgba(20,15,10,0) 0%, rgba(20,15,10,0.30) 42%, rgba(20,15,10,0.62) 100%);
  opacity: 0;
  animation: fadeUp 1.4s ease 1.8s forwards;
}
.hs-overlay-en {
  font-family: var(--f-en-serif);
  font-style: italic;
  font-size: clamp(13px, 1.1vw, 16px);
  letter-spacing: 0.22em;
  color: rgba(255,255,255,0.9);
  margin-bottom: 14px;
}
.hs-overlay-en::before, .hs-overlay-en::after { content: "—"; margin: 0 10px; opacity: 0.7; }
.hs-overlay-body {
  font-family: var(--f-mincho);
  font-weight: 500;
  font-size: clamp(13px, 1.05vw, 15.5px);
  line-height: 2.15;
  letter-spacing: 0.08em;
  color: #fff;
  text-shadow: 0 1px 10px rgba(0,0,0,0.35);
}
.hs-overlay-body .ov-br { display: none; }
.hs-scroll {
  position: absolute;
  left: 21%;
  bottom: 26px;
  transform: translateX(-50%);
  font-family: var(--f-sans);
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.4em;
  color: var(--c-text-mute);
  opacity: 0;
  animation: fadeInSoft 1.2s ease 2.6s forwards;
}
.hs-scroll span { display: block; margin-top: 8px; animation: scroll-bob 2s ease-in-out infinite; text-align: center; }

@media (max-width: 1024px) {
  .hero-split { grid-template-columns: 1fr; }
  .hs-left { padding: 110px 24px 40px; gap: 26px; }
  .hs-logo { height: min(34vh, 260px); }
  .hs-right { padding: 0 20px 40px; height: 54vh; }
  .hs-overlay { padding: 60px 22px 26px; }
  .hs-overlay-body { font-size: 12.5px; line-height: 2; }
  .hs-scroll { display: none; }
}

/* ---- 明るいHEROテーマ（TOP＝fullscreen-chapters のみ）----
   暗幕で白ロゴを立たせる構造をやめ、自然光＋クリームの紗＋墨ロゴに転換 */
.fullscreen-chapters .hero { color: var(--c-text); }
.fullscreen-chapters .hero-overlay {
  background:
    radial-gradient(ellipse 66% 60% at 50% 44%, rgba(250,245,232,0.42) 0%, rgba(250,245,232,0) 74%),
    linear-gradient(180deg, rgba(250,245,232,0.38) 0%, rgba(250,245,232,0.16) 45%, rgba(250,245,232,0.5) 100%);
}
.fullscreen-chapters .hero-logo { filter: none; }
.fullscreen-chapters .hero-tag { text-shadow: none; }
.fullscreen-chapters .hero-scroll,
.fullscreen-chapters .hero-side { text-shadow: none; color: var(--c-text-body); }
.fullscreen-chapters .hero-credit { text-shadow: none; }
.fullscreen-chapters .credit-name,
.fullscreen-chapters .credit-role { color: var(--c-text-mute); }
.fullscreen-chapters .credit-line { background: var(--c-text-mute); }
.fullscreen-chapters .site-header { color: var(--c-text); }
.fullscreen-chapters .nav-cta {
  background: rgba(250,245,232,0.6);
  border: 1px solid rgba(26,22,20,0.3);
}
.fullscreen-chapters .nav-cta:hover { background: var(--c-accent); border-color: var(--c-accent); color: #fff; }
.hero-content {
  position: relative;
  z-index: 1;
  padding: 0 32px;
}
.hero-en {
  font-family: var(--f-en-serif);
  font-style: italic;
  font-size: 18px;
  letter-spacing: 0.25em;
  opacity: 0.95;
  margin-bottom: 36px;
  text-shadow: 0 1px 6px rgba(0,0,0,0.4);
}
.hero-tag {
  font-family: var(--f-mincho);
  font-size: clamp(32px, 5vw, 56px);
  font-weight: 500;
  letter-spacing: 0.12em;
  line-height: 1.7;
  text-shadow: 0 2px 12px rgba(0,0,0,0.45);
}
.hero-scroll {
  position: absolute;
  bottom: -160px;
  left: 50%;
  transform: translateX(-50%);
  font-family: var(--f-sans);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.4em;
  opacity: 0.85;
  text-shadow: 0 1px 4px rgba(0,0,0,0.4);
}
.hero-scroll span {
  display: block;
  margin-top: 12px;
  animation: scroll-bob 2s ease-in-out infinite;
}
@keyframes scroll-bob {
  0%, 100% { transform: translateY(0); opacity: 0.85; }
  50%      { transform: translateY(6px); opacity: 0.55; }
}
.hero-side {
  position: absolute;
  bottom: 200px;
  left: 36px;
  writing-mode: vertical-rl;
  font-family: var(--f-sans);
  font-size: 11px;
  letter-spacing: 0.4em;
  opacity: 0.85;
  text-shadow: 0 1px 4px rgba(0,0,0,0.4);
}
.hero-credit {
  position: absolute;
  bottom: 32px;
  right: 48px;
  text-align: right;
  line-height: 1.5;
  text-shadow: 0 1px 4px rgba(0,0,0,0.4);
}
.credit-brand {
  display: block;
  font-family: var(--f-script);
  font-size: 22px;
  color: #fff;
}
.credit-line {
  display: block;
  width: 50px;
  height: 1px;
  background: #fff;
  opacity: 0.5;
  margin: 6px 0 6px auto;
}
.credit-name {
  display: block;
  font-family: var(--f-en-serif);
  font-size: 11px;
  letter-spacing: 0.15em;
  color: #fff;
  font-style: italic;
}
.credit-role {
  display: block;
  font-family: var(--f-sans);
  font-size: 9px;
  letter-spacing: 0.18em;
  color: #fff;
  opacity: 0.78;
  margin-top: 4px;
}

/* ==========================================================================
   Section helpers
   ========================================================================== */
.section-en {
  font-family: var(--f-en-serif);
  font-style: italic;
  font-size: 32px;
  color: var(--c-text);
  margin-bottom: 8px;
}
.section-jp {
  font-family: var(--f-mincho);
  font-size: 13px;
  letter-spacing: 0.3em;
  color: var(--c-text-mute);
}

/* ==========================================================================
   NARRATIVE
   ========================================================================== */
.narrative {
  padding: var(--pad-section) 32px;
  text-align: center;
  background: var(--c-bg);
}
.narrative .section-en {
  font-size: 14px;
  letter-spacing: 0.3em;
  color: var(--c-accent);
  margin-bottom: 48px;
}
.narrative-body {
  font-family: var(--f-mincho);
  font-size: clamp(18px, 1.6vw, 24px);
  line-height: 2.4;
  letter-spacing: 0.12em;
  color: var(--c-text);
  font-weight: 400;
}

/* ==========================================================================
   OVERVIEW
   ========================================================================== */
.overview {
  padding: var(--pad-section) 0 calc(var(--pad-section) + 20px);
  background: var(--c-white);
}
.overview-header {
  text-align: center;
  margin-bottom: 80px;
  padding: 0 32px;
}
.overview-en {
  font-family: var(--f-en-serif);
  font-style: italic;
  font-size: 36px;
  color: var(--c-text);
  margin-bottom: 8px;
}
.overview-jp {
  font-family: var(--f-mincho);
  font-size: 13px;
  letter-spacing: 0.32em;
  color: var(--c-text-mute);
}
.overview-body {
  max-width: var(--w-narrow);
  margin: 0 auto;
  padding: 0 32px;
  text-align: center;
}
.overview-body h2 {
  font-family: var(--f-mincho);
  font-size: clamp(22px, 2.2vw, 28px);
  font-weight: 500;
  line-height: 1.8;
  letter-spacing: 0.1em;
  margin-bottom: 40px;
  color: var(--c-text);
}
.overview-body p {
  font-family: var(--f-mincho);
  font-size: 14px;
  line-height: 2.3;
  color: var(--c-text-body);
  letter-spacing: 0.08em;
  margin-bottom: 20px;
}

/* ===== Gallery (asymmetric) ===== */
.gallery {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 6px;
  margin-top: 100px;
  padding: 0 6px;
}
.gallery-img {
  background-color: var(--c-img-bg);
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
  aspect-ratio: 1;
  transition: transform .8s cubic-bezier(.2,.6,.2,1), filter .8s;
}
.gallery-img:hover { transform: scale(1.02); filter: brightness(1.05); }
.gallery-img.tall { aspect-ratio: 1/1.5; grid-row: span 2; }
.gallery-img.wide { aspect-ratio: 2/1; grid-column: span 2; }

/* ==========================================================================
   SUB SECTION (Craft / Work)
   ========================================================================== */
.sub-section {
  padding: calc(var(--pad-section) + 20px) 64px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
  background: var(--c-bg);
}
.sub-section.sub-reversed { background: var(--c-bg-warm); }
.sub-section.sub-reversed .sub-images { order: 1; }
.sub-section.sub-reversed .sub-content { order: 2; }

.sub-en {
  font-family: var(--f-en-serif);
  font-style: italic;
  font-size: 36px;
  color: var(--c-text);
  margin-bottom: 6px;
}
.sub-jp-label {
  font-family: var(--f-mincho);
  font-size: 12px;
  letter-spacing: 0.32em;
  color: var(--c-text-mute);
  margin-bottom: 44px;
}
.sub-body {
  font-family: var(--f-mincho);
  font-size: 14px;
  line-height: 2.4;
  color: var(--c-text-body);
  letter-spacing: 0.08em;
  margin-bottom: 40px;
}
.craft-menu {
  margin: 8px 0 44px;
  border-top: 1px solid var(--c-line);
}
.craft-menu li {
  display: flex;
  align-items: baseline;
  gap: 18px;
  padding: 15px 4px;
  border-bottom: 1px solid var(--c-line);
}
.craft-menu .num {
  font-family: var(--f-en-serif);
  font-style: italic;
  font-size: 13px;
  letter-spacing: 0.15em;
  color: var(--c-accent);
}
.craft-menu .name {
  font-family: var(--f-mincho);
  font-size: 15px;
  letter-spacing: 0.08em;
  color: var(--c-text);
}
.craft-menu .en {
  margin-left: auto;
  font-family: var(--f-en-serif);
  font-style: italic;
  font-size: 12px;
  letter-spacing: 0.2em;
  color: var(--c-text-light);
}

.sub-detail {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  margin-top: 30px;
  padding: 14px 30px;
  border: 1.5px solid var(--c-accent);
  border-radius: 999px;
  background: transparent;
  transition: background .3s ease, transform .3s ease, box-shadow .3s ease;
}
.sub-detail::after {
  content: "→";
  font-family: var(--f-en-serif);
  font-size: 15px;
  color: var(--c-accent);
  transition: transform .3s ease, color .3s ease;
}
.sub-detail em {
  font-family: var(--f-en-serif);
  font-style: italic;
  font-size: 14.5px;
  letter-spacing: 0.16em;
  color: var(--c-accent);
  transition: color .3s ease;
}
.sub-detail span {
  font-family: var(--f-mincho);
  font-size: 11px;
  letter-spacing: 0.16em;
  color: var(--c-accent);
  opacity: 0.85;
  transition: color .3s ease;
}
.sub-detail:hover {
  background: var(--c-accent);
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(197,107,26,0.28);
}
.sub-detail:hover::after { color: #fff; transform: translateX(4px); }
.sub-detail:hover em, .sub-detail:hover span { color: #fff; }

/* 暗い背景用（写真章など）：白の輪郭ピル */
.sub-detail-light { border-color: rgba(255,255,255,0.85); }
.sub-detail-light::after { color: #fff; }
.sub-detail-light em, .sub-detail-light span { color: #fff; }
.sub-detail-light:hover { background: #fff; box-shadow: 0 8px 20px rgba(0,0,0,0.25); }
.sub-detail-light:hover::after,
.sub-detail-light:hover em,
.sub-detail-light:hover span { color: var(--c-text); }

.sub-images {
  position: relative;
  height: 540px;
}
.sub-img-main {
  position: absolute;
  top: 0; right: 0;
  width: 80%; height: 80%;
  background-color: var(--c-img-bg);
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
}
.sub-img-sub {
  position: absolute;
  bottom: 0; left: 0;
  width: 50%; height: 50%;
  background-color: var(--c-img-bg);
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
}
.sub-section.sub-reversed .sub-img-main {
  top: 0; left: 0; right: auto;
  width: 85%; height: 70%;
}
.sub-section.sub-reversed .sub-img-sub {
  bottom: 0; right: 0; left: auto;
  width: 45%; height: 55%;
}

/* ==========================================================================
   PHOTOGRAPH (フォト打ち出し)
   ========================================================================== */
.photo {
  padding: var(--pad-section) 0;
  background: var(--c-white);
  text-align: center;
}
.photo-header { margin-bottom: 72px; padding: 0 32px; }
.photo-header .section-en { font-size: 36px; }
.photo-strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 6px;
  padding: 0 6px;
  margin-bottom: 72px;
}
.photo-strip-img {
  aspect-ratio: 3/4;
  background-color: var(--c-img-bg);
  background-position: center;
  background-size: cover;
  transition: transform .8s cubic-bezier(.2,.6,.2,1), filter .8s;
}
.photo-strip-img:hover { transform: scale(1.02); filter: brightness(1.05); }
.photo-copy { padding: 0 32px; }
.photo-copy h3 {
  font-family: var(--f-mincho);
  font-size: clamp(20px, 2.2vw, 26px);
  font-weight: 500;
  letter-spacing: 0.1em;
  line-height: 1.9;
  color: var(--c-text);
  margin-bottom: 24px;
}
.photo-copy p {
  font-family: var(--f-mincho);
  font-size: 14px;
  line-height: 2.3;
  letter-spacing: 0.08em;
  color: var(--c-text-body);
  margin-bottom: 36px;
}

/* ==========================================================================
   FEATURES (numbered)
   ========================================================================== */
.features {
  padding: var(--pad-section) 64px;
  background: var(--c-white);
}
.features-header {
  text-align: center;
  margin-bottom: 80px;
}
.features-header .section-en { font-size: 36px; }
.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 60px;
  max-width: var(--w-content);
  margin: 0 auto;
}
.feature-img {
  aspect-ratio: 4/3;
  background-color: var(--c-img-bg);
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
  margin-bottom: 28px;
}
.feature-num {
  font-family: var(--f-en-serif);
  font-size: 14px;
  letter-spacing: 0.25em;
  color: var(--c-accent);
  margin-bottom: 12px;
}
.feature-num em { font-style: italic; }
.feature-title {
  font-family: var(--f-mincho);
  font-size: 19px;
  font-weight: 500;
  line-height: 1.7;
  color: var(--c-text);
  letter-spacing: 0.08em;
  margin-bottom: 16px;
}
.feature-desc {
  font-family: var(--f-mincho);
  font-size: 12.5px;
  line-height: 2.0;
  color: var(--c-text-mute);
  letter-spacing: 0.05em;
}

/* ==========================================================================
   THE HAND (横川)
   ========================================================================== */
.hand {
  padding: var(--pad-section) 64px;
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 80px;
  align-items: center;
  background: var(--c-bg);
  max-width: var(--w-content);
  margin: 0 auto;
}
.hand-img {
  aspect-ratio: 4/5;
  background-color: var(--c-img-bg);
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
}
.hand-content .sub-en { margin-bottom: 8px; }
.hand-name {
  font-family: var(--f-mincho);
  font-size: clamp(26px, 2.4vw, 32px);
  font-weight: 500;
  letter-spacing: 0.1em;
  margin-bottom: 10px;
  color: var(--c-text);
}
.hand-role {
  font-family: var(--f-sans);
  font-size: 12px;
  letter-spacing: 0.18em;
  color: var(--c-text-mute);
  margin-bottom: 36px;
}
.hand-body {
  font-family: var(--f-mincho);
  font-size: 13.5px;
  line-height: 2.3;
  color: var(--c-text-body);
  letter-spacing: 0.08em;
  margin-bottom: 22px;
}

/* ==========================================================================
   TABLE WINDOW（個人向けゾーンへの窓）
   ========================================================================== */
.table-window {
  position: relative;
  min-height: 420px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 90px 32px;
  overflow: hidden;
}
.table-window-bg {
  position: absolute; inset: 0;
  background-color: var(--c-img-bg);
  background-position: center;
  background-size: cover;
  z-index: 0;
}
.table-window-bg::after {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(242,234,211,0.78) 0%, rgba(250,245,232,0.88) 100%);
}
.table-window-content { position: relative; z-index: 1; }
.table-window-en {
  font-family: var(--f-en-serif);
  font-style: italic;
  font-size: 34px;
  letter-spacing: 0.12em;
  color: var(--c-text);
  margin-bottom: 8px;
}
.table-window-label {
  font-family: var(--f-mincho);
  font-size: 12px;
  letter-spacing: 0.32em;
  color: var(--c-text-mute);
  margin-bottom: 32px;
}
.table-window-body {
  font-family: var(--f-mincho);
  font-size: 14px;
  line-height: 2.4;
  letter-spacing: 0.08em;
  color: var(--c-text-body);
  margin-bottom: 36px;
}
.table-window-link { justify-content: center; }

/* ==========================================================================
   JOURNAL
   ========================================================================== */
.journal {
  padding: var(--pad-section) 64px;
  background: var(--c-white);
}
.journal-header {
  text-align: center;
  margin-bottom: 80px;
}
.journal-header .section-en { font-size: 36px; }
.journal-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
  max-width: var(--w-content);
  margin: 0 auto;
}
.journal-item { cursor: pointer; }
.journal-img {
  aspect-ratio: 16/10;
  background-color: var(--c-img-bg);
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
  margin-bottom: 24px;
  transition: filter .6s;
}
.journal-item:hover .journal-img { filter: brightness(1.05); }
.journal-date {
  font-family: var(--f-en-serif);
  font-size: 12px;
  letter-spacing: 0.25em;
  color: var(--c-text-light);
  margin-bottom: 12px;
}
.journal-date em { font-style: italic; }
.journal-title {
  font-family: var(--f-mincho);
  font-size: 16px;
  line-height: 1.8;
  color: var(--c-text);
  font-weight: 500;
  letter-spacing: 0.05em;
}
.journal-cta {
  text-align: center;
  margin-top: 64px;
}
.journal-cta a {
  font-family: var(--f-en-serif);
  font-style: italic;
  font-size: 16px;
  letter-spacing: 0.3em;
  color: var(--c-text);
  padding-bottom: 4px;
  border-bottom: 1px solid var(--c-text);
}

/* ==========================================================================
   CONTACT (pre-footer)
   ========================================================================== */
.contact {
  position: relative;
  min-height: 480px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 100px 32px;
  color: var(--c-text);
  overflow: hidden;
}
.contact-bg {
  position: absolute; inset: 0;
  background-color: var(--c-img-bg);
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
  z-index: 0;
}
.contact-bg::after {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(248,244,232,0.72) 0%, rgba(248,244,232,0.82) 100%);
}
.contact-content {
  position: relative;
  z-index: 1;
}
.contact-en {
  font-family: var(--f-en-serif);
  font-style: italic;
  font-size: 24px;
  letter-spacing: 0.2em;
  color: var(--c-text-mute);
  margin-bottom: 24px;
}
.contact-tag {
  font-family: var(--f-mincho);
  font-size: clamp(24px, 2.6vw, 36px);
  font-weight: 500;
  letter-spacing: 0.12em;
  line-height: 1.7;
  color: var(--c-text);
  margin-bottom: 56px;
}
.contact-actions {
  display: flex;
  gap: 60px;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
}
.contact-btn {
  display: inline-flex;
  align-items: baseline;
  gap: 16px;
  padding: 18px 48px;
  background: var(--c-text);
  color: #fff;
  font-family: var(--f-sans);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.3em;
  transition: background .3s;
}
.contact-btn span {
  font-family: var(--f-mincho);
  font-size: 11px;
  font-weight: 400;
  letter-spacing: 0.2em;
  color: rgba(255,255,255,0.85);
}
.contact-btn:hover { background: var(--c-accent); }
.contact-tel {
  font-family: var(--f-en-serif);
  font-style: italic;
  font-size: 16px;
  letter-spacing: 0.15em;
  color: var(--c-text);
  text-align: left;
}
.contact-tel em { font-style: italic; }
.contact-tel span {
  display: block;
  font-family: var(--f-sans);
  font-style: normal;
  font-size: 10px;
  letter-spacing: 0.25em;
  color: var(--c-text-mute);
  margin-top: 4px;
}

/* ==========================================================================
   FOOTER
   ========================================================================== */
.site-footer {
  background: #1A1614;
  color: #C2B48A;
  padding: 56px 48px 28px;
}
.footer-inner {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 36px;
  flex-wrap: wrap;
  gap: 24px;
}
.footer-brand .logo-brand { color: #fff; font-size: 30px; }
.footer-brand .logo-sub { color: #9D7C5A; }
.footer-nav ul {
  display: flex;
  gap: 28px;
  font-family: var(--f-sans);
  font-size: 10px;
  letter-spacing: 0.2em;
  flex-wrap: wrap;
}
.footer-nav a { transition: opacity .3s; }
.footer-nav a:hover { opacity: 0.65; }
.copyright {
  border-top: 1px solid #3A3024;
  padding-top: 22px;
  font-size: 9px;
  letter-spacing: 0.2em;
  color: #6B6055;
}

/* ==========================================================================
   INTRO（ローディング幕）＋ HERO 入場シーケンス
   ========================================================================== */
.intro {
  position: fixed; inset: 0;
  z-index: 200;
  background: var(--c-bg);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 1s cubic-bezier(.76, 0, .24, 1);
}
.intro img {
  height: min(32vh, 280px);
  width: auto;
  opacity: 0;
  transform: translateY(18px);
  animation: introLogo 1s ease .15s forwards;
}
@keyframes introLogo { to { opacity: 1; transform: none; } }
body.intro-done .intro { transform: translateY(-101%); }

@keyframes fadeUp {
  from { opacity: 0; transform: translateY(26px); }
  to   { opacity: 1; transform: none; }
}
@keyframes fadeInSoft { to { opacity: 0.85; } }

.hero-logo   { opacity: 0; animation: fadeUp 1.4s cubic-bezier(.2,.6,.2,1) 1.25s forwards; }
.hero-tag    { opacity: 0; animation: fadeUp 1.4s cubic-bezier(.2,.6,.2,1) 1.55s forwards; }
.hero-scroll { opacity: 0; animation: fadeInSoft 1.2s ease 2.5s forwards; }
.hero-side, .hero-credit { opacity: 0; animation: fadeInSoft 1.2s ease 2.2s forwards; }

/* ==========================================================================
   FULLSCREEN CHAPTERS（章立て構成 — YMY参照）
   ========================================================================== */
.ch {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 110px 64px 80px;
  background: var(--c-bg);
  overflow: hidden;
}
.ch-white { background: var(--c-white); }
.ch-warm { background: var(--c-bg-warm); }

/* カーテン積層（デスクトップのみ）：次章が前章の上にせり上がって覆う
   margin-bottom = 滞留区間。章が完全に表示されたまま止まって見える時間を作り、
   下端の内容が次章に覆われて見えなくなる問題を解消する */
@media (min-width: 1025px) {
  .fullscreen-chapters .ch-stack {
    position: sticky;
    top: 0;
    height: 100vh;
    min-height: 100vh;
    margin-bottom: 55vh;
  }
  .fullscreen-chapters .ch-stack:last-of-type { margin-bottom: 0; }
}

/* 固定ヘッダー（全章の上に常駐。スクロール時はJSで暗色バックが付く） */
.header-fixed { position: fixed; z-index: 80; }

/* 2カラムパネル（YMY参照：インセット・レイヤー構造）
   全幅ベタ付けにせず、前章が上端・端から覗く「浮いたカード」として構成。
   左右カラムの上端オフセットは非対称、せり上がりも時間差（JSパララックス）。 */
.ch-panel {
  padding: 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: stretch;
  background: var(--c-bg);
}
.panel-text {
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--c-bg);
  padding: 120px 6vw 90px;
}
.panel-text-white { background: var(--c-white); }
.panel-text-warm { background: var(--c-bg-warm); }
.panel-text-inner { max-width: 500px; width: 100%; }
.panel-img {
  position: relative;
  background-color: var(--c-img-bg);
  background-position: center;
  background-size: cover;
  overflow: hidden;
}
.panel-img::after {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(20,15,10,0) 52%, rgba(20,15,10,0.42) 100%);
}
.panel-word {
  position: absolute;
  left: 6%; bottom: 5%;
  z-index: 1;
  margin: 0;
  color: #fff;
  font-family: var(--f-sans);
  font-weight: 200;
  font-size: clamp(44px, 6.8vw, 120px);
  letter-spacing: 0.22em;
  line-height: 1;
  white-space: nowrap;
}
.panel-word-corner { position: absolute; left: 5%; bottom: 5%; z-index: 1; }

/* ---- 演出：時間差リビール（メニュー・3軸・Journal） ---- */
.reveal .craft-menu li {
  opacity: 0;
  transform: translateY(14px);
  transition: opacity .9s cubic-bezier(.2,.6,.2,1), transform .9s cubic-bezier(.2,.6,.2,1);
}
.reveal.is-visible .craft-menu li { opacity: 1; transform: none; }
.reveal.is-visible .craft-menu li:nth-child(1) { transition-delay: .1s; }
.reveal.is-visible .craft-menu li:nth-child(2) { transition-delay: .24s; }
.reveal.is-visible .craft-menu li:nth-child(3) { transition-delay: .38s; }
.reveal.is-visible .craft-menu li:nth-child(4) { transition-delay: .52s; }

.ch-features .feature:nth-child(2) { transition-delay: .18s; }
.ch-features .feature:nth-child(3) { transition-delay: .36s; }
.ch-journal .journal-item:nth-child(2) { transition-delay: .18s; }
.ch-journal .journal-item:nth-child(3) { transition-delay: .36s; }

/* ---- 演出：大文字ENの着地（章が定着した瞬間に浮かび上がる） ---- */
@media (min-width: 1025px) {
  .panel-word {
    opacity: 0;
    transform: translateY(28px);
    letter-spacing: 0.34em;
    transition:
      opacity 1.1s ease .15s,
      transform 1.1s cubic-bezier(.2,.6,.2,1) .15s,
      letter-spacing 1.5s ease .15s;
  }
  .is-settled .panel-word {
    opacity: 1;
    transform: none;
    letter-spacing: 0.22em;
  }
}

/* パネル専用の静かな背景（前章のテキストがギャップに残らないよう遮蔽）
   写真にクリームの紗をかけ、文字情報ゼロの「気配」だけを残す */
.panel-backdrop { display: none; }

/* ---- デスクトップ：インセット絶対配置（ギャップには静かな背景のみ） ---- */
@media (min-width: 1025px) {
  .ch-panel {
    display: block;
    background: var(--c-bg);
  }
  .panel-backdrop {
    display: block;
    position: absolute;
    inset: 0;
    background-position: center;
    background-size: cover;
  }
  .panel-backdrop::after {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(250, 245, 232, 0.78);   /* クリームの紗 */
  }
  .ch-panel .panel-text {
    position: absolute;
    left: 6vw; top: 13vh; bottom: 0;
    width: 41vw;
    padding: 60px 3.5vw;
    will-change: transform;
  }
  .ch-panel .panel-img {
    position: absolute;
    left: 50%; right: 0; top: 7vh; bottom: 0;
    will-change: transform;
  }
  /* 反転パネル：写真左・テキスト右（オフセットも鏡像） */
  .ch-panel.panel-reversed .panel-img {
    left: 0; right: 50%;
  }
  .ch-panel.panel-reversed .panel-text {
    left: auto; right: 6vw;
  }
}

/* 章番号ラベル */
.ch-num {
  font-family: var(--f-en-serif);
  font-style: italic;
  font-size: 14px;
  letter-spacing: 0.28em;
  color: var(--c-accent);
  margin-bottom: 10px;
}
.ch-num-light { color: #EA9E5A; }
.ch-label { font-size: 14px; letter-spacing: 0.3em; color: var(--c-accent); margin-bottom: 48px; }

/* 中央章 */
.ch-center { text-align: center; }
.ch-inner-narrow { max-width: var(--w-narrow); margin: 0 auto; }
.ch-inner-wide { max-width: var(--w-content); margin: 0 auto; width: 100%; }
.ch-center-header { text-align: center; margin-bottom: 56px; }

/* 分割章 */
.ch-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
  max-width: var(--w-content);
  width: 100%;
  margin: 0 auto;
}
.ch-title {
  font-family: var(--f-mincho);
  font-size: clamp(22px, 2.3vw, 30px);
  font-weight: 500;
  line-height: 1.9;
  letter-spacing: 0.1em;
  color: var(--c-text);
  margin: 26px 0 28px;
}
.ch-body {
  font-family: var(--f-mincho);
  font-size: 14px;
  line-height: 2.35;
  letter-spacing: 0.08em;
  color: var(--c-text-body);
  margin-bottom: 36px;
}
.ch-imgs { position: relative; height: min(62vh, 560px); }
.ch-img-main {
  position: absolute; top: 0; right: 0;
  width: 82%; height: 78%;
  background: var(--c-img-bg) center/cover no-repeat;
}
.ch-img-sub {
  position: absolute; bottom: 0; left: 0;
  width: 48%; height: 46%;
  background: var(--c-img-bg) center/cover no-repeat;
}
.ch-imgs-portrait {
  aspect-ratio: 4/5;
  max-height: 66vh;
  background: var(--c-img-bg) center/cover no-repeat;
}
.ch-inner-hand { grid-template-columns: 0.85fr 1.15fr; }

/* 全面写真章 */
.ch-full { color: #fff; text-align: center; }
.ch-full .ch-bg {
  position: absolute; inset: 0;
  background-color: var(--c-img-bg);
  background-position: center;
  background-size: cover;
}
.ch-full .ch-bg::after {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(20,15,10,0.38) 0%, rgba(20,15,10,0.56) 100%);
}
.ch-full-content { position: relative; z-index: 1; max-width: var(--w-narrow); }
.ch-full-label {
  font-family: var(--f-mincho);
  font-size: 12px;
  letter-spacing: 0.35em;
  opacity: 0.9;
  margin-bottom: 30px;
}
.ch-full-title {
  font-family: var(--f-mincho);
  font-size: clamp(24px, 3vw, 38px);
  font-weight: 500;
  line-height: 1.9;
  letter-spacing: 0.12em;
  margin-bottom: 30px;
  text-shadow: 0 2px 12px rgba(0,0,0,0.35);
}
.ch-full-body {
  font-family: var(--f-mincho);
  font-size: 14px;
  line-height: 2.4;
  letter-spacing: 0.08em;
  margin-bottom: 40px;
  text-shadow: 0 1px 6px rgba(0,0,0,0.35);
}
.sub-detail-light { border-color: #fff; }
.sub-detail-light em, .sub-detail-light span { color: #fff; }

/* 明るいオーバーレイの全面章（TABLE） */
.ch-full-light { color: var(--c-text); }
.ch-full-light .ch-bg::after {
  background: linear-gradient(180deg, rgba(242,234,211,0.8) 0%, rgba(250,245,232,0.88) 100%);
}
.ch-full-light .ch-full-content { display: flex; flex-direction: column; align-items: center; }

/* 章内グリッドの圧縮 */
.ch-features { gap: 44px; }
.ch-features .feature-img { margin-bottom: 20px; }
.ch-journal { gap: 36px; }
.ch-journal .journal-img { margin-bottom: 18px; }
.ch .journal-cta { margin-top: 48px; }

/* 最終章（CONTACT + FOOTER） */
.ch-last {
  flex-direction: column;
  align-items: stretch;
  justify-content: space-between;
  padding: 0;
  background: var(--c-bg);
}
.ch-contact {
  position: relative;
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 130px 32px 90px;
  overflow: hidden;
}
.ch-contact .contact-bg { position: absolute; inset: 0; z-index: 0; }
.ch-contact .contact-content { position: relative; z-index: 1; }
.ch-last .site-footer { flex: none; }

/* 章ドットナビ */
.ch-dots {
  position: fixed;
  right: 24px; top: 50%;
  transform: translateY(-50%);
  z-index: 60;
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.ch-dots a {
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--c-text-light);
  opacity: 0.4;
  transition: all .3s ease;
}
.ch-dots a.active {
  background: var(--c-accent);
  opacity: 1;
  transform: scale(1.45);
}
@media (max-width: 1024px) { .ch-dots { display: none; } }

/* 章のレスポンシブ */
@media (max-width: 1024px) {
  .ch { padding: 100px 28px 70px; min-height: auto; }
  .ch-inner { gap: 44px; }
  .ch-imgs { height: 420px; }
  .ch-panel { display: flex; flex-direction: column; padding: 0; }
  /* スマホは章ごとの並びを「画像→説明」で統一（DOM順の交互を打ち消す） */
  .ch-panel .panel-img   { order: 1; }
  .ch-panel .panel-text  { order: 2; }
  .ch-panel .panel-backdrop { display: none; }
  .panel-img { min-height: 0; height: 34vh; max-height: 300px; }
  .panel-text { padding: 54px 28px 64px; }
  .panel-word { font-size: 38px; }
  .header-fixed { position: absolute; }
}
@media (max-width: 720px) {
  .ch { padding: 80px 24px 60px; }
  .ch-inner, .ch-inner-hand { grid-template-columns: 1fr; }
  .ch-imgs { height: 320px; }
  .ch-imgs-portrait { max-width: 300px; margin: 0 auto; width: 100%; }
  .ch-features { grid-template-columns: 1fr; gap: 48px; }
  .ch-journal { grid-template-columns: 1fr; gap: 36px; }
}

/* ==========================================================================
   Responsive (Tablet)
   ========================================================================== */
@media (max-width: 1024px) {
  :root { --pad-section: 100px; }
  .site-header { padding: 20px 28px; }
  .narrative { padding: 100px 28px; }
  .gallery { grid-template-columns: repeat(4, 1fr); }
  .gallery-img.wide { grid-column: span 2; }
  .sub-section { padding: 100px 28px; gap: 40px; }
  .sub-images { height: 440px; }
  .features { padding: 100px 28px; }
  .features-grid { gap: 40px; }
  .hand { padding: 100px 28px; gap: 40px; }
  .journal { padding: 100px 28px; }
  .journal-grid { gap: 28px; }
}

/* ==========================================================================
   Responsive (Mobile)
   ========================================================================== */
@media (max-width: 720px) {
  :root { --pad-section: 80px; }

  .menu-toggle { display: flex; }
  .site-header { padding: 16px 20px; }

  .hero { min-height: 80vh; }
  .hero-side { display: none; }
  .hero-logo { height: 130px; margin-bottom: 28px; }
  .logo-img { height: 40px; }
  .hero-credit { left: 20px; right: 20px; bottom: 24px; text-align: center; }
  .credit-line { margin: 6px auto; }
  .hero-tag { font-size: 28px; line-height: 1.8; }
  .hero-en { font-size: 13px; margin-bottom: 24px; }

  .narrative { padding: 80px 20px; }
  .narrative-body { font-size: 16px; line-height: 2.2; }

  .overview { padding: 80px 0; }
  .overview-header { margin-bottom: 56px; }
  .overview-en { font-size: 28px; }
  .overview-body { padding: 0 24px; }
  .overview-body h2 { font-size: 22px; }
  .gallery { grid-template-columns: repeat(2, 1fr); margin-top: 60px; }
  .gallery-img.wide { grid-column: span 2; }
  .gallery-img.tall { aspect-ratio: 1; grid-row: span 1; }

  .sub-section {
    padding: 80px 24px;
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .sub-section.sub-reversed .sub-images { order: 0; }
  .sub-section.sub-reversed .sub-content { order: 1; }
  .sub-en { font-size: 28px; }
  .sub-jp-label { margin-bottom: 28px; }
  .sub-images { height: 340px; }

  .features { padding: 80px 24px; }
  .features-grid { grid-template-columns: 1fr; gap: 60px; }
  .features-header { margin-bottom: 56px; }

  .photo { padding: 80px 0; }
  .photo-header { margin-bottom: 48px; }
  .photo-strip { grid-template-columns: repeat(2, 1fr); margin-bottom: 48px; }

  .hand {
    grid-template-columns: 1fr;
    padding: 80px 24px;
    gap: 40px;
  }
  .hand-img { max-width: 320px; margin: 0 auto; width: 100%; }

  .journal { padding: 80px 24px; }
  .journal-grid { grid-template-columns: 1fr; gap: 40px; }
  .journal-header { margin-bottom: 56px; }

  .table-window { padding: 70px 24px; min-height: 340px; }

  .contact { padding: 80px 20px; min-height: 380px; }
  .contact-tag { font-size: 22px; }
  .contact-actions { flex-direction: column; gap: 28px; }

  .site-footer { padding: 40px 24px 20px; }
  .footer-inner { flex-direction: column; }
}


/* ==========================================================================
   teshigoto food works — 下層ページ共通スタイル
   （style.css を継承し、下層専用コンポーネントのみ追加）
   ========================================================================== */

/* ===== Page hero（下層用・短尺） ===== */
.page-hero {
  position: relative;
  min-height: 52vh;
  display: flex;
  align-items: flex-end;
  padding: 140px 64px 64px;
  color: #fff;
  overflow: hidden;
}
.page-hero-bg {
  position: absolute; inset: 0;
  background-color: var(--c-img-bg);
  background-position: center;
  background-size: cover;
}
.page-hero-bg::after {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(20,15,10,0.25) 0%, rgba(20,15,10,0.5) 100%);
}
.page-hero-inner { position: relative; z-index: 1; }
.page-hero-en {
  font-family: var(--f-en-serif);
  font-style: italic;
  font-size: clamp(40px, 5vw, 64px);
  letter-spacing: 0.08em;
  line-height: 1.1;
  margin-bottom: 14px;
  text-shadow: 0 2px 10px rgba(0,0,0,0.4);
}
.page-hero-jp {
  font-family: var(--f-mincho);
  font-size: 14px;
  letter-spacing: 0.35em;
  opacity: 0.95;
  text-shadow: 0 1px 6px rgba(0,0,0,0.4);
}
.breadcrumb {
  position: relative; z-index: 1;
  margin-top: 28px;
  font-family: var(--f-sans);
  font-size: 9px;
  letter-spacing: 0.22em;
  opacity: 0.75;
}
.breadcrumb a { border-bottom: 1px solid rgba(255,255,255,0.4); padding-bottom: 1px; }

/* ===== Page intro（詩的導入） ===== */
.page-intro {
  padding: var(--pad-section-sm) 32px calc(var(--pad-section-sm) + 20px);
  text-align: center;
  background: var(--c-bg);
}
.page-intro .section-en {
  font-size: 13px;
  letter-spacing: 0.3em;
  color: var(--c-accent);
  margin-bottom: 40px;
}
.page-intro-body {
  font-family: var(--f-mincho);
  font-size: clamp(16px, 1.5vw, 21px);
  line-height: 2.5;
  letter-spacing: 0.1em;
  color: var(--c-text);
}

/* ===== 縦積みセクション見出し ===== */
.block-header { text-align: center; margin-bottom: 72px; }
.block-header .section-en { font-size: 34px; }

/* ===== CRAFT 一覧（交互レイアウト・ナンバリング） ===== */
.craft-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 72px;
  align-items: center;
  max-width: var(--w-content);
  margin: 0 auto;
  padding: 72px 64px;
}
.craft-row.reversed .craft-img { order: 2; }
.craft-row.reversed .craft-text { order: 1; }
.craft-img {
  aspect-ratio: 4/3;
  background-color: var(--c-img-bg);
  background-position: center;
  background-size: cover;
}
.craft-num {
  font-family: var(--f-en-serif);
  font-style: italic;
  font-size: 15px;
  letter-spacing: 0.25em;
  color: var(--c-accent);
  margin-bottom: 14px;
}
.craft-title {
  font-family: var(--f-mincho);
  font-size: clamp(21px, 2vw, 26px);
  font-weight: 500;
  letter-spacing: 0.1em;
  line-height: 1.7;
  color: var(--c-text);
  margin-bottom: 24px;
}
.craft-desc {
  font-family: var(--f-mincho);
  font-size: 13.5px;
  line-height: 2.3;
  letter-spacing: 0.06em;
  color: var(--c-text-body);
  margin-bottom: 32px;
}

/* ===== 進め方（プロセス4段） ===== */
.process {
  padding: var(--pad-section-sm) 64px calc(var(--pad-section-sm) + 40px);
  background: var(--c-bg-warm);
}
.process-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 44px;
  max-width: var(--w-content);
  margin: 0 auto;
}
.process-step { position: relative; padding-top: 20px; border-top: 1px solid var(--c-line); }
.process-num {
  font-family: var(--f-en-serif);
  font-style: italic;
  font-size: 15px;
  letter-spacing: 0.2em;
  color: var(--c-accent);
  margin-bottom: 14px;
}
.process-title {
  font-family: var(--f-mincho);
  font-size: 17px;
  font-weight: 500;
  letter-spacing: 0.08em;
  color: var(--c-text);
  margin-bottom: 12px;
}
.process-desc {
  font-family: var(--f-mincho);
  font-size: 12px;
  line-height: 2.1;
  color: var(--c-text-mute);
}

/* ===== こんな方と（フィット表明＝選別装置） ===== */
.fit {
  padding: var(--pad-section-sm) 32px;
  background: var(--c-white);
  text-align: center;
}
.fit-list {
  max-width: var(--w-narrow);
  margin: 0 auto;
  text-align: left;
}
.fit-list li {
  font-family: var(--f-mincho);
  font-size: 14px;
  line-height: 2.1;
  letter-spacing: 0.06em;
  color: var(--c-text-body);
  padding: 20px 8px 20px 36px;
  border-bottom: 1px solid var(--c-line);
  position: relative;
}
.fit-list li::before {
  content: "—";
  position: absolute; left: 8px;
  color: var(--c-accent);
}

/* ===== WORK 実績カード ===== */
.case-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 48px 40px;
  max-width: var(--w-content);
  margin: 0 auto;
  padding: 0 64px;
}
.case-item { cursor: pointer; }
.case-img {
  aspect-ratio: 16/11;
  background-color: var(--c-img-bg);
  background-position: center;
  background-size: cover;
  margin-bottom: 20px;
  transition: filter .6s;
}
.case-item:hover .case-img { filter: brightness(1.05); }
.case-tag {
  display: inline-block;
  font-family: var(--f-sans);
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.2em;
  color: var(--c-accent);
  border: 1px solid currentColor;
  padding: 4px 12px;
  margin-bottom: 14px;
}
.case-client {
  font-family: var(--f-en-serif);
  font-style: italic;
  font-size: 12px;
  letter-spacing: 0.2em;
  color: var(--c-text-light);
  margin-bottom: 8px;
}
.case-title {
  font-family: var(--f-mincho);
  font-size: 16px;
  font-weight: 500;
  line-height: 1.8;
  letter-spacing: 0.05em;
  color: var(--c-text);
  margin-bottom: 10px;
}
.case-scope {
  font-family: var(--f-sans);
  font-size: 10.5px;
  letter-spacing: 0.12em;
  color: var(--c-text-mute);
}
.case-note {
  max-width: var(--w-narrow);
  margin: 72px auto 0;
  padding: 0 32px;
  text-align: center;
  font-family: var(--f-mincho);
  font-size: 12px;
  line-height: 2.2;
  color: var(--c-text-mute);
}

/* ===== TABLE（個人向けゾーン）＝勾配：同じ骨格・やや温かい温度 ===== */
.table-zone-note {
  font-family: var(--f-sans);
  font-size: 9px;
  letter-spacing: 0.25em;
  color: var(--c-text-light);
  text-align: center;
  padding-top: 8px;
}
.recipe-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 44px 36px;
  max-width: var(--w-content);
  margin: 0 auto;
  padding: 0 64px;
}
.recipe-card { cursor: pointer; }
.recipe-img {
  aspect-ratio: 1/1;
  background-color: var(--c-img-bg);
  background-position: center;
  background-size: cover;
  margin-bottom: 18px;
  transition: filter .6s, transform .6s;
}
.recipe-card:hover .recipe-img { filter: brightness(1.05); }
.recipe-season {
  font-family: var(--f-en-serif);
  font-style: italic;
  font-size: 12px;
  letter-spacing: 0.25em;
  color: var(--c-accent);
  margin-bottom: 8px;
}
.recipe-name {
  font-family: var(--f-mincho);
  font-size: 16px;
  font-weight: 500;
  line-height: 1.8;
  letter-spacing: 0.05em;
  color: var(--c-text);
  margin-bottom: 8px;
}
.recipe-meta {
  font-family: var(--f-sans);
  font-size: 10px;
  letter-spacing: 0.15em;
  color: var(--c-text-mute);
}

/* ===== レシピ詳細 ===== */
.recipe-article {
  max-width: 860px;
  margin: 0 auto;
  padding: var(--pad-section-sm) 32px;
}
.recipe-hero-img {
  aspect-ratio: 16/10;
  background-color: var(--c-img-bg);
  background-position: center;
  background-size: cover;
  margin-bottom: 48px;
}
.recipe-lead {
  font-family: var(--f-mincho);
  font-size: 15px;
  line-height: 2.5;
  letter-spacing: 0.08em;
  color: var(--c-text-body);
  margin-bottom: 64px;
}
.recipe-section-label {
  font-family: var(--f-en-serif);
  font-style: italic;
  font-size: 22px;
  letter-spacing: 0.15em;
  color: var(--c-text);
  margin-bottom: 6px;
}
.recipe-section-jp {
  font-family: var(--f-mincho);
  font-size: 11px;
  letter-spacing: 0.3em;
  color: var(--c-text-mute);
  margin-bottom: 32px;
}
.ingredients {
  margin-bottom: 64px;
  border-top: 1px solid var(--c-line);
}
.ingredients li {
  display: flex;
  justify-content: space-between;
  font-family: var(--f-mincho);
  font-size: 13.5px;
  letter-spacing: 0.05em;
  color: var(--c-text-body);
  padding: 13px 6px;
  border-bottom: 1px solid var(--c-line);
}
.ingredients li span:last-child { color: var(--c-text-mute); }
.steps { counter-reset: step; margin-bottom: 64px; }
.steps li {
  counter-increment: step;
  position: relative;
  padding: 0 0 28px 56px;
  font-family: var(--f-mincho);
  font-size: 13.5px;
  line-height: 2.2;
  letter-spacing: 0.05em;
  color: var(--c-text-body);
}
.steps li::before {
  content: "0" counter(step);
  position: absolute; left: 0; top: 2px;
  font-family: var(--f-en-serif);
  font-style: italic;
  font-size: 15px;
  letter-spacing: 0.1em;
  color: var(--c-accent);
}
.nutrition-note {
  background: var(--c-bg-warm);
  padding: 40px 44px;
  margin-bottom: 64px;
}
.nutrition-note .recipe-section-label { font-size: 18px; }
.nutrition-note p {
  font-family: var(--f-mincho);
  font-size: 13px;
  line-height: 2.3;
  color: var(--c-text-body);
}

/* ===== GIFT（スタンプ配布） ===== */
.stamp-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  max-width: 780px;
  margin: 0 auto 72px;
  padding: 0 32px;
}
.stamp {
  aspect-ratio: 1;
  background: var(--c-white);
  border: 1px solid var(--c-line);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-family: var(--f-mincho);
  font-size: 11px;
  letter-spacing: 0.1em;
  color: var(--c-text-mute);
  text-align: center;
  padding: 12px;
}
.stamp em {
  font-family: var(--f-en-serif);
  font-size: 26px;
  color: var(--c-accent);
}
.gift-band {
  background: var(--c-bg-warm);
  text-align: center;
  padding: 72px 32px;
}
.gift-band h3 {
  font-family: var(--f-mincho);
  font-size: clamp(19px, 2vw, 24px);
  font-weight: 500;
  letter-spacing: 0.1em;
  line-height: 1.9;
  color: var(--c-text);
  margin-bottom: 20px;
}
.gift-band p {
  font-family: var(--f-mincho);
  font-size: 13px;
  line-height: 2.2;
  color: var(--c-text-mute);
  margin-bottom: 36px;
}
.line-btn {
  display: inline-flex;
  align-items: baseline;
  gap: 14px;
  padding: 17px 44px;
  background: var(--c-text);
  color: #fff;
  font-family: var(--f-sans);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.25em;
  transition: background .3s;
}
.line-btn:hover { background: var(--c-accent); }
.line-btn span {
  font-family: var(--f-mincho);
  font-size: 10.5px;
  font-weight: 400;
  letter-spacing: 0.18em;
  color: rgba(255,255,255,0.85);
}

/* ===== 汎用帯 ===== */
.band-white { background: var(--c-white); padding: var(--pad-section-sm) 0 calc(var(--pad-section-sm) + 30px); }
.band-cream { background: var(--c-bg); padding: var(--pad-section-sm) 0 calc(var(--pad-section-sm) + 30px); }
.center-cta { text-align: center; margin-top: 64px; }

/* ===== Responsive ===== */
@media (max-width: 1024px) {
  .page-hero { padding: 120px 28px 48px; }
  .craft-row { padding: 56px 28px; gap: 40px; }
  .process { padding: 80px 28px 110px; }
  .process-grid { grid-template-columns: repeat(2, 1fr); }
  .case-grid, .recipe-grid { padding: 0 28px; grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 720px) {
  .page-hero { min-height: 42vh; }
  .page-hero-en { font-size: 36px; }
  .craft-row { grid-template-columns: 1fr; }
  .craft-row.reversed .craft-img { order: 0; }
  .craft-row.reversed .craft-text { order: 1; }
  .process-grid { grid-template-columns: 1fr; gap: 32px; }
  .case-grid, .recipe-grid { grid-template-columns: 1fr; }
  .stamp-grid { grid-template-columns: repeat(2, 1fr); }
  .recipe-article { padding: 60px 24px; }
  .nutrition-note { padding: 28px 24px; }
}


/* 下層：レシピ詳細ページ等の無ヒーロー用ソリッドヘッダー */
.header-solid { position: relative; background: var(--c-dark); }


/* ==========================================================================
   v1.1 追加分
   ========================================================================== */

/* ---- 下層ヘッダーの視認性改善：固定化＋常時の暗色スクリム ---- */
.subpage .site-header {
  position: fixed;
}
.subpage .site-header::before {
  content: "";
  position: absolute;
  left: 0; right: 0; top: 0;
  height: 150%;
  background: linear-gradient(180deg, rgba(26,22,20,0.55) 0%, rgba(26,22,20,0.28) 60%, rgba(26,22,20,0) 100%);
  pointer-events: none;
  z-index: -1;
}
.subpage .site-nav a { text-shadow: 0 1px 4px rgba(0,0,0,0.35); }
.subpage .nav-jp { opacity: 0.95; }
/* レシピ詳細等のソリッドヘッダーは従来どおり（固定化しない） */
.subpage .site-header.header-solid { position: relative; }
.subpage .site-header.header-solid::before { display: none; }

/* ---- TOP 07章：最新レシピ（ポラロイド風カード） ---- */
.table-strip {
  display: flex;
  gap: 28px;
  justify-content: center;
  align-items: flex-start;
  margin: 52px 0 56px;
  flex-wrap: wrap;
}
.table-strip-item {
  width: min(176px, 22vw);
  background: #fff;
  padding: 10px 10px 16px;
  box-shadow: 0 8px 28px rgba(26, 22, 20, 0.10);
  transform: rotate(-1.6deg);
  transition: transform .55s cubic-bezier(.2,.6,.2,1), box-shadow .55s;
}
.table-strip-item:nth-child(even) {
  transform: rotate(1.8deg) translateY(8px);
}
.table-strip-item:hover {
  transform: rotate(0deg) translateY(-6px);
  box-shadow: 0 14px 34px rgba(26, 22, 20, 0.14);
}
.table-strip-img {
  display: block;
  aspect-ratio: 1;
  background-color: var(--c-img-bg);
  background-position: center;
  background-size: cover;
}
.table-strip-title {
  display: block;
  margin-top: 13px;
  padding: 0 4px;
  font-family: var(--f-mincho);
  font-size: 11.5px;
  line-height: 1.8;
  letter-spacing: 0.04em;
  color: var(--c-text);
  text-align: center;
}
@media (max-width: 720px) {
  .table-strip { gap: 14px; margin: 36px 0 40px; }
  .table-strip-item { width: calc(50% - 14px); }
}

/* ---- 投稿詳細（single.php）本文の組版 ---- */
.wp-article { padding-top: 140px; }
.subpage .wp-article { padding-top: 160px; }
.wp-breadcrumb { color: var(--c-text-mute); margin-bottom: 40px; }
.wp-breadcrumb a { border-bottom: 1px solid var(--c-line); padding-bottom: 1px; }
.wp-post-title { font-size: clamp(24px, 3vw, 32px); margin: 8px 0 44px; }
.wp-content p {
  font-family: var(--f-mincho);
  font-size: 14.5px;
  line-height: 2.4;
  letter-spacing: 0.06em;
  color: var(--c-text-body);
  margin-bottom: 28px;
}
.wp-content h2 {
  font-family: var(--f-mincho);
  font-size: 19px;
  font-weight: 500;
  letter-spacing: 0.08em;
  color: var(--c-text);
  margin: 56px 0 20px;
  padding-left: 14px;
  border-left: 2px solid var(--c-accent);
}
.wp-content ul, .wp-content ol {
  font-family: var(--f-mincho);
  font-size: 14px;
  line-height: 2.2;
  color: var(--c-text-body);
  margin: 0 0 28px 1.4em;
}
.wp-content ul { list-style: disc; }
.wp-content ol { list-style: decimal; }
.wp-content li { margin-bottom: 6px; }
.wp-content img { width: 100%; height: auto; margin: 12px 0 32px; }
.wp-content figure { margin: 12px 0 32px; }
.wp-content figure img { margin: 0; }


/* ---- 実績詳細（ケーススタディ）の組版 ---- */
.case-article .case-tag { margin-top: 8px; }
.wp-content .case-data {
  display: grid;
  grid-template-columns: 140px 1fr;
  gap: 12px 24px;
  margin: 40px 0 52px;
  padding: 30px 34px;
  background: var(--c-white);
  border: 1px solid var(--c-line);
  font-family: var(--f-mincho);
  font-size: 13px;
  line-height: 1.9;
}
.wp-content .case-data dt {
  color: var(--c-text-mute);
  letter-spacing: 0.12em;
}
.wp-content .case-data dd { margin: 0; color: var(--c-text); }
.wp-content blockquote {
  margin: 48px 0;
  padding: 32px 36px;
  background: var(--c-bg-warm);
  border-left: 2px solid var(--c-accent);
  font-family: var(--f-mincho);
  font-size: 14px;
  line-height: 2.3;
  letter-spacing: 0.05em;
  color: var(--c-text-body);
}
.wp-content blockquote p { margin-bottom: 0; }
.wp-content blockquote cite {
  display: block;
  margin-top: 14px;
  font-style: normal;
  font-size: 11px;
  letter-spacing: 0.12em;
  color: var(--c-text-mute);
}
.wp-content .wp-note {
  font-size: 11px;
  line-height: 2;
  color: var(--c-text-mute);
  margin-top: 56px;
  padding-top: 18px;
  border-top: 1px solid var(--c-line);
}
@media (max-width: 720px) {
  .wp-content .case-data { grid-template-columns: 1fr; gap: 2px 0; padding: 22px 20px; }
  .wp-content .case-data dt { margin-top: 10px; }
}


/* ---- 個人向けフローティングバナー ---- */
.float-banner {
  position: fixed;
  right: 26px;
  bottom: 26px;
  z-index: 90;
  display: block;
  background: #fff;
  padding: 16px 26px 15px 20px;
  border-top: 2px solid var(--c-accent);
  box-shadow: 0 10px 32px rgba(26, 22, 20, 0.16);
  opacity: 0;
  transform: translateY(18px);
  pointer-events: none;
  transition: opacity .5s ease, transform .5s cubic-bezier(.2,.6,.2,1), box-shadow .3s;
}
.float-banner.is-visible {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}
.float-banner:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 38px rgba(26, 22, 20, 0.2);
}
.fb-en {
  display: block;
  font-family: var(--f-en-serif);
  font-style: italic;
  font-size: 16px;
  letter-spacing: 0.18em;
  color: var(--c-accent);
}
.fb-jp {
  display: block;
  margin-top: 4px;
  font-family: var(--f-mincho);
  font-size: 13px;
  letter-spacing: 0.08em;
  color: var(--c-text);
}
.fb-sub {
  display: block;
  margin-top: 5px;
  font-family: var(--f-sans);
  font-size: 9px;
  letter-spacing: 0.2em;
  color: var(--c-text-mute);
}
.float-banner-close {
  position: absolute;
  top: -10px;
  left: -10px;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: var(--c-text);
  color: #fff;
  font-size: 14px;
  line-height: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 8px rgba(26,22,20,.25);
}
.float-banner-close:hover { background: var(--c-accent); }
@media (max-width: 720px) {
  .float-banner { right: 14px; bottom: 14px; padding: 13px 20px 12px 16px; }
  .fb-en { font-size: 14px; }
  .fb-jp { font-size: 12px; }
}


/* ---- カテゴリ一覧（アーカイブ） ---- */
.archive-grid { padding-bottom: 20px; }
.archive-pagination {
  text-align: center;
  padding: 50px 0 110px;
}
.archive-pagination .nav-links {
  display: inline-flex;
  gap: 10px;
  align-items: center;
}
.archive-pagination .page-numbers {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 40px;
  height: 40px;
  padding: 0 8px;
  font-family: var(--f-en-serif);
  font-style: italic;
  font-size: 15px;
  color: var(--c-text);
  border: 1px solid var(--c-line);
  transition: all .3s;
}
.archive-pagination .page-numbers.current {
  background: var(--c-text);
  color: #fff;
  border-color: var(--c-text);
}
.archive-pagination .page-numbers:hover:not(.current) {
  border-color: var(--c-accent);
  color: var(--c-accent);
}


/* ---- フォト実績：メゾンリーギャラリー ---- */
.photo-masonry {
  column-count: 3;
  column-gap: 14px;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 28px 100px;
}
.masonry-item {
  position: relative;
  display: block;
  margin-bottom: 14px;
  overflow: hidden;
  break-inside: avoid;
}
.masonry-item img {
  width: 100%;
  height: auto;
  display: block;
  transition: transform 1s cubic-bezier(.2,.6,.2,1), filter .6s;
}
.masonry-item:hover img {
  transform: scale(1.03);
  filter: brightness(0.82);
}
.masonry-caption {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  padding: 40px 18px 16px;
  background: linear-gradient(180deg, rgba(20,15,10,0) 0%, rgba(20,15,10,0.55) 100%);
  opacity: 0;
  transform: translateY(8px);
  transition: opacity .5s ease, transform .5s cubic-bezier(.2,.6,.2,1);
  pointer-events: none;
}
.masonry-item:hover .masonry-caption { opacity: 1; transform: none; }
.masonry-title {
  display: block;
  font-family: var(--f-mincho);
  font-size: 13px;
  letter-spacing: 0.06em;
  color: #fff;
  line-height: 1.7;
}
.masonry-view {
  display: block;
  margin-top: 4px;
  font-family: var(--f-en-serif);
  font-style: italic;
  font-size: 11px;
  letter-spacing: 0.3em;
  color: rgba(255,255,255,0.8);
}
@media (max-width: 1024px) { .photo-masonry { column-count: 2; } }
@media (max-width: 720px)  { .photo-masonry { column-count: 2; column-gap: 10px; padding: 0 16px 70px; } .masonry-item { margin-bottom: 10px; } }

/* ---- フォト実績：作品詳細（写真を主役に） ---- */
.gallery-article { max-width: 1000px; }
.gallery-article .gallery-title { font-size: clamp(20px, 2.2vw, 26px); margin-bottom: 40px; }
.gallery-article .wp-content img { margin: 10px 0 36px; }
.gallery-article .wp-content p {
  max-width: 640px;
  margin-left: auto;
  margin-right: auto;
  font-size: 13.5px;
  text-align: center;
  color: var(--c-text-mute);
}
.gallery-article .wp-content figure { margin: 10px 0 36px; }


/* ---- HERO右フレームの動画 ---- */
.hs-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.hs-veil {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg,
    rgba(250, 245, 232, 0.20) 0%,
    rgba(250, 245, 232, 0.04) 45%,
    rgba(250, 245, 232, 0.16) 100%);
  pointer-events: none;
}

/* ==========================================================================
   CONTACT FORM
   ========================================================================== */
.contact-form-wrap { max-width: 760px; margin: 0 auto; padding: 0 24px 40px; }
.form-error {
  background: #FBEFE6; border-left: 3px solid var(--c-accent); color: var(--c-text);
  padding: 14px 18px; font-size: 13.5px; margin-bottom: 36px;
}
.contact-form { display: block; }
.ff-row { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; }
.ff-field { display: block; margin-bottom: 30px; }
.ff-label {
  display: block; font-size: 12.5px; letter-spacing: 0.14em; color: var(--c-text-mute);
  margin-bottom: 10px;
}
.ff-req {
  font-style: normal; font-size: 10px; color: var(--c-accent);
  border: 1px solid currentColor; padding: 1px 7px; margin-left: 8px; letter-spacing: 0.2em;
}
.contact-form input[type="text"],
.contact-form input[type="email"],
.contact-form select,
.contact-form textarea {
  width: 100%; background: var(--c-bg); border: 1px solid var(--c-line);
  padding: 14px 16px; font: inherit; font-size: 14.5px; color: var(--c-text);
  border-radius: 0; outline: none; transition: border-color .3s ease, background .3s ease;
  -webkit-appearance: none; appearance: none;
}
.contact-form textarea { resize: vertical; line-height: 1.9; }
.contact-form input:focus, .contact-form select:focus, .contact-form textarea:focus {
  border-color: var(--c-accent); background: #fff;
}
.ff-agree { display: flex; align-items: center; gap: 10px; justify-content: center; font-size: 13.5px; margin-top: 8px; cursor: pointer; }
.ff-agree input { width: 16px; height: 16px; accent-color: var(--c-accent); }
.ff-agree a { color: var(--c-accent); border-bottom: 1px solid currentColor; }
.form-submit { border: none; font: inherit; }
.form-result { text-align: center; padding: 40px 0 60px; }
.form-result .fr-en { font-family: var(--f-en-serif); font-style: italic; font-size: 30px; color: var(--c-accent); margin-bottom: 20px; }
.form-result .fr-jp { font-size: 15px; line-height: 2.3; }
@media (max-width: 768px) { .ff-row { grid-template-columns: 1fr; gap: 0; } }

/* ==========================================================================
   LEGAL (プライバシーポリシー)
   ========================================================================== */
.legal-article { max-width: 720px; margin: 0 auto; padding: 0 24px 60px; }
.legal-article .legal-lead { font-size: 14.5px; line-height: 2.3; margin-bottom: 48px; }
.legal-article h2 {
  font-family: var(--f-mincho); font-size: 17px; font-weight: 600; letter-spacing: 0.06em;
  margin: 44px 0 14px; padding-bottom: 10px; border-bottom: 1px solid var(--c-line);
}
.legal-article p { font-size: 14px; line-height: 2.15; color: var(--c-text-soft, var(--c-text)); }
.legal-article a { color: var(--c-accent); border-bottom: 1px solid currentColor; }
.legal-date { margin-top: 56px; font-size: 12.5px; color: var(--c-text-mute); }
.footer-legal { text-align: center; margin-top: 28px; }
.footer-legal a { font-size: 11.5px; letter-spacing: 0.18em; color: rgba(255,255,255,0.55); border-bottom: 1px solid rgba(255,255,255,0.25); transition: color .3s ease; }
.footer-legal a:hover { color: #fff; }

/* ==========================================================================
   MOTION POLISH v2
   ========================================================================== */
/* GPUレイヤー昇格（スクロール中の再描画を防ぐ） */
.fullscreen-chapters .ch-bg,
.fullscreen-chapters .panel-img,
.fullscreen-chapters .panel-text,
.hs-video { will-change: transform; backface-visibility: hidden; }

/* HERO映像：ゆっくり寄っていくケンバーンズ */
.hs-video { animation: heroKen 26s ease-in-out infinite alternate; }
@keyframes heroKen { from { transform: scale(1); } to { transform: scale(1.07); } }

/* 章タイトル：一文字ずつの立ち上がり */
.t-split .tchar {
  display: inline-block; opacity: 0;
  transform: translateY(0.55em) rotate(1.5deg);
  transition: opacity .7s cubic-bezier(.22,1,.36,1), transform .9s cubic-bezier(.22,1,.36,1);
  transition-delay: calc(var(--ci) * 45ms);
}
.t-split.t-in .tchar { opacity: 1; transform: none; }

/* ポラロイド・カードのホバー強化 */
.table-strip-item .table-strip-img { overflow: hidden; }
.table-strip-item { transition: transform .5s cubic-bezier(.22,1,.36,1), box-shadow .5s ease; }
.table-strip-item:hover { transform: translateY(-8px) rotate(0deg) !important; box-shadow: 0 18px 40px rgba(26,22,20,0.16); }

/* マグネットボタン（JSがtransformを書く） */
.contact-btn, .hs-cta, .line-btn { transition: transform .35s cubic-bezier(.22,1,.36,1), background .3s ease; }

/* 筆記体マーキー（CONTACT章の頭） */
.marquee {
  position: absolute; top: 7vh; left: 0; width: 100%; overflow: hidden;
  pointer-events: none; z-index: 0;
}
.marquee-track {
  display: inline-flex; white-space: nowrap; will-change: transform;
  animation: marquee 38s linear infinite;
}
.marquee-track span {
  font-family: var(--f-en-serif); font-style: italic; font-size: clamp(40px, 6vw, 84px);
  color: rgba(255,255,255,0.14); padding-right: 8vw; line-height: 1.2;
}
@keyframes marquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }

/* ==========================================================================
   FB機能：PRバッジ / 栄養価 / 資格枠
   ========================================================================== */
.pr-badge {
  display: inline-block; margin-left: 10px; padding: 2px 9px;
  font-family: var(--f-en-serif); font-size: 10.5px; letter-spacing: 0.18em;
  color: var(--c-text-mute); border: 1px solid var(--c-line); border-radius: 2px;
  vertical-align: middle; background: var(--c-tint);
}
.case-article .pr-badge, .gallery-article .pr-badge { margin-left: 0; margin-bottom: 14px; }

.nutrition-block {
  max-width: 680px; margin: 48px auto 8px; padding: 30px 34px;
  background: var(--c-tint); border-radius: 6px;
}
.nutri-head { text-align: center; margin-bottom: 22px; }
.nutri-head em { display: block; font-family: var(--f-en-serif); font-style: italic; font-size: 20px; color: var(--c-accent); }
.nutri-head span { display: block; font-size: 12px; letter-spacing: 0.1em; color: var(--c-text-mute); margin-top: 4px; }
.nutri-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: var(--c-line); border: 1px solid var(--c-line); }
.nutri-cell { background: var(--c-white); padding: 16px 10px; text-align: center; }
.nutri-label { display: block; font-size: 11.5px; letter-spacing: 0.08em; color: var(--c-text-mute); margin-bottom: 6px; }
.nutri-value { display: block; font-family: var(--f-mincho); font-size: 17px; color: var(--c-text); }
.nutri-note { margin-top: 16px; font-size: 11px; color: var(--c-text-mute); text-align: center; }
@media (max-width: 600px) { .nutri-grid { grid-template-columns: repeat(2, 1fr); } }

.credentials .cred-note { display: inline-block; font-size: 11.5px; color: var(--c-text-mute); margin-top: 4px; }
.credentials a { color: var(--c-accent); border-bottom: 1px solid currentColor; }


/* ==========================================================================
   FB：モバイル・ドロワーメニュー ＆ CONTACT強調
   ========================================================================== */
/* CONTACT（デスクトップ）：塗り強調で目立たせる */
.nav-cta {
  background: var(--c-accent);
  color: #fff !important;
  border: 1px solid var(--c-accent);
  border-radius: 40px;
  padding: 11px 26px;
  box-shadow: 0 6px 18px rgba(197,107,26,0.28);
}
.nav-cta .nav-jp { opacity: 0.9; }
.nav-cta:hover { background: #b0600f; border-color: #b0600f; transform: translateY(-1px); }
.fullscreen-chapters .nav-cta { background: var(--c-accent); color: #fff !important; border-color: var(--c-accent); }
.fullscreen-chapters .nav-cta:hover { background: #b0600f; }

/* ハンバーガー：視認性を上げる（丸背景） */
.menu-toggle {
  position: relative; z-index: 1002;
  width: 46px; height: 46px; border-radius: 50%;
  align-items: center; justify-content: center; gap: 5px;
  background: rgba(197,107,26,0.10); border: 1px solid rgba(197,107,26,0.35);
}
.menu-toggle span { width: 20px; transition: transform .35s ease, opacity .25s ease; background: var(--c-accent); }
body.nav-open .menu-toggle span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
body.nav-open .menu-toggle span:nth-child(2) { opacity: 0; }
body.nav-open .menu-toggle span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

@media (max-width: 720px) {
  /* ドロワー本体 */
  .site-nav {
    position: fixed; inset: 0; z-index: 1001;
    display: flex !important; align-items: center; justify-content: center;
    background: #FAF5E8;
    background: linear-gradient(160deg, #FAF5E8 0%, #F2EAD3 100%);
    opacity: 0; visibility: hidden; transform: translateY(-8px);
    transition: opacity .4s ease, transform .4s ease, visibility .4s;
    padding: 90px 28px 40px;
  }
  body.nav-open { overflow: hidden; }
  body.nav-open .site-nav { opacity: 1; visibility: visible; transform: none; }

  .site-nav ul {
    flex-direction: column; gap: 4px; width: 100%; max-width: 340px;
    font-size: 15px; letter-spacing: 0.12em;
  }
  .site-nav li {
    width: 100%; opacity: 0; transform: translateY(12px);
    transition: opacity .5s ease, transform .5s ease;
  }
  body.nav-open .site-nav li { opacity: 1; transform: none; }
  body.nav-open .site-nav li:nth-child(1) { transition-delay: .10s; }
  body.nav-open .site-nav li:nth-child(2) { transition-delay: .16s; }
  body.nav-open .site-nav li:nth-child(3) { transition-delay: .22s; }
  body.nav-open .site-nav li:nth-child(4) { transition-delay: .28s; }
  body.nav-open .site-nav li:nth-child(5) { transition-delay: .34s; }
  body.nav-open .site-nav li:nth-child(6) { transition-delay: .40s; }
  body.nav-open .site-nav li:nth-child(7) { transition-delay: .46s; }

  .site-nav a {
    flex-direction: row; justify-content: space-between; align-items: baseline;
    padding: 18px 6px; border-bottom: 1px solid var(--c-line);
    color: var(--c-text) !important; text-shadow: none !important;
  }
  .site-nav .nav-jp { font-size: 12px; opacity: 0.6; }
  .site-nav a:not(.nav-cta)::after { display: none; }

  /* ドロワー内のCONTACTは大きな塗りボタンに */
  .site-nav .nav-cta {
    margin-top: 22px; justify-content: center; border-radius: 44px;
    padding: 18px 24px; color: #fff !important; font-size: 15px;
    box-shadow: 0 8px 22px rgba(197,107,26,0.3);
  }
  .site-nav .nav-cta .nav-jp { color: rgba(255,255,255,0.9); }
  .site-nav .nav-cta::after { display: none; }
}

/* ==========================================================================
   FB：GALLERY STRIP（料理写真の流れる帯）
   ========================================================================== */
.ch-strip {
  background: var(--c-dark);
  display: flex; flex-direction: column; justify-content: center;
  overflow: hidden; padding: 70px 0;
}
.ch-strip .strip-head { text-align: center; margin-bottom: 40px; padding: 0 24px; }
.ch-strip .strip-label {
  font-family: var(--f-mincho); font-size: clamp(18px, 2.4vw, 26px);
  color: var(--c-cream, #FAF5E8); letter-spacing: 0.08em; margin-top: 10px;
}
.ch-strip .ch-num-light em { color: var(--c-accent); }
.photo-marquee { width: 100%; overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.pm-track { display: flex; width: max-content; gap: 20px; animation: pmScroll 48s linear infinite; will-change: transform; }
.ch-strip:hover .pm-track { animation-play-state: paused; }
.pm-item {
  flex: 0 0 auto; width: 300px; height: 210px; border-radius: 4px;
  background-size: cover; background-position: center;
  box-shadow: 0 12px 30px rgba(0,0,0,0.3);
}
@keyframes pmScroll { from { transform: translateX(0); } to { transform: translateX(-50%); } }
.strip-cta { text-align: center; margin-top: 42px; }
.strip-cta .sub-detail em { color: var(--c-accent); }
.strip-cta .sub-detail span { color: rgba(250,245,232,0.75); }
@media (max-width: 720px) {
  .pm-item { width: 210px; height: 150px; }
  .pm-track { animation-duration: 36s; }
}
@media (prefers-reduced-motion: reduce) { .pm-track { animation: none; } }

/* 05 強みと特徴：見出し下のリード文 */
.axes-lead {
  max-width: 860px;
  margin: 22px auto 0;
  text-align: left;
  font-size: 14.5px;
  line-height: 2.15;
  color: var(--c-text-soft, var(--c-text));
}
@media (max-width: 720px) { .axes-lead { font-size: 13.5px; line-height: 2; text-align: left; } }

/* ==========================================================================
   NEWS 帯（HERO直下のお知らせ）
   ========================================================================== */
.news-band {
  position: relative; z-index: 5;
  background: var(--c-white);
  border-top: 1px solid var(--c-line);
  border-bottom: 1px solid var(--c-line);
  padding: 22px 6vw;
}
.news-inner {
  max-width: var(--w-content, 1180px); margin: 0 auto;
  display: flex; align-items: center; gap: 32px;
}
.news-label { flex: 0 0 auto; display: flex; align-items: baseline; gap: 12px; }
.news-label em { font-family: var(--f-en-serif); font-style: italic; font-size: 18px; color: var(--c-accent); }
.news-label span { font-family: var(--f-mincho); font-size: 12px; letter-spacing: 0.14em; color: var(--c-text-mute); }
.news-list { flex: 1 1 auto; list-style: none; margin: 0; padding: 0; min-width: 0; }
.news-item + .news-item { border-top: 1px dashed var(--c-line); }
.news-item a {
  display: flex; align-items: baseline; gap: 20px; padding: 9px 0;
  transition: color .3s ease;
}
.news-date { flex: 0 0 auto; font-family: var(--f-en-serif); font-style: italic; font-size: 13px; color: var(--c-text-mute); }
.news-title {
  font-family: var(--f-mincho); font-size: 14px; color: var(--c-text);
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.news-item a:hover .news-title { color: var(--c-accent); }
@media (max-width: 720px) {
  .news-band { padding: 18px 22px; }
  .news-inner { flex-direction: column; align-items: flex-start; gap: 12px; }
  .news-item a { flex-direction: column; gap: 2px; }
  .news-title { white-space: normal; font-size: 13.5px; }
}

/* レシピ・タイトル直下の栄養サマリー（横並びチップ） */
.nutri-inline {
  display: flex; flex-wrap: wrap; align-items: center; gap: 10px;
  margin: 20px 0 8px;
}
.nutri-chip {
  display: inline-flex; align-items: baseline; gap: 8px;
  border: 1px solid var(--c-line); border-radius: 4px;
  padding: 7px 14px; background: var(--c-white);
}
.nutri-chip .nc-label { font-size: 11.5px; letter-spacing: 0.06em; color: var(--c-text-mute); }
.nutri-chip .nc-value { font-family: var(--f-mincho); font-size: 15px; color: var(--c-text); }
.nutri-inline-note { font-size: 11px; color: var(--c-text-mute); margin-left: 4px; }
@media (max-width: 600px) {
  .nutri-chip { padding: 6px 11px; }
  .nutri-chip .nc-value { font-size: 14px; }
}


/* ==========================================================================
   お知らせ章（カーテン章として表示）＆ 05/07 の1画面収め
   ========================================================================== */
.news-chapter .news-list { list-style: none; margin: 0 auto; padding: 0; max-width: 640px; text-align: left; }
.news-chapter .news-item + .news-item { border-top: 1px solid var(--c-line); }
.news-chapter .news-item a { display: flex; align-items: baseline; gap: 22px; padding: 18px 6px; transition: color .3s ease; }
.news-chapter .news-date { flex: 0 0 auto; font-family: var(--f-en-serif); font-style: italic; font-size: 14px; color: var(--c-text-mute); }
.news-chapter .news-title { font-family: var(--f-mincho); font-size: 15px; color: var(--c-text); }
.news-chapter .news-item a:hover .news-title { color: var(--c-accent); }
@media (max-width: 720px) {
  .news-chapter .news-item a { flex-direction: column; gap: 3px; padding: 14px 4px; }
}

/* ---- 05 強みと特徴：1画面に収める（コンパクト化） ---- */
@media (min-width: 1025px) {
  #axes.ch { align-items: flex-start; padding-top: 124px; padding-bottom: 60px; }
  #axes .ch-center-header { margin-bottom: 28px; }
  #axes .axes-lead { font-size: 13px; line-height: 1.95; margin: 14px auto 0; max-width: 800px; }
  #axes .ch-features { gap: 34px; margin-top: 36px; }
  #axes .feature-img { aspect-ratio: auto; height: 150px; margin-bottom: 16px; }
  #axes .feature-num { font-size: 12px; margin-bottom: 4px; }
  #axes .feature-title { font-size: 17px; margin-bottom: 8px; }
  #axes .feature-desc { font-size: 12.5px; line-height: 1.8; }
}

/* ---- 07 レシピ：1画面に収める ---- */
@media (min-width: 1025px) {
  #table.ch { align-items: flex-start; padding-top: 120px; padding-bottom: 56px; }
  #table .table-window-label { margin-bottom: 10px; }
  #table .ch-title { font-size: clamp(22px, 2.6vw, 30px); margin-bottom: 18px; }
  #table .table-strip { margin: 30px 0 30px; gap: 22px; }
  #table .table-strip-item { width: 165px; padding: 9px 9px 12px; }
  #table .table-strip-img { width: 100%; height: auto; aspect-ratio: 1; }
}


/* 05 見出し「手仕事の3つの軸」を大きく（Q数アップ） */
#axes .sub-jp-label {
  font-family: var(--f-mincho);
  font-size: clamp(24px, 2.8vw, 34px);
  font-weight: 600;
  letter-spacing: 0.12em;
  color: var(--c-text);
  margin-bottom: 12px;
}
@media (max-width: 720px) { #axes .sub-jp-label { font-size: 22px; } }


/* 08 見出し「管理栄養士の徒然なる記事」を大きく（Q数アップ） */
#journal .sub-jp-label {
  font-family: var(--f-mincho);
  font-size: clamp(20px, 2.4vw, 28px);
  font-weight: 600;
  letter-spacing: 0.1em;
  color: var(--c-text);
  margin-bottom: 12px;
}
@media (max-width: 720px) { #journal .sub-jp-label { font-size: 19px; } }

/* HERO オーバーレイのブランド行 */
.hs-overlay-brand { font-family: var(--f-en-serif); font-style: italic; font-size: 1.15em; letter-spacing: 0.04em; }
.hs-overlay-site { font-family: var(--f-en-serif); font-style: italic; letter-spacing: 0.14em; opacity: 0.85; }


/* リンクボタン：ホバー時は文字・矢印をすべて白に統一（視認性確保） */
.sub-detail:hover em,
.sub-detail:hover span,
.sub-detail:hover::after,
.strip-cta .sub-detail:hover em,
.strip-cta .sub-detail:hover span,
.strip-cta .sub-detail:hover::after,
.sub-detail-light:hover em,
.sub-detail-light:hover span,
.sub-detail-light:hover::after { color: #fff !important; }
.sub-detail-light:hover {
  background: var(--c-accent);
  border-color: var(--c-accent);
  box-shadow: 0 8px 20px rgba(197,107,26,0.28);
}
