@charset "UTF-8";
/* ============================================================
   Web家(ウェブヤ) 共通スタイル  v3(高解像度カンプ k9.png 準拠・トップ再実装)
   正: 08_design/design-spec.md(v3)/ colors.md / sections/*.png
   ネイビー #0C1A28 × オレンジ #DE5D38 / クリーム #F8F7F4
   単一ファイル運用(ルート相対)。トークンはCSSカスタムプロパティ化。
   ============================================================ */

/* ===== 1. デザイントークン(colors.md v3 実測値が正) ===== */
:root {
  /* v3 実測配色 */
  --color-navy-base:          #0C1A28;
  --color-cream-base:         #F8F7F4;
  --color-cream-card:         #F6F3EE;
  --color-accent-orange:      #DE5D38;
  --color-accent-orange-safe: #C1451F;
  --color-ghost-number:       #ECE6E2;
  --color-heading:            #14181D;
  --color-table-header:       #071523;
  --color-process-bar-fill:   #838486;
  --color-process-bar-track:  #D1CECB;
  --color-icon-stroke:        #363431;
  --color-footer-link:        #BAC3C4;
  --color-footer-copyright:   #95A0AA;
  --color-white:              #FFFFFF;
  --color-table-row-bg:       #FCFBF8;

  /* 後方互換エイリアス(下層ページCSSが参照)= v3値に更新 */
  --navy-950: #0C1A28;
  --navy-800: #16283A;
  --accent-orange: #DE5D38;         /* 装飾・大きい数字・ボタン塗り(実測どおり) */
  --accent-orange-deep: #DE5D38;    /* ボタン塗り: 実測オレンジをそのまま使用 */
  --accent-orange-aa: #C1451F;      /* クリーム/白背景上の小さい文字・リンク(コントラスト是正) */
  --accent-orange-soft: #E8825F;
  --accent-warm: #DE5D38;
  --accent-warm-aa: #C1451F;
  --line-green: #DE5D38;
  --line-green-solid: #DE5D38;

  --text-heading: #14181D;
  --text-body: #33323A;
  --text-muted: #6B6B72;
  --text-muted-strong: #565A63;
  --on-dark: #FFFFFF;
  --on-dark-mute: #9BA6B8;

  --bg-white: #FFFFFF;
  --bg-warm: #F8F7F4;
  --bg-subtle: #F8F7F4;

  --border-soft: #E6E2D9;
  --border-table: #DDD8CE;

  --section-num-light: #ECE6E2;
  --section-num-dark: rgba(255,255,255,.10);
  --section-num-faint: #ECE6E2;

  /* フォント */
  --font-heading: "Zen Kaku Gothic New", "Noto Sans JP", sans-serif;
  --font-body: "Noto Sans JP", "Zen Kaku Gothic New", sans-serif;

  /* レイアウト(カンプ幅1440px基準:左右パディング約64px・content約1312px) */
  --container: 1440px;
  --gutter: clamp(20px, 4.4vw, 64px);
  --section-y: clamp(56px, 6vw, 76px);
  --radius-card: 11px;   /* 区分C カード(services/news)/ FAQ行 */
  --radius-tag: 4px;
  --shadow-card: 0 4px 18px rgba(12, 26, 40, .06);
  --shadow-card-hover: 0 12px 30px rgba(12, 26, 40, .12);
  --shadow-faq: 0 2px 8px rgba(12, 26, 40, .06);
  --header-h: 84px;
}

/* ===== 2. リセット・ベース ===== */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font-body);
  font-weight: 400;
  color: var(--text-body);
  background: var(--color-cream-base);
  line-height: 1.7;
  font-size: 16px;
  letter-spacing: .01em;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--accent-orange-aa); text-decoration: none; }
a:hover { text-decoration: underline; }
h1, h2, h3, h4 { font-family: var(--font-heading); color: var(--color-heading); line-height: 1.32; font-weight: 700; margin: 0; }
p { margin: 0 0 1em; }
ul, ol { margin: 0; padding: 0; }
li { list-style: none; }
table { border-collapse: collapse; width: 100%; }
button { font-family: inherit; cursor: pointer; }
:focus-visible { outline: 3px solid var(--accent-orange-aa); outline-offset: 2px; border-radius: 3px; }

.skip-link {
  position: absolute; left: 8px; top: -60px; z-index: 2000; line-height: 1;
  background: var(--color-accent-orange); color: #fff; padding: 10px 18px; border-radius: 6px;
  transition: top .2s ease;
}
.skip-link:focus { top: 8px; text-decoration: none; }

