:root { color-scheme: light; font-family: -apple-system, BlinkMacSystemFont, "Hiragino Sans", "Yu Gothic", sans-serif; color: #122e59; background: #f6f9fc; --font-family-display: Georgia, "Yu Mincho", "Hiragino Mincho ProN", serif; --font-family-body: -apple-system, BlinkMacSystemFont, "Hiragino Sans", "Yu Gothic", sans-serif; --font-size-page-title: clamp(31px, 3.2vw, 35px); --font-size-body: 15px; --font-size-caption: 13px; --font-size-button: 15px; --line-height-body: 1.75; }
* { box-sizing: border-box; }
body { min-height: 100vh; display: grid; place-items: center; margin: 0; padding: 40px 24px; background: linear-gradient(180deg, #f9fbfd 0%, #f3f7fb 100%); }
.login-shell { width: min(100%, 540px); }
.login-brand { display: grid; justify-items: center; gap: 3px; margin-bottom: 34px; color: #122e59; text-align: center; }
.login-brand strong { font-family: Georgia, "Times New Roman", serif; font-size: clamp(31px, 5vw, 43px); font-weight: 500; letter-spacing: .09em; line-height: 1.15; }
.login-brand small { font-size: 9px; font-weight: 750; letter-spacing: .2em; }
main { position: relative; overflow: hidden; padding: 44px 42px 40px; border: 1px solid #cfdae3; border-radius: 10px; background: #fff; box-shadow: 0 14px 40px rgb(18 46 89 / .055); }
main::before { position: absolute; top: 0; right: 0; left: 0; height: 3px; background: linear-gradient(90deg, #173b70 0%, #168fc4 76%, #3ac2e5 100%); content: ""; }
h1 { margin: 0; font-family: var(--font-family-display); font-size: var(--font-size-page-title); font-weight: 500; line-height: 1.35; text-align: center; text-wrap: balance; }
.login-description { margin: 11px 0 31px; color: #66768a; font-size: 14px; line-height: var(--line-height-body); text-align: center; }
label { display: grid; gap: 9px; font-size: 14px; font-weight: 700; }
input { width: 100%; min-height: 50px; padding: 0 14px; border: 1px solid #b9c7d3; border-radius: 6px; background: #fff; color: #122e59; font: inherit; font-size: 16px; outline: none; }
input:focus-visible { border-color: #168fc4; box-shadow: 0 0 0 3px rgb(22 143 196 / .16); }
button { width: 100%; min-height: 50px; margin-top: 18px; border: 1px solid #173b70; border-radius: 6px; background: #173b70; color: #fff; font: inherit; font-size: var(--font-size-button); font-weight: 750; cursor: pointer; transition: background-color 160ms ease, border-color 160ms ease, transform 100ms ease; }
button:hover, button:focus-visible { border-color: #20508d; background: #20508d; }
button:focus-visible { outline: 3px solid rgb(22 143 196 / .24); outline-offset: 3px; }
button:active { transform: translateY(1px); }
button:disabled { border-color: #ccd5dd; background: #e8edf1; color: #7b8998; cursor: not-allowed; transform: none; }
button:disabled:hover { border-color: #ccd5dd; background: #e8edf1; }
.error { margin: -12px 0 22px; padding: 12px 14px; border-left: 3px solid #b53a4d; background: #fff4f5; color: #842c3b; font-size: 13px; line-height: 1.6; }
.membership-notice { margin-top: 24px; padding: 18px; border: 1px solid #d6e0e8; border-radius: 8px; background: #f7f9fb; }
.membership-notice h2 { margin: 0 0 9px; font-size: 16px; line-height: 1.5; }
.membership-notice p { margin: 0; color: #52647a; font-size: var(--font-size-caption); line-height: var(--line-height-body); }
.membership-notice .membership-warning { margin-top: 9px; color: #122e59; font-weight: 750; }
.membership-confirm { display: grid; grid-template-columns: 20px 1fr; gap: 10px; align-items: start; margin-top: 15px; color: #263f60; font-size: 12px; font-weight: 700; line-height: 1.65; cursor: pointer; }
.membership-confirm input { width: 20px; min-height: 20px; margin: 1px 0 0; padding: 0; accent-color: #173b70; cursor: pointer; }
.membership-confirm input:focus-visible { outline: 3px solid rgb(22 143 196 / .24); outline-offset: 2px; box-shadow: none; }
.trial-link { display: block; width: fit-content; min-height: 44px; margin: 26px auto 0; padding: 11px 2px 7px; color: #173b70; font-size: 13px; font-weight: 700; text-underline-offset: 5px; }
.trial-link:hover, .trial-link:focus-visible { color: #168fc4; }
.trial-link:focus-visible { outline: 3px solid rgb(22 143 196 / .22); outline-offset: 3px; }
@media (max-width: 520px) { :root { --font-size-page-title: clamp(27px, 7.3vw, 30px); } body { padding: 28px 16px; } .login-brand { margin-bottom: 26px; } main { padding: 34px 22px 29px; } .membership-notice { padding: 16px; } }
@media (max-width: 360px) { body { padding-inline: 11px; } main { padding-inline: 19px; } .login-brand strong { font-size: 29px; } }
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { scroll-behavior: auto !important; transition: none !important; animation: none !important; } }
