/* ==========================================================================
   キャリゼロ 採用企業向けLP — Design tokens & styles
   Reimplemented from the hifi design handoff.
   ========================================================================== */

:root{
  --teal:#00b8ac;
  --green:#98d049;
  --blue:#3982b9;
  --ink:#232628;
  --ink-2:#4a5054;
  --mute:#80878b;
  --line:#e4e8e6;
  --bg:#ffffff;
  --bg-2:#f6f8f5;
  --bg-green:#f5fbec;
  --danger:#d4513b;
  --jp:'Zen Kaku Gothic New', 'Hiragino Sans', 'Noto Sans JP', sans-serif;
  --en:'Outfit', 'Zen Kaku Gothic New', sans-serif;
  --wrap:1180px;
}

*{box-sizing:border-box;margin:0;padding:0}
html{scroll-behavior:smooth;scroll-padding-top:84px}
body{
  font-family:var(--jp);color:var(--ink);background:var(--bg);
  line-height:1.85;font-size:16px;-webkit-font-smoothing:antialiased;letter-spacing:.02em;
}
img{display:block;max-width:100%}
a{color:inherit;text-decoration:none}
button{font-family:inherit;cursor:pointer;border:none;background:none;color:inherit}
.wrap{max-width:var(--wrap);margin:0 auto;padding:0 32px}
h1,h2,h3{font-weight:900;line-height:1.4;letter-spacing:.03em;text-wrap:balance}
p{text-wrap:pretty}

/* ---------- common ---------- */
.eyebrow{
  display:inline-flex;align-items:center;gap:12px;
  font-family:var(--en);font-weight:600;font-size:13px;
  letter-spacing:.22em;text-transform:uppercase;color:var(--teal);
}
.eyebrow::before{
  content:"";width:22px;height:10px;background:var(--green);
  clip-path:polygon(28% 0,100% 0,72% 100%,0 100%);
}
.sec{padding:128px 0}
.sec-head{margin-bottom:64px}
.sec-head h2{font-size:clamp(28px,3.4vw,44px);margin-top:18px}
.sec-head p{color:var(--ink-2);margin-top:20px;max-width:640px}
.sec-head.center{text-align:center}
.sec-head.center p{margin-left:auto;margin-right:auto}
.mark{background:linear-gradient(transparent 62%, rgba(152,208,73,.45) 62%)}

