/* trepro-lp mock — v2: motion × abstract graphics (design review 案B) */
:root {
  --accent: #f10903;
  --accent-dark: #c60800;
  --accent-lite: #ff5a4e;        /* brand red, brightness-lifted for dark bg */
  --accent-soft: rgba(241,9,3,.06);
  --accent2: #ef8934;            /* sub-accent, sparingly */
  --ink: #333333;
  --ink-strong: #282828;
  --muted: #6b6b6b;
  --line: #dcdcdc;
  --bg: #ffffff;
  --bg-alt: #f5f5f5;
  --dark: #282828;
  --dark-2: #1f1e1d;
  --dark-card: #33312f;
  --dark-line: #444240;
  --radius: 12px;
  --maxw: 1060px;
  --sec-pad: clamp(72px, 9vw, 112px);
  --ease: cubic-bezier(.2,.7,.2,1);
}
* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; overflow-x: clip; }
body {
  font-family: "Noto Sans JP", "Hiragino Sans", "Hiragino Kaku Gothic ProN", system-ui, sans-serif;
  color: var(--ink); background: var(--bg); line-height: 1.9; font-weight: 400;
  -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; letter-spacing: .01em; overflow-x: clip;
}
img { max-width: 100%; display: block; }
a { color: var(--accent); }
.wrap { max-width: var(--maxw); margin: 0 auto; padding: 0 22px; }
strong { font-weight: 600; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 4px; }

.mock-banner { background: #ffe38a; color: #5a4300; text-align: center; font-size: 12.5px; font-weight: 500; padding: 6px 10px; letter-spacing: .02em; }

/* scroll reveal */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .7s var(--ease), transform .7s var(--ease); will-change: opacity, transform; }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .reveal { opacity: 1 !important; transform: none !important; transition: none; } html { scroll-behavior: auto; } }

.visually-hidden { position: absolute !important; width: 1px !important; height: 1px !important; padding: 0 !important; margin: -1px !important; overflow: hidden !important; clip: rect(0, 0, 0, 0) !important; white-space: nowrap !important; border: 0 !important; }

/* AI研修 — scroll-scrubbed story hero */
.ai-scroll-hero {
  --sw-bg: #f3f0ec;
  --sw-ink: #282828;
  --sw-ink-soft: #615e5a;
  --sw-accent: #f10903;
  --sw-font-display: "Noto Sans JP", "Hiragino Sans", system-ui, sans-serif;
  --sw-font-body: "Noto Sans JP", "Hiragino Sans", system-ui, sans-serif;
  position: relative;
  background: var(--sw-bg);
}
.ai-scroll-hero .sw-root {
  --sw-bg: #f3f0ec;
  --sw-ink: #282828;
  --sw-ink-soft: #615e5a;
  --sw-accent: #f10903;
  --sw-font-display: "Noto Sans JP", "Hiragino Sans", system-ui, sans-serif;
  --sw-font-body: "Noto Sans JP", "Hiragino Sans", system-ui, sans-serif;
  line-height: 1.7;
}
.ai-scroll-hero .sw-topbar { display: none; }
.ai-scroll-hero .sw-copy__title { font-weight: 700; line-height: 1.25; letter-spacing: .01em; text-wrap: pretty; word-break: auto-phrase; }
.ai-scroll-hero .sw-copy__body { line-height: 1.85; }
.ai-scroll-hero .sw-copy__eyebrow { letter-spacing: .13em; }
.ai-scroll-hero .sw-btn--primary { color: #fff; background: #f10903; box-shadow: 0 10px 28px rgba(241,9,3,.3); }
.ai-scroll-hero .sw-btn--ghost { background: rgba(255,255,255,.65); backdrop-filter: blur(8px); }
.ai-scroll-hero .sw-scrollbar { top: 62px; }
@media (min-width: 861px) {
  .ai-scroll-hero .sw-copy { width: min(46vw,560px); }
  .ai-scroll-hero .sw-copy__title { font-size: clamp(2rem,3.8vw,3.25rem); }
}
.ai-scroll-fallback { display: grid; grid-template-columns: 1.1fr .9fr; align-items: center; gap: 42px; padding-top: 80px; padding-bottom: 80px; }
.ai-scroll-fallback img { border-radius: 20px; box-shadow: 0 22px 50px rgba(40,40,40,.14); }
.ai-scroll-fallback h2 { margin-top: 14px; font-size: clamp(27px,4vw,43px); line-height: 1.4; }
.ai-scroll-fallback p { margin-top: 18px; color: var(--muted); }
.ai-hero-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; margin-top: 24px; }
.content-card { color: inherit; text-decoration: none; transition: transform .2s ease, box-shadow .2s ease; }
.content-card:hover { transform: translateY(-3px); box-shadow: 0 18px 42px rgba(40,40,40,.11); }
.content-card > span { display: inline-block; margin-bottom: 10px; color: var(--accent); font-size: 12px; font-weight: 700; letter-spacing: .08em; }
.ai-guide-grid { grid-template-columns: repeat(3,minmax(0,1fr)); }
.ai-full-report { margin-top: 24px; padding-top: 24px; border-top: 1px solid var(--line); }
.ai-full-report h2 { margin: 24px 0 10px; font-size: 18px; }
.ai-full-report ol { display: grid; gap: 10px; padding-left: 1.4em; }
.ai-full-report .btn-primary { display: inline-block; margin-top: 24px; }
@media (max-width: 840px) { .ai-guide-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .ai-guide-grid { grid-template-columns: 1fr; } .ai-hero-actions > * { width: 100%; text-align: center; } }

