/* 会員登録・マイページの部品。本番の #info モーダルの見た目に合わせる */
:is(#info,.fm-page) .fm-auth{text-align:center}
:is(#info,.fm-page) .fm-brand{font:500 13px/1 "Noto Serif JP",serif;letter-spacing:.14em;color:#a8876a;margin:4px 0 12px}
:is(#info,.fm-page) .fm-auth h2{font-size:20px;line-height:1.55;margin:0 0 16px}
:is(#info,.fm-page) .fm-text{font-size:13.5px;line-height:1.9;margin:0 0 14px;text-align:left}
:is(#info,.fm-page) .fm-small{font-size:12px;line-height:1.8;color:#8a7482;margin:0 0 16px;text-align:left}
:is(#info,.fm-page) .fm-unlock{display:grid;gap:5px;margin:0 0 18px;padding:12px 14px;border:1px solid #eadbe2;border-radius:12px;background:#fff;text-align:left;list-style:none}
:is(#info,.fm-page) .fm-unlock li{font-size:12px;line-height:1.55;color:#6d5664}
:is(#info,.fm-page) .fm-unlock b{display:inline-block;width:24px;color:#b48c70;font:600 11px Georgia,serif}
/* 前回のログイン方法（ボタンのすぐ上に小さく） */
:is(#info,.fm-page) .fm-last{font-size:12px;line-height:1.6;color:#8a7482;margin:0 0 8px}
.fm-btn{display:flex;align-items:center;width:100%;min-height:52px;margin:0 0 10px;padding:0;border-radius:10px;font:600 15px/1 -apple-system,"Noto Sans JP",sans-serif;cursor:pointer}
/* ロゴは縮めない。文字はボタンの中央に置き、幅の狭いスマホ（360px）では右の余白（::after）だけが縮む（以前は余白が縮まず、LINEのロゴが約12pxに潰れていた） */
.fm-btn svg{flex:none;width:28px;height:28px;margin:0 12px}
.fm-btn span{flex:1;text-align:center;white-space:nowrap}
.fm-btn::after{content:"";flex:0 1 52px}
.fm-btn:disabled{opacity:.6;cursor:wait}
.fm-line{border:0;background:#06C755;color:#fff}
.fm-line:hover{box-shadow:inset 0 0 0 999px rgba(0,0,0,.1)}
.fm-line:active{box-shadow:inset 0 0 0 999px rgba(0,0,0,.3)}
.fm-line svg{width:41px;padding-right:12px;margin-right:0;border-right:1px solid rgba(0,0,0,.08)}
/* Google のボタンは Google の規定どおり（白地・枠 #747775・文字 #1f1f1f・4色のG）。ロゴは LINE のロゴと同じ縦の線上に置く */
.fm-google{border:1px solid #747775;background:#fff;color:#1f1f1f}
.fm-google:hover{box-shadow:inset 0 0 0 999px rgba(0,0,0,.04)}
.fm-google:active{box-shadow:inset 0 0 0 999px rgba(0,0,0,.1)}
.fm-google svg{width:20px;height:20px;margin:0 10px 0 16px}
.fm-google::after{flex-basis:46px}
/* 幅320pxの小さなスマホでは、文字を少し小さくしてボタンに収める */
@media(max-width:340px){.fm-btn{font-size:13.5px}}
:is(#info,.fm-page) .fm-notes{margin:4px 0 10px;padding:0;list-style:none}
:is(#info,.fm-page) .fm-notes li{font-size:11.5px;line-height:1.8;color:#8a7482}
:is(#info,.fm-page) .fm-terms{font-size:11px;line-height:1.8;color:#9a8792;margin:6px 0 0}
.fm-wide{width:100%;justify-content:center}
.fm-quiet{display:inline-block;margin-top:16px;border:0;background:none;color:#9a8792;font-size:12px;text-decoration:underline;text-underline-offset:3px;cursor:pointer}
.fm-danger{width:100%;min-height:48px;margin:0 0 10px;border:1px solid #c98b8b;border-radius:999px;background:#fff;color:#a2524f;font:600 14px -apple-system,"Noto Sans JP",sans-serif;cursor:pointer}
/* マイページ */
.fm-page{max-width:560px;margin:0 auto;padding:24px 18px 56px;color:#705767}
.fm-page h1{font:600 24px/1.4 "Noto Serif JP",serif;color:#88687d;margin:4px 0 18px}
.fm-sec{margin:0 0 14px;padding:16px;border:1px solid #eadbe2;border-radius:14px;background:#fff}
.fm-sec h2{font:600 15px "Noto Serif JP",serif;color:#88687d;margin:0 0 8px}
.fm-sec p{font-size:14px;line-height:1.8;margin:0 0 12px}
.fm-sec p:last-child{margin:0}
.fm-center{text-align:center}
/* マイページのログイン方法（連携済みの一覧） */
.fm-methods{margin:0 0 12px;padding:0;list-style:none}
.fm-methods li{display:flex;justify-content:space-between;align-items:center;padding:8px 0;border-bottom:1px solid #f0e4ea;font-size:14px}
.fm-methods li:last-child{border-bottom:0}
.fm-methods span{font-size:12px;color:#8a7482}
.fm-sec .fm-small{margin:10px 0 0}
/* 本番のスマホ幅（680px以下）はヘッダー右端のボタンを隠している。会員機能ではそこが「マイページ」なので出し、
   代わりに「夫婦命学とは」を隠す（3つは入らない。「夫婦命学とは」はフッターの「夫婦命学について」からも開ける） */
@media(max-width:680px){html[data-fm-member] header nav button[data-action="saved"]{display:inline-block}html[data-fm-member] header nav button[data-action="about"]{display:none}}
/* マイページのリンク型ボタン（「トップへ戻る」など）を、ボタンと同じ幅いっぱいの形にそろえる */
.fm-page a.outline{display:flex;align-items:center;justify-content:center;min-height:44px;text-decoration:none}
/* 悩みの回答の欄（「今の二人に、鑑定を近づける。」）は会員機能では出さない（稲葉 9/23・未登録の人にはゲートが隠している） */
html[data-fm-member] #consultation{display:none}
/* 利用規約・プライバシーポリシー */
.fm-doc>p{font-size:14px;line-height:1.9;margin:0 0 16px}
.fm-doc .fm-sec ul{margin:0;padding-left:1.2em}
.fm-doc .fm-sec li{font-size:14px;line-height:1.85;margin:0 0 6px}
.fm-doc a{color:#a26a8d}
.fm-dl{display:grid;grid-template-columns:auto 1fr;gap:8px 16px;margin:0;font-size:14px;line-height:1.8}
.fm-dl dt{color:#8a7482}.fm-dl dd{margin:0}
.fm-small-note{font-size:12px;color:#9a8792;text-align:right;margin:18px 0 0}
/* フッターのプライバシーポリシー・利用規約 */
.fm-legal{width:100%;margin:0;font-size:12px}
.fm-legal a{color:inherit;opacity:.8}
/* マイページの「鑑定書を開く」・LINEから戻ったとき：鑑定が出るまでトップの中身を隠して一言だけ出す（member-boot.js が付け、member.js が外す） */
html[data-fm-opening] #entry,html[data-fm-opening] footer{visibility:hidden}
html[data-fm-opening] body::after{content:'鑑定書を開いています…';position:fixed;left:0;right:0;top:42vh;text-align:center;font:500 15px/1.6 "Noto Serif JP",serif;letter-spacing:.08em;color:#7e5970;pointer-events:none}
html[data-fm-opening="auth"] body::after{content:'登録を確認しています…'}
