/* ベビーモニター 紹介ページ
   ヒーローは夜。地平線から朝になり、以降は朝の地。夜の色はヒーロー・端末の画面・「夜のための設計」の帯だけ。
   動かすのは transform / opacity と、線を一度だけ引く stroke-dashoffset のみ。 */

@font-face { font-family: "BM Sans"; src: url("fonts/bm-light.woff2?v=20261112") format("woff2"); font-weight: 300; font-display: swap; }
@font-face { font-family: "BM Sans"; src: url("fonts/bm-regular.woff2?v=20261112") format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "BM Sans"; src: url("fonts/bm-medium.woff2?v=20261112") format("woff2"); font-weight: 500 700; font-display: swap; }
@font-face { font-family: "BM Num"; src: url("fonts/bm-num.woff2?v=20261112") format("woff2"); font-weight: 200 500; font-display: swap; }

:root {
  /* アプリのダーク配色(端末の画面・夜の区画) */
  --night: #0D232D;
  --night-2: #123240;
  --predawn: #1D4A57;
  --n-panel: #142F3B;
  --n-line: #31515D;
  --aqua: #73D1DE;
  --n-text: #EAF5F7;
  --n-sub: #A4BAC3;
  --warm: #FFD9A0;
  /* アプリのライト配色(朝の地) */
  --mist: #DCEEF1;
  --mist-2: #E9F5F7;
  --morning: #FAFCFD;
  --d-line: #DBE7EB;
  --d-aqua: #127082;
  --d-btn: #126F82;
  --d-text: #172F40;
  --d-sub: #526D7A;
  --d-sel: #D9EFF3;
  --d-warn: #A64A00;

  /* 区画の配色(既定は朝) */
  --fg: var(--d-text);
  --sub: #476270;
  --note: #3E5763;
  --line: #C9DDE3;
  --acc: var(--d-aqua);
  --soft: var(--d-sel);

  --f-ja: "BM Sans", "Hiragino Sans", "Hiragino Kaku Gothic ProN", "Noto Sans JP", sans-serif;
  --f-num: "BM Num", "BM Sans", "Helvetica Neue", Arial, sans-serif;
  --ease: cubic-bezier(.22, .61, .36, 1);
  --wrap: 1240px;
  --gut: clamp(20px, 5.4vw, 80px);
  --sec: clamp(88px, 10vw, 150px);
  --hd: 72px;
}
.t-night { --fg: #EAF5F7; --sub: #B8CAD1; --note: #D2DEE3; --line: #31515D; --acc: #73D1DE; --soft: rgba(115, 209, 222, .14); color: var(--fg); }
.t-aqua { --fg: #081C22; --sub: #0A2733; --note: #081C22; --line: rgba(8, 28, 34, .38); --acc: #0D232D; --soft: rgba(255, 255, 255, .45); color: var(--fg); }

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-behavior: smooth; background: var(--morning); }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  margin: 0;
  font-family: var(--f-ja);
  font-weight: 400;
  font-size: 17px;
  line-height: 1.95;
  letter-spacing: .04em;
  color: var(--fg);
  background: var(--morning);
  line-break: strict;
  word-break: keep-all;
  overflow-wrap: anywhere;
  text-autospace: no-autospace;
  text-spacing-trim: trim-start;
  -webkit-font-smoothing: antialiased;
}
img, svg { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; }
h1, h2, h3, p, ol, ul, figure { margin: 0; }
ol, ul { padding: 0; list-style: none; }
button { font: inherit; letter-spacing: inherit; color: inherit; }
b, strong { font-weight: 500; }
.nw { white-space: nowrap; }
.en { font-family: var(--f-num); }
.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }
.ic { width: 1.25em; height: 1.25em; flex: none; fill: none; stroke: currentColor; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }
.ic-l { width: 32px; height: 32px; fill: none; stroke: currentColor; stroke-width: 1.3; stroke-linecap: round; stroke-linejoin: round; }

:focus-visible { outline: 2px solid var(--acc); outline-offset: 3px; border-radius: 6px; }

