/* ことばの灯台（制作サンプル）— style.css
   方向：あたたかく前向きで、個人の顔が見える（docs/design-direction.md）
   色：焙茶 #3A2D25／夕橙 #E8813A／濃い橙 #A64A15／ひかりの黄 #F5D38A／生成り #FBF7F1
   字体：Zen Kaku Gothic New（本文・見出し）／Klee One（想いの一文）／Instrument Serif（英字・数字） */

:root {
  --c-main: #3A2D25;
  --c-main-soft: #6B5B52;
  --c-accent: #E8813A;
  --c-accent-deep: #A64A15;
  --c-accent-light: #F5D38A;
  --c-accent-pale: #FCEADB;
  --c-base: #FBF7F1;
  --c-white: #FFFFFF;
  --c-line: rgba(58, 45, 37, 0.14);
  --font-body: "Zen Kaku Gothic New", "Hiragino Kaku Gothic ProN", "Hiragino Sans", "Yu Gothic", "Noto Sans JP", Meiryo, sans-serif;
  --font-hand: "Klee One", "Hiragino Maru Gothic ProN", var(--font-body);
  --font-accent: "Instrument Serif", "Times New Roman", Georgia, serif;
  --fs-body: 1rem;
  --lh-body: 1.9;
  --radius-tile: 20px;
  --radius-card: 16px;
  --shadow-soft: 0 10px 30px rgba(58, 45, 37, 0.08);
  --space-section: 72px;
  --gutter: 20px;
  --header-h: 64px;
  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
}
@media (min-width: 1024px) {
  :root { --fs-body: 1.0625rem; --space-section: 128px; --gutter: 40px; --header-h: 80px; }
}

/* ---------- 基本 ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { font-size: 100%; scroll-behavior: smooth; -webkit-text-size-adjust: 100%; overflow-x: clip; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  margin: 0;
  overflow-x: clip;
  font-family: var(--font-body);
  font-size: var(--fs-body);
  line-height: var(--lh-body);
  color: var(--c-main);
  background: var(--c-base);
  letter-spacing: 0.02em;
  overflow-wrap: anywhere;
  font-feature-settings: "palt" 0;
}
body.has-fixed-cta { padding-bottom: 84px; }
@media (min-width: 1024px) { body.has-fixed-cta { padding-bottom: 0; } }
img, svg { max-width: 100%; height: auto; display: block; }
figure { margin: 0; }
a { color: var(--c-accent-deep); text-decoration-thickness: 1px; text-underline-offset: 0.2em; }
a:hover { text-decoration-thickness: 2px; }
h1, h2, h3, h4 { font-weight: 700; line-height: 1.4; letter-spacing: -0.005em; margin: 0 0 0.6em; text-wrap: balance; word-break: auto-phrase; }
h1 { font-size: 1.875rem; }
h2 { font-size: 1.625rem; }
h3 { font-size: 1.2rem; }
h4 { font-size: 1.05rem; }
@media (min-width: 1024px) {
  h1 { font-size: 3rem; }
  h2 { font-size: 2.25rem; }
  h3 { font-size: 1.35rem; }
}
p { margin: 0 0 1.2em; }
p:last-child { margin-bottom: 0; }
ul, ol { padding-left: 1.4em; margin: 0 0 1.2em; }
small, .note { font-size: 0.875rem; color: var(--c-main-soft); }
strong { font-weight: 700; }
.marker { background: linear-gradient(transparent 62%, var(--c-accent-light) 62%, var(--c-accent-light) 92%, transparent 92%); padding: 0 0.1em; }
.nowrap { white-space: nowrap; }
.container { width: 100%; max-width: 1200px; margin: 0 auto; padding-left: var(--gutter); padding-right: var(--gutter); }
.container--narrow { max-width: 820px; }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap; border: 0; }
.skip-link { position: absolute; left: 8px; top: -60px; z-index: 1000; background: var(--c-main); color: var(--c-white); padding: 12px 16px; border-radius: 8px; }
.skip-link:focus { top: 8px; }
:focus-visible { outline: 3px solid var(--c-accent-deep); outline-offset: 3px; border-radius: 4px; }

/* 英字の小見出し（Instrument Serif・斜体） */
.eyebrow {
  display: block;
  font-family: var(--font-accent);
  font-style: italic;
  font-weight: 400;
  font-size: 1.25rem;
  letter-spacing: 0.04em;
  color: var(--c-accent-deep);
  margin-bottom: 10px;
  line-height: 1.2;
}
.num { font-family: var(--font-accent); font-weight: 400; font-variant-numeric: tabular-nums; }
.hand { font-family: var(--font-hand); font-weight: 600; letter-spacing: 0.04em; }

/* ---------- ボタン ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 56px; padding: 12px 28px; border-radius: 999px;
  font-weight: 700; font-size: 1rem; line-height: 1.3; text-decoration: none; cursor: pointer;
  border: 2px solid transparent; font-family: inherit; letter-spacing: 0.02em;
  transition: transform 0.25s var(--ease-out), box-shadow 0.25s var(--ease-out), background-color 0.25s;
}
.btn--primary { background: var(--c-accent); color: var(--c-main); border-color: var(--c-accent); }
.btn--primary:hover, .btn--primary:focus-visible { background: #F1934F; transform: translateY(-2px); box-shadow: 0 10px 24px rgba(232, 129, 58, 0.35); }
.btn--secondary { background: transparent; color: var(--c-main); border-color: var(--c-main); }
.btn--secondary:hover, .btn--secondary:focus-visible { background: var(--c-white); transform: translateY(-2px); }
.btn--dark { background: var(--c-main); color: var(--c-white); border-color: var(--c-main); }
.btn--dark:hover { background: #4E3D33; transform: translateY(-2px); }
.btn--small { min-height: 48px; padding: 8px 18px; font-size: 0.9375rem; }
.btn--block { width: 100%; }
.btn .arrow { display: inline-block; transition: transform 0.25s var(--ease-out); }
.btn:hover .arrow { transform: translateX(4px); }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
@media (max-width: 480px) { .btn { padding: 12px 20px; font-size: 0.9375rem; } .btn-row .btn { width: 100%; } }
.btn-row--center { justify-content: center; }
.btn:disabled, .btn[aria-disabled="true"] { opacity: 0.5; cursor: not-allowed; transform: none; box-shadow: none; }

/* ---------- ヘッダー ---------- */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(251, 247, 241, 0.82);
  -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--c-line);
}
.site-header__inner { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: var(--header-h); }
.site-logo { display: flex; align-items: center; gap: 10px; color: var(--c-main); text-decoration: none; min-height: 48px; }
.site-logo__mark { width: 36px; height: 36px; flex: none; }
.site-logo__text { display: flex; flex-direction: column; line-height: 1.2; }
.site-logo__name { font-weight: 700; font-size: 1.125rem; letter-spacing: 0.06em; }
.site-logo__sub { font-size: 0.8125rem; color: var(--c-main-soft); display: none; }
@media (min-width: 1024px) { .site-logo__sub { display: block; } .site-logo__mark { width: 42px; height: 42px; } }
.site-header__actions { display: flex; align-items: center; gap: 8px; }
.site-header__cta { display: none; }
.site-header__cta--sp { display: inline-flex; }
@media (min-width: 1024px) { .site-header__cta { display: inline-flex; } .site-header__cta--sp { display: none; } }

