/* =============================================================
   TREND LP  |  style.css  v8
   Tone E + Layout III  /  Full redesign with all v8 changes
   JS classes (変更禁止): .reveal-item / .solution-img-reveal / .counter
   New classes: .counter-zero / .counter-loop (handled by inline JS)
============================================================= */

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --or:    #f57d11;
  --or-d:  #d96209;
  --or-lt: #fff5eb;
  --nv:    #0c203b;
  --nv2:   #08162a;
  --w:     #ffffff;
  --bg:    #f4f6fb;
  --bg2:   #eceef6;
  --ln:    #dde2ef;
  --tx:    #1a2e44;
  --tx2:   #4a607a;
  --tx3:   #8fa3bc;
  --red:   #e53e3e;

  --grad-or: linear-gradient(135deg, #f57d11 0%, #f5a623 100%);
  --grad-nv: linear-gradient(160deg, #0c203b 0%, #1a3a6e 60%, #0c2d55 100%);
  --grad-sol: linear-gradient(175deg, #050e1c 0%, #0a1c34 40%, #061220 100%);

  --fw: 'Hiragino Kaku Gothic ProN','Yu Gothic UI','Meiryo',sans-serif;

  --max:  1060px;
  --r:    10px;
  --r2:   16px;
  --hdr:  60px;
  --t:    .2s ease;
  --spv:  80px;

  --sh-sm: 0 2px 12px rgba(12,32,59,.09);
  --sh-md: 0 8px 32px rgba(12,32,59,.14);
  --sh-lg: 0 16px 56px rgba(12,32,59,.2);
  --sh-or: 0 6px 24px rgba(245,125,17,.38);
}

html { scroll-behavior: smooth; }
body {
  font-family: var(--fw);
  color: var(--tx);
  background: var(--w);
  line-height: 1.78;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
a   { color: inherit; text-decoration: none; }
ul  { list-style: none; }

.wrap { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 24px; }

/* Inline highlight — 強調部分は明示的に大きく */
.hl {
  color: var(--or);
  font-weight: 900;
  font-size: 1.18em;
  letter-spacing: -.01em;
}

/* TREND 拡大 in solution heading */
.trend-big {
  color: var(--or);
  font-size: 1.35em;
  font-weight: 900;
  letter-spacing: -.02em;
  text-shadow: 0 0 24px rgba(245,125,17,.4);
}

/* Eyebrow */
.eb {
  display: inline-block;
  font-size: .62rem; font-weight: 700; letter-spacing: .22em; text-transform: uppercase;
  color: var(--or); background: var(--or-lt); padding: 4px 12px; border-radius: 20px;
  margin-bottom: 14px;
}
.eb--lt { color: rgba(245,125,17,.9); background: rgba(245,125,17,.15); }

/* Section heading */
.sh {
  font-size: clamp(1.5rem, 3.8vw, 2.3rem);
  font-weight: 900; line-height: 1.25; color: var(--nv); letter-spacing: -.02em;
}
.sh em  { font-style: normal; color: var(--or); }
.sh--lt { color: #fff; }
.sh--lt em { color: var(--or); }

.lead { margin-top: 12px; font-size: .9rem; color: var(--tx2); line-height: 1.88; }
.lead--lt { color: rgba(255,255,255,.62); }

/* Button */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  background: var(--grad-or); color: #fff;
  font-size: .92rem; font-weight: 700; letter-spacing: .04em;
  padding: 16px 36px; border: none; border-radius: 50px; cursor: pointer;
  transition: opacity var(--t), transform var(--t), box-shadow var(--t);
  box-shadow: var(--sh-or); width: 100%; font-family: var(--fw);
}
.btn:hover  { opacity: .9; transform: translateY(-2px); box-shadow: 0 10px 32px rgba(245,125,17,.5); }
.btn::after { content: '→'; }

/* =============================================================
   HEADER
============================================================= */
#hdr {
  position: fixed; inset: 0 0 auto 0; z-index: 500;
  height: var(--hdr);
  background: rgba(255,255,255,.95);
  backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--ln);
}
.hdr-i {
  display: flex; align-items: center; justify-content: space-between;
  height: 100%; max-width: 1200px; margin: 0 auto; padding: 0 24px;
}
/* Logo image */
.logo-img { height: 36px; width: auto; display: block; }

/* Hamburger — always visible */
#mbtn {
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: 5px; width: 40px; height: 40px; background: none; border: none; cursor: pointer; padding: 4px;
  z-index: 600;
}
#mbtn i {
  display: block; width: 22px; height: 2px; background: var(--nv); border-radius: 2px;
  transition: transform var(--t), opacity var(--t);
}
#mbtn.on i:nth-child(1) { transform: translateY(7px) rotate(45deg); }
#mbtn.on i:nth-child(2) { opacity: 0; }
#mbtn.on i:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Nav — always overlay */
#nav {
  position: fixed; inset: var(--hdr) 0 0 0; z-index: 499;
  background: linear-gradient(160deg, var(--nv) 0%, #1a3a6e 100%);
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 6px;
  opacity: 0; pointer-events: none; transition: opacity var(--t);
}
#nav.on { opacity: 1; pointer-events: all; }
.nav-lnk {
  font-size: 1rem; font-weight: 700; color: rgba(255,255,255,.8);
  padding: 13px 48px; width: 280px; text-align: center; border-radius: 50px;
  transition: background var(--t), color var(--t);
}
.nav-lnk:hover { background: rgba(245,125,17,.2); color: #fff; }
/* 「無料オンライン説明」強調リンク */
.nav-lnk--cta {
  background: var(--grad-or);
  color: #fff !important;
  font-weight: 900;
  margin-top: 8px;
  box-shadow: 0 4px 16px rgba(245,125,17,.45);
}
.nav-lnk--cta:hover { opacity: .9; background: var(--grad-or); }
.nav-cls {
  margin-top: 20px; background: rgba(255,255,255,.1); color: rgba(255,255,255,.6);
  border: none; border-radius: 50px; padding: 10px 44px;
  font-size: .88rem; font-weight: 700; cursor: pointer; font-family: var(--fw);
  transition: background var(--t);
}
.nav-cls:hover { background: rgba(255,255,255,.18); }

/* =============================================================
   FV — image only, no overlay
============================================================= */
#fv {
  margin-top: var(--hdr);
  background: var(--nv); overflow: hidden; line-height: 0;
}
.fv-sp { display: block; width: 100%; }
.fv-pc { display: none; width: 100%; }

