/* ─────────────────────────────────────────────
   revinavi — 事業サイト
   夜（オープニング・映像・問題提起・相談）から、扉を開けて昼の紙面へ。
   夜：濃紺に青い光と金の灯り。昼：青みのある白地に紺の文字、青は操作、金は星と灯り。
   主役は「お客様の道」の図。ほかは静かに。
   ───────────────────────────────────────────── */

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 76px; }
img, svg, video { display: block; max-width: 100%; }
button { font: inherit; color: inherit; }
a { color: inherit; }

:root {
  /* 夜 */
  --night:   #050a14;
  --indigo:  #0d1a2e;
  --light:   #4d9de0;
  --light2:  #7ab8f5;
  --lamp:    #d9b877;
  --white:   #eaf2ff;
  --mist:    #9db2c8;
  --mist2:   #7f96ad;
  --rule:    rgba(122,184,245,.14);
  --rule2:   rgba(122,184,245,.08);
  /* 昼 */
  --paper:   #f4f7fb;
  --card:    #ffffff;
  --ink:     #10233f;
  --ink2:    #4a5d78;   /* paper 上で 6.2:1 */
  --line:    #d6e0ec;
  --line2:   #e7edf5;
  --blue:    #2457c5;   /* 白文字で 6.3:1 */
  --blue2:   #1b469f;
  --sky:     #e3ecf8;
  --sky2:    #c9dbf1;
  --gold:    #c99a43;
  --gold-ink:#86611f;   /* paper 上で 5.3:1 */
  --cream:   #f6e7c4;

  --f-head: 'Shippori Mincho', 'Hiragino Mincho ProN', 'Yu Mincho', serif;
  --f-body: 'Zen Kaku Gothic New', 'Hiragino Sans', 'Noto Sans JP', sans-serif;
  --f-logo: 'Cormorant Garamond', 'Times New Roman', serif;

  --nav-h: 64px;
  --gutter: 22px;
  --edge: var(--gutter);
  --ease: cubic-bezier(.2,.7,.2,1);
  --shadow: 0 28px 56px -30px rgba(16,35,63,.42);
}

