/* =========================================================
   crowdbasket.jp
   配色・余白などの基本設定は :root にまとめています
   ========================================================= */
:root {
  --green: #06c755;          /* LINEグリーン（メイン） */
  --green-600: #04a847;
  --green-700: #03803a;
  --green-50: #ecfaf2;
  --green-100: #d6f5e3;
  --ink: #0b1a14;            /* ほぼ黒（濃いセクション・見出し） */
  --ink-2: #16271f;
  --text: #1c2622;
  --muted: #5d6a65;
  --line: #e2e8e5;
  --soft: #f4f7f5;
  --white: #fff;
  --radius: 14px;
  --radius-lg: 24px;
  --shadow: 0 12px 32px rgba(11, 26, 20, .08);
  --shadow-lg: 0 24px 60px rgba(11, 26, 20, .16);
  --container: 1240px;
  --gutter: 32px;            /* 画面端の最小余白 */
  /* ロゴ・ヘッダー・本文の左右の端をそろえる基準線 */
  --edge: max(var(--gutter), calc((var(--vw, 100vw) - var(--container)) / 2));
  --header-h: 72px;
  --font: "Noto Sans JP", system-ui, -apple-system, sans-serif;
  --font-en: "Poppins", "Noto Sans JP", sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 100px; -webkit-text-size-adjust: 100%; }
body { margin: 0; font-family: var(--font); color: var(--text); background: var(--white); font-size: 16px; line-height: 1.85; letter-spacing: .02em; overflow-x: clip; -webkit-font-smoothing: antialiased; }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, p, ul, ol, dl, dd, figure { margin: 0; }
ul, ol { padding: 0; list-style: none; }
h1, h2, h3 { color: var(--ink); line-height: 1.45; font-weight: 700; letter-spacing: .03em; }
button { font: inherit; }

.container { width: min(100% - var(--gutter) * 2, var(--container)); margin-inline: auto; }
.container--narrow { max-width: 860px; }
.section { padding: 128px 0; position: relative; }
.green { color: var(--green); }
.ink { color: var(--ink); }
.sp { display: none; }
.note { font-size: 12px; color: var(--muted); margin-top: 20px; line-height: 1.7; }
.note--center { text-align: center; }

