@charset "UTF-8";
/* =============================================================
   岡塗装 コーポレートサイト 共通スタイル（v2「墨場と余白」）
   コンセプト: 和紙の上に、職人の仕事が墨のように映えるサイト
   v2 の核: 黒く締まる場（墨場）と、潔く空ける場を明確に分ける。
            「なんとなく薄い」中間を排除する。
   全ページ（index / company / services / works / flow / faq / contact）
   で使用する共通スタイルをここに集約しています。
   ============================================================= */

/* -------------------------------------------------------------
   1. デザイントークン
   ------------------------------------------------------------- */
:root {
  /* 色 */
  --color-washi: #F2ECDC;
  --color-washi-deep: #E8E0CB;
  --color-sumi: #1F1D1A;
  --color-sumi-soft: #4A463F;
  --color-sumi-bg: #191714;      /* 墨黒セクションのベタ地 */
  --color-shu: #C73E2E;
  --color-shu-dark: #A5301F;
  --color-shu-light: #E9A79E;    /* 墨地の上で朱を使うとき（コントラスト確保用） */
  --color-shu-text: #A5301F;     /* 生成り地の上の小さな朱文字（AA 5.8:1 を確保） */
  --color-ai: #2A4A66;
  --color-line: #D5CBB2;
  --color-ink-gray: #6F6A61;      /* 飛沫の中間色（墨と生成りの間のグレー。現在は飛沫以外の予備色） */
  /* 生成り地の上の飛沫は「和紙にうっすら白が浮かぶ」トーンオントーン。
     地（#F2ECDC）よりワントーン明るいクリーム白を、高めの不透明度で置く。 */
  --color-ink-washi-light: #FDFAF0;  /* 飛沫の本体色（いちばん明るい白） */
  --color-ink-washi-soft: #FAF5E4;   /* 同・一段落としたクリーム白（.ink--gray 相当の役どころ） */

  /* 書体 */
  --font-serif: "Shippori Mincho B1", "Shippori Mincho", "Yu Mincho", "Hiragino Mincho ProN", serif;
  --font-sans: "Noto Sans JP", "Hiragino Kaku Gothic ProN", sans-serif;

  /* レイアウト */
  --width-content: 1080px;
  /* セクション間は広く、セクション内は詰める（疎密のコントラスト） */
  --section-pad: clamp(72px, 11vw, 148px);
  --gutter: clamp(20px, 5vw, 40px);
  --header-h: 78px;
  --tear: 16px;                  /* 墨場の破れ際の振れ幅 */

  /* 効果 */
  --shadow-soft: 0 2px 24px rgba(31, 29, 26, .08);
  --shadow-lift: 0 14px 40px rgba(31, 29, 26, .16);
  --ease: cubic-bezier(.22, .61, .36, 1);
}

/* -------------------------------------------------------------
   2. リセット / ベース
   ------------------------------------------------------------- */
*,
*::before,
*::after { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 16px);
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  font-family: var(--font-sans);
  font-size: 16px;
  font-weight: 400;
  line-height: 1.95;
  color: var(--color-sumi-soft);
  background-color: var(--color-washi);
  background-image: url(../img/washi-texture.svg);
  background-repeat: repeat;
  background-size: 400px 400px;
  overflow-x: hidden;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

body.is-locked { overflow: hidden; }

h1, h2, h3, h4, h5 {
  margin: 0;
  font-family: var(--font-serif);
  font-weight: 700;
  line-height: 1.5;
  letter-spacing: .08em;
  color: var(--color-sumi);
  /* 見出しは原則1行。折り返さざるを得ないときは文節単位で折る。
     word-break: auto-phrase は日本語の文節境界で折り返す（Chrome 119+）。
     未対応ブラウザ向けには HTML 側の .u-nobr で改行位置を固定している */
  word-break: auto-phrase;
  text-wrap: balance;
}

/* 本文は最終行に1〜2文字だけ残す「泣き別れ」を避ける（対応ブラウザのみ） */
p, li, dd, dt, figcaption, .lead, .note, .faq-answer { text-wrap: pretty; }

p { margin: 0 0 1.4em; }
p:last-child { margin-bottom: 0; }

ul, ol { margin: 0; padding: 0; list-style: none; }

a {
  color: var(--color-ai);
  text-decoration-thickness: 1px;
  text-underline-offset: .25em;
  transition: color .25s var(--ease), opacity .25s var(--ease);
}
a:hover { color: var(--color-shu-text); }

img, svg { max-width: 100%; height: auto; vertical-align: middle; }

button { font: inherit; color: inherit; }

:focus-visible {
  outline: 2px solid var(--color-shu);
  outline-offset: 3px;
}

.sr-only {
  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;
}

.skip-link {
  position: absolute;
  top: -100px; left: 16px;
  z-index: 999;
  padding: 10px 18px;
  background: var(--color-sumi);
  color: var(--color-washi);
  text-decoration: none;
}
.skip-link:focus { top: 12px; color: var(--color-washi); }

/* -------------------------------------------------------------
   3. レイアウト基本
   ------------------------------------------------------------- */
.container {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: var(--width-content);
  margin-inline: auto;
  padding-inline: var(--gutter);
}
.container--wide { max-width: 1280px; }
.container--narrow { max-width: 800px; }

.section {
  position: relative;
  padding-block: var(--section-pad);
  overflow: hidden;
}
.section--alt {
  background-color: rgba(232, 224, 203, .82);
  box-shadow: inset 0 1px 0 var(--color-line), inset 0 -1px 0 var(--color-line);
}
.section--tight { padding-block: clamp(52px, 7vw, 88px); }
/* カードを段違いに貼るセクション。ずらした分だけ下の余白を差し引く */
.section--stagger { padding-bottom: clamp(40px, 5vw, 72px); }
.section--line { border-top: 1px solid var(--color-line); }

/* --- 墨場（墨黒ベタのセクション） -----------------------------
   上下の境界は直線ではなく、紙を破ったような不規則なエッジにする */
.section--sumi {
  --color-line: rgba(242, 236, 220, .24);
  background-color: var(--color-sumi-bg);
  color: rgba(242, 236, 220, .84);
  padding-block: calc(var(--section-pad) + 20px);
  clip-path: polygon(
    0% 10px, 3% 2px, 7% 13px, 11% 4px, 15% 12px, 20% 1px, 25% 14px,
    30% 5px, 35% 15px, 41% 3px, 47% 11px, 53% 2px, 59% 14px, 65% 6px,
    71% 16px, 77% 4px, 83% 12px, 89% 1px, 95% 13px, 100% 5px,
    100% calc(100% - 9px), 96% calc(100% - 1px), 91% calc(100% - 13px),
    86% calc(100% - 4px), 80% calc(100% - 15px), 74% calc(100% - 3px),
    68% calc(100% - 11px), 61% calc(100% - 2px), 55% calc(100% - 15px),
    48% calc(100% - 6px), 42% calc(100% - 12px), 35% calc(100% - 1px),
    29% calc(100% - 13px), 23% calc(100% - 7px), 17% calc(100% - 15px),
    11% calc(100% - 3px), 6% calc(100% - 11px), 0% calc(100% - 2px)
  );
}
/* 墨場のまま CTA帯（main の外）へ続くときは、境目の黒い空白を詰める。
   .cta-band は main の兄弟なので、隣接セレクタではなく :has() で拾う */
main > .section--sumi:last-child { padding-bottom: clamp(46px, 5.5vw, 72px); }
main:has(> .section--sumi:last-child) + .cta-band { padding-top: clamp(40px, 5vw, 64px); }

.section--sumi h1,
.section--sumi h2,
.section--sumi h3,
.section--sumi h4,
.section--sumi h5 { color: var(--color-washi); }
.section--sumi .lead,
.section--sumi .note,
.section--sumi p { color: rgba(242, 236, 220, .84); }
.section--sumi .label-en { color: var(--color-shu-light); }
.section--sumi .label-en::before { background-color: var(--color-shu); }
.section--sumi .mini-label { color: var(--color-shu-light); }
.section--sumi .section-title::after {
  background-color: var(--color-washi);
  opacity: .55;
}
.section--sumi .ink { background-color: var(--color-washi); }
.section--sumi .kanji-mark { color: var(--color-washi); opacity: .055; }
.section--sumi .link-arrow { color: var(--color-washi); }
.section--sumi .link-arrow:hover { color: var(--color-shu-light); }
.section--sumi .link-arrow::after { background-color: var(--color-shu-light); }
.section--sumi .btn-outline {
  border-color: rgba(242, 236, 220, .55);
  color: var(--color-washi);
}
.section--sumi .btn-outline:hover {
  background-color: var(--color-washi);
  color: var(--color-sumi);
}
.section--sumi a:not(.btn):not(.link-arrow) { color: var(--color-shu-light); }

.lead {
  font-size: clamp(15px, 1.5vw, 17px);
  line-height: 2.1;
  max-width: 44em;
}

.note {
  font-size: 13px;
  line-height: 1.9;
  color: var(--color-sumi-soft);
  opacity: .92;   /* コントラスト AA を確保するため下げすぎない */
}

.text-center { text-align: center; }
/* 日本語の途中改行を避けたい語句に使う（例: <span class="nw">一貫施工</span>） */
.nw { white-space: nowrap; }

/* 文節単位で改行位置を固定するユーティリティ。
   inline-block なので中では折り返さず、span と span の間だけで改行する。
   見出しの「単語の途中で改行」と、本文の泣き別れ（最終行が1〜2文字）対策に使う。
   ※ span 同士の間に空白・改行を入れないこと（半角スペースが出てしまう） */
.u-nobr { display: inline-block; }
.mt-s { margin-top: 24px; }
.mt-m { margin-top: 44px; }
.mt-l { margin-top: 72px; }

.stack > * + * { margin-top: 1.4em; }

/* 縦の飾り罫（和帳のような細い線） */
.rule-v {
  width: 1px;
  height: clamp(48px, 8vw, 96px);
  margin-inline: auto;
  background: linear-gradient(to bottom, var(--color-line), transparent);
}

