/* SIPPOP 紹介サイト 共通スタイル(v3: 明るく軽く。10/19 村上さん「重苦しい」→ 白地・余白・色のアクセント・ポップの模型が主役)。依存なし。配色は anyware.moe と同じ(ネイビー／ティール／クリーム)＋差し色の橙。
   図の色の約束(回線=青, LAN=緑, ミラー=橙)は docs/demo/hardware_anim.html と同じ */
:root {
  --navy: #0c2135; --navy-2: #102a44; --teal: #0a7c82; --teal-lt: #12a8b0; --teal-glow: #2ad4d9;
  --cream: #faf8f4; --muted: #5a6a7a; --ink: #1a202c; --line: #e2e8f0; --white: #fff;
  --blue: #2B6CB0; --green: #2F855A; --orange: #DD6B20; --red: #C53030;
  --sky: #e8f6f7; --peach: #fff1e6; --mint: #e9f7ef; --purple: #6B46C1; --lav: #f1ecfb; --rose: #B83280; --blush: #fbeaf3;
  --maxw: 1120px; --r: 16px;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; font-family: "Noto Sans JP", "Hiragino Sans", "Yu Gothic UI", Meiryo, sans-serif; color: var(--ink); background: var(--white); line-height: 1.8; font-size: 16px; -webkit-font-smoothing: antialiased; }
