/*
  ポチッとマクロの紹介ページ（pochitto.momotaroulab.com）
  色はアプリのデフォルトテーマ（windows/src/ThemeManager.cs の CreateDefault）と同じ。
  外部のフォント・スクリプト・解析タグは読み込まない（アプリと同じく、どこにも情報を送らない）。
*/

:root {
  --bg: #141a28;          /* WindowBg */
  --panel: #1a2132;       /* PanelBg */
  --panel-2: #1f2940;     /* StatusPillBg */
  --border: #262f44;      /* PanelBorder */
  --border-2: #34405a;    /* FrameBorder */
  --text: #e7ecf5;        /* TextMain */
  --text-body: #b4bed2;   /* HelpBodyText */
  --text-sub: #8e99b0;    /* TextSub */
  --accent-a: #3e8bff;    /* AccentStart */
  --accent-b: #7b5cff;    /* AccentEnd */
  --accent-text: #8fa8ff; /* AccentText */
  /* 白い文字を載せるボタン用。アプリの色（上の 2 つ）のままだと白との比が 3.3〜4.4 で WCAG AA（4.5）に届かないので、少し濃くした */
  --btn-a: #2563eb;
  --btn-b: #6b4ce6;
  --ok: #3dd68c;          /* OkBrush */
  --rec: #ff4d6d;         /* RecordBrush */
  --warn: #ffb547;
  --radius: 16px;
  --radius-s: 10px;
  --wrap: 1120px;
  --header-h: 65px;      /* 固定ヘッダーの高さ（線 1px を含む）。狭い画面では下で上書き */
  --font: "Hiragino Sans", "Hiragino Kaku Gothic ProN", "Yu Gothic UI", "Yu Gothic", Meiryo, "Noto Sans JP", system-ui, sans-serif;
  --mono: Menlo, Consolas, "SFMono-Regular", monospace;
}

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

html { scroll-behavior: smooth; scroll-padding-top: calc(64px + env(safe-area-inset-top, 0px) + 12px); -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  background: var(--bg);
  color: var(--text-body);
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.85;
  letter-spacing: 0.02em;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; display: block; }
a { color: var(--accent-text); text-decoration: none; }
a:hover { text-decoration: underline; }
h1, h2, h3 { color: var(--text); line-height: 1.4; margin: 0; letter-spacing: 0.01em; }
/* 日本語を文節の区切りで折り返す（対応していないブラウザではふつうの折り返し） */
h1, h2, h3, p, li, summary { word-break: auto-phrase; line-break: strict; }
/* 見出しの中で、ここでは折り返さない、というまとまり */
.nb { display: inline-block; }
p { margin: 0 0 1em; }
code { font-family: var(--mono); font-size: 0.92em; background: var(--panel-2); border: 1px solid var(--border); border-radius: 6px; padding: 0.05em 0.4em; color: var(--text); }
strong { color: var(--text); }

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

.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }
.ic {
  width: 1.15em; height: 1.15em; flex: none;
  fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round;
}