/* =============================================================
   TRUST STRIP — floated cards from FV
============================================================= */
#trs { background: var(--bg); padding: 0 0 1px; }
.trs-i {
  max-width: var(--max); margin: 0 auto; padding: 0 24px;
  display: flex; flex-direction: column;
  transform: translateY(-28px);
}
.trs-card {
  background: var(--w); border-radius: var(--r2);
  padding: 22px 24px; box-shadow: var(--sh-md);
  display: flex; align-items: center; gap: 18px;
  margin-bottom: 12px; border: 1px solid var(--ln);
}
.trs-card:last-child { margin-bottom: 0; }
.trs-num {
  font-size: 2.4rem; font-weight: 900; color: var(--or);
  line-height: 1; flex-shrink: 0; min-width: 90px; text-align: right;
  font-variant-numeric: tabular-nums;
}
.trs-num .counter,
.trs-num .counter-zero { display: inline; }
.trs-num .unit { font-size: .48em; font-weight: 700; vertical-align: .18em; }
.trs-bar { width: 2px; height: 36px; background: var(--or-lt); border-radius: 2px; flex-shrink: 0; }
.trs-txt { font-size: .83rem; color: var(--tx2); line-height: 1.6; }
.trs-txt strong { display: block; font-size: .9rem; font-weight: 700; color: var(--nv); margin-bottom: 2px; }

/* =============================================================
   PROBLEM — card grid with images
============================================================= */
#prob { padding: 32px 0 var(--spv); background: var(--bg); }
.sec-head { margin-bottom: 44px; }

.prob-grid { display: flex; flex-direction: column; gap: 20px; }
.prob-card {
  background: var(--w); border-radius: var(--r2); overflow: hidden;
  box-shadow: var(--sh-sm); border: 1px solid var(--ln);
  transition: transform var(--t), box-shadow var(--t);
}
.prob-card:hover { transform: translateY(-4px); box-shadow: var(--sh-md); }
.prob-card-img { position: relative; height: 180px; overflow: hidden; background: var(--bg2); }
.prob-card-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s ease; }
.prob-card:hover .prob-card-img img { transform: scale(1.04); }
.prob-card-num {
  position: absolute; top: 12px; left: 12px;
  background: var(--grad-or); color: #fff;
  font-size: .66rem; font-weight: 900; letter-spacing: .14em;
  padding: 4px 12px; border-radius: 20px; box-shadow: var(--sh-or);
}
.prob-card-body { padding: 22px 22px 26px; }
.prob-card-title { font-size: 1rem; font-weight: 900; color: var(--nv); margin-bottom: 8px; line-height: 1.4; }
.prob-card-text  { font-size: .83rem; color: var(--tx2); line-height: 1.82; }

