/* Loqa トップページ（2026-11-17 アプリのミニマルな見た目に合わせて作り直し）
   アプリの Theme と同じ：グレーの地・白い平らなカード・黒の太字と細い大きな数字・
   オレンジはボタンと要所だけ・イラストのカードだけ淡いオレンジ（bannerFill）とやわらかい影 */
:root {
  --paper: #ECECEC;        /* Theme.paper */
  --paper-deep: #DFDFDF;   /* Theme.paperDeep */
  --surface: #FFFFFF;      /* Theme.surface */
  --ink: #0F0F0F;          /* Theme.ink */
  --mute: #6B6B69;         /* Theme.mute */
  --hair: rgba(0, 0, 0, .08);
  --brand: #FF5C2B;        /* Theme.brand */
  --banner: #FFCCB5;       /* Theme.bannerFill */
  --banner-ink: #4A1206;   /* Theme.bannerInk */
  --banner-mute: #7B4B37;
  --green: #21A04D;        /* Theme.green（本人確認済み） */
  --r-lg: 28px;
  --r-md: 22px;
  --r-sm: 16px;
  --soft: 0 4px 12px rgba(0, 0, 0, .08); /* brandBanner と同じやわらかい影（押せるカードだけ） */
  --wrap: 1120px;
  --gut: 20px;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 84px; }
