@charset "UTF-8";
/* ============================================================
   gnu — 住宅・暮らし特化のコンテンツ制作
   共通スタイルシート
   ------------------------------------------------------------
   1. Design tokens
   2. Base / Reset
   3. Layout primitives
   4. Header / Nav
   5. Footer
   6. Components（見出し・ボタン・画像枠・リンク）
   7. Page: TOP
   8. Page: Philosophy（想い）
   9. Motion / Responsive
   ============================================================ */

/* ------------------------------------------------------------
   1. Design tokens
   ------------------------------------------------------------
   温白の地に墨茶の文字。差し色は「弁柄（べんがら）」に近い
   低彩度の赤茶。面で使わず、線・点・小さな文字にだけ使うことで
   “クリーム × セリフ × テラコッタ”の定番から距離をとる。
   ------------------------------------------------------------ */
:root {
  /* 地（明るい順に4階調）*/
  --paper-0:    #FCFAF7;  /* 生成りの白。純白より少し暖かく、浮かない明るさ */
  --paper:      #F4F1EC;  /* 温白（黄みを抑えたグレージュ寄り） */
  --paper-2:    #EBE6DE;  /* 面の切り替え・砂色 */
  --paper-3:    #E3DDD3;  /* さらに沈めた面 */
  --paper-dark: #2A211A;  /* 反転面（フッター等）。焦茶寄りに */

  /* 文字 */
  --ink:    #201D19;  /* 墨茶 */
  --ink-2:  #5C564C;  /* 本文・副文 */
  --ink-3:  #8B8477;  /* キャプション・ラベル */
  --ink-on-dark:    #EDE9E2;
  --ink-on-dark-2:  #A79F92;

  /* 線 */
  --line:       #D8D2C7;
  --line-soft:  #E4DFD6;
  --line-dark:  #43382E;

  /* 差し色（弁柄／赤錆） */
  --accent:      #9C5443;
  --accent-deep: #7A3E31;
  --accent-tint: rgba(156, 84, 67, 0.10);
  --accent-on-dark: #C4826B; /* 濃い面の上で使う、少し明るい弁柄 */

  /* 書体 */
  --serif: "Noto Serif JP", "Hiragino Mincho ProN", "Yu Mincho", serif;
  --sans:  "Noto Sans JP", "Hiragino Sans", "Yu Gothic", sans-serif;

  /* 余白 */
  --gutter:   clamp(20px, 5vw, 64px);
  --section:  clamp(88px, 13vw, 176px);
  --maxw:     1180px;
  --maxw-narrow: 720px;

  /* その他 */
  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
  --header-h: 76px;
}

/* ------------------------------------------------------------
   2. Base / Reset
   ------------------------------------------------------------ */
*, *::before, *::after { box-sizing: border-box; }

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink-2);
  font-family: var(--sans);
  font-size: 15px;
  font-weight: 400;
  line-height: 2.1;
  letter-spacing: 0.04em;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

img, svg { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
h1, h2, h3, h4, p, figure, blockquote, ul, ol, dl, dd { margin: 0; padding: 0; }
ul, ol { list-style: none; }

::selection { background: var(--accent-tint); color: var(--ink); }

/* ------------------------------------------------------------
   3. Layout primitives
   ------------------------------------------------------------ */
.wrap {
  width: 100%;
  max-width: calc(var(--maxw) + var(--gutter) * 2);
  margin-inline: auto;
  padding-inline: var(--gutter);
}
.wrap--narrow { max-width: calc(var(--maxw-narrow) + var(--gutter) * 2); }
.wrap--wide   { max-width: 1440px; }

.section { padding-block: var(--section); }
.section--tight { padding-block: clamp(56px, 8vw, 104px); }
.section--sand { background: var(--paper-2); }
.section--light { background: var(--paper-0); }

.rule {
  height: 1px;
  background: var(--line);
  border: 0;
  margin: 0;
}

/* ------------------------------------------------------------
   4. Header / Nav
   ------------------------------------------------------------ */
.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 100;
  height: var(--header-h);
  display: flex;
  align-items: center;
  background: rgba(244, 241, 236, 0);
  transition: background .5s var(--ease), box-shadow .5s var(--ease), height .5s var(--ease);
}
.site-header.is-scrolled {
  height: 64px;
  background: rgba(244, 241, 236, 0.92);
  backdrop-filter: saturate(120%) blur(10px);
  -webkit-backdrop-filter: saturate(120%) blur(10px);
  box-shadow: 0 1px 0 var(--line-soft);
}
.site-header__inner {
  width: 100%;
  max-width: calc(var(--maxw) + var(--gutter) * 2);
  margin-inline: auto;
  padding-inline: var(--gutter);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

/* --- ロゴ（ワードマーク） ---------------------------------
   ▼ 差し替え箇所：正式ロゴができたら .logo の中身を
     <img src="assets/img/logo.svg" alt="gnu"> に置き換えるだけで済む構造。
     サイズは .logo に指定してあるので画像側は高さ 20px 相当で書き出し。
   -------------------------------------------------------- */
.logo {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  color: var(--ink);
  line-height: 1;
}
/* ロゴ画像。黒版と白版を重ねて置き、背景に応じて切り替えます。
   差し替えるときは assets/img/logo.png と logo-white.png を
   同じ名前で上書きしてください（透過PNG・高さ120px以上推奨）。 */
.logo__img {
  position: relative;
  display: block;
  height: 21px;
  flex: none;
}
.logo__img img {
  height: 100%;
  width: auto;
  display: block;
  transition: opacity .45s var(--ease);
}
.logo__dark {
  position: absolute;
  inset: 0;
  opacity: 0;
}
.logo__sub {
  font-size: 9px;
  letter-spacing: 0.32em;
  color: var(--ink-3);
  text-transform: uppercase;
  padding-bottom: 1px;
}
/* 暗い背景（フッター／TOP最上部のヘッダー）では白版に */
.site-footer .logo__light,
.site-header--overlay:not(.is-scrolled) .logo__light { opacity: 0; }
.site-footer .logo__dark,
.site-header--overlay:not(.is-scrolled) .logo__dark { opacity: 1; }
/* ナビが6項目になったぶん、ロゴ横の英字は早めに引っ込めます。
   これがないと、画面幅800px前後で「ご相談する」が2行目に落ちます。 */
@media (max-width: 1100px) { .logo__sub { display: none; } }

/* メニューと「ご相談する」ボタンを同じ行に並べる
   （指定がないと <nav> がブロックのままで、ボタンが下の行に落ちます） */
.gnav {
  display: flex;
  align-items: center;
  gap: clamp(20px, 3vw, 40px);
}
.gnav__list { display: flex; align-items: center; gap: clamp(18px, 2.4vw, 34px); }
.gnav__link {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 3px;
  padding-block: 6px;
}
/* 欧文を主、和文を従に。ラベル（.label）と同じ二段構えの考え方をナビにも適用 */
.gnav__link-en {
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink);
}
.gnav__link-ja {
  font-family: var(--serif);
  font-size: 10px;
  letter-spacing: 0.06em;
  color: var(--ink-3);
  /* PCではラベルを英語のみにするため、和文は非表示（スマホの全画面メニューでは再度表示） */
  display: none;
}
.gnav__social {
  display: flex;
  align-items: center;
  gap: 14px;
}
.gnav__social a {
  display: inline-flex;
  color: var(--ink-3);
  transition: color .35s var(--ease);
}
.gnav__social a:hover { color: var(--accent-deep); }
.gnav__social svg { width: 16px; height: 16px; }
.gnav__link::after {
  content: "";
  position: absolute;
  left: 0; bottom: 0;
  width: 100%; height: 1px;
  background: var(--accent);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform .45s var(--ease);
}
.gnav__link:hover::after,
.gnav__link[aria-current="page"]::after { transform: scaleX(1); transform-origin: left; }
.gnav__link[aria-current="page"] .gnav__link-en,
.gnav__link[aria-current="page"] .gnav__link-ja { color: var(--accent-deep); }

.gnav__cta {
  font-size: 12px;
  letter-spacing: 0.16em;
  color: var(--ink);
  border: 1px solid var(--line);
  padding: 10px 20px;
  border-radius: 999px;
  transition: border-color .4s var(--ease), color .4s var(--ease), background .4s var(--ease);
}
.gnav__cta:hover { border-color: var(--accent); color: var(--accent-deep); background: var(--accent-tint); }

/* ハンバーガー */
.navtoggle { display: none; width: 40px; height: 40px; position: relative; z-index: 120; }
.navtoggle span {
  position: absolute; left: 9px; width: 22px; height: 1px; background: var(--ink);
  transition: transform .45s var(--ease), opacity .3s var(--ease);
}
.navtoggle span:nth-child(1) { top: 15px; }
.navtoggle span:nth-child(2) { top: 24px; }
.navtoggle.is-open span:nth-child(1) { transform: translateY(4.5px) rotate(15deg); }
.navtoggle.is-open span:nth-child(2) { transform: translateY(-4.5px) rotate(-15deg); }

