/* lp109 v4：connectera-suggest のテイストをエメラルドで（設計：docs/design-v4.md）
   色の役割：緑＝ブランド・見出し・面／オレンジ＝ボタンだけ／黄＝強調／赤＝悪い状態の語・星1だけ */

:root {
  --green: #0B6E4F;
  --green-deep: #07452F;
  --green-ink: #0A2E22;
  --green-tint: #EAF5EF;
  --leaf: #3FAF83;
  --accent: #FF8A1F;
  --accent-deep: #E86F00;
  --marker: #FFE14D;
  --alert: #E0464E;
  --star: #FBBC04;
  --ink: #1F2A37;
  --ink-sub: #5B6776;
  --bg: #FFFFFF;
  --line: #DCE8E1;
  --shadow: 0 8px 24px rgba(11, 110, 79, .10);
  --radius: 12px;
  --ff: "Noto Sans JP", "Hiragino Sans", "Hiragino Kaku Gothic ProN", Meiryo, sans-serif;
  --ff-en: "Montserrat", var(--ff);
  --ff-num: "Noto Sans JP", "Hiragino Sans", sans-serif; /* 数字は和文ゴシック（参考サイトどおり） */
  --header-h: 56px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 12px); -webkit-text-size-adjust: 100%; }
body { margin: 0; font-family: var(--ff); font-size: 15px; line-height: 1.8; color: var(--ink); background: var(--bg); overflow-x: hidden; }
img { max-width: 100%; height: auto; display: block; }
h1, h2, h3, h4, p, ul, ol, dl, dd, figure { margin: 0; }
ul, ol { padding: 0; list-style: none; }
a { color: var(--green); }
table { border-collapse: collapse; }
sup { font-size: .5em; vertical-align: super; line-height: 0; }
em { font-style: normal; color: var(--green); }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.sp-only { display: inline; }
.num { font-family: var(--ff-num); font-weight: 700; letter-spacing: .02em; font-variant-numeric: tabular-nums; }
.gen.is-missing { background: linear-gradient(135deg, var(--green-tint), #D5ECE1); border-radius: var(--radius); }

main { overflow-x: clip; } /* 左右から出る要素（表示前は横にずれている）でページが横にスクロールしないように */
.wrap { width: 100%; max-width: 1080px; margin: 0 auto; padding: 0 16px; }
.wrap--narrow { max-width: 820px; }
.sec { padding: 72px 0; position: relative; }
.note { margin-top: 16px; font-size: 12.5px; color: var(--ink-sub); line-height: 1.7; }
.note--center { text-align: center; }
.note--light { color: rgba(255, 255, 255, .8); }
h2, h3, .point p, .step p, .impact__text { word-break: auto-phrase; }

/* ---------- ボタン（参考サイトと同じ作り） ---------- */
.btn {
  position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 12px; overflow: hidden; isolation: isolate;
  padding: 14px 52px 14px 32px; border-radius: 999px; border: 0; cursor: pointer;
  font: 900 16px/1.3 var(--ff); color: #fff; text-decoration: none; letter-spacing: .04em;
  background: linear-gradient(180deg, #FF9A3A 0%, var(--accent) 55%, #F07400 100%);
  box-shadow: 0 4px 0 var(--accent-deep), 0 10px 20px rgba(232, 111, 0, .25);
  transition: transform .15s, box-shadow .15s;
}
.btn::after {
  content: ""; position: absolute; right: 18px; top: 50%; width: 22px; height: 22px; margin-top: -11px; border-radius: 50%;
  background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M9 6l6 6-6 6' fill='none' stroke='%23FF8A1F' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 14px no-repeat;
}
.btn::before {
  content: ""; position: absolute; top: -20%; left: -60%; width: 40%; height: 140%; z-index: 1; pointer-events: none;
  background: linear-gradient(100deg, transparent, rgba(255, 255, 255, .75), transparent); transform: skewX(-20deg);
  animation: shine 3.6s ease-in-out infinite;
}
.btn:hover { transform: translateY(2px); box-shadow: 0 2px 0 var(--accent-deep), 0 6px 14px rgba(232, 111, 0, .25); }
.btn:focus-visible { outline: 3px solid var(--marker); outline-offset: 3px; }
.btn[disabled] { opacity: .7; cursor: wait; }
.btn--sm { padding: 8px 40px 8px 18px; font-size: 13px; box-shadow: 0 3px 0 var(--accent-deep); }
.btn--sm::after { right: 10px; width: 18px; height: 18px; margin-top: -9px; background-size: 12px; }
.btn--sm::before { animation-delay: 1.2s; }
.btn--lg { padding: 18px 56px 18px 28px; font-size: 16px; animation: glow 2.4s ease-in-out infinite; }
.btn--block { display: flex; width: 100%; }
.spark { position: absolute; z-index: 2; width: 12px; height: 12px; pointer-events: none; background: #FFF6C8; clip-path: polygon(50% 0, 62% 38%, 100% 50%, 62% 62%, 50% 100%, 38% 62%, 0 50%, 38% 38%); animation: spark 2.2s ease-in-out infinite; }
.spark:nth-of-type(1) { top: 14%; left: 12%; }
.spark:nth-of-type(2) { bottom: 16%; left: 46%; width: 9px; height: 9px; animation-delay: .7s; }
.spark:nth-of-type(3) { top: 18%; right: 58px; width: 10px; height: 10px; animation-delay: 1.4s; }

/* ---------- ヘッダー ---------- */
.header { position: fixed; top: 0; left: 0; right: 0; z-index: 50; height: var(--header-h); background: rgba(255, 255, 255, .96); transition: box-shadow .2s; }
.header.is-scrolled { box-shadow: 0 2px 12px rgba(10, 46, 34, .10); }
.header__inner { height: 100%; max-width: 1200px; margin: 0 auto; padding: 0 16px; display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.header__logo img { width: 142px; }
.header__note { display: none; }

/* ---------- 見出しの型：透かしの英字＋和文＋短い線 ---------- */
.sec-head { position: relative; text-align: center; margin-bottom: 40px; }
.sec-head__en { font: 800 44px/1 var(--ff-en); letter-spacing: .04em; color: var(--green); opacity: .08; margin-bottom: -22px; white-space: nowrap; overflow: hidden; }
.sec-head__tag { position: relative; display: inline-block; margin-bottom: 8px; background: var(--green-ink); color: #fff; font-weight: 900; font-size: 14px; letter-spacing: .06em; padding: 4px 14px; transform: rotate(-3deg); box-shadow: 3px 3px 0 var(--accent); }
.sec-head__title { position: relative; font-size: 24px; font-weight: 900; line-height: 1.5; color: var(--green-ink); }
.sec-head__title::after { content: ""; display: block; width: 40px; height: 4px; margin: 16px auto 0; background: var(--green); border-radius: 2px; }
.sec-head__lead { margin-top: 16px; font-size: 14px; color: var(--ink-sub); }
.sec-head--light .sec-head__en { color: #fff; opacity: .12; }
.sec-head--light .sec-head__title { color: #fff; }
.sec-head--light .sec-head__title em { color: var(--marker); }
.sec-head--light .sec-head__title::after { background: var(--marker); }
.sec-head--light .sec-head__lead { color: rgba(255, 255, 255, .88); }
.sec-head--light .sec-head__tag { background: var(--marker); color: var(--green-ink); box-shadow: 3px 3px 0 var(--accent); }
.sec-head--left { text-align: left; }
.sec-head--left .sec-head__title::after { margin-left: 0; }
.sec-head__img { width: 170px; margin: 16px auto 0; }

/* ---------- 背景：淡い面（格子＋光）／白い面（ドット＋ぼかしの円）／濃い面（光＋格子の透かし＋きらめき） ---------- */
.sec--tint { background: var(--green-tint) url(../output/images-v4/bg01_iso-grid.webp) center top / 900px; isolation: isolate; }
.sec--tint::before {
  content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background: radial-gradient(ellipse 55% 45% at 8% 0%, rgba(255, 255, 255, .95), transparent 70%), radial-gradient(ellipse 45% 40% at 100% 100%, rgba(63, 175, 131, .22), transparent 70%);
}
.plans-sec, .risk, .compare, .faq, .flow { isolation: isolate; overflow-x: clip; }
.plans-sec::before, .risk::before, .compare::before, .faq::before, .flow::before {
  content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background: radial-gradient(circle at 1.5px 1.5px, rgba(11, 110, 79, .16) 1.5px, transparent 0) 0 0 / 22px 22px;
  -webkit-mask-image: radial-gradient(ellipse 40% 45% at 100% 0%, #000, transparent 75%), radial-gradient(ellipse 35% 40% at 0% 100%, #000, transparent 75%);
  mask-image: radial-gradient(ellipse 40% 45% at 100% 0%, #000, transparent 75%), radial-gradient(ellipse 35% 40% at 0% 100%, #000, transparent 75%);
}
.risk::after, .faq::after, .flow::after {
  content: ""; position: absolute; z-index: -1; pointer-events: none; width: 520px; height: 520px; border-radius: 50%;
  background: radial-gradient(circle, rgba(63, 175, 131, .16), transparent 68%); left: -180px; top: 10%; animation: blob 18s ease-in-out infinite alternate;
}
.faq::after { left: auto; right: -200px; top: auto; bottom: -120px; }
.fv, .cta, .points, .contact { position: relative; isolation: isolate; color: #fff; }
.fv, .points, .contact {
  background:
    radial-gradient(ellipse 40% 55% at 22% 0%, rgba(120, 220, 170, .32), transparent 70%),
    radial-gradient(ellipse 30% 40% at 100% 100%, rgba(120, 220, 170, .26), transparent 70%),
    radial-gradient(ellipse 40% 55% at 0% 100%, rgba(0, 30, 20, .5), transparent 70%),
    linear-gradient(135deg, var(--green-deep) 0%, var(--green) 60%, #1E8F66 100%);
}
.fv::before, .cta::before, .points::before, .contact::before {
  content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background: url(../output/images-v4/bg01_iso-grid.webp) center / 700px; mix-blend-mode: screen; opacity: .14;
  -webkit-mask-image: linear-gradient(180deg, #000, transparent 85%); mask-image: linear-gradient(180deg, #000, transparent 85%);
}
.fv::after, .cta::after, .points::after, .contact::after {
  content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background:
    radial-gradient(circle, #fff 1.2px, transparent 2.5px) 12% 22% / 100% 100% no-repeat,
    radial-gradient(circle, #fff 1px, transparent 2px) 38% 12% / 100% 100% no-repeat,
    radial-gradient(circle, #fff 1.5px, transparent 3px) 62% 30% / 100% 100% no-repeat,
    radial-gradient(circle, #fff 1px, transparent 2px) 86% 64% / 100% 100% no-repeat,
    radial-gradient(circle, #fff 1.2px, transparent 2.5px) 24% 78% / 100% 100% no-repeat,
    linear-gradient(115deg, transparent 30%, rgba(255, 255, 255, .07) 42%, transparent 54%);
  animation: twinkle 4.5s ease-in-out infinite alternate;
}

/* ---------- S02 FV ---------- */
.fv { padding-top: var(--header-h); overflow: hidden; padding-bottom: 36px; }
.hero__band {
  position: relative; z-index: 3; background: var(--green-ink); text-align: center; padding: 14px 16px 16px;
  background-image: repeating-linear-gradient(0deg, rgba(255, 255, 255, .05) 0 1px, transparent 1px 16px), repeating-linear-gradient(90deg, rgba(255, 255, 255, .05) 0 1px, transparent 1px 16px);
  box-shadow: 0 6px 20px rgba(0, 25, 15, .35); animation: bandIn .6s cubic-bezier(.2, .7, .2, 1) both;
}
.hero__band-txt { font-weight: 700; font-size: 16px; line-height: 1.55; letter-spacing: .06em; }
/* 「影響」：黄色の文字＋細い直線の下線（左から右へ伸びる） */
.hero__key { position: relative; display: inline-block; color: var(--marker); font-style: normal; font-weight: 900; margin: 0 .1em; }
.hero__key::after { content: ""; position: absolute; left: 0; right: 0; bottom: -3px; height: 2px; border-radius: 1px; background: var(--marker); transform: scaleX(0); transform-origin: left; animation: lineIn .6s .5s ease-out forwards; }
.hero__inner { position: relative; max-width: 1200px; margin: 0 auto; padding: 22px 16px 0; }
.hero__inner { display: grid; grid-template-areas: "copy" "phone" "badges"; gap: 18px; }
.hero__copy { grid-area: copy; position: relative; z-index: 2; }
.hero__phone { grid-area: phone; }
.hero__badges { grid-area: badges; display: grid; gap: 14px; justify-items: center; }
.hero__h1 { margin: 0; font-weight: inherit; }
.hero__pre, .hero__title { display: block; }
.hero__pre { text-align: center; font-weight: 900; font-size: 18px; letter-spacing: .06em; animation: fadeUp .5s .15s both; }
.hero__pre span { color: var(--marker); margin-left: .2em; }
.hero__title { text-align: center; font-weight: 900; font-size: 15.4vw; line-height: 1.1; letter-spacing: -.02em; white-space: nowrap; color: #fff;
  -webkit-text-stroke: .1em var(--green-ink); paint-order: stroke fill; text-shadow: 0 .06em 0 rgba(0, 30, 20, .35), 0 .12em .3em rgba(0, 25, 15, .35); }
.hero__ch { display: inline-block; animation: chIn .55s calc(.2s + var(--i) * .06s) cubic-bezier(.3, 1.6, .5, 1) both; }
.hero__em { position: relative; display: inline-block; color: var(--marker); }
.hero__em::after { content: "非表示"; position: absolute; inset: 0; background: linear-gradient(100deg, transparent 35%, rgba(255, 255, 255, .85) 50%, transparent 65%) -150% 0 / 250% 100% no-repeat;
  -webkit-background-clip: text; background-clip: text; color: transparent; -webkit-text-stroke: 0; text-shadow: none; pointer-events: none; animation: textShine 1s 1.1s ease-in-out both; }
.hero__sub { position: relative; margin: 14px auto 0; padding: 9px 0; text-align: center; font-weight: 700; font-size: 16px; letter-spacing: .04em; }
.hero__sub::before, .hero__sub::after { content: ""; position: absolute; left: 0; right: 0; height: 1px; background: rgba(255, 255, 255, .7); transform: scaleX(0); animation: lineIn .6s .6s ease-out forwards; }
.hero__sub::before { top: 0; } .hero__sub::after { bottom: 0; }
.hero__sub span { display: inline-block; animation: fadeUp .5s .7s both; }
.hero__sub span { word-break: auto-phrase; }
@media (max-width: 767px) { .hero__sub { font-size: 15px; letter-spacing: .02em; } }

/* 口コミの共通パーツ（アバター・星）。FV のマップと、悪影響の口コミカードで使う */
.ava { flex: none; display: grid; place-items: center; width: 32px; height: 32px; border-radius: 50%; background: var(--c); color: #fff; font: 500 14px Roboto, var(--ff); font-style: normal; }
.stars { --v: 1; display: inline-block; font-size: 12px; letter-spacing: 1px; background: linear-gradient(90deg, var(--star) calc(var(--v) * 20%), #D5DCE4 0); -webkit-background-clip: text; background-clip: text; color: transparent; vertical-align: -1px; }
.stars::before { content: "★★★★★"; }

/* 口コミの悪い画面：v3 で作ったリアルなスマホ（みなと歯科クリニック ★2.3）。大きくなりすぎないよう幅を抑える */
.hero__phone { position: relative; z-index: 2; width: 64%; max-width: 250px; margin: 0 auto; animation: fadeUp .6s .8s both; }
.hero__phone img { width: 100%; filter: drop-shadow(0 18px 28px rgba(0, 25, 15, .45)); }

/* 右側：3D・メダル・情報枠・チップ */
.medals { display: flex; justify-content: center; gap: 12px; }
.medal { position: relative; display: flex; flex-direction: column; align-items: center; justify-content: center; width: 156px; aspect-ratio: 1; border-radius: 50%; text-align: center; line-height: 1.2;
  border: 5px solid transparent; color: var(--green-ink);
  background: radial-gradient(circle at 35% 28%, #fff, #EEF7F2 72%) padding-box, conic-gradient(from 200deg, #F9E08B, #D9A320, #FFF3C4, #E0B43A, #F9E08B) border-box;
  box-shadow: 0 14px 30px rgba(0, 25, 15, .38); animation: medalPop .6s 3s cubic-bezier(.3, 1.6, .5, 1) both, bob 5s 3.8s ease-in-out infinite; }
.medal--offer { background: radial-gradient(circle at 35% 28%, #FFF8C8, #FFE14D 60%, #FFD21F) padding-box, conic-gradient(from 200deg, #F9E08B, #D9A320, #FFF3C4, #E0B43A, #F9E08B) border-box; animation-delay: 3.12s, 4.4s; }
.medal--offer::after { content: ""; position: absolute; inset: 0; border-radius: 50%; pointer-events: none; background: linear-gradient(100deg, transparent 38%, rgba(255, 255, 255, .7) 50%, transparent 62%) -180% 0 / 250% 100% no-repeat; animation: medalShine 3.6s 4s ease-in-out infinite; }
.medal__s { font-size: 15px; font-weight: 900; color: var(--green); }
.medal__l { font-size: 42px; font-weight: 900; letter-spacing: .02em; }
.medal__ribbon { position: absolute; top: -12px; left: 50%; transform: translateX(-50%) rotate(-4deg); white-space: nowrap; padding: 4px 16px; font-size: 14px; font-weight: 900; color: #fff;
  background: linear-gradient(180deg, #FF9A3A, #EE6A00); clip-path: polygon(0 0, 100% 0, 94% 50%, 100% 100%, 0 100%, 6% 50%); filter: drop-shadow(0 2px 0 rgba(150, 60, 0, .4)); }
.medal__name { font-size: 13px; font-weight: 900; margin-top: 10px; }
.medal__price { display: flex; align-items: baseline; color: #D93A10; font-weight: 900; line-height: 1; }
.medal__price b { font-size: 46px; letter-spacing: 0; text-shadow: 0 2px 0 #fff; }
.medal__price small { font-size: 16px; }
.medal__price sup { font-size: 10px; color: var(--green-ink); }
.medal__old { font-size: 11.5px; font-weight: 700; margin-top: 4px; }
.info-box { width: 100%; max-width: 420px; display: grid; grid-template-columns: 1fr 1fr; border: 2px solid rgba(255, 255, 255, .85); border-radius: 16px; background: rgba(10, 46, 34, .45); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); animation: fadeUp .6s 3.3s both; }
.info-box__row { display: grid; justify-items: center; padding: 10px 6px 12px; text-align: center; line-height: 1.3; }
.info-box__row + .info-box__row { border-left: 1px solid rgba(255, 255, 255, .5); }
.info-box__row span { font-size: 12.5px; font-weight: 700; }
.info-box__row b { font-size: 16px; font-weight: 900; color: var(--marker); }
.info-box__row b .num { font-size: 30px; }
.hero__chip { justify-self: center; background: var(--green-ink); color: #fff; font-weight: 700; font-size: 12px; padding: 8px 14px; border-radius: 999px; text-align: center; box-shadow: 0 6px 16px rgba(0, 25, 15, .3); animation: fadeUp .6s 3.4s both; }
.hero__cta { display: flex; flex-direction: column; align-items: center; padding: 22px 16px 0; }
.hero__cta .btn { width: 100%; max-width: 560px; animation: fadeUp .6s 3.5s both, glow 2.4s 4.1s ease-in-out infinite; }
.hero__note { margin-top: 12px; font-size: 11.5px; color: rgba(255, 255, 255, .8); }

/* ---------- S03 POINT（濃い緑の面に白カード） ---------- */
.point-list { display: grid; gap: 16px; }
.point { position: relative; background: #fff; color: var(--ink); border-radius: var(--radius); padding: 22px 20px 24px; box-shadow: 0 16px 40px rgba(0, 25, 15, .25); display: grid; grid-template-columns: 88px 1fr; column-gap: 16px; align-items: start; }
.point::before { content: ""; position: absolute; top: 0; left: 0; border: 14px solid var(--accent); border-right-color: transparent; border-bottom-color: transparent; border-radius: var(--radius) 0 0 0; }
.point__no { grid-column: 1 / -1; font: 800 28px/1 var(--ff-en); color: var(--green); margin-bottom: 6px; }
.point__img { grid-row: span 2; width: 88px; aspect-ratio: 1; object-fit: contain; animation: float 5s ease-in-out infinite; }
.point:nth-child(2n) .point__img { animation-delay: -1.6s; }
.point__title { font-size: 17px; font-weight: 900; line-height: 1.5; color: var(--green-ink); margin-bottom: 6px; }
.point__title .num { color: var(--accent-deep); font-size: 1.3em; }
.point__title sup { color: var(--ink-sub); }
.point p:not(.point__no) { font-size: 14px; line-height: 1.75; }

/* ---------- S03b プラン ---------- */
.plans { display: grid; gap: 16px; }
.plan { position: relative; background: #fff; border: 2px solid var(--line); border-radius: 16px; padding: 30px 20px 22px; box-shadow: var(--shadow); text-align: center; }
.plan--accent { border-color: var(--accent); }
.plan__ribbon { position: absolute; top: -14px; left: 50%; transform: translateX(-50%); background: var(--green); color: #fff; font: 800 13px/1 var(--ff-en); letter-spacing: .1em; padding: 7px 16px; border-radius: 999px; }
.plan--accent .plan__ribbon { background: var(--accent-deep); }
.plan__name { font-size: 24px; font-weight: 900; color: var(--green-ink); }
.plan__text { font-size: 14px; color: var(--ink-sub); margin-top: 6px; }
.plan__cond { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px 8px; margin-top: 14px; }
.plan__cond li { background: var(--green-tint); color: var(--green-deep); font-weight: 700; font-size: 13.5px; padding: 4px 12px; border-radius: 999px; }
.plan__cond li::before { content: "✓ "; color: var(--green); }

/* ---------- CTA（斜めカット） ---------- */
.cta { padding: 72px 0; background: linear-gradient(135deg, var(--green-deep) 0%, var(--green) 60%, #1E8F66 100%); clip-path: polygon(0 24px, 100% 0, 100% calc(100% - 24px), 0 100%); margin: -24px 0; z-index: 1; }
.cta__inner { display: flex; flex-direction: column-reverse; align-items: center; gap: 8px; text-align: center; }
.cta__card { margin-top: 12px; width: 100%; max-width: 520px; background: #fff; color: var(--ink); border-radius: var(--radius); padding: 20px 16px 22px; box-shadow: 0 16px 40px rgba(0, 25, 15, .3); }
.cta__catch { font-weight: 700; font-size: 15px; color: var(--green-deep); }
.cta__catch em { color: var(--accent-deep); font-weight: 900; font-size: 1.3em; }
.cta__title { font-size: 21px; font-weight: 900; line-height: 1.5; color: var(--green-ink); margin: 4px 0 14px; }
.cta__img { width: 200px; animation: float 5s ease-in-out infinite; }
@media (max-width: 767px) { .cta__card .btn, .hero__cta .btn { font-size: 15px; padding-left: 20px; padding-right: 48px; letter-spacing: .02em; } }
.cta + .sec { padding-top: 96px; }
.sec:has(+ .cta) { padding-bottom: 96px; }

/* ---------- S05 チェッカー（参考の CASE カード） ---------- */
.checks { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.check { background: #fff; border-radius: var(--radius); box-shadow: var(--shadow); padding: 14px 12px 0; display: flex; flex-direction: column; overflow: hidden; }
.check:last-child { grid-column: 1 / -1; }
.check__no { font: 800 12px/1 var(--ff-en); color: #9FB8AC; letter-spacing: .08em; margin-bottom: 8px; }
.check__no span { font-size: 30px; color: #BFD6CB; margin-left: 4px; }
.check__txt { margin: 10px -12px 0; padding: 26px 12px 14px; background: linear-gradient(180deg, #123B2D, #0A241B); color: #fff; text-align: center; font-size: 13.5px; line-height: 1.6; flex: 1; position: relative; }
.check__txt::before { content: ""; position: absolute; top: 8px; left: 50%; margin-left: -8px; width: 13px; height: 13px; border-right: 3px solid #fff; border-bottom: 3px solid #fff; transform: rotate(45deg); }
.check__txt strong { color: var(--marker); }
.warn-band { margin: 36px auto 0; max-width: 720px; display: flex; align-items: center; justify-content: center; gap: 14px; padding: 18px 20px; background: var(--green-ink); color: #fff; font-weight: 700; font-size: 16px; line-height: 1.6; border-radius: var(--radius); text-align: left; }
.warn-band strong { color: var(--marker); font-size: 1.2em; }
.warn-band__icon { flex: none; width: 40px; height: 36px; background: var(--marker); color: var(--green-ink); clip-path: polygon(50% 0, 100% 100%, 0 100%); display: grid; place-items: end center; padding-bottom: 2px; font: 900 20px/1 var(--ff-en); animation: shake 3.5s ease-in-out infinite; }

/* ---------- S06 悪い口コミを放置すると ---------- */
.impacts { display: grid; gap: 20px; }
.impact { background: #fff; border-radius: var(--radius); box-shadow: var(--shadow); overflow: hidden; }
.impact__img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.impact__body { padding: 16px 16px 20px; }
.impact__tag { display: inline-block; background: var(--green); color: #fff; font-weight: 900; font-size: 12.5px; padding: 2px 10px; border-radius: 4px; }
.review-card { margin-top: 10px; border: 1px solid var(--line); border-radius: 10px; padding: 10px 12px; }
.review-card__who { display: flex; align-items: center; gap: 8px; font-size: 13px; }
.review-card__who .ava { width: 28px; height: 28px; font-size: 13px; }
.review-card__who small { color: var(--ink-sub); font-size: 11.5px; margin-left: auto; }
.review-card__body { font-size: 13.5px; line-height: 1.7; margin-top: 6px; }
.impact__text { margin-top: 12px; font-weight: 700; }
.impact__result { margin-top: 6px; font-weight: 900; font-size: 18px; color: var(--alert); }
.impact__result::before { content: "▼ "; font-size: .7em; vertical-align: .15em; }

/* ---------- S07 解決策 ---------- */
.solution__grid { display: grid; gap: 24px; }
.solution__img { width: 100%; max-width: 520px; margin: 0 auto; animation: float 6s ease-in-out infinite; }
.sec-head__tag + .sec-head__title { margin-top: 2px; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chips li { background: #fff; border: 2px solid var(--green); color: var(--green-deep); font-weight: 700; font-size: 13.5px; padding: 4px 14px; border-radius: 999px; }
.chips li::before { content: "✓ "; }
.figures { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin: 20px 0 16px; }
.figure { background: #fff; border-radius: var(--radius); box-shadow: var(--shadow); padding: 12px 14px; line-height: 1.2; }
.figure small { display: block; font-size: 12.5px; font-weight: 700; color: var(--ink-sub); }
.figure b { font-size: 16px; font-weight: 900; color: var(--green-ink); }
.figure .num { font-size: 40px; color: var(--accent-deep); }
.figure sup { color: var(--ink-sub); }
.solution__lead { font-size: 15px; }

/* ---------- S08 比較表 ---------- */
.compare__scroll { overflow-x: auto; -webkit-overflow-scrolling: touch; margin: 0 -16px; padding: 0 16px 4px; }
.compare__table { width: 100%; min-width: 560px; background: #fff; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); font-size: 13.5px; line-height: 1.6; table-layout: fixed; }
.compare__table th, .compare__table td { padding: 14px 12px; border-bottom: 1px solid var(--line); vertical-align: top; text-align: left; }
.compare__table thead th { background: #F2F6F4; text-align: center; font-weight: 900; vertical-align: middle; }
.compare__table thead th:first-child { width: 76px; }
.compare__table tbody th { background: #F2F6F4; color: var(--green-ink); font-weight: 900; vertical-align: middle; }
.compare__table .is-self { background: var(--green-tint); font-weight: 700; }
.compare__table thead .is-self { background: var(--green); color: #fff; }
.mark { display: block; font-style: normal; font-size: 22px; line-height: 1.2; color: var(--ink-sub); margin-bottom: 4px; }
.is-self .mark { color: var(--accent-deep); }

/* ---------- S09 業種 ---------- */
.industries { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.industries li { background: #fff; border-radius: var(--radius); box-shadow: var(--shadow); overflow: hidden; padding-bottom: 14px; }
.industries img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.industries h3 { font-size: 15px; font-weight: 900; color: var(--green-ink); padding: 10px 12px 0; }
.industries p { font-size: 12.5px; line-height: 1.6; color: var(--ink-sub); padding: 2px 12px 0; }

/* ---------- S10 3ステップ ---------- */
.steps { display: grid; gap: 20px; }
.step { background: #fff; border: 2px solid var(--line); border-radius: 16px; padding: 18px 18px 22px; text-align: center; position: relative; }
.step__no { font: 800 13px/1 var(--ff-en); letter-spacing: .08em; color: var(--green); }
.step__no span { font-size: 32px; margin-left: 4px; }
.step__img { width: 78%; margin: 6px auto 4px; animation: float 5s ease-in-out infinite; }
.step:nth-child(2) .step__img { animation-delay: -1.6s; }
.step:nth-child(3) .step__img { animation-delay: -3.2s; }
.step__title { font-size: 19px; font-weight: 900; color: var(--green-ink); }
.step p:not(.step__no) { font-size: 14px; text-align: left; margin-top: 6px; }

/* ---------- S11 FAQ ---------- */
.faq__list { display: grid; gap: 12px; }
.qa { background: #fff; border-radius: var(--radius); box-shadow: var(--shadow); }
.qa summary { list-style: none; cursor: pointer; position: relative; display: flex; gap: 12px; align-items: center; padding: 16px 48px 16px 16px; font-weight: 700; line-height: 1.6; }
.qa summary::-webkit-details-marker { display: none; }
.qa summary::after { content: ""; position: absolute; right: 18px; top: 50%; width: 10px; height: 10px; margin-top: -7px; border-right: 3px solid var(--green); border-bottom: 3px solid var(--green); transform: rotate(45deg); transition: transform .2s; }
.qa[open] summary::after { transform: rotate(225deg); margin-top: -2px; }
.qa summary:focus-visible { outline: 3px solid var(--marker); outline-offset: 2px; }
.qa__q, .qa__mark { flex: none; display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; font: 800 16px/1 var(--ff-en); color: #fff; background: var(--green); }
.qa__mark { background: var(--accent); }
.qa__a { display: flex; gap: 12px; padding: 0 16px 18px; }
.qa__a p { font-size: 14.5px; padding-top: 4px; }

/* ---------- S12 フォーム ---------- */
.contact { overflow-x: clip; }
.contact__card { position: relative; background: #fff; color: var(--ink); border-radius: 16px; padding: 12px 18px 26px; box-shadow: 0 16px 40px rgba(0, 25, 15, .3); }
.contact__deco { position: absolute; right: -8px; top: -60px; width: 110px; animation: float 5s ease-in-out infinite; pointer-events: none; }
.form__row { padding: 12px 0; }
.form label { display: flex; align-items: center; gap: 8px; font-weight: 700; margin-bottom: 6px; }
.req, .opt { font-size: 12px; color: #fff; border-radius: 4px; padding: 0 6px; line-height: 1.8; }
.req { background: var(--alert); }
.opt { background: #8A9A93; }
.form input[type="text"], .form input[type="tel"], .form input[type="email"], .form input[type="url"], .form textarea {
  width: 100%; min-height: 52px; padding: 10px 14px; font: 16px var(--ff); color: var(--ink);
  background: #F7FAF8; border: 2px solid var(--line); border-radius: 10px; transition: border-color .15s, box-shadow .15s, background .15s;
}
.form textarea { resize: vertical; line-height: 1.7; }
.form input:focus, .form textarea:focus { outline: none; background: #fff; border-color: var(--green); box-shadow: 0 0 0 4px rgba(11, 110, 79, .15); }
.form [aria-invalid="true"] { border-color: var(--alert); }
.form__err { color: var(--alert); font-size: 12.5px; font-weight: 700; }
.form__hint { font-size: 12px; color: var(--ink-sub); margin-top: 4px; }
.form__err:empty { display: none; }
.form__agree { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 8px; margin: 18px 0 20px; }
.form__agree label { margin: 0; font-weight: 400; }
.form__agree input { width: 20px; height: 20px; accent-color: var(--green); }
.form__agree .form__err { flex-basis: 100%; text-align: center; }
.form__hp { position: absolute !important; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form__status { margin-top: 14px; text-align: center; color: var(--alert); font-weight: 700; font-size: 14px; }
.form__status:empty { display: none; }
.form__recaptcha { margin-top: 14px; font-size: 11.5px; line-height: 1.6; color: var(--ink-sub); text-align: center; }

/* ---------- フッター ---------- */
.footer { padding: 48px 0 110px; font-size: 13.5px; background: #F5F8F6; }
.footer__logo img { width: 150px; margin: 0 auto 20px; }
.company > div { display: grid; grid-template-columns: 84px 1fr; gap: 12px; padding: 10px 0; border-bottom: 1px solid var(--line); }
.company dt { font-weight: 700; }
.company dd { word-break: auto-phrase; }
.footer__copy { text-align: center; margin-top: 24px; color: var(--ink-sub); font-size: 12px; }

/* ---------- SP 追従バー ---------- */
.float-bar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 40; padding: 10px 16px calc(10px + env(safe-area-inset-bottom)); background: rgba(255, 255, 255, .95); box-shadow: 0 -4px 16px rgba(10, 46, 34, .12); transform: translateY(110%); transition: transform .3s; }
.float-bar.is-shown { transform: none; }

/* ---------- 表示アニメーション ---------- */
.reveal { opacity: 0; transform: translateY(16px); transition: opacity .6s, transform .6s; transition-delay: calc(var(--i, 0) * 90ms); }
.reveal.is-in, .no-js .reveal { opacity: 1; transform: none; }
.reveal--left { transform: translateX(-28px); }
.reveal--right { transform: translateX(28px); }
.reveal--zoom { transform: scale(.94); }
.sec-head .sec-head__en { transition: letter-spacing 1s cubic-bezier(.2, .7, .2, 1), opacity 1s; }
.sec-head.reveal:not(.is-in) .sec-head__en { letter-spacing: .5em; opacity: 0; }
.sec-head__title::after { transition: transform .7s .3s cubic-bezier(.2, .7, .2, 1); }
.sec-head.reveal:not(.is-in) .sec-head__title::after { transform: scaleX(0); }
.sec-head.reveal { opacity: 1; transform: none; }
.sec-head.reveal .sec-head__title, .sec-head.reveal .sec-head__lead { transition: opacity .7s, transform .7s; }
.sec-head.reveal:not(.is-in) .sec-head__title, .sec-head.reveal:not(.is-in) .sec-head__lead { opacity: 0; transform: translateY(14px); }

@keyframes fadeUp { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }
@keyframes float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }
@keyframes blob { from { transform: translate(0, 0) scale(1); } to { transform: translate(60px, -40px) scale(1.15); } }
@keyframes twinkle { from { opacity: .45; } to { opacity: 1; } }
@keyframes shine { 0% { left: -60%; } 22%, 100% { left: 130%; } }
@keyframes spark { 0%, 100% { transform: scale(0) rotate(0); opacity: 0; } 50% { transform: scale(1) rotate(90deg); opacity: 1; } }
@keyframes glow { 0%, 100% { box-shadow: 0 4px 0 var(--accent-deep), 0 10px 20px rgba(232, 111, 0, .25); } 50% { box-shadow: 0 4px 0 var(--accent-deep), 0 10px 32px rgba(255, 138, 31, .55); } }
@keyframes shake { 0%, 86%, 100% { transform: rotate(0); } 90% { transform: rotate(-10deg); } 94% { transform: rotate(10deg); } }
@keyframes bandIn { from { transform: translateY(-100%); } to { transform: none; } }
@keyframes chIn { from { opacity: 0; transform: translateY(40%) scale(.7); } to { opacity: 1; transform: none; } }
@keyframes textShine { from { background-position: -150% 0; } to { background-position: 250% 0; } }
@keyframes lineIn { to { transform: scaleX(1); } }
@keyframes medalPop { from { opacity: 0; transform: scale(.3) rotate(-12deg); } to { opacity: 1; transform: none; } }
@keyframes bob { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-6px); } }
@keyframes medalShine { 0% { background-position: -180% 0; } 30%, 100% { background-position: 250% 0; } }

/* 動きを減らす設定：アニメーションを止めて最終状態で見せる（FV の口コミは元の状態のまま） */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .reveal, .sec-head.reveal:not(.is-in) .sec-head__en, .sec-head.reveal:not(.is-in) .sec-head__title, .sec-head.reveal:not(.is-in) .sec-head__lead { opacity: 1 !important; transform: none !important; letter-spacing: .04em; }
  .sec-head.reveal:not(.is-in) .sec-head__title::after { transform: none; }
  .hero__sub::before, .hero__sub::after, .hero__key::after { transform: none; }
  .spark { display: none; }
}

/* ==========================================================================
   PC（768px〜）
   ========================================================================== */
@media (min-width: 768px) {
  :root { --header-h: 64px; }
  body { font-size: 16px; }
  .sp-only { display: none; }
  .wrap { padding: 0 24px; }
  .sec { padding: 112px 0; }
  .note { font-size: 13.5px; }
  .btn--sm { font-size: 14px; padding: 10px 44px 10px 22px; }
  .btn--lg { font-size: 20px; padding: 20px 64px 20px 40px; }
  .header__logo img { width: 190px; }
  .header__note { display: block; margin-left: auto; font-size: 13px; font-weight: 700; color: var(--green-deep); }

  .sec-head { margin-bottom: 56px; }
  .sec-head__en { font-size: 88px; margin-bottom: -46px; }
  .sec-head__title { font-size: 34px; }
  .sec-head__lead { font-size: 15px; }
  .sec-head__tag { font-size: 17px; }
  .sec-head--with-img { padding: 0 220px; }
  .sec-head__img { position: absolute; right: 0; bottom: -20px; width: 220px; margin: 0; }

  /* FV：左＝見出し・口コミ画面、右＝3D・メダル・情報枠 */
  .fv { padding-bottom: 48px; }
  .hero__band { padding: 16px 24px 18px; }
  .hero__band-txt { font-size: 24px; }
  .hero__band-txt br { display: none; }
  .hero__inner { grid-template-columns: 40fr 60fr; grid-template-areas: "phone copy" "phone badges"; gap: 20px 40px; padding: 36px 24px 0; align-items: center; }
  .hero__copy { align-self: end; }
  .hero__badges { align-self: start; grid-template-columns: auto 1fr; justify-items: start; align-items: center; column-gap: 16px; }
  .hero__chip { grid-column: 1 / -1; justify-self: start; }
  .hero__pre { text-align: left; font-size: 26px; }
  .hero__title { text-align: left; font-size: min(8.4vw, 100px); }
  .hero__sub { text-align: left; font-size: min(2.2vw, 24px); }
  .hero__phone { width: min(100%, 360px); max-width: none; margin: 0 0 0 auto; }
        .medal { width: 168px; }
  .hero__cta { padding-top: 32px; }

  .point-list { grid-template-columns: repeat(4, 1fr); gap: 20px; }
  .point { display: block; text-align: center; padding: 28px 20px 30px; }
  .point__no { font-size: 36px; }
  .point__img { width: 120px; margin: 4px auto 14px; }
  .point__title { font-size: 19px; min-height: 3em; display: flex; align-items: center; justify-content: center; }
  .point p:not(.point__no) { text-align: left; }

  .plans { grid-template-columns: 1fr 1fr; gap: 24px; }
  .plan { padding: 40px 28px 28px; }
  .plan__name { font-size: 30px; }
  .plan__text { font-size: 15px; }

  .cta { padding: 104px 0; clip-path: polygon(0 48px, 100% 0, 100% calc(100% - 48px), 0 100%); margin: -48px 0; }
  .cta__inner { flex-direction: row; justify-content: center; gap: 48px; text-align: left; }
  .cta__card { padding: 26px 30px 28px; }
  .cta__catch { font-size: 17px; }
  .cta__title { font-size: 30px; }
  .cta__img { width: 320px; flex: none; }
  .cta + .sec { padding-top: 160px; }
  .sec:has(+ .cta) { padding-bottom: 160px; }

  .checks { grid-template-columns: repeat(5, 1fr); gap: 16px; }
  .check:last-child { grid-column: auto; }
  .check__txt { font-size: 14.5px; }
  .warn-band { font-size: 20px; }

  .impacts { grid-template-columns: repeat(3, 1fr); gap: 24px; }
  .impact__result { font-size: 20px; }

  .solution__grid { grid-template-columns: 5fr 6fr; gap: 56px; align-items: center; }
  .figure .num { font-size: 52px; }
  .solution__lead { font-size: 16px; }

  .compare__scroll { margin: 0; padding: 0; overflow: visible; }
  .compare__table { font-size: 15.5px; }
  .compare__table thead th:first-child { width: 120px; }
  .compare__table th, .compare__table td { padding: 18px 20px; }
  .mark { font-size: 26px; }

  .industries { grid-template-columns: repeat(4, 1fr); gap: 20px; }
  .industries h3 { font-size: 17px; }
  .industries p { font-size: 13.5px; }

  .steps { grid-template-columns: repeat(3, 1fr); gap: 28px; }
  .step:not(:last-child)::after { content: ""; position: absolute; right: -24px; top: 50%; border: solid transparent; border-width: 14px 0 14px 12px; border-left-color: var(--green); }

  .qa summary { font-size: 17px; padding: 20px 56px 20px 22px; }
  .qa__a { padding: 0 22px 22px; }
  .qa__a p { font-size: 16px; }

  .contact__card { padding: 24px 48px 40px; }
  .contact__deco { width: 180px; right: -60px; top: -110px; }

  .footer { padding: 56px 0 48px; font-size: 14px; }
  .company > div { grid-template-columns: 120px 1fr; }
  .float-bar { display: none; }
}

@media (min-width: 1024px) {
  .info-box { grid-template-columns: 1fr; max-width: 180px; }
  .info-box__row + .info-box__row { border-left: 0; border-top: 1px solid rgba(255, 255, 255, .5); }
}

/* ---------- サンクスページ（thanks-v4/） ---------- */
.thanks-v4 { padding: calc(var(--header-h) + 48px) 0 72px; background: var(--green-tint) url(../output/images-v4/bg01_iso-grid.webp) center top / 900px; min-height: 80vh; }
.thanks-v4__card { position: relative; background: #fff; border-radius: 16px; box-shadow: var(--shadow); padding: 28px 20px 36px; text-align: center; }
.thanks-v4__img { width: 110px; margin: 0 auto; animation: float 5s ease-in-out infinite; }
.thanks-v4 .sec-head__en { margin: 4px 0 -18px; }
.thanks-v4__title { position: relative; font-size: 23px; font-weight: 900; line-height: 1.5; color: var(--green-ink); }
.thanks-v4__title::after { content: ""; display: block; width: 40px; height: 4px; margin: 14px auto 0; background: var(--green); border-radius: 2px; }
.thanks-v4__lead { margin-top: 18px; text-align: left; }
.thanks-v4__steps { display: grid; gap: 10px; margin: 24px 0 8px; text-align: left; }
.thanks-v4__steps li { display: flex; gap: 12px; align-items: center; background: var(--green-tint); border-radius: 10px; padding: 12px 14px; font-weight: 700; font-size: 14px; }
.thanks-v4__steps b { flex: none; font: 800 12px/1 var(--ff-en); letter-spacing: .06em; color: var(--green); }
.thanks-v4 .btn { margin-top: 24px; }
.thanks-v4 + .footer { padding-bottom: 40px; }
@media (min-width: 768px) {
  .thanks-v4 { padding: calc(var(--header-h) + 80px) 0 112px; }
  .thanks-v4__card { padding: 40px 56px 48px; }
  .thanks-v4__title { font-size: 32px; }
  .thanks-v4__lead { text-align: center; }
  .thanks-v4__steps li { font-size: 15px; }
}

/* FV のバッジ：Codex の画像（金の縁＋月桂樹、docs/image-prompts-badges.md の BD-G1・G2）。文字は HTML のまま、画像中央の無地の円
   （画像幅の 74%、中心は少し上）に収める。少し大きくして文字の大きさを保つ */
.medals .medal { border: 0; background: url(../output/images-v4/bd01_badge-free.webp) center / 100% 100% no-repeat; box-shadow: none;
  filter: drop-shadow(0 10px 14px rgba(0, 25, 15, .35)); min-height: 0; zoom: 1.12; }
.medals .medal--offer { background-image: url(../output/images-v4/bd02_badge-offer.webp); }
.medals .medal--offer::after { inset: 13% 13% 15%; }
/* 文字は中央の円の幅（74%）まで。1行の項目は折り返さない。円の中心に合わせて少し上へ */
.medals .medal > :not(.medal__ribbon) { max-width: 74%; white-space: nowrap; position: relative; top: -2%; }
/* 円の下の方は幅が狭いので、いちばん下の行だけ少し小さく */
.medals .medal--offer .medal__old { zoom: .88; }
@media (max-width: 767px) { .medals .medal--offer .medal__old { zoom: .8; } }
