/* AGEphone (free edition) page.
   Art direction follows output/ageet-tone-and-manner-brief.md: ivory paper and navy ink as the
   base, signal blue for Wi-Fi and voice, and the brand orange only where the voice "lights up"
   (primary buttons, one dot per figure). The raster illustrations in assets/illustrations/
   agephone-*.webp were generated with AI Coach; prompts and originals are kept in
   output/imagegen/agephone-2026-10-17/. */

.agephone-page {
  --ap-night: #0A1422;
  --ap-ink: #152B3D;
  --ap-ink-muted: #536778;
  --ap-paper: #FAF7F2;
  --ap-signal: #388CCC;
  --ap-signal-text: #2C6E9F; /* 白・生成り地で小さな文字に使っても 4.5:1 を満たす青 */
  --ap-hairline: rgba(21, 43, 61, .12);
  --ap-on-dark: #F5F3EE;
  --ap-on-dark-muted: rgba(245, 243, 238, .74);
  --ap-warm-light: #FFB877;
  --ap-frame-radius: 24px;
}
.agephone-page .section { padding-block: 112px; }
.agephone-page .section__title { margin-bottom: 20px; }
.agephone-page .section__lead { margin-bottom: 52px; }
.ap-nowrap { white-space: nowrap; }

/* Hero ---------------------------------------------------------------------------- */
.agephone-page .ap-hero {
  padding: 24px 0 0;
  background:
    radial-gradient(780px 420px at 92% 4%, rgba(242, 157, 0, .10), transparent 62%),
    radial-gradient(900px 520px at -4% 104%, rgba(56, 140, 204, .08), transparent 60%),
    var(--ap-paper);
}
/* 声の信号を描く細い3本線。トップページの紺のヒーローと同じモチーフを、生成り地で淡く使う */
.ap-hero__lines { position: absolute; left: 0; right: 0; bottom: 0; width: 100%; height: 78%; pointer-events: none; }
.ap-hero__lines path { fill: none; stroke: rgba(56, 140, 204, .22); stroke-width: 1.2; vector-effect: non-scaling-stroke; }
.ap-hero .container { position: relative; }
.agephone-page .ap-hero .breadcrumb { padding-top: 0; }
.ap-hero__grid {
  display: grid; grid-template-columns: minmax(0, 1.12fr) minmax(0, 1fr);
  gap: 64px; align-items: center; margin-top: 44px;
}
.ap-hero__copy { min-width: 0; }
/* 「ひかり電話の子機」「になる。」はそれぞれ折り返さない。2行目が列幅に収まる大きさに上限を置く */
.agephone-page .ap-hero h1 {
  font-size: clamp(30px, 3.2vw, 46px); line-height: 1.38; letter-spacing: .02em;
  margin: 20px 0 24px;
}
.agephone-page .ap-hero .page-header__lead { line-height: 2; max-width: 33em; }
.agephone-page .ap-hero .hero__actions { margin-top: 36px; gap: 12px; }
.ap-hero__service {
  display: flex; align-items: center; flex-wrap: wrap; gap: 10px 16px; margin-top: 36px;
  font-size: 12px; font-weight: 600; letter-spacing: .12em; color: var(--ap-ink-muted);
}
.ap-hero__service::before { content: ""; width: 22px; height: 1px; background: currentColor; opacity: .5; }
.ap-hero__service img { height: 22px; width: auto; }
/* 絵は額装する。少しずらした細い罫を背面に重ね、紙に刷った挿絵の佇まいにする */
.ap-hero__art { position: relative; isolation: isolate; margin: 0 18px 18px 0; }
.ap-hero__art::before {
  content: ""; position: absolute; inset: 18px -18px -18px 18px; z-index: -1;
  border: 1px solid rgba(21, 43, 61, .18); border-radius: var(--ap-frame-radius);
}
.ap-hero__art img {
  width: 100%; height: auto; border-radius: var(--ap-frame-radius);
  box-shadow: 0 1px 2px rgba(21, 43, 61, .06), 0 36px 64px -40px rgba(21, 43, 61, .55);
}

