/* ちむ 事前告知LP — muute型モック v3.8(docs/mockups/build_lp_muute.py)の忠実移植。
   モバイル基準: デザイン幅374px(モックの .screen 内寸)。PCは中央寄せ+余白。
   カラーはアプリのデザイントークン(docs/app-implementation-handoff.md)+アクセント #C98A6A。 */

:root { color-scheme: light; }
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: #FAF3EA; color: #46536B; line-height: 1.75;
  font-family: "Hiragino Maru Gothic ProN", "Hiragino Sans", "Yu Gothic", sans-serif;
  overflow-x: hidden; overflow-x: clip; }
h1, h2, h3 { margin: 0; font: inherit; }
a:focus-visible, button:focus-visible, input:focus-visible { outline: 2px solid #C98A6A; outline-offset: 2px; }

.page { max-width: 374px; margin: 0 auto; }

/* ちむ画像 */
.bg-c-sleepy { background: url(img/chimu-sleepy-cut.png) center bottom / contain no-repeat; }
.stk-standing { background: url(img/sticker-standing.png) center / contain no-repeat; }
.stk-sitting { background: url(img/sticker-sitting.png) center / contain no-repeat; }
.stk-gorone { background: url(img/sticker-gorone.png) center / contain no-repeat; }
.pose-sitting { background: url(img/pose-sitting.png) center bottom / contain no-repeat; }
.pose-banzai { background: url(img/pose-banzai.png) center bottom / contain no-repeat; }
.gr-futaba { background: url(img/growth-futaba-cut.png) center bottom / contain no-repeat; }
.gr-honba { background: url(img/growth-honba-cut.png) center bottom / contain no-repeat; }

/* --- 成長の一枚絵(進化図) --- */
.grow { margin: 28px 2px 0; border-radius: 22px; padding: 30px 10px 20px;
  background: linear-gradient(180deg, #F9EEDD 0%, #F4E5CC 62%, #EFD9BE 100%);
  position: relative; overflow: hidden; }
.grow .gsp1 { position: absolute; top: 14px; right: 22px; color: #E9B26A; font-size: 13px; }
.grow .gsp2 { position: absolute; top: 34px; right: 44px; color: #E9B26A; font-size: 9px; }
.grow-row { display: flex; align-items: flex-end; justify-content: space-between; }
.gstage { display: flex; flex-direction: column; align-items: center; flex: 1; min-width: 0; }
.gimg { width: 100%; background-position: center bottom; background-size: contain; background-repeat: no-repeat; }
.gstage.g1 .gimg { height: 56px; }
.gstage.g2 .gimg { height: 68px; }
/* そのさきは「おたのしみ」— 形は見せない */
.gstage.gq .gimg { height: 92px; display: flex; align-items: flex-end; justify-content: center; }
.gq-blob { width: 62px; height: 78px; border: 2px dashed #D8A98C; background: rgba(255,255,255,.55);
  border-radius: 48% 52% 46% 54% / 56% 56% 44% 44%; transform: rotate(3deg);
  display: flex; align-items: center; justify-content: center;
  color: #C98A6A; font-size: 24px; font-weight: 700; }
.gshd { width: 58%; height: 6px; border-radius: 50%; background: rgba(120,90,55,.15); margin-top: -2px; }
.glab { margin-top: 9px; font-size: 10px; font-weight: 700; color: #B05A36; background: #FFFFFF;
  border-radius: 999px; padding: 2px 11px; white-space: nowrap; }
.garrow { color: #C98A6A; font-size: 13px; font-weight: 700; padding: 0 1px; margin-bottom: 40px; }

/* ===== ヒーロー ===== */
.mu-hero { text-align: center; padding: 68px 26px 0; position: relative; }
.mu-tag { font-size: 12px; letter-spacing: .3em; color: #8A8172; }
.mu-logo { font-size: 46px; font-weight: 700; letter-spacing: .1em; margin-top: 24px; line-height: 1.2; }
.mu-yomi { font-size: 11px; letter-spacing: .32em; color: #B05A36; margin-top: 6px; }
.mu-desc { font-size: 13px; letter-spacing: .08em; line-height: 2.3; margin-top: 30px; }
.mu-heroform { max-width: 280px; margin: 30px auto 0; }
.mu-date { display: inline-block; margin-top: 4px; font-size: 12px; letter-spacing: .14em;
  color: #B05A36; border: 1px solid #D8A98C; border-radius: 999px; padding: 5px 22px; }

/* ===== 実機フレームのヒーロー ===== */
.mu-phones { position: relative; height: 520px; margin-top: 34px; }
.hero-blob { position: absolute; left: 50%; top: 46%; transform: translate(-50%, -50%);
  width: 330px; height: 330px; border-radius: 50%; background: rgba(255,255,255,.6); }
.phwrap { position: absolute; }
.phwrap.l { left: -2px; top: 56px; transform: rotate(-8deg); z-index: 1; }
.phwrap.r { right: -2px; top: 0; transform: rotate(7deg); z-index: 2; }
.iph { width: 206px; background: linear-gradient(160deg, #FDFBF7 0%, #EFE9DD 100%);
  border-radius: 36px; padding: 8px; border: 1px solid #DDD4C2;
  box-shadow: 0 24px 44px rgba(90, 70, 45, .26), inset 0 1px 2px rgba(255,255,255,.9); position: relative; }
.iph::after { content: ""; position: absolute; top: 15px; left: 50%; transform: translateX(-50%);
  width: 56px; height: 15px; background: #20242F; border-radius: 999px; z-index: 6; }
.iph-scr { border-radius: 29px; overflow: hidden; background: #FAF3EA; position: relative;
  display: flex; flex-direction: column; height: 398px; color: #46536B; }
.iph-shadow { position: absolute; bottom: -20px; left: 8%; right: 8%; height: 22px;
  background: radial-gradient(ellipse at center, rgba(90,70,45,.30) 0%, rgba(90,70,45,0) 70%); filter: blur(3px); }

/* --- 画面共通(小型・くっきり) --- */
.s-status { display: flex; justify-content: space-between; padding: 10px 16px 0; font-size: 8px;
  font-weight: 700; color: #46536B; }
.s-body { padding: 6px 9px 0; flex: 1; display: flex; flex-direction: column; }
.s-tab { display: flex; justify-content: space-around; padding: 6px 6px 12px; border-top: 1px solid #EFE5D4;
  font-size: 7px; color: #ABA28D; margin-top: auto; }
.s-tab .on { color: #B05A36; font-weight: 700; }

/* --- 画面A: ホーム --- */
.hm-card { background: #FFFFFF; border-radius: 13px; padding: 7px 8px 6px; box-shadow: 0 1px 4px rgba(70,60,40,.08); }
.hm-head { display: flex; justify-content: space-between; align-items: center; }
.hm-tt { font-size: 7.5px; font-weight: 700; }
.hm-badge { font-size: 6.5px; padding: 1px 6px; border-radius: 999px; background: #F3DFD2; color: #B05A36; font-weight: 700; }
.hm-week { display: flex; justify-content: space-between; margin-top: 5px; }
.hm-p { width: 19px; height: 19px; border-radius: 50%; display: flex; align-items: center;
  justify-content: center; font-size: 7px; font-weight: 700; }
.hm-p.d { background: #B05A36; color: #FAF3EA; }
.hm-p.o { background: #B9B2A6; color: #FAF3EA; }
.hm-p.t { background: #FFFFFF; border: 1.2px solid #46536B; }
.hm-p.f { background: #FFFFFF; border: 1px solid #D9CDB9; color: #9A917E; }
.hm-room { position: relative; border-radius: 13px; margin-top: 7px; text-align: center; overflow: hidden;
  background: linear-gradient(180deg, #F9EEDD 0%, #F6E7D2 58%, #EFD9BE 100%); padding: 8px 8px 10px; }
.hm-win { position: absolute; top: 9px; left: 10px; width: 30px; height: 38px;
  background: linear-gradient(180deg, #EAE4D2, #F4E3C4); border: 1.6px solid #E0CFB2;
  border-radius: 15px 15px 4px 4px; }
.hm-win::after { content: ""; position: absolute; right: 4px; top: 6px; width: 9px; height: 9px;
  border-radius: 50%; background: #E9B77C; opacity: .85; }
.hm-bub { display: inline-block; background: #FFFFFF; border-radius: 8px; padding: 3px 8px;
  font-size: 7px; box-shadow: 0 1px 3px rgba(70,60,40,.08); }
.hm-chimu { height: 92px; margin: 4px auto 0; }
.hm-shd { width: 56px; height: 6px; margin: -2px auto 0; border-radius: 50%; background: rgba(120,90,55,.16); }
.hm-stats { display: flex; gap: 5px; margin-top: 7px; }
.hm-st { flex: 1; background: #FFFFFF; border-radius: 9px; padding: 5px 3px; text-align: center;
  box-shadow: 0 1px 3px rgba(70,60,40,.07); }
.hm-st .l { font-size: 5.8px; color: #9A917E; }
.hm-st .n { font-size: 9px; font-weight: 700; margin-top: 1px; }
.hm-cta { margin-top: 8px; background: #B05A36; color: #FDF7EE; border-radius: 999px; text-align: center;
  font-size: 8px; font-weight: 700; padding: 7px 0 8px; box-shadow: 0 3px 8px rgba(176,90,54,.3); }

/* --- 夜の画面共通 --- */
.iph-scr.night { background: linear-gradient(180deg, #343B54 0%, #2E3345 60%, #272B3B 100%); color: #F2EADC; }
.s-status.dark { color: #F2EADC; }
.s-tab.dark { border-top-color: #3E4459; color: #8A8FA3; }
.s-tab.dark .on { color: #E8A377; }
.nq { text-align: center; margin-top: 16px; }
.nq-chimu { height: 66px; margin: 0 auto 8px; }
.nq-t { font-size: 10.5px; font-weight: 700; }
.nq-s { font-size: 6.8px; color: #9BA0B4; margin-top: 2px; }
.nc { display: flex; flex-direction: column; gap: 7px; margin-top: 14px; padding: 0 5px; }
.nc div { display: flex; align-items: center; gap: 7px; background: #3C4257; border: 1px solid #4A5068;
  border-radius: 11px; padding: 9px 10px; font-size: 8.5px; font-weight: 700; }

/* --- trio 構図 --- */
.trio { position: relative; height: 452px; margin-top: 24px; }
.tp { position: absolute; left: 50%; top: 0; }
.tp.c { transform: translateX(-50%); z-index: 3; }
.tp.l { transform: translateX(-50%) translateX(-86px) translateY(16px) rotate(-9deg) scale(.94); z-index: 1; }
.tp.r { transform: translateX(-50%) translateX(86px) translateY(16px) rotate(9deg) scale(.94); z-index: 2; }
/* 03のtrioは並列型: スタンプ帳と「たまったもの」を隠さず両方見せる(手紙は上からのぞく) */
.trio-ledger { height: 470px; }
.trio-ledger .tp.l { transform: translateX(-50%) translateY(-16px) scale(.8); z-index: 1; }
.trio-ledger .tp.c { transform: translateX(-50%) translateX(-86px) translateY(46px) rotate(-4deg) scale(.85); z-index: 2; }
.trio-ledger .tp.r { transform: translateX(-50%) translateX(86px) translateY(46px) rotate(4deg) scale(.85); z-index: 3; }
.trio-shadow { position: absolute; left: 12%; right: 12%; bottom: -8px; height: 22px;
  background: radial-gradient(ellipse at center, rgba(90,70,45,.25) 0%, rgba(90,70,45,0) 70%); filter: blur(4px); }

/* --- 画面E: 杯数 --- */
.am-chips { display: flex; gap: 4px; justify-content: center; margin-top: 18px; flex-wrap: wrap; }
.am-chip { font-size: 7px; padding: 3px 8px; border-radius: 999px; border: 1px solid #4A5068; color: #A9AEC0; }
.am-chip.on { border-color: #D07C50; color: #E8A377; font-weight: 700; }
.am-step { display: flex; align-items: center; justify-content: center; gap: 16px; margin-top: 24px; }
.am-btn { width: 30px; height: 30px; border-radius: 50%; background: #3C4257; border: 1px solid #4A5068;
  color: #F2EADC; font-size: 13px; display: flex; align-items: center; justify-content: center; }
.am-n { font-size: 25px; font-weight: 700; }
.am-n small { font-size: 9px; }
.am-go { margin: 22px 10px 0; background: #C96F42; color: #FFF6EC; border-radius: 999px; text-align: center;
  font-size: 8.5px; font-weight: 700; padding: 8px 0 9px; }

/* --- 画面F: 反応 --- */
.rc { text-align: center; margin-top: 20px; }
.rc-chimu { height: 86px; margin: 0 auto; }
.rc-t { font-size: 8.5px; line-height: 2.05; margin-top: 12px; padding: 0 8px; }
.rc-pt { display: inline-block; margin-top: 11px; font-size: 7px; color: #E8A377; background: #55403A;
  border-radius: 999px; padding: 2px 9px; font-weight: 700; }

/* --- 画面I: 手紙 --- */
.lt { background: #FFFDF6; border: 1px solid #EADCC6; border-radius: 11px; padding: 10px 12px;
  margin-top: 14px; font-size: 7.2px; line-height: 2.15; }
.lt .to { font-weight: 700; }
.lt .stamp { float: right; width: 20px; height: 20px; border-radius: 50%; border: 1.2px solid rgba(176,90,54,.6);
  color: #B05A36; font-size: 5.5px; font-weight: 700; display: flex; align-items: center; justify-content: center;
  transform: rotate(6deg); }
.lt .sig { text-align: right; font-weight: 700; color: #B05A36; display: block; }
.lt-close { margin: 12px auto 0; width: 62%; background: #B05A36; color: #FDF7EE; border-radius: 999px;
  text-align: center; font-size: 7.5px; font-weight: 700; padding: 6px 0 7px; }

/* --- 画面J: 浮いたお金 --- */
.mn-title { font-size: 9px; font-weight: 700; margin: 4px 2px 0; }
.mn-lab { text-align: center; font-size: 7.5px; color: #8A8172; margin-top: 11px; }
.mn-big { text-align: center; font-size: 27px; font-weight: 700; margin-top: 1px; }
.mn-sub { text-align: center; font-size: 7.5px; color: #8A8172; margin-top: 2px; }
.mn-cal { display: flex; justify-content: space-between; align-items: center; margin-top: 10px;
  background: #F6E8D8; border-radius: 9px; padding: 6px 10px; font-size: 7.5px; }
.mn-cal b { font-variant-numeric: tabular-nums; }
.mn-rows { margin-top: 10px; display: flex; flex-direction: column; gap: 5px; }
.mn-row { display: flex; justify-content: space-between; background: #FFFFFF; border-radius: 9px;
  padding: 6px 10px; font-size: 7.5px; box-shadow: 0 1px 3px rgba(70,60,40,.07); }
.mn-row b { font-variant-numeric: tabular-nums; }
.mn-note { text-align: center; font-size: 6.8px; color: #9A917E; margin-top: 11px; line-height: 1.95; padding: 0 8px; }

/* --- ソリューション3連 --- */
.sol { padding: 40px 26px 0; text-align: center; }
.sol-item { margin-top: 60px; }
.sol-num { font-family: Georgia, "Times New Roman", serif; font-style: italic; font-size: 15px;
  color: #C98A6A; letter-spacing: .24em; }
.sol-t { font-size: 16px; font-weight: 700; letter-spacing: .14em; margin-top: 10px; }
.sol-d { font-size: 12px; color: #8A8172; line-height: 2.25; margin-top: 10px; letter-spacing: .04em; }

/* --- 画面B: スタンプ帳 --- */
.sb-title { font-size: 9px; font-weight: 700; margin: 2px 2px 0; }
.sb-hito { background: #FFFFFF; border-radius: 11px; padding: 6px 8px; margin-top: 5px;
  font-size: 6.8px; line-height: 1.9; box-shadow: 0 1px 4px rgba(70,60,40,.08); }
.sb-hito b { font-size: 6.2px; color: #B05A36; display: block; }
.sb-card { background: #FFFFFF; border-radius: 13px; padding: 7px 8px 8px; margin-top: 6px;
  box-shadow: 0 1px 4px rgba(70,60,40,.08); }
.sb-head { display: flex; justify-content: space-between; align-items: center; }
.sb-tt { font-size: 7.5px; font-weight: 700; }
.sb-badge { font-size: 6.5px; padding: 1px 6px; border-radius: 999px; background: #F3DFD2; color: #B05A36; font-weight: 700; }
.sb-wd { display: grid; grid-template-columns: repeat(7, 1fr); font-size: 5.2px; color: #9A917E;
  text-align: center; margin-top: 5px; }
.sb-grid { display: grid; grid-template-columns: repeat(7, 1fr); row-gap: 1px; margin-top: 2px; }
.sb-c { display: flex; flex-direction: column; align-items: center; min-height: 24px; }
.sb-n { font-size: 5px; color: #8A8172; }
.sb-s { width: 15px; height: 15px; border-radius: 50%; border: 1.2px solid rgba(176,90,54,.72);
  background: rgba(176,90,54,.08); color: #B05A36; display: flex; align-items: center;
  justify-content: center; font-size: 7px; font-weight: 700; }
.sb-s.r1 { transform: rotate(-8deg); } .sb-s.r2 { transform: rotate(6deg); } .sb-s.r3 { transform: rotate(-3deg); }
.sb-e { width: 15px; height: 15px; }
.sb-share { margin-top: 7px; border: 1.2px solid #D8A98C; color: #B05A36; border-radius: 999px;
  text-align: center; font-size: 7px; font-weight: 700; padding: 5px 0 6px; }

/* --- セクション連結の丸矢印 --- */
.mu-arrow { width: 42px; height: 42px; border-radius: 50%; background: #C98A6A;
  display: flex; align-items: center; justify-content: center; margin: 76px auto 0;
  box-shadow: 0 4px 10px rgba(176,90,54,.22); }
.mu-arrow svg { width: 18px; height: 18px; display: block; }

/* ===== 悩み3連・いいこと3連・Meet ===== */
.mu-sec { padding: 40px 30px 0; text-align: center; }
.mu-en { font-family: Georgia, "Times New Roman", serif; font-style: italic; font-size: 15px;
  color: #C98A6A; letter-spacing: .06em; }
.mu-h2 { font-size: 19px; font-weight: 700; letter-spacing: .2em; margin-top: 14px; }
.pains { display: flex; flex-direction: column; gap: 44px; margin-top: 48px; }
.picon { width: 64px; height: 64px; border-radius: 50%; background: #FFFFFF; display: flex;
  align-items: center; justify-content: center; margin: 0 auto 14px;
  box-shadow: 0 2px 8px rgba(90,70,45,.10); }
.picon svg { width: 32px; height: 32px; display: block; }
.pain .pimg { height: 86px; margin: 0 auto 14px; }
.pain .pt { font-size: 14px; font-weight: 700; letter-spacing: .1em; line-height: 2.1; }
.pain .pd { font-size: 12px; color: #8A8172; line-height: 2.2; margin-top: 8px; letter-spacing: .05em; }
/* ===== 登録フォーム ===== */
.mu-form { margin: 40px 26px 0; text-align: center; position: relative; }
.mu-form .ft { font-size: 15px; font-weight: 700; letter-spacing: .16em; }
.mu-form .fs { font-size: 11.5px; color: #8A8172; margin-top: 10px; letter-spacing: .06em; line-height: 2.1; }
.mu-input { display: block; width: 100%; margin: 22px auto 0; border-radius: 999px; padding: 13px 20px;
  font-size: 13px; font-family: inherit; background: #FFFFFF; border: 1px solid #E5DAC8;
  color: #46536B; text-align: left; }
.mu-input::placeholder { color: #B9B2A6; }
.mu-input:focus { border-color: #C98A6A; }
/* iOSのフォーカス時自動ズームを防ぐ(見た目はモックの13pxを他環境で維持) */
@supports (-webkit-touch-callout: none) { .mu-input { font-size: 16px; } }
.mu-btn { display: block; width: 100%; margin-top: 10px; padding: 14px 0 15px; border: none;
  border-radius: 999px; font-family: inherit; font-size: 14px; font-weight: 700; cursor: pointer;
  letter-spacing: .1em; background: #46536B; color: #FAF3EA; }
.mu-btn:disabled { opacity: .6; cursor: default; }
.mu-priv { font-size: 10px; color: #9A917E; margin-top: 12px; letter-spacing: .04em; }
.mu-msg { display: none; font-size: 12px; color: #B05A36; margin-top: 14px; letter-spacing: .06em; line-height: 2; }
.mu-msg.show { display: block; }

/* ===== フッター・追従ピル ===== */
.mu-foot { padding: 72px 26px calc(30px + env(safe-area-inset-bottom)); text-align: center;
  font-size: 10.5px; color: #9A917E; letter-spacing: .08em; }
.mu-foot a { text-decoration: none; margin: 0 8px; color: #B05A36; }
.mu-sticky { position: fixed; right: max(14px, calc(50% - 173px));
  bottom: calc(14px + env(safe-area-inset-bottom)); z-index: 10;
  background: #46536B; color: #FAF3EA; text-decoration: none;
  border-radius: 999px; font-size: 11.5px; font-weight: 700; letter-spacing: .06em;
  padding: 10px 18px; box-shadow: 0 8px 20px rgba(70,60,40,.3);
  transition: opacity .25s ease, transform .25s ease; }
.mu-sticky.hide { opacity: 0; pointer-events: none; transform: translateY(8px); }
@media (prefers-reduced-motion: reduce) { .mu-sticky { transition: none; } }