.btn{
  display:inline-flex;align-items:center;justify-content:center;gap:14px;
  font-weight:700;font-size:16px;height:60px;padding:0 34px;border-radius:999px;
  transition:transform .2s, box-shadow .2s, background .2s;white-space:nowrap;
}
.btn .arw{width:22px;height:22px;border-radius:50%;background:#fff;display:grid;place-items:center;flex:none}
.btn .arw::after{
  content:"";width:6px;height:6px;
  border-top:2px solid currentColor;border-right:2px solid currentColor;
  transform:translateX(-1px) rotate(45deg);
}
.btn-primary{background:var(--teal);color:#fff;box-shadow:0 10px 24px -10px rgba(0,184,172,.7)}
.btn-primary .arw{color:var(--teal)}
.btn-primary:hover{transform:translateY(-2px);box-shadow:0 16px 30px -12px rgba(0,184,172,.8)}
.btn-ghost{border:1.5px solid var(--ink);color:var(--ink);background:#fff}
.btn-ghost .arw{background:var(--ink);color:#fff}
.btn-ghost:hover{background:var(--ink);color:#fff}
.btn-ghost:hover .arw{background:#fff;color:var(--ink)}

/* ---------- header ---------- */
.hdr{
  position:fixed;inset:0 0 auto 0;z-index:50;
  background:rgba(255,255,255,.92);backdrop-filter:blur(10px);
  border-bottom:1px solid transparent;transition:border-color .3s;
}
.hdr.scrolled{border-color:var(--line)}
.hdr-in{
  display:flex;align-items:center;justify-content:space-between;
  height:76px;max-width:1320px;margin:0 auto;padding:0 32px;
}
.hdr-logo{display:flex;align-items:center;gap:14px}
.hdr-logo img{height:44px;width:auto}
.hdr-logo small{
  font-size:11px;font-weight:700;color:var(--mute);
  border-left:1px solid var(--line);padding-left:14px;line-height:1.4;
}
.hdr nav{display:flex;align-items:center;gap:30px;font-size:14px;font-weight:500}
.hdr nav a:not(.btn):hover{color:var(--teal)}
.hdr .btn{height:46px;padding:0 22px;font-size:14px}
.hdr .hdr-dl{height:46px;padding:0 20px;font-size:14px}

/* ---------- hero ---------- */
.hero{position:relative;padding:150px 0 0;overflow:hidden}
.hero-grid{
  display:grid;grid-template-columns:1.05fr .95fr;gap:56px;align-items:center;
  max-width:1320px;margin:0 auto;padding:0 32px;
}
.hero-tag{
  display:inline-flex;align-items:center;gap:10px;font-size:13px;font-weight:700;
  color:var(--ink-2);background:var(--bg-green);border:1px solid #dff0c6;
  padding:7px 16px;border-radius:999px;
}
.hero-tag b{font-family:var(--en);font-weight:700;color:#5d9a14;letter-spacing:.1em;font-size:12px}
.hero h1{font-size:clamp(36px,4.6vw,64px);margin:28px 0 28px;line-height:1.36}
.hero h1 .accent{color:var(--teal)}
.hero-lead{font-size:17px;color:var(--ink-2);max-width:540px}
.hero-cta{display:flex;flex-wrap:wrap;gap:16px;margin-top:44px}
.hero-chips{
  display:flex;flex-wrap:wrap;gap:10px 22px;margin-top:36px;
  font-size:13px;font-weight:700;color:var(--ink-2);
}
.hero-chips li{list-style:none;display:flex;align-items:center;gap:8px}
.hero-chips li::before{content:"";width:8px;height:8px;background:var(--green);transform:skewX(-20deg)}

.hero-visual{
  position:relative;height:auto;display:flex;flex-direction:column;
  align-items:center;padding:10px 0 30px;
}
/* The key visual is the page's first impression, so it is deliberately pushed
   larger than the text column's natural weight (520px → up to 560px), given a
   teal frame plus a warmer, wider shadow, and lifted slightly. Without the
   frame it read as a floating snapshot rather than a delivered creative. */
.kv{
  position:relative;z-index:2;width:min(560px,100%);aspect-ratio:750/930;margin:0;
  overflow:hidden;
  border:6px solid #fff;
  box-shadow:
    0 0 0 1px rgba(0,184,172,.22),
    0 34px 60px -26px rgba(0,60,70,.55),
    0 10px 26px -14px rgba(0,184,172,.45);
}
.kv img{width:100%;height:100%;object-fit:cover;display:block}
.kv-slab-t{
  position:absolute;z-index:1;left:0;top:6%;width:200px;height:76%;background:var(--teal);
  clip-path:polygon(55% 0,100% 0,45% 100%,0 100%);
}
.kv-slab-g{
  position:absolute;z-index:1;right:0;bottom:8px;width:70%;height:60px;background:var(--green);
  clip-path:polygon(8% 0,100% 0,100% 100%,0 100%);
}
.kv-note{
  position:relative;z-index:3;align-self:flex-start;margin:0 0 16px;background:#fff;
  padding:14px 20px;font-weight:900;font-size:14px;line-height:1.5;
  border-left:4px solid var(--green);
  box-shadow:0 18px 36px -18px rgba(0,0,0,.3);
}
.kv-note small{display:block;font-size:11px;font-weight:700;color:var(--teal);letter-spacing:.08em}

.ticker{
  margin-top:80px;border-top:1px solid var(--line);border-bottom:1px solid var(--line);
  overflow:hidden;white-space:nowrap;padding:18px 0;
}
.ticker-track{
  display:inline-flex;gap:48px;animation:tick 40s linear infinite;
  font-family:var(--en);font-weight:700;font-size:15px;letter-spacing:.18em;color:#b8c0bc;
}
.ticker-track span{display:inline-flex;align-items:center;gap:48px}
.ticker-track span::after{content:"";width:10px;height:10px;background:var(--green);transform:skewX(-20deg)}
@keyframes tick{to{transform:translateX(-50%)}}

/* ---------- problems ---------- */
.problems{background:var(--bg-2)}
.prob-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:20px}
.prob{background:#fff;padding:36px 28px 34px;position:relative}
.prob .no{font-family:var(--en);font-weight:700;font-size:13px;letter-spacing:.14em;color:var(--mute)}
.prob h3{font-size:20px;margin:18px 0 14px}
.prob p{font-size:14px;color:var(--ink-2);line-height:1.85}
.prob::after{content:"";position:absolute;left:28px;top:0;width:36px;height:4px;background:var(--ink)}
.prob-bridge{margin-top:72px;display:flex;align-items:center;justify-content:center;gap:26px;text-align:center}
.prob-bridge p{font-size:clamp(22px,2.4vw,30px);font-weight:900;line-height:1.6}
.prob-bridge img{height:42px;width:auto;display:inline-block;vertical-align:middle;margin:0 6px}
.chev{display:flex;flex-direction:column;align-items:center;gap:4px;margin:56px auto 0;width:max-content}
.chev i{width:28px;height:14px;background:var(--green);clip-path:polygon(0 0,50% 60%,100% 0,100% 40%,50% 100%,0 40%)}
.chev i:nth-child(2){opacity:.55}

/* ---------- values ---------- */
.val-list{display:flex;flex-direction:column;gap:96px}
.val{display:grid;grid-template-columns:1fr 1fr;gap:72px;align-items:center}
.val:nth-child(even) .val-img{order:2}
.val-img{height:400px;position:relative}
.val-img img{
  position:absolute;inset:0;width:100%;height:100%;object-fit:cover;
  clip-path:polygon(10% 0,100% 0,90% 100%,0 100%);
}
.val-num{
  font-family:var(--en);font-weight:800;font-size:88px;line-height:1;color:var(--teal);
  display:flex;align-items:flex-end;gap:14px;
}
.val-num small{font-size:13px;letter-spacing:.2em;color:var(--mute);font-weight:600;padding-bottom:12px}
.val h3{font-size:clamp(24px,2.5vw,32px);margin:22px 0 22px}
.val p{color:var(--ink-2)}
.val-shift{display:flex;align-items:center;gap:14px;margin-top:28px;flex-wrap:wrap}
.val-shift span{font-size:14px;font-weight:700;padding:10px 18px;border:1px solid var(--line);background:#fff}
.val-shift span.to{background:var(--ink);color:#fff;border-color:var(--ink)}
.val-shift i{width:14px;height:14px;border-top:2px solid var(--green);border-right:2px solid var(--green);transform:rotate(45deg)}

/* ---------- site ---------- */
/* The screenshot is a whole page shrunk into the card, so its internal text
   shrinks with it — the card must therefore be as wide as the layout allows.
   The image column gets slightly more weight than the text column (1fr 1.12fr)
   and the gap is trimmed to 48px, which puts ~563px of width under the mockup
   instead of the old flat 1fr/1fr + 72px (520px). The h2 is scaled a touch
   down here so 「キャリゼロというサイト」keeps its single line at every width:
   at the full 44px it needs ~484px, more than the ~505px column can give once
   letter-spacing is counted, and the last glyph 「ト」was dropping to a third
   line. */
.site-head{display:grid;grid-template-columns:1fr 1.12fr;gap:48px;align-items:center;margin-bottom:72px}
.site-head .sec-head h2{font-size:clamp(28px,2.9vw,40px)}
.site-head .sec-head{margin-bottom:0}
.site-link{
  display:inline-flex;align-items:center;gap:12px;margin-top:28px;
  font-weight:700;font-size:15px;border-bottom:1.5px solid var(--ink);padding-bottom:4px;
}
.site-link span{width:8px;height:8px;border-top:2px solid var(--ink);border-right:2px solid var(--ink);transform:rotate(45deg)}
.site-link:hover{color:var(--teal);border-color:var(--teal)}
.site-link:hover span{border-color:var(--teal)}
.site-shot{
  margin:0;background:#fff;border:1px solid var(--line);
  box-shadow:0 30px 60px -30px rgba(0,0,0,.3);overflow:hidden;
  max-width:600px;justify-self:end;width:100%;
}
.bw-bar{
  display:flex;align-items:center;gap:6px;height:34px;padding:0 14px;
  background:var(--bg-2);border-bottom:1px solid var(--line);
}
.bw-bar i{width:9px;height:9px;border-radius:50%;background:#d6dcd9}
.bw-bar span{
  margin-left:12px;font-family:var(--en);font-size:12px;color:var(--mute);
  background:#fff;padding:2px 14px;border-radius:999px;
}
/* The slot matches the asset's own 3:2 ratio (1080x720), so object-fit has
   nothing to crop. It used to be a fixed 340px tall landscape box fed with the
   portrait hero poster (750x930), which sliced the top and bottom off the
   artwork — the poster's headline was cut in half. Sizing by ratio instead of
   a fixed height means the card grows with its column and never crops. */
.site-shot img{width:100%;height:auto;aspect-ratio:3/2;object-fit:cover;object-position:50% 0;display:block}

.feat-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:0;border-top:1px solid var(--ink)}
.feat{padding:32px 26px 8px 0}
.feat + .feat{padding-left:26px;border-left:1px solid var(--line)}
.feat-no{font-family:var(--en);font-weight:800;font-size:40px;line-height:1;color:var(--teal)}
.feat h3{font-size:19px;margin:16px 0 12px}
.feat p{font-size:14px;color:var(--ink-2)}

.tiles-head{margin-top:80px;display:flex;align-items:baseline;gap:20px;flex-wrap:wrap;margin-bottom:22px}
.tiles-head b{font-size:18px;font-weight:900}
.tiles-head span{font-size:13px;color:var(--mute)}
.tiles{display:grid;grid-template-columns:repeat(5,1fr);gap:14px}
.tiles figure{margin:0}
.tiles img{width:100%;aspect-ratio:1;object-fit:cover;display:block;transition:transform .3s}
.tiles figure:hover img{transform:translateY(-4px)}
.tiles figcaption{font-size:12.5px;font-weight:700;margin-top:10px;color:var(--ink-2)}

/* ---------- merits ---------- */
.merits{background:var(--bg-2);color:var(--ink);position:relative;overflow:hidden}
.merits .eyebrow{color:var(--teal)}
.merits .sec-head p{color:var(--ink-2)}
.merits-zero{
  position:absolute;right:-60px;bottom:-140px;font-family:var(--en);font-weight:800;
  font-size:560px;line-height:.8;color:transparent;-webkit-text-stroke:1.5px #e3e9e5;
  pointer-events:none;
}
.mer-wrap{display:grid;grid-template-columns:1.25fr 1fr;gap:28px;position:relative}
.mer-card{background:#fff;padding:44px 44px 40px}
.mer-card .lbl{font-family:var(--en);font-size:12px;font-weight:600;letter-spacing:.2em;color:var(--teal)}
.mer-card h3{font-size:26px;margin:14px 0 18px}
.mer-card > p{color:var(--ink-2);font-size:15px}
.topics{display:grid;grid-template-columns:repeat(5,1fr);gap:10px;margin-top:34px}
.topic{background:var(--bg-2);padding:20px 4px 18px;text-align:center}
.topic b{display:block;font-family:var(--en);font-size:12px;letter-spacing:.12em;color:var(--teal);font-weight:600}
.topic span{display:block;font-weight:700;font-size:15px;margin-top:6px}
.compare{margin-top:34px;display:grid;grid-template-columns:1fr auto 1fr;align-items:center;gap:14px}
.compare div{padding:20px;text-align:center;font-size:14px;line-height:1.6}
.compare .a{border:1px dashed #b7bfbb;color:var(--ink-2)}
.compare .b{background:var(--teal);color:#fff;font-weight:700}
.compare i{width:12px;height:12px;border-top:2px solid var(--green);border-right:2px solid var(--green);transform:rotate(45deg)}

/* ---------- free-listing campaign ----------
   The offer is repeated in twelve places so a visitor meets it no matter where
   they start reading. Every instance is rendered only while src/lib/campaign.ts
   says the campaign is active, so the page can never advertise an expired
   condition.

   ONE design, repeated: `.camp-banner` is visually the price band's twin — ink
   panel, green badge, green wedge, white type. The client asked for the banner
   design to be unified and to match the colour of the lower (price) band, so
   every placement uses this component rather than a per-section widget. */

.camp-banner{
  position:relative;overflow:hidden;
  display:grid;grid-template-columns:auto minmax(0,1fr) auto;
  align-items:center;gap:28px;
  background:var(--ink);color:#fff;
  padding:26px 34px;
}
/* The green wedge echo from .price-campaign, so the two read as one family. */
.camp-banner::after{
  content:"";position:absolute;right:-40px;top:0;bottom:0;width:240px;
  background:var(--green);opacity:.16;
  clip-path:polygon(34% 0,100% 0,66% 100%,0 100%);
  pointer-events:none;
}
.camp-banner.no-cta{grid-template-columns:auto minmax(0,1fr)}
.cb-badge{
  position:relative;z-index:1;flex:none;
  display:inline-flex;flex-direction:column;align-items:center;justify-content:center;
  gap:2px;background:var(--green);color:#fff;
  font-family:var(--en);font-weight:700;font-size:11px;letter-spacing:.18em;
  padding:13px 24px;text-align:center;white-space:nowrap;
  clip-path:polygon(8% 0,100% 0,92% 100%,0 100%);
}
.cb-badge b{font-size:11px;letter-spacing:.22em}
.cb-copy{position:relative;z-index:1;min-width:0}
.cb-copy h3{font-size:clamp(19px,2vw,25px);color:#fff}
.cb-scope{
  font-size:13px;color:rgba(255,255,255,.88);margin-top:7px;line-height:1.7;
  text-wrap:pretty;
}
.cb-note{
  font-size:11.5px;color:rgba(255,255,255,.62);margin-top:5px;line-height:1.6;
  text-wrap:pretty;
}
/* The deadline chip sits inline at the end of the footnote — it is the last
   thing a reader checks, and a separate row cost 20px of height in every
   banner on the page. */
.cb-dead{
  display:inline-block;margin-left:10px;padding:1px 9px;
  border:1px solid rgba(152,208,73,.55);border-radius:999px;
  color:var(--green);font-weight:700;white-space:nowrap;
}
.camp-banner .cb-cta{
  position:relative;z-index:1;flex:none;
  height:52px;padding:0 26px;font-size:14px;
  background:var(--green);color:#fff;
  box-shadow:0 10px 24px -12px rgba(152,208,73,.9);
}
.camp-banner .cb-cta .arw{color:var(--green)}
.camp-banner .cb-cta:hover{transform:translateY(-2px)}

/* Banner-ad style band between two sections. It carries the page's own
   vertical rhythm, so adding one never leaves a double gap. */
.camp-strip{padding:0}
.camp-strip .wrap{padding-top:0;padding-bottom:0}
/* Pull the strip's own air upward from the section that follows it. */
.camp-strip + .sec{padding-top:96px}

/* Hero visual banner — sits under the key visual, matched to the image's own
   560px width so the column reads as one unit. */
.hero-visual-cta{width:min(560px,100%);margin-top:22px}
.hero-visual-cta .camp-banner{
  grid-template-columns:1fr;gap:14px;padding:22px 24px;
}
/* Single-column grid stretches items to the full track by default, which
   turned the skewed badge into a full-width green slab. Pin it to its own
   content width, both axes. */
.hero-visual-cta .cb-badge{
  align-self:start;justify-self:start;padding:10px 20px;
}
.hero-visual-cta .cb-copy h3{font-size:20px}
.hero-visual-cta .cb-scope{font-size:12.5px}
.hero-visual-cta .cb-cta{width:100%;height:52px}

/* Flow closing note. */
.flow-camp{
  display:block;margin-top:6px;font-size:14px;font-weight:900;color:#3f6b0a;
}
.flow-camp::before{
  content:"";display:inline-block;width:8px;height:8px;margin-right:8px;
  background:var(--green);transform:skewX(-20deg) translateY(-1px);
}

/* FAQ answer lead-in. */
.faq-camp{
  display:block;margin-bottom:6px;font-weight:900;color:#3f6b0a;
  background:linear-gradient(transparent 68%, rgba(152,208,73,.38) 68%);
}

/* Contact — the final decision point, on the teal panel. */
.contact-camp{
  margin-top:26px;padding:18px 22px;
  background:rgba(255,255,255,.14);
  border-left:4px solid var(--green);
  display:grid;gap:6px;
}
.contact-camp b{display:block;font-size:clamp(17px,1.9vw,21px);font-weight:900;color:#fff;line-height:1.5}
.contact-camp span{font-size:12.5px;color:rgba(255,255,255,.86);line-height:1.6}
.contact-camp .cc-note{font-size:11.5px;color:rgba(255,255,255,.66)}

/* Sticky mobile CTA sub-line. */
.sp-cta-label{display:block}
.sp-cta-camp{
  display:block;margin-top:2px;font-size:11px;font-weight:700;
  letter-spacing:.01em;color:rgba(255,255,255,.94);
}

/* ---------- pricing ---------- */
/* The old bespoke `.price-campaign` band is gone: the price section now renders
   the shared `.camp-banner`, so the offer looks identical here and in the
   inter-section strips. The amounts/rates stay unpublished — 「案内はご相談時」. */

.price-consult{
  display:grid;grid-template-columns:1fr 300px;gap:0;
  border:1px solid var(--line);background:#fff;
  box-shadow:0 24px 48px -34px rgba(0,0,0,.28);
}
.pc-main{padding:52px 56px}
.pc-main .go-lbl{font-family:var(--en);font-size:11px;font-weight:600;letter-spacing:.2em;color:var(--teal)}
.pc-main h3{font-size:clamp(22px,2.4vw,30px);margin:12px 0 14px}
.pc-main p{color:var(--ink-2);font-size:15px;max-width:56ch}
.pc-main .btn{margin-top:28px}
.pc-incl{
  list-style:none;background:var(--bg-2);padding:44px 36px;
  display:flex;flex-direction:column;justify-content:center;gap:14px;
  border-left:1px solid var(--line);font-size:14px;font-weight:700;color:var(--ink-2);
}
.pc-incl li{display:flex;gap:10px;align-items:flex-start;line-height:1.6}
.pc-incl li::before{content:"";flex:none;width:8px;height:8px;margin-top:8px;background:var(--green);transform:skewX(-20deg)}

.link-btn,.inline{color:var(--teal);font-weight:700;text-decoration:underline;text-underline-offset:3px;font-size:inherit}

/* ---------- flow ---------- */
.flow{background:var(--bg-2)}
/* 8 steps: 4 columns × 2 rows above 820px (8 in one row leaves only ~140px
   per step inside the 1180px wrap, which breaks both titles and body copy
   mid-word), stacked to a single column at ≤820px. */
.steps{display:grid;grid-template-columns:repeat(4,1fr);gap:0;row-gap:52px;list-style:none}
/* Horizontal padding is tight on purpose: at 960px the wrap leaves 224px per
   column, and step 01's body needs ~213px — 12px of padding would push it to
   a second line while its neighbours stay on one. 4px keeps every row even. */
.step{position:relative;padding:0 4px;text-align:center}
.step .dot{
  width:72px;height:72px;margin:0 auto;display:grid;place-items:center;background:#fff;
  border:1.5px solid var(--ink);font-family:var(--en);font-weight:700;font-size:22px;
  position:relative;z-index:1;border-radius:50%;
}
.step:last-child .dot{background:var(--teal);border-color:var(--teal);color:#fff}
/* Connector runs dot-to-dot inside a row; the last step of each row drops it. */
.step:not(:last-child)::after{
  content:"";position:absolute;top:36px;left:calc(50% + 36px);right:calc(-50% + 36px);
  border-top:1.5px dashed #b7bfbb;
}
.step:nth-child(4n)::after{display:none}
/* keep-all stops Japanese breaking mid-word ("企業情報ペ／ージ作成");
   the <wbr> in the markup is the only place these titles may wrap. */
.step h3{font-size:16px;margin-top:20px;word-break:keep-all;overflow-wrap:normal}
.step p{font-size:12.5px;color:var(--ink-2);margin-top:8px;line-height:1.7;text-wrap:balance}
.flow-note{margin-top:56px;background:#fff;padding:28px 32px;display:flex;gap:24px;align-items:center}
.flow-note b{font-weight:900;white-space:nowrap}
.flow-note p{font-size:14px;color:var(--ink-2)}

/* ---------- faq ---------- */
.faq-grid{display:grid;grid-template-columns:340px 1fr;gap:72px}
.faq-list details{border-top:1px solid var(--line)}
.faq-list details:last-child{border-bottom:1px solid var(--line)}
.faq-list summary{
  list-style:none;cursor:pointer;display:grid;grid-template-columns:40px 1fr 24px;gap:12px;
  align-items:center;padding:26px 0;font-weight:700;font-size:17px;
}
.faq-list summary::-webkit-details-marker{display:none}
.faq-list summary .q{font-family:var(--en);font-weight:700;font-size:22px;color:var(--teal)}
.faq-list summary .pm{width:24px;height:24px;position:relative}
.faq-list summary .pm::before,.faq-list summary .pm::after{
  content:"";position:absolute;left:4px;right:4px;top:11px;height:2px;background:var(--ink);transition:transform .25s;
}
.faq-list summary .pm::after{transform:rotate(90deg)}
.faq-list details[open] .pm::after{transform:rotate(0)}
.faq-a{display:grid;grid-template-columns:40px 1fr;gap:12px;padding:0 36px 28px 0;color:var(--ink-2);font-size:15px}
.faq-a .a{font-family:var(--en);font-weight:700;font-size:22px;color:var(--green);line-height:1.4}

/* ---------- contact ---------- */
.contact{background:var(--teal);color:#fff;position:relative;overflow:hidden;padding:120px 0}
.contact::before{
  content:"";position:absolute;left:-80px;top:0;bottom:0;width:340px;
  background:rgba(255,255,255,.08);clip-path:polygon(60% 0,100% 0,40% 100%,0 100%);
}
.contact::after{
  content:"";position:absolute;right:0;bottom:0;width:55%;height:64px;background:var(--green);
  clip-path:polygon(6% 0,100% 0,100% 100%,0 100%);
}
.contact-in{position:relative;z-index:1;display:grid;grid-template-columns:1.1fr .9fr;gap:64px;align-items:center}
.contact .eyebrow{color:#fff}
.contact .eyebrow::before{background:#fff}
.contact h2{font-size:clamp(28px,3.4vw,46px);margin:18px 0 22px}
.contact p{color:rgba(255,255,255,.88)}
.cta-cards{display:grid;gap:14px}
.cta-card{
  display:block;text-align:left;background:#fff;color:var(--ink);
  padding:26px 64px 26px 28px;position:relative;transition:transform .2s;
}
.cta-card:hover{transform:translateX(4px)}
.cta-card.main{background:var(--ink);color:#fff}
.cc-lbl{font-family:var(--en);font-size:11px;letter-spacing:.2em;font-weight:600;color:var(--teal)}
.cta-card.main .cc-lbl{color:var(--green)}
.cta-card b{display:block;font-size:21px;font-weight:900;margin-top:2px}
.cta-card small{display:block;font-size:13px;opacity:.75}
.cc-arw{position:absolute;right:26px;top:50%;width:30px;height:30px;border-radius:50%;background:var(--teal);transform:translateY(-50%)}
.cc-arw::after{
  content:"";position:absolute;left:10px;top:11px;width:7px;height:7px;
  border-top:2px solid #fff;border-right:2px solid #fff;transform:rotate(45deg);
}
.cc-mail{font-size:13px;color:rgba(255,255,255,.9);margin-top:4px}
.cc-mail a{text-decoration:underline;text-underline-offset:3px}

/* ---------- company / footer ---------- */
.company{padding:110px 0 100px}
.co-grid{display:grid;grid-template-columns:340px 1fr;gap:72px}
.co-grid .wbs img{height:40px;width:auto;margin-top:28px}
.co-grid .wbs p{font-size:14px;color:var(--ink-2);margin-top:24px}
.co-table{width:100%;border-collapse:collapse;font-size:15px}
.co-table th,.co-table td{text-align:left;padding:20px 0;border-bottom:1px solid var(--line);vertical-align:top}
.co-table tr:first-child th,.co-table tr:first-child td{border-top:1px solid var(--ink)}
.co-table th{width:180px;font-weight:700}
.co-table td{color:var(--ink-2)}
.co-table td ul{list-style:none;display:grid;gap:2px}
footer{background:var(--bg-2);padding:36px 0;font-size:12px;color:var(--mute)}
footer .wrap{display:flex;justify-content:space-between;align-items:center;gap:20px;flex-wrap:wrap}
footer nav{display:flex;gap:24px}
footer a:hover{color:var(--ink)}
footer .cc-reopen{
  background:none;border:0;padding:0;font:inherit;color:inherit;
  cursor:pointer;text-decoration:underline;text-underline-offset:2px;
}
footer .cc-reopen:hover{color:var(--ink)}

/* ---------- cookie consent ----------
   Mode A: the banner stays until the visitor decides, and GTM is not loaded
   before that. `[hidden]` has to beat `display:flex`, hence the explicit rule —
   without it the server-rendered banner would show even when JS never runs,
   which would be a prompt nobody can answer. */
.cookie-consent{
  position:fixed;left:0;right:0;bottom:0;z-index:100;
  background:#fff;border-top:1px solid var(--line);
  box-shadow:0 -8px 30px -12px rgba(0,0,0,.25);
  padding:18px 0;
  animation:cc-up .35s ease both;
}
.cookie-consent[hidden]{display:none}
@keyframes cc-up{from{transform:translateY(100%)}to{transform:none}}
.cc-inner{
  max-width:var(--wrap);margin:0 auto;padding:0 32px;
  display:flex;align-items:center;justify-content:space-between;gap:24px;
}
.cc-text{min-width:0}
.cc-title{font-weight:700;font-size:14px;color:var(--ink);margin:0 0 4px}
.cc-desc{font-size:13px;color:var(--ink-2);margin:0;line-height:1.7}
.cc-desc a{color:var(--teal);text-decoration:underline;text-underline-offset:2px}
.cc-actions{display:flex;gap:10px;flex:0 0 auto}
.cc-btn{
  height:44px;padding:0 26px;border-radius:999px;
  font-family:var(--jp);font-size:14px;font-weight:700;cursor:pointer;
  border:1px solid var(--ink);background:#fff;color:var(--ink);
  transition:background .2s,color .2s,border-color .2s;
}
.cc-btn:hover{background:var(--bg-2)}
.cc-allow{background:var(--teal);border-color:var(--teal);color:#fff}
.cc-allow:hover{background:#00a49a;border-color:#00a49a}
.cc-btn:focus-visible{outline:2px solid var(--ink);outline-offset:2px}
/* The sticky mobile CTA and the banner would both occupy the bottom edge. */
body.cc-open .sp-cta{display:none}
@media (max-width:820px){
  .cc-inner{flex-direction:column;align-items:stretch;gap:14px;padding:0 20px}
  .cc-actions{display:grid;grid-template-columns:1fr 1fr}
  .cc-btn{padding:0 12px}
}
@media (prefers-reduced-motion:reduce){
  .cookie-consent{animation:none}
}
@media print{
  .cookie-consent{display:none !important}
}

.sp-cta{display:none}
.sp-only{display:none}

/* ---------- reveal ----------
   Content is visible by default (no-JS, print, screenshot safe).
   JS adds .rv-init to hide it before revealing with .in. */
.rv-init{opacity:0;transform:translateY(24px)}
.rv-init.in{opacity:1;transform:none;transition:opacity .8s ease, transform .8s ease}
@media (prefers-reduced-motion:reduce){
  .rv-init{opacity:1;transform:none;transition:none}
  .ticker-track{animation:none}
  html{scroll-behavior:auto}
}
@media print{
  .rv-init{opacity:1 !important;transform:none !important}
  .hdr,.sp-cta{display:none !important}
}

/* ---------- responsive ---------- */
@media (max-width:1080px){
  .hdr nav a:not(.btn){display:none}
  .feat-grid{grid-template-columns:repeat(2,1fr)}
  .feat:nth-child(3){padding-left:0;border-left:none}
  .tiles{grid-template-columns:repeat(3,1fr)}
  .prob-grid{grid-template-columns:repeat(2,1fr)}
  .mer-wrap{grid-template-columns:1fr}
}

@media (max-width:820px){
  body{font-size:15px}
  .wrap,.hero-grid,.hdr-in{padding:0 20px}
  .sec{padding:84px 0}
  .sec-head{margin-bottom:44px}
  .hdr-in{height:64px}
  .hdr-logo img{height:34px}
  .hdr-logo small{display:none}
  .hdr .btn{height:40px;padding:0 16px;font-size:13px}
  .hdr .btn .arw{display:none}
  .hdr .hdr-dl{display:none}
  .hero{padding-top:100px}
  .hero-grid{grid-template-columns:1fr;gap:20px}
  .hero-visual{order:0;margin-top:24px}
  .hero-cta .btn{width:100%}
  .ticker{margin-top:56px}
  .prob-grid{grid-template-columns:1fr}
  .prob-bridge{flex-direction:column}
  .sp-only{display:inline}
  .val{grid-template-columns:1fr;gap:28px}
  .val:nth-child(even) .val-img{order:0}
  .val-img{height:240px}
  .val-num{font-size:64px}
  .val-list{gap:72px}
  .mer-card{padding:32px 24px}
  .topics{grid-template-columns:repeat(3,1fr)}
  .compare{grid-template-columns:1fr;justify-items:center}
  .compare div{width:100%}
  .compare i{transform:rotate(135deg)}
  .steps{grid-template-columns:1fr;row-gap:0}
  .step{display:grid;grid-template-columns:56px 1fr;gap:4px 18px;text-align:left;padding:0 0 28px}
  .step .dot{width:56px;height:56px;font-size:18px;grid-row:span 2}
  .step h3{margin-top:4px}
  .step p{margin-top:0}
  .step:not(:last-child)::after{display:block;left:28px;right:auto;top:56px;bottom:0;border-top:none;border-left:1.5px dashed #b7bfbb}
  .flow-note{flex-direction:column;align-items:flex-start;gap:8px}
  .faq-grid,.co-grid{grid-template-columns:1fr;gap:36px}
  .faq-list summary{font-size:15px;grid-template-columns:32px 1fr 24px}
  .faq-a{grid-template-columns:32px 1fr;padding-right:0}
  .contact{padding:84px 0 120px}
  .contact-in{grid-template-columns:1fr;gap:36px}
  .co-table th{width:110px}
  .co-table th,.co-table td{padding:16px 0;font-size:14px}
  .sp-cta{
    display:grid;position:fixed;left:12px;right:12px;bottom:12px;z-index:40;
    grid-template-columns:1fr;gap:8px;transform:translateY(120%);transition:transform .3s;
  }
  .sp-cta.show{transform:none}
  /* The campaign sub-line is a second flex item inside .btn, so on a 390px
     screen the label and the sub-line competed for the same row and pushed
     the bar past the viewport edge (clipped at 「掲載費完全無…」). The base
     .btn is nowrap + inline-flex, so stack the two lines and let them wrap. */
  .sp-cta .btn{
    flex-direction:column;gap:1px;height:auto;min-height:56px;
    padding:8px 18px;white-space:normal;
  }
  .sp-cta-camp{white-space:normal;line-height:1.35;text-align:center}
  .price-consult{grid-template-columns:1fr}
  /* On a phone every banner collapses to a single column: badge, then copy,
     then the full-width button. The badge is left-aligned rather than centred,
     because centring it inside the column left it floating oddly above
     left-aligned text. */
  .camp-banner{grid-template-columns:1fr;gap:14px;padding:22px 20px}
  .camp-banner.no-cta{grid-template-columns:1fr}
  .cb-badge{align-self:start;justify-self:start;padding:10px 20px;font-size:10px}
  .cb-badge b{font-size:10px}
  .cb-copy h3{font-size:18px;line-height:1.5}
  .cb-scope{font-size:12.5px;margin-top:6px}
  .cb-note{font-size:11px}
  /* The deadline chip drops to its own line: inline it forced the footnote to
     wrap around it, which read as two unrelated sentences. */
  .cb-dead{display:inline-block;margin-left:0;margin-top:6px}
  .camp-banner .cb-cta{width:100%;height:50px;font-size:14px}
  .hero-visual-cta{width:100%;margin-top:18px}
  .hero-visual-cta .camp-banner{padding:20px 18px}
  .hero-visual-cta .cb-copy h3{font-size:17px}
  /* Between sections the strip keeps its own gap; the following section's
     padding is what would otherwise double up with it. */
  .camp-strip + .sec{padding-top:64px}
  .contact-camp{padding:16px 18px;margin-top:22px}
  .pc-main{padding:32px 24px}
  .pc-incl{padding:28px 24px;border-left:none;border-top:1px solid var(--line)}
  .site-head{grid-template-columns:1fr;gap:36px;margin-bottom:48px}
  /* One column here, so the 600px cap only leaves a dead gap on the right —
     the card should use the full column, which is also the largest the
     screenshot can be rendered on a phone/tablet. */
  .site-shot{justify-self:stretch;max-width:none}
  /* Height is driven by the 3:2 ratio now; a fixed 240px here would re-crop the
     image on phones (350px wide / 240px tall = 1.46, not 1.5) and undo the fix. */
  .feat-grid{grid-template-columns:1fr}
  .feat,.feat + .feat{padding:24px 0;border-left:none;border-bottom:1px solid var(--line)}
  .tiles{
    grid-template-columns:repeat(5,64%);overflow-x:auto;scroll-snap-type:x mandatory;
    margin:0 -20px;padding:0 20px 8px;
  }
  .tiles figure{scroll-snap-align:start}
  .kv{width:86%}
  .kv-slab-t{width:110px}
  .kv-slab-g{height:36px}
  .kv-note{font-size:12px;padding:10px 14px;margin-top:0}
  footer{padding-bottom:90px}
}
