/* ============================================================
   login.css — ログインページ専用スタイル
   ============================================================ */

/* ── Magazine テーマ：シャープ・太ボーダー・赤アクセント ── */
.login-wrap {
  display: flex; align-items: flex-start; justify-content: center;
  padding: 48px 20px 80px;
}
@media (max-width: 640px) {
  .login-wrap { padding: 24px 16px 56px; }
}

.login-card {
  background: var(--bg2);
  border: 1.5px solid var(--text);
  border-radius: 0;
  padding: 36px 36px 32px;
  width: 100%; max-width: 420px;
  text-align: center;
  box-shadow: none;
  position: relative;
}
.login-card::before {
  content: "";
  position: absolute;
  top: -1.5px; left: -1.5px; right: -1.5px;
  height: 4px;
  background: var(--accent);
}

.login-logo {
  display: flex; align-items: center; justify-content: center; gap: 10px;
  margin-bottom: 22px;
}
.login-logo .logo-mark {
  width: 36px; height: 36px;
  background: var(--accent); border-radius: 0;
  display: flex; align-items: center; justify-content: center;
  font-size: var(--fs-base); color: #fff;
  overflow: hidden;
}
.login-logo .logo-mark img { width: 100%; height: 100%; display: block; }
.login-logo-text {
  font-size: var(--fs-xl); font-weight: 900; letter-spacing: 0.02em;
  color: var(--text);
}
.login-logo-text span { color: var(--accent); }

.login-title {
  font-size: var(--fs-lg); font-weight: 900; margin: 0 0 4px;
  letter-spacing: 0.02em;
  display: inline-block;
  border-left: 3px solid var(--accent);
  padding-left: 10px;
  line-height: 1.2;
}
.login-sub {
  font-size: var(--fs-sm); color: var(--text2); margin: 0 0 24px;
  font-weight: 600;
}

.login-error {
  background: var(--bg2);
  border: 1.5px solid var(--accent);
  border-left-width: 4px;
  border-radius: 0;
  padding: 11px 14px;
  font-size: var(--fs-sm); color: var(--accent);
  margin-bottom: 20px; text-align: left;
  font-weight: 700;
}

.btn-google {
  display: flex; align-items: center; justify-content: center; gap: 10px;
  width: 100%; min-height: 46px; padding: 10px 16px;
  background: #ffffff;
  border: 1.5px solid var(--text);
  border-radius: 0;
  font-family: 'Roboto', 'Noto Sans JP', sans-serif;
  font-size: 14px; font-weight: 700; color: #1f1f1f; letter-spacing: 0.04em;
  transition: background-color var(--trans), color var(--trans), border-color var(--trans);
  margin-bottom: 22px;
}
.btn-google:hover {
  background: var(--text);
  color: #fff;
  border-color: var(--text);
}
.btn-google:hover .btn-google-logo path[fill="#1f1f1f"] { fill: #fff; }
.btn-google:active { background: #1a1d24; }
.btn-google-logo  { width: 20px; height: 20px; flex-shrink: 0; }
.btn-google-label { display: inline-block; }

.login-terms {
  font-size: var(--fs-sm); color: var(--text2); line-height: 1.7;
  margin: 0;
}
.login-terms a { color: var(--accent); text-decoration: underline; font-weight: 700; }
.login-terms a:hover { text-decoration: none; }
