@import url('https://fonts.googleapis.com/css2?family=Noto+Sans+JP:wght@400;500;700&family=Roboto:wght@400;500;700&display=swap');

:root {
    --bg: #ffffff;
    --text: #0f172a;
    --muted: #64748b;
    --accent: #2563eb;
    --ring: rgba(37, 99, 235, 0.35);
    --border: rgba(15, 23, 42, 0.08);
    --primary: #0099EB;
    --main-color: #2B2B2B;
    --text-sub-color-2: #888888;
}

html,
body {
    height: 100dvh;
    overflow: hidden;
    margin: 0;
    padding: 0;
    font-family: 'Noto Sans JP', sans-serif;
    color: var(--main-color);
    background: #f8fafc;
}

.login-hero {
    height: 100dvh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.login-card {
    background: #fff;
    padding: 40px 30px;
    border-radius: 24px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.05);
    width: 100%;
    max-width: 400px;
    text-align: center;
    border: 1px solid var(--border);
}

.service-logo {
    height: 48px;
    margin-bottom: 24px;
    object-fit: contain;
}

.login-subtitle {
    color: var(--muted);
    font-size: 14px;
    margin-bottom: 32px;
}

.btn-google {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    width: 100%;
    height: 54px;
    border: 1px solid #ddd;
    border-radius: 12px;
    background: #fff;
    color: var(--text);
    font-weight: 700;
    font-size: 16px;
    cursor: pointer;
    transition: transform .08s ease, box-shadow .18s ease;
    text-decoration: none;
}

.btn-google:hover {
    background: #fcfcfc;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

.btn-google:active {
    transform: translateY(1px);
}

.google-icon {
    width: 20px;
    height: 20px;
}

.login-error {
    margin-top: 16px;
    padding: 10px 12px;
    border-radius: 12px;
    font-size: 13px;
    color: #b42318;
    background: #fef3f2;
    border: 1px solid #fecdca;
    line-height: 1.4;
    white-space: pre-line;
}

.login-footer {
    margin-top: 32px;
    padding-top: 20px;
    border-top: 1px solid var(--border);
    display: flex;
    justify-content: center;
    gap: 16px;
    font-size: 12px;
}

.login-footer a {
    color: var(--primary);
    text-decoration: none;
    font-weight: 500;
}

.login-footer a:hover {
    text-decoration: underline;
}