.container { max-width: var(--container); margin-inline: auto; padding-inline: var(--gutter); }
.container-narrow { max-width: 860px; margin-inline: auto; padding-inline: var(--gutter); }
.visually-hidden {
  position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

/* ===== 3. セクション土台(下層ページ用) ===== */
.section { padding-block: var(--section-y); position: relative; }
.section--white { background: var(--color-cream-base); }
.section--subtle { background: var(--color-cream-base); }
.section--dark { background: var(--color-navy-base); color: var(--on-dark); }
.section--dark h1, .section--dark h2, .section--dark h3 { color: var(--on-dark); }

/* ===== 3層見出しブロック(ゴースト数字 / eyebrow / H2)=== design-spec 1-3・横断パターン4 ===== */
.sec-head {
  position: relative;
  padding-top: clamp(14px, 1.6vw, 24px);
  padding-left: clamp(84px, 9.5vw, 138px);
  margin-bottom: clamp(24px, 3vw, 38px);
}
.sec-num {
  position: absolute; left: 0; top: 0; z-index: 0;
  font-family: var(--font-heading); font-weight: 900;
  font-size: clamp(62px, 7vw, 100px); line-height: .82;
  color: var(--color-ghost-number); letter-spacing: -.01em;
  pointer-events: none; user-select: none;
}
.section--dark .sec-num, .s-about .sec-num, .s-contact .sec-num, .final-cta .sec-num { color: var(--section-num-dark); }
.sec-tag {
  display: block; font-family: var(--font-body); font-weight: 700;
  font-size: 12.5px; letter-spacing: .14em; color: var(--accent-orange-aa);
  margin-bottom: 12px; text-transform: uppercase;
}
.section--dark .sec-tag, .s-about .sec-tag, .s-contact .sec-tag, .final-cta .sec-tag { color: var(--color-accent-orange); }
.sec-title { font-size: clamp(1.55rem, 3vw, 2.05rem); font-weight: 900; letter-spacing: .01em; line-height: 1.28; color: var(--color-heading); }
.section--dark .sec-title, .s-about .sec-title, .s-contact .sec-title, .final-cta .sec-title { color: #fff; }
.sec-lead { margin-top: 16px; max-width: 40em; color: var(--color-heading); font-size: 14px; line-height: 1.8; }
.section--dark .sec-lead, .s-about .sec-lead, .s-contact .sec-lead, .final-cta .sec-lead { color: #D7DDE6; }

/* 2カラム(下層で使用) */
.split { display: grid; grid-template-columns: minmax(260px, 380px) 1fr; gap: clamp(28px, 5vw, 64px); align-items: start; }
.split > *, .about-split > *, .final-cta__inner > *, .contact-layout > * { min-width: 0; }

/* ===== 共通CTA(.final-cta / 下層18ページ共通・footer直前) ===== */
/* トップの .s-contact と同じ紺背景の最終CTA。左=見出し+リード / 右=ボタン群+注記。
   design-spec 3-2「最終CTA」・lower-design-policy 1章「共通CTA」に整合。トップは .s-contact に置換済みのため本ルールは下層専用。 */
.final-cta { background: var(--color-navy-base); color: #fff; overflow: hidden; }
.final-cta.section { padding-block: clamp(40px, 5vw, 60px); }  /* .s-contact と同等の密度感。間延びさせない */
.final-cta .sec-head { padding-top: 0; padding-left: 0; margin-bottom: 0; }  /* ゴースト数字を持たないため左インデントを解除 */
.final-cta .sec-head ~ p { margin: 14px 0 0; max-width: 34em; color: #D7DDE6; font-size: 14px; line-height: 1.8; }
.final-cta__inner { display: grid; grid-template-columns: 1fr auto; gap: clamp(28px, 4vw, 56px); align-items: center; }
.final-cta__actions { display: flex; flex-direction: column; gap: 12px; min-width: 300px; }
.final-cta__actions .btn { width: 100%; }
.final-cta .btn--line-ghost { background: #06C755; color: #fff; border-color: #06C755; }
.final-cta .btn--line-ghost:hover { background: #05a446; border-color: #05a446; }
.final-note { margin-top: 14px; }
.final-note p { margin: 0 0 4px; font-size: 12px; line-height: 1.7; color: var(--on-dark-mute); }
.final-note p:last-child { margin-bottom: 0; }

/* ===== 4. ボタン ===== */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  font-family: var(--font-body); font-weight: 700; font-size: 15px; line-height: 1.2;
  padding: 15px 26px; border-radius: 4px; border: 1.5px solid transparent;
  transition: background-color .2s ease, color .2s ease, border-color .2s ease, box-shadow .2s ease, transform .2s ease;
  cursor: pointer; text-align: center; white-space: nowrap;
}
.btn:hover { text-decoration: none; }
.btn .arrow { transition: transform .25s ease; }
.btn:hover .arrow { transform: translateX(4px); }
.btn--lg { padding: 17px 30px; font-size: 16px; }
.btn--block { width: 100%; }

/* プライマリ(オレンジ塗り・白文字太字16px。実測 #DE5D38) */
.btn--primary { background: var(--color-accent-orange); color: #fff; border-color: var(--color-accent-orange); }
.btn--primary:hover { background: #C94A2A; box-shadow: 0 8px 22px rgba(222, 93, 56, .3); }

/* アウトライン(オレンジ枠・オレンジ文字) */
.btn--outline { background: transparent; color: var(--accent-orange-aa); border-color: var(--accent-orange-aa); }
.btn--outline:hover { background: rgba(193, 69, 31, .07); }

/* LINE 塗り(v3はオレンジ統一) */
.btn--line { background: var(--color-accent-orange); color: #fff; border-color: var(--color-accent-orange); }
.btn--line:hover { background: #C94A2A; box-shadow: 0 8px 22px rgba(222, 93, 56, .3); }
.form-aside .btn--line { background: #06C755; border-color: #06C755; }
.form-aside .btn--line:hover { background: #05a446; border-color: #05a446; box-shadow: none; }

/* 紺背景上の枠ボタン(白枠+白文字) */
.btn--line-ghost { background: transparent; color: #fff; border-color: rgba(255, 255, 255, .8); }
.btn--line-ghost:hover { background: rgba(255, 255, 255, .1); }

.btn__icon { width: 20px; height: 20px; flex: 0 0 auto; }

/* テキストリンク(矢印スライド) */
.link-arrow { display: inline-flex; align-items: center; gap: 6px; font-weight: 700; color: var(--accent-orange-aa); }
.link-arrow .arrow { transition: transform .25s ease; }
.link-arrow:hover { text-decoration: none; }
.link-arrow:hover .arrow { transform: translateX(4px); }

/* ===== 5. ヘッダー(全ページ共通・navy 同化) ===== */
.site-header {
  position: sticky; top: 0; z-index: 1000;
  background: var(--color-navy-base);
  transition: background .3s ease;
}
.header-inner { display: flex; align-items: center; gap: clamp(16px, 2vw, 30px); height: var(--header-h); transition: height .3s ease; }
.site-header.is-shrink .header-inner { height: 64px; }

.brand { display: inline-flex; flex-direction: column; justify-content: center; flex: 0 0 auto; line-height: 1; }
.brand:hover { text-decoration: none; }
.brand__logo { height: 40px; width: auto; display: block; transition: height .3s ease; }
.site-header.is-shrink .brand__logo { height: 33px; }
.footer-brand .brand__logo { height: 46px; }
.brand__name { font-family: var(--font-heading); font-weight: 900; font-size: 26px; color: #fff; letter-spacing: .01em; }
.brand__yomi { font-size: 9.5px; color: var(--on-dark-mute); letter-spacing: .28em; margin-top: 3px; }

.gnav { margin-inline: auto; }
.gnav__list { display: flex; align-items: center; gap: clamp(12px, 1.6vw, 24px); }
.gnav__link { position: relative; color: #E3E7EE; font-size: 11.5px; font-weight: 500; padding: 6px 2px; letter-spacing: .02em; }
.gnav__link::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -2px; height: 2px;
  background: var(--color-accent-orange); transform: scaleX(0); transform-origin: left; transition: transform .25s ease;
}
.gnav__link:hover { color: #fff; text-decoration: none; }
.gnav__link:hover::after, .gnav__link[aria-current="page"]::after { transform: scaleX(1); }
.gnav__link[aria-current="page"] { color: #fff; }

.header-cta { display: flex; align-items: center; gap: 10px; flex: 0 0 auto; }
.header-cta .btn { padding: 10px 16px; font-size: 12px; border-radius: 3px; }
/* ヘッダー専用配色(design-spec 3-1): 主=白地/紺文字、副=オレンジ塗り/白文字 */
.header-cta .btn--primary { background: #fff; color: var(--color-navy-base); border-color: #fff; }
.header-cta .btn--primary:hover { background: #E9EDF2; box-shadow: none; }
.header-cta .btn--line-ghost { background: #06C755; color: #fff; border-color: #06C755; }
.header-cta .btn--line-ghost:hover { background: #05a446; }

/* ハンバーガー */
.hamburger { display: none; width: 44px; height: 44px; border: none; background: transparent; position: relative; margin-left: auto; }
.hamburger span { position: absolute; left: 10px; right: 10px; height: 2px; background: #fff; transition: transform .3s ease, opacity .3s ease, top .3s ease; }
.hamburger span:nth-child(1) { top: 15px; }
.hamburger span:nth-child(2) { top: 21px; }
.hamburger span:nth-child(3) { top: 27px; }
.hamburger[aria-expanded="true"] span:nth-child(1) { top: 21px; transform: rotate(45deg); }
.hamburger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.hamburger[aria-expanded="true"] span:nth-child(3) { top: 21px; transform: rotate(-45deg); }

/* SPフルスクリーンメニュー */
.mobile-menu {
  position: fixed; inset: 0; z-index: 999; background: var(--color-navy-base);
  padding: calc(var(--header-h) + 24px) var(--gutter) 40px;
  transform: translateY(-100%); transition: transform .4s cubic-bezier(.22,1,.36,1);
  overflow-y: auto; visibility: hidden;
}
.mobile-menu.is-open { transform: translateY(0); visibility: visible; }
.mobile-menu__list { display: flex; flex-direction: column; gap: 4px; }
.mobile-menu__list a { color: #fff; font-size: 18px; font-weight: 700; padding: 14px 4px; border-bottom: 1px solid rgba(255,255,255,.08); display: block; }
.mobile-menu__sub a { font-size: 15px; font-weight: 500; color: var(--on-dark-mute); padding-left: 16px; }
.mobile-menu__cta { display: flex; flex-direction: column; gap: 12px; margin-top: 28px; }
.mobile-menu__cta .btn--line { background: #06C755; border-color: #06C755; color: #fff; }
.mobile-menu__cta .btn--line:hover { background: #05a446; box-shadow: none; }

/* ============================================================
   トップページ・セクション(design-spec v3 / sections/*.png 準拠)
   ============================================================ */

/* ===== 01. hero(navy 全面ブリード・左テキスト/右斜め写真) ===== */
.hero {
  position: relative; background: var(--color-navy-base); color: #fff; overflow: hidden;
}
.hero .container { position: relative; z-index: 2; }
.hero__copy { padding-top: clamp(56px, 6vw, 84px); padding-bottom: clamp(40px, 4.6vw, 56px); max-width: 46%; }
.hero__title {
  font-family: var(--font-heading); font-weight: 900; color: #fff;
  font-size: clamp(2rem, 3.5vw, 3.05rem); line-height: 1.44; letter-spacing: .01em; margin-bottom: 22px;
}
.hero__title .l { display: block; white-space: nowrap; }
.hero__title .accent { color: var(--color-accent-orange); white-space: nowrap; }
.hero__sub { color: #E7EBF1; font-size: clamp(14px, 1.15vw, 15.5px); line-height: 1.85; margin-bottom: clamp(34px, 4vw, 48px); }
.hero__sub .price { color: var(--color-accent-orange); font-weight: 800; font-family: var(--font-heading); font-size: 2.1em; line-height: 1; }

/* 実績バッジ3点(月桂樹ブラケット《 》で挟む) */
.stat-strip { position: relative; display: flex; flex-wrap: wrap; gap: clamp(10px, 1.6vw, 22px); margin-bottom: clamp(30px, 3.6vw, 40px); }
.stat-strip .stat { position: relative; display: flex; flex-direction: column; align-items: center; gap: 4px; text-align: center; line-height: 1.15; padding-inline: clamp(22px, 2.2vw, 30px); }
.stat::before, .stat::after {
  content: ""; position: absolute; top: 50%; transform: translateY(-50%);
  width: clamp(16px, 1.6vw, 21px); height: clamp(46px, 5.4vw, 58px);
  background-position: center; background-repeat: no-repeat; background-size: contain; opacity: .8; pointer-events: none;
}
.stat::before { left: 0; background-image: url(../images/laurel-left.webp); }
.stat::after { right: 0; background-image: url(../images/laurel-right.webp); }
.stat__label { font-size: 11px; letter-spacing: .03em; color: var(--on-dark-mute); }
.stat__num { font-family: var(--font-heading); font-weight: 900; font-size: clamp(1.2rem, 2vw, 1.5rem); color: #fff; }

.hero__cta { display: flex; flex-wrap: wrap; gap: 14px; }
.hero__cta .btn--primary { padding: 16px 30px; }
.hero__cta .btn--dark-ghost { background: #06C755; color: #fff; border-color: #06C755; padding: 16px 26px; }
.hero__cta .btn--dark-ghost:hover { background: #05a446; border-color: #05a446; }

/* 右カラム写真(区分A・斜めカット・角丸なし・全面ブリード) */
.hero__media {
  position: absolute; top: 0; bottom: 0; right: 40px; width: 56%; z-index: 1;
  clip-path: polygon(20% 0, 100% 0, 100% 100%, 3% 100%);
}
.hero__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
/* hero 右端の縦書き SCROLL 装飾帯 */
.hero__scroll {
  position: absolute; top: 0; bottom: 0; right: 0; width: 40px; z-index: 2;
  display: flex; align-items: center; justify-content: center; gap: 14px; flex-direction: column;
  color: rgba(255,255,255,.6); pointer-events: none;
}
.hero__scroll span { writing-mode: vertical-rl; text-orientation: mixed; font-size: 10px; letter-spacing: .32em; font-weight: 500; }
.hero__scroll::after { content: ""; width: 1px; height: 54px; background: rgba(255,255,255,.35); }

/* ===== 02. problems(cream・4カラム悩みリスト+右に縦帯写真) ===== */
.s-problems { position: relative; background: var(--color-cream-base); padding-block: clamp(52px, 5.6vw, 72px); overflow: hidden; }
.s-problems .container { position: relative; }
.problems__body { max-width: 82%; }
.problems__cols { display: grid; grid-template-columns: repeat(4, 1fr); margin-top: clamp(24px, 3vw, 36px); }
.problems__col { padding: 2px clamp(14px, 1.6vw, 24px); }
.problems__col:first-child { padding-left: 0; }
.problems__col + .problems__col { border-left: 1px solid rgba(20,24,29,.09); }
.problems__col .num { display: block; font-family: var(--font-heading); font-weight: 900; font-size: clamp(1.35rem, 1.7vw, 1.5rem); line-height: 1; color: var(--color-accent-orange); margin-bottom: 16px; }
.problems__col p { margin: 0; font-size: 13.5px; color: var(--color-heading); line-height: 1.65; }
/* 右の縦帯写真(区分B・角丸なし・全面ブリード) */
.problems__photo { position: absolute; top: 0; right: 0; bottom: 0; width: 16.5%; }
.problems__photo img { width: 100%; height: 100%; object-fit: cover; display: block; }

/* ===== 03. price(cream・左写真/右テキスト+料金表) ===== */
.s-price { position: relative; background: var(--color-cream-base); padding-block: clamp(36px, 3.8vw, 48px); overflow: hidden; }
.s-price .container { position: relative; }
.price__photo { position: absolute; top: 0; left: 0; bottom: 0; width: 26%; }
.price__photo img { width: 100%; height: 100%; object-fit: cover; display: block; }
.price__body { margin-left: 30%; }
.price-lead { max-width: 44em; color: var(--color-heading); font-size: 14px; line-height: 1.75; margin: 0 0 clamp(16px, 2.2vw, 24px); }
.price-lead .marker { font-weight: 700; }
/* 料金プラン表 */
.price-table-wrap { overflow-x: auto; -webkit-overflow-scrolling: touch; }
.price-table { min-width: 560px; background: var(--color-table-row-bg); border: 1px solid var(--border-table); }
.price-table thead th {
  background: var(--color-table-header); color: #fff; font-weight: 700; font-size: 13px;
  padding: 12px 18px; text-align: left; white-space: nowrap; letter-spacing: .02em;
}
.price-table tbody th, .price-table tbody td {
  padding: 12px 18px; border-top: 1px solid #E7E3DC; font-size: 13px; text-align: left; vertical-align: middle; color: var(--color-heading);
}
.price-table tbody th { font-weight: 700; white-space: nowrap; }
.price-table .plan-price { font-family: var(--font-heading); font-weight: 700; }
.price-table col.col-feat { width: 42%; }
.badge-reco {
  display: inline-block; font-family: var(--font-body); font-size: 10px; font-weight: 700;
  color: #fff; background: var(--accent-orange-aa); border-radius: 999px; padding: 1px 7px; margin-left: 7px; vertical-align: middle;
}
.price-foot { display: flex; flex-wrap: wrap; gap: 10px 20px; justify-content: space-between; align-items: baseline; margin-top: 14px; }
.price-note { font-size: 11px; color: var(--text-muted-strong); margin: 0; max-width: 34em; }
.price-foot .link-arrow { color: var(--accent-orange-aa); font-size: 12.5px; margin-left: auto; }

/* ===== 04. process(cream・左テキスト/右クリームカード+4ステップ+進捗バー) ===== */
.s-process { background: var(--color-cream-base); padding-block: clamp(34px, 3.6vw, 46px); overflow: hidden; }
.s-process .container { display: grid; grid-template-columns: 40% 1fr; gap: 0; align-items: stretch; }
.process__text { padding-right: clamp(24px, 3vw, 44px); }
.process__text .sec-head { margin-bottom: clamp(14px, 1.8vw, 20px); padding-left: clamp(64px, 7vw, 92px); }
.process__lead { color: var(--color-heading); font-size: 13.5px; line-height: 1.75; margin: 0 0 clamp(14px, 1.8vw, 20px); max-width: 30em; }
.process__lead b { color: var(--accent-orange-aa); font-family: var(--font-heading); font-weight: 900; }
/* 右のクリームカード(区分:背景色だけ変えた箱・角丸なし・右端フルブリード) */
.process__panel {
  position: relative; background: var(--color-cream-card);
  padding: clamp(24px, 2.6vw, 32px) clamp(26px, 3vw, 44px) clamp(36px, 4vw, 46px);
  margin-right: calc(-1 * var(--gutter)); /* 右端フルブリード */
}
.proc-flow { display: grid; grid-template-columns: repeat(4, 1fr); gap: clamp(8px, 1.4vw, 20px); }
.proc-step { position: relative; }
.proc-step__icon { display: block; width: 38px; height: 38px; margin-bottom: clamp(12px, 1.4vw, 16px); color: var(--color-icon-stroke); }
.proc-step__icon svg { width: 38px; height: 38px; display: block; }
.proc-step h3 { font-size: 14px; font-weight: 700; margin-bottom: 8px; color: var(--color-heading); font-family: var(--font-body); }
.proc-step p { font-size: 12px; color: var(--text-muted-strong); line-height: 1.65; margin: 0; }
/* コネクタ:ラベル行にオレンジ短線+丸ドット(●━ 形状) */
.proc-step:not(:last-child)::after {
  content: ""; position: absolute; top: 60px; right: -12px; width: 24px; height: 2px; background: var(--color-accent-orange);
}
.proc-step:not(:last-child)::before {
  content: ""; position: absolute; top: 56px; right: -14px; width: 8px; height: 8px; border-radius: 50%; background: var(--color-accent-orange); z-index: 1;
}
/* 進捗バー(左40%濃グレー / 右60%淡グレー) */
.proc-bar { position: absolute; left: clamp(26px, 3vw, 44px); right: clamp(26px, 3vw, 44px); bottom: clamp(22px, 2.6vw, 30px); height: 4px; background: var(--color-process-bar-track); }
.proc-bar::before { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 40%; background: var(--color-process-bar-fill); }

/* ===== 05. services(cream・左テキスト/右6カード ベントーグリッド) ===== */
.s-services { background: var(--color-cream-base); padding-block: clamp(44px, 4.6vw, 58px); overflow: hidden; }
.s-services .container { display: grid; grid-template-columns: 35% 1fr; gap: clamp(24px, 3vw, 48px); align-items: start; }
.services__text .sec-lead { max-width: 24em; }
.services__text .btn { margin-top: clamp(20px, 3vw, 34px); }
.bento-grid {
  display: grid; grid-template-columns: repeat(6, 1fr);
  grid-auto-rows: clamp(112px, 11vw, 146px); gap: 10px;
  margin-right: calc(-1 * var(--gutter)); /* 右端フルブリード */
}
.bento-grid > li { display: flex; min-width: 0; }
.bento-grid > li > .bento-card { flex: 1; min-width: 0; }
.bento-grid > li:nth-child(1) { grid-column: 1 / 4; grid-row: 1; }
.bento-grid > li:nth-child(2) { grid-column: 4 / 7; grid-row: 1; }
.bento-grid > li:nth-child(3) { grid-column: 1 / 3; grid-row: 2; }
.bento-grid > li:nth-child(4) { grid-column: 3 / 5; grid-row: 2; }
.bento-grid > li:nth-child(5) { grid-column: 5 / 7; grid-row: 2 / 4; }
.bento-grid > li:nth-child(6) { grid-column: 1 / 5; grid-row: 3; }
.bento-card {
  position: relative; border-radius: var(--radius-card); overflow: hidden; display: block;
  isolation: isolate; color: #fff; transition: transform .2s ease, box-shadow .2s ease;
}
.bento-card > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; z-index: 0; }
.bento-card::after {
  content: ""; position: absolute; inset: 0; z-index: 1;
  background: linear-gradient(103deg, rgba(12,26,40,.92) 0%, rgba(12,26,40,.74) 32%, rgba(12,26,40,.32) 66%, rgba(12,26,40,.12) 100%);
}
.bento-card__body { position: relative; z-index: 2; height: 100%; display: flex; flex-direction: column; justify-content: flex-start; padding: clamp(16px, 1.8vw, 24px) clamp(18px, 2vw, 26px); }
.bento-card h3 { color: #fff; font-size: clamp(.95rem, 1.15vw, 1.12rem); margin-bottom: 8px; line-height: 1.35; font-weight: 900; }
.bento-card p { color: rgba(255,255,255,.9); font-size: 12px; margin: 0; line-height: 1.55; }
.bento-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-card-hover); }
.bento-card:hover > img { transform: scale(1.05); }
/* SEO・LLMO(オレンジ単色・白線画アイコン・斜めハイライト帯) */
.bento-card--feature { background: var(--color-accent-orange); }
.bento-card--feature::after { background: linear-gradient(125deg, rgba(255,255,255,.14) 0%, rgba(255,255,255,0) 46%); }
.bento-card--feature .bento-card__body { justify-content: flex-start; }
.bento-card--feature h3, .bento-card--feature p { color: #fff; }
.bento-card__illust { position: absolute; right: -6px; bottom: -10px; width: 52%; max-width: 150px; z-index: 1; color: rgba(255,255,255,.85); pointer-events: none; }
.bento-card__illust svg { width: 100%; height: auto; display: block; }

/* ===== 06. faq(cream・左テキスト+アコーディオン/右写真) ===== */
.s-faq { position: relative; background: var(--color-cream-base); padding-block: clamp(34px, 3.6vw, 46px); overflow: hidden; }
.s-faq .container { position: relative; }
.faq__text { max-width: 56%; }
.faq-list { display: flex; flex-direction: column; gap: 8px; margin-top: clamp(4px, 1vw, 10px); }
.faq-item { background: #fff; border-radius: var(--radius-card); box-shadow: var(--shadow-faq); overflow: hidden; }
.faq-q {
  width: 100%; display: grid; grid-template-columns: auto 1fr auto; gap: 16px; align-items: center;
  background: none; border: none; text-align: left; padding: 13px 20px; font-family: var(--font-body);
}
.faq-q__num { font-family: var(--font-heading); font-weight: 700; color: var(--color-accent-orange); font-size: 14px; }
.faq-q__text { font-weight: 500; color: var(--color-heading); font-size: 13.5px; line-height: 1.5; }
.faq-q__icon { position: relative; width: 18px; height: 18px; flex: 0 0 auto; }
.faq-q__icon::before, .faq-q__icon::after { content: ""; position: absolute; background: #9A9791; border-radius: 2px; }
.faq-q__icon::before { top: 8px; left: 1px; right: 1px; height: 2px; }
.faq-q__icon::after { left: 8px; top: 1px; bottom: 1px; width: 2px; transition: transform .3s ease, opacity .3s ease; }
.faq-q[aria-expanded="true"] .faq-q__icon::after { transform: rotate(90deg); opacity: 0; }
.faq-a { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .35s ease; }
.faq-q[aria-expanded="true"] + .faq-a { grid-template-rows: 1fr; }
.faq-a__inner { overflow: hidden; }
.faq-a__inner p { margin: 0; padding: 0 22px 18px 56px; color: var(--text-body); font-size: 13.5px; line-height: 1.8; }
.s-faq .btn { margin-top: clamp(18px, 2.4vw, 26px); }
/* 右写真(区分B・角丸なし・全面ブリード) */
.faq__photo { position: absolute; top: 0; right: 0; bottom: 0; width: 42%; }
.faq__photo img { width: 100%; height: 100%; object-fit: cover; display: block; }

/* ===== 07. about(navy・左テキスト/右斜め写真+ウォーターマーク) ===== */
.s-about { position: relative; background: var(--color-navy-base); color: #fff; padding-block: clamp(34px, 3.6vw, 46px); overflow: hidden; }
.s-about .container { position: relative; }
.about__text { max-width: 52%; }
.about-quote { color: #EAEEF5; font-size: 13.5px; line-height: 1.8; margin: 0 0 clamp(16px, 2.2vw, 22px); max-width: 32em; }
/* PCでは1行表示にする(幅が狭いPC相当でも収まるよう文字サイズを微調整) */
@media (min-width: 901px) {
  .about-quote { white-space: nowrap; max-width: none; font-size: clamp(12.3px, 1.4vw, 13.5px); }
}
.about-list { margin: 0 0 clamp(18px, 2.4vw, 26px); }
.about-list div { display: grid; grid-template-columns: 84px 1fr; gap: 14px; padding: 5px 0; }
.about-list dt { color: var(--on-dark-mute); font-size: 12.5px; font-weight: 700; margin: 0; }
.about-list dd { margin: 0; color: #EAEEF5; font-size: 13.5px; }
.about-links { display: flex; flex-wrap: wrap; gap: 14px; }
.about-links .btn { border-color: rgba(255,255,255,.5); }
/* 右斜め写真(区分A) */
.about__photo { position: absolute; top: 0; right: 0; bottom: 0; width: 54%; clip-path: polygon(15% 0, 100% 0, 100% 100%, 3% 100%); }
.about__photo img { width: 100%; height: 100%; object-fit: cover; display: block; }
.about__wm {
  position: absolute; right: 2%; bottom: 0; z-index: 2; margin: 0;
  font-family: var(--font-heading); font-weight: 900; font-size: clamp(4rem, 11vw, 9rem);
  color: rgba(255,255,255,.1); line-height: .9; pointer-events: none; user-select: none;
}

/* ===== 08. news(cream・左テキスト/右3カード) ===== */
.s-news { background: var(--color-cream-base); padding-block: clamp(34px, 3.6vw, 46px); overflow: hidden; }
.s-news .container { display: grid; grid-template-columns: 35% 1fr; gap: clamp(24px, 3vw, 48px); align-items: start; }
.news__text .btn { margin-top: clamp(22px, 3vw, 34px); }
.post-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(16px, 2vw, 28px); }
.post-card { display: flex; flex-direction: column; background: #fff; border-radius: var(--radius-card); overflow: hidden; box-shadow: var(--shadow-card); transition: transform .2s ease, box-shadow .2s ease; height: 100%; }
.post-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-card-hover); }
.post-card__thumb { aspect-ratio: 3 / 2; overflow: hidden; }
.post-card__thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform .3s ease; }
.post-card:hover .post-card__thumb img { transform: scale(1.05); }
.post-card__body { padding: 16px 18px 18px; display: flex; flex-direction: column; flex: 1; position: relative; }
.post-tag { display: inline-block; font-size: 10.5px; font-weight: 700; color: var(--accent-orange-aa); border: 1px solid var(--accent-orange-aa); border-radius: 4px; padding: 1px 8px; }
.post-date { font-size: 11px; color: var(--text-muted-strong); font-variant-numeric: tabular-nums; margin: 10px 0 6px; display: block; }
.post-card h3 { font-size: 13.5px; line-height: 1.55; font-weight: 700; padding-right: 26px; }
.post-card h3 a { color: var(--color-heading); }
.post-card h3 a:hover { color: var(--accent-orange-aa); }
.post-card__arrow { position: absolute; right: 16px; bottom: 16px; width: 26px; height: 26px; border-radius: 50%; background: rgba(222,93,56,.1); color: var(--color-accent-orange); display: inline-flex; align-items: center; justify-content: center; font-size: 13px; font-weight: 700; }

/* ===== 09. contact(navy・横1行バー型) ===== */
.s-contact { position: relative; background: var(--color-navy-base); color: #fff; padding-block: clamp(30px, 3.4vw, 44px); overflow: hidden; }
.s-contact .container { position: relative; display: flex; align-items: center; gap: clamp(24px, 4vw, 60px); flex-wrap: wrap; }
.contact__text { flex: 1 1 auto; min-width: 260px; }
.contact__text .sec-head { margin-bottom: 0; }
.contact__text .sec-lead { margin-top: 14px; max-width: 30em; }
.contact__actions { display: flex; gap: 16px; flex-wrap: wrap; flex: 0 0 auto; }
.contact__actions .btn--dark-ghost { background: #06C755; color: #fff; border-color: #06C755; }
.contact__actions .btn--dark-ghost:hover { background: #05a446; border-color: #05a446; }
.contact__vase { position: absolute; right: clamp(8px, 2vw, 40px); bottom: 0; width: clamp(110px, 12vw, 158px); z-index: 1; pointer-events: none; }
.contact__vase img { width: 100%; height: auto; display: block; }

/* ===== 注記バー(contact直下・footer直前) ===== */
.info-strip { background: var(--color-navy-base); color: var(--on-dark-mute); border-top: 1px solid rgba(255,255,255,.08); padding-block: 12px; }
.info-strip .container { display: flex; flex-wrap: wrap; gap: 6px 26px; justify-content: center; font-size: 11.5px; line-height: 1.7; text-align: center; }
.info-strip p { margin: 0; }

/* ===== 10. footer(navy・4カラム) ===== */
.site-footer { background: var(--color-navy-base); color: var(--color-footer-link); padding-block: clamp(22px, 2.4vw, 28px) 18px; border-top: 1px solid rgba(255,255,255,.08); }
.footer-grid { display: grid; grid-template-columns: 1.5fr 1.3fr 1fr 1.1fr; gap: clamp(24px, 3vw, 44px); }
.footer-brand .brand { margin-bottom: 12px; align-items: flex-start; }
.footer-brand .brand__logo { height: 40px; }
.footer-catch { font-size: 11.5px; color: var(--on-dark-mute); line-height: 1.7; margin: 0; }
.footer-col .footer-heading { color: #fff; font-family: var(--font-body); font-weight: 700; font-size: 12px; letter-spacing: .04em; margin: 0 0 12px; }
.footer-col ul li { margin-bottom: 6px; }
.footer-col a { color: var(--color-footer-link); font-size: 12.5px; }
.footer-col a:hover { color: #fff; }
/* サービス列:2列×3行 */
.footer-svc-list { display: grid; grid-template-columns: 1fr 1fr; gap: 6px clamp(14px, 1.6vw, 24px); }
.footer-svc-list li { margin: 0 !important; }
.footer-bottom { margin-top: clamp(14px, 1.6vw, 18px); padding-top: 14px; border-top: 1px solid rgba(255,255,255,.1); text-align: center; }
.footer-bottom small { font-size: 11px; color: var(--color-footer-copyright); }

/* ===== SP固定CTAバー ===== */
.mobile-cta-bar {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 900;
  display: none; gap: 10px; padding: 10px 14px calc(10px + env(safe-area-inset-bottom));
  background: rgba(12, 26, 40, .96); backdrop-filter: blur(6px);
  border-top: 1px solid rgba(255,255,255,.1);
  transform: translateY(110%); transition: transform .4s ease;
}
.mobile-cta-bar.is-visible { transform: translateY(0); }
.mobile-cta-bar .btn { flex: 1; padding: 13px 10px; font-size: 14px; }
.mobile-cta-bar .btn--line { background: #06C755; border-color: #06C755; color: #fff; }
.mobile-cta-bar .btn--line:hover { background: #05a446; border-color: #05a446; box-shadow: none; }

/* ============================================================
   下層ページ用コンポーネント(既存維持・トークン追従)
   ============================================================ */

/* 下層でも使うベントー互換(サービス均等グリッド) */
.about-split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(28px, 5vw, 60px); align-items: start; }

/* パンくず */
.breadcrumb { padding-block: 14px; background: var(--bg-warm); border-bottom: 1px solid var(--border-soft); }
.breadcrumb ol { display: flex; flex-wrap: wrap; gap: 6px; font-size: 12.5px; color: var(--text-muted-strong); }
.breadcrumb li { display: flex; align-items: center; gap: 6px; }
.breadcrumb li:not(:last-child)::after { content: "/"; color: var(--border-table); }
.breadcrumb a { color: var(--text-muted-strong); }
.breadcrumb a:hover { color: var(--accent-orange-aa); }
.breadcrumb [aria-current="page"] { color: var(--text-heading); font-weight: 500; }

/* 下層ヒーロー帯 */
.page-hero { position: relative; background: var(--color-navy-base); color: #fff; overflow: hidden; padding-block: clamp(48px, 7vw, 84px); }
.page-hero::before {
  content: ""; position: absolute; top: -40%; right: -10%; width: 55%; height: 160%;
  background: radial-gradient(circle at 65% 45%, rgba(22, 40, 58, .5), transparent 62%); pointer-events: none;
}
.page-hero__inner { position: relative; }
.page-hero__eyebrow { color: var(--color-accent-orange); font-size: 12.5px; letter-spacing: .12em; text-transform: uppercase; font-weight: 700; margin-bottom: 12px; }
.page-hero h1 { font-size: clamp(1.7rem, 4.5vw, 2.6rem); line-height: 1.3; color: #fff; }
.page-hero__lead { margin-top: 16px; color: #C7D0DE; font-size: 15px; max-width: 40em; }
.page-hero .sec-num { position: absolute; top: -10px; right: 0; left: auto; color: var(--section-num-dark); font-size: clamp(90px, 16vw, 180px); pointer-events: none; }

/* 3行要約ボックス */
.summary-box {
  background: var(--bg-white); border: 1px solid var(--border-soft); border-left: 4px solid var(--accent-orange-aa);
  border-radius: 8px; padding: 22px 26px;
}
.summary-box h2 { font-size: 14px; font-family: var(--font-body); color: var(--accent-orange-aa); letter-spacing: .04em; margin-bottom: 12px; }
.summary-box ul { display: flex; flex-direction: column; gap: 8px; }
.summary-box li { position: relative; padding-left: 22px; font-size: 15px; color: var(--text-body); line-height: 1.7; }
.summary-box li::before { content: ""; position: absolute; left: 4px; top: 11px; width: 8px; height: 8px; border-radius: 50%; background: var(--accent-orange-aa); }

/* 汎用: リード + 本文ブロック */
.prose { max-width: 46em; }
.prose h2 { font-size: clamp(1.35rem, 2.8vw, 1.75rem); margin: 0 0 18px; }
.prose h3 { font-size: 1.12rem; margin: 28px 0 10px; }
.prose p { color: var(--text-body); }
.prose > * + * { margin-top: 0; }
/* 個別指定の本文をPCでは範囲いっぱいに広げる(sec-lead等の46em/34em上限を解除) */
@media (min-width: 901px) {
  .wide-pc { max-width: 100%; }
  .price-foot .price-note.wide-pc { flex: 1 1 auto; }
}
/* 個別指定の本文を常時範囲いっぱいに広げる */
.mw-full { max-width: 100%; }
.reps-line { text-align: right; }

/* 汎用チェック/課題リスト */
.check-list li, .problem-mini li { position: relative; padding: 14px 0 14px 30px; border-bottom: 1px solid var(--border-soft); font-size: 15px; color: var(--text-body); }
.check-list li::before { content: ""; position: absolute; left: 2px; top: 20px; width: 14px; height: 8px; border-left: 2px solid var(--accent-orange-aa); border-bottom: 2px solid var(--accent-orange-aa); transform: rotate(-45deg); }
.problem-mini li::before { content: ""; position: absolute; left: 4px; top: 21px; width: 10px; height: 2px; background: var(--accent-orange-aa); }

/* できること等の特徴リスト */
.feature-list { display: flex; flex-direction: column; gap: 16px; }
.feature-list li { position: relative; padding: 18px 20px 18px 22px; background: #fff; border: 1px solid var(--border-soft); border-left: 3px solid var(--accent-orange-aa); border-radius: 8px; box-shadow: var(--shadow-card); }
.feature-list b { display: block; color: var(--text-heading); font-family: var(--font-heading); font-size: 1rem; margin-bottom: 4px; }
.feature-list span { font-size: 14px; color: var(--text-body); }

/* ステップ図解(下層・可変列) */
.step-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--gutter); }
.step-grid--3 { grid-template-columns: repeat(3, 1fr); }
.step-grid--5 { grid-template-columns: repeat(5, 1fr); }
.step-card {
  background: #fff; border: 1px solid var(--border-soft); border-radius: var(--radius-card);
  padding: 24px 20px; box-shadow: var(--shadow-card); position: relative;
}
.step-card__head { display: flex; align-items: center; gap: 12px; margin-bottom: 14px; }
.step-badge {
  width: 40px; height: 40px; border-radius: 50%; background: var(--color-navy-base); color: #fff;
  font-family: var(--font-heading); font-weight: 700; font-size: 15px;
  display: inline-flex; align-items: center; justify-content: center; flex: 0 0 auto;
}
.step-card h3 { font-size: 1.05rem; margin-bottom: 8px; }
.step-card__head h3 { margin-bottom: 0; }
.step-card p { font-size: 13.5px; color: var(--text-body); margin: 0; line-height: 1.7; }

/* 汎用テーブル(比較表) */
.data-table-wrap { overflow-x: auto; -webkit-overflow-scrolling: touch; }
.data-table { min-width: 620px; border: 1px solid var(--border-table); background: #fff; }
.data-table thead th { background: var(--color-navy-base); color: #fff; font-weight: 700; font-size: 13.5px; padding: 13px 15px; text-align: left; }
.data-table th, .data-table td { padding: 13px 15px; border-top: 1px solid var(--border-table); font-size: 14px; text-align: left; vertical-align: top; }
.data-table tbody th { font-weight: 700; color: var(--text-heading); background: var(--bg-warm); white-space: nowrap; }
.data-table .col-emphasis { background: rgba(193, 69, 31, .06); }
.data-table thead th.col-emphasis { background: var(--color-accent-orange); }
.data-table .accent-price { color: var(--accent-orange-aa); font-weight: 700; }

/* カードリンク(他サービス) */
.link-cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); gap: 14px; }
.link-card { display: flex; align-items: center; justify-content: space-between; gap: 10px; background: #fff; border: 1px solid var(--border-soft); border-radius: 10px; padding: 16px 18px; box-shadow: var(--shadow-card); color: var(--text-heading); font-weight: 700; font-size: 14.5px; transition: transform .2s ease, box-shadow .2s ease; }
.link-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-card-hover); text-decoration: none; }
.link-card .arrow { color: var(--accent-orange-aa); transition: transform .25s ease; }
.link-card:hover .arrow { transform: translateX(4px); }

/* 番号付き例示 */
.example-list { display: flex; flex-direction: column; gap: 16px; counter-reset: ex; }
.example-list li { display: grid; grid-template-columns: 48px 1fr; column-gap: 18px; row-gap: 0; align-items: start; background: #fff; border: 1px solid var(--border-soft); border-radius: 10px; padding: 20px 22px; box-shadow: var(--shadow-card); }
.example-list li::before { counter-increment: ex; content: counter(ex, decimal-leading-zero); font-family: var(--font-heading); font-weight: 900; font-size: 1.5rem; color: var(--color-accent-orange); line-height: 1; grid-row: 1 / span 2; }
.example-list li b, .example-list li span { grid-column: 2; }
.example-list b { display: block; color: var(--text-heading); font-family: var(--font-heading); margin-bottom: 4px; }
.example-list span { font-size: 14px; color: var(--text-body); }

/* 強調ボックス */
.callout { background: var(--color-navy-base); color: #fff; border-radius: 14px; padding: clamp(24px, 4vw, 40px); position: relative; overflow: hidden; }
.callout::before { content: ""; position: absolute; top: -40%; right: -10%; width: 50%; height: 160%; background: radial-gradient(circle, rgba(22,40,58,.55), transparent 60%); }
.callout p { position: relative; color: #EAEEF5; margin: 0; font-size: 15px; }
.callout b { color: var(--accent-orange-soft); }

/* 数値バッジ列(下層) */
.stat-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; background: var(--color-navy-base); border-radius: 14px; padding: clamp(24px, 4vw, 36px); }
.stat-row .stat { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 4px; }
.stat-row .stat::before, .stat-row .stat::after { display: none; }
.stat-row .stat__body { display: flex; flex-direction: column; align-items: center; gap: 2px; line-height: 1.3; }
.stat-row .stat__num { font-family: var(--font-heading); font-weight: 900; font-size: clamp(1.35rem, 2.6vw, 1.85rem); color: #fff; }
.stat-row .stat__label { font-size: 12.5px; color: var(--on-dark-mute); }

/* 会社情報表(P9) */
.info-table th { width: 30%; }

/* サービスカード(下層・均等グリッド) */
.service-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--gutter); }
.service-card {
  background: #fff; border: 1px solid var(--border-soft); border-radius: var(--radius-card);
  overflow: hidden; box-shadow: var(--shadow-card); display: flex; flex-direction: column;
  transition: transform .2s ease, box-shadow .2s ease, border-color .3s ease;
}
.service-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-card-hover); }
.service-card__media { aspect-ratio: 4 / 3; overflow: hidden; }
.service-card__media img { width: 100%; height: 100%; object-fit: cover; }
.service-card__body { padding: 20px 20px 22px; display: flex; flex-direction: column; flex: 1; }
.service-card h3 { font-size: 1.1rem; margin-bottom: 8px; }
.service-card p { font-size: 13.5px; color: var(--text-body); margin: 0 0 14px; line-height: 1.7; }
.service-card .link-arrow { margin-top: auto; font-size: 14px; }
.service-card--feature { border-color: var(--accent-orange-aa); border-width: 1.5px; }

/* お知らせカード(下層・blog一覧) */
.news-grid, .blog-list { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--gutter); }
.news-card {
  background: #fff; border: 1px solid var(--border-soft); border-radius: var(--radius-card);
  overflow: hidden; box-shadow: var(--shadow-card); display: flex; flex-direction: column;
  transition: transform .2s ease, box-shadow .2s ease;
}
.news-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-card-hover); }
.news-card__thumb { aspect-ratio: 16 / 9; overflow: hidden; }
.news-card__thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform .3s ease; }
.news-card:hover .news-card__thumb img { transform: scale(1.05); }
.news-card__body { padding: 16px 18px 20px; display: flex; flex-direction: column; flex: 1; }
.news-meta { display: flex; align-items: center; gap: 10px; margin-bottom: 10px; }
.news-tag { font-size: 11px; font-weight: 700; color: #fff; background: var(--accent-orange-aa); border-radius: 4px; padding: 2px 8px; }
.news-tag--info { background: var(--color-navy-base); }
.news-date { font-size: 12px; color: var(--text-muted-strong); font-variant-numeric: tabular-nums; }
.news-card h3 { font-size: 1rem; line-height: 1.5; }
.news-card h3 a { color: var(--text-heading); }
.news-card h3 a:hover { color: var(--accent-orange-aa); }

/* ===== フォーム(お問い合わせ) ===== */
.contact-layout { display: grid; grid-template-columns: 1.5fr 1fr; gap: clamp(28px, 4vw, 48px); align-items: start; }
.form { display: flex; flex-direction: column; gap: 20px; }
.form-field { display: flex; flex-direction: column; gap: 8px; }
.form-field label { font-weight: 700; font-size: 14.5px; color: var(--text-heading); }
.req { color: var(--accent-orange-aa); font-size: 12px; margin-left: 6px; font-weight: 700; }
.opt { color: var(--text-muted-strong); font-size: 12px; margin-left: 6px; font-weight: 500; }
.form-field input, .form-field textarea {
  font-family: var(--font-body); font-size: 15px; color: var(--text-body);
  padding: 13px 15px; border: 1.5px solid var(--border-table); border-radius: 8px; background: #fff; width: 100%;
  transition: border-color .2s ease, box-shadow .2s ease;
}
.form-field input:focus, .form-field textarea:focus { outline: none; border-color: var(--accent-orange-aa); box-shadow: 0 0 0 3px rgba(193, 69, 31, .14); }
.form-field textarea { resize: vertical; min-height: 150px; }
.form-privacy { font-size: 13px; color: var(--text-muted-strong); }
.form-aside { background: var(--bg-white); border: 1px solid var(--border-soft); border-radius: 12px; padding: 26px 28px; }
.form-aside h2 { font-size: 1.1rem; margin-bottom: 12px; }
.form-aside p { font-size: 14px; color: var(--text-body); }
.contact-meta { display: flex; flex-direction: column; gap: 8px; font-size: 13.5px; }
.contact-meta dt { font-weight: 700; color: var(--text-heading); }
.contact-meta dd { margin: 0 0 10px; color: var(--text-body); }

.form-alert {
  background: #FBEAE5; border: 1px solid var(--accent-orange-aa); color: var(--accent-orange-aa);
  border-radius: 10px; padding: 14px 16px; font-size: 14px; font-weight: 500; line-height: 1.6;
}
.field-error { color: var(--accent-orange-aa); font-size: 13px; margin: 0; }
.form-field.has-error input, .form-field.has-error textarea { border-color: var(--accent-orange-aa); }
.hp-field { position: absolute; left: -9999px; top: -9999px; width: 1px; height: 1px; overflow: hidden; }

/* 記事本文(P12) */
.article { max-width: 760px; margin-inline: auto; }
.article__meta { display: flex; align-items: center; gap: 12px; margin-bottom: 8px; }
.article h1 { font-size: clamp(1.5rem, 4vw, 2.1rem); line-height: 1.4; margin-bottom: 16px; }
.article-body { line-height: 1.95; }
.article-body h2 { font-size: 1.4rem; margin: 40px 0 14px; padding-bottom: 8px; border-bottom: 2px solid var(--border-soft); }
.article-body h3 { font-size: 1.1rem; margin: 28px 0 10px; padding-left: 12px; border-left: 3px solid var(--accent-orange-aa); }
.article-body p { color: var(--text-body); margin: 0 0 1.2em; }
.article-body ol, .article-body ul { margin: 0 0 1.2em; padding-left: 0; }
.article-body ol li { list-style: decimal; margin-left: 1.4em; padding-left: 4px; margin-bottom: 8px; }
.article-body ul li { position: relative; padding-left: 22px; margin-bottom: 8px; }
.article-body ul li::before { content: ""; position: absolute; left: 4px; top: 12px; width: 8px; height: 8px; border-radius: 50%; background: var(--accent-orange-aa); }
.article-author { margin-top: 40px; background: var(--bg-white); border: 1px solid var(--border-soft); border-radius: 12px; padding: 22px 26px; font-size: 14px; }
.article-author h2 { font-size: 1rem; margin-bottom: 8px; }
.article-updated { font-size: 12.5px; color: var(--text-muted-strong); margin-top: 10px; }

/* 法務ページ */
.legal-body { max-width: 760px; margin-inline: auto; }
.legal-body h2 { font-size: 1.2rem; margin: 32px 0 12px; }
.legal-body p, .legal-body li { color: var(--text-body); font-size: 15px; }
.legal-body ul li { position: relative; padding-left: 20px; margin-bottom: 6px; }
.legal-body ul li::before { content: ""; position: absolute; left: 2px; top: 12px; width: 6px; height: 6px; border-radius: 50%; background: var(--accent-orange-aa); }
.legal-note { margin-top: 28px; font-size: 12.5px; color: var(--text-muted-strong); border-top: 1px solid var(--border-soft); padding-top: 16px; }

/* 404 */
.error-page { text-align: center; padding-block: clamp(60px, 12vw, 140px); }
.error-page .code { font-family: var(--font-heading); font-weight: 900; font-size: clamp(4rem, 14vw, 8rem); color: var(--section-num-light); line-height: 1; }
.error-page h1 { font-size: clamp(1.4rem, 4vw, 2rem); margin: 12px 0 20px; }
.error-links { display: flex; flex-wrap: wrap; gap: 14px; justify-content: center; margin-top: 26px; }

/* ============================================================
   モーション(motion-spec.md 準拠 / transform+opacityのみ)
   .motion-init は JS が reduced-motion / capture でない時のみ付与
   ============================================================ */
.motion-init { opacity: 0; transform: translateY(18px); transition: opacity .6s ease, transform .6s cubic-bezier(.22,1,.36,1); transition-delay: calc(var(--i, 0) * .09s); will-change: opacity, transform; }
.motion-init.is-inview { opacity: 1; transform: none; }

/* 巨大数字ステッガー(TX-02) */
.num-stagger { display: inline-block; }
.num-stagger .ch { display: inline-block; opacity: 0; transform: translateY(12px); transition: opacity .4s ease-out, transform .4s ease-out; transition-delay: calc(var(--c, 0) * .05s); }
.num-stagger.is-inview .ch { opacity: 1; transform: none; }

/* ケンバーンズ(MV-03) ヒーロー画像のみ */
@keyframes kenburns { from { transform: scale(1); } to { transform: scale(1.06); } }

/* ヒーロー ロード時タイムライン(JSが .hero-ready 付与) */
.hero .js-anim { opacity: 0; transform: translateY(16px); transition: opacity .7s ease, transform .8s cubic-bezier(.22,1,.36,1); transition-delay: var(--d, 0s); }
.hero.hero-ready .js-anim { opacity: 1; transform: none; }
/* SC-04 画像カーテンリビール */
.hero__curtain {
  position: absolute; inset: 0; z-index: 3; pointer-events: none;
  background: linear-gradient(180deg, #16283A 0%, var(--color-navy-base) 100%);
  clip-path: polygon(20% 0, 100% 0, 100% 100%, 3% 100%);
  transform: scaleY(1); transform-origin: bottom;
  transition: transform 1s cubic-bezier(.65, 0, .35, 1); transition-delay: .15s;
}
.hero.hero-ready .hero__curtain { transform: scaleY(0); }

/* MV-02 / TX-03 行マスクリビール */
.mask-line { display: block; overflow: hidden; padding-top: .14em; margin-top: -.14em; padding-bottom: .1em; }
.mask-line__inner { display: block; transform: translateY(0); transition: transform .7s cubic-bezier(.22, 1, .36, 1); }
.mask-line.mask-armed .mask-line__inner { transform: translateY(118%); }
.mask-line.mask-armed.is-inview .mask-line__inner { transform: translateY(0); }
.hero h1.mask-line { margin-bottom: calc(22px - .1em); }
.hero h1.mask-line .mask-line__inner { transition-duration: .8s; transition-delay: .12s; }

/* TX-05 マーカーライン(オレンジ下線) */
.marker { position: relative; isolation: isolate; white-space: nowrap; font-weight: 700; color: var(--color-heading); }
.marker::before {
  content: ""; position: absolute; left: -.06em; right: -.06em; bottom: .04em; height: .42em; z-index: -1;
  background: rgba(222, 93, 56, .28); border-radius: 1px;
  transform: scaleX(1); transform-origin: left; transition: transform .6s ease-out; transition-delay: .15s;
}
.marker.marker-armed::before { transform: scaleX(0); }
.marker.marker-armed.is-inview::before { transform: scaleX(1); }

/* CD-05 ボーダードロー(SEO・LLMOカード枠) */
.bento-card--feature[data-draw] { position: relative; }
.bento-card--feature[data-draw]::before {
  content: ""; position: absolute; inset: 0; z-index: 3; border-radius: var(--radius-card); pointer-events: none;
  box-shadow: inset 0 0 0 2px rgba(255,255,255,.55);
  clip-path: inset(0 0 0 0); transition: clip-path .55s ease-in-out; transition-delay: .2s;
}
.bento-card--feature[data-draw].draw-armed::before { clip-path: inset(0 100% 0 0); }
.bento-card--feature[data-draw].draw-armed.is-inview::before { clip-path: inset(0 0 0 0); }

/* LX-01 スローフェード(About写真のみ) */
.anim-slow.motion-init { transform: translateY(8px); transition: opacity 1.6s cubic-bezier(.25, .46, .45, .94), transform 1.6s cubic-bezier(.25, .46, .45, .94); }

/* ===== prefers-reduced-motion ===== */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
  .motion-init, .num-stagger .ch, .hero .js-anim, .mask-line__inner { opacity: 1 !important; transform: none !important; }
  .hero__curtain { transform: scaleY(0) !important; }
  .marker::before { transform: scaleX(1) !important; }
  .bento-card--feature[data-draw]::before { clip-path: inset(0 0 0 0) !important; }
}

/* ===== capture フック(#capture・照合/QAスクショ用。通常閲覧に影響なし) ===== */
.capture-mode *, .capture-mode *::before, .capture-mode *::after { transition: none !important; animation: none !important; }
.capture-mode .motion-init, .capture-mode .num-stagger .ch, .capture-mode .hero .js-anim, .capture-mode .mask-line__inner { opacity: 1 !important; transform: none !important; }
.capture-mode .hero__curtain { display: none !important; }
.capture-mode .marker::before { transform: scaleX(1) !important; }
.capture-mode .bento-card--feature[data-draw]::before { clip-path: inset(0 0 0 0) !important; }
.capture-mode .mobile-cta-bar { transform: none !important; }

/* ============================================================
   レスポンシブ(1024 / 900 / 768 / 480)
   ============================================================ */
@media (max-width: 1024px) {
  .gnav, .header-cta { display: none; }
  .hamburger { display: block; }
  .service-grid { grid-template-columns: repeat(2, 1fr); }
  .step-grid, .step-grid--5 { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1.4fr 1.2fr; }
  .mobile-cta-bar { display: flex; }
  body { padding-bottom: 68px; }
}

@media (max-width: 900px) {
  .split { grid-template-columns: 1fr; }
  .about-split { grid-template-columns: 1fr; }
  .contact-layout { grid-template-columns: 1fr; }
  .news-grid, .blog-list { grid-template-columns: repeat(2, 1fr); }
  .step-grid--3 { grid-template-columns: repeat(2, 1fr); }

  /* hero: 縦積み・斜めカット解除 */
  .hero__copy { max-width: 100%; padding-top: clamp(36px, 8vw, 52px); padding-bottom: clamp(300px, 60vw, 420px); }
  .hero__media { position: absolute; top: auto; bottom: 0; right: 0; left: 0; width: 100%; height: clamp(260px, 52vw, 380px); clip-path: none; }
  .hero__scroll { display: none; }
  .hero__curtain { clip-path: none; }

  /* problems: 2×2 + 写真は下 */
  .s-problems { padding-bottom: 0; }
  .problems__body { max-width: 100%; }
  .problems__cols { grid-template-columns: repeat(2, 1fr); gap: 26px 0; }
  .problems__col:nth-child(3) { border-left: 0; padding-left: 0; }
  .problems__photo { position: relative; width: 100%; height: 200px; margin-top: 32px; }

  /* price: 縦積み・写真は下 */
  .s-price { padding-bottom: 0; }
  .price__body { margin-left: 0; }
  .price__photo { position: relative; width: 100%; height: 220px; margin-top: 32px; }

  /* process: 1カラム */
  .s-process .container { grid-template-columns: 1fr; }
  .process__text { padding-right: 0; margin-bottom: 28px; }
  .process__panel { margin-inline: calc(-1 * var(--gutter)); }

  /* services: 左右 → 縦積み、ベントーは2列 */
  .s-services .container { grid-template-columns: 1fr; }
  .bento-grid { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 160px; margin-right: 0; }
  .bento-grid > li:nth-child(n) { grid-column: auto; grid-row: auto; }
  .bento-grid > li:nth-child(5) { grid-row: span 2; }

  /* faq: 縦積み・写真は下 */
  .s-faq { padding-bottom: 0; }
  .faq__text { max-width: 100%; }
  .faq__photo { position: relative; width: 100%; height: 240px; margin-top: 32px; }

  /* about: 縦積み・斜め解除 */
  .about__text { max-width: 100%; }
  .about__photo { position: relative; width: 100%; height: 260px; clip-path: none; margin-top: 32px; }
  .about__wm { font-size: clamp(3rem, 16vw, 6rem); }

  /* news: 縦積み・3カード横 */
  .s-news .container { grid-template-columns: 1fr; }

  /* contact: 縦積み */
  .s-contact .container { flex-direction: column; align-items: flex-start; }
  .contact__vase { display: none; }
}

@media (max-width: 768px) {
  :root { --gutter: 20px; }
  .section { padding-block: clamp(44px, 9vw, 64px); }
  .sec-head { padding-left: 0px; }
  .process__text .sec-head { padding-left: 0px; }
  .sec-num { left: -10px; font-size: clamp(48px, 15vw, 72px); }
  .service-grid, .step-grid, .step-grid--3, .step-grid--5 { grid-template-columns: 1fr; }
  .news-grid, .blog-list { grid-template-columns: 1fr; }
  .post-grid { grid-template-columns: 1fr; gap: 16px; }
  .problems__cols { grid-template-columns: 1fr 1fr; }
  .proc-flow { grid-template-columns: repeat(2, 1fr); gap: 28px 20px; }
  .proc-step:not(:last-child)::after, .proc-step:not(:last-child)::before { display: none; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 28px 24px; }
  .stat-strip { gap: 8px 14px; }
  .contact__actions { width: 100%; flex-direction: column; }
  .contact__actions .btn { width: 100%; }
  /* 共通CTA(下層):2カラム → 1カラム縦積み */
  .final-cta__inner { grid-template-columns: 1fr; gap: 24px; }
  .final-cta__actions { min-width: 0; }
  /* ベントー → 1カラム */
  .bento-grid { grid-template-columns: 1fr; grid-auto-rows: unset; }
  .bento-grid > li { grid-column: auto !important; grid-row: auto !important; }
  .bento-card { aspect-ratio: 16 / 10; }
  .bento-card--feature { aspect-ratio: 16 / 11; }
  /* 05:「作って、終わりにしない。」を1行にする */
  #sec-services br { display: none; }
  #sec-services { white-space: nowrap; }
}

@media (max-width: 480px) {
  body { font-size: 15.5px; }
  /* 07:「Web家(ウェブヤ)について」を1行に収める(幅に応じて縮小) */
  #sec-about { white-space: nowrap; font-size: clamp(1rem, calc(7.1vw - 5.6px), 1.55rem); }
  .stat-strip { gap: 6px 10px; }
  .stat-strip .stat { padding-inline: 20px; }
  .stat::before, .stat::after { width: 16px; height: 44px; }
  .problems__cols { grid-template-columns: 1fr; }
  .problems__col + .problems__col { border-left: 0; padding-left: 0; }
  .footer-grid { grid-template-columns: 1fr; gap: 26px; }
  .footer-svc-list { grid-template-columns: 1fr 1fr; }
  .link-cards { grid-template-columns: 1fr; }
  .breadcrumb ol { font-size: 11.5px; }
  .btn { width: 100%; }
  .hero__cta .btn, .about-links .btn, .error-links .btn { width: 100%; }
}

@media (max-width: 400px) {
  /* 実績バッジ3点:幅が足りず3個目が折り返すため横並びを強制 */
  .stat-strip { flex-wrap: nowrap; gap: 4px; }
  .stat-strip .stat { flex: 1 1 0; min-width: 0; padding-inline: 6px; }
  .stat::before, .stat::after { display: none; }
}