.ap-facts {
  display: grid; grid-template-columns: repeat(4, minmax(0, 1fr));
  margin-top: 72px; border-top: 1px solid var(--ap-hairline);
}
.ap-facts li { display: flex; flex-direction: column; gap: 6px; padding: 26px 24px 34px; min-width: 0; }
.ap-facts li:first-child { padding-left: 0; }
.ap-facts li + li { border-left: 1px solid var(--ap-hairline); }
.ap-facts__key {
  font-family: "Inter", sans-serif; font-size: 11px; font-weight: 600; line-height: 1.6;
  letter-spacing: .2em; text-transform: uppercase; color: var(--ap-ink-muted);
}
.ap-facts__value {
  font-size: 15px; font-weight: 600; line-height: 1.65; color: var(--ap-ink); letter-spacing: .03em;
  font-feature-settings: "palt"; word-break: auto-phrase; overflow-wrap: anywhere;
}

/* How it works -------------------------------------------------------------------- */
.ap-how__grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 64px; align-items: center; }
.ap-how__text p { color: var(--color-text-muted); }
.ap-how__text p + p { margin-top: 14px; }
.agephone-page .ap-how__links { display: flex; flex-wrap: wrap; gap: 8px 28px; margin-top: 28px; }

.ap-flow {
  margin: 0; padding: 52px 40px 32px;
  background: var(--ap-paper); border-radius: var(--ap-frame-radius);
  box-shadow: inset 0 0 0 1px rgba(21, 43, 61, .07);
}
.ap-flow__track {
  display: grid; align-items: start;
  grid-template-columns: minmax(0, 1fr) minmax(36px, .5fr) minmax(0, 1fr) minmax(36px, .5fr) minmax(0, 1fr);
}
.ap-flow__node { display: flex; flex-direction: column; align-items: center; gap: 2px; min-width: 0; text-align: center; }
.ap-flow__icon {
  display: grid; place-items: center; width: 76px; height: 76px; margin-bottom: 14px;
  border-radius: 50%; background: #fff; color: var(--ap-ink);
  box-shadow: inset 0 0 0 1px rgba(21, 43, 61, .14), 0 14px 26px -20px rgba(21, 43, 61, .6);
}
.ap-flow__icon svg { width: 32px; height: 32px; }
.ap-flow__node--app .ap-flow__icon {
  color: var(--color-primary-strong);
  box-shadow: inset 0 0 0 1px rgba(234, 91, 0, .4), 0 0 0 7px rgba(234, 91, 0, .07), 0 14px 26px -20px rgba(194, 75, 0, .7);
}
.ap-flow__name { font-size: 14.5px; font-weight: 700; line-height: 1.5; letter-spacing: .02em; color: var(--ap-ink); font-feature-settings: "palt"; }
.ap-flow__sub { font-size: 12px; line-height: 1.6; color: var(--ap-ink-muted); }
/* 線は円の中心の高さ（76px / 2）に引く。Wi-Fi 区間だけ青い破線にして無線を表す */
.ap-flow__wire { position: relative; height: 1.5px; margin-top: 37px; background: rgba(21, 43, 61, .38); }
.ap-flow__wire--wifi { background: repeating-linear-gradient(90deg, var(--ap-signal) 0 6px, transparent 6px 11px); }
.ap-flow__wire--wifi > span {
  position: absolute; left: 50%; bottom: 12px; transform: translateX(-50%);
  font-family: "Inter", sans-serif; font-size: 11px; font-weight: 600; line-height: 1; letter-spacing: .14em;
  color: var(--ap-signal-text); white-space: nowrap;
}
/* 声が回線を渡っていく小さな灯り。見えている間だけ、2区間を交互に流れる */
.ap-flow__wire::after {
  content: ""; position: absolute; left: 0; top: 50%; width: 8px; height: 8px; margin: -4px 0 0 -4px;
  border-radius: 50%; background: var(--color-primary); box-shadow: 0 0 0 4px rgba(234, 91, 0, .16);
  opacity: 0;
}
@media (prefers-reduced-motion: no-preference) {
  .ap-flow.in-view .ap-flow__wire::after { animation: ap-signal-x 4.4s var(--ease-out) infinite; }
  .ap-flow.in-view .ap-flow__wire--wifi::after { animation-delay: 2.2s; }
}
@keyframes ap-signal-x {
  0% { left: 0; opacity: 0; }
  8%, 40% { opacity: 1; }
  50%, 100% { left: 100%; opacity: 0; }
}
@keyframes ap-signal-y {
  0% { top: 0; opacity: 0; }
  8%, 40% { opacity: 1; }
  50%, 100% { top: 100%; opacity: 0; }
}
.ap-flow figcaption {
  margin-top: 36px; padding-top: 18px; border-top: 1px dashed rgba(21, 43, 61, .16);
  font-size: 13px; line-height: 1.8; color: var(--ap-ink-muted); text-align: center;
}