/* 帳簿・番付表の二重罫（太罫3px＋細罫1px）。リストや表の頭に敷く */
.ruled-top,
.news-list,
.faq-list,
.form,
.history-list,
.table-spec,
.flow-steps {
  border-top: 3px solid var(--color-sumi);
  padding-top: 5px;
  background-image: linear-gradient(to bottom, var(--color-line) 0 1px, transparent 1px);
  background-repeat: no-repeat;
  background-size: 100% 5px;
  background-position: 0 4px;
}
.section--sumi .ruled-top,
.section--sumi .news-list,
.section--sumi .faq-list,
.section--sumi .form,
.section--sumi .history-list,
.section--sumi .table-spec,
.section--sumi .flow-steps { border-top-color: var(--color-washi); }

/* -------------------------------------------------------------
   4. インク飛沫（装飾） — mask で色を制御
   色はモノトーンのみ。生成り地の上では「和紙よりわずかに明るい
   クリーム白」（トーンオントーン）、墨黒の地の上では生成り。
   朱はインク以外のブランド要素（ボタン・落款・英字ラベル）に限る。
   白は地とのコントラストが低いため、不透明度は 0.45〜1.0 の高めの
   レンジで運用する（墨地の上の飛沫は従来どおり 0.09〜0.34）。
   ------------------------------------------------------------- */
.ink {
  position: absolute;
  pointer-events: none;
  user-select: none;
  background-color: var(--color-ink-washi-light);
  -webkit-mask-repeat: no-repeat;
          mask-repeat: no-repeat;
  -webkit-mask-size: contain;
          mask-size: contain;
  -webkit-mask-position: center;
          mask-position: center;
  z-index: 0;
}
/* 形のバリエーション（1〜4: 既存の飛沫／5〜8: 追加分） */
.ink--1 { -webkit-mask-image: url(../img/splatter-1.svg); mask-image: url(../img/splatter-1.svg); aspect-ratio: 320 / 340; }
.ink--2 { -webkit-mask-image: url(../img/splatter-2.svg); mask-image: url(../img/splatter-2.svg); aspect-ratio: 280 / 260; }
.ink--3 { -webkit-mask-image: url(../img/splatter-3.svg); mask-image: url(../img/splatter-3.svg); aspect-ratio: 160 / 152; }
.ink--4 { -webkit-mask-image: url(../img/splatter-4.svg); mask-image: url(../img/splatter-4.svg); aspect-ratio: 320 / 140; }
/* 5: 細かいしぶき／6: 垂れ／7: 小さな点群／8: 斜めに払った飛び */
.ink--5 { -webkit-mask-image: url(../img/splatter-5.svg); mask-image: url(../img/splatter-5.svg); aspect-ratio: 300 / 200; }
.ink--6 { -webkit-mask-image: url(../img/splatter-6.svg); mask-image: url(../img/splatter-6.svg); aspect-ratio: 120 / 300; }
.ink--7 { -webkit-mask-image: url(../img/splatter-7.svg); mask-image: url(../img/splatter-7.svg); aspect-ratio: 170 / 160; }
.ink--8 { -webkit-mask-image: url(../img/splatter-8.svg); mask-image: url(../img/splatter-8.svg); aspect-ratio: 340 / 180; }
.ink--washi { background-color: var(--color-washi); }
.ink--gray { background-color: var(--color-ink-washi-soft); }
.ink--flip { transform: scaleX(-1); }

/* 着弾のモーション（表示されたときに一度だけ）。
   一斉に動くとうるさいので、配置プリセットごとに --ink-delay を散らす */
.js .ink { scale: .86; }
.js .ink.is-landed { animation: ink-land .42s var(--ease) var(--ink-delay, 0s) forwards; }
@keyframes ink-land {
  from { scale: .86; }
  to   { scale: 1; }
}

/* 刷毛の一筆 */
.brush {
  display: block;
  background-color: var(--color-sumi);
  -webkit-mask: url(../img/brush-stroke.svg) no-repeat left center / 100% 100%;
          mask: url(../img/brush-stroke.svg) no-repeat left center / 100% 100%;
}

/* 和紙の透かし漢字（各セクションのテーマ1文字） */
.kanji-mark {
  position: absolute;
  top: 50%;
  right: -.08em;
  z-index: 0;
  font-family: var(--font-serif);
  font-weight: 800;
  font-size: clamp(200px, 33vw, 440px);
  line-height: 1;
  letter-spacing: 0;
  color: var(--color-sumi);
  opacity: .05;
  transform: translateY(-50%);
  pointer-events: none;
  user-select: none;
}
.kanji-mark--left { right: auto; left: -.1em; }
.kanji-mark--shu { color: var(--color-shu); opacity: .07; }

/* -------------------------------------------------------------
   5. ボタン
   ------------------------------------------------------------- */
.btn {
  --btn-pad-y: 16px;
  --btn-pad-x: 36px;
  position: relative;
  isolation: isolate;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .7em;
  padding: var(--btn-pad-y) var(--btn-pad-x);
  border: 1px solid transparent;
  border-radius: 1px;
  font-family: var(--font-sans);
  font-size: 15px;
  font-weight: 700;
  letter-spacing: .1em;
  line-height: 1.4;
  text-align: center;
  text-decoration: none;
  cursor: pointer;
  transition: background-color .28s var(--ease), color .28s var(--ease),
              border-color .28s var(--ease), transform .28s var(--ease);
}
.btn::after {
  content: "";
  width: .55em; height: .55em;
  border-right: 1.5px solid currentColor;
  border-top: 1.5px solid currentColor;
  transform: rotate(45deg) translateX(-.1em);
  transition: transform .28s var(--ease);
}
.btn:hover::after { transform: rotate(45deg) translateX(.15em); }
.btn:hover { transform: translateY(-2px); }

.btn-primary {
  background-color: var(--color-shu);
  border-color: var(--color-shu);
  color: #FFF9F0;
}
/* hover: 背景がじわりと滲むように暗転する */
.btn-primary::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    radial-gradient(120% 150% at 30% 120%, var(--color-shu-dark) 0%, rgba(165, 48, 31, 0) 68%),
    radial-gradient(90% 130% at 85% -10%, #7E2113 0%, rgba(126, 33, 19, 0) 70%);
  opacity: 0;
  transition: opacity .42s var(--ease);
}
.btn-primary:hover::before { opacity: 1; }
.btn-primary:hover {
  background-color: var(--color-shu-dark);
  border-color: var(--color-shu-dark);
  color: #FFF9F0;
}

.btn-outline {
  background-color: transparent;
  border-color: var(--color-sumi);
  color: var(--color-sumi);
}
.btn-outline:hover {
  background-color: var(--color-sumi);
  color: var(--color-washi);
}

.btn-ghost {
  background-color: transparent;
  border-color: rgba(242, 236, 220, .5);
  color: var(--color-washi);
}
.btn-ghost:hover {
  background-color: var(--color-washi);
  border-color: var(--color-washi);
  color: var(--color-sumi);
}

.btn-lg { --btn-pad-y: 20px; --btn-pad-x: 46px; font-size: 16px; }
.btn-sm { --btn-pad-y: 11px; --btn-pad-x: 22px; font-size: 13px; }
.btn-block { display: flex; width: 100%; }

.btn-row {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
}
.btn-row--center { justify-content: center; }

/* テキストリンク（矢印つき） */
.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: .6em;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: .08em;
  color: var(--color-sumi);
  text-decoration: none;
}
.link-arrow::after {
  content: "";
  width: 26px; height: 1px;
  background-color: var(--color-shu);
  transition: width .3s var(--ease), transform .3s var(--ease);
}
.link-arrow:hover { color: var(--color-shu-text); }
.link-arrow:hover::after { width: 40px; transform: translateX(2px); }

/* -------------------------------------------------------------
   6. セクション見出し
   ------------------------------------------------------------- */
.section-head {
  position: relative;
  margin-bottom: clamp(36px, 4.4vw, 60px);
}
/* 飛沫の濃い芯が英字ラベルに掛からない位置に逃がす（可読性優先） */
.section-head .ink {
  top: -56px; left: -96px;
  width: 168px;
  opacity: .72;   /* 生成り地：白は沈むので高め */
  z-index: 0;
}
/* 墨地の上（＝生成りの飛沫）は従来の濃度を維持 */
.section--sumi .section-head .ink,
.page-hero .section-head .ink,
.cta-band .section-head .ink { opacity: .5; }
.section-head > :not(.ink) { position: relative; z-index: 1; }

.label-en {
  display: flex;
  align-items: center;
  gap: .9em;
  margin: 0 0 16px;
  font-family: var(--font-sans);
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: .35em;
  text-transform: uppercase;
  color: var(--color-shu-text);
}
.label-en::before {
  content: "";
  width: 34px; height: 2px;
  background-color: var(--color-shu);
  flex: none;
}

/* セクション見出し。
   狭い画面では「改行させない」ことを優先し、下限サイズを文字数に応じて段階的に詰める。
   下限は --st-min で切り替える（可読性の下限として 20px は必ず確保する） */
.section-title {
  font-size: clamp(var(--st-min, 25px), 4.5vw, 56px);
  font-weight: 800;
  line-height: 1.34;
  letter-spacing: .06em;
  text-wrap: balance;
}
/* 14文字級（例: お客様からよくいただくご質問） */
.section-title--long { --st-min: 22px; }
/* 16文字級（例: お問い合わせから、お引き渡しまで）。字送りも狭い画面だけ詰める */
.section-title--wide { --st-min: 20px; }
/* 22文字級（例: こんな仕上がりにしたい、が決まっていなくても）。
   PC〜タブレットは字を小さくして1行に収め、スマホのみ文節2分割で2行にする */
.section-title--xlong {
  --st-min: 25px;
  font-size: clamp(var(--st-min), 3.7vw, 41px);
}
.section-title + .lead { margin-top: 26px; }

