/* ============================================================
   コーポレートサイト — クリア & 誠実（フィンテック調）
   配色は :root の変数で一括調整可能（正式デザイン後に差し替え）
   ============================================================ */
:root {
  --ink: #2a211a;            /* 基本テキスト（暖かいチャコール） */
  --ink-soft: #6b5f54;
  --muted: #9c9389;
  --line: #efe7dd;
  --bg: #ffffff;
  --bg-soft: #fdf6ee;        /* ほんのり暖色の背景 */
  --bg-dark: #241813;        /* ダークセクション（暖色エスプレッソ） */

  --brand: #fcac5b;          /* メインアクセント（柔らかいオレンジ） */
  --brand-deep: #ec8a2e;     /* テキスト/リンク用の読みやすいオレンジ */
  --orange: #fcac5b;
  --orange-deep: #ec8a2e;

  --accent: var(--brand);
  --grad: linear-gradient(115deg, #fcac5b 0%, #f5853f 100%);
  --grad-ink: linear-gradient(115deg, #ec8a2e 0%, #e0701c 100%);

  --radius: 18px;
  --radius-lg: 28px;
  --container: 1180px;
  --header-h: 76px;

  --ease: cubic-bezier(.22,.61,.36,1);
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; scroll-padding-top: var(--header-h); -webkit-font-smoothing: antialiased; }
body {
  font-family: 'Noto Sans JP', 'Hiragino Kaku Gothic ProN', Meiryo, sans-serif;
  color: var(--ink);
  background: var(--bg);
  line-height: 1.85;
  font-size: 16px;
  overflow-x: hidden;
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; height: auto; display: block; }
.en { font-family: 'Outfit', sans-serif; letter-spacing: .01em; }

.container { width: min(92%, var(--container)); margin-inline: auto; }

/* ---------- Reveal animation ---------- */
.reveal { opacity: 0; transform: translateY(32px); transition: opacity .9s var(--ease), transform .9s var(--ease); will-change: opacity, transform; }
.reveal.is-visible { opacity: 1; transform: none; }
.reveal[data-delay="1"] { transition-delay: .08s; }
.reveal[data-delay="2"] { transition-delay: .16s; }
.reveal[data-delay="3"] { transition-delay: .24s; }
.reveal[data-delay="4"] { transition-delay: .32s; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1 !important; transform: none !important; }
  html { scroll-behavior: auto; }
}

/* ============================================================
   Header
   ============================================================ */
.site-header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
  height: var(--header-h);
  display: flex; align-items: center;
  transition: background .4s var(--ease), box-shadow .4s var(--ease), backdrop-filter .4s;
}
.site-header__inner { display: flex; align-items: center; justify-content: space-between; width: min(92%, 1320px); }
.site-header__logo { display: flex; align-items: center; gap: 10px; font-weight: 800; font-size: 1.08rem; letter-spacing: .02em; }
.site-header__mark { width: 26px; height: 26px; border-radius: 9px; background: var(--grad); box-shadow: 0 4px 14px rgba(252,172,91,.4); }
.site-logo-img { height: 38px; width: auto; display: block; }
.site-logo-img--footer { height: 44px; background: #fff; border-radius: 10px; padding: 5px; box-sizing: border-box; }

.site-nav__list { list-style: none; display: flex; align-items: center; gap: 1.9rem; }
.site-nav__list a { font-size: .92rem; font-weight: 600; color: var(--ink); position: relative; transition: color .25s; }
.site-nav__list a:not(.site-nav__cta)::after {
  content: ""; position: absolute; left: 0; bottom: -6px; width: 0; height: 2px; background: var(--grad); transition: width .3s var(--ease);
}
.site-nav__list a:not(.site-nav__cta):hover::after { width: 100%; }
.site-nav__cta {
  padding: 10px 22px; border-radius: 999px; background: var(--ink); color: #fff !important; font-weight: 700;
  transition: transform .25s var(--ease), box-shadow .25s;
}
.site-nav__cta:hover { transform: translateY(-2px); box-shadow: 0 10px 24px rgba(42,33,26,.22); }

/* ライトなヒーローなので、ホームは常にダークテキスト。スクロールでブラー背景。 */
.site-header.is-scrolled {
  background: rgba(255,255,255,.82); backdrop-filter: blur(14px) saturate(140%);
  box-shadow: 0 1px 0 var(--line);
}
/* 下層ページはページヘッダーが暗いので、最上部では白文字にする */
body:not(.is-home) .site-header:not(.is-scrolled) .site-header__logo,
body:not(.is-home) .site-header:not(.is-scrolled) .site-nav__list a:not(.site-nav__cta),
body:not(.is-home) .site-header:not(.is-scrolled) .site-nav__toggle { color: #fff; }
body:not(.is-home) .site-header:not(.is-scrolled) .site-nav__cta { background: #fff; color: var(--ink) !important; }

/* hamburger */
.site-nav__toggle { display: none; flex-direction: column; gap: 5px; background: none; border: none; cursor: pointer; padding: 8px; color: var(--ink); }
.site-nav__toggle span { width: 24px; height: 2px; background: currentColor; transition: .3s; }

/* ============================================================
   Hero / MV — 明るくクリーン
   ============================================================ */
.hero {
  position: relative; min-height: 100svh; display: flex; align-items: center;
  overflow: hidden; padding-top: var(--header-h);
  background: linear-gradient(180deg, #fdf6ee 0%, #ffffff 100%);
}
.hero__bg { position: absolute; inset: 0; z-index: 0; }
.hero__blob { position: absolute; border-radius: 50%; filter: blur(70px); opacity: .55; animation: floatBlob 18s var(--ease) infinite alternate; }
.hero__blob--1 { width: 46vw; height: 46vw; right: -6vw; top: -10vh; background: radial-gradient(circle at 40% 40%, var(--brand), transparent 68%); }
.hero__blob--2 { width: 40vw; height: 40vw; right: 6vw; bottom: -16vh; background: radial-gradient(circle at 50% 50%, #f5853f, transparent 68%); animation-delay: -6s; }
.hero__blob--3 { width: 30vw; height: 30vw; left: -8vw; bottom: 6vh; background: radial-gradient(circle at 50% 50%, #fcd2a3, transparent 70%); opacity: .4; animation-delay: -10s; }
@keyframes floatBlob {
  0%   { transform: translate(0,0) scale(1); }
  100% { transform: translate(-5%, 6%) scale(1.12); }
}
.hero__inner { position: relative; z-index: 2; width: min(92%, var(--container)); margin-inline: auto; }
.hero__eyebrow { display: inline-flex; align-items: center; gap: 9px; font-size: .8rem; font-weight: 700; letter-spacing: .12em; color: var(--brand-deep); padding: 7px 16px; background: rgba(252,172,91,.1); border: 1px solid rgba(252,172,91,.25); border-radius: 999px; }
.hero__eyebrow::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--brand); box-shadow: 0 0 10px var(--brand); }
.hero__title {
  font-size: clamp(2.6rem, 7vw, 5.4rem); font-weight: 900; line-height: 1.12; letter-spacing: -.02em; margin: 24px 0 0; color: var(--ink);
}
.hero__title .line { display: block; overflow: hidden; }
.hero__title .line > span { display: inline-block; transform: translateY(110%); animation: heroRise 1s var(--ease) forwards; }
.hero__title .line:nth-child(2) > span { animation-delay: .12s; }
.hero__title .line:nth-child(3) > span { animation-delay: .24s; }
.hero__title .grad { background: var(--grad-ink); -webkit-background-clip: text; background-clip: text; color: transparent; }
@keyframes heroRise { to { transform: none; } }
.hero__sub { margin-top: 26px; font-size: clamp(1rem, 1.5vw, 1.18rem); color: var(--ink-soft); max-width: 540px; opacity: 0; animation: fadeIn 1s var(--ease) .5s forwards; }
.hero__actions { margin-top: 40px; display: flex; gap: 16px; flex-wrap: wrap; opacity: 0; animation: fadeIn 1s var(--ease) .65s forwards; }
@keyframes fadeIn { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: none; } }
.hero__scroll { position: absolute; bottom: 26px; left: 50%; transform: translateX(-50%); z-index: 2; font-size: .7rem; letter-spacing: .2em; color: var(--muted); display: flex; flex-direction: column; align-items: center; gap: 8px; }
.hero__scroll::after { content: ""; width: 1px; height: 46px; background: linear-gradient(var(--brand-deep), transparent); animation: scrollLine 1.8s ease-in-out infinite; }
@keyframes scrollLine { 0%,100% { transform: scaleY(.4); opacity: .4; transform-origin: top; } 50% { transform: scaleY(1); opacity: 1; } }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 10px; padding: 15px 30px; border-radius: 999px;
  font-weight: 700; font-size: .95rem; border: none; cursor: pointer; transition: transform .25s var(--ease), box-shadow .25s, background .25s, border-color .25s;
}
.btn svg { width: 16px; height: 16px; transition: transform .25s var(--ease); }
.btn:hover svg { transform: translateX(4px); }
.btn--primary { background: var(--grad); color: #fff; box-shadow: 0 10px 26px rgba(252,172,91,.35); }
.btn--primary:hover { transform: translateY(-3px); box-shadow: 0 16px 36px rgba(252,172,91,.45); }
.btn--light { background: #fff; color: var(--ink); }
.btn--light:hover { transform: translateY(-3px); }
.btn--ghost { background: transparent; color: var(--ink); border: 1.5px solid var(--line); }
.btn--ghost:hover { border-color: var(--brand-deep); color: var(--brand-deep); transform: translateY(-3px); }
.btn--on-dark.btn--ghost { color: #fff; border-color: rgba(255,255,255,.32); }
.btn--on-dark.btn--ghost:hover { color: #fff; border-color: #fff; }

/* ============================================================
   Section common
   ============================================================ */
.section { position: relative; padding: clamp(80px, 11vw, 150px) 0; }
.section--soft { background: var(--bg-soft); }
.section--dark { background: var(--bg-dark); color: #fff; }
.sec-head { max-width: 760px; margin-bottom: 56px; }
.sec-head--center { margin-inline: auto; text-align: center; }
.sec-label { display: inline-flex; align-items: center; gap: 10px; font-family: 'Outfit', sans-serif; font-size: .8rem; font-weight: 700; letter-spacing: .18em; text-transform: uppercase; color: var(--brand-deep); }
.sec-label::before { content: ""; width: 28px; height: 2px; background: var(--grad); }
.sec-head--center .sec-label { justify-content: center; }
.sec-title { font-size: clamp(1.8rem, 3.6vw, 2.9rem); font-weight: 900; line-height: 1.25; letter-spacing: -.01em; margin: 18px 0 0; }
.sec-lead { margin-top: 18px; color: var(--ink-soft); font-size: 1.02rem; }
.section--dark .sec-lead { color: rgba(255,255,255,.72); }

/* ============================================================
   Service
   ============================================================ */
.service-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.service-card {
  position: relative; background: var(--bg); border: 1px solid var(--line); border-radius: var(--radius-lg);
  padding: 40px 34px; overflow: hidden; transition: transform .4s var(--ease), box-shadow .4s, border-color .4s;
}
.service-card:hover { transform: translateY(-8px); box-shadow: 0 24px 56px rgba(42,33,26,.12); border-color: rgba(252,172,91,.5); }
.service-card__num { font-family: 'Outfit', sans-serif; font-size: .8rem; font-weight: 700; letter-spacing: .15em; color: var(--muted); }
.service-card__icon {
  width: 60px; height: 60px; border-radius: 16px; background: rgba(252,172,91,.12);
  display: grid; place-items: center; margin: 18px 0 22px; transition: background .4s, transform .4s var(--ease);
}
.service-card__icon svg { width: 30px; height: 30px; stroke: var(--brand-deep); fill: none; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.service-card:hover .service-card__icon { background: var(--grad); transform: scale(1.05); }
.service-card:hover .service-card__icon svg { stroke: #fff; }
.service-card__title { font-size: 1.32rem; font-weight: 800; }
.service-card__text { margin-top: 12px; color: var(--ink-soft); font-size: .94rem; }

/* ============================================================
   Problem（こんなお悩み）
   ============================================================ */
.problem-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.worry {
  background: var(--bg); border: 1px solid var(--line); border-radius: var(--radius-lg);
  padding: 34px 30px; display: flex; gap: 16px; align-items: flex-start;
  transition: transform .4s var(--ease), box-shadow .4s;
}
.worry:hover { transform: translateY(-5px); box-shadow: 0 18px 40px rgba(42,33,26,.08); }
.worry__icon { flex: 0 0 auto; width: 44px; height: 44px; border-radius: 50%; background: rgba(252,172,91,.16); position: relative; }
.worry__icon::before { content: ""; position: absolute; left: 50%; top: 12px; width: 3px; height: 14px; background: var(--orange-deep); transform: translateX(-50%); border-radius: 2px; }
.worry__icon::after { content: ""; position: absolute; left: 50%; bottom: 10px; width: 4px; height: 4px; border-radius: 50%; background: var(--orange-deep); transform: translateX(-50%); }
.worry__text { font-weight: 700; font-size: 1rem; line-height: 1.65; }
.problem-bridge { text-align: center; margin-top: 52px; }
.problem-bridge__arrow { display: inline-block; width: 18px; height: 18px; border-right: 3px solid var(--orange); border-bottom: 3px solid var(--orange); transform: rotate(45deg); margin-bottom: 20px; }
.problem-bridge__text { font-size: clamp(1.4rem, 3.4vw, 2.2rem); font-weight: 900; line-height: 1.5; }
.problem-bridge__text .grad { background: var(--grad-ink); -webkit-background-clip: text; background-clip: text; color: transparent; }

/* ============================================================
   Flow（導入までの流れ）— 縦タイムライン
   ============================================================ */
.flow { max-width: 720px; margin: 0 auto; }
.flow__lead { text-align: center; font-weight: 700; font-size: 1.1rem; margin-bottom: 44px; }
.flow__lead .tag { display: inline-block; background: var(--grad); color: #fff; font-size: .85rem; padding: 5px 16px; border-radius: 999px; margin-bottom: 12px; }
.flow__step { position: relative; display: grid; grid-template-columns: 64px 1fr; gap: 26px; padding-bottom: 40px; }
.flow__step:last-child { padding-bottom: 0; }
.flow__step::before { content: ""; position: absolute; left: 31px; top: 64px; bottom: 6px; width: 2px; background: linear-gradient(var(--orange), rgba(252,172,91,.25)); }
.flow__step:last-child::before { display: none; }
.flow__num { width: 64px; height: 64px; border-radius: 50%; background: var(--grad); color: #fff; display: grid; place-items: center; font-family: 'Outfit', sans-serif; font-weight: 700; font-size: 1.4rem; box-shadow: 0 8px 20px rgba(252,172,91,.35); position: relative; z-index: 1; }
.flow__body { padding-top: 12px; }
.flow__title { font-size: 1.2rem; font-weight: 800; }
.flow__text { margin-top: 7px; color: var(--ink-soft); font-size: .94rem; }

/* ============================================================
   Strength（強み）— 大きな数字の交互レイアウト
   ============================================================ */
.strength { display: grid; gap: 0; }
.strength__row {
  display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center;
  padding: 64px 0; border-top: 1px solid rgba(255,255,255,.12);
}
.strength__row:first-child { border-top: none; }
.strength__num {
  font-family: 'Outfit', sans-serif; font-weight: 800; font-size: clamp(5rem, 14vw, 11rem); line-height: .9;
  background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; letter-spacing: -.03em;
}
.strength__row:nth-child(even) .strength__num { order: 2; text-align: right; }
.strength__body { max-width: 460px; }
.strength__row:nth-child(even) .strength__body { justify-self: end; }
.strength__title { font-size: clamp(1.4rem, 2.6vw, 2rem); font-weight: 800; line-height: 1.4; }
.strength__text { margin-top: 16px; color: rgba(255,255,255,.72); }

/* ============================================================
   Cards grid (works / columns)
   ============================================================ */
.grid { display: grid; gap: 28px; grid-template-columns: repeat(3, 1fr); }
.card {
  display: block; background: var(--bg); border: 1px solid var(--line); border-radius: var(--radius);
  overflow: hidden; transition: transform .4s var(--ease), box-shadow .4s; color: inherit;
}
.card:hover { transform: translateY(-6px); box-shadow: 0 24px 46px rgba(42,33,26,.1); }
.card__media { position: relative; aspect-ratio: 16/10; overflow: hidden; background: var(--bg-soft); }
.card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.card:hover .card__media img { transform: scale(1.06); }
.card__media--empty { background: linear-gradient(135deg, #fdeedd, #faf3ea); }
.card__media--empty::after { content: "NO IMAGE"; position: absolute; inset: 0; display: grid; place-items: center; font-family: 'Outfit'; font-size: .8rem; letter-spacing: .1em; color: var(--muted); }
.card__body { padding: 22px 24px 26px; }
.card__date { font-family: 'Outfit', sans-serif; font-size: .78rem; letter-spacing: .08em; color: var(--brand-deep); font-weight: 600; }
.card__title { font-size: 1.1rem; font-weight: 800; margin: 8px 0; line-height: 1.5; }
.card__excerpt { font-size: .9rem; color: var(--ink-soft); display: -webkit-box; -webkit-box-orient: vertical; overflow: hidden; }
#columns .card__excerpt { -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.card__tag { display: inline-block; font-size: .72rem; font-weight: 600; color: var(--brand-deep); background: rgba(252,172,91,.1); padding: 3px 12px; border-radius: 999px; margin-bottom: 10px; }

/* ============================================================
   Reviews
   ============================================================ */
.reviews { display: grid; gap: 24px; grid-template-columns: repeat(3, 1fr); }
.review {
  background: var(--bg); border: 1px solid var(--line); border-radius: var(--radius); padding: 30px;
  position: relative; transition: transform .4s var(--ease), box-shadow .4s;
}
.review:hover { transform: translateY(-5px); box-shadow: 0 18px 40px rgba(42,33,26,.08); }
.review::before { content: "\201C"; font-family: Georgia, serif; font-size: 4rem; line-height: 1; color: var(--brand); opacity: .22; position: absolute; top: 14px; right: 22px; }
.review__stars { color: var(--orange); letter-spacing: 2px; font-size: .95rem; }
.review__body { margin: 14px 0 18px; color: var(--ink-soft); }
.review__author { font-weight: 700; font-size: .9rem; }

/* ============================================================
   About — エディトリアル
   ============================================================ */
.about { display: grid; grid-template-columns: .9fr 1.1fr; gap: 60px; align-items: start; }
.about__big { font-size: clamp(2rem, 4vw, 3.2rem); font-weight: 900; line-height: 1.3; letter-spacing: -.01em; }
.about__big .grad { background: var(--grad-ink); -webkit-background-clip: text; background-clip: text; color: transparent; }
.about__list { display: grid; gap: 0; }
.about__item { display: grid; grid-template-columns: 150px 1fr; gap: 24px; padding: 22px 4px; border-bottom: 1px solid var(--line); align-items: baseline; }
.about__item:first-child { border-top: 1px solid var(--line); }
.about__item dt { font-family: 'Outfit', sans-serif; font-weight: 700; font-size: .82rem; letter-spacing: .08em; color: var(--muted); }
.about__item dd { font-size: 1rem; font-weight: 500; }

/* ============================================================
   Stats band
   ============================================================ */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 30px; }
.stat { text-align: center; }
.stat__num { font-family: 'Outfit', sans-serif; font-size: clamp(2.6rem, 5vw, 4rem); font-weight: 800; line-height: 1; background: var(--grad-ink); -webkit-background-clip: text; background-clip: text; color: transparent; }
.stat__num small { font-size: .4em; }
.stat__label { margin-top: 12px; font-size: .9rem; color: var(--ink-soft); }
.section--dark .stat__label { color: rgba(255,255,255,.68); }

/* ============================================================
   Contact / CTA
   ============================================================ */
.cta {
  position: relative; overflow: hidden; border-radius: var(--radius-lg);
  background: var(--bg-dark); color: #fff; text-align: center; padding: clamp(60px, 8vw, 100px) 24px;
}
.cta__blob { position: absolute; width: 60vw; height: 60vw; left: 50%; top: 50%; transform: translate(-50%,-50%); background: var(--grad); filter: blur(90px); opacity: .4; }
.cta__inner { position: relative; z-index: 1; }
.cta__title { font-size: clamp(1.8rem, 4vw, 3rem); font-weight: 900; line-height: 1.3; }
.cta__lead { margin: 18px auto 0; max-width: 520px; color: rgba(255,255,255,.78); }
.cta__tel { font-family: 'Outfit', sans-serif; font-size: clamp(1.8rem, 4vw, 2.6rem); font-weight: 700; margin-top: 28px; }
.cta__actions { margin-top: 32px; display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }

/* ============================================================
   Page head (inner pages)
   ============================================================ */
.page-head { position: relative; padding: calc(var(--header-h) + 70px) 0 70px; background: var(--bg-dark); color: #fff; overflow: hidden; }
.page-head__blob { position: absolute; width: 44vw; height: 44vw; right: -8vw; top: -10vw; background: var(--grad); filter: blur(90px); opacity: .42; }
.page-head__inner { position: relative; z-index: 1; }
.page-head__label { font-family: 'Outfit'; letter-spacing: .18em; font-size: .8rem; color: var(--brand); font-weight: 700; }
.page-head__title { font-size: clamp(2rem, 5vw, 3.4rem); font-weight: 900; margin-top: 10px; }

/* ============================================================
   Article (column detail)
   ============================================================ */
.article { max-width: 760px; margin: 0 auto; }
.article__body { font-size: 1.05rem; line-height: 2; }
.article__body h2 { font-size: 1.5rem; font-weight: 800; margin: 40px 0 16px; padding-bottom: 10px; border-bottom: 2px solid var(--line); }
.article__body h3 { font-size: 1.22rem; font-weight: 800; margin: 30px 0 12px; }
.article__body p { margin: 0 0 20px; }
.article__body ul, .article__body ol { margin: 0 0 20px 1.4em; }
.article__body img { border-radius: 14px; margin: 24px 0; }
.article__body blockquote { border-left: 3px solid var(--brand); padding: 6px 0 6px 20px; color: var(--ink-soft); margin: 0 0 20px; }
.article__back { text-align: center; margin-top: 56px; }

/* ============================================================
   Footer
   ============================================================ */
.site-footer { background: var(--bg-dark); color: #fff; padding: 80px 0 40px; }
.site-footer__top { display: flex; justify-content: space-between; gap: 40px; flex-wrap: wrap; padding-bottom: 40px; border-bottom: 1px solid rgba(255,255,255,.1); }
.site-footer__brand { font-size: 1.4rem; font-weight: 800; display: flex; align-items: center; gap: 10px; }
.site-footer__brand .site-header__mark { width: 30px; height: 30px; }
.site-footer__nav { display: flex; gap: 28px; flex-wrap: wrap; }
.site-footer__nav a { color: rgba(255,255,255,.72); font-size: .9rem; transition: color .25s; }
.site-footer__nav a:hover { color: #fff; }
.site-footer__copy { margin-top: 30px; font-family: 'Outfit'; font-size: .78rem; color: rgba(255,255,255,.48); letter-spacing: .04em; }

/* ============================================================
   Legal / Privacy policy
   ============================================================ */
.legal { max-width: 820px; margin: 0 auto; color: var(--ink); line-height: 1.95; }
.legal__lead { color: var(--ink-soft); margin-bottom: 40px; }
.legal__h2 {
  font-size: 1.18rem; font-weight: 800; margin: 40px 0 14px;
  padding-left: 14px; border-left: 4px solid var(--orange); line-height: 1.5;
}
.legal__h2:first-of-type { margin-top: 0; }
.legal p { margin: 0 0 14px; color: var(--ink-soft); }
.legal__list { margin: 0 0 18px; padding-left: 1.3em; }
.legal__list li { margin-bottom: 8px; color: var(--ink-soft); }
.legal__contact {
  margin-top: 8px; padding: 22px 26px; background: var(--bg-soft);
  border-radius: 14px; line-height: 2; font-weight: 500;
}
.legal__updated { margin-top: 44px; font-size: .85rem; color: var(--ink-soft); }

/* ============================================================
   Contact form
   ============================================================ */
.form-wrap { max-width: 680px; margin: 0 auto; }
.form-intro { color: var(--ink-soft); margin-bottom: 28px; }
.cform__row { margin-bottom: 22px; }
.cform__label { display: block; font-weight: 700; font-size: .92rem; margin-bottom: 8px; }
.cform__label .req { color: var(--orange-deep); font-size: .85em; margin-left: 2px; }
.cform input, .cform textarea {
  width: 100%; padding: 14px 16px; font-size: 1rem; font-family: inherit; color: var(--ink);
  background: var(--bg); border: 1.5px solid var(--line); border-radius: 12px;
  transition: border-color .2s var(--ease), box-shadow .2s var(--ease);
}
.cform textarea { resize: vertical; line-height: 1.8; }
.cform input::placeholder, .cform textarea::placeholder { color: #c2bcb2; }
.cform input:focus, .cform textarea:focus {
  outline: none; border-color: var(--orange); box-shadow: 0 0 0 3px rgba(252,172,91,.18);
}
.cform__actions { text-align: center; margin-top: 32px; }
.form-error-box { background: #fdece8; border: 1px solid #f3c7bc; color: #c14a30; border-radius: 12px; padding: 16px 20px; margin-bottom: 26px; font-size: .9rem; }
.form-error-box ul { margin: 8px 0 0 1.2em; }

/* 完了画面 */
.form-done { max-width: 560px; margin: 0 auto; text-align: center; padding: 30px 0; }
.form-done__mark { width: 76px; height: 76px; margin: 0 auto 24px; border-radius: 50%; background: var(--grad); position: relative; box-shadow: 0 12px 30px rgba(252,172,91,.4); }
.form-done__mark::after { content: ""; position: absolute; left: 28px; top: 22px; width: 16px; height: 28px; border-right: 4px solid #fff; border-bottom: 4px solid #fff; transform: rotate(45deg); border-radius: 2px; }
.form-done__title { font-size: 1.6rem; font-weight: 900; }
.form-done__text { margin-top: 14px; color: var(--ink-soft); }

/* ---------- Empty state ---------- */
.empty { text-align: center; color: var(--muted); padding: 60px 0; }

/* ============================================================
   Responsive
   ============================================================ */
@media (max-width: 920px) {
  .service-grid, .reviews { grid-template-columns: repeat(2, 1fr); }
  .problem-grid { grid-template-columns: 1fr; }
  .grid { grid-template-columns: repeat(2, 1fr); }
  .about { grid-template-columns: 1fr; gap: 36px; }
  .stats { grid-template-columns: repeat(2, 1fr); gap: 40px 20px; }
  .strength__row { grid-template-columns: 1fr; gap: 14px; padding: 44px 0; }
  .strength__row:nth-child(even) .strength__num { order: 0; text-align: left; }
  .strength__row:nth-child(even) .strength__body { justify-self: start; }
}
@media (max-width: 640px) {
  .service-grid, .reviews, .grid { grid-template-columns: 1fr; }
  .site-nav__toggle { display: flex; }
  .site-nav__list {
    position: fixed; inset: var(--header-h) 0 auto 0; flex-direction: column; gap: 0; align-items: stretch;
    background: rgba(14,32,24,.97); backdrop-filter: blur(10px); padding: 16px 0; display: none;
  }
  .site-nav__list.is-open { display: flex; }
  .site-nav__list a { color: #fff !important; padding: 14px 28px; }
  .site-nav__list a::after { display: none; }
  .site-nav__cta { margin: 12px 28px; text-align: center; background: var(--grad) !important; }
}