.menu-toggle {
  display: inline-flex; flex-direction: column; align-items: center; justify-content: center; gap: 4px;
  width: 60px; min-height: 52px; border: 0; background: transparent; cursor: pointer; color: var(--c-main); font-family: inherit; padding: 4px; border-radius: 10px;
}
.menu-toggle__bars { position: relative; width: 22px; height: 14px; display: block; }
.menu-toggle__bars::before, .menu-toggle__bars::after, .menu-toggle__bars span { content: ""; position: absolute; left: 0; width: 100%; height: 2px; background: currentColor; border-radius: 2px; transition: transform 0.3s var(--ease-out), opacity 0.2s; }
.menu-toggle__bars::before { top: 0; }
.menu-toggle__bars span { top: 6px; }
.menu-toggle__bars::after { bottom: 0; }
.menu-toggle[aria-expanded="true"] .menu-toggle__bars::before { transform: translateY(6px) rotate(45deg); }
.menu-toggle[aria-expanded="true"] .menu-toggle__bars::after { transform: translateY(-6px) rotate(-45deg); }
.menu-toggle[aria-expanded="true"] .menu-toggle__bars span { opacity: 0; }
.menu-toggle__label { font-size: 0.8125rem; line-height: 1; font-weight: 700; }
@media (min-width: 1024px) { .menu-toggle { display: none; } }

.site-nav { position: fixed; inset: var(--header-h) 0 0 0; background: var(--c-base); padding: 24px var(--gutter) 120px; overflow-y: auto; transform: translateX(100%); opacity: 0; visibility: hidden; transition: transform 0.4s var(--ease-out), opacity 0.3s, visibility 0.3s; z-index: 90; }
.site-nav.is-open { transform: translateX(0); opacity: 1; visibility: visible; }
.site-nav__list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 4px; }
.site-nav__list a { display: flex; align-items: center; justify-content: space-between; min-height: 56px; padding: 8px 12px; color: var(--c-main); text-decoration: none; font-weight: 700; font-size: 1.125rem; border-radius: 12px; border-bottom: 1px solid var(--c-line); }
.site-nav__list a::after { content: "→"; color: var(--c-accent-deep); }
.site-nav__list a[aria-current="page"] { color: var(--c-accent-deep); }
.site-nav__contact a { background: var(--c-accent); border: 0; justify-content: center; margin-top: 16px; border-radius: 999px; }
.site-nav__contact a::after { content: none; }
.site-nav__note { margin-top: 28px; font-size: 0.875rem; color: var(--c-main-soft); }
@media (min-width: 1024px) {
  .site-nav { position: static; inset: auto; background: transparent; padding: 0; transform: none; opacity: 1; visibility: visible; overflow: visible; transition: none; }
  .site-nav__list { flex-direction: row; align-items: center; gap: 4px; }
  .site-nav__list a { min-height: 48px; padding: 8px 12px; font-size: 0.9375rem; border: 0; border-radius: 999px; }
  .site-nav__list a::after { content: none; }
  .site-nav__list a:hover { background: var(--c-accent-pale); }
  .site-nav__contact { display: none; }
  .site-nav__note { display: none; }
}
body.menu-open { overflow: hidden; }

/* ---------- 章の基本 ---------- */
.section { padding: var(--space-section) 0; }
.section--pale { background: var(--c-accent-pale); }
.section--white { background: var(--c-white); }
.section--dark { background: var(--c-main); color: var(--c-base); }
.section--dark .eyebrow { color: var(--c-accent-light); }
.section--dark a { color: var(--c-accent-light); }
.section--tight { padding: calc(var(--space-section) * 0.6) 0; }
.section-head { margin-bottom: 36px; }
.section-head--center { text-align: center; }
.section-head p { max-width: 36em; }
.section-head--center p { margin-left: auto; margin-right: auto; }
@media (min-width: 1024px) { .section-head { margin-bottom: 56px; } }
.lead { font-size: 1.0625rem; }
@media (min-width: 1024px) { .lead { font-size: 1.125rem; } }
.prose { max-width: 36em; }
.prose--center { margin-left: auto; margin-right: auto; }

/* ---------- ページの見出し（下層） ---------- */
.page-hero { padding: 48px 0 40px; position: relative; overflow: hidden; }
.page-hero::before { content: ""; position: absolute; right: -80px; top: -60px; width: 260px; height: 260px; border-radius: 50%; background: var(--c-accent-light); opacity: 0.7; z-index: -1; }
.page-hero h1 { margin-bottom: 12px; }
.page-hero p { max-width: 36em; }
.breadcrumb { list-style: none; margin: 0 0 20px; padding: 0; display: flex; flex-wrap: wrap; gap: 6px; font-size: 0.875rem; color: var(--c-main-soft); }
.breadcrumb li + li::before { content: "/"; margin-right: 6px; color: var(--c-line); }
.breadcrumb a { color: var(--c-main-soft); }
@media (min-width: 1024px) { .page-hero { padding: 80px 0 64px; } .page-hero::before { width: 420px; height: 420px; right: -40px; top: -120px; } }

/* ---------- トップ：最初の画面（旧：左に文字・右に小さな写真と橙の丸。2026-10-10 に「写真を全面に」へ。hero--full を外せば戻る） ---------- */
.hero { position: relative; overflow: hidden; padding: 16px 0 56px; }
.hero__blob--2 { display: none; }
@media (max-width: 1023px) { .hero .eyebrow, .hero__tags .pc-only, .hero__lead .pc-only { display: none; } .hero__photo { aspect-ratio: 2 / 1; } .hero__hand { margin-bottom: 8px; } .hero__inner { gap: 20px; } .hero__lead { margin-bottom: 18px; } .hero__tags { margin-bottom: 18px; } .hero__blob { width: 140px; height: 140px; right: -50px; top: -30px; } }
.hero__inner { display: grid; gap: 28px; }
.hero__media { order: -1; }
.hero__photo { position: relative; aspect-ratio: 16 / 9; border-radius: var(--radius-tile); overflow: hidden; background: var(--c-accent-pale); }
.hero__photo img { width: 100%; height: 100%; object-fit: cover; }
.hero__media { position: relative; }
.hero__blob { position: absolute; width: 180px; height: 180px; border-radius: 50%; background: var(--c-accent); opacity: 0.9; right: -60px; top: -40px; z-index: -1; }
.hero__blob--2 { width: 120px; height: 120px; background: var(--c-accent-light); left: -50px; bottom: 80px; right: auto; top: auto; }
.hero__text { position: relative; }
.hero__hand { font-size: 1.125rem; margin-bottom: 14px; color: var(--c-accent-deep); }
.hero__title { font-size: 2rem; line-height: 1.35; margin-bottom: 18px; letter-spacing: -0.01em; }
.hero__title .line { display: block; width: fit-content; }
.hero__title .line:nth-child(2) { background: linear-gradient(transparent 68%, var(--c-accent-light) 68%, var(--c-accent-light) 94%, transparent 94%); }
.hero__lead { max-width: 32em; margin-bottom: 24px; }
.hero__tags { list-style: none; padding: 0; margin: 0 0 24px; display: flex; flex-wrap: wrap; gap: 8px; }
.hero__tags li { font-size: 0.875rem; font-weight: 700; padding: 6px 14px; border-radius: 999px; background: var(--c-white); border: 1px solid var(--c-line); }
.hero__photo-note { margin-top: 10px; font-size: 0.875rem; color: var(--c-main-soft); }
@media (min-width: 1024px) {
  .hero { padding: 48px 0 96px; }
  .hero__inner { grid-template-columns: 1.1fr 0.9fr; align-items: center; gap: 64px; }
  .hero__text { order: 1; }
  .hero__media { order: 2; }
  .hero__blob--2 { display: block; }
  .hero__photo { aspect-ratio: 4 / 5; max-width: 480px; margin-left: auto; }
  .hero__blob { width: 340px; height: 340px; right: -120px; top: -120px; }
  .hero__blob--2 { width: 200px; height: 200px; left: -80px; bottom: -40px; }
  .hero__title { font-size: 3.25rem; line-height: 1.25; }
  .hero__hand { font-size: 1.375rem; }
}
@media (min-width: 1280px) { .hero__title { font-size: 3.625rem; } }