a { color: var(--teal); }
img, video { max-width: 100%; height: auto; display: block; }
.wrap { max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }
.eyebrow { display: flex; align-items: center; gap: 10px; color: var(--teal-lt); font-size: 13px; font-weight: 700; letter-spacing: .18em; text-transform: uppercase; margin-bottom: 14px; }
.eyebrow::before { content: ""; width: 28px; height: 2px; background: currentColor; }
h1 { font-size: clamp(34px, 5.4vw, 60px); line-height: 1.18; margin: 0 0 20px; font-weight: 900; letter-spacing: -.01em; }
h2 { font-size: clamp(26px, 3.6vw, 40px); margin: 0 0 18px; color: var(--navy); line-height: 1.3; font-weight: 900; letter-spacing: -.01em; }
h3 { font-size: 19px; margin: 0 0 8px; font-weight: 700; }
p { margin: 0 0 14px; }
.lead { font-size: 18px; color: var(--muted); max-width: 720px; }
.note { font-size: 14px; color: var(--muted); }
.btn { display: inline-block; background: var(--teal); color: #fff; text-decoration: none; padding: 15px 28px; border-radius: 10px; font-weight: 700; font-size: 17px; transition: transform .15s, background .15s; }
.btn:hover { background: var(--teal-lt); transform: translateY(-1px); }
.btn.ghost { background: transparent; color: var(--teal); border: 2px solid var(--teal); }
.btn.light { background: #fff; color: var(--navy); }
.btn.light:hover { background: #e9fbfc; }
.btn.outline-light { background: transparent; color: #fff; border: 2px solid rgba(255,255,255,.55); }
.btn.outline-light:hover { border-color: #fff; background: rgba(255,255,255,.08); }

/* ヘッダ */
.hdr { position: sticky; top: 0; z-index: 10; background: rgba(255,255,255,.86); backdrop-filter: blur(10px); border-bottom: 1px solid var(--line); }
.hdr .wrap { display: flex; align-items: center; justify-content: space-between; height: 64px; }
.brand { font-weight: 900; font-size: 24px; letter-spacing: .08em; color: var(--navy); text-decoration: none; display: flex; align-items: baseline; }
.brand small { font-weight: 500; font-size: 12px; color: var(--teal); margin-left: 10px; letter-spacing: .04em; }
.nav { display: flex; gap: 22px; align-items: center; }
.nav a { color: var(--navy); text-decoration: none; font-size: 15px; }
.nav a:hover { color: var(--teal); }
.nav a.admin { border: 1px solid var(--line); border-radius: 8px; padding: 7px 14px; font-size: 14px; color: var(--muted); }
.nav a.cta { background: var(--teal); color: #fff; border-radius: 999px; padding: 8px 16px; font-weight: 700; font-size: 14px; }
.nav a.cta:hover { background: var(--teal-lt); color: #fff; }
@media (max-width: 720px) { .nav a:not(.admin):not(.cta) { display: none; } .nav { gap: 8px; } .nav a.admin { white-space: nowrap; padding: 6px 8px; font-size: 12px; } .brand small { display: none; } .nav a.cta { white-space: nowrap; padding: 8px 12px; font-size: 13px; } }
@media (max-width: 420px) { .hdr .brand { font-size: 20px; } }
@media (max-width: 360px) { .hdr .brand { font-size: 16px; letter-spacing: .04em; } .nav { gap: 6px; } .nav a.admin { padding: 5px 6px; font-size: 11px; } .nav a.cta { padding: 6px 8px; font-size: 11px; } }

/* 区画 */
.sec { padding: 72px 0; }
.sec-cream { background: var(--cream); }
.sec-navy { background: var(--navy); color: #fff; }
.sec-navy h2 { color: #fff; }
.sec-navy .lead { color: #cfe3e6; }
.sec-navy a { color: #9fe3e6; }
@media (max-width: 720px) { .sec { padding: 60px 0; } }

/* ヒーロー(明るい) */
.hero { background: radial-gradient(900px 520px at 88% 0%, rgba(18,168,176,.20), transparent 60%), radial-gradient(700px 420px at 0% 100%, rgba(221,107,32,.14), transparent 60%), linear-gradient(180deg, #f4fbfb 0%, #fff 100%); color: var(--ink); padding: 64px 0 56px; overflow: hidden; position: relative; }
.hero .wrap { position: relative; z-index: 1; display: grid; grid-template-columns: 1fr 1fr; gap: 44px; align-items: center; }
@media (max-width: 900px) { .hero .wrap { grid-template-columns: 1fr; } }
.hero .eyebrow { color: var(--teal); }
.hero h1 { font-size: clamp(36px, 4.6vw, 56px); letter-spacing: -.02em; color: var(--navy); }
.hero h1 em { font-style: normal; color: var(--teal); }
.hero .lead { color: var(--muted); font-size: 19px; }
.hero .cta { display: flex; gap: 12px; flex-wrap: wrap; margin: 24px 0 10px; align-items: center; }
.target { padding: 12px 16px; border-left: 4px solid var(--orange); background: var(--peach); font-size: 14px; border-radius: 0 10px 10px 0; color: var(--ink); margin-top: 22px; }
.target strong { color: var(--orange); }

/* 売り 3 つの札(ヒーロー) */
.pills { display: grid; gap: 10px; margin: 22px 0 0; padding: 0; list-style: none; }
.pills li { display: flex; align-items: center; gap: 12px; background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 12px 16px; font-weight: 700; font-size: 16px; color: var(--navy); box-shadow: 0 6px 20px rgba(12,33,53,.06); }
.pills li i { flex: none; width: 34px; height: 34px; border-radius: 10px; display: grid; place-items: center; font-style: normal; font-weight: 900; font-size: 14px; color: #fff; }
.pills li:nth-child(1) i { background: var(--teal); }
.pills li:nth-child(2) i { background: var(--orange); }
.pills li:nth-child(3) i { background: var(--blue); }

/* ポップの模型(ヒーロー右) */
.mock { position: relative; aspect-ratio: 4/3; border-radius: 18px; background: linear-gradient(180deg, #e9f0f6, #d9e4ee); box-shadow: 0 30px 70px rgba(12,33,53,.18), inset 0 0 0 1px rgba(255,255,255,.7); overflow: hidden; }
.mock::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 26px; background: #fff; border-bottom: 1px solid var(--line); }
.mock::after { content: ""; position: absolute; left: 12px; top: 8px; width: 10px; height: 10px; border-radius: 50%; background: #f6b26b; box-shadow: 16px 0 0 #7fd3a6, 32px 0 0 #8ec5f0; }
.mock .bar { position: absolute; left: 0; right: 0; bottom: 0; height: 40px; background: rgba(255,255,255,.9); display: flex; align-items: center; justify-content: center; gap: 10px; }
.mock .bar i { width: 18px; height: 18px; border-radius: 4px; background: #cbd5e0; display: block; }
.mock .bar i.on { background: var(--teal); box-shadow: 0 0 0 3px rgba(10,124,130,.25); }
.pop { position: absolute; right: 22px; width: 300px; max-width: calc(100% - 44px); background: #fff; color: var(--ink); border-radius: 10px; box-shadow: 0 16px 40px rgba(12,33,53,.22); padding: 12px 14px 12px; font-size: 13px; line-height: 1.5; }
.pop.p1 { bottom: 56px; z-index: 2; }
/* 奥のポップ(1 つ前の着信)。メモ欄は出さず短くして、手前のポップの上に覗かせる */
.pop.p2 { bottom: 56px; right: 44px; transform: translateY(-132px) scale(.94); opacity: .9; background: #fff5f5; border: 2px solid var(--red); z-index: 1; }
.pop.p2 .memo { display: none; }
@media (max-width: 720px) { .pop.p2 { display: none; } }
/* 電話機が鳴ると同時にポップが出る(11/12 村上さん)。8 秒で一巡: 鳴る → 手前のポップ → もう 1 本鳴る → 奥のポップ → 消える */
.mock .phone { position: absolute; left: 18px; bottom: 8px; width: 112px; height: auto; z-index: 1; overflow: visible; }   /* 手前のポップ(z 2)の下。弧はポップの後ろへ入る */
.mock .phone .handset { transform-box: fill-box; transform-origin: 50% 100%; animation: phone-ring 8s linear infinite; }
/* 呼び出し音の波は、受話器の右上からポップのほうへ飛んでいく(11/12 村上さん)。鳴っている間だけ見せる */
.mock .phone .waves { opacity: 0; animation: phone-wave 8s linear infinite; }
/* 弧は動かさず、内側から外側へ順に光らせて右上へ広がるように見せる(動かすと弧どうしが重なった。11/12) */
.mock .phone .waves path { opacity: .15; animation: wave-pulse .9s ease-out infinite; }
.mock .phone .waves .a2 { animation-delay: .18s; }
.mock .phone .waves .a3 { animation-delay: .36s; }
@keyframes wave-pulse { 0% { opacity: .15; } 22% { opacity: 1; } 60%, 100% { opacity: .15; } }
.pop.p1 { animation: pop-in-1 8s cubic-bezier(.2,.8,.3,1.2) infinite; }
.pop.p2 { animation: pop-in-2 8s cubic-bezier(.2,.8,.3,1.2) infinite; }
@keyframes phone-ring {
  0%, 5% { transform: rotate(0); }
  6%, 10%, 14%, 18%, 30%, 34%, 38%, 42% { transform: translateY(-3px) rotate(-9deg); }
  8%, 12%, 16%, 20%, 32%, 36%, 40%, 44% { transform: translateY(-3px) rotate(9deg); }
  22%, 28%, 46%, 100% { transform: rotate(0); }
}
@keyframes phone-wave {
  0%, 5% { opacity: 0; } 7%, 19% { opacity: 1; } 22%, 29% { opacity: 0; } 31%, 43% { opacity: 1; } 46%, 100% { opacity: 0; }
}
@keyframes pop-in-1 {
  0%, 7% { opacity: 0; transform: translateY(18px) scale(.92); }
  12% { opacity: 1; transform: translateY(0) scale(1); }
  86% { opacity: 1; transform: translateY(0) scale(1); }
  94%, 100% { opacity: 0; transform: translateY(8px) scale(.98); }
}
@keyframes pop-in-2 {
  0%, 31% { opacity: 0; transform: translateY(-112px) scale(.88); }
  36% { opacity: .9; transform: translateY(-132px) scale(.94); }
  86% { opacity: .9; transform: translateY(-132px) scale(.94); }
  94%, 100% { opacity: 0; transform: translateY(-126px) scale(.92); }
}
@media (max-width: 720px) { .mock .phone { width: 58px; left: 10px; bottom: 4px; } }
@media (prefers-reduced-motion: reduce) {
  .pop.p1, .pop.p2, .mock .phone .handset, .mock .phone .waves, .mock .phone .waves path { animation: none; }
}
.pop .top { display: flex; align-items: center; gap: 8px; margin-bottom: 6px; }
.pop .badge { background: var(--orange); color: #fff; font-weight: 700; font-size: 11px; padding: 2px 8px; border-radius: 4px; position: relative; }
.pop .badge::after { content: ""; position: absolute; inset: -4px; border-radius: 6px; border: 2px solid rgba(221,107,32,.6); animation: ring 1.6s ease-out infinite; }
@keyframes ring { 0% { transform: scale(1); opacity: .9; } 100% { transform: scale(1.6); opacity: 0; } }
.pop .time { color: var(--muted); font-size: 11px; }
.pop .num { font-size: 24px; font-weight: 800; letter-spacing: .01em; color: var(--ink); line-height: 1.2; }
.pop .name { color: var(--blue); font-weight: 700; margin-top: 2px; }
.pop .prev { color: var(--muted); font-size: 11px; }
.pop .btns { position: absolute; right: 10px; top: 36px; display: grid; gap: 6px; }
.pop .btns span { border: 1px solid #cbd5e0; border-radius: 4px; font-size: 10px; padding: 1px 8px; background: #fff; color: var(--ink); }
.pop .memo { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-top: 8px; }
.pop .memo div { border: 1px solid #cbd5e0; border-radius: 4px; min-height: 48px; padding: 4px 6px; font-size: 10px; color: var(--muted); background: #fffefa; }
.pop .memo div b { display: block; color: var(--muted); font-weight: 500; font-size: 10px; margin-bottom: 2px; }
.pop .memo div span { color: var(--ink); }

/* 数字の帯 */
.stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-top: 36px; }
@media (max-width: 720px) { .stats { grid-template-columns: 1fr 1fr 1fr; gap: 10px; } .stats .stat { padding: 12px 8px; } .stats .stat b { font-size: 20px; letter-spacing: -.02em; } .stats .stat span { font-size: 12px; } }
.stat { background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.12); border-radius: 12px; padding: 14px 16px; }
.stat b { display: block; font-size: 28px; font-weight: 900; color: var(--teal-glow); line-height: 1.1; }
.stat span { font-size: 13px; color: #cfe3e6; }

/* 動画 */
.video { background: #000; border-radius: var(--r); overflow: hidden; box-shadow: 0 20px 50px rgba(12,33,53,.16); aspect-ratio: 16/9; }
.video video { width: 100%; height: 100%; }
.chapters { list-style: none; padding: 0; margin: 14px 0 0; display: flex; flex-wrap: wrap; gap: 8px; }
.chapters li a { display: inline-block; font-size: 13px; background: #fff; border: 1px solid var(--line); border-radius: 999px; padding: 5px 14px; text-decoration: none; color: var(--navy); }
.chapters li a:hover { border-color: var(--teal); color: var(--teal); }

/* カード */
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.cards.two { grid-template-columns: repeat(2, 1fr); }
@media (max-width: 820px) { .cards, .cards.two { grid-template-columns: 1fr; } }
.card { background: #fff; border: 1px solid var(--line); border-radius: var(--r); padding: 26px 24px 20px; box-shadow: 0 2px 0 rgba(12,33,53,.03); position: relative; overflow: hidden; }
.card.c1::before, .card.c2::before, .card.c3::before { content: ""; position: absolute; left: 0; top: 0; right: 0; height: 5px; }
.card.c1::before { background: var(--teal); } .card.c2::before { background: var(--orange); } .card.c3::before { background: var(--blue); }
.card.c1 .ic { background: var(--sky); color: var(--teal); } .card.c2 .ic { background: var(--peach); color: var(--orange); } .card.c3 .ic { background: #e8f1fb; color: var(--blue); }
.sec-navy .card { background: rgba(255,255,255,.06); border-color: rgba(255,255,255,.14); }
.card .k { display: inline-block; font-size: 12px; font-weight: 700; letter-spacing: .14em; color: var(--teal); margin-bottom: 10px; }
.sec-navy .card .k { color: #9fe3e6; }
.card .ic { width: 44px; height: 44px; border-radius: 12px; background: #e6f6f7; color: var(--teal); display: grid; place-items: center; margin-bottom: 14px; }
.card .ic svg { width: 24px; height: 24px; }

/* 使い方の例（10/29）。前の区画と同じ白地なので、上に線を引いて分ける */
.sec-split { border-top: 1px solid var(--line); }
.card.c4::before { content: ""; position: absolute; left: 0; top: 0; right: 0; height: 5px; background: var(--green); }
.card.use .hd { display: flex; align-items: center; gap: 12px; }
.card.use .hd .ic { flex: 0 0 44px; margin: 0; }
.card.use h3 { font-size: 19px; margin: 0; color: var(--navy); line-height: 1.4; }
/* 業種の挿絵（10/30。村上さんが ChatGPT で作った 6 枚。1200×400、地色は絵に入っている）。カードの頭いっぱいに、上端の色の線の下から敷く */
.use-art { margin: -21px -24px 16px; aspect-ratio: 3 / 1; overflow: hidden; background: var(--cream); border-bottom: 1px solid var(--line); }
.use-art img { display: block; width: 100%; height: 100%; object-fit: cover; }
.card.c4 .ic { background: var(--mint); color: var(--green); }
.card.c5::before { content: ""; position: absolute; left: 0; top: 0; right: 0; height: 5px; background: var(--purple); }
.card.c5 .ic { background: var(--lav); color: var(--purple); }
.card.c6::before { content: ""; position: absolute; left: 0; top: 0; right: 0; height: 5px; background: var(--rose); }
.card.c6 .ic { background: var(--blush); color: var(--rose); }
/* 使い方の例の並べ方（10/29 村上さん「おすすめの形で」）
   - 広い画面: 全部並べる。3 枚ずつで、端数の段は中央に寄せる（6 枚なら 3＋3、5 枚なら 3＋2）
   - 狭い画面（タブレット・スマホ）: 横に指でめくる帯。次のカードの端をのぞかせる。上の業種の名前でそのカードへ（index.html の JS）
     帯の中のカードはふわっと出さない（横に隠れたカードが透明のまま残らないように）。業種が 8〜10 に増えたら、選ぶタブに切り替えを検討 */
.uses { display: grid; grid-template-columns: repeat(6, 1fr); gap: 20px; margin-top: 28px; position: relative; }
.uses > .card { grid-column: span 2; }
.uses > .card:nth-child(3n+1):nth-last-child(2) { grid-column: 2 / span 2; }
.uses > .card:nth-child(3n+1):last-child { grid-column: 3 / span 2; }
.uses-nav { display: none; }
@media (max-width: 1000px) {
  .uses { display: flex; gap: 14px; overflow-x: auto; scroll-snap-type: x mandatory; overscroll-behavior-x: contain; margin: 14px -24px 0; padding: 4px 24px 22px; scroll-padding: 0 24px; scrollbar-width: none; }
  .uses::-webkit-scrollbar { display: none; }
  .uses:focus-visible { outline: 2px solid var(--teal); outline-offset: -2px; }
  .uses > .card { flex: 0 0 min(84%, 420px); scroll-snap-align: start; }
  .rv .uses .reveal { opacity: 1; transform: none; }
  .uses-nav:not([hidden]) { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 24px; }
  .uses-nav button { font: inherit; font-size: 13px; font-weight: 700; line-height: 1.2; padding: 7px 13px; border-radius: 999px; border: 1px solid var(--line); background: #fff; color: var(--navy); cursor: pointer; }
  .uses-nav button[aria-current="true"] { background: var(--navy); border-color: var(--navy); color: #fff; }
  .uses-nav button:focus-visible { outline: 2px solid var(--teal); outline-offset: 2px; }
}
@media print { .uses { display: block; overflow: visible; margin: 0; padding: 0; } .uses > .card { margin-top: 16px; } .uses-nav { display: none !important; } }
/* 使い方の例の小さなポップ（本物のポップの右側に寄せた絵。画像ではなく HTML。動画 0:12 の場面が見本） */
.mini { position: relative; background: #fbfaf4; border: 2px solid #2d3748; border-radius: 6px; padding: 9px 12px 11px; margin: 18px 0 6px; font-size: 12px; line-height: 1.5; color: var(--ink); box-shadow: 0 10px 24px rgba(12,33,53,.10); }
.mini.blue { background: #ebf3fc; border-color: var(--blue); }
.mini .top { display: flex; align-items: center; gap: 8px; }
.mini .badge { background: var(--orange); color: #fff; font-weight: 700; font-size: 11px; padding: 1px 8px; border-radius: 3px; }
.mini .time { color: var(--muted); font-size: 11px; }
.mini .x { margin-left: auto; color: var(--muted); font-size: 14px; line-height: 1; }
.mini .nm, .mini .tel, .mini .prev { padding-right: 58px; }
.mini .nm { font-size: 20px; font-weight: 800; color: #1e4e79; line-height: 1.3; margin-top: 4px; }
.mini .tel { font-size: 15px; margin-top: 2px; }
.mini .prev { font-size: 11px; color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.mini .bt { position: absolute; right: 10px; top: 36px; display: grid; gap: 5px; }
.mini .bt span { border: 1px solid #cbd5e0; border-radius: 4px; font-size: 10px; padding: 1px 6px; background: #fff; text-align: center; }
.mini .memo { margin-top: 8px; border: 1px solid #cbd5e0; border-radius: 3px; background: #fffef8; padding: 4px 8px 6px; min-height: 44px; }
.mini .memo b { display: block; font-weight: 500; font-size: 10px; color: var(--muted); }
@media (max-width: 420px) { .mini .nm { font-size: 17px; } .mini .tel { font-size: 14px; } }
.card.use dl { margin: 0; }
.card.use dt { font-size: 12px; font-weight: 700; letter-spacing: .08em; color: var(--teal); margin-top: 14px; }
.card.use dd { margin: 3px 0 0; font-size: 15px; color: var(--muted); line-height: 1.7; }
.card.use dt:nth-of-type(3) { color: var(--orange); }
.card.use dd:nth-of-type(3) { color: var(--ink); }

/* できること の補足(2 列) */
.more { list-style: none; padding: 0; margin: 22px 0 0; display: grid; grid-template-columns: 1fr 1fr; gap: 10px 28px; }
@media (max-width: 720px) { .more { grid-template-columns: 1fr; } }
.more li { position: relative; padding-left: 18px; font-size: 14px; color: var(--muted); line-height: 1.6; }
.more li::before { content: ""; position: absolute; left: 0; top: 9px; width: 8px; height: 8px; border-radius: 50%; background: var(--teal-lt); }
.more li b { color: var(--ink); margin-right: 6px; }

/* 仕組み */
.how { display: grid; grid-template-columns: 1.15fr .85fr; gap: 36px; align-items: center; }
@media (max-width: 900px) { .how { grid-template-columns: 1fr; } }
.how ol { list-style: none; padding: 0; margin: 0; counter-reset: h; }
.how li { position: relative; padding: 6px 0 14px 54px; counter-increment: h; }
.how li::before { content: counter(h); position: absolute; left: 0; top: 4px; width: 38px; height: 38px; border-radius: 50%; background: var(--navy); color: #fff; font-weight: 800; display: grid; place-items: center; }
.legend span { display: inline-block; width: 14px; height: 14px; border-radius: 3px; vertical-align: -2px; margin-right: 6px; }

/* 料金カード */
.plans { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; align-items: stretch; }
@media (max-width: 900px) { .plans { grid-template-columns: 1fr; } }
.plan { background: #fff; border: 1px solid var(--line); border-radius: var(--r); padding: 28px 26px; position: relative; display: flex; flex-direction: column; }
.plan.hi { border: 2px solid var(--teal); box-shadow: 0 20px 50px rgba(10,124,130,.15); }
.plan h3 .soon { margin-left: 8px; font-size: 12px; font-weight: 700; color: var(--muted); border: 1px solid var(--muted); border-radius: 4px; padding: 1px 6px; white-space: nowrap; vertical-align: 1px; }
.plan.off .price { color: var(--muted); }
.plan .tag { position: absolute; top: -13px; left: 24px; background: var(--teal); color: #fff; font-size: 12px; font-weight: 700; padding: 3px 12px; border-radius: 999px; }
.plan h3 { font-size: 18px; color: var(--muted); font-weight: 700; }
.plan .price { font-size: 38px; font-weight: 900; color: var(--navy); line-height: 1.1; margin: 6px 0 2px; letter-spacing: -.01em; }
.plan .price small { font-size: 15px; color: var(--muted); font-weight: 500; margin-left: 4px; }
.plan .unit { color: var(--muted); font-size: 13px; margin-bottom: 14px; }
.plan ul { padding-left: 0; list-style: none; margin: 0 0 12px; }
.plan li { padding: 6px 0 6px 26px; position: relative; border-top: 1px solid var(--line); font-size: 15px; }
.plan li::before { content: "✓"; position: absolute; left: 2px; color: var(--teal); font-weight: 800; }
.plan .foot { margin-top: auto; font-size: 13px; color: var(--muted); }

/* 流れ */
.steps { counter-reset: s; list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(5, 1fr); gap: 14px; }
@media (max-width: 900px) { .steps { grid-template-columns: 1fr; } }
.steps li { position: relative; padding: 54px 16px 16px; background: #fff; border: 1px solid var(--line); border-radius: 14px; font-size: 15px; }
.steps li::before { counter-increment: s; content: counter(s); position: absolute; left: 16px; top: 14px; width: 30px; height: 30px; border-radius: 50%; background: var(--sky); color: var(--teal); font-size: 15px; font-weight: 900; display: grid; place-items: center; }
.steps li b { display: block; margin-bottom: 4px; }
.steps li .st-ic { position: absolute; right: 12px; top: 8px; width: 46px; height: 46px; }
.card .ans-ic { display: block; width: 64px; height: 64px; margin-bottom: 8px; }

/* FAQ・表 */
details { background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 4px 20px; margin-bottom: 10px; }
summary { cursor: pointer; font-weight: 700; padding: 12px 0; list-style: none; position: relative; padding-right: 30px; }
summary::-webkit-details-marker { display: none; }
summary::after { content: "+"; position: absolute; right: 0; top: 8px; font-size: 22px; color: var(--teal); }
details[open] summary::after { content: "−"; }
details p { padding-bottom: 10px; }
table { width: 100%; border-collapse: collapse; background: #fff; font-size: 15px; }
th, td { border: 1px solid var(--line); padding: 10px 12px; text-align: left; vertical-align: top; }
th { background: var(--cream); font-weight: 700; }
.table-wrap { overflow-x: auto; }

/* 会社・フッタ */
.company { display: grid; grid-template-columns: 1fr 1fr; gap: 36px; align-items: start; }
@media (max-width: 820px) { .company { grid-template-columns: 1fr; } }
.ftr { background: #071624; color: #b9c6d2; font-size: 13px; padding: 36px 0; }
.ftr a { color: #9fe3e6; }
.ftr .row { display: flex; flex-wrap: wrap; gap: 24px; justify-content: space-between; align-items: flex-start; }
.ftr .brand { color: #fff; }
.ftr p { margin: 0 0 6px; }

/* 下層ページ */
.page { padding: 56px 0 80px; }
.page h1 { font-size: clamp(28px, 4vw, 40px); color: var(--navy); }
.crumb { font-size: 14px; color: var(--muted); margin-bottom: 18px; }
.crumb a { color: var(--muted); }
.page .hdr-space { height: 0; }

/* 出現（reveal.js。10/29 村上さん「スクロールするとふわっと」）。隠すのは JS が html に .rv を付けたときだけ */
.rv .reveal { opacity: 0; transform: translateY(16px); }
.rv .reveal.in { opacity: 1; transform: none; transition: opacity .6s ease, transform .6s ease; }
@media (prefers-reduced-motion: reduce) { .rv .reveal { opacity: 1; transform: none; transition: none; } }
@media print { .rv .reveal { opacity: 1 !important; transform: none !important; transition: none !important; } }

/* 使える環境（10/19: 動画③の代わり。ONU ─ SIPPOP ─ 主装置 ─ 電話機） */
.chain { display: flex; align-items: stretch; margin: 8px 0 32px; }
.chain .node { flex: 1 1 0; background: #fff; border: 2px solid var(--line); border-radius: 14px; padding: 18px 10px; text-align: center; font-weight: 800; font-size: 18px; color: var(--navy); }
.chain .node small { display: block; margin-top: 4px; font-size: 13px; font-weight: 500; color: var(--muted); }
.chain .node.hi { border-color: var(--teal); background: var(--sky); color: var(--teal); }
/* SIPPOP の枠と「まずは簡単チェック」のボタン: ファーストビューの「呼び出し中」と同じ間合いで、光の輪がふわっと広がって消える(11/9 村上さん) */
.chain .node.hi, .btn[href="/check/"], .cta[href="/check/"] { animation: soft-ring 1.6s ease-out infinite; }
.chain .node.hi { --ring: 20px; }
.btn[href="/check/"] { --ring: 16px; }
.cta[href="/check/"] { --ring: 10px; }
@keyframes soft-ring { 0% { box-shadow: 0 0 0 0 rgba(18,168,176,.6); } 100% { box-shadow: 0 0 6px var(--ring) rgba(18,168,176,0); } }
@media (prefers-reduced-motion: reduce) { .chain .node.hi, .btn[href="/check/"], .cta[href="/check/"] { animation: none; } }
/* 機器の小さな絵（10/30）。実物に似せず、中身も描かない。線は文字と同じ色 */
.dv { display: block; width: 48px; height: 36px; margin: 0 auto 6px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.dv .f { fill: currentColor; stroke: none; }
/* 「データは事務所の外に出ない」の図（10/30。トップの約束の区画の下に横幅いっぱい（.wide）と、FAQ の答えの中）。
   狭い画面と FAQ は縦に積み、中身は中央にそろえる。トップの .wide は広い画面で横向き（事務所の枠 → 細い点線の矢印 → Anyware） */
.dflow { margin: 16px 0 4px; font-size: 13px; line-height: 1.5; }
.df-in { position: relative; border: 2px dashed var(--teal); border-radius: 12px; padding: 20px 12px 12px; background: var(--sky); }
.df-tag { position: absolute; top: -12px; left: 12px; background: var(--teal); color: #fff; font-size: 11px; font-weight: 700; padding: 2px 10px; border-radius: 999px; }
.df-dev { display: flex; justify-content: center; gap: 28px; }
.df-dev span { display: flex; flex-direction: column; align-items: center; font-size: 12px; font-weight: 700; color: var(--navy); }
.df-dev .dv { color: var(--teal); margin-bottom: 2px; }
.df-keep { margin: 10px 0 0; text-align: center; font-weight: 700; color: var(--navy); }
.df-keep svg { width: 14px; height: 14px; vertical-align: -2px; margin-right: 4px; fill: none; stroke: var(--teal); stroke-width: 1.8; }
.df-out { display: flex; flex-direction: column-reverse; align-items: center; gap: 6px; padding: 8px 0 4px; }
.df-arrow { position: relative; flex: 0 0 28px; width: 2px; background: repeating-linear-gradient(to bottom, var(--muted) 0 4px, transparent 4px 8px); }
.df-arrow::after { content: ""; position: absolute; left: -4px; bottom: -2px; border: 5px solid transparent; border-top: 6px solid var(--muted); border-bottom: 0; }
.df-out p { margin: 0; font-size: 12px; color: var(--muted); text-align: center; }
.df-out b { color: var(--ink); }
.df-aw { display: block; width: fit-content; margin: 0 auto; border: 2px solid var(--line); border-radius: 10px; padding: 5px 12px; background: #fff; font-size: 13px; font-weight: 700; color: var(--navy); }
details .dflow { margin: 4px 0 14px; max-width: 420px; }
.dflow.wide { margin: 28px 0 0; background: #fff; border: 1px solid var(--line); border-radius: var(--r); padding: 30px 24px 24px; }
@media (min-width: 760px) {
  .dflow.wide { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(200px, 1fr) auto; align-items: center; padding: 34px 32px 28px; font-size: 14px; }
  .dflow.wide .df-out { align-items: stretch; gap: 8px; padding: 0 14px; }
  .dflow.wide .df-arrow { flex: 0 0 2px; width: auto; height: 2px; background: repeating-linear-gradient(to right, var(--muted) 0 4px, transparent 4px 8px); }
  .dflow.wide .df-arrow::after { left: auto; right: -2px; top: -4px; bottom: auto; border: 5px solid transparent; border-left: 6px solid var(--muted); border-right: 0; }
  .dflow.wide .df-aw { margin: 0; padding: 10px 16px; }
}
/* 「電話が、こう変わる」の画面（10/30。本物の画面を見本のデータで。親が動画から切り出し、media/ に置く）。3 枚とも同じ縦横比の枠に入れる。
   切り抜きは左に過去の着信、右にポップが並ぶので、カードの幅で字が読めるようにポップのある右側だけを見せる */
.feat-fig { aspect-ratio: 5 / 4; margin: 0 0 16px; border: 1px solid var(--line); border-radius: 10px; overflow: hidden; background: #eef2f7; box-shadow: 0 6px 16px rgba(12,33,53,.08); }
.feat-fig img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: right center; }
.feat-chain { display: flex; align-items: center; justify-content: center; gap: 6px; background: var(--sky); padding: 0 8px; box-shadow: none; }
.feat-chain span { display: flex; flex-direction: column; align-items: center; font-size: 11px; font-weight: 700; color: var(--navy); }
.feat-chain span.hi { color: var(--teal); }
.feat-chain .dv { width: 60px; height: 45px; }
.feat-chain i { flex: 0 1 28px; height: 2px; background: var(--blue); margin-bottom: 14px; }
.feat-wide { margin: 28px 0 0; }
.feat-wide a { display: block; border: 1px solid var(--line); border-radius: 12px; overflow: hidden; box-shadow: 0 6px 16px rgba(12,33,53,.08); }
.feat-wide img { display: block; width: 100%; height: auto; }
.feat-wide figcaption { margin-top: 10px; font-size: 13px; color: var(--muted); }
.chain .link { flex: 0 0 36px; height: 3px; background: var(--blue); align-self: center; }
@media (max-width: 640px) {
  .chain { flex-direction: column; align-items: stretch; }
  .chain .link { flex: 0 0 22px; width: 3px; height: 22px; align-self: center; }
}
.env { display: grid; grid-template-columns: 1fr 1fr; gap: 36px; }
@media (max-width: 900px) { .env { grid-template-columns: 1fr; gap: 12px; } }
.env h3 { font-size: 18px; margin: 0 0 8px; }
.env p { margin: 0 0 10px; }

/* ヒーロー: 簡単チェックで実際のポップアップが見られる（10/19 村上さん「目立つように」） */
.try { margin: 16px 0 0; padding: 10px 16px; background: var(--sky); border-left: 4px solid var(--teal); border-radius: 0 10px 10px 0; color: var(--teal); font-weight: 700; font-size: 16px; }

/* 簡単チェックの区画: 営業はしない（/check/ の .relief と同じ見た目。10/19 村上さん「ガッツリ気軽に使ってほしい」） */
.relief { display: flex; gap: 12px; align-items: flex-start; background: #e7f3ee; border: 2px solid #7fc0a3; border-radius: 10px; padding: 14px 16px; margin: 18px 0 16px; }
.relief .ic { flex: none; width: 30px; height: 30px; border-radius: 50%; background: #12855a; color: #fff; font-weight: 700; display: flex; align-items: center; justify-content: center; font-size: 17px; }
.relief b { display: block; font-size: 17px; line-height: 1.5; color: var(--ink); }
.relief span { display: block; font-size: 14px; color: var(--muted); margin-top: 2px; }

/* できること: オプションの枠（10/28 発信履歴 月 1,000 円） */
.opt { position: relative; display: flex; gap: 20px; align-items: center; margin: 26px 0 0; padding: 24px 24px 20px; background: var(--peach); border: 1px solid #f6c9a4; border-radius: var(--r); }
.opt .tag { position: absolute; top: -12px; left: 20px; background: var(--orange); color: #fff; font-size: 12px; font-weight: 700; padding: 3px 12px; border-radius: 999px; }
.opt h3 { margin: 0 0 6px; }
.opt p { margin: 0; font-size: 15px; color: var(--muted); }
.opt .price { flex: none; font-size: 32px; font-weight: 900; color: var(--navy); line-height: 1.1; text-align: right; }
.opt .price small { display: block; font-size: 13px; font-weight: 500; color: var(--muted); }
@media (max-width: 720px) { .opt { flex-direction: column; align-items: flex-start; gap: 10px; } .opt .price { text-align: left; } .opt .price small { display: inline; margin-left: 4px; } }

/* 料金: オプションの一覧 */
.open-period { margin: 22px 0 0; padding: 22px 26px; background: var(--sky); border: 2px solid var(--teal); border-radius: var(--r); }
.open-period h3 { margin: 0 0 8px; font-size: 20px; line-height: 1.5; color: var(--navy); }
.open-period p { margin: 0; color: var(--ink); }
.open-period .note { margin-top: 10px; color: var(--muted); }
.open-period .when-h { margin-top: 14px; font-weight: 700; color: var(--navy); }
.open-period dl.when { margin: 8px 0 0; display: grid; gap: 8px; }
.open-period dl.when > div { display: grid; grid-template-columns: minmax(9em, 17em) 1fr; gap: 4px 16px; padding: 10px 14px; background: #fff; border-radius: 8px; }
.open-period dl.when dt { margin: 0; font-weight: 700; color: var(--navy); }
.open-period dl.when dd { margin: 0; }
@media (max-width: 640px) { .open-period dl.when > div { grid-template-columns: 1fr; } }
.opts { margin: 22px 0 0; padding: 20px 24px; background: var(--cream); border: 1px solid var(--line); border-radius: var(--r); }
.opts h3 { font-size: 16px; color: var(--muted); margin: 0 0 10px; }
.opts dl { margin: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 12px 28px; }
@media (max-width: 720px) { .opts dl { grid-template-columns: 1fr; } }
.opts dt { font-weight: 700; display: flex; justify-content: space-between; gap: 12px; border-bottom: 1px solid var(--line); padding-bottom: 4px; }
.opts dt b { color: var(--navy); white-space: nowrap; }
.opts dd { margin: 6px 0 0; font-size: 14px; color: var(--muted); line-height: 1.6; }

/* 料金の 3 列の表（項目・内容・費用）はスマホで縦に積む: 1 行目に項目と費用、その下に内容（10/28 スマホの点検） */
@media (max-width: 640px) {
  table.t3, table.t3 tbody, table.t3 td { display: block; }
  table.t3 tr:first-child { display: none; }
  table.t3 tr { display: grid; grid-template-columns: 1fr auto; border: 1px solid var(--line); border-bottom: 0; }
  table.t3 tr:last-child { border-bottom: 1px solid var(--line); }
  table.t3 td { border: 0; }
  table.t3 td:nth-child(1) { order: 1; padding-bottom: 2px; }
  table.t3 td:nth-child(3) { order: 2; padding-bottom: 2px; white-space: nowrap; font-weight: 700; color: var(--navy); }
  table.t3 td:nth-child(2) { order: 3; grid-column: 1 / -1; padding-top: 2px; font-size: 14px; }
}
