:root {
    color-scheme: light;
    --auth-paper: #f4f1ea;
    --auth-ink: #1c1e1b;
    --auth-muted: #62655c;
    --auth-line: #d6d5ca;
    --auth-pink: #e84fb7;
    font-family: "Inter", -apple-system, BlinkMacSystemFont, "Hiragino Kaku Gothic ProN", "Yu Gothic", Meiryo, sans-serif;
    font-synthesis: none;
    color: var(--auth-ink);
    background: var(--auth-paper);
}
* { box-sizing: border-box; }
[hidden] { display: none !important; }
body { margin: 0; min-width: 280px; }
button, input { font: inherit; }
button, a, input { -webkit-tap-highlight-color: transparent; }
button { cursor: pointer; }
a { color: inherit; }
button:focus-visible, a:focus-visible { outline: 2px solid var(--auth-ink); outline-offset: 5px; }
.auth-international { padding: 0 24px 24px; padding-bottom: max(24px, env(safe-area-inset-bottom)); }
.auth-header { display: flex; align-items: center; justify-content: space-between; gap: 16px; height: 94px; padding: 0 12px; max-width: 1800px; margin: auto; }
.auth-brand { display: inline-flex; align-items: center; gap: 9px; flex-shrink: 0; text-decoration: none; }
.auth-brand img { display: block; max-width: 100%; height: auto; }
.auth-languages { display: flex; align-items: center; gap: 2px; }
.auth-languages a { min-height: 44px; min-width: 44px; display: inline-flex; align-items: center; justify-content: center; padding: 8px 11px; font-size: 12px; font-weight: 500; text-decoration: none; color: var(--auth-muted); border-radius: 100px; transition: background .18s, color .18s; }
.auth-languages a:hover, .auth-languages a[aria-current="page"] { color: var(--auth-ink); background: #e8e5dd; }
.auth-intl-main { display: grid; grid-template-columns: minmax(0, 1.04fr) minmax(0, 1fr); max-width: 1800px; min-height: calc(100svh - 118px); margin: auto; }
.auth-film { position: relative; isolation: isolate; min-height: 630px; border-radius: 8px; overflow: hidden; color: #fffaf1; background: #363d31; }
.auth-film::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgb(13 21 16 / 18%), rgb(15 22 18 / 4%) 28%, rgb(13 21 16 / 75%) 100%); }
.auth-film-image { position: absolute; z-index: -2; inset: 0; display: block; width: 100%; height: 100%; object-fit: cover; object-position: center; }
.auth-film-copy { position: absolute; left: 8%; right: 7%; bottom: 17%; }
.auth-film-eyebrow { font-size: 10px; font-weight: 500; letter-spacing: .17em; margin: 0 0 24px; }
.auth-film h1 { font-size: clamp(58px, 5.8vw, 104px); line-height: .99; letter-spacing: -.065em; font-weight: 500; margin: 0; text-wrap: balance; }
.auth-film-note { margin: 26px 0 0; font-size: 14px; line-height: 1.7; color: #f0efdf; }
.auth-film-caption { position: absolute; display: flex; align-items: center; gap: 9px; left: 8%; right: 8%; bottom: 38px; font-size: 9px; letter-spacing: .13em; font-weight: 500; }
.auth-film-caption > span:last-child { margin-left: auto; letter-spacing: .06em; }
.auth-film-dot { width: 7px; height: 7px; border-radius: 50%; background: var(--auth-pink); }
.auth-panel { display: flex; flex-direction: column; align-items: center; justify-content: center; padding: 56px 48px 26px; position: relative; }
.auth-card { width: 100%; max-width: 374px; margin: auto; padding: 30px 0; }
.auth-card-heading { margin-bottom: 35px; }
.auth-eyebrow { font-size: 10px; line-height: 1.5; font-weight: 600; letter-spacing: .14em; margin: 0 0 18px; color: var(--auth-muted); }
.auth-card h2 { font-size: clamp(32px, 3vw, 44px); line-height: 1.12; letter-spacing: -.055em; font-weight: 500; margin: 0; text-wrap: balance; }
.auth-description { margin: 16px 0 0; font-size: 14px; color: var(--auth-muted); line-height: 1.7; }
.auth-form { display: flex; flex-direction: column; gap: 21px; }
.field { display: flex; flex-direction: column; gap: 9px; min-width: 0; font-size: 12px; font-weight: 500; }
.field input { display: block; width: 100%; min-width: 0; height: 52px; border: 1px solid var(--auth-line); border-radius: 4px; background: rgb(255 255 255 / 28%); color: var(--auth-ink); padding: 0 15px; font-size: 14px; line-height: 1.4; transition: border-color .18s, box-shadow .18s; }
.field input::placeholder { color: #797b72; opacity: 1; }
.field input:focus { outline: none; border-color: #747a68; box-shadow: 0 0 0 3px rgb(116 122 104 / 12%); }
.field input:-webkit-autofill { -webkit-box-shadow: 0 0 0 60px #f2eee3 inset; -webkit-text-fill-color: var(--auth-ink); }
.field small { color: var(--auth-muted); line-height: 1.6; font-size: 11px; font-weight: 400; }
.password-wrap { display: block; position: relative; }
.password-wrap input { padding-right: 72px; }
.password-toggle { display: inline-flex; align-items: center; justify-content: center; position: absolute; right: 5px; top: 5px; min-width: 48px; height: 42px; color: #575c52; background: transparent; border: 0; font-size: 11px; font-weight: 500; border-radius: 2px; }
.password-toggle:hover { color: var(--auth-ink); background: #e9e7dc; }
.primary-button { display: flex; align-items: center; justify-content: space-between; width: 100%; min-height: 52px; margin-top: 6px; border: 1px solid var(--auth-ink); border-radius: 4px; padding: 13px 18px; background: var(--auth-ink); color: #fff; font-weight: 500; font-size: 13px; line-height: 1.5; transition: background .18s, transform .18s; }
.primary-button:hover { background: #363b31; }
.primary-button:active { transform: translateY(1px); }
.primary-button svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.4; flex-shrink: 0; margin-left: 12px; }
button:disabled { cursor: wait; opacity: .65; }
.primary-button.is-busy svg { animation: auth-working 1s ease-in-out infinite alternate; }
.auth-switch { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 6px; margin-top: 28px; color: var(--auth-muted); font-size: 12px; }
.auth-link-button { color: var(--auth-ink); background: none; border: 0; padding: 10px 1px; font-size: 12px; font-weight: 500; min-height: 44px; text-decoration: underline; text-decoration-color: #a2a497; text-underline-offset: 5px; }
.auth-link-button:hover { text-decoration-color: var(--auth-pink); }
.auth-assurance { color: var(--auth-muted); font-size: 11px; line-height: 1.6; margin: -2px 0 0; }
.auth-back-button { align-self: center; margin-top: -4px; }
.auth-footnote { margin-top: 30px; width: 100%; max-width: 440px; text-align: center; color: #71766a; font-size: 10px; line-height: 1.8; }
.auth-footnote p { margin: 0 0 9px; }
.auth-footnote a { color: #727568; font-size: 9px; text-decoration: none; }
.auth-footnote a:hover { text-decoration: underline; }
.form-error, .form-notice { padding: 12px 14px; margin: 0; border-radius: 4px; font-size: 12px; line-height: 1.65; overflow-wrap: anywhere; }
.form-error { color: #8c303c; background: #f4e2df; border: 1px solid #eacfc9; }
.form-notice { color: #466144; background: #e6ebdd; margin-bottom: 24px; }
.auth-state--center { text-align: center; padding: 60px 0; }
.auth-state--center p { color: var(--auth-muted); font-size: 14px; line-height: 1.7; }
.auth-state--center .primary-button { justify-content: center; margin-top: 30px; }
.loading-spinner { display: inline-block; width: 23px; height: 23px; border: 2px solid var(--auth-line); border-top-color: var(--auth-ink); border-radius: 50%; animation: auth-spin 1s linear infinite; }
.connection-symbol { display: block; font-size: 44px; margin-bottom: 26px; color: #717d60; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; }
.noscript-note { padding: 18px; text-align: center; color: #8c303c; }
html:lang(ja) .auth-film h1 { line-height: 1.23; letter-spacing: -.055em; font-weight: 500; font-size: clamp(48px, 4.9vw, 83px); }
html:lang(ja) .auth-card h2 { font-size: clamp(26px, 2.4vw, 34px); line-height: 1.45; letter-spacing: -.04em; }
html:lang(ja) .auth-film-eyebrow { letter-spacing: .2em; }
html:lang(ja) .auth-description { line-height: 1.85; font-size: 13px; }
@keyframes auth-spin { to { transform: rotate(360deg); } }
@keyframes auth-working { to { opacity: .3; transform: translateX(3px); } }
@media (min-width: 1800px) { .auth-film h1 { font-size: 108px; } }
@media (max-width: 1000px) {
    .auth-international { padding: 0 18px 18px; }
    .auth-header { height: 82px; padding: 0 6px; }
    .auth-intl-main { min-height: calc(100svh - 100px); grid-template-columns: minmax(0, .9fr) minmax(0, 1fr); }
    .auth-film { min-height: 600px; }
    .auth-panel { padding: 36px 30px 18px; }
    .auth-film h1 { font-size: clamp(49px, 6.2vw, 68px); }
    .auth-film-eyebrow { font-size: 8px; }
    .auth-film-caption { font-size: 7px; gap: 6px; }
    html:lang(ja) .auth-film h1 { font-size: clamp(37px, 4.9vw, 55px); }
}
@media (max-width: 700px) {
    .auth-international { padding: 0 22px 22px; padding-top: env(safe-area-inset-top); padding-bottom: max(22px, env(safe-area-inset-bottom)); }
    .auth-header { height: 78px; padding: 0; gap: 10px; }
    .auth-brand { gap: 6px; }
    .auth-brand img:first-child { width: 26px; }
    .auth-brand img:last-child { width: 93px; }
    .auth-languages { gap: 0; }
    .auth-languages a { min-width: 38px; padding: 8px; font-size: 10px; }
    .auth-intl-main { display: flex; flex-direction: column; min-height: calc(100svh - 100px); }
    .auth-film { min-height: 0; height: 170px; flex-shrink: 0; border-radius: 5px; }
    .auth-film-image { object-position: 50% 55%; }
    .auth-film::after { background: linear-gradient(90deg, rgb(13 21 16 / 65%), rgb(13 21 16 / 8%)); }
    .auth-film-copy { left: 23px; right: 20px; bottom: 23px; }
    .auth-film h1 { font-size: 43px; line-height: 1.02; letter-spacing: -.06em; }
    .auth-film-eyebrow { font-size: 7px; margin-bottom: 12px; letter-spacing: .13em; }
    .auth-film-note, .auth-film-caption { display: none; }
    .auth-panel { padding: 31px 4px 0; flex: 1; }
    .auth-card { margin: 0; padding: 0; max-width: 400px; }
    .auth-card-heading { margin-bottom: 25px; }
    .auth-eyebrow { display: none; }
    .auth-card h2 { font-size: 30px; letter-spacing: -.055em; }
    .auth-description { margin-top: 9px; font-size: 12px; }
    .auth-form { gap: 18px; }
    .field { font-size: 11px; gap: 8px; }
    .field input { font-size: 16px; height: 51px; }
    .password-toggle { font-size: 10px; }
    .auth-switch { margin-top: 14px; }
    .auth-footnote { margin-top: auto; padding-top: 35px; font-size: 9px; }
    .auth-footnote a { font-size: 8px; }
    html:lang(ja) .auth-film h1 { font-size: 35px; line-height: 1.2; }
    html:lang(ja) .auth-card h2 { font-size: 26px; }
    html:lang(ja) .auth-description { font-size: 12px; }
}
@media (max-width: 350px) {
    .auth-international { padding-left: 14px; padding-right: 14px; }
    .auth-brand img:first-child { width: 23px; }
    .auth-brand img:last-child { width: 82px; }
    .auth-languages a { min-width: 34px; padding: 7px; font-size: 9px; }
    .auth-panel { padding-left: 0; padding-right: 0; }
    .auth-film { height: 150px; }
}
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after { scroll-behavior: auto !important; transition: none !important; animation: none !important; }
}