/* ---------- トップ：最初の画面（写真を全面に・案1「片側をうっすら明るく」2026-10-10 ボス決定） ----------
   写真 p01 を画面いっぱいに置き、PC は左側・スマホは下側だけ生成り #FBF7F1 をうっすらかけて焙茶の文字を置く。
   見出しは PC 1行・スマホ 2行（各行 .line で途中で折り返さない）。2行目に夕橙の細い下線。
   動きは「写真がゆっくり引く（scale 1.06 → 1.0・8秒・1回・picture だけ）」の1つだけ。CSS だけ・動きを減らす設定で止める */
.hero--full { position: relative; isolation: isolate; overflow: hidden; padding: 0; min-height: 720px; display: flex; flex-direction: column; justify-content: flex-end; background: var(--c-accent-pale); }
.hero__ph { position: absolute; inset: 0; z-index: -1; margin: 0; overflow: hidden; }
.hero__ph picture, .hero__ph img { display: block; width: 100%; height: 100%; }
.hero__ph img { object-fit: cover; object-position: 60% 50%; }
.hero__ph picture { animation: heroPull 8s var(--ease-out) both; }
@keyframes heroPull { from { transform: scale(1.06); } to { transform: scale(1); } }
/* スマホ：下から生成り。66% 地点は 0.6（手書きの一文が手の上で 4.5:1 を切らないように。art-director 2026-10-10） */
.hero__ph::after { content: ""; position: absolute; inset: 0; pointer-events: none; background: linear-gradient(0deg, rgba(251,247,241,0.96) 0%, rgba(251,247,241,0.88) 44%, rgba(251,247,241,0.6) 66%, rgba(251,247,241,0) 84%); }
.hero--full .hero__inner { position: static; display: block; width: 100%; padding-top: 28px; padding-bottom: 28px; }
.hero--full .hero__text { position: relative; }
.hero--full .hero__hand { margin-bottom: 10px; }
.hero--full .hero__title { font-size: clamp(28px, 9vw, 36px); line-height: 1.3; letter-spacing: 0.01em; margin: 0 0 16px; }
.hero--full .hero__title .line { display: block; width: fit-content; white-space: nowrap; background: none; }
.hero--full .hero__title .line:nth-child(2) { background-image: linear-gradient(var(--c-accent), var(--c-accent)); background-repeat: no-repeat; background-position: 0 100%; background-size: 100% 3px; padding-bottom: 6px; }
.hero--full .hero__lead { margin-bottom: 18px; }
.hero--full .hero__tags { margin-bottom: 18px; }
.hero--full .btn--secondary { background: rgba(251, 247, 241, 0.9); }
@media (min-width: 1024px) {
  .hero--full { min-height: 840px; justify-content: center; }
  .hero__ph img { object-position: 50% 40%; }
  /* PC：左から生成り */
  .hero__ph::after { background: linear-gradient(90deg, rgba(251,247,241,0.94) 0%, rgba(251,247,241,0.84) 34%, rgba(251,247,241,0.5) 56%, rgba(251,247,241,0) 76%); }
  .hero--full .hero__inner { padding-top: 48px; padding-bottom: 48px; }
  .hero--full .hero__text { max-width: 1000px; }
  .hero--full .hero__hand { margin-bottom: 14px; }
  .hero--full .hero__title { font-size: clamp(40px, 3.6vw, 54px); line-height: 1.25; margin-bottom: 22px; }
  .hero--full .hero__title .line { display: inline; width: auto; }
  .hero--full .hero__title .line + .line { margin-left: 0.5em; }
  .hero--full .hero__lead { max-width: 32em; margin-bottom: 22px; }
  .hero--full .hero__tags { margin-bottom: 22px; }
}
@media (prefers-reduced-motion: reduce) { .hero__ph picture { animation: none; } }

/* 1文字ずつ浮かぶ見出し */
.js .split .char { display: inline-block; opacity: 0; transform: translateY(0.4em); animation: charUp 0.7s var(--ease-out) forwards; animation-delay: calc(var(--i) * 40ms + 100ms); }
@keyframes charUp { to { opacity: 1; transform: translateY(0); } }

/* 画像の切り抜きで現れる */
.js .clip-reveal { clip-path: circle(0% at 50% 50%); animation: clipOpen 1.2s var(--ease-out) forwards; animation-delay: 0.2s; }
@keyframes clipOpen { to { clip-path: circle(75% at 50% 50%); } }
.js .clip-reveal--scroll { clip-path: inset(0 0 100% 0 round var(--radius-tile)); animation: none; transition: clip-path 1.1s var(--ease-out); }
.js .clip-reveal--scroll.is-visible { clip-path: inset(0 0 0 0 round var(--radius-tile)); }

/* 流れる帯 */
.marquee { position: relative; overflow: hidden; padding: 14px 0; border-top: 1px solid var(--c-line); border-bottom: 1px solid var(--c-line); background: var(--c-white); }
.marquee__track { display: flex; gap: 0; width: max-content; animation: marquee 60s linear infinite; }
.marquee__track.is-paused { animation-play-state: paused; }
.marquee__list { list-style: none; margin: 0; padding: 0; display: flex; gap: 0; }
.marquee__list li { white-space: nowrap; padding: 0 28px; font-size: 1.125rem; display: flex; align-items: center; gap: 28px; }
.marquee__list li::after { content: "●"; font-size: 0.5rem; color: var(--c-accent); }
.marquee__list .en { font-family: var(--font-accent); font-style: italic; font-size: 1.5rem; color: var(--c-accent-deep); }
@keyframes marquee { to { transform: translateX(-50%); } }
.marquee__pause { position: absolute; right: 12px; top: 50%; transform: translateY(-50%); box-shadow: -16px 0 16px 8px var(--c-white); min-width: 48px; min-height: 48px; border-radius: 999px; border: 1px solid var(--c-line); background: var(--c-white); font-family: inherit; font-size: 0.875rem; font-weight: 700; color: var(--c-main); cursor: pointer; padding: 4px 12px; }
@media (prefers-reduced-motion: reduce) { .marquee__track { animation: none; } .marquee__pause { display: none; } .marquee__list { flex-wrap: wrap; } .marquee__track { width: 100%; } }

/* 最初の画面のボタン：主ボタンを大きく、LINE は小さく横に */
.hero__actions .btn--small svg { flex: none; }
@media (min-width: 1024px) { .hero__actions { flex-wrap: nowrap; } .hero__actions .btn { white-space: nowrap; } }

/* ---------- 写真の帯（章の間の息つぎ） ---------- */
.photo-band { position: relative; margin: 0; }
.photo-band__img { aspect-ratio: 2 / 1; overflow: hidden; background: var(--c-accent-pale); }
.photo-band__img img { width: 100%; height: 100%; object-fit: cover; }
.photo-band__cap { position: absolute; left: var(--gutter); bottom: -28px; background: var(--c-base); padding: 18px 22px; border-radius: 16px; box-shadow: var(--shadow-soft); font-size: 1.125rem; line-height: 1.7; color: var(--c-accent-deep); max-width: calc(100% - var(--gutter) * 2); }
@media (min-width: 1024px) {
  .photo-band__img { aspect-ratio: 3 / 1; }
  .photo-band__cap { left: max(40px, calc((100vw - 1200px) / 2 + 40px)); bottom: -36px; font-size: 1.5rem; padding: 24px 32px; }
}
.photo-band + .section { padding-top: calc(var(--space-section) + 28px); }
@media (max-width: 1023px) { .photo-band__cap { position: relative; left: auto; bottom: auto; display: block; width: fit-content; margin: -24px var(--gutter) 0; } .photo-band + .section { padding-top: var(--space-section); } }

