/* ============================================================
   まちの灯台 法人LP v11 → v12（取扱機種と料金表を追加）→ v13（動画の区画を追加。末尾を参照）
   PVOT（pvot-apparel.com）の「上品で高そうに見える理由」を取り入れた版。
   取り入れた考え方（画像・文章は転用していない）：
   ・色を足さない。黒に近い墨色・白・温かいグレーだけで組み、色は写真に任せる
   ・写真の色味をそろえる（彩度を少し落とし、同じ撮影のように見せる）
   ・英字は細めの大文字（Montserrat 400）を大きく、日本語は小さく添える
   ・角を丸めない。影もグラデーションも付けない
   ・見出しは中央、写真は端までそろえて並べる（雑誌やカタログの組み方）
   ・本文の読みやすさは下げない（本文16px以上は維持。ここはPVOTより大きい）
   ============================================================ */

:root {
  --ink: #1c1b1b;             /* 墨色。真っ黒より柔らかく、高く見える */
  --ink-65: rgba(28, 27, 27, .74); /* 補足の文字。色を変えず濃さで差をつける（白地で約7:1） */
  --ink-50: rgba(28, 27, 27, .64); /* 注記（白地で約5:1） */
  --paper: #ffffff;
  --greige: #eae9e7;          /* 温かいグレー */
  --mist: #f6f5f3;
  --line: #d9d7d3;
  --night: #141313;
  --line-green: #556b2f;      /* LINE ボタン：落ち着いたアーミーグリーン（白文字で約6:1） */
  --line-green-dark: #45581f;
  --beam: #f2c230;            /* 灯台の光の色（説明図と同じ黄） */
  --on-night: #f3f2ef;
  --on-night-2: rgba(243, 242, 239, .76);

  --en: "Montserrat", "Noto Sans JP", sans-serif;
  --jp: "Noto Sans JP", "Hiragino Sans", "Yu Gothic", sans-serif;
  --gutter: clamp(20px, 4.4vw, 64px);
  --max: 1280px;
  --section: clamp(88px, 10vw, 152px);
  --header-h: 76px;
  --bar-h: 36px;
  --ease: cubic-bezier(.2, .7, .2, 1);
  --grade: saturate(.72) contrast(1.06) brightness(.97); /* 写真の色味をそろえる */
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 20px); }
body {
  margin: 0; background: var(--paper); color: var(--ink);
  font-family: var(--jp); font-size: 16px; line-height: 1.95; letter-spacing: .02em;
  -webkit-font-smoothing: antialiased; font-feature-settings: "palt" 1;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
h1, h2, h3, h4, p, ul, ol, dl, figure, blockquote { margin: 0; }
ul, ol { padding: 0; list-style: none; }
button { font: inherit; }
.nb { display: inline-block; }

.wrap { max-width: var(--max); margin: 0 auto; padding: 0 var(--gutter); }
.sec { padding: var(--section) 0; position: relative; }
.sec--gray { background: var(--greige); }
.sec--dark { background: var(--night); color: var(--on-night); }

/* 写真の色味をそろえる */
.ph img, .team-photo img, .hero-panels img, .final .bg img, .voice .ph img, .card .ph img { filter: var(--grade); }
.card .ph.contain img { filter: none; }

/* ---------- 見出しの型：小さな日本語 → 大きな英字 → 日本語の一言 ---------- */
.lbl { display: grid; justify-items: inherit; gap: 6px; }
.lbl .jp { font-size: 12px; letter-spacing: .12em; color: var(--ink-65); }
.lbl .en { font-family: var(--en); font-weight: 400; font-size: clamp(28px, 3.2vw, 42px); line-height: 1.15; letter-spacing: .06em; text-transform: uppercase; }
.sec--dark .lbl .jp { color: var(--on-night-2); }
.ttl { margin-top: 22px; font-size: clamp(22px, 2.2vw, 30px); font-weight: 500; line-height: 1.6; letter-spacing: .04em; }
.lead { margin-top: 20px; color: var(--ink-65); max-width: 36em; }
.sec--dark .lead { color: var(--on-night-2); }
.note { margin-top: 18px; font-size: 13px; line-height: 1.85; color: var(--ink-50); max-width: 62em; }
.sec--dark .note { color: var(--on-night-2); }
/* 区画の見出しは中央にそろえる */
.head { text-align: center; justify-items: center; display: grid; margin: 0 auto 64px; }
.head .lbl { justify-items: center; }
.head .lead { margin-left: auto; margin-right: auto; }
.center { text-align: center; }
.center .lbl { justify-items: center; }
.center .lead, .center .note { margin-left: auto; margin-right: auto; }

/* ---------- ボタン：角を丸めない長方形 ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 14px;
  min-height: 56px; padding: 0 34px; border-radius: 0;
  font-size: 15px; font-weight: 500; letter-spacing: .08em; text-decoration: none;
  transition: background .3s, color .3s, border-color .3s;
}
.btn--ink { background: var(--ink); color: #fff; }
.btn--ink:hover { background: #3a3838; }
.btn--white { background: #fff; color: var(--ink); }
.btn--white:hover { background: var(--greige); }
.btn--line { border: 1px solid currentColor; color: inherit; }
.btn--line:hover { background: var(--ink); color: #fff; border-color: var(--ink); }
.sec--dark .btn--line:hover { background: #fff; color: var(--ink); border-color: #fff; }
.btn .arr { font-family: var(--en); }
.btn .t { text-align: left; line-height: 1.6; }
.btn-sub { margin-top: 12px; font-size: 13px; opacity: .85; }

/* ---------- お知らせの帯とヘッダー ---------- */
.bar {
  position: relative; z-index: 51; height: var(--bar-h); background: var(--greige);
  display: grid; place-items: center; font-size: 13px; letter-spacing: .06em; color: var(--ink);
  white-space: nowrap; overflow: hidden;
}
.bar a { text-decoration: underline; text-underline-offset: 3px; }
.gh {
  position: fixed; z-index: 50; top: var(--bar-h); left: 0; right: 0; height: var(--header-h);
  display: flex; align-items: center; gap: 28px; padding: 0 var(--gutter);
  color: #fff; transition: background .4s, color .4s, top .4s, border-color .4s;
  border-bottom: 1px solid transparent;
}
.gh .brand { position: relative; display: block; width: 150px; height: 45px; }
.gh .brand img { position: absolute; inset: 0; width: 150px; transition: opacity .4s; }
.gh .brand .on-light { opacity: 0; }
.gh nav { display: flex; gap: 26px; }
.gh nav a { text-decoration: none; font-size: 13px; letter-spacing: .1em; padding: 6px 0; border-bottom: 1px solid transparent; }
.gh nav a:hover { border-bottom-color: currentColor; }
.gh .gh-right { margin-left: auto; display: flex; align-items: center; gap: 18px; }
.gh .gh-right a.text { font-size: 13px; letter-spacing: .1em; text-decoration: none; }
.gh .btn { min-height: 42px; padding: 0 20px; font-size: 13px; }
.gh .btn--white { background: #fff; color: var(--ink); }
.motion-toggle { background: none; border: 1px solid currentColor; color: inherit; padding: 6px 10px; font-size: 12px; letter-spacing: .06em; cursor: pointer; opacity: .9; }
/* 表紙を過ぎたら白い帯にする */
.gh.is-solid { background: #fff; color: var(--ink); top: 0; border-bottom-color: var(--line); }
.gh.is-solid .brand .on-dark { opacity: 0; }
.gh.is-solid .brand .on-light { opacity: 1; }
.gh.is-solid .btn--white { background: var(--ink); color: #fff; }
.menu-btn { display: none; }
.mobile-menu { display: none; }
.progress { position: fixed; z-index: 60; top: 0; left: 0; height: 2px; width: 100%; background: var(--ink); transform-origin: left; transform: scaleX(0); }

/* ---------- 01 表紙：3枚の写真を並べる ---------- */
.hero { position: relative; height: calc(100svh - var(--bar-h)); min-height: 640px; color: #fff; overflow: hidden; background: var(--night); }
.hero-panels { position: absolute; inset: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 2px; background: var(--night); }
.hero-panels figure { position: relative; overflow: hidden; }
.hero-panels img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.08); transition: transform 9s var(--ease); }
.hero.is-ready .hero-panels img { transform: scale(1); }
.hero-panels figcaption {
  position: absolute; left: 24px; bottom: 52px; z-index: 2; display: grid; gap: 2px;
  font-family: var(--en); font-size: 22px; letter-spacing: .08em; text-transform: uppercase;
}
.hero-panels figcaption small { font-family: var(--jp); font-size: 12px; letter-spacing: .14em; opacity: .9; }
.hero-panels figure::after { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(10, 10, 10, .55), rgba(10, 10, 10, 0) 45%); }
/* 3枚が順にせり上がる */
.js .hero-panels figure { clip-path: inset(100% 0 0 0); transition: clip-path 1.4s var(--ease); }
.js .hero.is-ready .hero-panels figure { clip-path: inset(0 0 0 0); }
.js .hero.is-ready .hero-panels figure:nth-child(2) { transition-delay: .18s; }
.js .hero.is-ready .hero-panels figure:nth-child(3) { transition-delay: .36s; }
.hero::after { content: ""; position: absolute; inset: 0; pointer-events: none; background: linear-gradient(0deg, rgba(10, 10, 10, .82) 0%, rgba(10, 10, 10, .2) 52%, rgba(10, 10, 10, .32) 100%); }
.hero-copy { position: absolute; z-index: 3; left: 0; right: 0; top: 50%; transform: translateY(-38%); text-align: center; }
.hero-copy .eyebrow { font-size: 13px; letter-spacing: .2em; }
.hero h1 { margin-top: 18px; font-size: clamp(32px, 4.4vw, 62px); font-weight: 500; line-height: 1.42; letter-spacing: .06em; }
.hero .one { margin: 22px auto 0; font-size: clamp(15px, 1.25vw, 18px); max-width: 36em; line-height: 1.9; opacity: .94; }
.hero .acts { margin-top: 34px; display: grid; justify-items: center; }
.js .hero-copy > .wrap > * { opacity: 0; transform: translateY(18px); transition: opacity 1.1s var(--ease), transform 1.1s var(--ease); }
.js .hero.is-ready .hero-copy > .wrap > * { opacity: 1; transform: none; }
.js .hero.is-ready .hero-copy > .wrap > *:nth-child(2) { transition-delay: .55s; }
.js .hero.is-ready .hero-copy > .wrap > *:nth-child(3) { transition-delay: .75s; }
.js .hero.is-ready .hero-copy > .wrap > *:nth-child(4) { transition-delay: .95s; }
.js .hero.is-ready .hero-copy > .wrap > *:nth-child(1) { transition-delay: .4s; }
.hero-meta { position: absolute; z-index: 3; left: var(--gutter); right: var(--gutter); bottom: 16px; display: flex; justify-content: flex-end; font-size: 12px; color: rgba(255, 255, 255, .82); }
.hero-dots { display: none; }

/* ---------- 02 問題提起 ---------- */
.problem-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: center; }
.tl { border-top: 1px solid var(--line); }
.tl li { display: grid; grid-template-columns: 110px 1fr; gap: 20px; padding: 22px 0; border-bottom: 1px solid var(--line); }
.tl time { font-family: var(--en); font-size: 14px; letter-spacing: .06em; color: var(--ink-65); padding-top: 2px; }
.tl p { font-size: 18px; font-weight: 500; line-height: 1.7; }
.tl li.miss p { font-weight: 700; }
.tl li:last-child p { font-size: 20px; font-weight: 700; }

/* ---------- 03 コンセプト ---------- */
.shift { display: grid; gap: 6px; justify-items: center; margin-top: 30px; }
.shift .from { font-size: clamp(20px, 2.2vw, 28px); color: var(--ink-50); position: relative; }
.shift .from::after { content: ""; position: absolute; left: 0; right: 0; top: 52%; height: 1px; background: var(--ink); transform: scaleX(var(--strike, 1)); transform-origin: left; }
.shift .to { font-size: clamp(28px, 3.6vw, 48px); font-weight: 500; letter-spacing: .06em; line-height: 1.4; }
.steps3 { margin-top: 64px; display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--ink); }
.steps3 li { padding: 30px 28px 34px; border-right: 1px solid var(--line); }
.steps3 li:last-child { border-right: 0; }
.steps3 .num { font-family: var(--en); font-size: 13px; letter-spacing: .14em; color: var(--ink-65); }
.steps3 h3 { margin-top: 10px; font-size: 20px; font-weight: 500; }
.steps3 p { margin-top: 8px; color: var(--ink-65); }

