/* ============================================================
   建物法定点検ナビ  style.css
   イラスト寄り・明るく親しみやすいデザイン
   Main: Blue #1f6fd6 / Accent: Orange #ff8a1e / Green #2fae62
   ============================================================ */

:root {
  --c-blue: #1f6fd6;
  --c-blue-dark: #164e99;
  --c-blue-light: #eaf3fd;
  --c-navy: #123a6b;
  --c-orange: #ff8a1e;
  --c-orange-dark: #e8760c;
  --c-green: #2fae62;
  --c-green-dark: #23934f;
  --c-yellow: #ffd43b;
  --c-text: #2a3442;
  --c-text-sub: #5a6675;
  --c-bg: #ffffff;
  --c-bg-soft: #f4f8fd;
  --c-bg-soft2: #fff7ee;
  --c-border: #e2e8f1;
  --c-ph: #d7dee7;      /* placeholder gray */
  --c-ph-line: #b9c3cf;
  --radius: 18px;
  --radius-sm: 12px;
  --shadow: 0 10px 30px rgba(30, 70, 130, .10);
  --shadow-sm: 0 4px 14px rgba(30, 70, 130, .08);
  --maxw: 1100px;
  --font: "Noto Sans JP", "Hiragino Kaku Gothic ProN", "Hiragino Sans",
          "Yu Gothic", "Meiryo", sans-serif;
  --font-pop: "Noto Sans JP", "Hiragino Kaku Gothic ProN", "Yu Gothic", sans-serif;
}

* { box-sizing: border-box; }

/* モバイル専用改行（PCでは無効） */
.sp-br { display: none; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font);
  color: var(--c-text);
  background: var(--c-bg);
  line-height: 1.8;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }

.container {
  width: 100%;
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 20px;
}

