/*
====================================================
ファイル	login.css	【WEBアプリログイン】
作成者		chikara
作成日		2026/08/07
====================================================
*/

.login-page { min-height: 100dvh; padding: max(24px, env(safe-area-inset-top)) 18px 190px; background: radial-gradient(circle at 50% 0%, #dceeff 0, #f5f9fd 42%, #edf3f9 100%); }
.login-shell { width: min(100%, 440px); margin: clamp(12px, 5vh, 50px) auto 0; }
.login-card { position: relative; overflow: hidden; padding: 32px 30px 27px; border: 1px solid rgba(198, 215, 233, 0.92); border-radius: 26px; background: rgba(255, 255, 255, 0.97); box-shadow: 0 22px 65px rgba(43, 75, 117, 0.15); }
.login-card::before { display: block; width: 52px; height: 4px; margin: -32px auto 25px; border-radius: 0 0 5px 5px; background: var(--app-blue); content: ""; }
.login-language { display: flex; align-items: center; justify-content: flex-end; margin: -11px -8px 12px; gap: 7px; }
.login-language::before { width: 15px; height: 15px; border: 1.6px solid #6f839b; border-radius: 50%; content: ""; }
.login-language label { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.login-language select { height: 34px; padding: 0 29px 0 10px; border: 1px solid #d2dfed; border-radius: 9px; color: #40516a; background: #f7faff; font-size: 12px; font-weight: 800; cursor: pointer; }
.login-brand { display: grid; justify-items: center; margin-bottom: 24px; }
.login-brand-logo { display: block; width: 190px; height: 68px; overflow: hidden; }
.login-brand-logo img { width: 100%; height: 100%; transform: scale(1.3); object-fit: cover; object-position: center 50%; }
.login-brand span { margin-top: 7px; color: var(--app-blue); font-size: 10px; font-weight: 850; letter-spacing: 0.16em; }
.login-brand .login-brand-logo { margin-top: 0; }
.login-heading { margin-bottom: 24px; text-align: center; }
.login-heading p { margin: 0 0 5px; color: #91a0b4; font-size: 10px; font-weight: 850; letter-spacing: 0.14em; }
.login-heading h1 { margin: 0; color: var(--app-text); font-size: 25px; line-height: 1.4; letter-spacing: -0.035em; }
.login-heading span { display: block; margin-top: 7px; color: var(--app-muted); font-size: 13px; }
.login-alert { padding: 11px 13px; margin-bottom: 17px; border: 1px solid transparent; border-radius: 10px; font-size: 12px; font-weight: 700; line-height: 1.6; }
.login-alert.is-success { border-color: #b9e0cd; color: #24724e; background: #edf9f3; }
.login-alert.is-error { border-color: #efc5cb; color: #af3845; background: #fff3f4; }
.login-form { display: grid; gap: 17px; }
.login-field label { display: block; margin-bottom: 7px; color: #35435a; font-size: 13px; font-weight: 800; }
.login-field input { width: 100%; height: 50px; padding: 0 14px; border: 1px solid var(--app-line); border-radius: 12px; color: #26344b; background: #ffffff; font-size: 16px; outline: none; transition: border-color 150ms ease, box-shadow 150ms ease; }
.login-field input:focus { border-color: #62a4ed; box-shadow: 0 0 0 4px rgba(11, 114, 231, 0.11); }
.login-password { position: relative; }
.login-password input { padding-right: 64px; }
.login-password button { position: absolute; top: 50%; right: 8px; min-width: 46px; height: 34px; transform: translateY(-50%); border: 0; border-radius: 8px; color: #0a67c8; background: #eaf3ff; font-size: 11px; font-weight: 850; cursor: pointer; }
.login-save-credentials { display: flex; align-items: center; width: fit-content; margin-top: -3px; gap: 9px; color: #526178; font-size: 12px; font-weight: 750; cursor: pointer; }
.login-save-credentials[hidden] { display: none; }
.login-save-credentials input { width: 18px; height: 18px; margin: 0; border: 1px solid #aebdd0; border-radius: 5px; accent-color: var(--app-blue); cursor: pointer; }
.login-submit { display: flex; align-items: center; justify-content: center; width: 100%; height: 52px; margin-top: 2px; gap: 10px; border: 0; border-radius: 12px; color: #ffffff; background: var(--app-blue); box-shadow: 0 12px 26px rgba(11, 114, 231, 0.23); font-size: 14px; font-weight: 850; cursor: pointer; }
.login-submit i { font-size: 18px; font-style: normal; font-weight: 500; }
.login-submit:hover, .login-submit:focus-visible { background: var(--app-blue-dark); outline: none; }
.login-submit:disabled { opacity: 0.6; cursor: wait; }
.login-bottom { position: fixed; z-index: 10; right: 0; bottom: 0; left: 0; display: grid; justify-items: center; padding: 20px 18px max(12px, env(safe-area-inset-bottom)); background: linear-gradient(180deg, rgba(237, 243, 249, 0) 0, rgba(237, 243, 249, 0.96) 18%, #edf3f9 42%); }
.login-install { display: flex; align-items: center; justify-content: center; width: min(100%, 380px); height: 48px; gap: 9px; border: 1px solid rgba(11, 114, 231, 0.22); border-radius: 14px; color: #0967c9; background: rgba(255, 255, 255, 0.96); box-shadow: 0 9px 24px rgba(31, 82, 137, 0.11); font-size: 13px; font-weight: 850; cursor: pointer; }
.login-install:hover, .login-install:focus-visible { border-color: var(--app-blue); color: #ffffff; background: var(--app-blue); outline: none; }
.login-install:disabled { border-color: rgba(11, 114, 231, 0.22); color: #0967c9; background: rgba(255, 255, 255, 0.96); box-shadow: 0 9px 24px rgba(31, 82, 137, 0.11); cursor: default; }
.login-install[hidden] { display: none; }
.login-install-icon { font-size: 18px; line-height: 1; }
.login-security { display: flex; align-items: center; justify-content: center; margin: 12px 0 0; gap: 7px; color: #7f8da0; font-size: 10px; }
.login-security span { width: 7px; height: 7px; border-radius: 50%; background: #24a36a; box-shadow: 0 0 0 3px #e5f6ee; }
.login-footer { margin-top: 9px; color: #8c99aa; font-size: 9px; line-height: 1.7; text-align: center; }
.login-footer a { color: #65758b; font-weight: 700; }
.install-guide { color: #405068; font-size: 14px; line-height: 1.7; text-align: left; }
.install-guide ol { padding: 0; margin: 18px 0 0; list-style: none; counter-reset: install-step; }
.install-guide li { position: relative; min-height: 34px; padding: 5px 0 12px 42px; counter-increment: install-step; }
.install-guide li::before { position: absolute; top: 2px; left: 0; display: grid; width: 30px; height: 30px; place-items: center; border-radius: 9px; color: #ffffff; background: var(--app-blue); font-size: 12px; font-weight: 850; content: counter(install-step); }
.install-guide strong { color: #26364d; }
.install-share { display: inline-flex; align-items: center; height: 24px; margin: 0 4px; gap: 4px; line-height: 24px; vertical-align: middle; white-space: nowrap; }
.install-share img { display: block; width: 24px; height: 24px; object-fit: contain; }
@media (max-width: 480px) { .login-page { padding: max(16px, env(safe-area-inset-top)) 12px 188px; } .login-shell { margin-top: clamp(6px, 2.5vh, 24px); } .login-card { padding: 28px 20px 24px; border-radius: 22px; } .login-card::before { margin-top: -28px; } .login-brand { margin-bottom: 20px; } .login-brand-logo { width: 176px; height: 62px; } .login-heading { margin-bottom: 21px; } .login-heading h1 { font-size: 23px; } .login-bottom { padding-right: 13px; padding-left: 13px; } }
@media (max-height: 720px) { .login-shell { margin-top: 0; } .login-card { padding-top: 25px; padding-bottom: 21px; } .login-card::before { margin-top: -25px; margin-bottom: 18px; } .login-brand { margin-bottom: 16px; } .login-brand-logo { height: 52px; } .login-heading { margin-bottom: 17px; } .login-heading span { margin-top: 4px; } .login-form { gap: 13px; } .login-field input { height: 46px; } .login-submit { height: 48px; } }