/* ---------- こんなことはありませんか ---------- */
.cases { display: grid; gap: 22px; }
.case { position: relative; background: var(--c-white); border-radius: 22px 22px 22px 6px; padding: 20px 22px; box-shadow: var(--shadow-soft); display: flex; gap: 14px; align-items: flex-start; margin-right: 28px; }
.case::after { content: ""; position: absolute; left: 0; bottom: -12px; width: 18px; height: 14px; background: var(--c-white); clip-path: polygon(0 0, 100% 0, 0 100%); }
.case:nth-child(even) { margin-right: 0; margin-left: 28px; border-radius: 22px 22px 6px 22px; background: var(--c-accent-light); }
.case:nth-child(even)::after { left: auto; right: 0; background: var(--c-accent-light); clip-path: polygon(0 0, 100% 0, 100% 100%); }
.case__num { font-family: var(--font-accent); font-size: 1.75rem; line-height: 1; color: var(--c-accent-deep); flex: none; width: 32px; }
.case__text { margin: 0; font-weight: 700; }
.case__who { display: block; margin-top: 8px; font-size: 0.875rem; color: var(--c-main-soft); font-weight: 400; }
.case:nth-child(even) .case__who { color: var(--c-main); }
@media (min-width: 768px) { .cases { grid-template-columns: repeat(2, 1fr); column-gap: 28px; } .case, .case:nth-child(even) { margin: 0; } .case:nth-child(even) { transform: translateY(36px); } .cases { padding-bottom: 36px; } }
@media (min-width: 1024px) { .cases { grid-template-columns: repeat(3, 1fr); } .case:nth-child(even) { transform: none; } .case:nth-child(3n+2) { transform: translateY(36px); } }

/* ---------- 3つの約束 ---------- */
.promises { display: grid; gap: 20px; counter-reset: promise; }
.promise { position: relative; padding: 28px 24px 24px; border-radius: var(--radius-tile); background: var(--c-white); }
.promise__num { font-family: var(--font-accent); font-style: italic; color: var(--c-accent-deep); font-size: 1.5rem; margin-bottom: 8px; display: block; }
.promise h3 { margin-bottom: 10px; }
.promise p { font-size: 0.9375rem; }
@media (min-width: 1024px) { .promises { grid-template-columns: repeat(3, 1fr); gap: 24px; } .promise { padding: 36px 32px 32px; } }

/* ---------- タイル状（ベントー） ---------- */
.bento { display: grid; gap: 14px; }
.tile { position: relative; display: flex; flex-direction: column; border-radius: var(--radius-tile); padding: 26px 24px; background: var(--c-white); box-shadow: var(--shadow-soft); color: var(--c-main); text-decoration: none; overflow: hidden; transition: transform 0.3s var(--ease-out), box-shadow 0.3s var(--ease-out); }
a.tile:hover, a.tile:focus-visible { transform: translateY(-4px); box-shadow: 0 18px 40px rgba(58, 45, 37, 0.14); }
.tile--accent { background: var(--c-accent); }
.tile--light { background: var(--c-accent-light); }
.tile--pale { background: var(--c-accent-pale); box-shadow: none; }
.tile--dark { background: var(--c-main); color: var(--c-base); }
.tile--dark .eyebrow { color: var(--c-accent-light); }
.tile__for { font-size: 0.875rem; font-weight: 700; color: var(--c-accent-deep); margin-bottom: 8px; }
.tile--accent .tile__for, .tile--light .tile__for { color: var(--c-main); }
.tile--dark .tile__for { color: var(--c-accent-light); }
.tile h3 { font-size: 1.25rem; margin-bottom: 8px; }
.tile p { font-size: 0.9375rem; margin-bottom: 12px; }
.tile__meta { margin-top: auto; display: flex; flex-wrap: wrap; align-items: baseline; gap: 6px 14px; font-size: 0.875rem; }
.tile__price { font-family: var(--font-accent); font-size: 1.75rem; line-height: 1; font-variant-numeric: tabular-nums; }
.tile__price small { font-family: var(--font-body); font-size: 0.875rem; color: inherit; }
.tile__more { margin-top: 14px; font-weight: 700; display: inline-flex; align-items: center; gap: 6px; }
.tile__more::after { content: "→"; transition: transform 0.25s var(--ease-out); }
a.tile:hover .tile__more::after { transform: translateX(4px); }
.tile__photo { margin: -26px -24px 20px; aspect-ratio: 16 / 9; overflow: hidden; background: var(--c-accent-pale); }
.tile__photo img { width: 100%; height: 100%; object-fit: cover; }
@media (min-width: 768px) {
  .bento { grid-template-columns: repeat(2, 1fr); }
  .tile--wide { grid-column: span 2; }
}
@media (min-width: 1024px) {
  .bento { grid-template-columns: repeat(12, 1fr); grid-auto-rows: minmax(180px, auto); gap: 20px; }
  .tile--wide { grid-column: span 7; grid-row: span 2; }
  .tile--wide .tile__photo { aspect-ratio: 21 / 9; }
  .tile--mid { grid-column: span 5; }
  .tile--small { grid-column: span 4; }
  .tile--mid2 { grid-column: span 8; }
}

/* ---------- 階段の図 ---------- */
.stairs { position: relative; }
.stairs__figure { margin: 0 0 24px; }
@media (min-width: 1024px) { .stairs__figure { margin: -24px 0 8px; } .stairs__svg { max-height: 190px; } }
.stairs__svg { width: 100%; height: auto; }
.stairs__steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; counter-reset: step; }
.stairs__step { position: relative; display: grid; grid-template-columns: 56px 1fr; gap: 14px; align-items: start; padding: 20px; border-radius: var(--radius-card); background: var(--c-white); }
.stairs__step--1 { background: var(--c-accent-pale); }
.stairs__step--2 { background: var(--c-accent-light); }
.stairs__step--3 { background: var(--c-accent); }
.stairs__step--4 { background: var(--c-main); color: var(--c-base); }
.stairs__num { font-family: var(--font-accent); font-size: 2.25rem; line-height: 1; }
.stairs__step h3 { font-size: 1.125rem; margin-bottom: 6px; }
.stairs__step p { font-size: 0.9375rem; margin-bottom: 8px; }
.stairs__step .btn { margin-top: 4px; }
.stairs__step--4 .btn--secondary { color: var(--c-base); border-color: var(--c-base); }
.stairs__step--4 .btn--secondary:hover { background: rgba(255,255,255,0.1); }
.js .draw path, .js .draw line, .js .draw polyline { stroke-dasharray: 1200; stroke-dashoffset: 1200; }
.js .draw.is-visible path, .js .draw.is-visible line, .js .draw.is-visible polyline { animation: draw 1.6s var(--ease-out) forwards; }
@keyframes draw { to { stroke-dashoffset: 0; } }
@media (min-width: 1024px) {
  .stairs__steps { grid-template-columns: repeat(4, 1fr); align-items: end; }
  .stairs__step { grid-template-columns: 1fr; gap: 10px; padding: 28px 24px; }
  .stairs__step--1 { min-height: 240px; }
  .stairs__step--2 { min-height: 280px; }
  .stairs__step--3 { min-height: 320px; }
  .stairs__step--4 { min-height: 360px; }
}