/* =============================================================
   SOLUTION — MAXIMUM IMPACT: deep dark, 3D step cards
============================================================= */
#sol {
  padding: 0;
  background: var(--grad-sol);
  position: relative; overflow: hidden;
  /* Diagonal top cut */
  clip-path: polygon(0 32px, 100% 0, 100% calc(100% - 32px), 0 100%);
  margin: 32px 0;
}
/* Grid texture */
#sol::before {
  content: '';
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.025) 1px, transparent 1px);
  background-size: 56px 56px;
  pointer-events: none;
}
/* Large faint text */
#sol::after {
  content: 'SOLUTION';
  position: absolute;
  right: -30px; bottom: -20px;
  font-size: clamp(80px, 14vw, 160px); font-weight: 900;
  color: rgba(255,255,255,.022); letter-spacing: -.04em; line-height: 1;
  pointer-events: none; user-select: none;
}
.sol-in {
  position: relative; z-index: 1;
  padding: 80px 24px 80px;
  max-width: var(--max); margin: 0 auto;
}

/* Image — rounded with glow */
.sol-img-wrap {
  margin: 36px 0;
  border-radius: var(--r2); overflow: hidden;
  box-shadow: 0 0 80px rgba(245,125,17,.18), var(--sh-lg);
  border: 1px solid rgba(245,125,17,.15);
}
.sol-img-wrap img { width: 100%; display: block; }

/* 3D Step cards */
.sol-steps {
  display: flex; flex-direction: column; gap: 16px;
  perspective: 800px;
}
.sol-step {
  background: linear-gradient(135deg, rgba(255,255,255,.1) 0%, rgba(255,255,255,.04) 100%);
  border: 1px solid rgba(255,255,255,.14);
  border-radius: var(--r);
  padding: 24px 22px;
  display: flex; gap: 20px; align-items: flex-start;
  backdrop-filter: blur(8px);
  transition: transform var(--t), box-shadow var(--t), border-color var(--t);
  box-shadow: 0 4px 24px rgba(0,0,0,.3), inset 0 1px 0 rgba(255,255,255,.08);
}
.sol-step:hover {
  transform: translateY(-4px) rotateX(1deg);
  box-shadow: 0 16px 48px rgba(0,0,0,.45), 0 0 30px rgba(245,125,17,.12), inset 0 1px 0 rgba(255,255,255,.12);
  border-color: rgba(245,125,17,.3);
}
.sol-step-n {
  background: var(--grad-or);
  color: #fff; font-size: .78rem; font-weight: 900;
  width: 40px; height: 40px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center; flex-shrink: 0;
  box-shadow: 0 0 20px rgba(245,125,17,.5), var(--sh-or);
  text-shadow: 0 1px 3px rgba(0,0,0,.3);
}
.sol-step-b {}
.sol-step-b strong {
  display: block; font-size: 1rem; font-weight: 900;
  color: #fff; margin-bottom: 7px; letter-spacing: .01em;
}
/* 強調部分はstrongの1remより明示的に大きくする */
.sol-step-b strong .hl {
  font-size: 1.28rem;  /* strongの1remより明確に大きい */
  color: var(--or);
  font-weight: 900;
  text-shadow: 0 0 16px rgba(245,125,17,.5);
  letter-spacing: -.01em;
}
.sol-step-b span {
  font-size: .83rem; color: rgba(255,255,255,.6); line-height: 1.82;
}

/* =============================================================
   MENU — photo cards, 3D, button-like titles
============================================================= */
#menu-sec { padding: var(--spv) 0; background: var(--w); }
.menu-grid {
  display: flex; flex-direction: column; gap: 24px;
  margin-top: 44px; margin-bottom: 40px;
}
.menu-card {
  background: var(--w); border-radius: var(--r2); overflow: hidden;
  box-shadow: var(--sh-md); border: 1px solid var(--ln);
  transition: transform var(--t), box-shadow var(--t);
}
.menu-card:hover { transform: translateY(-6px); box-shadow: var(--sh-lg); }

/* Photo */
.menu-card-img { position: relative; height: 200px; overflow: hidden; background: var(--bg2); }
.menu-card-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s ease; }
.menu-card:hover .menu-card-img img { transform: scale(1.04); }

