/* DMFT SIMULATOR LP
   色はロゴの紺と、アプリ画面の配色（画面の黒・ボタンの青・むし歯の赤）から取っています。
   赤は「むし歯」を表す箇所だけに使います。 */

:root {
  --navy: #252b4d;        /* ロゴの紺。見出し・本文 */
  --ink: #1d2240;
  --muted: #5b6283;
  --screen: #131519;      /* アプリ画面の地色 */
  --screen-line: #2c313b;
  --blue: #2148b8;        /* アプリのボタンの青 */
  --blue-deep: #18378f;
  --decay: #e0362c;       /* むし歯 */
  --treated: #a9b9d8;     /* 治療した歯 */
  --mist: #eef2f7;
  --line: #d6dce8;
  --white: #fff;

  --font-ja: "Zen Kaku Gothic New", "Hiragino Kaku Gothic ProN", "Hiragino Sans", "Yu Gothic", Meiryo, sans-serif;
  --font-num: "Barlow", "Zen Kaku Gothic New", "Hiragino Kaku Gothic ProN", sans-serif;

  --wrap: 1160px;
  --gutter: 24px;
  --section-y: clamp(72px, 9vw, 128px);
  --radius: 6px;
  --header-h: 68px;
}

*, *::before, *::after { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 16px);
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  background: var(--white);
  color: var(--ink);
  font-family: var(--font-ja);
  font-size: 1rem;
  font-weight: 500;
  line-height: 1.9;
  font-feature-settings: "palt";
  letter-spacing: 0.02em;
  -webkit-font-smoothing: antialiased;
}