/* ------------------------------------------------------------
   5. Footer
   ------------------------------------------------------------ */
.site-footer {
  background: var(--paper-dark);
  color: var(--ink-on-dark-2);
  padding-block: clamp(56px, 8vw, 88px) 32px;
  font-size: 13px;
}
.site-footer .logo { color: var(--ink-on-dark); }
.site-footer .logo__sub { color: var(--ink-on-dark-2); }
.footer__top {
  display: flex;
  flex-wrap: wrap;
  gap: 48px;
  justify-content: space-between;
  align-items: flex-start;
}
.footer__tag {
  font-family: var(--serif);
  font-size: 14px;
  line-height: 2.2;
  color: var(--ink-on-dark);
  margin-top: 20px;
  letter-spacing: 0.08em;
}
.footer__social {
  display: flex;
  gap: 16px;
  margin-top: 20px;
}
.footer__social a {
  display: inline-flex;
  color: var(--ink-on-dark-2);
  transition: color .35s var(--ease);
}
.footer__social a:hover { color: var(--ink-on-dark); }
.footer__social svg { width: 18px; height: 18px; }
.footer__nav { display: grid; grid-template-columns: repeat(2, minmax(120px, auto)); gap: 12px 56px; }
.footer__nav a { color: var(--ink-on-dark-2); transition: color .35s var(--ease); font-size: 13px; letter-spacing: 0.1em; }
.footer__nav a:hover { color: var(--ink-on-dark); }
.footer__bottom {
  margin-top: clamp(40px, 6vw, 72px);
  padding-top: 24px;
  border-top: 1px solid var(--line-dark);
  display: flex; flex-wrap: wrap; gap: 12px 24px; justify-content: space-between;
  font-size: 11px; letter-spacing: 0.12em; color: #7C746A;
}

/* ------------------------------------------------------------
   6. Components
   ------------------------------------------------------------ */

/* セクションラベル（欧文小文字＋和文） */
.label {
  display: flex;
  align-items: center;
  gap: 14px;
  font-size: 11px;
  letter-spacing: 0.28em;
  color: var(--ink-3);
  text-transform: uppercase;
}
.label::before {
  content: "";
  width: 36px; height: 1px;
  background: var(--accent);
  opacity: .85;
  flex: none;
}
.label__ja {
  font-family: var(--serif);
  letter-spacing: 0.18em;
  color: var(--ink-2);
  text-transform: none;
  font-size: 12px;
}

/* 見出し */
.h-lead {
  font-family: var(--serif);
  font-weight: 400;
  color: var(--ink);
  font-size: clamp(23px, 3.4vw, 38px);
  line-height: 1.95;
  letter-spacing: 0.1em;
}
.h-sec {
  font-family: var(--serif);
  font-weight: 400;
  color: var(--ink);
  font-size: clamp(20px, 2.6vw, 28px);
  line-height: 2;
  letter-spacing: 0.12em;
}
.h-sm {
  font-family: var(--serif);
  font-weight: 500;
  color: var(--ink);
  font-size: 16px;
  line-height: 1.9;
  letter-spacing: 0.1em;
}
/* 見出しの折り返しを、文節の切れ目で行う（対応ブラウザのみ適用）。
   「こんなところで、止まっ／ていませんか。」のような不自然な改行を防ぎます。 */
.h-lead, .h-sec, .h-sm,
.hero__philo, .chapter__ttl, .page-head__en,
.plan__lead, .reasons__ttl, .caps__ttl,
.cta__lead, .statement__txt, .philo-teaser__quote,
.voices__txt, .case__ttl, .pull, .footer__tag {
  word-break: auto-phrase;
  line-break: strict;
}

/* 本文は、文節での折り返しをあえて使いません。
   文節で切ると行末が大きく凸凹し、かえって読みにくくなるためです。
   本文は行末をそろえ、読みやすさは「段落の区切り」でつくります。 */

.txt { font-size: 14.5px; line-height: 2.3; color: var(--ink-2); }
.txt + .txt { margin-top: 1.6em; }
.txt--sm { font-size: 13px; line-height: 2.15; color: var(--ink-3); }

/* テキストリンク（矢印） */
/* テキストリンク。線は中の短い罫だけにして、下線は引きません。
   下線があると、ラベルの罫・リンクの罫・下線・セクションの区切り線と
   短い範囲に線が4本並び、特にスマホで騒がしくなります。 */
.arrow {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  font-size: 12px;
  letter-spacing: 0.2em;
  color: var(--ink);
  padding-block: 4px;
  transition: color .4s var(--ease);
}
.arrow__line { position: relative; width: 34px; height: 1px; background: var(--ink-3); overflow: hidden; }
.arrow__line::after {
  content: ""; position: absolute; inset: 0;
  background: var(--accent);
  transform: translateX(-100%);
  transition: transform .5s var(--ease);
}
.arrow:hover { color: var(--accent-deep); }
.arrow:hover .arrow__line::after { transform: translateX(0); }

/* ボタン */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  min-width: 260px;
  padding: 20px 40px;
  border: 1px solid var(--ink);
  color: var(--ink);
  font-size: 13px;
  letter-spacing: 0.2em;
  position: relative;
  overflow: hidden;
  transition: color .45s var(--ease), border-color .45s var(--ease);
}
.btn span { position: relative; z-index: 2; }
.btn::before {
  content: ""; position: absolute; inset: 0; background: var(--ink);
  transform: scaleX(0); transform-origin: right; transition: transform .55s var(--ease); z-index: 1;
}
.btn:hover { color: var(--paper); border-color: var(--ink); }
.btn:hover::before { transform: scaleX(1); transform-origin: left; }
.btn--onDark { border-color: rgba(237,233,226,.45); color: var(--ink-on-dark); }
.btn--onDark::before { background: var(--ink-on-dark); }
.btn--onDark:hover { color: var(--paper-dark); }

/* 差し色で塗るボタン。サイトで一番押してほしい場所にだけ使います */
.btn--accent {
  background: var(--accent);
  border-color: var(--accent);
  color: #FBF6F3;
}
.btn--accent::before { background: var(--accent-deep); }
.btn--accent:hover { color: #FBF6F3; border-color: var(--accent-deep); }

/* ------------------------------------------------------------
   画像プレースホルダー
   ▼ 差し替え方法：<img src="..."> の src を実写に差し替えるだけ。
     .ph はアスペクト比と縁の演出のみを担当します。
   ------------------------------------------------------------ */
.ph { position: relative; overflow: hidden; background: var(--paper-3); }
.ph img { width: 100%; height: 100%; object-fit: cover; }
.ph--4x3  { aspect-ratio: 4 / 3; }
.ph--3x4  { aspect-ratio: 3 / 4; }
.ph--1x1  { aspect-ratio: 1 / 1; }
.ph--16x9 { aspect-ratio: 16 / 9; }
.ph--16x10{ aspect-ratio: 16 / 10; }
.ph::after {
  content: "";
  position: absolute; inset: 0;
  box-shadow: inset 0 0 0 1px rgba(32,29,25,.06);
  pointer-events: none;
}
.ph__note {
  position: absolute;
  left: 50%; top: 50%;
  transform: translate(-50%, -50%);
  font-size: 10px;
  letter-spacing: 0.34em;
  color: var(--ink-3);
  text-transform: uppercase;
  pointer-events: none;
}
figcaption {
  margin-top: 14px;
  font-size: 11.5px;
  letter-spacing: 0.14em;
  color: var(--ink-3);
  line-height: 1.9;
}

/* 共通 CTA（問い合わせ誘導） */
.cta {
  background: var(--paper-dark);
  color: var(--ink-on-dark-2);
  text-align: center;
  padding-block: clamp(88px, 12vw, 148px);
}
.cta__lead {
  font-family: var(--serif);
  font-weight: 400;
  color: var(--ink-on-dark);
  font-size: clamp(20px, 2.8vw, 30px);
  line-height: 2.1;
  letter-spacing: 0.12em;
}
.cta__txt { margin-top: 28px; font-size: 13.5px; line-height: 2.3; color: var(--ink-on-dark-2); }
.cta__btn { margin-top: 44px; }

/* ------------------------------------------------------------
   7. Page: TOP
   ------------------------------------------------------------ */
/* --- ヒーロー：横長写真のスライドショー＋文字を重ねる ---------- */
.hero {
  position: relative;
  min-height: min(88vh, 920px);
  display: flex;
  align-items: flex-end;
  padding-top: calc(var(--header-h) + 40px);
  padding-bottom: clamp(56px, 7vw, 96px);
  background: var(--paper-3);
}

/* 画像レイヤー */
.hero__media { position: absolute; inset: 0; z-index: 0; overflow: hidden; }
.hero__slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 1.8s var(--ease);
  will-change: opacity;
}
.hero__slide.is-active { opacity: 1; }
.hero__slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.06);
  transition: transform 9s linear;
}
.hero__slide.is-active img { transform: scale(1); }