/* 見出し下の刷毛かすれ一筆 */
.section-title::after {
  content: "";
  display: block;
  width: clamp(190px, 27vw, 320px);
  height: clamp(16px, 2.1vw, 26px);
  margin-top: 20px;
  opacity: .78;
  background-color: var(--color-sumi);
  -webkit-mask: url(../img/brush-stroke.svg) no-repeat left center / 100% 100%;
          mask: url(../img/brush-stroke.svg) no-repeat left center / 100% 100%;
}

.section-head--center { text-align: center; }
.section-head--center .label-en { justify-content: center; }
.section-head--center .section-title::after { margin-inline: auto; }
.section-head--center .lead { margin-inline: auto; }
.section-head--center .ink { left: 50%; translate: -50% 0; }

/* 小見出し */
.sub-title {
  font-size: clamp(20px, 2.6vw, 27px);
  letter-spacing: .08em;
}
.mini-label {
  font-family: var(--font-sans);
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: .3em;
  color: var(--color-shu-text);
  text-transform: uppercase;
}

/* -------------------------------------------------------------
   7. ヘッダー
   ------------------------------------------------------------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background-color: rgba(242, 236, 220, .86);
  -webkit-backdrop-filter: blur(12px) saturate(1.2);
          backdrop-filter: blur(12px) saturate(1.2);
  border-bottom: 1px solid var(--color-line);
}

.header-inner {
  display: flex;
  align-items: center;
  gap: clamp(16px, 3vw, 40px);
  min-height: var(--header-h);
  max-width: 1280px;
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.logo {
  flex: none;
  display: inline-flex;
  align-items: center;
  color: var(--color-sumi);
  text-decoration: none;
  transition: opacity .25s var(--ease);
}
.logo:hover { opacity: .72; }
/* 落款を外し字面だけになった分、幅を詰めて文字サイズを従来どおりに保つ */
.logo img { width: clamp(96px, 11vw, 123px); height: auto; }

/* ヘッダーの電話番号（広い画面のみ。SPはドロワー下部の drawer-tel が担う） */
.header-tel {
  flex: none;
  display: none;
  align-items: baseline;
  gap: .5em;
  font-family: var(--font-serif);
  font-size: 19px;
  font-weight: 700;
  line-height: 1;
  letter-spacing: .03em;
  color: var(--color-sumi);
  text-decoration: none;
  white-space: nowrap;
  padding: 10px 2px;
  transition: opacity .25s var(--ease);
}
.header-tel::before {
  content: "TEL";
  font-family: var(--font-sans);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .18em;
  color: var(--color-shu-text);
}
.header-tel:hover { opacity: .7; }
/* 1160px 未満ではロゴ＋ナビ＋CTA で行が埋まるため、電話番号は出さない */
@media (min-width: 1160px) { .header-tel { display: inline-flex; } }

.gnav { margin-left: auto; }
.gnav-list {
  display: flex;
  align-items: center;
  gap: clamp(14px, 2vw, 30px);
}
.gnav-list a {
  position: relative;
  display: block;
  padding: 6px 0;
  font-size: 14px;
  font-weight: 500;
  letter-spacing: .06em;
  color: var(--color-sumi);
  text-decoration: none;
  white-space: nowrap;
}
.gnav-list a::after {
  content: "";
  position: absolute;
  left: 0; bottom: 0;
  width: 100%; height: 2px;
  background-color: var(--color-shu);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform .34s var(--ease);
}
.gnav-list a:hover { color: var(--color-shu-text); }
.gnav-list a:hover::after,
.gnav-list a[aria-current="page"]::after {
  transform: scaleX(1);
  transform-origin: left;
}
.gnav-list a[aria-current="page"] { color: var(--color-shu-text); }

.header-cta { flex: none; }

/* ハンバーガー */
.nav-toggle {
  display: none;
  position: relative;
  width: 46px; height: 46px;
  margin-left: auto;
  padding: 0;
  background: none;
  border: 1px solid var(--color-sumi);
  border-radius: 1px;
  cursor: pointer;
}
.nav-toggle span {
  position: absolute;
  left: 50%;
  width: 20px; height: 1.5px;
  margin-left: -10px;
  background-color: var(--color-sumi);
  transition: transform .34s var(--ease), opacity .2s var(--ease);
}
.nav-toggle span:nth-child(1) { top: 16px; }
.nav-toggle span:nth-child(2) { top: 22px; }
.nav-toggle span:nth-child(3) { top: 28px; }
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(6px) rotate(38deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-6px) rotate(-38deg); }

/* ドロワー（SP 全画面） */
.drawer {
  position: fixed;
  inset: 0;
  z-index: 99;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: calc(var(--header-h) + 28px) var(--gutter) 40px;
  background-color: var(--color-washi);
  background-image: url(../img/washi-texture.svg);
  background-size: 400px 400px;
  overflow-x: hidden;
  overflow-y: auto;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-12px);
  transition: opacity .38s var(--ease), transform .38s var(--ease), visibility .38s;
}
.drawer.is-open {
  opacity: 1;
  visibility: visible;
  transform: none;
}
.drawer .ink {
  right: -60px; bottom: -40px;
  width: 320px;
  opacity: .7;
}
.drawer-nav {
  position: relative;
  z-index: 1;
  border-top: 3px solid var(--color-sumi);
}
.drawer-nav a {
  display: flex;
  align-items: baseline;
  gap: 14px;
  padding: 17px 4px;
  border-bottom: 1px solid var(--color-line);
  font-family: var(--font-serif);
  font-size: 20px;
  font-weight: 700;
  letter-spacing: .1em;
  color: var(--color-sumi);
  text-decoration: none;
}
.drawer-nav a[aria-current="page"] { color: var(--color-shu-text); }
.drawer-nav .en {
  font-family: var(--font-sans);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .24em;
  color: var(--color-shu-text);
}
.drawer-foot {
  position: relative;
  z-index: 1;
  margin-top: 32px;
}
.drawer-tel {
  display: block;
  margin-top: 22px;
  font-family: var(--font-serif);
  font-size: 30px;
  font-weight: 700;
  letter-spacing: .04em;
  color: var(--color-sumi);
  text-decoration: none;
}

/* -------------------------------------------------------------
   8. 写真プレースホルダ
   ------------------------------------------------------------- */
.placeholder {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background-color: var(--color-washi-deep);
  background-image:
    repeating-linear-gradient(135deg,
      rgba(31, 29, 26, .05) 0 1px,
      transparent 1px 11px),
    linear-gradient(150deg, rgba(31, 29, 26, .12), rgba(31, 29, 26, .02) 55%, rgba(199, 62, 46, .08));
  color: var(--color-sumi);
}
.placeholder::before,
.placeholder::after {
  content: "";
  position: absolute;
  width: 14px; height: 14px;
  border: 1px solid rgba(31, 29, 26, .3);
}
.placeholder::before { top: 9px; left: 9px; border-right: 0; border-bottom: 0; }
.placeholder::after { right: 9px; bottom: 9px; border-left: 0; border-top: 0; }

.placeholder-label {
  position: relative;
  padding: 7px 16px;
  font-family: var(--font-serif);
  font-size: clamp(12px, 1.4vw, 14px);
  font-weight: 700;
  letter-spacing: .18em;
  text-align: center;
  line-height: 1.7;
  color: var(--color-sumi);
  background-color: rgba(242, 236, 220, .78);
  border: 1px solid rgba(31, 29, 26, .2);
}

.placeholder--square { aspect-ratio: 1 / 1; }
.placeholder--wide { aspect-ratio: 16 / 9; }
.placeholder--tall { aspect-ratio: 3 / 4; }
.placeholder--portrait { aspect-ratio: 4 / 5; }
.placeholder--fill { aspect-ratio: auto; height: 100%; }

/* 実写真に差し替え済みのスロット。
   枠サイズ・アスペクト比は placeholder のまま、中身だけ写真に置き換える。
   img は absolute で敷くので、親の padding / flex 配置指定に影響されない */
.placeholder.is-photo {
  background-image: none;
  background-color: var(--color-washi-deep);
}
.placeholder.is-photo::before,
.placeholder.is-photo::after { content: none; }
.placeholder.is-photo > img {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.placeholder.is-photo .placeholder-label { display: none; }

/* Before / After 2枚組 — アルバムに貼ったように少し重ねてずらす */
.ba {
  position: relative;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  padding-bottom: 14px;
}
.ba-item { position: relative; }
.ba-item:first-child {
  z-index: 1;
  transform: rotate(-1.1deg);
  transform-origin: bottom left;
}
.ba-item:first-child .placeholder { box-shadow: 0 4px 14px rgba(31, 29, 26, .14); }
.ba-item:last-child {
  z-index: 2;
  margin-left: -13%;
  margin-top: 15px;
  margin-bottom: -14px;
  transform: rotate(1.4deg);
  transform-origin: top right;
}
.ba-item:last-child .placeholder {
  border: 5px solid #FBF6E9;
  box-shadow: 0 10px 26px rgba(31, 29, 26, .24);
}
.ba-tag {
  position: absolute;
  top: -9px; left: -9px;
  z-index: 3;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.3em; height: 2.3em;
  padding: 0;
  font-family: var(--font-serif);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0;
  line-height: 1;
  background-color: transparent;
  border: 1px solid var(--color-sumi);
  color: var(--color-sumi);
  transform: rotate(-2deg);
}
/* AFTER は朱の落款（角印）で「後」を白抜きにする */
.ba-tag--after {
  top: -11px; left: auto; right: -11px;
  background-color: var(--color-shu);
  border-color: var(--color-shu);
  color: #FFF6EA;
  transform: rotate(3deg);
}
.ba-tag--after::before {
  content: "";
  position: absolute;
  inset: 0;
  background-color: rgba(242, 236, 220, .5);
  -webkit-mask: url(../img/seal-texture.svg) no-repeat center / 100% 100%;
          mask: url(../img/seal-texture.svg) no-repeat center / 100% 100%;
}
.ba-tag--after::after {
  content: "";
  position: absolute;
  inset: 3px;
  border: 1px solid rgba(255, 246, 234, .55);
}
.ba-tag--after > * { position: relative; z-index: 1; }
.section--sumi .ba-tag {
  border-color: rgba(242, 236, 220, .8);
  color: var(--color-washi);
  background-color: rgba(25, 23, 20, .82);
}
.section--sumi .ba-tag--after {
  background-color: var(--color-shu);
  border-color: var(--color-shu);
  color: #FFF6EA;
}

/* -------------------------------------------------------------
   9. ヒーロー（トップ）
   ------------------------------------------------------------- */
.hero {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, .58fr);
  align-items: stretch;
  min-height: min(92svh, 860px);
  overflow: hidden;
}
/* 下端は直線でなく、刷毛で一息に引いた太罫で締める */
.hero::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: 0;
  z-index: 4;
  height: 9px;
  background-color: var(--color-sumi);
  -webkit-mask: url(../img/brush-rule.svg) no-repeat center bottom / 100% 100%;
          mask: url(../img/brush-rule.svg) no-repeat center bottom / 100% 100%;
  pointer-events: none;
}