.ap-steps { margin-top: 104px; }
.ap-steps__title {
  display: flex; align-items: center; gap: 20px; margin-bottom: 36px;
  font-size: 20px; line-height: 1.5; letter-spacing: .08em;
}
.ap-steps__title::after { content: ""; flex: 1; height: 1px; background: var(--color-border); }
.ap-steps__list { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 48px; }
.ap-step { position: relative; padding-top: 30px; border-top: 1px solid rgba(21, 43, 61, .2); }
.ap-step::before {
  content: ""; position: absolute; top: -5px; left: 0; width: 9px; height: 9px; border-radius: 50%;
  background: #fff; box-shadow: inset 0 0 0 1.5px var(--ap-ink);
}
.ap-step:last-child::before { background: var(--color-primary); box-shadow: 0 0 0 4px rgba(234, 91, 0, .14); }
.ap-step__num {
  font-family: "Inter", sans-serif; font-size: 12px; font-weight: 600; line-height: 1;
  letter-spacing: .18em; color: var(--ap-ink-muted);
}
.ap-step h4 { margin: 14px 0 10px; font-size: 19px; line-height: 1.55; letter-spacing: .04em; }
.ap-step p { font-size: 14.5px; line-height: 1.95; color: var(--color-text-muted); }
.ap-step a, .ap-steps__note a {
  color: var(--color-primary-dark); font-weight: 600;
  text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 3px;
}
.ap-step a:hover, .ap-steps__note a:hover { text-decoration-thickness: 2px; }
.ap-steps__note { margin-top: 36px; font-size: 13px; line-height: 1.9; color: var(--color-text-muted); }
.ap-steps__note::before { content: "※ "; }

/* App screens --------------------------------------------------------------------- */
.ap-screens {
  background:
    radial-gradient(56% 46% at 50% 76%, rgba(56, 140, 204, .10), transparent 70%),
    var(--ap-paper);
}
.agephone-page .ap-screens .section__lead { margin-inline: auto; margin-bottom: 64px; }
.ap-screens__list {
  display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 32px;
  max-width: 960px; margin-inline: auto; align-items: start;
}
/* 偶数番目を下げて、4台が整列しすぎないリズムをつける */
.ap-screens__list > li:nth-child(even) { margin-top: 56px; }
.ap-screen { margin: 0; text-align: center; }
.ap-screen img {
  width: 100%; max-width: 208px; height: auto; margin-inline: auto;
  filter: drop-shadow(0 26px 30px rgba(21, 43, 61, .22));
}
.ap-screen figcaption {
  display: inline-flex; align-items: baseline; gap: 10px; margin-top: 22px;
  font-size: 14px; font-weight: 700; letter-spacing: .06em; color: var(--ap-ink);
}
.ap-screen figcaption span {
  font-family: "Inter", sans-serif; font-size: 11.5px; font-weight: 600; letter-spacing: .14em;
  color: var(--color-primary-dark);
}