/* 文字を読ませるための膜（下から上へ薄くなる） */
.hero__scrim {
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(to top,
      rgba(26, 23, 20, .72) 0%,
      rgba(26, 23, 20, .46) 34%,
      rgba(26, 23, 20, .16) 64%,
      rgba(26, 23, 20, .04) 100%);
}

.hero__inner { position: relative; z-index: 2; width: 100%; }
/* 見出しが折り返さない幅を確保する。
   em で指定すると本文サイズ基準になり極端に狭くなるため、px で持つ。 */
.hero__copy { max-width: min(820px, 100%); }

/* 共感の一言（大きく） */
.hero__philo {
  font-family: var(--serif);
  font-weight: 400;
  color: #F7F4EF;
  font-size: clamp(27px, 4.4vw, 54px);
  line-height: 1.78;
  letter-spacing: 0.08em;
  margin: 0;
  text-shadow: 0 2px 30px rgba(18, 15, 12, .32);
}
/* 各行は <em> で明示的に分けているので、行内では折り返させない */
.hero__philo em { font-style: normal; display: block; white-space: nowrap; }

/* 業態の一文（小さく） */
.hero__desc {
  margin-top: clamp(26px, 3.2vw, 40px);
  padding-top: clamp(22px, 2.6vw, 30px);
  border-top: 1px solid rgba(247, 244, 239, .34);
  max-width: 30em;
}
.hero__desc-strong {
  font-family: var(--serif);
  font-size: clamp(15px, 1.6vw, 18px);
  color: #F7F4EF;
  letter-spacing: 0.1em;
  line-height: 2.1;
  text-shadow: 0 1px 18px rgba(18, 15, 12, .34);
}
.hero__desc-txt {
  margin-top: 12px;
  font-size: 13.5px;
  line-height: 2.2;
  color: rgba(247, 244, 239, .82);
  text-shadow: 0 1px 16px rgba(18, 15, 12, .34);
}

