/* =========================================================
   みつけてWeb 営業サイト（案10 CHAT）
   メッセージ画面をモチーフに、会話のようにページが進む。
   ブレイクポイント：〜639 スマホ / 640〜1023 タブレット / 1024〜 PC
   ========================================================= */

:root {
  --bg: #eef1f6;
  --bg-2: #e6eaf2;
  --surface: #ffffff;
  --tx: #101828;
  --sub: #586174;
  --mute: #8a93a6;
  --b: #2b5cf5;
  --b-dark: #1d47cf;
  --b-soft: #e8eeff;
  --y: #ffe08a;
  --y-dark: #8a6a00;
  --line: #dde2ec;
  --green: #06a14a;
  --ok: #12b76a;
  --font: "Manrope", "Noto Sans JP", "Hiragino Sans", "Yu Gothic", "Meiryo", sans-serif;
  --ease: cubic-bezier(.2, .7, .2, 1);
  --ease-io: cubic-bezier(.76, 0, .24, 1);
  --pop: cubic-bezier(.34, 1.56, .64, 1);
  --r: 22px;
  --shadow: 0 1px 2px rgba(16, 24, 40, .04), 0 12px 32px rgba(16, 24, 40, .07);
  --shadow-lg: 0 30px 70px rgba(16, 24, 40, .14);
  --header-h: 68px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); -webkit-text-size-adjust: 100%; overflow-x: clip; }
