/* ===== リセット & ベース ===== */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

:root {
  /* カラーパレット */
  --primary: #2563eb;
  --primary-dark: #1d4ed8;
  --accent: #10b981;
  --accent-dark: #059669;
  --foreground: #1e293b;
  --foreground-light: #475569;
  --muted: #64748b;
  --background: #f8fafc;
  --white: #ffffff;
  --border: #e2e8f0;
  --destructive: #dc2626;
  
  /* フォント */
  --font-family: 'Noto Sans JP', sans-serif;
  
  /* スペーシング */
  --section-padding: 80px;
  --section-padding-mobile: 60px;
  --container-max: 1200px;
  --container-narrow: 800px;
  
  /* 角丸 */
  --radius: 12px;
  --radius-lg: 16px;
  --radius-full: 9999px;
  
  /* シャドウ */
  --shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
  --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-family);
  font-size: 16px;
  line-height: 1.6;
  color: var(--foreground);
  background-color: var(--background);
  -webkit-font-smoothing: antialiased;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  text-decoration: none;
  color: inherit;
}

ul {
  list-style: none;
}

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

.container-narrow {
  max-width: var(--container-narrow);
  margin: 0 auto;
  padding: 0 20px;
}

/* ===== セクション ===== */
.section {
  padding: var(--section-padding) 0;
}

.section-white {
  background-color: var(--white);
}

.section-gray {
  background-color: var(--background);
}

.section-blue {
  background-color: rgba(37, 99, 235, 0.05);
}

.section-muted {
  background-color: #f1f5f9;
  padding: 48px 0;
}

.section-dark {
  background-color: var(--foreground);
  color: var(--white);
}

.section-title {
  font-size: 28px;
  font-weight: 700;
  text-align: center;
  margin-bottom: 12px;
}

.section-subtitle {
  font-size: 16px;
  color: var(--muted);
  text-align: center;
  margin-bottom: 48px;
}

@media (min-width: 768px) {
  .section {
    padding: var(--section-padding) 0;
  }
  
  .section-title {
    font-size: 32px;
  }
}

/* ===== ヒーローセクション ===== */
.hero {
  position: relative;
  overflow: hidden;
  min-height: 600px;
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to right, rgba(30, 41, 59, 0.85), rgba(30, 41, 59, 0.7), rgba(30, 41, 59, 0.5));
}

.hero-content {
  position: relative;
  z-index: 10;
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 64px 20px;
}

.hero-inner {
  max-width: 600px;
}

.badges {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 24px;
}

.badge {
  display: inline-block;
  padding: 6px 14px;
  font-size: 14px;
  font-weight: 500;
  background-color: rgba(16, 185, 129, 0.2);
  color: #34d399;
  border-radius: var(--radius-full);
}

.hero-title {
  font-size: 32px;
  font-weight: 700;
  color: var(--white);
  line-height: 1.3;
  margin-bottom: 24px;
}

.hero-title .accent {
  color: #34d399;
}

.hero-text {
  font-size: 16px;
  color: rgba(255, 255, 255, 0.9);
  line-height: 1.8;
  margin-bottom: 32px;
}

.hero-text strong {
  font-weight: 600;
}

.hero-cta {
  display: flex;
  flex-direction: column;
  gap: 16px;
  align-items: flex-start;
}

.cta-note {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.8);
  line-height: 1.6;
}

@media (min-width: 768px) {
  .hero {
    min-height: 700px;
  }
  
  .hero-content {
    padding: 96px 20px;
  }
  
  .hero-title {
    font-size: 44px;
  }
  
  .hero-text {
    font-size: 18px;
  }
  
  .hero-cta {
    flex-direction: row;
    align-items: center;
  }
}

/* ===== CTAボタン ===== */
.cta-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 16px 32px;
  font-size: 16px;
  font-weight: 700;
  border-radius: var(--radius);
  transition: all 0.3s ease;
  cursor: pointer;
}

.cta-button .icon {
  width: 20px;
  height: 20px;
}

.cta-button.primary {
  background-color: var(--primary);
  color: var(--white);
  box-shadow: var(--shadow-lg);
}

.cta-button.primary:hover {
  background-color: var(--primary-dark);
  transform: translateY(-2px);
}

.cta-button.secondary {
  background-color: var(--accent);
  color: var(--white);
  box-shadow: var(--shadow-lg);
}