/* スライド切り替えのインジケーター */
.hero__dots {
  position: absolute;
  z-index: 3;
  right: var(--gutter);
  bottom: clamp(56px, 7vw, 96px);
  display: flex;
  gap: 10px;
}
.hero__dot {
  width: 30px;
  height: 1px;
  padding: 12px 0;
  background: none;
  border: 0;
  cursor: pointer;
  position: relative;
}
.hero__dot::before {
  content: "";
  position: absolute;
  left: 0; top: 50%;
  width: 100%; height: 1px;
  background: rgba(247, 244, 239, .38);
  transition: background .5s var(--ease);
}
.hero__dot.is-active::before,
.hero__dot:hover::before { background: #F7F4EF; }

.hero__scroll {
  margin-top: clamp(36px, 5vw, 60px);
  display: inline-flex;
  align-items: center;
  gap: 14px;
  font-size: 10px;
  letter-spacing: 0.3em;
  color: rgba(247, 244, 239, .78);
  text-transform: uppercase;
}
.hero__scroll i {
  display: block; width: 56px; height: 1px;
  background: rgba(247, 244, 239, .3);
  position: relative; overflow: hidden;
}
.hero__scroll i::after {
  content: ""; position: absolute; inset: 0; background: #F7F4EF;
  animation: scrollLine 2.6s var(--ease) infinite;
}
@keyframes scrollLine {
  0%   { transform: translateX(-100%); }
  55%  { transform: translateX(0); }
  100% { transform: translateX(100%); }
}

/* --- 写真の上に重なるヘッダー（TOPページのみ） ----------------- */
.site-header--overlay:not(.is-scrolled) .logo,
.site-header--overlay:not(.is-scrolled) .gnav__link-en,
.site-header--overlay:not(.is-scrolled) .gnav__cta { color: #F7F4EF; }
.site-header--overlay:not(.is-scrolled) .gnav__link-ja { color: rgba(247, 244, 239, .72); }
.site-header--overlay:not(.is-scrolled) .logo__sub { color: rgba(247, 244, 239, .72); }
.site-header--overlay:not(.is-scrolled) .gnav__cta { border-color: rgba(247, 244, 239, .45); }
.site-header--overlay:not(.is-scrolled) .gnav__cta:hover {
  border-color: #F7F4EF; background: rgba(247, 244, 239, .12); color: #F7F4EF;
}
.site-header--overlay:not(.is-scrolled) .gnav__link::after { background: #F7F4EF; }
.site-header--overlay:not(.is-scrolled) .navtoggle span { background: #F7F4EF; }
.site-header--overlay:not(.is-scrolled) .gnav__social a { color: rgba(247, 244, 239, .78); }
.site-header--overlay:not(.is-scrolled) .gnav__social a:hover { color: #F7F4EF; }
/* モバイルでメニューを開いたときは、白地に戻るので文字も墨に戻す */
.site-header--overlay:not(.is-scrolled) .gnav.is-open .gnav__link-en,
.site-header--overlay:not(.is-scrolled) .gnav.is-open .gnav__cta { color: var(--ink); }
.site-header--overlay:not(.is-scrolled) .gnav.is-open .gnav__link-ja { color: var(--ink-3); }
.site-header--overlay:not(.is-scrolled) .gnav.is-open .gnav__cta { border-color: var(--line); }
.site-header--overlay:not(.is-scrolled) .navtoggle.is-open span { background: var(--ink); }

/* イントロ（一気通貫） */
.intro__inner { display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); gap: clamp(32px, 6vw, 88px); }
.intro__list { margin-top: 40px; display: flex; flex-wrap: wrap; gap: 10px 8px; }
.intro__list li {
  font-size: 12px;
  letter-spacing: 0.12em;
  color: var(--ink-2);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 8px 18px;
  background: rgba(255,255,255,.35);
}

/* 想いへの導線 */
.philo-teaser { position: relative; }
.philo-teaser__inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(32px, 6vw, 80px);
  align-items: center;
}
.philo-teaser__quote {
  font-family: var(--serif);
  font-size: clamp(19px, 2.6vw, 27px);
  line-height: 2.15;
  letter-spacing: 0.12em;
  color: var(--ink);
}
.philo-teaser__quote span { display: block; }
.philo-teaser .ph { aspect-ratio: 5 / 6; }

/* サービス */
.svc { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: var(--line); border-block: 1px solid var(--line); margin-top: clamp(40px, 5vw, 64px); }
.svc__item { background: var(--paper); padding: clamp(28px, 3.4vw, 44px) clamp(20px, 2.6vw, 34px); }
.svc__no { font-size: 10px; letter-spacing: 0.28em; color: var(--accent); }
.svc__ttl { margin-top: 18px; }
.svc__txt { margin-top: 14px; font-size: 13px; line-height: 2.15; color: var(--ink-3); }

/* 実績抜粋 */
.works-peek { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(14px, 2vw, 28px); margin-top: clamp(36px, 5vw, 56px); }
.works-peek__item:nth-child(2) { margin-top: clamp(20px, 4vw, 56px); }
.works-peek__item .ph { aspect-ratio: 3 / 4; }

/* 会社 */
.company-peek { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(32px, 6vw, 80px); align-items: center; }

.sec-head { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 20px; }
@media (max-width: 767px) { .sec-head { gap: 28px; } }

/* ------------------------------------------------------------
   8. Page: Philosophy（想い）
   ------------------------------------------------------------ */
.page-head {
  padding-top: calc(var(--header-h) + clamp(64px, 10vw, 132px));
  padding-bottom: clamp(48px, 7vw, 88px);
}
.page-head__en {
  font-family: var(--serif);
  font-size: clamp(34px, 6vw, 62px);
  letter-spacing: 0.14em;
  color: var(--ink);
  line-height: 1.34;   /* 欧文のディセンダが切れないよう余裕をとる */
  font-weight: 400;
}
.page-head__ja {
  margin-top: 18px;
  font-size: 12px;
  letter-spacing: 0.3em;
  color: var(--ink-3);
}
.page-head__lead {
  margin-top: clamp(36px, 5vw, 56px);
  /* 見出し（h-lead）が折り返さない幅を確保。px で持つ。 */
  max-width: min(680px, 100%);
}
/* 本文だけは読みやすい行長に戻す */
.page-head__lead .txt { max-width: 34em; }

.philo-hero .ph { aspect-ratio: 16 / 7; }

/* 章 */
.chapter { padding-block: clamp(64px, 9vw, 120px); border-top: 1px solid var(--line); }
.chapter__inner {
  display: grid;
  grid-template-columns: minmax(0, 0.82fr) minmax(0, 1.18fr);
  gap: clamp(28px, 5vw, 72px);
}
.chapter__no {
  font-family: var(--serif);
  font-size: 12px;
  letter-spacing: 0.3em;
  color: var(--accent);
}
.chapter__ttl {
  margin-top: 20px;
  font-family: var(--serif);
  font-weight: 400;
  color: var(--ink);
  font-size: clamp(21px, 3vw, 32px);
  line-height: 1.95;
  letter-spacing: 0.1em;
}
.chapter__body { max-width: 34em; }
.chapter__figure { margin-top: clamp(40px, 5vw, 64px); }
.chapter__figure .ph { aspect-ratio: 16 / 9; }

/* 引用ブロック（章の中の一行） */
.pull {
  margin-top: clamp(32px, 4vw, 48px);
  padding-left: 26px;
  border-left: 1px solid var(--accent);
  font-family: var(--serif);
  font-size: clamp(16px, 2vw, 19px);
  line-height: 2.1;
  letter-spacing: 0.1em;
  color: var(--ink);
}

/* 締めのステートメント */
.statement { text-align: center; padding-block: clamp(80px, 11vw, 148px); background: var(--paper-2); }
.statement__txt {
  font-family: var(--serif);
  font-weight: 400;
  color: var(--ink);
  font-size: clamp(22px, 3.6vw, 40px);
  line-height: 2.1;
  letter-spacing: 0.14em;
}
.statement__txt span { display: block; }
.statement__sub { margin-top: 36px; font-size: 13px; letter-spacing: 0.16em; color: var(--ink-3); }

/* ============================================================
   10. Pattern B 専用コンポーネント
   （課題提示・選ばれる理由・事例のビフォーアフター）
   ============================================================ */

/* --- お客さまの声／課題 --- */
.voices {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(16px, 2.4vw, 28px);
  margin-top: clamp(36px, 5vw, 56px);
}
.voices__item {
  position: relative;
  background: var(--paper);
  border: 1px solid var(--line);
  padding: clamp(28px, 3vw, 38px) clamp(22px, 2.4vw, 30px) clamp(26px, 3vw, 34px);
}
.voices__item::before {
  content: "”";
  position: absolute;
  top: 6px; left: 18px;
  font-family: var(--serif);
  font-size: 40px;
  line-height: 1;
  color: var(--accent);
  opacity: .3;
}
.voices__txt {
  font-family: var(--serif);
  font-size: 15px;
  line-height: 2.05;
  letter-spacing: 0.06em;
  color: var(--ink);
}
.voices__answer {
  margin-top: clamp(40px, 5vw, 60px);
  padding-top: clamp(32px, 4vw, 44px);
  border-top: 1px solid var(--line);
  text-align: center;
}
.voices__answer .h-sec { max-width: 24em; margin-inline: auto; }

/* --- 選ばれる理由 --- */
.reasons {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
  margin-top: clamp(40px, 5vw, 60px);
}
.reasons__item {
  background: var(--paper);
  padding: clamp(30px, 3.4vw, 46px) clamp(24px, 2.8vw, 40px);
}
.section--sand .reasons__item { background: var(--paper-2); }
.reasons__no {
  font-family: var(--serif);
  font-size: 11px;
  letter-spacing: 0.3em;
  color: var(--accent);
}
.reasons__ttl {
  margin-top: 16px;
  font-family: var(--serif);
  font-weight: 400;
  color: var(--ink);
  font-size: clamp(17px, 1.9vw, 20px);
  line-height: 1.85;
  letter-spacing: 0.08em;
}
.reasons__txt { margin-top: 18px; font-size: 13.5px; line-height: 2.2; color: var(--ink-2); }

/* --- 事例（ビフォーアフター） --- */
.case { margin-top: clamp(40px, 5vw, 60px); }
.case__figure .ph { aspect-ratio: 16 / 9; }
.case__head { margin-top: clamp(28px, 3.4vw, 40px); }
.case__client { font-size: 11px; letter-spacing: 0.24em; color: var(--ink-3); }
.case__ttl {
  margin-top: 14px;
  font-family: var(--serif);
  font-weight: 400;
  color: var(--ink);
  font-size: clamp(19px, 2.4vw, 26px);
  line-height: 1.9;
  letter-spacing: 0.1em;
}
.case__flow {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(20px, 3vw, 40px);
  margin-top: clamp(32px, 4vw, 48px);
  position: relative;
}
.case__step { position: relative; padding-top: 22px; border-top: 1px solid var(--line); }
.case__step--result { border-top-color: var(--accent); }
.case__step-label {
  display: flex; align-items: baseline; gap: 10px;
  font-size: 10px; letter-spacing: 0.28em; color: var(--ink-3); text-transform: uppercase;
}
.case__step-label b {
  font-family: var(--serif); font-weight: 400; font-size: 13px;
  letter-spacing: 0.14em; color: var(--ink); text-transform: none;
}
.case__step--result .case__step-label b { color: var(--accent-deep); }
.case__step-txt { margin-top: 16px; font-size: 13.5px; line-height: 2.2; color: var(--ink-2); }
.case__note {
  margin-top: clamp(32px, 4vw, 44px);
  padding: clamp(20px, 2.4vw, 28px) clamp(20px, 2.6vw, 32px);
  background: rgba(156, 84, 67, .045);
  border-left: 1px solid var(--accent);
  font-size: 12.5px;
  line-height: 2.1;
  color: var(--ink-2);
}

/* --- プロフィール／土台 --- */
.ground {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(32px, 6vw, 80px);
  align-items: center;
}
.ground__facts { margin-top: 36px; border-top: 1px solid var(--line); }
.ground__facts div {
  display: flex; gap: 20px; align-items: baseline;
  padding: 16px 0; border-bottom: 1px solid var(--line);
}
.ground__facts dt {
  flex: none; width: 8.5em;
  font-size: 11px; letter-spacing: 0.2em; color: var(--ink-3);
}
.ground__facts dd { font-size: 13.5px; line-height: 1.9; color: var(--ink); }

@media (max-width: 900px) {
  .voices { grid-template-columns: 1fr; }
  .reasons { grid-template-columns: 1fr; }
  .case__flow { grid-template-columns: 1fr; gap: 28px; }
  .ground { grid-template-columns: 1fr; }
}

/* ============================================================
   11. 下層ページ（サービス／実績／会社概要／お問い合わせ）
   ============================================================ */

/* --- できること（一気通貫） --- */
.caps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
  margin-top: clamp(36px, 5vw, 56px);
}
.caps__item { background: var(--paper); padding: clamp(26px, 3vw, 36px) clamp(20px, 2.2vw, 28px); }
.section--sand .caps__item { background: var(--paper-2); }
.caps__no { font-size: 10px; letter-spacing: 0.28em; color: var(--accent); }
.caps__ttl {
  margin-top: 16px; font-family: var(--serif); font-weight: 400; color: var(--ink);
  font-size: 16px; line-height: 1.8; letter-spacing: 0.08em;
}
.caps__txt { margin-top: 12px; font-size: 12.5px; line-height: 2.1; color: var(--ink-3); }

/* --- 松竹梅プラン --- */
.plans {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(16px, 2vw, 24px);
  margin-top: clamp(40px, 5vw, 64px);
  /* 3枚の高さを揃えます。下端のボタンが横一直線に並び、
     見比べたあと迷わず押せる状態になります。 */
  align-items: stretch;
}
.plan {
  display: flex;
  flex-direction: column;
  position: relative;
  background: var(--paper);
  border: 1px solid var(--line);
  padding: clamp(32px, 3.4vw, 44px) clamp(22px, 2.6vw, 34px) clamp(30px, 3.4vw, 40px);
}
.section--sand .plan { background: var(--paper-2); }
/* 竹＝中央を主役に */
.plan--featured {
  border-color: var(--accent);
  background: var(--paper);
  box-shadow: 0 18px 48px -32px rgba(32,29,25,.5);
  padding-top: clamp(44px, 4.4vw, 58px);
}
.plan__badge {
  position: absolute;
  top: 0; left: 50%;
  transform: translate(-50%, -50%);
  background: var(--accent);
  color: #FBF8F4;
  font-size: 10px;
  letter-spacing: 0.24em;
  padding: 7px 18px;
  white-space: nowrap;
}
.plan__rank {
  font-family: var(--serif);
  font-size: 17px;
  letter-spacing: 0.26em;
  color: var(--ink);
}
.plan__name {
  margin-top: 10px;
  font-size: 11px;
  letter-spacing: 0.26em;
  color: var(--accent);
}
.plan__lead {
  margin-top: 22px;
  font-family: var(--serif);
  font-weight: 400;
  color: var(--ink);
  font-size: clamp(17px, 1.9vw, 20px);
  line-height: 1.9;
  letter-spacing: 0.08em;
}
.plan__txt { margin-top: 16px; font-size: 13px; line-height: 2.15; color: var(--ink-2); }
.plan__price {
  margin-top: 26px;
  padding-top: 20px;
  border-top: 1px solid var(--line);
  font-family: var(--serif);
  font-size: clamp(21px, 2.4vw, 26px);
  letter-spacing: 0.06em;
  color: var(--ink);
}
.plan__price small { font-size: 12px; letter-spacing: 0.14em; color: var(--ink-3); margin-left: 6px; font-family: var(--sans); }
.plan__spec { margin-top: 22px; }
.plan__spec dt {
  font-size: 10px; letter-spacing: 0.24em; color: var(--ink-3);
  padding-bottom: 10px; border-bottom: 1px solid var(--line-soft);
}
.plan__spec ul { margin-top: 14px; }
.plan__spec li {
  position: relative;
  padding-left: 16px;
  font-size: 12.5px;
  line-height: 2.05;
  color: var(--ink-2);
}
.plan__spec li::before {
  content: ""; position: absolute; left: 0; top: 12px;
  width: 6px; height: 1px; background: var(--ink-3);
}

/* プランごとの相談ボタン。
   「いいな」と思った瞬間に押せる場所へ置きます。
   ふだんは線だけの静かな見え方にして、触れたときだけ弁柄が入ります。
   margin-top:auto で、内容量に関わらずカードの下端に揃います。 */
.plan__cta { margin-top: auto; padding-top: clamp(26px, 3vw, 34px); }
.plan__cta a {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px 18px;
  border: 1px solid var(--line);
  font-size: 11.5px;
  letter-spacing: 0.16em;
  color: var(--ink);
  transition: background .45s var(--ease), border-color .45s var(--ease), color .45s var(--ease);
}
.plan__cta a:hover {
  background: var(--accent);
  border-color: var(--accent);
  color: #FBF6F3;
}
/* おすすめの1枚だけ、はじめから弁柄の線にして視線を止めます */
.plan--featured .plan__cta a { border-color: var(--accent); color: var(--accent-deep); }
.plan--featured .plan__cta a:hover { color: #FBF6F3; }

/* --- オプション／継続プラン --- */
.opts { display: grid; grid-template-columns: repeat(2, 1fr); gap: clamp(16px, 2vw, 24px); margin-top: clamp(32px, 4vw, 48px); }
.opt { border: 1px solid var(--line); padding: clamp(26px, 3vw, 36px) clamp(20px, 2.4vw, 30px); background: var(--paper); }
.section--sand .opt { background: var(--paper-2); }
.opt__ttl { font-family: var(--serif); font-size: 16px; letter-spacing: 0.08em; color: var(--ink); }
.opt__price { margin-top: 12px; font-family: var(--serif); font-size: 19px; color: var(--ink); letter-spacing: 0.04em; }
.opt__price small { font-size: 11px; letter-spacing: 0.14em; color: var(--ink-3); margin-left: 6px; font-family: var(--sans); }
.opt__txt { margin-top: 14px; font-size: 12.5px; line-height: 2.1; color: var(--ink-3); }

.tbl { width: 100%; border-collapse: collapse; margin-top: clamp(28px, 3.4vw, 40px); }
.tbl th, .tbl td {
  border-bottom: 1px solid var(--line);
  padding: 16px 14px;
  text-align: left;
  font-size: 13px;
  line-height: 1.9;
  letter-spacing: 0.06em;
}
.tbl th { font-weight: 400; font-size: 11px; letter-spacing: 0.2em; color: var(--ink-3); border-bottom-color: var(--ink-3); }
.tbl td { color: var(--ink); }
.tbl td:first-child { font-family: var(--serif); }
.tbl tr:last-child td { border-bottom-color: var(--line); }
/* 表の中で1マスだけ色を変えると「なぜここだけ？」と読ませてしまうため、
   色はつけず、文字の太さだけでわずかに立たせます。 */
.tbl .is-key { color: var(--ink); font-weight: 500; }

/* --- 注記 --- */
.notes { margin-top: clamp(32px, 4vw, 44px); border-top: 1px solid var(--line); padding-top: 24px; }
.notes li {
  position: relative; padding-left: 18px;
  font-size: 12.5px; line-height: 2.15; color: var(--ink-3);
}
.notes li::before { content: "※"; position: absolute; left: 0; top: 0; }
.notes li + li { margin-top: 14px; }
.notes li b {
  font-family: var(--serif);
  font-weight: 400;
  font-size: 14px;
  letter-spacing: 0.08em;
  color: var(--ink);
}

/* --- 制作の流れ --- */
.flow { display: grid; grid-template-columns: repeat(4, 1fr); gap: clamp(16px, 2.4vw, 32px); margin-top: clamp(40px, 5vw, 56px); }
.flow__step { padding-top: 20px; border-top: 1px solid var(--line); }
.flow__no { font-family: var(--serif); font-size: 11px; letter-spacing: 0.28em; color: var(--accent); }
.flow__ttl { margin-top: 14px; font-family: var(--serif); font-size: 16px; letter-spacing: 0.08em; color: var(--ink); line-height: 1.8; }
.flow__txt { margin-top: 12px; font-size: 12.5px; line-height: 2.1; color: var(--ink-3); }

/* --- 作風ギャラリー --- */
.gallery { columns: 3; column-gap: clamp(14px, 1.8vw, 22px); margin-top: clamp(40px, 5vw, 60px); }
.gallery figure { break-inside: avoid; margin-bottom: clamp(14px, 1.8vw, 22px); }
.gallery .ph { aspect-ratio: auto; }
.gallery .ph img { height: auto; }
/* 押せることを、わずかな沈み込みだけで伝えます */
.gallery figure { cursor: zoom-in; }
.gallery figure .ph { transition: opacity .4s var(--ease); }
.gallery figure:hover .ph { opacity: .82; }

/* --- 写真の拡大表示 --- */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: clamp(16px, 4vw, 56px);
  background: rgba(26, 23, 20, .92);
  opacity: 0;
  visibility: hidden;
  transition: opacity .4s var(--ease), visibility .4s;
}
.lightbox.is-open { opacity: 1; visibility: visible; }
.lightbox__img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  opacity: 0;
  transform: scale(.985);
  transition: opacity .5s var(--ease), transform .6s var(--ease);
}
.lightbox.is-ready .lightbox__img { opacity: 1; transform: none; }

/* 操作のボタン。写真の邪魔をしないよう、線だけで置きます */
.lightbox button {
  position: absolute;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 52px; height: 52px;
  color: #EDE9E2;
  background: transparent;
  border: 1px solid rgba(237, 233, 226, .28);
  border-radius: 50%;
  cursor: pointer;
  transition: background .35s var(--ease), border-color .35s var(--ease);
}
.lightbox button:hover { background: rgba(237, 233, 226, .12); border-color: rgba(237, 233, 226, .5); }
.lightbox__close { top: clamp(14px, 3vw, 28px); right: clamp(14px, 3vw, 28px); font-size: 20px; line-height: 1; }
.lightbox__prev { left: clamp(10px, 2vw, 28px); }
.lightbox__next { right: clamp(10px, 2vw, 28px); }
.lightbox__prev::before,
.lightbox__next::before {
  content: "";
  width: 11px; height: 11px;
  border-top: 1px solid currentColor;
  border-right: 1px solid currentColor;
}
.lightbox__prev::before { transform: rotate(-135deg) translate(-2px, -2px); }
.lightbox__next::before { transform: rotate(45deg) translate(-2px, -2px); }
.lightbox__count {
  position: absolute;
  bottom: clamp(14px, 3vw, 28px);
  left: 0; right: 0;
  text-align: center;
  font-size: 11px;
  letter-spacing: 0.22em;
  color: rgba(237, 233, 226, .62);
}
@media (max-width: 767px) {
  .lightbox button { width: 44px; height: 44px; }
  .lightbox__prev { left: 8px; }
  .lightbox__next { right: 8px; }
}
@media (prefers-reduced-motion: reduce) {
  .lightbox, .lightbox__img { transition: none; }
}

/* --- 動画 --- */
/* SNS用の縦位置動画（リール）を想定した見せ方。
   横位置の動画を入れる場合は .video の aspect-ratio を 16/9 に、
   .videos の grid-template-columns の上限を 1fr にしてください。 */
.videos {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 320px));
  gap: clamp(20px, 3vw, 36px);
  margin-top: clamp(36px, 5vw, 56px);
}
.video {
  position: relative;
  aspect-ratio: 9 / 16;
  background: var(--paper-3);
  overflow: hidden;
}
.video video,
.video img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.video::after {
  content: "";
  position: absolute; inset: 0;
  box-shadow: inset 0 0 0 1px rgba(32,29,25,.06);
  pointer-events: none;
}
/* 再生ボタン（細い円に三角） */
.video__play {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  background: rgba(26, 23, 20, .18);
  transition: background .5s var(--ease), opacity .4s var(--ease);
  z-index: 2;
}
.video__play::before {
  content: "";
  width: 74px; height: 74px;
  border: 1px solid rgba(247, 244, 239, .8);
  border-radius: 50%;
  transition: transform .5s var(--ease), background .5s var(--ease);
}
.video__play::after {
  content: "";
  position: absolute;
  width: 0; height: 0;
  border-style: solid;
  border-width: 8px 0 8px 13px;
  border-color: transparent transparent transparent #F7F4EF;
  transform: translateX(2px);
}
.video__play:hover { background: rgba(26, 23, 20, .28); }
.video__play:hover::before { transform: scale(1.08); }
.video.is-playing .video__play { opacity: 0; pointer-events: none; }
.video__cap { margin-top: 14px; font-size: 11.5px; letter-spacing: 0.14em; color: var(--ink-3); }

