/* ひとりまえ — ログイン画面（/login）だけの見た目。ブランドの白・黒・灰色（public/lp/family.css と同じ値）。
   🔴 アプリの画面の見た目（public/shift.css）とは別のファイル。ログイン画面はこれだけを読む。
   影・色付きの箱・青緑は使わない。中央の1列を、余白と細い線で区切る。
   CSP：default-src 'none'; style-src 'self'; img-src 'self'
   → スクリプト無し・style 属性無し・外部フォント無し。外の画像も読まない（Google の「G」の印も、ここには無い）。 */

:root {
  color-scheme: light dark;
  --bg: #FFFFFF;
  --ink: #000000;
  --ink-2: #3A3A3C;
  --gray: #6E6E73;      /* 補足 4.9:1 */
  --line: #D2D2D7;
  --font: "Hiragino Sans", "Hiragino Kaku Gothic ProN", "Noto Sans JP", "Yu Gothic UI", "Yu Gothic", "BIZ UDPGothic", Meiryo, sans-serif;
  --ease: cubic-bezier(.25, .1, .25, 1);
}
@media (prefers-color-scheme: dark) {
  :root {
    --bg: #000000;
    --ink: #F5F5F7;
    --ink-2: #D2D2D7;
    --gray: #A1A1A6;
    --line: #2C2C2E;
  }
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }
body {
  margin: 0; background: var(--bg); color: var(--ink);
  font-family: var(--font); font-size: 1.0625rem; line-height: 1.7;
  font-feature-settings: "palt" 1; -webkit-font-smoothing: antialiased; overflow-wrap: anywhere;
}
h1, p { margin: 0; }
img { display: block; max-width: 100%; }
a { color: var(--ink); text-underline-offset: .3em; }
:focus-visible { outline: 3px solid var(--ink); outline-offset: 3px; border-radius: 6px; }

/* ───────── 1列 ───────── */
.auth { min-height: 100dvh; display: grid; place-items: center; padding: 48px 20px; }
.auth-card { width: 100%; max-width: 400px; min-width: 0; display: grid; gap: 32px; text-align: center; }
.logo { justify-self: center; display: inline-flex; align-items: center; min-height: 44px; text-decoration: none; }
.logo img { width: 180px; height: auto; }   /* 505:100。字の高さが 16px を下回らない */
.auth-card h1 { font-size: clamp(1.75rem, 1.4rem + 1.6vw, 2.25rem); font-weight: 800; line-height: 1.25; letter-spacing: -.01em; text-wrap: balance; }
.lead { margin-top: 12px; color: var(--ink-2); }
.providers { display: grid; gap: 12px; }
.note { font-size: .9375rem; color: var(--gray); }
.terms { margin-top: 8px; font-size: .8125rem; color: var(--gray); }
.after { padding-top: 24px; border-top: 1px solid var(--line); font-size: .9375rem; color: var(--gray); text-align: left; }
.after strong { display: block; color: var(--ink-2); font-weight: 600; }
.back { font-size: .9375rem; }

/* ───────── ボタン（丸い帯） ───────── */
.btn {
  display: flex; align-items: center; justify-content: center; gap: 10px; width: 100%;
  min-height: 56px; padding: 8px 24px; border-radius: 980px; border: 1px solid transparent;
  font-size: 1.0625rem; font-weight: 600; line-height: 1.4; text-decoration: none; white-space: normal;
  transition: opacity .2s var(--ease);
}

/* Google のボタン：Google の「Sign in with Google」の指針の中立（Neutral）の配色。
   明：地 #FFFFFF・枠 #747775（1px）・字 #1F1F1F／暗：地 #131314・枠 #8E918F・字 #E3E3E3。
   ⚠️ 指針の「G」の印（Google が配る公式の画像）は入れていない（外の資産を持ち込まない・自分で描き直すのは指針が禁じる）。
      字も Roboto（指針の書体）ではなく端末の書体。公開の前に公式の印を public/lp/ に置くか決める。 */
.btn.google { background: #FFFFFF; border-color: #747775; color: #1F1F1F; font-weight: 500; }
.btn.google:hover { background: #F8F9FA; }
@media (prefers-color-scheme: dark) {
  .btn.google { background: #131314; border-color: #8E918F; color: #E3E3E3; }
  .btn.google:hover { background: #1F1F21; }
}