body { margin: 0; background: var(--bg); color: var(--tx); font-family: var(--font); font-size: 16.5px; line-height: 1.85; letter-spacing: .02em; overflow-x: clip; padding-bottom: 84px; }
h1, h2, h3, h4, p, figure { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
a { color: inherit; }
img, svg { display: block; }
button { font: inherit; color: inherit; }
:focus-visible { outline: 3px solid var(--b); outline-offset: 3px; border-radius: 8px; }
.wrap { width: 100%; max-width: 1180px; margin: 0 auto; padding: 0 20px; }
.nw { display: inline-block; white-space: nowrap; }
/* 日本語を文節で改行し、1〜2文字だけの行ができにくいようにする */
h1, h2, h3, h4, p, li, summary, dt, dd, .bubble, .op-b, .chips li, .tags span { word-break: auto-phrase; overflow-wrap: anywhere; }
h1, h2, h3, .sec-title, .shindan-lead, .answer { text-wrap: balance; }
p, li, summary, .bubble { text-wrap: pretty; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* =========================================================
   スクロールで表示
   ========================================================= */
.js [data-rv] { opacity: 0; transform: translateY(28px); transition: opacity .8s var(--ease), transform .9s var(--ease); transition-delay: var(--d, 0s); }
.js [data-rv="pop"] { transform: translateY(16px) scale(.92); transition: opacity .5s var(--ease), transform .7s var(--pop); transition-delay: var(--d, 0s); }
.js [data-rv="left"] { transform: translateX(-28px); }
.js [data-rv="right"] { transform: translateX(28px); }
.js [data-rv].is-in { opacity: 1; transform: none; }

/* =========================================================
   ボタン
   ========================================================= */
.btn {
  position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 56px; padding: 14px 26px; border: 0; border-radius: 999px; overflow: hidden; isolation: isolate;
  font-weight: 700; font-size: 16px; letter-spacing: .03em; text-decoration: none; cursor: pointer; white-space: nowrap;
  transition: transform .35s var(--pop), box-shadow .35s var(--ease), background-color .3s, color .3s;
}
.btn svg { width: 18px; height: 18px; flex-shrink: 0; transition: transform .35s var(--ease); }
.btn:hover svg { transform: translateX(4px); }
.btn::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(110deg, transparent 30%, rgba(255, 255, 255, .35) 50%, transparent 70%); transform: translateX(-120%); transition: transform .8s var(--ease); }
.btn:hover::after { transform: translateX(120%); }
.btn-primary { background: var(--b); color: #fff; box-shadow: 0 12px 28px rgba(43, 92, 245, .32); }
.btn-primary:hover { background: var(--b-dark); box-shadow: 0 16px 34px rgba(43, 92, 245, .4); }
.btn-ghost { background: var(--surface); color: var(--tx); box-shadow: inset 0 0 0 1px var(--line); }
.btn-ghost:hover { box-shadow: inset 0 0 0 1px var(--tx); }
.btn-white { background: #fff; color: var(--b-dark); box-shadow: 0 12px 28px rgba(10, 20, 60, .25); }
.btn-line { background: var(--green); color: #fff; box-shadow: 0 12px 28px rgba(6, 161, 74, .28); }
.btn-line:hover { background: #058a3f; }
.btn-sm { min-height: 44px; padding: 10px 20px; font-size: 14.5px; }

/* =========================================================
   チャットの部品（共通）
   ========================================================= */
.bubble { position: relative; max-width: 84%; padding: 12px 16px; border-radius: 20px; font-size: 15px; line-height: 1.65; }
.bubble.bot { background: var(--b); color: #fff; border-bottom-left-radius: 6px; }
.bubble.me { background: var(--surface); color: var(--tx); border-bottom-right-radius: 6px; box-shadow: inset 0 0 0 1px var(--line); margin-left: auto; }
.typing { display: inline-flex; gap: 5px; align-items: center; padding: 14px 16px; border-radius: 20px; border-bottom-left-radius: 6px; background: var(--surface); box-shadow: inset 0 0 0 1px var(--line); }
.typing i { width: 7px; height: 7px; border-radius: 50%; background: var(--mute); animation: blink 1.1s infinite; }
.typing i:nth-child(2) { animation-delay: .15s; }
.typing i:nth-child(3) { animation-delay: .3s; }
@keyframes blink { 0%, 60%, 100% { opacity: .3; transform: translateY(0); } 30% { opacity: 1; transform: translateY(-3px); } }
.avatar { flex-shrink: 0; display: grid; place-items: center; width: 40px; height: 40px; border-radius: 14px 14px 14px 5px; background: var(--b); color: #fff; font-weight: 800; font-size: 16px; }

/* =========================================================
   ヘッダー
   ========================================================= */
.hd { position: fixed; inset: 0 0 auto; z-index: 60; height: var(--header-h); transition: background-color .4s, box-shadow .4s; }
.is-scrolled .hd, .menu-open .hd { background: rgba(255, 255, 255, .96); box-shadow: 0 1px 0 var(--line); }
.hd .wrap { display: flex; align-items: center; justify-content: space-between; height: 100%; }
.progress { position: absolute; left: 0; bottom: -1px; height: 2px; width: 100%; background: var(--b); transform-origin: left; transform: scaleX(var(--sp, 0)); }
.logo { display: flex; align-items: center; gap: 10px; font-weight: 800; font-size: 19px; letter-spacing: .01em; text-decoration: none; }
.logo-icon { position: relative; display: grid; place-items: center; gap: 0; width: 34px; height: 34px; border-radius: 12px 12px 12px 4px; background: var(--b); }
.logo-icon span { position: absolute; top: 15px; width: 4px; height: 4px; border-radius: 50%; background: #fff; animation: blink 1.6s infinite; }
.logo-icon span:nth-child(1) { left: 9px; }
.logo-icon span:nth-child(2) { left: 15px; animation-delay: .2s; }
.logo-icon span:nth-child(3) { left: 21px; animation-delay: .4s; }
.burger { position: relative; width: 46px; height: 46px; border: 0; border-radius: 50%; background: var(--surface); box-shadow: inset 0 0 0 1px var(--line); cursor: pointer; }
.burger i, .burger i::before, .burger i::after { position: absolute; left: 14px; width: 18px; height: 2px; border-radius: 2px; background: var(--tx); transition: transform .4s var(--pop), background-color .2s; }
.burger i { top: 22px; }
.burger i::before, .burger i::after { content: ""; left: 0; }
.burger i::before { top: -6px; }
.burger i::after { top: 6px; }
.menu-open .burger i { background: transparent; }
.menu-open .burger i::before { transform: translateY(6px) rotate(45deg); }
.menu-open .burger i::after { transform: translateY(-6px) rotate(-45deg); }
.nav { position: fixed; inset: var(--header-h) 0 0; display: flex; flex-direction: column; gap: 10px; padding: 24px 20px 40px; background: var(--bg); overflow-y: auto; visibility: hidden; opacity: 0; transition: opacity .3s, visibility .3s; }
.menu-open .nav { visibility: visible; opacity: 1; }
.nav a { align-self: flex-start; padding: 12px 20px; border-radius: 20px 20px 20px 6px; background: var(--surface); box-shadow: inset 0 0 0 1px var(--line); font-weight: 700; font-size: 18px; text-decoration: none; opacity: 0; transform: translateY(14px) scale(.94); transition: opacity .35s var(--ease), transform .5s var(--pop); }
.menu-open .nav a { opacity: 1; transform: none; }
.menu-open .nav a:nth-child(2) { transition-delay: .05s; }
.menu-open .nav a:nth-child(3) { transition-delay: .1s; }
.menu-open .nav a:nth-child(4) { transition-delay: .15s; }
.menu-open .nav a:nth-child(5) { transition-delay: .2s; }
.menu-open .nav a:nth-child(6) { transition-delay: .25s; }
.nav .nav-cta { align-self: flex-end; margin-top: 8px; border-radius: 20px 20px 6px 20px; background: var(--b); color: #fff; box-shadow: none; }

/* =========================================================
   ヒーロー
   ========================================================= */
.hero { position: relative; padding: calc(var(--header-h) + 36px) 0 72px; overflow: hidden; }
.blob { position: absolute; z-index: -1; border-radius: 50%; filter: blur(70px); opacity: .55; pointer-events: none; }
.blob-1 { width: 420px; height: 420px; right: -120px; top: 40px; background: #c9d6ff; animation: drift 14s ease-in-out infinite; }
.blob-2 { width: 320px; height: 320px; left: -140px; bottom: 0; background: #fff1c4; animation: drift 18s ease-in-out infinite reverse; }
@keyframes drift { 50% { transform: translate(-40px, 30px) scale(1.08); } }
.hero-grid { display: grid; gap: 44px; align-items: center; }
.eyebrow { display: inline-flex; align-items: center; gap: 8px; padding: 6px 14px; border-radius: 999px; background: var(--surface); box-shadow: inset 0 0 0 1px var(--line); font-size: 13px; font-weight: 700; color: var(--b); }
.eyebrow .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--ok); box-shadow: 0 0 0 0 rgba(18, 183, 106, .5); animation: ping 2s infinite; }
@keyframes ping { 0% { box-shadow: 0 0 0 0 rgba(18, 183, 106, .5); } 80%, 100% { box-shadow: 0 0 0 8px rgba(18, 183, 106, 0); } }
.hero-title { margin-top: 20px; font-size: min(calc((100vw - 40px) / 11.6), 58px); font-weight: 900; line-height: 1.38; letter-spacing: .01em; }
.hero-title .ln { display: block; overflow: hidden; padding-bottom: .04em; white-space: nowrap; }
.hero-title .ln > span { display: inline-block; }
.js .hero-title .ln > span { transform: translateY(110%); transition: transform 1s var(--ease); }
.is-ready .hero-title .ln > span { transform: none; }
.is-ready .hero-title .ln:nth-child(2) > span { transition-delay: .12s; }
.is-ready .hero-title .ln:nth-child(3) > span { transition-delay: .24s; }
.hl { font-style: normal; background: linear-gradient(var(--y), var(--y)) no-repeat 0 88% / 100% .36em; border-radius: 4px; }
.js .hl { background-size: 0 .36em; transition: background-size .9s var(--ease) .75s; }
.is-ready .hl { background-size: 100% .36em; }
.hero-lead { margin-top: 22px; color: var(--sub); font-size: 16.5px; }
.hero-lead b { color: var(--tx); }
.hero-btns { display: grid; gap: 12px; margin-top: 30px; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 26px; }
.chips li { display: inline-flex; align-items: center; gap: 6px; padding: 6px 12px; border-radius: 999px; background: var(--surface); box-shadow: inset 0 0 0 1px var(--line); font-size: 13.5px; font-weight: 700; }
.chips li::before { content: ""; width: 14px; height: 14px; border-radius: 50%; background: var(--ok) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M4 8.5l2.5 2.5L12 5.5' fill='none' stroke='%23fff' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 12px no-repeat; }
.js .hero-copy .fade { opacity: 0; transform: translateY(16px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
.is-ready .hero-copy .fade { opacity: 1; transform: none; }
.is-ready .hero-copy .fade:nth-of-type(1) { transition-delay: .45s; }
.is-ready .hero-lead.fade { transition-delay: .55s; }
.is-ready .hero-btns.fade { transition-delay: .65s; }
.is-ready .chips.fade { transition-delay: .75s; }

/* ヒーローのチャット */
.chat { position: relative; width: 100%; max-width: 460px; justify-self: center; border-radius: 30px; background: var(--surface); box-shadow: var(--shadow-lg); overflow: hidden; }
.js .chat { opacity: 0; transform: translateY(30px) rotate(1.5deg); transition: opacity .9s var(--ease) .3s, transform 1s var(--ease) .3s; }
.is-ready .chat { opacity: 1; transform: none; }
.chat-head { display: flex; align-items: center; gap: 12px; padding: 14px 18px; border-bottom: 1px solid var(--line); }
.chat-head b { display: block; font-size: 15px; line-height: 1.3; }
.chat-head small { font-size: 12px; color: var(--sub); }
.chat-body { display: flex; flex-direction: column; justify-content: flex-end; gap: 10px; height: 430px; padding: 18px; overflow: hidden; background: linear-gradient(#f8f9fc, #fff); }
.chat-body > * { flex-shrink: 0; }
.chat-body .who { font-size: 11px; color: var(--mute); margin-bottom: -4px; text-align: right; }
.chat-card { width: 84%; border-radius: 18px; overflow: hidden; box-shadow: inset 0 0 0 1px var(--line); background: #fff; text-decoration: none; }
.chat-card .top { display: block; padding: 12px 14px; background: var(--y); font-weight: 800; font-size: 15px; line-height: 1.4; }
.chat-card .top small { display: block; font-size: 11px; color: var(--y-dark); }
.chat-card .bt { display: block; padding: 10px 14px; font-size: 13px; font-weight: 700; color: var(--b); }
.chat-foot { display: flex; align-items: center; gap: 10px; padding: 12px 14px; border-top: 1px solid var(--line); }
.chat-foot span { flex: 1; padding: 10px 16px; border-radius: 999px; background: #f2f4f7; color: var(--mute); font-size: 13.5px; }
.chat-foot i { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; background: var(--b); }
.chat-foot i svg { width: 18px; height: 18px; }
.chat-note { margin-top: 10px; text-align: center; font-size: 12px; color: var(--mute); }
/* メッセージが届く動き（JSで .is-on を付ける） */
.js .chat-body > .m { display: none; }
.js .chat-body > .m.is-on { display: block; animation: msgIn .5s var(--pop); }
.js .chat-body > .typing.m.is-on { display: inline-flex; align-self: flex-start; }
.chat-body > .bubble.me, .chat-body > .who { align-self: flex-end; }
.chat-body > .bubble.bot, .chat-body > .chat-card { align-self: flex-start; }
@keyframes msgIn { from { opacity: 0; transform: translateY(14px) scale(.94); } }
.scroll-cue { position: absolute; left: 50%; bottom: 18px; display: none; width: 26px; height: 42px; margin-left: -13px; border-radius: 14px; box-shadow: inset 0 0 0 2px var(--line); }
.scroll-cue::after { content: ""; position: absolute; left: 50%; top: 8px; width: 4px; height: 8px; margin-left: -2px; border-radius: 2px; background: var(--b); animation: cue 1.8s var(--ease) infinite; }
@keyframes cue { 0% { opacity: 0; transform: translateY(0); } 30% { opacity: 1; } 100% { opacity: 0; transform: translateY(14px); } }

/* ハッシュタグの帯 */
.tags { padding: 18px 0; border-block: 1px solid var(--line); background: var(--surface); overflow: hidden; }
.tags-track { display: flex; width: max-content; animation: marquee 34s linear infinite; }
.tags span { margin-right: 14px; padding: 6px 16px; border-radius: 999px; background: var(--bg); font-weight: 700; font-size: 15px; white-space: nowrap; }
.tags span b { color: var(--b); font-weight: 800; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* =========================================================
   セクション共通
   ========================================================= */
.sec { position: relative; padding: 88px 0; }
.sec-white { background: var(--surface); }
.sec-head { margin-bottom: 40px; }
.sec-label { display: inline-flex; align-items: center; gap: 6px; padding: 4px 12px; border-radius: 999px; background: var(--b-soft); color: var(--b); font-size: 13px; font-weight: 800; letter-spacing: .04em; }
.sec-title { margin-top: 14px; font-size: 30px; font-weight: 900; line-height: 1.45; letter-spacing: .01em; }
.sec-desc { margin-top: 10px; color: var(--sub); }
.center { text-align: center; }
.center .sec-desc { margin-inline: auto; max-width: 36em; }

/* =========================================================
   お悩み（チャットのやりとり）
   ========================================================= */
.worry-grid { display: grid; gap: 32px; align-items: center; }
.thread { display: flex; flex-direction: column; gap: 12px; padding: 24px 18px; border-radius: 28px; background: var(--surface); box-shadow: var(--shadow); }
.thread .label { align-self: center; padding: 3px 12px; border-radius: 999px; background: var(--bg); color: var(--sub); font-size: 12px; font-weight: 700; }
.thread .bubble.me { font-weight: 700; }
.js .thread > * { opacity: 0; transform: translateY(14px) scale(.94); }
.thread.is-in > * { animation: msgIn2 .55s var(--pop) forwards; }
.thread.is-in > :nth-child(1) { animation-delay: 0s; }
.thread.is-in > :nth-child(2) { animation-delay: .2s; }
.thread.is-in > :nth-child(3) { animation-delay: .45s; }
.thread.is-in > :nth-child(4) { animation-delay: .7s; }
.thread.is-in > :nth-child(5) { animation-delay: .95s; }
.thread .typing { align-self: flex-start; }
.thread.is-in > .typing { animation: msgIn2 .4s var(--pop) 1.3s forwards, hideT .3s 2.2s forwards; }
.thread.is-in > .answer { animation-delay: 2.3s; }
.thread .answer { align-self: flex-start; font-weight: 700; font-size: 16px; }
.thread .answer b { color: var(--y); }
@keyframes msgIn2 { to { opacity: 1; transform: none; } }
@keyframes hideT { to { opacity: 0; height: 0; padding-block: 0; margin-block: -6px; } }

/* =========================================================
   サービス
   ========================================================= */
.svc { display: grid; gap: 16px; }
.card { position: relative; padding: 28px 24px; border-radius: var(--r); background: var(--surface); box-shadow: var(--shadow); overflow: hidden; transition: transform .45s var(--ease), box-shadow .45s var(--ease); }
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
/* カーソルを追う光 */
.spot::before { content: ""; position: absolute; inset: 0; pointer-events: none; background: radial-gradient(360px circle at var(--mx, 50%) var(--my, 50%), rgba(43, 92, 245, .09), transparent 60%); opacity: 0; transition: opacity .4s; }
.spot:hover::before { opacity: 1; }
.card .tag { display: inline-block; padding: 3px 12px; border-radius: 999px; background: var(--bg); font-size: 12.5px; font-weight: 800; color: var(--sub); }
.card h3 { margin: 12px 0 8px; font-size: 22px; font-weight: 900; line-height: 1.45; }
.card p { color: var(--sub); font-size: 15.5px; }
.svc-main { background: var(--tx); color: #fff; }
.svc-main .tag { background: rgba(255, 255, 255, .1); color: #c8d4ff; }
.svc-main p { color: #b9c1d3; }
.svc-main h3 { font-size: min(26px, calc((100vw - 88px) / 10.5)); }
.svc-main .spot-c::before { background: radial-gradient(360px circle at var(--mx, 50%) var(--my, 50%), rgba(255, 255, 255, .08), transparent 60%); }
.incl { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 22px; }
.incl li { padding: 8px 14px; border-radius: 14px 14px 14px 4px; background: rgba(255, 255, 255, .08); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .12); font-size: 14px; font-weight: 700; }
.js .incl li { opacity: 0; transform: translateY(10px) scale(.9); }
.is-in .incl li { animation: msgIn2 .5s var(--pop) forwards; animation-delay: calc(.3s + var(--i) * .07s); }
.svc-ill { position: relative; height: 120px; margin: -4px -4px 16px; border-radius: 16px; overflow: hidden; }
.ill-map { background:
  linear-gradient(0deg, transparent 46%, #d9e1f2 46% 56%, transparent 56%),
  linear-gradient(90deg, transparent 62%, #d9e1f2 62% 70%, transparent 70%),
  linear-gradient(20deg, transparent 30%, #e3e9f6 30% 34%, transparent 34%), #f1f4fa; }
.ill-map .pin { position: absolute; left: 63%; top: 20px; width: 30px; height: 30px; margin-left: -6px; border-radius: 50% 50% 50% 0; transform: rotate(-45deg); background: #ff5a5f; animation: bounce 2.4s var(--ease) infinite; }
.ill-map .pin::after { content: ""; position: absolute; inset: 9px; border-radius: 50%; background: #fff; }
.ill-map .ring { position: absolute; left: 63%; top: 52px; width: 40px; height: 14px; margin-left: -12px; border-radius: 50%; border: 2px solid rgba(255, 90, 95, .5); animation: ringP 2.4s var(--ease) infinite; }
@keyframes bounce { 0%, 100% { transform: rotate(-45deg) translate(0, 0); } 40% { transform: rotate(-45deg) translate(6px, -6px); } }
@keyframes ringP { 0% { transform: scale(.6); opacity: .9; } 100% { transform: scale(2.2); opacity: 0; } }
.ill-vid { background: linear-gradient(135deg, var(--b), #7c5cff); }
.ill-vid .play { position: absolute; left: 50%; top: 50%; width: 54px; height: 54px; margin: -27px 0 0 -27px; border-radius: 50%; background: rgba(255, 255, 255, .95); }
.ill-vid .play::after { content: ""; position: absolute; left: 22px; top: 17px; border-left: 15px solid var(--b); border-top: 10px solid transparent; border-bottom: 10px solid transparent; }
.ill-vid .play::before { content: ""; position: absolute; inset: -8px; border-radius: 50%; border: 2px solid rgba(255, 255, 255, .6); animation: ringP 2s var(--ease) infinite; }
.ill-vid .bar { position: absolute; left: 14px; right: 14px; bottom: 12px; height: 4px; border-radius: 4px; background: rgba(255, 255, 255, .3); overflow: hidden; }
.ill-vid .bar::after { content: ""; position: absolute; inset: 0; background: #fff; transform-origin: left; animation: vbar 6s linear infinite; }
@keyframes vbar { from { transform: scaleX(0); } to { transform: scaleX(1); } }

/* =========================================================
   料金（ここを直すと料金表示が変わります。表示価格はすべて支払総額）
   ========================================================= */
.prices { display: grid; gap: 16px; }
.p-main { position: relative; padding: 36px 24px 26px; border-radius: 28px; background:
  linear-gradient(var(--surface), var(--surface)) padding-box,
  linear-gradient(135deg, var(--b), #8ea8ff 45%, var(--y)) border-box; border: 2px solid transparent; box-shadow: var(--shadow-lg); }
.p-badge { position: absolute; top: -14px; left: 24px; padding: 4px 14px; border-radius: 999px 999px 999px 4px; background: var(--b); color: #fff; font-size: 13px; font-weight: 800; }
.p-main h3 { font-size: 22px; font-weight: 900; }
.p-zero { display: flex; align-items: baseline; gap: 8px; margin-top: 6px; font-weight: 900; }
.p-zero span { font-size: 18px; }
.p-zero strong { font-family: "Manrope", sans-serif; font-size: 104px; font-weight: 800; line-height: .95; letter-spacing: -.04em; color: var(--b); }
.p-month { font-size: 18px; font-weight: 800; }
.p-month strong { font-family: "Manrope", sans-serif; font-size: 40px; letter-spacing: -.02em; margin: 0 4px; }
.p-list { display: grid; gap: 8px; margin-top: 18px; }
.p-list li { display: flex; gap: 10px; align-items: baseline; font-weight: 500; }
.p-list li::before { content: ""; flex-shrink: 0; width: 18px; height: 18px; border-radius: 50%; transform: translateY(3px); background: var(--b-soft) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M4 8.5l2.5 2.5L12 5.5' fill='none' stroke='%232b5cf5' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 13px no-repeat; }
.p-note { margin-top: 14px; font-size: 13.5px; color: var(--sub); }
.p-opt { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 2px 12px; margin-top: 20px; padding: 16px 18px; border-radius: 18px; background: var(--bg); }
.p-opt p { font-weight: 800; }
.p-opt .amt { font-weight: 800; }
.p-opt .amt strong { font-family: "Manrope", sans-serif; font-size: 28px; letter-spacing: -.02em; margin: 0 2px; }
.p-opt .amt small { font-size: 12.5px; color: var(--sub); }
.p-opt .desc { flex-basis: 100%; font-size: 13.5px; color: var(--sub); font-weight: 500; }
.p-grid { display: grid; gap: 14px; }
.p-card { padding: 22px 22px 20px; border-radius: var(--r); background: var(--surface); box-shadow: var(--shadow); transition: transform .45s var(--ease), box-shadow .45s var(--ease); }
.p-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.p-card h3 { font-size: 16px; font-weight: 800; }
.p-card .amt { margin-top: 4px; font-weight: 800; font-size: 15px; }
.p-card .amt strong { font-family: "Manrope", sans-serif; font-size: 30px; letter-spacing: -.02em; margin: 0 2px; }
.p-card .desc { margin-top: 6px; font-size: 14px; color: var(--sub); }
.p-wide { grid-column: 1 / -1; }
.p-free { background: var(--y); box-shadow: none; }
.p-free .desc { color: #5c4a00; }
.delivery { display: flex; align-items: center; gap: 12px; margin-top: 24px; padding: 16px 20px; border-radius: 18px; background: var(--surface); box-shadow: var(--shadow); font-size: 15px; }
.delivery svg { width: 28px; height: 28px; flex-shrink: 0; color: var(--b); }
.delivery b { color: var(--b); }

/* =========================================================
   ご依頼の流れ（スクロールで線が伸びる）
   ========================================================= */
.flow { position: relative; display: grid; gap: 18px; padding-left: 56px; }
.flow::before, .flow::after { content: ""; position: absolute; left: 21px; top: 10px; bottom: 10px; width: 3px; border-radius: 3px; background: var(--line); }
.flow::after { background: var(--b); transform-origin: top; transform: scaleY(var(--p, 0)); }
.step { position: relative; }
.step .n { position: absolute; left: -56px; top: 6px; z-index: 1; display: grid; place-items: center; width: 45px; height: 45px; border-radius: 50%; background: var(--surface); box-shadow: inset 0 0 0 3px var(--line); font-family: "Manrope", sans-serif; font-weight: 800; font-size: 17px; color: var(--mute); transition: background-color .4s, color .4s, box-shadow .4s, transform .5s var(--pop); }
.step.is-on .n { background: var(--b); color: #fff; box-shadow: 0 0 0 6px var(--b-soft); transform: scale(1.06); }
.step .bubble { display: block; max-width: none; padding: 18px 20px; background: var(--surface); color: var(--tx); border-radius: 20px 20px 20px 6px; box-shadow: var(--shadow); }
.step h3 { font-size: 18px; font-weight: 900; }
.step p { font-size: 14.5px; color: var(--sub); }

/* =========================================================
   無料Web集客診断
   ========================================================= */
.shindan { position: relative; overflow: hidden; background: linear-gradient(135deg, #2b5cf5, #1b3fbf 70%); color: #fff; }
.shindan::before { content: "0円"; position: absolute; right: -20px; bottom: -70px; font-family: "Manrope", "Noto Sans JP", sans-serif; font-weight: 900; font-size: 260px; line-height: 1; color: transparent; -webkit-text-stroke: 2px rgba(255, 255, 255, .12); pointer-events: none; }
.shindan .sec-label { background: rgba(255, 255, 255, .14); color: #fff; }
.shindan-grid { display: grid; gap: 36px; align-items: center; }
.shindan-lead { margin-top: 14px; font-size: 21px; font-weight: 900; line-height: 1.65; }
.shindan-lead mark { background: var(--y); color: var(--tx); padding: 0 .2em; border-radius: 4px; }
.shindan-note { margin-top: 16px; color: #c9d6ff; font-size: 15px; }
.check { padding: 22px; border-radius: 26px; background: var(--surface); color: var(--tx); box-shadow: 0 30px 60px rgba(8, 20, 70, .35); }
.check-head { display: flex; align-items: center; gap: 10px; padding-bottom: 14px; border-bottom: 1px solid var(--line); font-weight: 800; }
.check-head small { margin-left: auto; color: var(--sub); font-weight: 500; font-size: 12.5px; }
.check ul { display: grid; gap: 10px; margin: 16px 0; }
.check li { display: flex; align-items: center; gap: 14px; padding: 14px 16px; border-radius: 16px; background: var(--bg); font-weight: 800; }
.check li svg { width: 28px; height: 28px; flex-shrink: 0; }
.check li svg circle { fill: var(--line); transition: fill .4s; }
.check li svg path { fill: none; stroke: #fff; stroke-width: 3; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 20; stroke-dashoffset: 20; transition: stroke-dashoffset .5s var(--ease); }
.check.is-in li svg circle { fill: var(--ok); }
.check.is-in li svg path { stroke-dashoffset: 0; }
.check.is-in li:nth-child(1) svg circle, .check.is-in li:nth-child(1) svg path { transition-delay: .4s; }
.check.is-in li:nth-child(2) svg circle, .check.is-in li:nth-child(2) svg path { transition-delay: .8s; }
.check.is-in li:nth-child(3) svg circle, .check.is-in li:nth-child(3) svg path { transition-delay: 1.2s; }
.check li small { margin-left: auto; font-size: 12px; color: var(--sub); font-weight: 500; }
.check-result { padding: 14px 16px; border-radius: 16px; background: var(--b-soft); color: var(--b-dark); font-weight: 800; font-size: 15px; }
.js .check-result { opacity: 0; transform: translateY(8px); transition: opacity .5s var(--ease) 1.7s, transform .5s var(--pop) 1.7s; }
.check.is-in .check-result { opacity: 1; transform: none; }

/* =========================================================
   制作実績
   ========================================================= */
.works-grid { display: grid; gap: 16px; }
.works-grid:empty { display: none; }
.works-grid:not(:empty) + .works-empty { display: none; }
.works-empty { display: flex; flex-direction: column; align-items: center; gap: 14px; padding: 48px 20px; border-radius: 28px; border: 2px dashed var(--line); background: var(--surface); text-align: center; }
.works-empty p { font-weight: 800; font-size: 18px; }

/* =========================================================
   よくある質問（開くと「入力中…」のあとに答えが届く）
   ========================================================= */
.faq { display: grid; gap: 12px; }
.faq details { border-radius: 20px; background: var(--surface); box-shadow: var(--shadow); transition: box-shadow .3s; }
.faq details[open] { box-shadow: var(--shadow-lg); }
.faq summary { position: relative; display: flex; align-items: center; gap: 14px; padding: 18px 58px 18px 18px; font-weight: 800; line-height: 1.6; cursor: pointer; list-style: none; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::before { content: "Q"; flex-shrink: 0; display: grid; place-items: center; width: 34px; height: 34px; border-radius: 12px 12px 12px 4px; background: var(--bg); color: var(--b); font-family: "Manrope", sans-serif; font-weight: 800; }
.faq summary::after { content: ""; position: absolute; right: 18px; top: 50%; width: 30px; height: 30px; margin-top: -15px; border-radius: 50%; background:
  linear-gradient(var(--tx), var(--tx)) center / 12px 2px no-repeat,
  linear-gradient(var(--tx), var(--tx)) center / 2px 12px no-repeat, var(--bg); transition: transform .45s var(--pop), background-color .3s; }
.faq details[open] summary::after { transform: rotate(135deg); }
.faq .a { position: relative; margin: 0 18px 20px 66px; padding: 14px 16px; border-radius: 6px 20px 20px 20px; background: var(--b); color: #fff; font-size: 15px; }
.faq details[open] .a > span { display: block; animation: aShow .45s var(--ease) .55s both; }
.faq details[open] .a::before { content: ""; position: absolute; left: 16px; top: 50%; width: 36px; height: 8px; margin-top: -4px; background: radial-gradient(circle, #fff 3px, transparent 3.5px) 0 0 / 12px 8px repeat-x; animation: aDots .55s steps(1) forwards; }
@keyframes aShow { from { opacity: 0; transform: translateY(6px); } }
@keyframes aDots { 0% { opacity: 1; } 99% { opacity: 1; } 100% { opacity: 0; } }

/* =========================================================
   お問い合わせ
   ========================================================= */
.contact { display: grid; gap: 16px; }
.c-card { display: flex; flex-direction: column; gap: 8px; padding: 28px 24px; border-radius: 26px; background: var(--surface); box-shadow: var(--shadow); }
.c-card .ic { display: grid; place-items: center; width: 52px; height: 52px; margin-bottom: 6px; border-radius: 18px 18px 18px 6px; background: var(--b-soft); color: var(--b); }
.c-card .ic svg { width: 26px; height: 26px; }
.c-card.line .ic { background: #e3f6ea; color: var(--green); }
.c-card h3 { font-size: 21px; font-weight: 900; }
.c-card p { color: var(--sub); font-size: 15px; margin-bottom: 10px; }
.c-card .mail { color: var(--tx); font-weight: 800; font-size: 18px; word-break: break-all; }
.c-card .btn { margin-top: auto; }

/* =========================================================
   フッター
   ========================================================= */
.ft { padding: 56px 0 40px; background: var(--tx); color: #b9c1d3; font-size: 14.5px; }
.ft .logo { color: #fff; }
.ft-links { display: flex; flex-wrap: wrap; gap: 8px 24px; margin-top: 20px; }
.ft a { text-decoration: none; }
.ft a:hover { color: #fff; }
.ft small { display: block; margin-top: 28px; padding-top: 20px; border-top: 1px solid #263048; font-size: 12px; }

/* =========================================================
   スマホ下部の固定ボタン
   ========================================================= */
.dock { position: fixed; left: 12px; right: 12px; bottom: calc(12px + env(safe-area-inset-bottom)); z-index: 50; display: grid; grid-template-columns: 1fr 1fr; gap: 8px; padding: 8px; border-radius: 999px; background: rgba(255, 255, 255, .97); box-shadow: 0 14px 40px rgba(16, 24, 40, .2); transform: translateY(150%); transition: transform .55s var(--pop); }
.is-scrolled .dock { transform: none; }
.dock a { display: flex; align-items: center; justify-content: center; gap: 6px; min-height: 50px; border-radius: 999px; font-weight: 800; font-size: 15.5px; text-decoration: none; color: #fff; }
.dock a:first-child { background: var(--b); }
.dock a:last-child { background: var(--green); }

/* =========================================================
   オープニング（初回のみ。タップでスキップ）
   ========================================================= */
.op { display: none; }
.has-op body { overflow: hidden; }
.has-op .op { position: fixed; inset: 0; z-index: 100; display: grid; place-items: center; padding: 24px; background: var(--bg); transition: opacity .5s var(--ease); }
.op.is-out { opacity: 0; pointer-events: none; }
.op-stage { display: flex; flex-direction: column; gap: 12px; width: min(420px, 100%); }
.op-b { align-self: flex-start; display: inline-flex; white-space: pre-line; align-items: center; min-height: 48px; padding: 12px 18px; border-radius: 22px 22px 22px 6px; background: var(--b); color: #fff; font-weight: 700; font-size: 17px; line-height: 1.55; opacity: 0; transform: translateY(14px) scale(.9); transition: opacity .35s var(--ease), transform .5s var(--pop); }
.op-b.is-on { opacity: 1; transform: none; }
.op-b.is-typing { background: var(--surface); box-shadow: inset 0 0 0 1px var(--line); }
.op-b .typing { padding: 0; background: none; box-shadow: none; }
.op-who { display: flex; align-items: center; gap: 10px; margin-bottom: 4px; font-weight: 800; opacity: 0; transform: translateY(8px); transition: opacity .4s var(--ease), transform .4s var(--ease); }
.op-who.is-on { opacity: 1; transform: none; }
.op-caret { display: inline-block; width: 2px; height: 1.1em; margin-left: 2px; background: currentColor; vertical-align: -.15em; animation: caret .8s steps(1) infinite; }
@keyframes caret { 50% { opacity: 0; } }
.op-iris { position: absolute; inset: 0; background: var(--b); clip-path: circle(0 at var(--ox, 50%) var(--oy, 50%)); transition: clip-path .75s var(--ease-io); }
.op.is-iris .op-iris { clip-path: circle(150% at var(--ox, 50%) var(--oy, 50%)); }
.op-skip { position: absolute; right: 16px; bottom: calc(20px + env(safe-area-inset-bottom)); min-height: 40px; padding: 0 18px; border: 0; border-radius: 999px; background: var(--surface); box-shadow: inset 0 0 0 1px var(--line); color: var(--sub); font-size: 13.5px; font-weight: 700; cursor: pointer; }
.op.is-iris .op-skip { opacity: 0; }

/* =========================================================
   タブレット（640px〜）
   ========================================================= */
@media (min-width: 640px) {
  body { font-size: 17px; }
  .wrap { padding: 0 40px; }
  .hero-btns { grid-template-columns: auto auto; justify-content: start; }
  .hero-title { font-size: min(calc((100vw - 80px) / 11.6), 58px); }
  .sec { padding: 112px 0; }
  .sec-title { font-size: 38px; }
  .thread { padding: 32px 28px; }
  .svc { grid-template-columns: 1fr 1fr; }
  .svc-main { grid-column: 1 / -1; }
  .p-grid { grid-template-columns: 1fr 1fr; }
  .p-main { padding: 44px 40px 32px; }
  .contact { max-width: 560px; margin: 0 auto; }
  .shindan-lead { font-size: 25px; }
}

/* =========================================================
   PC（1024px〜）
   ========================================================= */
@media (min-width: 1024px) {
  :root { --header-h: 78px; }
  body { padding-bottom: 0; }
  .wrap { padding: 0 48px; }
  .burger, .dock { display: none; }
  .nav { position: static; inset: auto; flex-direction: row; align-items: center; gap: 4px; padding: 0; background: none; overflow: visible; visibility: visible; opacity: 1; }
  .nav a { align-self: auto; padding: 8px 14px; border-radius: 999px; background: none; box-shadow: none; font-size: 14.5px; font-weight: 700; opacity: 1; transform: none; transition: background-color .25s, color .25s; }
  .nav a:hover { background: var(--surface); }
  .nav .nav-cta { margin: 0 0 0 10px; padding: 11px 22px; border-radius: 999px; background: var(--b); color: #fff; }
  .nav .nav-cta:hover { background: var(--b-dark); }
  .hero { min-height: 100svh; display: flex; align-items: center; padding: calc(var(--header-h) + 40px) 0 96px; }
  .hero-grid { grid-template-columns: 1.2fr 1fr; gap: 56px; }
  .hero-title { font-size: min(calc((min(100vw, 1180px) - 152px) * .545 / 11.6), 54px); }
  .hero-lead { font-size: 18px; max-width: 30em; }
  .chat { justify-self: end; }
  .scroll-cue { display: block; }
  .sec-title { font-size: 42px; }
  .worry-grid { grid-template-columns: 1fr 1.1fr; gap: 72px; }
  .svc { grid-template-columns: 1.35fr 1fr; grid-template-rows: auto auto; gap: 18px; }
  .svc-main { grid-column: 1; grid-row: 1 / 3; padding: 48px 44px; display: flex; flex-direction: column; justify-content: center; }
  .svc-main h3 { font-size: 34px; }
  .prices { grid-template-columns: 1.05fr 1fr; gap: 24px; align-items: start; }
  .flow { max-width: 920px; margin: 0 auto; padding-left: 0; grid-template-columns: 1fr 1fr; column-gap: 96px; row-gap: 0; }
  .flow::before, .flow::after { left: 50%; margin-left: -1.5px; }
  .step { padding: 14px 0; }
  .step:nth-child(odd) { grid-column: 1; text-align: right; }
  .step:nth-child(even) { grid-column: 2; margin-top: 60px; }
  .step:nth-child(odd) .n { left: auto; right: -71px; }
  .step:nth-child(even) .n { left: -71px; }
  .step:nth-child(odd) .bubble { border-radius: 20px 20px 6px 20px; }
  .shindan-grid { grid-template-columns: 1.1fr 1fr; gap: 72px; }
  .shindan-lead { font-size: 30px; }
  .faq-grid { display: grid; grid-template-columns: 340px 1fr; gap: 64px; align-items: start; }
  .faq-grid .sec-head { position: sticky; top: calc(var(--header-h) + 40px); }
  .contact { grid-template-columns: repeat(3, 1fr); max-width: none; }
  .c-card { padding: 34px 28px; }
  .ft-inner { display: flex; justify-content: space-between; align-items: flex-end; }
}

/* =========================================================
   プライバシーポリシー
   ========================================================= */
.policy { padding: calc(var(--header-h) + 48px) 0 88px; }
.policy .wrap { max-width: 820px; }
.policy-card { padding: 32px 24px; border-radius: 28px; background: var(--surface); box-shadow: var(--shadow); }
.policy h1 { font-size: min(30px, calc((100vw - 88px) / 10.4)); font-weight: 900; margin: 14px 0 16px; }
.policy h2 { margin: 28px 0 8px; font-size: 19px; font-weight: 900; }
.policy ul { list-style: disc; padding-left: 1.4em; }
.policy p, .policy li { color: var(--sub); }
.policy-back { margin-top: 32px; }
.policy-page { padding-bottom: 0; }
@media (min-width: 640px) { .policy-card { padding: 48px 48px; } }

/* =========================================================
   動きを減らす設定 / JSが動かないときの保険
   ========================================================= */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-delay: 0s !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; transition-delay: 0s !important; }
}
.no-anim [data-rv], .no-anim .hero-title .ln > span, .no-anim .hero-copy .fade, .no-anim .chat, .no-anim .thread > *, .no-anim .incl li, .no-anim .check-result { opacity: 1 !important; transform: none !important; animation: none !important; }
.no-anim .hl { background-size: 100% .36em !important; }
.no-anim .chat-body > .m { display: block !important; }
.no-anim .chat-body > .typing.m { display: none !important; }
.no-anim .thread > .typing { display: none !important; }
