/* +month リリースページ(2026-09-27)。色はアプリのアイコンの青紫とオレンジ。ライト・ダークの両方 */
:root {
  --bg: #f7f6fb;
  --surface: #ffffff;
  --ink: #1b1f2e;
  --muted: #5d6275;
  --line: #e4e2ee;
  --indigo: #36426a;
  --violet: #6a5a8e;
  --orange: #e0894a;
  --orange-ink: #b8612a;
  --tint: #efedf7;
  --shadow: 0 18px 50px rgba(34, 30, 70, 0.18);
  --radius: 18px;
  color-scheme: light;
}
@media (prefers-color-scheme: dark) {
  :root {
    --bg: #12131a;
    --surface: #1b1d27;
    --ink: #eceaf5;
    --muted: #a3a6b8;
    --line: #2c2f3d;
    --tint: #171923;
    --orange-ink: #f0a36c;
    --shadow: 0 18px 50px rgba(0, 0, 0, 0.5);
    color-scheme: dark;
  }
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font: 17px/1.65 -apple-system, BlinkMacSystemFont, "SF Pro Text", "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--orange-ink); text-decoration: none; }
a:hover { text-decoration: underline; }
h1, h2, h3, .brand, .eyebrow { font-family: "Jost", -apple-system, BlinkMacSystemFont, sans-serif; letter-spacing: -0.01em; }
.wrap { width: min(1120px, 100% - 32px); margin: 0 auto; }
.narrow { width: min(760px, 100% - 32px); }

/* ヘッダー */
.site-header {
  position: sticky; top: 0; z-index: 10;
  background: color-mix(in srgb, var(--bg) 82%, transparent);
  backdrop-filter: saturate(160%) blur(14px);
  -webkit-backdrop-filter: saturate(160%) blur(14px);
  border-bottom: 1px solid var(--line);
}
.header-inner { display: flex; align-items: center; gap: 20px; height: 60px; }
.brand { display: flex; align-items: center; gap: 10px; color: var(--ink); font-weight: 700; font-size: 1.25rem; }
.brand:hover { text-decoration: none; }
.brand img { border-radius: 9px; }
.site-nav { margin-left: auto; display: flex; gap: 22px; font-weight: 600; font-size: 0.95rem; }
.site-nav a { color: var(--muted); }
.site-nav a[aria-current="page"], .site-nav a:hover { color: var(--ink); text-decoration: none; }
.lang { position: relative; }
.lang summary { list-style: none; display: flex; align-items: center; justify-content: center; width: 36px; height: 36px; border-radius: 50%; color: var(--muted); cursor: pointer; }
.lang summary::-webkit-details-marker { display: none; }
.lang summary:hover, .lang[open] summary { color: var(--ink); background: color-mix(in srgb, var(--ink) 8%, transparent); }
.lang nav { position: absolute; right: 0; top: calc(100% + 6px); display: flex; flex-direction: column; min-width: 140px; padding: 6px; background: var(--surface); border: 1px solid var(--line); border-radius: 12px; box-shadow: 0 10px 30px rgba(0, 0, 0, 0.12); }
.lang nav a { padding: 8px 12px; border-radius: 8px; color: var(--ink); font-size: 0.95rem; white-space: nowrap; }
.lang nav a:hover { background: color-mix(in srgb, var(--ink) 6%, transparent); text-decoration: none; }
.lang nav a[aria-current="true"] { font-weight: 700; color: var(--orange-ink); }

/* ボタン */
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 13px 22px; border-radius: 999px; font-weight: 600; font-size: 1rem;
  transition: transform .15s, box-shadow .15s, background .15s;
}
.btn:hover { text-decoration: none; transform: translateY(-1px); }
.btn-primary { background: var(--ink); color: var(--bg); box-shadow: 0 6px 18px rgba(20, 20, 40, 0.18); }
.btn-ghost { color: var(--ink); border: 1.5px solid var(--line); }
.btn-ghost:hover { border-color: var(--muted); }
.btn-light { background: #fff; color: #1b1f2e; }
/* Appleの公式のバッジ(絵は変えない。高さだけ決める) */
.store-badge { display: inline-flex; align-items: center; border-radius: 9px; transition: transform .15s; }
.store-badge:hover { transform: translateY(-1px); }
.store-badge img { display: block; height: 55px; width: auto; }  /* 隣の「マニュアルを読む」のボタン(16px×1.65＋上下13px＋ふち)と同じ高さ */

/* トップ: ヒーロー */
.hero {
  position: relative; overflow: hidden;
  background:
    radial-gradient(1200px 500px at 85% 20%, color-mix(in srgb, var(--orange) 22%, transparent), transparent 60%),
    radial-gradient(900px 600px at 10% 0%, color-mix(in srgb, var(--violet) 26%, transparent), transparent 60%);
}
.hero-inner { display: grid; grid-template-columns: 1.05fr 1fr; gap: 56px; align-items: center; padding: 72px 0 88px; }
.eyebrow { display: flex; align-items: center; gap: 10px; font-weight: 600; color: var(--muted); margin: 0 0 18px; }
.eyebrow img { border-radius: 7px; }
.hero h1 { font-size: clamp(2.4rem, 5.2vw, 4rem); line-height: 1.08; margin: 0 0 22px; font-weight: 700; }
.lead { font-size: 1.15rem; color: var(--muted); margin: 0 0 30px; max-width: 34em; }
.actions { display: flex; flex-wrap: wrap; gap: 12px; }
.note { color: var(--muted); font-size: 0.9rem; margin-top: 18px; }

/* 端末の見本(本物のiPhoneのホーム画面にWidgetを置いて撮り、SMPROでiPhone 18 Pro 3/4 Rightにはめたもの) */
.hero-visual { display: flex; justify-content: center; }
.hero-device { width: auto; height: min(640px, 78vh); max-width: 100%; object-fit: contain; }

/* セクション */
.section { padding: 88px 0; }
.section-tint { background: var(--tint); }
.section-title { font-size: clamp(1.8rem, 3.4vw, 2.5rem); line-height: 1.15; text-align: center; margin: 0 0 14px; }
.section-lead { text-align: center; color: var(--muted); margin: 0 auto 44px; max-width: 36em; }
.left { text-align: left; margin-left: 0; }

.features { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; margin-top: 44px; }
.feature { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; }
.feature h3 { font-size: 1.2rem; margin: 14px 0 8px; }
.feature p { color: var(--muted); margin: 0; font-size: 0.98rem; }
.feature-icon {
  width: 44px; height: 44px; padding: 10px; border-radius: 12px;
  background: color-mix(in srgb, var(--violet) 14%, transparent);
  fill: none; stroke: var(--violet); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round;
}
@media (prefers-color-scheme: dark) { .feature-icon { stroke: #b6a8dc; } }

.gallery { display: grid; grid-template-columns: repeat(5, 1fr); gap: 18px; }
.shot { margin: 0; }
.shot img { border-radius: 16px; box-shadow: 0 8px 22px rgba(30, 26, 60, 0.14); aspect-ratio: 1 / 1; object-fit: cover; background: var(--line); }
.shot figcaption { font-size: 0.82rem; color: var(--muted); margin-top: 8px; text-align: center; }

.premium { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; }
.checks { list-style: none; padding: 0; margin: 0; display: grid; gap: 14px; }
.checks li {
  position: relative; padding: 18px 20px 18px 56px; border-radius: 14px;
  background: var(--surface); border: 1px solid var(--line); font-weight: 500;
}
.checks li::before {
  content: ""; position: absolute; left: 18px; top: 50%; width: 22px; height: 22px; margin-top: -11px; border-radius: 50%;
  background: var(--orange) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 12l4 4 8-8'/%3E%3C/svg%3E") center / 14px no-repeat;
}

.closing { background: linear-gradient(135deg, var(--indigo), var(--violet)); color: #fff; }
.closing-inner { display: flex; flex-direction: column; align-items: center; text-align: center; padding: 84px 0; gap: 22px; }
.closing img { border-radius: 20px; box-shadow: 0 12px 30px rgba(0, 0, 0, 0.3); }
.closing h2 { font-size: clamp(1.8rem, 3.6vw, 2.6rem); margin: 0; }

/* マニュアル・サポート */
.page-head { padding: 64px 0 28px; }
.page-head h1 { font-size: clamp(2.2rem, 4.5vw, 3.2rem); margin: 0 0 10px; }
.doc { display: grid; grid-template-columns: 250px 1fr; gap: 56px; padding-bottom: 96px; }
.toc { position: sticky; top: 84px; align-self: start; }
.toc-title { font-weight: 700; font-size: 0.8rem; text-transform: uppercase; letter-spacing: 0.08em; color: var(--muted); margin: 0 0 10px; }
.toc ol { list-style: none; padding: 0; margin: 0; display: grid; gap: 6px; font-size: 0.93rem; }
.toc a { color: var(--muted); }
.toc a:hover { color: var(--ink); text-decoration: none; }
.doc-section { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 26px 30px; margin-bottom: 18px; scroll-margin-top: 80px; }
.doc-section h2 { font-size: 1.35rem; margin: 0 0 10px; }
.doc-section p { margin: 0 0 10px; color: var(--ink); }
.doc-section p:last-child { margin-bottom: 0; }

.sub { font-size: 1.4rem; margin: 28px 0 14px; }
.faq-see { font-size: 0.92rem; color: var(--muted); }
.contact { margin: 48px 0 96px; padding: 30px; border-radius: var(--radius); background: var(--tint); border: 1px solid var(--line); }
.contact .sub { margin-top: 0; }
.small { font-size: 0.9rem; }

/* フッター */
.site-footer { border-top: 1px solid var(--line); padding: 36px 0 44px; }
.footer-inner { display: flex; flex-wrap: wrap; align-items: center; gap: 18px 28px; }
.footer-brand { display: flex; align-items: center; gap: 8px; font-family: "Jost", sans-serif; font-weight: 700; }
.footer-brand img { border-radius: 7px; }
.footer-nav { display: flex; flex-wrap: wrap; gap: 20px; font-size: 0.93rem; }
.footer-nav a { color: var(--muted); }
.footer-note { width: 100%; margin: 0; color: var(--muted); font-size: 0.85rem; }

/* 小さい画面 */
@media (max-width: 980px) {
  .gallery { grid-template-columns: repeat(3, 1fr); }
  .features { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 820px) {
  .hero-inner { grid-template-columns: 1fr; gap: 40px; padding: 44px 0 64px; text-align: left; }
  .hero-device { height: min(520px, 70vh); }
  .premium { grid-template-columns: 1fr; gap: 24px; }
  .doc { grid-template-columns: 1fr; gap: 24px; }
  .toc { position: static; background: var(--surface); border: 1px solid var(--line); border-radius: 14px; padding: 18px 20px; }
  .toc ol { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 560px) {
  body { font-size: 16px; }
  .header-inner { gap: 12px; }
  .site-nav { gap: 14px; }
  .features { grid-template-columns: 1fr; }
  .gallery { grid-template-columns: repeat(2, 1fr); gap: 12px; }
  .section { padding: 64px 0; }
  .doc-section { padding: 22px; }
  .toc ol { grid-template-columns: 1fr; }
}

/* 日本語(2026-09-27)。見出しのJostは和文を持たないので、和文はシステムのフォントになる */
:lang(ja) body { font-family: -apple-system, BlinkMacSystemFont, "Hiragino Sans", "Hiragino Kaku Gothic ProN", "Noto Sans JP", sans-serif; line-break: strict; }
:lang(ja) h1, :lang(ja) h2, :lang(ja) h3 { letter-spacing: 0.01em; }
:lang(ja) .hero h1 { font-size: clamp(2.1rem, 4.6vw, 3.4rem); line-height: 1.2; }
:lang(ja) .lead { font-size: 1.05rem; }

/* マニュアルの表(2026-09-28): 横に長い時は表だけを横にスクロールさせ、ページは横にはみ出さない */
.doc-code { margin: 14px 0 18px; padding: 12px 14px; border-radius: 10px; background: var(--line, rgba(127,127,127,0.12));
  overflow-x: auto; font-size: 0.86rem; line-height: 1.55; -webkit-overflow-scrolling: touch; }
.doc-code code { font-family: ui-monospace, SFMono-Regular, Menlo, monospace; white-space: pre; }
.doc-table-wrap { overflow-x: auto; margin: 18px 0 20px; -webkit-overflow-scrolling: touch; }
.doc-table { border-collapse: collapse; width: 100%; min-width: 520px; font-size: 0.92rem; }
.doc-table th, .doc-table td { border-bottom: 1px solid var(--line, rgba(127,127,127,0.25)); padding: 9px 10px; text-align: center; vertical-align: top; }
.doc-table thead th { font-weight: 700; color: var(--muted); font-size: 0.82rem; }
.doc-table tbody th { text-align: left; font-weight: 700; white-space: nowrap; }

/* マニュアルのまとまりとスクショ(2026-10-29 作り直し) */
.doc-group { margin-bottom: 56px; scroll-margin-top: 80px; }
.doc-group-title { display: flex; align-items: center; gap: 14px; font-size: 1.7rem; margin: 0 0 6px; }
.doc-group-no { display: inline-grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; background: var(--orange); color: #fff; font-size: 1.1rem; flex: none; }
.doc-group-lead { color: var(--muted); margin: 0 0 20px 54px; }
.doc-section h3 { font-size: 1.25rem; margin: 0 0 10px; }
.toc ol ol { gap: 4px; margin: 6px 0 12px 12px; font-size: 0.88rem; }
.toc-group { font-weight: 700; color: var(--ink) !important; }
.doc-shots { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 16px; margin: 16px 0 6px; }
.doc-shot { margin: 0; }
.doc-shot img { width: 100%; height: auto; display: block; border-radius: 14px; border: 1px solid var(--line); }
.doc-shot figcaption { font-size: 0.85rem; color: var(--muted); margin-top: 6px; }
.doc-shot-plan { min-height: 150px; display: grid; place-items: center; padding: 16px; border: 2px dashed var(--line); border-radius: 14px;
  background: var(--tint); color: var(--muted); font-size: 0.85rem; text-align: center; }
.doc-shot-plan span::before { content: "📷 "; }
/* 手順: 番号の丸と、手順ごとのスクショ。スクショは端末の画面の幅くらいまで */
.doc-steps { list-style: none; counter-reset: step; padding: 0; margin: 16px 0 6px; display: grid; gap: 22px; }
.doc-steps > li { counter-increment: step; position: relative; padding-left: 42px; }
.doc-steps > li::before { content: counter(step); position: absolute; left: 0; top: 0; width: 28px; height: 28px; border-radius: 50%;
  background: var(--violet); color: #fff; font-weight: 700; font-size: 0.9rem; display: grid; place-items: center; }
.doc-steps > li > p { margin: 2px 0 10px; }
.doc-shots { grid-template-columns: repeat(auto-fill, minmax(220px, 300px)); }
@media (max-width: 560px) { .doc-steps > li { padding-left: 36px; } .doc-shots { grid-template-columns: 1fr; } }
@media (max-width: 560px) { .doc-group-lead { margin-left: 0; } .doc-group-title { font-size: 1.4rem; } }