/* 飛沫の描画領域。グリッド1列目（＝コピー側の和紙地）にぴったり重ね、
   overflow:hidden で写真カラムへのはみ出しを物理的に封じる */
.hero-deco {
  grid-column: 1;
  grid-row: 1;
  position: relative;
  overflow: hidden;
  z-index: 0;
  pointer-events: none;
}

.hero-visual {
  grid-column: 2;
  grid-row: 1;
  position: relative;
  z-index: 1;
  border-left: 1px solid var(--color-line);
}
.hero-visual .placeholder {
  height: 100%;
  aspect-ratio: auto;
  border: 0;
  align-items: flex-end;
  justify-content: flex-start;
  padding: clamp(20px, 3vw, 34px);
}

.hero-ink {
  position: absolute;
  top: -16%;
  left: 22%;
  width: min(540px, 44vw);
  opacity: .95;
  z-index: 2;
}
.hero-ink-2 {
  position: absolute;
  left: -70px;
  bottom: 14%;
  width: 340px;
  opacity: .7;
  z-index: 0;
}
/* 墨の小飛沫。縦書きコピーの起点（一文字目）へ視線を引き込む。
   .hero-body を基準に置くので、コピーとの相対位置が幅によらず崩れない */
.hero-ink-3 {
  position: absolute;
  left: auto;
  top: clamp(18px, 2.6vw, 38px);
  right: clamp(108px, 12.5vw, 176px);
  width: clamp(54px, 6.6vw, 92px);
  opacity: .9;
  z-index: -1;   /* コピーやボタンの下に潜らせる */
}
/* ヒーロー下部・和紙地に散る白い飛沫（写真には掛からない） */
.hero-ink-4 {
  position: absolute;
  right: 12%;
  bottom: 5%;
  width: clamp(110px, 13vw, 200px);
  background-color: var(--color-ink-washi-light);
  opacity: .62;
  rotate: -14deg;
  z-index: 1;
}
.hero-ink-5 {
  position: absolute;
  left: 8%;
  /* 回転で膨らむ分を見込み、下端は写真との境界から離す */
  bottom: 7%;
  width: clamp(90px, 11vw, 170px);
  background-color: var(--color-ink-washi-soft);
  opacity: .7;
  rotate: 24deg;
  z-index: 1;
}

.hero-body {
  grid-column: 1;
  grid-row: 1;
  position: relative;
  z-index: 3;
  display: flex;
  flex-direction: row-reverse;
  align-items: flex-start;
  gap: clamp(16px, 2.4vw, 34px);
  padding: clamp(56px, 7vw, 92px) clamp(24px, 3.4vw, 48px) clamp(48px, 6vw, 80px)
           calc(max(var(--gutter), (100vw - 1280px) / 2 + var(--gutter)) + 6px);
}
.hero-title,
.hero-services { flex: none; }

.hero-title {
  writing-mode: vertical-rl;
  text-orientation: upright;
  font-size: clamp(36px, 5vw, 68px);
  font-weight: 800;
  line-height: 1.4;
  letter-spacing: .12em;
  color: var(--color-sumi);
  margin-right: clamp(0px, 1vw, 12px);
  text-shadow: 0 0 22px rgba(242, 236, 220, .85), 0 0 52px rgba(242, 236, 220, .7);
}
.hero-title .accent { color: var(--color-shu); }

/* 文字単位の「墨が降る」ステージング（ロード時 1 回だけ） */
.hero-title .ch { display: inline-block; }
.js .hero-title.is-inked .ch {
  opacity: 0;
  animation: ink-drop .8s var(--ease) forwards;
  animation-delay: calc(var(--i, 0) * .06s);
}
@keyframes ink-drop {
  from { opacity: 0; transform: translateY(-.42em); filter: blur(5px); }
  to   { opacity: 1; transform: none; filter: blur(0); }
}

.hero-text {
  flex: 1 1 auto;
  min-width: 0;
  align-self: flex-end;
  max-width: 29em;
  padding-bottom: clamp(0px, 2vw, 26px);
}
.hero-sub {
  font-size: clamp(14px, 1.4vw, 16px);
  line-height: 2.15;
  color: var(--color-sumi-soft);
  text-shadow: 0 0 16px rgba(242, 236, 220, .9);
}
.hero-eyebrow {
  display: flex;
  align-items: center;
  gap: .8em;
  margin-bottom: 22px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .3em;
  color: var(--color-shu-text);
}
.hero-eyebrow::before {
  content: "";
  width: 34px; height: 2px;
  background-color: var(--color-shu);
}
.hero .btn-row { margin-top: 36px; }

/* ヒーロー左の縦組み——扱う工事を三つ、余白に意味を持たせる */
.hero-services {
  align-self: flex-start;
  margin: clamp(4px, 1.5vw, 22px) 0 0;
  writing-mode: vertical-rl;
  font-family: var(--font-serif);
  font-size: clamp(13px, 1.35vw, 16px);
  font-weight: 700;
  letter-spacing: .42em;
  line-height: 2.4;
  color: var(--color-sumi);
  white-space: nowrap;
}
.hero-services span {
  display: block;
  position: relative;
  padding-top: 26px;
}
.hero-services span::before {
  content: "";
  position: absolute;
  top: 0; right: 50%;
  width: 1px; height: 16px;
  background-color: var(--color-shu);
}

/* 左端の縦組みキャプション */
.hero-vertical-note {
  position: absolute;
  left: clamp(6px, 1.2vw, 14px);
  top: clamp(60px, 12vw, 140px);
  margin: 0;
  z-index: 3;
  writing-mode: vertical-rl;
  font-family: var(--font-sans);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .4em;
  color: var(--color-sumi);
  opacity: .5;
}

/* -------------------------------------------------------------
   10. 下層ページ共通ヒーロー帯（墨場・破れ際つき）
   ------------------------------------------------------------- */
.page-hero {
  --color-line: rgba(242, 236, 220, .28);
  position: relative;
  padding-block: clamp(56px, 8vw, 104px) calc(clamp(56px, 8vw, 104px) + 14px);
  background-color: var(--color-sumi-bg);
  color: rgba(242, 236, 220, .84);
  overflow: hidden;
  clip-path: polygon(
    0 0, 100% 0,
    100% calc(100% - 9px), 96% calc(100% - 1px), 91% calc(100% - 13px),
    86% calc(100% - 4px), 80% calc(100% - 15px), 74% calc(100% - 3px),
    68% calc(100% - 11px), 61% calc(100% - 2px), 55% calc(100% - 15px),
    48% calc(100% - 6px), 42% calc(100% - 12px), 35% calc(100% - 1px),
    29% calc(100% - 13px), 23% calc(100% - 7px), 17% calc(100% - 15px),
    11% calc(100% - 3px), 6% calc(100% - 11px), 0 calc(100% - 2px)
  );
}
.page-hero .ink {
  top: 50%;
  right: -40px;
  width: clamp(200px, 28vw, 360px);
  translate: 0 -50%;   /* transform は .ink--flip 用に空けておく */
  background-color: var(--color-washi);
  opacity: .13;
}
.page-hero .kanji-mark { color: var(--color-washi); opacity: .07; }
.page-hero .container { position: relative; z-index: 1; }
.page-hero-title {
  font-size: clamp(32px, 5.6vw, 58px);
  font-weight: 800;
  letter-spacing: .1em;
  color: var(--color-washi);
}
.page-hero-en {
  display: flex;
  align-items: center;
  gap: .9em;
  margin: 18px 0 0;
  font-family: var(--font-sans);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .35em;
  color: var(--color-shu-light);
  text-transform: uppercase;
}
.page-hero-en::before {
  content: "";
  width: 34px; height: 2px;
  background-color: var(--color-shu);
  flex: none;
}

.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: .7em;
  margin-bottom: 24px;
  font-size: 12px;
  letter-spacing: .06em;
  color: rgba(242, 236, 220, .72);
}
.breadcrumb li { display: flex; align-items: center; gap: .7em; }
.breadcrumb li + li::before {
  content: "／";
  color: rgba(242, 236, 220, .38);
}
.breadcrumb a {
  display: inline-block;
  padding: 6px 2px;
  margin: -6px 0;
  color: rgba(242, 236, 220, .72);
  text-decoration: none;
}
.breadcrumb a:hover { color: var(--color-shu-light); }

/* -------------------------------------------------------------
   11. カード各種（脱・箱化）
   ------------------------------------------------------------- */
.grid {
  display: grid;
  gap: clamp(22px, 3vw, 36px);
}
.grid--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }

