/* 2026-10-02 集客・改善ページ（end-svc-marketing.html）専用。土台は svc-v2.css、ここは見せ場の4つ（診断・ヒートマップ・言葉・レポート）と料金の3段だけ */

/* ===== 診断：巨大な「34」に本物の診断画面が重なる ===== */
.gr-chk { overflow: hidden; }
.gr-chk__hd .big { margin-bottom: 0; }
.gr-chk__stage { position: relative; width: var(--k-w); margin: 0 auto; height: clamp(420px, 46vw, 640px); }
.gr-score { position: absolute; left: -1vw; top: 50%; translate: 0 -54%; display: flex; align-items: flex-end; color: var(--k-ink); pointer-events: none; }
.gr-score b { font: 900 clamp(220px, 33vw, 470px)/.78 var(--f-sans); letter-spacing: -.08em; font-variant-numeric: tabular-nums; color: var(--k-blue); }
.gr-score small { font: 900 clamp(26px, 3.4vw, 50px)/1 var(--f-sans); color: #c7ccd6; margin: 0 0 .2em .3em; letter-spacing: -.02em; }
.gr-score__cap { position: absolute; left: 0; bottom: 2%; font-weight: 800; font-size: clamp(13px, 1.2vw, 15px); line-height: 1.7; color: var(--k-ink2); }
.gr-shot { position: absolute; margin: 0; border-radius: 12px; overflow: hidden; background: #fff; box-shadow: 0 30px 70px -20px rgba(17,24,48,.35), 0 0 0 1px rgba(17,24,48,.08);
  opacity: 0; transition: opacity .8s, transform 1.1s cubic-bezier(.2,.8,.2,1); }
.gr-shot img { display: block; width: 100%; }
.gr-shot--diag { right: 0; top: 4%; width: 54%; transform: translate(60px, 30px) rotate(0deg); }
.gr-shot--comp { right: 16%; bottom: 0; width: 42%; transform: translate(-40px, 60px) rotate(0deg); transition-delay: .25s; }
.gr-chk.is-on .gr-shot--diag { opacity: 1; transform: rotate(3deg); }
.gr-chk.is-on .gr-shot--comp { opacity: 1; transform: rotate(-4deg); }
.gr-gap { position: absolute; right: -1%; bottom: 8%; z-index: 2; background: var(--k-ink); color: #fff; font-weight: 900; font-size: clamp(14px, 1.4vw, 18px); line-height: 1.5;
  padding: 14px 20px; border-radius: 12px; transform: rotate(5deg) scale(.6); opacity: 0; transition: transform .6s cubic-bezier(.3,1.6,.5,1) .9s, opacity .3s .9s; }
.gr-gap b { color: var(--k-blue2); font-size: 1.5em; margin: 0 2px; }
.gr-chk.is-on .gr-gap { transform: rotate(5deg); opacity: 1; }

.gr-bars { list-style: none; padding: 0; margin: clamp(40px, 5vw, 64px) auto 0 !important; display: grid; grid-template-columns: repeat(4, 1fr); gap: clamp(14px, 2vw, 28px); }
.gr-bars li { display: grid; grid-template-columns: 1fr auto; align-items: end; gap: 4px 10px; border-top: 2px solid var(--k-ink); padding-top: 14px; }
.gr-bars b { font-weight: 900; font-size: 15px; }
.gr-bars span { grid-column: 1; font-size: 12px; color: var(--k-ink2); }
.gr-bars strong { grid-column: 2; grid-row: 1 / 3; font: 900 clamp(40px, 4.4vw, 60px)/1 var(--f-sans); letter-spacing: -.04em; color: var(--k-ink); }
.gr-bars i { grid-column: 1 / -1; height: 6px; border-radius: 3px; background: #e8ebf0; overflow: hidden; margin-top: 8px; }
.gr-bars em { display: block; height: 100%; width: calc(var(--v) * 1%); background: var(--k-ink); transform-origin: left; transform: scaleX(0); transition: transform 1.2s cubic-bezier(.2,.8,.2,1) .4s; }
.gr-bars .is-low em { background: #d62f2f; } .gr-bars .is-low strong { color: #d62f2f; }
.gr-chk.is-on .gr-bars em { transform: scaleX(1); }
.gr-note { margin: 22px auto 0 !important; font-size: 13px; color: var(--k-ink2); }

/* ===== ヒートマップ（暗い面）：大きな英字の上に、本物のページが流れる窓が重なる ===== */
.gr-heat { position: relative; width: var(--k-w); margin: 0 auto; padding: clamp(90px, 11vw, 160px) 0; display: grid; grid-template-columns: 1fr 1.05fr; gap: clamp(24px, 4vw, 60px); align-items: center; }
.gr-heat__txt { position: relative; z-index: 2; }
.gr-heat__en { position: absolute; left: -.04em; top: 50%; translate: 0 -50%; z-index: -1; font: 900 clamp(110px, 14vw, 210px)/.82 var(--f-sans); letter-spacing: -.06em; color: transparent; -webkit-text-stroke: 1.5px rgba(255,255,255,.16); }
.gr-heat h2 { font-weight: 900; font-size: clamp(32px, 4vw, 56px); line-height: 1.25; letter-spacing: -.01em; }
.gr-heat h2 em { font-style: normal; color: var(--k-blue2); }
.gr-heat__txt p:last-child { margin-top: 22px !important; color: #c7ccd6; line-height: 2; font-size: 15px; max-width: 30em; }
.gr-heat__win { position: relative; z-index: 1; border-radius: 12px; overflow: hidden; background: #fff; box-shadow: 0 50px 110px -30px rgba(0,0,0,.9), 0 0 0 1px rgba(255,255,255,.1); transform: rotate(-2.5deg); }
.gr-heat__bar { height: 42px; display: flex; align-items: center; gap: 7px; padding: 0 16px; background: #111214; }
.gr-heat__bar i { width: 10px; height: 10px; border-radius: 50%; background: #3a3b40; }
.gr-heat__bar em { margin-left: 12px; font-style: normal; font-weight: 700; font-size: 13px; color: rgba(255,255,255,.7); }
.gr-heat__view { position: relative; height: clamp(360px, 38vw, 540px); overflow: hidden; }
.gr-heat__page { position: absolute; left: 0; top: 0; width: 100%; animation: grScroll 16s cubic-bezier(.6,0,.4,1) infinite alternate; }
.gr-heat__page img { display: block; width: 100%; }
.gr-heat__clk { position: absolute; inset: 0; mix-blend-mode: multiply; animation: grPulse 2.4s ease-in-out infinite; }
@keyframes grScroll { 0%, 8% { transform: translateY(-14%); } 92%, 100% { transform: translateY(calc(-100% + clamp(360px, 38vw, 540px))); } }
@keyframes grPulse { 50% { opacity: .55; filter: saturate(1.4); } }
.gr-heat__scroll { position: absolute; right: -2%; bottom: 6%; z-index: 3; width: clamp(170px, 17vw, 250px); margin: 0; border-radius: 12px; overflow: hidden; background: #fff; box-shadow: 0 30px 60px -16px rgba(0,0,0,.8); transform: rotate(6deg); }
.gr-heat__scroll img { display: block; width: 100%; }
.gr-heat__scroll figcaption { position: absolute; left: 10px; bottom: 10px; background: var(--k-ink); color: #fff; font-weight: 800; font-size: 11px; padding: 5px 10px; border-radius: 999px; }

/* ===== 言葉：大きな文字に赤い線 → 青で打ち直す ===== */
.gr-copy { overflow: hidden; }
.gr-copy__rows { width: var(--k-w); margin: 0 auto; }
.gr-cp { position: relative; display: grid; grid-template-columns: clamp(64px, 7vw, 100px) 1fr; column-gap: clamp(12px, 2vw, 30px); padding: clamp(22px, 3vw, 40px) 0; border-top: 2px solid var(--k-ink); }
.gr-cp:nth-child(2) { transform: rotate(-1deg); margin-left: 3%; }
.gr-cp__lab { grid-row: 1 / 3; font-weight: 900; font-size: 13px; color: var(--k-ink2); padding-top: .6em; }
.gr-cp__bef { justify-self: start; position: relative; font-weight: 900; font-size: clamp(28px, 3.9vw, 56px); line-height: 1.15; letter-spacing: -.02em; color: #b7bcc6; }
.gr-cp__bef span { position: relative; }
.gr-cp__bef span::after { content: ""; position: absolute; left: -3%; right: -3%; top: 52%; height: .09em; min-height: 4px; background: #d62f2f; border-radius: 3px; transform-origin: left; transform: scaleX(0) rotate(-2deg); transition: transform .45s cubic-bezier(.6,0,.3,1); }
.gr-cp.is-cut .gr-cp__bef span::after { transform: scaleX(1) rotate(-2deg); }
.gr-cp__aft { min-height: 1.2em; margin-top: 6px !important; font-weight: 900; font-size: clamp(28px, 3.9vw, 56px); line-height: 1.2; letter-spacing: -.02em; color: var(--k-blue); }
.gr-cp__aft::before { content: "→ "; color: var(--k-ink); opacity: 0; transition: opacity .3s; }
.gr-cp.is-cut .gr-cp__aft::before { opacity: 1; }
.gr-cp__car { display: inline-block; width: .08em; min-width: 3px; height: .95em; margin-left: 4px; vertical-align: -.1em; background: var(--k-blue); opacity: 0; }
.gr-cp.is-typing .gr-cp__car { opacity: 1; }
.gr-cp.is-done .gr-cp__car { animation: grBlink 1s steps(1) infinite; }
@keyframes grBlink { 50% { opacity: 0; } 0% { opacity: 1; } }
.gr-copy__s { margin: clamp(26px, 3vw, 40px) auto 0 !important; display: flex; flex-wrap: wrap; align-items: center; gap: 12px 18px; color: var(--k-ink2); font-size: 14.5px; line-height: 1.9; }
.gr-stamp { display: inline-flex; align-items: baseline; gap: 4px; background: var(--k-ink); color: #fff; font-weight: 900; font-size: 14px; padding: 8px 16px; border-radius: 999px; transform: rotate(-3deg); }
.gr-stamp b { font-size: 22px; color: var(--k-blue2); }

/* ===== レポート（暗い面）：本物のページが扇のように広がる ===== */
.gr-rep { position: relative; overflow: hidden; padding: clamp(90px, 11vw, 150px) 0; min-height: clamp(560px, 52vw, 760px); }
.gr-rep__bg { position: absolute; left: 50%; top: 50%; translate: -50% -50%; font: 900 clamp(140px, 22vw, 340px)/1 var(--f-sans); letter-spacing: -.07em; color: rgba(255,255,255,.06); white-space: nowrap; pointer-events: none; }
.gr-rep__fan { position: absolute; left: 60%; top: 50%; width: clamp(280px, 32vw, 460px); aspect-ratio: 1400 / 1204; translate: -30% -50%; }
.gr-rep__fan img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: top; border-radius: 12px; background: #fff; box-shadow: 0 30px 60px -18px rgba(0,0,0,.85);
  transform: rotate(calc((var(--i) - 5) * 1.2deg)); transition: transform 1.3s cubic-bezier(.2,.8,.2,1); transition-delay: calc((5 - var(--i)) * 70ms); }
.gr-rep.is-open .gr-rep__fan img { transform: translate(calc((var(--i) - 2.5) * 13%), calc(var(--a) * 4%)) rotate(calc((var(--i) - 2.5) * 7deg)); }
.gr-rep__txt { position: relative; z-index: 2; width: var(--k-w); margin: 0 auto; max-width: none; }
.gr-rep__txt > * { max-width: 420px; }
.gr-rep__n { display: flex; align-items: flex-end; gap: 6px; }
.gr-rep__n b { font: 900 clamp(90px, 11vw, 160px)/.8 var(--f-sans); letter-spacing: -.06em; color: var(--k-blue2); }
.gr-rep__n small { font-weight: 900; font-size: 18px; margin-bottom: .3em; }
.gr-rep h2 { margin-top: 18px !important; font-weight: 900; font-size: clamp(28px, 3.4vw, 46px); line-height: 1.3; }
.gr-rep h2 em { font-style: normal; color: var(--k-blue2); }
.gr-rep__txt p:last-child { margin-top: 18px !important; color: #c7ccd6; line-height: 2; font-size: 15px; }

/* ===== 料金：3段 ===== */
.gr-price .sv-pst { min-height: 0; margin-bottom: clamp(40px, 5vw, 64px); }
.gr-plans { display: grid; grid-template-columns: 1fr 1fr 1.25fr; gap: clamp(12px, 1.6vw, 20px); align-items: stretch; }
.gr-plan { position: relative; display: flex; flex-direction: column; border-radius: 12px; padding: clamp(22px, 2.6vw, 34px); background: #0f1013; color: #fff; box-shadow: 0 0 0 1px rgba(255,255,255,.11) inset; }
.gr-plan__no { display: flex; align-items: center; gap: 9px; font: 900 clamp(19px,1.9vw,26px)/1 var(--f-sans); color: #fff; letter-spacing: -.02em; }
.gr-plan__no::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--k-blue); }
.gr-plan h3 { margin-top: 14px !important; font-weight: 900; font-size: clamp(20px, 2vw, 26px); line-height: 1.35; }
.gr-plan__s { margin-top: 4px !important; font-size: 12.5px; color: #9aa0ab; font-weight: 700; }
.gr-plan ul { list-style: none; padding: 0; margin: 20px 0 0 !important; display: grid; gap: 9px; flex: 1; }
.gr-plan li { position: relative; padding-left: 20px; font-size: 14px; line-height: 1.6; color: #d8dbe2; }
.gr-plan li::before { content: ""; position: absolute; left: 2px; top: .55em; width: 8px; height: 8px; border-radius: 50%; background: var(--k-blue); }
.gr-plan li.gr-plan__inc { color: #8b909b; } .gr-plan li.gr-plan__inc::before { background: transparent; box-shadow: 0 0 0 1.5px #8b909b inset; }
.gr-plan__p { margin-top: 22px !important; padding-top: 16px; border-top: 1px solid rgba(255,255,255,.12); font-weight: 900; font-size: 22px; }
.gr-plan--on { background: #fff; color: var(--k-ink); transform: rotate(1deg) translateY(-10px); box-shadow: 0 40px 80px -20px rgba(224,138,30,.4); }
.gr-plan--on.sv-rv.is-in { transform: rotate(1deg) translateY(-10px); }
.gr-plan--on .gr-plan__no { color: var(--k-ink); } .gr-plan--on .gr-plan__s { color: var(--k-ink2); }
.gr-plan--on li { color: var(--k-ink); } .gr-plan--on li.gr-plan__inc { color: var(--k-ink2); }
.gr-plan--on .gr-plan__p { border-top-color: #e3e6ec; color: var(--k-blue); }
.gr-plan__tag { position: absolute; right: 18px; top: -14px; background: var(--k-blue); color: #fff; font-weight: 900; font-size: 12px; padding: 7px 14px; border-radius: 999px; transform: rotate(4deg); }
.gr-price .pc2__note { margin: 26px auto 0 !important; color: #8b909b; font-size: 13px; }

/* ===== スマホ ===== */
@media (max-width: 900px) {
  .gr-chk__stage { height: auto; display: flex; flex-direction: column; padding-top: 10px; }
  .gr-score { position: relative; left: 0; top: auto; translate: none; }
  .gr-score b { font-size: clamp(170px, 50vw, 260px); }
  .gr-score__cap { position: relative; bottom: auto; margin-top: 10px !important; }
  .gr-shot { position: relative; right: auto; top: auto; bottom: auto; width: 92%; }
  .gr-shot--diag { margin-top: 26px; align-self: flex-end; }
  .gr-shot--comp { margin-top: -30px; }
  .gr-gap { position: relative; right: auto; bottom: auto; align-self: flex-end; margin-top: -18px; }
  .gr-bars { grid-template-columns: 1fr 1fr; }
  .gr-heat { grid-template-columns: 1fr; }
  .gr-heat__en { top: 0; translate: 0 -20%; }
  .gr-heat__scroll { right: -2%; bottom: 2%; width: 130px; }
  .gr-cp { grid-template-columns: 1fr; }
  .gr-cp__lab { grid-row: auto; padding: 0 0 6px; }
  .gr-cp:nth-child(2) { margin-left: 0; }
  .gr-rep { padding-bottom: 0; min-height: 0; }
  .gr-rep__fan { position: relative; left: auto; top: auto; translate: none; margin: 60px auto 40px; width: 64vw; }
  .gr-rep.is-open .gr-rep__fan img { transform: translate(calc((var(--i) - 2.5) * 9%), 0) rotate(calc((var(--i) - 2.5) * 6deg)); }
  .gr-plans { grid-template-columns: 1fr; }
  .gr-plan--on { transform: none; } .gr-plan--on.sv-rv.is-in { transform: none; }
}
@media (prefers-reduced-motion: reduce) {
  .gr-heat__page, .gr-heat__clk { animation: none; }
}