/* --- 世界観が整うと、何が変わるか --- */
.effect {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(20px, 3vw, 40px);
  margin-top: clamp(40px, 5vw, 60px);
}
.effect__item { padding-top: 22px; border-top: 1px solid var(--line); }
.section--sand .effect__item { border-top-color: var(--line); }
.effect__no { font-family: var(--serif); font-size: 11px; letter-spacing: 0.3em; color: var(--accent); }
.effect__ttl {
  margin-top: 16px;
  font-family: var(--serif);
  font-weight: 400;
  color: var(--ink);
  font-size: clamp(17px, 2vw, 21px);
  line-height: 1.85;
  letter-spacing: 0.08em;
  word-break: auto-phrase;
}
.effect__txt { margin-top: 16px; font-size: 13px; line-height: 2.15; color: var(--ink-2); }

/* --- ご相談から納品までの流れ（TOP用の簡易版） --- */
.steps {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: clamp(10px, 1.6vw, 20px);
  margin-top: clamp(36px, 5vw, 56px);
  counter-reset: step;
}
.steps__item {
  position: relative;
  padding-top: 26px;
  border-top: 1px solid var(--line);
}
/* ステップをつなぐ小さな点 */
.steps__item::before {
  content: "";
  position: absolute;
  left: 0; top: -3px;
  width: 5px; height: 5px;
  border-radius: 50%;
  background: var(--accent);
  opacity: .4;
}
.steps__item:first-child::before { opacity: 1; }
.steps__no { font-size: 10px; letter-spacing: 0.28em; color: var(--ink-3); }
.steps__ttl {
  margin-top: 12px;
  font-family: var(--serif);
  font-size: clamp(14px, 1.5vw, 16px);
  line-height: 1.85;
  letter-spacing: 0.06em;
  color: var(--ink);
  word-break: auto-phrase;
}
.steps__txt { margin-top: 10px; font-size: 12px; line-height: 2; color: var(--ink-3); }