/* Download ------------------------------------------------------------------------ */
.ap-dl { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
/* 見出し・説明・ボタン・資料の4段を subgrid で揃え、説明の長さが違ってもボタンが横一列に並ぶようにする */
.ap-dl__card {
  display: grid; grid-template-rows: subgrid; grid-row: span 4; row-gap: 0;
  padding: 30px 28px 26px; background: #fff;
  border: 1px solid var(--color-border); border-radius: 20px; box-shadow: var(--shadow-card);
  transition: transform .4s var(--ease-out), box-shadow .4s var(--ease-out), border-color .3s;
}
.ap-dl__card:hover { transform: translateY(-4px); box-shadow: var(--shadow-card-hover); border-color: rgba(21, 43, 61, .2); }
.ap-dl__head { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 16px; align-items: center; }
.ap-dl__icon {
  display: grid; place-items: center; width: 52px; height: 52px; border-radius: 14px;
  background: var(--ap-paper); color: var(--ap-ink); box-shadow: inset 0 0 0 1px rgba(21, 43, 61, .1);
}
.ap-dl__icon svg { width: 28px; height: 28px; }
.ap-dl__name { font-size: 20px; line-height: 1.35; letter-spacing: .02em; }
.ap-dl__via {
  margin-top: 3px; font-size: 12.5px; font-weight: 600; line-height: 1.6; letter-spacing: .04em;
  color: var(--ap-ink-muted); font-variant-numeric: tabular-nums;
}
.ap-dl__desc { margin: 22px 0 26px; font-size: 14.5px; line-height: 1.9; color: var(--color-text-muted); }
.ap-dl__card > .btn { align-self: start; }
.ap-dl__docs {
  display: flex; flex-direction: column; gap: 10px; align-self: start;
  margin-top: 22px; padding-top: 20px; border-top: 1px solid var(--color-border);
}
.ap-dl__docs li { display: flex; align-items: center; flex-wrap: wrap; gap: 8px; font-size: 13.5px; line-height: 1.6; }
.ap-dl__docs a { color: var(--color-primary-dark); font-weight: 600; }
.ap-dl__docs a:hover { text-decoration: underline; text-underline-offset: 3px; }
.ap-dl__docs small {
  font-family: "Inter", sans-serif; font-size: 10px; font-weight: 600; line-height: 1; letter-spacing: .08em;
  padding: 3px 5px 2px; border-radius: 4px; color: var(--ap-ink-muted); box-shadow: inset 0 0 0 1px var(--color-border);
}

.ap-devices {
  display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); gap: 48px; align-items: start;
  margin-top: 96px; padding-top: 48px; border-top: 1px solid var(--color-border);
}
.ap-devices h3, .ap-notes__title { font-size: 22px; line-height: 1.5; letter-spacing: .05em; }
.ap-devices__head p { margin-top: 12px; font-size: 14px; line-height: 1.9; color: var(--color-text-muted); }
.agephone-page .ap-table { border-top: 1px solid var(--ap-ink); }
.agephone-page .ap-table th {
  background: transparent; padding-block: 14px; font-size: 12.5px; letter-spacing: .08em; color: var(--ap-ink-muted);
}
.agephone-page .ap-table td { font-variant-numeric: tabular-nums; }
.agephone-page .ap-table td:first-child { font-weight: 700; color: var(--ap-ink); }

.ap-notes { margin-top: 80px; }
.ap-notes__title { margin-bottom: 28px; }
.ap-notes__grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
.ap-notes__col { padding: 32px 32px 26px; background: var(--ap-paper); border-radius: 20px; }
.ap-notes__col h4 {
  display: flex; align-items: center; gap: 12px; margin-bottom: 12px;
  font-size: 15.5px; line-height: 1.6; letter-spacing: .05em; color: var(--ap-ink);
}
.ap-notes__col h4::before { content: ""; flex: none; width: 18px; height: 1.5px; background: var(--ap-ink); }
.ap-notes__col li {
  position: relative; padding: 13px 0 13px 18px; border-top: 1px solid rgba(21, 43, 61, .08);
  font-size: 13.5px; line-height: 1.85; color: var(--color-text-muted);
}
.ap-notes__col li::before {
  content: ""; position: absolute; left: 2px; top: calc(13px + .92em); width: 5px; height: 5px; margin-top: -2.5px;
  border-radius: 50%; background: rgba(21, 43, 61, .35);
}
.ap-notes__more { margin-top: 14px; padding-top: 16px; border-top: 1px solid rgba(21, 43, 61, .08); font-size: 13.5px; line-height: 1.85; color: var(--color-text-muted); }
.ap-notes__more a { color: var(--color-primary-dark); font-weight: 600; text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 3px; }

