/* 遺品整理 ひきだし（遺品整理の見本サイト）
   設計: websites/sample-ihinseiri/design/（brand-direction・site-structure・visual-rhythm-map）と本人が選んだ A2（inputs/ihin-a2.png）
   方針: 生成りと白の地＋常盤緑 1 色。明朝の見出し・やわらかいゴシックの本文。影は報告メモと見積書の紙だけ。角は 0〜2px。 */

:root {
  --kinari: #F6F1E8;
  --kinari-deep: #EDE4D4;
  --kiri: #E8DCC6;            /* 桐の机（見積書の下） */
  --white: #FFFFFF;
  --paper: #FFFEFA;           /* 報告メモ・見積書の紙 */
  --ink: #2A2724;
  --ink-2: #47423C;
  --ink-3: #655E56;           /* 生成りの上で 5.3:1 */
  --green: #1F4A3C;           /* 常盤緑。白文字 10:1 */
  --green-deep: #173A2F;
  --green-tint: #E4EDE7;
  --shu: #A9442C;             /* 見積書の「見本」の印だけに使う朱 */
  --line: rgba(42, 39, 36, 0.14);
  --line-strong: rgba(42, 39, 36, 0.32);
  --f-mincho: "Shippori Mincho B1", "Hiragino Mincho ProN", "Yu Mincho", "YuMincho", serif;
  --f-gothic: "Zen Kaku Gothic New", "Hiragino Sans", "Hiragino Kaku Gothic ProN", "Yu Gothic", "Meiryo", sans-serif;
  --f-pen: "Klee One", "Klee", "Hiragino Mincho ProN", "Yu Mincho", serif;
  --container: 1200px;
  --gutter: clamp(20px, 4vw, 56px);
  --header-h: 80px;
  --radius: 2px;
  --memo-rot: -3deg;
  --bleed-r: calc(-1 * (max(0px, (100vw - var(--container) - var(--gutter) * 2) / 2) + var(--gutter)));
  --content-left: calc(max(0px, (100vw - var(--container) - var(--gutter) * 2) / 2) + var(--gutter));
  /* 写真の左端: 画面の 45% か、文字の左端から 540px のうち右の方（広い画面で文字の幅が狭くならないように） */
  --hero-media-left: max(45vw, calc(var(--content-left) + 540px));
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 12px); }
body {
  margin: 0;
  background: var(--white);
  color: var(--ink);
  font-family: var(--f-gothic);
  font-size: 17px;
  line-height: 1.9;
  letter-spacing: 0.03em;
  overflow-x: hidden;
  word-break: auto-phrase;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; }
h1, h2, h3, p, ul, ol, dl, dd, figure { margin: 0; }
ul, ol { padding: 0; list-style: none; }
button { font: inherit; }
table { border-collapse: collapse; }
:focus-visible { outline: 3px solid #3E7A64; outline-offset: 3px; border-radius: 2px; }
.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.sp-only { display: none; }
.nowrap { white-space: nowrap; }
section { overflow-x: clip; }

.container { width: 100%; max-width: calc(var(--container) + var(--gutter) * 2); margin-inline: auto; padding-inline: var(--gutter); }

/* 生成りの地（便箋のごく淡い繊維） */
.kinari {
  background-color: var(--kinari);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='260' height='260'%3E%3Cfilter id='f'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9 0.035' numOctaves='2' seed='4' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 0.45 0 0 0 0 0.38 0 0 0 0 0.28 0.22 0 0 0 -0.08'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23f)'/%3E%3C/svg%3E");
}