img, video, svg { max-width: 100%; height: auto; display: block; }
a { color: var(--blue); text-underline-offset: 0.2em; }
a:hover { color: var(--blue-deep); }
:focus-visible { outline: 3px solid var(--blue); outline-offset: 3px; border-radius: 2px; }
.section--screen :focus-visible, .sim :focus-visible, .band :focus-visible, .campaign :focus-visible, .footer :focus-visible { outline-color: #fff; }

h1, h2, h3, p, ul, ol, dl, dd, figure, fieldset { margin: 0; padding: 0; }
ul, ol { list-style: none; }
fieldset { border: 0; min-width: 0; }

h1, h2, h3 { color: var(--navy); line-height: 1.35; letter-spacing: 0.01em; }
h2 { font-size: clamp(1.75rem, 3.4vw, 2.75rem); font-weight: 900; }
h3 { font-size: clamp(1.1875rem, 1.6vw, 1.375rem); font-weight: 700; }
p + p { margin-top: 1em; }

.num { font-family: var(--font-num); font-feature-settings: "tnum"; letter-spacing: 0; }
.wrap { width: 100%; max-width: calc(var(--wrap) + var(--gutter) * 2); margin-inline: auto; padding-inline: var(--gutter); }
.vh { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.sp-only { display: none; }
.note { font-size: 0.875rem; color: var(--muted); line-height: 1.75; }

.skip { position: absolute; left: 8px; top: -60px; z-index: 100; background: var(--navy); color: #fff; padding: 8px 16px; border-radius: var(--radius); }
.skip:focus { top: 8px; color: #fff; }

/* ---------- ボタン ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 48px; padding: 10px 26px;
  border: 2px solid transparent; border-radius: var(--radius);
  font: inherit; font-weight: 700; line-height: 1.4; text-decoration: none; text-align: center;
  cursor: pointer; transition: background-color .15s, color .15s, border-color .15s;
}
.btn--small { min-height: 40px; padding: 6px 18px; font-size: 0.9375rem; }
.btn--large { min-height: 58px; padding: 12px 34px; font-size: 1.0625rem; }
.btn--primary { background: var(--blue); color: #fff; }
.btn--primary:hover { background: var(--blue-deep); color: #fff; }
.btn--ghost { background: transparent; color: var(--navy); border-color: var(--navy); }
.btn--ghost:hover { background: var(--navy); color: #fff; }
.btn--outline { background: #fff; color: var(--navy); border-color: var(--navy); }
.btn--outline:hover { background: var(--navy); color: #fff; }
.btn--light { background: #fff; color: var(--navy); }
.btn--light:hover { background: var(--mist); color: var(--navy); }
.btn[disabled] { opacity: .6; cursor: progress; }

/* ---------- ヘッダー ---------- */
.utility { background: var(--navy); color: #fff; font-size: 0.8125rem; line-height: 1.5; }
.utility__in { display: flex; justify-content: flex-end; align-items: baseline; gap: 18px; padding-block: 7px; }
.utility__tel { color: #fff; text-decoration: none; font-weight: 700; white-space: nowrap; }
.utility__tel:hover { color: #fff; text-decoration: underline; }
.utility__tel .num { font-size: 1.0625rem; font-weight: 600; margin-left: 4px; }

.header { position: sticky; top: 0; z-index: 50; background: rgba(255,255,255,.96); border-bottom: 1px solid var(--line); backdrop-filter: blur(8px); }
.header__in { display: flex; align-items: center; gap: 28px; min-height: var(--header-h); }
.header__logo { flex: none; }
.header__logo img { width: 204px; }
.nav { margin-left: auto; }
.nav ul { display: flex; gap: 22px; }
.nav a { display: block; padding: 8px 0; color: var(--navy); font-size: 0.9375rem; font-weight: 700; text-decoration: none; white-space: nowrap; border-bottom: 2px solid transparent; }
.nav a:hover { border-bottom-color: var(--blue); color: var(--navy); }
.header__actions { display: flex; align-items: center; gap: 16px; flex: none; }
.header__login { color: var(--navy); font-size: 0.9375rem; font-weight: 700; text-decoration: none; }
.header__login:hover { text-decoration: underline; }

/* ---------- セクション共通 ---------- */
.section { padding-block: var(--section-y); }
.section--mist { background: var(--mist); }
.section--screen { background: var(--screen); color: #d9dde6; }
.section--screen h2, .section--screen h3 { color: #fff; }
.lead { margin-top: 14px; font-size: clamp(1.125rem, 1.7vw, 1.375rem); font-weight: 700; color: var(--navy); line-height: 1.6; }
.section__intro { margin-top: 20px; max-width: 40em; }

/* ---------- ヒーロー ---------- */
.hero { background: var(--mist); padding-block: clamp(48px, 6vw, 88px) clamp(56px, 7vw, 104px); overflow: hidden; }
.hero__in { display: grid; grid-template-columns: minmax(0, 1.04fr) minmax(0, 1fr); gap: clamp(32px, 5vw, 72px); align-items: center; }
.hero h1 { font-size: clamp(2rem, 4.3vw, 3.5rem); font-weight: 900; line-height: 1.22; letter-spacing: 0; }
.hero__lead { margin-top: 24px; font-size: clamp(1.0625rem, 1.6vw, 1.3125rem); font-weight: 700; color: var(--navy); line-height: 1.7; }
.hero__cta { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 36px; }
.hero__campaign { margin-top: 28px; padding-left: 16px; border-left: 4px solid var(--blue); line-height: 1.6; }
.hero__campaign strong { display: block; color: var(--navy); font-weight: 900; }
.hero__campaign > span { display: block; font-size: 0.9375rem; white-space: nowrap; }
.hero__campaign .num { font-size: 1.0625rem; font-weight: 600; margin-inline: 1px; }

/* シミュレーター（タブレット風の枠） */
.sim { min-width: 0; }
.sim__screen {
  background: var(--screen); color: #fff;
  border: 12px solid #fff; border-radius: 30px;
  box-shadow: 0 0 0 1px var(--line), 0 30px 60px -28px rgba(37, 43, 77, .45);
  padding: clamp(18px, 2.4vw, 28px);
}
.sim figcaption { margin-top: 12px; font-size: 0.8125rem; color: var(--muted); text-align: center; line-height: 1.6; }
.sim__title { font-size: 1.0625rem; font-weight: 700; letter-spacing: 0.06em; text-align: center; }
.sim__body { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); gap: clamp(14px, 2.4vw, 28px); align-items: center; margin-top: 12px; }
.sim__arch { position: relative; }
.sim__arch svg { width: 100%; }
.sim__age { position: absolute; inset: 0; display: flex; align-items: baseline; justify-content: center; align-content: center; flex-wrap: wrap; pointer-events: none; }
.sim__age .num { font-size: clamp(2.5rem, 6vw, 3.75rem); font-weight: 600; line-height: 1; }
.sim__age-unit { font-size: 1rem; font-weight: 700; margin-left: 3px; }

.tooth rect { fill: #fff; stroke: #fff; stroke-width: 1.5; transition: fill .45s ease, stroke .45s ease; }
.tooth line { stroke: #7e8695; stroke-width: 1.6; stroke-linecap: round; opacity: 0; transition: opacity .45s ease; }
.tooth.is-treated rect { fill: var(--treated); stroke: var(--treated); }
.tooth.is-decayed rect { fill: var(--decay); stroke: var(--decay); }
.tooth.is-lost rect { fill: transparent; stroke: #5d6472; stroke-dasharray: 3 3; }
.tooth.is-lost line { opacity: 1; }

.sim__stats { display: grid; gap: 2px; }
.sim__stat { display: grid; grid-template-columns: 1fr auto; align-items: baseline; gap: 4px 8px; padding: 9px 0; border-top: 1px solid var(--screen-line); font-size: 0.875rem; line-height: 1.4; }
.sim__stat dt { display: flex; align-items: center; gap: 8px; color: #c4c9d4; font-weight: 500; }
.sim__stat dd { font-weight: 700; font-size: 0.8125rem; }
.sim__stat dd .num { font-size: 1.625rem; font-weight: 600; line-height: 1; margin-right: 2px; display: inline-block; min-width: 1.15em; text-align: right; }
.sim__stat--main { border-top: 0; padding-top: 0; }
.sim__stat--main dt { color: #fff; font-weight: 700; }
.sim__stat--main dd .num { font-size: clamp(2.5rem, 5vw, 3.25rem); }
.sim__goal { grid-column: 1 / -1; margin: 0; font-size: 0.75rem; color: #aeb5c2; }
.swatch { flex: none; width: 12px; height: 12px; border-radius: 3px; }
.swatch--decayed { background: var(--decay); }
.swatch--treated { background: var(--treated); }
.swatch--lost { border: 1.5px dashed #7e8695; }

.sim__steps { display: grid; grid-template-columns: repeat(5, 1fr); gap: 6px; margin-top: 18px; }
.sim__steps label { position: relative; cursor: pointer; }
.sim__steps input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.sim__steps span { display: block; padding: 9px 2px; border: 1px solid #4a5060; border-radius: 4px; font-size: 0.8125rem; font-weight: 700; line-height: 1.3; text-align: center; white-space: nowrap; color: #d9dde6; transition: background-color .15s, color .15s; }
.sim__steps label:hover span { border-color: #fff; }
.sim__steps input:checked + span { background: #fff; border-color: #fff; color: var(--screen); }
.sim__steps input:focus-visible + span { outline: 3px solid #fff; outline-offset: 2px; }

/* ---------- 概要 ---------- */
.about { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(32px, 6vw, 88px); align-items: center; }
.about__text h3 { margin-top: 36px; }
.about__text p:not(.lead) { margin-top: 16px; }
.about__photo img { width: 100%; border-radius: var(--radius); }

/* ---------- 使い方 ---------- */
.howto h2 { text-align: center; }
.video { max-width: 920px; margin: clamp(28px, 4vw, 48px) auto 0; aspect-ratio: 16 / 9; background: var(--screen); border-radius: var(--radius); overflow: hidden; }
.video iframe { width: 100%; height: 100%; border: 0; display: block; }
.video__poster { position: relative; display: block; width: 100%; height: 100%; }
.video__poster img { width: 100%; height: 100%; object-fit: cover; }
.video__play { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); display: inline-flex; align-items: center; gap: 10px; padding: 14px 26px 14px 20px; background: var(--blue); color: #fff; border-radius: var(--radius); font-weight: 700; white-space: nowrap; transition: background-color .15s; }
.video__poster:hover .video__play { background: var(--blue-deep); }

/* ---------- 機能（アプリ画面と同じ地色の帯） ---------- */
.feature { display: grid; grid-template-columns: 300px minmax(0, 1fr); gap: clamp(28px, 6vw, 80px); align-items: start; padding-block: clamp(36px, 5vw, 56px); border-top: 1px solid var(--screen-line); }
.section--screen h2 + .feature { margin-top: clamp(32px, 4vw, 48px); }
.feature:last-child { padding-bottom: 0; }
.feature__media video { width: 100%; border: 1px solid var(--screen-line); border-radius: 10px; background: var(--screen); }
.feature__text { max-width: 40em; }
.feature__text h3 { font-size: clamp(1.375rem, 2.2vw, 1.75rem); margin-bottom: 18px; }
.roadmap { margin-top: 24px; padding: 16px 20px; border: 1px solid var(--screen-line); border-radius: var(--radius); font-size: 0.9375rem; line-height: 1.8; }
.roadmap__title { font-weight: 700; color: #fff; margin-bottom: 6px; }
.roadmap li { position: relative; padding-left: 1.1em; }
.roadmap li::before { content: ""; position: absolute; left: 0.2em; top: 0.8em; width: 5px; height: 5px; border-radius: 50%; background: #8f97a8; }

/* ---------- 提供できること ---------- */
.values { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(24px, 3.4vw, 48px); margin-top: clamp(32px, 4vw, 56px); }
.value img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; border-radius: var(--radius); background: var(--mist); }
.value h3 { margin-top: 22px; }
.value h3 + p { margin-top: 12px; }
.value p { font-size: 0.9375rem; line-height: 1.85; }
.value p + p { margin-top: 0.8em; }

/* ---------- CTA帯 ---------- */
.band { background: linear-gradient(rgba(29, 34, 64, .62), rgba(29, 34, 64, .62)), url("../img/scene-chairside.jpg") center 12% / cover no-repeat var(--navy); color: #fff; padding-block: clamp(64px, 9vw, 120px); text-align: center; }
.band__title { font-size: clamp(1.625rem, 3.6vw, 2.75rem); font-weight: 900; line-height: 1.35; }
.band__text { margin-top: 10px; }
.band__text .num { font-size: 1.125rem; font-weight: 600; margin-inline: 1px; }
.band .btn { margin-top: 28px; }

/* ---------- 開発者の声 ---------- */
.voice { display: grid; grid-template-columns: minmax(0, 340px) minmax(0, 1fr); gap: clamp(32px, 6vw, 88px); align-items: start; }
.voice__person { margin-top: 32px; }
.voice__person img { width: 180px; border-radius: var(--radius); }
.voice__person figcaption { margin-top: 16px; font-size: 0.875rem; line-height: 1.7; color: var(--muted); }
.voice__person strong { display: block; margin-top: 4px; font-size: 1.25rem; font-weight: 900; color: var(--navy); letter-spacing: 0.08em; }
.voice__text { max-width: 40em; font-size: 1.0625rem; line-height: 2; }

/* ---------- メディア掲載 ---------- */
.media { border-top: 1px solid var(--line); padding-block: 40px; }
.media__in { display: flex; align-items: center; gap: clamp(24px, 5vw, 64px); flex-wrap: wrap; }
.media h2 { font-size: 1.125rem; font-weight: 700; }
.media ul { display: flex; align-items: center; gap: clamp(16px, 3vw, 40px); flex-wrap: wrap; }
.media img { width: 150px; }
.media a { display: block; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.media a:hover { border-color: var(--navy); }

/* ---------- 料金 ---------- */
.pricing { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 440px); gap: clamp(24px, 5vw, 64px); align-items: center; margin-top: clamp(28px, 4vw, 48px); }
.prices { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0; background: #fff; border-radius: var(--radius); }
.price { padding: clamp(24px, 3vw, 40px); }
.price + .price { border-left: 1px solid var(--line); }
.price dt { font-weight: 700; color: var(--navy); }
.price dt small { font-size: 0.8125rem; font-weight: 500; color: var(--muted); }
.price dd { margin-top: 6px; font-size: 1.25rem; font-weight: 700; color: var(--navy); line-height: 1.1; white-space: nowrap; }
.price dd .num { font-size: clamp(2.5rem, 5.4vw, 4.25rem); font-weight: 600; margin-right: 4px; }
.pricing__img { border-radius: var(--radius); }

.campaign { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(24px, 5vw, 64px); align-items: center; margin-top: clamp(28px, 4vw, 48px); padding: clamp(28px, 4.4vw, 56px); background: var(--navy); color: #fff; border-radius: var(--radius); }
.campaign__label { font-weight: 700; }
.campaign__title { margin-top: 4px; font-size: clamp(1.625rem, 3.2vw, 2.5rem); font-weight: 900; line-height: 1.25; white-space: nowrap; }
.campaign__title .num { font-size: 1.3em; font-weight: 700; margin-right: 2px; }
.campaign__period { margin-top: 14px; padding-top: 14px; border-top: 1px solid rgba(255,255,255,.3); font-weight: 700; }
.campaign__period .num { font-size: 1.1875rem; font-weight: 600; margin-inline: 1px; }
.campaign__regular { font-size: 0.875rem; color: #c9cee0; margin-top: 10px; }
.campaign .btn { margin-top: 22px; }

/* ---------- 登録方法 ---------- */
.steps { margin-top: clamp(32px, 4vw, 56px); counter-reset: none; }
.step { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 460px); gap: clamp(24px, 6vw, 88px); align-items: start; padding-block: clamp(32px, 4.4vw, 56px); border-top: 1px solid var(--line); }
.step__text { max-width: 34em; }
.step__no { display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px; border-radius: 50%; background: var(--navy); color: #fff; font-size: 1.375rem; font-weight: 600; line-height: 1; }
.step__text h3, .cancel h3 { margin-top: 14px; font-size: clamp(1.25rem, 2vw, 1.5rem); }
.step__text h3 + p, .cancel h3 + p { margin-top: 12px; }
.step__text .note { margin-top: 10px; }
.step__text .btn { margin-top: 22px; }
.step__shot { background: var(--mist); border-radius: var(--radius); padding: clamp(14px, 2vw, 24px); }
.step__shot img { width: 100%; max-height: 420px; object-fit: contain; border-radius: 3px; }
.step__shot--tall img { max-height: 560px; }
.fields { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 2px 24px; margin-block: 12px; padding: 14px 18px; background: var(--mist); border-radius: var(--radius); font-size: 0.9375rem; }
.fields li { position: relative; padding-left: 1em; }
.fields li::before { content: ""; position: absolute; left: 0.1em; top: 0.85em; width: 5px; height: 5px; border-radius: 50%; background: var(--navy); }

.after { display: flex; align-items: center; justify-content: space-between; gap: 24px 48px; flex-wrap: wrap; margin-top: 8px; padding: clamp(24px, 3.4vw, 40px); background: var(--mist); border-radius: var(--radius); }
.after > div { max-width: 38em; }
.after h3 + p { margin-top: 6px; }
.after--plain { background: #fff; margin-top: clamp(28px, 4vw, 48px); }

/* ---------- 解約方法 ---------- */
.cancel { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(20px, 3vw, 40px); margin-top: clamp(28px, 4vw, 48px); }
.cancel figure { margin-bottom: 20px; background: var(--screen); border-radius: var(--radius); overflow: hidden; aspect-ratio: 1200 / 657; }
.cancel figure img { width: 100%; height: 100%; object-fit: contain; }

/* ---------- よくある質問 ---------- */
.faq { display: grid; grid-template-columns: minmax(0, 300px) minmax(0, 1fr); gap: clamp(24px, 6vw, 88px); align-items: start; }
.faq__list { border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { position: relative; padding: 22px 48px 22px 0; font-size: 1.0625rem; font-weight: 700; color: var(--navy); line-height: 1.6; cursor: pointer; list-style: none; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::before, .faq summary::after { content: ""; position: absolute; right: 8px; top: 50%; width: 16px; height: 2px; background: var(--navy); transition: transform .2s; }
.faq summary::after { transform: rotate(90deg); }
.faq details[open] summary::after { transform: rotate(0deg); }
.faq details p { padding: 0 48px 24px 0; max-width: 42em; }

/* ---------- お問い合わせ ---------- */
.contact { display: grid; grid-template-columns: minmax(0, 380px) minmax(0, 1fr); gap: clamp(32px, 6vw, 88px); align-items: start; }
.contact__intro p { margin-top: 20px; }
.contact__card { background: #fff; border-radius: var(--radius); }
.contact__item { padding: clamp(24px, 4vw, 44px); }
.contact__item + .contact__item { border-top: 1px solid var(--line); }
.contact__item h3 { font-size: 0.9375rem; color: var(--muted); }
.contact__value { display: inline-block; margin-top: 6px; font-size: clamp(1.5rem, 3.4vw, 2.25rem); font-weight: 600; color: var(--navy); line-height: 1.3; text-decoration: none; overflow-wrap: anywhere; }
.contact__value:hover { text-decoration: underline; color: var(--navy); }
.contact__item .note { margin-top: 8px; }
.contact__item .btn { margin-top: 22px; }

/* ---------- 運営会社 ---------- */
.company__head { display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap; }
.company__head img { width: 200px; }
.company { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(32px, 6vw, 88px); align-items: start; margin-top: clamp(32px, 4vw, 56px); }
.company h3 { font-size: 0.9375rem; color: var(--muted); }
.company__philosophy .lead { margin-top: 10px; font-size: clamp(1.25rem, 2.2vw, 1.625rem); }
.company__philosophy .lead + p { margin-top: 20px; }
.profile { margin-top: 10px; border-top: 1px solid var(--line); }
.profile > div { display: grid; grid-template-columns: 7.5em minmax(0, 1fr); gap: 16px; padding: 16px 0; border-bottom: 1px solid var(--line); }
.profile dt { font-weight: 700; color: var(--navy); }
.profile dd { line-height: 1.8; }
.profile ul { margin-top: 6px; font-size: 0.9375rem; }
.profile li { position: relative; padding-left: 1em; }
.profile li::before { content: ""; position: absolute; left: 0.1em; top: 0.85em; width: 5px; height: 5px; border-radius: 50%; background: var(--navy); }

/* ---------- フッター ---------- */
.footer { background: var(--screen); color: #c4c9d4; padding-block: 40px; font-size: 0.875rem; }
.footer__in { display: flex; justify-content: space-between; align-items: center; gap: 16px 32px; flex-wrap: wrap; }
.footer ul { display: flex; flex-wrap: wrap; gap: 8px 28px; }
.footer a { color: #fff; text-decoration: none; }
.footer a:hover { text-decoration: underline; color: #fff; }

/* ---------- レスポンシブ ---------- */
@media (max-width: 1200px) {
  .header__in { flex-wrap: wrap; row-gap: 0; padding-top: 12px; }
  .header__actions { margin-left: auto; }
  .nav { order: 3; width: 100%; margin-left: 0; margin-inline: calc(var(--gutter) * -1); width: calc(100% + var(--gutter) * 2); overflow-x: auto; scrollbar-width: none; -webkit-overflow-scrolling: touch; }
  .nav::-webkit-scrollbar { display: none; }
  .nav ul { padding-inline: var(--gutter); width: max-content; }
  .nav a { padding-block: 10px; }
  :root { --header-h: 104px; }
}

@media (max-width: 960px) {
  .hero__in { grid-template-columns: minmax(0, 1fr); }
  .sim { max-width: 600px; width: 100%; margin-inline: auto; }
  .about, .voice, .faq, .contact, .pricing, .campaign, .company { grid-template-columns: minmax(0, 1fr); }
  .about__photo { order: -1; }
  .values { grid-template-columns: minmax(0, 1fr); max-width: 560px; }
  .pricing__img { width: min(100%, 420px); margin-inline: auto; }
  .voice__person { display: flex; align-items: center; gap: 20px; }
  .voice__person img { width: 112px; }
  .voice__person figcaption { margin-top: 0; font-size: 0.8125rem; letter-spacing: 0; }
  .step { grid-template-columns: minmax(0, 1fr); }
  .step__shot { max-width: 520px; }
  .cancel { grid-template-columns: minmax(0, 1fr); max-width: 560px; }
}

@media (max-width: 720px) {
  :root { --gutter: 20px; }
  .sp-only { display: inline; }
  .pc-only { display: none; }
  .utility__in { justify-content: space-between; gap: 10px; }
  .utility__hours { font-size: 0.75rem; text-align: right; white-space: nowrap; }
  .utility__label { display: none; }
  .header__logo img { width: 160px; }
  .header__login { display: none; }
  .hero__cta .btn { flex: 1 1 100%; }
  .hero__campaign > span { font-size: 0.875rem; }
  .sim__screen { border-width: 8px; border-radius: 22px; padding: 16px 14px; }
  .sim__body { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 12px; }
  .sim__stat { font-size: 0.75rem; padding: 7px 0; }
  .sim__stat dd .num { font-size: 1.25rem; }
  .sim__steps { gap: 4px; }
  .sim__steps span { font-size: 0.6875rem; padding: 9px 0; }
  .feature { grid-template-columns: minmax(0, 1fr); }
  .feature__media { max-width: 260px; }
  .prices { grid-template-columns: minmax(0, 1fr); }
  .price + .price { border-left: 0; border-top: 1px solid var(--line); }
  .fields { grid-template-columns: minmax(0, 1fr); }
  .faq summary { font-size: 1rem; padding-right: 40px; }
  .faq details p { padding-right: 0; }
  .after .btn, .contact__item .btn { width: 100%; }
  .media__in { flex-direction: column; align-items: flex-start; }
  .media img { width: 96px; }
  .company__head img { width: 150px; }
  .profile > div { grid-template-columns: 6em minmax(0, 1fr); gap: 12px; }
  .footer__in { flex-direction: column; align-items: flex-start; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: 0.01ms !important; animation-duration: 0.01ms !important; }
}