/* ---------- Buttons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; padding: 14px 28px; border-radius: 999px; font-weight: 700; font-size: 15px; line-height: 1.2; border: 2px solid transparent; white-space: nowrap; transition: transform .2s ease, background-color .2s, box-shadow .2s, color .2s; }
.btn:hover { transform: translateY(-2px); }
.btn--sm { padding: 11px 20px; font-size: 14px; }
.btn--lg { padding: 19px 34px; font-size: 16px; }
.btn--block { width: 100%; }
.btn--green { background: var(--green); color: #fff; box-shadow: 0 8px 20px rgba(6, 199, 85, .3); }
.btn--green:hover { background: var(--green-600); }
.btn--ink { background: var(--ink); color: #fff; }
.btn--ink:hover { background: #22362d; }
.btn--white { background: #fff; color: var(--green-700); box-shadow: 0 10px 24px rgba(0, 60, 25, .18); }
.btn .tag { font-size: 12px; background: var(--green); color: #fff; border-radius: 6px; padding: 3px 8px; }

.link-arrow { display: inline-flex; align-items: center; gap: 10px; font-weight: 700; color: var(--green-700); }
.link-arrow::after { content: ""; width: 28px; height: 28px; border-radius: 50%; background: var(--green) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12h14M13 6l6 6-6 6'/%3E%3C/svg%3E") center / 14px no-repeat; transition: transform .2s; }
.link-arrow:hover::after { transform: translateX(4px); }
.link-arrow--light { color: #fff; }

/* ---------- Section heading ---------- */
.eyebrow { display: inline-flex; align-items: center; gap: 12px; font-family: var(--font-en); font-weight: 600; font-size: 13px; letter-spacing: .22em; text-transform: uppercase; color: var(--green-600); margin-bottom: 16px; }
.eyebrow::before { content: ""; width: 32px; height: 2px; background: currentColor; }
.eyebrow--light { color: #b9f3cf; }
.head { margin-bottom: 64px; }
.head h2 { font-size: clamp(28px, 3.6vw, 44px); font-weight: 900; line-height: 1.4; }
.head__lead { margin-top: 20px; color: var(--muted); font-size: 17px; max-width: 780px; }
.head--light h2 { color: #fff; }
.head--light .eyebrow { color: #7ee2a6; }
.head--row { max-width: none; display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; }

/* ---------- Header ---------- */
.header { position: fixed; inset: 0 0 auto; z-index: 50; padding: 12px var(--edge) 0; transition: padding .3s; }
.header__inner { position: relative; width: fit-content; max-width: 100%; margin: 0 0 0 auto; height: var(--header-h); display: flex; align-items: center; gap: 28px; padding: 0 12px 0 28px; background: rgba(255,255,255,.94); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); border-radius: 20px; box-shadow: 0 6px 28px rgba(11, 26, 20, .1); transition: height .3s; }
.header__logo { display: none; flex-shrink: 0; }
.header__logo img { height: 46px; width: auto; }
/* スクロール後・メニュー表示中は、帯を全幅にして左端に小さいロゴを出す */
.header.is-scrolled { padding-top: 8px; }
.header.is-scrolled .header__inner, .header.is-menu .header__inner { width: auto; margin: 0 auto; height: 64px; padding-left: 18px; }
.header.is-scrolled .header__logo, .header.is-menu .header__logo { display: block; animation: logoIn .35s ease; }
.header.is-scrolled .header__nav, .header.is-menu .header__nav { margin-left: auto; }
@keyframes logoIn { from { opacity: 0; transform: translateY(-6px); } }

/* ヒーロー左上の大きいロゴ（背景透過） */
.hero__logo { position: absolute; z-index: 3; top: 20px; left: var(--edge); width: clamp(150px, 12vw, 200px); }
.hero__logo img { width: 100%; height: auto; filter: drop-shadow(0 6px 18px rgba(0, 60, 25, .18)); }

.header__nav { display: flex; gap: 26px; margin-left: auto; font-weight: 700; font-size: 14px; color: var(--ink); }
.header__nav a { position: relative; padding: 6px 0; }
.header__nav a::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 2px; border-radius: 2px; background: var(--green); transform: scaleX(0); transition: transform .25s; }
.header__nav a:hover::after { transform: scaleX(1); }
.header__cta { display: flex; gap: 8px; }
.header__menu { display: none; width: 48px; height: 48px; border: 0; background: var(--soft); border-radius: 12px; cursor: pointer; padding: 14px 12px; flex-direction: column; justify-content: space-between; margin-left: auto; }
.header__menu span { height: 2px; background: var(--ink); border-radius: 2px; transition: transform .25s, opacity .25s; }
.header__menu[aria-expanded="true"] span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
.header__menu[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.header__menu[aria-expanded="true"] span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }
.drawer { margin: 8px 0 0; background: #fff; border-radius: 20px; box-shadow: var(--shadow-lg); padding: 12px 24px 24px; display: flex; flex-direction: column; max-height: calc(100vh - 120px); overflow-y: auto; }
.drawer[hidden] { display: none; }
.drawer > a { padding: 15px 4px; border-bottom: 1px solid var(--line); font-weight: 700; color: var(--ink); }
.drawer__cta { display: grid; gap: 10px; margin-top: 18px; }

/* ---------- Ticket motif ---------- */
.hero__visual { container-type: inline-size; }
.ticket { --notch: 16px; --cut: 70%; display: flex; background: #fff; border-radius: 18px; box-shadow: var(--shadow-lg);
  -webkit-mask: radial-gradient(circle var(--notch) at var(--cut) 0, transparent 98%, #000) top / 100% 51% no-repeat, radial-gradient(circle var(--notch) at var(--cut) 100%, transparent 98%, #000) bottom / 100% 51% no-repeat;
          mask: radial-gradient(circle var(--notch) at var(--cut) 0, transparent 98%, #000) top / 100% 51% no-repeat, radial-gradient(circle var(--notch) at var(--cut) 100%, transparent 98%, #000) bottom / 100% 51% no-repeat; }
.ticket__main { flex: 0 0 var(--cut); min-width: 0; padding: clamp(18px, 6cqw, 36px) clamp(16px, 6cqw, 36px) clamp(16px, 5cqw, 32px); border-right: 2px dashed #d8dfdb; }
.ticket__stub { flex: 1; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 12px; padding: 24px 16px; }
.ticket__kicker { font-family: var(--font-en); font-weight: 600; font-size: 12px; letter-spacing: .3em; color: var(--green-600); }
.ticket__name { white-space: nowrap; font-size: clamp(18px, 5.6cqw, 34px); font-weight: 900; color: var(--ink); letter-spacing: .06em; margin: 6px 0 8px; line-height: 1.3; }
.ticket__sub { display: inline; font-size: clamp(10px, 2.1cqw, 13px); color: var(--muted); background: linear-gradient(transparent 62%, var(--green-100) 62%); }
.ticket__meta { display: flex; gap: 22px; margin-top: 24px; padding-top: 18px; border-top: 1px solid var(--line); }
.ticket__meta dt { font-family: var(--font-en); font-size: 10px; letter-spacing: .2em; color: var(--muted); }
.ticket__meta dd { font-family: var(--font-en); font-weight: 700; font-size: 15px; color: var(--ink); }
.ticket__qr { width: 96px; height: 96px; fill: var(--ink); }
.ticket__stub p { font-family: var(--font-en); font-weight: 600; font-size: 10px; letter-spacing: .3em; color: var(--muted); }

/* ---------- Hero ---------- */
.hero { position: relative; padding: calc(var(--header-h) + 136px) 0 0; background: var(--green); color: #fff; overflow-x: clip; overflow-y: visible; }
.hero__bg { position: absolute; inset: 0; pointer-events: none;
  background:
    linear-gradient(-8deg, transparent 0 46%, rgba(0, 0, 0, .06) 46% 100%),
    radial-gradient(circle at 85% 20%, rgba(255,255,255,.16), transparent 40%); }
.hero__inner { position: relative; display: grid; grid-template-columns: 1.05fr 1fr; gap: 40px; align-items: center; }
.hero__label { display: inline-block; font-size: 14px; font-weight: 700; color: #fff; background: rgba(255,255,255,.18); border: 1px solid rgba(255,255,255,.35); border-radius: 999px; padding: 8px 18px; letter-spacing: .04em; line-height: 1.5; }
.nw { white-space: nowrap; }
.hero__title { margin-top: 28px; font-size: clamp(34px, 4.9vw, 66px); font-weight: 900; line-height: 1.22; letter-spacing: .02em; color: #fff; }
.hero__lead { margin-top: 28px; font-size: 17px; line-height: 1.9; color: rgba(255,255,255,.95); font-weight: 500; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 40px; }
.hero__visual { position: relative; padding: 40px 0 60px; }
.ticket--hero { transform: rotate(-7deg); width: 106%; animation: floaty 7s ease-in-out infinite; }
@keyframes floaty { 50% { transform: rotate(-6deg) translateY(-10px); } }
.hero__chip { position: absolute; z-index: 2; font-size: 14px; font-weight: 500; color: var(--ink); background: #fff; border-radius: 12px; padding: 10px 16px; box-shadow: var(--shadow-lg); white-space: nowrap; }
.hero__chip b { color: var(--green-600); }
.hero__chip--a { top: 4px; right: 4%; }
.hero__chip--b { bottom: 18px; left: 2%; }
.stats { position: relative; z-index: 2; margin: 72px 0 -64px; display: grid; grid-template-columns: repeat(4, 1fr); background: #fff; color: var(--ink); border-radius: var(--radius-lg); box-shadow: var(--shadow-lg); }
.stats li { display: flex; flex-direction: column; align-items: center; gap: 4px; padding: 30px 12px; }
.stats li + li { border-left: 1px solid var(--line); }
.stats__label { font-size: 13px; font-weight: 700; color: var(--muted); }
.stats__value { font-weight: 700; font-size: 16px; }
.stats__value b { font-family: var(--font-en); font-size: 44px; line-height: 1; color: var(--green); margin: 0 3px; }
.hero + .section { padding-top: 192px; }


/* ---------- Hero：ページを開いたときの登場アニメーション ---------- */
.hero__title .line { display: block; overflow: hidden; padding-bottom: .06em; margin-bottom: -.06em; }
.hero__title .line > span { display: inline-block; animation: lineUp .9s cubic-bezier(.2,.8,.2,1) both; }
.hero__title .line:nth-child(1) > span { animation-delay: .25s; }
.hero__title .line:nth-child(2) > span { animation-delay: .4s; }
.hero__title .line:nth-child(3) > span { animation-delay: .55s; }
@keyframes lineUp { from { transform: translateY(110%); } }
/* 「ファンとつながる。」の下に白いマーカーを引く */
.sweep { position: relative; z-index: 0; }
.sweep::after { content: ""; position: absolute; z-index: -1; left: 0; right: .4em; bottom: .1em; height: .2em; border-radius: .1em; background: rgba(255,255,255,.88); transform: scaleX(0); transform-origin: left center; animation: sweep .7s cubic-bezier(.6,0,.2,1) 1.2s forwards; }
@keyframes sweep { to { transform: scaleX(1); } }
.hero__label { animation: dropIn .7s cubic-bezier(.2,.8,.2,1) .05s both; }
@keyframes dropIn { from { opacity: 0; transform: translateY(-14px); } }
.hero__lead .fade-line { display: inline-block; animation: fadeUpSoft .8s ease both; }
.hero__lead .fade-line:nth-of-type(1) { animation-delay: .95s; }
.hero__lead .fade-line:nth-of-type(2) { animation-delay: 1.1s; }
@keyframes fadeUpSoft { from { opacity: 0; transform: translateY(14px); } }
.hero__actions .btn { animation: popIn .7s cubic-bezier(.3,1.5,.5,1) both; }
.hero__actions .btn:nth-child(1) { animation-delay: 1.3s; }
.hero__actions .btn:nth-child(2) { animation-delay: 1.42s; }
@keyframes popIn { from { opacity: 0; transform: translateY(16px) scale(.92); } }
.hero__logo { animation: dropIn .8s cubic-bezier(.2,.8,.2,1) both; }
.hero__visual .ticket--hero { animation: ticketIn 1.1s cubic-bezier(.2,.8,.2,1) .5s both, floaty 7s ease-in-out 1.6s infinite; }
@keyframes ticketIn { from { opacity: 0; transform: translate(80px, 30px) rotate(6deg) scale(.92); } }
.hero__chip { animation: chipIn .6s cubic-bezier(.3,1.6,.5,1) both; }
.hero__chip--a { animation-delay: 1.4s; }
.hero__chip--b { animation-delay: 1.6s; }
@keyframes chipIn { from { opacity: 0; transform: scale(.6); } }
.stats { animation: fadeUpSoft .9s cubic-bezier(.2,.8,.2,1) 1.5s both; }
/* 「無料」タグにときどき光が走る */
.btn .tag { position: relative; overflow: hidden; }
.btn .tag::after { content: ""; position: absolute; top: 0; bottom: 0; left: -60%; width: 40%; background: linear-gradient(90deg, transparent, rgba(255,255,255,.75), transparent); transform: skewX(-20deg); animation: shine 4s ease-in-out 2.4s infinite; }
@keyframes shine { 0% { left: -60%; } 25%, 100% { left: 130%; } }
@media (prefers-reduced-motion: reduce) {
  .hero__title .line > span, .hero__label, .hero__lead .fade-line, .hero__actions .btn, .hero__logo, .hero__visual .ticket--hero, .hero__chip, .stats, .btn .tag::after { animation: none !important; }
  .sweep::after { animation: none; transform: none; }
}

/* ---------- About ---------- */
.about__grid { display: grid; grid-template-columns: 1.05fr 1fr; gap: 72px; align-items: center; }
.h-sm { font-size: 18px !important; font-weight: 700; color: var(--green-700); line-height: 1.6; }
.catch { margin: 20px 0 28px; font-size: clamp(28px, 3.4vw, 42px); font-weight: 900; line-height: 1.45; color: var(--ink); }
.catch em { font-style: normal; color: var(--green); }
.marker { background: linear-gradient(transparent 70%, var(--green-100) 70%); }
.about__text > p:not(.eyebrow):not(.catch) { color: var(--muted); }
.about__photo { margin-top: 36px; border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow); }
.about__photo img { width: 100%; aspect-ratio: 945 / 506; object-fit: cover; }

.cycle { position: relative; aspect-ratio: 1; max-width: 520px; width: 100%; margin-inline: auto; color: var(--green); }
.cycle__ring { position: absolute; inset: 6%; width: 88%; height: 88%; }
.cycle__ring path { fill: none; stroke: currentColor; stroke-width: 22; stroke-linecap: round; opacity: .9; }
.cycle__ring path:nth-child(3) { opacity: .65; }
.cycle__ring path:nth-child(4) { opacity: .45; }
.cycle__center { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); width: 34%; aspect-ratio: 1; border-radius: 50%; background: var(--green); color: #fff; display: grid; place-items: center; text-align: center; font-weight: 700; font-size: 16px; line-height: 1.5; box-shadow: 0 0 0 12px var(--green-50), var(--shadow-lg); }
.cycle__node { position: absolute; background: #fff; border-radius: var(--radius); box-shadow: var(--shadow-lg); padding: 14px 18px; text-align: center; display: flex; flex-direction: column; gap: 2px; min-width: 200px; }
.cycle__node b { font-size: 15px; color: var(--ink); }
.cycle__node span { font-size: 12px; color: var(--muted); }
.cycle__node--top { top: -2%; left: 50%; transform: translateX(-50%); }
.cycle__node--right { bottom: 14%; right: -6%; }
.cycle__node--left { bottom: 14%; left: -6%; }
.cycle__caption { position: absolute; bottom: -10%; left: 0; right: 0; text-align: center; font-weight: 700; color: var(--green-700); font-size: 17px; line-height: 1.6; }

/* ---------- Problem ---------- */
.problem { background: var(--soft); }
.problem__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; }
.case-card { background: #fff; border-radius: var(--radius-lg); padding: 40px; box-shadow: var(--shadow); display: flex; flex-direction: column; }
.case-card__no { font-family: var(--font-en); font-weight: 700; letter-spacing: .2em; font-size: 13px; color: #8a9a93; }
.case-card h3 { font-size: 22px; margin: 12px 0 16px; }
.case-card > p:not(.case-card__no) { color: var(--muted); font-size: 15px; }
.route { margin-top: auto; padding-top: 32px; display: flex; align-items: center; gap: 10px; }
.route__box { flex: 1; text-align: center; padding: 14px 8px; border: 1px solid var(--line); border-radius: 12px; font-weight: 700; font-size: 14px; color: var(--ink); background: #fff; }
.route__box--ghost { border-style: dashed; color: #9aa7a1; }
.route__arrow { width: 28px; height: 2px; background: #8a9a93; position: relative; flex-shrink: 0; }
.route__arrow::after { content: ""; position: absolute; right: -1px; top: -4px; border: 5px solid transparent; border-left: 7px solid #8a9a93; }
.route__cut { color: #e5533d; font-weight: 700; font-size: 18px; flex-shrink: 0; }
.mailbar { margin-top: auto; padding-top: 32px; }
.mailbar p { font-size: 14px; color: var(--muted); }
.mailbar b { color: var(--ink); }
.mailbar__track { height: 14px; border-radius: 999px; background: #e3e9e6; margin: 10px 0; overflow: hidden; }
.mailbar__fill { display: block; width: 25%; height: 100%; border-radius: 999px; background: var(--ink); }

/* ---------- Answer ---------- */
.answer { background: var(--ink); color: #fff; overflow: hidden; }
.answer__bg { position: absolute; inset: 0; }
.answer__bg img { width: 100%; height: 100%; object-fit: cover; opacity: .18; filter: grayscale(.3); }
.answer__bg::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(11,26,20,.4), var(--ink) 92%); }
.answer .container { position: relative; }
.answer__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.checks { display: flex; flex-direction: column; gap: 30px; }
.checks li { position: relative; padding-left: 56px; display: flex; flex-direction: column; gap: 4px; }
.checks li::before { content: ""; position: absolute; left: 0; top: 2px; width: 38px; height: 38px; border-radius: 50%; background: var(--green) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12l5 5L20 7'/%3E%3C/svg%3E") center / 20px no-repeat; }
.checks b { font-size: 21px; line-height: 1.5; }
.checks span { color: rgba(255,255,255,.7); font-size: 15px; }
.equation { display: flex; flex-direction: column; align-items: stretch; gap: 8px; }
.equation__item { background: #fff; color: var(--ink); border-radius: var(--radius); padding: 18px 24px; display: flex; flex-direction: column; gap: 2px; }
.equation__item b { font-size: 18px; }
.equation__item span { font-size: 13px; color: var(--muted); }
.equation__item--result { background: var(--green); color: #fff; padding: 24px; }
.equation__item--result b { font-size: 22px; }
.equation__item--result span { color: rgba(255,255,255,.92); }
.equation__op { text-align: center; font-size: 22px; font-weight: 700; color: #7ee2a6; line-height: 1; }
.benefits { margin-top: 72px; display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.benefit { display: flex; gap: 20px; align-items: flex-start; background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.12); border-radius: var(--radius-lg); padding: 28px 30px; }
.benefit__icon { flex-shrink: 0; width: 52px; height: 52px; border-radius: 50%; background: rgba(6,199,85,.18); display: grid; place-items: center; }
.benefit__icon svg { width: 26px; height: 26px; fill: none; stroke: #7ee2a6; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.benefit h3 { color: #fff; font-size: 18px; margin-bottom: 6px; }
.benefit p { color: rgba(255,255,255,.72); font-size: 14px; }

/* ---------- Difference ---------- */
.journey { border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 32px 36px; background: #fff; }
.journey + .journey { margin-top: 20px; }
.journey__title { font-weight: 700; font-size: 16px; color: var(--ink); margin-bottom: 18px; }
.journey__steps { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 0; }
.journey__steps li { display: inline-flex; align-items: center; font-weight: 700; font-size: 15px; padding: 11px 22px; border-radius: 999px; background: var(--ink-2); color: #fff; }
.journey__steps li + li { margin-left: 34px; position: relative; }
.journey__steps li + li::before { content: ""; position: absolute; left: -22px; top: 50%; width: 8px; height: 8px; border-top: 2px solid #9aa7a1; border-right: 2px solid #9aa7a1; transform: translateY(-50%) rotate(45deg); }
.journey__steps .is-end { background: #7d8682; font-weight: 500; }
.journey--cb { background: var(--green); border-color: var(--green); box-shadow: 0 20px 48px rgba(6,199,85,.28); }
.journey--cb .journey__title { color: #fff; }
.journey--cb .journey__steps li { background: rgba(255,255,255,.22); }
.journey--cb .journey__steps .is-key { background: #fff; color: var(--green-700); }
.journey--cb .journey__steps li + li::before { border-color: #fff; }
.journey__loop { margin-top: 22px; display: flex; gap: 12px; align-items: flex-start; color: #fff; font-size: 14px; line-height: 1.75; }
.journey__loop svg { flex-shrink: 0; width: 24px; height: 24px; fill: none; stroke: #fff; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; margin-top: 2px; }

/* ---------- Features ---------- */
.features { background: var(--soft); overflow-x: clip; }
.fgrid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-bottom: 120px; }
.fgrid li { background: #fff; border-radius: var(--radius); padding: 26px 26px 28px; box-shadow: 0 2px 0 var(--line); transition: transform .25s, box-shadow .25s; }
.fgrid li:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.ico { width: 52px; height: 52px; border-radius: 50%; background: var(--green-50); display: grid; place-items: center; margin-bottom: 16px; }
.ico svg { width: 26px; height: 26px; fill: none; stroke: var(--green-600); stroke-width: 1.9; stroke-linecap: round; stroke-linejoin: round; }
.fgrid h3 { font-size: 18px; margin-bottom: 6px; }
.fgrid p { font-size: 14px; color: var(--muted); line-height: 1.75; }

.feature { display: grid; grid-template-columns: 1fr 1fr; gap: 72px; align-items: center; }
.feature + .feature { margin-top: 128px; }
.feature--wide { grid-template-columns: .8fr 1.3fr; gap: 56px; }
.feature__photo { object-position: 75% center; }
.feature--rev .feature__visual { order: -1; }
.feature__no { font-family: var(--font-en); font-weight: 600; font-size: 13px; letter-spacing: .14em; color: var(--green-600); margin-bottom: 14px; }
.feature h3 { font-size: clamp(24px, 2.6vw, 32px); font-weight: 900; line-height: 1.5; margin-bottom: 18px; }
.feature__text > p:not(.feature__no):not(.badges) { color: var(--muted); }
.steps-v { margin-top: 28px; counter-reset: s; display: flex; flex-direction: column; gap: 18px; }
.steps-v li { counter-increment: s; position: relative; padding-left: 58px; display: flex; flex-direction: column; gap: 2px; }
.steps-v li::before { content: "0" counter(s); position: absolute; left: 0; top: 0; width: 40px; height: 40px; border-radius: 50%; background: var(--green); color: #fff; display: grid; place-items: center; font-family: var(--font-en); font-weight: 600; font-size: 13px; }
.steps-v b { font-size: 16px; color: var(--ink); }
.steps-v span { font-size: 14px; color: var(--muted); }
.mini-cards { margin-top: 28px; display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.mini-cards > div { background: #fff; border-radius: var(--radius); padding: 18px 20px; box-shadow: 0 2px 0 var(--line); display: flex; flex-direction: column; gap: 4px; }
.mini-cards__en { font-family: var(--font-en); font-size: 11px; letter-spacing: .2em; color: var(--green-600); font-weight: 600; text-transform: uppercase; }
.mini-cards b { color: var(--ink); }
.mini-cards span { font-size: 13px; color: var(--muted); line-height: 1.7; }

.tagmap { background: #fff; border-radius: var(--radius-lg); padding: 32px; box-shadow: var(--shadow); }
.tagmap__title { font-weight: 700; color: var(--ink); margin-bottom: 18px; }
.tagmap ul { display: flex; flex-direction: column; gap: 12px; }
.tagmap li { display: grid; grid-template-columns: 150px 1fr; align-items: center; gap: 28px; position: relative; }
.tagmap li::after { content: ""; position: absolute; left: 160px; top: 50%; width: 7px; height: 7px; border-top: 2px solid var(--green); border-right: 2px solid var(--green); transform: translateY(-50%) rotate(45deg); }
.tagmap__tag { background: var(--green); color: #fff; font-weight: 700; font-size: 14px; text-align: center; border-radius: 999px; padding: 11px 10px; }
.tagmap__msg { border: 1px solid var(--line); border-radius: 10px; padding: 11px 16px; font-size: 14px; color: var(--ink); background: #fff; }
.tagmap__chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 24px; padding-top: 22px; border-top: 1px dashed var(--line); }
.tagmap__chips span { background: var(--green-50); color: var(--green-700); font-weight: 700; font-size: 13px; border-radius: 999px; padding: 7px 16px; }

.phone { width: min(280px, 80%); margin-inline: auto; background: var(--ink); border-radius: 42px; padding: 14px; box-shadow: var(--shadow-lg); }
.phone__screen { background: #fff; border-radius: 30px; overflow: hidden; padding-bottom: 28px; min-height: 470px; }
.phone__bar { background: var(--green); color: #fff; text-align: center; font-weight: 700; padding: 34px 0 14px; }
.phone__ticket { margin: 18px 16px 0; background: var(--green-50); border-radius: 14px; padding: 18px 18px 26px; position: relative; }
.phone__en { font-family: var(--font-en); font-size: 11px; letter-spacing: .2em; color: var(--green-600); font-weight: 600; }
.phone__seat { font-weight: 700; font-size: 18px; color: var(--ink); margin: 4px 0 18px; }
.phone__stamp { display: inline-block; transform: rotate(-8deg); border: 3px solid #e5533d; color: #e5533d; font-weight: 900; border-radius: 8px; padding: 6px 14px; font-size: 17px; background: #fff; }
.phone__btns { display: flex; gap: 10px; justify-content: center; margin-top: 22px; }
.phone__btns span { font-size: 13px; font-weight: 700; border-radius: 999px; padding: 8px 18px; border: 1px solid var(--line); color: var(--ink); }
.phone__btns .is-use { background: #ffd43b; border-color: #ffd43b; }

.dots { margin-top: 26px; display: flex; flex-direction: column; gap: 14px; }
.dots li { position: relative; padding-left: 26px; display: flex; flex-direction: column; }
.dots li::before { content: ""; position: absolute; left: 0; top: 9px; width: 12px; height: 12px; border-radius: 50%; background: var(--green); }
.dots b { font-size: 16px; color: var(--ink); }
.dots span { font-size: 14px; color: var(--muted); }

.portal { background: #fff; border-radius: var(--radius-lg); box-shadow: var(--shadow-lg); overflow: hidden; }
.portal__bar { display: flex; align-items: center; gap: 7px; padding: 14px 20px; background: #f1f5f3; border-bottom: 1px solid var(--line); font-size: 13px; color: var(--muted); }
.portal__bar i { width: 10px; height: 10px; border-radius: 50%; background: #d3dbd7; }
.portal__bar span { margin-left: 10px; }
.portal__bar em { margin-left: auto; font-style: normal; font-size: 11px; font-weight: 700; color: #8a5a00; background: #fff4d6; border-radius: 999px; padding: 3px 10px; white-space: nowrap; }
.portal__body { padding: 24px; }
.portal__kpis { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.portal__kpis div { border: 1px solid var(--line); border-radius: 10px; padding: 14px; display: flex; flex-direction: column; gap: 10px; }
.portal__kpis span { font-size: 12px; font-weight: 700; color: var(--ink); }
.portal__kpis i { height: 6px; width: 70%; border-radius: 6px; background: #cfd8d4; }
.portal__kpis small { font-size: 11px; color: var(--muted); }
.portal__label { margin: 22px 0 12px; font-weight: 700; font-size: 14px; color: var(--ink); padding-left: 10px; border-left: 3px solid var(--green); line-height: 1.3; }
.portal__bars { border: 1px solid var(--line); border-radius: 10px; padding: 16px; display: flex; flex-direction: column; gap: 12px; }
.portal__bars li { display: grid; grid-template-columns: 64px 1fr; align-items: center; font-size: 12px; color: var(--muted); }
.portal__bars i { display: block; height: 10px; border-radius: 10px; background: linear-gradient(90deg, var(--green-700) var(--w), #e8eeeb var(--w)); }

.badges { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 24px; }
.badge { font-size: 13px; font-weight: 700; border-radius: 999px; padding: 8px 16px; border: 1px solid var(--line); color: var(--muted); background: #fff; }
.badge--on { background: var(--green); border-color: var(--green); color: #fff; }
.funnel { display: flex; flex-direction: column; align-items: center; gap: 0; }
.funnel li { position: relative; display: flex; flex-direction: column; align-items: center; text-align: center; background: #fff; border-radius: var(--radius); padding: 20px; box-shadow: var(--shadow); }
.funnel li:nth-child(1) { width: 100%; }
.funnel li:nth-child(2) { width: 84%; }
.funnel li:nth-child(3) { width: 68%; }
.funnel li + li { margin-top: 36px; }
.funnel li + li::before { content: ""; position: absolute; top: -28px; left: 50%; width: 2px; height: 20px; background: var(--green); }
.funnel li + li::after { content: ""; position: absolute; top: -12px; left: calc(50% - 5px); border: 6px solid transparent; border-top: 7px solid var(--green); }
.funnel b { font-size: 17px; color: var(--ink); }
.funnel span { font-size: 13px; color: var(--muted); }
.funnel .is-key { background: var(--green); }
.funnel .is-key b, .funnel .is-key span { color: #fff; }
.funnel__caption { text-align: center; margin-top: 22px; font-weight: 700; color: var(--green-700); }

/* ---------- Case ---------- */
.case { background: var(--ink); color: #fff; }
.rise { display: grid; grid-template-columns: 1fr 1.05fr; background: var(--ink-2); border-radius: var(--radius-lg); overflow: hidden; border: 1px solid rgba(255,255,255,.08); }
.rise__photo { position: relative; min-height: 100%; }
.rise__photo img { width: 100%; height: 100%; object-fit: cover; }
.rise__photo small { position: absolute; right: 12px; bottom: 10px; font-size: 11px; color: rgba(255,255,255,.85); text-shadow: 0 1px 4px rgba(0,0,0,.6); }
.rise__body { padding: 48px; display: flex; flex-direction: column; gap: 18px; }
.rise__tag { align-self: flex-start; font-size: 12px; font-weight: 700; background: var(--green); color: #fff; border-radius: 999px; padding: 4px 14px; }
.rise h3 { color: #fff; font-size: 26px; }
.rise__lead { color: rgba(255,255,255,.78); font-size: 15px; }
.rise__stat { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 10px; background: #fff; color: var(--ink); border-radius: var(--radius); padding: 18px 24px; }
.rise__num { font-family: var(--font-en); font-weight: 700; font-size: 64px; line-height: 1; color: var(--green); }
.rise__unit { font-weight: 900; font-size: 22px; color: var(--green-600); }
.rise__stat p { width: 100%; font-size: 14px; font-weight: 500; }
.rise__dl { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.rise__dl > div { background: rgba(255,255,255,.06); border-radius: var(--radius); padding: 16px 18px; }
.rise__dl dt { font-family: var(--font-en); font-size: 11px; letter-spacing: .2em; color: #7ee2a6; text-transform: uppercase; font-weight: 600; }
.rise__dl dd { font-size: 13px; color: rgba(255,255,255,.75); line-height: 1.7; }
.rise__dl dd b { display: block; color: #fff; font-size: 15px; margin: 2px 0 6px; }
.case__more { margin-top: 72px; }
.case__more-title { font-weight: 700; margin-bottom: 20px; color: rgba(255,255,255,.9); }
.news { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; margin-bottom: 32px; }
.news__item { display: flex; flex-direction: column; gap: 12px; font-size: 14px; font-weight: 700; color: #fff; }
.news__item img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; border-radius: 12px; transition: transform .3s, opacity .3s; background: #22362d; }
.news__item:hover img { opacity: .85; transform: translateY(-3px); }

/* ---------- Compare ---------- */
.table-wrap { overflow-x: auto; border-radius: var(--radius-lg); box-shadow: var(--shadow); background: #fff; }
.ctable { width: 100%; min-width: 760px; border-collapse: collapse; font-size: 15px; }
.ctable th, .ctable td { padding: 22px 24px; text-align: left; vertical-align: top; border-bottom: 1px solid var(--line); line-height: 1.7; }
.ctable thead th { background: #f1f5f3; font-size: 14px; color: var(--muted); }
.ctable thead th.is-cb { background: var(--green); color: #fff; font-size: 17px; }
.ctable tbody th { width: 20%; color: var(--ink); white-space: nowrap; }
.ctable td { width: 40%; color: var(--muted); }
.ctable td.is-cb { background: var(--green-50); color: var(--ink); font-weight: 500; }
.ctable .is-star th::before { content: "★ "; color: var(--green); }
.ctable tbody tr:last-child > * { border-bottom: 0; }

/* ---------- Support ---------- */
.support { background: var(--soft); }
.support__grid { display: grid; grid-template-columns: .92fr 1.25fr; gap: 28px; align-items: start; }
.panel { background: #fff; border-radius: var(--radius-lg); padding: 40px; box-shadow: var(--shadow); }
.panel__en { font-family: var(--font-en); font-weight: 600; letter-spacing: .18em; font-size: 12px; color: var(--green-600); text-transform: uppercase; }
.panel h3 { font-size: 24px; font-weight: 900; margin: 8px 0 14px; }
.panel > p:not(.panel__en):not(.panel__sub):not(.note) { color: var(--muted); font-size: 15px; }
.panel__sub { margin: 26px 0 12px; font-weight: 700; color: var(--ink); font-size: 14px; }
.pills { display: flex; flex-wrap: wrap; gap: 8px; }
.pills li { font-size: 13px; font-weight: 700; color: var(--ink); background: var(--soft); border-radius: 999px; padding: 8px 14px 8px 32px; position: relative; }
.pills li::before { content: ""; position: absolute; left: 12px; top: 50%; width: 12px; height: 12px; border-radius: 50%; background: var(--green); transform: translateY(-50%); }
.mini-steps { counter-reset: m; display: flex; flex-direction: column; gap: 14px; }
.mini-steps li { counter-increment: m; position: relative; padding-left: 46px; display: flex; flex-direction: column; }
.mini-steps li::before { content: "0" counter(m); position: absolute; left: 0; top: 0; width: 32px; height: 32px; border-radius: 50%; background: var(--ink); color: #7ee2a6; display: grid; place-items: center; font-family: var(--font-en); font-size: 12px; font-weight: 600; }
.mini-steps b { font-size: 15px; color: var(--ink); }
.mini-steps span { font-size: 13px; color: var(--muted); }
.videos { display: grid; grid-template-columns: 200px 1fr; gap: 16px; margin-top: 26px; }
.videos__count { background: var(--green); color: #fff; border-radius: var(--radius); padding: 22px 20px; display: flex; flex-direction: column; }
.videos__count > span { font-family: var(--font-en); font-size: 11px; letter-spacing: .2em; text-transform: uppercase; font-weight: 600; opacity: .9; }
.videos__count b { font-family: var(--font-en); font-size: 72px; line-height: 1.1; }
.videos__count em { font-style: normal; font-weight: 700; font-size: 20px; margin-left: 4px; }
.videos__count p { font-weight: 700; }
.videos__count small { margin-top: 12px; padding-top: 12px; border-top: 1px solid rgba(255,255,255,.3); font-size: 12px; line-height: 1.7; opacity: .92; }
.videos__list { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.videos__list li { border: 1px solid var(--line); border-radius: 12px; padding: 12px 14px; display: flex; flex-wrap: wrap; align-items: baseline; gap: 0 8px; }
.videos__list b { font-size: 14px; color: var(--ink); }
.videos__list em { font-style: normal; font-size: 12px; font-weight: 700; color: var(--green-600); }
.videos__list span { width: 100%; font-size: 12px; color: var(--muted); line-height: 1.6; margin-top: 4px; }

/* ---------- Price ---------- */
.price__grid { display: grid; grid-template-columns: 1.15fr 1fr; gap: 28px; align-items: stretch; }
.price-board { background: var(--green); color: #fff; border-radius: var(--radius-lg); padding: 16px 44px; box-shadow: 0 24px 56px rgba(6,199,85,.3); }
.price-board > div { display: flex; justify-content: space-between; align-items: baseline; padding: 26px 0; }
.price-board > div + div { border-top: 1px solid rgba(11,26,20,.25); }
.price-board dt { font-size: 22px; font-weight: 700; }
.price-board dd { font-size: 20px; font-weight: 700; }
.price-board b { font-family: var(--font-en); font-size: 56px; line-height: 1; margin: 0 4px; }
.price__side { display: flex; flex-direction: column; gap: 16px; }
.price-note { flex: 1; background: var(--green-50); border: 1px solid var(--green-100); border-radius: var(--radius-lg); padding: 28px 30px; }
.price-note h3 { font-size: 21px; margin-bottom: 8px; }
.price-note p { color: var(--muted); font-size: 15px; }
.price-note--gray { background: var(--soft); border-color: var(--line); }

/* ---------- Flow ---------- */
.flow { background: var(--soft); }
.flow__list { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; counter-reset: f; }
.flow__list li { position: relative; background: #fff; border-radius: var(--radius-lg); padding: 30px 26px; box-shadow: var(--shadow); }
.flow__list li:not(:last-child)::after { content: ""; position: absolute; right: -19px; top: 50%; z-index: 1; width: 14px; height: 14px; border-top: 3px solid var(--green); border-right: 3px solid var(--green); transform: translateY(-50%) rotate(45deg); }
.flow__no { font-family: var(--font-en); font-weight: 700; font-size: 34px; color: var(--green); line-height: 1; }
.flow__list h3 { font-size: 19px; margin: 14px 0 8px; }
.flow__list p { font-size: 14px; color: var(--muted); }
.flow__note { margin-top: 32px; text-align: center; font-weight: 700; color: var(--ink); background: #fff; border-radius: 999px; padding: 16px 24px; }

/* ---------- FAQ ---------- */
.faq .head { text-align: center; margin-inline: auto; }
.faq .eyebrow { justify-content: center; }
.faq__list { display: flex; flex-direction: column; gap: 12px; }
.qa { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); transition: border-color .2s, box-shadow .2s; }
.qa[open] { border-color: var(--green-100); box-shadow: var(--shadow); }
.qa summary { list-style: none; cursor: pointer; position: relative; padding: 22px 64px 22px 68px; font-weight: 700; color: var(--ink); }
.qa summary::-webkit-details-marker { display: none; }
.qa summary::before, .qa__a::before { position: absolute; left: 22px; width: 32px; height: 32px; border-radius: 50%; display: grid; place-items: center; font-family: var(--font-en); font-weight: 700; font-size: 14px; }
.qa summary::before { content: "Q"; top: 50%; transform: translateY(-50%); background: var(--green); color: #fff; }
.qa summary::after { content: ""; position: absolute; right: 26px; top: 50%; width: 10px; height: 10px; border-right: 2px solid var(--ink); border-bottom: 2px solid var(--ink); transform: translateY(-70%) rotate(45deg); transition: transform .25s; }
.qa[open] summary::after { transform: translateY(-30%) rotate(-135deg); }
.qa__a { position: relative; padding: 0 28px 24px 68px; }
.qa__a::before { content: "A"; top: -4px; background: var(--ink); color: #7ee2a6; }
.qa__a p { color: var(--muted); font-size: 15px; }

/* ---------- Column ---------- */
.column { background: var(--soft); }
.columns { display: grid; grid-template-columns: repeat(4, 1fr); gap: 32px 22px; }
.col-card { display: flex; flex-direction: column; gap: 10px; }
.col-card img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; border-radius: 12px; background: #e3e9e6; transition: transform .3s, box-shadow .3s; }
.col-card:hover img { transform: translateY(-4px); box-shadow: var(--shadow); }
.col-card time { font-family: var(--font-en); font-size: 12px; color: var(--muted); }
.col-card h3 { font-size: 15px; line-height: 1.65; }
.col-card:hover h3 { color: var(--green-700); }

/* ---------- Contact ---------- */
.contact { padding: 0 0 128px; background: var(--soft); }
.contact__box { position: relative; overflow: hidden; display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; background: var(--green); border-radius: 32px; padding: 72px 64px; color: #fff; }
.contact__box::before { content: ""; position: absolute; right: -120px; top: -120px; width: 420px; height: 420px; border-radius: 50%; background: rgba(255,255,255,.08); }
.contact__text, .contact__cards { position: relative; }
.contact__text h2 { color: #fff; font-size: clamp(30px, 3.6vw, 44px); font-weight: 900; margin-bottom: 16px; }
.contact__text p:last-child { color: rgba(255,255,255,.92); }
.contact__cards { display: flex; flex-direction: column; gap: 14px; }
.cta-card { position: relative; display: flex; align-items: center; gap: 18px; background: #fff; color: var(--ink); border-radius: 18px; padding: 24px 64px 24px 24px; box-shadow: 0 10px 28px rgba(0,60,25,.18); transition: transform .2s; }
.cta-card:hover { transform: translateY(-3px); }
.cta-card::after { content: ""; position: absolute; right: 22px; top: 50%; width: 30px; height: 30px; border-radius: 50%; transform: translateY(-50%); background: var(--green) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12h14M13 6l6 6-6 6'/%3E%3C/svg%3E") center / 15px no-repeat; }
.cta-card__icon { flex-shrink: 0; width: 54px; height: 54px; border-radius: 50%; background: var(--green-50); display: grid; place-items: center; }
.cta-card__icon svg { width: 26px; height: 26px; fill: none; stroke: var(--green-600); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.cta-card__body { display: flex; flex-direction: column; gap: 2px; }
.cta-card__body b { font-size: 19px; }
.cta-card__body span { font-size: 13px; color: var(--muted); }
.cta-card--ink { background: var(--ink); color: #fff; }
.cta-card--ink .cta-card__icon { background: rgba(255,255,255,.1); }
.cta-card--ink .cta-card__icon svg { stroke: #7ee2a6; }
.cta-card--ink .cta-card__body span { color: rgba(255,255,255,.7); }


/* ---------- Scenes ---------- */
.head--center { text-align: center; margin-inline: auto; }
.head--center .eyebrow { justify-content: center; }
.head--center .head__lead { margin-inline: auto; }
.scenes { padding-bottom: 0; overflow: hidden; }
.scene-list { display: grid; grid-template-columns: repeat(5, 1fr); gap: 16px; }
.scene-list li { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 30px 16px 26px; text-align: center; display: flex; flex-direction: column; align-items: center; gap: 4px; transition: transform .25s, box-shadow .25s, border-color .25s; }
.scene-list li:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: var(--green-100); }
.scene-ico { width: 84px; height: 84px; border-radius: 50%; background: var(--green-50); display: grid; place-items: center; margin-bottom: 12px; }
.scene-ico svg { width: 44px; height: 44px; fill: none; stroke: var(--green-600); stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }
.scene-list b { font-size: 17px; color: var(--ink); }
.scene-list span { font-size: 13px; color: var(--muted); line-height: 1.6; }
.photo-strip { margin-top: 88px; overflow: hidden; }
.photo-strip__track { display: flex; gap: 16px; width: max-content; animation: strip 60s linear infinite; }
.photo-strip img { height: 260px; width: auto; aspect-ratio: 3 / 2; object-fit: cover; border-radius: 18px; }
@keyframes strip { to { transform: translateX(calc(-50% - 8px)); } }

/* ---------- Visual helpers ---------- */
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 24px; }
.chips li { font-size: 13px; font-weight: 700; color: var(--green-700); background: #fff; border: 1px solid var(--green-100); border-radius: 999px; padding: 8px 16px; }
.feature__visual--photo { position: relative; padding: 40px 0; }
.feature__photo { position: absolute; inset: 0 0 0 18%; width: 82%; height: 100%; object-fit: cover; border-radius: var(--radius-lg); }
.feature__visual--photo .phone { position: relative; margin-left: 4%; }
.feature__visual--photo .note { position: relative; text-align: left; margin-left: 4%; }
.browser { margin: 0; background: #fff; border-radius: 16px; overflow: hidden; box-shadow: var(--shadow-lg); border: 1px solid var(--line); }
.browser__bar { display: flex; align-items: center; gap: 7px; padding: 11px 16px; background: #eef3f0; border-bottom: 1px solid var(--line); }
.browser__bar i { width: 10px; height: 10px; border-radius: 50%; background: #d3dbd7; }
.browser__bar i:first-child { background: #ff6159; } .browser__bar i:nth-child(2) { background: #ffbd2e; } .browser__bar i:nth-child(3) { background: #28c941; }
.browser__bar span { margin-left: 10px; font-size: 12px; color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.browser img { width: 100%; height: auto; }
.browser--tilt { transform: perspective(1400px) rotateY(-8deg) rotateX(2deg); transition: transform .5s; }
.browser--tilt:hover { transform: none; }

/* ---------- Support showcase ---------- */
.showcase__tabs { display: flex; justify-content: center; flex-wrap: wrap; gap: 8px; margin-bottom: 32px; }
.showcase__tabs button { display: inline-flex; align-items: center; gap: 8px; border: 1px solid var(--line); background: #fff; color: var(--ink); font-weight: 700; font-size: 14px; border-radius: 999px; padding: 11px 20px; cursor: pointer; transition: all .2s; }
.showcase__tabs button span { font-family: var(--font-en); font-size: 11px; color: var(--green-600); }
.showcase__tabs button.is-active { background: var(--ink); border-color: var(--ink); color: #fff; }
.showcase__tabs button.is-active span { color: #7ee2a6; }
.showcase__panel { display: grid; grid-template-columns: 1.75fr 1fr; gap: 48px; align-items: center; }
.showcase__panel[hidden] { display: none; }
.showcase__panel.is-active { animation: fadeUp .45s ease; }
@keyframes fadeUp { from { opacity: 0; transform: translateY(12px); } }
.showcase__text h3 { font-size: 26px; font-weight: 900; line-height: 1.5; margin-bottom: 20px; }
.ticks { display: flex; flex-direction: column; gap: 12px; }
.ticks li { position: relative; padding-left: 34px; font-weight: 500; color: var(--ink); }
.ticks li::before { content: ""; position: absolute; left: 0; top: 3px; width: 22px; height: 22px; border-radius: 50%; background: var(--green) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12l5 5L20 7'/%3E%3C/svg%3E") center / 13px no-repeat; }
.support-stats { margin-top: 56px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.support-stats li { background: #fff; border-radius: var(--radius-lg); padding: 26px; text-align: center; display: flex; flex-direction: column; gap: 4px; box-shadow: 0 2px 0 var(--line); }
.support-stats b { font-family: var(--font-en); font-size: 40px; line-height: 1.1; color: var(--green); }
.support-stats b small { font-family: var(--font); font-size: 15px; margin-left: 4px; color: var(--ink); }
.support-stats li:last-child b { font-family: var(--font); font-size: 26px; padding: 6px 0; }
.support-stats span { font-size: 14px; color: var(--muted); font-weight: 700; }

.flow__ico { position: absolute; right: 22px; top: 26px; width: 48px; height: 48px; border-radius: 50%; background: var(--green-50); display: grid; place-items: center; }
.flow__ico svg { width: 24px; height: 24px; fill: none; stroke: var(--green-600); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }

@media (max-width: 1080px) {
  .scene-list { grid-template-columns: repeat(3, 1fr); }
  .showcase__panel { grid-template-columns: 1fr; gap: 28px; }
  .browser--tilt { transform: none; }
}
@media (max-width: 768px) {
  .scene-list { grid-template-columns: 1fr 1fr; gap: 10px; }
  .scene-list li { padding: 20px 10px; }
  .scene-list li:last-child { grid-column: span 2; }
  .scene-ico { width: 64px; height: 64px; margin-bottom: 8px; }
  .scene-ico svg { width: 34px; height: 34px; }
  .scene-list b { font-size: 15px; }
  .scene-list span { font-size: 12px; }
  .photo-strip { margin-top: 56px; }
  .photo-strip img { height: 160px; }
  .feature__photo { inset: 0; width: 100%; }
  .feature__visual--photo .phone { margin-inline: auto; }
  .feature__visual--photo .note { text-align: center; margin-left: 0; color: #fff; }
  .showcase__tabs { flex-wrap: nowrap; overflow-x: auto; justify-content: flex-start; margin-inline: -16px; padding: 0 16px 4px; scrollbar-width: none; }
  .showcase__tabs::-webkit-scrollbar { display: none; }
  .showcase__tabs button { flex-shrink: 0; font-size: 13px; padding: 9px 16px; }
  .showcase__text h3 { font-size: 21px; }
  .support-stats { grid-template-columns: 1fr; gap: 10px; }
  .support-stats li { padding: 18px; }
}
@media (prefers-reduced-motion: reduce) { .photo-strip__track { animation: none; } }


/* =========================================================
   Motion & icons（スクロールで画面に入ったときの動き）
   ========================================================= */
/* 順番に表示（data-stagger の子要素を少しずつ遅らせて出す） */
[data-stagger] > * { opacity: 0; transform: translateY(18px); transition: opacity .6s ease, transform .6s cubic-bezier(.2,.8,.2,1); transition-delay: calc(var(--i, 0) * 90ms); }
[data-stagger].is-in > * { opacity: 1; transform: none; }
.journey__steps[data-stagger] > * { transform: translateX(-14px) scale(.9); }
.journey__steps[data-stagger].is-in > * { transform: none; }
tbody[data-stagger] > * { transform: none; }

/* 見出し：英字ラベルの線が伸びる */
.eyebrow::before { transition: width .7s cubic-bezier(.2,.8,.2,1) .15s; }
.reveal:not(.is-in) .eyebrow::before, .eyebrow.reveal:not(.is-in)::before { width: 0; }

/* 課題カード */
.case-card { position: relative; }
.case-card__ill { position: absolute; top: 28px; right: 28px; width: 76px; height: 76px; border-radius: 50%; background: #fff1ee; display: grid; place-items: center; }
.case-card__ill svg { width: 50px; height: 50px; fill: none; stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; }
.ill-ticket, .ill-mail { stroke: #8a9a93; fill: #fff; }
.ill-dash { stroke: #c7d0cc; stroke-dasharray: 3 3; }
.ill-q { stroke: #e5533d; stroke-width: 3; }
.ill-badge { fill: #e5533d; stroke: none; }
.ill-x { stroke: #fff; stroke-width: 3; }
.case-card__ill.is-play { animation: wobble 1s ease .5s both; }
@keyframes wobble { 0% { transform: scale(.4) rotate(-20deg); opacity: 0; } 60% { transform: scale(1.08) rotate(6deg); opacity: 1; } 80% { transform: rotate(-4deg); } 100% { transform: none; } }
.route__box { display: inline-flex; align-items: center; justify-content: center; gap: 6px; }
.route__ico { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; flex-shrink: 0; }
.route > * { opacity: 0; transform: translateX(-10px); transition: opacity .45s ease, transform .45s ease; }
.route.is-play > * { opacity: 1; transform: none; }
.route.is-play > :nth-child(1) { transition-delay: .3s; }
.route.is-play > :nth-child(2) { transition-delay: .5s; }
.route.is-play > :nth-child(3) { transition-delay: .7s; }
.route.is-play > :nth-child(4) { transition-delay: 1s; }
.route.is-play > :nth-child(5) { transition-delay: 1.2s; }
.route.is-play .route__cut { animation: popX .5s cubic-bezier(.3,1.8,.5,1) 1s both; }
@keyframes popX { from { transform: scale(0); } }
.mailbar__fill { width: 0; transition: width 1.4s cubic-bezier(.2,.8,.2,1) .5s; }
.mailbar.is-play .mailbar__fill { width: 25%; }

/* 循環図：矢印を描く・中央が脈打つ */
.cycle__ring path { stroke-dasharray: 1; stroke-dashoffset: 1; transition: stroke-dashoffset 1.1s cubic-bezier(.4,0,.2,1); }
.cycle.is-play .cycle__ring path { stroke-dashoffset: 0; }
.cycle.is-play .cycle__ring path:nth-child(3) { transition-delay: .5s; }
.cycle.is-play .cycle__ring path:nth-child(4) { transition-delay: 1s; }
.cycle__ring marker path { stroke: none; fill: currentColor; stroke-dasharray: none; stroke-dashoffset: 0; opacity: 0; transition: opacity .4s ease 1.9s; }
.cycle.is-play .cycle__ring marker path { opacity: 1; }
.cycle__node { opacity: 0; transition: opacity .5s ease, transform .5s cubic-bezier(.3,1.5,.5,1); }
.cycle__node--top { transform: translateX(-50%) scale(.8); }
.cycle__node--right, .cycle__node--left { transform: scale(.8); }
.cycle.is-play .cycle__node { opacity: 1; }
.cycle.is-play .cycle__node--top { transform: translateX(-50%); transition-delay: .2s; }
.cycle.is-play .cycle__node--right { transform: none; transition-delay: .9s; }
.cycle.is-play .cycle__node--left { transform: none; transition-delay: 1.4s; }
.cycle__center::after { content: ""; position: absolute; inset: 0; border-radius: 50%; border: 3px solid var(--green); animation: pulse 2.4s ease-out infinite; }
@keyframes pulse { from { transform: scale(1); opacity: .7; } to { transform: scale(1.55); opacity: 0; } }

/* 解決：式のアイコンと結果の光 */
.equation__item { position: relative; padding-left: 74px !important; }
.eq-ico { position: absolute; left: 18px; top: 50%; transform: translateY(-50%); width: 42px; height: 42px; border-radius: 50%; background: var(--green-50); display: grid; place-items: center; }
.eq-ico svg { width: 22px; height: 22px; fill: none; stroke: var(--green-600); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.equation__item--result .eq-ico { background: rgba(255,255,255,.22); }
.equation__item--result .eq-ico svg { stroke: #fff; }
.equation.is-in .equation__item--result { animation: glow 2.6s ease-in-out 1.2s infinite; }
@keyframes glow { 50% { box-shadow: 0 0 0 6px rgba(6,199,85,.25), 0 0 40px rgba(6,199,85,.55); } }
.checks li::before { transform: scale(0); transition: transform .5s cubic-bezier(.3,1.8,.5,1); transition-delay: calc(var(--i, 0) * 90ms + .2s); }
.checks.is-in li::before { transform: none; }
.benefit__icon svg { transition: transform .4s; }
.benefit:hover .benefit__icon svg { transform: translateY(-3px) rotate(-6deg); }

/* 流れの比較：くり返しアイコンが回る */
.journey__loop svg { animation: spin 6s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }

/* 機能 */
.fgrid .ico svg { transition: transform .4s cubic-bezier(.3,1.6,.5,1); }
.fgrid li:hover .ico svg { transform: scale(1.18) rotate(-8deg); }
.fgrid .ico { transition: background-color .3s; }
.fgrid li:hover .ico { background: var(--green-100); }
.tagmap ul[data-stagger] > * { transform: translateX(-20px); }
.tagmap ul[data-stagger].is-in > * { transform: none; }
.tagmap__msg { position: relative; }
.phone.is-play .phone__stamp { animation: stamp .55s cubic-bezier(.2,1.6,.4,1) .9s both; }
@keyframes stamp { from { transform: rotate(-8deg) scale(2.4); opacity: 0; } 60% { opacity: 1; } to { transform: rotate(-8deg); } }
.funnel[data-stagger] > * { transform: translateY(-16px); }
.funnel[data-stagger].is-in > * { transform: none; }
.browser--tilt { transform: perspective(1400px) rotateY(-16deg) rotateX(4deg) translateX(30px); opacity: .4; transition: transform 1.2s cubic-bezier(.2,.8,.2,1), opacity 1s ease; }
.feature.is-in .browser--tilt { transform: perspective(1400px) rotateY(-8deg) rotateX(2deg); opacity: 1; }
.feature.is-in .browser--tilt:hover { transform: none; }

/* 事例：写真がゆっくりズーム */
.rise__photo { overflow: hidden; }
.rise__photo img { animation: kenburns 16s ease-in-out infinite alternate; }
@keyframes kenburns { to { transform: scale(1.1) translate(-2%, -1%); } }

/* 料金・比較・サポート */
.pn-ico { float: right; width: 44px; height: 44px; border-radius: 50%; background: #fff; display: grid; place-items: center; margin: -4px -6px 0 12px; }
.pn-ico svg { width: 22px; height: 22px; fill: none; stroke: var(--green-600); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.price-board[data-stagger] > * { transform: translateX(-16px); }
.price-board[data-stagger].is-in > * { transform: none; }
.th-ico { display: inline-grid; place-items: center; width: 24px; height: 24px; border-radius: 50%; background: #fff; margin-right: 8px; vertical-align: -5px; }
.th-ico svg { width: 15px; height: 15px; fill: none; stroke: var(--green); stroke-width: 3; stroke-linecap: round; stroke-linejoin: round; }
.flow__ico svg { transition: transform .4s cubic-bezier(.3,1.6,.5,1); }
.flow__list li:hover .flow__ico svg { transform: scale(1.2); }
.scene-list li .scene-ico svg { transition: transform .4s cubic-bezier(.3,1.6,.5,1); }
.scene-list li:hover .scene-ico svg { transform: scale(1.12) rotate(-6deg); }

@media (prefers-reduced-motion: reduce) {
  [data-stagger] > *, .route > *, .cycle__node { opacity: 1 !important; transform: none !important; transition: none !important; }
  .cycle__node--top { transform: translateX(-50%) !important; }
  .cycle__ring path { stroke-dashoffset: 0; transition: none; }
  .mailbar__fill { width: 25%; transition: none; }
  .cycle__center::after, .journey__loop svg, .rise__photo img, .equation__item--result, .case-card__ill, .phone__stamp, .route__cut { animation: none !important; }
  .browser--tilt { opacity: 1; transform: none; }
}
@media (max-width: 768px) {
  .case-card__ill { width: 56px; height: 56px; top: 22px; right: 18px; }
  .case-card__ill svg { width: 36px; height: 36px; }
  .route__ico { display: none; }
  .equation__item { padding-left: 66px !important; }
  .eq-ico { left: 14px; width: 38px; height: 38px; }
}

/* ---------- Footer ---------- */
.footer { background: var(--ink); color: rgba(255,255,255,.7); padding: 80px 0 32px; font-size: 14px; }
.footer__inner { display: flex; justify-content: space-between; gap: 48px; flex-wrap: wrap; }
.footer__logo { display: inline-block; background: #fff; border-radius: 16px; padding: 10px 14px; }
.footer__logo img { height: 92px; width: auto; }
.footer__brand p { margin: 18px 0; line-height: 1.7; }
.footer__line { display: inline-flex; padding: 10px 18px; border-radius: 999px; background: var(--green); color: #fff; font-weight: 700; font-size: 13px; }
.footer__nav { display: flex; gap: 72px; flex-wrap: wrap; }
.footer__nav div { display: flex; flex-direction: column; gap: 10px; }
.footer__nav p { color: #fff; font-weight: 700; margin-bottom: 4px; }
.footer__nav a:hover { color: #fff; }
.footer__copy { text-align: center; margin-top: 64px; font-family: var(--font-en); font-size: 12px; color: rgba(255,255,255,.45); }

.sp-cta { display: none; }

/* ---------- Scroll reveal ---------- */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity .8s cubic-bezier(.2,.7,.2,1), transform .8s cubic-bezier(.2,.7,.2,1); }
.reveal.is-in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .ticket--hero { animation: none; }
}

/* =========================================================
   Responsive
   ========================================================= */
@media (max-width: 1180px) {
  .header__nav { gap: 18px; font-size: 13px; }
}
@media (max-width: 1080px) {
  .header__nav, .header__cta { display: none; }
  .header__menu { display: flex; }
  .hero__inner { grid-template-columns: 1fr; }
  .hero__visual { max-width: 560px; width: 92%; margin: 8px auto 0; }
  .ticket--hero { width: 100%; }
  .about__grid { grid-template-columns: 1fr; gap: 96px; }
  .feature { grid-template-columns: 1fr; gap: 40px; }
  .feature--rev .feature__visual { order: 0; }
  .fgrid { grid-template-columns: repeat(2, 1fr); }
  .rise { grid-template-columns: 1fr; }
  .rise__photo img { aspect-ratio: 16 / 9; }
  .news, .columns { grid-template-columns: repeat(2, 1fr); }
  .support__grid, .price__grid { grid-template-columns: 1fr; }
  .flow__list { grid-template-columns: repeat(2, 1fr); }
  .flow__list li:nth-child(2)::after { display: none; }
  .contact__box { grid-template-columns: 1fr; padding: 56px 40px; }
}

@media (max-width: 768px) {
  :root { --header-h: 64px; --radius-lg: 20px; }
  html { scroll-padding-top: 80px; }
  body { font-size: 15px; padding-bottom: 76px; }
  .sp { display: inline; }
  .pc { display: none; }
  :root { --gutter: 16px; }
  .section { padding: 88px 0; }
  .head { margin-bottom: 40px; }
  .head h2 { font-size: min(22px, 6.6vw); }
  .head__lead { font-size: 15px; }
  .head--row { flex-direction: column; align-items: flex-start; }

  .header { padding: 8px var(--edge) 0; }
  .header__inner { padding: 0 8px; border-radius: 16px; height: 60px; }
  .header.is-scrolled .header__inner, .header.is-menu .header__inner { height: 60px; padding-left: 12px; }
  .header__logo img { height: 40px; }
  .hero__logo { top: 14px; left: 16px; width: 124px; }

  .hero { padding-top: calc(var(--header-h) + 64px); }
  .hero__label { font-size: 12px; padding: 6px 14px; }
  .hero__title { margin-top: 20px; }
  .hero__lead { font-size: 15px; margin-top: 20px; }
  .hero__lead .fade-line { display: inline; }
  .hero__actions { flex-direction: column; margin-top: 30px; }
  .hero__actions .btn { width: 100%; }
  .hero__visual { width: 100%; padding: 32px 0 48px; }
  .ticket { --notch: 12px; }
  .ticket__meta { gap: 14px; margin-top: 16px; padding-top: 12px; }
  .ticket__meta dd { font-size: 13px; }
  .ticket__qr { width: 64px; height: 64px; }
  .hero__chip { font-size: 12px; padding: 8px 12px; }
  .hero__chip--a { right: 0; }
  .hero__chip--b { left: 0; bottom: 8px; }
  .stats { grid-template-columns: repeat(2, 1fr); margin: 40px 0 -48px; }
  .stats li { padding: 20px 8px; }
  .stats li:nth-child(3) { border-left: 0; }
  .stats li:nth-child(n+3) { border-top: 1px solid var(--line); }
  .stats__value b { font-size: 34px; }
  .hero + .section { padding-top: 136px; }

  .catch { font-size: min(23px, 6.2vw); }
  .hero__title { font-size: min(34px, 9.4vw); }
  .feature h3 { font-size: min(24px, 6.8vw); }
  .cycle { max-width: 360px; }
  .cycle__ring path { stroke-width: 18; }
  .cycle__center { font-size: 13px; }
  .cycle__node { min-width: 0; width: 46%; padding: 10px 10px; }
  .cycle__node b { font-size: 13px; }
  .cycle__node span { font-size: 11px; }
  .cycle__node--top { width: 58%; top: -6%; }
  .cycle__node--right { right: -2%; }
  .cycle__node--left { left: -2%; }
  .cycle__caption { font-size: 14px; bottom: -16%; }

  .problem__grid, .answer__grid, .benefits { grid-template-columns: 1fr; }
  .case-card { padding: 28px 22px; }
  .case-card h3 { font-size: 19px; }
  .route { gap: 6px; }
  .route__box { font-size: 12px; padding: 12px 4px; }
  .route__arrow { width: 16px; }
  .checks b { font-size: 18px; }
  .benefits { margin-top: 48px; }
  .benefit { padding: 22px; }

  .journey { padding: 24px 20px; }
  .journey__steps li { font-size: 13px; padding: 9px 16px; }
  .journey__steps li + li { margin-left: 28px; }
  .journey__steps li + li::before { left: -18px; }

  .fgrid { grid-template-columns: 1fr; gap: 12px; margin-bottom: 88px; }
  .fgrid li { display: grid; grid-template-columns: 52px 1fr; column-gap: 16px; padding: 20px; }
  .fgrid .ico { grid-row: span 2; margin: 0; }
  .feature + .feature { margin-top: 96px; }
  .mini-cards { grid-template-columns: 1fr; }
  .tagmap { padding: 22px 18px; }
  .tagmap li { grid-template-columns: 1fr; gap: 6px; }
  .tagmap li::after { display: none; }
  .tagmap__tag { justify-self: start; padding: 7px 16px; font-size: 13px; }
  .portal__body { padding: 16px; }
  .portal__bar span { display: none; }
  .portal__kpis { gap: 8px; }
  .portal__kpis div { padding: 10px; }

  .rise__body { padding: 28px 22px; }
  .rise h3 { font-size: 22px; }
  .rise__num { font-size: 52px; }
  .rise__dl { grid-template-columns: 1fr; }
  .news { grid-template-columns: 1fr 1fr; gap: 14px; }
  .news__item { font-size: 13px; }

  .ctable { font-size: 14px; }
  .ctable th, .ctable td { padding: 16px; }

  .panel { padding: 28px 22px; }
  .panel h3 { font-size: 21px; }
  .videos { grid-template-columns: 1fr; }
  .videos__list { grid-template-columns: 1fr; }

  .price-board { padding: 6px 24px; }
  .price-board > div { padding: 20px 0; }
  .price-board dt { font-size: 17px; }
  .price-board dd { font-size: 16px; }
  .price-board b { font-size: 42px; }

  .flow__list { grid-template-columns: 1fr; gap: 28px; }
  .flow__list li::after { display: none; }
  .flow__list li:not(:last-child)::before { content: ""; position: absolute; left: 50%; bottom: -21px; width: 12px; height: 12px; border-right: 3px solid var(--green); border-bottom: 3px solid var(--green); transform: translateX(-50%) rotate(45deg); }
  .flow__note { border-radius: var(--radius); font-size: 14px; }

  .qa summary { padding: 18px 48px 18px 58px; font-size: 15px; }
  .qa summary::before, .qa__a::before { left: 16px; width: 30px; height: 30px; }

  .qa summary::after { right: 20px; }
  .qa__a { padding: 0 18px 20px 58px; }

  .columns { grid-template-columns: 1fr; gap: 18px; }
  .col-card { display: grid; grid-template-columns: 40% 1fr; grid-template-rows: auto 1fr; column-gap: 14px; row-gap: 2px; }
  .col-card img { grid-row: 1 / 3; }
  .col-card h3 { font-size: 14px; }

  .contact { padding-bottom: 88px; }
  .contact__box { padding: 44px 20px; border-radius: 24px; gap: 28px; }
  .cta-card { padding: 18px 56px 18px 16px; gap: 14px; }
  .cta-card__icon { width: 46px; height: 46px; }
  .cta-card__body b { font-size: 16px; }
  .cta-card__body span { font-size: 12px; }
  .cta-card::after { right: 16px; }

  .footer__nav { gap: 36px; }
  .footer__logo img { height: 76px; }

  .sp-cta { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; position: fixed; left: 0; right: 0; bottom: 0; z-index: 40; padding: 10px 12px calc(10px + env(safe-area-inset-bottom)); background: rgba(255,255,255,.96); box-shadow: 0 -6px 20px rgba(11,26,20,.1); transform: translateY(110%); transition: transform .3s; }
  .sp-cta.is-show { transform: none; }
  .sp-cta .btn { padding: 14px 8px; font-size: 14px; }
}

/* =========================================================
   スマホ表示の調整（ファーストビューと「とは」セクション）
   ========================================================= */
@media (max-width: 768px) {
  /* ファーストビュー：チケットを見出しの上に、小さめに */
  .hero { padding-top: calc(var(--header-h) + 62px); }
  .hero__inner { gap: 0; }
  .hero__visual { order: -1; width: 76%; max-width: 320px; margin: 0 auto; padding: 14px 0 30px; }
  .ticket__sub { display: none; }
  .ticket__kicker { white-space: nowrap; font-size: 10px; letter-spacing: .16em; }
  .hero__chip { font-size: 11px; padding: 6px 10px; border-radius: 10px; }
  .hero__chip--a { top: -28px; right: -10%; }
  .hero__chip--b { bottom: 8px; left: -6%; }
  .ticket__meta { display: none; }
  .ticket__qr { width: 54px; height: 54px; }
  .hero__label { margin-top: 4px; }
  .hero__title { margin-top: 14px; }
  .hero__lead { margin-top: 14px; }
  .hero__actions { margin-top: 22px; gap: 10px; }
  .hero__actions .btn--lg { padding: 16px 20px; }

  /* 「クラウドバスケットとは」：読みやすく */
  .about__grid { gap: 36px; }
  .about__text > p:not(.eyebrow):not(.catch) { font-size: 14px; }
  .catch { margin: 14px 0 16px; line-height: 1.55; }
  .about__photo { margin-top: 22px; border-radius: 16px; }
  .about__photo img { aspect-ratio: 16 / 8; }

  /* 円の図 → 番号つきカードの縦並び */
  .cycle { aspect-ratio: auto; max-width: none; display: flex; flex-direction: column; gap: 10px; counter-reset: cy; }
  .cycle__ring { display: none; }
  .cycle__center { position: static; transform: none; width: auto; aspect-ratio: auto; align-self: flex-start; border-radius: 999px; padding: 8px 18px; font-size: 13px; box-shadow: none; margin-bottom: 4px; }
  .cycle__center br { display: none; }
  .cycle__center::after { display: none; }
  .cycle__node, .cycle.is-play .cycle__node { position: relative; inset: auto; transform: none !important; width: 100%; min-width: 0; text-align: left; align-items: flex-start; padding: 16px 18px 16px 66px; box-shadow: 0 2px 0 var(--line); border: 1px solid var(--line); counter-increment: cy; }
  .cycle__node::before { content: counter(cy); position: absolute; left: 18px; top: 50%; transform: translateY(-50%); width: 34px; height: 34px; border-radius: 50%; background: var(--green); color: #fff; display: grid; place-items: center; font-family: var(--font-en); font-weight: 700; font-size: 15px; }
  .cycle__node b { font-size: 16px; }
  .cycle__node span { font-size: 13px; }
  .cycle__node--top { order: 1; }
  .cycle__node--left { order: 2; }
  .cycle__node--right { order: 3; }
  .cycle__node:not(.cycle__node--right)::after { content: ""; position: absolute; left: 31px; bottom: -11px; z-index: 1; width: 8px; height: 8px; border-right: 2px solid var(--green); border-bottom: 2px solid var(--green); transform: rotate(45deg); background: #fff; }
  .cycle__caption { position: static; order: 4; text-align: left; font-size: 15px; margin-top: 8px; }
  .cycle__caption br { display: none; }
}

/* =========================================================
   スマホ：全体をひと回りコンパクトに（文字・余白・カード）
   ========================================================= */
@media (max-width: 768px) {
  body { font-size: 14px; line-height: 1.75; padding-bottom: 64px; }
  .section { padding: 56px 0; }
  .hero + .section { padding-top: 96px; }
  .head { margin-bottom: 28px; }
  .head h2 { font-size: min(20px, 5.8vw); line-height: 1.5; }
  .head__lead { font-size: 13px; margin-top: 10px; }
  .eyebrow { font-size: 10px; margin-bottom: 8px; gap: 8px; }
  .eyebrow::before { width: 20px; }
  .note { font-size: 11px; margin-top: 12px; }
  .btn { font-size: 14px; }
  .btn--lg { padding: 14px 20px; font-size: 15px; }

  /* ヘッダー・ファーストビュー */
  .header__inner { height: 52px; }
  .header.is-scrolled .header__inner, .header.is-menu .header__inner { height: 52px; }
  .header__menu { width: 40px; height: 40px; padding: 12px 10px; }
  .header__logo img { height: 34px; }
  .hero__logo { width: 100px; top: 12px; }
  .hero { padding-top: calc(var(--header-h) + 40px); }
  .hero__visual { width: 72%; max-width: 290px; padding: 10px 0 22px; }
  .hero__chip { font-size: 10px; padding: 5px 9px; }
  .ticket__name { font-size: 5.2cqw; letter-spacing: .04em; }
  .hero__label { font-size: 11px; padding: 5px 12px; }
  .hero__title { font-size: min(30px, 8.4vw); margin-top: 12px; line-height: 1.3; }
  .hero__lead { font-size: 13px; line-height: 1.8; margin-top: 12px; }
  .hero__actions { margin-top: 18px; gap: 8px; }
  .hero__actions .btn--lg { padding: 13px 18px; }
  .stats { margin: 28px 0 -40px; border-radius: 16px; }
  .stats li { padding: 12px 6px; gap: 0; }
  .stats__label { font-size: 11px; }
  .stats__value { font-size: 13px; }
  .stats__value b { font-size: 26px; }

  /* とは */
  .about__grid { gap: 28px; }
  .h-sm { font-size: 14px !important; }
  .catch { font-size: min(20px, 5.6vw); margin: 10px 0 12px; }
  .about__text > p:not(.eyebrow):not(.catch) { font-size: 13px; }
  .about__photo { margin-top: 16px; border-radius: 12px; }
  .cycle { gap: 8px; }
  .cycle__center { font-size: 12px; padding: 6px 14px; }
  .cycle__node, .cycle.is-play .cycle__node { padding: 11px 14px 11px 54px; border-radius: 12px; }
  .cycle__node::before { left: 14px; width: 28px; height: 28px; font-size: 13px; }
  .cycle__node:not(.cycle__node--right)::after { left: 24px; bottom: -9px; }
  .cycle__node b { font-size: 14px; }
  .cycle__node span { font-size: 12px; }
  .cycle__caption { font-size: 13px; margin-top: 4px; }

  /* 使えるシーン */
  .scene-list { gap: 8px; }
  .scene-list li { padding: 14px 8px; border-radius: 14px; }
  .scene-ico { width: 48px; height: 48px; margin-bottom: 6px; }
  .scene-ico svg { width: 26px; height: 26px; }
  .scene-list b { font-size: 13px; }
  .scene-list span { font-size: 11px; }
  .photo-strip { margin-top: 32px; }
  .photo-strip img { height: 120px; border-radius: 12px; }
  .photo-strip__track { gap: 10px; }

  /* 課題 */
  .problem__grid { gap: 12px; }
  .case-card { padding: 20px 16px; border-radius: 16px; }
  .case-card__ill { width: 44px; height: 44px; top: 16px; right: 14px; }
  .case-card__ill svg { width: 28px; height: 28px; }
  .case-card h3 { font-size: 15px; margin: 6px 0 8px; padding-right: 48px; }
  .case-card > p:not(.case-card__no) { font-size: 13px; }
  .case-card__no { font-size: 11px; }
  .route, .mailbar { padding-top: 18px; }
  .route__box { font-size: 11px; padding: 9px 2px; border-radius: 8px; }
  .mailbar p { font-size: 12px; }
  .mailbar__track { height: 10px; margin: 6px 0; }

  /* 解決 */
  .answer__grid { gap: 24px; }
  .checks { gap: 16px; }
  .checks li { padding-left: 42px; }
  .checks li::before { width: 28px; height: 28px; background-size: 15px; }
  .checks b { font-size: 15px; }
  .checks span { font-size: 12px; }
  .equation { gap: 4px; }
  .equation__item { padding: 12px 14px 12px 58px !important; border-radius: 12px; }
  .eq-ico { left: 12px; width: 34px; height: 34px; }
  .eq-ico svg { width: 18px; height: 18px; }
  .equation__item b { font-size: 14px; }
  .equation__item--result b { font-size: 16px; }
  .equation__item span { font-size: 11px; }
  .equation__op { font-size: 16px; }
  .benefits { margin-top: 28px; gap: 10px; }
  .benefit { padding: 16px; gap: 12px; border-radius: 14px; }
  .benefit__icon { width: 40px; height: 40px; }
  .benefit__icon svg { width: 20px; height: 20px; }
  .benefit h3 { font-size: 14px; margin-bottom: 2px; }
  .benefit p { font-size: 12px; }

  /* 違い */
  .journey { padding: 16px 14px; border-radius: 16px; }
  .journey + .journey { margin-top: 10px; }
  .journey__title { font-size: 13px; margin-bottom: 10px; }
  .journey__steps { gap: 8px 0; }
  .journey__steps li { font-size: 12px; padding: 6px 12px; }
  .journey__steps li + li { margin-left: 20px; }
  .journey__steps li + li::before { left: -14px; width: 6px; height: 6px; }
  .journey__loop { font-size: 12px; margin-top: 14px; gap: 8px; }
  .journey__loop svg { width: 18px; height: 18px; }

  /* 機能 */
  .fgrid { gap: 8px; margin-bottom: 56px; }
  .fgrid li { grid-template-columns: 40px 1fr; column-gap: 12px; padding: 14px; border-radius: 12px; }
  .ico { width: 40px; height: 40px; }
  .ico svg { width: 20px; height: 20px; }
  .fgrid h3 { font-size: 14px; margin-bottom: 0; }
  .fgrid p { font-size: 12px; line-height: 1.6; }
  .feature { gap: 24px; }
  .feature + .feature { margin-top: 64px; }
  .feature__no { font-size: 10px; margin-bottom: 8px; }
  .feature h3 { font-size: min(20px, 5.8vw); margin-bottom: 10px; }
  .feature__text > p:not(.feature__no):not(.badges) { font-size: 13px; }
  .steps-v { margin-top: 16px; gap: 10px; }
  .steps-v li { padding-left: 42px; min-height: 30px; justify-content: center; }
  .steps-v li::before { width: 30px; height: 30px; font-size: 11px; }
  .steps-v b { font-size: 14px; }
  .steps-v span { font-size: 12px; }
  .chips { gap: 6px; margin-top: 14px; }
  .chips li { font-size: 11px; padding: 5px 10px; }
  .tagmap { padding: 16px 14px; border-radius: 16px; }
  .tagmap__title { font-size: 13px; margin-bottom: 10px; }
  .tagmap ul { gap: 8px; }
  .tagmap__tag { font-size: 11px; padding: 5px 12px; }
  .tagmap__msg { font-size: 12px; padding: 8px 12px; }
  .tagmap__chips { margin-top: 14px; padding-top: 12px; gap: 6px; }
  .tagmap__chips span { font-size: 11px; padding: 5px 10px; }
  .feature__visual--photo { padding: 20px 0; }
  .phone { width: 200px; border-radius: 32px; padding: 10px; }
  .phone__screen { min-height: 330px; border-radius: 24px; padding-bottom: 18px; }
  .phone__bar { padding: 24px 0 10px; font-size: 13px; }
  .phone__ticket { margin: 12px 10px 0; padding: 12px 12px 18px; }
  .phone__seat { font-size: 15px; margin: 2px 0 12px; }
  .phone__stamp { font-size: 14px; padding: 4px 10px; }
  .phone__btns span { font-size: 11px; padding: 6px 12px; }
  .badges { gap: 6px; margin-top: 14px; }
  .badge { font-size: 11px; padding: 6px 12px; }
  .funnel li { padding: 12px; border-radius: 12px; }
  .funnel li + li { margin-top: 26px; }
  .funnel li + li::before { top: -22px; height: 14px; }
  .funnel li + li::after { top: -10px; }
  .funnel b { font-size: 14px; }
  .funnel span { font-size: 11px; }
  .funnel__caption { font-size: 13px; margin-top: 14px; }

  /* 事例 */
  .rise { border-radius: 16px; }
  .rise__body { padding: 20px 16px; gap: 12px; }
  .rise h3 { font-size: 18px; }
  .rise__lead { font-size: 13px; }
  .rise__stat { padding: 12px 16px; }
  .rise__num { font-size: 40px; }
  .rise__unit { font-size: 17px; }
  .rise__stat p { font-size: 12px; }
  .rise__dl { gap: 8px; }
  .rise__dl > div { padding: 12px 14px; }
  .rise__dl dd { font-size: 12px; }
  .rise__dl dd b { font-size: 14px; }
  .case__more { margin-top: 40px; }
  .case__more-title { font-size: 13px; margin-bottom: 12px; }
  .news { gap: 10px; margin-bottom: 20px; }
  .news__item { font-size: 12px; gap: 6px; }
  .news__item img { border-radius: 8px; }

  /* 比較・サポート */
  .ctable { font-size: 12px; min-width: 620px; }
  .ctable th, .ctable td { padding: 12px; }
  .ctable thead th.is-cb { font-size: 14px; }
  .showcase__tabs { margin-bottom: 18px; }
  .showcase__tabs button { font-size: 12px; padding: 7px 13px; }
  .showcase__panel { gap: 16px; }
  .browser { border-radius: 10px; }
  .browser__bar { padding: 7px 10px; }
  .browser__bar i { width: 7px; height: 7px; }
  .showcase__text h3 { font-size: 17px; margin-bottom: 10px; }
  .ticks { gap: 6px; }
  .ticks li { font-size: 13px; padding-left: 26px; }
  .ticks li::before { width: 18px; height: 18px; top: 2px; background-size: 11px; }
  .support-stats { margin-top: 24px; grid-template-columns: repeat(3, 1fr); gap: 6px; }
  .support-stats li { padding: 12px 4px; border-radius: 12px; }
  .support-stats b { font-size: 24px; }
  .support-stats b small { font-size: 10px; margin-left: 1px; }
  .support-stats li:last-child b { font-size: 14px; padding: 7px 0 6px; }
  .support-stats span { font-size: 10px; }

  /* 料金・流れ */
  .price__grid { gap: 12px; }
  .price-board { padding: 2px 18px; border-radius: 16px; }
  .price-board > div { padding: 12px 0; }
  .price-board dt { font-size: 14px; }
  .price-board dd { font-size: 13px; }
  .price-board b { font-size: 30px; }
  .price__side { gap: 10px; }
  .price-note { padding: 16px; border-radius: 14px; }
  .price-note h3 { font-size: 15px; margin-bottom: 4px; }
  .price-note p { font-size: 12px; }
  .pn-ico { width: 34px; height: 34px; }
  .pn-ico svg { width: 17px; height: 17px; }
  .flow__list { gap: 20px; }
  .flow__list li { padding: 16px; border-radius: 14px; }
  .flow__list li:not(:last-child)::before { bottom: -15px; width: 9px; height: 9px; }
  .flow__no { font-size: 22px; }
  .flow__ico { width: 36px; height: 36px; top: 14px; right: 14px; }
  .flow__ico svg { width: 18px; height: 18px; }
  .flow__list h3 { font-size: 15px; margin: 6px 0 2px; }
  .flow__list p { font-size: 12px; }
  .flow__note { font-size: 12px; padding: 12px 14px; margin-top: 16px; }

  /* FAQ・コラム・お問い合わせ・フッター */
  .faq__list { gap: 8px; }
  .qa { border-radius: 12px; }
  .qa summary { font-size: 13px; padding: 14px 40px 14px 50px; line-height: 1.6; }
  .qa summary::before, .qa__a::before { left: 14px; width: 26px; height: 26px; font-size: 12px; }
  .qa summary::after { right: 16px; width: 8px; height: 8px; }
  .qa__a { padding: 0 16px 16px 50px; }
  .qa__a p { font-size: 13px; }
  .columns { gap: 14px; }
  .col-card h3 { font-size: 13px; line-height: 1.55; }
  .col-card time { font-size: 11px; }
  .contact { padding-bottom: 56px; }
  .contact__box { padding: 32px 16px; gap: 20px; border-radius: 20px; }
  .contact__text h2 { font-size: 24px; margin-bottom: 8px; }
  .contact__text p:last-child { font-size: 13px; }
  .contact__cards { gap: 10px; }
  .cta-card { padding: 14px 48px 14px 14px; gap: 12px; border-radius: 14px; }
  .cta-card__icon { width: 40px; height: 40px; }
  .cta-card__icon svg { width: 20px; height: 20px; }
  .cta-card__body b { font-size: 15px; }
  .cta-card__body span { font-size: 11px; }
  .cta-card::after { width: 26px; height: 26px; right: 12px; }
  .footer { padding: 44px 0 24px; font-size: 13px; }
  .footer__inner { gap: 28px; }
  .footer__logo { padding: 8px 10px; border-radius: 12px; }
  .footer__logo img { height: 60px; }
  .footer__brand p { margin: 12px 0; }
  .footer__nav { gap: 24px 32px; }
  .footer__nav div { gap: 6px; }
  .footer__copy { margin-top: 32px; }
  .sp-cta { padding: 8px 10px calc(8px + env(safe-area-inset-bottom)); gap: 6px; }
  .sp-cta .btn { padding: 12px 6px; font-size: 13px; }
}

/* =========================================================
   スマホ：さらにコンパクトに（2列化・補足要素の省略）
   ========================================================= */
@media (max-width: 768px) {
  .section { padding: 44px 0; }
  .hero + .section { padding-top: 84px; }
  .head { margin-bottom: 20px; }
  .head h2 { font-size: min(19px, 5.4vw); }
  .head__lead { font-size: 12.5px; margin-top: 6px; }

  /* とは：写真は写真の帯にも出るので省略 */
  .about__photo { display: none; }
  .about__grid { gap: 20px; }
  .catch { margin: 8px 0 8px; }

  /* 使えるシーン：アイコンと名前だけの小さいタイル */
  .scene-list { grid-template-columns: repeat(5, 1fr); gap: 4px; }
  .scene-list li, .scene-list li:last-child { grid-column: auto; padding: 10px 2px; border-radius: 10px; gap: 0; }
  .scene-ico { width: 36px; height: 36px; margin-bottom: 4px; }
  .scene-ico svg { width: 20px; height: 20px; }
  .scene-list b { font-size: 10px; line-height: 1.35; }
  .scene-list span { display: none; }
  .photo-strip { margin-top: 20px; }
  .photo-strip img { height: 90px; border-radius: 10px; }
  .photo-strip__track { gap: 8px; }

  /* 課題・解決 */
  .case-card { padding: 16px 14px; }
  .case-card h3 { font-size: 14px; margin: 4px 0 6px; }
  .case-card > p:not(.case-card__no) { font-size: 12px; line-height: 1.7; }
  .route, .mailbar { padding-top: 12px; }
  .checks { gap: 12px; }
  .checks b { font-size: 14px; }
  .checks span { display: none; }
  .checks li { padding-left: 38px; min-height: 28px; justify-content: center; }
  .benefits { margin-top: 20px; }
  .benefit { padding: 12px 14px; }

  /* 違い */
  .journey { padding: 14px 12px; }
  .journey__loop { display: none; }

  /* 機能：6枚を2列のタイルに */
  .fgrid { grid-template-columns: 1fr 1fr; gap: 6px; margin-bottom: 40px; }
  .fgrid li { display: flex; align-items: center; gap: 8px; padding: 10px; }
  .fgrid .ico { width: 32px; height: 32px; flex-shrink: 0; }
  .fgrid .ico svg { width: 17px; height: 17px; }
  .fgrid h3 { font-size: 12.5px; line-height: 1.4; }
  .fgrid p { display: none; }
  .feature { gap: 16px; }
  .feature + .feature { margin-top: 44px; }
  .feature h3 { font-size: min(18px, 5.2vw); }
  .steps-v { margin-top: 10px; gap: 6px; }
  .steps-v li { padding-left: 36px; min-height: 26px; }
  .steps-v li::before { width: 26px; height: 26px; }
  .steps-v b { font-size: 13px; }
  .steps-v span { display: none; }
  .chips { margin-top: 10px; }
  .tagmap__chips { display: none; }
  .tagmap { padding: 12px; }
  .feature__visual--photo { padding: 14px 0; }
  .phone { width: 168px; border-radius: 26px; padding: 8px; }
  .phone__screen { min-height: 270px; border-radius: 20px; }
  .phone__bar { padding: 18px 0 8px; font-size: 12px; }
  .funnel li { padding: 9px; }
  .funnel li + li { margin-top: 20px; }
  .funnel li + li::before { top: -17px; height: 10px; }
  .funnel li + li::after { top: -9px; }

  /* 事例：お知らせは2件まで */
  .rise__photo img { aspect-ratio: 16 / 8; }
  .rise__body { padding: 16px 14px; gap: 10px; }
  .rise__lead { font-size: 12px; }
  .rise__num { font-size: 34px; }
  .rise__dl dd { font-size: 11.5px; }
  .case__more { margin-top: 28px; }
  .news > :nth-child(n+3) { display: none; }

  /* サポート・料金・流れ */
  .showcase__text h3 { font-size: 15px; }
  .ticks li { font-size: 12px; }
  .support-stats { margin-top: 16px; }
  .price-board > div { padding: 9px 0; }
  .price-board b { font-size: 26px; }
  .price-note { padding: 12px 14px; }
  .flow__list { grid-template-columns: 1fr 1fr; gap: 8px; }
  .flow__list li { padding: 12px; }
  .flow__list li:not(:last-child)::before { display: none; }
  .flow__ico { width: 28px; height: 28px; top: 10px; right: 10px; }
  .flow__ico svg { width: 15px; height: 15px; }
  .flow__no { font-size: 18px; }
  .flow__list h3 { font-size: 13px; }
  .flow__list p { font-size: 11px; line-height: 1.6; }
  .flow__note { margin-top: 10px; font-size: 11px; }

  /* FAQ・コラム（4件まで）・お問い合わせ */
  .qa summary { padding: 12px 36px 12px 46px; font-size: 12.5px; }
  .qa summary::before, .qa__a::before { left: 12px; width: 24px; height: 24px; font-size: 11px; }
  .qa__a { padding: 0 14px 14px 46px; }
  .qa__a p { font-size: 12px; }
  .columns { gap: 10px; }
  .columns > :nth-child(n+5) { display: none; }
  .contact { padding-bottom: 44px; }
  .contact__box { padding: 26px 14px; gap: 16px; }
  .contact__text h2 { font-size: 21px; }
  .footer { padding: 36px 0 20px; }
  .footer__logo img { height: 52px; }
}

@media (max-width: 768px) {
  /* 白背景どうしで余白が重なる箇所を詰める */
  .scenes { padding-top: 4px; }
}

/* ---------- ファーストビューの背景動画 ---------- */
.hero__movie { position: absolute; inset: 0; overflow: hidden; pointer-events: none; }
/* 動画の下部に焼き込まれた字幕が見えないよう、少し拡大して上寄りに表示 */
.hero__video { width: 100%; height: 100%; object-fit: cover; opacity: 0; transition: opacity 1.2s ease; transform: scale(1.32); transform-origin: 50% 18%; }
.hero__video.is-playing { opacity: 1; }
/* 文字が読めるよう、動画の上にLINEグリーンを重ねる（見出し側を濃く） */
.hero__movie::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(6,199,85,.96) 0%, rgba(6,199,85,.88) 36%, rgba(6,199,85,.6) 68%, rgba(6,199,85,.42) 100%); }
@media (max-width: 1080px) {
  .hero__movie::after { background: linear-gradient(180deg, rgba(6,199,85,.55) 0%, rgba(6,199,85,.78) 30%, rgba(6,199,85,.93) 55%, rgba(6,199,85,.97) 100%); }
}
@media (prefers-reduced-motion: reduce) { .hero__video { display: none; } }

/* ---------- ファーストビュー下の数字の帯を削除したぶんの余白調整 ---------- */
.hero { padding-bottom: 104px; }
.hero + .section { padding-top: 128px; }
@media (max-width: 768px) {
  .hero { padding-bottom: 44px; }
  .hero + .section { padding-top: 44px; }
}

/* ---------- スマホ：ファーストビューのチケットを横長に ---------- */
@media (max-width: 768px) {
  .ticket--hero { aspect-ratio: 2.4 / 1; --cut: 72%; --notch: 10px; border-radius: 14px; }
  .ticket--hero .ticket__main { display: flex; flex-direction: column; justify-content: center; padding: 0 6cqw; }
  .ticket--hero .ticket__name { margin: 2px 0 0; }
  .ticket--hero .ticket__stub { padding: 0 8px; gap: 4px; }
  .ticket--hero .ticket__qr { width: 15cqw; height: 15cqw; }
  .ticket--hero .ticket__stub p { white-space: nowrap; font-size: 7px; letter-spacing: .2em; }
}
@media (max-width: 768px) {
  .hero__visual { width: 90%; max-width: 360px; padding: 18px 0 26px; }
  .hero__chip--a { top: -6px; right: -2%; }
  .hero__chip--b { bottom: 4px; left: -2%; }
}

/* =========================================================
   スマホ：文字を減らして、図・アイコンで見せる
   ========================================================= */
.compare-sp { display: none; }

@media (max-width: 768px) {
  /* 説明文を省く（見出し・図・数字は残す） */
  .head__lead,
  .about__text > p:not(.eyebrow):not(.catch),
  .cycle__node span,
  .cycle__caption,
  .case-card > p:not(.case-card__no),
  .equation__item span,
  .benefit p,
  .feature__text > p:not(.feature__no):not(.badges),
  .rise__lead,
  .rise__dl,
  .flow__list p,
  .flow__note,
  .contact__text p:last-child,
  .price-note p,
  .showcase__text .ticks { display: none !important; }

  /* 省いたぶん、カードを詰める */
  .cycle__node, .cycle.is-play .cycle__node { padding: 12px 14px 12px 54px; }
  .equation__item { padding: 12px 14px 12px 58px !important; min-height: 54px; justify-content: center; }
  .benefit { align-items: center; }
  .benefit h3 { margin: 0; }
  .rise__body { gap: 12px; }
  .flow__list li { min-height: 0; padding: 12px 12px 14px; }
  .flow__list h3 { margin-top: 4px; }
  .price-note { display: flex; align-items: center; gap: 10px; padding: 12px 14px; }
  .price-note h3 { margin: 0; order: 2; }
  .pn-ico { float: none; margin: 0; order: 1; flex-shrink: 0; }
  .showcase__text h3 { margin: 0; text-align: center; }
  .contact__text { text-align: center; }
  .contact__text .eyebrow { justify-content: center; }

  /* 比較：表のかわりに記号の一覧 */
  .compare .table-wrap { display: none; }
  .compare-sp { display: block; background: #fff; border-radius: 16px; box-shadow: var(--shadow); overflow: hidden; }
  .compare-sp__head, .compare-sp dl > div { display: grid; grid-template-columns: 1fr 76px 76px; align-items: center; }
  .compare-sp__head { background: #f1f5f3; }
  .compare-sp__head b { font-size: 11px; text-align: center; padding: 10px 4px; line-height: 1.35; color: var(--muted); }
  .compare-sp__head b.is-cb { background: var(--green); color: #fff; }
  .compare-sp dl { margin: 0; }
  .compare-sp dl > div { border-top: 1px solid var(--line); }
  .compare-sp dt { font-size: 12.5px; font-weight: 700; color: var(--ink); padding: 12px 10px 12px 14px; line-height: 1.45; }
  .compare-sp dd { margin: 0; height: 100%; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; padding: 8px 2px; }
  .compare-sp dd.is-cb { background: var(--green-50); }
  .compare-sp dd b { font-size: 11px; line-height: 1.35; color: var(--ink); }
  .compare-sp dd.is-cb b { color: var(--green-700); font-size: 12px; }
  .compare-sp small { font-size: 9.5px; color: var(--muted); line-height: 1.2; margin-top: 2px; }
  .mk { font-style: normal; font-size: 20px; line-height: 1; font-weight: 700; }
  .mk--o { color: var(--green); }
  .mk--x { color: #c3cbc7; }
  .mk--t { color: #e0a100; }
}

/* ---------- 図のくり返し再生：一瞬で初期状態に戻すためのクラス ---------- */
.no-anim, .no-anim *, .no-anim *::before, .no-anim *::after { transition: none !important; animation: none !important; }

/* ---------- 「LINEミニアプリ」バッジ ---------- */
.mini-badge { display: inline-flex; align-items: center; gap: 6px; margin: 0 8px 10px 0; font-size: 13px; font-weight: 700; color: var(--green-700); background: #fff; border-radius: 999px; padding: 6px 14px 6px 10px; box-shadow: 0 6px 16px rgba(0, 60, 25, .15); line-height: 1.2; vertical-align: middle; }
.mini-badge svg { width: 18px; height: 18px; fill: var(--green); }
.hero .mini-badge { animation: dropIn .7s cubic-bezier(.2,.8,.2,1) both; }
.mini-badge--green { color: #fff; background: var(--green); box-shadow: none; margin: 14px 0 0; }
.mini-badge--green svg { fill: #fff; }
.mini-strong { font-weight: 900; color: #fff; background: rgba(255,255,255,.18); border-radius: 4px; padding: 0 4px; margin: 0 2px; }
.mini-strong--dark { color: var(--green-700); }
@media (max-width: 768px) {
  .mini-badge { font-size: 11px; padding: 4px 10px 4px 8px; margin-bottom: 6px; }
  .mini-badge svg { width: 14px; height: 14px; }
  .mini-badge--green { margin-top: 10px; }
}

/* ---------- 料金：決済手数料・購入者さまの手数料 ---------- */
.fees { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; margin-top: 32px; }
.fee-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 30px 32px; box-shadow: 0 2px 0 var(--line); }
.fee-card__head { display: flex; align-items: center; gap: 14px; margin-bottom: 18px; }
.fee-card__ico { flex-shrink: 0; width: 52px; height: 52px; border-radius: 50%; background: var(--green-50); display: grid; place-items: center; }
.fee-card__ico svg { width: 26px; height: 26px; fill: none; stroke: var(--green-600); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.fee-card--fan .fee-card__ico { background: #fff3e0; }
.fee-card--fan .fee-card__ico svg { stroke: #e08a00; }
.fee-card__en { font-family: var(--font-en); font-size: 11px; font-weight: 600; letter-spacing: .18em; text-transform: uppercase; color: var(--green-600); }
.fee-card--fan .fee-card__en { color: #e08a00; }
.fee-card h3 { font-size: 20px; }
.fee-card h3 small { font-size: 13px; color: var(--muted); font-weight: 700; margin-left: 4px; }
.fee-list { margin: 0; }
.fee-list > div { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 14px 0; border-top: 1px dashed var(--line); }
.fee-list dt { font-weight: 700; color: var(--ink); font-size: 15px; display: flex; flex-direction: column; }
.fee-list dt small { font-weight: 500; font-size: 12px; color: var(--muted); margin-top: 2px; }
.fee-list dd { margin: 0; white-space: nowrap; font-weight: 700; color: var(--ink); }
.fee-list dd b { font-family: var(--font-en); font-size: 30px; color: var(--green); margin-right: 2px; line-height: 1; }
.fee-card--fan .fee-list dd b { color: #e08a00; }
.fee-list dd small { font-size: 12px; color: var(--muted); margin-left: 2px; }
.fee-card__note { margin-top: 10px; font-size: 12px; color: var(--muted); }
.fee-example { margin-top: 14px; background: var(--soft); border-radius: 14px; padding: 14px 16px; }
.fee-example__title { font-size: 12px; font-weight: 700; color: var(--muted); }
.fee-example__calc { display: flex; align-items: baseline; flex-wrap: wrap; gap: 6px; margin-top: 4px; font-weight: 700; color: var(--ink); }
.fee-example__calc span { font-size: 16px; }
.fee-example__calc i { font-style: normal; color: var(--muted); }
.fee-example__calc b { font-family: var(--font-en); font-size: 22px; color: #e08a00; }
@media (max-width: 1080px) { .fees { grid-template-columns: 1fr; } }
@media (max-width: 768px) {
  .fees { gap: 10px; margin-top: 12px; }
  .fee-card { padding: 16px; border-radius: 16px; }
  .fee-card__head { gap: 10px; margin-bottom: 8px; }
  .fee-card__ico { width: 38px; height: 38px; }
  .fee-card__ico svg { width: 19px; height: 19px; }
  .fee-card__en { font-size: 9.5px; }
  .fee-card h3 { font-size: 15px; }
  .fee-card h3 small { font-size: 11px; }
  .fee-list > div { padding: 10px 0; }
  .fee-list dt { font-size: 13px; }
  .fee-list dt small { font-size: 10.5px; }
  .fee-list dd b { font-size: 22px; }
  .fee-card__note { font-size: 11px; }
  .fee-example { padding: 10px 12px; border-radius: 10px; }
  .fee-example__title { font-size: 11px; }
  .fee-example__calc span { font-size: 13px; }
  .fee-example__calc b { font-size: 18px; }
}

/* ---------- 料金：3枚のカード（基本料金・決済手数料・購入者さまの手数料） ---------- */
.fees--3 { grid-template-columns: repeat(3, 1fr); margin-top: 0; align-items: stretch; }
.fees--3 .fee-card { display: flex; flex-direction: column; }
.fees--3 .fee-card__note, .fees--3 .fee-example { margin-top: auto; }
.fees--3 .fee-list { margin-bottom: 14px; }
.fee-card--base { border: 2px solid var(--green); box-shadow: 0 16px 40px rgba(6,199,85,.16); }
.fee-card--base .fee-card__ico { background: var(--green); }
.fee-card--base .fee-card__ico svg { stroke: #fff; }
.fee-card--base .fee-card__note { background: var(--green-50); color: var(--green-700); font-weight: 700; border-radius: 12px; padding: 12px 14px; font-size: 12.5px; line-height: 1.6; }
.fees__cta { display: flex; justify-content: center; margin-top: 32px; }
@media (max-width: 1180px) { .fees--3 { grid-template-columns: 1fr 1fr; } .fee-card--base { grid-column: 1 / -1; } }
@media (max-width: 768px) {
  .fees--3 { grid-template-columns: 1fr; }
  .fee-card--base .fee-card__note { font-size: 11.5px; padding: 10px 12px; }
  .fees--3 .fee-list { margin-bottom: 10px; }
  .fees__cta { margin-top: 16px; }
  .fees__cta .btn { width: 100%; }
}

.fees--3 .fee-card h3 small { display: block; margin: 2px 0 0; }

/* ---------- ファーストビュー下部：お知らせ ---------- */
.hero { padding-bottom: 40px; }
.hero-news { position: relative; z-index: 2; margin-top: 48px; display: flex; align-items: center; gap: 16px; background: rgba(255,255,255,.95); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); border-radius: 18px; padding: 10px 12px 10px 12px; box-shadow: 0 14px 36px rgba(0, 50, 20, .18); color: var(--ink); animation: fadeUpSoft .9s cubic-bezier(.2,.8,.2,1) 1.6s both; }
.hero-news__label { flex-shrink: 0; font-family: var(--font-en); font-weight: 700; font-size: 12px; letter-spacing: .18em; color: #fff; background: var(--ink); border-radius: 10px; padding: 8px 14px; }
.hero-news__list { position: relative; flex: 1; min-width: 0; height: 56px; overflow: hidden; }
.hero-news__list li { position: absolute; inset: 0; opacity: 0; transform: translateY(70%); transition: opacity .5s ease, transform .5s cubic-bezier(.2,.8,.2,1); pointer-events: none; }
.hero-news__list li.is-active { opacity: 1; transform: none; pointer-events: auto; }
.hero-news__list li.is-leave { opacity: 0; transform: translateY(-70%); }
.hero-news__list a { display: flex; align-items: center; gap: 14px; height: 100%; }
.hero-news__list img { flex-shrink: 0; width: 96px; height: 54px; object-fit: cover; border-radius: 8px; background: var(--soft); }
.hero-news__list span { font-weight: 700; font-size: 15px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.hero-news__list a:hover span { color: var(--green-700); text-decoration: underline; }
.hero-news__nav { display: flex; gap: 6px; flex-shrink: 0; }
.hero-news__btn { width: 34px; height: 34px; border-radius: 50%; border: 1px solid var(--line); background: #fff; display: grid; place-items: center; cursor: pointer; transition: background-color .2s, border-color .2s; }
.hero-news__btn:hover { background: var(--green-50); border-color: var(--green-100); }
.hero-news__btn svg, .hero-news__more svg { width: 16px; height: 16px; fill: none; stroke: var(--ink); stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; }
.hero-news__more { flex-shrink: 0; display: inline-flex; align-items: center; gap: 6px; font-weight: 700; font-size: 13px; padding: 9px 14px; border-radius: 999px; background: var(--green-50); color: var(--green-700); }
.hero-news__more svg { stroke: var(--green-700); }
@media (max-width: 768px) {
  .hero { padding-bottom: 20px; }
  .hero-news { margin-top: 22px; gap: 8px; padding: 6px 8px 6px 6px; border-radius: 14px; }
  .hero-news__label { font-size: 9.5px; padding: 6px 8px; border-radius: 8px; letter-spacing: .12em; }
  .hero-news__list { height: 40px; }
  .hero-news__list a { gap: 8px; }
  .hero-news__list img { width: 56px; height: 34px; border-radius: 6px; }
  .hero-news__list span { font-size: 12px; }
  .hero-news__nav { display: none; }
  .hero-news__more { font-size: 0; padding: 8px; gap: 0; }
  .hero-news__more svg { width: 15px; height: 15px; }
}
@media (prefers-reduced-motion: reduce) { .hero-news { animation: none; } .hero-news__list li { transition: none; } }

@media (min-width: 769px) {
  .hero { padding-top: calc(var(--header-h) + 104px); }
  .hero-news { margin-top: 34px; }
}

@media (max-width: 768px) {
  .hero-news__list span { white-space: normal; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; line-height: 1.4; font-size: 11.5px; }
}

/* トップ：各セクションの「詳しく見る」 */
.more-link { margin-top: 40px; text-align: center; }
.case .more-link .link-arrow, .answer .more-link .link-arrow { color: #fff; }
@media (max-width: 768px) { .more-link { margin-top: 20px; } .more-link .link-arrow { font-size: 14px; } }
@media (max-width: 768px) {
  .phone__btns { gap: 6px; margin-top: 14px; }
  .phone__btns span { white-space: nowrap; font-size: 10.5px; padding: 5px 10px; }
}

/* =========================================================
   タグ別配信の図（LINEのトーク画面風）
   ========================================================= */
.seg { position: relative; background: #fff; border-radius: var(--radius-lg); box-shadow: var(--shadow-lg); overflow: hidden; }
.seg__head { display: flex; align-items: center; gap: 12px; padding: 16px 20px; background: linear-gradient(120deg, var(--green-600), var(--green)); color: #fff; }
.seg__head-ico { flex-shrink: 0; width: 38px; height: 38px; border-radius: 12px; background: rgba(255,255,255,.2); display: grid; place-items: center; }
.seg__head-ico svg { width: 22px; height: 22px; fill: #fff; }
.seg__head-text { min-width: 0; line-height: 1.4; }
.seg__title { font-weight: 900; font-size: 16px; }
.seg__sub { font-size: 12px; opacity: .9; }
.seg__live { margin-left: auto; flex-shrink: 0; display: inline-flex; align-items: center; gap: 6px; font-size: 11px; font-weight: 700; background: rgba(255,255,255,.95); color: var(--green-700); border-radius: 999px; padding: 4px 10px; }
.seg__live i { width: 7px; height: 7px; border-radius: 50%; background: var(--green); animation: segLive 1.6s ease-in-out infinite; }
@keyframes segLive { 0%, 100% { box-shadow: 0 0 0 0 rgba(6,199,85,.6); } 60% { box-shadow: 0 0 0 6px rgba(6,199,85,0); } }

.seg__list { display: flex; flex-direction: column; gap: 14px; padding: 20px; background: linear-gradient(180deg, #f2f6f9, #eef3f0); }
.seg__row { display: grid; grid-template-columns: 148px 46px 1fr; align-items: center; }
.seg__tag { display: flex; align-items: center; gap: 8px; padding: 8px 10px; border-radius: 12px; background: #fff; border: 1.5px solid var(--green-100); box-shadow: 0 2px 0 rgba(6,199,85,.12); }
.seg__ico { flex-shrink: 0; width: 30px; height: 30px; border-radius: 9px; background: var(--green); display: grid; place-items: center; }
.seg__ico svg { width: 17px; height: 17px; fill: none; stroke: #fff; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.seg__tag-text { display: flex; flex-direction: column; min-width: 0; line-height: 1.35; }
.seg__tag-text b { font-size: 13px; color: var(--ink); white-space: nowrap; }
.seg__tag-text small { font-size: 11px; font-weight: 700; color: var(--green-700); }

/* つなぎの点線と、流れる光 */
.seg__flow { position: relative; height: 2px; margin: 0 4px; background: repeating-linear-gradient(90deg, var(--green) 0 4px, transparent 4px 8px); opacity: .7; }
.seg__flow::after { content: ""; position: absolute; right: -2px; top: 50%; width: 7px; height: 7px; border-top: 2px solid var(--green); border-right: 2px solid var(--green); transform: translateY(-50%) rotate(45deg); }
.seg__flow i { position: absolute; top: 50%; left: 0; width: 8px; height: 8px; margin-top: -4px; border-radius: 50%; background: var(--green); box-shadow: 0 0 0 3px rgba(6,199,85,.25); animation: segDot 2.2s cubic-bezier(.5,0,.5,1) infinite; animation-delay: calc(var(--i, 0) * .35s); }
@keyframes segDot { 0% { left: 0; opacity: 0; } 15% { opacity: 1; } 85% { opacity: 1; } 100% { left: calc(100% - 8px); opacity: 0; } }

/* LINEのメッセージ */
.seg__msg { display: grid; grid-template-columns: 30px 1fr auto; align-items: end; gap: 6px; min-width: 0; }
.seg__avatar { align-self: start; width: 30px; height: 30px; border-radius: 50%; background: var(--green); display: grid; place-items: center; box-shadow: 0 2px 4px rgba(6,199,85,.3); }
.seg__avatar svg { width: 16px; height: 16px; fill: none; stroke: #fff; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.seg__bubble { position: relative; background: #fff; border-radius: 4px 16px 16px 16px; padding: 10px 12px; box-shadow: 0 2px 6px rgba(11,26,20,.08); font-size: 13px; line-height: 1.6; color: var(--ink); }
.seg__bubble p b { color: var(--green-700); }
.seg__btn { display: block; margin-top: 8px; padding-top: 7px; border-top: 1px solid var(--line); text-align: center; font-size: 12px; font-weight: 700; color: #2a6fdb; }
.seg__time { font-size: 10px; color: #8b9893; white-space: nowrap; padding-bottom: 2px; }

/* 表示アニメーション（くり返し再生は main.js の loops） */
.seg__list:not(.is-in) .seg__msg { opacity: 0; transform: translateX(-8px) scale(.96); }
.seg__msg { transform-origin: left top; transition: opacity .45s ease, transform .5s cubic-bezier(.2,1.4,.4,1); transition-delay: calc(var(--i, 0) * .35s + .45s); }
.seg__list:not(.is-in) .seg__flow { opacity: 0; }
.seg__flow { transition: opacity .4s ease calc(var(--i, 0) * .35s + .25s); }

.seg__foot { display: flex; flex-wrap: wrap; gap: 6px; padding: 14px 20px 0; }
.seg__foot span { background: var(--green-50); color: var(--green-700); font-weight: 700; font-size: 12px; border-radius: 999px; padding: 5px 12px; }
.seg__note { padding: 8px 20px 14px; font-size: 11px; color: var(--muted); }

@media (prefers-reduced-motion: reduce) {
  .seg__flow i, .seg__live i { animation: none; }
}

/* タブレット・スマホ：配信先の下にメッセージを並べる */
@media (max-width: 1100px) and (min-width: 769px) {
  .seg__row { grid-template-columns: 140px 34px 1fr; }
}
@media (max-width: 768px) {
  .seg { border-radius: 16px; }
  .seg__head { padding: 12px 14px; gap: 10px; }
  .seg__head-ico { width: 32px; height: 32px; border-radius: 10px; }
  .seg__head-ico svg { width: 18px; height: 18px; }
  .seg__title { font-size: 14px; }
  .seg__sub { font-size: 10.5px; }
  .seg__live { font-size: 10px; padding: 3px 8px; }
  .seg__list { padding: 12px; gap: 12px; }
  .seg__row { grid-template-columns: 1fr; gap: 6px; }
  .seg__tag { justify-self: start; padding: 5px 10px 5px 6px; gap: 6px; border-radius: 999px; }
  .seg__ico { width: 24px; height: 24px; border-radius: 50%; }
  .seg__ico svg { width: 14px; height: 14px; }
  .seg__tag-text { flex-direction: row; align-items: baseline; gap: 6px; }
  .seg__tag-text b { font-size: 12px; }
  .seg__tag-text small { font-size: 10px; }
  .seg__flow { display: none; }
  .seg__msg { grid-template-columns: 26px 1fr auto; padding-left: 14px; }
  .seg__avatar { width: 26px; height: 26px; }
  .seg__bubble { font-size: 12px; padding: 8px 10px; }
  .seg__btn { font-size: 11px; margin-top: 6px; padding-top: 5px; }
  .seg__foot { display: none; }
  .seg__note { padding: 6px 12px 10px; font-size: 10px; }
}

/* =========================================================
   図の作り込み版（2026-10）
   ========================================================= */
.orbit svg, .leak svg, .merge svg, .track svg, .mini-ticket svg, .mini-crm svg { fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }

/* ---------- 1. 売る→届ける→貯める ---------- */
.orbit { position: relative; width: min(100%, 540px); aspect-ratio: 1 / 1.02; margin-inline: auto; }
.orbit__ring { position: absolute; inset: 4% 4% 6%; width: 92%; height: 90%; overflow: visible; }
.orbit__track { stroke: var(--green-100); stroke-width: 18; fill: none; }
.orbit__arc { stroke: var(--green); stroke-width: 3; fill: none; stroke-dasharray: 2 4; opacity: .55; }
.orbit__runner { transform-origin: 200px 200px; animation: orbitRun 6s linear infinite; }
.orbit__runner circle { fill: var(--green); stroke: none; }
.orbit__runner .orbit__runner-glow { fill: rgba(6,199,85,.22); }
@keyframes orbitRun { to { transform: rotate(360deg); } }
.orbit__center { position: absolute; left: 50%; top: 48%; transform: translate(-50%, -50%); width: 34%; aspect-ratio: 1; border-radius: 50%; background: radial-gradient(circle at 30% 25%, #2fe07a, var(--green) 55%, var(--green-600)); color: #fff; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; box-shadow: 0 18px 40px rgba(6,199,85,.35), 0 0 0 10px rgba(255,255,255,.7); }
.orbit__center b { font-size: clamp(14px, 1.5vw, 17px); line-height: 1.35; font-weight: 900; }
.orbit__center small { margin-top: 4px; font-size: 11px; font-weight: 700; background: rgba(255,255,255,.22); border-radius: 999px; padding: 1px 10px; }
.orbit__oa { width: 34px; height: 34px; margin-bottom: 4px; }
.orbit__oa svg { width: 100%; height: 100%; fill: #fff; stroke: none; }
.orbit__node { position: absolute; width: 46%; display: flex; flex-direction: column; gap: 6px; opacity: 0; transform: translateY(14px) scale(.96); transition: opacity .5s ease, transform .6s cubic-bezier(.2,1.3,.4,1); }
.orbit.is-play .orbit__node { opacity: 1; transform: none; }
.orbit__node--sell { left: 27%; top: 0; transition-delay: .1s; }
.orbit__node--send { right: -2%; bottom: 10%; transition-delay: .6s; }
.orbit__node--store { left: -2%; bottom: 10%; transition-delay: 1.1s; }
.orbit__label { display: inline-flex; align-items: center; gap: 6px; align-self: center; font-size: 13px; font-weight: 900; color: var(--ink); background: #fff; border-radius: 999px; padding: 3px 12px 3px 4px; box-shadow: 0 4px 12px rgba(11,26,20,.08); }
.orbit__label span { width: 20px; height: 20px; border-radius: 50%; background: var(--ink); color: #fff; font-family: var(--font-en); font-size: 11px; display: grid; place-items: center; }
.mini-ticket, .mini-chat, .mini-crm { background: #fff; border-radius: 14px; box-shadow: 0 10px 26px rgba(11,26,20,.12); border: 1px solid #edf1ef; }
.mini-ticket { display: grid; grid-template-columns: 34px 1fr auto; align-items: center; gap: 8px; padding: 10px 10px 10px 10px; position: relative; }
.mini-ticket::before, .mini-ticket::after { content: ""; position: absolute; top: 50%; width: 12px; height: 12px; margin-top: -6px; border-radius: 50%; background: #f4f7f5; }
.mini-ticket::before { left: -6px; } .mini-ticket::after { right: -6px; }
.mini-ticket__ico { width: 34px; height: 34px; border-radius: 10px; background: var(--green-50); color: var(--green-700); display: grid; place-items: center; }
.mini-ticket__ico svg { width: 18px; height: 18px; }
.mini-ticket__body { display: flex; flex-direction: column; line-height: 1.3; }
.mini-ticket__body small { font-size: 11px; color: var(--muted); }
.mini-ticket__body b { font-family: var(--font-en); font-size: 17px; color: var(--ink); }
.mini-ticket__btn { font-size: 11px; font-weight: 700; color: #fff; background: var(--green); border-radius: 999px; padding: 6px 10px; white-space: nowrap; }
.mini-chat { padding: 10px 12px; border-radius: 4px 16px 16px 16px; }
.mini-chat p { font-size: 12.5px; line-height: 1.55; color: var(--ink); font-weight: 500; }
.mini-chat b { color: var(--green-700); }
.mini-chat small { display: flex; align-items: center; gap: 5px; margin-top: 6px; font-size: 10.5px; font-weight: 700; color: var(--green-700); }
.mini-chat small i { width: 7px; height: 7px; border-radius: 50%; background: var(--green); animation: segLive 1.6s infinite; }
.mini-crm { display: grid; grid-template-columns: 36px 1fr; gap: 8px; align-items: center; padding: 10px 12px; }
.mini-crm__av { width: 36px; height: 36px; border-radius: 50%; background: #e8eeeb; color: #7d8a85; display: grid; place-items: center; }
.mini-crm__av svg { width: 20px; height: 20px; }
.mini-crm__body { display: flex; flex-direction: column; gap: 4px; min-width: 0; }
.mini-crm__body b { font-size: 12px; color: var(--ink); }
.mini-crm__tags { display: flex; flex-wrap: wrap; gap: 3px; }
.mini-crm__tags i { font-style: normal; font-size: 10px; font-weight: 700; color: var(--green-700); background: var(--green-50); border-radius: 4px; padding: 1px 6px; }
.orbit__caption { position: absolute; left: 0; right: 0; bottom: -4%; text-align: center; font-size: 13px; color: var(--muted); }
.orbit__caption b { color: var(--green-700); }

/* ---------- 2. プレイガイドで止まる ---------- */
.leak { display: grid; grid-template-columns: 1fr 34px 1fr 34px 1fr; align-items: center; gap: 4px; margin-top: 18px; padding: 18px 14px; border-radius: 16px; background: var(--soft); }
.leak__node { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 4px; padding: 12px 6px; border-radius: 14px; background: #fff; box-shadow: 0 4px 14px rgba(11,26,20,.06); }
.leak__node b { font-size: 13px; color: var(--ink); line-height: 1.3; }
.leak__node small { font-size: 10px; color: var(--muted); line-height: 1.4; }
.leak__ico { width: 38px; height: 38px; border-radius: 50%; background: var(--green-50); color: var(--green-700); display: grid; place-items: center; }
.leak__ico svg { width: 20px; height: 20px; }
.leak__node--org { background: #fff; border: 1.5px dashed #e3b2a8; box-shadow: none; }
.leak__node--org .leak__ico { background: #f3f5f4; color: #9aa8a2; }
.leak__list { display: inline-flex; align-items: center; gap: 4px; font-size: 10px; font-weight: 700; color: #b5532f; background: #fdf0ec; border-radius: 6px; padding: 2px 6px; }
.leak__list em { font-style: normal; font-family: var(--font-en); font-size: 12px; }
.leak__pipe { position: relative; height: 4px; border-radius: 2px; background: var(--green-100); overflow: hidden; }
.leak__pipe i { position: absolute; top: 0; left: -8px; width: 8px; height: 4px; border-radius: 2px; background: var(--green); animation: leakFlow 1.6s linear infinite; }
.leak__pipe i:nth-child(2) { animation-delay: .53s; } .leak__pipe i:nth-child(3) { animation-delay: 1.06s; }
@keyframes leakFlow { to { left: 100%; } }
.leak__wall { justify-self: center; width: 30px; height: 30px; border-radius: 50%; background: #e0533d; color: #fff; display: grid; place-items: center; box-shadow: 0 0 0 5px rgba(224,83,61,.15); }
.leak__wall svg { width: 15px; height: 15px; }
.leak .leak__node, .leak .leak__wall { transition: opacity .45s, transform .45s; }
.leak:not(.is-play) .leak__wall { transform: scale(.4); opacity: 0; }
.leak.is-play .leak__wall { transition-delay: .9s; animation: leakShake .5s ease 1.4s; }
@keyframes leakShake { 0%,100% { translate: 0; } 25% { translate: -3px; } 75% { translate: 3px; } }

/* ---------- 3. メールの開封 ---------- */
.mailviz { margin-top: 18px; padding: 16px 16px 14px; border-radius: 16px; background: var(--soft); }
.mailviz__head { display: flex; justify-content: space-between; align-items: baseline; gap: 8px; font-size: 12.5px; color: var(--muted); }
.mailviz__head b { font-family: var(--font-en); font-size: 18px; color: var(--ink); }
.mailviz__open b { color: #e0533d; }
.mailviz__icons { display: grid; grid-template-columns: repeat(10, 1fr); gap: 6px; margin: 10px 0 8px; }
.mailviz__icons i, .mailviz__legend i { display: block; aspect-ratio: 5 / 4; border-radius: 3px; background: #c9d3cf; -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 16'%3E%3Cpath d='M2 0h16a2 2 0 0 1 2 2v12a2 2 0 0 1-2 2H2a2 2 0 0 1-2-2V2a2 2 0 0 1 2-2Zm.6 2.2v.4L10 8l7.4-5.4v-.4Z'/%3E%3C/svg%3E") center / contain no-repeat; mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 16'%3E%3Cpath d='M2 0h16a2 2 0 0 1 2 2v12a2 2 0 0 1-2 2H2a2 2 0 0 1-2-2V2a2 2 0 0 1 2-2Zm.6 2.2v.4L10 8l7.4-5.4v-.4Z'/%3E%3C/svg%3E") center / contain no-repeat; transition: background-color .3s; }
.mailviz.is-play .mailviz__icons i.is-open { background: var(--green); }
.mailviz__icons i { opacity: .35; transform: translateY(4px); transition: opacity .3s, transform .3s, background-color .3s; }
.mailviz.is-play .mailviz__icons i { opacity: 1; transform: none; }
.mailviz.is-play .mailviz__icons i.is-open { transition-delay: 1s; }
.mailviz__legend { display: flex; align-items: center; flex-wrap: wrap; gap: 4px 14px; font-size: 10.5px; color: var(--muted); }
.mailviz__legend span { display: inline-flex; align-items: center; gap: 5px; }
.mailviz__legend i { width: 14px; }
.mailviz__legend i.is-open { background: var(--green); }
.mailviz__legend small { margin-left: auto; font-size: 10px; }
.mailviz__bars { display: flex; flex-direction: column; gap: 6px; margin-top: 12px; padding-top: 12px; border-top: 1px dashed #d6dfdb; }
.mailviz__bar { display: grid; grid-template-columns: 44px 1fr 66px; align-items: center; gap: 8px; font-size: 12px; font-weight: 700; color: var(--muted); }
.mailviz__bar b { text-align: right; font-family: var(--font-en); font-size: 13px; color: var(--muted); }
.mailviz__track { height: 12px; border-radius: 6px; background: #e3e9e6; overflow: hidden; }
.mailviz__track i { display: block; height: 100%; width: 0; border-radius: 6px; background: #a9b6b1; transition: width 1.1s cubic-bezier(.2,.8,.2,1) .3s; }
.mailviz.is-play .mailviz__track i { width: var(--w); }
.mailviz__bar--line { color: var(--green-700); }
.mailviz__bar--line b { color: var(--green-700); }
.mailviz__bar--line .mailviz__track i { background: var(--green); transition-delay: .7s; }

/* ---------- 4. 購入データ＋友だち＝顧客データ ---------- */
.merge { display: flex; flex-direction: column; align-items: stretch; gap: 8px; }
.merge__card { background: #fff; color: var(--ink); border-radius: 16px; padding: 14px 16px; box-shadow: 0 10px 30px rgba(0,0,0,.18); }
.merge__label { display: flex; align-items: center; gap: 8px; font-size: 13px; font-weight: 900; margin-bottom: 8px; }
.merge__ico { width: 26px; height: 26px; border-radius: 8px; background: var(--green-50); color: var(--green-700); display: grid; place-items: center; }
.merge__ico svg { width: 15px; height: 15px; }
.merge__rows { display: flex; flex-direction: column; }
.merge__rows li { display: flex; justify-content: space-between; gap: 8px; padding: 5px 2px; border-top: 1px solid #eef2f0; font-size: 12.5px; font-weight: 500; }
.merge__rows em { font-style: normal; font-family: var(--font-en); font-size: 11px; color: var(--muted); }
.merge__friend, .merge__profile { display: flex; align-items: center; gap: 10px; }
.merge__friend > span:nth-child(2), .merge__profile > span:last-child { display: flex; flex-direction: column; min-width: 0; line-height: 1.4; }
.merge__friend b, .merge__profile b { font-size: 13.5px; }
.merge__friend small { font-size: 11px; color: var(--muted); }
.merge__friend-on { margin-left: auto; font-size: 10.5px; font-weight: 700; color: #fff; background: var(--green); border-radius: 999px; padding: 2px 10px; }
.merge__av { flex-shrink: 0; width: 38px; height: 38px; border-radius: 50%; background: #e8eeeb; color: #7d8a85; display: grid; place-items: center; }
.merge__av svg { width: 20px; height: 20px; }
.merge__op { align-self: center; width: 30px; height: 30px; border-radius: 50%; background: rgba(255,255,255,.12); color: #7ee2a6; font-weight: 900; display: grid; place-items: center; }
.merge__card--result { background: linear-gradient(135deg, #fff 60%, var(--green-50)); box-shadow: 0 0 0 2px var(--green), 0 14px 40px rgba(6,199,85,.35); }
.merge__card--result .merge__av { background: var(--green); color: #fff; }
.merge__tags { display: flex; flex-wrap: wrap; gap: 4px; margin-top: 2px; }
.merge__tags i { font-style: normal; font-size: 10.5px; font-weight: 700; color: var(--green-700); background: var(--green-50); border: 1px solid var(--green-100); border-radius: 4px; padding: 0 6px; }
.merge__ok { display: flex; align-items: center; gap: 6px; margin-top: 10px; padding-top: 10px; border-top: 1px dashed #d6dfdb; font-size: 12px; font-weight: 700; color: var(--green-700); }
.merge__ok span { flex-shrink: 0; width: 18px; height: 18px; border-radius: 50%; background: var(--green); color: #fff; display: grid; place-items: center; }
.merge__ok svg { width: 11px; height: 11px; stroke-width: 3; }
.merge.is-in .merge__card--result { animation: glow 2.6s ease-in-out 1.2s infinite; }
.merge--light .merge__op { background: var(--green-50); color: var(--green-700); }
.merge--light .merge__card { box-shadow: var(--shadow); }

/* ---------- 5. 買ったあとの差 ---------- */
.track { position: relative; background: #fff; border-radius: var(--radius-lg); padding: 24px 28px; box-shadow: var(--shadow); }
.track + .track { margin-top: 18px; }
.track__title { display: inline-block; font-size: 14px; font-weight: 900; color: var(--muted); margin-bottom: 16px; }
.track--cb { background: linear-gradient(135deg, var(--green), var(--green-600)); color: #fff; box-shadow: 0 20px 44px rgba(6,199,85,.3); }
.track--cb .track__title { color: #fff; background: rgba(255,255,255,.18); border-radius: 999px; padding: 4px 14px; }
.track__steps { display: grid; grid-auto-flow: column; grid-auto-columns: 1fr; gap: 0; counter-reset: none; }
.track__steps li { position: relative; display: flex; flex-direction: column; align-items: center; gap: 8px; text-align: center; padding: 0 4px; }
.track__steps li:not(:last-child)::after { content: ""; position: absolute; top: 25px; left: calc(50% + 30px); right: calc(-50% + 30px); height: 2px; background: repeating-linear-gradient(90deg, #c9d3cf 0 5px, transparent 5px 9px); }
.track--cb .track__steps li:not(:last-child)::after { background: repeating-linear-gradient(90deg, rgba(255,255,255,.7) 0 5px, transparent 5px 9px); }
.track__ico { width: 52px; height: 52px; border-radius: 50%; background: var(--soft); color: var(--ink); display: grid; place-items: center; }
.track__ico svg { width: 24px; height: 24px; }
.track__name { font-size: 13px; font-weight: 700; line-height: 1.45; }
.track--normal .is-end .track__ico { background: #fdf0ec; color: #e0533d; }
.track--normal .is-end .track__name { color: #c2412d; }
.track--cb .track__ico { background: rgba(255,255,255,.18); color: #fff; }
.track--cb .is-key .track__ico { background: #fff; color: var(--green-700); box-shadow: 0 0 0 6px rgba(255,255,255,.2); }
.track--cb .is-key .track__name { font-weight: 900; }
.track__wrap { position: relative; padding-bottom: 46px; }
.track__back { position: absolute; left: calc(100% / 12 * 5); right: calc(100% / 12); bottom: 0; height: 34px; border: 2px dashed rgba(255,255,255,.75); border-top: 0; border-radius: 0 0 18px 18px; display: flex; align-items: center; justify-content: center; font-size: 12px; font-weight: 700; color: #fff; }
.track__back::before { content: ""; position: absolute; left: -7px; top: -10px; border: 6px solid transparent; border-bottom: 9px solid #fff; }
.track__back > i { position: absolute; bottom: -6px; right: 0; width: 10px; height: 10px; border-radius: 50%; background: #fff; box-shadow: 0 0 0 4px rgba(255,255,255,.3); animation: trackBack 2.8s ease-in-out infinite; }
@keyframes trackBack { 0% { right: 0; opacity: 0; } 12% { opacity: 1; } 88% { opacity: 1; } 100% { right: calc(100% - 10px); opacity: 0; } }
.track__meter { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 14px; margin-top: 18px; padding-top: 16px; border-top: 1px dashed #d6dfdb; font-size: 13px; font-weight: 700; color: var(--muted); }
.track--cb .track__meter { border-top-color: rgba(255,255,255,.35); color: #e8fff1; }
.track__meter b { font-size: 14px; font-weight: 900; color: var(--ink); }
.track--normal .track__meter b { color: #c2412d; }
.track--cb .track__meter b { color: #fff; }
.track__gauge { display: flex; align-items: flex-end; gap: 6px; height: 28px; }
.track__gauge i { flex: 1; max-width: 46px; border-radius: 4px 4px 0 0; transform-origin: bottom; transition: transform .7s cubic-bezier(.2,.8,.2,1); }
.track__gauge--flat i { height: 100%; background: #e9b4a8; }
.track__gauge--down i { background: rgba(255,255,255,.85); }
.track__gauge--down i:nth-child(1) { height: 100%; } .track__gauge--down i:nth-child(2) { height: 70%; } .track__gauge--down i:nth-child(3) { height: 45%; } .track__gauge--down i:nth-child(4) { height: 25%; }
.track__meter:not(.is-in) .track__gauge i { transform: scaleY(0); }
.track__meter.is-in .track__gauge i:nth-child(2) { transition-delay: .15s; } .track__meter.is-in .track__gauge i:nth-child(3) { transition-delay: .3s; } .track__meter.is-in .track__gauge i:nth-child(4) { transition-delay: .45s; }
.track__note { margin-top: 14px; display: flex; gap: 8px; align-items: flex-start; font-size: 13px; color: #fff !important; }
.track__note svg { flex-shrink: 0; width: 20px; height: 20px; stroke: #fff; fill: none; stroke-width: 2; }

/* ---------- 6. 広告計測レポート ---------- */
.adf { background: #fff; border-radius: var(--radius-lg); box-shadow: var(--shadow-lg); padding: 20px 22px 16px; }
.adf__head { display: flex; align-items: center; gap: 10px; padding-bottom: 14px; margin-bottom: 14px; border-bottom: 1px solid var(--line); }
.adf__head b { font-size: 15px; font-weight: 900; color: var(--ink); }
.adf__head small { margin-left: auto; font-size: 11px; color: var(--muted); border: 1px solid var(--line); border-radius: 999px; padding: 1px 10px; }
.adf__src { display: inline-flex; align-items: center; gap: 6px; font-size: 11px; font-weight: 700; color: #1877f2; background: #eaf2fe; border-radius: 999px; padding: 3px 10px; }
.adf__src i { width: 8px; height: 8px; border-radius: 50%; background: #1877f2; }
.adf__steps { display: flex; flex-direction: column; gap: 10px; }
.adf__steps li { display: grid; grid-template-columns: 112px 1fr 64px 52px; align-items: center; gap: 10px; }
.adf__name { font-size: 12.5px; font-weight: 700; color: var(--ink); }
.adf__bar { height: 26px; border-radius: 6px; background: #f0f4f2; overflow: hidden; }
.adf__bar i { display: block; height: 100%; width: var(--w); border-radius: 6px; background: linear-gradient(90deg, #b7c4bf, #cfd9d5); transform-origin: left; transition: transform 1s cubic-bezier(.2,.8,.2,1); transition-delay: calc(var(--i, 0) * .18s); }
.adf__steps:not(.is-in) .adf__bar i { transform: scaleX(0); }
.adf__steps li.is-key .adf__bar i { background: linear-gradient(90deg, var(--green), #48e08a); }
.adf__steps li:last-child .adf__bar i { background: linear-gradient(90deg, var(--ink), #3c5248); }
.adf__steps b { text-align: right; font-family: var(--font-en); font-size: 16px; color: var(--ink); }
.adf__steps em { font-style: normal; text-align: right; font-family: var(--font-en); font-size: 11.5px; font-weight: 600; color: var(--green-700); }
.adf__steps em:empty::after { content: "—"; color: #c9d3cf; }
.adf__kpis { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin-top: 16px; }
.adf__kpis div { display: flex; flex-direction: column; padding: 10px 12px; border-radius: 12px; background: var(--soft); }
.adf__kpis small { font-size: 11px; color: var(--muted); font-weight: 700; }
.adf__kpis b { font-family: var(--font-en); font-size: 17px; color: var(--ink); }
.adf__kpis b span { font-family: var(--font); font-size: 12px; margin-left: 2px; }
.adf__kpis .is-key { background: var(--green); }
.adf__kpis .is-key small, .adf__kpis .is-key b { color: #fff; }
.adf__note { margin-top: 10px; font-size: 11px; color: var(--muted); }

@media (prefers-reduced-motion: reduce) {
  .orbit__runner, .leak__pipe i, .track__back > i, .mini-chat small i { animation: none; }
}

/* ---------- タブレット ---------- */
@media (max-width: 1100px) {
  .track__name { font-size: 12px; }
}

/* ---------- スマホ ---------- */
@media (max-width: 768px) {
  .orbit { aspect-ratio: auto; display: flex; flex-direction: column; gap: 10px; width: 100%; }
  .orbit__ring { display: none; }
  .orbit__center { position: relative; left: auto; top: auto; transform: none; width: auto; aspect-ratio: auto; flex-direction: row; gap: 8px; border-radius: 14px; padding: 10px 14px; box-shadow: 0 8px 20px rgba(6,199,85,.3); order: -1; }
  .orbit__center b br { display: none; }
  .orbit__center b { font-size: 14px; }
  .orbit__oa { width: 24px; height: 24px; margin: 0; }
  .orbit__center small { margin: 0 0 0 auto; }
  .orbit__node { position: relative; inset: auto; width: 100%; flex-direction: row; align-items: center; gap: 8px; }
  .orbit__node > div { flex: 1; min-width: 0; }
  .orbit__label { flex-direction: column; align-self: auto; width: 74px; flex-shrink: 0; padding: 6px 4px; border-radius: 12px; font-size: 11px; line-height: 1.35; text-align: center; gap: 3px; }
  .orbit__node--sell .orbit__label { }
  .orbit__caption { position: static; margin-top: 2px; font-size: 12px; }
  .orbit__node + .orbit__node::before { content: ""; position: absolute; left: 36px; top: -10px; width: 2px; height: 10px; background: var(--green-100); }
  .mini-ticket { grid-template-columns: 28px 1fr auto; padding: 8px; }
  .mini-ticket__ico { width: 28px; height: 28px; }
  .mini-ticket__body b { font-size: 15px; }
  .mini-chat p { font-size: 12px; }
  .mini-crm { grid-template-columns: 30px 1fr; padding: 8px 10px; }
  .mini-crm__av { width: 30px; height: 30px; }

  .leak { grid-template-columns: 1fr 14px 1fr 22px 1fr; gap: 3px; padding: 12px 8px; }
  .leak__node { padding: 8px 2px; gap: 3px; }
  .leak__node b { font-size: 11px; }
  .leak__node small { display: none; }
  .leak__ico { width: 30px; height: 30px; }
  .leak__ico svg { width: 16px; height: 16px; }
  .leak__wall { width: 22px; height: 22px; box-shadow: 0 0 0 3px rgba(224,83,61,.15); }
  .leak__wall svg { width: 12px; height: 12px; }
  .leak__list { font-size: 9px; padding: 1px 4px; flex-direction: column; gap: 0; }

  .mailviz { padding: 12px; }
  .mailviz__head { font-size: 11px; }
  .mailviz__head b { font-size: 15px; }
  .mailviz__icons { gap: 4px; }
  .mailviz__bar { grid-template-columns: 38px 1fr 58px; font-size: 11px; }

  .merge__card { padding: 12px; border-radius: 14px; }
  .merge__op { width: 24px; height: 24px; font-size: 13px; }

  .track { padding: 16px 12px; border-radius: 16px; }
  .track__title { font-size: 12px; margin-bottom: 12px; }
  .track__ico { width: 38px; height: 38px; }
  .track__ico svg { width: 18px; height: 18px; }
  .track__steps li:not(:last-child)::after { top: 18px; left: calc(50% + 22px); right: calc(-50% + 22px); }
  .track__name { font-size: 10.5px; }
  .track__wrap { padding-bottom: 36px; }
  .track__back { height: 22px; }
  .track__meter { grid-template-columns: 1fr auto; gap: 6px 10px; font-size: 11px; }
  .track__meter .track__gauge { grid-column: 1 / -1; grid-row: 2; height: 18px; }
  .track__meter b { font-size: 12px; grid-row: 1; grid-column: 2; }
  .track__note { font-size: 11.5px; }

  .adf { padding: 14px 12px 12px; border-radius: 16px; }
  .adf__head { padding-bottom: 10px; margin-bottom: 10px; gap: 6px; }
  .adf__head b { font-size: 13px; }
  .adf__steps li { grid-template-columns: 82px 1fr 44px 40px; gap: 6px; }
  .adf__name { font-size: 10.5px; }
  .adf__bar { height: 18px; }
  .adf__steps b { font-size: 13px; }
  .adf__steps em { font-size: 10px; }
  .adf__kpis { gap: 5px; }
  .adf__kpis div { padding: 8px; }
  .adf__kpis small { font-size: 9.5px; }
  .adf__kpis b { font-size: 13px; }
}

/* =========================================================
   ファーストビューの図：「買う画面 → LINEに届く」
   大きさはすべて .hero__visual の幅（cqw）基準
   ========================================================= */
.hero .hero__visual { padding: 0; }
.hv { position: relative; height: 84cqw; font-family: var(--font); }
.hv svg { display: block; }

/* スマホ本体 */
.hv__phone { position: absolute; left: 7cqw; top: 2cqw; width: 38cqw; height: 76cqw; padding: 1.6cqw; border-radius: 7cqw; background: #0f1512; box-shadow: 0 4cqw 9cqw rgba(0,45,18,.45), inset 0 0 0 .4cqw #2a332f; transform: rotate(-5deg); z-index: 3; animation: hvIn 1s cubic-bezier(.2,.8,.2,1) .5s both, hvFloat 7s ease-in-out 1.6s infinite; }
@keyframes hvIn { from { opacity: 0; transform: translateY(6cqw) rotate(-5deg) scale(.94); } }
@keyframes hvFloat { 0%,100% { translate: 0 0; } 50% { translate: 0 -1.4cqw; } }
.hv__screen { position: relative; width: 100%; height: 100%; border-radius: 5.6cqw; overflow: hidden; background: #fff; font-size: 2.05cqw; line-height: 1.5; color: var(--ink); }
.hv__notch { position: absolute; z-index: 6; top: 1.1cqw; left: 50%; width: 12cqw; height: 3cqw; margin-left: -6cqw; border-radius: 2cqw; background: #0f1512; }

/* 1. 買う（ミニアプリ） */
.hv__app, .hv__talk { position: absolute; inset: 0; transition: transform .7s cubic-bezier(.7,0,.3,1), opacity .5s; }
.hv__appbar { display: flex; align-items: flex-end; justify-content: space-between; gap: .5em; height: 10cqw; padding: 0 3cqw 1.6cqw; background: var(--green); color: #fff; font-weight: 700; font-size: 1.85cqw; white-space: nowrap; }
.hv__appbar em { font-style: normal; font-size: .82em; background: rgba(255,255,255,.25); border-radius: .4em; padding: .1em .5em; }
.hv__event { position: relative; height: 18cqw; background: url(/assets/img/rise-fight.jpg) center 30% / cover; }
.hv__event span { position: absolute; left: 2.4cqw; top: 2cqw; font-family: var(--font-en); font-size: 1.5cqw; font-weight: 700; letter-spacing: .1em; color: #fff; background: #e0533d; border-radius: .4em; padding: .1em .6em; }
.hv__appbody { padding: 2.4cqw 2.8cqw; }
.hv__title { font-family: var(--font-en); font-weight: 700; font-size: 2.35cqw; line-height: 1.3; }
.hv__date { font-size: 1.65cqw; color: var(--muted); margin: .3em 0 1.1em; }
.hv__seat { display: flex; justify-content: space-between; align-items: center; margin-bottom: 1.2cqw; padding: 1.3cqw 1.8cqw; border: .3cqw solid var(--line); border-radius: 2cqw; font-weight: 700; }
.hv__seat small { margin-left: .5em; font-size: .78em; font-weight: 700; color: #e0533d; }
.hv__seat b { font-family: var(--font-en); }
.hv__seat.is-on { border-color: var(--green); background: var(--green-50); }
.hv__buy { position: relative; margin-top: 2.2cqw; height: 6.4cqw; border-radius: 999px; background: var(--green); color: #fff; font-weight: 900; font-size: 2.1cqw; overflow: hidden; box-shadow: 0 1cqw 2.4cqw rgba(6,199,85,.35); transition: background-color .3s, transform .15s; }
.hv__buy span { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; gap: .4em; transition: transform .45s cubic-bezier(.2,.8,.2,1), opacity .3s; }
.hv__buy-b { transform: translateY(100%); opacity: 0; }
.hv__buy-b i { font-style: normal; width: 1.4em; height: 1.4em; border-radius: 50%; background: #fff; color: var(--green-700); display: grid; place-items: center; font-size: .8em; }
.hv.is-bought .hv__buy { background: var(--ink); }
.hv.is-bought .hv__buy-a { transform: translateY(-100%); opacity: 0; }
.hv.is-bought .hv__buy-b { transform: none; opacity: 1; }
.hv.is-tap .hv__buy { transform: scale(.96); }
.hv__tap { position: absolute; left: 50%; bottom: 13cqw; width: 7cqw; height: 7cqw; margin-left: -3.5cqw; border-radius: 50%; background: rgba(11,26,20,.25); border: .4cqw solid rgba(255,255,255,.9); opacity: 0; transform: scale(.4); pointer-events: none; }
.hv.is-tap .hv__tap { animation: hvTap .7s ease-out; }
@keyframes hvTap { 0% { opacity: 0; transform: scale(.4); } 30% { opacity: 1; transform: scale(1); } 100% { opacity: 0; transform: scale(1.8); } }

/* 2. 届く（LINEのトーク） */
.hv__talk { transform: translateX(100%); background: linear-gradient(#a8c0dc, #8eadce); }
.hv.is-s2 .hv__app { transform: translateX(-35%); opacity: 0; }
.hv.is-s2 .hv__talk { transform: none; }
.hv__talkbar { display: flex; align-items: flex-end; gap: .6em; height: 10cqw; padding: 0 3cqw 1.6cqw; background: #f6f8f7; border-bottom: 1px solid var(--line); font-weight: 900; font-size: 1.9cqw; }
.hv__talkbar i { width: 2.6cqw; height: 2.6cqw; border-radius: 50%; background: var(--green); flex-shrink: 0; }
.hv__msgs { display: flex; flex-direction: column; gap: 1.6cqw; padding: 2.4cqw 2.2cqw; }
.hv__rich, .hv__msg { opacity: 0; transform: translateY(2cqw) scale(.92); transform-origin: left top; transition: opacity .4s, transform .55s cubic-bezier(.2,1.4,.4,1); }
.hv__rich { width: 84%; background: #fff; border-radius: 2.6cqw; overflow: hidden; }
.hv__rich-img { position: relative; height: 13cqw; background: url(/assets/img/crowd.jpg) center / cover; }
.hv__rich-img span { position: absolute; left: 1.8cqw; bottom: 1.2cqw; color: #fff; font-weight: 900; font-size: 1.75cqw; text-shadow: 0 .2cqw .8cqw rgba(0,0,0,.6); }
.hv__rich-body { padding: 1.4cqw 2cqw; font-size: 1.7cqw; color: var(--muted); }
.hv__rich-body b { display: block; color: var(--ink); font-size: 2cqw; }
.hv__rich-btn { border-top: 1px solid var(--line); padding: 1.2cqw; text-align: center; font-weight: 900; font-size: 1.85cqw; color: #2a6fdb; }
.hv__msg { max-width: 82%; background: #fff; border-radius: .8cqw 2.6cqw 2.6cqw 2.6cqw; padding: 1.4cqw 1.8cqw; font-size: 1.8cqw; }
.hv__msg b { color: var(--green-700); }
.hv.is-s2 .hv__rich { opacity: 1; transform: none; transition-delay: .55s; }
.hv.is-m1 .hv__msg--1, .hv.is-m2 .hv__msg--2 { opacity: 1; transform: none; }

/* 上から降りてくる通知 */
.hv__notice { position: absolute; z-index: 7; color: var(--ink); left: 30cqw; top: 0; width: 62cqw; display: grid; grid-template-columns: 6cqw 1fr; gap: 2cqw; align-items: center; padding: 2cqw 2.4cqw; border-radius: 3cqw; background: rgba(255,255,255,.97); box-shadow: 0 2cqw 5cqw rgba(0,40,15,.28); font-size: 2.1cqw; line-height: 1.45; color: var(--ink); opacity: 0; transform: translateY(-6cqw); transition: opacity .4s, transform .6s cubic-bezier(.2,1.3,.4,1); }
.hv__notice i { width: 6cqw; height: 6cqw; border-radius: 1.6cqw; background: var(--green); display: grid; place-items: center; }
.hv__notice svg { width: 3.6cqw; height: 3.6cqw; fill: #fff; }
.hv__notice b { display: block; font-size: 1.7cqw; color: var(--muted); font-weight: 700; }
.hv.is-notice .hv__notice { opacity: 1; transform: none; }

/* 飛び出すチケット */
.hv__ticket { --notch: 2.6cqw; position: absolute; z-index: 4; color: var(--ink); left: 40cqw; top: 27cqw; width: 58cqw; height: 27cqw; display: flex; border-radius: 3cqw; background: #fff; box-shadow: 0 3cqw 7cqw rgba(0,45,18,.35);
  -webkit-mask: radial-gradient(circle at 72% 0, #0000 var(--notch), #000 calc(var(--notch) + .5px)) top / 100% 51% no-repeat, radial-gradient(circle at 72% 100%, #0000 var(--notch), #000 calc(var(--notch) + .5px)) bottom / 100% 51% no-repeat;
  mask: radial-gradient(circle at 72% 0, #0000 var(--notch), #000 calc(var(--notch) + .5px)) top / 100% 51% no-repeat, radial-gradient(circle at 72% 100%, #0000 var(--notch), #000 calc(var(--notch) + .5px)) bottom / 100% 51% no-repeat;
  opacity: 0; transform: translate(-22cqw, 8cqw) rotate(-10deg) scale(.35); transition: transform .9s cubic-bezier(.2,1.2,.3,1), opacity .4s; }
.hv.is-fly .hv__ticket { opacity: 1; transform: rotate(7deg); }
.hv.is-s2 .hv__ticket { opacity: 0; transform: translate(-22cqw, 4cqw) rotate(-6deg) scale(.3); transition: transform .6s cubic-bezier(.6,0,.4,1), opacity .5s .1s; }
.hv__tmain { width: 72%; padding: 2.6cqw 3.4cqw; border-right: .4cqw dashed #cfd9d4; display: flex; flex-direction: column; justify-content: center; }
.hv__tkick { font-family: var(--font-en); font-size: 1.4cqw; font-weight: 600; letter-spacing: .25em; color: var(--green-600); }
.hv__tname { font-size: 3.5cqw; font-weight: 900; line-height: 1.25; margin: .15em 0 .3em; white-space: nowrap; }
.hv__tsub { font-size: 1.35cqw; white-space: nowrap; color: var(--muted); background: linear-gradient(transparent 60%, var(--green-100) 60%); align-self: flex-start; }
.hv__tmeta { display: flex; gap: 3.4cqw; margin-top: 1.6cqw; padding-top: 1.4cqw; border-top: 1px solid var(--line); }
.hv__tmeta span { display: flex; flex-direction: column; font-family: var(--font-en); font-weight: 700; font-size: 2cqw; line-height: 1.2; }
.hv__tmeta small { font-size: 1.3cqw; color: var(--muted); letter-spacing: .15em; font-weight: 600; }
.hv__tstub { flex: 1; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 1.2cqw; }
.hv__qr { width: 11cqw; height: 11cqw; fill: var(--ink); }
.hv__tstub small { font-family: var(--font-en); font-size: 1.2cqw; letter-spacing: .2em; color: var(--muted); font-weight: 600; }

/* 吹き出し（場面ごとに入れ替え） */
.hero__chip.hv__chip { animation: none; z-index: 8; opacity: 0; transform: translateY(2cqw) scale(.9); transition: opacity .35s, transform .5s cubic-bezier(.3,1.6,.5,1); }
.hv__chip--s1a { top: 10cqw; right: 1cqw; }
.hv__chip--s1b { top: 59cqw; right: 6cqw; }
.hv__chip--s2a { top: 18cqw; right: 0; }
.hv__chip--s2b { top: 55cqw; right: 4cqw; }
/* 吹き出しは場面ごとに1つずつ（開く→買う→届く→開封率） */
.hv.is-s0 .hv__chip--s1b { opacity: 1; transform: none; transition-delay: .5s; }
.hv.is-s1 .hv__chip--s1a { opacity: 1; transform: none; transition-delay: .8s; }
.hv.is-s2:not(.is-notice):not(.is-end) .hv__chip--s2b { opacity: 1; transform: none; transition-delay: 1s; }
.hv.is-notice .hv__chip--s2a { opacity: 1; transform: none; transition-delay: .3s; }

/* 「1 買う → 2 届く」 */
.hv__steps { position: absolute; z-index: 8; left: 9cqw; bottom: 0; display: flex; align-items: center; gap: 1.4cqw; padding: .8cqw; border-radius: 999px; background: rgba(255,255,255,.18); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); }
.hv__step { display: flex; align-items: center; gap: .6em; padding: .45em 1.1em .45em .5em; border-radius: 999px; font-size: max(11px, 2cqw); font-weight: 900; color: rgba(255,255,255,.85); transition: background-color .4s; }
.hv__step span { width: 1.6em; height: 1.6em; border-radius: 50%; background: rgba(255,255,255,.25); display: grid; place-items: center; font-family: var(--font-en); font-size: .85em; }
.hv__step--1::after { content: "→"; margin-left: .8em; color: rgba(255,255,255,.7); }
.hv.is-s1 .hv__step--1, .hv.is-s2 .hv__step--2 { background: #fff; color: var(--green-700); }
.hv.is-s1 .hv__step--1 span, .hv.is-s2 .hv__step--2 span { background: var(--green); color: #fff; }
.hv.is-s1 .hv__step--1::after { color: var(--muted); }

@media (prefers-reduced-motion: reduce) {
  .hv__phone { animation: none; }
}

/* スマホ：横に少しコンパクトに */
@media (max-width: 768px) {
  .hero .hero__visual { width: 100%; max-width: 380px; padding: 6px 0 2px; }
  .hv { height: 72cqw; }
  .hv__phone { left: 5cqw; top: 7cqw; scale: .82; transform-origin: 0 0; }
  .hv__ticket { left: 33cqw; top: 25cqw; scale: .9; transform-origin: 0 0; }
  .hv__notice { left: 26cqw; width: 70cqw; font-size: 2.6cqw; }
  .hv__notice b { font-size: 2.2cqw; }
  .hero__chip.hv__chip { font-size: 10.5px; padding: 6px 9px; }
  .hv__chip--s1a { top: 9cqw; right: 0; }
  .hv__chip--s1b { display: none; }
  .hv__chip--s2a { top: 18cqw; right: 0; }
  .hv__chip--s2b { top: 46cqw; right: 0; }
  .hv__steps { left: auto; right: 2cqw; bottom: 0; }
  .hv__step { font-size: 10.5px; }
}

/* スマホ：図を中央にまとめてバランスを整える */
@media (max-width: 768px) {
  .hero .hero__visual { max-width: 400px; padding: 0 0 18px; }
  .hv { height: 80cqw; }
  .hv__phone { left: 13cqw; top: 5cqw; scale: .8; }
  .hv__ticket { left: 37cqw; top: 27cqw; scale: .86; }
  .hv__notice { left: 18cqw; width: 72cqw; }
  .hv__chip--s1a { top: 8cqw; right: 4cqw; }
  .hv__chip--s2a { top: 15cqw; right: 4cqw; }
  .hv__chip--s2b { top: 52cqw; right: 4cqw; }
  .hv__steps { left: 50%; right: auto; bottom: 0; translate: -50% 0; }
}

/* 一時的にチケットだけ非表示。スマホを中央に置き、吹き出しを左右に振り分け — 戻すときはこのブロックを削除 */
.hv__ticket { display: none; }
.hv__phone { left: 30cqw; }
.hv__notice { left: 19cqw; }
.hv__chip--s1a { top: 18cqw; left: 0; right: auto; }
.hv__chip--s1b { top: 54cqw; right: 0; }
.hv__chip--s2a { top: 24cqw; right: 0; }
.hv__chip--s2b { top: 58cqw; left: 0; right: auto; }
.hv__steps { left: 50%; translate: -50% 0; }
@media (max-width: 768px) {
  .hv__phone { left: 35cqw; }
  .hv__notice { left: 14cqw; }
  .hv__chip--s1a { top: 16cqw; left: 0; right: auto; }
  .hv__chip--s1b { display: block; top: 50cqw; right: 0; }
  .hv__chip--s2a { top: 24cqw; right: 0; }
  .hv__chip--s2b { top: 54cqw; left: 0; right: auto; }
}

/* スマホ：「LINEミニアプリ」と見出しラベルを図の上に */
@media (max-width: 768px) {
  .hero__copy { display: contents; }
  .hero__copy > * { min-width: 0; }
  .hero__copy > .mini-badge, .hero__copy > .hero__label { order: -2; justify-self: start; }
  .hero__copy > .hero__label { margin-bottom: 10px; }
}

/* 「① 買う → ② LINEに届く」が折り返さないように */
.hv__steps { width: max-content; }
.hv__step { white-space: nowrap; }

/* LINEミニアプリ：LINEの吹き出し風（しっぽが左下） */
.hero .mini-badge { position: relative; overflow: visible; background: #fff; color: var(--green-700); border: 0; border-radius: 18px; padding: 7px 16px 7px 12px; margin-bottom: 18px; box-shadow: 0 6px 16px rgba(0,60,25,.18); }
.hero .mini-badge svg { fill: var(--green); }
.hero .mini-badge::after { content: ""; position: absolute; left: 16px; bottom: -8px; width: 14px; height: 12px; background: #fff; clip-path: polygon(0 0, 100% 0, 0 100%); }
.hero__copy > .mini-badge + .hero__label { margin-left: 0; }

@media (max-width: 768px) {
  .hero .mini-badge { margin-bottom: 14px; padding: 5px 13px 5px 10px; }
  .hero .mini-badge::after { left: 13px; bottom: -7px; width: 12px; height: 10px; }
}
/* 吹き出しとラベルが2段になった分、PCの上余白を詰める */
@media (min-width: 769px) {
  .hero { padding-top: calc(var(--header-h) + 72px); }
  .hero .mini-badge { margin-bottom: 14px; }
}

@media (min-width: 769px) { .hero__title { margin-top: 22px; } .hero__lead { margin-top: 22px; } .hero__actions { margin-top: 32px; } }

/* 見出しラベル：白い太枠＋チケットのマーク（中は透明） */
.hero__label { display: inline-flex; align-items: center; gap: 10px; padding: 7px 20px 8px 10px; border: 3px solid #fff; border-radius: 12px; background: none; color: #fff; font-size: 20px; font-weight: 900; letter-spacing: .04em; line-height: 1.3; box-shadow: none; text-shadow: 0 2px 10px rgba(0,50,20,.2); white-space: nowrap; }
.hero__label i { display: grid; place-items: center; flex-shrink: 0; width: 32px; height: 32px; border-radius: 8px; background: #fff; }
.hero__label svg { width: 20px; height: 20px; fill: var(--green); }
@media (max-width: 768px) {
  .hero__label { gap: 8px; padding: 5px 16px 6px 7px; border-width: 2.5px; border-radius: 10px; font-size: 17px; }
  .hero__label i { width: 27px; height: 27px; border-radius: 7px; }
  .hero__label svg { width: 17px; height: 17px; }
}
@media (max-width: 360px) {
  .hero__label { font-size: 15px; padding-right: 12px; }
}

/* ---------- 0. ホーム画面からLINEを開く ---------- */
.hv__home { position: absolute; inset: 0; z-index: 5; display: flex; flex-direction: column; padding: 2.2cqw 2.4cqw 2.2cqw; background: linear-gradient(160deg, #bfe8d2 0%, #9cc8ea 55%, #b9a9e6 100%); opacity: 0; transform: scale(1.12); pointer-events: none; transition: opacity .45s, transform .6s cubic-bezier(.3,.7,.3,1); }
.hv.is-s0 .hv__home { opacity: 1; transform: none; }
.hv__status { display: flex; justify-content: space-between; align-items: center; padding: 0 2.2cqw; height: 3.4cqw; font-family: var(--font-en); font-size: 1.6cqw; color: var(--ink); }
.hv__status i { width: 3.4cqw; height: 1.5cqw; border-radius: .4cqw; border: .25cqw solid var(--ink); position: relative; }
.hv__status i::after { content: ""; position: absolute; inset: .2cqw 1cqw .2cqw .2cqw; background: var(--ink); border-radius: .15cqw; }
.hv__apps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 2.4cqw .6cqw; margin-top: 4cqw; }
.hv__ic { position: relative; display: flex; flex-direction: column; align-items: center; gap: .6cqw; }
.hv__ic i { display: grid; place-items: center; width: 6.6cqw; height: 6.6cqw; border-radius: 1.7cqw; box-shadow: 0 .5cqw 1.2cqw rgba(20,40,60,.18); transition: transform .2s; }
.hv__ic svg { width: 72%; height: 72%; }
.hv__ic small { font-size: 1.2cqw; line-height: 1.2; color: #fff; font-weight: 700; white-space: nowrap; text-shadow: 0 .15cqw .5cqw rgba(0,0,0,.35); }
.hv__ic--cam i { background: linear-gradient(#6b7280, #374151); }
.hv__ic--photo i { background: #fff; }
.hv__ic--map i { background: linear-gradient(#5ac8fa, #2d9cdb); }
.hv__ic--wthr i { background: linear-gradient(#4aa3ff, #1e6fe0); }
.hv__ic--mail i { background: linear-gradient(#5ea0ff, #2f7cf6); }
.hv__ic--line i { background: #06c755; }
.hv__ic--line svg { width: 82%; height: 82%; }
.hv__ic--music i { background: linear-gradient(#ff6b8a, #f2365c); }
.hv__ic--cal i { background: #fff; }
.hv__ic--cal b { font-family: var(--font-en); font-size: 3.4cqw; font-weight: 600; color: var(--ink); }
.hv__ic--tel i { background: linear-gradient(#5be37d, #2dbe5a); }
.hv__ic--web i { background: linear-gradient(#58b6ff, #1a7cf0); }
.hv__ic--msg i { background: linear-gradient(#6ee08a, #33c45c); }
.hv__ic--set i { background: linear-gradient(#a0a7b2, #6b7380); }
.hv__dock { margin-top: auto; display: flex; justify-content: space-around; padding: 1.4cqw 1cqw; border-radius: 3.4cqw; background: rgba(255,255,255,.4); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); }
/* LINEをタップ */
.hv__htap { position: absolute; left: 50%; top: 3.3cqw; width: 8cqw; height: 8cqw; margin: -4cqw 0 0 -4cqw; border-radius: 50%; background: rgba(11,26,20,.22); border: .4cqw solid rgba(255,255,255,.95); opacity: 0; pointer-events: none; }
.hv.is-htap .hv__htap { animation: hvTap .7s ease-out; }
.hv.is-htap .hv__ic--line i { transform: scale(.88); }
/* LINEのアイコンから購入画面が開く */
.hv__app { transform-origin: 38% 24%; }
.hv.is-s0 .hv__app { transform: scale(.14); opacity: 0; transition: none; }

/* 目印：① 開く → ② 買う → ③ LINEに届く */
.hv__step--0::after { content: "→"; margin-left: .8em; color: rgba(255,255,255,.7); }
.hv.is-s0 .hv__step--0 { background: #fff; color: var(--green-700); }
.hv.is-s0 .hv__step--0 span { background: var(--green); color: #fff; }
.hv.is-s0 .hv__step--0::after { color: var(--muted); }
.hv__steps { gap: .6cqw; }
@media (max-width: 768px) {
  .hv__step { padding: .4em .8em .4em .45em; }
  .hv__step--0::after, .hv__step--1::after { margin-left: .5em; }
}
/* ホーム画面：アイコンを少し大きく、LINEを光らせて目立たせる */
.hv__apps { gap: 3.2cqw .6cqw; margin-top: 5cqw; }
.hv__ic i { width: 7.2cqw; height: 7.2cqw; border-radius: 1.9cqw; }
.hv__ic--line i { position: relative; }
.hv.is-s0 .hv__ic--line i::after { content: ""; position: absolute; inset: -.6cqw; border-radius: 2.4cqw; border: .45cqw solid #fff; animation: hvRing 1.2s ease-out infinite; }
@keyframes hvRing { 0% { opacity: .95; transform: scale(.92); } 100% { opacity: 0; transform: scale(1.35); } }
@media (prefers-reduced-motion: reduce) { .hv.is-s0 .hv__ic--line i::after { animation: none; opacity: 0; } }

/* 吹き出しの位置：説明している場所の横に置き、ボタンなどに重ねない */
.hv__chip--s1b { top: 40cqw; left: 0; right: auto; display: block; }  /* 開く：アイコンの下の空いた場所 */
.hv__chip--s1a { top: 13cqw; right: 0; left: auto; }                   /* 買う：イベント写真の横 */
.hv__chip--s2b { top: 22cqw; left: 0; right: auto; }                   /* 届く：購入のお礼メッセージの横 */
.hv__chip--s2a { top: 46cqw; right: 0; left: auto; }                   /* 開封率：メッセージの横 */
@media (max-width: 768px) {
  .hv__chip--s1b { top: 38cqw; }
  .hv__chip--s1a { top: 11cqw; }
  .hv__chip--s2b { top: 21cqw; }
  .hv__chip--s2a { top: 44cqw; }
}

/* ---------- 引き出し線の説明（配置D）：線の先の点が画面の部品を指す ---------- */
/* 位置は「点」の座標（.hv の幅に対する cqw）。左側は文字→線→点、右側は点→線→文字 */
.hv__co { --x: 50cqw; --y: 50cqw; --len: 10cqw; position: absolute; z-index: 8; top: var(--y); display: flex; align-items: center; margin: 0; color: #fff; opacity: 0; transform: translateY(-50%); transition: opacity .3s; pointer-events: none; }
.hv__co.is-l { right: calc(100cqw - var(--x)); }
.hv__co.is-r { left: var(--x); }
.hv__co span { display: flex; flex-direction: column; line-height: 1.3; white-space: nowrap; text-shadow: 0 2px 10px rgba(0,40,15,.35); opacity: 0; transform: translateY(.6cqw); transition: opacity .35s, transform .45s cubic-bezier(.2,.8,.2,1); }
.hv__co.is-l span { align-items: flex-end; text-align: right; margin-right: 1.2cqw; }
.hv__co.is-r span { margin-left: 1.2cqw; }
.hv__co b { font-size: max(12px, 2.6cqw); font-weight: 900; letter-spacing: .03em; }
.hv__co small { margin-top: .2em; font-size: max(10px, 1.9cqw); font-weight: 700; opacity: .92; }
/* 線と点 */
.hv__co i { position: relative; width: var(--len); height: 2px; background: #fff; border-radius: 2px; transform: scaleX(0); transition: transform .45s cubic-bezier(.3,.8,.3,1); box-shadow: 0 1px 6px rgba(0,40,15,.25); }
.hv__co.is-l i { transform-origin: right center; }
.hv__co.is-r i { transform-origin: left center; }
.hv__co i::after { content: ""; position: absolute; top: 50%; width: 1.8cqw; height: 1.8cqw; min-width: 8px; min-height: 8px; border-radius: 50%; background: #fff; box-shadow: 0 0 0 .8cqw rgba(255,255,255,.35); transform: translate(-50%, -50%); }
.hv__co.is-l i::after { left: 100%; }
.hv__co.is-r i::after { left: 0; }
/* 表示：点 → 線が伸びる → 文字 */
.hv__co.is-on, .hv.is-s0 .hv__co--open, .hv.is-s1 .hv__co--buy, .hv.is-s2:not(.is-notice):not(.is-end) .hv__co--send, .hv.is-notice .hv__co--rate { opacity: 1; }
.hv.is-s0 .hv__co--open, .hv.is-s1 .hv__co--buy, .hv.is-s2:not(.is-notice):not(.is-end) .hv__co--send, .hv.is-notice .hv__co--rate { transition-delay: var(--d, .5s); }
.hv.is-s0 .hv__co--open i, .hv.is-s1 .hv__co--buy i, .hv.is-s2:not(.is-notice):not(.is-end) .hv__co--send i, .hv.is-notice .hv__co--rate i { transform: none; transition-delay: calc(var(--d, .5s) + .1s); }
.hv.is-s0 .hv__co--open span, .hv.is-s1 .hv__co--buy span, .hv.is-s2:not(.is-notice):not(.is-end) .hv__co--send span, .hv.is-notice .hv__co--rate span { opacity: 1; transform: none; transition-delay: calc(var(--d, .5s) + .4s); }
/* 点の位置（PC） */
.hv__co--open { --x: 42cqw; --y: 30.6cqw; --len: 15cqw; --d: .5s; }
.hv__co--buy  { --x: 63cqw; --y: 63.8cqw; --len: 11cqw; --d: .8s; }
.hv__co--send { --x: 33.5cqw; --y: 29cqw; --len: 8cqw; --d: 1s; }
.hv__co--rate { --x: 59.5cqw; --y: 65cqw; --len: 13cqw; --d: .3s; }
/* 点の位置（スマホ） */
@media (max-width: 768px) {
  .hv__co--open { --x: 47cqw; --y: 26.5cqw; --len: 12cqw; }
  .hv__co--buy  { --x: 63cqw; --y: 52.8cqw; --len: 9cqw; }
  .hv__co--send { --x: 40.5cqw; --y: 26cqw; --len: 6cqw; }
  .hv__co--rate { --x: 60cqw; --y: 54cqw; --len: 11cqw; }
}
@media (prefers-reduced-motion: reduce) { .hv__co, .hv__co i, .hv__co span { transition: none !important; } }
/* 点：緑の中心＋白いふち（白いメッセージの上でも見えるように） */
.hv__co i::after { background: var(--green); border: max(2px, .45cqw) solid #fff; box-sizing: border-box; width: 2.2cqw; height: 2.2cqw; min-width: 10px; min-height: 10px; }
.hv__co b { font-size: max(12px, 3cqw); }
.hv__co--rate b { font-family: var(--font-en); font-size: max(14px, 3.6cqw); letter-spacing: .01em; }
@media (max-width: 400px) {
  .hv__co--buy { --len: 6cqw; }
  .hv__co--rate { --len: 7cqw; }
}

/* スマホ：アニメーションを大きく（スマホ本体を等倍に） */
@media (max-width: 768px) {
  .hero .hero__visual { max-width: 440px; }
  .hv { height: 90cqw; }
  .hv__phone { left: 31cqw; top: 2cqw; scale: 1; }
}
@media (max-width: 768px) {
  .hv__phone { left: 28cqw; top: 3cqw; }
  .hv__co--open { --x: 43cqw; --y: 29.8cqw; --len: 13cqw; }
  .hv__co--buy  { --x: 64cqw; --y: 63cqw; --len: 9cqw; }
  .hv__co--send { --x: 34.5cqw; --y: 28cqw; --len: 5.5cqw; }
  .hv__co--rate { --x: 61cqw; --y: 64cqw; --len: 11cqw; }
}
@media (max-width: 360px) {
  .hv__co b { font-size: 11px; }
  .hv__co--rate b { font-size: 12.5px; }
  .hv__co small { font-size: 9px; }
  .hv__co--buy { --len: 7cqw; }
  .hv__co--rate { --len: 9cqw; }
}
@media (min-width: 440px) and (max-width: 768px) { .hv__co--open { --len: 15cqw; } }
@media (max-width: 360px) { .hv__co--rate { --len: 11cqw; } }
/* 広い画面ではロゴが大きくなるので、ラベルがロゴに重ならないよう上の余白をロゴに合わせる */
@media (min-width: 769px) {
  .hero { padding-top: max(calc(var(--header-h) + 72px), calc(clamp(150px, 12vw, 200px) * .632 + 46px)); }
}

/* ---------- 追尾CTA ---------- */
/* スマホ：下の帯。LINE ボタンにアイコン */
.sp-cta__line { gap: 6px; }
.sp-cta__line svg { width: 18px; height: 18px; fill: currentColor; flex-shrink: 0; }

/* PC：右下に資料DLと LINE 相談を縦に並べる */
.fcta { position: fixed; right: 20px; bottom: 20px; z-index: 40; display: flex; flex-direction: column; gap: 10px; width: 264px; opacity: 0; transform: translateY(16px); pointer-events: none; transition: opacity .35s, transform .35s cubic-bezier(.2,.8,.2,1); }
.fcta.is-show { opacity: 1; transform: none; pointer-events: auto; }
.fcta a { display: flex; align-items: center; gap: 12px; padding: 12px 16px 12px 12px; border-radius: 16px; box-shadow: 0 14px 34px rgba(11,26,20,.18); transition: transform .2s, box-shadow .2s; }
.fcta a:hover { transform: translateY(-3px); box-shadow: 0 18px 40px rgba(11,26,20,.24); }
.fcta__dl { background: #fff; border: 1px solid var(--line); color: var(--ink); }
.fcta__line { background: var(--green); color: #fff; }
.fcta .side-dl__doc { position: relative; flex-shrink: 0; width: 40px; height: 48px; border-radius: 6px; background: var(--green); box-shadow: 4px 4px 0 var(--green-100); display: flex; flex-direction: column; justify-content: center; gap: 4px; padding: 0 8px; }
.fcta .side-dl__doc i { height: 3px; border-radius: 2px; background: rgba(255,255,255,.9); }
.fcta .side-dl__doc i:last-child { width: 60%; }
.fcta__ico { display: grid; place-items: center; flex-shrink: 0; width: 44px; height: 44px; border-radius: 12px; background: #fff; }
.fcta__ico svg { width: 26px; height: 26px; fill: var(--green); }
.fcta__text { display: flex; flex-direction: column; line-height: 1.35; }
.fcta__text small { align-self: flex-start; margin-bottom: 3px; padding: 1px 6px; border-radius: 4px; background: #f08a00; color: #fff; font-size: 11px; font-weight: 700; }
.fcta__text b { font-size: 15px; font-weight: 900; }
.fcta__text span { font-size: 12.5px; font-weight: 700; }
.fcta__dl .fcta__text span { color: var(--green-700); }
.fcta__line .fcta__text span { color: rgba(255,255,255,.88); }
.fcta__close { position: absolute; top: -10px; right: -8px; z-index: 1; width: 26px; height: 26px; border-radius: 50%; border: 1px solid var(--line); background: #fff; color: var(--muted); font-size: 15px; line-height: 1; cursor: pointer; box-shadow: 0 4px 10px rgba(11,26,20,.15); }
.fcta__close:hover { color: var(--ink); }
@media (max-width: 768px) { .fcta { display: none; } }
@media (prefers-reduced-motion: reduce) { .fcta, .fcta a { transition: none; } }
