/* 流出チェック（LEAK）のサポートページ。アプリと同じアッシュの地・墨の文字・細い線 */
:root {
  --ash: #D6D6D3;
  --paper: #E2E2DF;
  --ink: #2B2D2F;
  --line: rgba(43, 45, 47, 0.55);
  --accent: #FF5A1F;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--ash);
  color: var(--ink);
  font-family: "Takasaka Gothic", "TakasakaGothic", "Hiragino Sans", "Hiragino Kaku Gothic ProN", "Noto Sans JP", sans-serif;
  line-height: 1.8;
  font-size: 16px;
  line-break: strict;
  word-break: auto-phrase;
}
.wrap { max-width: 720px; margin: 0 auto; padding: 24px 16px 48px; }
.band { display: grid; grid-template-columns: 72px 1fr; gap: 6px; margin-bottom: 16px; }
.band > * { background: var(--paper); border: 0.75px solid var(--line); display: flex; align-items: center; justify-content: center; }
.band img.icon { width: 56px; height: 56px; }
.band .title { flex-direction: column; padding: 10px; }
.band .title img { height: 52px; width: auto; }
.band .title span { font-size: 11px; letter-spacing: 0.35em; margin-top: 4px; }
nav.pages { display: flex; gap: 6px; margin-bottom: 16px; }
nav.pages a { flex: 1; text-align: center; padding: 8px; background: var(--paper); border: 0.75px solid var(--line); color: var(--ink); text-decoration: none; }
nav.pages a[aria-current="page"] { background: var(--ink); color: var(--paper); }
section { background: var(--paper); border: 0.75px solid var(--line); padding: 16px 18px; margin-bottom: 10px; }
h1 { font-size: 22px; margin: 0 0 4px; }
h2 { font-size: 17px; margin: 0 0 6px; }
p, li { margin: 0 0 8px; }
.meta { font-size: 13px; opacity: 0.7; }
a { color: var(--ink); text-decoration-color: var(--accent); text-underline-offset: 3px; }
footer { font-size: 12px; opacity: 0.7; margin-top: 20px; text-align: center; }