/* --- 「こんな状態でもご相談ください」チェックリスト --- */
.checklist {
  margin-top: clamp(32px, 4vw, 44px);
  border-top: 1px solid var(--line);
}
.checklist li {
  position: relative;
  padding: 18px 0 18px 38px;
  border-bottom: 1px solid var(--line);
  font-family: var(--serif);
  font-size: clamp(14px, 1.6vw, 16px);
  line-height: 1.95;
  letter-spacing: 0.06em;
  color: var(--ink);
  word-break: auto-phrase;
}
/* 手描き風のチェック */
.checklist li::before {
  content: "";
  position: absolute;
  left: 4px; top: 27px;
  width: 13px; height: 7px;
  border-left: 1px solid var(--accent);
  border-bottom: 1px solid var(--accent);
  transform: rotate(-45deg);
}

/* --- 納品イメージ（小さめの3枚） --- */
.samples { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(14px, 2vw, 24px); margin-top: clamp(32px, 4vw, 48px); }
.samples .ph { aspect-ratio: 4 / 5; }

@media (max-width: 900px) {
  .effect { grid-template-columns: 1fr; gap: 28px; }
  .steps { grid-template-columns: 1fr 1fr; gap: 24px 16px; }
}
@media (max-width: 599px) {
  .steps { grid-template-columns: 1fr; }
  .samples { grid-template-columns: 1fr 1fr; }
  .samples figure:last-child { display: none; }
}

/* --- FAQ（アコーディオン） ---------------------------------
   <details>/<summary> を使っているので JavaScript は不要です。
   項目を増やすときは <details class="faq__item"> ごと複製してください。 */
.faq {
  margin-top: clamp(36px, 5vw, 56px);
  border-top: 1px solid var(--line);
}
.faq__item { border-bottom: 1px solid var(--line); }
.faq__q {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  padding: clamp(20px, 2.4vw, 26px) 40px clamp(20px, 2.4vw, 26px) 0;
  position: relative;
  cursor: pointer;
  list-style: none;
  font-family: var(--serif);
  font-size: clamp(15px, 1.7vw, 17px);
  line-height: 1.9;
  letter-spacing: 0.06em;
  color: var(--ink);
  transition: color .35s var(--ease);
}
.faq__q::-webkit-details-marker { display: none; }
.faq__q:hover { color: var(--accent-deep); }
/* 頭のQ */
.faq__q::before {
  content: "Q";
  flex: none;
  font-size: 11px;
  letter-spacing: 0.2em;
  color: var(--accent);
  padding-top: 0.55em;
}
/* 右端の＋／− */
.faq__q::after {
  content: "";
  position: absolute;
  right: 4px; top: 50%;
  width: 13px; height: 13px;
  margin-top: -6px;
  background:
    linear-gradient(var(--ink-3), var(--ink-3)) center/13px 1px no-repeat,
    linear-gradient(var(--ink-3), var(--ink-3)) center/1px 13px no-repeat;
  transition: transform .45s var(--ease), background .35s var(--ease);
}
.faq__item[open] > .faq__q::after {
  transform: rotate(90deg);
  background: linear-gradient(var(--accent), var(--accent)) center/13px 1px no-repeat;
}
.faq__a {
  padding: 0 40px clamp(24px, 3vw, 32px) 27px;
  font-size: 13.5px;
  line-height: 2.25;
  color: var(--ink-2);
}
.faq__a p + p { margin-top: 1.4em; }

/* --- 控えめな添え書き（準備中の一文など） --- */
.aside-note {
  margin-top: clamp(56px, 7vw, 88px);
  padding-top: clamp(24px, 3vw, 32px);
  border-top: 1px solid var(--line);
  text-align: center;
  font-size: 13px;
  line-height: 2.2;
  letter-spacing: 0.08em;
  color: var(--ink-3);
}

/* --- メンバー --- */
.members { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(20px, 3vw, 40px); margin-top: clamp(40px, 5vw, 56px); }
.member .ph { aspect-ratio: 1 / 1; }
.member__name {
  margin-top: 20px; font-family: var(--serif); font-size: 17px;
  letter-spacing: 0.1em; color: var(--ink); min-height: 1.6em;
}
.member__role {
  margin-top: 10px;
  font-size: 11px;
  line-height: 1.9;
  letter-spacing: 0.14em;
  color: var(--accent);
  min-height: 1.6em;
}
.member__txt { margin-top: 14px; font-size: 12.5px; line-height: 2.1; color: var(--ink-3); }
.member__link { margin-top: 18px; }
.member__link a {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 11px;
  letter-spacing: 0.2em;
  color: var(--ink-2);
  transition: color .4s var(--ease);
}
.member__link a i {
  display: block;
  width: 22px; height: 1px;
  background: var(--ink-3);
  position: relative; overflow: hidden;
}
.member__link a i::after {
  content: ""; position: absolute; inset: 0;
  background: var(--accent);
  transform: translateX(-100%);
  transition: transform .5s var(--ease);
}
.member__link a:hover { color: var(--accent-deep); }
.member__link a:hover i::after { transform: translateX(0); }

/* メールアドレスなどのリンク */
.link-mail {
  border-bottom: 1px solid var(--line);
  padding-bottom: 2px;
  transition: color .4s var(--ease), border-color .4s var(--ease);
}
.link-mail:hover { color: var(--accent-deep); border-color: var(--accent); }

/* 未記入の枠を視覚的に示す（記入後はこの行を削除して構いません） */
.is-blank { color: var(--ink-3); opacity: .55; }

/* --- 会社情報テーブル --- */
.info { margin-top: clamp(36px, 5vw, 52px); border-top: 1px solid var(--line); }
.info__row { display: flex; gap: clamp(16px, 3vw, 40px); padding: 20px 0; border-bottom: 1px solid var(--line); }
.info__row dt {
  flex: none; width: 8em;
  font-size: 11px; letter-spacing: 0.2em; color: var(--ink-3); padding-top: 4px;
}
.info__row dd { font-size: 14px; line-height: 1.95; color: var(--ink); letter-spacing: 0.06em; }