/* ---------- 04 仕組み ---------- */
.story { display: grid; grid-template-columns: 1.1fr .9fr; gap: 80px; align-items: start; }
.story-visual { position: sticky; top: calc(var(--header-h) + 40px); }
.screen { position: relative; aspect-ratio: 16 / 11; overflow: hidden; background: var(--mist); border: 1px solid var(--line); }
.screen figure { position: absolute; inset: 0; display: grid; place-items: center; padding: 24px; opacity: 0; transition: opacity .8s ease; }
.screen figure.is-on { opacity: 1; }
.screen figure img { max-height: 100%; width: auto; }
.push {
  position: absolute; z-index: 2; top: 18px; right: 18px; width: min(78%, 360px);
  background: #fff; border: 1px solid var(--line); padding: 14px 16px; display: flex; gap: 12px;
  transform: translateY(-150%); transition: transform .8s var(--ease);
}
.story-visual[data-step="2"] .push, .story-visual[data-step="3"] .push { transform: none; }
.push .ic { width: 32px; height: 32px; background: var(--ink); color: #fff; display: grid; place-items: center; font-size: 14px; flex: none; }
.push b { display: block; font-size: 15px; font-weight: 500; }
.push small { display: block; font-size: 12px; color: var(--ink-65); }
.screen-cap { margin-top: 12px; font-size: 13px; color: var(--ink-50); line-height: 1.75; }
.story-steps li { min-height: 62vh; display: flex; flex-direction: column; justify-content: center; opacity: .3; transition: opacity .6s ease; }
.story-steps li:first-child { min-height: 46vh; }
.story-steps li.is-on { opacity: 1; }
.story-steps .num { font-family: var(--en); font-size: 13px; letter-spacing: .14em; color: var(--ink-65); text-transform: uppercase; }
.story-steps h3 { margin-top: 12px; font-size: clamp(22px, 2.1vw, 28px); font-weight: 500; line-height: 1.6; }
.story-steps p { margin-top: 12px; color: var(--ink-65); }

/* ---------- 05 できること：写真を端までそろえる ---------- */
.cards3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.card .ph { aspect-ratio: 4 / 5; overflow: hidden; background: var(--mist); }
.card .ph img { width: 100%; height: 100%; object-fit: cover; }
.card .ph.contain { background: #fff; }
.card .ph.contain img { object-fit: contain; padding: 28px; }
.card h3 { margin-top: 18px; font-size: 18px; font-weight: 500; }
.card p { margin-top: 8px; color: var(--ink-65); }

/* ---------- 06 自社で使って ---------- */
.voice { display: grid; grid-template-columns: 1fr 1fr; gap: 0; align-items: stretch; min-height: 640px; }
.voice .ph { overflow: hidden; }
.voice .ph img { width: 100%; height: 100%; object-fit: cover; }
.voice .txt { padding: clamp(40px, 6vw, 96px); display: flex; flex-direction: column; justify-content: center; }
.voice blockquote { margin-top: 34px; }
.voice blockquote p { font-size: clamp(18px, 1.7vw, 22px); font-weight: 500; line-height: 1.85; }
.voice blockquote p + p { margin-top: 14px; }
.voice cite { display: block; margin-top: 26px; font-style: normal; font-size: 13px; color: var(--on-night-2); }
.sec.voice-sec { padding: 0; }

/* ---------- 07 向いている方 ---------- */
.compare { display: grid; grid-template-columns: repeat(3, 1fr); margin-top: 48px; border-top: 1px solid var(--ink); }
.compare > div { padding: 30px 28px; border-right: 1px solid var(--line); }
.compare > div:last-child { border-right: 0; }
.compare > div.ours { background: var(--ink); color: var(--on-night); }
.compare h3 { font-size: 18px; font-weight: 500; }
.compare .ours h3 i { display: none; }
.compare dt { margin-top: 18px; font-size: 13px; letter-spacing: .08em; color: var(--ink-65); }
.compare .ours dt { color: var(--on-night-2); }
.compare dd { margin: 4px 0 0; font-size: 15px; line-height: 1.8; }

/* ---------- 08 30秒チェック ---------- */
.check { display: grid; grid-template-columns: 1.1fr .9fr; gap: 48px; align-items: start; }
.check form { border-top: 1px solid var(--ink); }
.check fieldset { border: 0; margin: 0; padding: 20px 0; border-bottom: 1px solid var(--line); }
.check legend { font-size: 16px; font-weight: 500; line-height: 1.7; padding: 0; }
.check .opts { margin-top: 12px; display: flex; gap: 8px; }
.check label { display: inline-flex; align-items: center; gap: 8px; cursor: pointer; padding: 9px 18px; border: 1px solid var(--line); font-size: 15px; background: #fff; }
.check input { accent-color: var(--ink); width: 18px; height: 18px; }
.check label:has(input:checked) { border-color: var(--ink); background: var(--ink); color: #fff; }
.result { background: var(--ink); color: var(--on-night); padding: 34px 32px; position: sticky; top: calc(var(--header-h) + 32px); }
.result h3 { font-size: 18px; font-weight: 500; }
.result .count { margin-top: 4px; font-size: 13px; color: var(--on-night-2); }
.result ul { margin-top: 18px; display: grid; gap: 12px; }
.result li { font-size: 15px; line-height: 1.8; padding-left: 16px; position: relative; }
.result li::before { content: ""; position: absolute; left: 0; top: .85em; width: 6px; height: 1px; background: currentColor; }
.result li a { color: #fff; }
.result .btn { margin-top: 24px; }
.result .privacy { margin-top: 14px; font-size: 13px; color: var(--on-night-2); line-height: 1.75; }

/* ---------- 09 選ぶ理由 ---------- */
.reason { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: center; }
.reason .ph { aspect-ratio: 4 / 5; overflow: hidden; }
.reason .ph img { width: 100%; height: 115%; object-fit: cover; }
.qs { margin-top: 30px; border-top: 1px solid var(--line); }
.qs li { display: flex; gap: 18px; padding: 16px 0; border-bottom: 1px solid var(--line); font-size: 17px; font-weight: 500; }
.qs li i { font-family: var(--en); font-style: normal; font-size: 13px; letter-spacing: .1em; color: var(--ink-65); padding-top: 4px; }
.bignum { display: flex; align-items: baseline; gap: 10px; margin-top: 40px; }
.bignum b { font-family: var(--en); font-size: clamp(56px, 6.4vw, 92px); font-weight: 300; line-height: 1; letter-spacing: .02em; }
.bignum span { font-size: 16px; }
.bignum + p { margin-top: 8px; color: var(--ink-65); }

/* ---------- 10 導入後 ---------- */
.after2 { display: grid; grid-template-columns: 1fr 1fr; border-top: 1px solid var(--ink); }
.after2 > div { padding: 28px 28px 30px 0; }
.after2 > div + div { padding-left: 28px; border-left: 1px solid var(--line); }
.after2 h3 { font-size: 18px; font-weight: 500; }
.after2 ul { margin-top: 12px; display: grid; gap: 8px; }
.after2 li { color: var(--ink-65); padding-left: 16px; position: relative; }
.after2 li::before { content: ""; position: absolute; left: 0; top: .95em; width: 6px; height: 1px; background: var(--ink); }
.team-photo { margin-top: 64px; aspect-ratio: 21 / 9; overflow: hidden; }
.team-photo img { width: 100%; height: 118%; object-fit: cover; object-position: center 40%; }
.people { margin-top: 16px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.people .ph { aspect-ratio: 4 / 5; overflow: hidden; background: var(--mist); }
.people .ph img { width: 100%; height: 100%; object-fit: cover; object-position: center 22%; }
.people .role { margin-top: 16px; font-size: 12px; letter-spacing: .12em; color: var(--ink-65); }
.people .nm { margin-top: 2px; font-size: 20px; font-weight: 500; }
.people .nm small { font-family: var(--en); font-size: 12px; letter-spacing: .14em; color: var(--ink-65); margin-left: 10px; }
.people p { margin-top: 4px; color: var(--ink-65); font-size: 15px; }

/* ---------- 11 連携基盤 ---------- */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid rgba(255, 255, 255, .3); border-bottom: 1px solid rgba(255, 255, 255, .14); }
.stats > div { padding: 30px 24px; text-align: center; border-right: 1px solid rgba(255, 255, 255, .14); }
.stats > div:last-child { border-right: 0; }
.stats b { display: block; font-family: var(--en); font-size: clamp(32px, 3.4vw, 48px); font-weight: 300; line-height: 1.15; letter-spacing: .04em; }
.stats b small { font-family: var(--jp); font-size: .36em; font-weight: 400; margin-left: 4px; }
.stats b .n { font-style: normal; }
.stats span { display: block; margin-top: 8px; font-size: 14px; color: var(--on-night-2); }
/* 機器は丸い枠に並べる（カテゴリの一覧のように） */
.devices { margin-top: 64px; display: grid; grid-template-columns: repeat(6, 1fr); gap: 18px; text-align: center; }
.devices .im { width: min(140px, 100%); aspect-ratio: 1; margin: 0 auto; border-radius: 50%; background: #fff; display: grid; place-items: center; overflow: hidden; }
.devices .im img { max-width: 64%; max-height: 64%; width: auto; }
.devices .im .ai { font-family: var(--en); font-size: 20px; letter-spacing: .1em; color: var(--ink); }
.devices b { display: block; margin-top: 14px; font-size: 15px; font-weight: 500; }
.devices span { display: block; font-size: 13px; color: var(--on-night-2); }
.trust2 { margin-top: 64px; display: grid; grid-template-columns: 1fr 1fr; border-top: 1px solid rgba(255, 255, 255, .3); }
.trust2 > div { padding: 28px 28px 30px 0; }
.trust2 > div + div { padding-left: 28px; border-left: 1px solid rgba(255, 255, 255, .14); }
.trust2 h3 { font-size: 18px; font-weight: 500; }
.trust2 p { margin-top: 8px; color: var(--on-night-2); font-size: 15px; }
.analytics { margin-top: 64px; display: grid; grid-template-columns: .8fr 1.2fr; gap: 40px; align-items: center; border-top: 1px solid rgba(255, 255, 255, .3); padding-top: 40px; }
.analytics .lbl { justify-items: start; }
.analytics .lbl .en { font-size: 22px; }
.analytics h3 { margin-top: 14px; font-size: 20px; font-weight: 500; }
.analytics p { margin-top: 8px; color: var(--on-night-2); font-size: 15px; }

/* ---------- 12 費用 ---------- */
.price2 { display: grid; grid-template-columns: 1fr 1fr; border-top: 1px solid var(--ink); }
.price2 > div { padding: 34px 34px 36px 0; }
.price2 > div + div { padding-left: 34px; border-left: 1px solid var(--line); }
.price2 .en { font-family: var(--en); font-size: 13px; letter-spacing: .16em; color: var(--ink-65); }
.price2 h3 { margin-top: 10px; font-size: 24px; font-weight: 500; }
.price2 p { margin-top: 10px; color: var(--ink-65); }
.price2 .not { color: var(--ink); font-weight: 700; }

/* ---------- 13 流れ ---------- */
.flow4 { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--line); }
.flow4 li { padding: 28px 24px 8px 0; position: relative; }
.flow4 li::before { content: ""; position: absolute; top: -1px; left: 0; height: 1px; width: 0; background: var(--ink); transition: width 1s var(--ease); }
.flow4.is-in li::before { width: calc(100% - 24px); }
.flow4.is-in li:nth-child(2)::before { transition-delay: .2s; }
.flow4.is-in li:nth-child(3)::before { transition-delay: .4s; }
.flow4.is-in li:nth-child(4)::before { transition-delay: .6s; }
.flow4 .num { font-family: var(--en); font-size: 13px; letter-spacing: .14em; color: var(--ink-65); }
.flow4 h3 { margin-top: 10px; font-size: 18px; font-weight: 500; }
.flow4 p { margin-top: 8px; color: var(--ink-65); font-size: 15px; }
.flow4 .tag { display: inline-block; margin-top: 10px; font-size: 12px; letter-spacing: .1em; padding: 2px 10px; border: 1px solid var(--ink); }

/* ---------- 14 役割 ---------- */
.roles { display: grid; grid-template-columns: 1fr 1fr; border-top: 1px solid var(--ink); }
.roles > div { padding: 32px 32px 34px 0; }
.roles > div + div { padding-left: 32px; border-left: 1px solid var(--line); }
.roles h3 { font-size: 19px; font-weight: 500; }
.roles p { margin-top: 10px; color: var(--ink-65); }

/* ---------- 15 電気・通信 ---------- */
.support { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: center; }
.tags { margin-top: 26px; display: flex; flex-wrap: wrap; gap: 8px; }
.tags li { padding: 8px 16px; border: 1px solid var(--line); font-size: 14px; }
.support .ph { aspect-ratio: 4 / 5; overflow: hidden; }
.support .ph img { width: 100%; height: 115%; object-fit: cover; }
.textlink { display: inline-flex; gap: 10px; margin-top: 26px; font-size: 14px; letter-spacing: .08em; text-decoration: none; border-bottom: 1px solid var(--ink); padding-bottom: 4px; }

/* ---------- 16 想い ---------- */
.mission { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: center; }
.mission .ph { aspect-ratio: 4 / 5; overflow: hidden; }
.mission .ph img { width: 100%; height: 100%; object-fit: cover; object-position: 70% center; }
.mission p.body { margin-top: 18px; color: var(--ink-65); max-width: 30em; }

/* ---------- 17 FAQ ---------- */
.faq-cols { display: grid; grid-template-columns: .7fr 1.3fr; gap: 64px; align-items: start; }
.faq-cols > div:first-child .lbl { justify-items: start; }
.faq-group + .faq-group { margin-top: 40px; }
.faq-group h3 { font-family: var(--jp); font-size: 13px; letter-spacing: .12em; color: var(--ink-65); padding-bottom: 8px; font-weight: 400; }
details { border-top: 1px solid var(--line); }
.faq-group details:last-child { border-bottom: 1px solid var(--line); }
summary { list-style: none; cursor: pointer; padding: 20px 44px 20px 0; position: relative; font-size: 16px; font-weight: 500; line-height: 1.7; }
summary::-webkit-details-marker { display: none; }
summary::after { content: "+"; position: absolute; right: 4px; top: 50%; transform: translateY(-50%); font-family: var(--en); font-size: 22px; font-weight: 300; transition: transform .3s var(--ease); }
details[open] summary::after { transform: translateY(-50%) rotate(45deg); }
details .a { padding: 0 0 24px; color: var(--ink-65); }

/* ---------- 18 概要 ---------- */
.spec { border-top: 1px solid var(--ink); max-width: 960px; margin: 0 auto; }
.spec div { display: grid; grid-template-columns: 200px 1fr; gap: 24px; padding: 20px 0; border-bottom: 1px solid var(--line); }
.spec dt { font-size: 14px; letter-spacing: .08em; color: var(--ink-65); }
.spec dd { margin: 0; }

/* ---------- 19 最後の相談 ---------- */
.final { position: relative; overflow: hidden; text-align: center; }
.final .bg { position: absolute; inset: 0; }
.final .bg img { width: 100%; height: 120%; object-fit: cover; opacity: .28; }
.final .wrap { position: relative; }
.final .lbl { justify-items: center; }
.final .ttl { font-size: clamp(26px, 3vw, 40px); }
.final .lead { margin-left: auto; margin-right: auto; }
.final .acts { margin-top: 40px; display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; }
.final .tel { margin-top: 34px; font-size: 14px; color: var(--on-night-2); }
.final .tel a { font-family: var(--en); font-size: 26px; font-weight: 400; letter-spacing: .08em; color: #fff; text-decoration: none; display: inline-block; margin-bottom: 4px; }

footer { background: #0e0d0d; color: rgba(243, 242, 239, .72); padding: 72px 0 36px; font-size: 14px; line-height: 2; }
footer .fgrid { display: grid; grid-template-columns: 1.2fr 1fr 1fr; gap: 40px; }
footer img { width: 160px; margin-bottom: 16px; }
footer a { color: #f3f2ef; text-decoration: none; }
footer a:hover { text-decoration: underline; }
footer h4 { margin: 0 0 8px; font-family: var(--en); font-weight: 400; font-size: 13px; letter-spacing: .16em; color: #fff; text-transform: uppercase; }
footer .soon { color: rgba(243, 242, 239, .6); }
footer .copy { margin-top: 48px; padding-top: 22px; border-top: 1px solid rgba(255, 255, 255, .1); font-family: var(--en); font-size: 12px; letter-spacing: .1em; }

/* ============================================================
   スクロールの動き（v10と同じ考え方。速さを少し落として上品に）
   ============================================================ */
.js .rv { opacity: 0; transform: translateY(24px); transition: opacity 1.1s var(--ease), transform 1.1s var(--ease); }
.js .rv.is-in { opacity: 1; transform: none; }
.js .rv-stagger > * { opacity: 0; transform: translateY(20px); transition: opacity 1s var(--ease), transform 1s var(--ease); }
.js .rv-stagger.is-in > * { opacity: 1; transform: none; }
.js .rv-stagger.is-in > *:nth-child(2) { transition-delay: .12s; }
.js .rv-stagger.is-in > *:nth-child(3) { transition-delay: .24s; }
.js .rv-stagger.is-in > *:nth-child(4) { transition-delay: .36s; }
.js .rv-stagger.is-in > *:nth-child(5) { transition-delay: .48s; }
.js .rv-stagger.is-in > *:nth-child(6) { transition-delay: .6s; }
/* 写真は下から幕が上がる。切り抜きは中の画像にかける（外枠にかけると表示判定が効かなくなる） */
.js .rv-img { overflow: hidden; }
.js .rv-img img { clip-path: inset(100% 0 0 0); transform: scale(1.12); transition: clip-path 1.4s var(--ease), transform 2s var(--ease); }
.js .rv-img.is-in img { clip-path: inset(0 0 0 0); transform: scale(1); }

html.reduce-motion .rv, html.reduce-motion .rv-stagger > *, html.reduce-motion .rv-img img,
html.reduce-motion .hero-copy > .wrap > *, html.reduce-motion .hero-panels figure, html.reduce-motion .hero-panels img {
  opacity: 1 !important; transform: none !important; clip-path: none !important; transition: none !important;
}
html.reduce-motion .screen figure, html.reduce-motion .push, html.reduce-motion .story-steps li { transition: none !important; }
html.reduce-motion .story-steps li { opacity: 1; }
html.reduce-motion .flow4 li::before { width: calc(100% - 24px); transition: none; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .js .rv, .js .rv-stagger > *, .js .rv-img img, .js .hero-copy > .wrap > *, .js .hero-panels figure, .hero-panels img { opacity: 1; transform: none; clip-path: none; transition: none; }
  .story-steps li { opacity: 1; }
}

/* ============================================================
   タブレット・スマホ
   ============================================================ */
@media (max-width: 1080px) {
  .gh nav { display: none; }
  .devices { grid-template-columns: repeat(3, 1fr); }
  .stats { grid-template-columns: repeat(2, 1fr); }
  .stats > div:nth-child(2) { border-right: 0; }
  .stats > div:nth-child(-n+2) { border-bottom: 1px solid rgba(255, 255, 255, .14); }
}
@media (max-width: 860px) {
  :root { --header-h: 60px; --bar-h: 32px; }
  .bar { font-size: 12px; }
  .gh { gap: 12px; }
  .gh .brand, .gh .brand img { width: 122px; height: 37px; }
  .gh .gh-right .text, .gh .motion-toggle { display: none; }
  .gh .btn { min-height: 38px; padding: 0 14px; font-size: 12px; }
  .menu-btn { display: inline-grid; place-items: center; min-width: 54px; height: 38px; padding: 0 8px; background: none; border: 1px solid currentColor; color: inherit; font-family: var(--en); font-size: 11px; letter-spacing: .1em; cursor: pointer; }
  .mobile-menu { position: fixed; z-index: 49; inset: 0; background: #fff; padding: 110px 24px 40px; overflow-y: auto; }
  .mobile-menu.open { display: block; }
  .mobile-menu a { display: block; padding: 16px 2px; border-bottom: 1px solid var(--line); font-size: 16px; text-decoration: none; }
  .mobile-menu .motion-toggle { margin-top: 24px; color: var(--ink); }

  /* 表紙：3枚を横に流し、次の1枚を少し見せる */
  .hero { min-height: 600px; }
  .hero-panels { display: flex; gap: 2px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; }
  .hero-panels::-webkit-scrollbar { display: none; }
  .hero-panels figure { flex: 0 0 86%; scroll-snap-align: start; }
  .hero-panels figcaption { display: none; }
  .hero-copy { top: auto; bottom: 78px; transform: none; text-align: left; pointer-events: none; }
  .hero-copy a { pointer-events: auto; }
  .hero .one { margin-left: 0; }
  .hero .acts { justify-items: stretch; }
  .hero .acts .btn { width: 100%; font-size: 14px; padding: 0 18px; }
  .hero-meta { justify-content: space-between; align-items: center; }
  .hero-dots { display: flex; gap: 6px; }
  .hero-dots i { width: 6px; height: 6px; border-radius: 50%; background: rgba(255, 255, 255, .45); }
  .hero-dots i.is-on { background: #fff; }

  .problem-grid, .story, .check, .reason, .support, .mission, .faq-cols, .analytics, .voice { grid-template-columns: 1fr; gap: 36px; }
  .voice { min-height: 0; gap: 0; }
  .voice .ph { aspect-ratio: 4 / 3; }
  .voice .txt { padding: 56px var(--gutter) 72px; }
  .steps3, .compare, .after2, .price2, .roles, .trust2 { grid-template-columns: 1fr; }
  .steps3 li, .compare > div { border-right: 0; border-bottom: 1px solid var(--line); }
  .after2 > div + div, .price2 > div + div, .roles > div + div, .trust2 > div + div { padding-left: 0; border-left: 0; border-top: 1px solid var(--line); }
  .trust2 > div + div { border-top-color: rgba(255, 255, 255, .14); }
  .cards3 { grid-template-columns: 1fr; gap: 40px; }
  .card .ph { aspect-ratio: 4 / 3; }
  .people { grid-template-columns: 1fr; gap: 32px; }
  .people .ph { aspect-ratio: 3 / 2; }
  .reason .ph, .support .ph, .mission .ph { aspect-ratio: 4 / 3; }
  .team-photo { aspect-ratio: 4 / 3; }
  .flow4 { grid-template-columns: 1fr; border-top: 0; }
  .flow4 li { border-top: 1px solid var(--line); padding: 22px 0 8px; }
  .flow4.is-in li::before { width: 100%; }
  .story-visual { top: calc(var(--header-h) + 14px); z-index: 2; background: var(--paper); padding-bottom: 10px; }
  .screen { aspect-ratio: 16 / 10; }
  .story-steps li { min-height: 58vh; }
  .story-steps li:first-child { min-height: 40vh; }
  .result { position: static; }
  .devices { grid-template-columns: repeat(2, 1fr); gap: 28px 14px; }
  .spec div { grid-template-columns: 1fr; gap: 2px; }
  .tl li { grid-template-columns: 1fr; gap: 2px; }
  .final .acts { flex-direction: column; align-items: stretch; }
  footer .fgrid { grid-template-columns: 1fr; }
}
@media (max-width: 400px) {
  .stats { grid-template-columns: 1fr; }
  .stats > div { border-right: 0; border-bottom: 1px solid rgba(255, 255, 255, .14); }
}

/* ============================================================
   v12 で追加：取扱機種と料金表
   ・価格は大きく、注記は小さく。色は足さず、線と余白で区切る
   ============================================================ */

/* ---- 取扱機種 ---- */
.lineup { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.lineup li { background: var(--mist); padding: 28px 24px 30px; display: flex; flex-direction: column; }
.lineup .im { aspect-ratio: 1; display: grid; place-items: center; background: #fff; }
.lineup .im img { width: 82%; height: auto; }
.lineup .use { margin-top: 22px; font-size: 13px; letter-spacing: .08em; color: var(--ink-65); }
.lineup h3 { margin-top: 4px; font-family: var(--en); font-size: 20px; font-weight: 400; letter-spacing: .08em; }
.lineup .yen { margin-top: 10px; font-size: 15px; }
.lineup .yen b { font-family: var(--en); font-size: 28px; font-weight: 500; letter-spacing: .02em; }
.lineup .yen small { font-size: 13px; color: var(--ink-65); }
.lineup .catch { margin-top: 10px; font-size: 16px; line-height: 1.8; }
.lineup dl { margin: 18px 0 0; border-top: 1px solid var(--line); }
.lineup dl div { display: grid; grid-template-columns: 4.6em 1fr; gap: 8px; padding: 8px 0; border-bottom: 1px solid var(--line); font-size: 14px; line-height: 1.7; }
.lineup dt { color: var(--ink-65); }
.lineup dd { margin: 0; }

/* ---- 費用：最低価格 ---- */
.price2 .big { margin-top: 16px; color: var(--ink); font-size: 16px; }
.price2 .big b { font-family: var(--en); font-size: clamp(32px, 3.6vw, 44px); font-weight: 400; letter-spacing: .02em; }
.price2 .big small { font-size: 13px; color: var(--ink-65); }
.price2 a { color: inherit; }

/* ---- 料金表 ---- */
.ptable-wrap { margin-top: 64px; }
.ptable-ttl { font-size: 18px; font-weight: 500; }
.ptable { width: 100%; table-layout: fixed; margin-top: 18px; border-collapse: collapse; background: #fff; font-size: 16px; }
.ptable th, .ptable td { padding: 13px 18px; border-bottom: 1px solid var(--line); text-align: right; white-space: nowrap; font-variant-numeric: tabular-nums; }
.ptable thead th { font-size: 13px; font-weight: 500; letter-spacing: .06em; color: var(--ink-65); border-bottom: 1px solid var(--ink); background: var(--mist); }
.ptable th[scope="row"], .ptable thead th:first-child { text-align: left; font-weight: 500; }
.ptable-more { margin-top: 0; }
/* 開いた表と上の表で列の位置をそろえる（4列を等分） */
.ptable th, .ptable td { width: 25%; }
.ptable-more summary { cursor: pointer; padding: 16px 0; font-size: 15px; border-bottom: 1px solid var(--line); }
.ptable-more .ptable { margin-top: 0; }
.ptable-more .ptable thead { display: none; }
.ptable-foot { margin-top: 16px; font-size: 14px; color: var(--ink-65); }

/* ---- 月額に含まれるもの ---- */
.incl { margin-top: 56px; padding: 32px 34px; background: #fff; border-top: 1px solid var(--ink); }
.incl h3 { font-size: 18px; font-weight: 500; }
.incl ul { margin: 14px 0 0; padding: 0; list-style: none; }
.incl li { padding: 12px 0; border-bottom: 1px solid var(--line); }
.incl li b { display: block; font-weight: 700; }
.incl p { margin-top: 14px; font-size: 14px; color: var(--ink-65); }

@media (max-width: 1080px) {
  .lineup { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 560px) {
  .lineup { gap: 12px; }
  .lineup li { padding: 18px 14px 20px; }
  .lineup h3 { font-size: 16px; letter-spacing: .04em; }
  .lineup .yen b { font-size: 22px; }
  .lineup .catch { font-size: 16px; }
  .lineup dl div { grid-template-columns: 1fr; gap: 0; font-size: 14px; }
  .ptable { font-size: 15px; }
  .ptable th, .ptable td { padding: 11px 6px; }
  .ptable thead th { white-space: normal; font-size: 13px; letter-spacing: 0; }
  .incl { padding: 24px 18px; }
}

/* ============================================================
   v13：動画で見る（#movies）
   動画は今後増やす前提。上に再生中の動画と説明、下に動画の一覧（カード）を並べる。
   ============================================================ */
.movie { display: grid; grid-template-columns: minmax(0, 1.7fr) minmax(0, 1fr); gap: clamp(28px, 3.6vw, 56px); align-items: start; }
.movie-stage { background: #000; aspect-ratio: 16 / 9; }
.movie-player { display: block; width: 100%; height: 100%; background: #000; object-fit: contain; }
.movie-tag { font-family: var(--en); font-size: 13px; letter-spacing: .12em; color: var(--on-night-2); }
.movie-info h3 { margin-top: 10px; font-size: clamp(19px, 1.7vw, 22px); font-weight: 500; line-height: 1.7; }
.movie-info h3 + p { margin-top: 14px; color: var(--on-night-2); }
.movie-script { margin-top: 22px; border-top: 1px solid rgba(243, 242, 239, .24); border-bottom: 1px solid rgba(243, 242, 239, .24); }
.movie-script summary { cursor: pointer; padding: 14px 0; font-size: 14px; }
.movie-script ol { padding: 0 0 16px 1.4em; list-style: decimal; font-size: 14px; line-height: 1.9; color: var(--on-night-2); }
.movie-credit { margin-top: 14px; font-size: 13px; color: var(--on-night-2); }
.movie-list { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 16px; margin-top: clamp(40px, 5vw, 64px); }
.movie-card {
  display: grid; width: 100%; padding: 0; text-align: left; cursor: pointer;
  background: transparent; color: inherit; border: 1px solid rgba(243, 242, 239, .24); border-radius: 0;
  transition: border-color .3s var(--ease);
}
.movie-card:hover, .movie-card.is-on { border-color: var(--on-night); }
.movie-card:focus-visible { outline: 2px solid var(--on-night); outline-offset: 3px; }
.movie-card .thumb { aspect-ratio: 16 / 9; overflow: hidden; background: #000; }
.movie-card .thumb img { width: 100%; height: 100%; object-fit: cover; }
.movie-card .meta { display: grid; gap: 4px; padding: 14px 16px 16px; }
.movie-card .name { font-size: 15px; line-height: 1.7; }
.movie-card .len { font-family: var(--en); font-size: 13px; color: var(--on-night-2); }
.movie-card.is-on .len::after { content: "　再生中の動画"; font-family: var(--jp); }
.movie-more { margin-top: 18px; font-size: 13px; color: var(--on-night-2); }
/* 動画が1本だけのうちは一覧を出さない（上の動画と同じものが並ぶため）。2本目を足すと自動で出る。 */
.movie-list:has(> li:only-child) { display: none; }
.hero-movie { display: inline-flex; gap: 8px; margin-top: 16px; font-size: 14px; color: #fff; text-underline-offset: 4px; }
@media (max-width: 960px) {
  .movie { grid-template-columns: 1fr; }
}
/* スマホ縦長では正方形の動画にする（JS の CONFIG.movieTallQuery と同じ条件） */
@media (max-width: 640px) {
  .movie-stage { aspect-ratio: 1 / 1; }
}

/* ---------- v14：メニューは英語で表示し、カーソルを合わせると日本語に切り替える ---------- */
.gh nav { gap: 22px; }
.gh nav a.nav-item { border-bottom: 0; padding: 6px 0; }
.nav-window { display: inline-grid; overflow: hidden; height: 1.7em; line-height: 1.7em; vertical-align: middle; }
.nav-en, .nav-ja { grid-area: 1 / 1; text-align: center; transition: transform .35s cubic-bezier(.2, .7, .2, 1); }
.nav-en { font-family: var(--en); font-size: 12px; letter-spacing: .14em; text-transform: uppercase; }
.nav-ja { font-size: 13px; letter-spacing: .06em; transform: translateY(110%); }
.nav-item:hover .nav-en, .nav-item:focus-visible .nav-en { transform: translateY(-110%); }
.nav-item:hover .nav-ja, .nav-item:focus-visible .nav-ja { transform: translateY(0); }
/* 公式LINE・運営会社は、ページ内の項目と区切る */
.gh nav .nav-item--line { margin-left: 10px; padding-left: 22px; border-left: 1px solid currentColor; border-left-color: color-mix(in srgb, currentColor 35%, transparent); }
html.reduce-motion .nav-en, html.reduce-motion .nav-ja { transition: none; }
@media (prefers-reduced-motion: reduce) { .nav-en, .nav-ja { transition: none; } }
/* 右側（個人の方へ・動きを止める・相談する）は折り返さない */
.gh .gh-right > * { white-space: nowrap; }
.gh nav { gap: 18px; }
.nav-en { letter-spacing: .1em; }
.nav-ja { font-size: 12px; letter-spacing: .02em; }
/* 日本語が長くても、項目の幅は英語に合わせる（上下だけ隠し、左右ははみ出してよい） */
.nav-window { overflow-x: visible; overflow-y: clip; }
.nav-ja { width: 0; justify-self: center; white-space: nowrap; display: grid; justify-content: center; }
.gh nav .nav-item--line { margin-left: 4px; padding-left: 18px; }
/* 項目が増えたため、1400px 以下はメニューボタンにまとめる（v20 で 1280px から変更） */
@media (max-width: 1400px) {
  .gh nav { display: none; }
}
@media (min-width: 861px) and (max-width: 1400px) {
  .menu-btn { display: inline-grid; place-items: center; min-width: 54px; height: 38px; padding: 0 8px; background: none; border: 1px solid currentColor; color: inherit; font-family: var(--en); font-size: 11px; letter-spacing: .1em; cursor: pointer; }
  .mobile-menu { position: fixed; z-index: 49; inset: 0; background: #fff; padding: 110px 24px 40px; overflow-y: auto; }
  .mobile-menu.open { display: block; }
  .mobile-menu a { display: block; padding: 16px 2px; border-bottom: 1px solid var(--line); font-size: 16px; text-decoration: none; color: var(--ink); }
  .mobile-menu .motion-toggle { margin-top: 24px; color: var(--ink); }
}

/* ---------- v15：仕組み 01 の説明図は枠いっぱいに表示する（メーカー資料の画面は従来どおり余白つき） ---------- */
.screen figure.full { padding: 0; }
.screen figure.full img { width: 100%; height: 100%; max-height: none; object-fit: cover; }
/* スマホでも説明図の下端（動物・ラインの札）が切れないよう、枠の比率を図と同じ 16:11 にそろえる */
@media (max-width: 860px) { .screen { aspect-ratio: 16 / 11; } }

/* ============================================================
   v17 の追加
   ============================================================ */
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }

/* ヘッダー：LINE（落ち着いた緑）と Instagram */
.gh .btn--linecta { gap: 8px; background: var(--line-green); color: #fff; }
.gh .btn--linecta:hover { background: var(--line-green-dark); }
.gh.is-solid .btn--linecta { background: var(--line-green); color: #fff; }
.btn--linecta svg { width: 18px; height: 18px; flex: none; }
.ig-btn { display: inline-grid; place-items: center; width: 40px; height: 40px; border: 1px solid currentColor; border-radius: 50%; color: inherit; }
.ig-btn svg { width: 18px; height: 18px; }
.ig-btn:hover { background: rgba(127, 127, 127, .14); }
footer .motion-toggle { margin-top: 10px; color: #f3f2ef; }

/* 表紙：写真がゆっくり動き、1枚ずつ光が当たる。灯台の光が横切る */
.hero.is-ready .hero-panels img { animation: hero-drift 18s ease-in-out 1.4s infinite alternate; }
.hero.is-ready .hero-panels figure:nth-child(2) img { animation-name: hero-drift-2; }
.hero.is-ready .hero-panels figure:nth-child(3) img { animation-name: hero-drift-3; }
@keyframes hero-drift { to { scale: 1.1; translate: 2% -2%; } }
@keyframes hero-drift-2 { to { scale: 1.12; translate: -2% 1%; } }
@keyframes hero-drift-3 { to { scale: 1.1; translate: 0 -3%; } }
.hero-panels img { transition: transform 9s var(--ease), filter 1.2s var(--ease); }
.hero.is-cycling .hero-panels figure:not(.is-lit) img { filter: var(--grade) brightness(.5) saturate(.75); }
.hero-panels figcaption::after { content: ""; display: block; margin-top: 8px; width: 48px; height: 2px; background: var(--beam); transform: scaleX(0); transform-origin: left; transition: transform .9s var(--ease); }
.hero.is-cycling .hero-panels figure.is-lit figcaption::after { transform: scaleX(1); }
.hero-beam { position: absolute; inset: 0; z-index: 2; pointer-events: none; mix-blend-mode: screen;
  background: linear-gradient(105deg, transparent 38%, rgba(255, 230, 168, .2) 50%, transparent 62%); background-size: 260% 100%; background-position: 160% 0;
  animation: hero-beam 10s ease-in-out 2s infinite; }
@keyframes hero-beam { 0% { background-position: 160% 0; } 45%, 100% { background-position: -60% 0; } }
html.reduce-motion .hero-panels img, html.reduce-motion .hero-beam { animation: none !important; }
html.reduce-motion .hero-beam { display: none; }

/* 選ぶ理由：想いの一文と、経験年数を大きく */
.pledge { margin-top: 30px; padding-left: 22px; border-left: 3px solid var(--ink); font-size: clamp(18px, 1.6vw, 22px); font-weight: 500; line-height: 1.9; }
.bignum--xl { margin-top: 48px; align-items: flex-end; }
.bignum--xl b { position: relative; font-size: clamp(96px, 11vw, 168px); font-weight: 400; }
.bignum--xl b::after { content: ""; position: absolute; left: 0; right: 0; bottom: -10px; height: 6px; background: var(--beam); }
.bignum--xl span { font-size: 22px; font-weight: 700; padding-bottom: 12px; }
.bignum--xl .pre { font-size: clamp(24px, 2.4vw, 34px); }  /* 「約」は数字より小さく */

/* 電気・通信：全員の写真は横長で */
.support .ph.wide { aspect-ratio: 3 / 2; }
.support .ph.wide img { object-position: 50% 85%; }

/* 最後の区画：文字は左、動画は右（動画の字幕は中央より右にあるため重ねない）。動画は元の上下の黒帯を切り落とした 16:9 */
.final { text-align: left; }
.final-grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(40px, 5vw, 80px); align-items: center; }
.final .lbl { justify-items: start; }
.final .lead { margin-left: 0; }
.final .acts { justify-content: flex-start; }
.final-movie { position: relative; margin: 0; aspect-ratio: 16 / 9; overflow: hidden; background: #000; }
.final-video { display: block; width: 100%; height: 100%; object-fit: cover; }
.final-video-toggle { position: absolute; left: 12px; bottom: 12px; padding: 6px 12px; border: 1px solid rgba(255, 255, 255, .6); background: rgba(10, 10, 10, .55); color: #fff; font-size: 12px; letter-spacing: .06em; cursor: pointer; }

@media (max-width: 860px) {
  .ig-btn { width: 36px; height: 36px; }
  .final-grid { grid-template-columns: 1fr; }
  .final-movie { order: -1; }
}
@media (max-width: 480px) {
  .gh .ig-btn, .btn--linecta .long { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  .hero-panels img, .hero-beam { animation: none !important; }
  .hero-beam { display: none; }
}

/* ============================================================
   v19 の追加：ページ末尾の注記
   ============================================================ */
.notes { padding: clamp(56px, 6vw, 88px) 0; background: var(--mist); border-top: 1px solid var(--line); }
.notes-ttl { margin: 0; font-size: 15px; font-weight: 700; letter-spacing: .12em; }
.notes-grid { margin-top: 24px; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px 56px; }
.notes h3 { margin: 0 0 8px; font-size: 13px; font-weight: 700; color: var(--ink-65); }
.notes ul { margin: 0; padding-left: 1.2em; font-size: 12.5px; line-height: 1.85; color: var(--ink-50); }
.notes li + li { margin-top: 4px; }
.note-ref { margin-top: 16px; font-size: 12px; }
.note-ref a { color: var(--on-night-2); }
@media (max-width: 860px) {
  .notes-grid { grid-template-columns: 1fr; }
}

/* ============================================================
   v20 の追加：問い合わせは LINE と電話だけ。ヘッダーは LINE → 電話 → Instagram
   ============================================================ */
.btn--linecta { gap: 10px; background: var(--line-green); color: #fff; }
.btn--linecta:hover { background: var(--line-green-dark); }
.btn--tel { gap: 10px; }
.btn--linecta svg, .btn--tel svg { width: 20px; height: 20px; flex: none; }
.tel-txt { display: grid; line-height: 1.2; text-align: left; }
.tel-txt b { font-family: var(--en); font-weight: 500; letter-spacing: .06em; }
.tel-txt small { font-size: 11px; letter-spacing: .08em; opacity: .85; }
/* ヘッダーの電話：枠だけのボタン（LINE より控えめに） */
.gh .btn--tel { padding: 0 16px; border: 1px solid currentColor; color: inherit; background: none; }
.gh .btn--tel:hover { background: rgba(127, 127, 127, .14); }
.gh .gh-right { gap: 14px; }
.gh .brand { flex: none; }   /* ロゴが縮まないように */
/* 表紙・最後の区画：2つ並べる */
.cta-pair { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; }
.cta-pair .btn { min-width: 250px; }
.final .cta-pair { justify-content: flex-start; }
@media (max-width: 1500px) {
  .gh nav { gap: 18px; }
  .gh .gh-right .text { display: none; }   /* 「個人の方へ」はメニュー・最後の区画にもある */
}
@media (max-width: 860px) {
  .gh .btn--tel { width: 38px; padding: 0; }
  .gh .btn--tel .tel-txt { display: none; }
  .cta-pair { flex-direction: column; align-items: stretch; width: 100%; }
  .cta-pair .btn { min-width: 0; width: 100%; }
}

/* ============================================================
   v23 の追加：Instagram はこげ茶の角丸アイコン（ヘッダーが白でも透明でも同じ色）
   ============================================================ */
:root { --ig-brown: #4a2e1e; }
.gh .ig-btn { width: 40px; height: 40px; border: 0; border-radius: 0; color: var(--ig-brown); background: none; }
.gh .ig-btn svg { width: 40px; height: 40px; }
.gh .ig-btn:hover { background: none; opacity: .85; }
@media (max-width: 860px) {
  .gh .ig-btn, .gh .ig-btn svg { width: 36px; height: 36px; }
}

/* ============================================================
   v24 の追加：スマホで軽く動かす（見た目は v23 と同じ）
   ============================================================ */
/* 灯台の光：背景位置ではなく transform で動かす（毎フレームの描き直しを避ける）。
   v23 の background-size 260%・background-position 160%→-60% と同じ動き */
.hero-beam { overflow: hidden; background: none; animation: none; }
.hero-beam::before { content: ""; position: absolute; top: 0; bottom: 0; left: 0; width: 260%;
  background: linear-gradient(105deg, transparent 38%, rgba(255, 230, 168, .2) 50%, transparent 62%);
  transform: translateX(-98.46%); will-change: transform; animation: hero-beam-move 10s ease-in-out 2s infinite; }
@keyframes hero-beam-move { 0% { transform: translateX(-98.46%); } 45%, 100% { transform: translateX(36.92%); } }
html.reduce-motion .hero-beam::before { animation: none; }
@media (prefers-reduced-motion: reduce) { .hero-beam::before { animation: none; } }
/* スマホの表紙は色味を焼き込んだ画像（images/m/hero-*.webp）なので、filter を掛けない */
@media (max-width: 860px) {
  .hero-panels img { filter: none; }
}

/* ============================================================
   v27 の追加：表紙の小さな一文を h1 の中に入れた（検索対策）。見た目と出る順番は v26 と同じ
   ============================================================ */
.hero h1.hero-h1 { margin-top: 0; font-size: inherit; font-weight: inherit; line-height: inherit; letter-spacing: inherit; }
.hero-h1 > .eyebrow { display: block; }
.hero-h1 > .hero-catch { display: block; margin-top: 18px; font-size: clamp(32px, 4.4vw, 62px); font-weight: 500; line-height: 1.42; letter-spacing: .06em; }
/* 出る順番：一文（.4s）→ 大きな見出し（.55s）→ 説明（.75s）→ ボタン（.95s） */
.js .hero-copy .hero-catch { display: block; opacity: 0; transform: translateY(18px); transition: opacity 1.1s var(--ease), transform 1.1s var(--ease); }
.js .hero.is-ready .hero-copy .hero-catch { opacity: 1; transform: none; transition-delay: .15s; }
.js .hero.is-ready .hero-copy > .wrap > .hero-h1 { transition-delay: .4s; }
.js .hero.is-ready .hero-copy > .wrap > .one { transition-delay: .75s; }
.js .hero.is-ready .hero-copy > .wrap > .acts { transition-delay: .95s; }
html.reduce-motion .hero-copy .hero-catch { opacity: 1 !important; transform: none !important; transition: none !important; }
@media (prefers-reduced-motion: reduce) { .js .hero-copy .hero-catch { opacity: 1; transform: none; transition: none; } }

/* ============================================================
   v28 の追加：サービス概要の下に、対応エリア（京都事務所から100km圏）の地図
   ============================================================ */
.area { max-width: 960px; margin: 48px auto 0; }
.area-map { display: block; width: 100%; height: auto; border: 1px solid var(--line); background: #e9edf0; }
.area figcaption { margin-top: 12px; font-size: 13px; line-height: 1.8; color: #6b6865; }

/* ============================================================
   v29 の追加：表紙のキャッチの下に「御社に合う形を、一緒に選びます」
   ============================================================ */
.hero .choose { margin: 26px auto 0; font-size: clamp(16px, 1.45vw, 21px); font-weight: 700; letter-spacing: .04em; line-height: 1.7; }
.hero .choose + .one { margin-top: 10px; }
.js .hero.is-ready .hero-copy > .wrap > .choose { transition-delay: .6s; }
@media (max-width: 860px) { .hero .choose { margin-left: 0; margin-top: 18px; } }
/* 背の低い画面：文字が増えた分、見出しがヘッダーに、ボタンが写真の飾り文字（INSTALL など）にかからないよう詰める */
@media (min-width: 861px) and (max-height: 760px) {
  .hero-panels figcaption { display: none; }
  .hero-h1 > .hero-catch { font-size: clamp(32px, 3.8vw, 52px); }
}
@media (max-width: 860px) and (max-height: 740px) {
  .hero-h1 > .hero-catch { margin-top: 10px; font-size: 28px; }
  .hero .choose { margin-top: 12px; font-size: 15px; line-height: 1.6; }
  .hero .choose + .one { margin-top: 6px; font-size: 13px; line-height: 1.7; }
  .hero .acts { margin-top: 18px; }
  .hero-movie { margin-top: 8px; }
}

/* ============================================================
   v30 の追加：区画をまとめてページを短くする
   ============================================================ */
/* 問題提起の下に続く「考え方」 */
.concept { margin-top: 88px; padding-top: 72px; border-top: 1px solid var(--line); }
/* 仕組みの下の「できること」4つ（写真なしの短い一覧） */
.points4 { list-style: none; margin: 72px 0 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--ink); }
.points4 li { padding: 26px 24px 28px 0; }
.points4 li + li { padding-left: 24px; border-left: 1px solid var(--line); }
.points4 h3 { font-size: 18px; font-weight: 500; }
.points4 p { margin-top: 8px; color: var(--ink-65); font-size: 15px; }
.points4 small { display: block; margin-top: 8px; font-size: 12px; line-height: 1.7; color: var(--ink-50); }
/* 開いて読む（料金表・条件） */
.more { margin-top: 24px; border-top: 1px solid var(--ink); border-bottom: 1px solid var(--line); }
.more > summary { font-size: 16px; }
.more[open] > summary { border-bottom: 1px solid var(--line); }
.more .ptable-wrap, .more .incl { margin: 24px 0 28px; }
.more .note { margin-bottom: 28px; }
.swipe-hint { display: none; }
/* 私たちについて：小見出しで区切る */
.about-part { margin-top: 96px; }
.sub-ttl { font-size: clamp(22px, 2.2vw, 30px); font-weight: 500; letter-spacing: .04em; line-height: 1.5; }
.about-part .after2 { margin-top: 36px; }
.about-part .people { margin-top: 32px; }
.about-2col { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; padding-top: 72px; border-top: 1px solid var(--line); }
.about-2col .textlink { display: inline-block; margin-top: 22px; }
.about-2col p.body { margin-top: 18px; color: var(--ink-65); }
/* これからの備え：機器の丸を小さく */
.devices--compact { margin-top: 48px; }
.devices--compact .im { width: min(104px, 100%); }
/* 注記：見出しは見せて、中身は開いて読む */
.notes-more > summary { font-size: 14px; font-weight: 400; color: var(--ink-65); }
@media (max-width: 860px) {
  .concept { margin-top: 56px; padding-top: 48px; }
  .points4 { grid-template-columns: 1fr; margin-top: 48px; }
  .points4 li, .points4 li + li { padding: 20px 0; border-left: 0; border-bottom: 1px solid var(--line); }
  /* 機種は横に流す（縦に4つ並べると画面2枚分以上になるため） */
  .swipe-hint { display: block; margin-top: 18px; font-size: 13px; color: var(--ink-65); }
  .lineup { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; gap: 12px; margin-right: calc(var(--gutter) * -1); padding-right: var(--gutter); scrollbar-width: none; }
  .lineup::-webkit-scrollbar { display: none; }
  .lineup > li { flex: 0 0 78%; scroll-snap-align: start; }
  .about-part { margin-top: 64px; }
  .about-2col { grid-template-columns: 1fr; gap: 48px; padding-top: 48px; }
  /* 担当者は写真を小さく、文と横並びに */
  .people li { display: grid; grid-template-columns: 96px 1fr; column-gap: 16px; align-items: start; }
  .people li .ph { grid-row: 1 / span 3; aspect-ratio: 4 / 5; }
  .people li .role { margin-top: 0; }
  .devices--compact { grid-template-columns: repeat(3, 1fr); gap: 20px 10px; }
  .devices--compact .im { width: 72px; }
  .devices--compact li > span { display: none; }  /* 丸の中の「AI」は残す */
}
