:root {
  --cream: #fff6e1;
  --red: #e8322b;
  --red-deep: #e60012;
  --blue: #29a9e0;
  --ink: #231815;
  --pink: #f8c8c8;
  --white: #fff;
  --ease-out: cubic-bezier(.22, 1, .36, 1);
  --ease-back: cubic-bezier(.34, 1.56, .64, 1);
  --w: 960px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(90px * var(--zoom, 1)); overflow-x: clip; }
body {
  margin: 0;
  background: var(--cream);
  color: var(--ink);
  font-family: "Noto Sans JP", sans-serif;
  font-weight: 500;
  line-height: 1.7;
  overflow-x: clip;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
/* <picture>（AVIF 配信用）は箱を作らず、中の <img> を親要素の直接の子として配置する */
picture { display: contents; }
picture > source { display: none; } /* 表示されない <source> がグリッドのマスを占めないように */
a { color: inherit; text-decoration: none; }
p, h1, h2, h3, ul, ol { margin: 0; }
em { font-style: normal; }
section { position: relative; }

/* ---------- Reveal animations ---------- */
[data-anim] {
  opacity: 0;
  transition: opacity .8s var(--ease-out), transform .8s var(--ease-out);
  transition-delay: var(--d, 0s);
}
[data-anim="fade-up"] { transform: translateY(40px); }
[data-anim="fade-left"] { transform: translateX(60px); }
[data-anim="fade-right"] { transform: translateX(-60px); }
[data-anim="slide-right"] { transform: translateX(-80px); }
[data-anim="slide-left"] { transform: translateX(80px); }
[data-anim="pop"] { transform: scale(.6); transition-timing-function: var(--ease-out), var(--ease-back); }
[data-anim="rise"] { transform: translateY(60px) rotate(-3deg); }
[data-anim="stamp"] { transform: scale(1.8) rotate(-4deg); transition-duration: .5s; transition-timing-function: ease-out, var(--ease-back); }
[data-anim="burst-in"] { transform: scale(.2) rotate(-12deg); transition-duration: .7s; transition-timing-function: ease-out, var(--ease-back); }
[data-anim].is-in { opacity: 1; transform: none; }

/* ---------- Progress & header ---------- */
.progress { position: fixed; inset: 0 0 auto; height: 8px; background: var(--red-deep); z-index: 60; }
.progress__bar { display: block; height: 100%; width: 100%; background: var(--blue); transform-origin: left; transform: scaleX(var(--p, 0)); }

.header { position: sticky; top: 8px; z-index: 50; transition: background .3s, box-shadow .3s; }
.header.is-scrolled { background: rgb(255 246 225 / .92); backdrop-filter: blur(6px); box-shadow: 0 2px 12px rgb(0 0 0 / .08); }
.header__inner { max-width: 1000px; margin: 0 auto; padding: 20px 30px; display: flex; align-items: center; gap: 24px; transition: padding .3s; }
.header.is-scrolled .header__inner { padding-block: 8px; }
.header__logo img { width: 100px; }
.header__nav { display: flex; gap: 20px; margin-left: auto; font-size: 12px; color: var(--red); }
.header__nav a { position: relative; }
.header__nav a::after { content: ""; position: absolute; left: 0; right: 0; bottom: -2px; height: 2px; background: currentColor; transform: scaleX(0); transition: transform .3s var(--ease-out); transform-origin: right; }
.header__nav a:hover::after { transform: scaleX(1); transform-origin: left; }
.header__cta { background: var(--blue); color: #fff; font-size: 12px; padding: 8px 24px; border-radius: 99px; transition: transform .2s, box-shadow .2s; }
.header__cta:hover { transform: translateY(-2px); box-shadow: 0 6px 14px rgb(41 169 224 / .4); }
.header__menu { display: none; }

/* ---------- Hero ---------- */
.hero { overflow: hidden; }
.hero__inner { position: relative; max-width: var(--w); margin: 0 auto; height: 520px; }
.hero__art { position: absolute; left: 0; top: 0; z-index: 3; width: 500px; pointer-events: none; }
.hero__runner { width: 500px; -webkit-mask-image: linear-gradient(to right, transparent, #000 90px); mask-image: linear-gradient(to right, transparent, #000 90px); animation: run-in 1.1s var(--ease-out) both .2s, bob 1.6s ease-in-out infinite 1.3s; }
.hero__speed { position: absolute; inset: 0; pointer-events: none; }
.hero__speed::before, .hero__speed::after {
  content: ""; position: absolute; height: 4px; border-radius: 2px; background: var(--ink); opacity: 0;
  animation: speed 1.6s linear infinite 1.3s;
}
.hero__speed::before { width: 80px; left: 180px; top: 260px; }
.hero__speed::after { width: 50px; left: 150px; top: 300px; animation-delay: 1.9s; }
@keyframes run-in { from { transform: translateX(-120px) scale(.9); opacity: 0; } to { transform: none; opacity: 1; } }
@keyframes bob { 50% { transform: translateY(-10px) rotate(-1deg); } }
@keyframes speed { 0% { opacity: 0; transform: translateX(40px); } 20% { opacity: .8; } 60%, 100% { opacity: 0; transform: translateX(-60px); } }

.hero__title { position: absolute; left: 160px; top: 10px; display: grid; justify-items: end; gap: 8px; font-size: 48px; font-weight: 900; line-height: 1.25; }
.hero__title-box { display: inline-block; padding: 2px 10px; background: #fff; border: 3px solid var(--ink); box-shadow: 6px 6px 0 var(--blue); }
.hero__lead { position: absolute; left: 510px; top: 10px; display: grid; gap: 2px; line-height: 1.4; }
.hero__lead-sm { font-size: 22px; font-weight: 700; }
.hero__lead-lg { font-size: 36px; font-weight: 900; color: var(--blue); }
.hero__lead-lg small { font-size: 22px; color: var(--ink); font-weight: 700; }
.hero__lead-md { font-size: 32px; font-weight: 900; color: var(--blue); }
.hero__card { position: absolute; left: 438px; top: 180px; width: 450px; height: 200px; background: #fff; border: 3px solid var(--ink); border-radius: 14px; }
.hero__card-label { position: absolute; left: 50%; top: -18px; translate: -50% 0; background: var(--red); color: #fff; border: 3px solid var(--ink); border-radius: 99px; padding: 0 16px; font-size: 20px; font-weight: 700; white-space: nowrap; }
.hero__circles { display: flex; align-items: center; justify-content: center; gap: 8px; height: 100%; padding-top: 10px; }
.circle {
  display: grid; place-content: center; text-align: center; width: 146px; aspect-ratio: 1; border-radius: 50%;
  background: var(--red); color: #fff; font-size: 20px; line-height: 1.3;
  animation: pulse 2.4s ease-in-out infinite calc(var(--i) * 1.2s + 1.5s);
}
.circle b { font-weight: 500; }
.hero__plus { position: relative; flex-shrink: 0; width: 30px; height: 30px; animation: spin 4s var(--ease-back) infinite 1.5s; }
.hero__plus::before, .hero__plus::after { content: ""; position: absolute; inset: 0; margin: auto; background: var(--ink); }
.hero__plus::before { width: 100%; height: 5px; }
.hero__plus::after { width: 5px; height: 100%; }
@keyframes pulse { 0%, 100% { transform: scale(1); } 15% { transform: scale(1.08); } 30% { transform: scale(1); } }
@keyframes spin { 0%, 70% { rotate: 0deg; } 85%, 100% { rotate: 180deg; } }
.hero__solve { position: absolute; left: 438px; top: 385px; width: 450px; text-align: center; font-size: 20px; font-weight: 700; }
.hero__eq { display: block; width: 20px; height: 22px; margin: 3px auto 14px; background: linear-gradient(90deg, var(--ink) 0 5.5px, transparent 5.5px 14.5px, var(--ink) 14.5px); }

.chevrons { display: grid; justify-items: center; padding: 26px 0 0; }
.chevrons i { width: 0; height: 0; border: 20px solid transparent; border-top: 15px solid var(--red); border-bottom-width: 0; margin-bottom: 8px; animation: chev 1.5s infinite; }
.chevrons i:nth-child(2) { animation-delay: .2s; }
.chevrons i:nth-child(3) { animation-delay: .4s; }
@keyframes chev { 0%, 100% { opacity: .25; } 40% { opacity: 1; } }

/* ---------- Burst bubbles (generated SVG) ---------- */
.burst { position: relative; display: grid; place-items: center; }
.burst > svg { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; z-index: 0; }
.burst > :not(svg) { position: relative; z-index: 1; }

/* ---------- Alert (2026) ---------- */
.alert { max-width: var(--w); margin: 0 auto; padding: 0 20px 50px; }
.alert__stage { display: flex; justify-content: center; align-items: end; gap: 0; }
.alert__bubble { width: 340px; height: 260px; margin: 0 -80px 30px 0; }
.alert__bubble p { line-height: 1.3; font-weight: 500; padding-left: 20px; }
.alert__small { font-size: 18px; }
.alert__mid { font-size: 26px; }
.alert__rate { font-family: "Jost", sans-serif; font-size: 72px; font-weight: 500; color: var(--red); letter-spacing: -.02em; }
.alert__rate small { font-size: .6em; }
.alert__up { font-size: 18px; margin-left: 6px; }
.alert__bubble.is-in { animation: shake .5s ease-in-out .9s 2; }
@keyframes shake { 25% { rotate: -3deg; } 75% { rotate: 3deg; } }
.alert__person { position: relative; width: 500px; }
.alert__person img { width: 340px; margin-top: -24px; }
.alert__eh { position: absolute; left: 330px; top: 70px; font-size: 72px; font-weight: 900; line-height: 1; white-space: nowrap; transform-origin: left bottom; }
.alert__person.is-in .alert__eh { animation: eh .6s var(--ease-back) 1s both, jitter 3s infinite 2s; }
@keyframes eh { from { transform: scale(0) rotate(-20deg); } to { transform: none; } }
@keyframes jitter { 0%, 90%, 100% { transform: none; } 92% { transform: translate(-3px, 2px) rotate(-3deg); } 96% { transform: translate(3px, -2px) rotate(3deg); } }

.alert__text { display: grid; justify-items: center; gap: 10px; margin-top: 4px; text-align: center; font-size: 20px; }
.boxline { display: inline-block; border: 3px solid var(--ink); background: #fff; padding: 2px 12px; font-size: 26px; font-weight: 700; }
.alert__note { font-size: 18px; font-weight: 700; }

.qcard { max-width: 830px; margin: 24px auto 0; background: #fff; padding: 34px 56px 30px; }
.qcard__head { background: var(--blue); color: #fff; text-align: center; font-family: "Jost", sans-serif; font-weight: 500; font-size: 28px; line-height: 1.35; overflow: hidden; }
.qcard__head span { display: inline-block; }
.qcard.is-in .qcard__head { animation: wipe .8s var(--ease-out) .2s both; }
.qcard.is-in .qcard__head span { animation: fade-in .6s ease .7s both; }
@keyframes wipe { from { clip-path: inset(0 100% 0 0); } to { clip-path: inset(0); } }
@keyframes fade-in { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }
.qcard__body { display: grid; grid-template-columns: 245px 1fr; gap: 40px; align-items: center; margin-top: 20px; }
.qcard__ttl { font-size: 26px; line-height: 1.7; }
.qcard__ttl em { color: var(--blue); }
.qcard__txt { font-size: 14px; margin-top: 10px; line-height: 1.9; }

/* ---------- Worry ---------- */
.worry { max-width: var(--w); margin: 0 auto; padding: 0 20px 120px; text-align: center; }
.worry__ttl { font-size: 36px; font-weight: 900; color: var(--red); line-height: 1.4; }
.worry__ttl .dots i { font-style: normal; display: inline-block; animation: dot 1.4s infinite; }
.worry__ttl .dots i:nth-child(2) { animation-delay: .2s; }
.worry__ttl .dots i:nth-child(3) { animation-delay: .4s; }
@keyframes dot { 0%, 60%, 100% { transform: none; } 30% { transform: translateY(-10px); } }
.worry__sub { font-size: 20px; font-weight: 700; margin-top: 10px; }
.worry__stage { display: flex; justify-content: center; align-items: center; gap: 0; margin-top: 30px; }
.worry__bubble { position: relative; width: 320px; height: 270px; text-align: left; }
.worry__bubble svg { position: absolute; inset: 0; width: 100%; height: 100%; }
.worry__bubble polygon { fill: #fff; stroke: var(--ink); stroke-width: 3; }
.worry__bubble ul { position: relative; list-style: none; padding: 40px 0 0 58px; display: grid; gap: 6px; font-size: 17px; }
.worry__bubble li { opacity: 0; transform: translateX(-12px); transition: .5s var(--ease-out); }
.worry__bubble li::before { content: "・"; }
.worry__bubble.is-in li { opacity: 1; transform: none; }
.worry__bubble.is-in li:nth-child(1) { transition-delay: .5s; }
.worry__bubble.is-in li:nth-child(2) { transition-delay: .7s; }
.worry__bubble.is-in li:nth-child(3) { transition-delay: .9s; }
.worry__bubble.is-in li:nth-child(4) { transition-delay: 1.1s; }
.worry__bubble.is-in li:nth-child(5) { transition-delay: 1.3s; }
.worry__man { width: 322px; }
.worry__man.is-in { animation: tremble 4s ease-in-out infinite 1.5s; }
@keyframes tremble { 0%, 80%, 100% { translate: 0; } 83%, 89%, 95% { translate: -3px; } 86%, 92% { translate: 3px; } }

/* ---------- Feature ---------- */
/* overflow: clip 非対応の古いブラウザ（iOS 15 以前）では hidden になり、はみ出した背景で横スクロールが出ない */
.feature { padding-bottom: 60px; overflow: hidden; overflow: clip visible; }
.okbubble { position: relative; z-index: 2; width: 493px; margin: 0 auto -38px; }
.okbubble.is-in { animation: float 4s ease-in-out infinite 1s; }
@keyframes float { 50% { translate: 0 -8px; } }
.feature__oval { position: relative; margin-top: -312px; padding: 290px 0 70px; }
.feature__oval::before { content: ""; position: absolute; left: 50%; top: 150px; bottom: 0; width: max(1500px, 160vw); translate: -50% 0; background: #fff; border-radius: 50%; z-index: -1; }
.feature__wrap { position: relative; max-width: 642px; margin: 0 auto; padding-left: 70px; display: flex; align-items: end; }
.feature__lines { display: grid; justify-items: start; gap: 9px; }
.fline { border: 3px solid var(--ink); background: #fff; padding: 5px 10px; font-size: 18px; font-weight: 700; line-height: 1.6; }
.fline em { font-size: 32px; font-weight: 900; }
.fline--sm { font-size: 17px; font-weight: 500; }
.r { color: var(--red); }
.b { color: var(--blue); }
.feature__note { font-size: 17px; margin-top: 2px; }
.stairs { width: 200px; flex-shrink: 0; margin: 0 0 36px -58px; }
.stairs.is-in img { animation: climb 3s ease-in-out infinite 1s; }
@keyframes climb { 0%, 100% { transform: none; } 50% { transform: translate(4px, -6px); } }

.record { max-width: 760px; margin: 56px auto 0; padding: 0 20px; display: grid; grid-template-columns: 180px 1fr; gap: 10px; align-items: start; }
.record__img { width: 180px; }
.record__l1, .record__l2 { font-size: 28px; font-weight: 700; line-height: 1.3; white-space: nowrap; }
.record__l1 { text-align: center; position: relative; padding: 0 40px; }
.record__l1::before, .record__l1::after { content: ""; position: absolute; top: 5px; width: 4px; height: 56px; background: #aaa; border-radius: 2px; }
.record__l1::before { left: 10px; rotate: -30deg; }
.record__l1::after { right: 10px; rotate: 30deg; }
.record__l1 b, .record__l2 b { font-family: "Jost", sans-serif; font-weight: 600; color: var(--red); font-size: 76px; margin: 0 6px; letter-spacing: -.03em; vertical-align: -6px; line-height: 1; }
.record__cap { font-size: 13px; text-align: right; }
.record__txt { font-size: 18px; margin: 10px 0 0 80px; line-height: 1.8; }

.talkbox { position: relative; width: 500px; max-width: calc(100% - 40px); margin: 76px auto 0; background: #fff; border: 3px solid var(--ink); border-radius: 4px; padding: 26px; text-align: center; font-size: 30px; font-weight: 900; line-height: 1.8; }
.talkbox::before, .talkbox::after { content: ""; position: absolute; left: 50%; translate: -50% 0; clip-path: polygon(50% 0, 100% 100%, 0 100%); }
.talkbox::before { top: -60px; width: 60px; height: 60px; background: var(--ink); }
.talkbox::after { top: -54px; width: 52px; height: 57px; background: #fff; }
.talkbox em { color: var(--red); }

/* Buttons */
.btn {
  position: relative; display: grid; justify-items: center; width: 520px; max-width: calc(100% - 40px); margin: 70px auto 0; padding: 22px 70px 24px 40px;
  background: var(--red); color: #fff; border-radius: 99px; box-shadow: 4px 7px 0 #8c8c8c; overflow: hidden; line-height: 1.3;
  transition: transform .2s, box-shadow .2s;
}
.btn small { font-size: 13px; font-weight: 700; }
.btn span { font-size: 32px; font-weight: 900; }
.btn::after { content: ""; position: absolute; right: 44px; top: 50%; width: 18px; height: 18px; border: solid #fff; border-width: 4px 4px 0 0; transform: translateY(-50%) rotate(45deg); transition: right .2s; }
.btn::before { content: ""; position: absolute; inset: 0; background: linear-gradient(110deg, transparent 30%, rgb(255 255 255 / .45) 50%, transparent 70%); transform: translateX(-100%); animation: shine 3s infinite 1s; }
.btn:hover { transform: translate(2px, 4px); box-shadow: 2px 3px 0 #8c8c8c; }
.btn:hover::after { right: 36px; }
.btn.is-in { animation: breathe 2.4s ease-in-out infinite 1s; }
.btn--lg { width: 570px; }
@keyframes shine { 0% { transform: translateX(-100%); } 40%, 100% { transform: translateX(100%); } }
@keyframes breathe { 50% { scale: 1.04; } }

.qcard--list { margin-top: 60px; padding: 32px 100px 40px; }
.qcard__lead { text-align: center; font-size: 26px; margin-top: 20px; }
.qcard__cols { display: flex; align-items: end; justify-content: space-between; margin-top: 10px; }
.checklist { list-style: none; padding: 0; display: grid; gap: 6px; font-size: 18px; }
.checklist li { position: relative; padding-left: 52px; line-height: 1.8; }
.checklist li::before { content: ""; position: absolute; left: 0; top: 7px; width: 20px; height: 20px; border: 2px solid var(--ink); }
.checklist li::after {
  content: ""; position: absolute; left: 3px; top: 0; width: 13px; height: 26px; border: solid var(--red); border-width: 0 5px 5px 0;
  transform: rotate(45deg) scale(0); transform-origin: 60% 80%; transition: transform .4s var(--ease-back);
}
.checklist li.is-checked::after { transform: rotate(45deg) scale(1); }
.qcard__pointer { width: 193px; }
.qcard__pointer.is-in { animation: wave 2.5s ease-in-out infinite 1s; transform-origin: bottom center; }
@keyframes wave { 50% { rotate: 2deg; } }

/* ---------- Plan ---------- */
.plan {
  padding: 0 20px 46px; margin-top: 225px;
  background: repeating-linear-gradient(-45deg, var(--pink) 0 12px, #fff 12px 26px);
}
.okbubble--plan { top: -215px; margin-bottom: -257px; }
.plan__ttl { position: relative; z-index: 3; width: fit-content; margin: 0 auto; background: #fff; border: 3px solid var(--red); padding: 4px 36px; font-size: 32px; font-weight: 900; }
.plan__list { list-style: none; padding: 0; max-width: 800px; margin: 30px auto 0; display: grid; gap: 44px; }
.pcard { position: relative; display: grid; grid-template-columns: 140px 1fr; gap: 10px; background: #fff; padding: 24px 40px 24px 36px; }
.pcard + .pcard::before {
  content: ""; position: absolute; left: 50%; top: -40px; translate: -50% 0; width: 28px; height: 36px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 28 36' fill='%23e8322b'%3E%3Cpath d='M0 0h28L14 10zM0 13h28L14 23zM0 26h28L14 36z'/%3E%3C/svg%3E") center / contain no-repeat;
  animation: drop 1.5s infinite;
}
@keyframes drop { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(5px); } }
.pcard__num { font-family: "Jost", sans-serif; font-weight: 600; color: var(--red); font-size: 96px; line-height: 1; letter-spacing: -.04em; }
.pcard.is-in .pcard__num { animation: num-pop .7s var(--ease-back) .3s both; }
@keyframes num-pop { from { transform: scale(.3) rotate(-20deg); opacity: 0; } to { transform: none; opacity: 1; } }
.pcard h3 { font-size: 24px; font-weight: 900; line-height: 1.4; }
.pcard__sub { font-size: 19px; font-weight: 700; }
.pcard p:last-child { font-size: 14px; line-height: 2; margin-top: 10px; }
.plan .btn { margin-top: 32px; }

/* ---------- Cases ---------- */
.cases { padding: 60px 20px 40px; }
.cases__head { position: relative; margin: 0 -20px; background: #fff; text-align: center; font-size: 34px; font-weight: 900; padding: 12px 0; display: flex; justify-content: center; align-items: center; gap: 6px; }
.cases__head::after { content: ""; position: absolute; left: 50%; bottom: -16px; translate: -50% 0; border: 16px solid transparent; border-top-color: #fff; border-bottom: 0; }
.bulb { width: 36px; animation: glow 2s ease-in-out infinite var(--d, 0s); }
@keyframes glow { 50% { filter: drop-shadow(0 0 10px #ffd84a) brightness(1.15); transform: translateY(-3px); } }
.cases__intro { max-width: 600px; margin: 30px auto 0; display: flex; align-items: center; gap: 30px; }
.cases__intro img { width: 120px; }
.cases__intro-l1 { font-size: 30px; font-weight: 900; }
.cases__intro-l2 { font-size: 34px; font-weight: 900; }
.cases__intro-l2 em { color: var(--red); font-size: 50px; }
.cases__intro-l3 { position: relative; font-size: 19px; margin-top: 16px; padding: 12px 10px; }
.cases__intro-l3::before, .cases__intro-l3::after { content: ""; position: absolute; left: 0; width: 64px; height: 4px; background: var(--blue); }
.cases__intro-l3::before { top: 0; rotate: -10deg; }
.cases__intro-l3::after { bottom: 0; rotate: 16deg; }
.cases__tags { max-width: 780px; margin: 40px auto 0; display: flex; flex-wrap: wrap; justify-content: center; gap: 4px 0; font-size: 14px; font-weight: 700; color: #777; }
.cases__tags a { padding: 0 8px; transition: color .2s; }
.cases__tags a + a { border-left: 1px solid #999; }
.cases__tags a:hover { color: var(--blue); }

.case { max-width: 860px; margin: 60px auto 0; text-align: center; }
.case__badge { display: grid; justify-items: center; }
.case__badge img { width: 134px; margin-bottom: -16px; position: relative; z-index: 1; }
.case.is-in .case__badge img, .case__badge.is-in img { animation: search 1.2s ease-in-out .3s 2; }
@keyframes search { 25% { transform: translate(-6px, -3px) rotate(-6deg); } 75% { transform: translate(6px, 2px) rotate(6deg); } }
.case__badge span { display: inline-block; border: 4px solid var(--ink); background: #fff; font-size: 28px; font-weight: 700; padding: 0 60px; line-height: 1.6; }
.case__ttl { display: inline-block; margin-top: 8px; font-size: 26px; font-weight: 900; line-height: 1.4; background: linear-gradient(var(--blue) 0 0) left bottom / 0 5px no-repeat; transition: background-size .9s var(--ease-out) .4s; padding: 0 4px; }
.case.is-in .case__ttl { background-size: 100% 5px; }
.case__txt { font-size: 14px; line-height: 2.1; margin-top: 12px; }
.case__result { margin-top: 12px; font-size: 22px; font-weight: 900; color: var(--red); line-height: 1.6; }
.case__result::before { content: "➡ "; }

.jobs { display: grid; grid-template-columns: repeat(3, 1fr); gap: 38px; margin-top: 22px; }
.job { background: var(--blue); padding: 0 9px 9px; text-align: left; transition: transform .3s var(--ease-out), box-shadow .3s; }
.job:hover { transform: translateY(-8px) !important; box-shadow: 0 16px 24px rgb(41 169 224 / .35); }
.job h3 { color: #fff; font-size: 20px; text-align: center; padding: 20px 0; }
.job__body { position: relative; background: #fff; height: 200px; padding: 22px 18px; font-size: 14px; line-height: 2; }
.job__body img { position: absolute; right: 4px; bottom: 0; transition: transform .4s var(--ease-back); }
.job:hover .job__body img { transform: translateY(-6px) rotate(-4deg); }

.strength { position: relative; max-width: 700px; margin: 70px auto 0; background: #fff; border: 3px solid var(--ink); border-radius: 4px; text-align: center; padding: 28px 20px; font-size: 26px; font-weight: 900; line-height: 1.55; }
.strength::before, .strength::after { content: ""; position: absolute; left: 50%; translate: -50% 0; clip-path: polygon(50% 0, 100% 100%, 0 100%); }
.strength::before { top: -36px; width: 80px; height: 36px; background: var(--ink); }
.strength::after { top: -31px; width: 70px; height: 34px; background: #fff; }
.strength__big { margin-top: 10px; font-size: 32px; }
.strength__big em { font-size: 1.3em; }
.strength__big em:nth-of-type(n+3) { font-size: 1.05em; }
.strength.is-in em { animation: marker 1s var(--ease-out) both; }
.strength.is-in em:nth-of-type(1) { animation-delay: .6s; }
.strength.is-in em:nth-of-type(2) { animation-delay: .9s; }
.strength.is-in em:nth-of-type(3) { animation-delay: 1.2s; }
.strength.is-in em:nth-of-type(4) { animation-delay: 1.4s; }
@keyframes marker { from { opacity: 0; transform: translateY(12px); filter: blur(4px); } to { opacity: 1; transform: none; filter: none; } }

/* ---------- Consult ---------- */
.consult { max-width: 600px; margin: 0 auto; padding: 30px 20px 50px; }
.consult__talk { display: flex; justify-content: center; align-items: end; gap: 20px; font-size: 14px; text-align: center; line-height: 2; }
.consult__talk img { width: 120px; }
.consult__talk p { margin-bottom: 30px; }
.consult__btn {
  position: relative; display: grid; justify-items: center; gap: 8px; background: var(--red); color: #fff; text-align: center;
  border-radius: 20px; padding: 26px 20px 36px; box-shadow: 12px 12px 0 #555; transition: transform .2s, box-shadow .2s; overflow: hidden;
}
.consult__btn small { font-size: 16px; font-weight: 500; }
.consult__btn span { font-size: 34px; font-weight: 900; line-height: 1.6; }
.consult__btn::before { content: ""; position: absolute; inset: 0; background: linear-gradient(110deg, transparent 30%, rgb(255 255 255 / .35) 50%, transparent 70%); transform: translateX(-100%); animation: shine 3.5s infinite 1.5s; }
.consult__btn:hover { transform: translate(6px, 6px); box-shadow: 6px 6px 0 #555; }


/* ---------- Floating CTA ---------- */
.float-cta {
  position: fixed; right: 20px; bottom: 20px; z-index: 40; width: 110px; aspect-ratio: 1; border-radius: 50%;
  background: var(--blue); color: #fffa3b; display: grid; place-items: center; text-align: center; font-size: 15px; font-weight: 900; line-height: 1.25;
  box-shadow: 0 6px 16px rgb(0 0 0 / .2);
  transform: translateY(160%) scale(.6); transition: transform .6s var(--ease-back);
}
.float-cta.is-shown, .is-menu-open .float-cta { transform: none; animation: bob-cta 2.2s ease-in-out infinite .6s; }
/* PDF の比率: ロケットの幅 ≒ 円の直径、下端が円の上部 1/4 に重なる（rocket.png の余白込みで算出） */
.float-cta img { position: absolute; width: 101.4%; max-width: none; left: -0.5%; top: -81.4%; animation: rocket 1.2s ease-in-out infinite; }
.float-cta span { margin-top: 14px; }
.float-cta i { display: block; font-family: "Jost", sans-serif; font-style: italic; font-size: 13px; color: #fff; }
.float-cta:hover { scale: 1.08; }
@keyframes bob-cta { 50% { transform: translateY(-8px); } }
@keyframes rocket { 50% { transform: translate(2px, -4px) rotate(3deg); } }

/* ---------- Responsive ---------- */
/* PC では 960px のデザインを画面幅の 80% まで拡大する。--zoom は main.js が設定 */
@media (min-width: 961px) {
  body { zoom: var(--zoom, 1); }
  .float-cta { zoom: calc(1 / var(--zoom, 1)); }
}

@media (max-width: 1000px) {
  .header__cta { margin-left: auto; }
  /* ハンバーガーメニュー（元ページ https://wands-co.jp/koyouritsu-lp/ のスマホ表示を再現） */
  .header__nav {
    position: fixed; inset: 0; z-index: 1; height: 100dvh; margin: 0;
    display: none; flex-direction: column; align-items: center; justify-content: center; gap: 2.4em;
    background: var(--cream); font-size: clamp(20px, 5vw, 28px); font-weight: 700;
    opacity: 0; transition: opacity .5s, display .5s allow-discrete;
  }
  .header__nav.is-open { display: flex; opacity: 1; }
  @starting-style { .header__nav.is-open { opacity: 0; } }
  .header__nav a::after { content: none; }
  .header__menu {
    position: relative; z-index: 2; display: flex; flex-direction: column; justify-content: space-between;
    width: 30px; height: 24px; padding: 0; border: 0; background: none; cursor: pointer;
  }
  .header__menu span { height: 3px; border-radius: 2px; background: var(--red); transition: translate .3s, rotate .3s, opacity .3s; }
  .header__menu[aria-expanded="true"] span:nth-child(1) { translate: 0 10.5px; rotate: 45deg; }
  .header__menu[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
  .header__menu[aria-expanded="true"] span:nth-child(3) { translate: 0 -10.5px; rotate: -45deg; }
  /* backdrop-filter があると中の position: fixed がヘッダーの枠に閉じ込められるため、開いている間は外す */
  .header.is-menu-open { backdrop-filter: none; }
  /* スクロール停止は html に付ける（body に overflow: hidden を付けると sticky ヘッダーが外れる） */
  html.is-menu-open { overflow: hidden; }
  /* メニューを開いている間は、追従 CTA をスクロール位置に関係なくメニューの上に出す */
  .is-menu-open .float-cta { z-index: 51; }
}

@media (max-width: 960px) {
  .hero__inner { height: auto; display: grid; justify-items: center; padding: 10px 16px 0; }
  .hero__art, .hero__title, .hero__lead, .hero__card, .hero__solve { position: static; }
  .hero__title { order: 1; justify-items: center; font-size: clamp(34px, 9vw, 54px); }
  .hero__lead { order: 2; margin-top: 18px; text-align: center; }
  .hero__art { order: 3; width: min(420px, 100%); margin-top: -10px; }
  .hero__runner { width: 100%; }
  .hero__card { order: 4; position: relative; inset: auto; width: min(450px, 100%); height: auto; padding: 30px 0 20px; margin-top: 20px; }
  .hero__solve { order: 5; width: auto; margin-top: 6px; }
}

@media (max-width: 768px) {
  html { scroll-padding-top: 70px; }
  .header__inner { padding: 12px 16px; }
  .header__logo img { width: 80px; }
  .hero__lead-sm, .hero__lead-lg small { font-size: 18px; }
  .hero__lead-lg { font-size: 28px; }
  .hero__lead-md { font-size: 24px; }
  .circle { width: 120px; font-size: 16px; }
  .hero__solve { font-size: 17px; }

  .alert { padding-inline: 16px; }
  .alert__stage { flex-direction: column; align-items: center; }
  .alert__bubble { width: 300px; height: 230px; margin: 0; }
  .alert__rate { font-size: 60px; }
  .alert__person { width: 340px; margin-top: -10px; }
  .alert__person img { width: 230px; }
  .alert__eh { left: 205px; top: 40px; font-size: 44px; }
  .alert__text { font-size: 16px; }
  .boxline { font-size: 19px; }
  .alert__note { font-size: 15px; }

  .qcard { padding: 24px 18px; }
  .qcard__head { font-size: 22px; }
  .qcard__body { grid-template-columns: 1fr; gap: 10px; }
  .qcard__img { width: 160px; margin: 0 auto; }
  .qcard__ttl { font-size: 20px; text-align: center; }

  .worry { padding-inline: 16px; }
  .worry__ttl { font-size: 30px; }
  .worry__sub { font-size: 15px; }
  .worry__stage { flex-direction: column; }
  .worry__bubble { width: 290px; height: 250px; }
  .worry__bubble ul { font-size: 15px; padding-left: 46px; }
  .worry__man { width: 240px; margin-top: -20px; }

  .okbubble { width: min(380px, 90%); }
  .feature__oval { margin-top: -220px; padding-top: 220px; }
  .feature__oval::before { top: 110px; width: 260vw; }
  .feature__wrap { flex-direction: column; align-items: center; padding: 0 16px; }
  .fline { font-size: 14px; }
  .fline em { font-size: 21px; }
  .feature__note { font-size: 14px; }
  .stairs { width: 160px; margin: 10px 0 0; }

  .record { grid-template-columns: 1fr; justify-items: center; text-align: center; }
  .record__img { width: 120px; order: 2; }
  .record__l1, .record__l2 { font-size: 18px; white-space: normal; }
  .record__l1 b, .record__l2 b { font-size: 52px; }
  .record__l1::before, .record__l1::after { height: 40px; }
  .record__cap { text-align: center; }
  .record__txt { margin: 10px 0 0; font-size: 15px; }
  .talkbox { font-size: 21px; }

  .btn { width: calc(100vw - 32px); max-width: 100%; padding: 12px 44px 14px 18px; }
  .btn small, .btn span { text-wrap: balance; }
  .btn small { font-size: 11px; }
  .btn span { font-size: min(21px, 5vw); }
  .btn::after { right: 24px; width: 14px; height: 14px; }

  .qcard--list { padding: 24px 16px 0; }
  .qcard__lead { font-size: 19px; }
  .qcard__cols { flex-direction: column; align-items: center; }
  .checklist { font-size: 15px; }
  .checklist li { padding-left: 38px; }
  .checklist li br { display: none; }
  .qcard__pointer { width: 150px; margin-top: 10px; }

  .plan { padding-inline: 16px; margin-top: 230px; }
  .okbubble--plan { top: -200px; margin-bottom: -200px; }
  .plan__ttl { font-size: 20px; padding: 4px 16px; }
  .pcard { grid-template-columns: 1fr; padding: 20px; }
  .pcard__num { font-size: 60px; }
  .pcard h3 { font-size: 20px; }
  .pcard__sub { font-size: 15px; }

  .cases { padding-inline: 16px; }
  .cases__head { margin-inline: -16px; font-size: 26px; }
  .cases__intro { gap: 12px; }
  .cases__intro img { width: 90px; }
  .cases__intro-l1 { font-size: 18px; }
  .cases__intro-l2 { font-size: 20px; }
  .cases__intro-l2 { font-size: 17px; }
  .cases__intro-l2 em { font-size: 24px; }
  .cases__intro-l3 { font-size: 14px; }
  .cases__tags { font-size: 12px; }
  .case { margin-top: 60px; }
  .case__badge span { font-size: 22px; padding: 0 30px; }
  .case__ttl { font-size: 18px; }
  .case__txt { font-size: 13px; text-align: left; }
  .case__txt br, .case__result br { display: none; }
  .case__result { font-size: 16px; text-align: left; }
  .jobs { grid-template-columns: 1fr; gap: 20px; }
  .job h3 { padding: 12px 0; font-size: 18px; }
  .job__body { height: 150px; padding-right: 120px; }
  .strength { font-size: 17px; padding: 30px 14px; }
  .strength__big { font-size: 16px; }
  .strength__big em { font-size: 1.2em; }

  .consult__talk { font-size: 13px; }
  .consult__talk img { width: 90px; }
  .consult__btn span { font-size: 22px; }
  .consult__btn small { font-size: 13px; }

  .float-cta { width: 86px; font-size: 12px; right: 12px; bottom: 12px; }
}
