/* みまもりサイン 紹介ページ */

@font-face {
  font-family: "Mimamori Maru";
  src: url("fonts/mimamori-maru-bold.woff2?v=20261112c") format("woff2");
  font-weight: 700;
  font-display: swap;
}
@font-face {
  font-family: "Mimamori Text";
  src: url("fonts/mimamori-text-regular.woff2?v=20261112c") format("woff2");
  font-weight: 400;
  font-display: swap;
}
@font-face {
  font-family: "Mimamori Text";
  src: url("fonts/mimamori-text-medium.woff2?v=20261112c") format("woff2");
  font-weight: 500;
  font-display: swap;
}
@font-face {
  font-family: "Mimamori Text";
  src: url("fonts/mimamori-text-bold.woff2?v=20261112c") format("woff2");
  font-weight: 700;
  font-display: swap;
}

:root {
  --paper: #F6FCFA;
  --ink: #173E38;
  --muted: #4C6761;
  --btn: #007567;
  --green: #007D70;
  --tgreen: #006C60;
  --mint: #D9F7EA;
  --line: #D3EAE2;
  --sky: #DDF3FF;
  --butter: #FFF2B8;
  --amber: #86521C;
  --leaf: #19B691;
  --fresh: #69DCA0;
  --lime: #8DDF81;
  --sun: #FFD65E;
  --coral: #F38D70;
  --coral-ink: #A8432A;
  --house: #ABE9D8;
  --deep: #0B5B50;
  --deeper: #08463D;

  --maru: "Mimamori Maru", "Zen Maru Gothic", "Hiragino Maru Gothic ProN", "Hiragino Sans", sans-serif;
  --text: "Mimamori Text", "Noto Sans JP", "Hiragino Sans", "Hiragino Kaku Gothic ProN", "Yu Gothic", sans-serif;
  --ease: cubic-bezier(.22, .7, .2, 1);
  --pad: clamp(20px, 5vw, 80px);
  --r-xl: 44px;
  --r-lg: 28px;
  --r-md: 18px;
  --hd-h: 76px;
}

*, *::before, *::after { box-sizing: border-box; }
html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  scroll-padding-top: calc(var(--hd-h) + 24px);
}
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--text);
  font-size: 17px;
  line-height: 2;
  letter-spacing: .04em;
  line-break: strict;
  word-break: keep-all;
  overflow-wrap: anywhere;
  text-autospace: normal;
  text-spacing-trim: trim-start;
  -webkit-font-smoothing: antialiased;
}
img, svg { display: block; max-width: 100%; }
img { height: auto; }
p, h1, h2, h3, ul, ol, dl, dd, figure { margin: 0; padding: 0; }
ul, ol { list-style: none; }
a { color: inherit; }
button { font: inherit; color: inherit; letter-spacing: inherit; }
.nw { white-space: nowrap; }
.vh {
  position: absolute !important; width: 1px; height: 1px; margin: -1px; padding: 0;
  overflow: hidden; clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap; border: 0;
}
.defs { position: absolute; width: 0; height: 0; overflow: hidden; }
.wrap { width: 100%; max-width: calc(1280px + var(--pad) * 2); margin-inline: auto; padding-inline: var(--pad); }
.pc { display: inline; }
.sp { display: none; }
.steps-mini { display: none; }
.app-name { white-space: nowrap; }

:focus-visible {
  outline: 3px solid var(--green);
  outline-offset: 3px;
  border-radius: 10px;
}
.day :focus-visible, .dusk :focus-visible, .ft :focus-visible { outline-color: var(--sun); }

.skip {
  position: fixed; left: 16px; top: 12px; z-index: 100;
  padding: 10px 18px; border-radius: 999px;
  background: var(--deep); color: #fff; font-weight: 700; text-decoration: none;
  transform: translateY(-160%); transition: transform .2s var(--ease);
}
.skip:focus { transform: none; }

/* ---------- 見出しの共通 ---------- */
.kicker, .h2, .h3, .eyebrow, .hero-title, .brand-name, .side-label, .scr-title, .genki-label,
.way-no, .flow-time, .flow-title, .fg-title, .ten, .sign-title, .sign-no, .keep-title, .q, .stamp,
.hd-nav, .hd-status, .mid-cap, .ns-name, .dusk-status, .cl-n, .sz-k, .role, .toggles, .grace, .tick, .code, .namebox {
  font-feature-settings: "palt";
}
.kicker {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--maru); font-weight: 700; font-size: 15px; letter-spacing: .04em;
  color: var(--tgreen); line-height: 1.4;
}
.kicker::before {
  content: ""; width: 26px; height: 2px; border-radius: 2px; background: currentColor;
}
.kicker-light { color: var(--fresh); }
.kicker-amber { color: var(--amber); }
.h2 {
  font-family: var(--maru); font-weight: 700;
  font-size: clamp(32px, 4.6vw, 66px); line-height: 1.34; letter-spacing: -.03em;
  margin-top: 18px;
}
.h2-sm { font-size: clamp(30px, 3.6vw, 50px); }
.h3 {
  font-family: var(--maru); font-weight: 700;
  font-size: clamp(26px, 2.6vw, 38px); line-height: 1.35; letter-spacing: -.01em;
}
.hang { margin-left: -.5em; }
.sec-lead { margin-top: 26px; max-width: 34em; color: var(--muted); }
.sec-head { position: relative; }

/* ---------- ヘッダー ---------- */
.hd {
  position: fixed; inset: 0 0 auto; z-index: 50;
  padding: 12px var(--pad) 0;
  pointer-events: none;
}
.hd-bar {
  pointer-events: auto;
  max-width: 1320px; margin-inline: auto;
  height: 60px; padding: 0 10px 0 12px;
  display: flex; align-items: center; gap: 24px;
  background: rgba(246, 252, 250, .97);
  border: 2px solid var(--line);
  border-radius: 999px;
}
.brand {
  display: inline-flex; align-items: center; gap: 10px;
  text-decoration: none; border-radius: 999px; padding: 4px 8px 4px 4px; min-height: 44px;
}
.brand img { width: 40px; height: 40px; border-radius: 11px; }
.brand-name { white-space: nowrap; font-family: var(--maru); font-weight: 700; font-size: 19px; letter-spacing: .01em; color: var(--deep); line-height: 1.2; }
.hd-nav { display: flex; gap: 2px; margin-left: auto; font-family: var(--maru); font-weight: 700; font-size: 15px; line-height: 1.3; letter-spacing: 0; }
.hd-nav a {
  display: inline-flex; align-items: center; min-height: 44px; padding: 0 12px; border-radius: 999px;
  text-decoration: none; color: var(--ink);
  transition: background-color .2s var(--ease), color .2s var(--ease);
}
.hd-nav a:hover { background: var(--mint); color: var(--tgreen); }
.hd-status {
  display: inline-flex; align-items: center; gap: 8px; flex: none;
  height: 36px; padding: 0 14px; border-radius: 8px;
  border: 1.5px solid rgba(11, 91, 80, .45); color: var(--deep); background: transparent;
  font-family: var(--maru); font-weight: 700; font-size: 14px; letter-spacing: .03em; line-height: 1.2;
}
.hd-status .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--sun); box-shadow: 0 0 0 2px rgba(255, 214, 94, .35); }