/* Button-style title bar */
.menu-card-head {
  background: linear-gradient(135deg, var(--nv) 0%, #1a3a6e 100%);
  padding: 16px 22px;
  display: flex; align-items: center; gap: 12px;
  position: relative;
  overflow: hidden;
}
.menu-card-head::after {
  content: '';
  position: absolute; right: 0; top: 0; bottom: 0;
  width: 4px; background: var(--grad-or);
}
.menu-card-num-badge {
  background: var(--grad-or);
  color: #fff; font-size: .6rem; font-weight: 900; letter-spacing: .14em;
  padding: 3px 10px; border-radius: 20px; flex-shrink: 0;
  box-shadow: var(--sh-or);
}
.menu-card-title {
  font-size: 1rem; font-weight: 900; color: #fff; line-height: 1.35;
  text-shadow: 0 1px 4px rgba(0,0,0,.3);
}

.menu-card-body { padding: 20px 22px 24px; }
.menu-card-text { font-size: .83rem; color: var(--tx2); line-height: 1.82; }

/* =============================================================
   REASON — 成果報酬の理由 (conversation)
============================================================= */
#reason {
  padding: var(--spv) 0;
  background: var(--bg);
  position: relative; overflow: hidden;
}
#reason::before {
  content: '';
  position: absolute; top: -80px; right: -80px;
  width: 400px; height: 400px; border-radius: 50%;
  background: radial-gradient(circle, rgba(245,125,17,.08) 0%, transparent 65%);
  pointer-events: none;
}

.conv-list { display: flex; flex-direction: column; gap: 20px; margin-top: 44px; }

/* Chat row */
.conv-row {
  display: flex; align-items: flex-start; gap: 14px;
}
.conv-row--right { flex-direction: row-reverse; }

/* Avatar */
.conv-avatar {
  width: 52px; height: 52px; border-radius: 50%; overflow: hidden;
  flex-shrink: 0; border: 3px solid var(--w);
  box-shadow: var(--sh-md);
}
.conv-avatar img { width: 100%; height: 100%; object-fit: cover; }