/* --- 選ばれる理由（枠なし・番号を背景に敷く・縦にずらす） --- */
.reason-card {
  position: relative;
  padding: 34px 0 26px;
  background: none;
  border: 0;
  border-top: 3px solid var(--color-sumi);
  overflow: visible;
}
.reason-card::after {
  content: "";
  position: absolute;
  left: 0; bottom: 0;
  width: 0; height: 2px;
  background-color: var(--color-sumi);
  transition: width .55s var(--ease);
}
.reason-card:hover { transform: none; box-shadow: none; }
.reason-card:hover::after { width: 100%; }
.reason-card .ink {
  top: -30px; right: -14px;
  width: 132px;
  opacity: .78;
  z-index: 0;
}
.section--sumi .reason-card .ink { opacity: .5; }
.reason-num {
  position: absolute;
  top: 6px;
  left: -.06em;
  z-index: 0;
  display: block;
  font-family: var(--font-serif);
  font-size: clamp(84px, 10vw, 128px);
  font-weight: 800;
  line-height: .82;
  letter-spacing: .01em;
  color: var(--color-sumi);
  opacity: .1;
  pointer-events: none;
}
.reason-card:nth-child(2) .reason-num { color: var(--color-shu); opacity: .2; }
.reason-title {
  margin: 30px 0 16px;
  font-size: clamp(20px, 2.3vw, 24px);
  font-weight: 800;
  letter-spacing: .06em;
  line-height: 1.55;
}
.reason-card p { font-size: 14.5px; line-height: 2.05; }
.reason-card > :not(.ink):not(.reason-num) { position: relative; z-index: 1; }
/* 3枚を縦にずらして貼る */
.reason-card:nth-child(2) { margin-top: 44px; }
.reason-card:nth-child(3) { margin-top: 88px; }

/* --- 事業内容カード（写真の角にテキストが乗る） --- */
.service-card {
  position: relative;
  display: flex;
  flex-direction: column;
  background: none;
  border: 0;
  text-decoration: none;
  color: inherit;
  overflow: visible;
  transition: transform .4s var(--ease);
}
.service-card:hover { transform: translateY(-5px); color: inherit; }
.service-card .placeholder { border: 0; }
.service-card:hover .placeholder { box-shadow: var(--shadow-lift); }
.service-card-body {
  position: relative;
  z-index: 2;
  flex: 1;
  display: flex;
  flex-direction: column;
  margin: -46px 0 0 clamp(14px, 2vw, 26px);
  padding: 22px clamp(18px, 2vw, 24px) 24px;
  background-color: var(--color-washi);
  border-top: 3px solid var(--color-sumi);
  box-shadow: -10px 10px 24px rgba(31, 29, 26, .1);
}
.section--sumi .service-card-body {
  background-color: var(--color-sumi-bg);
  border-top-color: var(--color-shu);
  box-shadow: -10px 10px 26px rgba(0, 0, 0, .45);
}
.section--sumi .service-card-body p { color: rgba(242, 236, 220, .8); }
.service-card-title {
  display: flex;
  align-items: baseline;
  gap: .7em;
  font-size: 20px;
  font-weight: 800;
  letter-spacing: .07em;
}
.service-card-title .no {
  font-family: var(--font-serif);
  font-size: 22px;
  font-weight: 800;
  letter-spacing: .04em;
  color: var(--color-shu-text);
}
.section--sumi .service-card-title .no { color: var(--color-shu-light); }
.service-card p {
  margin: 12px 0 20px;
  font-size: 13.8px;
  line-height: 2;
}
.service-card .link-arrow { margin-top: auto; }

/* 補足用カード（写真なし） */
.service-card--note {
  justify-content: center;
  padding: clamp(30px, 4vw, 44px) clamp(22px, 2.6vw, 30px);
  background-color: rgba(242, 236, 220, .08);
  border: 1px solid var(--color-line);
  border-left: 3px solid var(--color-shu);
  text-align: left;
}
.service-card--note:hover { transform: translateY(-5px); }
.service-card--note .service-card-note-title {
  margin: 14px 0 18px;
  font-size: clamp(19px, 2.2vw, 23px);
  font-weight: 800;
  letter-spacing: .07em;
  line-height: 1.6;
}
.service-card--note p { margin: 0; font-size: 13.5px; }
.service-card--note .link-arrow { margin-top: 24px; }

/* --- 施工事例カード --- */
.work-card {
  position: relative;
  display: flex;
  flex-direction: column;
  background: none;
  border: 0;
  overflow: visible;
  transition: transform .4s var(--ease);
}
.work-card:hover { transform: translateY(-4px); box-shadow: none; }
.work-card-body {
  padding: 26px 2px 24px;
  margin-top: 12px;
  border-top: 3px solid var(--color-sumi);
}
.section--sumi .work-card-body { border-top-color: var(--color-washi); }
.work-card-body .mini-label { display: block; margin-bottom: 10px; }
.work-card-title {
  font-size: 21px;
  font-weight: 800;
  letter-spacing: .06em;
  line-height: 1.55;
}
.work-card p { margin: 14px 0 0; font-size: 13.8px; line-height: 2; }

.work-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin: 16px 0 0;
}
.work-meta li {
  padding: 4px 11px;
  border: 1px solid var(--color-line);
  font-size: 11px;
  letter-spacing: .08em;
  color: var(--color-sumi-soft);
  background-color: transparent;
}
.work-meta li:first-child {
  border-color: var(--color-shu);
  color: var(--color-shu-text);
}
.section--sumi .work-meta li { color: rgba(242, 236, 220, .82); }
.section--sumi .work-meta li:first-child {
  border-color: var(--color-shu-light);
  color: var(--color-shu-light);
}

/* -------------------------------------------------------------
   12. 施工の流れ
   ------------------------------------------------------------- */
/* トップ用ダイジェスト（横並び・番付表の様式） */
.flow-mini {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 0;
  border-top: 3px solid var(--color-sumi);
  border-bottom: 1px solid var(--color-line);
  background-color: transparent;
}
.section--sumi .flow-mini { border-top-color: var(--color-washi); }
.flow-mini li {
  position: relative;
  padding: clamp(26px, 2.8vw, 38px) clamp(12px, 1.3vw, 18px) clamp(26px, 2.8vw, 34px);
  border-right: 1px solid var(--color-line);
}
.flow-mini li:last-child { border-right: 0; }
.flow-mini .no {
  display: block;
  font-family: var(--font-serif);
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: .26em;
  color: var(--color-shu-text);
}
.section--sumi .flow-mini .no { color: var(--color-shu-light); }
.flow-mini .ttl {
  display: block;
  margin-top: 14px;
  font-family: var(--font-serif);
  font-size: clamp(15px, 1.55vw, 19px);
  font-weight: 800;
  letter-spacing: .02em;
  color: var(--color-sumi);
  line-height: 1.5;
}
.section--sumi .flow-mini .ttl { color: var(--color-washi); }
.flow-mini .txt {
  display: block;
  margin-top: 12px;
  font-size: 12.5px;
  line-height: 1.9;
}

/* 下層 flow.html 用（縦のステップ） */
.flow-steps { position: relative; }
.flow-step {
  position: relative;
  display: grid;
  grid-template-columns: clamp(84px, 11vw, 152px) minmax(0, 1fr);
  gap: clamp(20px, 3vw, 48px);
  padding-block: clamp(32px, 4.2vw, 52px);
  border-bottom: 1px solid var(--color-line);
}
.flow-step:first-child { padding-top: clamp(28px, 3.6vw, 44px); }
.flow-step-num {
  font-family: var(--font-serif);
  font-size: clamp(54px, 8vw, 92px);
  font-weight: 800;
  line-height: .85;
  letter-spacing: 0;
  color: var(--color-sumi);
  opacity: .16;
}
.flow-step:nth-child(3n+1) .flow-step-num { color: var(--color-shu); opacity: .32; }
.flow-step-title {
  font-size: clamp(21px, 2.7vw, 29px);
  font-weight: 800;
  letter-spacing: .07em;
}
.flow-step p { margin: 14px 0 0; font-size: 15px; }
.flow-step .mini-label { display: block; margin-bottom: 10px; }

/* -------------------------------------------------------------
   13. お知らせ
   ------------------------------------------------------------- */
.news-item {
  display: grid;
  grid-template-columns: 128px 112px minmax(0, 1fr);
  align-items: baseline;
  gap: 8px 20px;
  padding: 22px 4px;
  border-bottom: 1px solid var(--color-line);
}
.news-date {
  font-family: var(--font-serif);
  font-size: 15px;
  font-weight: 700;
  letter-spacing: .1em;
  color: var(--color-sumi);
}
.news-cat {
  justify-self: start;
  padding: 3px 12px;
  border: 1px solid var(--color-line);
  font-size: 11px;
  letter-spacing: .12em;
  color: var(--color-sumi-soft);
}
.news-title { font-size: 15px; line-height: 1.8; }

/* -------------------------------------------------------------
   14. CTA帯（全ページ共通・フッター手前）
   ------------------------------------------------------------- */
.cta-band {
  position: relative;
  padding-block: calc(clamp(58px, 7.5vw, 96px) + 14px) clamp(58px, 7.5vw, 96px);
  background-color: var(--color-sumi-bg);
  color: var(--color-washi);
  overflow: hidden;
  clip-path: polygon(
    0% 10px, 3% 2px, 7% 13px, 11% 4px, 15% 12px, 20% 1px, 25% 14px,
    30% 5px, 35% 15px, 41% 3px, 47% 11px, 53% 2px, 59% 14px, 65% 6px,
    71% 16px, 77% 4px, 83% 12px, 89% 1px, 95% 13px, 100% 5px,
    100% 100%, 0 100%
  );
}
.cta-band .ink {
  top: -70px; left: -50px;
  width: clamp(280px, 36vw, 480px);
  background-color: var(--color-washi);
  opacity: .1;
}
.cta-band .ink--accent {
  top: auto; left: auto;
  right: -30px; bottom: -60px;
  width: clamp(200px, 26vw, 320px);
  background-color: var(--color-washi);
  opacity: .2;
}
.cta-inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: clamp(28px, 5vw, 64px);
}
.cta-band .label-en { color: var(--color-shu-light); }
.cta-band .label-en::before { background-color: var(--color-shu); }
.cta-title {
  font-size: clamp(27px, 3.8vw, 42px);
  font-weight: 800;
  letter-spacing: .07em;
  color: var(--color-washi);
}
.cta-band p {
  margin: 18px 0 0;
  font-size: 14px;
  line-height: 2;
  color: rgba(242, 236, 220, .82);
}
.cta-actions { display: flex; flex-direction: column; gap: 18px; align-items: stretch; }