/* For business (night band) ------------------------------------------------------- */
.ap-biz {
  position: relative; overflow: hidden; color: var(--ap-on-dark);
  background:
    radial-gradient(860px 520px at 88% -6%, rgba(56, 140, 204, .26), transparent 62%),
    radial-gradient(700px 420px at 0% 100%, rgba(234, 91, 0, .07), transparent 60%),
    linear-gradient(160deg, var(--ap-night) 0%, #10223A 56%, #143049 100%);
}
.ap-biz__lines { position: absolute; left: 0; right: 0; top: 0; width: 100%; height: 60%; pointer-events: none; }
.ap-biz__lines path { fill: none; stroke: rgba(160, 225, 255, .14); stroke-width: 1.2; vector-effect: non-scaling-stroke; }
.ap-biz .container { position: relative; }
.ap-biz .section__eyebrow { color: var(--ap-warm-light); }
.ap-biz .section__title { color: #fff; }
.ap-biz__intro { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 72px; align-items: center; margin-bottom: 80px; }
.ap-biz__lede { margin: 6px 0 12px; font-size: 17px; line-height: 1.7; letter-spacing: .04em; color: #fff; }
.ap-biz__copy p { font-size: 15px; line-height: 2; color: var(--ap-on-dark-muted); }
.ap-biz__copy .btn { margin-top: 32px; }
.ap-biz__art { position: relative; isolation: isolate; margin: 0 18px 18px 0; }
.ap-biz__art::before {
  content: ""; position: absolute; inset: 18px -18px -18px 18px; z-index: -1;
  border: 1px solid rgba(160, 225, 255, .22); border-radius: var(--ap-frame-radius);
}
.ap-biz__art img { width: 100%; height: auto; border-radius: var(--ap-frame-radius); box-shadow: 0 44px 80px -44px rgba(0, 0, 0, .75); }

/* 紺地・朱地の上で使う枠線ボタン */
.ap-btn-light { background: rgba(255, 255, 255, .04); color: #fff; border-color: rgba(255, 255, 255, .5); }
.ap-btn-light:hover { background: rgba(255, 255, 255, .12); border-color: #fff; }

.ap-topics { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.ap-topic {
  display: flex; flex-direction: column; padding: 14px 14px 26px;
  background: rgba(255, 255, 255, .045); border: 1px solid rgba(255, 255, 255, .1); border-radius: 20px;
  transition: background-color .3s, border-color .3s, transform .4s var(--ease-out);
}
.ap-topic:hover { background: rgba(255, 255, 255, .075); border-color: rgba(255, 255, 255, .22); transform: translateY(-4px); }
.ap-topic__img { width: 100%; height: auto; aspect-ratio: 3 / 2; object-fit: cover; border-radius: 12px; background: var(--ap-paper); }
.agephone-page .ap-topic__label {
  margin: 22px 12px 8px; font-family: "Inter", sans-serif; font-size: 11.5px; font-weight: 600; line-height: 1.6;
  letter-spacing: .18em; color: var(--ap-warm-light);
}
.ap-topic h3 { margin: 0 12px 10px; font-size: 18px; line-height: 1.55; letter-spacing: .03em; color: #fff; }
.ap-topic p:not(.ap-topic__label) { flex: 1 0 auto; margin: 0 12px; font-size: 14px; line-height: 1.9; color: var(--ap-on-dark-muted); }
.ap-topic__link {
  display: inline-flex; align-items: center; gap: 6px; align-self: flex-start; margin: 22px 12px 0;
  font-size: 14px; font-weight: 700; letter-spacing: .04em; color: var(--ap-warm-light);
}
.ap-topic__link:not(.ext)::after { content: "→"; transition: transform .3s var(--ease-out); }
.ap-topic:hover .ap-topic__link:not(.ext)::after { transform: translateX(4px); }
.ap-biz .ext::after { color: inherit; }

/* Media --------------------------------------------------------------------------- */
.ap-media { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 440px); gap: 72px; align-items: center; }
.ap-media__copy h3 { margin: 4px 0 12px; font-size: 19px; line-height: 1.6; letter-spacing: .03em; }
.ap-media__copy p { font-size: 15px; color: var(--color-text-muted); }
.ap-media__copy .card__link { margin-top: 24px; }
.ap-media__thumb {
  position: relative; display: block; overflow: hidden; border-radius: 18px;
  box-shadow: 0 1px 2px rgba(21, 43, 61, .06), 0 30px 56px -34px rgba(21, 43, 61, .55);
}
.ap-media__thumb img { width: 100%; height: auto; transition: transform .6s var(--ease-out); }
.ap-media__thumb::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 40%, rgba(10, 20, 34, .28)); pointer-events: none; }
/* サムネイルの中央には出演者の顔があるため、再生ボタンは右側の図版の上に置く */
.ap-media__play {
  position: absolute; left: 70%; top: 42%; z-index: 1; width: 60px; height: 60px; margin: -30px 0 0 -30px;
  display: grid; place-items: center; border-radius: 50%;
  background: rgba(255, 255, 255, .94); color: var(--color-primary-strong);
  box-shadow: 0 12px 30px -10px rgba(10, 20, 34, .55);
  transition: transform .35s var(--ease-out);
}
.ap-media__play svg { width: 26px; height: 26px; margin-left: 3px; }
.ap-media__thumb:hover img { transform: scale(1.03); }
.ap-media__thumb:hover .ap-media__play { transform: scale(1.08); }
.ap-trademark {
  margin-top: 88px; padding-top: 24px; border-top: 1px solid var(--color-border);
  font-size: 12px; line-height: 1.9; color: var(--color-text-muted);
}

/* CTA ----------------------------------------------------------------------------- */
.agephone-page .ap-cta { padding-block: 96px; text-align: left; }
.ap-cta__grid {
  display: grid; grid-template-columns: minmax(0, 400px) minmax(0, 1fr); gap: 72px; align-items: center;
  max-width: 1092px; margin-inline: auto;
}
.ap-cta__art { margin: 0; }
.ap-cta__art img { width: 100%; height: auto; border-radius: 20px; box-shadow: 0 34px 60px -32px rgba(60, 20, 0, .7); }
.agephone-page .ap-cta h2 { font-size: clamp(24px, 2.6vw, 34px); }
.agephone-page .ap-cta p { max-width: 34em; margin-bottom: 36px; }
.ap-cta__actions { display: flex; flex-wrap: wrap; gap: 12px; }
/* 朱の帯は右へ行くほど明るいため、枠線ボタンの地を少し沈めて白文字の 4.5:1 を保つ */
.agephone-page .ap-cta .ap-btn-light { min-height: 54px; padding: 14px 28px; font-size: 15px; background: rgba(60, 20, 0, .2); }
.agephone-page .ap-cta .ap-btn-light:hover { background: rgba(60, 20, 0, .3); }
.ap-cta .ap-btn-light::after { content: "→"; transition: transform .3s var(--ease-out); }
.ap-cta .ap-btn-light:hover::after { transform: translateX(4px); }

/* Responsive ---------------------------------------------------------------------- */
@media (max-width: 1080px) {
  .ap-hero__grid { gap: 44px; }
  .ap-how__grid { grid-template-columns: minmax(0, 1fr); gap: 48px; }
  .ap-how__copy { max-width: 720px; }
  .ap-flow { max-width: 760px; }
  .ap-biz__intro { gap: 48px; }
}
/* タブレット幅: 3列のカードは横長の1列に組み替え、画面幅いっぱいを使う */
@media (max-width: 960px) {
  .ap-facts { grid-template-columns: repeat(2, minmax(0, 1fr)); margin-top: 56px; }
  .ap-facts li:nth-child(3) { padding-left: 0; border-left: 0; }
  .ap-facts li:nth-child(n+3) { border-top: 1px solid var(--ap-hairline); }
  .ap-dl { grid-template-columns: minmax(0, 1fr); }
  .ap-dl__card {
    grid-row: auto; grid-template-rows: auto 1fr; column-gap: 40px;
    grid-template-columns: minmax(0, 1fr) minmax(0, 280px);
    grid-template-areas: "head btn" "desc docs";
  }
  .ap-dl__head { grid-area: head; }
  .ap-dl__desc { grid-area: desc; margin: 18px 0 0; }
  .ap-dl__card > .btn { grid-area: btn; align-self: center; }
  .ap-dl__docs { grid-area: docs; margin-top: 18px; padding-top: 16px; }
  .ap-devices, .ap-notes__grid { grid-template-columns: minmax(0, 1fr); }
  .ap-devices { gap: 20px; }
  .ap-topics { grid-template-columns: minmax(0, 1fr); }
  .ap-topic { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); grid-template-rows: auto auto 1fr auto; column-gap: 12px; padding: 14px; }
  .ap-topic__img { grid-row: 1 / -1; height: 100%; min-height: 200px; }
  .ap-topic > :not(.ap-topic__img) { grid-column: 2; }
  .agephone-page .ap-topic__label { margin-top: 12px; }
  .ap-topic__link { margin-bottom: 8px; }
  .ap-media { grid-template-columns: minmax(0, 1fr) minmax(0, 360px); gap: 48px; }
}
@media (max-width: 860px) {
  .ap-cta__grid { grid-template-columns: minmax(0, 1fr); gap: 40px; text-align: center; }
  .ap-cta__art { width: min(100%, 420px); justify-self: center; }
  .agephone-page .ap-cta p { margin-inline: auto; }
  .ap-cta__actions { justify-content: center; }
}
@media (max-width: 760px) {
  .agephone-page .section { padding-block: 72px; }
  .agephone-page .section__lead { margin-bottom: 40px; }
  .ap-hero__grid { grid-template-columns: minmax(0, 1fr); gap: 40px; margin-top: 32px; }
  .agephone-page .ap-hero h1 { font-size: clamp(29px, 7.4vw, 38px); }
  .ap-hero__art, .ap-biz__art { margin: 0 12px 12px 0; }
  .ap-hero__art::before, .ap-biz__art::before { inset: 12px -12px -12px 12px; }
  .ap-facts li { padding: 20px 16px 24px; }
  .ap-steps { margin-top: 72px; }
  .ap-steps__list { grid-template-columns: minmax(0, 1fr); gap: 36px; }
  .ap-screens__list { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 40px 24px; max-width: 460px; }
  .ap-screens__list > li:nth-child(even) { margin-top: 0; }
  .ap-notes__col { padding: 26px 22px 20px; }
  .ap-biz__intro { grid-template-columns: minmax(0, 1fr); margin-bottom: 56px; }
  .ap-media { grid-template-columns: minmax(0, 1fr); gap: 36px; }
  .ap-media__thumb { max-width: 440px; }
  .ap-trademark { margin-top: 64px; }
  .agephone-page .ap-cta { padding: 72px 24px; }
}
/* スマホ幅: カードは縦積みに戻し、接続図も縦に積んで灯りを上から下へ流す */
@media (max-width: 600px) {
  .ap-dl__card {
    padding: 26px 22px 22px;
    grid-template-columns: minmax(0, 1fr); grid-template-rows: none;
    grid-template-areas: "head" "desc" "btn" "docs";
  }
  .ap-dl__desc { margin: 20px 0 24px; }
  .ap-dl__card > .btn { align-self: start; }
  .ap-dl__docs { margin-top: 20px; }
  .ap-topic { display: flex; padding: 14px 14px 24px; }
  .ap-topic__img { height: auto; min-height: 0; }
  .agephone-page .ap-topic__label { margin-top: 20px; }
  .ap-topic__link { margin-bottom: 0; }
  .ap-flow { padding: 36px 20px 24px; }
  .ap-flow__track { grid-template-columns: minmax(0, 1fr); justify-items: center; }
  .ap-flow__wire { width: 1.5px; height: 44px; margin: 12px 0 14px; }
  .ap-flow__wire--wifi { background: repeating-linear-gradient(180deg, var(--ap-signal) 0 6px, transparent 6px 11px); }
  .ap-flow__wire--wifi > span { left: 16px; bottom: auto; top: 50%; transform: translateY(-50%); }
  .ap-flow__wire::after { left: 50%; top: 0; }
  .ap-flow.in-view .ap-flow__wire::after { animation-name: ap-signal-y; }
  .ap-flow figcaption { margin-top: 28px; text-align: left; }
  /* 3列の表は日付が細切れに折れるため、行ごとに「項目名：値」の縦積みにする */
  .agephone-page .ap-table thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
  .agephone-page .ap-table, .agephone-page .ap-table tbody, .agephone-page .ap-table tr, .agephone-page .ap-table td { display: block; }
  .agephone-page .ap-table tr { padding: 16px 4px; border-bottom: 1px solid var(--color-border); }
  .agephone-page .ap-table td { padding: 0; border: 0; white-space: normal; }
  .agephone-page .ap-table td:first-child { margin-bottom: 6px; }
  .agephone-page .ap-table td[data-label] { display: grid; grid-template-columns: 7em minmax(0, 1fr); gap: 12px; font-size: 14px; line-height: 1.9; }
  .agephone-page .ap-table td[data-label]::before { content: attr(data-label); font-size: 12.5px; color: var(--ap-ink-muted); }
}
@media (max-width: 480px) {
  .agephone-page .ap-hero .hero__actions > .btn { width: 100%; }
  .ap-facts__value { font-size: 14px; }
  .ap-dl__head { gap: 12px; }
  .ap-dl__icon { width: 46px; height: 46px; }
  .ap-cta__actions > .btn { width: 100%; }
}
/* 背景を印刷しない既定のままだと、紺・朱の帯の白文字が白紙に消えるため、帯の地色ごと刷る */
@media print {
  .ap-biz, .ap-cta { -webkit-print-color-adjust: exact; print-color-adjust: exact; }
}