/* 紹介ページ（index.html）用。SIVIA の製品ページと同じ並び（00〜04）を、アプリのホームと同じモザイク（隙間6pt・細線0.75pt）で */
.skip { position: absolute; left: -9999px; }
.skip:focus { left: 16px; top: 8px; background: var(--paper); padding: 4px 8px; z-index: 1; }
.wrap.wide { max-width: 1080px; padding-top: 16px; }
.mosaic { display: grid; grid-template-columns: repeat(4, 1fr); gap: 6px; }
.mosaic .tile { background: var(--paper); border: 0.75px solid var(--line); margin: 0; padding: 16px 18px; min-width: 0; }
.mosaic > * { grid-column: span 4; }
.label { font-size: 12px; letter-spacing: 0.2em; margin: 0 0 8px; color: var(--ink); background: var(--accent); display: inline-block; padding: 2px 8px 1px; }
.label span { text-transform: uppercase; }
h3 { font-size: 15px; margin: 0 0 4px; }
.tile.key { grid-column: span 1; width: 100%; height: auto; aspect-ratio: 1; object-fit: contain; padding: 22%; }
.tile.logo { grid-column: span 2; display: flex; flex-direction: column; align-items: center; justify-content: center; }
.tile.logo img { height: 44px; width: auto; }
.tile.logo span { font-size: 11px; letter-spacing: 0.35em; margin-top: 4px; }
.tile.navi { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; padding: 0; background: none; border: 0; }
.tile.navi a { text-align: center; padding: 10px 4px; background: var(--paper); border: 0.75px solid var(--line); color: var(--ink); text-decoration: none; }
.tile.navi a[aria-current="page"] { background: var(--ink); color: var(--paper); }
.hero h1 { font-size: 26px; line-height: 1.4; margin: 0 0 12px; }
.store { display: inline-block; margin: 6px 0 4px; padding: 10px 18px; background: var(--ink); color: var(--paper); text-decoration: none; }
.tile.shot { padding: 0; overflow: hidden; display: flex; flex-direction: column; grid-column: span 2; }
.tile.shot img { width: 100%; height: auto; display: block; }
.tile.shot figcaption { font-size: 12px; line-height: 1.6; padding: 8px 10px; border-top: 0.75px solid var(--line); flex: 1; }
.tile.shot figcaption b { display: block; font-size: 14px; margin-bottom: 2px; }
.tile.shot figcaption .label { margin-bottom: 6px; }
.tile.feat p { font-size: 14px; margin: 0; }
.spec, .titleblock { width: 100%; border-collapse: collapse; font-size: 14px; }
.spec th, .spec td, .titleblock th, .titleblock td { border: 0.75px solid var(--line); padding: 6px 8px; text-align: left; vertical-align: top; }
.spec th, .titleblock th { width: 5em; font-weight: normal; opacity: 0.7; white-space: nowrap; }
.tile.foot { font-size: 12px; text-align: left; }
.tile.foot p { margin: 8px 0 0; opacity: 0.7; }
.meter { font-size: 13px; margin: 8px 0; }
.bar { height: 4px; border: 0.75px solid var(--line); margin-top: 4px; }
.bar i { display: block; height: 100%; width: 0; background: var(--accent); transition: width .3s; }
.checks { list-style: none; padding: 0; margin: 0; }
.checks li { border: 0.75px solid var(--line); background: var(--ash); padding: 8px 12px; margin-bottom: 6px; }
.checks label { display: flex; gap: 10px; align-items: flex-start; cursor: pointer; }
.checks input { accent-color: var(--accent); width: 20px; height: 20px; margin-top: 4px; flex: none; }
.checks input:checked + span { text-decoration: line-through; text-decoration-color: var(--accent); }
.checks details { margin: 4px 0 0 30px; font-size: 14px; }
.checks summary { cursor: pointer; opacity: 0.7; }
.checks details p { margin: 4px 0; }
.notes ul { margin: 0; padding-left: 1.2em; }

/* PC：12列。ホームと同じく大小のマスで敷きつめる */
@media (min-width: 760px) {
  .mosaic { grid-template-columns: repeat(12, 1fr); grid-auto-flow: dense; }
  .tile.logo img { height: 64px; }
  .tile.key { grid-column: span 2; padding: 26%; }
  .tile.logo { grid-column: span 8; }
  .tile.navi { grid-column: span 12; }
  .hero { grid-column: span 8; padding: 28px 30px; }
  .hero h1 { font-size: 36px; }
  .art-mosaic.tall { grid-column: span 4; grid-row: span 2; aspect-ratio: auto; min-height: 520px; }
  .spec-tile { grid-column: span 8; }
  .try { grid-column: span 7; grid-row: span 4; }
  .tile.feat { grid-column: span 5; }
  .tile.shot { grid-column: span 3; }
  .notes { grid-column: span 8; }
  .tile.foot { grid-column: span 4; }
}

/* 動くイラストのモザイク（アプリのホームと同じ並び） */
.mosaic .art-mosaic { padding: 6px; display: grid; grid-template-columns: 1fr 1fr; grid-template-rows: repeat(5, 1fr); gap: 6px; aspect-ratio: 3 / 4; }
.cv { position: relative; border: 0.75px solid var(--line); overflow: hidden; background: var(--ash); min-height: 0; }
.cv canvas { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }
.cv b { position: absolute; left: 6px; bottom: 6px; font-size: 11px; font-weight: normal; letter-spacing: 0.08em; background: var(--accent); color: var(--ink); padding: 1px 6px; opacity: 0; transform: translateY(4px); transition: opacity .2s, transform .2s; }
.cv:hover b, .cv:active b { opacity: 1; transform: none; }
.a-account { grid-row: 1 / 3; } .a-money { grid-column: 1 / 3; }
.try-art { height: 160px; margin: 8px 0; }
/* 画面に入るとふわっと出る */
.rise { opacity: 0; transform: translateY(14px); transition: opacity .6s ease, transform .6s ease; }
.rise.in { opacity: 1; transform: none; }
