/* Reset & Base */
* { margin: 0; padding: 0; box-sizing: border-box; }
body {
  font-family: 'Hiragino Sans', 'Hiragino Kaku Gothic ProN', 'Noto Sans JP', sans-serif;
  color: #1a1a1a;
  line-height: 1.6;
}
a { text-decoration: none; color: inherit; }
.container { max-width: 1200px; margin: 0 auto; padding: 0 24px; }

/* Colors */
:root {
  --primary: #2c3e50;
  --primary-light: #34495e;
  --accent: #c9a227;
  --accent-light: #d4b23a;
  --gray-bg: #f5f5f5;
}

/* Buttons */
.btn {
  display: inline-block;
  padding: 16px 32px;
  border-radius: 8px;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s;
  border: none;
  text-align: center;
}
.btn-primary { background: var(--primary); color: #fff; }
.btn-primary:hover { background: var(--primary-light); }
.btn-secondary { background: #fff; color: var(--primary); border: 2px solid var(--primary); }
.btn-secondary:hover { background: #f9f9f9; }
.btn-accent { background: var(--accent); color: #fff; }
.btn-accent:hover { background: var(--accent-light); }
.btn-block { display: block; width: 100%; }

/* Form */
.input-field {
  width: 100%;
  padding: 14px 16px;
  border: 1px solid #ddd;
  border-radius: 8px;
  font-size: 16px;
  transition: border-color 0.2s;
}
.input-field:focus { outline: none; border-color: var(--primary); }
.form-group { margin-bottom: 16px; }
.form-group label { display: block; margin-bottom: 8px; font-weight: 500; font-size: 14px; }

/* Card */
.card {
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 2px 12px rgba(0,0,0,0.08);
  padding: 32px;
}

/* Header */
.header {
  background: var(--primary);
  padding: 16px 0;
}
.header-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.logo { color: #fff; font-size: 24px; font-weight: 700; }
.nav-link { color: #fff; transition: color 0.2s; }
.nav-link:hover { color: var(--accent); }

/* Hero */
.hero {
  background: linear-gradient(to bottom, var(--primary), #1a252f);
  padding: 80px 0;
  text-align: center;
}
.hero-sub { color: var(--accent); font-size: 18px; margin-bottom: 16px; }
.hero-title { color: #fff; font-size: 42px; font-weight: 700; line-height: 1.3; margin-bottom: 24px; }
.hero-desc { color: #ccc; font-size: 18px; max-width: 600px; margin: 0 auto 40px; }
.hero-buttons { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }

/* Section */
.section { padding: 80px 0; }
.section-title { font-size: 28px; font-weight: 700; text-align: center; color: var(--primary); margin-bottom: 48px; }
.bg-white { background: #fff; }
.bg-gray { background: var(--gray-bg); }

/* Steps */
.steps { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 32px; }
.step { text-align: center; }
.step-number {
  width: 64px; height: 64px;
  background: var(--primary);
  color: #fff;
  font-size: 24px;
  font-weight: 700;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 16px;
}
.step h4 { font-size: 20px; margin-bottom: 12px; }
.step p { color: #666; }

/* Stages */
.stages { max-width: 600px; margin: 0 auto; }
.stage-card {
  background: #fff;
  border-radius: 12px;
  padding: 20px 24px;
  display: flex;
  align-items: center;
  gap: 20px;
  margin-bottom: 16px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.06);
}
.stage-card.highlight { border: 2px solid var(--accent); }
.stage-icon { font-size: 32px; }
.stage-info { flex: 1; }
.stage-header { display: flex; align-items: baseline; gap: 12px; margin-bottom: 4px; }
.stage-name { font-size: 20px; font-weight: 700; }
.stage-name.gold { color: var(--accent); }
.stage-bits { color: #888; font-size: 14px; }
.stage-info p { color: #666; font-size: 14px; }

/* Footer */
.footer {
  background: #1a252f;
  color: #888;
  padding: 40px 0;
  text-align: center;
}
.copyright { font-size: 12px; margin-top: 8px; }

/* Page Layout */
.page-header {
  background: var(--primary);
  padding: 16px 0;
}
.page-content {
  min-height: calc(100vh - 140px);
  background: var(--gray-bg);
  padding: 48px 0;
}
.page-card {
  max-width: 480px;
  margin: 0 auto;
}

/* Alert */
.alert {
  padding: 16px;
  border-radius: 8px;
  margin-bottom: 20px;
  font-size: 14px;
}
.alert-info { background: #e3f2fd; color: #1565c0; }
.alert-success { background: #e8f5e9; color: #2e7d32; }
.alert-error { background: #ffebee; color: #c62828; }
.alert-warning { background: #fff3cd; color: #856404; }

/* Badge */
.badge {
  display: inline-block;
  padding: 4px 12px;
  border-radius: 20px;
  font-size: 12px;
  font-weight: 600;
}
.badge-yellow { background: #fff3cd; color: #856404; }
.badge-blue { background: #e3f2fd; color: #1565c0; }
.badge-green { background: #e8f5e9; color: #2e7d32; }
.badge-gray { background: #eee; color: #666; }

/* Table */
.table-wrapper { overflow-x: auto; }
table { width: 100%; border-collapse: collapse; }
th, td { padding: 12px 16px; text-align: left; border-bottom: 1px solid #eee; }
th { font-weight: 600; color: #666; font-size: 14px; }
tr:hover { background: #f9f9f9; }

/* Stats Grid */
.stats-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 16px; margin-bottom: 32px; }
.stat-card { background: #fff; border-radius: 12px; padding: 24px; text-align: center; box-shadow: 0 2px 8px rgba(0,0,0,0.06); }
.stat-number { font-size: 36px; font-weight: 700; }
.stat-number.yellow { color: #f59e0b; }
.stat-number.blue { color: #3b82f6; }
.stat-number.green { color: #22c55e; }
.stat-label { color: #888; font-size: 14px; margin-top: 4px; }

/* Modal */
.modal {
  display: none;
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(0,0,0,0.5);
  align-items: center;
  justify-content: center;
  padding: 24px;
  z-index: 1000;
}
.modal.active { display: flex; }
.modal-content {
  background: #fff;
  border-radius: 12px;
  padding: 32px;
  max-width: 500px;
  width: 100%;
  max-height: 90vh;
  overflow-y: auto;
}
.modal-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 24px; }
.modal-title { font-size: 20px; font-weight: 700; }
.modal-close { background: none; border: none; font-size: 24px; cursor: pointer; color: #888; }
.modal-buttons { display: flex; gap: 12px; margin-top: 24px; }
.modal-buttons .btn { flex: 1; }

/* Brewery LP */
.lp-header { text-align: center; margin-bottom: 32px; }
.lp-logo { width: 96px; height: 96px; background: #eee; border-radius: 50%; margin: 0 auto 16px; display: flex; align-items: center; justify-content: center; font-size: 48px; }
.lp-name { font-size: 28px; font-weight: 700; }
.lp-pref { color: #888; }
.lp-crew-banner { background: var(--accent); color: #fff; padding: 16px; border-radius: 8px; text-align: center; margin-bottom: 24px; }
.lp-crew-banner p:first-child { font-size: 14px; }
.lp-crew-banner p:last-child { font-size: 20px; font-weight: 700; }

/* CREWコメントボックス */
.crew-comment-box {
  background: #fff8f0;
  border-radius: 12px;
  padding: 20px;
  margin-bottom: 24px;
}
.crew-comment-header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 12px;
}
.crew-avatar {
  width: 48px;
  height: 48px;
  background: #e07b39;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
}
.crew-comment-label {
  font-size: 12px;
  color: #888;
}
.crew-comment-name {
  font-size: 16px;
  font-weight: 700;
  color: #333;
}
.crew-comment-text {
  background: #fff;
  border-radius: 8px;
  padding: 16px;
  font-size: 14px;
  line-height: 1.7;
  color: #555;
}
.awards-list { list-style: none; }
.awards-list li { display: flex; align-items: center; gap: 8px; margin-bottom: 8px; color: #666; font-size: 14px; }
.awards-list li::before { content: '🏆'; }

/* Info List */
.info-list { list-style: none; }
.info-list li { padding: 12px 0; border-bottom: 1px solid #eee; display: flex; }
.info-list li:last-child { border-bottom: none; }
.info-label { color: #888; width: 100px; flex-shrink: 0; }
.info-value { flex: 1; }
.crew-name { color: var(--accent); font-weight: 700; }

/* Responsive */
@media (max-width: 768px) {
  .hero-title { font-size: 28px; }
  .hero-buttons { flex-direction: column; }
  .hero-buttons .btn { width: 100%; }
  .section { padding: 48px 0; }
  .section-title { font-size: 24px; }
}

/* 新規追加：感情ドリブンLP用スタイル */

/* 安心設計ボックス */
.reassurance-box {
  background: #fff;
  border-left: 4px solid var(--accent);
  padding: 32px;
  border-radius: 8px;
  max-width: 600px;
  margin: 0 auto;
}
.reassurance-box h3 {
  font-size: 24px;
  margin-bottom: 16px;
  color: var(--primary);
}
.reassurance-box p {
  color: #666;
  line-height: 1.8;
}

/* CREWになる理由 */
.reasons {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
}
.reason-card {
  background: #f9f9f9;
  border-radius: 12px;
  padding: 32px;
  text-align: center;
}
.reason-icon {
  font-size: 48px;
  display: block;
  margin-bottom: 16px;
}
.reason-card h4 {
  font-size: 20px;
  margin-bottom: 12px;
  color: var(--primary);
}
.reason-card p {
  color: #666;
  font-size: 14px;
  line-height: 1.7;
}

/* 未来像セクション */
.bg-accent-light {
  background: linear-gradient(135deg, #2c3e50, #1a252f);
}
.section-title-light {
  font-size: 24px;
  font-weight: 700;
  text-align: center;
  color: #fff;
  margin-bottom: 32px;
}
.future-items {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 24px;
}
.future-item {
  background: rgba(255,255,255,0.1);
  border-radius: 12px;
  padding: 24px 32px;
  text-align: center;
  color: #fff;
  min-width: 250px;
}
.future-item span {
  font-size: 32px;
  display: block;
  margin-bottom: 12px;
}
.future-item p {
  font-size: 14px;
  opacity: 0.9;
}

/* 選別感 */
.select-label {
  display: inline-block;
  background: var(--accent);
  color: #fff;
  padding: 4px 16px;
  border-radius: 20px;
  font-size: 12px;
  margin-bottom: 16px;
}
.select-title {
  font-size: 32px;
  color: var(--primary);
  margin-bottom: 16px;
}
.select-desc {
  color: #666;
  max-width: 400px;
  margin: 0 auto;
}

/* 大きいボタン */
.btn-lg {
  padding: 20px 48px;
  font-size: 18px;
}

/* SVG Icons */
.icon {
  display: inline-block;
  width: 24px;
  height: 24px;
  vertical-align: middle;
}
.icon-sm { width: 16px; height: 16px; }
.icon-md { width: 24px; height: 24px; }
.icon-lg { width: 32px; height: 32px; }
.icon-xl { width: 48px; height: 48px; }
.icon-xxl { width: 64px; height: 64px; }

.icon-primary { color: var(--primary); }
.icon-accent { color: var(--accent); }
.icon-gray { color: #888; }
.icon-green { color: #166534; }
.icon-orange { color: #e07b39; }

.benefit-icon-svg {
  width: 32px;
  height: 32px;
  flex-shrink: 0;
  color: var(--primary);
}

.crew-avatar-svg {
  width: 40px;
  height: 40px;
  padding: 8px;
  background: #f0f0f0;
  border-radius: 50%;
  color: #666;
}

/* Top page SVG icons */
.reason-icon-svg {
  width: 48px;
  height: 48px;
  margin-bottom: 16px;
  color: var(--accent);
}

.future-icon-svg {
  width: 32px;
  height: 32px;
  color: #fff;
}

.stage-icon-svg {
  width: 32px;
  height: 32px;
  color: var(--primary);
  flex-shrink: 0;
}

.stage-icon-double {
  display: flex;
  gap: 2px;
}
.stage-icon-double .stage-icon-svg {
  width: 20px;
  height: 20px;
}