.cta-button.secondary:hover {
  background-color: var(--accent-dark);
  transform: translateY(-2px);
}

.cta-button.large {
  padding: 20px 40px;
  font-size: 18px;
  background-color: var(--accent);
  color: var(--white);
  box-shadow: var(--shadow-lg);
}

.cta-button.large:hover {
  background-color: var(--accent-dark);
  transform: translateY(-2px);
}

.cta-button.large .icon {
  width: 24px;
  height: 24px;
}

.section-cta {
  text-align: center;
  margin-top: 48px;
}

/* ===== よくある悩み ===== */
.problems-grid {
  display: grid;
  gap: 16px;
}

.problem-card {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  padding: 24px;
  background-color: var(--background);
  border: 1px solid var(--border);
  border-radius: var(--radius);
}

.problem-icon {
  width: 24px;
  height: 24px;
  flex-shrink: 0;
  color: var(--primary);
  margin-top: 2px;
}

.problem-card p {
  color: var(--foreground);
  line-height: 1.6;
}

.problems-cta {
  text-align: center;
  font-size: 18px;
  font-weight: 500;
  color: var(--primary);
  margin-top: 40px;
}

@media (min-width: 768px) {
  .problems-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* ===== 解決策 ===== */
.solution-grid {
  display: grid;
  gap: 32px;
  align-items: center;
}

.solution-content {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.solution-card {
  padding: 24px;
  border-radius: var(--radius);
}

.solution-card.negative {
  background-color: var(--white);
  border: 1px solid var(--border);
}

.solution-card.positive {
  background-color: rgba(37, 99, 235, 0.05);
  border: 2px solid var(--primary);
}

.solution-card-title {
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 16px;
}

.solution-card-title.negative {
  color: var(--destructive);
}

.solution-card-title.positive {
  color: var(--primary);
}

.solution-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.solution-list li {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  color: var(--foreground-light);
}

.solution-card.positive .solution-list li {
  color: var(--foreground);
}

.x-mark {
  color: var(--destructive);
  font-weight: 700;
  flex-shrink: 0;
}

.check-icon {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
  color: var(--accent);
  margin-top: 2px;
}

.solution-image {
  border-radius: var(--radius-lg);
  overflow: hidden;
  height: 320px;
}

.solution-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

@media (min-width: 768px) {
  .solution-grid {
    grid-template-columns: 1fr 1fr;
  }
  
  .solution-image {
    height: 400px;
  }
}

/* ===== サービスの特徴 ===== */
.features-grid {
  display: grid;
  gap: 24px;
}

.feature-card {
  background-color: var(--background);
  padding: 32px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  text-align: center;
}

.feature-icon-wrap {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 64px;
  height: 64px;
  background-color: rgba(37, 99, 235, 0.1);
  border-radius: 50%;
  margin-bottom: 24px;
}

.feature-icon {
  width: 32px;
  height: 32px;
  color: var(--primary);
}

.feature-title {
  font-size: 18px;
  font-weight: 700;
  color: var(--foreground);
  margin-bottom: 12px;
}

.feature-desc {
  color: var(--muted);
  line-height: 1.7;
}

@media (min-width: 768px) {
  .features-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

/* ===== 無料相談でできること ===== */
.consult-grid {
  display: grid;
  gap: 16px;
}

.consult-card {
  background-color: var(--white);
  padding: 24px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
}

.consult-icon {
  width: 40px;
  height: 40px;
  color: var(--accent);
  margin-bottom: 16px;
}

.consult-title {
  font-size: 16px;
  font-weight: 700;
  color: var(--foreground);
  margin-bottom: 8px;
}

.consult-desc {
  font-size: 14px;
  color: var(--muted);
}

@media (min-width: 768px) {
  .consult-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

@media (min-width: 480px) and (max-width: 767px) {
  .consult-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* ===== 無料相談までの流れ ===== */
.steps {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.step-card {
  display: flex;
  gap: 24px;
  background-color: var(--white);
  padding: 24px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
}

.step-number {
  width: 56px;
  height: 56px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: var(--primary);
  color: var(--white);
  font-size: 18px;
  font-weight: 700;
  border-radius: 50%;
}

.step-content {
  flex: 1;
}

.step-header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 8px;
}

.step-icon {
  width: 20px;
  height: 20px;
  color: var(--primary);
}

.step-title {
  font-size: 18px;
  font-weight: 700;
  color: var(--foreground);
}

.step-desc {
  color: var(--muted);
  line-height: 1.7;
}

.step-note {
  margin-top: 8px;
  font-size: 14px;
  font-weight: 500;
  color: var(--accent);
}

.notice-box {
  display: flex;
  gap: 16px;
  margin-top: 40px;
  padding: 24px;
  background-color: rgba(16, 185, 129, 0.1);
  border: 1px solid rgba(16, 185, 129, 0.3);
  border-radius: var(--radius);
}

.notice-icon {
  width: 24px;
  height: 24px;
  flex-shrink: 0;
  color: var(--accent);
  margin-top: 2px;
}

.notice-title {
  font-weight: 700;
  color: var(--foreground);
  margin-bottom: 4px;
}

.notice-text {
  font-size: 14px;
  color: var(--muted);
  line-height: 1.6;
}

@media (min-width: 768px) {
  .step-card {
    padding: 32px;
  }
}

/* ===== キャリア成長 ===== */
.career-grid {
  display: grid;
  gap: 32px;
  align-items: center;
}

.career-image {
  border-radius: var(--radius-lg);
  overflow: hidden;
  height: 320px;
}

.career-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.career-title {
  font-size: 26px;
  font-weight: 700;
  color: var(--foreground);
  line-height: 1.4;
  margin-bottom: 24px;
}

.career-text {
  color: var(--muted);
  line-height: 1.7;
  margin-bottom: 16px;
}

.career-content .cta-button {
  margin-top: 16px;
}

@media (min-width: 768px) {
  .career-grid {
    grid-template-columns: 1fr 1fr;
  }
  
  .career-image {
    height: 400px;
  }
  
  .career-title {
    font-size: 32px;
  }
}

/* ===== よくある質問 ===== */
.faq-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.faq-item {
  background-color: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
}

.faq-question {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 24px;
  cursor: pointer;
  transition: background-color 0.2s ease;
}

.faq-question:hover {
  background-color: var(--background);
}

.faq-question span:first-child {
  font-weight: 500;
  color: var(--foreground);
  padding-right: 16px;
}

.faq-toggle {
  font-size: 24px;
  color: var(--primary);
  transition: transform 0.3s ease;
  flex-shrink: 0;
}

.faq-item[open] .faq-toggle {
  transform: rotate(45deg);
}

.faq-answer {
  padding: 0 24px 24px;
}

.faq-answer p {
  color: var(--muted);
  line-height: 1.7;
}

/* ===== 対象者 ===== */
.target-box {
  background-color: var(--white);
  padding: 32px;
  border: 2px solid var(--primary);
  border-radius: var(--radius);
}

.target-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.target-list li {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 18px;
  color: var(--foreground);
}

.target-list .check-icon {
  width: 24px;
  height: 24px;
}

/* ===== 注意事項 ===== */
.caution-title {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 16px;
  font-weight: 700;
  color: var(--foreground);
  margin-bottom: 16px;
}

.caution-icon {
  width: 20px;
  height: 20px;
}

.caution-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.caution-list li {
  font-size: 14px;
  color: var(--muted);
  line-height: 1.6;
}

/* ===== 最終CTA ===== */
.final-cta {
  text-align: center;
}

.final-title {
  font-size: 24px;
  font-weight: 700;
  line-height: 1.5;
  margin-bottom: 24px;
}

.final-text {
  color: rgba(255, 255, 255, 0.8);
  line-height: 1.7;
  margin-bottom: 32px;
}

.final-note {
  margin-top: 16px;
  font-size: 14px;
  color: rgba(255, 255, 255, 0.6);
  line-height: 1.6;
}

@media (min-width: 768px) {
  .final-title {
    font-size: 32px;
  }
}

/* ===== フッター ===== */
.footer {
  background-color: var(--foreground);
  padding: 32px 0;
  text-align: center;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-company {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.6);
}

.footer-copy {
  font-size: 12px;
  color: rgba(255, 255, 255, 0.4);
  margin-top: 8px;
}

/* ===== ユーティリティ ===== */
@media (max-width: 767px) {
  .section {
    padding: var(--section-padding-mobile) 0;
  }
}
