/* ログイン専用の企業LP。業務画面と個人スキンには影響しない。 */
:root { color-scheme: light; font-family: "Yu Gothic", "Meiryo", sans-serif; background: #071522; color: #fff; }
* { box-sizing: border-box; }
body { margin: 0; min-width: 320px; min-height: 100svh; position: relative; isolation: isolate; }
a { color: inherit; }
button, input { font: inherit; }
button { cursor: pointer; }
:focus-visible { outline: 3px solid #ed770b; outline-offset: 4px; }
.landscape { position: absolute; inset: 0; z-index: -3; background: #071522 url('../images/login-energy.webp') center 58% / cover no-repeat; animation: landscape-arrive 4.5s ease-out both; }
.landscape::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, #04111ec2, #04111e24 65%, #04111e5c), linear-gradient(0deg, #071522 0%, transparent 40%, #07152248); }
.energy-line { position: absolute; top: 51%; left: 0; width: 65%; height: 1px; background: linear-gradient(90deg, transparent, #ffa33e, transparent); transform: rotate(-18deg); transform-origin: left; z-index: -1; opacity: 0; animation: energy-arrive 4s ease-out .2s; }
.login-page { max-width: 1600px; margin: auto; padding: 38px 5.5vw 28px; min-height: 100svh; display: flex; flex-direction: column; }
.brand-header { display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.company-brand { display: flex; align-items: center; gap: 13px; text-decoration: none; max-width: 100%; }
.brand-logo { width: 300px; max-width: 100%; height: auto; display: block; padding: 8px; background: #fff; }
.header-label { font-size: 12px; letter-spacing: .2em; color: #dde3e9; }
.hero { display: grid; grid-template-columns: minmax(0,1fr) 410px; gap: 6vw; align-items: center; flex: 1; padding: 62px 0 70px; }
.hero-message { padding-bottom: 12px; animation: message-arrive .8s ease-out both; }
.eyebrow { display: flex; align-items: center; gap: 12px; font: 11px/1.5 Arial, sans-serif; letter-spacing: .22em; color: #ffc084; margin: 0 0 28px; }
.eyebrow > span { width: 26px; height: 2px; background: #ff8e2b; }
h1 { font-size: clamp(32px,3.85vw,60px); line-height: 1.55; font-weight: 900; letter-spacing: -.045em; margin: 0; text-shadow: 0 3px 28px #0005; }
.accent { color: #ffe100; }
.hero-description { font-size: 14px; line-height: 2.2; letter-spacing: .05em; color: #e5eaf0; margin: 26px 0 42px; }
.product-signature { display: flex; align-items: center; gap: 23px; }
.product-name { font: 700 clamp(50px,5.4vw,78px)/1 Arial, sans-serif; letter-spacing: -.065em; }
.product-name > span { font-weight: 400; color: #ffad56; }
.product-tag { border-left: 1px solid #ffffff45; padding-left: 23px; font-size: 11px; letter-spacing: .09em; line-height: 1.9; }
.hero-caption { display: flex; align-items: center; gap: 13px; margin-top: 48px; font: 9px/1.5 Arial, sans-serif; letter-spacing: .22em; color: #c1cbd5; }
.hero-caption > span { width: 46px; height: 1px; background: #ffffff60; }
.login-card { background: #fff; color: #142536; padding: 31px 34px 23px; border-radius: 4px; box-shadow: 0 26px 80px #0006; border-top: 4px solid #ffe100; animation: message-arrive .9s ease-out .12s both; }
.card-topline { display: flex; justify-content: space-between; gap: 10px; font: 8px/1.5 Arial, sans-serif; letter-spacing: .1em; color: #617183; }
.card-topline > span:last-child { color: #ad5b14; }
.welcome { margin: 30px 0 6px; font-size: 12px; font-weight: 700; color: #9b4c0b; letter-spacing: .14em; }
h2 { font-size: 29px; margin: 0; letter-spacing: .03em; }
.card-description { font-size: 12px; color: #617183; margin: 10px 0 27px; }
form label { display: block; font-size: 12px; font-weight: 700; margin: 19px 0 8px; }
form input { width: 100%; height: 49px; border: 1px solid #c7d1db; border-radius: 3px; background: #f6f8fa; padding: 0 13px; font-size: 16px; color: #142536; }
form input:focus { background: #fff; border-color: #c45c00; }
.password-field { position: relative; }
.password-field input { padding-right: 65px; }
.password-toggle { position: absolute; right: 5px; top: 5px; height: 39px; padding: 0 10px; background: transparent; border: 0; color: #586a7b; font-size: 12px; }
.signin-button { margin-top: 25px; width: 100%; min-height: 53px; border: 0; border-radius: 3px; padding: 0 19px; display: flex; justify-content: space-between; align-items: center; color: #fff; background: #034694; font-size: 14px; font-weight: 700; transition: background .2s, transform .2s; }
.signin-button > span:last-child { font-size: 23px; font-weight: 400; color: #ffb260; }
.signin-button:hover { background: #254861; transform: translateY(-2px); }
.signin-button:active { transform: translateY(0); }
.login-help { margin: 23px 0; }
.login-help a { font-size: 12px; font-weight: 700; text-decoration-color: #aab8c5; text-underline-offset: 4px; }
.login-help a > span { color: #a65310; margin-left: 9px; }
.login-help p { font-size: 10px; line-height: 1.9; color: #647487; margin: 11px 0 0; }
.card-footer { border-top: 1px solid #e6ebef; padding-top: 17px; font-size: 9px; color: #6a7886; display: flex; align-items: center; gap: 9px; }
.lock-icon { width: 9px; height: 8px; border: 1px solid #7f8c98; border-radius: 1px; position: relative; }
.lock-icon::before { content: ""; position: absolute; border: 1px solid #7f8c98; border-bottom: 0; border-radius: 5px 5px 0 0; width: 5px; height: 5px; left: 1px; top: -6px; }
.login-error, .login-notice { padding: 12px; font-size: 12px; line-height: 1.8; border-radius: 3px; overflow-wrap: anywhere; }
.login-error { background: #fff0ef; color: #a52825; border-left: 3px solid #c63d34; }
.login-notice { background: #eff5fa; color: #2d536e; border-left: 3px solid #447a9b; }
.brand-footer { border-top: 1px solid #ffffff30; padding-top: 25px; display: flex; justify-content: space-between; align-items: center; gap: 24px; }
.work-values { display: flex; gap: 48px; }
.work-values > div { display: flex; align-items: baseline; gap: 12px; }
.value-number { font: 11px Arial, sans-serif; color: #ffb15d; }
.work-values > div > span:last-child { font-size: 12px; font-weight: 700; letter-spacing: .06em; }
.work-values small { display: block; font: 8px/2.5 Arial, sans-serif; letter-spacing: .2em; color: #a0b0bf; }
.footer-brand { font: 9px Arial, sans-serif; letter-spacing: .13em; color: #a0b0bf; white-space: nowrap; }
.footer-brand > span { margin: 0 13px; color: #ff9f43; }
@keyframes landscape-arrive { from { opacity: .35; } to { opacity: 1; } }
@keyframes message-arrive { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: translateY(0); } }
@keyframes energy-arrive { 0% { opacity: 0; width: 0; } 30% { opacity: .8; } 100% { opacity: 0; width: 85%; } }
@media (min-width: 1500px) { .hero { gap: 110px; grid-template-columns: minmax(0,1fr) 440px; } .login-card { padding: 36px 39px 28px; } }
@media (max-width: 1050px) { .hero { gap: 35px; grid-template-columns: minmax(0,1fr) 365px; } h1 { font-size: clamp(29px,3.7vw,40px); } .login-card { padding: 27px; } .work-values { gap: 28px; } .hero-description { font-size: 12px; } }
@media (max-width: 780px) { .login-page { padding: 24px 24px 22px; } .header-label { display: none; } .hero { grid-template-columns: 1fr; gap: 35px; padding: 45px 0 38px; } .hero-message { padding: 0; } h1 { font-size: clamp(29px,5.6vw,44px); } .eyebrow { margin-bottom: 18px; font-size: 9px; } .hero-description { margin: 17px 0 24px; } .product-name { font-size: 48px; } .product-tag { font-size: 10px; } .hero-caption { display: none; } .login-card { width: 100%; max-width: 480px; justify-self: center; padding: 28px; } .landscape { background-position: 38% top; background-size: auto 780px; } .landscape::after { background: linear-gradient(0deg, #071522 28%, #07152266 72%, #071522a6); } .brand-footer { flex-direction: column; align-items: flex-start; gap: 22px; } .work-values { width: 100%; justify-content: space-between; gap: 10px; } .work-values > div { gap: 7px; } .work-values > div > span:last-child { font-size: 10px; } .work-values small { font-size: 7px; } }
/* ブラウザのツールバーを差し引いた高さで収める。内容は隠さず、さらに低い画面はスクロール可能。 */
@media (min-width: 781px) and (max-height: 1000px) {
    .login-page { padding-top: 22px; padding-bottom: 18px; }
    .brand-logo { width: 260px; }
    .hero { padding: 22px 0; }
    .hero-caption { margin-top: 28px; }
    .brand-footer { padding-top: 15px; }
}
@media (min-width: 781px) and (max-height: 800px) {
    .login-page { padding-top: 18px; padding-bottom: 16px; }
    .brand-logo { width: 240px; }
    .hero { padding: 18px 0; }
    .hero-message { padding-bottom: 0; }
    h1 { font-size: clamp(29px,3.4vw,49px); line-height: 1.4; }
    .eyebrow { margin-bottom: 20px; }
    .hero-description { margin: 20px 0 26px; }
    .product-name { font-size: clamp(48px,4.5vw,66px); }
    .hero-caption { margin-top: 24px; }
    .login-card { padding: 22px 30px 18px; }
    .welcome { margin-top: 16px; }
    h2 { font-size: 26px; }
    .card-description { margin: 6px 0 16px; }
    form label { margin: 12px 0 6px; }
    form input { height: 44px; }
    .password-toggle { height: 34px; }
    .signin-button { margin-top: 18px; min-height: 46px; }
    .login-help { margin: 14px 0; }
    .login-help p { margin-top: 6px; }
    .card-footer { padding-top: 12px; }
}
@media (min-width: 781px) and (max-height: 650px) {
    .login-page { padding-top: 12px; padding-bottom: 12px; }
    .brand-logo { width: 220px; }
    .hero { padding: 12px 0; }
    .hero-caption { display: none; }
    .login-card { padding: 18px 26px 16px; }
    .welcome { margin-top: 10px; }
    .card-description { display: none; }
    .brand-footer { padding-top: 10px; }
    .work-values small { display: none; }
}
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { animation: none !important; transition: none !important; } }