/* ---------- プロフィールの抜粋 ---------- */
.profile-teaser { display: grid; gap: 28px; align-items: center; }
.profile-teaser__photo { position: relative; aspect-ratio: 4 / 5; border-radius: var(--radius-tile); overflow: hidden; max-width: 420px; }
.profile-teaser__photo img { width: 100%; height: 100%; object-fit: cover; }
.profile-teaser__quote { font-size: 1.375rem; line-height: 1.7; color: var(--c-accent-deep); margin-bottom: 20px; }
.profile-teaser__name { font-weight: 700; margin-top: 20px; }
.profile-teaser__name small { display: block; color: var(--c-main-soft); font-weight: 400; }
@media (min-width: 1024px) {
  .profile-teaser { grid-template-columns: 0.8fr 1.2fr; gap: 72px; }
  .profile-teaser__quote { font-size: 1.75rem; }
}

/* ---------- 講座の流れ ---------- */
.flow-steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 0; position: relative; }
.flow-step { position: relative; display: grid; grid-template-columns: 48px 1fr; gap: 16px; padding: 0 0 36px; }
.flow-step::before { content: ""; position: absolute; left: 23px; top: 48px; bottom: 0; width: 2px; background: var(--c-accent-light); }
.flow-step:last-child::before { display: none; }
.flow-step__num { width: 48px; height: 48px; border-radius: 50%; background: var(--c-accent); color: var(--c-main); display: grid; place-items: center; font-family: var(--font-accent); font-size: 1.375rem; flex: none; }
.flow-step h3 { font-size: 1.125rem; margin-bottom: 6px; padding-top: 8px; }
.flow-step p { font-size: 0.9375rem; }
.flow-step__time { display: inline-block; font-size: 0.875rem; color: var(--c-main-soft); margin-bottom: 6px; }
.flow-sticky { display: grid; gap: 32px; }
.flow-sticky__aside { align-self: start; }
.flow-sticky__card { background: var(--c-white); border-radius: var(--radius-tile); padding: 24px; box-shadow: var(--shadow-soft); }
.flow-sticky__card img { border-radius: 12px; margin-bottom: 14px; }
@media (min-width: 1024px) {
  .flow-sticky { grid-template-columns: 0.9fr 1.1fr; gap: 72px; }
  .flow-sticky__aside { position: sticky; top: calc(var(--header-h) + 24px); }
}

/* ---------- お客様の声のひな形 ---------- */
.voice-template { border: 2px dashed var(--c-accent-deep); border-radius: var(--radius-tile); padding: 24px; background: var(--c-white); position: relative; }
.voice-template__badge { position: absolute; top: -14px; left: 20px; background: var(--c-accent-deep); color: var(--c-white); font-size: 0.8125rem; font-weight: 700; padding: 4px 12px; border-radius: 999px; }
.voice-template__ad { display: inline-block; font-size: 0.8125rem; font-weight: 700; border: 1px solid var(--c-main); padding: 2px 8px; border-radius: 4px; margin-bottom: 12px; }
.voice-template__body { background: var(--c-accent-pale); border-radius: 12px; padding: 18px; margin-bottom: 14px; }
.voice-template__slot { color: var(--c-main-soft); }
.voice-template__meta { font-size: 0.875rem; color: var(--c-main-soft); margin: 0; }
.voice-template__notes { font-size: 0.9375rem; margin-top: 16px; padding-left: 1.2em; }
.voice-template__note { font-size: 0.9375rem; margin: 14px 0 0; padding-top: 12px; border-top: 1px dashed var(--c-line); }
.voice-template__notes li { margin-bottom: 4px; }
.voice-grid { display: grid; gap: 28px; }
@media (min-width: 1024px) { .voice-grid { grid-template-columns: 1fr 1fr; gap: 40px; align-items: start; } }

