/*
Theme Name: Gaishi eLearning Child
Template: astra
Description: 外資系転職eラーニングサイト用オリジナルデザイン（Astraの子テーマ）
Version: 1.0
*/

:root {
  --gaishi-navy: #0f1f3d;
  --gaishi-gold: #c9a24b;
  --gaishi-bg: #f7f7f5;
  --gaishi-card: #ffffff;
  --gaishi-text: #1c1c1c;
  --gaishi-muted: #6b6b6b;
  --gaishi-success: #2f7a4f;
  --gaishi-locked: #b8b8b8;
}

body {
  background: var(--gaishi-bg);
  color: var(--gaishi-text);
}

/* ===== 学習パス選択 ===== */
.gaishi-path-selector {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 20px;
  margin: 32px 0;
}

.gaishi-path-card {
  background: var(--gaishi-card);
  border: 1px solid #e6e6e6;
  border-radius: 14px;
  padding: 24px;
  cursor: pointer;
  transition: transform .15s ease, box-shadow .15s ease;
}

.gaishi-path-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 10px 24px rgba(15, 31, 61, 0.12);
}

.gaishi-path-card.is-selected {
  border-color: var(--gaishi-gold);
  box-shadow: 0 0 0 2px var(--gaishi-gold);
}

.gaishi-path-card h3 {
  color: var(--gaishi-navy);
  margin-top: 0;
}

/* ===== ダッシュボード ===== */
.gaishi-dashboard {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 16px;
  margin: 24px 0 40px;
}

.gaishi-stat-card {
  background: var(--gaishi-navy);
  color: #fff;
  border-radius: 14px;
  padding: 20px;
  text-align: center;
}

.gaishi-stat-card .gaishi-stat-value {
  font-size: 2rem;
  font-weight: 700;
  color: var(--gaishi-gold);
  display: block;
}

.gaishi-stat-card .gaishi-stat-label {
  font-size: .85rem;
  color: #cfd6e6;
}

.gaishi-badge-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin: 16px 0 40px;
}

.gaishi-badge {
  width: 88px;
  text-align: center;
  font-size: .75rem;
}

.gaishi-badge img,
.gaishi-badge .gaishi-badge-icon {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: #efe6d2;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 6px;
  font-size: 1.4rem;
}

.gaishi-badge.is-locked .gaishi-badge-icon {
  background: #ececec;
  color: var(--gaishi-locked);
}

/* ===== プレミアム（将来課金）カード ===== */
.gaishi-premium-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 20px;
  margin: 24px 0 40px;
}

.gaishi-premium-card {
  position: relative;
  background: linear-gradient(135deg, #14213d, #1d2d4f);
  color: #fff;
  border-radius: 16px;
  padding: 28px 24px;
  overflow: hidden;
}

.gaishi-premium-card::before {
  content: "PREMIUM";
  position: absolute;
  top: 14px;
  right: -34px;
  background: var(--gaishi-gold);
  color: #1c1c1c;
  font-size: .65rem;
  font-weight: 700;
  letter-spacing: .08em;
  padding: 4px 40px;
  transform: rotate(35deg);
}

.gaishi-premium-card h3 {
  color: #fff;
  margin-top: 0;
}

.gaishi-premium-card p {
  color: #d8dce6;
  font-size: .9rem;
}

.gaishi-premium-lock {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(255,255,255,0.12);
  border-radius: 999px;
  padding: 6px 14px;
  font-size: .8rem;
  margin-top: 12px;
}

/* ===== ポイント交換 ===== */
.gaishi-reward-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 16px;
}

.gaishi-reward-card {
  background: var(--gaishi-card);
  border: 1px solid #e6e6e6;
  border-radius: 14px;
  padding: 18px;
}

.gaishi-reward-cost {
  color: var(--gaishi-gold);
  font-weight: 700;
}

.gaishi-btn {
  display: inline-block;
  background: var(--gaishi-navy);
  color: #fff;
  border-radius: 999px;
  padding: 8px 18px;
  font-size: .85rem;
  text-decoration: none;
  border: none;
  cursor: pointer;
}

.gaishi-btn[disabled] {
  background: var(--gaishi-locked);
  cursor: not-allowed;
}