.cta-tel {
  display: block;
  padding: 20px 28px;
  border: 1px solid rgba(242, 236, 220, .38);
  color: var(--color-washi);
  text-decoration: none;
  text-align: center;
  transition: border-color .3s var(--ease), background-color .3s var(--ease);
}
.cta-tel:hover {
  border-color: var(--color-washi);
  background-color: rgba(242, 236, 220, .07);
  color: var(--color-washi);
}
.cta-tel-label {
  display: block;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .26em;
  color: var(--color-shu-light);
}
.cta-tel-num {
  display: block;
  margin-top: 8px;
  font-family: var(--font-serif);
  font-size: clamp(32px, 4.4vw, 44px);
  font-weight: 800;
  letter-spacing: .04em;
  line-height: 1.2;
}
.cta-tel-hours {
  display: block;
  margin-top: 8px;
  font-size: 11.5px;
  letter-spacing: .08em;
  color: rgba(242, 236, 220, .74);
}

/* -------------------------------------------------------------
   15. フッター
   ------------------------------------------------------------- */
.site-footer {
  position: relative;
  padding-block: clamp(56px, 6.5vw, 84px) 32px;
  background-color: rgba(232, 224, 203, .8);
  border-top: 1px solid var(--color-line);
  overflow: hidden;
}
/* 元からある大きな一発。散らしを足したぶん、リンク列に掛かる濃度を落とす */
.site-footer .ink {
  right: -120px; top: -30px;
  width: clamp(260px, 34vw, 440px);
  opacity: .62;
}
.site-footer .container { position: relative; z-index: 1; }

.footer-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr);
  gap: clamp(34px, 5vw, 64px);
  padding-bottom: 40px;
  border-bottom: 1px solid var(--color-line);
}
.footer-logo { display: inline-block; }
.footer-logo img { width: 126px; }
/* 社是の一行（署名のかたち） */
.footer-catch {
  display: block;
  margin: 16px 0 22px;
  font-family: var(--font-serif);
  font-size: 16px;
  font-weight: 700;
  letter-spacing: .14em;
  color: var(--color-sumi);
}
.footer-brand {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 20px;
}
.footer-address {
  font-size: 13.5px;
  line-height: 2.1;
  font-style: normal;
}
.footer-address dt {
  display: inline-block;
  min-width: 4.6em;
  font-weight: 700;
  color: var(--color-sumi);
}
.footer-address dd { display: inline; margin: 0; }
/* 電話番号はSPで最も押される導線。タップ領域を確保する */
.footer-address a[href^="tel:"] {
  display: inline-block;
  padding: 6px 2px;
  margin: -6px 0;
  font-weight: 700;
  color: var(--color-sumi);
  text-decoration: none;
  border-bottom: 1px solid var(--color-line);
}
.footer-address a[href^="tel:"]:hover { color: var(--color-shu-text); }
.footer-address div + div { margin-top: 2px; }

.footer-nav-cols {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 6px 24px;
  align-content: start;
}
.footer-nav-cols a {
  display: block;
  padding: 7px 0 7px 18px;
  position: relative;
  font-size: 13.5px;
  color: var(--color-sumi);
  text-decoration: none;
}
.footer-nav-cols a::before {
  content: "";
  position: absolute;
  left: 0; top: 50%;
  width: 8px; height: 2px;
  background-color: var(--color-shu);
}
.footer-nav-cols a:hover { color: var(--color-shu-text); }

.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 12px 26px;
  padding-top: 26px;
}
.footer-license { font-size: 12px; letter-spacing: .04em; }
.copyright {
  font-size: 11px;
  letter-spacing: .14em;
  color: var(--color-sumi-soft);
  opacity: .95;
}

/* -------------------------------------------------------------
   16. テーブル（会社概要・塗料一覧など）
   ------------------------------------------------------------- */
.table-spec {
  width: 100%;
  border-collapse: collapse;
  font-size: 14.5px;
}
.table-spec th,
.table-spec td {
  padding: 18px 4px;
  border-bottom: 1px solid var(--color-line);
  text-align: left;
  vertical-align: top;
  line-height: 1.95;
}
.table-spec th {
  width: 12em;
  font-family: var(--font-serif);
  font-weight: 700;
  letter-spacing: .09em;
  color: var(--color-sumi);
  white-space: nowrap;
}
.table-spec td { color: var(--color-sumi-soft); }
.table-spec a[href^="tel:"] {
  display: inline-block;
  padding: 6px 2px;
  margin: -6px 0;
  font-weight: 700;
  color: var(--color-sumi);
  text-decoration: none;
  border-bottom: 1px solid var(--color-line);
}

.table-wrap { overflow-x: auto; -webkit-overflow-scrolling: touch; }
.table-data {
  width: 100%;
  min-width: 560px;
  border-collapse: collapse;
  font-size: 14px;
  background-color: transparent;
}
.table-data th,
.table-data td {
  padding: 16px 16px;
  border: 1px solid var(--color-line);
  text-align: left;
  line-height: 1.8;
}
.table-data thead th {
  background-color: var(--color-sumi);
  color: var(--color-washi);
  font-family: var(--font-sans);
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: .12em;
  border-color: var(--color-sumi);
}
.table-data tbody th {
  font-family: var(--font-serif);
  font-size: 16px;
  font-weight: 700;
  color: var(--color-sumi);
  white-space: nowrap;
}
.section--sumi .table-data thead th {
  background-color: rgba(242, 236, 220, .1);
  color: var(--color-washi);
  border-color: var(--color-line);
}
.section--sumi .table-data tbody th { color: var(--color-washi); }
.section--sumi .table-data td { color: rgba(242, 236, 220, .84); }

/* 沿革 */
.history-list div {
  display: grid;
  grid-template-columns: 11em minmax(0, 1fr);
  gap: 6px 24px;
  padding: 20px 4px;
  border-bottom: 1px solid var(--color-line);
}
.history-list dt {
  font-family: var(--font-serif);
  font-weight: 700;
  letter-spacing: .08em;
  color: var(--color-sumi);
  font-size: 17px;
}
.section--sumi .history-list dt { color: var(--color-washi); }
.history-list dd { margin: 0; font-size: 14.5px; }

/* -------------------------------------------------------------
   17. 代表挨拶・チェックリスト（company / services）
   ------------------------------------------------------------- */
.greeting {
  display: grid;
  /* 見出し「まちの家を、長持ちさせる仕事。」を1行に収めるため本文側を少し広く取る */
  grid-template-columns: minmax(0, 1fr) minmax(0, .5fr);
  gap: clamp(28px, 5vw, 60px);
  align-items: start;
}
.greeting-title {
  /* PC〜タブレットで必ず1行に収まるサイズ（本文カラム幅から逆算）。
     字送りも .06em → .04em に詰めて1行化している。
     下限 21px はスマホ375pxでも「まちの家を、長持ちさせる仕事。」が1行に入るサイズ */
  font-size: clamp(21px, 3.6vw, 39px);
  font-weight: 800;
  line-height: 1.55;
  letter-spacing: .04em;
  margin-bottom: 30px;
  text-wrap: balance;
}
.greeting p { font-size: 15px; line-height: 2.15; }
.greeting-visual { position: relative; }
.sign {
  display: flex;
  align-items: baseline;
  margin-top: 34px;
  font-family: var(--font-serif);
  font-size: 15px;
  letter-spacing: .1em;
  color: var(--color-sumi);
}
.sign .name { font-size: 23px; font-weight: 700; margin-left: .5em; }

.check-list {
  display: grid;
  gap: 10px;
  padding: clamp(22px, 3vw, 30px) clamp(20px, 3vw, 30px);
  background-color: rgba(232, 224, 203, .6);
  border-left: 3px solid var(--color-shu);
}
.check-list-title {
  font-family: var(--font-serif);
  font-size: 16px;
  font-weight: 700;
  letter-spacing: .1em;
  color: var(--color-sumi);
  margin-bottom: 4px;
}
.check-list li {
  position: relative;
  padding-left: 26px;
  font-size: 14.5px;
  line-height: 1.9;
}
.check-list li::before {
  content: "";
  position: absolute;
  left: 3px; top: .52em;
  width: 11px; height: 6px;
  border-left: 2px solid var(--color-shu);
  border-bottom: 2px solid var(--color-shu);
  transform: rotate(-45deg);
}

/* services.html の交互ブロック */
.service-blocks { position: relative; }
.service-block {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(28px, 5vw, 64px);
  align-items: center;
  padding-block: clamp(48px, 6.5vw, 84px);
  border-top: 1px solid var(--color-line);
}
.service-block:first-child {
  border-top: 3px solid var(--color-sumi);
  padding-top: clamp(40px, 5.5vw, 72px);
}
.service-block:nth-child(even) .service-block-visual { order: 2; }
.service-block-num {
  display: flex;
  align-items: center;
  gap: .8em;
  font-family: var(--font-serif);
  font-size: 15px;
  font-weight: 700;
  letter-spacing: .24em;
  color: var(--color-shu-text);
}
.service-block-num::before {
  content: "";
  width: 30px; height: 2px;
  background-color: var(--color-shu);
  flex: none;
}
.service-block-title {
  margin: 14px 0 22px;
  font-size: clamp(25px, 3.6vw, 36px);
  font-weight: 800;
  letter-spacing: .07em;
}
.service-block p { font-size: 15px; }
.service-block .check-list { margin-top: 28px; }

/* -------------------------------------------------------------
   18. FAQ アコーディオン
   ------------------------------------------------------------- */