.skip { position: absolute; left: max(16px, env(safe-area-inset-left, 0px)); top: -60px; z-index: 100; background: var(--btn-b); color: #fff; padding: 8px 16px; border-radius: 8px; }
.skip:focus { top: calc(12px + env(safe-area-inset-top, 0px)); }

.wrap { max-width: var(--wrap); margin: 0 auto; padding-inline: max(24px, env(safe-area-inset-left, 0px)) max(24px, env(safe-area-inset-right, 0px)); }
.wrap--narrow { max-width: 820px; }

/* ---------- ヘッダー ---------- */
.top {
  position: sticky; top: 0; z-index: 50;
  padding-top: env(safe-area-inset-top, 0px);
  background: rgba(20, 26, 40, 0.82);
  backdrop-filter: saturate(160%) blur(12px);
  -webkit-backdrop-filter: saturate(160%) blur(12px);
  border-bottom: 1px solid var(--border);
}
.top__inner { display: flex; align-items: center; gap: 24px; height: 64px; }
.brand { display: flex; align-items: center; gap: 10px; color: var(--text); font-weight: 700; font-size: 17px; white-space: nowrap; }
.brand:hover { text-decoration: none; }
.brand img { border-radius: 9px; }
.top__nav { display: flex; align-items: center; gap: 22px; margin-left: auto; font-size: 14px; }
.top__nav a:not(.btn) { color: var(--text-sub); padding: 6px 2px; border-bottom: 2px solid transparent; white-space: nowrap; }
.top__nav a:not(.btn):hover { color: var(--text); text-decoration: none; }
/* いま見ている節（main.js が aria-current を付ける） */
.top__nav a:not(.btn)[aria-current="location"] { color: var(--text); border-bottom-color: var(--accent-text); }
.top__dl { flex: none; }

/* ---------- ボタン ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 44px; padding: 10px 20px;
  border-radius: 12px; border: 1px solid transparent;
  font: inherit; font-weight: 700; font-size: 15px; line-height: 1.3;
  color: var(--text); cursor: pointer; white-space: nowrap;
  transition: transform 0.12s ease, box-shadow 0.2s ease, background-color 0.2s ease, border-color 0.2s ease;
}
.btn:hover { text-decoration: none; transform: translateY(-1px); }
.btn:active { transform: translateY(0); }
.btn--primary {
  background: linear-gradient(135deg, var(--btn-a), var(--btn-b));
  color: #fff;
  box-shadow: 0 8px 24px -10px rgba(91, 124, 255, 0.8);
}
.btn--primary:hover { box-shadow: 0 12px 28px -10px rgba(123, 92, 255, 0.9); }
.btn--ghost { background: var(--panel); border-color: var(--border-2); }
.btn--ghost:hover { border-color: #4a5878; background: #232c42; }
.btn--small { min-height: 38px; padding: 7px 14px; font-size: 14px; border-radius: 10px; }
.btn--large { min-height: 52px; padding: 13px 26px; font-size: 16px; }
.btn--block { display: flex; width: 100%; justify-content: flex-start; flex-wrap: wrap; row-gap: 0; }
.btn[aria-disabled="true"] { opacity: 0.5; pointer-events: none; box-shadow: none; }

/* ---------- ヒーロー ---------- */
.hero {
  position: relative; overflow: hidden;
  /* ヘッダーを除いた 1 画面ぶんを埋め、中身は上下のまん中に。ほかの節はこの下に続く
     （svh はスマホのアドレスバーを出した状態の高さ。使えないブラウザは vh） */
  display: flex; align-items: center;
  min-height: calc(100vh - var(--header-h));
  min-height: calc(100svh - var(--header-h));
  padding: 56px 0 96px;
  background:
    radial-gradient(900px 480px at 85% 10%, rgba(123, 92, 255, 0.18), transparent 60%),
    radial-gradient(700px 420px at 10% 90%, rgba(62, 139, 255, 0.14), transparent 60%);
}
.hero__grid { width: 100%; display: grid; grid-template-columns: 1fr 1.05fr; gap: 48px; align-items: center; }
.eyebrow { color: var(--accent-text); font-weight: 700; font-size: 14px; letter-spacing: 0.08em; margin-bottom: 14px; }
.hero h1 { font-size: clamp(30px, 4.1vw, 46px); font-weight: 800; line-height: 1.35; letter-spacing: 0.02em; }
.lead { font-size: 17px; margin: 22px 0 30px; color: var(--text-body); }
.hero__cta { display: flex; flex-wrap: wrap; gap: 12px; }
.badges { list-style: none; padding: 0; margin: 28px 0 0; display: flex; flex-wrap: wrap; gap: 10px 18px; font-size: 14px; color: var(--text-sub); }
.badges li { display: inline-flex; align-items: center; gap: 6px; }
.badges .ic { color: var(--ok); }
.hero__shot { margin: 0; }
/* 下へ移動する矢印（1 画面で区切れても、下に続きがあると分かるように） */
.hero__next {
  position: absolute; left: 50%; bottom: 24px; transform: translateX(-50%);
  display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%;
  color: var(--text-sub); border: 1px solid var(--border-2); background: rgba(26, 33, 50, 0.6);
  font-size: 20px; transition: color 0.2s ease, border-color 0.2s ease;
}
.hero__next:hover { color: var(--text); border-color: #4a5878; text-decoration: none; }
@media (prefers-reduced-motion: no-preference) {
  .hero__next .ic { animation: hero-next 2.4s ease-in-out infinite; }
  @keyframes hero-next { 0%, 100% { transform: translateY(-2px); } 50% { transform: translateY(3px); } }
}
.hero__shot img, .shot img {
  border-radius: 14px;
  border: 1px solid var(--border-2);
  box-shadow: 0 30px 80px -30px rgba(0, 0, 0, 0.8), 0 0 0 1px rgba(255, 255, 255, 0.02);
}
.hero__shot img { box-shadow: 0 40px 100px -30px rgba(91, 124, 255, 0.45), 0 30px 80px -30px rgba(0, 0, 0, 0.8); }

/* ---------- セクション ---------- */
.section { padding: 88px 0; }
.section__title { font-size: clamp(24px, 3vw, 32px); font-weight: 800; margin-bottom: 12px; }
.section__lead { color: var(--text-sub); margin-bottom: 36px; }

.sub__title { display: flex; align-items: center; gap: 10px; font-size: 19px; margin: 48px 0 18px; }
.section__lead + .sub__title { margin-top: 8px; }
.sub__num {
  display: inline-grid; place-items: center; width: 28px; height: 28px; flex: none;
  border-radius: 50%; font-size: 15px; color: #fff; background: linear-gradient(135deg, var(--btn-a), var(--btn-b));
}
.ic--inline { width: 1.1em; height: 1.1em; vertical-align: -0.18em; color: var(--text); }
.try { display: grid; grid-template-columns: 1.2fr 0.8fr; gap: 20px; align-items: start; }
.try > * { min-width: 0; }
.try .steps { margin: 0; padding: 22px 24px 22px 2.6em; }
.try__stop h4 { display: flex; align-items: center; gap: 8px; margin: 0 0 8px; font-size: 16px; color: #ffd08a; }
.try__stop p { font-size: 15px; }
.card { background: var(--panel); border: 1px solid var(--border); border-radius: var(--radius); padding: 24px; }
.card h3 { font-size: 17px; margin-bottom: 8px; display: flex; align-items: center; gap: 8px; }
.card p { margin: 0; }
.card p + p { margin-top: 0.8em; }

.uses { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.uses p { font-size: 15px; }

/* ---------- できること ---------- */
.feature { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: 56px; align-items: center; margin-top: 72px; }
.feature--flip { grid-template-columns: 1.1fr 0.9fr; }
.feature--flip .feature__text { order: 2; }
.feature h3 { font-size: 24px; font-weight: 800; margin-bottom: 12px; }
.feature__icon {
  display: inline-grid; place-items: center; width: 48px; height: 48px; margin-bottom: 16px;
  border-radius: 14px; font-size: 22px; color: #fff;
  background: linear-gradient(135deg, var(--accent-a), var(--accent-b));
}
.feature__icon--rec { background: linear-gradient(135deg, #ff6b86, var(--rec)); }
.shot { margin: 0; }
.ticks, .plain { list-style: none; padding: 0; margin: 14px 0 0; }
.ticks li { position: relative; padding-left: 26px; margin: 6px 0; font-size: 15px; }
.ticks li::before {
  content: ""; position: absolute; left: 4px; top: 0.72em; width: 8px; height: 8px; border-radius: 50%;
  background: linear-gradient(135deg, var(--accent-a), var(--accent-b));
}
.plain li { margin: 6px 0; font-size: 15px; }
.steps { margin: 14px 0 0; padding-left: 1.4em; }
.steps li { margin: 8px 0; padding-left: 4px; font-size: 15px; }
.steps li::marker { color: var(--accent-text); font-weight: 700; }
.note { font-size: 14px; color: var(--text-sub); margin-top: 14px; }
.code {
  margin: 14px 0; padding: 16px 18px; overflow-x: auto;
  background: #11172a; border: 1px solid var(--border-2); border-radius: var(--radius-s);
  font-family: var(--mono); font-size: 14px; line-height: 1.7; color: #d7def0;
}
.code code { background: none; border: 0; padding: 0; font-size: inherit; }

.minis { list-style: none; padding: 0; margin: 80px 0 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.minis .ic { color: var(--accent-text); }
.minis p { font-size: 15px; }

/* ---------- かんたん版 ---------- */
.simple { display: grid; grid-template-columns: 1.3fr 0.7fr; gap: 56px; align-items: center; }
.simple__shot { margin: 0; justify-self: center; }
.simple__shot img { width: 360px; border-radius: 14px; border: 1px solid var(--border-2); box-shadow: 0 30px 80px -30px rgba(0, 0, 0, 0.8); }

/* ---------- ダウンロード ---------- */
/* OS のアイコン（Lucide の apple と layout-grid）。Mac は銀色、Windows は青 */
.os-badge {
  display: inline-grid; place-items: center; flex: none; width: 38px; height: 38px; border-radius: 11px;
  font-size: 21px; color: #fff;
}
.os-badge--mac { background: linear-gradient(160deg, #4a5366, #262d3d); color: #e7ecf5; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.12); }
.os-badge--win { background: linear-gradient(160deg, #1f8fff, #0067c0); }
.dl__title, .os__head, .install__title { display: flex; align-items: center; gap: 12px; }

/* ダウンロード：左右のカードで行（見出し・説明・ボタン 2 つ・注意）の高さをそろえ、ボタンを同じ高さに並べる */
.dl { display: grid; grid-template-columns: 1fr 1fr; grid-template-rows: repeat(5, auto); column-gap: 20px; row-gap: 0; }
.dl__col, .feature > *, .install__step > *, .hero__grid > *, .os__card { min-width: 0; }
.dl__col { display: grid; grid-row: span 5; grid-template-rows: subgrid; row-gap: 12px; padding: 28px; }
.dl__title { font-size: 22px; margin: 0; }
.dl__req { font-size: 14px; color: var(--text-sub); margin: 0 0 6px; align-self: start; }
.dl__label { flex: 1; text-align: left; }
.dl__meta { font-weight: 400; font-size: 13px; opacity: 0.8; }
.dl__small { font-size: 13px; color: var(--text-sub); margin: 6px 0 0; }

/* 対応OS：左右のカードで同じ項目の行の高さをそろえる（見出し・項目 6 つ・注意） */
.os { display: grid; grid-template-columns: 1fr 1fr; grid-template-rows: repeat(8, auto); column-gap: 20px; row-gap: 0; }
.os__card { display: grid; grid-row: span 8; grid-template-rows: subgrid; row-gap: 0; padding: 28px; }
.os__head { font-size: 22px; margin: 0 0 12px; }
.os__list { display: grid; grid-row: span 6; grid-template-rows: subgrid; margin: 0; }
.os__list > div { display: grid; grid-template-columns: 9.5em 1fr; gap: 14px; padding: 12px 0; border-top: 1px solid var(--border); }
.os__list dt { color: var(--text-sub); font-size: 14px; }
.os__list dd { margin: 0; font-size: 15px; color: var(--text-body); }
.os__note { margin: 12px 0 0; padding-top: 14px; border-top: 1px solid var(--border); }

/* ---------- はじめかた ---------- */
/* 入れる：OS ごとのカードに、手順（文）と画面の図を横に並べる（狭い画面では縦） */
.install { display: grid; gap: 20px; }
.install__os { padding: 28px; }
.install__title { font-size: 21px; margin: 0 0 4px; color: var(--text); }
.install__steps { list-style: none; counter-reset: step; margin: 0 0 8px; padding: 0; }
.install__step {
  counter-increment: step;
  display: grid; grid-template-columns: 1fr minmax(0, 440px); gap: 32px; align-items: center;
  padding: 24px 0; border-top: 1px solid var(--border);
}
.install__step:first-child { border-top: 0; }
.install__text { position: relative; padding-left: 46px; }
.install__text::before {
  content: counter(step); position: absolute; left: 0; top: 0.15em;
  display: grid; place-items: center; width: 30px; height: 30px; border-radius: 50%;
  background: linear-gradient(135deg, var(--btn-a), var(--btn-b)); color: #fff; font-weight: 700; font-size: 15px;
}
.install__text p { font-size: 15px; margin: 0; }
.install__text p + p, .install__text .plain { margin-top: 10px; }
.install__figs { display: grid; gap: 20px; }
.install__fig { margin: 0; }
.install__fig img { width: 100%; }
.install__fig--shot img {
  width: auto; max-width: min(100%, 320px); margin: 0 auto; border-radius: 12px;
  box-shadow: 0 20px 50px -24px rgba(0, 0, 0, 0.8);
}
.install__fig figcaption { margin-top: 6px; font-size: 12px; color: var(--text-sub); text-align: center; }

/* ---------- 使う前に ---------- */
.cautions { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.cautions p { font-size: 15px; }
.card--warn { border-color: rgba(255, 181, 71, 0.35); background: linear-gradient(180deg, rgba(255, 181, 71, 0.06), transparent 60%), var(--panel); }
.card--warn h3 { color: #ffd08a; }

/* ---------- 安心のために ---------- */
.safe { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 14px 32px; }
.safe li { display: flex; gap: 12px; align-items: flex-start; font-size: 15px; }
.safe .ic { color: var(--ok); margin-top: 0.35em; }

/* ---------- よくある質問 ---------- */
.faq details { background: var(--panel); border: 1px solid var(--border); border-radius: var(--radius-s); margin-bottom: 10px; }
.faq summary {
  cursor: pointer; list-style: none; padding: 16px 48px 16px 20px; position: relative;
  color: var(--text); font-weight: 700; font-size: 15px;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: ""; position: absolute; right: 20px; top: 50%; width: 9px; height: 9px; margin-top: -6px;
  border-right: 2px solid var(--text-sub); border-bottom: 2px solid var(--text-sub); transform: rotate(45deg);
  transition: transform 0.2s ease;
}
.faq details[open] summary::after { transform: rotate(225deg); margin-top: -2px; }
.faq details p { padding: 0 20px 18px; margin: 0; font-size: 15px; }

/* ---------- 個別のページ（ヘルプ・お問い合わせ） ---------- */
.page-head {
  padding: 56px 0 8px;
  background: radial-gradient(700px 300px at 80% 0%, rgba(123, 92, 255, 0.14), transparent 70%);
}
.crumb { font-size: 13px; color: var(--text-sub); margin-bottom: 14px; }
.crumb span { margin: 0 8px; opacity: 0.6; }
.page-head__title { font-size: clamp(28px, 4vw, 38px); font-weight: 800; margin-bottom: 12px; }
.section--page { padding-top: 24px; }
.section--page .sub__title:first-child { margin-top: 8px; }
.help__more { margin-top: 32px; }
.help__more-title, .contact__title { font-size: 17px; margin: 0 0 10px; }
.help__more p, .contact__card p { font-size: 15px; }
.contact__card { margin: 20px 0 28px; }
/* お問い合わせ：メールで送る */
.mail { padding: 28px; margin-bottom: 28px; border-color: var(--border-2); }
.mail__head { display: flex; align-items: center; gap: 16px; margin-bottom: 20px; }
.mail__icon {
  display: grid; place-items: center; flex: none; width: 48px; height: 48px; border-radius: 14px;
  font-size: 22px; color: #fff; background: linear-gradient(135deg, var(--btn-a), var(--btn-b));
}
.mail__title { font-size: 18px; margin: 0 0 2px; }
.mail__addr { margin: 0; font-size: 17px; font-weight: 700; color: var(--text); word-break: break-all; user-select: all; }
.mail__actions { display: flex; flex-wrap: wrap; gap: 12px; }
.mail__actions .btn[aria-disabled="true"], .mail__actions .btn:disabled { opacity: 0.5; pointer-events: none; }
.mail__status { min-height: 1.6em; margin: 10px 0 0; font-size: 14px; color: var(--ok); }
.mail__status.is-error { color: #ffd08a; }
.mail .note { margin-top: 4px; }
@media (max-width: 700px) { .mail { padding: 22px 18px; } .mail__actions .btn { flex: 1 1 100%; } }
.contact__card .ticks { margin-bottom: 12px; }
.contact__action { margin: 0 0 12px; }
.foot__nav a[aria-current="page"] { color: var(--text); font-weight: 700; }

/* ---------- 規約のページ（tools/build-legal.mjs が作る） ---------- */
.legal { font-size: 15px; }
.legal__h { font-size: 17px; margin: 32px 0 10px; }
.legal__h:first-child { margin-top: 0; }
.legal p { margin: 0 0 10px; }
.legal__list { margin: 0 0 10px; padding-left: 1.4em; }
.legal__list li { margin: 4px 0; }
.legal__updated { margin-top: 36px; font-size: 13px; color: var(--text-sub); }
.legal__table { margin: 0; border-top: 1px solid var(--border); }
.legal__table > div { display: grid; grid-template-columns: 13em 1fr; gap: 16px; padding: 14px 0; border-bottom: 1px solid var(--border); }
.legal__table dt { color: var(--text-sub); font-size: 14px; }
.legal__table dd { margin: 0; }
@media (max-width: 700px) { .legal__table > div { grid-template-columns: 1fr; gap: 4px; } }

/* ---------- お問い合わせ・フッター ---------- */
.contact p { font-size: 15px; }
.foot { padding: 40px 0 calc(40px + env(safe-area-inset-bottom, 0px)); border-top: 1px solid var(--border); background: #111624; }
.foot__inner { display: grid; gap: 6px; font-size: 13px; color: var(--text-sub); }
.foot__brand { display: flex; align-items: center; gap: 10px; color: var(--text); font-weight: 700; font-size: 15px; margin-bottom: 6px; }
.foot__brand img { border-radius: 7px; }
.foot p { margin: 0; }
.foot__nav { display: flex; flex-wrap: wrap; gap: 6px 18px; margin: 4px 0 10px; font-size: 14px; }
.foot__nav a { color: var(--text-body); }
.foot__legal { display: flex; flex-wrap: wrap; gap: 4px 16px; margin: 0 0 10px; font-size: 13px; }
.foot__legal a { color: var(--text-sub); }
.foot__legal a[aria-current="page"] { color: var(--text); font-weight: 700; }
.dl__terms { font-size: 13px; color: var(--text-sub); margin: -24px 0 28px; }
.foot a { text-decoration: underline; text-underline-offset: 2px; }

/* ---------- 狭い画面 ---------- */
@media (max-width: 1000px) {
  .top__nav { gap: 16px; }
  .hero { padding: 40px 0 88px; }
  .hero__grid, .feature, .simple { grid-template-columns: 1fr; gap: 32px; }
  .feature--flip .feature__text { order: 0; }
  .feature { margin-top: 56px; }
  .uses { grid-template-columns: 1fr 1fr; }
  .try { grid-template-columns: 1fr; }
  .install__step { grid-template-columns: 1fr; gap: 16px; }
  .install__fig { max-width: 480px; }
  .minis { grid-template-columns: 1fr; margin-top: 56px; }
  .simple__shot { justify-self: start; }
}
@media (max-width: 760px) {
  :root { --header-h: 101px; }
  html { scroll-padding-top: calc(112px + env(safe-area-inset-top, 0px)); }
  .top__inner { flex-wrap: wrap; height: auto; padding-block: 10px; row-gap: 2px; }
  .top__dl { margin-left: auto; padding-inline: 12px; }
  .top__nav { order: 3; width: 100%; margin-left: 0; justify-content: space-between; gap: 6px; }
}
@media (max-width: 700px) {
  .wrap { padding-inline: max(18px, env(safe-area-inset-left, 0px)) max(18px, env(safe-area-inset-right, 0px)); }
  .section { padding: 64px 0; }
  .uses, .dl, .os, .cautions, .safe { grid-template-columns: 1fr; }
  .dl__col + .dl__col, .os__card + .os__card { margin-top: 20px; }
  .os__list > div { grid-template-columns: 7.5em 1fr; gap: 10px; }
  .os__card { padding: 22px 18px; }
  .install__os { padding: 22px 18px; }
  .install__text { padding-left: 40px; }
  .lead { font-size: 16px; }
  /* 1 列のとき：「自動でもっとラクに。」（10 文字）が 1 行に収まる大きさにする（幅 258 で 21px、320 で 26px、375 で 30px） */
  .hero h1 { font-size: clamp(20px, 8vw, 34px); }
  .hero__cta .btn { flex: 1 1 100%; }
  .brand span { font-size: 16px; }
  .sub__title { font-size: 17px; margin-top: 40px; }
  .simple__shot img { width: 100%; max-width: 360px; }
}
@media (max-width: 360px) {
  /* 1 段目（ロゴとダウンロード）を 1 行に収める */
  .top__inner { column-gap: 10px; }
  .brand { gap: 8px; }
  .brand img { width: 30px; height: 30px; }
  .brand span { font-size: 15px; }
  .top__dl { padding-inline: 10px; font-size: 13px; }
  .top__nav { font-size: 13px; flex-wrap: wrap; justify-content: flex-start; column-gap: 11px; row-gap: 0; }
}
@media (max-width: 300px) {
  /* とても狭いとき：ロゴの文字を省いて、ロゴの絵とダウンロードを 1 行に（リンクの名前は aria-label にある） */
  .brand span { display: none; }
}