/* --- フォーム --- */
.form { margin-top: clamp(40px, 5vw, 56px); }
.field { margin-bottom: clamp(26px, 3vw, 34px); }
.field__label {
  display: flex; align-items: center; gap: 12px;
  font-size: 11px; letter-spacing: 0.2em; color: var(--ink-2);
}
.field__req { font-size: 9px; letter-spacing: 0.14em; color: var(--accent); border: 1px solid var(--accent); padding: 2px 6px; }
.field__opt { font-size: 9px; letter-spacing: 0.14em; color: var(--ink-3); border: 1px solid var(--line); padding: 2px 6px; }
.field input,
.field textarea,
.field select {
  width: 100%;
  margin-top: 12px;
  padding: 16px 2px;
  font-family: var(--sans);
  font-size: 15px;
  line-height: 1.9;
  color: var(--ink);
  background: transparent;
  border: 0;
  border-bottom: 1px solid var(--line);
  border-radius: 0;
  transition: border-color .4s var(--ease);
  -webkit-appearance: none;
  appearance: none;
}
.field textarea { min-height: 180px; resize: vertical; }
.field input:focus,
.field textarea:focus,
.field select:focus { outline: none; border-bottom-color: var(--accent); }
.field input::placeholder,
.field textarea::placeholder { color: #B7B0A4; }

.form__privacy {
  margin-top: 8px;
  padding: clamp(20px, 2.4vw, 26px);
  background: var(--paper-2);
  font-size: 12px; line-height: 2.05; color: var(--ink-3);
}
.form__submit { margin-top: clamp(32px, 4vw, 44px); text-align: center; }

/* --- 直接の連絡先 --- */
.direct { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 1px; background: var(--line); border: 1px solid var(--line); margin-top: clamp(40px, 5vw, 56px); }
.direct__item { background: var(--paper); padding: clamp(24px, 3vw, 32px); }
.section--sand .direct__item { background: var(--paper-2); }
.direct__label { font-size: 10px; letter-spacing: 0.28em; color: var(--ink-3); text-transform: uppercase; }
.direct__val { margin-top: 12px; font-family: var(--serif); font-size: 16px; letter-spacing: 0.06em; color: var(--ink); word-break: break-all; }

@media (max-width: 900px) {
  .plans { grid-template-columns: 1fr; }
  .plan--featured { order: -1; }
  .opts { grid-template-columns: 1fr; }
  .flow { grid-template-columns: 1fr 1fr; }
  .gallery { columns: 2; }
  .members { grid-template-columns: 1fr; max-width: 420px; }
}
@media (max-width: 599px) {
  .flow { grid-template-columns: 1fr; }
  .info__row { flex-direction: column; gap: 8px; }
  .info__row dt { width: auto; }
  .tbl th, .tbl td { padding: 13px 8px; font-size: 12px; }
}

/* ------------------------------------------------------------
   9. Motion / Responsive
   ------------------------------------------------------------ */
.reveal { opacity: 0; transform: translateY(22px); transition: opacity 1.1s var(--ease), transform 1.1s var(--ease); }
.reveal.is-in { opacity: 1; transform: none; }
.reveal[data-delay="1"] { transition-delay: .12s; }
.reveal[data-delay="2"] { transition-delay: .24s; }
.reveal[data-delay="3"] { transition-delay: .36s; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .hero__scroll i::after { animation: none; }
  .hero__slide { transition: none; }
  .hero__slide img { transform: none; transition: none; }
}

/* --- Tablet --- */
@media (max-width: 1024px) {
  .intro__inner,
  .philo-teaser__inner,
  .company-peek,
  .chapter__inner { grid-template-columns: 1fr; }
  .chapter__body { max-width: none; }
}

/* --- Mobile --- */
@media (max-width: 767px) {
  :root { --header-h: 62px; }
  body { font-size: 14px; }

  /* ▼ スマホ調整 1／入力欄を16pxに
     iOSは16px未満の入力欄をタップすると、画面を勝手に拡大します。
     いったん拡大されると元に戻らず、レイアウトが崩れて見えます。 */
  .field input,
  .field textarea,
  .field select { font-size: 16px; }

  /* ▼ スマホ調整 2／ヒーローの高さ
     vh はアドレスバーの分を含むため、スクロールすると高さが変わって
     画面がガタつきます。対応ブラウザでは svh を使います。 */
  .hero { min-height: min(84vh, 720px); }
  @supports (height: 100svh) {
    .hero { min-height: min(84svh, 720px); }
  }

  /* ▼ スマホ調整 3／表の3列目（備考）を隠す
     3列だと1列90px程度になり、文字が詰まって読めません。
     金額と期間だけ残し、備考は下の注記で補います。 */
  .tbl th:nth-child(3),
  .tbl td:nth-child(3) { display: none; }
  .tbl th, .tbl td { padding: 15px 10px; }

  /* ▼ スマホ調整 4／ヒーローの文字とインジケーターの重なりを防ぐ */
  .hero__inner { padding-bottom: 34px; }

  /* ▼ スマホ調整 5／横スクロールの発生を防ぐ */
  .wrap, .wrap--narrow, .wrap--wide { max-width: 100%; }
  img, video { max-width: 100%; }

  /* ▼ スマホ調整 6／本文に置いた強制改行を無効にする
     見出しの <br> は意図した改行なので残します。
     本文は画面が狭いと自然に折り返すため、そこに <br> が重なると
     1〜2文字だけの行ができてしまいます。ここでだけ無効にします。 */
  .txt br,
  .cta__txt br { display: none; }

  .navtoggle { display: block; }
  .gnav {
    position: fixed;
    inset: 0;
    /* アドレスバーの伸縮に左右されない高さ。
       これがないと、下までスクロールした状態で開いたときに
       メニューの下端が画面からはみ出します。 */
    height: 100%;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    background: var(--paper);
    padding: calc(var(--header-h) + 32px) var(--gutter) 48px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-8px);
    transition: opacity .5s var(--ease), transform .5s var(--ease), visibility .5s;
    z-index: 110;
  }
  .gnav.is-open { opacity: 1; visibility: visible; transform: none; }
  .gnav__list { flex-direction: column; align-items: flex-start; gap: 0; width: 100%; }
  .gnav__list li { width: 100%; border-bottom: 1px solid var(--line-soft); }
  .gnav__list li:first-child { border-top: 1px solid var(--line-soft); }
  .gnav__link { display: flex; width: 100%; padding: 20px 2px; gap: 4px; }
  .gnav__link-en { font-size: 14px; letter-spacing: 0.14em; }
  .gnav__link-ja { display: block; font-size: 11px; }
  .gnav__link::after { display: none; }
  /* SNSアイコンはフッターにもあるため、スマホの全画面メニューでは重複を避けて非表示 */
  .gnav__social { display: none; }
  .gnav__cta { margin-top: 32px; align-self: flex-start; padding: 14px 28px; font-size: 12px; }

  /* ▼ スマホ調整 7／2枚目の写真の見せる位置
     縦長に切り取られると、中央では窓のカーテンばかりになり、
     左下に置いた白い文字も背景が明るくて読みにくくなります。
     少し左を見せて、棚と本が入るようにしています。 */
  .hero__slide:nth-child(2) img { object-position: 10% center; }

  .hero__copy { max-width: none; }
  /* 1行を折り返させないので、狭い画面では文字を少し詰める */
  .hero__philo { font-size: clamp(21px, 6.4vw, 32px); line-height: 1.85; letter-spacing: 0.04em; }
  .hero__dots { right: var(--gutter); bottom: clamp(40px, 8vw, 56px); }
  .hero__dot { width: 22px; }
  .hero__scroll { margin-top: 32px; }

  .svc { grid-template-columns: 1fr; border-top: 0; margin-top: clamp(28px, 6vw, 40px); }
  .works-peek { grid-template-columns: 1fr 1fr; }
  .works-peek__item:nth-child(3) { display: none; }
  .footer__top { flex-direction: column; gap: 40px; }
  .footer__nav { grid-template-columns: 1fr 1fr; }
  .btn { min-width: 0; width: 100%; padding: 18px 24px; }
  .philo-hero .ph { aspect-ratio: 4 / 3; }
}

/* ============================================================
   かんたん見積もり（estimate.html）
   ============================================================ */

/* --- 入口の切り替えタブ --- */
.esttab {
  display: flex;
  gap: clamp(20px, 4vw, 48px);
  border-bottom: 1px solid var(--line);
}
.esttab__item {
  position: relative;
  padding: 0 2px 18px;
  font-size: clamp(12.5px, 1.6vw, 14px);
  letter-spacing: 0.12em;
  color: var(--ink-3);
  transition: color .4s var(--ease);
}
.esttab__item::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: -1px;
  height: 1px;
  background: var(--ink);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .5s var(--ease);
}
.esttab__item.is-current { color: var(--ink); }
.esttab__item.is-current::after { transform: scaleX(1); }
a.esttab__item:hover { color: var(--ink); }
a.esttab__item:hover::after { transform: scaleX(1); background: var(--accent); }

