/* keropo.app — 色は ~/projects/keropo/docs/DESIGN-TOKENS.md の値。
   構成はもやポ（moyapo.com）に倣う: アイキャッチ→公開の案内／日よけの区切り／文と画面を左右交互／札／FAQ／最後の帯。
   🔴 [hidden] を最初に勝たせる（display を書いた要素が hidden で消えなくなる事故の予防）。
   🔴 属性セレクタで position/display/overflow を足さない（要素側の指定を黙って上書きする）。 */
[hidden]{display:none!important}

/* 見出しの丸ゴシック。外から読まない＝ public/fonts に、ページで使う字だけ削って同梱（scripts/subset_font.py）。
   M PLUS Rounded 1c・SIL OFL 1.1（ライセンス表記はフォントの name テーブルに入れたまま）。
   無い字は端末の書体で出る（壊れはしない）。 */
@font-face{font-family:"KeroRounded";src:url("/fonts/mplus-r-700.woff2") format("woff2");font-weight:700;font-display:swap}
@font-face{font-family:"KeroRounded";src:url("/fonts/mplus-r-800.woff2") format("woff2");font-weight:800 900;font-display:swap}

:root{
  --bg:#FFF9E8;        /* 地（アプリの bg #FCE798 をサイト用に薄めた） */
  --band:#FCE798;      /* アプリの bg */
  --surface:#FCF1D4;
  --leaf:#F1F4DF;      /* 交互の節（frog を地に薄めた） */
  --ink:#423119;
  --ink-sub:#8A6E4B;
  --frog:#96A552;
  --frog-deep:#768A33;
  --primary:#DD6336;
  --gold:#D5AC56;
  --t-green:#7FB04A;--t-red:#D9483B;--t-gold:#E2B341;
  --rainbow:linear-gradient(90deg,#FF7A9A,#FFC75A,#7FD67A,#6EC8FF,#B28CFF);
  --line:#EAD9A8;
  --shadow:0 4px 12px rgba(66,49,25,.15);
  --body:"Hiragino Maru Gothic ProN","Hiragino Sans","BIZ UDPGothic","Yu Gothic",system-ui,sans-serif;
  --round:"KeroRounded",var(--body);
}
*{box-sizing:border-box}
html{-webkit-text-size-adjust:100%;scroll-behavior:smooth}
body{margin:0;background:var(--bg);color:var(--ink);font-family:var(--body);line-height:1.8;font-size:16px;word-break:keep-all;overflow-wrap:break-word;line-break:strict}
/* ↑ 日本語の改行（2026-10-27 Qちゃん「改行綺麗にして」）: 和文は <wbr> の位置でだけ折る。<wbr> は build.py → scripts/phrase.py（BudouX）が文節ごとに入れる
   （iPhone の Safari は word-break:auto-phrase に対応していない＝CSS だけでは直らない）。入りきらない語だけ break-word で逃がす
   （anywhere だと表の列の最小幅が1文字まで縮み「ヤフー株式会／社」と折れた＝2026-10-27 実測） */
p,li,dd,small,figcaption,.a{text-wrap:pretty}
h1,h2,h3,summary,.tagline,.ticket strong{text-wrap:balance}
h1,h2,h3,b,strong,summary,.brand,.foot-brand,.num,.marker,.paper-tab,.soon,.hero-kind,.tagline,figcaption{font-family:var(--round)}
h1,h2,h3{font-weight:800;letter-spacing:.01em;word-break:keep-all;overflow-wrap:anywhere}
/* ↑ 見出しは <wbr> の位置でだけ折る（「あ／とは連打」のような語の途中の折れを防ぐ）。入りきらない時だけ anywhere で逃がす */
b,strong{font-weight:700}
img{max-width:100%;height:auto}
a{color:var(--frog-deep);font-weight:700}
a:hover{color:var(--primary)}
.wrap{max-width:1080px;margin:0 auto;padding:0 24px}

/* 上の帯 */
.topbar{background:#fff;border-bottom:2px solid var(--line)}
.topbar .wrap{display:flex;align-items:center;justify-content:space-between;gap:16px;height:64px}
.brand,.foot-brand{display:flex;align-items:center;gap:10px;text-decoration:none;color:var(--ink);font-weight:800;font-size:22px}
.brand img{width:40px;height:40px;border-radius:10px}
.po{color:var(--primary)}
.brand>span,.hero-logo>span,.foot-brand>span{color:var(--frog-deep)}
.topnav{display:flex;gap:22px;font-size:14px}
.topnav a{color:var(--ink);text-decoration:none;font-weight:700}
.topnav a:hover{color:var(--frog-deep)}
@media (max-width:720px){.topnav{gap:14px;font-size:13px}.topnav .wide{display:none}.wrap{padding:0 20px}}

/* ファーストビュー */
.hero-eyecatch{background:linear-gradient(112deg,var(--band) 0 54%,var(--frog) 54% 100%);overflow:hidden;border-bottom:4px solid var(--frog-deep)}
.hero-stage{display:grid;grid-template-columns:1fr 1fr;align-items:center;gap:24px;min-height:540px}
.hero-logo{display:flex;align-items:center;gap:16px;font-family:var(--round);font-weight:800;font-size:76px;line-height:1;margin:0 0 22px}
.hero-logo img{width:104px;height:104px;border-radius:26px;box-shadow:var(--shadow)}
.hero-kind{display:inline-block;margin:0 0 10px;padding:4px 14px;background:var(--frog-deep);color:#fff;font-weight:800;font-size:17px;border-radius:6px}
.hero h1{font-size:44px;line-height:1.3;margin:0 0 12px}
.tagline{margin:0;font-size:18px;font-weight:700}
.hero-visual{position:relative;height:500px}
.phone{background:#fff;border:2px solid var(--ink);border-radius:34px;padding:7px;box-shadow:0 14px 28px rgba(66,49,25,.22)}
.phone img,.phone video{display:block;width:100%;height:auto;border-radius:27px}
.phone video{aspect-ratio:540/1174;object-fit:cover;background:#1B1530}
/* 画面の下の方（「1日◯回」の注記など）を写さない構図。🔴 画像は加工しない＝枠で切るだけ */
.phone-crop img{aspect-ratio:540/868;object-fit:cover;object-position:top}
.hero-visual .phone{position:absolute;width:224px}
.phone-main{left:20%;top:34px;transform:rotate(-5deg);z-index:2}
.phone-sub{right:2%;top:70px;transform:rotate(6deg);z-index:1}
.hero-kero{position:absolute;left:-6%;bottom:6px;width:150px;z-index:3;filter:drop-shadow(0 10px 12px rgba(66,49,25,.25))}
.hero-cap{position:absolute;left:20%;top:2px;margin:0;padding:1px 10px;border-radius:999px;background:rgba(255,255,255,.85);font-size:12px;font-weight:700;color:var(--ink);z-index:4}
/* 折らない語（BudouX が語の中に切れ目を入れたところ・例「とき／どき」）。目で見て見つけたら src で囲む */
.nw{white-space:nowrap}
.about{max-width:760px;margin:0 auto 22px;text-align:left;font-size:16px}
.about strong{font-weight:800}
.hero-proof{text-align:center;padding-top:36px;padding-bottom:40px}

/* 近日公開＝押せない札。🔴 ボタンに見せない（点線・影なし・矢印なし）。ストアのリンクができたらバッジに置き換える */
.soon{display:inline-flex;align-items:center;gap:12px;padding:10px 20px;border:2px dashed var(--ink-sub);border-radius:16px;background:transparent;cursor:default;font-weight:800}
.soon-label{background:var(--ink);color:#fff;border-radius:6px;padding:2px 10px;font-size:14px}
.soon-stores{font-size:17px}
.soon-note{margin:10px 0 0;font-size:13px;color:var(--ink-sub)}
@media (max-width:860px){
  .hero-eyecatch{background:linear-gradient(172deg,var(--band) 0 58%,var(--frog) 58% 100%)}
  .hero-stage{grid-template-columns:1fr;text-align:center;padding-top:36px;gap:8px;min-height:0}
  .hero-logo{justify-content:center;font-size:56px}
  .hero-logo img{width:80px;height:80px;border-radius:20px}
  .hero h1{font-size:32px}
  .tagline{font-size:16px}
  .hero-visual{height:400px;max-width:390px;width:100%;margin:0 auto}
  .hero-visual .phone{width:172px;border-radius:28px;padding:6px}
  .hero-visual .phone img{border-radius:22px}
  .phone-main{left:16%;top:24px}
  .phone-sub{right:4%;top:56px}
  .hero-kero{width:104px;left:-2%;bottom:4px}
  .hero-visual .phone video{border-radius:22px}
  .hero-cap{left:16%;top:0}
  .soon{flex-direction:column;gap:4px}
}

/* 日よけの区切り（がま口の口金の丸） */
.awning{height:22px;background:radial-gradient(circle at 18px 0,var(--frog-deep) 16px,transparent 17px) 0 0/36px 22px repeat-x,var(--bg)}

/* 機能の節（文と画面を左右交互） */
.feature{padding:96px 0}
.feature-alt{background:var(--leaf)}
.feature-grid{display:grid;grid-template-columns:1.05fr .95fr;gap:56px;align-items:center}
.feature-grid-rev{grid-template-columns:.95fr 1.05fr}
.feature h2,.faq-section h2{font-size:40px;line-height:1.35;margin:0 0 20px}
.feature-copy>p{margin:0 0 16px;color:var(--ink)}
.marker{display:inline-block;margin:0 0 12px;font-weight:800;font-size:15px;color:var(--frog-deep);background:linear-gradient(transparent 62%,var(--band) 62%)}
.steps{list-style:none;margin:28px 0 0;padding:0;display:grid;gap:18px}
.steps li{display:flex;gap:14px;align-items:flex-start}
.steps .num{flex:none;display:inline-flex;align-items:center;justify-content:center;width:36px;height:36px;border-radius:50%;background:var(--frog);color:#fff;font-weight:800;font-size:17px;box-shadow:0 3px 0 var(--frog-deep)}
.steps b{display:block;font-size:19px;font-weight:800;line-height:1.5}
.steps p{margin:2px 0 0;font-size:15px;color:var(--ink-sub)}
.feature-screens{display:grid;grid-template-columns:1fr 1fr;gap:24px;align-items:start}
.feature-screens figure{margin:0}
.feature-screens figure:nth-child(2){margin-top:56px}
.feature-screens .phone{max-width:250px;margin:0 auto}
figcaption{text-align:center;font-size:14px;font-weight:700;color:var(--ink-sub);margin-top:12px}
.feature-shot{position:relative;display:flex;flex-direction:column;align-items:center}
.feature-shot .phone{width:100%;max-width:290px}
.paper-tab{display:inline-block;margin:0 0 -10px;position:relative;z-index:1;transform:rotate(-3deg);padding:6px 16px;background:var(--band);border:2px solid var(--ink);box-shadow:4px 4px 0 var(--ink);font-weight:800;font-size:15px}
.ticket{margin:24px 0 0;padding:16px 20px;background:#fff;border:2px solid var(--ink);border-radius:14px;box-shadow:5px 5px 0 var(--gold)}
.ticket strong{display:block;font-size:19px;font-weight:800;color:var(--ink)}
.ticket small{display:block;margin-top:4px;font-size:13px;color:var(--ink-sub);line-height:1.7}
.tiers{list-style:none;margin:20px 0 0;padding:0;display:grid;grid-template-columns:repeat(4,1fr);gap:12px;max-width:440px}
.tiers li{text-align:center}
.tiers img{width:84px;height:84px;object-fit:contain;display:block;margin:0 auto}
.tiers span{display:inline-block;min-width:44px;margin-top:4px;padding:1px 10px;border-radius:999px;color:#fff;font-family:var(--round);font-weight:800;font-size:14px}
.t-green span{background:var(--t-green)}.t-red span{background:var(--t-red)}.t-gold span{background:var(--t-gold)}.t-rainbow span{background:var(--rainbow)}
.treasure{width:100%;max-width:360px;aspect-ratio:1;border-radius:50%;background:radial-gradient(circle,#fff 0 55%,var(--band) 56% 100%);border:2px solid var(--ink);box-shadow:6px 6px 0 var(--gold);display:flex;align-items:center;justify-content:center}
.treasure img{width:78%;height:auto;filter:drop-shadow(0 10px 12px rgba(66,49,25,.2))}
.kero-says{display:flex;align-items:center;gap:14px;margin:24px 0 0}
.kero-says img{width:84px;height:84px;object-fit:contain}
.kero-says span{position:relative;background:#fff;border:2px solid var(--ink);border-radius:999px;padding:8px 18px;font-family:var(--round);font-weight:800}
.kero-says span::before{content:"";position:absolute;left:-9px;top:50%;width:14px;height:14px;background:#fff;border-left:2px solid var(--ink);border-bottom:2px solid var(--ink);transform:translateY(-50%) rotate(45deg)}
@media (max-width:860px){
  .feature{padding:64px 0}
  .feature-grid,.feature-grid-rev{grid-template-columns:1fr;gap:36px}
  .feature-grid-rev .feature-shot{order:2}
  .feature h2,.faq-section h2{font-size:28px}
  .feature-screens .phone{border-radius:26px;padding:5px}
  .feature-screens .phone img{border-radius:21px}
  .feature-screens figure:nth-child(2){margin-top:40px}
  .feature-shot .phone{max-width:250px}
  .tiers img{width:64px;height:64px}
}

/* 演出の節（主役）。夜の地で金と虹の光を立てる */
.reveal{background:radial-gradient(ellipse at 50% 0,#3A2A63 0,#1B1530 60%) ,#1B1530;color:#F6EEDB;padding:96px 0 88px}
.reveal-head{max-width:760px;margin:0 auto 44px;text-align:center}
.reveal h2{font-size:40px;line-height:1.35;margin:0 0 18px;color:#fff}
.reveal-head p:last-child{margin:0;color:#E6DCC4}
.marker-night{color:#FFD873;background:linear-gradient(transparent 62%,rgba(213,172,86,.35) 62%)}
/* 演出の見どころ（オリパワンに学んだ形: 絵＋斜めのバッジ＋太い見出し＋ひと言）。
   Qちゃん 2026-10-27「演出の尺はとりすぎ」＝PC は5枚を1行・スマホは横にめくるカード（1枚＝画面の8割・ぴたっと止まる）。
   🔴 次のカードの端が見えている＝めくれる合図（押せる見た目にはしない） */
.chance-list{list-style:none;margin:0;padding:0;display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:18px}
.chance-pic{position:relative;border-radius:16px;overflow:hidden;border:3px solid #E2B341;box-shadow:0 0 0 3px rgba(226,179,65,.25),0 14px 28px rgba(0,0,0,.45)}
.chance-pic img{display:block;width:100%;height:auto;aspect-ratio:3/4;object-fit:cover}
/* バッジは押せない飾り（文の一部）＝ボタンに見せない: 角ばった斜めの帯・カーソルは既定 */
.chance-badge{position:absolute;left:0;top:12px;max-width:92%;padding:5px 12px 5px 12px;background:linear-gradient(90deg,#FF3D3D,#FF8A2A);color:#fff;font-family:var(--round);font-weight:800;font-size:15px;line-height:1.35;transform:rotate(-4deg);box-shadow:3px 3px 0 #7A1010;text-shadow:0 2px 0 rgba(0,0,0,.25);cursor:default}
.chance-copy h3{margin:14px 0 4px;font-size:21px;line-height:1.3;color:#FFD873;text-shadow:0 2px 0 rgba(0,0,0,.35)}
.chance-copy p{margin:0;font-size:14px;color:#F6EEDB;line-height:1.7}
.reveal-note{margin:32px auto 0;max-width:760px;text-align:center;font-size:13px;color:#CFC3A8;line-height:1.8}
@media (max-width:860px){
  .reveal{padding:56px 0}
  .reveal h2{font-size:28px}
  .reveal-head{margin-bottom:28px}
  .chance-list{display:flex;gap:14px;overflow-x:auto;scroll-snap-type:x mandatory;margin:0 -20px;padding:4px 20px 12px;scrollbar-width:none;-webkit-overflow-scrolling:touch}
  .chance-list::-webkit-scrollbar{display:none}
  .chance{flex:0 0 80%;scroll-snap-align:center}
  .chance-pic img{aspect-ratio:4/3}
  .chance-badge{font-size:16px}
  .chance-copy h3{font-size:22px}
}

/* 使い方（ファーストビューの直後・4つのステップ） */
.howto{padding:72px 0 80px}
.howto h2{font-size:40px;line-height:1.35;margin:0 0 28px}
.howto-steps{list-style:none;margin:0;padding:0;display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:20px}
.howto-steps li{position:relative;background:#fff;border:2px solid var(--line);border-radius:20px;padding:16px 16px 20px}
.howto-pic{height:150px;display:flex;align-items:center;justify-content:center;background:var(--band);border-radius:14px;margin-bottom:14px;overflow:hidden}
.howto-pic img{max-height:136px;width:auto;max-width:100%;object-fit:contain}
.howto-steps .num{position:absolute;left:10px;top:10px;display:inline-flex;align-items:center;justify-content:center;width:34px;height:34px;border-radius:50%;background:var(--frog);color:#fff;font-family:var(--round);font-weight:800;font-size:17px;box-shadow:0 3px 0 var(--frog-deep)}
.howto-steps b{display:block;font-size:19px;font-weight:800;line-height:1.4}
.howto-steps p{margin:4px 0 0;font-size:14px;color:var(--ink-sub);line-height:1.7}
@media (max-width:860px){
  .howto{padding:48px 0 56px}
  .howto h2{font-size:28px;margin-bottom:20px}
  .howto-steps{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}
  .howto-steps li{padding:12px 12px 16px;border-radius:16px}
  .howto-pic{height:110px;margin-bottom:10px}
  .howto-pic img{max-height:100px}
  .howto-steps .num{width:28px;height:28px;font-size:15px}
  .howto-steps b{font-size:16px}
  .howto-steps p{font-size:13px}
}

/* 押せるボタン（実際に動画を止める）。🔴 近日公開の札（押せない）・演出のバッジ（飾り）とは見た目を変える＝丸い塗り・押したら沈む */
.motion-toggle{flex:none;font:inherit;font-family:var(--round);font-weight:800;font-size:13px;color:var(--ink);background:#FFD873;border:2px solid var(--ink);border-radius:999px;padding:5px 14px;cursor:pointer;box-shadow:0 3px 0 var(--ink)}
.motion-toggle:hover{background:#FFE39A}
.motion-toggle:active{transform:translateY(2px);box-shadow:0 1px 0 var(--ink)}
.motion-toggle:focus-visible{outline:3px solid var(--primary);outline-offset:2px}
.hero-toggle{position:absolute;right:6%;bottom:14px;z-index:4}
@media (max-width:860px){
  .reveal{padding:64px 0}
  .reveal h2{font-size:28px}
  .chance-list{gap:44px;max-width:420px}
  .chance,.chance:nth-child(even){grid-template-columns:1fr;gap:16px}
  .chance:nth-child(even) .chance-pic{order:0}
  .chance-badge{font-size:19px;top:14px}
  .chance-copy h3{font-size:26px}
  .chance-copy p{font-size:15px}
  .hero-toggle{right:2%;bottom:8px}
}

/* 招待の節 */
.invite-shots{position:relative;padding-bottom:80px}
.invite-shots .phone{max-width:250px}
.invite-card{position:absolute;left:50%;bottom:0;transform:translateX(-50%) rotate(-3deg);width:min(330px,92%);margin:0;background:#fff;border:2px solid var(--ink);border-radius:18px;padding:10px 10px 6px;box-shadow:5px 5px 0 var(--gold);cursor:default}
.invite-card img{display:block;width:100%;height:auto;border-radius:10px}
.invite-card figcaption{margin-top:6px;font-size:12px}
.conds{margin:20px 0 0;padding-left:1.3em;font-size:15px}
.conds li{margin:4px 0}
.shot-cap{margin:12px 0 0;text-align:center;font-size:14px;font-weight:700;color:var(--ink-sub);font-family:var(--round)}

/* お問い合わせフォーム（手本は moyapo.com の /support） */
.contact-form{display:grid;gap:18px;margin:24px 0 8px}
.field{display:grid;gap:6px}
.field-name{font-family:var(--round);font-weight:800;font-size:15px}
.req{display:inline-block;margin-left:8px;padding:0 8px;border-radius:6px;background:var(--primary);color:#fff;font-size:12px;line-height:1.7;vertical-align:1px}
.field input,.field select,.field textarea{font:inherit;font-size:16px;color:var(--ink);background:#fff;border:2px solid var(--line);border-radius:12px;padding:10px 12px;width:100%}
.field input:focus,.field select:focus,.field textarea:focus{outline:none;border-color:var(--frog)}
.field small{font-size:13px;color:var(--ink-sub);line-height:1.7}
.field textarea{resize:vertical;min-height:160px}
.hp{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap}
.cf-turnstile{min-height:65px}
.agree{display:flex;align-items:center;gap:10px;font-size:15px}
.agree input{width:20px;height:20px;accent-color:var(--frog-deep)}
.contact-submit{justify-self:start;font:inherit;font-family:var(--round);font-weight:800;font-size:17px;color:#fff;background:var(--primary);border:none;border-radius:28px;padding:12px 40px;cursor:pointer;box-shadow:0 4px 0 #A9441F}
.contact-submit:hover{filter:brightness(1.05)}
.contact-submit:active{transform:translateY(2px);box-shadow:0 2px 0 #A9441F}
.contact-submit:disabled{opacity:.6;cursor:default}
.contact-error{background:#FDE7E1;border:2px solid var(--primary);border-radius:12px;padding:10px 14px;font-weight:700}
.from-app{margin:0;font-size:13px;color:var(--frog-deep)}
.contact-no{font-size:18px}
.contact-no b{font-family:ui-monospace,Menlo,monospace;letter-spacing:.08em}
@media (max-width:600px){.contact-submit{justify-self:stretch}}

/* よくある質問 */
.faq-section{padding:88px 0;background:#fff;border-top:2px solid var(--line)}
.faq{display:grid;gap:12px;max-width:820px}
.faq details{background:var(--bg);border:2px solid var(--line);border-radius:16px}
.faq details[open]{border-color:var(--frog)}
.faq summary{cursor:pointer;list-style:none;padding:16px 52px 16px 20px;font-weight:800;font-size:17px;position:relative}
.faq summary::-webkit-details-marker{display:none}
.faq summary::after{content:"+";position:absolute;right:18px;top:50%;transform:translateY(-50%);width:26px;height:26px;border-radius:50%;background:var(--frog);color:#fff;display:flex;align-items:center;justify-content:center;font-size:18px;line-height:1}
.faq details[open] summary::after{content:"−"}
.faq .a{padding:0 20px 18px;color:var(--ink)}

/* 最後の帯 */
.band{background:var(--band);border-top:4px solid var(--frog-deep);padding:48px 0}
.band-inner{display:grid;grid-template-columns:auto 1fr auto;gap:24px 32px;align-items:center}
.band img{width:150px;height:150px;object-fit:contain}
.band h2{margin:0;font-size:34px;line-height:1.35}
.band-copy p{margin:4px 0 0;font-family:var(--round);font-weight:700;font-size:17px}
@media (max-width:860px){
  .band-inner{grid-template-columns:1fr;text-align:center;justify-items:center}
  .band h2{font-size:28px}
}

/* 規約・ポリシー・サポート（見た目だけ。🔴 本文は src/ と TERMS-DRAFT.md が正） */
.doc{background:#fff;border:2px solid var(--line);border-radius:24px;padding:40px 48px 56px;margin:40px auto 64px;max-width:880px}
.doc h1{font-size:32px;line-height:1.4;margin:0 0 6px;padding-bottom:14px;border-bottom:4px solid var(--band)}
.doc h2{font-size:20px;line-height:1.5;margin:40px 0 10px;padding:6px 0 6px 14px;border-left:6px solid var(--frog);background:linear-gradient(90deg,var(--leaf),transparent 70%);border-radius:0 8px 8px 0}
.doc h3{font-size:17px;margin:24px 0 6px;color:var(--frog-deep)}
.doc ol,.doc ul{padding-left:1.6em}
.doc li{margin:6px 0}
.doc li ul{margin:4px 0}
.note{color:var(--ink-sub);font-size:14px}
.svc{border-collapse:collapse;width:100%;font-size:14px;margin:12px 0}
.svc th,.svc td{border:1px solid var(--line);padding:8px 10px;text-align:left;vertical-align:top}
.svc th{background:var(--surface);white-space:nowrap}
.box{background:var(--bg);border:2px solid var(--line);border-radius:20px;padding:18px 20px;margin:16px 0}
.mail{font-size:20px;font-weight:900;word-break:break-all}
.notfound{text-align:center}
.notfound img{width:160px;height:160px;object-fit:contain}
.notfound h1{border-bottom:none}
.back{display:inline-block;margin-top:8px;padding:12px 28px;border-radius:28px;background:var(--primary);color:#fff;text-decoration:none;font-family:var(--round);font-weight:800;box-shadow:0 4px 0 #A9441F}
.back:hover{color:#fff;transform:translateY(2px);box-shadow:0 2px 0 #A9441F}
@media (max-width:600px){
  .doc{margin:20px 12px 40px;padding:28px 20px 40px;border-radius:20px}
  .doc h1{font-size:26px}
  .doc h2{font-size:18px}
  .svc,.svc tbody,.svc tr,.svc td{display:block;width:100%}
  .svc tr:first-child{display:none}
  .svc tr{border:1px solid var(--line);border-radius:14px;margin:0 0 12px;overflow:hidden;background:#fff}
  .svc td{border:none;border-top:1px solid var(--line)}
  .svc td:first-child{border-top:none;background:var(--surface);font-weight:800}
  .svc td[data-l]::before{content:attr(data-l);display:block;font-size:12px;color:var(--ink-sub);font-weight:700}
}

/* 招待リンクの着地ページ（/i/<コード>） */
.invite-landing{text-align:center}
.invite-kero{width:150px;height:150px;object-fit:contain}
.invite-landing h1{border-bottom:none}
.code-box{display:inline-flex;align-items:center;gap:14px;flex-wrap:wrap;justify-content:center;margin:12px 0 4px;padding:14px 18px;background:var(--surface);border:2px solid var(--line);border-radius:18px}
.code-label{font-family:var(--round);font-weight:800;font-size:14px;color:var(--ink-sub)}
.code-value{font-family:var(--round);font-weight:800;font-size:34px;letter-spacing:.06em;color:var(--ink)}
/* コピーは押せるボタン（実線・塗り・押したら沈む）。近日公開の札（点線）と見た目を分ける */
.code-copy{font:inherit;font-family:var(--round);font-weight:800;font-size:15px;color:var(--ink);background:#fff;border:2px solid var(--gold);border-radius:999px;padding:6px 18px;cursor:pointer;box-shadow:0 3px 0 var(--gold)}
.code-copy:active{transform:translateY(2px);box-shadow:0 1px 0 var(--gold)}
.copy-done{margin:4px 0;color:var(--frog-deep);font-weight:700;font-size:14px}
.open-app{margin-top:16px}
.invite-landing .soon{margin-top:20px}

/* フッター */
footer{background:var(--ink);color:var(--surface);padding:40px 0 32px;font-size:14px}
.foot-brand{color:#fff}
.foot-brand img{width:48px;height:48px;border-radius:12px}
.foot-brand>span{color:#C9D77F}
footer nav{display:flex;flex-wrap:wrap;gap:8px 24px;margin:20px 0 0}
footer nav a{color:#fff;text-decoration:none;font-weight:700}
footer nav a:hover{color:var(--band)}
.foot-note{margin:20px 0 0;font-size:12px;line-height:1.8;color:#D9C9A6}
footer .copy{margin:14px 0 0;color:#D9C9A6;font-size:12px}