.faq-item {
  border-bottom: 1px solid var(--color-line);
}
.faq-item summary {
  position: relative;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: start;
  gap: 18px;
  padding: 24px 4px;
  cursor: pointer;
  list-style: none;
  font-family: var(--font-serif);
  font-size: clamp(16.5px, 2vw, 20px);
  font-weight: 700;
  letter-spacing: .05em;
  line-height: 1.7;
  color: var(--color-sumi);
  transition: color .25s var(--ease);
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary:hover { color: var(--color-shu-text); }

/* Q は朱の落款、A は墨の角印 */
.faq-item summary .q,
.faq-answer .a {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: none;
  width: 2.2em; height: 2.2em;
  margin-top: .1em;
  font-family: var(--font-serif);
  font-size: 15px;
  font-weight: 700;
  line-height: 1;
  letter-spacing: 0;
  background-color: var(--color-shu);
  color: #FFF6EA;
  opacity: 1;
  transform: rotate(-2deg);
}
.faq-item summary .q::before,
.faq-answer .a::before {
  content: "";
  position: absolute;
  inset: 0;
  background-color: rgba(242, 236, 220, .5);
  -webkit-mask: url(../img/seal-texture.svg) no-repeat center / 100% 100%;
          mask: url(../img/seal-texture.svg) no-repeat center / 100% 100%;
}
.faq-answer .a {
  background-color: var(--color-sumi);
  color: var(--color-washi);
  transform: rotate(2deg);
}

.faq-mark {
  position: relative;
  width: 16px; height: 16px;
  margin-top: .7em;
  flex: none;
}
.faq-mark::before,
.faq-mark::after {
  content: "";
  position: absolute;
  left: 0; top: 50%;
  width: 16px; height: 2px;
  background-color: var(--color-sumi);
  transition: transform .34s var(--ease);
}
.faq-mark::after { transform: rotate(90deg); }
.faq-item[open] .faq-mark::after { transform: rotate(0); }

.faq-answer {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 18px;
  padding: 0 4px 30px;
  font-size: 14.5px;
  line-height: 2.05;
}
.faq-answer p { padding-top: .2em; }
.faq-item[open] summary { color: var(--color-shu-text); }

/* -------------------------------------------------------------
   19. フォーム（contact.html）
   ------------------------------------------------------------- */
.form-row {
  display: grid;
  grid-template-columns: 14em minmax(0, 1fr);
  gap: 10px 28px;
  padding: 24px 4px;
  border-bottom: 1px solid var(--color-line);
  align-items: start;
}
.form-label {
  display: flex;
  align-items: center;
  gap: .7em;
  padding-top: 12px;
  font-family: var(--font-serif);
  font-size: 16px;
  font-weight: 700;
  letter-spacing: .09em;
  color: var(--color-sumi);
}
.req {
  padding: 3px 9px;
  background-color: var(--color-shu);
  color: #FFF9F0;
  font-family: var(--font-sans);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .1em;
}
.opt {
  padding: 3px 9px;
  border: 1px solid var(--color-line);
  color: var(--color-sumi-soft);
  font-family: var(--font-sans);
  font-size: 10px;
  font-weight: 500;
  letter-spacing: .1em;
}

.form-input,
.form-select,
.form-textarea {
  width: 100%;
  padding: 14px 16px;
  font-family: var(--font-sans);
  font-size: 15px;
  line-height: 1.7;
  color: var(--color-sumi);
  background-color: rgba(255, 253, 246, .85);
  border: 1px solid var(--color-line);
  border-radius: 1px;
  transition: border-color .25s var(--ease), box-shadow .25s var(--ease);
}
.form-input:focus,
.form-select:focus,
.form-textarea:focus {
  outline: none;
  border-color: var(--color-sumi);
  box-shadow: 0 0 0 3px rgba(199, 62, 46, .14);
}
.form-textarea { min-height: 170px; resize: vertical; }
.form-select {
  appearance: none;
  -webkit-appearance: none;
  padding-right: 40px;
  background-image:
    linear-gradient(45deg, transparent 50%, var(--color-sumi) 50%),
    linear-gradient(135deg, var(--color-sumi) 50%, transparent 50%);
  background-position: right 20px center, right 14px center;
  background-size: 6px 6px, 6px 6px;
  background-repeat: no-repeat;
}
.form-hint { margin: 8px 0 0; font-size: 12.5px; opacity: .8; }

.radio-group { display: flex; flex-wrap: wrap; gap: 12px 28px; padding-top: 10px; }
.radio-item,
.check-item {
  display: inline-flex;
  align-items: center;
  gap: .6em;
  font-size: 15px;
  cursor: pointer;
}
.radio-item input,
.check-item input {
  width: 18px; height: 18px;
  accent-color: var(--color-shu);
  cursor: pointer;
}

.form-privacy {
  padding: 30px 4px 0;
  text-align: center;
}
.form-privacy .check-item { justify-content: center; }
.form-actions { margin-top: 32px; text-align: center; }
.form-actions .btn { min-width: 320px; }
.form-foot-note {
  margin-top: 20px;
  text-align: center;
  font-size: 13px;
}

/* 電話ブロック（contact上部）— 墨場のかたまり */
.tel-block {
  --color-line: rgba(242, 236, 220, .28);
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: clamp(20px, 4vw, 48px);
  align-items: center;
  padding: clamp(34px, 4.6vw, 56px) clamp(26px, 4vw, 56px);
  background-color: var(--color-sumi-bg);
  border: 0;
  color: rgba(242, 236, 220, .82);
  overflow: hidden;
  clip-path: polygon(
    0% 8px, 6% 1px, 13% 11px, 21% 3px, 29% 10px, 38% 1px, 47% 12px,
    56% 3px, 65% 11px, 74% 2px, 83% 10px, 92% 3px, 100% 9px,
    100% calc(100% - 8px), 93% calc(100% - 1px), 85% calc(100% - 11px),
    76% calc(100% - 3px), 67% calc(100% - 12px), 57% calc(100% - 2px),
    47% calc(100% - 10px), 37% calc(100% - 3px), 27% calc(100% - 12px),
    17% calc(100% - 2px), 8% calc(100% - 10px), 0% calc(100% - 3px)
  );
}
.tel-block .note { color: rgba(242, 236, 220, .78); opacity: 1; }
.tel-block .mini-label { color: var(--color-shu-light); }
.tel-block-lead { display: block; margin-bottom: 12px; }
.tel-block-side { text-align: center; }
.tel-block-side .btn-outline {
  border-color: rgba(242, 236, 220, .55);
  color: var(--color-washi);
}
.tel-block-side .btn-outline:hover {
  background-color: var(--color-washi);
  color: var(--color-sumi);
}
.tel-block-num {
  display: inline-block;
  margin-bottom: 14px;
  font-family: var(--font-serif);
  font-size: clamp(36px, 6vw, 58px);
  font-weight: 800;
  letter-spacing: .03em;
  line-height: 1.15;
  color: var(--color-washi);
  text-decoration: none;
}
.tel-block-num:hover { color: var(--color-shu-light); }

/* -------------------------------------------------------------
   20. 飛沫の散らし配置（プリセット）
   セクション直下（.container の外）に置いて使う。.container は
   z-index:1 なので、飛沫は必ず本文の下に潜る。
   位置・大きさ・回転・濃度・着弾ディレイを1クラスに束ねてあるので、
   形（.ink--1〜8）との組み合わせで同じ絵の繰り返しを避けられる。
   ※ .page-hero .ink などの文脈スタイルより後に置き、詳細度を
     .ink.ink-p* （0,2,0）で合わせて確実に上書きする。
   濃度は地の色で2系統持つ:
     --ink-op-w … 生成り地の上（白インク。低コントラストなので高め .45〜1）
     --ink-op   … 墨黒の地の上（生成りインク。従来どおり .09〜.34）
   ------------------------------------------------------------- */
.ink[class*="ink-p"] {
  opacity: var(--ink-op-w, .6);
  translate: none;   /* 文脈側の translate（.page-hero など）を打ち消す */
}
/* 墨黒の地（.section--sumi / .page-hero / .cta-band）は従来の濃度に戻す */
.section--sumi .ink[class*="ink-p"],
.page-hero .ink[class*="ink-p"],
.cta-band .ink[class*="ink-p"] { opacity: var(--ink-op, .14); }

/* 左上まわり */
.ink.ink-p1  { inset: -1% auto auto -2%;  width: clamp(120px, 15vw, 240px); rotate: -12deg; --ink-op: .19; --ink-op-w: .68; --ink-delay: 0s; }
.ink.ink-p4  { inset: 34% auto auto -4%;  width: clamp(74px, 9vw, 132px);   rotate: -38deg; --ink-op: .21; --ink-op-w: .72; --ink-delay: .08s; }
.ink.ink-p10 { inset: auto auto 14% -3%;  width: clamp(84px, 10vw, 158px);  rotate: -52deg; --ink-op: .19; --ink-op-w: .68; --ink-delay: .18s; }
/* 右上まわり */
.ink.ink-p2  { inset: 4% -2% auto auto;   width: clamp(96px, 12vw, 184px);  rotate: 28deg;  --ink-op: .17; --ink-op-w: .62; --ink-delay: .12s; }
.ink.ink-p13 { inset: 22% -4% auto auto;  width: clamp(110px, 14vw, 218px); rotate: 12deg;  --ink-op: .13; --ink-op-w: .52; --ink-delay: .14s; }
.ink.ink-p8  { inset: 55% 5% auto auto;   width: clamp(52px, 6vw, 94px);    rotate: -6deg;  --ink-op: .23; --ink-op-w: .78; --ink-delay: .1s; }
/* 左下・下辺 */
.ink.ink-p3  { inset: auto auto -2% 8%;   width: clamp(130px, 17vw, 262px); rotate: 7deg;   --ink-op: .15; --ink-op-w: .58; --ink-delay: .2s; }
.ink.ink-p12 { inset: auto auto 2% 46%;   width: clamp(72px, 8.5vw, 140px); rotate: 18deg;  --ink-op: .13; --ink-op-w: .52; --ink-delay: .34s; }
/* 右下まわり */
.ink.ink-p5  { inset: auto 3% 4% auto;    width: clamp(100px, 13vw, 200px); rotate: -16deg; --ink-op: .17; --ink-op-w: .62; --ink-delay: .26s; }
.ink.ink-p7  { inset: auto -3% -3% auto;  width: clamp(140px, 18vw, 272px); rotate: 42deg;  --ink-op: .13; --ink-op-w: .52; --ink-delay: .3s; }
.ink.ink-p14 { inset: auto 34% 28% auto;  width: clamp(40px, 4.6vw, 68px);  rotate: -70deg; --ink-op: .16; --ink-op-w: .60; --ink-delay: .28s; }
/* 上辺・中央寄り（小さく淡く。本文に掛かっても読みを邪魔しない大きさに留める） */
.ink.ink-p6  { inset: -1% auto auto 36%;  width: clamp(60px, 7vw, 114px);   rotate: 15deg;  --ink-op: .18; --ink-op-w: .65; --ink-delay: .16s; }
.ink.ink-p9  { inset: 13% auto auto 26%;  width: clamp(46px, 5vw, 80px);    rotate: 64deg;  --ink-op: .12; --ink-op-w: .50; --ink-delay: .22s; }
.ink.ink-p11 { inset: 2% 24% auto auto;   width: clamp(58px, 6.5vw, 100px); rotate: -26deg; --ink-op: .14; --ink-op-w: .55; --ink-delay: .24s; }
/* 縦に長いセクションの中腹。左右の端に寄せ、本文に掛かっても淡く済ませる */
.ink.ink-p15 { inset: 45% auto auto -2%;  width: clamp(64px, 8vw, 122px);   rotate: 30deg;  --ink-op: .14; --ink-op-w: .55; --ink-delay: .36s; }
.ink.ink-p16 { inset: 72% -2% auto auto;  width: clamp(56px, 7vw, 106px);   rotate: -44deg; --ink-op: .15; --ink-op-w: .58; --ink-delay: .4s; }

/* 濃度の微調整（プリセットの後に効かせる） */
.ink[class*="ink-p"].ink--faint { --ink-op: .09; --ink-op-w: .45; }
.ink[class*="ink-p"].ink--soft  { --ink-op: .14; --ink-op-w: .58; }
.ink[class*="ink-p"].ink--mid   { --ink-op: .24; --ink-op-w: .8; }
.ink[class*="ink-p"].ink--bold  { --ink-op: .34; --ink-op-w: 1; }

/* -------------------------------------------------------------
   21. フェードイン
   ------------------------------------------------------------- */
.js .fadein {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity .9s var(--ease), transform .9s var(--ease);
  transition-delay: var(--delay, 0s);
  will-change: opacity, transform;
}
.js .fadein.is-visible {
  opacity: 1;
  transform: none;
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .js .fadein { opacity: 1; transform: none; transition: none; }
  .js .ink { scale: 1; }
  .js .hero-title.is-inked .ch { opacity: 1; animation: none; }
  *,
  *::before,
  *::after {
    animation-duration: .001ms !important;
    transition-duration: .001ms !important;
  }
}

/* -------------------------------------------------------------
   22. レスポンシブ
   ------------------------------------------------------------- */
@media (max-width: 1100px) {
  .flow-mini { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .flow-mini li:nth-child(3) { border-right: 0; }
  .flow-mini li:nth-child(-n+3) { border-bottom: 1px solid var(--color-line); }
}

@media (max-width: 1000px) {
  .gnav-list { gap: 16px; }
  .gnav-list a { font-size: 13px; }
}

/* ノートPC〜小型デスクトップ: ヒーローの本文カラムを確保する */
@media (min-width: 901px) and (max-width: 1200px) {
  .hero { grid-template-columns: minmax(0, 1fr) minmax(0, .5fr); }
  .hero-body {
    gap: clamp(14px, 1.8vw, 24px);
    padding-right: clamp(18px, 2.4vw, 30px);
  }
  .hero-title { font-size: clamp(32px, 4.4vw, 50px); }
  .hero-ink-3 { right: clamp(92px, 10.5vw, 132px); }
  .hero-ink { left: 22%; width: min(480px, 44vw); }
  .hero-eyebrow { font-size: 10px; letter-spacing: .22em; }
  .hero-eyebrow::before { width: 24px; }
  .hero-services { font-size: 13px; letter-spacing: .3em; }
}

/* タブレット帯: 3カラムは窮屈なので2カラムへ */
@media (min-width: 721px) and (max-width: 900px) {
  .grid--3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .reason-card:nth-child(2) { margin-top: 44px; }
  .reason-card:nth-child(3) { margin-top: 0; }
}

@media (max-width: 900px) {
  :root { --header-h: 66px; }

  .nav-toggle { display: block; }
  .gnav,
  .header-cta { display: none; }

  .hero {
    grid-template-columns: 1fr;
    min-height: 0;
  }
  .hero-body {
    flex-direction: column;
    align-items: flex-start;
    gap: 26px;
    padding: clamp(44px, 9vw, 64px) var(--gutter) clamp(36px, 7vw, 52px);
  }
  .hero-title {
    writing-mode: horizontal-tb;
    text-orientation: mixed;
    font-size: clamp(32px, 8.4vw, 54px);
    line-height: 1.5;
    letter-spacing: .08em;
    margin-right: 0;
  }
  .hero-text { align-self: stretch; padding-bottom: 0; }
  .hero-services {
    order: 3;
    align-self: stretch;
    writing-mode: horizontal-tb;
    display: flex;
    flex-wrap: wrap;
    gap: 8px 22px;
    margin: 0;
    padding-top: 22px;
    border-top: 1px solid var(--color-line);
    letter-spacing: .18em;
    line-height: 1.6;
  }
  .hero-services span { padding: 0 0 0 16px; }
  .hero-services span::before {
    top: 50%; right: auto; left: 0;
    width: 8px; height: 2px;
  }
  /* 1カラム化。飛沫レイヤーはコピー側（1行目）に留め、
     2行目に落ちる写真の上には掛からないようにする */
  .hero-deco { grid-column: 1; grid-row: 1; }
  .hero-visual {
    grid-column: 1;
    grid-row: 2;
    border-left: 0;
    border-top: 1px solid var(--color-line);
  }
  .hero-visual .placeholder { aspect-ratio: 16 / 10; height: auto; }
  .hero-ink {
    top: -10%;
    bottom: auto;
    left: auto;
    right: -16%;
    width: min(380px, 62vw);
    opacity: .8;
  }
  .hero-ink-2 { display: none; }
  .hero-ink-4 { right: 6%; bottom: 4%; }
  .hero-ink-3 { left: auto; right: 6%; top: auto; bottom: 14%; width: 64px; }
  .hero-vertical-note { display: none; }

  .grid--4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .greeting { grid-template-columns: 1fr; }
  .greeting-visual { max-width: 320px; }
  .service-block { grid-template-columns: 1fr; }
  .service-block:nth-child(even) .service-block-visual { order: 0; }
  .cta-inner { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .tel-block { grid-template-columns: 1fr; text-align: center; }
  .kanji-mark { font-size: clamp(180px, 42vw, 320px); }
}

@media (max-width: 720px) {
  body { font-size: 15px; line-height: 1.9; }

  .grid--3,
  .grid--2 { grid-template-columns: 1fr; }
  .work-card .ba { grid-template-columns: 1fr 1fr; }

  .reason-card:nth-child(2),
  .reason-card:nth-child(3) { margin-top: 0; }
  .service-card-body { margin-left: clamp(16px, 5vw, 34px); }

  .flow-mini { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .flow-mini li { border-right: 1px solid var(--color-line); border-bottom: 1px solid var(--color-line); }
  .flow-mini li:nth-child(2n) { border-right: 0; }
  .flow-mini li:last-child { border-bottom: 0; }

  .flow-step { grid-template-columns: 1fr; gap: 6px; }
  .flow-step-num { font-size: 62px; }

  .news-item {
    grid-template-columns: auto auto;
    gap: 6px 14px;
  }
  .news-title { grid-column: 1 / -1; }

  .form-row { grid-template-columns: 1fr; gap: 12px; }
  .form-label { padding-top: 0; }
  .form-actions .btn { min-width: 0; width: 100%; }

  .table-spec th,
  .table-spec td { display: block; width: auto; white-space: normal; }
  .table-spec th { padding: 16px 4px 0; border-bottom: 0; }
  .table-spec td { padding: 4px 4px 16px; }

  .history-list div { grid-template-columns: 1fr; gap: 2px; }

  .footer-bottom { flex-direction: column; align-items: flex-start; }

  /* 狭い画面では余白が消え、飛沫が本文に重なりやすくなる。
     中央寄りの散らしは落とし、残りも一段淡くする（可読性優先） */
  .ink.ink-p9,
  .ink.ink-p11 { display: none; }
  .ink[class*="ink-p"] { opacity: calc(var(--ink-op-w, .6) * .88); }
  .section--sumi .ink[class*="ink-p"],
  .page-hero .ink[class*="ink-p"],
  .cta-band .ink[class*="ink-p"] { opacity: calc(var(--ink-op, .14) * .8); }
  .ink.ink-p1  { width: clamp(96px, 26vw, 150px); }
  .ink.ink-p3  { width: clamp(104px, 30vw, 170px); }
  .ink.ink-p7  { width: clamp(110px, 32vw, 180px); }
  .ink.ink-p13 { width: clamp(88px, 24vw, 140px); }
  .hero-ink-4 { width: clamp(88px, 24vw, 140px); opacity: .55; }
  .hero-ink-5 { display: none; }
}

/* 狭い画面では clamp の下限が効き始める。16文字級の見出しは字送りも詰めて1行を確保する */
@media (max-width: 578px) {
  .section-title--wide { letter-spacing: .02em; }
}

@media (max-width: 460px) {
  :root { --gutter: 18px; --tear: 12px; }
  .grid--4 { grid-template-columns: 1fr; }
  .flow-mini { grid-template-columns: 1fr; }
  .flow-mini li { border-right: 0; }
  .btn { --btn-pad-x: 20px; font-size: 14px; }
  .btn-row .btn { width: 100%; }
  .footer-nav-cols { grid-template-columns: 1fr; }
  .ba-item:last-child { margin-left: -10%; }
  .kanji-mark { font-size: 220px; }
}

/* 印刷 */
@media print {
  .site-header, .drawer, .cta-band, .ink, .nav-toggle, .kanji-mark { display: none !important; }
  body { background: #fff; color: #000; }
  .section--sumi, .page-hero, .tel-block { background: #fff !important; color: #000 !important; clip-path: none !important; }
}