/* ---------- 見本の明示の帯 ---------- */
.fictional-banner {
  background: var(--green-deep);
  color: #F1EEE6;
  text-align: center;
  font-size: 14px;
  line-height: 1.6;
  padding: 8px 16px;
  letter-spacing: 0.03em;
}
.fictional-banner strong { color: #FFFFFF; }

/* ---------- ヘッダー ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(246, 241, 232, 0.97);
  border-bottom: 1px solid var(--line);
}
.header-row { display: flex; align-items: center; gap: 28px; min-height: var(--header-h); }
.brand { display: inline-flex; align-items: center; gap: 10px; min-height: 48px; text-decoration: none; flex-shrink: 0; }
.brand__mark { width: 34px; height: 34px; color: var(--green); }
.brand__text { display: flex; align-items: baseline; gap: 0.45em; font-family: var(--f-mincho); font-weight: 700; line-height: 1.2; white-space: nowrap; }
.brand__text small { font-size: 16px; letter-spacing: 0.08em; }
.brand__text strong { font-size: 26px; letter-spacing: 0.1em; }
.header-nav { margin-left: auto; }
.header-nav ul { display: flex; gap: 22px; }
.header-nav a { display: inline-flex; align-items: center; min-height: 44px; text-decoration: none; font-size: 15px; color: var(--ink-2); border-bottom: 1px solid transparent; white-space: nowrap; }
.header-nav a:hover { border-bottom-color: var(--green); color: var(--ink); }
.header-contact { display: flex; align-items: center; gap: 18px; }
.header-tel { display: flex; flex-direction: column; align-items: flex-end; justify-content: center; min-height: 48px; text-decoration: none; }
.header-tel__num { display: inline-flex; align-items: center; gap: 6px; font-weight: 700; font-size: 25px; line-height: 1.1; letter-spacing: 0.04em; color: var(--green); white-space: nowrap; }
.header-tel__num svg { flex-shrink: 0; width: 22px; height: 22px; }
.header-tel__time { font-size: 13px; color: var(--ink-3); line-height: 1.4; letter-spacing: 0.04em; white-space: nowrap; }
.header-call-sp { display: none; }
.subnav { display: none; }

/* ---------- ボタン ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 56px; padding: 10px 24px;
  border-radius: var(--radius);
  font-weight: 700; font-size: 16px; text-decoration: none; letter-spacing: 0.05em;
  transition: background-color .25s ease, color .25s ease;
}
.btn--line { border: 1.5px solid var(--green); color: var(--green); background: var(--white); }
.btn--line:hover { background: var(--green); color: #fff; }
.btn--sm { min-height: 44px; padding: 8px 16px; font-size: 14.5px; white-space: nowrap; }
.btn__icon { width: 22px; height: 22px; flex-shrink: 0; }
.btn__arrow { width: 20px; height: 20px; transition: transform .25s ease; }
.btn:hover .btn__arrow { transform: translateX(4px); }

/* Primary（最初の画面）: 常盤緑の大きな塗り。番号と受付時間も入れる */
.btn-call {
  display: inline-grid; grid-template-columns: auto 1fr auto; align-items: center; column-gap: 16px;
  min-height: 80px; padding: 12px 24px 12px 16px;
  background: var(--green); color: #fff; text-decoration: none;
  border-radius: var(--radius);
  transition: background-color .25s ease;
}
.btn-call:hover { background: var(--green-deep); }
.btn-call__icon { display: grid; place-items: center; width: 48px; height: 48px; border-radius: 50%; border: 1.5px solid rgba(255, 255, 255, 0.6); }
.btn-call__icon svg { width: 24px; height: 24px; }
.btn-call__text { display: flex; flex-direction: column; line-height: 1.3; }
.btn-call__text strong { font-size: 20px; letter-spacing: 0.06em; white-space: nowrap; }
.btn-call__text small { font-size: 14.5px; letter-spacing: 0.06em; margin-top: 4px; opacity: .92; white-space: nowrap; }
.btn-call__text .sep { margin: 0 .5em; opacity: .6; }
.btn-call__arrow { width: 24px; height: 24px; transition: transform .25s ease; }
.btn-call:hover .btn-call__arrow { transform: translateX(4px); }

/* Primary（料金のあと・締め）: 1 行の塗り */
.btn-fill {
  display: inline-flex; align-items: center; justify-content: center; gap: 12px;
  min-height: 62px; padding: 12px 28px;
  background: var(--green); color: #fff; text-decoration: none;
  border-radius: var(--radius); font-weight: 700; font-size: 18px; letter-spacing: 0.06em;
  transition: background-color .25s ease;
}
.btn-fill:hover { background: var(--green-deep); }
.btn-fill svg { width: 22px; height: 22px; flex-shrink: 0; }
.btn-fill .btn-fill__arrow { width: 22px; transition: transform .25s ease; }
.btn-fill:hover .btn-fill__arrow { transform: translateX(4px); }

/* Secondary（最初の画面）: 文字＋下線 */
.link-line {
  display: inline-flex; align-items: center; gap: 10px; min-height: 48px;
  font-weight: 700; font-size: 16px; color: var(--green); text-decoration: none;
  border-bottom: 1.5px solid currentColor; padding: 4px 2px;
}
.link-line svg { width: 22px; height: 22px; flex-shrink: 0; }
.link-line .link-line__arrow { width: 18px; transition: transform .25s ease; }
.link-line:hover .link-line__arrow { transform: translateX(4px); }

/* Tertiary: 本文中の矢印リンク */
.link-arrow {
  display: inline-flex; align-items: center; gap: 8px; min-height: 44px;
  font-weight: 700; font-size: 16px; color: var(--green);
  text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 0.35em;
}
.link-arrow svg { width: 18px; height: 18px; flex-shrink: 0; transition: transform .25s ease; }
.link-arrow:hover svg { transform: translateX(4px); }

/* ---------- 見出し・本文 ---------- */
.h2 { font-family: var(--f-mincho); font-weight: 700; font-size: clamp(28px, 2.7vw, 40px); line-height: 1.45; letter-spacing: 0.08em; }
.h2--sm { font-size: clamp(25px, 2.2vw, 31px); }
.h2--light { color: #fff; }
.lead { margin-top: 20px; font-size: 17.5px; color: var(--ink-2); line-height: 2; }

/* ---------- 絵・写真の共通 ---------- */
.media__inner { position: relative; width: 100%; height: 100%; overflow: hidden; }
.media__inner > img { width: 100%; height: 100%; object-fit: cover; }
/* 写真ごとの切り出しの位置（主役が切れないように、実際の写真を見て決めた） */
.hero__media img { object-position: 21% 50%; }
.far__media img { object-position: 50% 48%; }
.media__note {
  position: absolute; top: 12px; right: 12px; z-index: 2;
  padding: 1px 9px; border-radius: 2px;
  background: rgba(255, 255, 255, 0.86); color: var(--ink-2);
  font-size: 13px; letter-spacing: 0.08em; line-height: 1.7;
}

/* 報告メモ（Signature 1）: 便箋の切れ端。文は「報告の見本」 */
.memo {
  position: absolute; z-index: 3;
  width: max-content; max-width: 320px;
  padding: 16px 22px 18px;
  background-color: var(--paper);
  background-image: repeating-linear-gradient(to bottom, transparent 0, transparent 33px, rgba(31, 74, 60, 0.14) 33px, rgba(31, 74, 60, 0.14) 34px);
  background-position: 0 14px;
  box-shadow: 0 10px 24px rgba(42, 39, 36, 0.16), 0 1px 3px rgba(42, 39, 36, 0.1);
  transform: rotate(var(--memo-rot));
}
.memo__text { font-family: var(--f-pen); font-weight: 600; font-size: 19px; line-height: 34px; letter-spacing: 0.06em; color: #2E3A35; white-space: nowrap; }
.memo__tag {
  position: absolute; right: -10px; bottom: -18px;
  padding: 2px 10px; background: var(--white); border: 1px solid var(--line-strong);
  font-family: var(--f-gothic); font-size: 13.5px; font-weight: 700; letter-spacing: 0.08em; color: var(--ink-2); line-height: 1.7;
  transform: rotate(calc(var(--memo-rot) * -1));
}

/* 丸印（Signature 2）: 残・譲・送 */
.seal {
  display: inline-grid; place-items: center;
  width: 112px; height: 112px; border-radius: 50%;
  border: 1.5px solid var(--green); color: var(--green);
  font-family: var(--f-mincho); font-weight: 700; font-size: 46px; line-height: 1;
  box-shadow: inset 0 0 0 5px var(--white), inset 0 0 0 6px rgba(31, 74, 60, 0.35);
}
.seal--sm { width: 24px; height: 24px; font-size: 13px; border-width: 1.2px; box-shadow: none; margin-right: 6px; vertical-align: -4px; }

/* ===== S1 最初の画面 ===== */
.hero { position: relative; background: var(--white); }
.hero__media {
  position: absolute; top: 0; right: 0; bottom: 0; left: var(--hero-media-left);
  background: var(--kinari-deep);
  /* 左端だけ細くぼかす（32px）。切り出し位置は、母親の頭がぼかしの外に出るように決めている */
  -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 32px);
          mask-image: linear-gradient(90deg, transparent 0, #000 32px);
}
.hero__media .media__note { right: 16px; top: 16px; }
.hero__inner { position: relative; z-index: 2; display: flex; align-items: center; min-height: clamp(580px, calc(100svh - var(--header-h) - 40px - 60px), 880px); padding-block: 48px 64px; }
/* 文字は写真に重ねない: 写真の左端より 24px 手前までに収める */
.hero__copy { max-width: min(600px, calc(var(--hero-media-left) - var(--content-left) - 24px)); }
.hero__kicker { display: flex; align-items: center; gap: 12px; font-size: 15px; letter-spacing: 0.12em; color: var(--ink-3); }
.hero__kicker::before { content: ""; width: 28px; height: 1px; background: var(--green); }
.hero__title {
  margin-top: 18px;
  font-family: var(--f-mincho); font-weight: 700;
  font-size: clamp(36px, 3.3vw, 50px); line-height: 1.42; letter-spacing: 0.04em;
  color: #1F1D1A;
}
.hero__sub { margin-top: 22px; font-size: 17.5px; line-height: 1.95; color: var(--ink-2); }
.facts { display: flex; flex-wrap: wrap; align-items: center; margin-top: 22px; font-size: 14.5px; font-weight: 700; color: var(--ink-2); letter-spacing: 0.02em; }
.facts li { display: inline-flex; align-items: center; white-space: nowrap; }
.facts li + li::before { content: ""; width: 1px; height: 15px; margin: 0 10px; background: var(--line-strong); }
.hero__cta { display: flex; flex-direction: column; align-items: flex-start; gap: 14px; margin-top: 32px; }
.memo--hero { right: max(28px, 6%); bottom: 44px; }

/* ===== S2 迷い ===== */
.worry { padding-block: clamp(96px, 11vw, 150px); }
.worry__grid { display: grid; grid-template-columns: 5fr 7fr; gap: 64px; align-items: center; }
.worry__title { font-family: var(--f-mincho); font-weight: 700; font-size: clamp(28px, 2.6vw, 38px); line-height: 1.6; letter-spacing: 0.08em; }
.worry__list { border-top: 1px solid var(--line-strong); }
.worry__list li { display: flex; align-items: flex-start; gap: 18px; padding: 15px 4px; border-bottom: 1px solid var(--line-strong); font-size: 18px; color: var(--ink-2); letter-spacing: 0.05em; }
.worry__list li::before { content: ""; flex: 0 0 18px; height: 1px; margin-top: .95em; background: var(--green); }

/* ===== S3 捨てる前に、探します ===== */
.search { padding-block: clamp(96px, 9vw, 136px); background: var(--white); }
.search__grid { display: grid; grid-template-columns: 7fr 5fr; gap: clamp(48px, 6vw, 88px); align-items: center; }
.search__media { position: relative; aspect-ratio: 5 / 4; background: var(--kinari-deep); }
.memo--search { right: -28px; bottom: -30px; --memo-rot: 2.5deg; }
.search__subtitle { margin-top: 32px; font-size: 15px; font-weight: 700; color: var(--green); letter-spacing: 0.12em; }
.search__list { display: grid; grid-template-columns: 1fr 1fr; margin-top: 10px; border-top: 1px solid var(--line-strong); }
.search__list li { padding: 14px 12px 14px 4px; border-bottom: 1px solid var(--line-strong); font-size: 17px; font-weight: 700; letter-spacing: 0.05em; }
.search__list li:nth-child(even) { padding-left: 20px; border-left: 1px solid var(--line); }
.search__body .link-arrow { margin-top: 24px; }

/* ===== S4 三つの方針 ===== */
.policy { padding-block: clamp(96px, 9vw, 132px); }
.policy__head { text-align: center; }
.policy__head p { margin-top: 14px; font-size: 17px; color: var(--ink-2); }
.policy__list { display: grid; grid-template-columns: repeat(3, 1fr); margin-top: 56px; }
.policy__list li { display: flex; flex-direction: column; align-items: center; text-align: center; padding: 8px clamp(16px, 3vw, 44px) 4px; }
.policy__list li + li { border-left: 1px solid var(--line-strong); }
.policy__list .seal { background: var(--white); }
.policy__list h3 { margin-top: 22px; font-family: var(--f-mincho); font-weight: 700; font-size: 24px; letter-spacing: 0.2em; color: var(--green); }
.policy__list p { margin-top: 12px; font-size: 16.5px; line-height: 2; color: var(--ink-2); }
.policy__works { display: flex; flex-wrap: wrap; justify-content: center; align-items: baseline; gap: 8px 20px; margin: 56px auto 0; padding-top: 26px; border-top: 1px solid var(--line-strong); max-width: 920px; }
.policy__works dt { font-size: 15px; font-weight: 700; color: var(--green); letter-spacing: 0.12em; }
.policy__works dd { font-size: 17px; font-weight: 700; letter-spacing: 0.06em; text-align: center; }
.policy__works dd span[aria-hidden] { margin: 0 .5em; color: var(--ink-3); font-weight: 400; }
.policy__works-note { font-weight: 400; color: var(--ink-3); font-size: 15.5px; }

/* ===== S5 料金の目安と見積書の見本 ===== */
.price { padding-block: clamp(96px, 9vw, 136px); background: var(--white); }
.price__grid { display: grid; grid-template-columns: 5fr 6fr; gap: clamp(40px, 5vw, 72px); align-items: stretch; }
.price-table { width: 100%; margin-top: 28px; border-top: 1.5px solid var(--ink); }
.price-table th, .price-table td { padding: 15px 8px; border-bottom: 1px solid var(--line-strong); }
.price-table th { text-align: left; font-weight: 700; font-size: 17px; letter-spacing: 0.06em; white-space: nowrap; }
.price-table td { text-align: right; font-size: 16px; white-space: nowrap; }
.price-table .yen { font-family: var(--f-mincho); font-weight: 700; font-size: 28px; letter-spacing: 0.04em; margin-right: 2px; }
.price-table__ask { font-weight: 700; font-size: 17px !important; }
.price__note { margin-top: 12px; font-size: 15px; color: var(--ink-3); }
.price__note strong { color: var(--ink); }
.price__vary { margin-top: 32px; padding: 24px 26px; background: var(--kinari); border-left: 3px solid var(--green); }
.price__vary h3 { font-size: 17px; font-weight: 700; letter-spacing: 0.08em; color: var(--green); }
.price__vary ul { margin-top: 10px; }
.price__vary li { position: relative; padding-left: 1.1em; font-size: 16px; line-height: 1.85; color: var(--ink-2); }
.price__vary li::before { content: ""; position: absolute; left: 0; top: .85em; width: 6px; height: 6px; border-radius: 50%; background: var(--green); }
.price__vary li b { color: var(--ink); }
.price__vary p { margin-top: 12px; font-size: 16px; line-height: 1.85; color: var(--ink-2); }
.price__vary p strong { color: var(--ink); }
.price__body .btn-fill { margin-top: 32px; }

.price__desk {
  position: relative; display: grid; place-items: center;
  margin-right: var(--bleed-r);
  padding: 64px clamp(32px, 5vw, 80px) 64px clamp(32px, 4vw, 64px);
  background-color: var(--kiri);
  background-image: repeating-linear-gradient(97deg, transparent 0, transparent 46px, rgba(150, 118, 78, 0.07) 46px, rgba(150, 118, 78, 0.07) 48px, transparent 48px, transparent 120px, rgba(150, 118, 78, 0.05) 120px, rgba(150, 118, 78, 0.05) 121px);
}
.estimate {
  position: relative; width: 100%; max-width: 560px;
  padding: 36px 36px 30px;
  background: var(--paper); border: 1px solid #DED5C4;
  box-shadow: 0 16px 34px rgba(42, 39, 36, 0.14), 0 2px 4px rgba(42, 39, 36, 0.06);
  transform: rotate(1.2deg);
}
.estimate__head { display: flex; justify-content: center; }
.estimate__title { font-family: var(--f-mincho); font-weight: 700; font-size: 28px; letter-spacing: 0.4em; padding: 0 0 4px .4em; border-bottom: 3px double var(--ink); }
.stamp {
  position: absolute; top: 26px; right: 28px;
  padding: 3px 9px 4px; border: 2px solid var(--shu); border-radius: 3px; color: var(--shu);
  font-family: var(--f-mincho); font-weight: 700; font-size: 19px; letter-spacing: 0.12em; line-height: 1.3;
  transform: rotate(-8deg); opacity: .92;
}
.estimate__meta { margin-top: 18px; font-size: 14.5px; color: var(--ink-3); }
.estimate__meta b { color: var(--ink); }
.bill { width: 100%; margin-top: 10px; font-size: 15px; }
.bill thead th { padding: 8px 6px; font-size: 14px; font-weight: 700; color: var(--ink-3); text-align: left; border-bottom: 1.5px solid var(--ink); letter-spacing: 0.08em; }
.bill tbody th, .bill tbody td { padding: 11px 6px; border-bottom: 1px solid #E3DACB; vertical-align: middle; }
.bill tbody th { text-align: left; font-weight: 700; white-space: nowrap; }
.bill tbody td { color: var(--ink-2); line-height: 1.6; }
.bill .num { text-align: right; white-space: nowrap; font-family: var(--f-mincho); font-weight: 700; font-size: 16px; color: var(--ink); }
.bill thead .num { font-family: var(--f-gothic); font-size: 14px; color: var(--ink-3); }
.bill__find th, .bill__find td { background: rgba(31, 74, 60, 0.05); }
.bill tfoot th, .bill tfoot td { padding: 14px 6px 4px; border-top: 2px solid var(--ink); }
.bill tfoot th { text-align: left; font-size: 16px; font-weight: 700; letter-spacing: 0.08em; }
.bill tfoot .num { font-size: 26px; }
.estimate__foot { margin-top: 14px; padding-top: 12px; border-top: 1px dashed #CFC4B0; font-size: 14.5px; font-weight: 700; color: var(--green); }

/* ===== S6 離れて暮らすご家族へ ===== */
.far { background: var(--white); }
.far__media { position: relative; height: clamp(440px, 62svh, 600px); background: #2A1F18; }
.far__media .media__inner::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(90deg, rgba(20, 14, 10, 0.55) 0%, rgba(20, 14, 10, 0.45) 38%, rgba(20, 14, 10, 0.12) 52%, rgba(20, 14, 10, 0) 60%);
}
.far__copy {
  position: absolute; z-index: 2; top: 50%; transform: translateY(-50%);
  left: max(var(--gutter), calc((100vw - var(--container)) / 2));
  max-width: 640px; color: #fff;
}
.far__title { font-family: var(--f-mincho); font-weight: 700; font-size: clamp(30px, 3vw, 44px); line-height: 1.55; letter-spacing: 0.07em; text-shadow: 0 1px 12px rgba(0, 0, 0, 0.25); }
.far__sub { margin-top: 18px; font-size: 18px; line-height: 1.8; letter-spacing: 0.05em; color: #F4F1EA; text-shadow: 0 1px 8px rgba(0, 0, 0, 0.3); }
.memo--far { right: max(28px, 5vw); top: 56px; --memo-rot: -2deg; }
.far__steps { padding-block: 44px 72px; text-align: center; }
.far__steps ul { display: grid; grid-template-columns: repeat(4, 1fr); text-align: center; }
.far__steps li { padding: 6px 20px; font-family: var(--f-mincho); font-weight: 700; font-size: 19px; line-height: 1.65; letter-spacing: 0.06em; }
.far__steps li + li { border-left: 1px solid var(--line-strong); }
.far__steps .link-arrow { margin-top: 28px; }

/* ===== S7 ご依頼の流れ ===== */
.flow { padding-block: clamp(88px, 8vw, 120px); background: var(--green); color: #fff; }
.flow__list { margin-top: 36px; border-top: 1px solid rgba(255, 255, 255, 0.3); }
.flow__list li { display: grid; grid-template-columns: 76px minmax(220px, 320px) 1fr; align-items: center; column-gap: 24px; padding: 22px 16px; border-bottom: 1px solid rgba(255, 255, 255, 0.3); }
.flow__no { display: grid; place-items: center; width: 50px; height: 50px; border-radius: 50%; border: 1.2px solid rgba(255, 255, 255, 0.7); font-family: var(--f-mincho); font-weight: 700; font-size: 21px; }
.flow__list h3 { font-family: var(--f-mincho); font-weight: 700; font-size: 22px; letter-spacing: 0.08em; line-height: 1.5; }
.flow__list h3 small { font-size: 16px; font-weight: 600; margin-left: 4px; }
.flow__list p { font-size: 17px; line-height: 1.85; color: rgba(255, 255, 255, 0.92); }
.flow__list .is-key { background: rgba(255, 255, 255, 0.08); padding-block: 30px; }
.flow__list .is-key h3 { font-size: 26px; }
.flow__list .is-key .flow__no { background: #fff; color: var(--green); border-color: #fff; }
.flow__list .is-key strong { display: inline-block; margin-left: .3em; padding: 0 .4em; background: #fff; color: var(--green); }

/* ===== S8 よくある質問 ===== */
.faq { padding-block: clamp(96px, 9vw, 132px); background: var(--white); }
.faq__list { margin-top: 32px; border-top: 1.5px solid var(--ink); }
.faq__list > div { display: grid; grid-template-columns: 5fr 7fr; column-gap: 48px; padding: 20px 8px; border-bottom: 1px solid var(--line-strong); }
.faq__list dt { position: relative; padding-left: 40px; font-family: var(--f-mincho); font-weight: 700; font-size: 18px; line-height: 1.7; letter-spacing: 0.04em; }
.faq__list dt::before {
  content: "問"; position: absolute; left: 0; top: 1px;
  display: grid; place-items: center; width: 27px; height: 27px; border-radius: 50%;
  border: 1.2px solid var(--green); color: var(--green); font-size: 14px; line-height: 1;
}
.faq__list dd { font-size: 16.5px; line-height: 1.9; color: var(--ink-2); }
.faq__cta { margin-top: 40px; }

/* ===== S9 対応エリアと会社概要 ===== */
.info { padding-block: clamp(88px, 8vw, 120px); }
.info__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 0; }
.area { padding-right: clamp(32px, 4vw, 64px); }
.company { padding-left: clamp(32px, 4vw, 64px); border-left: 1px solid var(--line-strong); }
.area__body { display: grid; grid-template-columns: minmax(0, 260px) 1fr; gap: 24px; align-items: center; margin-top: 24px; }
.area__map svg { width: 100%; height: auto; }
.area__map figcaption { margin-top: 2px; font-size: 13.5px; color: var(--ink-3); }
.area__text p { font-size: 17px; line-height: 1.8; }
.area__text .area__note { margin-top: 10px; font-size: 15px; color: var(--ink-3); }
.company__table { margin-top: 24px; background: var(--white); border: 1px solid #E2D8C6; }
.company__table > div { display: grid; grid-template-columns: 120px 1fr; gap: 16px; padding: 14px 22px; border-bottom: 1px solid #ECE4D6; }
.company__table > div:last-child { border-bottom: 0; }
.company__table dt { font-size: 15px; color: var(--ink-3); letter-spacing: 0.06em; }
.company__table dd { font-size: 16px; line-height: 1.8; }

/* ===== S10 締めの相談 ===== */
.closing { position: relative; background: var(--white); }
.closing__media {
  position: absolute; top: 0; right: 0; bottom: 0; width: 50%;
  background: var(--kinari-deep);
  -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 16%);
          mask-image: linear-gradient(90deg, transparent 0, #000 16%);
}
.memo--closing { right: max(28px, 6%); bottom: 40px; --memo-rot: 2deg; }
.closing__inner { position: relative; z-index: 2; display: flex; align-items: center; min-height: clamp(520px, 66svh, 640px); padding-block: 72px; }
.closing__copy { max-width: 600px; }
.closing__title { font-family: var(--f-mincho); font-weight: 700; font-size: clamp(30px, 2.8vw, 40px); line-height: 1.5; letter-spacing: 0.07em; }
.closing__tel { display: inline-flex; align-items: center; gap: 12px; margin-top: 20px; min-height: 64px; font-weight: 700; font-size: clamp(42px, 4.6vw, 66px); line-height: 1.1; letter-spacing: 0.03em; color: var(--green); text-decoration: none; white-space: nowrap; }
.closing__tel svg { flex-shrink: 0; width: 0.62em; height: 0.62em; }
.closing__time { margin-top: 6px; font-size: 16px; color: var(--ink-2); }
.closing__sep { margin: 0 .5em; color: var(--ink-3); }
.closing__actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 28px; }

/* ---------- フッター ---------- */
.site-footer { padding: 40px 0 36px; background: var(--kinari); border-top: 1px solid var(--line); }
.footer__row { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px 40px; }
.footer__nav { display: flex; flex-wrap: wrap; gap: 0 26px; }
.footer__nav a { display: inline-flex; align-items: center; min-height: 44px; font-size: 15px; color: var(--ink-2); text-decoration: none; }
.footer__nav a:hover { text-decoration: underline; text-underline-offset: .3em; }
.footer__notice { margin-top: 18px; padding-top: 18px; border-top: 1px solid var(--line); font-size: 14px; color: var(--ink-3); line-height: 1.8; }

/* ---------- スマホの固定バー・見本の案内 ---------- */
.fixed-bar { display: none; }
.fixed-bar.is-hidden { transform: translateY(110%); }
.demo-notice { border: 1.5px solid var(--green); border-radius: var(--radius); padding: 0; max-width: min(460px, calc(100vw - 32px)); background: var(--white); color: var(--ink); }
.demo-notice::backdrop { background: rgba(23, 33, 29, 0.55); }
.demo-notice__body { padding: 28px 28px 24px; }
.demo-notice__title { font-family: var(--f-mincho); font-size: 21px; margin-bottom: 10px; letter-spacing: .06em; }
.demo-notice__body p { font-size: 16px; color: var(--ink-2); }
.demo-notice__close { margin-top: 18px; min-height: 48px; padding: 8px 24px; border: 0; background: var(--green); color: #fff; border-radius: var(--radius); font-weight: 700; cursor: pointer; }

/* ---------- 動き（静か・急かさない） ---------- */
/* 最初の画面: 写真が左から右へ、そっと開く → 報告メモがあとから置かれる */
.js .hero__media .media__inner { animation: reveal 1.5s cubic-bezier(.2, .7, .2, 1) .15s both; }
.js .memo--hero { animation: memo-in 1s ease-out 1.2s both; }
@keyframes reveal { from { clip-path: inset(0 100% 0 0); } to { clip-path: inset(0 0 0 0); } }
@keyframes memo-in { from { opacity: 0; transform: translateY(10px) rotate(-7deg); } to { opacity: 1; transform: rotate(var(--memo-rot)); } }
/* 見える位置に来たら: 写真が開く（切り抜きは内側だけに掛け、見張る枠は隠さない）→ メモ */
.js [data-inview] .media__inner { clip-path: inset(0 100% 0 0); transition: clip-path 1.4s cubic-bezier(.2, .7, .2, 1); }
.js [data-inview].is-in .media__inner { clip-path: inset(0 0 0 0); }
.js [data-inview] .memo { opacity: 0; transform: translateY(10px) rotate(-7deg); transition: opacity .9s ease-out .9s, transform .9s ease-out .9s; }
.js [data-inview].is-in .memo { opacity: 1; transform: rotate(var(--memo-rot)); }
.js .far__media[data-inview] .far__copy { opacity: 0; transition: opacity 1s ease-out .5s; }
.js .far__media[data-inview].is-in .far__copy { opacity: 1; }
/* 料金・方針・流れ: 上から順に読めるように少しずつ */
.js .price-table[data-inview] tr,
.js .policy__list[data-inview] li,
.js .flow__list[data-inview] li { opacity: 0; transform: translateY(10px); transition: opacity .8s ease-out, transform .8s ease-out; }
.js [data-inview].is-in tr, .js [data-inview].is-in li { opacity: 1; transform: none; }
.js [data-inview] > * > tr:nth-child(2), .js [data-inview] > li:nth-child(2) { transition-delay: .12s; }
.js [data-inview] > * > tr:nth-child(3), .js [data-inview] > li:nth-child(3) { transition-delay: .24s; }
.js [data-inview] > * > tr:nth-child(4), .js [data-inview] > li:nth-child(4) { transition-delay: .36s; }
.js [data-inview] > * > tr:nth-child(5), .js [data-inview] > li:nth-child(5) { transition-delay: .48s; }

/* ---------- 幅ごとの組み替え ---------- */
@media (max-width: 1180px) {
  .header-nav { display: none; }
  .header-contact { margin-left: auto; }
  .subnav { display: block; background: var(--white); border-bottom: 1px solid var(--line); }
  .subnav ul { display: flex; justify-content: center; }
  .subnav li + li { border-left: 1px solid var(--line); }
  .subnav a { display: flex; align-items: center; justify-content: center; min-height: 44px; padding: 0 22px; font-size: 14.5px; color: var(--ink-2); text-decoration: none; white-space: nowrap; letter-spacing: 0.04em; }
  .subnav a:hover { color: var(--green); text-decoration: underline; text-underline-offset: .3em; }
}

/* 幅 901〜1199: 写真を半分にし、切り出しを左へ（人にぼかしをかけない）。電話ボタンの文字を少し小さく */
@media (min-width: 901px) and (max-width: 1199px) {
  :root { --hero-media-left: 50vw; }
  /* 1 行に収まらない幅では、区切りの縦線ではなく点で並べる（行の頭に線が残らないように） */
  .facts { gap: 2px 16px; }
  .facts li::before, .facts li + li::before { content: ""; width: 6px; height: 6px; margin: 0 8px 0 0; border-radius: 50%; background: var(--green); }
  .hero__media img { object-position: 14% 50%; }
  .btn-call__text strong { font-size: 18px; }
}

@media (min-width: 901px) and (max-width: 1366px) {
  .memo--hero .memo__text { font-size: 17px; }
  .memo--hero { bottom: 32px; }
}

@media (max-width: 1100px) {
  .flow__list li { grid-template-columns: 64px minmax(200px, 260px) 1fr; }
  .far__steps li { font-size: 17px; padding-inline: 12px; }
  .area__body { grid-template-columns: 1fr; }
  .area__map { max-width: 300px; }
}

@media (max-width: 900px) {
  .pc-only { display: none; }
  /* 最初の画面: 写真を上に全幅 → 見出し → 電話 */
  .hero__media { position: relative; left: auto; right: auto; width: 100%; aspect-ratio: 16 / 9; -webkit-mask-image: none; mask-image: none; }
  .hero__inner { min-height: 0; padding-block: 36px 56px; }
  .hero__copy { max-width: 640px; }
  .memo--hero { left: 16px; top: 16px; right: auto; bottom: auto; }
  .worry__grid, .search__grid, .price__grid { grid-template-columns: 1fr; }
  .worry__grid { gap: 32px; }
  .search__grid { gap: 64px; }
  .memo--search { right: 12px; bottom: -26px; }
  .price__desk { margin-right: 0; margin-inline: calc(var(--gutter) * -1); padding: 48px var(--gutter); }
  .policy__list li { padding-inline: 14px; }
  .far__steps ul { grid-template-columns: 1fr 1fr; row-gap: 14px; }
  .far__steps li:nth-child(3) { border-left: 0; }
  .flow__list li { grid-template-columns: 56px 1fr; row-gap: 4px; padding-inline: 8px; }
  .flow__list li .flow__no { grid-row: span 2; align-self: start; }
  .flow__list .is-key { padding-inline: 12px; }
  .faq__list > div { grid-template-columns: 1fr; row-gap: 6px; }
  .faq__list dd { padding-left: 40px; }
  .info__grid { grid-template-columns: 1fr; gap: 56px; }
  .area { padding-right: 0; }
  .company { padding-left: 0; border-left: 0; }
  .closing__media { position: relative; width: 100%; aspect-ratio: 16 / 9; -webkit-mask-image: none; mask-image: none; }
  .closing__inner { min-height: 0; padding-block: 48px 64px; }
  .far__media { height: auto; background: var(--green-deep); }
  .far__media .media__inner { height: auto; aspect-ratio: 16 / 9; }
  .far__media img { object-position: 100% 50%; }
  .hero__media img { object-position: 55% 45%; }
  .far__media .media__inner::after { display: none; }
  .far__copy { position: static; transform: none; max-width: none; padding: 34px var(--gutter) 38px; background: var(--green-deep); }
  .memo--far { top: 18px; left: 16px; right: auto; }
}

@media (max-width: 760px) {
  :root { --header-h: 62px; }
  body { font-size: 16px; padding-bottom: 76px; }
  .sp-only { display: inline; }
  .fictional-banner { font-size: 13px; padding: 6px 14px; line-height: 1.55; }
  .banner-more { display: none; }
  .header-row { gap: 12px; }
  .brand__mark { width: 28px; height: 28px; }
  .brand__text small { font-size: 14px; }
  .brand__text strong { font-size: 22px; }
  .header-tel, .header-web { display: none; }
  .header-call-sp {
    display: inline-flex; align-items: center; gap: 6px; margin-left: auto;
    min-height: 44px; padding: 6px 14px; border-radius: var(--radius);
    background: var(--green); color: #fff; text-decoration: none; font-weight: 700; font-size: 15px;
  }
  .header-call-sp svg { width: 20px; height: 20px; }
  .hero__media { aspect-ratio: 16 / 10; }
  .hero__media .media__note { top: 10px; right: 10px; }
  .hero__inner { padding-block: 26px 44px; }
  .hero__kicker { font-size: 13.5px; letter-spacing: 0.08em; }
  .hero__title { margin-top: 12px; font-size: clamp(29px, 8vw, 36px); line-height: 1.45; letter-spacing: 0.04em; }
  .hero__sub { margin-top: 14px; font-size: 16px; line-height: 1.85; }
  .facts { margin-top: 14px; gap: 2px 16px; font-size: 15px; }
  .facts li::before, .facts li + li::before { content: ""; width: 6px; height: 6px; margin: 0 8px 0 0; border-radius: 50%; background: var(--green); }
  .hero__cta { margin-top: 22px; align-items: stretch; }
  .btn-call { min-height: 72px; grid-template-columns: auto minmax(0, 1fr) 20px; column-gap: 10px; padding: 10px 12px 10px 12px; }
  .btn-call__icon { width: 42px; height: 42px; }
  .btn-call__arrow { width: 20px; height: 20px; }
  .btn-call__text strong { font-size: 16.5px; letter-spacing: 0.02em; }
  .btn-call__text small { font-size: 14px; letter-spacing: 0.03em; }
  .link-line { align-self: flex-start; font-size: 15.5px; }
  .memo { padding: 10px 16px 12px; max-width: 240px; background-size: auto; background-image: repeating-linear-gradient(to bottom, transparent 0, transparent 27px, rgba(31, 74, 60, 0.14) 27px, rgba(31, 74, 60, 0.14) 28px); background-position: 0 10px; }
  .memo__text { font-size: 15.5px; line-height: 28px; }
  .memo__tag { font-size: 13.5px; right: -6px; bottom: -17px; padding: 1px 8px; }
  .subnav ul { justify-content: space-between; padding-inline: max(6px, calc(var(--gutter) - 14px)); }
  .subnav li { flex: 1 1 auto; }
  .subnav a { padding: 0 6px; font-size: 14px; }
  .subnav__long { display: none; }
  .memo--hero { left: 12px; top: 12px; }
  .worry__title { font-size: 26px; }
  .worry__list li { font-size: 16.5px; padding: 13px 2px; gap: 12px; }
  .worry__list li::before { flex-basis: 12px; }
  .search__media { aspect-ratio: 4 / 3.4; }
  .memo--search { right: 10px; bottom: -22px; }
  .lead { font-size: 16.5px; }
  .search__list li { font-size: 16px; padding-right: 6px; }
  .search__list li:nth-child(even) { padding-left: 12px; }
  .policy__list { grid-template-columns: 1fr; margin-top: 36px; }
  .policy__list li { display: grid; grid-template-columns: 84px 1fr; column-gap: 18px; text-align: left; align-items: start; padding: 22px 0; }
  .policy__list li + li { border-left: 0; border-top: 1px solid var(--line-strong); }
  .policy__list li { grid-template-columns: 64px 1fr; column-gap: 14px; }
  .policy__list .seal { grid-row: span 2; width: 64px; height: 64px; font-size: 28px; box-shadow: inset 0 0 0 4px var(--white), inset 0 0 0 5px rgba(31, 74, 60, 0.35); }
  .policy__list h3 { margin-top: 2px; font-size: 21px; }
  .policy__list p { margin-top: 6px; font-size: 16px; letter-spacing: 0.02em; }
  .policy__works { margin-top: 28px; justify-content: flex-start; }
  .policy__works dd { text-align: left; }
  .price-table .yen { font-size: 24px; }
  .price-table th { font-size: 16px; }
  .price__vary { padding: 20px 18px; }
  .price__body .btn-fill { width: 100%; }
  .price__desk { padding: 36px 14px; }
  .estimate { padding: 26px 18px 22px; transform: none; }
  .estimate__title { font-size: 23px; letter-spacing: 0.3em; }
  .stamp { top: 18px; right: 14px; font-size: 16px; }
  .bill thead { display: none; }
  .bill, .bill tbody, .bill tfoot { display: block; width: 100%; }
  .bill tbody tr, .bill tfoot tr { display: grid; grid-template-columns: 1fr auto; align-items: baseline; column-gap: 12px; padding: 10px 4px; border-bottom: 1px solid #E3DACB; }
  .bill tbody th, .bill tbody td { padding: 0; border: 0; }
  .bill tbody td:not(.num) { grid-column: 1 / -1; grid-row: 2; font-size: 14.5px; margin-top: 2px; }
  .bill tbody td.num { grid-row: 1; grid-column: 2; }
  .bill tfoot tr { border-top: 2px solid var(--ink); border-bottom: 0; }
  .bill tfoot th, .bill tfoot td { padding: 0; border: 0; }
  .bill tfoot .num { font-size: 23px; }
  .far__media .media__inner { aspect-ratio: 4 / 3; }
  .far__copy { padding: 30px var(--gutter) 34px; }
  .far__title { font-size: min(6.2vw, 25px); }
  .far__sub { font-size: 16px; margin-top: 12px; }
  .memo--far { top: 12px; left: 12px; }
  .far__steps { padding-block: 30px 52px; }
  .far__steps ul { grid-template-columns: 1fr; text-align: left; row-gap: 0; border-top: 1px solid var(--line-strong); }
  .far__steps li, .far__steps li + li { border-left: 0; border-bottom: 1px solid var(--line-strong); padding: 12px 4px; font-size: 17px; }
  .far__steps .link-arrow { margin-top: 20px; text-align: left; }
  .flow__list li { grid-template-columns: 48px 1fr; column-gap: 14px; padding: 18px 4px; }
  .flow__no { width: 42px; height: 42px; font-size: 18px; }
  .flow__list h3 { font-size: 19px; }
  .flow__list .is-key h3 { font-size: 21px; }
  .flow__list p { font-size: 16px; }
  .faq__list > div { padding: 18px 2px; }
  .faq__list dt { font-size: 17px; padding-left: 36px; }
  .faq__list dd { padding-left: 36px; font-size: 16px; }
  .faq__cta { width: 100%; }
  .company__table > div { grid-template-columns: 1fr; gap: 0; padding: 12px 16px; }
  .closing__media { aspect-ratio: 4 / 3; }
  .memo--closing { right: 12px; bottom: 26px; }
  .closing__title { font-size: min(6.6vw, 27px); }
  .closing__tel { font-size: clamp(32px, 9vw, 38px); }
  .closing__time .nowrap { display: block; }
  .closing__sep { display: none; }
  .closing__actions { flex-direction: column; }
  .closing__actions .btn-fill, .closing__actions .btn { width: 100%; }
  .footer__nav { display: grid; grid-template-columns: repeat(2, auto); gap: 0 24px; }
  .footer__notice { font-size: 14px; }
  .fixed-bar {
    transition: transform .35s ease;
    display: grid; grid-template-columns: 1.15fr 1fr; gap: 8px;
    position: fixed; left: 0; right: 0; bottom: 0; z-index: 60;
    padding: 8px 10px calc(8px + env(safe-area-inset-bottom));
    background: rgba(246, 241, 232, 0.97); border-top: 1px solid var(--line-strong);
  }
  .fixed-bar a { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 54px; border-radius: var(--radius); text-decoration: none; font-weight: 700; font-size: 15.5px; letter-spacing: 0.04em; white-space: nowrap; }
  .fixed-bar svg { width: 22px; height: 22px; flex-shrink: 0; }
  .fixed-bar__call { background: var(--green); color: #fff; }
  .fixed-bar__web { border: 1.5px solid var(--green); color: var(--green); background: var(--white); }
}

@media (max-width: 380px) {
  .btn-call__text strong { font-size: 15.5px; letter-spacing: 0; }
  .brand__mark { width: 24px; height: 24px; }
  .brand__text small { font-size: 13px; }
  .brand__text strong { font-size: 20px; }
  .header-call-sp { padding: 6px 10px; }
  .hero__title { font-size: min(8.2vw, 29px); }
  .h2 { font-size: 25px; }
  .price-table th { white-space: normal; }
  .price-table th, .price-table td { padding: 13px 4px; }
  .price-table .yen { font-size: 22px; }
  .flow__list h3 { font-size: 17.5px; }
  .btn-call__text strong, .btn-call__text small { white-space: normal; }
  .btn-call__text small { display: flex; flex-direction: column; }
  .btn-call__text .sep { display: none; }
  .btn-fill { padding: 12px 16px; gap: 8px; font-size: 16.5px; }
  .btn-fill > svg:first-child { display: none; }
  /* 紙片は文字を小さくせず（14px）、余白を詰めて収める */
  .memo { max-width: 232px; padding: 8px 12px 10px; background-image: repeating-linear-gradient(to bottom, transparent 0, transparent 25px, rgba(31, 74, 60, 0.14) 25px, rgba(31, 74, 60, 0.14) 26px); background-position: 0 8px; }
  .memo__text { font-size: 14px; line-height: 26px; letter-spacing: 0.03em; }
  .memo__tag { font-size: 13.5px; }
  .fixed-bar a { font-size: 14.5px; gap: 6px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .js [data-inview] .media__inner, .js .hero__media .media__inner { clip-path: none; }
  .js .memo, .js [data-inview] .memo { opacity: 1; transform: rotate(var(--memo-rot)); }
  .js .far__media[data-inview] .far__copy { opacity: 1; }
  .js [data-inview] tr, .js [data-inview] li { opacity: 1; transform: none; }
}


/* ---- 自社サイトに置いたときだけの追加（BtoB支援事業/site-v2/a/work/sync_samples.py が足す・元のフォルダには無い） ---- */
.fictional-banner__links { display: inline-flex; flex-wrap: wrap; justify-content: center; gap: 0.2em 1.2em; margin-left: 0.6em; }
.fictional-banner__links a { color: #fff; font-weight: 700; text-decoration: underline; text-underline-offset: 0.16em; }
.demo-notice__links { display: flex; flex-wrap: wrap; gap: 10px; margin: 18px 0 0; }
.demo-notice__btn { display: inline-flex; align-items: center; justify-content: center; min-height: 46px; padding: 8px 18px;
  border: 1.5px solid var(--green); border-radius: 6px; background: transparent; color: var(--green); font-weight: 700; text-decoration: none; }
.demo-notice__btn--primary { background: var(--green); color: #fff; }