/* ---------- FAQ ---------- */
.faq-list { display: grid; gap: 10px; }
.faq-item { background: var(--c-white); border-radius: var(--radius-card); overflow: hidden; border: 1px solid var(--c-line); }
.faq-item summary { list-style: none; cursor: pointer; display: grid; grid-template-columns: 28px 1fr 28px; gap: 12px; align-items: start; padding: 18px 20px; font-weight: 700; min-height: 56px; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item__q { font-family: var(--font-accent); color: var(--c-accent-deep); font-size: 1.375rem; line-height: 1.2; }
.faq-item__icon { width: 28px; height: 28px; border-radius: 50%; background: var(--c-accent-pale); position: relative; justify-self: end; }
.faq-item__icon::before, .faq-item__icon::after { content: ""; position: absolute; left: 50%; top: 50%; width: 12px; height: 2px; background: var(--c-main); transform: translate(-50%, -50%); transition: transform 0.3s var(--ease-out); }
.faq-item__icon::after { transform: translate(-50%, -50%) rotate(90deg); }
.faq-item[open] .faq-item__icon::after { transform: translate(-50%, -50%) rotate(0); }
.faq-item__a { padding: 0 20px 20px 60px; font-size: 0.9375rem; }
.faq-item__a p { margin-bottom: 0.8em; }
.faq-group { margin-bottom: 40px; }
.faq-group h2 { font-size: 1.375rem; margin-bottom: 16px; }

/* ---------- 相談の入口（帯） ---------- */
.cta-band { background: var(--c-main); color: var(--c-base); border-radius: var(--radius-tile); padding: 36px 24px; text-align: center; position: relative; overflow: hidden; }
.cta-band::before { content: ""; position: absolute; width: 220px; height: 220px; border-radius: 50%; background: var(--c-accent); opacity: 0.35; right: -80px; top: -80px; }
.cta-band::after { content: ""; position: absolute; width: 160px; height: 160px; border-radius: 50%; background: var(--c-accent-light); opacity: 0.25; left: -60px; bottom: -70px; }
.cta-band > * { position: relative; }
.cta-band h2 { color: var(--c-white); margin-bottom: 10px; }
.cta-band p { max-width: 32em; margin: 0 auto 22px; }
.cta-band .eyebrow { color: var(--c-accent-light); }
.cta-band .btn--secondary { color: var(--c-base); border-color: var(--c-base); }
.cta-band .btn--secondary:hover { background: rgba(255,255,255,0.08); }
.cta-band__note { font-size: 0.875rem; color: rgba(251,247,241,0.75); margin-top: 16px; }
@media (min-width: 1024px) { .cta-band { padding: 64px 48px; } }
.cta-inline { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px; padding: 20px 24px; border-radius: var(--radius-card); background: var(--c-accent-pale); margin-top: 32px; }
.cta-inline p { margin: 0; font-weight: 700; }

/* ---------- 年表 ---------- */
.timeline { list-style: none; margin: 0; padding: 0; }
.timeline li { display: grid; grid-template-columns: 90px 1fr; gap: 16px; padding: 18px 0; border-bottom: 1px solid var(--c-line); }
.timeline__year { font-family: var(--font-accent); font-size: 1.5rem; line-height: 1.2; color: var(--c-accent-deep); }
.timeline li p { font-size: 0.9375rem; margin: 0; }
.timeline li h3 { font-size: 1.0625rem; margin-bottom: 4px; }
@media (min-width: 768px) { .timeline li { grid-template-columns: 140px 1fr; gap: 24px; } }

/* ---------- 大切にしていること（値） ---------- */
.values { display: grid; gap: 16px; }
.value { padding: 24px; border-radius: var(--radius-card); background: var(--c-white); border-top: 4px solid var(--c-accent); }
.value h3 { font-size: 1.125rem; }
.value p { font-size: 0.9375rem; margin: 0; }
@media (min-width: 1024px) { .values { grid-template-columns: repeat(3, 1fr); gap: 24px; } }

/* できること・していないこと */
.two-col { display: grid; gap: 20px; }
.col-card { background: var(--c-white); border-radius: var(--radius-tile); padding: 26px 24px; }
.col-card--no { background: var(--c-accent-pale); }
.col-card h3 { font-size: 1.125rem; margin-bottom: 12px; }
.col-card ul { margin: 0; padding-left: 1.2em; font-size: 0.9375rem; }
.col-card li { margin-bottom: 6px; }
@media (min-width: 1024px) { .two-col { grid-template-columns: 1fr 1fr; gap: 28px; } }

/* ---------- サービスの詳しい章 ---------- */
.service { display: grid; gap: 24px; padding: 32px 0; border-bottom: 1px solid var(--c-line); }
.service:last-child { border-bottom: 0; }
.service__photo { aspect-ratio: 4 / 3; border-radius: var(--radius-tile); overflow: hidden; }
.service__photo img { width: 100%; height: 100%; object-fit: cover; }
.service__head h2 { margin-bottom: 8px; }
.service__for { font-weight: 700; color: var(--c-accent-deep); margin-bottom: 14px; font-size: 0.9375rem; }
.service__facts { list-style: none; margin: 16px 0; padding: 0; display: grid; gap: 8px; grid-template-columns: repeat(2, 1fr); }
.service__facts li { background: var(--c-white); border-radius: 12px; padding: 12px 14px; font-size: 0.875rem; }
.service__facts li strong { display: block; font-size: 0.8125rem; color: var(--c-main-soft); margin-bottom: 2px; }
.service__facts .num { font-size: 1.25rem; }
@media (min-width: 1024px) {
  .service { grid-template-columns: 0.8fr 1.2fr; gap: 56px; padding: 56px 0; align-items: start; }
  .service:nth-child(even) .service__photo { order: 2; }
  .service__facts { grid-template-columns: repeat(4, 1fr); }
}

/* ---------- 料金 ---------- */
.price-cards { display: grid; gap: 16px; }
.price-card { background: var(--c-white); border-radius: var(--radius-tile); padding: 28px 24px; display: flex; flex-direction: column; box-shadow: var(--shadow-soft); position: relative; }
.price-card--featured { border: 2px solid var(--c-accent); }
.price-card__tag { position: absolute; top: -12px; left: 20px; background: var(--c-accent); font-size: 0.8125rem; font-weight: 700; padding: 3px 12px; border-radius: 999px; }
.price-card h3 { font-size: 1.1875rem; margin-bottom: 4px; }
.price-card__for { font-size: 0.875rem; color: var(--c-main-soft); margin-bottom: 14px; }
.price-card__price { font-family: var(--font-accent); font-size: 2.5rem; line-height: 1; font-variant-numeric: tabular-nums; margin-bottom: 4px; }
.price-card__price small { font-family: var(--font-body); font-size: 0.875rem; color: var(--c-main-soft); margin-left: 4px; }
.price-card__unit { font-size: 0.875rem; color: var(--c-main-soft); margin-bottom: 16px; }
.price-card ul { padding-left: 1.2em; margin: 0 0 16px; font-size: 0.9375rem; }
.price-card li { margin-bottom: 4px; }
.price-card .btn { margin-top: auto; }
@media (min-width: 768px) { .price-cards { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .price-cards { grid-template-columns: repeat(4, 1fr); gap: 20px; } }
.price-note { background: var(--c-white); border-radius: var(--radius-card); padding: 20px 22px; margin-top: 20px; font-size: 0.9375rem; }
.price-note h3 { font-size: 1.0625rem; margin-bottom: 8px; }
.price-table { width: 100%; border-collapse: collapse; background: var(--c-white); border-radius: var(--radius-card); overflow: hidden; font-size: 0.9375rem; }
.price-table th, .price-table td { padding: 14px 16px; text-align: left; border-bottom: 1px solid var(--c-line); vertical-align: top; }
.price-table th { background: var(--c-accent-pale); font-weight: 700; width: 38%; }
.price-table tr:last-child th, .price-table tr:last-child td { border-bottom: 0; }
.table-wrap { overflow-x: auto; -webkit-overflow-scrolling: touch; }

/* ---------- フォーム ---------- */
.form { display: grid; gap: 20px; }
.field label, .field .label { display: block; font-weight: 700; margin-bottom: 6px; }
.field .req { display: inline-block; font-size: 0.8125rem; color: var(--c-white); background: var(--c-accent-deep); padding: 1px 8px; border-radius: 4px; margin-left: 8px; vertical-align: middle; }
.field .opt { display: inline-block; font-size: 0.8125rem; color: var(--c-main-soft); border: 1px solid var(--c-line); padding: 1px 8px; border-radius: 4px; margin-left: 8px; vertical-align: middle; }
.field input[type="text"], .field input[type="email"], .field input[type="tel"], .field select, .field textarea {
  width: 100%; min-height: 52px; padding: 12px 14px; border: 1px solid rgba(58,45,37,0.35); border-radius: 12px; background: var(--c-white); font: inherit; color: var(--c-main);
}
.field textarea { min-height: 140px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: 3px solid var(--c-accent-deep); outline-offset: 1px; border-color: var(--c-accent-deep); }
.field-set { border: 0; margin: 0; padding: 0; min-width: 0; }
.field-set legend { padding: 0; margin-bottom: 6px; font-weight: 700; }
.field .sublabel { display: block; font-weight: 700; font-size: 0.9375rem; margin: 12px 0 6px; }
.field .req--either { background: var(--c-main); }
.field-error { color: #A32A1A; font-weight: 700; font-size: 0.9375rem; margin: 8px 0 0; min-height: 0; }
.field-error:empty { display: none; }
.field input[aria-invalid="true"] { border-color: #A32A1A; border-width: 2px; }
.field .hint { font-size: 0.875rem; color: var(--c-main-soft); margin-top: 6px; }
.choices { display: grid; gap: 8px; }
.choice { display: flex; align-items: center; gap: 10px; min-height: 48px; padding: 8px 14px; border: 1px solid var(--c-line); border-radius: 12px; background: var(--c-white); cursor: pointer; }
.choice input { width: 20px; height: 20px; accent-color: var(--c-accent-deep); margin: 0; flex: none; }
.choice:has(input:checked) { border-color: var(--c-accent-deep); background: var(--c-accent-pale); }
@media (min-width: 768px) { .choices--row { grid-template-columns: repeat(2, 1fr); } .choices--row3 { grid-template-columns: repeat(3, 1fr); } }
.form-sample-note { font-size: 0.875rem; background: var(--c-accent-pale); border-radius: 12px; padding: 12px 16px; }
.form-status { margin-top: 12px; font-weight: 700; color: var(--c-accent-deep); min-height: 1.5em; }
.form-card { background: var(--c-white); border-radius: var(--radius-tile); padding: 28px 24px; box-shadow: var(--shadow-soft); }
@media (min-width: 1024px) { .form-card { padding: 40px; } }

/* 予約の見本（ステップ） */
.booking { background: var(--c-white); border-radius: var(--radius-tile); padding: 24px; box-shadow: var(--shadow-soft); }
.booking__progress { list-style: none; margin: 0 0 20px; padding: 0; display: grid; grid-template-columns: repeat(5, 1fr); gap: 4px; }
.booking__progress li { height: 6px; border-radius: 3px; background: var(--c-accent-pale); position: relative; }
.booking__progress li.is-done { background: var(--c-accent); }
.booking__progress li.is-current { background: var(--c-accent-deep); }
.booking__progress-label { font-size: 0.875rem; color: var(--c-main-soft); margin-bottom: 16px; }
.booking__panel[hidden] { display: none; }
.booking__panel h3 { font-size: 1.125rem; margin-bottom: 12px; }
.booking__slots { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin-bottom: 16px; }
.booking__slots button { min-height: 48px; border-radius: 12px; border: 1px solid var(--c-line); background: var(--c-white); font: inherit; font-weight: 700; cursor: pointer; color: var(--c-main); }
.booking__slots button:hover { background: var(--c-accent-pale); }
.booking__slots button[aria-pressed="true"] { background: var(--c-accent); border-color: var(--c-accent); }
.booking__slots button:disabled { opacity: 0.4; cursor: not-allowed; text-decoration: line-through; }
.booking__dates { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; margin-bottom: 16px; }
.booking__dates button { min-height: 60px; border-radius: 12px; border: 1px solid var(--c-line); background: var(--c-white); font: inherit; cursor: pointer; color: var(--c-main); display: flex; flex-direction: column; align-items: center; justify-content: center; line-height: 1.2; }
.booking__dates button small { font-size: 0.8125rem; color: var(--c-main-soft); }
.booking__dates button .num { font-size: 1.25rem; }
.booking__dates button:hover { background: var(--c-accent-pale); }
.booking__dates button[aria-pressed="true"] { background: var(--c-accent); border-color: var(--c-accent); }
.booking__dates button:disabled { opacity: 0.4; cursor: not-allowed; }
.booking__nav { display: flex; justify-content: space-between; gap: 12px; margin-top: 16px; flex-wrap: wrap; }
.booking__summary { background: var(--c-accent-pale); border-radius: 12px; padding: 16px; margin-bottom: 16px; }
.booking__summary dl { margin: 0; display: grid; grid-template-columns: 7em 1fr; gap: 6px 12px; font-size: 0.9375rem; }
.booking__summary dt { font-weight: 700; color: var(--c-main-soft); }
.booking__summary dd { margin: 0; }
.booking__done { text-align: center; padding: 20px 0; }
.booking__done-mark { width: 64px; height: 64px; border-radius: 50%; background: var(--c-accent); display: grid; place-items: center; margin: 0 auto 16px; font-size: 1.75rem; }
@media (min-width: 768px) { .booking { padding: 32px; } .booking__dates { grid-template-columns: repeat(7, 1fr); } .booking__slots { grid-template-columns: repeat(4, 1fr); } }

/* 最終確認画面の見本 */
.confirm { border: 2px solid var(--c-main); border-radius: var(--radius-tile); padding: 24px; background: var(--c-white); }
.confirm__title { font-size: 1.25rem; margin-bottom: 6px; }
.confirm__sub { font-size: 0.875rem; color: var(--c-main-soft); margin-bottom: 18px; }
.confirm__items { margin: 0 0 18px; display: grid; gap: 0; }
.confirm__items > div { display: grid; grid-template-columns: 1fr; gap: 4px; padding: 12px 0; border-bottom: 1px solid var(--c-line); }
.confirm__items dt { font-weight: 700; font-size: 0.875rem; display: flex; align-items: center; gap: 8px; }
.confirm__items dt .num { color: var(--c-accent-deep); font-size: 1.125rem; }
.confirm__items dd { margin: 0; font-size: 0.9375rem; }
.confirm__items .is-missing { color: var(--c-accent-deep); }
.confirm__total { display: flex; justify-content: space-between; align-items: baseline; padding: 14px 0; border-top: 2px solid var(--c-main); margin-bottom: 18px; }
.confirm__total .num { font-size: 1.75rem; }
.confirm__agree { margin-bottom: 16px; }
@media (min-width: 768px) { .confirm { padding: 32px; } .confirm__items > div { grid-template-columns: 14em 1fr; gap: 16px; } }

/* LINE の見本 */
.line-sample { display: grid; gap: 20px; background: var(--c-white); border-radius: var(--radius-tile); padding: 28px 24px; box-shadow: var(--shadow-soft); }
.line-sample__icon { width: 56px; height: 56px; border-radius: 16px; background: var(--c-accent-light); display: grid; place-items: center; }
.line-sample__icon svg { width: 30px; height: 30px; }
.line-sample ul { font-size: 0.9375rem; margin: 0 0 16px; }
.line-sample .btn { align-self: start; }
.line-sample__note { font-size: 0.875rem; color: var(--c-main-soft); }
@media (min-width: 1024px) { .line-sample { grid-template-columns: 1fr 1fr; align-items: center; padding: 40px; } }

/* ---------- 通知（サンプルのため…） ---------- */
.toast { position: fixed; left: 50%; bottom: 100px; transform: translate(-50%, 20px); background: var(--c-main); color: var(--c-white); padding: 14px 22px; border-radius: 999px; font-size: 0.9375rem; font-weight: 700; opacity: 0; visibility: hidden; transition: opacity 0.3s, transform 0.3s var(--ease-out), visibility 0.3s; z-index: 200; max-width: calc(100% - 32px); text-align: center; box-shadow: 0 10px 30px rgba(0,0,0,0.2); }
.toast.is-shown { opacity: 1; visibility: visible; transform: translate(-50%, 0); }
@media (min-width: 1024px) { .toast { bottom: 32px; } }

/* ---------- スマホ下の固定ボタン ---------- */
.fixed-cta { position: fixed; left: 0; right: 0; bottom: 0; z-index: 95; display: grid; grid-template-columns: 1fr 1.3fr; gap: 8px; padding: 10px 12px calc(10px + env(safe-area-inset-bottom)); background: rgba(251, 247, 241, 0.92); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); border-top: 1px solid var(--c-line); }
.fixed-cta a, .fixed-cta button { min-height: 52px; border-radius: 999px; font: inherit; font-weight: 700; font-size: 0.9375rem; display: inline-flex; align-items: center; justify-content: center; gap: 6px; text-decoration: none; cursor: pointer; }
.fixed-cta__line { background: var(--c-white); border: 2px solid var(--c-main); color: var(--c-main); }
.fixed-cta__reserve { background: var(--c-accent); border: 2px solid var(--c-accent); color: var(--c-main); }
.fixed-cta svg { width: 18px; height: 18px; }
@media (min-width: 1024px) { .fixed-cta { display: none; } }

/* ---------- フッター ---------- */
.site-footer { background: var(--c-main); color: var(--c-base); padding: 56px 0 32px; margin-top: var(--space-section); }
.site-footer a { color: var(--c-base); }
.site-footer__top { display: grid; gap: 32px; margin-bottom: 36px; }
.site-footer__brand .site-logo { color: var(--c-base); }
.site-footer__brand .site-logo__sub { display: block; color: rgba(251,247,241,0.7); }
.site-footer__tag { font-family: var(--font-hand); font-weight: 600; margin: 16px 0 10px; font-size: 1.0625rem; color: var(--c-accent-light); }
.site-footer__addr { font-size: 0.875rem; color: rgba(251,247,241,0.75); margin: 0; }
.site-footer__nav ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 4px; }
.site-footer__nav a { display: inline-flex; align-items: center; min-height: 48px; min-width: 48px; text-decoration: none; font-size: 0.9375rem; }
.site-footer__nav a:hover { text-decoration: underline; }
.site-footer__nav h2 { font-size: 0.875rem; letter-spacing: 0.1em; color: var(--c-accent-light); margin-bottom: 6px; font-family: var(--font-accent); font-style: italic; font-weight: 400; font-size: 1.125rem; }
.site-footer__photo-note { font-size: 0.875rem; color: rgba(251,247,241,0.8); text-align: center; margin: 0 0 12px; }
.site-footer__sample { border: 1px solid rgba(251,247,241,0.4); border-radius: 12px; padding: 12px 16px; font-size: 0.9375rem; font-weight: 700; text-align: center; margin: 0 0 20px; }
.site-footer__copy { font-size: 0.875rem; color: rgba(251,247,241,0.6); text-align: center; margin: 0; }
@media (min-width: 768px) { .site-footer__top { grid-template-columns: 1.2fr 1fr 1fr; } }
@media (min-width: 1024px) { .site-footer__top { grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 40px; } }

/* ---------- 404 ---------- */
.notfound { text-align: center; padding: 64px 0; }
.notfound__code { font-family: var(--font-accent); font-style: italic; font-size: 5rem; line-height: 1; color: var(--c-accent); }

/* ---------- 写真の注記 ---------- */
.photo-note { font-size: 0.875rem; color: var(--c-main-soft); margin-top: 8px; }
.ai-note { font-size: 0.875rem; color: var(--c-main-soft); }

/* ---------- 印刷 ---------- */
@media print {
  .site-header, .fixed-cta, .toast, .menu-toggle, .marquee__pause, .skip-link { display: none !important; }
  body { background: #fff; color: #000; padding-bottom: 0; }
  .site-footer__photo-note { font-size: 0.875rem; color: rgba(251,247,241,0.8); text-align: center; margin: 0 0 12px; }
.site-footer__sample { border: 1px solid #000; color: #000; }
  .site-footer { background: #fff; color: #000; }
  .site-footer a { color: #000; }
}

/* ---------- スクロールで現れる ---------- */
.js .reveal { opacity: 0; transform: translateY(24px); transition: opacity 0.9s var(--ease-out), transition-delay 0s, transform 0.9s var(--ease-out); transition-delay: var(--d, 0s); }
.js .reveal.is-visible { opacity: 1; transform: none; }
@supports (animation-timeline: view()) {
  .js .reveal { opacity: 1; transform: none; transition: none; animation: revealUp linear both; animation-timeline: view(); animation-range: entry 0% entry 35%; }
  .js .reveal.is-visible { animation: revealUp linear both; animation-timeline: view(); animation-range: entry 0% entry 35%; }
  @keyframes revealUp { from { opacity: 0; transform: translateY(24px); } to { opacity: 1; transform: none; } }
}

/* ---------- ページの切り替え ---------- */
@view-transition { navigation: auto; }
::view-transition-old(root), ::view-transition-new(root) { animation-duration: 0.35s; }
.site-header { view-transition-name: site-header; }

/* ---------- 動きを減らす ---------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.001ms !important; animation-iteration-count: 1 !important; transition-duration: 0.001ms !important; scroll-behavior: auto !important; }
  .js .reveal, .js .reveal.is-visible { opacity: 1; transform: none; animation: none; }
  .js .split .char { opacity: 1; transform: none; animation: none; }
  .js .clip-reveal, .js .clip-reveal--scroll { clip-path: none; animation: none; }
  .js .draw path, .js .draw line, .js .draw polyline { stroke-dasharray: none; stroke-dashoffset: 0; }
  .marquee__track { animation: none; }
  @view-transition { navigation: none; }
}

/* 改行の決まり（2026-10-31・tools/kaigyo） */
/* 日本語は文節（HTML に入れた <wbr>）で折る。入りきらない長い英数字だけ、どこでも折る */
body { word-break: keep-all; overflow-wrap: anywhere; line-break: strict; }
h1, h2, h3, h4, h5, h6 { text-wrap: balance; }
p, li, dt, dd, th, td, figcaption, summary, blockquote { text-wrap: pretty; }
/* 表は、列の幅を文節より細くしない（「手／続き」のような割れを防ぐ） */
th, td { overflow-wrap: break-word; }
/* PC だけ・スマホだけで効く改行（改行エディタで入れたもの） */
@media (max-width: 1023px) { br.pc-only { display: none; } }
@media (min-width: 1024px) { br.sp-only { display: none; } }

/* 文字の大きさと折り方 案D（2026-10-31・ボス「整体 CONCEPT の前」を基準に）
   <html data-moji="d"> のときだけ効く（やめるときは HTML の data-moji を外す）
   基準：見出し大は1行12〜13字・本文は1行21字前後・行間1.9・字間は palt（スマホ）
   2026-10-31 夕 ボス「もうワンサイズ下げて、1行の字数を増やして」：見出し大24px・本文15px（1行22〜23字）・注釈13px
   折り方（PC・スマホ共通）：
   ・本文は行いっぱいまで使って折る（行の長さがそろって読みやすい）。行の頭に「。、）ー」などが来ないよう厳しい禁則。最後の行が1〜2字だけにならないようにする
   ・見出し・ボタン・札は文節（<wbr>）で折る。1行目は入るだけ入れる（2行を同じ長さにそろえない） */
:root {
  --d-h1: 25px; --d-h2: 24px; --d-h3: 18px; --d-h4: 15px;
  --d-body: 15px; --d-lead: 15px; --d-note: 13px; --d-btn: 14px;
  --d-lh-body: 1.9; --d-lh-head: 1.5; --d-ls-head: 0.03em;
}
html[data-moji="d"] :is(p, li, dd, td, figcaption, blockquote) {
  word-break: normal; overflow-wrap: anywhere; line-break: strict; text-wrap: pretty;
}
html[data-moji="d"] :is(h1, h2, h3, h4, h5, h6, dt, th, .btn, [class*="btn"], button, [class*="title"], [class*="label"], [class*="badge"], [class*="tag"]) {
  word-break: keep-all; overflow-wrap: anywhere; line-break: strict; text-wrap: pretty;
}
/* 短い文（60字まで・data-wrap="phrase"）と、まん中そろえの文は、文節で折る（1〜2行の文は、言葉の途中で折れると目立つため） */
html[data-moji="d"] [data-wrap="phrase"] { word-break: keep-all; }
html[data-moji="d"] :is([class*="center"], [class*="cta"]):not(body) :is(p, li) { word-break: keep-all; text-wrap: pretty; }
/* 見出しと短い文は「句」（、。！？まで）ごとに包んである（<span class="kc">）。1行に入る句は途中で折らず、句と句のあいだで折る */
html[data-moji="d"] .kc { display: inline-block; }
@media (max-width: 767px) {
  html[data-moji="d"] body { font-feature-settings: "palt"; }
  html[data-moji="d"] h1 { font-size: var(--d-h1) !important; line-height: var(--d-lh-head) !important; letter-spacing: var(--d-ls-head) !important; }
  html[data-moji="d"] h2 { font-size: var(--d-h2) !important; line-height: var(--d-lh-head) !important; letter-spacing: var(--d-ls-head) !important; }
  html[data-moji="d"] h3 { font-size: var(--d-h3) !important; line-height: 1.6 !important; }
  html[data-moji="d"] :is(h4, dt, th) { font-size: var(--d-h4) !important; }
  html[data-moji="d"] :is(p, li, dd, td, figcaption, blockquote) { font-size: var(--d-body) !important; line-height: var(--d-lh-body) !important; letter-spacing: normal !important; }
  html[data-moji="d"] [class*="lead"] { font-size: var(--d-lead) !important; }
  html[data-moji="d"] :is([class*="note"], small, figcaption, [class*="caption"]) { font-size: var(--d-note) !important; line-height: 1.8 !important; }
  html[data-moji="d"] :is(.btn, [class*="btn"], button) { font-size: var(--d-btn) !important; }
}