/* ---------- ヒーロー ---------- */
.hero { position: relative; padding-top: calc(var(--hd-h) + clamp(20px, 2.4vw, 34px)); overflow: hidden; }
.stage::before {
  /* 朝の空の円(2軒のあいだ) */
  content: ""; position: absolute; z-index: 0;
  width: min(440px, 50vw); aspect-ratio: 1; border-radius: 50%;
  left: 50%; top: 18px; transform: translateX(-50%);
  background: var(--sky);
}
.hero-head {
  display: grid; grid-template-columns: minmax(0, 7.4fr) minmax(0, 4.6fr);
  column-gap: clamp(24px, 4vw, 72px); align-items: start;
}
.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--maru); font-weight: 700; font-size: 15px; letter-spacing: .08em; color: var(--tgreen); line-height: 1.4;
  padding: 8px 18px 8px 14px; border-radius: 999px; background: #fff; border: 2px solid var(--line);
}
.eyebrow-heart { width: 18px; height: 18px; fill: var(--coral); }
.eyebrow-sep { width: 1.5px; height: 14px; background: rgba(0, 117, 103, .35); }
.hero-title {
  margin-top: 18px;
  font-family: var(--maru); font-weight: 700;
  font-size: clamp(40px, 6vw, 82px); line-height: 1.16; letter-spacing: -.04em;
  color: var(--ink);
}
.hero-title .ln { display: block; white-space: nowrap; }
.hero-title em {
  font-style: normal; color: var(--green);
  background: linear-gradient(transparent 62%, var(--butter) 62%, var(--butter) 88%, transparent 88%);
  padding-inline: .04em;
}
.hero-aside { padding-top: 4px; }
.hero-lead { font-size: clamp(18px, 1.5vw, 21px); line-height: 1.85; font-weight: 500; letter-spacing: .03em; max-width: 22em; }
.promises { margin-top: 14px; display: grid; grid-template-columns: max-content max-content; gap: 6px 22px; }
.promises li:not(.req) { grid-column: 1 / -1; }
.promises li { display: flex; align-items: center; gap: 12px; font-weight: 500; font-size: 17px; line-height: 1.5; }
.pm-ico {
  flex: none; width: 34px; height: 34px; border-radius: 50%;
  display: grid; place-items: center; background: var(--butter);
}
.pm-ico svg { width: 20px; height: 20px; fill: none; stroke: var(--amber); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.pm-dev { background: var(--mint); }
.pm-dev svg { stroke: var(--green); }
.req-k { font-size: 14px; font-weight: 500; color: var(--muted); }
.req-v { font-family: var(--maru); font-weight: 700; font-size: 17px; color: var(--ink); letter-spacing: .01em; }
.promises li.req { gap: 8px; padding-top: 10px; border-top: 2px dashed var(--line); margin-top: 4px; }
.promises li.req .pm-ico { width: 28px; height: 28px; }

/* ステージ(2軒の家と体験) */
.stage { position: relative; margin-top: clamp(16px, 2vw, 28px); padding-bottom: 22px; }
.stage-hills {
  position: absolute; left: 0; right: 0; bottom: 112px; width: 100%; height: 300px; z-index: 0;
}
.stage-hills + .stage-inner::after { content: none; }
.stage::after {
  /* 丘の下の地面 */
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 113px; background: var(--fresh); z-index: 0;
}
.stage-inner {
  position: relative; z-index: 1;
  display: grid; grid-template-columns: 34fr 32fr 34fr; align-items: stretch;
}
.road { position: absolute; pointer-events: none; }
.road-h { left: var(--pad); right: var(--pad); bottom: 0; width: calc(100% - var(--pad) * 2); height: 220px; z-index: 0; }
.road-bed { fill: none; stroke: var(--paper); stroke-width: 26; stroke-linecap: round; vector-effect: non-scaling-stroke; }
.road-line { fill: none; stroke: var(--sun); stroke-width: 3; stroke-dasharray: 2 16; stroke-linecap: round; vector-effect: non-scaling-stroke; }
.road-v { display: none; }

.side { position: relative; z-index: 1; display: flex; flex-direction: column; align-items: center; }
.side-me { grid-column: 1; grid-row: 1; }
.mid { grid-column: 2; grid-row: 1; }
.side-family { grid-column: 3; grid-row: 1; }
.side .screen { flex: 1 1 auto; display: flex; flex-direction: column; }
.side .screen .fcard { flex: 1 1 auto; }
.side-label {
  order: 3; position: relative; z-index: 1;
  display: flex; flex-direction: column; align-items: center; gap: 2px; margin-top: 4px; text-align: center;
  font-family: var(--maru); font-weight: 700; line-height: 1.4;
}
.side-who { font-size: 19px; letter-spacing: .01em; }
.side-role { font-size: 13px; color: var(--deeper); letter-spacing: .02em; }

.screen {
  position: relative; width: min(100%, 352px);
  background: var(--paper); border: 2px solid var(--line); border-radius: 34px;
  padding: 20px 20px 22px;
}
.screen::after {
  /* 家へ向かう吹き出しのしっぽ */
  content: ""; position: absolute; left: 50%; bottom: -13px; width: 24px; height: 24px;
  background: var(--paper); border-right: 2px solid var(--line); border-bottom: 2px solid var(--line);
  transform: translateX(-50%) rotate(45deg); border-radius: 0 0 6px 0;
}
.scr-app {
  display: inline-flex; align-items: center; gap: 6px; padding: 5px 12px 5px 8px; border-radius: 999px;
  background: #fff; border: 1.5px solid var(--line);
  font-family: var(--maru); font-weight: 700; font-size: 13px; line-height: 1.3; color: var(--tgreen); letter-spacing: .06em;
}
.scr-app svg { width: 15px; height: 15px; fill: var(--coral); }
.scr-top { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.scr-top .scr-title { margin-top: 0; }
.scr-title { white-space: nowrap; margin-top: 14px; font-family: var(--maru); font-weight: 700; font-size: 20px; line-height: 1.4; letter-spacing: .04em; }
.scr-title-sm { margin-top: 0; margin-bottom: 12px; }
.scr-state { position: relative; margin-top: 6px; min-height: 40px; font-size: 15px; line-height: 1.5; color: var(--muted); }
.st-wait, .st-done { display: flex; align-items: center; gap: 8px; transition: opacity .35s var(--ease); }
.st-done {
  position: absolute; inset: 0; opacity: 0;
  padding: 0 12px; border-radius: 12px; background: var(--mint); color: var(--ink); font-weight: 700;
}
.st-done svg, .gs-done svg, .fs-done svg { width: 18px; height: 18px; flex: none; fill: var(--ink); }

.genki {
  position: relative; overflow: hidden; isolation: isolate;
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 4px;
  width: 100%; min-height: 110px; margin-top: 10px; padding: 14px 12px;
  border: 2px solid var(--btn); border-radius: 30px;
  background: var(--btn); color: #fff; cursor: pointer;
  transition: transform .16s var(--ease), background-color .45s var(--ease), color .45s var(--ease), border-color .45s var(--ease);
  -webkit-tap-highlight-color: transparent;
}
.genki::before {
  /* 押せることを示す下の厚み */
  content: ""; position: absolute; inset: auto 0 0; height: 8px; background: rgba(0, 0, 0, .14); z-index: -1;
  transition: opacity .2s var(--ease);
}
.genki:hover { background: #00695C; }
.genki:active, .genki.is-pressing { transform: translateY(4px) scale(.985); }
.genki:active::before, .genki.is-pressing::before { opacity: 0; }
.genki:focus-visible { outline-color: var(--sun); outline-offset: 4px; box-shadow: 0 0 0 3px var(--ink); }
.genki-label { font-family: var(--maru); font-weight: 700; font-size: clamp(34px, 3vw, 42px); line-height: 1.2; letter-spacing: .06em; }
.genki-sub { position: relative; display: grid; font-size: 14px; line-height: 1.5; letter-spacing: .04em; font-weight: 700; }
.gs-wait, .gs-done { grid-area: 1 / 1; display: flex; align-items: center; justify-content: center; gap: 6px; transition: opacity .35s var(--ease); }
.gs-done { opacity: 0; color: var(--tgreen); }
.gs-done svg { fill: var(--tgreen); }
.genki-ripple {
  position: absolute; left: 50%; top: 50%; width: 120%; aspect-ratio: 1; border-radius: 50%; z-index: -1;
  background: rgba(255, 255, 255, .35); transform: translate(-50%, -50%) scale(0); opacity: 0; pointer-events: none;
}
.genki.is-ripple .genki-ripple { animation: ripple .7s var(--ease) 1; }
@keyframes ripple {
  0% { transform: translate(-50%, -50%) scale(.05); opacity: .9; }
  100% { transform: translate(-50%, -50%) scale(1.1); opacity: 0; }
}
.st-done, .gs-done, .fs-done, .fm-done, .fm-how { visibility: hidden; }
.st-wait, .st-done, .gs-wait, .gs-done, .fs-wait, .fs-done, .fm-wait, .fm-done, .fm-how { transition: opacity .35s var(--ease), visibility .35s; }
.is-done .st-done, .is-done .gs-done, .is-arrived .fs-done, .is-arrived .fm-done, .is-arrived .fm-how { visibility: visible; }
.is-done .st-wait, .is-done .gs-wait, .is-arrived .fs-wait, .is-arrived .fm-wait { visibility: hidden; }
.is-done .genki { background: var(--mint); border-color: #8FD2BE; color: var(--tgreen); cursor: default; }
.is-done .genki:hover { background: var(--mint); }
.is-done .genki::before { opacity: 0; }
.is-done .gs-wait { opacity: 0; }
.is-done .gs-done { opacity: 1; }
.is-done .st-wait { opacity: 0; }
.is-done .st-done { opacity: 1; }

/* 家族側のカード */
.fcard { background: #fff; border: 2px solid var(--line); border-radius: 24px; padding: 14px 16px 16px; transition: border-color .5s var(--ease); }
.fcard-head { display: flex; align-items: center; gap: 10px; padding-bottom: 10px; border-bottom: 2px solid var(--line); }
.avatar { width: 38px; height: 38px; border-radius: 12px; background: var(--mint); display: grid; place-items: center; flex: none; }
.avatar svg { width: 22px; height: 22px; fill: var(--green); }
.fname { white-space: nowrap; font-family: var(--maru); font-weight: 700; font-size: 18px; line-height: 1.3; letter-spacing: .04em; }
.chev { width: 18px; height: 18px; margin-left: auto; fill: none; stroke: var(--green); stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; }
.fcard-status { position: relative; display: grid; margin-top: 12px; font-weight: 700; font-size: 15px; line-height: 1.5; color: var(--tgreen); }
.fs-wait, .fs-done { grid-area: 1 / 1; display: flex; align-items: center; gap: 8px; transition: opacity .4s var(--ease); }
.fs-done { opacity: 0; }
.fs-done svg { fill: var(--green); width: 20px; height: 20px; }
.ring { width: 18px; height: 18px; border-radius: 50%; border: 2.4px solid var(--green); flex: none; margin: 1px; }
.fcard-meta { margin-top: 10px; display: grid; gap: 4px; font-size: 13px; line-height: 1.5; }
.fcard-meta div { display: flex; justify-content: space-between; gap: 12px; }
.fcard-meta dt { color: var(--muted); }
.fcard-meta dd { position: relative; display: grid; font-family: var(--maru); font-weight: 700; font-size: 15px; color: var(--ink); text-align: right; }
.fm-wait, .fm-done { grid-area: 1 / 1; transition: opacity .4s var(--ease); }
.fm-done { opacity: 0; }
.fm-how { opacity: 0; transition: opacity .4s var(--ease); }
.is-arrived .fs-wait, .is-arrived .fm-wait { opacity: 0; }
.is-arrived .fs-done, .is-arrived .fm-done, .is-arrived .fm-how { opacity: 1; }
.is-arrived .fcard { border-color: var(--fresh); }

/* 家と窓のあかり */
.house { width: min(100%, 224px); margin-top: -6px; overflow: visible; }
.win-lit { fill: #FFE07D; opacity: 0; transition: opacity .6s var(--ease); }
.win-bar { fill: rgba(134, 82, 28, .45); transition: fill .6s var(--ease); }
.is-lit-me .house-me .win-bar, .is-lit-family .house-family .win-bar { fill: #86521C; }
.win-glow {
  opacity: 0; transform-box: fill-box; transform-origin: center; transform: scale(.6);
  transition: opacity .7s var(--ease), transform .9s var(--ease);
}
.house { --hs-win: #CFE6DE; }
@media (min-width: 761px) { .stage .house { --hs-bg: transparent; --hs-sky: transparent; } }
.is-lit-me .house-me .win-lit, .is-lit-family .house-family .win-lit { opacity: 1; }
.is-lit-me .house-me .win-glow, .is-lit-family .house-family .win-glow { opacity: 1; transform: scale(1); }

.mid { position: relative; align-self: stretch; display: flex; flex-direction: column; align-items: center; justify-content: flex-start; padding-top: 12px; text-align: center; }
.mid-sun {
  width: 92px; height: 92px; border-radius: 50%; background: var(--sun);
  box-shadow: 0 0 0 18px rgba(255, 214, 94, .28);
}
.mid-cap { margin-top: 104px; font-family: var(--maru); font-weight: 700; font-size: 17px; line-height: 1.7; color: var(--tgreen); letter-spacing: .05em; }

.traveler {
  position: absolute; left: 0; top: 0; z-index: 3; width: 40px; height: 40px; margin: -20px 0 0 -20px;
  opacity: 0; pointer-events: none; will-change: transform, opacity;
}
.traveler svg { width: 100%; height: 100%; fill: var(--coral); }
.traveler::before {
  content: ""; position: absolute; inset: -10px; border-radius: 50%; background: rgba(255, 255, 255, .7); z-index: -1;
}

.stage-foot { position: relative; z-index: 2; margin-top: 18px; display: flex; flex-direction: column; align-items: center; gap: 8px; text-align: center; }
.demo-hint { position: absolute; left: calc(34% - 18px); top: 134px; z-index: 3; margin: 0; min-height: 48px; display: flex; align-items: center; justify-content: center; font-family: var(--maru); font-weight: 700; font-size: 16px; line-height: 1.5; color: var(--deep); }
.hint-wait {
  position: relative; display: inline-flex; align-items: center; gap: 8px; padding: 8px 18px; border-radius: 999px;
  background: #fff; border: 1.5px solid #7CC4A4; box-shadow: 0 4px 12px rgba(13, 86, 68, .08);
}
.hint-wait::before {
  /* 押す場所(左のボタン)を指すしっぽ */
  content: ""; position: absolute; left: -8px; top: 50%; width: 14px; height: 14px; margin-top: -7px;
  background: #fff; transform: rotate(45deg); border-radius: 0 0 0 3px;
  border-left: 1.5px solid #7CC4A4; border-bottom: 1.5px solid #7CC4A4;
}
.is-done .hint-wait { display: none; }
.again {
  display: inline-flex; align-items: center; gap: 8px; min-height: 48px; padding: 0 24px;
  border: 2px solid var(--deep); border-radius: 999px; background: #fff; color: var(--deep);
  font-family: var(--maru); font-weight: 700; font-size: 16px; cursor: pointer;
  transition: background-color .2s var(--ease), color .2s var(--ease), transform .15s var(--ease);
}
.again::before {
  content: ""; width: 16px; height: 16px;
  background: currentColor;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4 12a8 8 0 1 0 2.4-5.7'/%3E%3Cpath d='M4 4v5h5'/%3E%3C/svg%3E") center / contain no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4 12a8 8 0 1 0 2.4-5.7'/%3E%3Cpath d='M4 4v5h5'/%3E%3C/svg%3E") center / contain no-repeat;
}
.again:hover { background: var(--deep); color: #fff; }
.again:active { transform: translateY(2px); }
.again[hidden] { display: none; }
.demo-note { font-size: 14px; line-height: 1.7; color: var(--deeper); padding: 4px 14px; border-radius: 10px; background: rgba(255, 255, 255, .75); }

/* ---------- 伝わり方 ---------- */
.ways { padding: clamp(96px, 11vw, 168px) 0 clamp(80px, 9vw, 140px); }
.ways-head { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); column-gap: 48px; align-items: end; }
.ways-head .kicker { grid-column: 1; }
.ways-head .h2 { grid-column: 1; }
.ways-head .sec-lead { grid-column: 2; grid-row: 2; margin-top: 0; padding-bottom: 10px; }
.way { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: clamp(20px, 3vw, 48px); align-items: center; margin-top: clamp(56px, 7vw, 104px); }
.way-art { position: relative; border-radius: var(--r-xl); overflow: hidden; padding: clamp(24px, 4vw, 56px); }
.way-art-mint { background: var(--mint); }
.way-art-sky { background: var(--sky); }
.ill { width: 100%; height: auto; }
.way-press .way-art { grid-column: 1 / span 6; }
.way-press .way-text { grid-column: 8 / span 5; }
.way-walk .way-art { grid-column: 7 / span 6; grid-row: 1; }
.way-walk .way-text { grid-column: 1 / span 5; grid-row: 1; }
.way-text { max-width: 33em; }
.way-walk { margin-top: clamp(48px, 6vw, 90px); }
.way-press { margin-top: clamp(44px, 4.4vw, 56px); }
.way-text > p { margin-top: 18px; }
.way-text .h3 { margin-top: 14px; }
.way-no { display: flex; align-items: center; gap: 12px; font-family: var(--maru); font-weight: 700; font-size: 15px; line-height: 1.4; color: var(--tgreen); letter-spacing: .06em; }
.way-no .num {
  width: 46px; height: 46px; border-radius: 50%; display: grid; place-items: center;
  background: var(--deep); color: #fff; font-size: 22px; letter-spacing: 0;
}
.way-sub { font-size: 16px; line-height: 1.9; color: #2C4C46; padding-left: 16px; border-left: 3px solid var(--fresh); }
.way-facts { margin-top: 22px; display: grid; gap: 12px; }
.way-facts li { position: relative; padding-left: 24px; font-size: 16px; line-height: 1.9; color: #2C4C46; }
.way-facts li::before { content: ""; position: absolute; left: 4px; top: .78em; width: 9px; height: 9px; border-radius: 50%; background: var(--leaf); }

.ruler { position: relative; display: grid; grid-template-columns: repeat(4, 1fr); margin: 8px 6% 0; padding-top: 22px; }
.ruler-line { position: absolute; left: 12.5%; right: 12.5%; top: 6px; height: 4px; border-radius: 4px; background: rgba(0, 117, 103, .22); }
.tick { white-space: nowrap; position: relative; display: flex; flex-direction: column; align-items: center; font-family: var(--maru); font-weight: 700; font-size: 15px; line-height: 1.3; color: var(--muted); }
.tick::before { content: ""; position: absolute; top: -22px; width: 14px; height: 14px; border-radius: 50%; background: #fff; border: 3px solid rgba(0, 117, 103, .45); }
.tick b { font-size: 28px; color: var(--ink); letter-spacing: .02em; }
.tick.is-rec b { color: var(--tgreen); }
.tick.is-rec::before { width: 22px; height: 22px; top: -26px; background: var(--sun); border-color: var(--btn); }
.tick em { margin-top: 6px; font-style: normal; font-size: 13px; padding: 3px 10px; border-radius: 999px; background: var(--deep); color: #fff; white-space: nowrap; letter-spacing: .04em; }

/* ---------- 1日の流れ(深い緑) ---------- */
.day {
  position: relative; background: var(--deep); color: #fff;
  padding: clamp(96px, 10vw, 160px) 0 clamp(88px, 9vw, 140px);
  border-radius: clamp(40px, 6vw, 96px);
}
.day .sec-lead { color: #CFEDE4; }
.day-head { display: grid; grid-template-columns: minmax(0, 8fr) minmax(0, 4fr); column-gap: 48px; align-items: end; }
.day-head .kicker, .day-head .h2 { grid-column: 1; }
.day-head .sec-lead { grid-column: 2; grid-row: 2; margin-top: 0; padding-bottom: 10px; }
.arc { margin-top: clamp(40px, 5vw, 72px); }
.arc-svg { width: 100%; height: auto; overflow: visible; }
.arc-track { fill: none; stroke: rgba(255, 255, 255, .22); stroke-width: 3; stroke-dasharray: 2 12; stroke-linecap: round; }
.arc-lit { fill: none; stroke: rgba(255, 242, 184, .85); stroke-width: 4; stroke-linecap: round; stroke-dasharray: 1 1; stroke-dashoffset: 0; }
.js .arc:not(.is-run) .arc-lit { stroke-dashoffset: 1; }
.arc-path { fill: none; stroke: none; }
.arc-focus { fill: none; stroke: var(--sun); stroke-width: 9; stroke-linecap: round; opacity: 0; transition: opacity .6s var(--ease) 3.2s; }
html:not(.js) .arc-focus, .arc.is-run .arc-focus { opacity: 1; }
.arc-break rect { fill: var(--deep); }
.arc-break path { fill: none; stroke: var(--butter); stroke-width: 3; stroke-linecap: round; }
.arc-note { fill: var(--sun); font-family: var(--maru); font-weight: 700; font-size: 22px; }
.mk-s text { text-anchor: start; }
.horizon { stroke: rgba(255, 255, 255, .28); stroke-width: 2; }
.mk circle { fill: var(--deep); stroke: var(--butter); stroke-width: 4; }
.mk text { fill: #fff; font-family: var(--maru); font-weight: 700; font-size: 42px; text-anchor: middle; }
.mk-end text { text-anchor: start; }
.drops line { stroke: rgba(255, 242, 184, .5); stroke-width: 2; stroke-dasharray: 3 8; stroke-linecap: round; }

.mk-end text { fill: var(--sun); }
.sun-halo { fill: rgba(255, 214, 94, .22); }
.sun-core { fill: var(--sun); }

.flow { position: relative; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); column-gap: clamp(24px, 4vw, 64px); margin-top: clamp(28px, 3vw, 44px); }
.flow-item { position: relative; padding-top: 26px; border-top: 2px solid rgba(255, 255, 255, .22); }
.flow-item > p { font-size: 17px; line-height: 1.95; color: #DDF2EC; margin-top: 12px; }
.flow-dot { display: none; }
.flow-sun { display: none; }
.flow-time { margin: 0 !important; font-family: var(--maru); font-weight: 700; line-height: 1.1; color: #fff !important; }
.flow-time .t { font-size: clamp(52px, 5.4vw, 80px); letter-spacing: .01em; }
.flow-item:last-child .flow-time { color: var(--sun) !important; }
.flow-title { margin-top: 14px; font-family: var(--maru); font-weight: 700; font-size: clamp(20px, 1.7vw, 24px); line-height: 1.5; letter-spacing: 0; }
.notice {
  display: flex; align-items: center; gap: 12px; margin-top: 18px; padding: 12px 16px 12px 12px;
  background: rgba(246, 252, 250, .96); color: var(--ink); border-radius: 22px; max-width: 340px;
}
.notice img { width: 36px; height: 36px; border-radius: 9px; flex: none; }
.notice-body { display: flex; flex-direction: column; line-height: 1.45; }
.notice-app { font-size: 13px; color: var(--muted); font-weight: 700; }
.notice-text { font-size: 15px; font-weight: 700; }
.grace { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 16px !important; }
.grace span {
  display: inline-flex; align-items: baseline; gap: 6px; padding: 6px 14px; border-radius: 999px;
  border: 2px solid rgba(255, 255, 255, .35); font-family: var(--maru); font-weight: 700; font-size: 16px; line-height: 1.4; color: #fff;
}
.grace .on { background: var(--sun); border-color: var(--sun); color: var(--deeper); }
.grace small { font-size: 13px; }
.day-note { margin-top: clamp(40px, 5vw, 64px); font-size: 15px; line-height: 1.8; color: #CFEDE4; padding-left: 16px; border-left: 3px solid var(--sun); max-width: 46em; }

/* ---------- 家族の画面 ---------- */
.family { padding: clamp(100px, 11vw, 170px) 0 clamp(80px, 9vw, 140px); background: var(--paper); overflow: hidden; }
.family-top { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); column-gap: clamp(24px, 4vw, 64px); align-items: center; }
.family-head { padding-right: clamp(8px, 2vw, 32px); }
.family-head .h2 { font-size: clamp(32px, 3.9vw, 56px); }
.family-points { margin-top: 32px; display: grid; gap: 0; border-top: 2px solid var(--line); }
.family-points li { display: grid; grid-template-columns: 1fr; gap: 16px; padding: 16px 0; border-bottom: 2px solid var(--line); font-size: 16px; line-height: 1.8; }
.fp-k { font-family: var(--maru); font-weight: 700; font-size: 16px; color: var(--tgreen); font-feature-settings: "palt"; }
.devices { position: relative; padding: 0 0 15% 0; width: 100%; max-width: 600px; justify-self: end; }
.devices figure { position: relative; margin: 0; }
.ipad { width: 86%; }
.ipad-frame {
  position: relative; padding: 14px; border-radius: 34px; background: #1E3F3A;
  border: 2px solid #2D554F;
}
.ipad-frame img { border-radius: 21px; width: 100%; }
.ipad figcaption {
  position: static; display: inline-block; margin-top: 14px; font-family: var(--maru); font-weight: 700; font-size: 14px; line-height: 1.4;
  padding: 8px 16px; border-radius: 999px; background: var(--butter); color: var(--amber); letter-spacing: .05em;
}
.devices .iphone { position: absolute; right: 0; bottom: 0; width: 28%; }
.iphone-frame {
  padding: 9px; border-radius: 42px; background: #1E3F3A; border: 2px solid #2D554F;
}
.iphone-frame img { border-radius: 33px; width: 100%; aspect-ratio: 1320 / 2150; object-fit: cover; object-position: top; }
.family-grid {
  margin-top: clamp(56px, 7vw, 96px);
  display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: clamp(16px, 2vw, 28px);
}
.fg { border-radius: var(--r-xl); padding: clamp(28px, 3.4vw, 48px); }
.fg > p:not(.fg-title):not(.ten) { margin-top: 12px; font-size: 17px; line-height: 1.9; color: var(--muted); }
.fg-title { font-family: var(--maru); font-weight: 700; font-size: clamp(21px, 1.8vw, 25px); line-height: 1.45; letter-spacing: 0; }
.fg-ten { grid-column: span 4; background: var(--butter); color: var(--ink); }
.fg-ten > p:not(.fg-title):not(.ten) { color: #5A4A2C; }
.ten { display: flex; align-items: baseline; gap: 4px; font-family: var(--maru); font-weight: 700; line-height: 1; color: var(--amber); margin-bottom: 10px; }
.ten-n { font-size: clamp(74px, 7.4vw, 112px); letter-spacing: -.02em; }
.ten-u { font-size: 40px; }
.fg-call {
  grid-column: span 12; background: var(--mint);
  display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: clamp(16px, 2vw, 28px); align-items: center;
  padding: clamp(28px, 4vw, 56px) 0 0;
}
.fg-call-text { grid-column: 1 / span 5; padding: 0 0 clamp(28px, 4vw, 56px) clamp(28px, 3.4vw, 48px); }
.fg-call-shot { grid-column: 7 / span 5; grid-row: 1; margin: 0; justify-self: center; width: 100%; max-width: 340px; padding-bottom: clamp(28px, 4vw, 56px); }
.fg-call-shot img { width: 100%; border-radius: 22px; border: 2px solid #BDE6D6; background: var(--paper); }
.fg-call-shot figcaption { margin-top: 10px; font-size: 13px; line-height: 1.5; color: var(--muted); text-align: center; }
.call-ico { display: grid; place-items: center; width: 64px; height: 64px; border-radius: 50%; background: var(--btn); margin-bottom: 20px; }
.call-ico svg { width: 30px; height: 30px; fill: none; stroke: #fff; stroke-width: 2; stroke-linejoin: round; }
.fg-call-text .fg-title { font-size: clamp(24px, 2.4vw, 34px); }
.fg-call-text p:not(.fg-title) { margin-top: 12px; font-size: 17px; line-height: 1.9; color: var(--muted); }
.fg-notify { grid-column: span 8; background: #fff; border: 2px solid var(--line); display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); column-gap: clamp(24px, 3vw, 48px); align-items: center; }
.fg-notify-text p:not(.fg-title) { margin-top: 12px; font-size: 17px; line-height: 1.9; color: var(--muted); }
.tg-frame { background: #F1F7F5; border: 2px solid var(--line); border-radius: 20px; padding: 6px 18px 4px; }
.tg-head { display: flex; justify-content: space-between; align-items: center; gap: 10px; padding: 10px 0 8px; font-family: var(--maru); font-weight: 700; font-size: 14px; line-height: 1.4; color: var(--muted); }
.tg-ex { font-size: 13px; padding: 2px 10px; border-radius: 999px; border: 1.5px solid var(--line); background: #fff; color: var(--muted); }
.fg-notify .toggles { margin-top: 0; }
.fg-notify .toggles li:first-child { border-top: 0; }
.toggles { margin-top: 18px; display: grid; gap: 0; }
.toggles li > span:first-child { white-space: nowrap; }
.toggles li { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 14px 0; border-top: 2px solid var(--line); font-family: var(--maru); font-weight: 700; font-size: 15px; line-height: 1.4; }
.sw { position: relative; flex: none; width: 46px; height: 28px; border-radius: 999px; background: var(--btn); }
.sw:not(.on) { background: #C9D6D2; }
.sw:not(.on)::after { right: auto; left: 3px; }
.sw::after { content: ""; position: absolute; right: 3px; top: 3px; width: 22px; height: 22px; border-radius: 50%; background: #fff; }

/* ---------- はじめ方 ---------- */
.start { position: relative; background: var(--sky); padding: clamp(100px, 11vw, 170px) 0 clamp(64px, 6.5vw, 96px); overflow: hidden; }
.start-head { max-width: 900px; }
.trail { position: relative; margin-top: clamp(48px, 6vw, 88px); }
/* 地面: 波の上端から区画の下まで塗る(支柱は地面に刺さる) */
.trail-road { position: absolute; z-index: 1; left: calc(50% - 50vw); width: 100vw; max-width: none; bottom: calc(-1 * clamp(64px, 6.5vw, 96px)); height: calc(clamp(64px, 6.5vw, 96px) + 72px); }
.trail-road path { fill: var(--paper); }
.signs { position: relative; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(16px, 2vw, 28px); align-items: stretch; }
.sign { position: relative; display: flex; flex-direction: column; align-items: center; }
.sign:nth-child(2) .board { margin-top: 24px; }
.sign:nth-child(3) .board { margin-top: 8px; }
.sign:nth-child(4) .board { margin-top: 28px; }
.board {
  position: relative; z-index: 2; width: 100%;
  background: var(--paper); border: 2px solid #B9DDEE; border-radius: 30px;
  padding: 26px 24px 26px;
}
.post { position: relative; z-index: 0; flex: 1 0 104px; width: 8px; border-radius: 0 0 4px 4px; background: var(--leaf); }
.sign-no { display: flex; }
.sign-no span {
  width: 52px; height: 52px; border-radius: 50%; display: grid; place-items: center;
  background: var(--sun); color: var(--deeper); font-family: var(--maru); font-weight: 700; font-size: 26px; line-height: 1;
}
.sign-title { margin-top: 14px; font-family: var(--maru); font-weight: 700; font-size: clamp(20px, 1.7vw, 24px); line-height: 1.45; letter-spacing: 0; }
.sign-text { margin-top: 14px; font-size: 16px; line-height: 1.85; color: var(--muted); }
.sizes { margin-top: 14px; display: grid; gap: 6px; }
.sz { display: flex; align-items: baseline; justify-content: space-between; gap: 10px; padding: 6px 12px; border-radius: 12px; background: #fff; border: 1.5px solid var(--line); line-height: 1.3; }
.sz-k { font-size: 13px; color: var(--muted); font-weight: 700; white-space: nowrap; }
.sz-s { font-family: var(--maru); font-weight: 700; color: var(--ink); white-space: nowrap; }
.sz-1 .sz-s { font-size: 17px; }
.sz-2 .sz-s { font-size: 21px; }
.sz-3 .sz-s { font-size: 28px; }
.roles { margin-top: 14px; display: grid; gap: 8px; }
.role { display: flex; align-items: center; gap: 10px; padding: 12px 14px; border-radius: 16px; font-family: var(--maru); font-weight: 700; font-size: 15px; line-height: 1.4; }
.role svg { width: 20px; height: 20px; flex: none; }
.role-a { background: var(--btn); color: #fff; }
.role-a svg { fill: #fff; }
.role-b { background: var(--mint); color: var(--tgreen); }
.role-b svg { fill: var(--green); }
.namebox { margin-top: 14px; display: flex; align-items: center; min-height: 54px; padding: 0 16px; border-radius: 14px; background: #fff; border: 2px solid var(--btn); font-family: var(--maru); font-weight: 700; font-size: 19px; line-height: 1.3; }
.caret { width: 2px; height: 24px; margin-left: 3px; background: var(--btn); }
.code { margin-top: 14px; display: grid; grid-template-columns: repeat(6, 1fr); gap: 5px; }
.code span { display: grid; place-items: center; aspect-ratio: .8; border-radius: 10px; background: #fff; border: 2px solid var(--line); font-family: var(--maru); font-weight: 700; font-size: clamp(18px, 1.7vw, 24px); line-height: 1; color: var(--ink); }

/* ---------- 共有しないもの ---------- */
.privacy { padding: clamp(72px, 7.5vw, 110px) 0 clamp(100px, 11vw, 170px); }
.privacy-grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); column-gap: clamp(32px, 5vw, 96px); row-gap: 48px; align-items: start; }
.privacy-head { position: sticky; top: calc(var(--hd-h) + 40px); grid-row: span 2; }
.nosend { border-top: 2px solid var(--ink); }
.nosend li {
  display: grid; grid-template-columns: 56px minmax(0, 1fr) auto; align-items: center; gap: 18px;
  padding: 20px 0; border-bottom: 2px solid var(--line);
}
.ns-ico { width: 56px; height: 56px; border-radius: 18px; background: var(--mint); display: grid; place-items: center; }
.ns-ico svg { width: 28px; height: 28px; fill: none; stroke: var(--green); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.nosend li:first-child .ns-ico svg { fill: var(--green); stroke: none; }
.ns-name { display: flex; flex-direction: column; font-family: var(--maru); font-weight: 700; font-size: clamp(20px, 1.9vw, 26px); line-height: 1.45; letter-spacing: 0; }
.ns-name small { font-family: var(--text); font-weight: 500; font-size: 15px; color: var(--muted); letter-spacing: .04em; margin-top: 2px; }
.stamp {
  display: flex; align-items: center; justify-content: center; width: 84px; height: 84px; border-radius: 50%;
  border: 2.5px solid var(--coral); color: var(--coral-ink); background: #FFF6F2;
  font-family: var(--maru); font-weight: 700; font-size: 15px; line-height: 1.2; letter-spacing: .06em;
  transform: rotate(-8deg);
  position: relative;
}
.keep { grid-column: 2; background: #fff; border: 2px solid var(--line); border-radius: var(--r-lg); padding: clamp(24px, 3vw, 40px); }
.keep-title { font-family: var(--maru); font-weight: 700; font-size: 20px; line-height: 1.5; letter-spacing: .04em; }
.keep p { margin-top: 12px; font-size: 16px; line-height: 1.95; color: var(--muted); }
.keep-link a, .dusk-links a {
  display: inline-flex; align-items: center; gap: 6px; min-height: 44px; font-weight: 700; color: var(--tgreen);
  text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 5px; text-decoration-color: var(--fresh);
}
.keep-link a:hover { text-decoration-color: var(--tgreen); }
.ext {
  display: inline-block; flex: none; width: .78em; height: .78em; background: currentColor;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 3h8v8M13 3 3 13'/%3E%3C/svg%3E") center / contain no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 3h8v8M13 3 3 13'/%3E%3C/svg%3E") center / contain no-repeat;
}

/* ---------- ご利用にあたって ---------- */
.caution { padding: 0 0 clamp(100px, 11vw, 160px); }
.caution-panel {
  display: grid; grid-template-columns: 1fr; row-gap: clamp(28px, 3vw, 44px);
  background: var(--butter); border-radius: var(--r-xl); padding: clamp(36px, 5vw, 80px);
}
.caution-head .h2 { color: #3E2A12; }
.caution-list { display: grid; grid-template-columns: 1fr 1fr; gap: 0 clamp(24px, 4vw, 72px); }
.caution-list li { display: grid; grid-template-columns: 40px 1fr; gap: 16px; align-items: start; padding: 22px 0; border-top: 2px solid rgba(134, 82, 28, .22); }
.cl-n { width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; background: var(--amber); color: #fff; font-family: var(--maru); font-weight: 700; font-size: 18px; line-height: 1; }
.caution-list p { font-size: clamp(17px, 1.4vw, 19px); line-height: 1.9; color: #3E2A12; font-weight: 500; max-width: 24em; }
.caution-note { margin-top: calc(-1 * clamp(28px, 3vw, 44px)); padding: 20px max(0px, calc(100% - 44em)) 4px 0; border-top: 2px solid rgba(134, 82, 28, .22); font-size: 15px; line-height: 1.85; color: #5A4224; }

/* ---------- よくある質問 ---------- */
.faq { padding: 0 0 clamp(110px, 12vw, 180px); }
.faq-grid { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); column-gap: clamp(32px, 5vw, 96px); }
.faq-head .h2 { margin-top: 18px; }
.faq-head .faq-title { margin-top: -15px; }
.faq-house { width: min(100%, 300px); margin-top: 40px; --hs-win: #FFD65E; }
.faq-list { border-top: 2px solid var(--ink); }
.faq-list details { border-bottom: 2px solid var(--line); }
.faq-list summary {
  display: flex; align-items: center; justify-content: space-between; gap: 20px;
  min-height: 80px; padding: 18px 4px; cursor: pointer; list-style: none;
}
.faq-list summary::-webkit-details-marker { display: none; }
.q { font-family: var(--maru); font-weight: 700; font-size: clamp(18px, 1.6vw, 22px); line-height: 1.55; letter-spacing: 0; }
.pm { position: relative; flex: none; width: 40px; height: 40px; border-radius: 50%; background: var(--mint); transition: background-color .2s var(--ease), transform .3s var(--ease); }
.pm::before, .pm::after { content: ""; position: absolute; left: 50%; top: 50%; width: 16px; height: 2.5px; border-radius: 2px; background: var(--tgreen); transform: translate(-50%, -50%); transition: transform .3s var(--ease); }
.pm::after { transform: translate(-50%, -50%) rotate(90deg); }
details[open] .pm::after { transform: translate(-50%, -50%) rotate(0deg); }
details[open] .pm { background: var(--btn); }
details[open] .pm::before, details[open] .pm::after { background: #fff; }
summary:hover .pm { background: #C5EFDD; }
details[open] summary:hover .pm { background: var(--btn); }
.a { padding: 0 64px 26px 4px; }
.a p { color: var(--muted); max-width: 36em; }
.a p + p { margin-top: 10px; }

/* ---------- 公開準備(夕方) ---------- */
.dusk { position: relative; background: var(--deep); color: #fff; padding: clamp(100px, 11vw, 160px) 0 0; border-radius: clamp(40px, 6vw, 96px) clamp(40px, 6vw, 96px) 0 0; overflow: hidden; }
.dusk-inner { position: relative; z-index: 1; display: flex; flex-direction: column; align-items: center; text-align: center; }
.dusk-title { font-size: clamp(36px, 5.2vw, 76px); }
.dusk-lead { margin-top: 24px; color: #DDF2EC; }
.dusk-status {
  margin-top: 34px; display: inline-flex; align-items: center; gap: 12px; padding: 10px 22px 10px 18px; border-radius: 999px;
  border: 1.5px solid rgba(255, 255, 255, .45); color: #fff; font-family: var(--maru); font-weight: 700; line-height: 1.4;
}
.dusk-status .dot { width: 9px; height: 9px; border-radius: 50%; background: var(--sun); box-shadow: 0 0 0 3px rgba(255, 214, 94, .3); flex: none; }
.ds-k { font-size: 14px; color: var(--fresh); padding-right: 14px; border-right: 1.5px solid rgba(255, 255, 255, .3); }
.ds-v { font-size: 19px; letter-spacing: .02em; }
.dusk-links { margin-top: 26px; display: flex; flex-wrap: wrap; justify-content: center; gap: 4px 28px; }
.dusk-links a { color: #fff; text-decoration-color: var(--fresh); }
.dusk-links a:hover { text-decoration-color: var(--sun); }
.dusk-art-sp { display: none; }
.dusk-art { position: relative; z-index: 0; display: block; width: 100%; height: clamp(240px, 28vw, 400px); margin-top: clamp(8px, 2vw, 24px); }

/* ---------- フッター ---------- */
.ft { background: #127A6A; color: #fff; padding: 8px 0 40px; }
.ft-note { font-size: 15px; line-height: 1.7; color: #E3F6F0; padding: 22px 0; border-bottom: 1.5px solid rgba(255, 255, 255, .22); }
.ft-row { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 32px; padding-top: 24px; }
.brand-ft .brand-name { color: #fff; font-size: 17px; }
.brand-ft img { width: 36px; height: 36px; border-radius: 10px; }
.ft-nav { display: flex; flex-wrap: wrap; gap: 0 8px; margin-left: auto; }
.ft-nav a { display: inline-flex; align-items: center; gap: 4px; min-height: 44px; padding: 0 10px; font-size: 14px; font-weight: 700; text-decoration: none; border-radius: 10px; }
.ft-nav a:hover { text-decoration: underline; text-underline-offset: 4px; }
.copy { font-size: 13px; color: #E3F6F0; letter-spacing: .06em; font-family: var(--maru); font-weight: 700; }

/* ---------- 出現 ---------- */
.js [data-reveal] { opacity: 0; transform: translateY(28px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.js [data-reveal].is-in { opacity: 1; transform: none; }
.js .signs .sign:nth-child(2) { transition-delay: .08s; }
.js .signs .sign:nth-child(3) { transition-delay: .16s; }
.js .signs .sign:nth-child(4) { transition-delay: .24s; }

/* ---------- 画面幅ごと ---------- */
@media (max-width: 1180px) {
  .hd-nav a { padding: 0 9px; font-size: 14px; }
  .scr-app { display: none; }
  .hd-bar { gap: 12px; }
}
@media (max-width: 1180px) {
  .signs { grid-template-columns: 1fr 1fr; row-gap: 32px; }
  .sign .board { margin-top: 0 !important; }
  .sign:nth-child(-n+2) .post { display: none; }
}
@media (max-width: 1020px) {
  .hd-nav { display: none; }
  .hd-status { margin-left: auto; }
  .hero-head { grid-template-columns: 1fr; }
  .hero-aside { margin-top: 26px; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); column-gap: 32px; }
  .hero-lead { grid-column: 1; }
  .promises { grid-column: 2; grid-row: 1 / span 2; margin-top: 0; grid-template-columns: max-content; }
  .promises li.req + li.req { border-top: 0; padding-top: 0; margin-top: 0; }
  .demo-hint { font-size: 14px; }
  .ways-head, .day-head { grid-template-columns: 1fr; }
  .notice { padding: 10px 12px; gap: 10px; }
  .notice img { width: 30px; height: 30px; }
  .notice-text { font-size: 14px; }
  .ways-head .sec-lead, .day-head .sec-lead { grid-column: 1; grid-row: auto; margin-top: 24px; }
  .way { grid-template-columns: 1fr; row-gap: 32px; }
  .way-press .way-art, .way-press .way-text, .way-walk .way-art, .way-walk .way-text { grid-column: 1; grid-row: auto; }
  .way-art { max-width: 600px; }
  .way-walk .way-art { justify-self: end; width: 100%; }
  .way-text { max-width: 640px; }
  .family-top { grid-template-columns: 1fr; row-gap: 56px; }
  .devices { max-width: 820px; }
  .privacy-grid { grid-template-columns: 1fr; }
  .privacy-head { position: static; grid-row: auto; }
  .keep { grid-column: 1; }
  .faq-grid { grid-template-columns: 1fr; row-gap: 36px; }
  .faq-head .h2 br { display: none; }
  .faq-head .faq-title { margin-top: 0; }
  .faq-house { display: none; }
}
@media (max-width: 860px) {
  .fg-ten, .fg-call, .fg-notify { grid-column: span 12; }
  .fg-ten { display: grid; grid-template-columns: auto 1fr; column-gap: 32px; align-items: center; }
  .fg-ten .ten { grid-row: 1 / span 2; margin: 0; }
  .fg-call { grid-template-columns: 1fr; }
  .fg-notify { grid-template-columns: 1fr; }
  .fg-notify .toggles { margin-top: 20px; }
  .fg-notify .toggles li:first-child { border-top: 2px solid var(--line); }
  .fg-call-text { grid-column: 1; padding: 0 clamp(24px, 4vw, 48px) 28px; }
  .fg-call-shot { grid-column: 1; grid-row: 2; max-width: 360px; justify-self: center; padding-bottom: 28px; }
}

/* タブレット縦〜小さめ: ステージを少し詰める */
@media (max-width: 900px) and (min-width: 761px) {
  .screen { padding: 16px 14px 18px; border-radius: 28px; }
  .genki { min-height: 120px; border-radius: 24px; }
  .genki-sub { font-size: 13px; }
  .mid-cap { font-size: 15px; }
  .mid-sun { width: 64px; height: 64px; }
}

/* スマホ */
@media (max-width: 760px) {
  body { font-size: 16px; }
  :root { --hd-h: 66px; }
  .hd { padding-top: 8px; }
  .hd-bar { height: 56px; padding: 0 6px 0 8px; }
  .brand-name { font-size: 17px; }
  .brand img { width: 36px; height: 36px; border-radius: 10px; }
  .hd-status { height: 34px; padding: 0 12px; font-size: 13px; }
  .pc { display: none; }
  .sp { display: inline; }

  .hero { padding-top: calc(var(--hd-h) + 32px); }
  .hero::before { top: 64%; width: 170vw; }
  .eyebrow { font-size: 14px; padding: 6px 14px 6px 10px; }
  .hero-title { font-size: clamp(36px, 11.4vw, 60px); margin-top: 20px; }
  .hero-aside { display: block; margin-top: 22px; }
  .hero-lead { font-size: 18px; }
  .promises { margin-top: 18px; display: grid; grid-template-columns: 1fr; gap: 8px; }
  .promises li { gap: 10px; font-size: 16px; }
  .pm-ico { width: 30px; height: 30px; }
  .promises li.req { display: grid; grid-template-columns: 30px 6.5em 1fr; align-items: center; column-gap: 10px; margin: 0; padding: 0; border: 0; }
  .promises li:nth-child(4) { margin-top: 14px; padding-top: 16px; border-top: 2px dashed var(--line); }
  .req-k { min-width: 0; font-size: 14px; }
  .req-v { font-size: 16px; }
  .pm-ico svg { width: 17px; height: 17px; }

  .stage { margin-top: 36px; padding-bottom: 32px; }
  .stage-hills, .road-h { display: none; }
  .stage::after { content: none; }
  .stage-inner {
    grid-template-columns: minmax(0, 1fr) minmax(44px, .45fr) minmax(0, 1fr);
    grid-template-areas: "mc mc mc" "mh rd fh" "ml . fl" "fc fc fc";
    align-items: start;
  }
  .side { display: contents; }
  .side-me .screen { grid-area: mc; }
  .house-me { grid-area: mh; }
  .mid { grid-area: rd; }
  .house-family { grid-area: fh; }
  .side-me .side-label { grid-area: ml; }
  .side-family .side-label { grid-area: fl; }
  .side-family .screen { grid-area: fc; }
  .screen { width: 100%; justify-self: center; }
  .side-me .screen { margin-bottom: 20px; }
  .side-me .screen::after { left: 16.5%; }
  .side-family .screen { margin-top: 22px; }
  .side-family .screen::after { left: auto; right: 16.5%; bottom: auto; top: -13px; transform: translateX(50%) rotate(225deg); }
  .side-label { margin: 2px 0 0; order: 0; }
  .side-who { font-size: 16px; }
  .side-role { font-size: 12.5px; }
  .side-role .sr-dev { display: block; }
  .side-role .sr-sep { display: none; }
  .house { width: 100%; max-width: 150px; justify-self: center; margin-top: 0; }
  .mid { padding-top: 0; align-self: center; justify-content: center; }
  .mid-sun, .mid-cap { display: none; }
  .road-v { display: block; position: relative; width: 100%; height: 56px; overflow: visible; margin-top: 34px; }
  .road-v .road-bed { stroke-width: 16; }
  .traveler { width: 32px; height: 32px; margin: -16px 0 0 -16px; }
  .stage-foot { margin-top: 26px; }
  .demo-note { font-size: 13px; text-align: left; }
  .way-facts li, .way-sub, .sign-text, .keep p, .family-points li, .fg-call-text p:not(.fg-title), .fg > p:not(.fg-title):not(.ten), .fg-notify-text p:not(.fg-title), .flow-item > p { font-size: 16px; }

  .ways-head .h2 br, .day-head .h2 br { display: inline; }
  .start-head .h2 { font-size: 28px; }
  .way { grid-template-columns: 1fr; row-gap: 28px; }
  .way-press .way-art, .way-press .way-text, .way-walk .way-art, .way-walk .way-text { grid-column: 1; grid-row: auto; }
  .way-art { border-radius: 32px; padding: 22px 16px 26px; }
  .tick b { font-size: 22px; }
  .tick em { font-size: 12.5px; padding: 2px 8px; }
  .ruler { margin-inline: 0; }

  .day { border-radius: 36px 36px 0 0; }
  .arc { display: none; }
  .flow { grid-template-columns: 1fr; margin-top: 44px; padding-left: 40px; }
  .flow::before { content: ""; position: absolute; left: 11px; top: 14px; bottom: 30px; width: 3px; border-radius: 3px; background: rgba(255, 255, 255, .22); }
  .flow-item { border-top: 0; padding: 0 0 40px; }
  .flow-dot { display: block; position: absolute; left: -38px; top: 14px; width: 22px; height: 22px; border-radius: 50%; background: var(--deep); border: 3px solid var(--butter); }
  .flow-time .t { font-size: 52px; }
  .flow-sun { display: block; position: absolute; left: -6px; top: 6px; width: 38px; height: 38px; border-radius: 50%; background: var(--sun); box-shadow: 0 0 0 9px rgba(255, 214, 94, .25); z-index: 2; }

  .family-points li { grid-template-columns: 1fr; gap: 2px; }
  .devices { padding-bottom: 110px; }
  .ipad-frame { padding: 8px; border-radius: 22px; }
  .ipad-frame img { border-radius: 15px; }
  .ipad figcaption { position: static; display: inline-block; margin-top: 14px; font-size: 13px; }
  .iphone { width: 44%; right: -4px; }
  .iphone-frame { padding: 6px; border-radius: 30px; }
  .iphone-frame img { border-radius: 25px; }
  .fg { border-radius: 32px; }
  .fg-ten { display: block; }
  .ten-n { font-size: 77px; }
  .fg-call { grid-template-columns: 1fr; padding: 28px 0 0; overflow: hidden; }
  .fg-call-text { padding: 0 24px 24px; }
  .fg-call-shot { order: 2; width: calc(100% - 48px); }

  .signs { grid-template-columns: 1fr; row-gap: 20px; padding-left: 0; }
  .sign, .sign:nth-child(odd), .sign:nth-child(even) { padding: 0; }
  .sign .post, .sign:nth-child(even) .post { position: absolute; left: 41px; top: 45px; bottom: auto; width: 6px; height: calc(100% + 20px); z-index: 0; border-radius: 3px; flex: none; }
  .sign:last-child .post { top: auto; bottom: -76px; height: 96px; }
  .sign-no { position: relative; z-index: 3; }
  .sign-no span { width: 46px; height: 46px; font-size: 23px; }
  .board { padding: 20px 20px 22px; border-radius: 24px; }

  .nosend li { grid-template-columns: 48px minmax(0, 1fr) auto; gap: 12px; padding: 16px 0; }
  .ns-ico { width: 48px; height: 48px; border-radius: 15px; }
  .ns-ico svg { width: 24px; height: 24px; }
  .ns-name { font-size: 19px; }
  .ns-name small { font-size: 13px; }
  .stamp { width: 46px; height: 46px; font-size: 12px; line-height: 1.15; border-width: 2px; }
  .stamp { flex-direction: column; }
  .stamp > span { display: block; }

  .caution { padding-bottom: 80px; }
  .caution-panel { border-radius: 32px; padding: 36px 22px 18px; }
  .caution-list { grid-template-columns: 1fr; }
  .caution-list p { font-size: 16px; }
  .faq-list summary { min-height: 72px; gap: 14px; }
  .a { padding-right: 4px; }

  .dusk { border-radius: 36px 36px 0 0; }
  .dusk-art { display: none; }
  .dusk-art-sp { display: block; width: 100%; height: auto; margin-top: 32px; }
  .dusk-status { gap: 10px; padding: 8px 14px; }
  .ds-k { font-size: 13px; padding-right: 10px; }
  .ds-v { font-size: 16px; }
  .ft-nav { margin-left: -10px; width: 100%; }
}
@media (max-width: 420px) {
  .hd-as { display: none; }
  .caution-panel { padding: 32px 18px 14px; }
  .caution-list li { grid-template-columns: 32px 1fr; gap: 12px; }
  .cl-n { width: 32px; height: 32px; font-size: 16px; }
}
@media (max-width: 360px) {
  .hero-title { font-size: 34px; }
  .demo-hint { font-size: 14px; white-space: nowrap; }
  .keep-link a { font-size: 15px; white-space: nowrap; }
  .hint-wait { padding: 8px 14px; }
  .eyebrow { font-size: 13px; }
  .hd-status { padding: 0 8px; font-size: 12px; gap: 6px; }
  .hd-bar { gap: 6px; }
  .brand-name { font-size: 16px; }
  .brand { gap: 6px; padding-right: 2px; }
  .genki-label { font-size: 32px; }

  .nosend li { grid-template-columns: 40px minmax(0, 1fr) auto; gap: 10px; }
  .ns-ico { width: 40px; height: 40px; border-radius: 13px; }
  .ns-name { font-size: 17px; }
  .code { gap: 4px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; }
  .js [data-reveal] { opacity: 1; transform: none; }
  .js .arc:not(.is-run) .arc-lit { stroke-dashoffset: 0; }
  .arc-focus { opacity: 1; transition: none; }
  html { scroll-behavior: auto; }
}

/* スマホ: ヒーローは 見出し → 紹介文 → 体験 → しるしと対応端末 の順に */
@media (max-width: 760px) {
  .hero { display: flex; flex-direction: column; padding-top: calc(var(--hd-h) + 22px); }
  .hero-head, .hero-aside { display: contents; }
  .hero-copy { order: 1; padding-inline: var(--pad); }
  .hero-title { margin-top: 16px; }
  .hero-lead { order: 2; padding-inline: var(--pad); margin-top: 14px; font-size: 16px; line-height: 1.8; max-width: none; }
  .stage { order: 3; margin-top: 12px; padding-bottom: 8px; }
  .promises { order: 4; position: relative; z-index: 1; padding-inline: var(--pad); margin-top: 8px; }
  .promises li { display: grid; grid-template-columns: 30px minmax(0, 1fr); align-items: center; }
  .stage { overflow: hidden; }

  .stage-inner { grid-template-areas: "hint hint hint" "mc mc mc" "mh rd fh" "ml . fl" "fc fc fc"; }
  .demo-hint { grid-area: hint; align-self: start; margin: 0 0 8px; min-height: 40px; }
  .demo-hint { position: static; }
  .hint-wait { padding: 6px 16px; }
  .hint-wait::before { left: 50%; top: auto; bottom: -8px; margin: 0 0 0 -7px; border-radius: 0 0 3px 0; border-left: 0; border-right: 1.5px solid #7CC4A4; }
  .screen { padding: 12px 14px 14px; border-radius: 26px; }
  .side-me .scr-app { display: none; }
  .scr-top { display: block; }
  .scr-title { margin-top: 0; font-size: 18px; }
  .scr-state { min-height: 26px; margin-top: 2px; }
  .genki { min-height: 96px; margin-top: 6px; padding: 10px 12px; border-radius: 24px; }
  .genki-label { font-size: 32px; }
  .side-me .screen { margin-bottom: 10px; }
  .side-family .screen { margin-top: 8px; }
  .screen-family .scr-title-sm { display: none; }
  .fcard { padding: 12px 14px 14px; border-radius: 20px; }
  .avatar { width: 34px; height: 34px; }
  .fname { font-size: 17px; }
  .fcard-status { margin-top: 10px; }
  .house { max-width: 90px; }
  .road-v { margin-top: 14px; height: 40px; }
  .side-who { font-size: 14px; }
  .side-role .sr-dev, .side-role .sr-sep { display: none; }
  .side-label { line-height: 1.22; }

  /* 家族の画面: 導入 → 全景(小) → 1人ぶんの拡大 → 3項目 */
  .family-top { display: flex; flex-direction: column; align-items: stretch; }
  .family-head { display: contents; }
  .family-head .kicker { order: 1; align-self: flex-start; }
  .family-head .h2 { order: 2; }
  .family-head .sec-lead { order: 3; }
  .devices { order: 4; width: 100%; max-width: 330px; margin: 32px auto 0; padding: 0 44px 60px 0; }
  .ipad figcaption { font-size: 13px; }
  .grace { display: grid; grid-template-columns: repeat(2, max-content); }
  .day { border-radius: 28px; }
}

/* 1日の流れ(PC): 大きな時刻は弧の上だけ。下の列は見出しから、左そろえ */
@media (min-width: 761px) {
  .flow { margin-top: 0; }
  .flow-item { border-top: 0; padding-top: 30px; }
  .flow-item::before {
    content: ""; position: absolute; left: 9px; top: -8px; width: 16px; height: 16px;
    border-radius: 50%; background: var(--butter);
  }
  .flow-time { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
  .flow-title { margin-top: 0; min-height: 3em; }
}

/* スマホ: 伝わり方は 見出し → 図、全景の2台は重ねずに並べる */
@media (max-width: 760px) {
  .way { row-gap: 24px; margin-top: 72px; }
  .way-text { order: 1; }
  .way-art { order: 2; }
  .devices { display: flex; align-items: flex-end; gap: 4%; max-width: none; padding: 0; margin-top: 28px; }
  .ipad { width: 68%; flex: none; }
  .devices .iphone { position: static; width: 28%; flex: none; }
  .ipad figcaption { position: static; margin-top: 8px; white-space: nowrap; }
  .stage::before { width: 120vw; top: 34%; }
}

/* 実画面の切り出し */
.way-shots { display: grid; grid-template-columns: repeat(10, minmax(0, 1fr)); align-items: start; padding: clamp(28px, 4vw, 56px); }
.shot { margin: 0; position: relative; }
.shot img { width: 100%; border-radius: 22px; border: 2px solid rgba(0, 117, 103, .18); background: var(--paper); }
.shot figcaption, .tg-shot figcaption, .sign-shot figcaption {
  display: inline-block; margin-top: 10px; padding: 3px 12px; border-radius: 999px;
  font-family: var(--maru); font-weight: 700; font-size: 13px; line-height: 1.5; color: var(--deeper); background: #fff; border: 1.5px solid var(--line);
}
.way-shots { grid-template-columns: 1fr; row-gap: 12px; padding: clamp(24px, 3vw, 40px); }
.shot-a, .shot-b { grid-column: 1; width: min(100%, 300px); }
.shot-a { justify-self: start; }
.shot-b { justify-self: end; }
.shot-b figcaption { background: var(--deep); color: #fff; border-color: var(--deep); }
.tg-shot { margin: 0; }
.tg-shot img { width: 100%; border-radius: 20px; }
.tg-shot figcaption { display: block; width: max-content; margin-top: 12px; }
.sign-shot { margin: 14px 0 0; }
.sign-shot img { width: 100%; border-radius: 16px; border: 2px solid var(--line); background: var(--paper); }
.sign-shot figcaption { margin-top: 8px; }
.sign-shot-xl { margin-top: 16px; }
@media (max-width: 760px) {
  .way-shots { padding: 22px 18px 26px; }
  .way-shots { grid-template-columns: 1fr; row-gap: 18px; }
  .shot-a, .shot-b { grid-column: 1; grid-row: auto; margin-top: 0; }
}

/* 家族の画面: 1人ぶんのカードを主役に、3つの説明を番号と線で結ぶ */
.zoom { position: relative; margin-top: clamp(40px, 5vw, 72px); }
.card-zoom { margin: 0 auto; width: min(100%, 520px); }
.cz-frame { position: relative; }
.cz-frame img { width: 100%; border-radius: 36px; border: 2px solid #CFE6DE; background: #fff; }
.cz-n, .fp-n {
  display: inline-grid; place-items: center; width: 28px; height: 28px; border-radius: 50%;
  background: var(--sun); color: var(--deeper); font-family: var(--maru); font-weight: 700; font-size: 15px; line-height: 1; flex: none;
}
.cz-n { position: absolute; transform: translateY(-50%); box-shadow: 0 0 0 3px var(--paper); z-index: 2; }
.cz-n1 { top: 36.7%; left: -14px; }
.cz-n2 { top: 52%; right: -14px; }
.cz-n3 { top: 68.4%; right: -14px; }
.fp-n { margin-right: 10px; vertical-align: -7px; }
.qt { display: inline-block; }
.hang-p { display: block; }
.hang-p, .qt { text-spacing-trim: space-all; }
.hw { font-feature-settings: "halt"; }
@media (min-width: 1181px) {
  .family-points { position: absolute; inset: 0; margin: 0; border: 0; display: block; pointer-events: none; }
  .family-points li {
    position: absolute; width: calc((100% - 520px) / 2 - 76px); padding: 0; border: 0;
    display: block; pointer-events: auto;
  }
  .family-points li > span { display: block; }
  .family-points li .fp-k { display: flex; align-items: center; height: 28px; font-size: 19px; margin-bottom: 6px; }
  .family-points li .fp-n { margin: 0 10px 0 0; vertical-align: 0; }
  .family-points li::after { content: ""; position: absolute; top: 13px; width: 66px; border-top: 2px dashed var(--green); }
  .fp1 { left: auto; right: calc(50% + 260px + 78px); width: 220px; }
  .fp1::after { left: calc(100% + 8px); }
  .fp2, .fp3 { left: calc(50% + 260px + 78px); right: auto; width: calc(50% - 260px - 78px); }
  .fp2::after, .fp3::after { right: calc(100% + 8px); }
  .cz-n { width: 8px; height: 8px; font-size: 0; color: transparent; background: var(--green); box-shadow: 0 0 0 3px var(--paper); }
  .cz-n1 { left: -4px; }
  .cz-n2, .cz-n3 { right: -4px; }
  .fp1 { top: calc(36.7% - 14px); }
  .fp2 { top: calc(52% - 14px); }
  .fp3 { top: calc(68.4% - 14px); }
}
@media (max-width: 1180px) {
  .card-zoom { width: min(100%, 360px); }
  .cz-n1 { left: auto; right: -14px; }
  .family-points { margin-top: 28px; }
}
@media (max-width: 760px) {
  .family-top { row-gap: 0; }
  .family-head .h2 { margin-top: 14px; }
  .family-head .sec-lead { margin-top: 20px; }
  .devices { margin-top: 32px; }
  .zoom { margin-top: 48px; }
  .family-points { margin-top: 20px; }
}

/* 1024px 前後: ナビは隠し、対応端末の表示は縦に並べる */
@media (max-width: 1100px) {
  .hd-nav { display: none; }
  .hd-status { margin-left: auto; }
  .demo-hint { font-size: 14px; }
  .promises { grid-template-columns: max-content; }
  .promises li.req + li.req { border-top: 0; padding-top: 0; margin-top: 0; }
}

@media (min-width: 761px) {
  .is-done .demo-hint { left: 50%; transform: translateX(-50%); }
}

/* スマホ: はじめ方は文と実画面を残して、図に主従を付ける。1日の流れは 16:00〜16:30 を黄色で */
@media (max-width: 760px) {
  .start { padding: 72px 0 72px; }
  .trail { margin-top: 32px; }
  .trail-road { bottom: -72px; height: 60px; }
  .start-head .sec-lead { margin-top: 18px; }
  .sign-shot-xl { width: min(100%, 230px); margin-inline: auto; }
  .sign:nth-child(4) .sign-shot { width: min(100%, 260px); margin-inline: auto; }
  .sign-shot { margin-top: 12px; }
  .sign-text { margin-top: 12px; }
  .sign-title { margin-top: 10px; }
  .zoom { margin-top: 32px; }
  .flow-item:nth-child(2)::after {
    content: ""; position: absolute; left: -29px; top: 25px; bottom: -25px; width: 3px; border-radius: 3px; background: var(--sun); z-index: 1;
  }
  .flow-item:nth-child(3) .flow-dot { background: var(--sun); border-color: var(--sun); z-index: 2; }
  .flow-dot { z-index: 2; }
}

/* スマホ: はじめ方の4つの手順を先に一覧で。実演の案内は同じ高さの欄で入れ替える */
@media (max-width: 760px) {
  .steps-mini { display: grid; gap: 0; margin-top: 24px; padding: 6px 0; position: relative; }
  .steps-mini::before { content: ""; position: absolute; left: 17px; top: 24px; bottom: 24px; width: 4px; border-radius: 2px; background: var(--leaf); }
  .steps-mini li { position: relative; display: grid; grid-template-columns: 38px minmax(0, 1fr); align-items: center; column-gap: 12px; min-height: 40px; font-family: var(--maru); font-weight: 700; font-size: 17px; line-height: 1.4; }
  .sm-n { display: grid; place-items: center; width: 36px; height: 36px; border-radius: 50%; background: var(--sun); color: var(--deeper); font-size: 17px; border: 3px solid var(--sky); }
  .signs { row-gap: 36px; }
  .sign-shot-xl { margin-top: 8px; }
  .demo-hint { height: 52px; min-height: 52px; margin: 0; }
  .way-press { margin-top: 56px; }
  .app-name { white-space: nowrap; }
}
@media (max-width: 360px) {
  .dusk-lead { font-size: 15px; letter-spacing: .02em; }
}
@media (max-width: 340px) {
  .dusk-lead { font-size: 14px; }
}
@media (min-width: 761px) {
  .demo-hint { height: 52px; min-height: 52px; }
}
@media (max-width: 360px) {
  .dusk-status { flex-wrap: wrap; justify-content: center; row-gap: 2px; border-radius: 20px; padding: 8px 16px; }
  .ds-k, .ds-v { white-space: nowrap; }
  .ds-k { border-right: 0; padding-right: 0; }
}

/* 補助のキャプション・注記は 14px・行送り 21px にそろえる */
.shot figcaption, .tg-shot figcaption, .sign-shot figcaption, .ipad figcaption, .fg-call-shot figcaption { font-size: 14px; line-height: 21px; }
.shot figcaption, .tg-shot figcaption, .sign-shot figcaption, .fg-call-shot figcaption { margin-top: 10px; }
.demo-note { font-size: 14px; line-height: 21px; }
.ns-name small { font-size: 14px; line-height: 21px; }
/* 伝わり方(PC): 最初の図の面の空きを詰める */
@media (min-width: 1021px) {
  .way-press .way-shots { padding-block: 20px; row-gap: 4px; }
}
/* 受け取る通知(PC): 設定の画像を大きく */
@media (min-width: 861px) {
  .fg-notify { grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr); column-gap: 28px; }
}
/* 送らないもの: 最後の項目は、PC は1行、スマホは2行に組む */
.ns-2 { display: block; }
.ns-2 .ns-pre { font: inherit; }
@media (max-width: 760px) {
  .demo-note { font-size: 14px; }
  .ipad figcaption { font-size: 14px; }
  .ns-name small { font-size: 14px; }
  .ns-2 { display: flex; flex-direction: column; }
  .ns-2 .ns-pre { font-family: var(--text); font-weight: 500; font-size: 15px; line-height: 1.5; color: var(--muted); }
  .ns-2 > span:last-child { font-size: 18px; }
  .sign:nth-child(2) .board { padding-inline: 14px; }
  .dusk { padding-top: 76px; }
  .dusk-lead { margin-top: 16px; }
  .dusk-status { margin-top: 24px; }
  .dusk-art-sp { margin-top: 36px; }
}