body {
  margin: 0; background: var(--paper); color: var(--ink);
  font-family: -apple-system, BlinkMacSystemFont, "Hiragino Sans", "Hiragino Kaku Gothic ProN", "Noto Sans JP", "Yu Gothic", sans-serif;
  font-size: 16px; line-height: 1.75; letter-spacing: .01em;
  -webkit-font-smoothing: antialiased; overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
h1, h2, h3, h4, p { margin: 0; }
.wrap { width: 100%; max-width: calc(var(--wrap) + var(--gut) * 2); margin: 0 auto; padding: 0 var(--gut); }
.nowrap { white-space: nowrap; }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.muted { color: var(--mute); }
.small { font-size: 13px; }

/* ---------- 部品 ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 6px;
  height: 52px; padding: 0 28px; border-radius: 999px; border: 0;
  background: var(--brand); color: #fff; font-weight: 700; font-size: 16px; text-decoration: none;
  transition: transform .15s ease, filter .15s ease;
}
.btn:hover { filter: brightness(1.05); }
.btn:active { transform: scale(.97); }
.btn-small { height: 40px; padding: 0 18px; font-size: 14px; }
.btn-dark { background: var(--ink); }

.chip {
  display: inline-flex; align-items: center; gap: 6px; height: 36px; padding: 0 14px;
  border-radius: 999px; background: var(--surface); box-shadow: inset 0 0 0 1px rgba(0,0,0,.06);
  font-size: 14px; font-weight: 600; white-space: nowrap;
}
.chip svg { width: 15px; height: 15px; }
.chip.on { background: var(--ink); color: #fff; box-shadow: none; }

.card { background: var(--surface); border-radius: var(--r-md); }
.label { font-size: 13px; font-weight: 600; color: var(--mute); letter-spacing: .02em; }
.section { padding: 96px 0 0; }
.section-head { margin-bottom: 32px; }
.section-head .label { margin-bottom: 10px; }
.section-title { font-size: clamp(30px, 4.2vw, 48px); line-height: 1.3; font-weight: 800; letter-spacing: -.01em; }
.section-lead { margin-top: 16px; color: var(--mute); max-width: 640px; }
.accent { color: var(--brand); }
.thin { font-weight: 200; letter-spacing: -.02em; font-variant-numeric: tabular-nums; }

/* スマホの枠（アプリの画面写真は時計の帯まで入っている） */
.phone {
  position: relative; width: 300px; padding: 9px; border-radius: 50px;
  background: #16181D; box-shadow: 0 30px 60px rgba(0,0,0,.18), 0 0 0 1px rgba(255,255,255,.06) inset;
}
.phone img { width: 100%; border-radius: 42px; }
.phone::after { content: ""; position: absolute; left: 50%; top: 20px; width: 84px; height: 25px; margin-left: -42px; border-radius: 14px; background: #000; }

.store-row { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.store-row a { display: block; }
.store-row img { height: 48px; width: auto; }

/* ---------- ヘッダー（アプリの上の帯と同じすりガラス） ---------- */
.site-header { position: sticky; top: 0; z-index: 50; transition: background .2s ease, box-shadow .2s ease; }
.site-header.is-scrolled { background: rgba(236,236,236,.78); -webkit-backdrop-filter: saturate(1.6) blur(18px); backdrop-filter: saturate(1.6) blur(18px); box-shadow: 0 1px 0 var(--hair); }
.header-inner { display: flex; align-items: center; gap: 16px; height: 68px; }
.brand { display: flex; align-items: flex-end; gap: 7px; text-decoration: none; }
.brand .mark { width: 34px; height: 34px; }
.brand .word { height: 24px; width: auto; margin-bottom: 1px; }
/* ページ内リンク：アプリの上のタブ（今日・予定・コミュニティ）と同じ白い棒 */
.nav { margin: 0 auto; display: flex; gap: 2px; padding: 4px; border-radius: 999px; background: rgba(255,255,255,.9); box-shadow: inset 0 0 0 1px rgba(0,0,0,.05); }
.nav a { padding: 7px 14px; border-radius: 999px; font-size: 14px; font-weight: 600; text-decoration: none; color: var(--ink); transition: background .15s, color .15s; }
.nav a:hover, .nav a.is-current { background: var(--ink); color: #fff; }

/* ---------- ヒーロー ---------- */
.hero { padding: 40px 0 0; }
.hero-inner { display: grid; grid-template-columns: 1.05fr .95fr; align-items: center; gap: 40px; }
.hero-chips { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 26px; }
.hero h1 { font-size: clamp(48px, 7.4vw, 96px); line-height: 1.12; font-weight: 800; letter-spacing: -.03em; }
.hero h1 .accent { display: block; }
.hero .lead { margin-top: 24px; font-size: 18px; line-height: 1.85; color: #333; }
.hero .store-row { margin-top: 32px; }
.hero .note { margin-top: 14px; font-size: 13px; color: var(--mute); }

.hero-visual { position: relative; display: flex; justify-content: center; padding: 10px 0 40px; }
.hero-visual .phone { width: 320px; transform: rotate(2deg); }
.float { position: absolute; background: var(--surface); border-radius: var(--r-md); box-shadow: 0 14px 34px rgba(0,0,0,.12); }
.float-time { left: 0; bottom: 90px; padding: 16px 20px 16px; width: 230px; transform: rotate(-3deg); }
.float-time .label { font-size: 12px; }
.float-time .t { font-size: 54px; line-height: 1; margin: 6px 0 6px; }
.float-time .act { font-weight: 800; font-size: 17px; }
.float-time .where { font-size: 13px; color: var(--mute); }
.float-ok { right: -6px; top: 120px; display: flex; align-items: center; gap: 10px; padding: 12px 16px; font-size: 14px; font-weight: 700; transform: rotate(3deg); }
.ok-dot { width: 26px; height: 26px; border-radius: 50%; background: var(--green); color: #fff; display: grid; place-items: center; flex: none; }
.ok-dot svg { width: 15px; height: 15px; }

/* 予定の例が横に流れる帯（アプリのチップと同じ白い丸） */
.ticker { margin-top: 56px; overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.ticker-run { display: flex; gap: 10px; width: max-content; animation: tick 40s linear infinite; }
.ticker-run .chip { height: 44px; padding: 0 20px; font-size: 15px; }
@keyframes tick { to { transform: translateX(-50%); } }

/* ---------- Loqaとは ---------- */
.about-card { display: grid; grid-template-columns: 1.3fr .7fr; gap: 24px; align-items: end; padding: 56px 56px 0; border-radius: var(--r-lg); background: var(--surface); overflow: hidden; }
.about-card .about-text { padding-bottom: 56px; }
.about-card .section-title { margin: 10px 0 22px; }
.about-card p + p { margin-top: 14px; }
.about-card .body { color: #333; }
.about-card img { width: 100%; max-width: 330px; justify-self: center; }

/* ---------- ほかとの違い ---------- */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; list-style: none; padding: 0; margin: 0; counter-reset: s; }
.steps li { background: var(--surface); border-radius: var(--r-md); overflow: hidden; }
.steps img { width: 100%; aspect-ratio: 900 / 700; object-fit: cover; object-position: center 40%; }
.step-text { padding: 20px 22px 24px; }
.step-text .n { font-size: 13px; font-weight: 700; color: var(--brand); }
.step-text strong { display: block; font-size: 19px; margin: 2px 0 6px; }
.step-text p { font-size: 15px; color: var(--mute); }

.compare { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-top: 16px; }
.cmp { background: var(--surface); border-radius: var(--r-md); padding: 24px 26px 10px; }
.cmp.other { background: transparent; box-shadow: inset 0 0 0 1px rgba(0,0,0,.1); }
.cmp-head { font-weight: 800; font-size: 17px; margin-bottom: 8px; display: flex; align-items: center; gap: 8px; }
.cmp.other .cmp-head { color: var(--mute); }
.cmp dl { margin: 0; }
.cmp dl div { display: grid; grid-template-columns: 84px 1fr; gap: 12px; padding: 14px 0; border-top: 1px solid var(--hair); font-size: 15px; }
.cmp dt { color: var(--mute); font-size: 13px; padding-top: 2px; }
.cmp dd { margin: 0; font-weight: 600; }
.cmp.other dd { font-weight: 400; color: #555; }

/* ---------- Loqaテーブル（アプリのバナーと同じ：淡いオレンジ＋イラスト＋やわらかい影） ---------- */
.table-card { display: grid; grid-template-columns: 1fr 1fr; border-radius: var(--r-lg); background: var(--banner); color: var(--banner-ink); overflow: hidden; box-shadow: var(--soft); }
.table-art { position: relative; min-height: 420px; display: flex; align-items: flex-end; }
.table-art img { width: 100%; height: auto; }
.table-art .alc { position: absolute; left: 14px; bottom: 10px; font-size: 11px; color: var(--banner-ink); background: rgba(255,255,255,.75); padding: 2px 8px; border-radius: 999px; }
.table-copy { padding: 48px 48px 44px; }
.table-copy .label { color: var(--banner-mute); }
.table-copy .section-title { margin: 8px 0 14px; }
.table-copy .lt { display: inline-flex; align-items: center; gap: 8px; }
.table-copy .lt img { height: .9em; width: auto; }
.table-copy .section-lead { color: var(--banner-mute); margin-top: 0; }
.table-time { display: flex; align-items: baseline; gap: 14px; margin: 26px 0 22px; padding: 18px 22px; border-radius: var(--r-md); background: rgba(255,255,255,.7); }
.table-time .t { font-size: 56px; line-height: 1; color: var(--ink); }
.table-time .info { font-size: 14px; line-height: 1.5; white-space: nowrap; }
.table-time .info b { display: block; font-size: 17px; color: var(--ink); }
.seats { display: flex; gap: 5px; margin-left: auto; }
.seats span { width: 26px; height: 26px; border-radius: 50%; background: var(--banner); display: grid; place-items: center; font-size: 12px; font-weight: 800; color: var(--banner-ink); }
.seats span.open { background: transparent; box-shadow: inset 0 0 0 1.5px rgba(74,18,6,.35); }
.points { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 10px 20px; }
.points li strong { display: block; font-size: 15px; color: var(--ink); }
.points li p { font-size: 13px; line-height: 1.6; color: var(--banner-mute); }

/* ---------- できること（白いカードを並べる） ---------- */
.bento { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.feat { background: var(--surface); border-radius: var(--r-md); overflow: hidden; display: flex; flex-direction: column; }
.feat-text { padding: 26px 26px 20px; }
.feat-text .label { margin-bottom: 6px; }
.feat-text h3 { font-size: 21px; line-height: 1.45; font-weight: 800; margin-bottom: 8px; }
.feat-text p { font-size: 15px; color: var(--mute); }
/* アプリの画面は、上の方だけをカードの下に見せる */
.feat-shot { margin-top: auto; height: 340px; overflow: hidden; display: flex; justify-content: center; padding-top: 6px; background: linear-gradient(180deg, var(--surface), #F4F4F4); }
.feat-shot .phone { width: 250px; height: fit-content; border-radius: 42px; padding: 8px; box-shadow: 0 18px 40px rgba(0,0,0,.14); }
.feat-shot .phone img { border-radius: 35px; }
.feat-shot .phone::after { top: 17px; width: 70px; height: 21px; margin-left: -35px; }
.feat.wide { grid-column: span 2; flex-direction: row; }
.feat.wide .feat-text { flex: 1; padding: 34px 34px; display: flex; flex-direction: column; justify-content: center; }
.feat.wide .feat-text h3 { font-size: 26px; }
.feat.wide .feat-shot { margin-top: 0; width: 46%; height: auto; max-height: 400px; padding-top: 28px; }
.feat.mini .feat-text { padding-bottom: 26px; }
.mini-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 16px; }
.mini-ico { width: 44px; height: 44px; border-radius: 50%; background: var(--paper); display: grid; place-items: center; margin-bottom: 14px; }
.mini-ico svg { width: 22px; height: 22px; }

/* ---------- 安心（アプリの設定画面のような、まとまった一覧） ---------- */
.safety-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; align-items: start; }
.list { background: var(--surface); border-radius: var(--r-md); padding: 6px 0; }
.row { display: flex; gap: 16px; padding: 18px 24px; }
.row + .row { border-top: 1px solid var(--hair); margin-left: 0; }
.row .ico { width: 40px; height: 40px; border-radius: 50%; background: var(--paper); display: grid; place-items: center; flex: none; }
.row .ico svg { width: 20px; height: 20px; }
.row .ico.green { background: #E3F4E8; color: var(--green); }
.row h4 { font-size: 16px; font-weight: 700; line-height: 1.5; }
.row p { font-size: 14px; color: var(--mute); line-height: 1.65; margin-top: 2px; }
.link-rows { margin-top: 16px; }
.link-row { display: flex; align-items: center; justify-content: space-between; padding: 16px 24px; text-decoration: none; font-weight: 600; font-size: 15px; }
.link-row + .link-row { border-top: 1px solid var(--hair); }
.link-row::after { content: "›"; font-size: 22px; line-height: 1; color: #B5B5B3; }
.link-row:hover { background: #FAFAFA; }
.link-rows { overflow: hidden; }

/* ---------- よくある質問 ---------- */
.faq-list { background: var(--surface); border-radius: var(--r-md); overflow: hidden; }
.faq-list details + details { border-top: 1px solid var(--hair); }
.faq-list summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 20px 26px; font-weight: 700; }
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after { content: ""; flex: none; width: 9px; height: 9px; border-right: 2px solid #9A9A98; border-bottom: 2px solid #9A9A98; transform: rotate(45deg) translateY(-3px); transition: transform .2s ease; }
.faq-list details[open] summary::after { transform: rotate(-135deg) translateY(-2px); }
.faq-list details p { padding: 0 26px 22px; color: #444; font-size: 15px; }
.faq-list summary:hover { background: #FAFAFA; }

/* ---------- ダウンロード ---------- */
.download { padding: 96px 0 0; }
.dl-card { position: relative; display: grid; grid-template-columns: 1fr 1fr; align-items: center; border-radius: var(--r-lg); background: var(--banner); color: var(--banner-ink); overflow: hidden; box-shadow: var(--soft); }
.dl-copy { padding: 56px; }
.dl-copy .app-icon { width: 76px; height: 76px; border-radius: 18px; box-shadow: 0 6px 16px rgba(74,18,6,.18); margin-bottom: 22px; }
.dl-copy h2 { font-size: clamp(32px, 4.4vw, 52px); line-height: 1.25; font-weight: 800; color: var(--ink); }
.dl-copy p { margin: 14px 0 26px; color: var(--banner-mute); }
.dl-art { align-self: end; padding: 30px 30px 0 0; }

/* ---------- フッター ---------- */
.site-footer { padding: 96px 0 40px; }
.sister-label { margin-bottom: 10px; }
.sister-card { position: relative; display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 26px 30px; border-radius: var(--r-md); background: var(--surface); overflow: hidden; }
.sister-logo { display: flex; align-items: center; gap: 8px; font-size: 12px; font-weight: 800; letter-spacing: .08em; }
.sister-logo img { height: 22px; width: auto; }
.sister-catch { margin-top: 8px; font-size: 22px; font-weight: 800; color: var(--brand); line-height: 1.3; }
.sister-title { font-size: 15px; font-weight: 700; }
.sister-more { margin-top: 8px; font-size: 14px; font-weight: 700; }
.sister-stores { display: flex; gap: 8px; margin-top: 14px; }
.sister-stores img { height: 36px; width: auto; }
.sister-flex { width: 170px; margin: -10px -6px -26px 0; }
.sister-tap { position: absolute; inset: 0; }
.sister-card.is-one-store .sister-stores { display: none; }
.footer-inner { margin-top: 40px; padding-top: 28px; border-top: 1px solid rgba(0,0,0,.1); display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 18px; }
.footer-links { display: flex; flex-wrap: wrap; gap: 6px 18px; font-size: 13px; }
.footer-links a { color: #444; text-decoration: none; }
.footer-links a:hover { text-decoration: underline; }
.footer-brand { width: 92px; }

/* ---------- 画面に入ったら、ふわっと出す ---------- */
.js [data-reveal] { opacity: 0; transform: translateY(18px); transition: opacity .6s ease var(--d, 0s), transform .6s cubic-bezier(.2,.7,.2,1) var(--d, 0s); }
.js [data-reveal].is-visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .js [data-reveal] { opacity: 1; transform: none; transition: none; }
  .ticker-run { animation: none; }
  html { scroll-behavior: auto; }
}

/* ---------- 幅ごとの並び ---------- */
@media (max-width: 1020px) {
  .nav { display: none; }
  .header-inner .btn-small { margin-left: auto; }
  .bento { grid-template-columns: 1fr 1fr; }
  .feat.wide { grid-column: span 2; }
  .table-card { grid-template-columns: 1fr; }
  .table-art { min-height: 0; padding-top: 20px; }
  .points { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 760px) {
  :root { --gut: 16px; }
  body { font-size: 15px; }
  .section, .download { padding-top: 72px; }
  .site-footer { padding-top: 72px; }
  .hero { padding-top: 16px; }
  .hero-inner { grid-template-columns: 1fr; gap: 8px; }
  .hero .lead { font-size: 16px; }
  .hero .store-row img { height: 44px; }
  .hero-visual { padding: 20px 0 10px; }
  .hero-visual .phone { width: 250px; }
  .float-time { left: 0; bottom: 30px; width: 180px; padding: 12px 16px; }
  .float-time .t { font-size: 40px; }
  .float-ok { right: 0; top: 70px; font-size: 13px; padding: 10px 12px; }
  .ticker { margin-top: 36px; }
  .about-card { grid-template-columns: 1fr; padding: 32px 24px 0; }
  .about-card .about-text { padding-bottom: 0; }
  .about-card img { max-width: 230px; }
  .steps { grid-template-columns: 1fr; }
  .steps li { display: grid; grid-template-columns: 120px 1fr; align-items: center; }
  .steps img { height: 100%; aspect-ratio: auto; }
  .step-text { padding: 16px 18px; }
  .step-text strong { font-size: 17px; }
  .step-text p { font-size: 14px; }
  .compare { grid-template-columns: 1fr; }
  .cmp { padding: 20px 20px 6px; }
  .cmp dl div { grid-template-columns: 70px 1fr; }
  .table-copy { padding: 28px 22px 28px; }
  .table-time { padding: 14px 16px; gap: 10px; flex-wrap: wrap; }
  .table-time .t { font-size: 44px; }
  .seats { margin-left: 0; width: 100%; }
  .points { grid-template-columns: 1fr; }
  .bento, .mini-row { grid-template-columns: 1fr; }
  .feat.wide { grid-column: auto; flex-direction: column; }
  .feat.wide .feat-text { padding: 26px 26px 20px; }
  .feat.wide .feat-text h3 { font-size: 21px; }
  .feat.wide .feat-shot { width: 100%; height: 340px; padding-top: 6px; }
  .safety-grid { grid-template-columns: 1fr; }
  .row { padding: 16px 18px; gap: 14px; }
  .faq-list summary { padding: 18px 20px; }
  .faq-list details p { padding: 0 20px 20px; }
  .dl-card { grid-template-columns: 1fr; }
  .dl-copy { padding: 36px 24px 10px; }
  .dl-art { padding: 0 16px; }
  .sister-card { padding: 22px 20px; }
  .sister-flex { width: 120px; }
  .footer-inner { flex-direction: column; align-items: flex-start; }
}
.cmp-logo { height: 20px; width: auto; }

/* ヒーローのスマホは下を切って、1画面に収める */
.hero-visual { height: min(640px, calc(100vh - 110px)); min-height: 520px; overflow: hidden; align-items: flex-start; padding-top: 24px;
  -webkit-mask-image: linear-gradient(180deg, #000 78%, transparent); mask-image: linear-gradient(180deg, #000 78%, transparent); }
.hero-visual .phone { width: 300px; }
.float-time { bottom: auto; top: 400px; }
@media (max-width: 760px) {
  .hero-visual { height: 470px; min-height: 0; }
  .hero-visual .phone { width: 240px; }
  .float-time { top: 250px; }
}

/* できること：画面が8割ほど見えるように */
.feat-shot { height: 440px; padding-top: 10px; }
.feat-shot .phone { width: 250px; }
.feat.wide .feat-shot { max-height: 470px; }
@media (max-width: 760px) { .feat-shot, .feat.wide .feat-shot { height: 420px; } }

/* できること：枠なしの画面を、見せたいところで切り抜く */
.feat-shot { height: 400px; padding: 0 26px; align-items: flex-end; background: none; }
.feat-shot .screen { width: 100%; max-width: 300px; height: 100%; object-fit: cover; object-position: center var(--y, 0%);
  border-radius: 24px 24px 0 0; box-shadow: 0 0 0 1px rgba(0,0,0,.06), 0 -6px 24px rgba(0,0,0,.06); }
.feat.wide .feat-shot { width: 44%; height: auto; max-height: none; padding: 34px 34px 0 0; }
.feat.wide .feat-shot .screen { height: 420px; }
@media (max-width: 760px) {
  .feat-shot { height: 380px; }
  .feat.wide .feat-shot { width: 100%; padding: 0 26px; height: 380px; }
  .feat.wide .feat-shot .screen { height: 100%; }
}
@media (max-width: 760px) { .section-title { font-size: 25px; } .about-card .section-title { font-size: 26px; } }

/* 切るのはスマホだけ（上に重ねたカードは切らない） */
.hero-visual { overflow: visible; -webkit-mask-image: none; mask-image: none; height: auto; min-height: 0; padding: 24px 0 0; }
.phone-clip { height: min(640px, calc(100vh - 110px)); min-height: 520px; overflow: hidden; padding: 6px 40px 0;
  -webkit-mask-image: linear-gradient(180deg, #000 78%, transparent); mask-image: linear-gradient(180deg, #000 78%, transparent); }
.float-ok { right: 0; }
@media (max-width: 760px) {
  .phone-clip { height: 470px; min-height: 0; padding: 6px 24px 0; }
  .float-ok { right: 0; }
}

/* 仲間アプリのバナーは横に伸ばさない（アプリのマイページのバナーくらいの幅） */
.sister-card { max-width: 560px; }

/* =========================================================
   文書ページ（規約・ガイドライン・アカウント削除など）。トップと同じ部品で作る
   ========================================================= */
.nav a[aria-current="page"] { background: var(--ink); color: #fff; }
.doc { max-width: calc(800px + var(--gut) * 2); padding-top: 40px; padding-bottom: 24px; }
.doc-title { font-size: clamp(30px, 4.6vw, 46px); line-height: 1.3; font-weight: 800; letter-spacing: -.01em; }
.doc-title span { display: inline-block; }
.doc-updated { margin-top: 10px; font-size: 13px; color: var(--mute); }
.doc-lead { margin-top: 16px; color: #333; }
.doc-section { margin-top: 12px; padding: 24px 28px; background: var(--surface); border-radius: var(--r-md); }
.doc-title + .doc-updated + .doc-section, .doc-title + .doc-section, .doc-lead + .doc-section { margin-top: 28px; }
.doc-section h2 { font-size: 18px; line-height: 1.5; font-weight: 800; margin-bottom: 8px; }
.doc-section p { font-size: 15px; color: #333; }
.doc-section p + p, .doc-section p + ul, .doc-section ul + p, .doc-section p + ol, .doc-section ol + p { margin-top: 10px; }
.doc-section ul, .doc-section ol { margin: 0; padding-left: 1.3em; font-size: 15px; color: #333; }
.doc-section li + li { margin-top: 4px; }
.doc-section a { color: var(--ink); text-decoration: underline; text-underline-offset: 3px; }
.doc-note { font-size: 13px !important; color: var(--mute) !important; margin-bottom: 8px; }
.doc-list { }
/* 守ってほしいこと（緑のチェック）・禁止（赤の×）：アプリのチップと同じ丸 */
.checks { list-style: none; padding: 0 !important; }
.checks li { position: relative; padding: 10px 0 10px 34px; border-top: 1px solid var(--hair); margin: 0 !important; line-height: 1.65; }
.checks li:first-child { border-top: 0; }
.checks li::before { position: absolute; left: 0; top: 12px; width: 22px; height: 22px; border-radius: 50%; display: grid; place-items: center; font-size: 12px; font-weight: 800; color: #fff; }
.checks li.ok::before { content: "✓"; background: var(--green); }
.checks li.ng::before { content: "✕"; background: #E3301F; }
.doc-link { display: inline-flex; align-items: center; margin-top: 12px; font-weight: 700; font-size: 15px; text-decoration: none !important; }
.doc-back { margin-top: 20px; }
.doc-back .doc-link { margin-top: 0; }

/* ベータの応募フォーム */
.signup-points { list-style: none; margin: 24px 0 0; padding: 18px 24px; background: var(--surface); border-radius: var(--r-md); display: grid; gap: 4px; font-weight: 700; }
.signup-points li { position: relative; padding-left: 1.1em; }
.signup-points li::before { content: "・"; position: absolute; left: -.2em; color: var(--brand); }
.beta-box { margin-top: 12px; padding: 16px 22px; border-radius: var(--r-md); background: var(--banner); color: var(--banner-ink); font-size: 14px; }
.signup-form { margin-top: 12px; padding: 28px; background: var(--surface); border-radius: var(--r-md); display: grid; gap: 20px; }
.field { display: grid; gap: 8px; }
.field > span, .os-field legend { font-weight: 700; font-size: 14px; }
.field input, .field select, .field textarea { width: 100%; font: inherit; font-size: 16px; padding: 12px 14px; border: 0; border-radius: 14px; background: var(--paper); color: var(--ink); }
.field textarea { min-height: 96px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: 2px solid var(--ink); outline-offset: 0; }
.hint { font-size: 12px !important; font-weight: 400 !important; color: var(--mute); }
.os-field { border: 0; margin: 0; padding: 0; }
.os-field legend { padding: 0; margin-bottom: 8px; }
.os-options { display: grid; grid-template-columns: repeat(2, 1fr); gap: 8px; }
.os-options.three { grid-template-columns: repeat(3, 1fr); }
.os-option { position: relative; cursor: pointer; }
.os-option input { position: absolute; opacity: 0; pointer-events: none; }
.os-option span { display: flex; align-items: center; justify-content: center; min-height: 46px; padding: 8px; border-radius: 14px; background: var(--paper); text-align: center; font-weight: 700; font-size: 14px; line-height: 1.3; transition: background .15s, color .15s; }
.os-option input:checked + span { background: var(--ink); color: #fff; }
.os-option input:focus-visible + span { outline: 2px solid var(--brand); }
.check { display: flex; gap: 10px; align-items: flex-start; font-size: 14px; }
.check input { margin-top: 5px; width: 18px; height: 18px; accent-color: var(--brand); flex: none; }
.signup-form .btn { width: 100%; }
.signup-message { font-size: 14px; font-weight: 700; min-height: 1em; }
.signup-message.is-error { color: #E3301F; }
.signup-message.is-success { color: var(--green); }

/* 文書ページのフッター（仲間アプリのカードなし） */
.site-footer.doc-footer { padding-top: 64px; }
.site-footer.doc-footer .footer-inner { margin-top: 0; }

@media (max-width: 1020px) {
  /* ガイドラインのページは、メニューが2つだけなので小さい画面でも出す */
  .nav.nav-doc { display: flex; margin: 0 0 0 auto; }
  .nav.nav-doc a { padding: 6px 10px; font-size: 12px; }
}
@media (max-width: 760px) {
  .doc { padding-top: 24px; }
  .doc-section { padding: 20px 20px; }
  .signup-form { padding: 22px 18px; }
  .os-options.three { grid-template-columns: repeat(2, 1fr); }
  .nav.nav-doc { display: none; }
}
.brand + .btn-small { margin-left: auto; }