.section { padding: 72px 0; }
.section--soft { background: var(--c-bg-soft); }
.section--soft2 { background: var(--c-bg-soft2); }
.section--blue { background: linear-gradient(160deg,#1f6fd6,#164e99); color:#fff; }

/* ---------- Placeholder (差し替え用グレー) ---------- */
.ph {
  background: var(--c-ph);
  background-image:
    repeating-linear-gradient(45deg, rgba(255,255,255,.35) 0 12px, transparent 12px 24px);
  border: 1px dashed var(--c-ph-line);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #7c8896;
  font-size: 13px;
  font-weight: 700;
  text-align: center;
  letter-spacing: .04em;
  min-height: 120px;
  padding: 8px;
}
.ph--circle { border-radius: 50%; }
.ph--hero { min-height: 300px; }
.ph--icon { min-height: 72px; width: 72px; border-radius: 16px; }

/* ---------- 見出し ---------- */
.sec-head { text-align: center; margin-bottom: 44px; }
.sec-head__en {
  display: inline-block;
  color: var(--c-blue);
  font-weight: 800;
  font-size: 13px;
  letter-spacing: .18em;
  margin-bottom: 6px;
}
.section--blue .sec-head__en { color: var(--c-yellow); }
.sec-head__ja {
  font-size: 30px;
  font-weight: 800;
  line-height: 1.4;
  margin: 0;
}
.sec-head__ja .mark {
  background: linear-gradient(transparent 62%, rgba(255,212,59,.7) 62%);
  padding: 0 2px;
}
@media (max-width: 760px){ .sec-head__ja { font-size: 24px; } }
.sec-head__lead { color: var(--c-text-sub); margin-top: 14px; font-size: 15px; }
.section--blue .sec-head__lead { color: rgba(255,255,255,.9); }

/* ---------- ボタン ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-weight: 800;
  border-radius: 999px;
  padding: 16px 34px;
  font-size: 16px;
  cursor: pointer;
  border: none;
  transition: transform .15s ease, box-shadow .15s ease, background .15s ease;
  box-shadow: 0 8px 20px rgba(0,0,0,.14);
}
.btn:hover { transform: translateY(-2px); box-shadow: 0 12px 26px rgba(0,0,0,.20); }
.btn--orange { background: var(--c-orange); color:#fff; }
.btn--orange:hover { background: var(--c-orange-dark); }
.btn--green { background: var(--c-green); color:#fff; }
.btn--green:hover { background: var(--c-green-dark); }
.btn--white { background:#fff; color: var(--c-blue); }
.btn--lg { padding: 20px 44px; font-size: 18px; }
.btn__sub { font-size: 11px; font-weight: 700; opacity: .9; display:block; }

/* ============================================================
   ヘッダー
   ============================================================ */
.header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(255,255,255,.96);
  backdrop-filter: blur(6px);
  border-bottom: 1px solid var(--c-border);
}
.header__inner {
  max-width: 1180px; margin: 0 auto; padding: 4px 20px;
  display: flex; align-items: center; gap: 16px;
}
.header__logo { display: flex; align-items: center; gap: 10px; }
.header__logo-img { height: 132px; width: auto; display: block; margin: -22px 0; } /* 帯の高さは保ちロゴだけ1.5倍 */
.header__logo-mark {
  width: 40px; height: 40px; border-radius: 11px;
  background: linear-gradient(150deg,var(--c-blue),var(--c-blue-dark));
  color:#fff; display:flex; align-items:center; justify-content:center;
  font-weight: 900; font-size: 20px;
}
.header__logo-txt b { font-size: 17px; font-weight: 900; letter-spacing: .02em; }
.header__logo-txt span { display:block; font-size: 11px; color: var(--c-text-sub); }
.header__spacer { flex: 1; }
.header__tel { text-align: right; line-height: 1.2; }
.header__tel small { font-size: 11px; color: var(--c-text-sub); font-weight:700; }
.header__tel a { font-size: 22px; font-weight: 900; color: var(--c-navy); letter-spacing: .02em; }
.header__cta {
  background: var(--c-orange); color:#fff; font-weight: 800;
  padding: 12px 22px; border-radius: 10px; font-size: 15px;
  box-shadow: 0 6px 16px rgba(255,138,30,.35);
  white-space: nowrap; flex-shrink: 0; /* テキストを折り返さず幅を確保 */
}
.header__cta:hover { background: var(--c-orange-dark); }
.header__nav { display: none; gap: 20px; font-weight: 700; font-size: 14px; }
.header__nav a:hover { color: var(--c-blue); }

@media (max-width: 900px) {
  .header__tel, .header__logo-txt span { display: none; }
  .header__cta { padding: 10px 14px; font-size: 13px; }
  .header__logo-img { height: 90px; margin: -15px 0; } /* 帯の高さは保ちロゴだけ1.5倍 */
}

/* ============================================================
   ヒーロー
   ============================================================ */
.hero {
  position: relative;
  background:
    linear-gradient(160deg,#eaf3fd 0%,#dcecfc 100%);
  padding: 56px 0 64px;
  overflow: hidden;
}
/* 背景イラスト（右寄せ・人物が右に来る／上下いっぱい） */
.hero::before {
  content: "";
  position: absolute; inset: 0;
  background-image: url("../img/hero-bg.webp");
  background-repeat: no-repeat;
  background-position: right center;
  background-size: cover;
  z-index: 0;
  pointer-events: none;
}
/* 左側テキストの可読性を上げる白グラデーション */
.hero::after {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(90deg,
    rgba(234,243,253,.96) 0%,
    rgba(234,243,253,.85) 38%,
    rgba(234,243,253,.35) 55%,
    rgba(234,243,253,0) 70%);
  z-index: 1;
  pointer-events: none;
}
.hero > .container { position: relative; z-index: 2; }
.hero__grid {
  display: grid; grid-template-columns: 1.05fr .95fr; gap: 40px; align-items: center;
}
.hero__visual { display: none; } /* 背景イラストに置き換えたため非表示 */
.hero__copy { position: relative; }

/* アイブロウ（＼ …さまへ ／） */
.hero__eyebrow {
  display:inline-flex; align-items:center; gap:4px;
  font-weight:900; font-size:16px; color: var(--c-navy); margin:0 0 10px;
}
.hero__eyebrow b { color: var(--c-blue); }
.hero__eyebrow-slash { color: var(--c-orange); font-size:22px; font-weight:900; }

/* メインタイトル（チラシ風・単語ごとに大小と色） */
.hero__title { margin: 0 0 16px; line-height: 1.12; font-family: var(--font-pop); font-weight: 900; }
.hero__figure { display: none; } /* PCは背景イラストを使うため非表示。モバイルで表示 */
.ht-row { display:block; }
.ht-row1 { font-size: 34px; color: var(--c-navy); }
.ht-box {
  display:inline-block; color:#fff;
  background: linear-gradient(135deg,var(--c-blue),var(--c-blue-dark));
  padding: 2px 14px; border-radius: 10px; margin: 0 2px;
  box-shadow: 0 6px 14px rgba(31,111,214,.4);
  transform: rotate(-1.5deg);
}
.ht-row2 { font-size: 68px; color: var(--c-navy); margin-top: 6px; letter-spacing:.01em; }
.ht-red {
  color: var(--c-orange);
  text-shadow: 3px 3px 0 rgba(255,138,30,.18);
}
.ht-wave { position: relative; }
.ht-wave::after {
  content:""; position:absolute; left:-4px; right:-4px; bottom:2px; height:14px; z-index:-1;
  background: var(--c-yellow);
  border-radius: 8px 10px 7px 11px;
  opacity:.82;
  transform: scaleX(0); transform-origin: left center;
  animation: heroMarker .7s 1.25s cubic-bezier(.22,.61,.36,1) forwards;
}
@keyframes heroMarker {
  from { transform: scaleX(0); }
  to   { transform: scaleX(1); }
}
.ht-q { color: var(--c-orange); font-size: 76px; }

/* 法令タグ行 */
.hero__law {
  font-size: 17px; font-weight:900; color: var(--c-text); margin: 0 0 16px;
  display:flex; align-items:center; flex-wrap:wrap; gap:8px;
}
.hero__law-tag {
  background: var(--c-navy); color:#fff; font-size:14px; font-weight:900;
  padding:5px 12px; border-radius:6px;
}
.hero__law-strong {
  color: var(--c-blue); font-size:20px;
  background: linear-gradient(transparent 60%, rgba(255,212,59,.7) 60%);
  padding:0 2px;
}
.hero__law-mini { font-size:14px; color: var(--c-text-sub); }

/* 3種の点検タイプ（ピル） */
.hero__types {
  list-style:none; padding:0; margin:0 0 18px;
  display:flex; flex-wrap:wrap; gap:10px;
}
.hero__types li {
  background:#fff; border:2px solid var(--c-blue);
  color: var(--c-blue-dark); font-weight:900; font-size:14px; line-height:1.25;
  padding:8px 16px; border-radius:12px; text-align:center;
  box-shadow: 0 4px 10px rgba(31,111,214,.14); position:relative;
}
.hero__types li::before {
  content:"✓"; color:#fff; background: var(--c-orange);
  width:18px; height:18px; border-radius:50%; font-size:12px;
  display:inline-flex; align-items:center; justify-content:center;
  position:absolute; top:-8px; left:-8px; box-shadow:0 2px 5px rgba(0,0,0,.15);
}

/* キャッチ（調査から〜まるごと一括対応！） */
.hero__catch {
  font-family: var(--font-pop); font-weight: 900; font-size: 26px; color: var(--c-navy);
  margin: 0 0 24px; line-height: 1.3;
}
.hero__catch-u {
  color: var(--c-orange);
  background: linear-gradient(transparent 62%, rgba(255,138,30,.28) 62%);
  padding: 0 2px;
}
.hero__catch-big {
  display:inline-block; font-size: 44px; line-height:1.1; margin-top:2px;
  color: var(--c-orange); font-weight: 900;
  text-shadow: 2px 3px 0 rgba(255,138,30,.18);
}
.hero__catch-excl { color: var(--c-orange); }
.hero__catch-sub {
  display:block; font-family: var(--font); font-size:14px; font-weight:700;
  color: var(--c-text-sub); margin-top:6px;
}

/* CTA */
.hero__cta { display:flex; flex-wrap:wrap; gap:14px; align-items:stretch; }
.hero__cta .btn { flex-direction:column; align-items:flex-start; text-align:left; padding:14px 28px; line-height:1.25; }
.hero__cta-main {
  position: relative; overflow: hidden; isolation: isolate;
  /* 光沢：上側ハイライト＋下側シェード */
  background: linear-gradient(180deg,#ffa347 0%,var(--c-orange) 46%,var(--c-orange-dark) 100%);
  box-shadow: 0 8px 20px rgba(255,138,30,.4), inset 0 1px 0 rgba(255,255,255,.55);
  animation: heroPulse 2.2s ease-in-out infinite;
}
.hero__cta-main > * { position: relative; z-index: 1; } /* テキストはシャインの上 */
/* キラッと光るシャイン（約1秒ごと） */
.hero__cta-main::after {
  content: ""; position: absolute; top: 0; bottom: 0; left: -40%;
  width: 35%; z-index: 2; pointer-events: none;
  background: linear-gradient(100deg, transparent, rgba(255,255,255,.8), transparent);
  transform: skewX(-18deg);
  animation: heroShine 2s linear infinite; /* 2秒ループ内で2回＝約1秒ごとにキラッ */
}
@keyframes heroShine {
  0%   { left: -40%; }
  18%  { left: 130%; }  /* 1回目のキラッ */
  50%  { left: -40%; }  /* 画面外で瞬間リセット（見えない） */
  68%  { left: 130%; }  /* 2回目のキラッ */
  100% { left: 130%; }
}
@media (prefers-reduced-motion: reduce){ .hero__cta-main::after{ animation:none; opacity:0; } }
.hero__cta-free {
  display:inline-block; background:#fff; color:var(--c-orange-dark);
  font-size:12px; font-weight:900; padding:2px 10px; border-radius:999px; margin-bottom:4px;
}
.hero__cta-main { font-size:22px; }
.hero__cta-tel { font-size:15px; }
.hero__cta-telnum { font-size:26px; font-weight:900; letter-spacing:.02em; }
@keyframes heroPulse {
  0%,100% { box-shadow: 0 8px 20px rgba(255,138,30,.4); transform: translateY(0); }
  50% { box-shadow: 0 12px 34px rgba(255,138,30,.8); transform: translateY(-2px); }
}
@media (prefers-reduced-motion: reduce){ .hero__cta-main{ animation:none; } }
.hero__note { margin-top: 16px; font-size: 13px; color: var(--c-text-sub); font-weight:500; }

/* 丸スタンプ（現地調査＆見積り 0円） */
.hero__stamp {
  position:absolute; top:-6px; right:-6px; z-index:5;
  width:118px; height:118px; border-radius:50%;
  background: radial-gradient(circle at 50% 40%, #ffa347, var(--c-orange-dark));
  color:#fff; display:flex; flex-direction:column; align-items:center; justify-content:center;
  transform: rotate(12deg);
  box-shadow: 0 8px 20px rgba(232,118,12,.4), inset 0 0 0 3px rgba(255,255,255,.85), inset 0 0 0 6px rgba(232,118,12,.55);
  animation: stampPop 2.6s ease-in-out infinite;
}
.hero__stamp i { font-style:normal; font-size:11px; font-weight:900; letter-spacing:.02em; }
.hero__stamp b { font-family: var(--font-pop); font-weight:900; font-size:42px; line-height:1; margin-top:2px; }
.hero__stamp b em { font-style:normal; font-size:20px; }
@keyframes stampPop {
  0%,100% { transform: rotate(12deg) scale(1); }
  50% { transform: rotate(12deg) scale(1.06); }
}
@media (prefers-reduced-motion: reduce){ .hero__stamp{ animation:none; } }

@media (max-width: 860px) {
  /* 縦長イラストを切り取らず全体背景として表示し、上にテキスト/CTAを重ねる */
  .hero { padding: 24px 0 36px; }
  .hero::before {
    display: block;
    background-image: url("../img/hero-mobile.webp");
    background-size: contain;            /* 切り取らず全体を表示 */
    background-position: center -100px;  /* さらに上にずらし人物を中央寄りに */
    background-repeat: no-repeat;
  }
  /* 可読性のための白ベール（イラストは透けて見える） */
  .hero::after {
    display: block;
    background: linear-gradient(180deg,
      rgba(234,243,253,.30) 0%,
      rgba(234,243,253,.18) 30%,
      rgba(234,243,253,.45) 62%,
      rgba(234,243,253,.90) 86%,
      rgba(234,243,253,1) 100%);
  }
  .hero__figure { display: none; } /* 背景に移したインライン画像は非表示 */

  .hero__grid { grid-template-columns: 1fr; gap: 0; }
  .hero__copy { text-align: center; }

  .hero__eyebrow { font-size: 13.5px; justify-content: center; flex-wrap: wrap; margin-bottom: 8px; }
  .hero__title { margin-bottom: 12px; }
  .ht-row1 { font-size: 24px; }
  .ht-row2 { font-size: 31px; white-space: nowrap; } /* 「期限は大丈夫ですか？」を1行で */
  .ht-q { font-size: 35px; }

  /* 画像の人物が見えるよう、下側の情報ブロックに余白を確保 */
  .hero__law { font-size: 14px; justify-content: center; margin-top: 280px; }
  .hero__law-strong { font-size: 16px; }
  .hero__types { justify-content: center; }
  .hero__catch { font-size: 20px; }
  .hero__catch-big { font-size: 32px; }
  .hero__catch-sub { font-size: 13px; }
  .hero__stamp { display: none; } /* モバイルは重なり回避のため非表示（0円はCTAバッジに表示） */

  /* CTAボタン：中央揃え・高さを揃えて崩れを解消 */
  .hero__cta { flex-direction: column; align-items: center; gap: 12px; }
  .hero__cta .btn {
    width: 100%; max-width: 460px;
    flex-direction: column; align-items: center; text-align: center;
    padding: 14px 20px; gap: 2px;
  }
  .hero__cta-free { margin: 0 auto 4px; }
  .hero__cta-main { font-size: 20px; }
  .hero__cta-telnum { font-size: 24px; }
  .hero__cta .btn__sub { text-align: center; }
  .hero__note { text-align: center; }

  /* モバイル専用改行を有効化 */
  .sp-br { display: inline; }
  /* お問い合わせの電話番号を1行で表示 */
  .contact__tel a { white-space: nowrap; font-size: 28px; }
}

/* ============================================================
   悩み訴求
   ============================================================ */
.worries__list {
  display: grid; grid-template-columns: repeat(3,1fr); gap: 20px; margin-top: 8px;
}
.worry {
  background:#fff; border-radius: var(--radius); box-shadow: var(--shadow-sm);
  padding: 26px 22px; text-align:center; position: relative;
  border: 1px solid var(--c-border);
}
.worry__ph { margin: 0 auto 16px; width: 96px; height: 96px; }
.worry__img {
  width: 100%; max-width: 315px; height: 225px; object-fit: contain;
  margin: 0 auto 16px; display: block;
}
.worry__title { font-weight: 900; margin: 0 0 12px; font-size: 16px; color: var(--c-navy); line-height:1.5; }
.worry__desc {
  margin: 0; font-size: 13.5px; line-height: 1.75; color: var(--c-text-sub);
  font-weight: 500; text-align: left;
  padding-top: 12px; border-top: 1px dashed var(--c-border);
}
.worry .q { color: var(--c-orange); font-weight: 900; }
.worries__arrow { text-align:center; font-size: 40px; color: var(--c-blue); margin: 26px 0 4px; line-height:1; }
.worries__answer {
  text-align:center; font-size: 32px; font-weight: 900; margin-top: 14px;
  line-height: 1.7; position: relative;
}
.worries__answer-hl { position: relative; z-index: 1; }
.worries__burst {
  position: absolute; left: 50%; top: 50%; z-index: 0;
  width: 860px; height: 484px; pointer-events: none;
  background: url("../img/burst.webp") center / contain no-repeat;
  opacity: 0; transform: translate(-50%,-50%) scale(.2);
}
.worries__answer.is-burst .worries__burst {
  animation: burstGrow 1s ease-out forwards;
}
@keyframes burstGrow {
  0%   { opacity: 0;   transform: translate(-50%,-50%) scale(.2); }
  22%  { opacity: 1;   transform: translate(-50%,-50%) scale(.6); }
  55%  { opacity: .95; transform: translate(-50%,-50%) scale(1); }
  100% { opacity: 0;   transform: translate(-50%,-50%) scale(1.5); }
}
@media (max-width: 760px){
  .worries__burst { width: 420px; height: 236px; }
}
@media (prefers-reduced-motion: reduce){
  .worries__answer.is-burst .worries__burst { animation: none; opacity: 0; }
}
.worries__answer b { color: var(--c-blue); font-size: 38px; }
.worries__answer-strong { color: var(--c-orange); }
.worries__answer-hl {
  display: inline;
  background-image: linear-gradient(transparent 58%, rgba(255,212,59,.78) 58%);
  background-repeat: no-repeat;
  background-position: 0 0.08em;
  background-size: 0% 100%;
  padding: 0 .12em;
  -webkit-box-decoration-break: clone;
  box-decoration-break: clone;
}
.worries__answer.is-visible .worries__answer-hl {
  animation: markerSweep 1.1s .3s cubic-bezier(.22,.61,.36,1) forwards;
}
@keyframes markerSweep {
  from { background-size: 0% 100%; }
  to   { background-size: 100% 100%; }
}
@media (prefers-reduced-motion: reduce){
  .worries__answer.is-visible .worries__answer-hl { animation: none; background-size: 100% 100%; }
}
@media (max-width: 760px){
  .worries__list{ grid-template-columns:1fr; }
  .worries__answer { font-size: 23px; }
  .worries__answer b { font-size: 27px; }
}

/* ============================================================
   サービス（点検の種類）
   ============================================================ */
.services { display:grid; grid-template-columns: repeat(2,1fr); gap: 24px; }
.service {
  background:#fff; border-radius: var(--radius); box-shadow: var(--shadow);
  padding: 0; display:flex; flex-direction: column; border: 1px solid var(--c-border);
  transition: transform .15s ease; overflow: hidden;
}
.service:hover { transform: translateY(-4px); }
.service__imgwrap {
  height: 250px; overflow: hidden; display: block;
  background: linear-gradient(160deg,#eef5fd,#e2eefb);
}
.service__img {
  width: 100%; height: 100%; object-fit: contain; display: block;
  padding: 16px;
  transform: scale(1.3); /* カードサイズは変えず、画像だけ1.3倍（枠内で完結） */
}
.service__body { padding: 22px 26px 28px; }
.service__no { font-size:12px; font-weight:900; color:var(--c-orange); letter-spacing:.1em; }
.service h3 { font-size: 21px; margin: 2px 0 10px; font-weight: 900; color: var(--c-navy); }
.service p { margin: 0; font-size: 14.5px; color: var(--c-text-sub); line-height: 1.8; }
.service__freq {
  display:inline-block; margin-top:14px; background: var(--c-blue-light);
  color: var(--c-blue-dark); font-weight:800; font-size:12px; padding:5px 14px; border-radius:999px;
}
@media (max-width: 760px){
  .services{ grid-template-columns:1fr; }
  .service__img{ height: 220px; }
}

/* ============================================================
   選ばれる理由
   ============================================================ */
.reasons { display:grid; grid-template-columns: repeat(2,1fr); gap: 24px; }
.reason {
  background:#fff; border-radius: var(--radius); box-shadow: var(--shadow-sm);
  padding: 30px 26px; position: relative; border: 1px solid var(--c-border);
}
.reason__num {
  position:absolute; top: -16px; left: 24px;
  width: 48px; height: 48px; border-radius: 50%;
  background: var(--c-orange); color:#fff; font-weight:900; font-size: 20px;
  display:flex; align-items:center; justify-content:center; box-shadow: var(--shadow-sm);
}
.reason__ph { width: 100%; height: 150px; margin: 14px 0 18px; }
.reason__img {
  width: 100%; height: 190px; object-fit: cover; display: block;
  margin: 14px 0 18px; border-radius: var(--radius-sm);
  background: linear-gradient(160deg,#eef5fd,#e2eefb);
}
.reason h3 { font-size: 20px; margin: 0 0 10px; font-weight: 900; }
.reason h3 .hl { color: var(--c-blue); }
.reason p { margin: 0; font-size: 14.5px; color: var(--c-text-sub); }
@media (max-width: 760px){ .reasons{ grid-template-columns:1fr; } }

/* ============================================================
   料金
   ============================================================ */
.price__lead { text-align:center; color: rgba(255,255,255,.92); margin: -20px 0 34px; }
.price-cards { display:grid; grid-template-columns: repeat(3,1fr); gap: 20px; }
.price-card {
  background:#fff; color: var(--c-text); border-radius: var(--radius);
  padding: 0; text-align:center; box-shadow: var(--shadow);
  overflow: hidden;
}
.price-card__ph { width:72px; height:72px; margin: 0 auto 14px; }
/* 画像枠：カード幅いっぱいに敷く（右側の隙間を解消） */
.price-card__media {
  width: 100%; height: 190px;
  background: linear-gradient(160deg,#eef5fd,#e2eefb);
}
.price-card__media img {
  width: 100%; height: 100%; object-fit: cover; object-position: center;
  display: block;
}
.price-card__body { padding: 24px 24px 28px; }
.price-card h3 { font-size: 17px; margin: 0 0 6px; font-weight:900; }
.price-card__yen { font-size: 14px; color: var(--c-text-sub); }
.price-card__yen b { font-size: 30px; color: var(--c-orange); font-weight:900; }
.price-card__yen small { font-size: 12px; }
.price-card__note { font-size: 12px; color: var(--c-text-sub); margin-top: 8px; }
.price__disclaimer {
  margin-top: 26px; text-align:center; font-size: 13px; color: rgba(255,255,255,.85);
}
@media (max-width: 760px){ .price-cards{ grid-template-columns:1fr; } }

/* ============================================================
   施工・対応実績
   ============================================================ */
.works { display:grid; grid-template-columns: repeat(4,1fr); gap: 16px; }
.work {
  text-align:center; background:#fff; border-radius: var(--radius-sm);
  overflow:hidden; box-shadow: var(--shadow-sm); border:1px solid var(--c-border);
}
.work__ph { width:100%; height: 130px; margin-bottom: 8px; }
.work__media { width:100%; height: 150px; background:#fff; }
.work__media img { width:100%; height:100%; object-fit: cover; display:block; }
.work p { margin:0; font-size: 13px; font-weight: 800; padding: 10px 6px 14px; }
@media (max-width: 900px){ .works{ grid-template-columns: repeat(2,1fr);} }

/* ============================================================
   流れ（ステップ）
   ============================================================ */
.flow { max-width: 760px; margin: 0 auto; }
.step {
  display:flex; gap: 20px; align-items:flex-start;
  padding-bottom: 28px; position: relative;
}
.step:not(:last-child)::before {
  content:""; position:absolute; left: 27px; top: 56px; bottom: -4px;
  width: 3px; background: var(--c-blue-light);
}
.step__num {
  flex: 0 0 56px; height: 56px; border-radius: 50%;
  background: linear-gradient(150deg,var(--c-blue),var(--c-blue-dark)); color:#fff;
  display:flex; align-items:center; justify-content:center; font-weight:900; font-size: 22px;
  box-shadow: var(--shadow-sm); z-index:1;
}
.step__body {
  background:#fff; border:1px solid var(--c-border); border-radius: var(--radius-sm);
  padding: 16px 20px; flex:1; box-shadow: var(--shadow-sm);
}
.step__body h3 { margin:0 0 4px; font-size: 17px; font-weight:900; }
.step__body p { margin:0; font-size: 14px; color: var(--c-text-sub); }

/* ============================================================
   対応エリア
   ============================================================ */
.area__grid { display:grid; grid-template-columns: 1fr 1fr; gap: 28px; align-items:center; }
.area__ph { height: 300px; }
.area__media {
  height: 320px; border-radius: var(--radius); overflow: hidden;
  box-shadow: var(--shadow); background:#eaf3fd;
}
.area__media img {
  width: 100%; height: 100%; object-fit: cover; object-position: center;
  display: block; transform: scale(1.12); /* 女性＋パネルをアップで */
}
.area h3 { font-size: 22px; font-weight:900; margin: 0 0 14px; }
.area h3 .hl { color: var(--c-blue); }
.area__cities { display:flex; flex-wrap:wrap; gap: 10px; margin-bottom: 16px; }
.area__city {
  background: var(--c-blue-light); color: var(--c-blue-dark); font-weight: 800;
  padding: 8px 16px; border-radius: 999px; font-size: 14px;
}
.area p { color: var(--c-text-sub); font-size: 14.5px; margin: 0; }
@media (max-width: 760px){ .area__grid{ grid-template-columns:1fr; } .area__ph{height:200px;} .area__media{height:240px;} }

/* ============================================================
   FAQ
   ============================================================ */
.faq { max-width: 800px; margin: 0 auto; }
.faq__item {
  background:#fff; border:1px solid var(--c-border); border-radius: var(--radius-sm);
  margin-bottom: 14px; overflow: hidden; box-shadow: var(--shadow-sm);
}
.faq__q {
  display:flex; align-items:center; gap: 14px; padding: 18px 22px;
  cursor: pointer; font-weight: 800; font-size: 16px; list-style: none;
}
.faq__q::-webkit-details-marker { display:none; }
.faq__q .qmark {
  flex:0 0 30px; height:30px; border-radius: 8px; background: var(--c-blue); color:#fff;
  display:flex; align-items:center; justify-content:center; font-weight:900;
}
.faq__q .plus { margin-left:auto; color: var(--c-blue); font-size: 20px; transition: transform .2s; }
.faq__item[open] .faq__q .plus { transform: rotate(45deg); }
.faq__a {
  padding: 0 22px 20px 66px; color: var(--c-text-sub); font-size: 14.5px;
}

/* ============================================================
   お問い合わせ / フォーム
   ============================================================ */
.contact__box {
  background:#fff; border-radius: var(--radius); box-shadow: var(--shadow);
  padding: 40px; max-width: 780px; margin: 0 auto;
}
.contact__tel {
  text-align:center; padding: 22px; background: var(--c-blue-light);
  border-radius: var(--radius-sm); margin-bottom: 30px;
}
.contact__tel small { font-weight:800; color: var(--c-text-sub); }
.contact__tel a {
  display:flex; align-items:center; justify-content:center; gap:12px;
  font-size: 34px; font-weight:900; color: var(--c-navy);
}
.contact__tel-icon {
  width:30px; height:30px; flex-shrink:0; display:inline-block;
  object-fit: contain;
  transform-origin: center;
  animation: phoneShake 1.4s ease-in-out infinite;
}
@keyframes phoneShake {
  0%   { transform: rotate(0); }
  5%,15%,25%,35%  { transform: rotate(-11deg); }
  10%,20%,30%,40% { transform: rotate(11deg); }
  45%,100% { transform: rotate(0); }
}
@media (prefers-reduced-motion: reduce){
  .contact__tel-icon { animation: none; }
}
.contact__tel span { font-size: 13px; color: var(--c-text-sub); }
.form-row { margin-bottom: 18px; }
.form-row label { display:block; font-weight: 800; font-size: 14px; margin-bottom: 6px; }
.form-row .req { background: var(--c-orange); color:#fff; font-size:11px; padding:2px 8px; border-radius:4px; margin-left:6px; }
.form-row .opt { background:#9aa7b5; color:#fff; font-size:11px; padding:2px 8px; border-radius:4px; margin-left:6px; }
.form-row input, .form-row textarea, .form-row select {
  width: 100%; padding: 13px 14px; border: 1.5px solid var(--c-border);
  border-radius: 10px; font-size: 15px; font-family: inherit; background: #fbfcfe;
}
.form-row input:focus, .form-row textarea:focus, .form-row select:focus {
  outline: none; border-color: var(--c-blue); background:#fff;
}
.form-row textarea { min-height: 120px; resize: vertical; }
.form-row input[type="file"] {
  padding: 11px 12px; border: 1.5px dashed var(--c-blue); background: #f4f9ff; cursor: pointer;
}
.form-row input[type="file"]::file-selector-button {
  font-family: inherit; font-weight: 800; font-size: 13px; color: #fff;
  background: var(--c-blue); border: none; border-radius: 8px;
  padding: 8px 14px; margin-right: 12px; cursor: pointer;
}
.form-hint { margin: 8px 0 0; font-size: 12.5px; line-height: 1.7; color: var(--c-text-sub); }
.form__submit { text-align:center; margin-top: 26px; }
.form__privacy { font-size: 12px; color: var(--c-text-sub); text-align:center; margin-top:14px; }
.form__note { font-size:12px; color:var(--c-text-sub); margin-top:6px; }

/* ============================================================
   最終CTA帯
   ============================================================ */
.cta-band {
  background:
    radial-gradient(800px 300px at 15% 0%, rgba(255,138,30,.25), transparent),
    linear-gradient(160deg,var(--c-blue),var(--c-navy));
  color:#fff; text-align:center; padding: 60px 0;
}
.cta-band h2 { font-size: 30px; font-weight:900; margin: 0 0 10px; }
.cta-band p { margin: 0 0 26px; opacity:.92; }
.cta-band__btns { display:flex; gap: 16px; justify-content:center; flex-wrap:wrap; }

/* ============================================================
   フッター
   ============================================================ */
.footer { background: #0f2745; color: rgba(255,255,255,.85); padding: 50px 0 24px; font-size: 14px; }
.footer__grid { display:grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 30px; }
.footer__logo { display:flex; align-items:center; gap:10px; margin-bottom: 14px; }
.footer__logo b { color:#fff; font-size: 18px; font-weight:900; }
.footer__logo-img { height: 184px; width: auto; display: block; } /* 透過・さらに2倍 */
.footer__desc { line-height: 1.9; }
.footer h4 { color:#fff; font-size: 15px; margin: 0 0 12px; }
.footer ul { list-style:none; padding:0; margin:0; line-height: 2.1; }
.footer ul a:hover { color:#fff; text-decoration: underline; }
.footer__info dt { color: rgba(255,255,255,.6); font-size:12px; margin-top:8px; }
.footer__info dd { margin: 0; }
.footer__copy { text-align:center; margin-top: 36px; padding-top: 20px; border-top: 1px solid rgba(255,255,255,.12); font-size: 12px; color: rgba(255,255,255,.6); }
@media (max-width: 760px){ .footer__grid{ grid-template-columns:1fr; } }

/* ============================================================
   固定フッターCTA（モバイル）
   ============================================================ */
.sticky-cta {
  position: fixed; bottom: 0; left: 0; right: 0; z-index: 90;
  display: none; gap: 8px; padding: 10px 12px;
  background: rgba(255,255,255,.97); border-top: 1px solid var(--c-border);
  box-shadow: 0 -4px 16px rgba(0,0,0,.08);
}
.sticky-cta a {
  flex: 1 1 0; min-width: 0; width: 50%;
  text-align:center; padding: 14px 6px; border-radius: 10px;
  font-weight:900; font-size:15px; white-space: nowrap; overflow: hidden;
}
.sticky-cta__tel { background: var(--c-green); color:#fff; display:flex; align-items:center; justify-content:center; gap:8px; }
.sticky-cta__icon { width:18px; height:18px; flex-shrink:0; object-fit:contain; }
.sticky-cta__form { background: var(--c-orange); color:#fff; }
@media (max-width: 360px){
  .sticky-cta a { font-size: 14px; padding: 13px 4px; }
  .sticky-cta__tel { gap: 6px; }
}
@media (max-width: 760px){
  .sticky-cta { display:flex; }
  body { padding-bottom: 70px; }
}

/* ---------- fade-in ---------- */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .6s ease, transform .6s ease; }
.reveal.is-visible { opacity: 1; transform: none; }

/* ============================================================
   ヒーロー 登場アニメーション
   ============================================================ */
/* ＼…さまへ／：下からスライド */
.hero__eyebrow {
  opacity:0;
  animation: heroUp .7s .15s cubic-bezier(.22,.61,.36,1) forwards;
}
/* 「その定期報告、」：左からスライド */
.ht-row1 {
  opacity:0;
  animation: heroLeft .7s .4s cubic-bezier(.22,.61,.36,1) forwards;
}
/* 「期限は大丈夫ですか？」：右からスライド */
.ht-row2 {
  opacity:0;
  animation: heroRight .7s .7s cubic-bezier(.22,.61,.36,1) forwards;
}
/* 3種のバッジ：順番にパッと弾ける */
.hero__types li {
  opacity:0; transform: scale(.4);
  animation: heroPop .5s cubic-bezier(.34,1.56,.64,1) forwards;
}
.hero__types li:nth-child(1){ animation-delay: 1.75s; }
.hero__types li:nth-child(2){ animation-delay: 1.9s; }
.hero__types li:nth-child(3){ animation-delay: 2.05s; }

@keyframes heroUp {
  from { opacity:0; transform: translateY(28px); }
  to   { opacity:1; transform: translateY(0); }
}
@keyframes heroLeft {
  from { opacity:0; transform: translateX(-48px); }
  to   { opacity:1; transform: translateX(0); }
}
@keyframes heroRight {
  from { opacity:0; transform: translateX(48px); }
  to   { opacity:1; transform: translateX(0); }
}
@keyframes heroPop {
  0%   { opacity:0; transform: scale(.4); }
  70%  { opacity:1; transform: scale(1.12); }
  100% { opacity:1; transform: scale(1); }
}

/* ============================================================
   お悩みセクション バウンド登場
   ============================================================ */
.worries__head.is-visible {
  animation: bounceIn .9s cubic-bezier(.22,.61,.36,1) both;
}
#worries .worry { opacity:0; transform: translateY(40px); transition:none; }
#worries .worry.is-visible {
  opacity:1;
  animation: cardBounceUp .8s cubic-bezier(.22,1.2,.4,1) both;
}
#worries .worry.is-visible:nth-child(1){ animation-delay:.1s; }
#worries .worry.is-visible:nth-child(2){ animation-delay:.25s; }
#worries .worry.is-visible:nth-child(3){ animation-delay:.4s; }

@keyframes bounceIn {
  0%   { opacity:0; transform: translateY(-24px) scale(.9); }
  55%  { opacity:1; transform: translateY(10px) scale(1.04); }
  75%  { transform: translateY(-5px) scale(.99); }
  100% { opacity:1; transform: translateY(0) scale(1); }
}
@keyframes cardBounceUp {
  0%   { opacity:0; transform: translateY(40px); }
  60%  { opacity:1; transform: translateY(-12px); }
  80%  { transform: translateY(4px); }
  100% { opacity:1; transform: translateY(0); }
}

@media (prefers-reduced-motion: reduce){
  .hero__eyebrow, .ht-row1, .ht-row2, .hero__types li,
  .ht-wave::after, .worries__head.is-visible,
  #worries .worry, #worries .worry.is-visible {
    animation: none !important; opacity:1 !important; transform:none !important;
  }
}


/* ============================================================
   チラシ（会社案内）CTA ＆ モーダル
   ============================================================ */
.flyer-cta { padding: 40px 0; background: var(--c-blue-light); }
.flyer-cta__inner { text-align: center; }
.flyer-cta__lead { font-size: 16px; font-weight: 700; color: var(--c-navy); margin: 0 0 18px; line-height: 1.7; }
.flyer-cta__lead b { color: var(--c-blue); }
.flyer-cta__btn {
  background: linear-gradient(135deg, var(--c-blue), var(--c-blue-dark));
  color: #fff; border: none; cursor: pointer;
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  box-shadow: 0 10px 22px rgba(31,111,214,.3); transition: transform .15s ease;
}
.flyer-cta__btn:hover { transform: translateY(-2px); }
.flyer-cta__ico { font-size: 20px; line-height: 1; }
@media (max-width: 760px){ .flyer-cta { padding: 32px 0; } .flyer-cta__lead { font-size: 15px; } }

.flyer-modal { position: fixed; inset: 0; z-index: 1000; display: none; }
.flyer-modal.is-open { display: block; }
.flyer-modal__backdrop { position: absolute; inset: 0; background: rgba(8,18,38,.9); }
.flyer-modal__inner {
  position: relative; z-index: 1; width: 100%; height: 100%;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  box-sizing: border-box; padding: 52px 12px 14px;
}
.flyer-modal__img {
  max-width: 100%; max-height: calc(100% - 34px); width: auto; height: auto;
  object-fit: contain; border-radius: 6px; background: #fff;
  box-shadow: 0 14px 50px rgba(0,0,0,.55);
}
.flyer-modal__close {
  position: absolute; top: 12px; right: 14px; width: 42px; height: 42px;
  border: none; border-radius: 50%; background: rgba(255,255,255,.95); color: var(--c-navy);
  font-size: 26px; font-weight: 900; line-height: 1; cursor: pointer; z-index: 2;
  box-shadow: 0 4px 14px rgba(0,0,0,.3);
}
.flyer-modal__pdf { margin-top: 12px; color: #fff; font-size: 13px; font-weight: 800; text-decoration: underline; }
body.flyer-open { overflow: hidden; }
