/* ログイン画面：上部のみ原画を使い、カードは HTML/CSS で実装（2026-10-15） */
:root { --lg-green: #0b4a33; --lg-green-2: #13603f; --lg-gold: #e3a12f; --lg-text: #1f3a2e; --lg-muted: #5f7368; --lg-line: #d8e2dc; --lg-bg: #eef4f1; }
* { box-sizing: border-box; }
body.auth-login { margin: 0; min-height: 100vh; background: #01120c radial-gradient(120% 60% at 50% 0%, #0a3a26 0%, #04231a 45%, #01120c 100%) fixed; color: var(--lg-text); font-family: "Hiragino Sans", "Noto Sans JP", "Yu Gothic", Meiryo, sans-serif; }
.lg-page { width: 100%; max-width: 440px; display: flex; flex-direction: column; position: relative; min-height: 100vh; margin: 0 auto; /* 背景画像は幅100%で表示。ハイタッチの手の先（画像の高さ方向 785/894）を標語の下端（約183px）にそろえ、画像が足りない下側は芝の緑 */ background: linear-gradient(180deg, rgba(115,140,19,0) 0%, #738c13 100%) center calc(106px + min(100vw, 440px) * 974 / 894) / 100% 90px no-repeat, url("images/auth-login/bg.webp?v=4") center calc(183px - min(100vw, 440px) * 785 / 894) / 100% auto no-repeat, linear-gradient(180deg, #738c13 0, #738c13 calc(183px + min(100vw, 440px) * 974 / 894), #2f5a1c calc(183px + min(100vw, 440px) * 974 / 894 + 90px), #0b3320 100%) #0b3320; }
/* 上部は一般向けトップ（home.html）のヒーローと同じ画像・重ね・文字（2026-10-15 社長指示） */
.lg-hero { position: relative; height: 266px; margin: 0;  }
/* 紹介HP（PF-20261003-002 index-C_夕景プレミアム）のロゴ：マーク画像＋Cormorant Garamond 斜体の金文字 */
.lg-brand { position: absolute; left: 0; right: 0; top: 12px; margin: 0; display: flex; align-items: center; justify-content: center; gap: 14px; line-height: 1; filter: drop-shadow(0 1px 0 rgba(60,38,6,.9)) drop-shadow(0 1px 2px rgba(0,0,0,.55)); }
.lg-brand img { display: block; width: auto; height: 50px; }
.lg-brand span { font-family: "Cormorant Garamond", Georgia, "Times New Roman", serif; font-style: italic; font-weight: 700; font-size: 46px; letter-spacing: .01em; white-space: nowrap; padding: .08em .12em .12em 0; background: linear-gradient(180deg, #fff6d8 0%, #f1d589 45%, #c9a04d 100%); -webkit-background-clip: text; background-clip: text; color: transparent; }
.lg-card { position: relative; margin: calc(183px + min(100vw, 440px) * 738 / 894 + 4px - 266px) 16px 0; flex: 1 0 auto; display: flex; flex-direction: column; justify-content: center; padding: 16px 20px 14px; border: 2px solid #d1a957; border-radius: 18px; background: rgba(248,243,234,.62); box-shadow: 0 10px 30px rgba(0, 0, 0, .45); -webkit-backdrop-filter: blur(2px); backdrop-filter: blur(2px); }
.lg-title { display: flex; align-items: center; justify-content: center; gap: 8px; margin: 0 0 10px; font-size: 22px; font-weight: 800; color: var(--lg-green); }
.lg-title img { width: 24px; height: 24px; }
.lg-lead { margin: 2px 0 10px; text-align: center; font-size: 13px; color: var(--lg-muted); }
.lg-field { display: block; margin-bottom: 8px; }
.lg-field > span.lg-label { display: block; margin: 0 0 3px 2px; font-size: 13px; font-weight: 700; color: var(--lg-text); }
.lg-input { display: flex; align-items: center; gap: 10px; height: 42px; padding: 0 10px 0 14px; border: 1.5px solid var(--lg-line); border-radius: 12px; background: #fbfdfc; transition: border-color .15s, box-shadow .15s; }
.lg-input:focus-within { border-color: var(--lg-green-2); box-shadow: 0 0 0 3px rgba(19, 96, 63, .15); background: #fff; }
.lg-input > svg, .lg-title svg, .lg-secondary svg, .lg-eye svg { flex: none; width: 20px; height: 20px; fill: none; stroke: var(--lg-green); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.lg-title svg { width: 26px; height: 26px; fill: var(--lg-green); stroke: none; }
html, body.auth-login { overflow-x: hidden; }
.lg-input input { flex: 1; min-width: 0; height: 100%; border: 0; outline: 0; background: transparent; font-size: 16px; color: var(--lg-text); }
.lg-input input::placeholder { color: #9aa9a1; }
.lg-eye { display: grid; place-items: center; width: 36px; height: 36px; padding: 0; border: 0; border-radius: 8px; background: transparent; cursor: pointer; }
.lg-eye:hover { background: #eef4f1; }
.lg-eye img { width: 22px; height: 22px; }
.lg-eye[aria-pressed="true"] svg { opacity: .45; }
.lg-primary { display: flex; align-items: center; justify-content: center; gap: 10px; width: 100%; height: 46px; margin-top: 4px; border: 0; border-radius: 999px; background: linear-gradient(180deg, var(--lg-green-2), var(--lg-green)); color: #fff; font-size: 17px; font-weight: 800; letter-spacing: .08em; cursor: pointer; box-shadow: 0 6px 14px rgba(11, 74, 51, .25); }
.lg-primary:hover { filter: brightness(1.08); }
.lg-primary:disabled { opacity: .6; cursor: wait; }
.lg-primary span { font-size: 18px; }
.lg-message { min-height: 1em; margin: 10px 0 0; text-align: center; font-size: 13px; color: #c0392b; }
.lg-message:empty { display: none; }
.lg-or { display: flex; align-items: center; gap: 12px; margin: 10px 0 8px; font-size: 12px; color: var(--lg-muted); }
.lg-or::before, .lg-or::after { content: ""; flex: 1; height: 1px; background: var(--lg-line); }
.lg-secondary { margin-top: 10px; display: flex; align-items: center; justify-content: center; gap: 8px; height: 42px; border: 1.5px solid var(--lg-green); border-radius: 999px; background: #fffdf8; color: var(--lg-green); font-size: 15px; font-weight: 800; text-decoration: none; }
.lg-secondary:hover { background: #f1f7f4; }
.lg-secondary img { width: 20px; height: 20px; }
.lg-primary:focus-visible, .lg-secondary:focus-visible, .lg-eye:focus-visible { outline: 3px solid var(--lg-gold); outline-offset: 2px; }
.lg-foot { margin: 0; padding: 12px 0 14px; text-align: center; font-size: 11px; color: #f1cf73; text-shadow: 0 1px 3px rgba(0,0,0,.9); }
@media (min-width: 600px) { body.auth-login { padding: 24px 0; } .lg-page { min-height: 0; border: 1px solid rgba(215, 184, 114, .75); border-radius: 16px; overflow: hidden; box-shadow: 0 0 6px rgba(215, 184, 114, .35); } }
.lg-tagline { position: absolute; left: 0; right: 0; top: 68px; margin: 0; text-align: center; font-family: "Noto Serif JP", "Hiragino Mincho ProN", "Yu Mincho", serif; font-size: 20px; line-height: 1.5; font-weight: 700; letter-spacing: .08em; color: #ffffff; text-shadow: 0 1px 2px rgba(0,0,0,.9), 0 0 6px rgba(0,0,0,.7), 0 0 18px rgba(0,30,20,.8); padding: 2px 0 10px; background: radial-gradient(closest-side, rgba(0,32,22,.62), rgba(0,32,22,.38) 60%, rgba(0,32,22,0)); }
.lg-tagline::before { content: ""; display: block; width: 56px; height: 1px; margin: 0 auto 10px; background: linear-gradient(90deg, rgba(241,207,115,0), #f1cf73, rgba(241,207,115,0)); }
.lg-tagline em { font-style: normal; font-size: 24px; color: #ffe08a; }
.lg-page > * { position: relative; z-index: 1; }
/* ラベルは画面に出さず読み上げ用に残す（2026-10-15 写真の足元まで見せるため枠を詰めた） */
.lg-sr { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
/* ログイン枠の上端は中央の男性の足元（画像の y=1523）の4px下にそろえ、下は画面下まで広げる（2026-10-15） */
/* ブラウザの自動入力で入力欄が水色になるのを白に戻す（2026-10-15） */
.lg-input input:-webkit-autofill, .lg-input input:-webkit-autofill:hover, .lg-input input:-webkit-autofill:focus { -webkit-box-shadow: 0 0 0 1000px #fbfdfc inset; box-shadow: 0 0 0 1000px #fbfdfc inset; -webkit-text-fill-color: var(--lg-text); caret-color: var(--lg-text); transition: background-color 9999s; }
.lg-input input:autofill { box-shadow: 0 0 0 1000px #fbfdfc inset; }
