/* 既存 Site01 + LOGIN.aspx に近い見た目（Bootstrap の後に読み込む） */

.lp-shell {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    margin: 0;
    font-family: "Meiryo UI", Meiryo, "Yu Gothic UI", "Hiragino Sans", sans-serif;
}

.lp-header {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
    column-gap: 12px;
    min-height: 48px;
    padding: 0 20px;
    background-color: #3b4a7a;
    color: #fff;
    font-size: 14px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.12);
}

.lp-header-left {
    grid-column: 1;
    justify-self: start;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.lp-header-center {
    grid-column: 2;
    font-weight: 600;
    letter-spacing: 0.02em;
}

.lp-header-right {
    grid-column: 3;
}

.lp-main {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 40px 20px 48px;
    background: #fff;
}

.lp-panel {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 48px clamp(32px, 8vw, 96px);
    max-width: 1000px;
    width: 100%;
}

.lp-brand {
    flex: 0 1 auto;
    text-align: center;
}

.lp-brand img {
    display: block;
    width: min(423px, 90vw);
    height: auto;
}

.lp-form {
    flex: 0 0 248px;
    width: 248px;
    max-width: 100%;
    min-width: 0;
    overflow-x: visible;
}

.lp-field {
    margin-bottom: 10px;
}

.lp-input {
    box-sizing: border-box;
    display: block;
    width: 100%;
    height: 34px;
    padding: 4px 10px;
    border: 1px solid #c8c8c8;
    border-radius: 2px;
    font-size: 14px;
    font-family: inherit;
    background: #fff;
}

.lp-input:focus {
    outline: none;
    border-color: #3189e0;
    box-shadow: 0 0 0 1px rgba(49, 137, 224, 0.25);
}

.lp-error {
    min-height: 26px;
    margin: 2px 0 10px;
    font-size: 15px;
    line-height: 1.35;
    color: #c00;
    white-space: nowrap;
    overflow: visible;
    word-break: normal;
}

.lp-submit {
    box-sizing: border-box;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 40px;
    margin: 0;
    padding: 0;
    border: solid 2px #3189e0;
    border-radius: 6px;
    background: #fff;
    color: #3189e0;
    font-family: inherit;
    font-size: 14px;
    font-weight: bold;
    cursor: pointer;
    transition: background-color 0.2s, color 0.2s;
}

.lp-submit:hover:not(:disabled) {
    background: #3189e0;
    color: #fff;
}

.lp-submit:active:not(:disabled) {
    transform: translateY(1px);
}

.lp-submit:disabled {
    opacity: 0.55;
    cursor: not-allowed;
}

.lp-version {
    margin-top: 14px;
    text-align: right;
    font-size: 12px;
    color: #6e6e6e;
}

@media (max-width: 720px) {
    .lp-header {
        grid-template-columns: 1fr;
        grid-auto-rows: auto;
        row-gap: 6px;
        padding: 10px 14px;
    }

    .lp-header-left,
    .lp-header-center,
    .lp-header-right {
        grid-column: 1;
        justify-self: center;
        text-align: center;
    }

    .lp-form {
        flex: 1 1 100%;
    }
}