.skip { position: absolute; left: 12px; top: -80px; z-index: 100; padding: 10px 18px; background: var(--d-text); color: #fff; border-radius: 999px; text-decoration: none; font-weight: 500; }
.skip:focus { top: 12px; }

.wrap { width: 100%; max-width: calc(var(--wrap) + var(--gut) * 2); margin: 0 auto; padding: 0 var(--gut); }

/* ---------- 共通の見出し ---------- */
.label { display: flex; align-items: baseline; gap: 14px; font-size: 14px; font-weight: 500; letter-spacing: .14em; color: var(--acc); font-feature-settings: "palt"; }
.label .no { font-family: var(--f-num); font-weight: 400; font-size: 14px; letter-spacing: .12em; display: inline-flex; align-items: center; gap: 14px; }
.label .no::after { content: ""; width: 40px; height: 1px; background: currentColor; opacity: .6; }
.h2 { margin-top: 26px; font-weight: 300; font-size: clamp(34px, 4.4vw, 62px); line-height: 1.36; letter-spacing: .04em; font-feature-settings: "palt"; color: var(--fg); }
.h2 .l { display: block; }
.h2-xl { font-size: clamp(40px, 6.4vw, 96px); line-height: 1.24; }
.h2-sm { font-size: clamp(28px, 3.1vw, 42px); line-height: 1.45; }
.body { margin-top: 30px; max-width: 34em; color: var(--sub); }
h3 { font-weight: 500; font-size: 19px; line-height: 1.6; letter-spacing: .06em; font-feature-settings: "palt"; }
/* 約物が続くところは、前の約物を半角の幅に(build で印を付ける) */
.hw { font-feature-settings: "halt"; }
/* 和欧間:英字の前後の小さな空白(build で入れる) */
.as { font-size: .5em; }
.hero-title .as, .h2 .as { font-size: .34em; }

/* ---------- 線画 ---------- */
.ln path { fill: none; stroke: currentColor; stroke-width: var(--swu, 1.5); stroke-linecap: round; stroke-linejoin: round; }
.ln .soft { opacity: .55; }
html.js .draw .ln > * { stroke-dasharray: 1 1; stroke-dashoffset: 1; }
html.js .draw.is-in .ln > * { stroke-dashoffset: 0; transition: stroke-dashoffset 1.2s var(--ease) var(--d, 0s); }
@media (prefers-reduced-motion: reduce) {
  html.js .draw .ln > * { stroke-dasharray: none; stroke-dashoffset: 0; transition: none; }
}

/* ---------- 出現 ---------- */
html.js [data-reveal] { opacity: 0; transform: translateY(18px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
html.js [data-reveal].is-in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  html.js [data-reveal] { opacity: 1; transform: none; transition: none; }
}

/* 区画の中の小番号(全区画で同じ形) */
.sn { display: block; font-family: var(--f-num); font-weight: 400; font-size: 14px; line-height: 1; letter-spacing: .14em; color: var(--acc); font-variant-numeric: tabular-nums; margin-bottom: 12px; }

/* 押せない状態表示(公開準備中) */
.badge { display: inline-flex; align-items: center; gap: 10px; min-height: 40px; padding: 0 16px; border: 1px solid currentColor; border-radius: 8px; font-size: 15px; font-weight: 500; letter-spacing: .08em; cursor: default; }
.badge .dot, .hd-status .dot { width: 7px; height: 7px; border-radius: 50%; background: currentColor; opacity: .85; flex: none; }
.t-night .badge { color: var(--aqua); border-color: rgba(115, 209, 222, .55); }
.badge-day { color: var(--d-aqua); border-color: rgba(18, 112, 130, .45); }
/* 並べる短い情報(区切り線を行頭に出さない) */
.req { display: flex; flex-wrap: wrap; gap: 4px 18px; font-size: 15px; letter-spacing: .06em; color: var(--sub); }
.req li { position: relative; padding-left: 12px; }
.req li::before { content: ""; position: absolute; left: 0; top: 50%; width: 4px; height: 4px; margin-top: -2px; border-radius: 50%; background: currentColor; opacity: .7; }

/* 境目:寝室と手元の明暗を切り替える。ドアのすき間から差す明かりの細い線を1本 */
.door { position: relative; height: 120px; background: linear-gradient(180deg, var(--from) 0%, var(--m1) 34%, var(--m2) 62%, var(--m3) 88%, var(--to) 100%); overflow: hidden; }
.door .gap { position: absolute; left: 62%; top: 12%; width: 1px; height: 47%; background: linear-gradient(180deg, rgba(255, 236, 206, 0), rgba(255, 236, 206, .65) 40%, rgba(255, 236, 206, .36) 70%, rgba(255, 236, 206, 0)); box-shadow: 0 0 10px rgba(255, 236, 206, .24); }

/* ---------- ヘッダー ---------- */
.hd { position: fixed; inset: 0 0 auto; z-index: 50; height: var(--hd); color: var(--n-text); background: #0B1F28; transition: background-color .4s var(--ease), color .4s var(--ease), box-shadow .4s var(--ease); }
.hd.is-scrolled { background: var(--night); box-shadow: 0 1px 0 rgba(115, 209, 222, .16); }
.hd.is-day { background: var(--morning); color: var(--d-text); box-shadow: 0 1px 0 var(--d-line); }
.hd-in { position: relative; height: 72px; max-width: 1440px; margin: 0 auto; padding: 0 clamp(16px, 3vw, 40px); display: flex; align-items: center; gap: 24px; }
.brand { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; min-height: 44px; }
.brand img { width: 34px; height: 34px; border-radius: 8px; box-shadow: 0 0 0 1px rgba(115, 209, 222, .3); }
.brand-t { display: flex; flex-direction: column; line-height: 1.2; }
.brand-ja { font-weight: 500; font-size: 15px; letter-spacing: .1em; font-feature-settings: "palt"; }
.brand-en { font-family: var(--f-num); font-size: 12px; letter-spacing: .16em; opacity: .8; }
.hd-nav { margin-left: auto; display: flex; gap: 2px; }
.hd-nav a { display: inline-flex; align-items: center; min-height: 44px; padding: 0 12px; font-size: 14px; letter-spacing: .08em; text-decoration: none; border-radius: 999px; transition: background-color .2s; color: inherit; white-space: nowrap; }
.hd-nav a:hover { background: rgba(115, 209, 222, .14); }
.hd.is-day .hd-nav a:hover { background: var(--d-sel); }
.hd-status { display: inline-flex; align-items: center; gap: 8px; min-height: 34px; padding: 0 12px; border: 1px solid rgba(115, 209, 222, .5); border-radius: 6px; font-size: 13px; font-weight: 500; letter-spacing: .08em; color: var(--aqua); white-space: nowrap; cursor: default; }
.hd.is-day .hd-status { color: var(--d-aqua); border-color: rgba(18, 112, 130, .4); }
.hd :focus-visible { outline-color: var(--aqua); }
.hd.is-day :focus-visible { outline-color: var(--d-aqua); }
@media (max-width: 1099px) {
  /* ナビはヘッダーの下に横へ送れる帯で出す。右端を薄くして続きがあることを示す */
  :root { --hd: 118px; }
  .hd-status { margin-left: auto; }
  .hd-nav { position: absolute; left: 0; right: 0; top: 72px; height: 46px; margin: 0; padding: 0 40px 0 clamp(10px, 3vw, 34px); align-items: center; overflow-x: auto; overscroll-behavior-x: contain; scrollbar-width: none; border-top: 1px solid rgba(115, 209, 222, .16); }
  .hd-nav::-webkit-scrollbar { display: none; }
  .hd.is-day .hd-nav { border-top-color: var(--d-line); }
}

/* ---------- 区画の地 ---------- */
section { position: relative; scroll-margin-top: var(--hd); }
.pair { background: var(--morning); }
.demo { background: var(--mist-2); }
.night { background: var(--night); }
.notice { background: var(--morning); }
.keep { background: var(--morning); padding-bottom: 8px; }
.connect { background: var(--mist); }
.family { background: var(--morning); }
.terms { background: var(--mist-2); }
.faq { background: var(--morning); }
.launch { background: linear-gradient(180deg, #EAF6F8 0, #F6FBFC 45%, #FFFFFF 100%); }

/* ---------- ヒーロー(寝室・夜) ---------- */
.hero { padding-top: calc(var(--hd) + clamp(36px, 7vh, 96px)); background: linear-gradient(180deg, #0B1F28 0, var(--night) 40%, #123240 100%); overflow: hidden; }
.sky { position: absolute; left: 0; top: 0; width: 100%; height: 760px; fill: none; stroke: #CFEFF4; stroke-width: 1.2; stroke-linecap: round; opacity: .5; pointer-events: none; }
.sky .dot { stroke-width: 2.4; opacity: .8; }
.hero-in { position: relative; min-height: calc(100svh - var(--hd) - clamp(36px, 7vh, 96px) - 70px); display: grid; align-content: start; }
.hero-copy { position: relative; z-index: 2; max-width: 780px; }
.eyebrow { font-size: 15px; letter-spacing: .12em; color: var(--sub); display: inline-flex; align-items: flex-start; gap: 14px; font-feature-settings: "palt"; }
.eyebrow::before { content: ""; width: 28px; height: 1px; margin-top: .95em; background: var(--aqua); flex: none; }
.hero-title { margin-top: 30px; font-weight: 300; font-size: clamp(36px, 5.3vw, 84px); line-height: 1.26; letter-spacing: .03em; font-feature-settings: "palt"; }
.hero-title .l { display: block; }
.hero-title strong { font-weight: 400; color: var(--aqua); }
.hero-lead { margin-top: 34px; max-width: 26em; font-size: clamp(17px, 1.35vw, 19px); line-height: 2; color: var(--fg); }
.hero-status { margin-top: 36px; display: flex; flex-wrap: wrap; align-items: center; gap: 14px 24px; }
.marks { margin-top: 26px; display: flex; flex-wrap: wrap; gap: 10px 26px; font-size: 15px; letter-spacing: .06em; }
.marks li { display: inline-flex; align-items: center; gap: 9px; }
.marks .ic { color: var(--aqua); width: 19px; height: 19px; }
.hero-art { position: absolute; z-index: 1; right: -3%; bottom: 0; width: min(65%, 960px); color: var(--aqua); pointer-events: none; }
.room { width: 100%; height: auto; overflow: visible; }
.room .glow, .room .beam { opacity: 0; transition: opacity 2.4s var(--ease) 1.4s; }
.room .lamp { opacity: 0; transition: opacity 1.2s var(--ease) 1.4s; }
.room.is-in .glow, .room.is-in .lamp, .room.is-in .beam { opacity: 1; }
html:not(.js) .room .glow, html:not(.js) .room .lamp, html:not(.js) .room .beam { opacity: 1; }
@media (prefers-reduced-motion: reduce) { .room .glow, .room .lamp, .room .beam { opacity: 1; transition: none; } }
.hero .door { margin-top: 0; }
@media (max-width: 1099px) {
  .hero-in { min-height: 0; }
  .hero-art { position: relative; right: auto; bottom: auto; width: 100%; margin: 40px 0 0; }
}
@media (max-width: 1099px) and (min-width: 701px) {
  .hero-art { width: 96%; margin: 36px -2% 0 auto; }
}

/* ---------- 2台でつかう ---------- */
.pair { padding: var(--sec) 0; }
.pair-in { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 0 clamp(48px, 6vw, 112px); align-items: end; }
.pair-in > .count { margin: 0; justify-self: end; }
.count { margin-top: 28px; display: flex; align-items: baseline; gap: 10px; color: var(--acc); line-height: 1; }
.count .num { font-family: var(--f-num); font-weight: 200; font-size: clamp(150px, 15vw, 220px); letter-spacing: -.02em; }
.count .unit { font-weight: 300; font-size: clamp(34px, 3.4vw, 52px); }
/* 実画面(端末の枠に入れる) */
.shot { margin: 0; }
.shot .device { border-radius: 30px; padding: 8px; }
.shot .device img { border-radius: 22px; width: 100%; background: var(--night); }
.pair-meta { margin-top: 28px; display: flex; align-items: flex-end; gap: clamp(20px, 4vw, 48px); }
.pair-meta .count { margin-top: 0; }
.shot-role { width: min(210px, 44%); }
.pair-art { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(18px, 2.4vw, 32px); align-items: start; }
.shot-read { margin-top: clamp(40px, 6vw, 96px); }
.device { position: relative; border-radius: 40px; padding: 10px; background: var(--night); box-shadow: 0 0 0 1px #31515D, 0 30px 60px -30px rgba(23, 47, 64, .5); }
.device img { border-radius: 30px; width: 100%; }
.cap { margin-top: 20px; font-size: 14.5px; line-height: 1.7; letter-spacing: .06em; color: var(--note); display: flex; flex-direction: column; gap: 4px; }
.cap .en { font-size: 12px; text-transform: uppercase; letter-spacing: .3em; color: var(--acc); }
.steps { grid-column: 1 / -1; margin-top: clamp(48px, 5vw, 72px); display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0; }
.steps li { padding: 0 clamp(14px, 1.6vw, 24px) 8px; }
.steps li:first-child { padding-left: 0; }
.steps li:last-child { padding-right: 0; }
/* 3枚の画面を同じ幅・同じ高さの淡い台にのせ、下の手順と列をそろえる */
.stand { height: 470px; margin-bottom: 26px; display: grid; place-items: center; border-radius: 16px; background: #EDF5F7; }
.stand .device { width: 216px; border-radius: 28px; padding: 7px; }
.stand .device img { border-radius: 21px; width: 100%; background: var(--night); }
.steps .cap-s { margin-top: 10px; font-size: 14.5px; color: var(--note); }
.steps p { margin-top: 8px; color: var(--sub); font-size: 16.5px; max-width: 30em; }
@media (max-width: 960px) {
  .pair-in { grid-template-columns: 1fr; }
  .pair-art { max-width: 560px; }
}
@media (max-width: 860px) {
  .pair-in { grid-template-columns: 1fr; }
  .pair-in > .count { justify-self: start; margin-top: 24px; }
  .steps { grid-template-columns: 1fr; gap: 36px; margin-top: 36px; }
  .steps li, .steps li:first-child, .steps li:last-child { padding: 0; display: flex; flex-direction: column; }
  .steps .sn { order: 1; }
  .steps h3 { order: 2; }
  .steps .stand { order: 3; margin: 18px 0 0; }
  .steps p { order: 4; }
  .steps .stand + .sn + h3 + p { margin-top: 22px; }
  .steps .cap-s { order: 5; }
  .stand { height: auto; padding: 18px 0; }
  .stand .device { width: 220px; }
}
@media (max-width: 560px) {
  .count { margin-top: 20px; }
  .count .num { font-size: 112px; }
  .count .unit { font-size: 30px; }
  .pair-meta { gap: 16px; }
  .shot .device { border-radius: 22px; padding: 6px; }
  .shot .device img { border-radius: 16px; }
  .device { border-radius: 30px; padding: 7px; }
  .device img { border-radius: 24px; }
  .cap { font-size: 14px; }
}

/* ---------- 2台の画面(操作できる図) ---------- */
.demo { padding: var(--sec) 0 56px; }
.demo-head { max-width: 760px; }
.stage { --vw: 360px; --cam: 220px; margin-top: clamp(48px, 5vw, 72px); display: grid; grid-template-columns: minmax(0, 1fr) var(--cam) 140px var(--vw) minmax(0, 1fr); grid-template-areas: ". ctag . vtag ." ". cam link view ." ". foot foot foot ."; align-items: start; gap: 0 24px; padding: clamp(36px, 4.4vw, 64px) clamp(24px, 5vw, 80px); border: 1px solid var(--line); border-radius: 36px; background: #FFFFFF; }
.st-tag { display: flex; align-items: baseline; flex-wrap: wrap; gap: 4px 12px; font-size: 16px; font-weight: 500; letter-spacing: .1em; margin-bottom: 18px; align-self: end; }
.st-tag .en { font-size: 12px; font-weight: 400; text-transform: uppercase; letter-spacing: .3em; color: var(--acc); width: 100%; }
.st-tag .sub { font-size: 14px; font-weight: 400; color: var(--sub); }
.st-tag-cam { grid-area: ctag; }
.stage > .st-tag { justify-content: center; text-align: center; }
.st-tag-view { grid-area: vtag; }
.st-cam { grid-area: cam; }
.st-view { grid-area: view; }
.st-link { grid-area: link; margin-top: 210px; display: flex; flex-direction: column; align-items: center; gap: 12px; color: var(--fg); font-size: 14px; font-weight: 500; line-height: 1.6; letter-spacing: .08em; text-align: center; }
.st-link .dots { position: relative; width: 100%; height: 2px; border-radius: 2px; background: var(--acc); }
.st-link .dots::before, .st-link .dots::after { content: ""; position: absolute; top: -3px; width: 8px; height: 8px; border-radius: 50%; background: var(--acc); }
.st-link .dots::before { left: -4px; }
.st-link .dots::after { right: -4px; }

/* カメラ側(縦長の iPhone を小さな三角の台に) */
.cam-wrap { position: relative; width: 100%; }
.cam-light { position: absolute; left: 50%; top: 42%; width: 260%; aspect-ratio: 1; transform: translate(-50%, -50%) scale(.9); border-radius: 50%; background: radial-gradient(closest-side, rgba(255, 217, 160, .5), rgba(255, 217, 160, .16) 45%, rgba(255, 217, 160, 0)); opacity: 0; transition: opacity .7s var(--ease), transform .7s var(--ease); pointer-events: none; }
.cam-phone { position: relative; aspect-ratio: 9 / 19.5; border-radius: 34px; padding: 8px; background: var(--night); box-shadow: 0 0 0 1px #31515D, 0 24px 50px -28px rgba(23, 47, 64, .55); }
.cam-phone::before { content: ""; position: absolute; left: 50%; top: 14px; width: 26%; height: 12px; transform: translateX(-50%); border-radius: 999px; background: #000; z-index: 3; }
.cam-screen { position: relative; height: 100%; border-radius: 27px; overflow: hidden; background: #000; }
.cam-preview, .cam-dark, .cam-white { position: absolute; inset: 0; transition: opacity .6s var(--ease); }
.cam-preview { display: grid; place-items: center; background: linear-gradient(180deg, #17323D, #0F242D); color: #8ED7E2; }
.cam-preview svg { width: 92%; fill: none; stroke: currentColor; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; opacity: .9; }
.cam-preview svg * { vector-effect: non-scaling-stroke; }
.cam-tag { position: absolute; left: 0; right: 0; top: 36px; text-align: center; font-size: 12px; letter-spacing: .08em; color: var(--n-text); }
.cam-dark { background: #000; }
.cam-white { background: radial-gradient(120% 90% at 50% 45%, #FFFFFF 0, #F2FAFB 55%, #E2F1F4 100%); }
.cam-stand { width: 46%; margin: -2px auto 0; fill: none; stroke: var(--acc); stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }
.cam-stand path { vector-effect: non-scaling-stroke; }
.cam-state { margin-top: 12px; font-size: 14.5px; color: var(--note); letter-spacing: .06em; text-align: center; }
.cam-state b { color: var(--fg); }
/* 押した項目とカメラ側の画面を、同じ色の印で結ぶ */
.cam-state b::before, .modes button[aria-checked="true"]::after { content: ""; display: inline-block; width: 8px; height: 8px; border-radius: 50%; background: #F2B95E; }
.cam-state b::before { margin-right: 6px; vertical-align: .1em; }
.modes button { position: relative; }
.modes button[aria-checked="true"]::after { position: absolute; top: 7px; right: 7px; }
.stage .cam-preview, .stage .cam-white { opacity: 0; }
.stage[data-screen="preview"] .cam-preview { opacity: 1; }
.stage[data-screen="preview"] .cam-dark { opacity: 0; }
.stage[data-screen="light"] .cam-white { opacity: 1; }
.stage[data-screen="light"] .cam-dark { opacity: 0; }
.stage[data-screen="light"] .cam-light { opacity: 1; transform: translate(-50%, -50%) scale(1); }

/* 見守り側の端末(アプリの暗い画面) */
.vw-phone { position: relative; width: var(--vw); border-radius: 52px; padding: 11px; background: var(--night); box-shadow: 0 0 0 1px #31515D, 0 40px 70px -36px rgba(23, 47, 64, .6); }
.vw-screen { position: relative; border-radius: 42px; overflow: hidden; background: var(--night); padding: 0 18px 20px; color: var(--n-text); font-size: 13px; line-height: 1.5; letter-spacing: .03em; }
.vw-screen :focus-visible { outline-color: var(--aqua); }
/* お知らせは画面の上端に下りてくる帯。重なるのは画面名の行だけで、部屋名から下は隠さない */
.vw-top { position: relative; }
.vw-alert { position: absolute; z-index: 3; left: -8px; right: -8px; top: 10px; display: flex; align-items: center; gap: 10px; padding: 9px 14px; border-radius: 14px; background: #F4FBFC; color: var(--d-text); transform: translateY(-140%); opacity: 0; transition: transform .55s var(--ease), opacity .4s var(--ease); }
.vw-alert .ic { width: 18px; height: 18px; color: var(--d-aqua); }
.vw-alert b { flex: 1; font-size: 14px; white-space: nowrap; }
.vw-alert .when { font-size: 12px; color: var(--d-sub); white-space: nowrap; }
.stage.is-alert .vw-alert { transform: none; opacity: 1; }
.vw-title { text-align: center; font-weight: 500; font-size: 15px; letter-spacing: .1em; padding: 22px 0 14px; }
.vw-cam { display: flex; align-items: baseline; justify-content: space-between; gap: 8px; margin: 2px 2px 10px; }
.vw-name { font-weight: 500; font-size: 20px; letter-spacing: .08em; }
.vw-ok { display: inline-flex; align-items: center; gap: 6px; font-size: 12px; color: #B8CAD1; white-space: nowrap; }
.vw-ok .dot { width: 6px; height: 6px; border-radius: 50%; background: var(--aqua); }
.vw-video { position: relative; aspect-ratio: 16 / 10; border-radius: 16px; overflow: hidden; background: #000; }
.vw-video::before { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, #1D3A46 0%, #132B35 70%, #0E232B 100%); transition: opacity .6s var(--ease); }
.vw-video::after { content: ""; position: absolute; inset: 0; background: radial-gradient(70% 90% at 50% 45%, rgba(244, 251, 252, .16), rgba(244, 251, 252, 0)); opacity: 0; transition: opacity .6s var(--ease); }
.vid { position: relative; z-index: 1; width: 100%; height: 100%; fill: none; stroke: #9ADCE6; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }
.vid path { vector-effect: non-scaling-stroke; }
.vid-x, .vid-o { transition: opacity .6s var(--ease), stroke .6s var(--ease); }
.vid-x { opacity: .62; }
.vid-o { opacity: .82; }
.vid-tag { position: absolute; z-index: 2; left: 12px; top: 9px; font-size: 12px; letter-spacing: .06em; color: #fff; }
.stage[data-screen="light"] .vw-video::after { opacity: 1; }
.stage[data-screen="light"] .vid-x { opacity: .78; }
.stage[data-screen="light"] .vid-o { opacity: 1; }
.stage[data-scene="outline"] .vw-video::before { opacity: .18; }
.stage[data-scene="outline"] .vw-video::after { opacity: 0; }
.stage[data-scene="outline"] .vid-x { opacity: 0; }
.stage[data-scene="outline"] .vid-o { opacity: .3; stroke: #EAF5F7; }
.vw-audio { margin-top: 12px; display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 11px 14px; border-radius: 14px; background: #1B3541; }
.vw-audio .lb { display: inline-flex; align-items: center; gap: 8px; font-size: 13px; font-weight: 500; white-space: nowrap; }
.vw-audio .ic { width: 17px; height: 17px; }
.meter { display: inline-flex; gap: 5px; }
.meter i { width: 6px; height: 6px; border-radius: 50%; background: var(--aqua); opacity: .16; transition: opacity .12s linear; }
.meter i.on { opacity: .95; }
.vw-label { font-size: 13px; font-weight: 500; margin: 16px 2px 7px; letter-spacing: .06em; }
.vw-ctrl .seg { margin-top: 16px; }
.seg { display: grid; grid-template-columns: repeat(3, 1fr); gap: 3px; padding: 3px; border-radius: 14px; background: #223D49; }
.seg button { min-height: 44px; padding: 0 2px; white-space: nowrap; border: 0; border-radius: 11px; background: transparent; font-size: 14px; font-weight: 500; letter-spacing: .06em; cursor: pointer; color: #C2D2D8; transition: background-color .25s var(--ease), color .25s var(--ease); }
.seg button:hover { color: var(--n-text); }
.seg button[aria-checked="true"] { background: #2F6E7E; color: #fff; }
.modes { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; }
.modes button { min-height: 66px; padding: 6px 4px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 3px; border: 0; border-radius: 14px; background: #1B3541; font-size: 12.5px; font-weight: 500; letter-spacing: .02em; cursor: pointer; color: var(--n-text); transition: background-color .25s var(--ease); }
.modes button .ic { width: 18px; height: 18px; }
.modes button span { line-height: 1.3; text-align: center; }
.modes button:hover { background: #223F4C; }
.modes button[aria-checked="true"] { background: #2F6E7E; }
.seg button:active, .modes button:active { transform: scale(.97); }

/* 体験の操作(お知らせの例) */
.demo-foot { grid-area: foot; margin-top: 36px; padding-top: 28px; border-top: 1px solid var(--line); display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 18px 36px; align-items: center; }
.try { display: flex; flex-direction: column; align-items: flex-start; gap: 6px; }
.btn-try { display: inline-flex; align-items: center; gap: 10px; min-height: 52px; padding: 0 24px 0 20px; border: 1px solid var(--d-btn); border-radius: 999px; background: #fff; color: var(--d-aqua); font-weight: 500; font-size: 16px; letter-spacing: .08em; cursor: pointer; transition: background-color .2s var(--ease), color .2s var(--ease), transform .2s var(--ease); }
.btn-try:hover { background: var(--d-sel); }
.btn-try:active { transform: scale(.97); }
.btn-try.is-on { background: var(--d-btn); color: #fff; }
.try-note { padding-left: 22px; font-size: 14.5px; color: var(--note); letter-spacing: .04em; }
.demo-live { font-size: 16px; color: var(--fg); letter-spacing: .04em; padding-left: 16px; border-left: 2px solid var(--acc); }
.demo-notes { margin-top: 24px; display: grid; gap: 4px; font-size: 15px; line-height: 1.8; color: var(--note); }
.demo-notes li { padding-left: 1.1em; text-indent: -1.1em; }
.demo-notes li::before { content: "※"; margin-right: .1em; }

@media (max-width: 1099px) {
  .stage { --vw: 330px; --cam: 200px; grid-template-columns: minmax(0, 1fr) var(--cam) var(--vw) minmax(0, 1fr); grid-template-areas: ". ctag vtag ." ". cam view ." ". foot foot ."; gap: 0 48px; }
  .st-link { display: none; }
}
/* スマホ:2台を横に並べ、操作部はその下。押した結果が同じ画面に見える */
@media (max-width: 760px) {
  .stage { --cw: 112px; grid-template-columns: var(--cw) minmax(0, 1fr); grid-template-areas: "ctag vtag" "cam view" "ctrl ctrl" "foot foot"; align-items: start; gap: 0 16px; padding: 18px 12px 22px; border-radius: 24px; }
  .st-tag { margin-bottom: 10px; font-size: 14px; gap: 2px 8px; }
  .st-tag .en { font-size: 12px; letter-spacing: .24em; }
  .st-tag .sub { display: none; }
  .st-tag-cam { justify-self: stretch; width: auto; }
  .st-view, .vw-phone, .vw-screen { display: contents; }
  .vw-top { grid-area: view; position: relative; border-radius: 22px; background: var(--night); padding: 0 10px 10px; color: var(--n-text); box-shadow: 0 0 0 5px var(--night), 0 0 0 6px #31515D; margin: 6px 6px 0 0; overflow: hidden; }
  .vw-alert { top: 6px; left: -4px; right: -4px; padding: 6px 9px; gap: 6px; border-radius: 10px; }
  .vw-alert .ic { width: 15px; height: 15px; }
  .vw-alert b { font-size: 12.5px; }
  .vw-alert .when { display: none; }
  .vw-title { font-size: 13px; padding: 14px 0 8px; }
  .vw-name { font-size: 16px; }
  .vw-ok { font-size: 12px; }
  .vw-video { border-radius: 10px; }
  .vid-tag { font-size: 12px; left: 8px; top: 6px; }
  .vid { transform: scale(.8) translate(9%, 9%); }
  .vw-audio { margin-top: 8px; padding: 8px 10px; border-radius: 10px; }
  .vw-audio .lb { font-size: 12px; gap: 5px; }
  .vw-audio .ic { width: 14px; height: 14px; }
  .vw-audio .meter { gap: 3px; }
  .vw-audio .meter i { width: 4px; height: 4px; }
  .vw-audio .meter i:nth-child(n+9) { display: none; }
  .vw-ctrl { grid-area: ctrl; margin-top: 14px; padding: 4px 12px 14px; border-radius: 18px; background: var(--night); color: var(--n-text); }
  .vw-ctrl :focus-visible { outline-color: var(--aqua); }
  .vw-label { margin: 10px 2px 6px; }
  .modes button { min-height: 54px; }
  .cam-wrap { width: 100%; margin: 0; }
  .st-cam .cam-state { width: auto; }
  .st-tag-cam { width: auto; }
  .modes button[aria-checked="true"]::after { top: 5px; right: 5px; width: 7px; height: 7px; }
  .cam-phone { border-radius: 20px; padding: 5px; }
  .cam-phone::before { top: 9px; height: 7px; }
  .cam-screen { border-radius: 16px; }
  .cam-tag { top: 22px; font-size: 12px; }
  .cam-state { font-size: 12px; margin-top: 6px; }
  .cam-state .k { display: none; }
  .demo-foot { grid-template-columns: 1fr; margin-top: 16px; padding-top: 0; border-top: 0; gap: 14px; }
  .try { align-items: stretch; }
  .btn-try { justify-content: center; }
  .try-note { padding-left: 0; text-align: center; }
}
@media (max-width: 360px) {
  .modes button { font-size: 12px; }
  .seg button { font-size: 12.5px; letter-spacing: 0; }
  .vid { transform: scale(.7) translate(19%, 14%); }
  .cam-state { white-space: nowrap; }
  .cam-state .k { display: none; }
  .vw-audio .lb { font-size: 12px; }
  .vw-audio .meter { display: none; }
  .vw-alert .when { display: none; }
  .stage { --cw: 92px; gap: 0 10px; padding: 16px 10px 20px; }
  .vw-ok { display: none; }
}

/* ---------- 夜のための設計(もう一度、寝室の中へ) ---------- */
.night { padding: clamp(72px, 8vw, 120px) 0 clamp(80px, 9vw, 130px); overflow: hidden; }
.night-in { display: grid; grid-template-columns: minmax(0, 36fr) minmax(0, 58fr); column-gap: 6%; align-items: start; }
.night-side .h2-xl { font-size: clamp(36px, 4.4vw, 64px); }
.night-side .body { max-width: 26em; }
.night-fig { margin-top: 48px; color: var(--aqua); max-width: 420px; }
.night-fig svg { width: 100%; }
.night-fig .black { fill: #000; stroke: rgba(115, 209, 222, .3); stroke-width: 1; }
.night-fig-cap { margin-top: 14px; display: flex; gap: 12px; align-items: baseline; font-size: 14.5px; color: var(--note); letter-spacing: .1em; }
.night-fig-cap .en { font-size: 12px; text-transform: uppercase; letter-spacing: .3em; color: var(--aqua); }
.night-list { display: grid; grid-template-columns: 1fr 1fr; border-top: 1px solid var(--line); margin-top: 8px; }
.night-list > li { padding: 30px 28px 34px 0; border-bottom: 1px solid var(--line); }
.night-list > li:nth-child(even) { padding: 30px 0 34px 28px; border-left: 1px solid var(--line); }
.night-list .ic-l { color: var(--aqua); margin-bottom: 14px; }
.night-list h3 { font-size: 19px; }
.night-list p { margin-top: 8px; color: var(--sub); font-size: 16px; }
.night-list p.small { font-size: 14.5px; line-height: 1.85; margin-top: 10px; color: var(--note); }
.mins { margin-top: 18px; display: flex; flex-wrap: wrap; align-items: baseline; gap: 18px; }
.mins li { font-size: 15px; letter-spacing: .04em; display: inline-flex; align-items: baseline; gap: 3px; white-space: nowrap; }
.mins b { font-family: var(--f-num); font-weight: 200; font-size: clamp(40px, 3.4vw, 54px); line-height: 1; letter-spacing: -.01em; color: var(--acc); }
.mins .none { color: var(--sub); }
.night-side { grid-row: span 2; }
.night-shots { grid-column: 2; margin: 48px 0 0; width: 100%; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px; align-items: start; }
.shot-light { margin-top: 40px; width: min(260px, 70%); }
.shot-light .device img { background: #F8FAFB; }
.night-shots .cap { color: var(--note); }
@media (max-width: 1180px) {
  .night-in { grid-template-columns: 1fr; }
  .night-side { grid-row: auto; }
  .night-shots { grid-column: 1; width: min(100%, 760px); margin: 56px auto 0; }
  .night-fig { max-width: 300px; margin-top: 32px; }
}
@media (max-width: 620px) {
  /* 主要な3項目を大きく、残りは小さくまとめる */
  .night-list { grid-template-columns: 1fr; }
  .night-list > li, .night-list > li:nth-child(even) { padding: 24px 0 26px; border-left: 0; }
  .night-list > li.main h3 { font-size: 20px; }
  .night-list > li.main .ic-l { width: 36px; height: 36px; }
  .night-list > li.sub { padding: 16px 0 18px; display: grid; grid-template-columns: 26px minmax(0, 1fr); column-gap: 12px; }
  .night-list > li.sub .ic-l { width: 22px; height: 22px; margin: 4px 0 0; grid-row: span 4; }
  .night-list > li.sub h3 { font-size: 16.5px; }
  .night-list > li.sub p { font-size: 15px; margin-top: 4px; }
  .night-list > li.sub p.small { font-size: 14px; }
  .mins { gap: 14px; flex-wrap: wrap; }
  .mins b { font-size: 34px; }
  .night-shots { grid-template-columns: 1fr; width: min(100%, 300px); gap: 30px; margin-top: 48px; }
  .night-shots .cap { margin-top: 14px; }
  .mins li { font-size: 14px; }
}

/* ---------- 気づくために ---------- */
.notice { padding: 56px 0 var(--sec); }
.notice-head { max-width: 760px; }
.detect { margin-top: clamp(48px, 5vw, 72px); border-top: 1px solid var(--line); }
.detect > li { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 20px clamp(40px, 6vw, 96px); align-items: center; padding: 36px 0; border-bottom: 1px solid var(--line); }
.detect h3 { font-size: clamp(22px, 2.1vw, 28px); font-weight: 400; }
.detect p { margin-top: 10px; color: var(--sub); font-size: 16.5px; max-width: 28em; }
/* 3つの図は同じ枠(幅・中心・図の名前)でそろえる */
.d-fig { justify-self: center; width: min(280px, 100%); display: flex; flex-direction: column; align-items: center; }
.d-fig figcaption { margin-top: 12px; font-size: 14.5px; color: var(--note); text-align: center; }
.scale ol { position: relative; width: 100%; display: grid; grid-template-columns: repeat(3, 1fr); padding-top: 22px; }
.scale ol::before { content: ""; position: absolute; left: 16.6%; right: 16.6%; top: 7px; height: 1px; background: var(--acc); opacity: .6; }
.scale li { position: relative; text-align: center; font-size: 16px; letter-spacing: .06em; }
.scale li::before { content: ""; position: absolute; left: 50%; top: -20px; width: 9px; height: 9px; margin-left: -4.5px; border-radius: 50%; background: var(--morning); box-shadow: inset 0 0 0 1.5px var(--acc); }
.loud-fig { position: relative; padding: 18px 0; }
.meter.big { gap: 8px; }
.meter.big i { width: 9px; height: 9px; background: var(--acc); opacity: .18; }
.meter.big i:nth-child(-n+11) { opacity: .45; }
.meter.big i:nth-child(-n+8) { opacity: .95; }
.loud-fig .edge { position: absolute; top: 4px; bottom: 4px; left: 134px; border-left: 1.5px dashed var(--d-warn); }
/* 範囲の図:範囲外の線は薄く */
.area { width: 100%; fill: none; stroke: var(--acc); stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }
.area * { vector-effect: non-scaling-stroke; }
.area-room { opacity: .32; }
.area-box { stroke-dasharray: 4 5; stroke: var(--d-warn); fill: rgba(166, 74, 0, .06); }
.area-h { fill: var(--morning); stroke: var(--d-warn); }
.notice-sub { margin-top: clamp(48px, 5vw, 72px); display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.25fr); gap: clamp(20px, 3vw, 40px); align-items: stretch; }
.notice-sub > div { display: flex; flex-direction: column; padding: 30px 32px 32px; border-radius: 22px; background: #F1F8FA; border: 1px solid var(--d-line); }
.notice-sub .ic-l { color: var(--acc); margin-bottom: 12px; }
.notice-sub p { margin-top: 8px; color: var(--sub); font-size: 16.5px; max-width: 30em; }
@media (min-width: 761px) { .notice-sub p { min-height: 5.85em; } }
.shot-card { margin-top: 24px; align-self: center; width: min(300px, 100%); }
.shot-card .device img { aspect-ratio: 720 / 890; object-fit: cover; object-position: top; }
.pause .mins { margin-top: 22px; gap: 10px; }
.pause .mins li { padding: 4px 12px; border: 1px solid var(--line); border-radius: 6px; background: #fff; }
.mins.sm b { font-size: 34px; }
.tl { margin-top: 22px; }
.tl ol { border-left: 1px solid var(--acc); margin-left: 4px; }
.tl li { position: relative; display: grid; grid-template-columns: 56px 1fr; gap: 12px; padding: 8px 0 8px 22px; font-size: 16px; letter-spacing: .04em; }
.tl li::before { content: ""; position: absolute; left: -4px; top: 50%; width: 7px; height: 7px; margin-top: -3.5px; border-radius: 50%; background: #F1F8FA; box-shadow: 0 0 0 1.5px var(--acc); }
.tl time { font-family: var(--f-num); font-size: 16px; color: var(--acc); letter-spacing: .06em; }
.tl figcaption { margin-top: 10px; font-size: 14.5px; color: var(--note); }
.caution-line { margin-top: clamp(40px, 4vw, 56px); display: grid; grid-template-columns: 20px minmax(0, 1fr); column-gap: 12px; align-items: start; padding: 20px 24px; border: 1px solid rgba(166, 74, 0, .45); border-radius: 16px; background: #FFF8EE; font-size: 16px; line-height: 1.8; color: var(--fg); }
.caution-line .ic { color: var(--d-warn); width: 20px; height: 20px; margin-top: .25em; }
@media (max-width: 760px) {
  .detect > li { grid-template-columns: 1fr; gap: 22px; padding: 30px 0; }
  .notice-sub { grid-template-columns: 1fr; }
  .notice-sub > div { padding: 24px 20px 26px; }
  .caution-line { padding: 16px 18px; font-size: 15.5px; }
}

/* ---------- 残す(アクアの面) ---------- */
.keep { padding: 0 clamp(12px, 2.4vw, 40px); }
.keep-panel { max-width: 1440px; margin: 0 auto; padding: var(--sec) 0; border-radius: 32px; background: var(--aqua); overflow: hidden; }
.keep-in { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 0 clamp(32px, 5vw, 80px); align-items: end; }
.keep .label .no::after { opacity: 1; }
.keep .body { color: var(--fg); }
/* 「約60秒」はひとかたまり。その下に「さかのぼって録画」 */
.keep-num { justify-self: end; display: inline-flex; flex-direction: column; width: max-content; color: var(--fg); }
.keep-num .big { display: flex; align-items: baseline; line-height: .82; }
.keep-num .pre, .keep-num .unit { font-weight: 400; font-size: clamp(32px, 3.4vw, 48px); }
.keep-num .num { font-family: var(--f-num); font-weight: 200; font-size: clamp(150px, 20vw, 290px); letter-spacing: -.04em; margin: 0 .04em 0 .02em; }
.keep-num .sub { margin-top: 18px; padding-top: 14px; border-top: 1.5px solid var(--fg); font-size: 20px; font-weight: 500; letter-spacing: .2em; }
/* 時間軸 */
.rec { grid-column: 1 / -1; margin-top: clamp(56px, 6vw, 80px); display: grid; grid-template-columns: .45fr 1.6fr 0 1.5fr 0; align-items: start; font-size: 14px; letter-spacing: .06em; color: var(--fg); }
.rec > div { position: relative; height: 92px; }
.rec .bar { position: absolute; left: 0; right: 0; top: 34px; height: 1.5px; background: var(--fg); }
.rec-lead .bar { background: none; border-top: 1.5px dashed rgba(8, 28, 34, .6); }
.rec-back .bar { top: 25px; height: 20px; background: rgba(255, 255, 255, .6); border-top: 1.5px solid var(--fg); border-bottom: 1.5px solid var(--fg); }
.rec-back .t, .rec-on .t { position: absolute; left: 0; right: 0; top: 56px; text-align: center; display: flex; flex-direction: column; line-height: 1.5; }
.rec-back .t b, .rec-on .t b { font-weight: 500; font-size: 15px; }
.rec-back .t span { font-size: 14px; }
.rec-pt, .rec-end { width: 0; }
.rec .pin { position: absolute; left: -11px; top: 24px; width: 22px; height: 22px; border-radius: 50%; border: 1.5px solid var(--fg); background: var(--aqua); }
.rec-pt .pin::after { content: ""; position: absolute; inset: 4px; border-radius: 50%; background: var(--fg); }
.rec-pt .t { position: absolute; top: -2px; left: 0; transform: translateX(-50%); white-space: nowrap; font-weight: 500; }
.rec-end .t { position: absolute; top: 56px; left: 0; transform: translateX(-50%); white-space: nowrap; font-weight: 500; }
html.js .rec .bar { transform: scaleX(0); transform-origin: left center; transition: transform 1s var(--ease); }
html.js .rec.is-in .bar { transform: none; }
html.js .rec.is-in .rec-back .bar { transition-delay: .4s; }
html.js .rec.is-in .rec-on .bar { transition-delay: .9s; }
@media (prefers-reduced-motion: reduce) { html.js .rec .bar { transform: none; transition: none; } }
.keep-list { grid-column: 1 / -1; margin-top: clamp(40px, 4vw, 56px); display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 32px clamp(28px, 4vw, 64px); }
.keep-list li { padding-top: 22px; border-top: 1px solid rgba(8, 28, 34, .38); }
.keep-list .ic-l { color: var(--fg); margin-bottom: 14px; }
.keep-list p { font-size: 16.5px; color: var(--fg); }
@media (max-width: 900px) {
  .keep-in { grid-template-columns: 1fr; }
  .keep-num { justify-self: start; margin-top: 32px; }
  .keep-list { grid-template-columns: 1fr; }
}
@media (max-width: 620px) {
  /* スマホでは縦の時間軸。ラベルはすべて右側に */
  .rec { grid-template-columns: 1fr; font-size: 15px; margin-top: 18px; }
  .rec > div { height: auto; min-height: 40px; padding-left: 48px; }
  .rec .bar { left: 14px; right: auto; top: 0; bottom: 0; width: 1.5px; height: auto; }
  .rec-lead .bar { border-top: 0; border-left: 1.5px dashed rgba(13, 35, 45, .5); }
  .rec > .rec-back { min-height: 110px; display: flex; align-items: center; }
  .rec-back .bar { left: 4px; top: 0; width: 22px; height: auto; border: 0; border-left: 1.5px solid var(--fg); border-right: 1.5px solid var(--fg); }
  .rec-back .t, .rec-on .t { position: static; text-align: left; }
  .rec > .rec-on { min-height: 96px; display: flex; align-items: center; }
  .rec > .rec-pt, .rec > .rec-end { height: 0; min-height: 0; padding: 0; overflow: visible; width: auto; }
  .rec .pin { left: 4px; top: -11px; }
  .rec-pt .t, .rec-end .t { top: -12px; left: 48px; transform: none; }
  html.js .rec .bar { transform: scaleY(0); transform-origin: center top; }
}

/* ---------- つながり方 ---------- */
.connect { padding: var(--sec) 0; }
.connect-head { max-width: 780px; }
.routes { margin-top: clamp(48px, 5vw, 72px); display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(16px, 2vw, 28px); }
.routes li { padding: 30px clamp(20px, 2.4vw, 34px) 34px; border-radius: 26px; background: rgba(255, 255, 255, .72); border: 1px solid rgba(18, 112, 130, .16); }
.route { width: 100%; color: var(--acc); margin-bottom: 24px; }
.route .main { stroke-width: calc(var(--swu, 1.5) * 1.5); }
.route .dash { fill: none; stroke: var(--acc); stroke-width: 1.5; stroke-dasharray: 2 6; stroke-linecap: round; vector-effect: non-scaling-stroke; }
.routes h3 { font-size: 20px; font-weight: 500; }
.routes p { margin-top: 10px; color: var(--sub); font-size: 16.5px; }
.sync { margin-top: 40px; display: grid; grid-template-columns: 20px minmax(0, 1fr); column-gap: 12px; font-size: 16.5px; color: var(--fg); }
.sync .ic { color: var(--acc); width: 20px; height: 20px; margin-top: .3em; }
@media (max-width: 1000px) {
  .routes { grid-template-columns: 1fr; }
  .routes li { display: grid; grid-template-columns: minmax(0, 320px) minmax(0, 1fr); gap: 0 32px; align-items: center; }
  .routes li .route { grid-row: span 3; margin: 0; }
}
@media (max-width: 620px) {
  .routes { gap: 0; padding: 4px 18px; border-radius: 22px; background: rgba(255, 255, 255, .78); border: 1px solid rgba(18, 112, 130, .16); }
  .routes li { grid-template-columns: 118px minmax(0, 1fr); gap: 0 14px; align-items: start; padding: 22px 0; border: 0; border-radius: 0; background: none; }
  .routes li + li { border-top: 1px solid var(--line); }
  .routes li .route { grid-row: span 3; margin: 4px 0 0; }
  .routes h3 { font-size: 17.5px; }
  .routes p { margin-top: 6px; font-size: 15.5px; line-height: 1.8; }
}
@media (max-width: 400px) {
  .routes li { grid-template-columns: 1fr; }
  .routes li .route { grid-row: auto; width: 150px; margin: 0 0 12px; }
}

/* ---------- 家族で ---------- */
.family { padding: var(--sec) 0; }
.family-in { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); gap: clamp(48px, 6vw, 110px); align-items: center; }
.fours { margin-top: 40px; display: grid; grid-template-columns: 1fr 1fr; border-top: 1px solid var(--line); }
.four { padding: 22px 20px 24px 0; display: flex; flex-direction: column; justify-content: space-between; gap: 10px; border-bottom: 1px solid var(--line); }
.four + .four { padding-left: 24px; border-left: 1px solid var(--line); }
.four .k { font-size: 15px; color: var(--sub); letter-spacing: .06em; min-height: 3.4em; }
.four .v { display: flex; align-items: baseline; gap: 6px; color: var(--acc); line-height: .9; }
.four .pre { font-size: 16px; color: var(--fg); }
.four b { font-family: var(--f-num); font-weight: 200; font-size: clamp(130px, 12vw, 180px); letter-spacing: -.02em; }
.four .u { font-size: 26px; font-weight: 400; }
.roles { margin-top: 30px; }
.roles p { color: var(--sub); font-size: 16.5px; }
/* 権限の名前は札で示す(押せるボタンに見せない) */
.tags { margin-top: 12px; display: flex; flex-wrap: wrap; gap: 8px 10px; }
.tags li { display: inline-flex; align-items: center; gap: 8px; padding: 6px 12px; border: 1px solid var(--line); border-radius: 6px; font-size: 15px; font-weight: 500; letter-spacing: .04em; color: var(--fg); }
.tags .ic { color: var(--acc); width: 18px; height: 18px; }
.ipad { width: 100%; }
.ipad-frame { border-radius: 30px; padding: 14px; background: #07151B; box-shadow: 0 0 0 1px #31515D, 0 40px 70px -36px rgba(23, 47, 64, .55); }
.ipad-ui { border-radius: 18px; background: var(--night); padding: 16px; color: var(--n-text); }
.ipad-tabs { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 6px; }
.ipad-tabs span { padding: 7px 8px; border-radius: 9px; background: #1B3541; font-size: 12px; font-weight: 500; letter-spacing: .04em; white-space: nowrap; overflow: hidden; }
.ipad-tabs .on { background: #2F6E7E; }
.ipad-row { display: flex; align-items: center; justify-content: space-between; margin: 12px 2px 10px; font-size: 12px; color: #C2D2D8; }
.ipad-row .sw { width: 30px; height: 18px; border-radius: 999px; background: var(--aqua); position: relative; }
.ipad-row .sw::after { content: ""; position: absolute; right: 2px; top: 2px; width: 14px; height: 14px; border-radius: 50%; background: #fff; }
.ipad-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.ipad-grid .cell { position: relative; display: grid; place-items: center; aspect-ratio: 16 / 10; border-radius: 10px; background: linear-gradient(180deg, #17323D, #0F242D); color: #B3E9F0; }
.ipad-grid .cell b { position: absolute; left: 10px; top: 7px; font-size: 12px; font-weight: 500; letter-spacing: .06em; color: #D2E6EB; }
.ipad-grid svg { width: 76%; margin-top: 12px; fill: none; stroke: currentColor; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }
.ipad-grid svg * { vector-effect: non-scaling-stroke; }
.ipad figcaption { margin-top: 18px; font-size: 14.5px; color: var(--note); }
@media (max-width: 960px) { .family-in { grid-template-columns: 1fr; } }
@media (max-width: 480px) {
  .fours { margin-top: 28px; }
  .four { padding: 18px 12px 20px 0; }
  .four + .four { padding-left: 14px; }
  .four { justify-content: flex-start; gap: 18px; }
  .four .k { font-size: 13.5px; line-height: 1.7; min-height: 3.4em; }
  .four b { font-size: 72px; }
  .four .u { font-size: 20px; }
  .four .pre { font-size: 14px; }
  .ipad-frame { border-radius: 22px; padding: 8px; }
  .ipad-ui { padding: 10px; border-radius: 14px; }
  .ipad-tabs { gap: 4px; grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .ipad-tabs span { padding: 5px 4px; text-align: center; }
  .ipad-grid { gap: 5px; }
  .ipad-grid .cell b { left: 6px; top: 4px; }
  .ipad figcaption { text-align: left; }
}

/* ---------- ご利用にあたって・よくある質問 ---------- */
.terms { padding: var(--sec) 0; }
.faq { padding: var(--sec) 0; }
.terms-in, .faq-in { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(40px, 6vw, 110px); }
.terms-head .h2 { max-width: 13em; }
.side-art { width: min(240px, 70%); margin-top: 48px; color: var(--acc); }
.terms-list { border-top: 1px solid var(--line); }
.terms-list li { display: grid; grid-template-columns: 52px minmax(0, 1fr); padding: 22px 0 24px; border-bottom: 1px solid var(--line); }
.terms-list .sn { margin: .55em 0 0; }
.terms-list p { font-size: 16.5px; color: var(--sub); max-width: 34em; }
.terms-list strong { display: block; color: var(--fg); font-weight: 500; font-size: 18px; }
.faq-list { border-top: 1px solid var(--line); }
.faq-list details { border-bottom: 1px solid var(--line); }
.faq-list summary { position: relative; display: flex; align-items: center; min-height: 78px; padding: 18px 56px 18px 0; cursor: pointer; list-style: none; font-size: 18px; font-weight: 500; letter-spacing: .05em; color: var(--fg); border-radius: 8px; }
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::before, .faq-list summary::after { content: ""; position: absolute; right: 14px; top: 50%; width: 16px; height: 1.5px; background: var(--acc); transition: transform .3s var(--ease); }
.faq-list summary::after { transform: rotate(90deg); }
.faq-list details[open] summary::after { transform: rotate(0); }
.faq-list summary:hover, .faq-list details[open] summary { color: var(--acc); }
.faq-list .a { padding: 0 56px 28px 0; }
.faq-list .a p { color: var(--sub); font-size: 16.5px; max-width: 34em; }
@media (max-width: 960px) {
  .terms-in, .faq-in { grid-template-columns: 1fr; }
  .side-art { display: none; }
}

/* ---------- 公開準備(朝。太陽はここで1度だけ) ---------- */
.launch { padding: var(--sec) 0; overflow: hidden; }
.launch-in { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); gap: clamp(40px, 6vw, 110px); align-items: center; }
.window-wrap { position: relative; justify-self: center; width: 100%; max-width: 560px; }
.window-wrap::before { content: ""; position: absolute; left: 66%; top: 31%; width: 120%; aspect-ratio: 1; transform: translate(-50%, -50%); border-radius: 50%; background: radial-gradient(closest-side, rgba(255, 214, 150, .55), rgba(255, 224, 176, .18) 50%, rgba(255, 224, 176, 0)); pointer-events: none; }
.window { position: relative; width: 100%; color: var(--d-aqua); }
.window .sun { stroke: #C77A1C; }
.launch .label .en { font-size: 13px; letter-spacing: .3em; text-transform: uppercase; }
.launch .body { margin-top: 22px; }
.launch-req { margin-top: 14px; }
.badge-day { margin-top: 16px; }
@media (max-width: 860px) {
  .launch-in { grid-template-columns: 1fr; }
  .window-wrap { max-width: 360px; justify-self: start; order: 2; }
}

/* ---------- フッター ---------- */
.ft { background: var(--d-sel); color: var(--d-text); padding: 0 0 48px; }
.ft-note { padding: 28px 0; border-bottom: 1px solid rgba(18, 112, 130, .2); font-size: 14.5px; color: #3E5763; }
.ft-row { margin-top: 32px; display: flex; flex-wrap: wrap; align-items: center; gap: 18px 32px; }
.ft .brand img { width: 32px; height: 32px; border-radius: 8px; box-shadow: none; }
.ft-nav { display: flex; flex-wrap: wrap; gap: 4px 8px; margin-left: auto; }
.ft-nav a { display: inline-flex; align-items: center; gap: 6px; min-height: 44px; padding: 0 12px; font-size: 15px; text-decoration: none; color: var(--d-text); border-radius: 999px; }
.ft-nav a:hover { background: rgba(255, 255, 255, .7); }
.ft-nav .ic { width: 14px; height: 14px; }
.ft small { font-family: var(--f-num); font-size: 14px; letter-spacing: .1em; color: var(--d-sub); }
@media (max-width: 620px) {
  .ft-row { flex-direction: column; align-items: flex-start; }
  .ft-nav { margin-left: -12px; }
}

/* ---------- スマホ ---------- */
@media (max-width: 700px) {
  :root { --hd: 106px; }
  .hd-in { height: 60px; }
  .hd-nav { top: 60px; }
  body { font-size: 16px; line-height: 1.9; }
  .brand-ja { font-size: 14px; }
  .brand img { width: 30px; height: 30px; }
  .hd-status { font-size: 12.5px; padding: 0 10px; }
  .hd-nav a { padding: 0 8px; }
  .hero { padding-top: calc(var(--hd) + 24px); }
  /* 見出しのすぐ下に寝室の線画を出す */
  .hero-copy { display: contents; }
  .hero-in { display: flex; flex-direction: column; }
  .eyebrow { order: 1; font-size: 13.5px; gap: 10px; }
  .eyebrow::before { width: 16px; }
  .hero-title { order: 2; margin-top: 16px; font-size: min(8.5vw, 36px); line-height: 1.38; }
  .hero-lead { order: 3; margin-top: 16px; font-size: 16px; line-height: 1.8; }
  .hero-art { order: 4; margin-top: 18px; }
  .hero-status { order: 5; margin-top: 22px; gap: 10px 18px; }
  .marks { order: 6; margin-top: 18px; flex-direction: column; gap: 6px; font-size: 14.5px; }
  .door { height: 100px; }
  .h2 { font-size: clamp(27px, 7.8vw, 36px); line-height: 1.42; }
  .h2-xl { font-size: clamp(34px, 10.4vw, 48px); line-height: 1.3; }
  .h2-sm { font-size: clamp(24px, 6.6vw, 30px); }
  .body { margin-top: 20px; }
  .steps p, .detect p, .notice-sub p, .keep-list p, .routes p, .roles p, .faq-list .a p, .terms-list p, .sync { font-size: 16px; }
  .keep-num .num { font-size: clamp(130px, 40vw, 180px); }
  .keep-num .pre, .keep-num .unit { font-size: 30px; }
  .keep-num .sub { font-size: 17px; }
  .faq-list summary { font-size: 16.5px; padding-right: 44px; }
  .faq-list .a { padding-right: 0; }
  .terms-list strong { font-size: 17px; }
  .terms-list li { grid-template-columns: 40px minmax(0, 1fr); }
}
@media (max-width: 360px) {
  .h2-xl { font-size: 34px; }
  .h2 { font-size: 26px; }
  .count .num { font-size: 96px; }
  .four b { font-size: 60px; }
  .hd-status { font-size: 12px; padding: 0 8px; }
  .brand-en { display: none; }
}