.ai-scroll-proof { position: relative; z-index: 2; background: #fff; border-block: 1px solid var(--line); }
.ai-scroll-proof__inner { min-height: 118px; display: grid; grid-template-columns: repeat(3,minmax(0,1fr)) auto; align-items: center; gap: 28px; }
.ai-scroll-proof__stat { border-left: 2px solid var(--accent); padding-left: 16px; }
.ai-scroll-proof__stat b { display: block; color: var(--accent); font-size: 25px; line-height: 1.25; }
.ai-scroll-proof__stat span { display: block; margin-top: 4px; color: var(--muted); font-size: 12px; line-height: 1.55; }

@media (max-width: 860px) {
  .ai-scroll-hero .sw-copy { bottom: calc(clamp(76px,15dvh,138px) + env(safe-area-inset-bottom)); }
  .ai-scroll-hero .sw-copy__title { font-size: clamp(1.72rem,7vw,2.35rem); }
  .ai-scroll-hero .sw-copy__body { font-size: clamp(1rem,3.8vw,1.05rem); line-height: 1.72; }
  .ai-scroll-hero .sw-copy__tags { margin-top: 16px; }
  .ai-scroll-hero .sw-copy__cta { margin-top: 20px; }
  .ai-scroll-proof__inner { grid-template-columns: repeat(3,minmax(0,1fr)); padding-top: 24px; padding-bottom: 24px; gap: 14px; }
  .ai-scroll-proof__inner .btn-primary { grid-column: 1 / -1; text-align: center; }
  .ai-scroll-proof__stat { padding-left: 10px; }
  .ai-scroll-proof__stat b { font-size: 20px; }
}

@media (max-width: 560px) {
  .ai-scroll-hero .sw-copy__num { display: none; }
  .ai-scroll-hero .sw-copy__eyebrow { margin-top: 0; font-size: .72rem; }
  .ai-scroll-hero .sw-copy__tags li { padding: 5px 10px; font-size: .72rem; }
  .ai-scroll-hero .sw-copy__cta { gap: 8px; }
  .ai-scroll-hero .sw-btn { width: 100%; padding: 12px 16px; text-align: center; }
  .ai-scroll-hero .sw-route { display: none; }
  .ai-scroll-proof__inner { grid-template-columns: 1fr; }
  .ai-scroll-proof__inner .btn-primary { grid-column: auto; }
  .ai-scroll-fallback { grid-template-columns: 1fr; }
}

/* header */
header.site { position: sticky; top: 0; z-index: 60; background: rgba(255,255,255,.9); backdrop-filter: blur(10px); border-bottom: 1px solid var(--line); }
header.site .wrap { display: flex; align-items: center; justify-content: space-between; height: 62px; }
.logo { font-weight: 700; font-size: 19px; color: var(--ink-strong); text-decoration: none; letter-spacing: .02em; }
.logo em { color: var(--accent); font-style: normal; }
nav.g { display: flex; align-items: center; gap: 4px; }
nav.g a { color: var(--ink); text-decoration: none; font-size: 14px; padding: 8px 12px; border-radius: 8px; font-weight: 500; transition: background .15s, color .15s; }
nav.g a:hover { background: var(--bg-alt); }
nav.g a[aria-current="page"] { color: var(--accent); }
nav.g a.btn { background: var(--accent); color: #fff; padding: 9px 18px; border-radius: 999px; font-weight: 600; margin-left: 8px; transition: background .15s, transform .15s; }
nav.g a.btn:hover { background: var(--accent-dark); transform: translateY(-1px); }
.nav-toggle { display: none; background: none; border: none; cursor: pointer; padding: 8px; color: var(--ink-strong); }
.nav-toggle svg { display: block; }

/* hero */
.hero { position: relative; overflow: hidden; background: linear-gradient(160deg, #ffffff 0%, #fdf2f0 58%, #f7ece9 100%); color: var(--ink-strong); padding: 84px 0 74px; border-bottom: 1px solid var(--line); }
.hero::before { content: ""; position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(560px 400px at 20% 12%, rgba(241,9,3,.06), transparent 72%); }
.hero::after { content: ""; position: absolute; inset: 0; pointer-events: none; opacity: .4;
  background-image: radial-gradient(rgba(40,40,40,.05) 1px, transparent 1px); background-size: 22px 22px; mask-image: linear-gradient(180deg, #000, transparent 70%); }
.hero .wrap { position: relative; z-index: 1; }
.hero-grid { display: grid; grid-template-columns: 1.08fr .92fr; gap: 40px; align-items: center; }
@media (max-width: 900px) { .hero-grid { grid-template-columns: 1fr; } .hero-visual { margin-top: 8px; } .hero-img { max-width: 300px; } }
.hero .badge { display: inline-block; border: 1px solid var(--line); border-radius: 999px; padding: 5px 15px; font-size: 12.5px; margin-bottom: 24px; letter-spacing: .04em; color: var(--muted); font-weight: 400; background: #fff; }
.hero h1 { font-size: clamp(29px, 4.7vw, 48px); font-weight: 700; line-height: 1.38; letter-spacing: .01em; color: var(--ink-strong); }
.hero h1 .em { color: var(--accent); }
.hero p.lead { margin: 22px 0 32px; font-size: 16px; color: var(--muted); max-width: 560px; font-weight: 400; line-height: 1.95; }
.cta-row { display: flex; gap: 13px; flex-wrap: wrap; }
.btn-primary, .btn-ghost { display: inline-block; padding: 14px 28px; border-radius: 999px; font-weight: 600; text-decoration: none; font-size: 15.5px; letter-spacing: .02em; transition: transform .18s var(--ease), box-shadow .18s, background .15s; }
.btn-primary { background: var(--accent); color: #fff; box-shadow: 0 8px 24px rgba(241,9,3,.38); }
.btn-primary:hover { background: var(--accent-dark); transform: translateY(-2px); box-shadow: 0 12px 30px rgba(241,9,3,.46); }
.btn-ghost { border: 1.5px solid var(--line); color: var(--ink-strong); }
.btn-ghost:hover { background: var(--bg-alt); transform: translateY(-2px); }
.hero .stats { display: flex; gap: 40px; margin-top: 48px; flex-wrap: wrap; }
.hero .stat b { font-size: 30px; color: var(--accent); font-weight: 700; letter-spacing: -.01em; }
.hero .stat span { display: block; font-size: 12.5px; color: var(--muted); font-weight: 400; margin-top: 2px; }

/* hero phone mockup (CSS-only abstract visual) */
.hero-visual { display: flex; justify-content: center; }
.phone { position: relative; width: 250px; height: 508px; border-radius: 38px; background: #0d0d0d; padding: 12px; box-shadow: 0 30px 70px rgba(0,0,0,.5), inset 0 0 0 2px rgba(255,255,255,.06); transform: rotate(-4deg); }
.phone::before { content: ""; position: absolute; top: 16px; left: 50%; transform: translateX(-50%); width: 92px; height: 20px; background: #0d0d0d; border-radius: 0 0 14px 14px; z-index: 2; }
.phone-screen { height: 100%; border-radius: 28px; background: linear-gradient(180deg, #fff, #f5f5f5); overflow: hidden; padding: 40px 12px 12px; display: flex; flex-direction: column; gap: 10px; }
.feed-card { background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 11px; box-shadow: 0 4px 12px rgba(0,0,0,.05); }
.feed-top { display: flex; align-items: center; gap: 8px; margin-bottom: 8px; }
.feed-av { width: 26px; height: 26px; border-radius: 50%; background: linear-gradient(135deg, var(--accent), var(--accent2)); flex: none; }
.feed-line { height: 7px; border-radius: 4px; background: #e6e6e6; }
.feed-line.w60 { width: 60%; } .feed-line.w40 { width: 40%; }
.feed-thumb { height: 74px; border-radius: 9px; margin-bottom: 8px; background: linear-gradient(135deg, #2f2f2f, #4a4a4a); position: relative; overflow: hidden; }
.feed-thumb::after { content: "▶"; position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; color: rgba(255,255,255,.85); font-size: 18px; }
.feed-thumb.red { background: linear-gradient(135deg, var(--accent), #7a1a12); }
.feed-stats { display: flex; gap: 12px; margin-top: 6px; }
.feed-stats span { font-family: "Outfit", sans-serif; font-size: 10px; color: var(--muted); }

/* sub-page header band */
.page-head { position: relative; overflow: hidden; background: var(--bg-alt); border-bottom: 1px solid var(--line); padding: 56px 0 46px; }
.page-head::before { content: ""; position: absolute; top: -40%; right: -6%; width: 380px; height: 380px; border-radius: 50%; background: radial-gradient(circle, rgba(241,9,3,.08), transparent 65%); pointer-events: none; }
.page-head .wrap { position: relative; }
.page-head .kicker { color: var(--accent); font-weight: 600; letter-spacing: .12em; font-size: 12px; text-transform: uppercase; }
.page-head h1 { font-size: clamp(24px, 3.6vw, 34px); font-weight: 700; line-height: 1.4; margin: 8px 0 10px; color: var(--ink-strong); }
.page-head p { color: var(--muted); max-width: 660px; font-size: 15px; }
.crumb { font-size: 12.5px; color: var(--muted); margin-bottom: 16px; }
.crumb a { color: var(--muted); text-decoration: none; }
.crumb a:hover { text-decoration: underline; }

/* sections */
.sec { padding: var(--sec-pad) 0; }
.sec.tight { padding: calc(var(--sec-pad) * .62) 0; }
.sec.alt { background: var(--bg-alt); }
.sec.dark { position: relative; background: var(--dark); color: #ececec; }
.sec.dark.slant { clip-path: polygon(0 2.2vw, 100% 0, 100% calc(100% - 2.2vw), 0 100%); margin: 2vw 0; }
.sec.dark::before { content: ""; position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(560px 300px at 88% 12%, rgba(241,9,3,.16), transparent 68%); }
.sec.dark .wrap { position: relative; z-index: 1; }
.kicker { color: var(--accent); font-weight: 600; letter-spacing: .12em; font-size: 12px; text-transform: uppercase; }
.sec.dark .kicker { color: var(--accent-lite); }
.sec h2 { font-size: clamp(22px, 3.1vw, 31px); font-weight: 700; line-height: 1.5; margin: 8px 0 12px; color: var(--ink-strong); }
.sec.dark h2 { color: #fff; }
.sec p.desc, .sec-lead { color: var(--muted); max-width: 720px; font-size: 15px; }
.sec.dark p.desc, .sec.dark .sec-lead { color: #b4b0ac; }
.sec-lead { margin-top: 6px; }

/* cards */
.cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(270px, 1fr)); gap: 18px; margin-top: 36px; }
.card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; transition: transform .25s var(--ease), box-shadow .25s, border-color .25s; }
.card:hover { transform: translateY(-4px); box-shadow: 0 14px 34px rgba(40,40,40,.11); border-color: transparent; }
.sec.dark .card { background: var(--dark-card); border-color: var(--dark-line); }
.sec.dark .card:hover { box-shadow: 0 14px 34px rgba(0,0,0,.35); }
.card h3 { font-size: 16.5px; margin-bottom: 8px; font-weight: 600; color: var(--ink-strong); }
.sec.dark .card h3 { color: #fff; }
.card p { font-size: 14px; color: var(--muted); line-height: 1.85; }
.sec.dark .card p { color: #b4b0ac; }
.card .tag { display: inline-block; font-size: 11.5px; font-weight: 600; color: var(--accent); background: var(--accent-soft); border-radius: 6px; padding: 3px 9px; margin-bottom: 11px; font-family: "Outfit","Noto Sans JP",sans-serif; }
.sec.dark .card .tag { background: rgba(255,90,78,.14); color: var(--accent-lite); }

/* Representative note feed */
.note-card { color: inherit; text-decoration: none; display: flex; flex-direction: column; }
.note-card time { display: block; color: var(--muted); font-family: "Outfit","Noto Sans JP",sans-serif; font-size: 12px; margin-bottom: 8px; }
.note-card h3 { line-height: 1.65; }
.note-card p { color: var(--accent); font-weight: 600; margin-top: auto; padding-top: 14px; }
.note-card:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; }

/* voice cards */
.voice { border-left: 3px solid var(--accent); position: relative; }
.voice p { color: var(--ink); font-size: 14.5px; }
.voice .who { display: flex; align-items: center; gap: 10px; margin-top: 16px; }
.voice .who .av { width: 40px; height: 40px; border-radius: 50%; background: var(--accent-soft); color: var(--accent); display: flex; align-items: center; justify-content: center; font-family: "Outfit", sans-serif; font-weight: 700; font-size: 15px; flex: none; }
.voice .who .nm { font-size: 12.5px; color: var(--muted); font-weight: 500; line-height: 1.5; }
.voice .quote { font-family: Georgia, "Times New Roman", serif; font-size: 46px; line-height: 1; color: var(--accent-soft); display: block; height: 22px; }

/* whitepaper */
.wp-grid { display: grid; grid-template-columns: 1.15fr .95fr; gap: 42px; align-items: start; }
@media (max-width: 820px) { .wp-grid { grid-template-columns: 1fr; } }
.wp-grid ul { margin: 16px 0 0 1.1em; font-size: 14.5px; color: var(--muted); }
.wp-grid ul li { margin-bottom: 6px; }
.ai-wp-cover { position: relative; aspect-ratio: 210 / 297; max-width: 370px; margin: 0 auto; overflow: hidden; border-radius: 14px; padding: 42px 32px; color: #fff; background: radial-gradient(circle at 78% 22%, rgba(241,9,3,.42), transparent 30%), linear-gradient(145deg, #101a2d, #223856); box-shadow: 0 24px 55px rgba(18,27,43,.23); }
.ai-wp-cover::before { content: ""; position: absolute; inset: 0 0 auto; height: 8px; background: linear-gradient(90deg, var(--accent) 0 46%, var(--accent2) 46% 64%, #fff 64% 66%, transparent 66%); }
.ai-wp-cover .cover-kicker { display: block; color: #ffb7a5; font-family: "Outfit","Noto Sans JP",sans-serif; font-size: 11px; font-weight: 700; letter-spacing: .12em; }
.ai-wp-cover h3 { margin-top: 64px; color: #fff; font-size: clamp(24px, 3.4vw, 34px); line-height: 1.5; }
.ai-wp-cover h3 em { color: #ff6958; font-style: normal; }
.ai-wp-cover p { margin-top: 18px; color: #d7e0ec; font-size: 14px; line-height: 1.75; }
.ai-wp-cover .cover-brand { position: absolute; left: 32px; bottom: 30px; color: #fff; font-size: 13px; font-weight: 700; letter-spacing: .06em; }
.ai-wp-cover .cover-final { position: absolute; right: 28px; bottom: 29px; color: #b8c4d3; font-size: 11px; }

/* flow steps */
.flow-steps { counter-reset: step; margin-top: 36px; display: grid; gap: 14px; }
.step { display: flex; gap: 20px; align-items: flex-start; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 22px 24px; transition: transform .25s var(--ease), box-shadow .25s; }
.step:hover { transform: translateX(4px); box-shadow: 0 10px 26px rgba(40,40,40,.09); }
.step::before { counter-increment: step; content: counter(step, decimal-leading-zero); font-family: "Outfit","Noto Sans JP",sans-serif; font-weight: 700; font-size: 24px; color: var(--accent); line-height: 1.3; }
.step h3 { font-size: 16px; font-weight: 600; color: var(--ink-strong); margin-bottom: 3px; }
.step p { font-size: 14px; color: var(--muted); }

/* diagnosis */
.dg-box { background: #fff; border: 1px solid var(--line); border-top: 3px solid var(--accent); border-radius: var(--radius); padding: 34px; max-width: 660px; margin: 0 auto; box-shadow: 0 20px 60px rgba(40,40,40,.12); }
.dg-progress { display: flex; justify-content: space-between; align-items: center; font-family: "Outfit","Noto Sans JP",sans-serif; font-size: 12.5px; color: var(--muted); font-weight: 500; margin-bottom: 10px; letter-spacing: .04em; }
.dg-bar { height: 6px; background: #eee; border-radius: 999px; overflow: hidden; margin-bottom: 22px; }
.dg-bar i { display: block; height: 100%; width: 0; background: linear-gradient(90deg, var(--accent), var(--accent2)); border-radius: 999px; transition: width .45s var(--ease); }
.dg-q { font-size: 17.5px; font-weight: 600; margin-bottom: 20px; color: var(--ink-strong); line-height: 1.6; }
.dg-choices { display: grid; gap: 10px; }
.dg-choices button { display: flex; align-items: center; gap: 12px; text-align: left; padding: 14px 16px; border-radius: 10px; border: 1.5px solid var(--line); background: #fff; font-size: 14.5px; cursor: pointer; font-family: inherit; color: var(--ink); transition: border-color .15s, background .15s, transform .1s; }
.dg-choices button:hover { border-color: var(--accent); background: var(--accent-soft); }
.dg-choices button.is-selected { border-color: var(--accent); background: var(--accent-soft); box-shadow: 0 0 0 1px var(--accent); }
.dg-choices button:active { transform: scale(.985); }
.dg-choices .bdg { width: 26px; height: 26px; border-radius: 7px; background: var(--bg-alt); color: var(--muted); font-family: "Outfit", sans-serif; font-weight: 600; font-size: 13px; display: flex; align-items: center; justify-content: center; flex: none; transition: background .15s, color .15s; }
.dg-choices button:hover .bdg { background: var(--accent); color: #fff; }
.dg-choices button.is-selected .bdg { background: var(--accent); color: #fff; }
.dg-hint { color: var(--muted); font-size: 12.5px; margin: -12px 0 16px; }
.dg-next { display: block; margin: 20px auto 0; }
.dg-loading { padding: 44px 0; text-align: center; font-weight: 600; color: var(--ink-strong); }
.dg-error { color: #b3261e; font-size: 13px; margin-top: 10px; }
.axis-row { display: flex; align-items: center; gap: 12px; margin: 9px 0; font-size: 13.5px; }
.axis-row .label { width: 8.5em; font-weight: 500; color: var(--ink); }
.axis-row b { width: 2.4em; text-align: right; font-weight: 600; color: var(--ink-strong); font-family: "Outfit", sans-serif; }
.axis-bar { flex: 1; height: 9px; background: #eee; border-radius: 999px; overflow: hidden; }
.axis-bar i { display: block; height: 100%; width: 0; background: linear-gradient(90deg, var(--accent), var(--accent2)); border-radius: 999px; transition: width .6s var(--ease); }
.dg-level { font-size: 19px; font-weight: 700; margin-bottom: 6px; color: var(--ink-strong); }
.dg-level b { color: var(--accent); font-size: 26px; font-family: "Outfit", sans-serif; }
.ai-diagnosis-sec { background: linear-gradient(180deg, #fff, #fbf8f7); }
.ai-diagnosis-points { display: flex; justify-content: center; flex-wrap: wrap; gap: 8px; margin: -30px auto 24px; }
.ai-diagnosis-points span { border: 1px solid var(--line); background: #fff; border-radius: 999px; padding: 6px 13px; color: var(--muted); font-size: 12.5px; font-weight: 600; }
.ai-privacy-note { max-width: 660px; margin: 16px auto 0; text-align: center; }
.ai-result-kicker { color: var(--accent); font-family: "Outfit", "Noto Sans JP", sans-serif; font-weight: 700; font-size: 12px; letter-spacing: .08em; text-transform: uppercase; }
.ai-result-summary { margin-top: 10px; color: var(--ink); }
.ai-result-heading { font-size: 16px; margin-top: 22px; }
.ai-result-actions { list-style: none; counter-reset: ai-action; display: grid; gap: 10px; margin-top: 12px; }
.ai-result-actions li { counter-increment: ai-action; display: flex; align-items: flex-start; gap: 10px; background: var(--bg-alt); border-radius: 10px; padding: 12px 14px; font-size: 14px; }
.ai-result-actions li::before { content: counter(ai-action); display: grid; place-items: center; flex: none; width: 23px; height: 23px; border-radius: 50%; background: var(--accent); color: #fff; font-family: "Outfit", sans-serif; font-weight: 700; font-size: 12px; }
.ai-detail-gate { border-top: 1px solid var(--line); margin-top: 26px; padding-top: 24px; }
.ai-detail-gate h2 { font-size: 17px; line-height: 1.6; }
.ai-detail-gate > p { color: var(--muted); font-size: 13.5px; margin: 6px 0 18px; }
.ai-detail-gate .submit-btn { width: 100%; }
.ai-turnstile:empty { display: none; }
.ai-turnstile { margin: 12px 0; }

/* forms */
form .row { margin-bottom: 15px; }
form label { display: block; font-size: 12.5px; font-weight: 600; margin-bottom: 5px; color: var(--ink-strong); }
form label .req { color: var(--accent); font-size: 10.5px; margin-left: 6px; font-weight: 600; }
input[type=text], input[type=email], select, textarea { width: 100%; padding: 12px 14px; border: 1.5px solid var(--line); border-radius: 10px; font-size: 15px; font-family: inherit; background: #fff; color: var(--ink); transition: border-color .15s, box-shadow .15s; }
input:focus, select:focus, textarea:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px var(--accent-soft); }
.consent { font-size: 13px; display: flex; gap: 8px; align-items: flex-start; font-weight: 400 !important; color: var(--ink); }
.submit-btn { background: var(--accent); color: #fff; border: none; padding: 14px 32px; border-radius: 999px; font-size: 15.5px; font-weight: 600; cursor: pointer; font-family: inherit; letter-spacing: .02em; transition: background .15s, transform .18s var(--ease), box-shadow .18s; box-shadow: 0 6px 18px rgba(241,9,3,.28); }
.submit-btn:hover { background: var(--accent-dark); transform: translateY(-2px); box-shadow: 0 10px 24px rgba(241,9,3,.36); }
.submit-btn:disabled { opacity: .5; cursor: wait; transform: none; box-shadow: none; }
.form-note { font-size: 12px; color: var(--muted); margin-top: 10px; line-height: 1.7; }
.form-ok { background: #eef8f0; border: 1px solid #c3e6cb; color: #22683a; border-radius: 10px; padding: 18px; font-weight: 500; font-size: 14.5px; }
.form-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 30px; max-width: 620px; margin: 0 auto; box-shadow: 0 10px 34px rgba(40,40,40,.07); }
.hp-field { position: absolute; left: -9999px; opacity: 0; height: 0; overflow: hidden; }

/* faq */
.faq-item { border-bottom: 1px solid var(--line); padding: 20px 0; }
.faq-item h3 { font-size: 15.5px; font-weight: 600; color: var(--ink-strong); }
.faq-item p { font-size: 14px; color: var(--muted); margin-top: 7px; }

/* placeholder strips */
.placeholder-strip { display: grid; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); gap: 14px; margin-top: 30px; }
.ph-card { background: #fff; border: 1.5px dashed #cfcdca; color: #9a9793; border-radius: var(--radius); padding: 34px 18px; text-align: center; font-size: 12.5px; font-weight: 500; line-height: 1.7; }

/* cta band — brand red inversion */
.cta-sec { position: relative; overflow: hidden; background: linear-gradient(150deg, #c60800 0%, var(--accent) 55%, #ff3b30 100%); color: #fff; text-align: center; padding: 78px 0; }
.cta-sec::after { content: ""; position: absolute; inset: 0; pointer-events: none; opacity: .4;
  background-image: radial-gradient(rgba(255,255,255,.14) 1px, transparent 1px); background-size: 20px 20px; mask-image: radial-gradient(circle at 50% 40%, #000, transparent 72%); }
.cta-sec .wrap { position: relative; z-index: 1; }
.cta-sec h2 { font-size: clamp(23px, 3.5vw, 33px); font-weight: 700; margin-bottom: 24px; line-height: 1.5; color: #fff; }
.cta-sec .btn-primary { background: #fff; color: var(--accent); box-shadow: 0 10px 30px rgba(0,0,0,.22); }
.cta-sec .btn-primary:hover { background: #fff; color: var(--accent-dark); transform: translateY(-2px); box-shadow: 0 14px 36px rgba(0,0,0,.28); }

/* footer */
footer.site { background: var(--dark-2); color: #9a9793; font-size: 13px; padding: 44px 0; }
.foot-grid { display: flex; flex-wrap: wrap; gap: 30px 60px; justify-content: space-between; }
.foot-col h4 { color: #d9d4d0; font-size: 12px; font-weight: 600; letter-spacing: .06em; margin-bottom: 12px; text-transform: uppercase; font-family: "Outfit","Noto Sans JP",sans-serif; }
.foot-col a { display: block; color: #a29c98; text-decoration: none; margin-bottom: 8px; font-weight: 400; transition: color .15s; }
.foot-col a:hover { color: #fff; }
.foot-copy { margin-top: 30px; padding-top: 20px; border-top: 1px solid #35322f; font-size: 12px; color: #6f6b67; }

/* richer components */
.cmp-table { width: 100%; border-collapse: collapse; margin-top: 30px; font-size: 14px; background:#fff; border:1px solid var(--line); border-radius: var(--radius); overflow:hidden; }
.cmp-table th, .cmp-table td { padding: 13px 16px; text-align: left; border-bottom: 1px solid var(--line); vertical-align: top; }
.cmp-table thead th { background: var(--bg-alt); font-weight: 600; color: var(--ink-strong); font-size: 13px; }
.cmp-table thead th:last-child { background: var(--accent); color: #fff; }
.cmp-table tbody th { font-weight: 600; color: var(--ink-strong); width: 28%; }
.cmp-table td { color: var(--muted); }
.cmp-table td:last-child { background: var(--accent-soft); border-left: 2px solid var(--accent); color: var(--ink); }
.cmp-table .ok { color: var(--accent); font-weight: 600; }
.cmp-table tr:last-child th, .cmp-table tr:last-child td { border-bottom: none; }
.tbl-scroll { overflow-x: auto; }

.num-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(190px,1fr)); gap: 18px; margin-top: 34px; }
.num-card { background:#fff; border:1px solid var(--line); border-radius: var(--radius); padding: 24px; transition: transform .25s var(--ease), box-shadow .25s; }
.num-card:hover { transform: translateY(-4px); box-shadow: 0 14px 34px rgba(40,40,40,.11); }
.num-card b { display:block; font-family:"Outfit","Noto Sans JP",sans-serif; font-size: 34px; font-weight:700; color: var(--accent); line-height:1.2; }
.num-card span { display:block; font-size: 13px; color: var(--muted); margin-top: 6px; }
.sec.dark .num-card { background: var(--dark-card); border-color: var(--dark-line); }
.sec.dark .num-card b { color: var(--accent-lite); }
.sec.dark .num-card span { color:#b4b0ac; }

.split { display:grid; grid-template-columns: 1fr 1fr; gap: 40px; margin-top: 34px; align-items:start; }
@media (max-width: 820px){ .split { grid-template-columns: 1fr; } }
.check-list { list-style:none; margin-top: 8px; }
.check-list li { position: relative; padding-left: 28px; margin-bottom: 11px; font-size: 14.5px; color: var(--ink); line-height:1.75; }
.check-list li::before { content:"✓"; position:absolute; left:0; top:0; width:20px; height:20px; background:var(--accent-soft); color: var(--accent); font-weight:700; font-size:12px; border-radius:5px; display:flex; align-items:center; justify-content:center; margin-top:3px; }

.tag-row { display:flex; flex-wrap:wrap; gap: 9px; margin-top: 26px; }
.chip { background:#fff; border:1px solid var(--line); border-radius: 999px; padding: 8px 16px; font-size: 13px; color: var(--ink); font-weight:500; transition: border-color .15s, color .15s, transform .15s; }
.chip:hover { border-color: var(--accent); color: var(--accent); transform: translateY(-2px); }

.mini-cta { display:flex; flex-wrap:wrap; gap:14px; align-items:center; justify-content:space-between; background: linear-gradient(120deg, #fff, var(--accent-soft)); border:1px solid var(--line); border-left: 3px solid var(--accent); border-radius: var(--radius); padding: 22px 26px; margin-top: 38px; }
.mini-cta p { font-weight:600; color: var(--ink-strong); font-size: 15px; }
.btn-sm { background: var(--accent); color:#fff; text-decoration:none; padding: 11px 22px; border-radius:999px; font-weight:600; font-size:14px; white-space:nowrap; transition: background .15s, transform .15s; }
.btn-sm:hover { background: var(--accent-dark); transform: translateY(-2px); }

/* Outfit accents */
.kicker, .page-head .kicker, .hero .badge, .foot-col h4 { font-family: "Outfit","Noto Sans JP",sans-serif; }

/* mobile nav */
@media (max-width: 780px) {
  .nav-toggle { display: block; }
  nav.g { position: fixed; inset: 0 0 0 auto; width: min(78vw, 320px); flex-direction: column; align-items: stretch; gap: 2px;
    background: #fff; padding: 84px 20px 24px; box-shadow: -12px 0 40px rgba(0,0,0,.2);
    transform: translateX(100%); transition: transform .3s var(--ease); z-index: 55; }
  body.nav-open nav.g { transform: translateX(0); }
  body.nav-open { overflow: hidden; }
  nav.g a { font-size: 16px; padding: 13px 14px; }
  nav.g a.btn { margin: 12px 0 0; text-align: center; }
  .nav-scrim { position: fixed; inset: 0; background: rgba(0,0,0,.4); opacity: 0; visibility: hidden; transition: opacity .3s; z-index: 54; }
  body.nav-open .nav-scrim { opacity: 1; visibility: visible; }
  .hero .stats { gap: 26px; }
}


/* images */
.card-img { width: 100%; height: 168px; object-fit: cover; border-radius: 10px; margin-bottom: 15px; background: var(--bg-alt); display: block; }
.photo-band { display: grid; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); gap: 16px; margin-top: 36px; }
.photo-item { position: relative; border-radius: var(--radius); overflow: hidden; aspect-ratio: 4/3; background: var(--bg-alt); }
.photo-item img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .4s var(--ease); }
.photo-item:hover img { transform: scale(1.05); }
.photo-item figcaption { position: absolute; left: 0; right: 0; bottom: 0; padding: 18px 14px 10px; font-size: 12.5px; color: #fff; font-weight: 600; background: linear-gradient(0deg, rgba(0,0,0,.55), transparent); }

/* anchor nav (in-page quick links under hero) */
.anchor-nav { background: var(--bg-alt, #faf7f2); border-block: 1px solid var(--line, #eee); }
.anchor-nav .wrap { display: flex; flex-wrap: wrap; gap: 4px 18px; padding-block: 10px; }
.anchor-nav a { color: var(--muted, #777); text-decoration: none; font-size: 13px; font-weight: 500; padding: 4px 2px; }
.anchor-nav a:hover { color: var(--accent); }
/* chips as links */
a.chip { text-decoration: none; display: inline-block; }

/* final CTA reassurance microcopy */
.cta-sec .cta-note { margin-top: 14px; font-size: 12.5px; opacity: .85; }

/* sticky bottom CTA bar — slides in after the hero on all viewports */
.sticky-cta { position: fixed; left: 0; right: 0; bottom: 0; z-index: 60; background: rgba(255,255,255,.94); backdrop-filter: blur(8px); border-top: 1px solid var(--line); transform: translateY(110%); transition: transform .35s var(--ease, ease); }
.sticky-cta.show { transform: translateY(0); }
.sticky-cta .sc-inner { max-width: 1080px; margin: 0 auto; display: flex; align-items: center; justify-content: center; gap: 14px; padding: 10px 16px calc(10px + env(safe-area-inset-bottom)); }
.sticky-cta .sc-copy { font-size: 13.5px; font-weight: 600; color: var(--ink); }
.sticky-cta .sc-main { background: var(--accent); color: #fff; text-decoration: none; font-weight: 700; font-size: 14px; padding: 11px 22px; border-radius: 999px; white-space: nowrap; }
.sticky-cta .sc-main:hover { opacity: .9; }
.sticky-cta .sc-ghost { color: var(--ink); text-decoration: none; font-weight: 600; font-size: 13.5px; border: 1px solid var(--line); padding: 10px 18px; border-radius: 999px; white-space: nowrap; background: #fff; }
.sticky-cta .sc-ghost:hover { border-color: var(--accent); color: var(--accent); }
body:has(.sticky-cta) { padding-bottom: 76px; }
@media (max-width: 720px) {
  .sticky-cta .sc-copy { display: none; }
  .sticky-cta .sc-inner { gap: 10px; }
  .sticky-cta .sc-main { flex: 1; text-align: center; padding: 13px 14px; }
  .sticky-cta .sc-ghost { padding: 12px 14px; }
}

/* inline lead-form CTA sections (digirise-style exposed form) */
.lead-grid { display: grid; grid-template-columns: 1fr 1.15fr; gap: 44px; align-items: start; }
.lead-grid .form-card { margin: 0; }
.lead-grid .lead-copy h2 { margin-bottom: 12px; }
.row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 0 14px; }
.choice-row { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.choice { position: relative; }
.choice input { position: absolute; opacity: 0; pointer-events: none; }
.choice span { display: block; border: 1.5px solid var(--line); border-radius: 12px; padding: 12px 14px; cursor: pointer; background: #fff; transition: border-color .15s, background .15s; }
.choice b { display: block; font-size: 13.5px; }
.choice small { display: block; color: var(--muted); font-size: 11px; line-height: 1.5; margin-top: 2px; }
.choice input:checked + span { border-color: var(--accent); background: #fdf1ec; }
.choice input:focus-visible + span { outline: 2px solid var(--accent); outline-offset: 2px; }
@media (max-width: 860px) { .lead-grid { grid-template-columns: 1fr; gap: 26px; } }
@media (max-width: 560px) { .row2 { grid-template-columns: 1fr; } .choice-row { grid-template-columns: 1fr; } }
/* ---- トレたん diagnosis mascot (2C) ---- */
.toretan-stage { display: flex; align-items: center; gap: 18px; max-width: 660px; margin: 0 auto 22px; }
.toretan-svg { flex: none; width: 116px; height: 116px; animation: toretan-bob 2.6s ease-in-out infinite; }
.toretan-svg svg { width: 100%; height: 100%; display: block; }
@keyframes toretan-bob { 0%,100% { transform: translateY(0) rotate(-1deg); } 50% { transform: translateY(-6px) rotate(1deg); } }
.toretan-bubble { position: relative; background: #fff; border: 1.5px solid var(--line); border-radius: 14px; padding: 14px 18px; font-size: 14.5px; font-weight: 600; color: var(--ink-strong); box-shadow: 0 6px 18px rgba(40,40,40,.07); line-height: 1.6; }
.toretan-bubble::before { content: ""; position: absolute; left: -9px; top: 28px; width: 16px; height: 16px; background: #fff; border-left: 1.5px solid var(--line); border-bottom: 1.5px solid var(--line); transform: rotate(45deg); }
.toretan-bubble.pop { animation: toretan-pop .3s ease; }
@keyframes toretan-pop { 0% { transform: scale(.96); } 60% { transform: scale(1.02); } 100% { transform: scale(1); } }
@media (max-width: 560px) { .toretan-stage { flex-direction: column; text-align: center; gap: 10px; } .toretan-bubble::before { display: none; } }

/* generated hero image (replaces CSS phone mockup) */
.hero-img { width: 100%; max-width: 460px; height: auto; display: block; margin: 0 auto; border-radius: 8px; }

.nowrap { white-space: nowrap; }
.pain-ic { width: 26px; height: 26px; color: var(--accent); display: block; margin-bottom: 12px; }

/* features flow diagram (図解) */
.flow-diagram { display: flex; flex-wrap: wrap; align-items: stretch; gap: 10px; margin-top: 34px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; position: relative; }
.fd-step { flex: 1 1 120px; min-width: 108px; text-align: center; background: var(--bg-alt); border-radius: 10px; padding: 14px 8px 12px; font-weight: 600; color: var(--ink-strong); font-size: 14.5px; line-height: 1.5; }
.fd-step small { display: block; font-weight: 400; color: var(--muted); font-size: 11.5px; margin-top: 2px; }
.fd-num { display: block; width: 22px; height: 22px; margin: 0 auto 6px; border-radius: 50%; background: var(--accent); color: #fff; font-family: "Outfit", sans-serif; font-size: 12px; font-weight: 700; line-height: 22px; }
.fd-goal { background: var(--accent-soft); border: 1.5px solid var(--accent); }
.fd-arrow { align-self: center; color: var(--accent); font-weight: 700; font-size: 18px; flex: 0 0 auto; }
.fd-loop { flex-basis: 100%; text-align: center; color: var(--muted); font-size: 12.5px; margin-top: 4px; }
@media (max-width: 720px) { .fd-arrow { display: none; } .fd-step { flex: 1 1 44%; } }

/* P1-6 support structure diagram */
.org-diagram { margin-top: 8px; }
.org-you { background: var(--accent-soft); border: 1.5px solid var(--accent); border-radius: 10px; padding: 12px; text-align: center; font-weight: 600; color: var(--ink-strong); font-size: 15px; }
.org-you small, .org-node small { display: block; font-weight: 400; color: var(--muted); font-size: 11.5px; margin-top: 2px; }
.org-link { text-align: center; color: var(--accent); font-size: 12.5px; font-weight: 600; margin: 8px 0; }
.org-team { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.org-node { background: var(--bg-alt); border-radius: 10px; padding: 12px 6px; text-align: center; font-weight: 600; color: var(--ink-strong); font-size: 13px; }

/* P2 icon variants */
.chip svg { width: 14px; height: 14px; color: var(--accent); margin-right: 6px; vertical-align: -2px; }
.mini-ic { width: 17px; height: 17px; color: var(--accent); vertical-align: -3px; margin-right: 7px; display: inline-block; }

/* v3-E: page-head background image */
.page-head.has-bg { background: linear-gradient(90deg, var(--bg-alt) 42%, rgba(245,245,245,.72) 60%, rgba(245,245,245,.1) 100%), var(--ph-bg) right center/cover no-repeat; }
@media (max-width: 640px) { .page-head.has-bg { background: var(--bg-alt); } }
/* v3-C: CTA phone bleed */
.cta-sec::before { content: ""; position: absolute; right: 3%; bottom: -34px; width: min(260px, 22vw); height: 400px; background: url(img/hero-phone.jpg) center/contain no-repeat; opacity: .16; pointer-events: none; }
@media (max-width: 720px) { .cta-sec::before { display: none; } }

/* v3-B: full-width photo break */
.photo-break { position: relative; height: clamp(240px, 30vw, 360px); background: url(img/break-wide.jpg) center/cover no-repeat; }
.pb-overlay { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; background: rgba(24,20,18,.4); }
.pb-overlay p { color: #fff; font-size: clamp(20px, 3.4vw, 34px); font-weight: 700; letter-spacing: .02em; text-shadow: 0 2px 16px rgba(0,0,0,.4); text-align: center; padding: 0 20px; }