/* Bubble */
.conv-bubble {
  max-width: calc(100% - 80px);
  padding: 14px 18px;
  border-radius: 18px;
  font-size: .85rem; line-height: 1.78;
  position: relative;
  box-shadow: var(--sh-md);
}
/* Left bubble (question) */
.conv-row--left .conv-bubble {
  background: var(--w);
  color: var(--tx);
  border-radius: 4px 18px 18px 18px;
  border: 1px solid var(--ln);
}
.conv-row--left .conv-bubble::before {
  content: '';
  position: absolute; top: 0; left: -9px;
  border: 8px solid transparent;
  border-right-color: var(--ln);
  border-top-color: var(--ln);
}
/* Right bubble (answer) */
.conv-row--right .conv-bubble {
  background: linear-gradient(135deg, var(--nv) 0%, #1a3a6e 100%);
  color: #fff;
  border-radius: 18px 4px 18px 18px;
}
.conv-row--right .conv-bubble::after {
  content: '';
  position: absolute; top: 0; right: -9px;
  border: 8px solid transparent;
  border-left-color: var(--nv);
  border-top-color: var(--nv);
}
.conv-name {
  font-size: .65rem; font-weight: 700; letter-spacing: .08em;
  margin-bottom: 5px;
}
.conv-row--left  .conv-name { color: var(--tx3); }
.conv-row--right .conv-name { color: rgba(245,125,17,.85); }

/* CTA in last bubble */
.conv-cta-note {
  display: inline-block;
  margin-top: 10px;
  background: var(--grad-or);
  color: #fff;
  font-size: .78rem; font-weight: 700;
  padding: 8px 16px; border-radius: 50px;
  box-shadow: var(--sh-or);
  cursor: pointer;
  border: none; font-family: var(--fw);
  transition: opacity var(--t), transform var(--t);
}
.conv-cta-note:hover { opacity: .9; transform: translateY(-1px); }

/* =============================================================
   RESULTS — 3D cards, re-animatable counters
============================================================= */
#res { padding: var(--spv) 0; background: var(--w); }

.res-grid {
  display: flex; flex-direction: column; gap: 20px; margin-top: 44px;
}
.res-card {
  background: var(--w); border-radius: var(--r2);
  padding: 28px 24px 26px;
  box-shadow: var(--sh-md); border: 1px solid var(--ln);
  transition: transform var(--t), box-shadow var(--t);
  position: relative; overflow: hidden;
}
.res-card::before {
  content: '';
  position: absolute; top: 0; left: 0; right: 0;
  height: 4px; background: var(--grad-or);
}
.res-card:hover { transform: translateY(-5px); box-shadow: var(--sh-lg); }

/* Menu name first */
.res-menu-name {
  font-size: .88rem; font-weight: 900; color: var(--nv);
  margin-bottom: 12px; line-height: 1.35;
}
/* Number block */
.res-num-row {
  display: flex; align-items: baseline; gap: 6px; margin-bottom: 14px;
}
.res-num {
  font-size: 3.2rem; font-weight: 900; color: var(--or);
  line-height: 1; font-variant-numeric: tabular-nums;
}
.res-unit { font-size: .85rem; font-weight: 700; color: var(--or); opacity: .8; }
/* Divider */
.res-divider { height: 1px; background: var(--ln); margin-bottom: 12px; }
.res-badge {
  display: inline-block; font-size: .82rem; font-weight: 700; letter-spacing: .06em;
  color: var(--nv); background: var(--bg2); padding: 5px 14px; border-radius: 20px;
}

/* =============================================================
   RESULT CHARTS — pie donut + bar
============================================================= */
.res-charts {
  margin-top: 44px; margin-bottom: 40px;
  display: flex; flex-direction: column; gap: 20px;
}
.res-chart-wrap {
  background: var(--w); border-radius: var(--r2);
  padding: 22px 18px 20px;
  box-shadow: var(--sh-md); border: 1px solid var(--ln);
  position: relative; overflow: hidden;
}
.res-chart-wrap::before {
  content: ''; position: absolute; top: 0; left: 0; right: 0;
  height: 4px; background: var(--grad-or);
}
.res-chart-ttl-wrap { text-align: center; margin-bottom: 16px; }
.res-chart-ttl {
  display: inline-block;
  font-size: .64rem; font-weight: 900; letter-spacing: .2em; text-transform: uppercase;
  color: var(--or); background: var(--or-lt); padding: 3px 12px; border-radius: 20px;
}

/* Pie donut (conic-gradient) */
.pie-inner { display: flex; flex-direction: column; align-items: center; gap: 16px; }
.pie-donut {
  width: 130px; height: 130px; flex-shrink: 0;
  border-radius: 50%;
  background: conic-gradient(from -90deg, #f57d11 0%, #0c203b 0%);
  -webkit-mask: radial-gradient(circle, transparent 40px, black 41px);
  mask: radial-gradient(circle, transparent 40px, black 41px);
}
.pie-legend { width: 100%; display: flex; flex-direction: column; gap: 8px; }
.pie-leg-row { display: flex; align-items: center; gap: 8px; font-size: .83rem; }
.pie-dot { width: 10px; height: 10px; border-radius: 50%; flex-shrink: 0; }
.pie-dot--a { background: #f57d11; }
.pie-dot--b { background: #0c203b; }
.pie-leg-name { flex: 1; color: var(--tx2); }
.pie-pct { font-size: 1.05rem; font-weight: 900; color: var(--tx); font-variant-numeric: tabular-nums; }
.pie-pct-u { font-size: .72rem; color: var(--tx3); font-weight: 700; }

/* Bar chart */
.bar-inner { display: flex; flex-direction: column; gap: 20px; width: 100%; }
.bar-row-item { display: flex; flex-direction: column; gap: 6px; }
.bar-row-head { display: flex; align-items: baseline; gap: 6px; }
.bar-row-name { flex: 1; font-size: .84rem; color: var(--tx2); }
.bar-pct { font-size: 1.1rem; font-weight: 900; color: var(--tx); font-variant-numeric: tabular-nums; }
.bar-pct-u { font-size: .72rem; color: var(--tx3); font-weight: 700; }
.bar-track { height: 14px; border-radius: 7px; background: var(--bg2); overflow: hidden; }
.bar-fill { height: 100%; width: 0; border-radius: 7px; }
.bar-fill--a { background: #f57d11; }
.bar-fill--b { background: #0c203b; }

@media (min-width: 640px) {
  .res-charts { flex-direction: row; align-items: stretch; }
  .res-chart-wrap { flex: 1; }
  .pie-inner { flex-direction: row; align-items: center; }
  .pie-donut { width: 110px; height: 110px; }
  .bar-inner { justify-content: center; }
}

/* =============================================================
   FAQ — Q white / A light-orange, 3D cards
============================================================= */
#faq { padding: var(--spv) 0; background: var(--bg); }

.faq-list { margin-top: 44px; display: flex; flex-direction: column; gap: 16px; }
.faq-item {
  border-radius: var(--r); overflow: hidden;
  box-shadow: var(--sh-sm);
}
.faq-q {
  background: var(--w);
  display: grid; grid-template-columns: 34px 1fr; gap: 12px;
  align-items: baseline; padding: 18px 20px;
  font-size: .9rem; font-weight: 700; color: var(--nv); line-height: 1.58;
  border: 1px solid var(--ln); border-bottom: none;
  border-radius: var(--r) var(--r) 0 0;
}
.faq-qm {
  width: 28px; height: 28px; border-radius: 50%;
  background: var(--grad-or); color: #fff;
  display: flex; align-items: center; justify-content: center;
  font-size: .82rem; font-weight: 900; flex-shrink: 0; margin-top: 1px;
  box-shadow: 0 2px 8px rgba(245,125,17,.35);
}
.faq-a {
  background: var(--or-lt);
  display: grid; grid-template-columns: 34px 1fr; gap: 12px;
  align-items: baseline; padding: 16px 20px;
  border: 1px solid rgba(245,125,17,.2);
  border-radius: 0 0 var(--r) var(--r);
}
.faq-am {
  width: 28px; height: 28px; border-radius: 50%;
  background: rgba(245,125,17,.15); color: var(--or);
  display: flex; align-items: center; justify-content: center;
  font-size: .82rem; font-weight: 900; flex-shrink: 0; margin-top: 1px;
  border: 1.5px solid rgba(245,125,17,.3);
}
.faq-at { font-size: .84rem; color: var(--tx2); line-height: 1.85; }

/* =============================================================
   FORM
============================================================= */
#form {
  padding: var(--spv) 0;
  background: var(--grad-nv);
  position: relative; overflow: hidden;
}
#form::before {
  content: '';
  position: absolute; top: -100px; right: -100px;
  width: 500px; height: 500px; border-radius: 50%;
  background: radial-gradient(circle, rgba(245,125,17,.14) 0%, transparent 65%);
  pointer-events: none;
}
.form-hd { margin-bottom: 24px; }
.form-ng {
  background: rgba(255,255,255,.07);
  border: 1px solid rgba(229,62,62,.35); border-left: 4px solid var(--red);
  border-radius: var(--r); padding: 14px 18px;
  display: flex; gap: 10px; align-items: flex-start; margin-bottom: 24px;
}
.form-ng-ico { font-size: .95rem; flex-shrink: 0; line-height: 1.6; }
.form-ng-cp  { font-size: .77rem; color: rgba(255,255,255,.7); line-height: 1.82; }
.form-ng-cp strong { display: block; font-size: .8rem; font-weight: 700; color: #fc8181; margin-bottom: 4px; }
.form-card {
  background: var(--w); border-radius: var(--r2);
  padding: 32px 24px; box-shadow: var(--sh-lg);
  position: relative; z-index: 1;
}
.f-note {
  font-size: .8rem; color: var(--or); font-weight: 700;
  background: var(--or-lt); border-left: 3px solid var(--or);
  padding: 8px 12px; border-radius: 0 var(--r) var(--r) 0;
  margin-bottom: 18px; line-height: 1.6;
}
.f-field { margin-bottom: 16px; }
.f-lbl { display: block; font-size: .77rem; font-weight: 700; color: var(--nv); margin-bottom: 7px; }
.f-inp, .f-sel {
  width: 100%; border: 1.5px solid var(--ln); border-radius: var(--r);
  padding: 12px 14px; font-size: .9rem; font-family: var(--fw);
  color: var(--tx); background: var(--bg);
  transition: border-color var(--t), background var(--t);
  appearance: none; -webkit-appearance: none;
}
.f-inp:focus, .f-sel:focus { outline: none; border-color: var(--or); background: #fff; }
.sel-w { position: relative; }
.sel-w::after {
  content: '▾'; position: absolute; right: 13px; top: 50%;
  transform: translateY(-50%); pointer-events: none; color: var(--tx3); font-size: .85rem;
}
/* Privacy policy line — above submit */
.f-policy {
  font-size: .78rem; color: var(--tx2); text-align: center;
  margin-bottom: 10px; margin-top: 8px; line-height: 1.6;
}
.f-policy a { color: var(--or); text-decoration: underline; }
/* チェックボックス付きポリシー行 */
.f-policy-wrap { margin-bottom: 10px; margin-top: 10px; }
.f-policy-label {
  display: flex; align-items: flex-start; gap: 8px;
  font-size: .82rem; color: var(--tx2); line-height: 1.6; cursor: pointer;
}
.f-policy-label a { color: var(--or); text-decoration: underline; }
.f-checkbox {
  width: 16px; height: 16px; flex-shrink: 0; margin-top: 2px;
  accent-color: var(--or); cursor: pointer;
}
/* フォームカード内の注意書き */
.form-ng-inner {
  background: #fff5f5;
  border: 1px solid rgba(192,57,43,.2);
  border-left: 4px solid var(--red);
  border-radius: var(--r); padding: 12px 14px;
  display: flex; gap: 10px; align-items: flex-start;
  margin-bottom: 20px;
}
.form-ng-inner .form-ng-ico { font-size: .9rem; flex-shrink: 0; line-height: 1.6; }
.form-ng-inner .form-ng-cp  { font-size: .77rem; color: var(--tx2); line-height: 1.8; }
.form-ng-inner .form-ng-cp strong { display: block; font-size: .79rem; font-weight: 700; color: #8b1a1a; margin-bottom: 3px; }
.f-submit {
  width: 100%; background: var(--grad-or); color: #fff;
  font-weight: 900; font-size: 1rem; padding: 18px;
  border: none; border-radius: 50px; cursor: pointer;
  transition: opacity var(--t), transform var(--t), box-shadow var(--t);
  box-shadow: var(--sh-or);
  letter-spacing: .04em; font-family: var(--fw);
}
.f-submit:hover { opacity: .9; transform: translateY(-1px); box-shadow: 0 10px 32px rgba(245,125,17,.5); }
.f-submit:disabled { opacity: .45; cursor: not-allowed; transform: none; }

/* 成果報酬セクション 強調ボックス */
.reason-cta-box {
  margin-top: 36px;
  background: var(--grad-or);
  color: #fff;
  font-size: 1.05rem;
  font-weight: 900;
  line-height: 1.55;
  letter-spacing: .02em;
  text-align: center;
  padding: 24px 28px;
  border-radius: var(--r2);
  box-shadow: 0 8px 32px rgba(245,125,17,.4);
  position: relative;
  overflow: hidden;
}
.reason-cta-box::before {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(135deg, rgba(255,255,255,.12) 0%, transparent 60%);
  pointer-events: none;
}

/* =============================================================
   CANT — TRENDができない2つの事
============================================================= */
#reason {
  padding: var(--spv) 0;
  background: var(--bg);
  position: relative; overflow: hidden;
}
#reason::before {
  content: '';
  position: absolute; top: -80px; right: -80px;
  width: 400px; height: 400px; border-radius: 50%;
  background: radial-gradient(circle, rgba(229,62,62,.06) 0%, transparent 65%);
  pointer-events: none;
}

/* Eyebrow — red tone */
.cant-eb {
  color: var(--red) !important;
  background: rgba(229,62,62,.08) !important;
}

/* "2" — huge orange accent in heading */
.cant-num {
  color: var(--or);
  font-size: 1.55em;
  font-weight: 900;
  line-height: 1;
  display: inline-block;
  vertical-align: middle;
  text-shadow: 0 0 20px rgba(245,125,17,.45);
  letter-spacing: -.02em;
}

/* Card grid — stack on SP, 2-col on tablet+ */
.cant-grid {
  display: flex; flex-direction: column; gap: 20px;
  margin-top: 44px;
}

/* Card */
.cant-card {
  background: var(--w);
  border-radius: var(--r2);
  border: 2px solid rgba(229,62,62,.18);
  box-shadow: var(--sh-md);
  display: flex; align-items: flex-start; gap: 0;
  overflow: hidden;
  transition: transform var(--t), box-shadow var(--t);
}
.cant-card:hover { transform: translateY(-4px); box-shadow: var(--sh-lg); }

/* Icon column */
.cant-icon-wrap {
  background: rgba(229,62,62,.07);
  border-right: 2px solid rgba(229,62,62,.14);
  width: 68px; flex-shrink: 0;
  display: flex; align-items: center; justify-content: center;
  padding: 28px 0;
  align-self: stretch;
}
.cant-icon-x {
  display: flex; align-items: center; justify-content: center;
  width: 40px; height: 40px;
  background: var(--red);
  color: #fff;
  font-size: 1.4rem; font-weight: 900;
  border-radius: 50%;
  box-shadow: 0 4px 16px rgba(229,62,62,.4);
  line-height: 1;
  flex-shrink: 0;
}

/* Card body */
.cant-card-body {
  padding: 24px 22px 26px;
  flex: 1;
}

/* Title */
.cant-title {
  font-size: 1.02rem; font-weight: 900;
  color: var(--nv); line-height: 1.45;
  margin-bottom: 12px; letter-spacing: -.01em;
}

/* Strong emphasis — "未" single char */
.cant-em-char {
  color: var(--red);
  font-size: 1.32em;
  font-weight: 900;
  line-height: 1;
  display: inline-block;
  vertical-align: middle;
  text-shadow: 0 0 14px rgba(229,62,62,.3);
}

/* Strong emphasis — "事務職" word */
.cant-em-word {
  color: var(--red);
  font-size: 1.18em;
  font-weight: 900;
  letter-spacing: .01em;
  text-shadow: 0 0 14px rgba(229,62,62,.3);
}

/* Body text */
.cant-text {
  font-size: .84rem; color: var(--tx2); line-height: 1.88;
}

/* Soft emphasis — secondary highlight */
.cant-soft {
  background: rgba(229,62,62,.07);
  border-bottom: 1.5px solid rgba(229,62,62,.3);
  color: var(--tx);
  padding: 1px 2px;
  font-weight: 700;
}

/* Bottom positive message */
.cant-bottom-msg {
  margin-top: 32px;
  background: linear-gradient(135deg, var(--nv) 0%, #1a3a6e 100%);
  color: #fff;
  border-radius: var(--r2);
  padding: 20px 24px;
  display: flex; align-items: center; gap: 14px;
  font-size: .88rem; line-height: 1.72;
  box-shadow: var(--sh-md);
}
.cant-bottom-msg strong { color: var(--or); font-weight: 900; }
.cant-bottom-icon {
  display: flex; align-items: center; justify-content: center;
  width: 36px; height: 36px; flex-shrink: 0;
  background: var(--grad-or);
  color: #fff; font-size: 1.1rem; font-weight: 900;
  border-radius: 50%;
  box-shadow: var(--sh-or);
}

@media (min-width: 640px) {
  .cant-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
  .cant-icon-wrap { width: 76px; }
}

/* =============================================================
   FOOTER — no logo
============================================================= */
#ftr { background: var(--nv2); padding: 44px 24px 28px; }
.ftr-i { max-width: var(--max); margin: 0 auto; }
.ftr-addr { font-size: .77rem; color: rgba(255,255,255,.42); line-height: 1.9; }
.ftr-lnks { margin-top: 14px; display: flex; gap: 20px; flex-wrap: wrap; }
.ftr-lnks a { font-size: .74rem; color: rgba(255,255,255,.32); text-decoration: underline; transition: color var(--t); }
.ftr-lnks a:hover { color: var(--or); }
.ftr-copy { margin-top: 22px; padding-top: 18px; border-top: 1px solid rgba(255,255,255,.07); font-size: .68rem; color: rgba(255,255,255,.2); }

/* =============================================================
   FLOATING CTA — always visible, shake animation
============================================================= */
#fcta { position: fixed; bottom: 20px; right: 16px; z-index: 400; }
.fcta-btn {
  background: var(--grad-or); color: #fff; border: none;
  border-radius: 50px; padding: 14px 22px;
  font-size: .84rem; font-weight: 900; cursor: pointer;
  display: flex; align-items: center; gap: 7px;
  white-space: nowrap; font-family: var(--fw);
  box-shadow: 0 4px 20px rgba(245,125,17,.5);
  letter-spacing: .04em;
  animation: shake 4s ease-in-out infinite;
}
.fcta-btn:hover { opacity: .92; }

@keyframes shake {
  0%,  40%, 100% { transform: translateX(0); }
  42%            { transform: translateX(-4px); }
  44%            { transform: translateX(4px); }
  46%            { transform: translateX(-3px); }
  48%            { transform: translateX(3px); }
  50%            { transform: translateX(-2px); }
  52%            { transform: translateX(2px); }
  54%            { transform: translateX(0); }
}

/* =============================================================
   REVEAL — JS class names (変更禁止)
============================================================= */
.reveal-item {
  opacity: 0; transform: translateY(24px);
  transition: opacity .5s ease, transform .5s ease;
}
.reveal-item.active { opacity: 1; transform: none; }

.solution-img-reveal {
  opacity: 0; transform: translateY(16px);
  transition: opacity .55s ease, transform .55s ease;
}
.solution-img-reveal.active { opacity: 1; transform: none; }

/* =============================================================
   RESPONSIVE — ≥ 640px
============================================================= */
@media (min-width: 640px) {
  /* Trust: 3-col */
  .trs-i { flex-direction: row; gap: 16px; transform: translateY(-36px); }
  .trs-card { flex-direction: column; align-items: flex-start; flex: 1; margin-bottom: 0; gap: 10px; }
  .trs-bar  { display: none; }
  .trs-num  { text-align: left; min-width: auto; }

  /* Problem 3-col */
  .prob-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }

  /* Menu 3-col */
  .menu-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }

  /* Results 3-col */
  .res-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
  .res-num  { font-size: 3.6rem; }

  /* Sol steps 3-col */
  .sol-steps {
    display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px;
  }
  .sol-step { flex-direction: column; }
  .form-card { padding: 40px 36px; }
}

/* =============================================================
   RESPONSIVE — ≥ 960px
============================================================= */
@media (min-width: 960px) {
  :root { --spv: 96px; }

  /* FV PC image */
  .fv-pc { display: block; }
  .fv-sp { display: none; }

  /* Floating CTA always visible (override any hide) */
  #fcta { display: block; }

  /* Form centered */
  .form-card { max-width: 640px; margin: 0 auto; }
  .form-ng   { max-width: 640px; margin: 0 auto 24px; }

  /* Conversation: wider bubbles */
  .conv-bubble { max-width: 70%; }
}
