/* 案内サイトの見た目。parts-en/00-head.html に埋めていたものを1つにまとめた。
   ページは34枚に配られるので、埋めたままだと同じ422行が34回運ばれる。 */
  :root {
    /* ブランドカラー。正本は /opt/Project/concierge/ブランド/カラー.md
       紺は「場」（夜のアトリウム）、金は「そこへ落ちる光」。この2つの役目を混ぜない */
    --navy: #0a0f1c;        /* Navy 900 いちばん深い地 */
    --navy-2: #0e1526;      /* Navy 800 交互に敷く帯 */
    --panel: #131c33;       /* Navy 700 カード・入力欄 */
    --panel-2: #18233f;     /* Navy 600 表の見出し */
    --navy-deep: #060a13;   /* Navy 950 フッター。本文より暗くして終わりを示す */
    --line: rgba(168, 190, 230, 0.18);
    --line-strong: rgba(168, 190, 230, 0.38);

    --gold: #f0c977;        /* Gold 400 主アクセント。買う色に残す */
    --gold-deep: #d9a441;   /* Gold 500 ボタンの下側 */
    --gold-faint: rgba(240, 201, 119, 0.12);
    /* Cyan 300 第2アクセント。状態を示すときだけ（ボタンには使わない） */
    --cyan: #7fd8e3;
    --cyan-line: rgba(127, 216, 227, 0.38);

    --ink: #eef2f9;
    --mute: #c9d3e4;
    --faint: #93a2bc;

    --font-body: -apple-system, BlinkMacSystemFont, "Hiragino Sans", "Segoe UI",
      "Helvetica Neue", Arial, sans-serif;
    --font-mono: ui-monospace, "SF Mono", "JetBrains Mono", Menlo, Consolas, monospace;

    --maxw: 1120px;
    --pad: 24px;
    --fs-hero: clamp(2.15rem, 4.2vw, 3.4rem);
    --fs-h2: clamp(1.7rem, 3.2vw, 2.5rem);
    --fs-h3: 1.3rem;
    --fs-body: 1.0625rem;   /* 17px */
    --fs-small: 0.9375rem;  /* 15px */
    --fs-foot: 0.875rem;    /* 14px。下限13pxを下回らない */
  }

  * { box-sizing: border-box; }
  html { scroll-behavior: smooth; }
  body {
    margin: 0;
    background: var(--navy);
    color: var(--ink);
    font-family: var(--font-body);
    font-size: var(--fs-body);
    line-height: 1.8;
    -webkit-font-smoothing: antialiased;
  }
  @media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    * { transition: none !important; animation: none !important; }
  }
  a { color: var(--gold); text-decoration: none; }
  a:hover { text-decoration: underline; }
  img { max-width: 100%; height: auto; }
  h1, h2, h3, h4, h5 { line-height: 1.4; margin: 0; font-weight: 700; letter-spacing: 0.01em; }
  p { margin: 0 0 1em; }
  ul, ol { margin: 0 0 1em; padding-left: 1.4em; }
  li { margin: 0.35em 0; }
  code { font-family: var(--font-mono); font-size: 0.94em; background: var(--panel); padding: 2px 6px; border-radius: 5px; }

  /* ヘッダー・本文・フッターで同じ最大幅と同じ左右余白にする（左端を揃える） */
  .wrap { max-width: var(--maxw); margin: 0 auto; padding: 0 var(--pad); }
  .narrow { max-width: 780px; }
  /* 読み幅を狭めるページも、外枠はグローバルナビと同じ幅のまま。狭めるのは中身だけ（左にそろえる）。
     ダウンロードのボタンの並びは外枠の中央に置くので狭めない */
  .wrap.narrow { max-width: var(--maxw); }
  .wrap.narrow > :not(.cta-row) { max-width: 780px; }

  /* ---------- ナビ ---------- */
  #nav {
    position: sticky; top: 0; z-index: 50;
    background: rgba(10, 15, 28, 0.86);
    backdrop-filter: saturate(150%) blur(14px);
    border-bottom: 1px solid transparent;
    transition: border-color .2s, background .2s;
  }
  #nav.scrolled { border-bottom-color: var(--line); background: rgba(10, 15, 28, 0.96); }
  .navbar { display: flex; align-items: center; gap: 14px; height: 68px; }
  /* ロゴも押せる要素なので、指で押せる大きさ（44px）を確保する */
  .brand { display: inline-flex; align-items: center; gap: 11px; min-height: 44px; color: var(--ink); font-weight: 700; font-size: 1.08rem; letter-spacing: 0.02em; }
  .brand:hover { text-decoration: none; }
  .brand .mark { width: 43px; height: 43px; border-radius: 10px; }
  .navlinks { margin-left: auto; display: flex; align-items: center; gap: 6px; }
  .navlink { color: var(--mute); font-size: var(--fs-small); padding: 9px 11px; border-radius: 8px; }
  .navlink:hover { color: var(--ink); background: rgba(255,255,255,0.06); text-decoration: none; }
  .navlink[aria-current="page"] { color: var(--gold); }
  .btn {
    display: inline-flex; align-items: center; justify-content: center; gap: 8px;
    min-height: 44px; padding: 11px 20px; border-radius: 10px; line-height: 1.4;
    font-size: var(--fs-small); font-weight: 700; border: 1px solid transparent; cursor: pointer;
  }
  .btn:hover { text-decoration: none; }
  .btn-gold { background: linear-gradient(180deg, var(--gold), var(--gold-deep)); color: #16202f; }
  .btn-gold:hover { filter: brightness(1.06); }
  .btn-ghost { border-color: var(--line-strong); color: var(--ink); background: transparent; }
  .btn-ghost:hover { background: rgba(255,255,255,0.06); }
  .btn-lg { min-height: 52px; padding: 14px 30px; font-size: 1.02rem; }
  .navtoggle { display: none; background: none; border: 1px solid var(--line); color: var(--ink); border-radius: 9px; width: 44px; height: 44px; cursor: pointer; font-size: 1.1rem; margin-left: 10px; }
  /* 畳んだときだけ出る常設のCTA。PC ではナビ内の1つだけを見せる（二重に出さない） */
  .navbar > .btn-gold { display: none; }
  @media (max-width: 900px) {
    .navtoggle { display: inline-flex; align-items: center; justify-content: center; }
    .navlinks {
      position: absolute; left: 0; right: 0; top: 68px; margin: 0;
      flex-direction: column; align-items: stretch; gap: 2px;
      background: var(--navy-2); border-bottom: 1px solid var(--line);
      padding: 10px var(--pad) 18px; display: none;
    }
    .navlinks.open { display: flex; }
    .navlink { padding: 13px 6px; font-size: 1rem; }
    /* CTA は畳まない。ロゴの右、ハンバーガーの左に残す */
    .navbar > .btn-gold { display: inline-flex; margin-left: auto; padding: 9px 15px; min-height: 40px; }
    .navlinks .btn-gold { display: none; }
  }

  /* ---------- 面と帯 ---------- */
  main { display: block; }
  .view { display: none; }
  .view.active { display: block; }
  .hero { padding: 82px 0 58px; border-bottom: 1px solid var(--line); position: relative; overflow: hidden; }
  .hero::after {
    content: ""; position: absolute; inset: 0; pointer-events: none;
    background: radial-gradient(ellipse 70% 60% at 50% -10%, rgba(240,201,119,0.10), transparent 70%);
  }
  .hero .wrap { position: relative; z-index: 1; }
  .eyebrow { color: var(--gold); font-size: var(--fs-small); font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; margin: 0 0 14px; }
  h1 { font-size: var(--fs-hero); letter-spacing: -0.01em; margin: 0 0 18px; }
  .lede { font-size: 1.14rem; color: var(--mute); max-width: 720px; margin: 0 0 26px; }
  /* ボタンの上下には必ず余白を空ける（決めごと）。
     文のすぐ下にボタンを置くと、押すものが文章の一部に見えて読み違える。
     ここは 32px を下限とし、狭い画面でも 26px を切らない */
  .cta-row { display: flex; flex-wrap: wrap; gap: 12px; margin: 32px 0; }
  .cta-row:last-child { margin-bottom: 0; }
  @media (max-width: 640px) { .cta-row { margin: 26px 0; } }
  /* カードの中の単独のボタンも、上に余白を持たせる */
  .plan .btn, .card .btn { margin-top: 24px; }
  .cta-row.center { justify-content: center; }
  /* ダウンロードのボタンは、他のボタンと並べても必ず中央（product-site の決まり）。並ぶボタンはその下に置く */
  .cta-row:has(> a.btn[href*="download"]) { flex-direction: column; align-items: center; max-width: none; }
  /* ダウンロードのボタンは、どこにあっても中央寄せ（絶対ルール） */
  .cta-row.download { justify-content: center; }
  /* ダウンロードの導線は必ず中央に置く。押してほしいものを端に寄せない */
  #view-download .cta-row, .cta-row.download { justify-content: center; }
  #view-download .hero, #view-download .hero .lede, #view-download .formnote { text-align: center; }
  #view-download .lede { max-width: none; margin-left: 0; margin-right: 0; padding-left: max(0px, calc((100% - 720px) / 2)); padding-right: max(0px, calc((100% - 720px) / 2)); }
  .band { padding: 64px 0; border-bottom: 1px solid var(--line); }
  .band.tight { padding: 52px 0; }
  .band.alt { background: var(--navy-2); }
  h2 { font-size: var(--fs-h2); margin: 0 0 14px; }
  /* 見出しと本文の間は 12px。上の余白が下の 3.5 倍を超えないように（見出しの上下の釣り合い） */
  h3 { font-size: var(--fs-h3); margin: 0 0 12px; }
  .sub { color: var(--faint); max-width: 720px; margin: 0 0 30px; }
  /* 節の中の小見出し（配色の見本など、図の上に一言置くとき） */
  .sub-h { font-size: var(--fs-h3); margin: 34px 0 14px; }
  .center-head { text-align: center; }
  .center-head .sub { max-width: none; margin-left: 0; margin-right: 0; padding-left: max(0px, calc((100% - 720px) / 2)); padding-right: max(0px, calc((100% - 720px) / 2)); }

  /* ---------- 部品 ---------- */
  /* 上の 2px は、カードの先頭の見出しを「上に余白を持つ箱の先頭」として扱わせるため（見た目はほぼ変わらない） */
  .grid { display: grid; gap: 18px; padding-top: 2px; }
  .g2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .g3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .g4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  @media (max-width: 880px) { .g3, .g4 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
  @media (max-width: 620px) { .g2, .g3, .g4 { grid-template-columns: 1fr; } }
  .card { background: var(--panel); border: 1px solid var(--line); border-radius: 14px; padding: 22px; }
  .card h3 { color: var(--ink); }
  .card p { color: var(--mute); font-size: var(--fs-small); margin: 0; }
  .card .ico { font-size: 1.5rem; margin-bottom: 10px; display: block; }
  /* 小見出しの頭に置く記号。文字と同じ行に並べる */
  .card h3 .ic { display: inline-block; width: 1.5em; margin-right: 6px; font-size: 1.05em; line-height: 1; }
  .arrowlink { display: inline-flex; align-items: center; gap: 6px; font-weight: 700; font-size: var(--fs-small); min-height: 44px; }

  .kicker { display: inline-block; font-size: var(--fs-foot); font-weight: 700; color: var(--cyan); border: 1px solid var(--cyan-line); border-radius: 999px; padding: 4px 12px; margin-bottom: 14px; }

  /* 表は個別に横スクロールで包む（スマホで横スクロールを出さない） */
  .tablewrap { overflow-x: auto; -webkit-overflow-scrolling: touch; border: 1px solid var(--line); border-radius: 12px; }
  /* 列の幅は1列目（項目名）を除いてそろえる */
  table { border-collapse: collapse; width: 100%; min-width: 560px; font-size: var(--fs-small); table-layout: fixed; }
  thead th:first-child { width: 30%; }
  thead th { white-space: normal; }
  th, td { padding: 13px 15px; text-align: left; border-bottom: 1px solid var(--line); vertical-align: top; }
  th { background: var(--panel-2); color: var(--ink); font-weight: 700; white-space: nowrap; }
  /* 比較表の製品名は中央揃え＋アイコン。左寄せの文字だけだと、どの列がどの製品か目が迷う */
  thead th { text-align: center; vertical-align: bottom; }
  thead th:first-child { text-align: left; }
  .vend { display: flex; flex-direction: column; align-items: center; gap: 7px; }
  .vend img { width: 30px; height: 30px; border-radius: 8px; display: block; }
  .vend .vn { font-size: var(--fs-foot); }
  thead th.ours .vn { color: var(--gold); }
  tbody tr:last-child td { border-bottom: 0; }
  td.ours { background: var(--gold-faint); }

  /* 定義表（特商法・料金の内訳）。スマホでは項目名を上、内容を下に積む */
  .deflist { border: 1px solid var(--line); border-radius: 12px; overflow: hidden; }
  .defrow { display: grid; grid-template-columns: 230px 1fr; border-bottom: 1px solid var(--line); }
  .defrow:last-child { border-bottom: 0; }
  .defrow dt { background: var(--panel-2); padding: 15px 18px; font-weight: 700; font-size: var(--fs-small); }
  .defrow dd { margin: 0; padding: 15px 18px; color: var(--mute); font-size: var(--fs-small); }
  .defrow dd > :last-child { margin-bottom: 0; }
  @media (max-width: 720px) { .defrow { grid-template-columns: 1fr; } .defrow dt { border-bottom: 1px solid var(--line); } }

  /* 料金 */
  /* 料金は4枚を1行に並べる。並べて比べられることが、この表の値打ちだから。
     狭いところでは 2列 → 1列へ畳む（溢れて1枚だけ取り残されるのを防ぐ） */
  .plans { display: grid; gap: 14px; grid-template-columns: repeat(4, minmax(0,1fr)); }
  @media (max-width: 860px) { .plans { grid-template-columns: repeat(2, minmax(0,1fr)); gap: 18px; } }
  @media (max-width: 560px) { .plans { grid-template-columns: 1fr; } }
  .plan { background: var(--panel); border: 1px solid var(--line); border-radius: 16px; padding: 22px 18px; display: flex; flex-direction: column; position: relative; }
  .plan.feature { border-color: var(--gold); box-shadow: 0 0 0 1px var(--gold-faint); }
  /* いちばん薦めるものに札を付ける */
  .plan .tag { position: absolute; top: -11px; left: 20px;
    background: linear-gradient(180deg, var(--gold), var(--gold-deep)); color: #16202f;
    font-size: var(--fs-foot); font-weight: 700; padding: 2px 12px; border-radius: 999px; }
  .plan .pname { font-size: 1.06rem; font-weight: 700; margin-bottom: 6px; }
  .plan .price { font-size: 1.95rem; font-weight: 800; letter-spacing: -0.02em; margin: 8px 0 2px; }
  .plan .price .unit { font-size: 0.875rem; font-weight: 600; color: var(--faint); margin-left: 4px; white-space: nowrap; }
  .plan .note { color: var(--faint); font-size: var(--fs-foot); margin-bottom: 16px; }
  .plan ul { list-style: none; padding: 0; margin: 0 0 22px; }
  .plan li { padding-left: 22px; position: relative; color: var(--mute); font-size: var(--fs-foot); line-height: 1.6; }
  .plan li::before { content: "✓"; position: absolute; left: 2px; color: var(--cyan); font-weight: 700; }
  .plan .btn { margin-top: auto; }

  /* FAQ */
  .qa { border-top: 1px solid var(--line); padding: 20px 0; }
  .qa:last-of-type { border-bottom: 1px solid var(--line); }
  .qa h3 { font-size: 1.08rem; margin-bottom: 15px; }
  .qa p { color: var(--mute); font-size: var(--fs-small); margin: 0; }

  /* 手順 */
  .steps { counter-reset: s; display: grid; gap: 16px; }
  .step { display: grid; grid-template-columns: 44px 1fr; gap: 16px; align-items: start; }
  .step .n { counter-increment: s; width: 38px; height: 38px; border-radius: 50%; border: 1px solid var(--gold); color: var(--gold); display: flex; align-items: center; justify-content: center; font-weight: 700; }
  .step .n::before { content: counter(s); }
  .step p { color: var(--mute); font-size: var(--fs-small); margin: 4px 0 0; }

  /* フォーム。入力欄は16px必須（iOS Safari が15px以下で勝手に拡大するため） */
  .form { display: grid; gap: 16px; max-width: 640px; }
  .field label { display: block; font-size: var(--fs-small); font-weight: 700; margin-bottom: 6px; }
  .field .req { color: var(--gold); margin-left: 4px; }
  .field input, .field select, .field textarea {
    width: 100%; font-size: 16px; font-family: inherit; line-height: 1.7;
    background: var(--panel); color: var(--ink);
    border: 1px solid var(--line-strong); border-radius: 10px; padding: 12px 14px;
  }
  .field input:focus, .field select:focus, .field textarea:focus { outline: 2px solid var(--gold); outline-offset: 1px; }
  .field .hint { color: var(--faint); font-size: var(--fs-foot); margin: 6px 0 0; }
  .hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
  .formnote { color: var(--faint); font-size: var(--fs-foot); }
  .formnote.center { text-align: center; }
  .formdone { background: var(--panel); border: 1px solid var(--cyan-line); border-radius: 14px; padding: 26px; }

  .callout { background: var(--panel); border-left: 3px solid var(--gold); border-radius: 0 12px 12px 0; padding: 18px 22px; margin: 22px 0; }
  .callout p:last-child { margin-bottom: 0; }
  .callout .t { font-weight: 700; margin-bottom: 6px; }

  .updated { color: var(--faint); font-size: var(--fs-foot); margin-top: 34px; }
  .legal h3 { margin: 30px 0 10px; font-size: 1.12rem; }
  .legal p, .legal li { color: var(--mute); font-size: var(--fs-small); }

  .sitemap-sec { margin-bottom: 30px; }
  .sitemap-sec h3 { margin-bottom: 12px; }
  .sitemap-sec a { display: block; padding: 9px 0; border-bottom: 1px solid var(--line); min-height: 44px; }
  .sitemap-sec .d { display: block; color: var(--faint); font-size: var(--fs-foot); }

  /* ---------- フッター。本文と色を変えて、本文の終わりを分かるようにする ---------- */
  footer { background: var(--navy-deep); border-top: 1px solid var(--line); padding: 48px 0 26px; }
  .foot-grid { display: grid; grid-template-columns: 1.2fr 2fr; gap: 34px; }
  @media (max-width: 820px) { .foot-grid { grid-template-columns: 1fr; } }
  .foot-brand p { color: var(--faint); font-size: var(--fs-foot); max-width: 320px; margin-top: 12px; }
  .foot-cols { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 24px; }
  @media (max-width: 620px) { .foot-cols { grid-template-columns: 1fr 1fr; } }
  .foot-col h5 { font-size: var(--fs-foot); color: var(--ink); margin-bottom: 10px; letter-spacing: 0.06em; }
  .foot-col a { display: block; color: var(--faint); font-size: var(--fs-foot); padding: 7px 0; }
  .foot-col a:hover { color: var(--ink); }
  .foot-base { border-top: 1px solid var(--line); margin-top: 34px; padding-top: 20px; display: flex; flex-wrap: wrap; gap: 10px 22px; justify-content: space-between; }
  .foot-base .m { color: var(--faint); font-size: var(--fs-foot); }

  /* 名前の由来。ローマの広間の水彩を敷き、文字が読めるところまで沈める */
  .hero.photo { padding: 118px 0 84px; }
  .hero.photo::before {
    content: ""; position: absolute; inset: 0;
    background-image: url("/img/atrium.jpg");
    background-size: cover; background-position: center 62%;
    opacity: 0.34;
  }
  .hero.photo::after {
    background: linear-gradient(180deg, rgba(10,15,28,0.62) 0%, rgba(10,15,28,0.80) 58%, var(--navy) 100%);
  }
  .credit { color: var(--faint); font-size: var(--fs-foot); padding: 14px 0 0; margin: 0; }
  /* 番号つきの節（Pinateca の作りに合わせる） */
  .sect-head { display: flex; align-items: baseline; gap: 14px; margin: 0 0 18px; }
  .sect-head .no { font-family: var(--font-mono); font-size: var(--fs-small); color: var(--gold); letter-spacing: 0.1em; }
  .sect-gap { margin-top: 52px; }
  .figure { margin: 30px 0 0; }
  .figure img { border-radius: 14px; border: 1px solid var(--line); display: block; width: 100%; }
  .figure figcaption { color: var(--faint); font-size: var(--fs-foot); margin-top: 10px; }

  /* 実物の画面。枠と影を付けて、本文から浮かせる */
  .shot { margin: 30px 0 0; }
  .shot img { display: block; width: 100%; border-radius: 12px; border: 1px solid var(--line-strong); box-shadow: 0 18px 50px rgba(0,0,0,0.45); }
  /* 背景を抜いた絵は、それ自体が機器の形をしている。枠を回すと箱に見える */
  .shot.wide.glow img { border: 0; border-radius: 0; box-shadow: none; }
  .shot.wide.glow img:hover { border: 0; }
  .shot figcaption { color: var(--faint); font-size: var(--fs-foot); margin-top: 12px; }
  /* 画面が主役の帯。文の下に大きく置く */
  .shot.wide { margin-top: 36px; }
  .shot.narrow-shot img { max-width: 420px; margin: 0 auto; }
  .shot .ui { margin: 0 auto; }
  .shot.narrow-shot .ui { max-width: 420px; }
  /* 押すと拡大できることを、形で示す */
  .shot img { cursor: zoom-in; transition: border-color .15s; }
  /* 描いた画面も、押せば大きく読める */
  .shot .ui, .shot .ui-duo { cursor: zoom-in; }
  .shot .ui-in { transition: border-color .15s; }
  .shot .ui:hover .ui-in { border-color: var(--gold); }
  .shot .ui:focus-visible { outline: 2px solid var(--gold); outline-offset: 4px; }
  .shot img:hover { border-color: var(--gold); }
  .shot img:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; }

  /* 拡大して見る面 */
  .lightbox {
    position: fixed; inset: 0; z-index: 100; display: none;
    background: rgba(4, 7, 14, 0.94);
    padding: 60px 16px 16px;
    overflow: auto; -webkit-overflow-scrolling: touch;
  }
  .lightbox.open { display: block; }
  #lightbox-body { max-width: 1600px; margin: 0 auto; }
  #lightbox-body .ui-in { box-shadow: 0 20px 60px rgba(0,0,0,0.6); }
  .lightbox .cap { color: var(--mute); font-size: var(--fs-small); text-align: center; margin: 16px auto 0; max-width: 720px; }
  .lightbox .close {
    position: fixed; top: 12px; right: 12px;
    width: 46px; height: 46px; border-radius: 12px;
    background: var(--panel); color: var(--ink);
    border: 1px solid var(--line-strong); cursor: pointer;
    font-size: 1.3rem; line-height: 1; display: flex; align-items: center; justify-content: center;
  }
  .lightbox .close:hover { border-color: var(--gold); }
  .lightbox .hint { position: fixed; top: 22px; left: 16px; color: var(--faint); font-size: var(--fs-foot); }
  body.locked { overflow: hidden; }

  /* 対応言語の一覧。名前はその言語自身の表記で出す */
  .langs { list-style: none; padding: 0; margin: 0 0 30px;
    display: grid; gap: 10px 20px; grid-template-columns: repeat(4, minmax(0,1fr)); }
  @media (max-width: 900px) { .langs { grid-template-columns: repeat(3, minmax(0,1fr)); } }
  @media (max-width: 620px) { .langs { grid-template-columns: repeat(2, minmax(0,1fr)); } }
  .langs li { color: var(--mute); font-size: var(--fs-small); padding: 9px 0; border-bottom: 1px solid var(--line); margin: 0;
    display: flex; align-items: center; gap: 10px; }
  .langs .flag { font-size: 1.15rem; line-height: 1; width: 1.5em; flex: none; }

  .foot-lang { text-decoration: underline; text-underline-offset: 3px; }

  /* iPhone の画面を並べる。実寸は縦長なので、横に3枚まで */
  .phones { display: grid; gap: 20px; grid-template-columns: repeat(3, minmax(0,1fr)); margin: 30px 0 0; }
  @media (max-width: 780px) { .phones { grid-template-columns: 1fr; max-width: 340px; margin-inline: auto; } }
  .phones figure { margin: 0; }
  .phones img { width: 100%; height: auto; display: block; border-radius: 22px; border: 1px solid var(--line); background: #000; }
  .phones figcaption { margin-top: 10px; color: var(--mute); font-size: var(--fs-small); line-height: 1.7; }
  /* 幅を持たせる。中身が写真から描いた画面に変わり、写真のような
     もとの大きさが無くなったため、これが無いと列ごと潰れて幅ゼロになる */
  .phone-hero { width: 330px; max-width: 100%; margin: 34px auto 0; }
  .phone-hero img { width: 100%; height: auto; display: block; border-radius: 26px; border: 1px solid var(--line); background: #000; }

  /* 2列のヒーロー。左に文、右に画面。狭い画面では縦に積む */
  .hero.split .wrap { display: grid; grid-template-columns: minmax(0,1fr) 330px;
    gap: 44px; align-items: center; }
  .hero.split .phone-hero { margin: 0 0 0 auto; width: 330px; max-width: 100%; }
  @media (max-width: 900px) {
    .hero.split .wrap { grid-template-columns: 1fr; gap: 30px; }
    .hero.split .phone-hero { margin: 6px auto 0; }
  }

  /* トップの一番上で、いちばん効く一言を立てる */
  .lede.punch { margin-top: 14px; padding-left: 16px; border-left: 3px solid var(--gold); }
  .lede.punch strong { color: var(--ink); }

  /* 説明のための図。写真ではないので枠を付けない */
  .figure.diagram { margin: 30px 0 0; }
  .figure.diagram img { width: 100%; height: auto; display: block; border-radius: 12px; }

  /* 暗い地に暗いスクショを置くときの分離。
     絵そのものを明るくするのではなく、**下に光の帯を敷く**（Linear の実測に合わせた）。
     Linear は窓の下の帯が地との比 4.6:1、左右の端で 2:1 まで落ちる。
     暗い影は暗い地の上では見えないので使わない */
  .glow { position: relative; }
  /* 光の帯は左右に -16% はみ出す。帯の外へ出ると、ページ全体が横に溢れる。
     置いた側の節で切り取る（clip なら中の position: sticky も壊さない） */
  .band, .hero { overflow-x: clip; }
  /* 下に敷く光の帯。いちばん効くのはここ（Linear の実測に合わせて中央 4.5:1、端 2:1） */
  .glow::before {
    content: ""; position: absolute; z-index: 0; pointer-events: none;
    left: -16%; right: -16%; bottom: -24%; height: 62%;
    background: radial-gradient(ellipse 80% 100% at 50% 88%,
      rgba(184,206,240,0.72) 0%, rgba(158,183,224,0.54) 22%,
      rgba(128,155,204,0.34) 42%, rgba(96,124,176,0.19) 60%,
      rgba(64,88,138,0.08) 78%, rgba(10,15,28,0) 92%);
    filter: blur(46px);
  }
  /* 絵のまわりの暈。暗い地の上では、暗い影ではなく明るい光でしか輪郭は出ない */
  /* 背景を抜いた絵なので、四角に付く box-shadow ではなく、
     輪郭（アルファ）に沿う drop-shadow を使う */
  .glow > img { filter: drop-shadow(0 0 26px rgba(150,178,222,0.34)) drop-shadow(0 10px 30px rgba(0,0,0,0.5)); }
  .glow > img, .glow > figure, .glow > .ui, .glow > .ui-duo { position: relative; z-index: 1; }
  /* 描いた画面図にも同じ光を回す。枠は絵の側が持っているので、影だけ足す */
  .glow .ui-in { box-shadow: 0 0 26px rgba(150,178,222,0.30), 0 14px 34px rgba(0,0,0,0.55); }

  /* トップのヒーローは中央寄せ。読み幅を 720px に抑えると右側が大きく余るため、
     余白を左右に振り分けて、ダウンロードのボタンも中央に置く */
  #view-home .hero { text-align: center; }
  #view-home .hero .lede { max-width: none; margin-left: 0; margin-right: 0; padding-left: max(0px, calc((100% - 720px) / 2)); padding-right: max(0px, calc((100% - 720px) / 2)); }
  #view-home .hero .cta-row { justify-content: center; }
  #view-home .hero .lede.punch {
    border-left: 0; border-top: 2px solid var(--gold);
    padding: 16px max(0px, calc((100% - 660px) / 2)) 0; max-width: none; margin: 20px 0 0;
    border-top: 0; background: linear-gradient(var(--gold), var(--gold)) top center / min(660px, 100%) 2px no-repeat;
  }

  /* 他社のアプリのアイコンを、小見出しの頭や見出しの横に置く。
     絵文字より認知が早いので、利用者の多いアプリ（Obsidian 等）はこちらを使う */
  .card h3 .ic img { width: 1.15em; height: 1.15em; border-radius: 4px; vertical-align: -0.2em; }
  .appmark { display: inline-flex; align-items: center; gap: 10px; margin-bottom: 16px; }
  .appmark img { width: 30px; height: 30px; border-radius: 7px; display: block; }

  /* 言語の切り替え。右上、ダウンロードのボタンの手前に置く */
  .langswitch {
    display: inline-flex; align-items: center; gap: 6px;
    min-height: 44px; padding: 0 12px; border-radius: 999px;
    border: 1px solid var(--line-strong); color: var(--mute);
    font-size: var(--fs-small); font-weight: 600; white-space: nowrap;
    transition: color .15s, border-color .15s;
  }
  .langswitch::before { content: "\2295"; font-size: 1.05em; line-height: 1; opacity: .85; }
  .langswitch:hover { color: var(--ink); border-color: var(--gold); }
  .skip { position: absolute; left: -9999px; }
  .skip:focus { left: 12px; top: 12px; background: var(--gold); color: #16202f; padding: 10px 16px; border-radius: 8px; z-index: 100; }