/* --- 全体のレイアウト。右の結果はスクロールに付いてきます --- */
.est {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 340px;
  gap: clamp(32px, 5vw, 72px);
  margin-top: clamp(44px, 6vw, 68px);
  align-items: start;
}

/* --- 質問のかたまり --- */
.est__q {
  border: 0;
  padding: 0;
  margin: 0 0 clamp(44px, 6vw, 72px);
}
.est__legend {
  display: flex;
  align-items: center;
  gap: 18px;
  padding: 0;
}
.est__no {
  flex: none;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 38px; height: 38px;
  border-radius: 50%;
  background: var(--paper-dark);
  color: var(--ink-on-dark);
  font-family: var(--serif);
  font-size: 14px;
  letter-spacing: 0;
}
.est__ttl { display: flex; flex-direction: column; gap: 6px; }
.est__ttl-ja { font-size: 11px; letter-spacing: 0.24em; color: var(--ink-3); }
.est__ttl-en {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(19px, 2.4vw, 26px);
  letter-spacing: 0.16em;
  color: var(--ink);
}
.est__lead {
  margin-top: 18px;
  font-size: 13px;
  line-height: 2.1;
  color: var(--ink-3);
}

/* --- 選択肢の行 --- */
.est__opts { margin-top: 22px; display: grid; gap: 8px; }
.est__opt {
  position: relative;
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 18px clamp(18px, 2.2vw, 26px);
  background: var(--paper);
  border: 1px solid transparent;
  cursor: pointer;
  transition: background .35s var(--ease), border-color .35s var(--ease);
}
.est__opt:hover { background: var(--paper-2); }
/* 実際のラジオボタンは隠し、丸印を自分で描きます */
.est__opt input {
  position: absolute;
  opacity: 0;
  width: 1px; height: 1px;
}
.est__opt-in { flex: 1 1 auto; display: flex; flex-direction: column; gap: 6px; padding-left: 32px; position: relative; }
.est__opt-in::before {
  content: "";
  position: absolute;
  left: 0; top: 4px;
  width: 16px; height: 16px;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: var(--paper-0);
  transition: border-color .3s var(--ease), background .3s var(--ease);
}
.est__opt-in::after {
  content: "";
  position: absolute;
  left: 5px; top: 9px;
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--accent);
  opacity: 0;
  transform: scale(.4);
  transition: opacity .3s var(--ease), transform .35s var(--ease);
}
.est__opt-ttl {
  font-family: var(--serif);
  font-size: clamp(14px, 1.6vw, 15.5px);
  line-height: 1.7;
  letter-spacing: 0.06em;
  color: var(--ink);
}
.est__opt-sub { font-size: 11.5px; line-height: 1.9; letter-spacing: 0.04em; color: var(--ink-3); }
.est__opt-price {
  flex: none;
  font-family: var(--serif);
  font-size: clamp(13px, 1.5vw, 15px);
  letter-spacing: 0.04em;
  color: var(--ink-2);
  white-space: nowrap;
}
/* 選ばれている行 */
.est__opt:has(input:checked) {
  background: var(--paper-0);
  border-color: var(--accent);
}
.est__opt:has(input:checked) .est__opt-in::before { border-color: var(--accent); }
.est__opt:has(input:checked) .est__opt-in::after { opacity: 1; transform: none; }
.est__opt:has(input:checked) .est__opt-price { color: var(--accent-deep); }
/* :has が使えないブラウザ向けの控え。キーボード操作の目印にもなります */
.est__opt:focus-within { border-color: var(--accent); }

/* --- 結果のカード --- */
.est__panel { position: sticky; top: calc(var(--header-h) + 24px); }
.est__card {
  background: var(--paper-dark);
  color: var(--ink-on-dark-2);
  padding: clamp(28px, 3vw, 36px);
}
.est__label { font-size: 10px; letter-spacing: 0.28em; color: var(--ink-on-dark-2); }
.est__label-ja { margin-left: 14px; letter-spacing: 0.16em; color: var(--accent-on-dark); }
.est__amount {
  margin-top: 22px;
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(22px, 2.6vw, 27px);
  line-height: 1.5;
  letter-spacing: 0.02em;
  color: var(--ink-on-dark);
}
.est__unit { margin-top: 8px; font-size: 11px; letter-spacing: 0.16em; color: #8E867A; }

.est__breakdown { margin-top: 26px; padding-top: 22px; border-top: 1px solid var(--line-dark); }
.est__breakdown li {
  position: relative;
  padding-left: 15px;
  font-size: 12px;
  line-height: 2.05;
  color: var(--ink-on-dark-2);
}
.est__breakdown li::before {
  content: ""; position: absolute; left: 0; top: 12px;
  width: 6px; height: 1px; background: var(--accent-on-dark);
}

.est__extra { margin-top: 22px; padding-top: 20px; border-top: 1px solid var(--line-dark); }
.est__extra-ttl { font-size: 10.5px; letter-spacing: 0.18em; color: #8E867A; }
.est__extra ul { margin-top: 12px; }
.est__extra li {
  position: relative;
  padding-left: 15px;
  font-size: 11.5px;
  line-height: 2;
  color: #8E867A;
}
.est__extra li::before {
  content: ""; position: absolute; left: 0; top: 11px;
  width: 6px; height: 1px; background: #6B6358;
}

.est__note {
  margin-top: 24px;
  font-size: 11px;
  line-height: 2.1;
  color: #8E867A;
}
.est__note b { color: var(--ink-on-dark-2); font-weight: 400; }

.est__go { margin-top: 26px; }
.est__go .btn { width: 100%; min-width: 0; padding: 18px 20px; }
.est__go-sub { margin-top: 12px; text-align: center; font-size: 10.5px; letter-spacing: 0.1em; color: #8E867A; }

/* --- タブレット以下：結果を下に回します --- */
@media (max-width: 1024px) {
  .est { grid-template-columns: 1fr; }
  .est__panel { position: static; }
  .est__card { max-width: 520px; }
}
@media (max-width: 767px) {
  .est__opt { padding: 16px 16px; gap: 12px; }
  .est__opt-in { padding-left: 28px; }
  .est__no { width: 32px; height: 32px; font-size: 13px; }
  .est__legend { gap: 14px; }
  .est__card { max-width: none; }
  .est__opt-price { font-size: 12.5px; }
}

/* プラン一覧の下に置く、見積もりへの導線 */
.plans__more { margin-top: clamp(28px, 3.5vw, 40px); text-align: center; }

/* ============================================================
   プライバシーポリシー（privacy.html）
   ============================================================ */
.terms { margin-top: clamp(8px, 2vw, 20px); }
.terms__item { padding-block: clamp(32px, 4vw, 44px); border-bottom: 1px solid var(--line); }
.terms__item:first-child { border-top: 1px solid var(--line); }
.terms__ttl {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(16px, 1.9vw, 19px);
  line-height: 1.8;
  letter-spacing: 0.08em;
  color: var(--ink);
  margin-bottom: 20px;
}
.terms__list { margin-top: 16px; }
.terms__list li {
  position: relative;
  padding: 8px 0 8px 20px;
  font-size: 13.5px;
  line-height: 2.15;
  color: var(--ink-2);
}
.terms__list li::before {
  content: ""; position: absolute; left: 0; top: 22px;
  width: 8px; height: 1px; background: var(--ink-3);
}
.terms__list + .txt { margin-top: 20px; }
.terms__date {
  margin-top: clamp(36px, 4vw, 48px);
  text-align: right;
  font-size: 11.5px;
  letter-spacing: 0.14em;
  color: var(--ink-3);
}
/* フッターのプライバシーポリシーへのリンク */
.footer__bottom a { color: inherit; transition: color .4s var(--ease); }
.footer__bottom a:hover { color: var(--ink-on-dark); }

/* 段落を2つに分けたときの間隔。
   読点で区切るのではなく「話のまとまり」で行を空けて読みやすくします。 */
.member__txt + .member__txt { margin-top: 1.5em; }
.reasons__txt + .reasons__txt { margin-top: 1.4em; }
.svc__txt + .svc__txt,
.plan__txt + .plan__txt,
.effect__txt + .effect__txt,
.flow__txt + .flow__txt { margin-top: 1.4em; }

/* 中央寄せのセクションに置く本文。ここだけ左寄せに戻します */
.statement__lead { text-align: left; }

/* 見積もりへの導線。プラン内の「このプランで相談する」より一段手前の行動なので、
   弁柄では塗らず、線だけのボタンにして役割を分けます。 */
.plans__more .btn { min-width: 0; padding: 18px 40px; }