body.home {
  background: var(--night);
  color: var(--white);
  font-family: var(--f-body);
  font-size: 16px;
  line-height: 1.9;
  letter-spacing: .03em;
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}
body.page { background: var(--paper); color: var(--ink); }
::selection { background: var(--blue); color: #fff; }
:focus-visible { outline: 2px solid var(--blue); outline-offset: 3px; border-radius: 4px; }
.hero :focus-visible, .intro :focus-visible, .closing :focus-visible, .foot :focus-visible, .check__panel :focus-visible, .pcta__panel :focus-visible, .opening :focus-visible { outline-color: var(--light2); }
.skip { position: absolute; left: -999px; top: 8px; z-index: 300; background: var(--white); color: var(--night); padding: 8px 14px; border-radius: 6px; }
.skip:focus { left: 8px; }
.num { font-variant-numeric: tabular-nums; }

.wrap { width: 100%; max-width: 1180px; margin: 0 auto; padding: 0 max(var(--gutter), env(safe-area-inset-left)); }

h1, h2, h3 { font-family: var(--f-head); font-weight: 600; text-wrap: balance; word-break: auto-phrase; }
p, li, dd { text-wrap: pretty; }
.svc__lead, .phero__lead, .stop__act, .stop__svc, .combo__who, .point__title, .pcta__title { word-break: auto-phrase; }

/* ━━ ボタン ━━ */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 54px; padding: 0 28px;
  border-radius: 10px; border: 1.5px solid transparent;
  font-family: var(--f-body); font-weight: 700; font-size: .95rem; letter-spacing: .06em;
  text-decoration: none; white-space: nowrap; cursor: pointer;
  transition: background-color .16s ease-out, border-color .16s ease-out, color .16s ease-out, transform .16s ease-out;
}
.btn:active { transform: translateY(1px); }
.btn--light { background: var(--white); color: var(--night); }
.btn--light:hover { background: #fff; }
.btn--line { color: var(--white); border-color: rgba(234,242,255,.4); }
.btn--line:hover { border-color: var(--white); background: rgba(234,242,255,.07); }
.btn--blue { background: var(--blue); color: #fff; }
.btn--blue:hover { background: var(--blue2); }
.btn--ink { background: var(--ink); color: #fff; }
.btn--ink:hover { background: #1c3a63; }
.btn--ghost { color: var(--ink); border-color: rgba(16,35,63,.28); background: transparent; }
.btn--ghost:hover { border-color: var(--ink); }
.btn--block { display: flex; width: 100%; }

/* ━━ ナビ ━━ */
.nav {
  position: fixed; inset: 0 0 auto; z-index: 60;
  height: calc(var(--nav-h) + env(safe-area-inset-top));
  padding: env(safe-area-inset-top) max(var(--edge), env(safe-area-inset-right)) 0 max(var(--edge), env(safe-area-inset-left));
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  color: var(--ink);
  background: rgba(255,255,255,.94); box-shadow: 0 1px 0 var(--line);
  -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
  transition: background-color .25s ease-out, box-shadow .25s ease-out, color .25s ease-out;
}
.nav--over:not(.is-solid) { color: var(--white); background: linear-gradient(180deg, rgba(5,10,20,.65), rgba(5,10,20,0)); box-shadow: none; -webkit-backdrop-filter: none; backdrop-filter: none; }
.nav__logo { font-family: var(--f-logo); font-style: italic; font-size: 1.6rem; letter-spacing: .02em; color: inherit; text-decoration: none; line-height: 1; }
.nav__logo span { color: var(--blue); }
.nav--over:not(.is-solid) .nav__logo span { color: var(--light2); }
.nav__links { display: flex; align-items: center; gap: 2px; }
.nav__link { color: inherit; opacity: .82; text-decoration: none; font-size: .86rem; padding: 10px 11px; border-radius: 6px; transition: opacity .15s ease-out; }
.nav__link:hover { opacity: 1; }
.nav__link--wide { display: none; }
.nav__cta {
  margin-left: 6px; padding: 9px 18px; border-radius: 8px;
  background: var(--blue); color: #fff; font-weight: 700; font-size: .85rem; text-decoration: none; white-space: nowrap;
}
.nav__cta:hover { background: var(--blue2); }
.nav--over:not(.is-solid) .nav__cta { background: var(--white); color: var(--night); }
.nav__menu {
  margin-left: 4px; padding: 8px 12px; border-radius: 8px; cursor: pointer;
  background: none; border: 1.5px solid currentColor; font-size: .8rem; font-weight: 700; opacity: .85;
}
.menu {
  position: fixed; z-index: 59; left: 0; right: 0; top: calc(var(--nav-h) + env(safe-area-inset-top));
  max-height: calc(100svh - var(--nav-h)); overflow-y: auto;
  background: #fff; color: var(--ink); box-shadow: 0 24px 40px -20px rgba(16,35,63,.35);
  padding: 18px max(var(--edge), env(safe-area-inset-left)) 26px;
}
.menu[hidden] { display: none; }
.menu__head { font-size: .78rem; color: var(--ink2); margin-bottom: 4px; }
.menu ul { list-style: none; }
.menu a { display: block; padding: 12px 0; border-bottom: 1px solid var(--line2); text-decoration: none; font-weight: 500; }
.menu__svcs a { font-family: var(--f-head); font-weight: 600; font-size: 1.05rem; }
.menu__links { margin-top: 12px; }
.menu__links a { font-size: .92rem; color: var(--ink2); }

/* ━━ ヒーロー（夜・映像） ━━ */
.hero {
  position: relative; isolation: isolate; overflow: hidden;
  height: 100vh; height: 100svh; min-height: 620px;
  background: var(--night) url('/video/hero-poster-sm.jpg') 30% center / cover no-repeat;
}
.hero__media { position: absolute; inset: 0; z-index: -1; }
.hero__video {
  width: 100%; height: 100%; object-fit: cover; object-position: 30% center;
  transform: scale(calc(1.04 + var(--hp, 0) * .06)) translateY(calc(var(--hp, 0) * 4%));
  transform-origin: 50% 40%;
}
.hero__veil {
  position: absolute; inset: 0;
  background:
    linear-gradient(0deg, rgba(5,10,20,.96) 0%, rgba(5,10,20,.7) 30%, rgba(5,10,20,.12) 60%, rgba(5,10,20,.4) 100%),
    radial-gradient(70% 80% at 100% 20%, rgba(5,10,20,.55), transparent 70%);
}
.hero__grain {
  position: absolute; inset: -50%; opacity: .07; pointer-events: none; mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}
.hero__title {
  position: absolute; z-index: 2;
  top: calc(var(--nav-h) + env(safe-area-inset-top) + 4vh);
  right: max(18px, 5vw);
  display: flex; flex-direction: row-reverse; gap: .45em;
  font-size: min(2.15rem, 4.6svh);
  font-weight: 700; line-height: 1.05; letter-spacing: .2em;
  text-shadow: 0 2px 24px rgba(5,10,20,.55);
}
.hero__col { writing-mode: vertical-rl; text-orientation: mixed; display: block; }
.hero__col:nth-child(2) { margin-top: 1.2em; }
.hero__col:nth-child(3) { margin-top: 2.4em; color: var(--lamp); }
.hero__ink { display: block; }
.hero__base {
  position: absolute; z-index: 2; left: 0; right: 0;
  bottom: max(28px, calc(env(safe-area-inset-bottom) + 24px));
  padding: 0 max(var(--edge), env(safe-area-inset-left));
}
.hero__services { list-style: none; display: grid; grid-template-columns: auto auto; justify-content: start; gap: 4px 22px; margin-bottom: 14px; }
.hero__services li + li::before { content: ''; display: inline-block; width: 1px; height: .9em; background: rgba(234,242,255,.35); margin: 0 11px; vertical-align: -1px; }
.hero__services li + li::before { display: none; }
@media (min-width: 600px) { .hero__services { display: flex; flex-wrap: wrap; gap: 6px 0; } .hero__services li + li::before { display: inline-block; } }
.hero__services a { color: rgba(234,242,255,.92); text-decoration: none; font-size: .82rem; font-weight: 500; letter-spacing: .08em; }
.hero__services a:hover { color: #fff; text-decoration: underline; text-underline-offset: 5px; }
.hero__lead { font-size: .95rem; line-height: 1.95; color: rgba(234,242,255,.86); max-width: 28em; margin-bottom: 24px; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 10px 12px; }
.hero__scroll { display: none; }
.hero__pause {
  position: absolute; z-index: 3; left: max(var(--edge), env(safe-area-inset-left)); top: calc(var(--nav-h) + env(safe-area-inset-top) + 10px);
  background: rgba(5,10,20,.45); color: rgba(234,242,255,.85); border: 1px solid rgba(234,242,255,.22);
  font-size: .72rem; letter-spacing: .06em; padding: 6px 12px; border-radius: 999px; cursor: pointer;
}
.hero__pause:hover { background: rgba(5,10,20,.75); }
@media (prefers-reduced-motion: no-preference) {
  .js .hero.is-intro .hero__ink { animation: ink 1.3s var(--ease) both; }
  .js .hero.is-intro .hero__col:nth-child(2) .hero__ink { animation-delay: .28s; }
  .js .hero.is-intro .hero__col:nth-child(3) .hero__ink { animation-delay: .56s; }
  .js .hero.is-intro .hero__base { animation: rise .9s .9s var(--ease) both; }
  @keyframes ink { from { clip-path: inset(0 0 100% 0); opacity: .2; } to { clip-path: inset(0 0 0 0); opacity: 1; } }
  @keyframes rise { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
}

/* ━━ 問題提起（夜） ━━ */
.intro { padding: 112px 0 72px; position: relative; }
.intro__grid { display: grid; gap: 32px; }
.intro__film {
  position: relative; border-radius: 16px; overflow: hidden; aspect-ratio: 16 / 10;
  background: var(--indigo) url('/video/diner-poster-sm.jpg') center / cover;
  box-shadow: 0 40px 80px -40px rgba(0,0,0,.9);
}
.intro__film::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(5,10,20,0) 55%, rgba(5,10,20,.45)); pointer-events: none; }
.intro__video { width: 100%; height: 100%; object-fit: cover; }
.intro__title { font-size: clamp(1.9rem, 7.6vw, 3.4rem); line-height: 1.45; letter-spacing: .06em; }
.intro__body p { color: var(--mist); font-size: 1rem; line-height: 2.1; max-width: 32em; }
.intro__body p + p { margin-top: 1.2em; }
.intro__body p:last-child { color: var(--white); }

/* ━━ 昼の紙面 ━━ */
.day { background: var(--paper); color: var(--ink); }
.sec-head { margin-bottom: 44px; max-width: 42em; }
.sec-title { font-size: clamp(1.7rem, 6vw, 2.5rem); line-height: 1.5; letter-spacing: .05em; margin-bottom: 14px; }
.sec-lead { color: var(--ink2); font-size: .98rem; max-width: 36em; }

/* 線画のアイコン（昼）：線は紺、灯りと星だけ金 */
.ico { fill: none; stroke: currentColor; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }
.ico .g  { fill: var(--gold); stroke: none; }
.ico .gs { stroke: var(--gold); }
/* 画面の例の中の線画 */
.il-sky { fill: var(--sky); }
.il-sun { fill: var(--cream); }
.il-ln  { fill: none; stroke: var(--ink); stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.il-thick { stroke-width: 7; }
.il-leaf { fill: none; stroke: var(--blue); stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }
.il-gold, .il-goldfill { fill: var(--gold); }
.il-mirror, .il-paper { fill: #fff; }
.il-win { fill: var(--cream); }
.il-road { fill: none; stroke: var(--line); stroke-width: 5; }
.il-glass { fill: rgba(227,236,248,.75); }
.il-floor { fill: #d5e3f5; }

/* ━━ お客様の道 ━━ */
.route-sec { padding: 96px 0 104px; }
.route { position: relative; }
.route__road { display: none; }
.route__stops { list-style: none; position: relative; display: grid; gap: 26px; }
.route__stops::before, .route__stops::after {
  content: ''; position: absolute; left: 29px; top: 30px; bottom: 30px; width: 6px; border-radius: 3px; background: var(--sky2);
}
.route__stops::after { background: var(--blue); transform-origin: 50% 0; }
.stop { position: relative; z-index: 1; }
.stop__link { display: grid; grid-template-columns: 64px 1fr; column-gap: 18px; align-items: center; color: inherit; text-decoration: none; }
.stop__ico {
  grid-row: span 2; position: relative;
  width: 64px; height: 64px; border-radius: 50%;
  display: grid; place-items: center;
  background: #fff; border: 2px solid var(--blue); color: var(--ink);
}
.stop__ico .ico { width: 40px; height: 40px; }
.stop__no {
  position: absolute; top: -5px; right: -5px; width: 24px; height: 24px; border-radius: 50%;
  display: grid; place-items: center;
  background: var(--ink); color: #fff; font-size: .74rem; font-weight: 700; line-height: 1;
}
.stop__act { font-family: var(--f-head); font-weight: 600; font-size: 1.12rem; line-height: 1.5; align-self: end; }
.stop__svc { font-size: .84rem; line-height: 1.6; color: var(--blue); align-self: start; text-decoration: underline; text-decoration-color: rgba(36,87,197,.35); text-underline-offset: 4px; }
a.stop__link:hover .stop__svc { text-decoration-color: currentColor; }
.stop--goal .stop__ico { border-color: var(--gold); background: #fffaf0; }
.stop--goal .stop__svc { color: var(--ink2); text-decoration: none; }
.route__after { margin-top: 48px; max-width: 46em; color: var(--ink2); line-height: 2.05; }
/* 画面に入ったら一度だけ：道が左（上）から伸び、駅が順に灯り、最後にお店の扉に灯りがつく */
@media (prefers-reduced-motion: no-preference) {
  .js .route:not(.is-on) .route__stops::after { transform: scaleY(0); }
  .js .route .route__stops::after { transition: transform 2s cubic-bezier(.45,.05,.3,1); }
  .js .route:not(.is-on) .stop__ico { border-color: var(--line); }
  .js .route:not(.is-on) .stop__no { background: var(--line); }
  .js .route .stop__ico, .js .route .stop__no { transition: border-color .35s ease-out, background-color .35s ease-out; transition-delay: calc(var(--n) * .42s + .15s); }
  .js .route:not(.is-on) .route__go { clip-path: inset(0 100% 0 0); }
  .js .route .route__go { transition: clip-path 2s cubic-bezier(.45,.05,.3,1); }
  .js .route .door { transition: opacity .5s ease-out 1.95s; }
  .js .route:not(.is-on) .door { opacity: 0; }
}

/* ━━ サービス ━━ */
.services { padding: 24px 0 40px; }
.svc { padding: 64px 0; }
.svc + .svc { border-top: 1px solid var(--line); }
.svc__grid { display: grid; gap: 48px; align-items: center; }
.svc__stop { display: flex; align-items: center; gap: 10px; font-size: .86rem; font-weight: 700; color: var(--gold-ink); margin-bottom: 12px; }
.svc__no { flex-shrink: 0; width: 26px; height: 26px; border-radius: 50%; display: grid; place-items: center; background: var(--ink); color: #fff; font-size: .76rem; line-height: 1; }
.svc__title { font-size: clamp(1.6rem, 5.4vw, 2.2rem); line-height: 1.4; letter-spacing: .04em; margin-bottom: 12px; }
.svc__lead { font-family: var(--f-head); font-weight: 600; font-size: 1.14rem; line-height: 1.8; margin-bottom: 12px; }
.svc__body { color: var(--ink2); max-width: 32em; }
.svc__list { list-style: none; margin-top: 22px; border-top: 1px solid var(--line); max-width: 32em; }
.svc__list li { position: relative; padding: 11px 0 11px 28px; border-bottom: 1px solid var(--line2); font-size: .95rem; font-weight: 500; line-height: 1.7; }
.svc__list li::before { content: ''; position: absolute; left: 3px; top: 1.15em; width: 11px; height: 5px; border-left: 2px solid var(--blue); border-bottom: 2px solid var(--blue); transform: rotate(-45deg); }
.svc__price { margin-top: 22px; font-weight: 700; font-size: .95rem; }
.svc__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 16px; }
.svc__art { display: flex; justify-content: center; min-width: 0; }

/* ━━ 画面の例（共通） ━━ */
.mock { position: relative; width: min(440px, 100%); margin: 0; padding-bottom: 8px; }
.dev { position: relative; z-index: 1; width: 268px; max-width: 78%; background: var(--ink); border-radius: 38px; padding: 9px; box-shadow: var(--shadow); }
.dev__screen { position: relative; overflow: hidden; background: #fff; color: var(--ink); border-radius: 30px; min-height: 520px; padding-top: 24px; }
.dev__screen::before { content: ''; position: absolute; top: 9px; left: 50%; transform: translateX(-50%); width: 64px; height: 5px; border-radius: 3px; background: var(--line); }

/* インスタ広告 */
.feed__head { display: flex; align-items: center; gap: 8px; padding: 6px 12px 8px; }
.feed__ava { width: 28px; height: 28px; border-radius: 50%; display: grid; place-items: center; background: var(--gold); color: #fff; font-size: .72rem; font-weight: 700; }
.feed__who { display: grid; line-height: 1.25; }
.feed__who b { font-size: .74rem; }
.feed__who small { font-size: .6rem; color: var(--ink2); }
.feed__more { margin-left: auto; display: flex; gap: 3px; }
.feed__more i { width: 3px; height: 3px; border-radius: 50%; background: var(--ink); }
.feed__img { position: relative; aspect-ratio: 1; }
.feed__img svg { width: 100%; height: 100%; }
.feed__badge { position: absolute; left: 12px; bottom: 12px; background: rgba(255,255,255,.94); border-radius: 8px; padding: 6px 10px; font-size: .6rem; line-height: 1.5; color: var(--ink2); }
.feed__badge b { display: block; font-family: var(--f-head); font-size: .84rem; color: var(--ink); }
.feed__cta { display: flex; justify-content: space-between; align-items: center; padding: 9px 12px; background: var(--blue); color: #fff; font-size: .74rem; font-weight: 700; }
.feed__cta svg { width: 7px; height: 12px; fill: none; stroke: #fff; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.feed__icons { display: flex; gap: 12px; padding: 9px 12px 2px; }
.feed__icons svg { width: 20px; height: 20px; fill: none; stroke: var(--ink); stroke-width: 1.6; stroke-linejoin: round; }
.feed__icons .r { margin-left: auto; }
.feed__cap { font-size: .64rem; line-height: 1.75; padding: 4px 12px 14px; }
.aim, .ab, .care-note { position: absolute; z-index: 2; right: 0; background: #fff; color: var(--ink); border: 1px solid var(--line); border-radius: 14px; box-shadow: 0 22px 40px -22px rgba(16,35,63,.38); }
.aim { bottom: 40px; width: 176px; overflow: hidden; }
.aim svg { width: 100%; height: auto; background: var(--paper); }
.aim__ring { fill: rgba(36,87,197,.1); stroke: var(--blue); stroke-width: 1.5; stroke-dasharray: 4 4; }
.aim__pin { fill: var(--gold); }
.aim__hole { fill: #fff; }
.aim__txt { padding: 9px 12px 11px; font-size: .64rem; line-height: 1.55; color: var(--ink2); }
.aim__txt b { display: block; color: var(--ink); font-size: .8rem; }

/* 広告用ページ */
.lp { padding-top: 0 !important; }
.lp::before { z-index: 2; background: rgba(16,35,63,.25) !important; }
.lp__hero { position: relative; height: 196px; }
.lp__hero svg { position: absolute; inset: 0; width: 100%; height: 100%; }
.lp__h { position: absolute; left: 14px; top: 34px; font-family: var(--f-head); font-weight: 700; font-size: 1.04rem; line-height: 1.55; }
.lp__body { padding: 14px 14px 70px; }
.lp__price { display: flex; justify-content: space-between; align-items: baseline; gap: 8px; padding-bottom: 10px; margin-bottom: 10px; border-bottom: 1px solid var(--line); }
.lp__price span { font-size: .64rem; color: var(--ink2); }
.lp__price b { font-family: var(--f-head); font-size: 1.3rem; line-height: 1; }
.lp__price small { font-family: var(--f-body); font-size: .58rem; font-weight: 400; }
.lp__list { list-style: none; display: grid; gap: 3px; }
.lp__list li { position: relative; padding-left: 16px; font-size: .66rem; line-height: 1.7; }
.lp__list li::before { content: ''; position: absolute; left: 1px; top: .62em; width: 8px; height: 4px; border-left: 1.5px solid var(--gold); border-bottom: 1.5px solid var(--gold); transform: rotate(-45deg); }
.lp__voice { margin-top: 10px; padding: 8px 10px; border-radius: 8px; background: var(--paper); font-size: .62rem; color: var(--ink2); }
.lp__btn { position: absolute; left: 12px; right: 12px; bottom: 14px; padding: 11px; border-radius: 10px; background: var(--blue); color: #fff; text-align: center; font-size: .74rem; font-weight: 700; }
.ab { bottom: 30px; width: 204px; padding: 12px; }
.ab__head { font-size: .72rem; font-weight: 700; margin-bottom: 8px; }
.ab__row { display: flex; gap: 8px; align-items: flex-start; margin-bottom: 6px; padding: 8px; border: 1px solid var(--line2); border-radius: 8px; font-size: .64rem; line-height: 1.55; color: var(--ink2); }
.ab__row--on { border-color: var(--blue); background: rgba(36,87,197,.06); color: var(--ink); }
.ab__key { flex-shrink: 0; width: 18px; height: 18px; border-radius: 4px; display: grid; place-items: center; background: var(--paper); font-size: .6rem; font-weight: 700; }
.ab__row--on .ab__key { background: var(--blue); color: #fff; }
.ab__note { font-size: .6rem; color: var(--ink2); }

/* ホームページ */
.mock--web { width: min(540px, 100%); padding-bottom: 56px; }
.build__window { position: relative; z-index: 1; border-radius: 12px; overflow: hidden; background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow); }
.build__bar { display: flex; align-items: center; gap: 6px; padding: 10px 12px; background: var(--paper); border-bottom: 1px solid var(--line2); }
.build__bar i { width: 8px; height: 8px; border-radius: 50%; background: var(--line); }
.build__url { margin-left: 8px; flex: 1; font-size: .66rem; color: var(--ink2); background: #fff; border: 1px solid var(--line2); border-radius: 6px; padding: 2px 10px; }
.build__page { padding: 14px; display: grid; gap: 10px; color: var(--ink); }
.b { transform-origin: left center; }
.b--nav { display: flex; gap: 8px; align-items: center; }
.b--nav span { width: 30px; height: 5px; border-radius: 3px; background: var(--line); }
.b--nav .b--logo { width: auto; height: auto; background: none; margin-right: auto; font-family: var(--f-head); font-weight: 700; font-size: .8rem; }
.b--hero { position: relative; border-radius: 8px; overflow: hidden; aspect-ratio: 32 / 13; }
.b--hero svg { width: 100%; height: 100%; }
.b--hero-t { position: absolute; left: 5%; top: 16%; max-width: 40%; font-family: var(--f-head); font-weight: 700; font-size: clamp(.68rem, 2.4vw, .92rem); line-height: 1.55; }
.b--cols { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.b--cols span { aspect-ratio: 4 / 3; border-radius: 6px; background: var(--sky); }
.b--cols span:nth-child(2) { background: var(--cream); }
.b--lines { display: grid; gap: 6px; }
.b--lines span { height: 5px; border-radius: 3px; background: var(--line2); }
.b--lines span:nth-child(2) { width: 86%; } .b--lines span:nth-child(3) { width: 60%; }
.b--btn { justify-self: start; padding: 6px 14px; border-radius: 7px; background: var(--blue); color: #fff; font-size: .64rem; font-weight: 700; }
.build__cursor { position: absolute; z-index: 3; width: 24px; height: 24px; left: 21%; top: 73%; filter: drop-shadow(0 4px 6px rgba(16,35,63,.3)); }
.build__cursor path { fill: #fff; stroke: var(--ink); stroke-width: 1.4; stroke-linejoin: round; }
.care-note { bottom: 0; right: -4px; width: 196px; padding: 12px 14px 8px; }
.care-note__head { font-size: .72rem; font-weight: 700; margin-bottom: 4px; }
.care__checks { list-style: none; }
.care__checks li { position: relative; padding: 6px 0 6px 24px; border-top: 1px solid var(--line2); font-size: .68rem; line-height: 1.5; }
.care__checks li::before { content: ''; position: absolute; left: 0; top: 7px; width: 15px; height: 15px; border-radius: 50%; background: var(--blue); border: 1.5px solid var(--blue); }
.care__checks li::after { content: ''; position: absolute; left: 4.5px; top: 11px; width: 6px; height: 3px; border-left: 2px solid #fff; border-bottom: 2px solid #fff; transform: rotate(-45deg); }
@media (prefers-reduced-motion: no-preference) {
  .js .build:not(.is-on) .b { opacity: 0; transform: scaleX(.6) translateY(6px); }
  .js .build:not(.is-on) .build__cursor { opacity: 0; transform: translate(140px, 60px); }
  .js .build.is-on .b { animation: build-in .55s var(--ease) both; }
  .js .build.is-on .b--nav   { animation-delay: .05s; }
  .js .build.is-on .b--hero  { animation-delay: .25s; }
  .js .build.is-on .b--cols  { animation-delay: .5s; }
  .js .build.is-on .b--lines { animation-delay: .7s; }
  .js .build.is-on .b--btn   { animation-delay: .9s; }
  .js .build.is-on .build__cursor { animation: cursor-in 1.1s .9s var(--ease) both; }
  @keyframes build-in { from { opacity: 0; transform: scaleX(.6) translateY(6px); } to { opacity: 1; transform: none; } }
  @keyframes cursor-in { 0% { opacity: 0; transform: translate(140px, 60px); } 70% { opacity: 1; transform: translate(0, 0); } 85% { transform: scale(.85); } 100% { opacity: 1; transform: none; } }
  .js .care-note:not(.is-on) .care__checks li::before { background: transparent; border-color: var(--sky2); }
  .js .care-note:not(.is-on) .care__checks li::after { opacity: 0; }
  .js .care-note.is-on .care__checks li::before { animation: tick-bg .3s ease-out both; }
  .js .care-note.is-on .care__checks li::after  { animation: tick .3s ease-out both; }
  .js .care-note.is-on .care__checks li:nth-child(2)::before, .js .care-note.is-on .care__checks li:nth-child(2)::after { animation-delay: .25s; }
  .js .care-note.is-on .care__checks li:nth-child(3)::before, .js .care-note.is-on .care__checks li:nth-child(3)::after { animation-delay: .5s; }
  .js .care-note.is-on .care__checks li:nth-child(4)::before, .js .care-note.is-on .care__checks li:nth-child(4)::after { animation-delay: .75s; }
  @keyframes tick-bg { from { background: transparent; border-color: var(--sky2); transform: scale(.7); } to { background: var(--blue); border-color: var(--blue); transform: none; } }
  @keyframes tick { from { opacity: 0; } to { opacity: 1; } }
}

/* 口コミ集客 */
.survey { padding: 26px 14px 16px !important; }
.sv-genre { margin-top: 2px; text-align: center; font-size: .64rem; font-weight: 700; color: var(--blue); }
.sv-name { margin-bottom: 12px; padding-bottom: 10px; border-bottom: 1px solid var(--line); text-align: center; font-family: var(--f-head); font-weight: 700; font-size: 1.04rem; letter-spacing: .06em; }
.sv-q { margin-bottom: 7px; font-size: .72rem; font-weight: 700; }
.sv-q b { display: inline-grid; place-items: center; width: 18px; height: 18px; margin-right: 6px; border-radius: 50%; background: var(--ink); color: #fff; font-size: .6rem; }
.sv-chips { display: flex; flex-wrap: wrap; gap: 5px; margin-bottom: 12px; }
.sv-chips span { padding: 4px 9px; border: 1px solid var(--line); border-radius: 999px; font-size: .62rem; color: var(--ink2); }
.sv-chips .on { background: var(--blue); border-color: var(--blue); color: #fff; }
.sv-draft { min-height: 150px; margin-bottom: 10px; padding: 10px; border: 1px solid var(--sky2); border-radius: 10px; background: var(--paper); }
.sv-draft__label { margin-bottom: 4px; font-size: .62rem; font-weight: 700; color: var(--blue); }
.sv-draft__text { font-size: .68rem; line-height: 1.85; }
.sv-draft__text.is-typing::after { content: ''; display: inline-block; width: 1px; height: 1em; margin-left: 2px; vertical-align: -2px; background: var(--blue); animation: caret .8s steps(1) infinite; }
@keyframes caret { 50% { opacity: 0; } }
.sv-btn { display: block; padding: 10px; border-radius: 10px; background: var(--ink); color: #fff; text-align: center; font-size: .68rem; font-weight: 700; }
.qr { position: absolute; z-index: 2; right: 0; bottom: 44px; width: 128px; filter: drop-shadow(0 18px 22px rgba(16,35,63,.22)); }
.qr svg { width: 100%; height: auto; }
.qr__card { fill: #fff; stroke: var(--line); }
.qr__px { fill: none; stroke: var(--ink); stroke-width: 3.5; }
.qr__in, .qr__dot { fill: var(--ink); }
.qr__t { font-family: var(--f-body); font-size: 7.5px; fill: var(--ink2); }

/* ━━ 業種 ━━ */
.inds { padding: 96px 0; background: #fff; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.inds__list { list-style: none; display: grid; grid-template-columns: 1fr 1fr; border-top: 1px solid var(--line); }
.inds__list li { display: flex; align-items: center; gap: 12px; padding: 16px 6px; border-bottom: 1px solid var(--line); font-size: .92rem; font-weight: 500; line-height: 1.5; }
.inds__list .ico { flex-shrink: 0; width: 38px; height: 38px; color: var(--ink); }

/* ━━ 組み合わせの例 ━━ */
.combos { padding: 96px 0 72px; }
.combos__list { display: grid; gap: 18px; }
.combo { display: flex; flex-direction: column; padding: 26px 24px 22px; background: #fff; border: 1px solid var(--line); border-radius: 16px; }
.combo__who { font-size: 1.12rem; line-height: 1.6; margin-bottom: 14px; }
.combo__items { list-style: none; flex: 1; }
.combo__items li { display: grid; gap: 1px; padding: 10px 0; border-top: 1px dashed var(--line); }
.combo__items a { font-weight: 700; font-size: .92rem; text-decoration: none; }
.combo__items a:hover { text-decoration: underline; text-underline-offset: 4px; }
.combo__items span { font-size: .8rem; color: var(--ink2); }
.combo__sum { display: flex; flex-wrap: wrap; gap: 6px 28px; margin-top: 6px; padding-top: 14px; border-top: 2px solid var(--ink); }
.combo__sum dt { font-size: .74rem; color: var(--ink2); }
.combo__sum dd { font-family: var(--f-head); font-weight: 700; font-size: 1rem; line-height: 1.3; }
.combo__sum .num { font-size: 1.5rem; }
.combo__note { margin-top: 8px; font-size: .76rem; color: var(--ink2); }

/* ━━ 無料診断 ━━ */
.check { padding: 24px 0 96px; }
.check__panel { position: relative; overflow: hidden; display: grid; gap: 32px; padding: 44px 24px; border-radius: 22px; background: var(--ink); color: #fff; }
.check__text > p { color: #c6d4e7; max-width: 34em; }
.check__list { list-style: none; margin: 22px 0 28px; border-top: 1px solid rgba(255,255,255,.14); max-width: 36em; }
.check__list li { display: grid; gap: 2px; padding: 12px 0; border-bottom: 1px solid rgba(255,255,255,.14); font-size: .9rem; line-height: 1.75; color: #c6d4e7; }
.check__list b { color: #fff; font-weight: 700; }
.check__art { width: min(260px, 70%); justify-self: center; }
.check__art .il-ln { stroke: #cfe0f7; }
.check__art .il-paper { fill: #183258; }
.check__art .il-glass { fill: rgba(122,184,245,.18); }

/* ━━ ご依頼の流れ ━━ */
.flow { padding: 96px 0; }
.steps { list-style: none; position: relative; display: grid; }
.steps li { position: relative; padding: 0 0 32px 64px; }
.steps li::before { content: ''; position: absolute; left: 21px; top: 46px; bottom: 0; width: 1.5px; background: var(--line); }
.steps li:last-child::before { display: none; }
.steps__no {
  position: absolute; left: 0; top: 0; width: 43px; height: 43px; border-radius: 50%;
  display: grid; place-items: center;
  font-family: var(--f-head); font-weight: 700; font-size: 1.1rem; color: var(--gold-ink);
  border: 1.5px solid var(--gold); background: var(--paper);
}
.steps__art { display: block; width: 42px; height: 42px; margin: 2px 0 6px; color: var(--ink); fill: none; stroke: currentColor; stroke-width: 1.4; stroke-linecap: round; stroke-linejoin: round; }
.steps__art .g { fill: var(--gold); stroke: none; }
.steps__art .gs { stroke: var(--gold); }
.steps h3 { font-size: 1.1rem; letter-spacing: .04em; margin: 7px 0 4px; }
.steps p { color: var(--ink2); font-size: .92rem; line-height: 1.9; max-width: 28em; }

/* ━━ 料金 ━━ */
.price { padding: 96px 0; background: #fff; border-top: 1px solid var(--line); }
.rates { display: grid; gap: 20px; }
.rate { display: flex; flex-direction: column; padding: 26px 22px 24px; border: 1px solid var(--line); border-radius: 16px; background: var(--paper); }
.rate__name { font-size: 1.16rem; line-height: 1.5; }
.rate__name a { text-decoration: none; }
.rate__name a:hover { text-decoration: underline; text-underline-offset: 5px; }
.ptab { margin-top: 18px; }
.ptab__head { display: flex; justify-content: space-between; gap: 12px; padding-bottom: 6px; border-bottom: 2px solid var(--ink); font-size: .82rem; font-weight: 700; }
.ptab__unit { font-weight: 400; color: var(--ink2); }
.ptab__rows > div { display: grid; grid-template-columns: 1fr auto; gap: 2px 16px; padding: 14px 0; border-bottom: 1px solid var(--line); }
.ptab__rows dt { font-weight: 700; font-size: .95rem; align-self: baseline; }
.ptab__price { font-family: var(--f-head); font-weight: 700; font-size: 1rem; text-align: right; white-space: nowrap; align-self: baseline; }
.ptab__price .num { font-size: 1.45rem; letter-spacing: .01em; }
.ptab__price small { font-family: var(--f-body); font-weight: 400; font-size: .76rem; color: var(--ink2); margin-left: 2px; }
.ptab__desc { grid-column: 1 / -1; font-size: .84rem; line-height: 1.8; color: var(--ink2); }
.ptab__notes { list-style: none; display: grid; gap: 6px; margin: 16px 0 4px; flex: 1; }
.ptab__notes li { padding-left: 1.1em; text-indent: -1.1em; font-size: .78rem; line-height: 1.75; color: var(--ink2); }
.ptab__notes li::before { content: '※'; margin-right: .1em; }
.rate .btn { margin-top: 20px; }
.rate__legal { margin-top: 10px; text-align: center; font-size: .76rem; }
.rate__legal a { color: var(--ink2); text-underline-offset: 3px; }

/* ━━ よくある質問 ━━ */
.faq { padding: 96px 0; }
.faq__list { margin-top: 28px; border-top: 1px solid var(--line); max-width: 880px; }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary {
  list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: flex-start; gap: 18px;
  padding: 20px 2px; font-family: var(--f-head); font-weight: 600; font-size: 1.02rem; line-height: 1.7;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: ''; flex-shrink: 0; width: 14px; height: 14px; margin-top: 7px;
  background: linear-gradient(var(--blue), var(--blue)) center / 100% 2px no-repeat, linear-gradient(var(--blue), var(--blue)) center / 2px 100% no-repeat;
  transition: transform .18s ease-out;
}
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { color: var(--ink2); font-size: .94rem; line-height: 2; padding: 0 2px 22px; max-width: 42em; }

/* ━━ 相談（夜） ━━ */
.closing { position: relative; isolation: isolate; padding: 140px 0 132px; overflow: hidden; background: var(--night); }
.closing__media {
  position: absolute; inset: 0; z-index: -1;
  background: url('/video/street-poster-sm.jpg') 60% center / cover no-repeat;
  opacity: .55;
  -webkit-mask-image: linear-gradient(180deg, transparent, #000 35%, #000 70%, transparent);
          mask-image: linear-gradient(180deg, transparent, #000 35%, #000 70%, transparent);
}
.closing__video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 60% center; }
.closing__media::after { content: ''; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(5,10,20,.94) 0%, rgba(5,10,20,.7) 45%, rgba(5,10,20,.35) 100%); }
.closing__title { font-size: clamp(1.9rem, 7.4vw, 3.2rem); line-height: 1.45; letter-spacing: .06em; margin-bottom: 22px; }
.closing__inner > p { color: var(--mist); max-width: 30em; margin-bottom: 34px; }
.closing__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; }
.closing__mail { display: inline-block; margin-top: 24px; color: var(--mist); font-size: .92rem; text-underline-offset: 5px; }
.closing__mail:hover { color: #fff; }

/* ━━ フッター ━━ */
.foot { background: var(--night); color: var(--white); border-top: 1px solid var(--rule2); padding: 56px 0 calc(32px + env(safe-area-inset-bottom)); }
.foot__inner { display: grid; gap: 32px; }
.foot__logo { font-size: 1.5rem; }
.foot__logo span { color: var(--light2); }
.foot__desc { color: var(--mist2); font-size: .8rem; line-height: 1.85; margin-top: 12px; max-width: 26em; }
.foot__col { display: flex; flex-direction: column; align-items: flex-start; gap: 7px; }
.foot__head { font-size: .78rem; font-weight: 700; color: var(--white); margin-bottom: 4px; }
.foot__col a { color: var(--mist); font-size: .84rem; text-decoration: none; }
.foot__col a:hover { color: #fff; text-decoration: underline; text-underline-offset: 4px; }
.foot__copy { color: var(--mist2); font-size: .72rem; margin-top: 40px; }

/* ━━ 各サービスのページ ━━ */
.phero { padding: calc(var(--nav-h) + env(safe-area-inset-top) + 40px) 0 72px; background: #e9f0f9; border-bottom: 1px solid var(--line); }
.crumbs { display: flex; flex-wrap: wrap; gap: 4px 8px; margin-bottom: 26px; font-size: .78rem; color: var(--ink2); }
.crumbs a { color: var(--ink2); text-underline-offset: 3px; }
.phero__grid { display: grid; gap: 44px; align-items: center; }
.phero__title { font-size: clamp(1.9rem, 6.4vw, 2.8rem); line-height: 1.35; letter-spacing: .04em; margin-bottom: 14px; }
.phero__lead { font-family: var(--f-head); font-weight: 600; font-size: 1.2rem; line-height: 1.8; margin-bottom: 14px; }
.phero__body { color: var(--ink2); max-width: 34em; }
.psec { padding: 80px 0; }
.psec + .psec { border-top: 1px solid var(--line); }
.pains__list { list-style: none; display: grid; gap: 12px; margin-top: 28px; }
.pains__list li { position: relative; padding: 18px 20px 18px 50px; background: #fff; border: 1px solid var(--line); border-radius: 12px; font-weight: 500; line-height: 1.7; }
.pains__list li::before { content: ''; position: absolute; left: 20px; top: calc(18px + .85em); width: 16px; height: 2px; background: var(--gold); }
.points { display: grid; margin-top: 28px; border-top: 1px solid var(--line); }
.point { padding: 24px 0; border-bottom: 1px solid var(--line); }
.point__title { font-size: 1.14rem; margin-bottom: 6px; }
.point p { color: var(--ink2); max-width: 36em; }
.psec.flow, .psec.price, .psec.faq { padding: 80px 0; }
.psec.price { background: #fff; }
.rate--page { max-width: 760px; background: var(--paper); }
.rel__list { list-style: none; display: grid; gap: 14px; margin-top: 28px; }
.rel { display: grid; grid-template-columns: 64px 1fr; gap: 18px; align-items: start; padding: 20px; background: #fff; border: 1px solid var(--line); border-radius: 14px; color: inherit; text-decoration: none; transition: border-color .15s ease-out; }
.rel:hover { border-color: var(--blue); }
.rel__ico { width: 64px; height: 64px; border-radius: 50%; display: grid; place-items: center; border: 2px solid var(--blue); }
.rel__ico .ico { width: 40px; height: 40px; }
.rel__text { display: grid; gap: 3px; }
.rel__stop { font-size: .78rem; font-weight: 700; color: var(--gold-ink); }
.rel__text b { font-family: var(--f-head); font-size: 1.1rem; font-weight: 600; }
.rel__text > span:last-child { font-size: .86rem; color: var(--ink2); line-height: 1.8; }
.pcta { padding: 24px 0 96px; }
.pcta__panel { padding: 48px 26px; border-radius: 22px; background: var(--ink); color: #fff; }
.pcta__title { font-size: clamp(1.5rem, 4.8vw, 2.2rem); line-height: 1.5; margin-bottom: 14px; }
.pcta__panel > p { color: #c6d4e7; margin-bottom: 26px; max-width: 34em; }
.pcta__actions { display: flex; flex-wrap: wrap; gap: 12px; }

/* ━━ 600px〜 ━━ */
@media (min-width: 600px) {
  :root { --gutter: 32px; }
  .hero__title { font-size: min(2.8rem, 5.2svh); }
  .inds__list { grid-template-columns: repeat(3, 1fr); }
  .rates { grid-template-columns: 1fr 1fr; align-items: stretch; }
  .check__panel { padding: 56px 44px; }
  .pcta__panel { padding: 60px 52px; }
  .pains__list { grid-template-columns: repeat(3, 1fr); }
  .rel__list { grid-template-columns: 1fr 1fr; }
}

/* ━━ 960px〜 ━━ */
@media (min-width: 960px) {
  :root { --edge: max(var(--gutter), calc((100vw - var(--sbw, 0px) - 1180px) / 2 + var(--gutter))); }
  .nav__link--wide { display: inline-block; }
  .nav__menu, .menu { display: none !important; }
  .hero { background-image: url('/video/hero-poster.jpg'); background-position: center; }
  .hero__video { object-position: center; }
  .hero__veil {
    background:
      radial-gradient(20% 48% at 51% 40%, rgba(5,10,20,.62), rgba(5,10,20,0) 100%),
      linear-gradient(90deg, rgba(5,10,20,.8) 0%, rgba(5,10,20,.3) 30%, rgba(5,10,20,0) 50%),
      linear-gradient(0deg, rgba(5,10,20,.88) 0%, rgba(5,10,20,0) 40%),
      linear-gradient(180deg, rgba(5,10,20,.5) 0%, rgba(5,10,20,0) 18%);
  }
  .hero { --tf: min(4.4rem, 7svh, 4.6vw); }
  .hero__title { font-size: var(--tf); right: auto; left: 51%; transform: translateX(-50%); top: calc(var(--nav-h) + 7vh); }
  .hero__base { left: var(--edge); right: auto; bottom: max(64px, 9vh); padding: 0;
    width: max(300px, min(560px, calc(51% - 1.95 * var(--tf) - 40px - var(--edge)))); }
  .hero__lead { font-size: 1.02rem; }
  .hero__scroll { display: block; position: absolute; z-index: 2; left: 50%; bottom: 28px; width: 1px; height: 56px; background: rgba(234,242,255,.18); overflow: hidden; }
  .hero__scroll span { position: absolute; left: 0; top: 0; width: 1px; height: 18px; background: var(--white); }
  .hero__pause { top: auto; left: auto; bottom: 30px; right: var(--edge); }
  .intro { padding: 160px 0 96px; }
  .intro__grid { grid-template-columns: 1fr 1fr; grid-template-rows: auto 1fr; column-gap: 80px; row-gap: 40px; align-items: start; }
  .intro__title { grid-column: 1; grid-row: 1; }
  .intro__body  { grid-column: 1; grid-row: 2; }
  .intro__film  { grid-column: 2; grid-row: 1 / span 2; aspect-ratio: 4 / 5; align-self: stretch; background-image: url('/video/diner-poster.jpg'); }
  .closing__media { background-image: url('/video/street-poster.jpg'); }

  .sec-head { margin-bottom: 56px; }
  .route-sec { padding: 136px 0 128px; }
  .route { padding-top: 0; }
  .route__road { display: block; position: absolute; left: 0; top: 0; width: 100%; height: 160px; overflow: visible; }
  .route__base { fill: none; stroke: var(--sky2); stroke-width: 16; stroke-linecap: round; vector-effect: non-scaling-stroke; }
  .route__dash { fill: none; stroke: #fff; stroke-width: 2; stroke-dasharray: 9 11; vector-effect: non-scaling-stroke; }
  .route__go   { fill: none; stroke: var(--blue); stroke-width: 4; stroke-linecap: round; vector-effect: non-scaling-stroke; }
  .route__stops { grid-template-columns: repeat(5, 1fr); gap: 0 12px; }
  .route__stops::before, .route__stops::after { display: none; }
  .stop:nth-child(even) { padding-top: 68px; }
  .stop__link { grid-template-columns: 1fr; justify-items: center; text-align: center; row-gap: 4px; }
  .stop__ico { grid-row: auto; width: 88px; height: 88px; margin-bottom: 12px; border-width: 2.5px; }
  .stop__ico .ico { width: 54px; height: 54px; }
  .stop__no { width: 28px; height: 28px; font-size: .8rem; top: -4px; right: -4px; }
  .stop__act { font-size: 1.16rem; }
  .route__after { margin-top: 64px; }

  .svc { padding: 104px 0; }
  .svc__grid { grid-template-columns: 1fr 1.05fr; gap: 80px; }
  .svc--rev .svc__text { order: 2; }
  .mock { padding-right: 40px; }
  .dev { max-width: none; }

  .inds { padding: 120px 0; }
  .inds__list { grid-template-columns: repeat(5, 1fr); border-top: 0; }
  .inds__list li { flex-direction: column; justify-content: flex-start; gap: 12px; padding: 30px 10px 26px; text-align: center; border-bottom: 1px solid var(--line); border-right: 1px solid var(--line); }
  .inds__list li:nth-child(5n) { border-right: 0; }
  .inds__list li:nth-child(-n+5) { border-top: 1px solid var(--line); }
  .inds__list .ico { width: 46px; height: 46px; }

  .combos { padding: 136px 0 96px; }
  .combos__list { grid-template-columns: repeat(3, 1fr); gap: 20px; }
  .check { padding: 24px 0 136px; }
  .check__panel { grid-template-columns: 1.35fr .65fr; align-items: center; gap: 48px; padding: 72px 72px; }
  .check__art { width: 100%; }

  .flow, .price, .faq { padding: 136px 0; }
  .steps { grid-template-columns: repeat(5, 1fr); gap: 24px; }
  .steps--4 { grid-template-columns: repeat(4, 1fr); }
  .steps li { padding: 64px 0 0; }
  .steps h3 { min-height: calc(2 * 1.7em); line-height: 1.7; }
  .steps li::before { left: 46px; right: -24px; top: 21px; bottom: auto; width: auto; height: 1.5px; }
  .rates { gap: 24px; }
  .rate { padding: 32px 30px 28px; }
  .closing { padding: 190px 0 180px; }
  .foot__inner { grid-template-columns: 1.7fr 1.3fr 1fr .8fr; gap: 40px; }

  .phero { padding: calc(var(--nav-h) + 56px) 0 96px; }
  .phero__grid { grid-template-columns: 1fr 1fr; gap: 72px; }
  .psec, .psec.flow, .psec.price, .psec.faq { padding: 112px 0; }
  .points { grid-template-columns: 1fr 1fr; column-gap: 56px; }
  .pcta { padding: 24px 0 136px; }
  .pcta__panel { padding: 72px; }
}
@media (min-width: 960px) and (prefers-reduced-motion: no-preference) {
  .hero__scroll span { animation: scroll-cue 2.4s var(--ease) infinite; }
  @keyframes scroll-cue { 0% { transform: translateY(-18px); } 100% { transform: translateY(56px); } }
}
@media (max-width: 380px) {
  .nav__logo { font-size: 1.4rem; }
  .nav__cta { padding: 8px 12px; }
  .nav__menu { padding: 7px 9px; }
  .btn { padding: 0 20px; font-size: .9rem; }
  .aim, .ab { width: 156px; }
  .care-note { width: 172px; }
}
@media (max-height: 700px) and (max-width: 959px) {
  .hero__lead { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .hero__video { transform: none; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
}

/* ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
   イラストの共通ルール：夜の線画
   線は青（画面の光）、塗りは金（お店の灯り）だけ。
   ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ */
.st-line { fill: none; stroke: var(--light2); stroke-opacity: .55; stroke-width: 1.3; stroke-linecap: round; stroke-linejoin: round; vector-effect: non-scaling-stroke; }
.st-faint { stroke-opacity: .22; }
.st-hero  { stroke-opacity: .95; }
.st-dot   { fill: var(--white); opacity: .45; }
.st-win, .st-lamp { fill: var(--lamp); fill-opacity: .62; }
.st-lamp  { fill-opacity: .95; }
.st-cone  { fill: url(#st-glow); }
.st-noren { fill: rgba(77,157,224,.22); stroke: var(--light2); stroke-opacity: .6; stroke-width: 1.2; vector-effect: non-scaling-stroke; }
.st-leaf  { fill: none; stroke: var(--light2); stroke-opacity: .45; stroke-width: 1.2; stroke-linecap: round; vector-effect: non-scaling-stroke; }
.st-sign  { fill: none; stroke: var(--lamp); stroke-width: 3; stroke-linecap: round; vector-effect: non-scaling-stroke; }
.st-pin__body { fill: rgba(217,184,119,.16); stroke: var(--lamp); stroke-width: 1.6; vector-effect: non-scaling-stroke; }
.st-pin__hole { fill: var(--lamp); }
.st-star  { fill: var(--lamp); }
.st-cal   { fill: rgba(122,184,245,.16); }
.st-cal.is-done { fill: var(--lamp); }

/* ── 夜の通り（問題提起 → サービスへの橋渡し） ── */
.street {
  position: relative; display: flex; justify-content: flex-end; overflow: hidden;
  margin: -24px 0 0; padding: 0 0 8px;
}
.street__svg { flex: 0 0 max(100%, 760px); max-width: none; height: auto; overflow: visible; }
.st-pin, .st-star { transform-box: fill-box; transform-origin: 50% 100%; }
@media (prefers-reduced-motion: no-preference) {
  .js .street .st-win, .js .street .st-lamp { transition: fill-opacity .6s ease-out calc(var(--i, 0) * 60ms); }
  .js .street .st-cone { transition: opacity .8s ease-out calc(var(--i, 0) * 60ms); }
  .js .street:not(.is-on) .st-win, .js .street:not(.is-on) .st-lamp { fill-opacity: 0; }
  .js .street:not(.is-on) .st-cone { opacity: 0; }
  .js .street:not(.is-on) .st-pin, .js .street:not(.is-on) .st-star { opacity: 0; }
  .js .street:not(.is-on) .st-sign { stroke-opacity: .15; }
  .js .street .st-sign { transition: stroke-opacity .5s ease-out 1.25s; }
  .js .street.is-on .st-pin { animation: pin-drop .7s cubic-bezier(.3,1.5,.5,1) 1.45s both; }
  .js .street.is-on .st-star { animation: star-pop .45s cubic-bezier(.3,1.6,.5,1) calc(1.9s + var(--s) * .09s) both; }
  @keyframes pin-drop { from { opacity: 0; transform: translateY(-26px); } to { opacity: 1; transform: none; } }
  @keyframes star-pop { from { opacity: 0; transform: scale(.2); } to { opacity: 1; transform: none; } }
}

/* ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
   オープニング（約3秒）
   0.0s 夜の店先が線で描かれる → 1.3s 窓と提灯に灯り → 1.4s ロゴ
   → 2.0s 扉が開く → 2.15s 扉の光の中へ入っていき、光がほどけてヒーローへ
   ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ */
.opening { display: none; }
.is-opening, .is-opening body { overflow: hidden; }
.is-opening .opening {
  --ox: 50%; --oy: 50%;
  position: fixed; inset: 0; z-index: 200; overflow: hidden;
  display: grid; place-items: center;
  background: radial-gradient(110% 80% at 50% 62%, #0c1a35 0%, #060c19 55%, #03060d 100%);
  animation: op-out .38s ease-out 2.68s forwards;
}
/* 扉の向こうの光。扉に近づくにつれて画面いっぱいに満ちる */
.is-opening .opening::after {
  content: ''; position: absolute; inset: 0; pointer-events: none; opacity: 0;
  background: radial-gradient(circle at var(--ox) var(--oy), #fff4dc 0%, #f1d9a4 30%, rgba(217,184,119,.75) 65%, rgba(13,26,46,.6) 100%);
  animation: op-fade .32s cubic-bezier(.5,0,.75,0) 2.4s forwards;
}
.is-opening .opening.is-skip { animation: op-out .35s ease-out forwards; }
.is-opening .opening::before {   /* 粒子感：ヒーローと同じ質感 */
  content: ''; position: absolute; inset: 0; opacity: .06; pointer-events: none; mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}
.opening__stage {
  display: flex; flex-direction: column; align-items: center; gap: 18px;
  transform-origin: var(--sx, 50%) var(--sy, 50%);
  animation: op-zoom .62s cubic-bezier(.55,0,.9,.35) 2.12s forwards;
  will-change: transform;
}
.opening__art { width: min(340px, 72vw); height: auto; overflow: visible; }
.opening__art .op-draw { fill: none; stroke: var(--light2); stroke-width: 1.3; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 1; stroke-dashoffset: 1; animation: op-draw .85s var(--ease) var(--d, 0s) forwards; }
.op-door__panel { fill: #060c19; }
.op-sign  { fill: none; stroke: var(--lamp); stroke-width: 2.4; stroke-linecap: round; opacity: 0; animation: op-fade .5s ease-out 1.3s forwards; }
.op-win   { fill: var(--lamp); opacity: 0; animation: op-light .6s ease-out 1.2s forwards; filter: drop-shadow(0 0 8px rgba(217,184,119,.55)); }
.op-lamp  { fill: var(--lamp); stroke: var(--lamp); stroke-width: 1; opacity: 0; animation: op-fade .4s ease-out 1.35s forwards; filter: drop-shadow(0 0 6px rgba(217,184,119,.9)); }
.op-knob  { fill: var(--lamp); opacity: 0; animation: op-fade .3s ease-out 1.1s forwards; }
.op-star  { fill: var(--white); opacity: 0; animation: op-fade .6s ease-out var(--d) forwards; }
.op-doorway { fill: #fff3d6; opacity: 0; animation: op-fade .3s ease-out 2.05s forwards; }
.op-halo  { opacity: 0; transform-box: fill-box; transform-origin: center; animation: op-halo 1s ease-out 1.3s forwards; }
.op-door  { transform-box: fill-box; transform-origin: 0 50%; animation: op-door .4s cubic-bezier(.5,0,.3,1) 2.02s forwards; }
.opening__logo {
  font-family: var(--f-en); font-style: italic; font-size: clamp(1.7rem, 6vw, 2.2rem); line-height: 1; letter-spacing: .04em; color: var(--white);
  opacity: 0; transform: translateY(10px); animation: op-rise .7s var(--ease) 1.4s forwards;
}
.opening__logo span { color: var(--light2); }
.opening__skip {
  position: absolute; right: max(18px, env(safe-area-inset-right)); bottom: max(18px, calc(env(safe-area-inset-bottom) + 12px));
  background: none; border: 1px solid rgba(234,242,255,.22); color: rgba(234,242,255,.7);
  font-size: .74rem; letter-spacing: .12em; padding: 7px 14px; border-radius: 999px; cursor: pointer;
  opacity: 0; animation: op-fade .4s ease-out .6s forwards;
}
.opening__skip:hover { color: #fff; border-color: rgba(234,242,255,.5); }
@keyframes op-draw  { to { stroke-dashoffset: 0; } }
@keyframes op-fade  { to { opacity: 1; } }
@keyframes op-light { 0% { opacity: 0; } 40% { opacity: .6; } 55% { opacity: .3; } 100% { opacity: .9; } }  /* 一瞬またたいてから灯る */
@keyframes op-rise  { to { opacity: 1; transform: none; } }
@keyframes op-halo  { from { opacity: 0; transform: scale(.4); } to { opacity: 1; transform: none; } }
@keyframes op-door  { to { transform: scaleX(0); } }
@keyframes op-zoom  { to { transform: scale(14); } }
@keyframes op-out   { to { opacity: 0; visibility: hidden; } }
/* オープニング中はヒーローの文字を隠しておき、扉が開いたあとに書き出す */
.is-opening .hero__ink, .is-opening .hero__base { opacity: 0; }

/* ━━ お問い合わせ ━━ */
.cpage { padding: calc(var(--nav-h) + env(safe-area-inset-top) + 40px) 0 112px; }
.cpage__wrap { max-width: 760px; }
.cpage__lead { color: var(--ink2); margin-bottom: 28px; max-width: 36em; }
.cf { padding: 28px 22px; background: #fff; border: 1px solid var(--line); border-radius: 18px; }
.cf--done { margin-top: 12px; }
.cf--done p { color: var(--ink2); margin: 10px 0 22px; }
.cf__title { font-size: 1.3rem; }
.cf__alert { margin-bottom: 16px; padding: 14px 16px; border-radius: 10px; background: #fdf0ee; border: 1px solid #f0c4bd; color: #8f2a1c; font-size: .9rem; }
.cf__hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.cf__group { border: 0; margin-bottom: 22px; }
.cf__label { display: block; margin-bottom: 8px; font-weight: 700; font-size: .92rem; }
.cf__req { display: inline-block; margin-left: 6px; padding: 1px 7px; border-radius: 4px; background: var(--ink); color: #fff; font-size: .68rem; font-weight: 700; vertical-align: 2px; }
.cf__input { width: 100%; min-height: 50px; padding: 12px 14px; border: 1.5px solid var(--line); border-radius: 10px; background: var(--paper); color: var(--ink); font: inherit; font-size: 16px; line-height: 1.7; transition: border-color .15s ease-out, background-color .15s ease-out; }
.cf__input:focus { outline: none; border-color: var(--blue); background: #fff; }
.cf__input[aria-invalid="true"] { border-color: #c2412d; }
textarea.cf__input { resize: vertical; }
.cf__hint { margin-top: 6px; font-size: .8rem; color: var(--ink2); }
.cf__error { margin-top: 6px; font-size: .84rem; font-weight: 700; color: #b23a26; }
.cf__choices { display: grid; gap: 8px; }
.cf__choice { position: relative; display: flex; align-items: center; gap: 10px; padding: 12px 14px; border: 1.5px solid var(--line); border-radius: 10px; background: var(--paper); cursor: pointer; font-size: .92rem; font-weight: 500; line-height: 1.5; }
.cf__choice input { width: 18px; height: 18px; flex-shrink: 0; accent-color: var(--blue); }
.cf__choice:has(input:checked) { border-color: var(--blue); background: rgba(36,87,197,.06); }
.cf__choice:has(input:focus-visible) { outline: 2px solid var(--blue); outline-offset: 2px; }
.cf__agree { display: flex; gap: 10px; align-items: flex-start; margin: 8px 0 4px; font-size: .88rem; color: var(--ink2); line-height: 1.75; cursor: pointer; }
.cf__agree input { width: 18px; height: 18px; margin-top: 4px; flex-shrink: 0; accent-color: var(--blue); }
.cf__submit { margin-top: 24px; }
.cf__mail { margin-top: 14px; text-align: center; font-size: .82rem; color: var(--ink2); }
.cf__mail a { color: var(--blue); }
@media (min-width: 600px) {
  .cf { padding: 40px 40px 32px; }
  .cf__choices { grid-template-columns: 1fr 1fr; }
}
@media (min-width: 960px) {
  .cpage { padding: calc(var(--nav-h) + 56px) 0 136px; }
}

/* ━━ よくあるご相談（写真） ━━ */
.pains-sec { padding: 0 0 96px; }
.pains { display: grid; gap: 28px; }
.pain { display: flex; flex-direction: column; }
.pain__media { position: relative; overflow: hidden; aspect-ratio: 3 / 2; border-radius: 14px; background: var(--sky); margin-bottom: 18px; }
.pain__img { width: 100%; height: 100%; object-fit: cover; }
.pain__media--ico { display: grid; place-items: center; color: var(--ink); }
.pain__media--ico .ico { width: 72px; height: 72px; }
.pain__q { font-size: 1.12rem; line-height: 1.65; margin-bottom: 8px; word-break: auto-phrase; }
.pain__a { color: var(--ink2); font-size: .92rem; line-height: 1.95; flex: 1; }
.pain__link { align-self: flex-start; margin-top: 14px; padding-bottom: 2px; font-size: .88rem; font-weight: 700; color: var(--blue); text-decoration: none; border-bottom: 1.5px solid rgba(36,87,197,.35); }
.pain__link:hover { border-bottom-color: var(--blue); }
.photo-note { margin-top: 20px; font-size: .72rem; color: var(--ink2); }
/* 業種の写真 */
.inds__photos { list-style: none; display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-bottom: 36px; }
.inds__photos li { position: relative; overflow: hidden; aspect-ratio: 4 / 3; border-radius: 12px; background: var(--sky); }
.inds__img { width: 100%; height: 100%; object-fit: cover; }
.inds__photos span { position: absolute; left: 8px; bottom: 8px; max-width: calc(100% - 16px); padding: 3px 8px; border-radius: 6px; background: rgba(255,255,255,.94); font-size: .7rem; font-weight: 700; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
@media (min-width: 760px) { .inds__photos span { left: 10px; bottom: 10px; padding: 4px 10px; font-size: .8rem; } }
@media (min-width: 760px) {
  .pains { grid-template-columns: repeat(3, 1fr); gap: 28px; }
  .inds__photos { grid-template-columns: repeat(4, 1fr); gap: 16px; }
}
@media (min-width: 960px) {
  .pains-sec { padding: 0 0 136px; }
}
