/* ====== 基本設定 ====== */
:root {
  --bg: #0a0f1f;
  --glass: rgba(255, 255, 255, 0.08);
  --glass-border: rgba(255, 255, 255, 0.15);
  --text: #f3f4f6;
  --text-muted: #9ca3af;
  --accent: #3b82f6;
  --accent-glow: 0 0 12px rgba(59, 130, 246, 0.7);
  --radius: 14px;
  --shadow: 0 8px 30px rgba(0, 0, 0, 0.45);
  --font: "Noto Sans JP", sans-serif;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  background: radial-gradient(circle at top, #111827 0%, #0a0f1f 60%, #000 100%);
  color: var(--text);
  font-family: var(--font);
  min-height: 100vh;
}

/* ====== ガラスヘッダー ====== */
header {
  width: 100%;
  backdrop-filter: blur(14px);
  background: rgba(255, 255, 255, 0.05);
  border-bottom: 1px solid var(--glass-border);
  padding: 16px 26px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  position: sticky;
  top: 0;
  z-index: 20;
}

header .logo {
  font-size: 1.3rem;
  font-weight: 600;
  letter-spacing: 0.03em;
}

header nav a {
  color: var(--text-muted);
  margin-left: 18px;
  text-decoration: none;
  transition: 0.2s;
}

header nav a:hover {
  color: var(--text);
}

/* ====== コンテナ ====== */
.container {
  max-width: 900px;
  margin: 50px auto;
  padding: 0 20px;
}

/* ====== ガラスカード ====== */
.card {
  background: var(--glass);
  border: 1px solid var(--glass-border);
  backdrop-filter: blur(18px);
  padding: 26px;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  margin-bottom: 26px;
}

/* ====== ボタン ====== */
.btn {
  display: inline-block;
  padding: 12px 20px;
  background: var(--accent);
  color: white;
  border-radius: var(--radius);
  text-decoration: none;
  transition: 0.25s;
  box-shadow: var(--accent-glow);
}

.btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 0 18px rgba(59, 130, 246, 0.9);
}

/* ====== 入力フォーム ====== */
input {
  width: 100%;
  padding: 14px;
  margin-top: 12px;
  border-radius: var(--radius);
  border: 1px solid var(--glass-border);
  background: rgba(255, 255, 255, 0.06);
  color: var(--text);
  backdrop-filter: blur(10px);
}

input:focus {
  outline: 2px solid var(--accent);
}

/* ====== グリッド ====== */
.grid {
  display: grid;
  gap: 20px;
}

.grid-3 {
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
}

/* ====== コースカード ====== */
.course-card {
  padding: 20px;
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid var(--glass-border);
  backdrop-filter: blur(14px);
  transition: 0.25s;
}

.course-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 0 20px rgba(59, 130, 246, 0.4);
}
