  :root {
    --purple: #7C3AED;
    --purple-light: #8B5CF6;
    --purple-dark: #6D28D9;
    --green: #10B981;
    --red: #EF4444;
    --orange: #F59E0B;
    --bg: #F5F5F7;
    --white: #FFFFFF;
    --gray-50: #F9FAFB;
    --gray-100: #F3F4F6;
    --gray-200: #E5E7EB;
    --gray-300: #D1D5DB;
    --gray-400: #9CA3AF;
    --gray-500: #6B7280;
    --gray-600: #4B5563;
    --gray-700: #374151;
    --gray-900: #111827;
    --shadow-sm: 0 1px 2px rgba(0,0,0,0.05);
    --shadow: 0 4px 6px -1px rgba(0,0,0,0.07), 0 2px 4px -1px rgba(0,0,0,0.04);
    --shadow-lg: 0 10px 15px -3px rgba(0,0,0,0.08), 0 4px 6px -2px rgba(0,0,0,0.04);
  }
  * { box-sizing: border-box; margin: 0; padding: 0; }
  body {
    font-family: 'DM Sans', 'Noto Sans JP', sans-serif;
    background: var(--bg);
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
  }
  /* Background decoration */
  body::before {
    content: '';
    position: absolute;
    top: -200px;
    right: -200px;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(124,58,237,0.08) 0%, transparent 70%);
    border-radius: 50%;
  }
  body::after {
    content: '';
    position: absolute;
    bottom: -200px;
    left: -200px;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(16,185,129,0.06) 0%, transparent 70%);
    border-radius: 50%;
  }

  .login-container {
    width: 100%;
    max-width: 440px;
    padding: 24px;
    position: relative;
    z-index: 1;
  }

  /* Logo */
  .logo-area {
    text-align: center;
    margin-bottom: 32px;
  }
  .logo-badge {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: var(--purple);
    color: white;
    padding: 10px 20px;
    border-radius: 12px;
    margin-bottom: 12px;
  }
  .logo-badge .icon {
    width: 32px;
    height: 32px;
    background: rgba(255,255,255,0.2);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 14px;
  }
  .logo-badge .name {
    font-weight: 700;
    font-size: 16px;
    letter-spacing: 0.5px;
  }
  .logo-badge .sub {
    font-size: 10px;
    opacity: 0.75;
    display: block;
    letter-spacing: 1px;
    text-transform: uppercase;
    margin-top: 1px;
  }
  .logo-area p {
    color: var(--gray-500);
    font-size: 14px;
  }

  /* Card */
  .card {
    background: var(--white);
    border-radius: 20px;
    padding: 36px;
    box-shadow: var(--shadow-lg);
    border: 1px solid var(--gray-100);
  }
  .card h1 {
    font-size: 22px;
    font-weight: 700;
    color: var(--gray-900);
    margin-bottom: 6px;
  }
  .card .subtitle {
    font-size: 14px;
    color: var(--gray-500);
    margin-bottom: 28px;
  }

  /* Form */
  .form-group {
    margin-bottom: 20px;
  }
  .form-group label {
    display: block;
    font-size: 13px;
    font-weight: 500;
    color: var(--gray-700);
    margin-bottom: 8px;
  }
  .input-wrap {
    position: relative;
  }
  .input-wrap .input-icon {
    position: absolute;
    left: 14px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--gray-400);
  }
  .input-wrap input {
    width: 100%;
    padding: 12px 14px 12px 42px;
    border: 1.5px solid var(--gray-200);
    border-radius: 10px;
    font-size: 14px;
    font-family: inherit;
    color: var(--gray-900);
    background: var(--gray-50);
    transition: all 0.2s;
    outline: none;
  }
  .input-wrap input:focus {
    border-color: var(--purple-light);
    background: var(--white);
    box-shadow: 0 0 0 3px rgba(124,58,237,0.08);
  }
  .input-wrap input::placeholder { color: var(--gray-400); }

  .form-options {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 24px;
  }
  .checkbox-label {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    color: var(--gray-600);
    cursor: pointer;
  }
  .checkbox-label input[type="checkbox"] {
    width: 16px;
    height: 16px;
    accent-color: var(--purple);
    cursor: pointer;
  }
  .forgot-link {
    font-size: 13px;
    color: var(--purple);
    text-decoration: none;
    font-weight: 500;
  }
  .forgot-link:hover { text-decoration: underline; }

  .btn-login {
    width: 100%;
    padding: 13px;
    background: var(--purple);
    color: white;
    border: none;
    border-radius: 10px;
    font-size: 15px;
    font-weight: 600;
    font-family: inherit;
    cursor: pointer;
    transition: all 0.2s;
    letter-spacing: 0.3px;
  }
  .btn-login:hover {
    background: var(--purple-dark);
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(124,58,237,0.35);
  }
  .btn-login:active { transform: translateY(0); }

  .divider {
    display: flex;
    align-items: center;
    gap: 12px;
    margin: 24px 0;
    color: var(--gray-400);
    font-size: 12px;
  }
  .divider::before, .divider::after {
    content: '';
    flex: 1;
    height: 1px;
    background: var(--gray-200);
  }

  .info-box {
    background: var(--gray-50);
    border: 1px solid var(--gray-200);
    border-radius: 10px;
    padding: 14px 16px;
    font-size: 13px;
    color: var(--gray-500);
    display: flex;
    gap: 10px;
    align-items: flex-start;
  }
  .info-box svg { flex-shrink: 0; margin-top: 1px; color: var(--gray-400); }

  .footer-note {
    text-align: center;
    margin-top: 20px;
    font-size: 12px;
    color: var(--gray-400);
  }

  /* SVG icons inline */
  svg { display: inline-block; vertical-align: middle; }