/*
  FLY株式会社 人材育成・研修事業 特設ページ
  training.html 専用スタイル
  ベース: fly.css のデザインシステムを継承
*/

/* ================================================
   ヒーローセクション（フルビュー）
================================================ */
.training-hero {
  position: relative;
  min-height: 90vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow: hidden;
  background: #0a1f3d url('../images/training/hero-bg.webp') center center / cover no-repeat;
}
.training-hero::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    160deg,
    rgba(8, 24, 48, 0.80) 0%,
    rgba(10, 40, 80, 0.65) 50%,
    rgba(14, 30, 60, 0.85) 100%
  );
  z-index: 0;
}
.training-hero-inner {
  position: relative;
  z-index: 1;
  padding: 140px 0 80px;
  width: 100%;
}
.training-hero-eyebrow {
  display: inline-block;
  background: rgba(240, 165, 0, 0.9);
  color: #fff;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  padding: 6px 18px;
  border-radius: 0;
  margin-bottom: 24px;
}
.training-hero h1 {
  font-size: 52px;
  font-weight: 700;
  color: #fff;
  line-height: 1.2;
  margin-bottom: 24px;
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.35);
}
.training-hero h1 em {
  font-style: normal;
  color: var(--accent, #f0a500);
}
.training-hero .hero-lead {
  font-size: 18px;
  color: rgba(255, 255, 255, 0.9);
  line-height: 1.8;
  max-width: 700px;
  margin: 0 auto 40px;
}
.training-hero-cta {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}
.training-hero-stats {
  display: flex;
  gap: 40px;
  justify-content: center;
  flex-wrap: wrap;
  margin-top: 60px;
  padding-top: 40px;
  border-top: 1px solid rgba(255, 255, 255, 0.2);
}
.training-hero-stat {
  text-align: center;
}
.training-hero-stat .val {
  font-size: 42px;
  font-weight: 700;
  color: #fff;
  line-height: 1;
}
.training-hero-stat .val sup {
  font-size: 20px;
  color: var(--accent, #f0a500);
  font-weight: 700;
}
.training-hero-stat .lbl {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.75);
  margin-top: 6px;
  letter-spacing: 0.04em;
}

/* ================================================
   強みセクション
================================================ */
.training-strengths {
  padding: 80px 0;
  background: var(--white, #fff);
}
.strength-card {
  background: var(--white, #fff);
  border: 1px solid var(--border, #dde4ef);
  border-radius: 0;
  padding: 36px 28px;
  text-align: center;
  margin-bottom: 28px;
  transition: box-shadow 0.25s, transform 0.25s, border-color 0.25s;
  height: calc(100% - 28px);
}
.strength-card:hover {
  box-shadow: var(--shadow-md, 0 4px 20px rgba(0,0,0,.12));
  transform: translateY(-5px);
  border-color: var(--brand, #1a5fa8);
}
.strength-card .str-icon {
  width: 72px;
  height: 72px;
  background: var(--brand-soft, #e8f1fb);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 22px;
  color: var(--brand, #1a5fa8);
  font-size: 28px;
  transition: background 0.25s, color 0.25s;
}
.strength-card:hover .str-icon {
  background: var(--brand, #1a5fa8);
  color: #fff;
}
.strength-card h3 {
  font-size: 18px;
  font-weight: 700;
  color: var(--text, #2c2c2c);
  margin-bottom: 14px;
}
.strength-card p {
  font-size: 15px;
  line-height: 1.85;
  color: var(--text-light, #555);
  margin: 0;
}
.strength-card .str-num {
  display: block;
  font-size: 13px;
  font-weight: 700;
  color: var(--brand, #1a5fa8);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 10px;
  opacity: 0.7;
}

/* ================================================
   カリキュラムセクション
================================================ */
.training-curriculum {
  padding: 80px 0;
  background: var(--bg-light, #f7f9fc);
}

/* タブナビ */
.curriculum-tabs {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  justify-content: center;
  margin-bottom: 40px;
  list-style: none;
  padding: 0;
}
.curriculum-tabs .tab-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 24px;
  background: #fff;
  border: 2px solid var(--border, #dde4ef);
  border-radius: 0;
  cursor: pointer;
  font-size: 14px;
  font-weight: 600;
  color: var(--text, #2c2c2c);
  font-family: inherit;
  transition: all 0.2s;
}
.curriculum-tabs .tab-btn:hover {
  border-color: var(--brand, #1a5fa8);
  color: var(--brand, #1a5fa8);
}
.curriculum-tabs .tab-btn.active {
  background: var(--brand, #1a5fa8);
  border-color: var(--brand, #1a5fa8);
  color: #fff;
}
.curriculum-tabs .tab-btn.tab-ai {
  border-color: var(--accent, #f0a500);
  color: var(--accent-dark, #c87f00);
}
.curriculum-tabs .tab-btn.tab-ai.active,
.curriculum-tabs .tab-btn.tab-ai:hover {
  background: var(--accent, #f0a500);
  border-color: var(--accent, #f0a500);
  color: #fff;
}

/* タブパネル */
.curriculum-panel {
  display: none;
}
.curriculum-panel.active {
  display: block;
}

.curriculum-card {
  background: var(--white, #fff);
  border: 1px solid var(--border, #dde4ef);
  border-radius: 0;
  overflow: hidden;
}
.curriculum-card--ai {
  border-top: 4px solid var(--accent, #f0a500);
}

.curriculum-img {
  width: 100%;
  height: 240px;
  object-fit: cover;
  display: block;
  background: linear-gradient(135deg, #e8f1fb, #c7d7ea);
}

.curriculum-body {
  padding: 32px 36px;
}
.curriculum-body .cat-label {
  display: inline-block;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--brand, #1a5fa8);
  background: var(--brand-soft, #e8f1fb);
  padding: 4px 12px;
  border-radius: 0;
  margin-bottom: 16px;
}
.curriculum-card--ai .curriculum-body .cat-label {
  color: var(--accent-dark, #c87f00);
  background: #fff8e8;
}
.curriculum-body h3 {
  font-size: 22px;
  font-weight: 700;
  color: var(--text, #2c2c2c);
  margin-bottom: 14px;
  line-height: 1.35;
}
.curriculum-body .curriculum-lead {
  font-size: 16px;
  line-height: 1.85;
  color: var(--text-light, #555);
  margin-bottom: 28px;
}

/* コースリスト */
.course-list {
  list-style: none;
  padding: 0;
  margin: 0 0 28px;
}
.course-list li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 14px 0;
  border-bottom: 1px solid var(--border, #dde4ef);
  font-size: 15px;
  color: var(--text, #2c2c2c);
  line-height: 1.7;
}
.course-list li:last-child {
  border-bottom: none;
}
.course-list li .c-icon {
  flex-shrink: 0;
  width: 28px;
  height: 28px;
  background: var(--brand-soft, #e8f1fb);
  border-radius: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--brand, #1a5fa8);
  font-size: 13px;
  margin-top: 1px;
}
.curriculum-card--ai .course-list li .c-icon {
  background: #fff8e8;
  color: var(--accent-dark, #c87f00);
}
.course-list li .c-text strong {
  display: block;
  font-size: 15px;
  font-weight: 700;
  margin-bottom: 3px;
}
.course-list li .c-text span {
  font-size: 13px;
  color: var(--text-light, #555);
}

/* レベルバッジ */
.level-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  font-weight: 700;
  padding: 4px 12px;
  border-radius: 0;
  margin-right: 6px;
  margin-bottom: 6px;
}
.level-badge.beginner {
  background: #e8f7ee;
  color: #1a7a42;
}
.level-badge.intermediate {
  background: #e8f1fb;
  color: var(--brand, #1a5fa8);
}
.level-badge.advanced {
  background: #fde8e8;
  color: #b91c1c;
}

/* ================================================
   対象セクション
================================================ */
.training-target {
  padding: 80px 0;
  background: var(--white, #fff);
}
.target-card {
  background: var(--white, #fff);
  border: 1px solid var(--border, #dde4ef);
  border-radius: 0;
  padding: 40px 32px;
  margin-bottom: 28px;
  position: relative;
  overflow: hidden;
  transition: box-shadow 0.25s, transform 0.25s;
}
.target-card:hover {
  box-shadow: var(--shadow-md, 0 4px 20px rgba(0,0,0,.12));
  transform: translateY(-4px);
}
.target-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: var(--brand, #1a5fa8);
}
.target-card.target-external::before {
  background: var(--accent, #f0a500);
}
.target-card .t-badge {
  display: inline-block;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 4px 12px;
  border-radius: 0;
  margin-bottom: 18px;
  background: var(--brand-soft, #e8f1fb);
  color: var(--brand, #1a5fa8);
}
.target-card.target-external .t-badge {
  background: #fff8e8;
  color: var(--accent-dark, #c87f00);
}
.target-card h3 {
  font-size: 22px;
  font-weight: 700;
  margin-bottom: 16px;
  color: var(--text, #2c2c2c);
}
.target-card p {
  font-size: 15px;
  line-height: 1.9;
  color: var(--text-light, #555);
  margin-bottom: 20px;
}
.target-list {
  list-style: none;
  padding: 0;
  margin: 0;
}
.target-list li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 15px;
  color: var(--text, #2c2c2c);
  padding: 8px 0;
  border-bottom: 1px solid var(--border, #dde4ef);
  line-height: 1.7;
}
.target-list li:last-child { border-bottom: none; }
.target-list li i {
  color: var(--brand, #1a5fa8);
  margin-top: 3px;
  flex-shrink: 0;
}
.target-card.target-external .target-list li i {
  color: var(--accent, #f0a500);
}

/* ================================================
   研修フロー
================================================ */
.training-flow {
  padding: 80px 0;
  background: var(--bg-light, #f7f9fc);
}
.flow-steps {
  position: relative;
  max-width: 860px;
  margin: 0 auto;
}
.flow-step {
  display: flex;
  gap: 24px;
  align-items: flex-start;
  margin-bottom: 0;
  position: relative;
}
.flow-step + .flow-step {
  margin-top: 32px;
}
/* ステップ間の縦線 */
.flow-step + .flow-step::before {
  content: '';
  position: absolute;
  top: -32px;
  left: 22px;
  width: 2px;
  height: 32px;
  background: var(--border, #dde4ef);
}
.flow-step-num {
  flex-shrink: 0;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: var(--brand, #1a5fa8);
  color: #fff;
  font-size: 18px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 10px rgba(26, 95, 168, 0.3);
}
.flow-step-body {
  flex: 1;
  background: var(--white, #fff);
  border: 1px solid var(--border, #dde4ef);
  border-radius: 0;
  padding: 20px 24px;
  margin-top: 0;
}
.flow-step-body h4 {
  font-size: 17px;
  font-weight: 700;
  color: var(--text, #2c2c2c);
  margin-bottom: 8px;
}
.flow-step-body p {
  font-size: 14px;
  line-height: 1.8;
  color: var(--text-light, #555);
  margin: 0;
}

/* 提供形態カード */
.format-cards {
  margin-top: 60px;
}
.format-card {
  background: var(--white, #fff);
  border: 1px solid var(--border, #dde4ef);
  border-radius: 0;
  padding: 28px 24px;
  text-align: center;
  margin-bottom: 24px;
  transition: box-shadow 0.25s, transform 0.25s;
}
.format-card:hover {
  box-shadow: var(--shadow-md, 0 4px 20px rgba(0,0,0,.12));
  transform: translateY(-4px);
}
.format-card .f-icon {
  width: 60px;
  height: 60px;
  background: var(--brand-soft, #e8f1fb);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 16px;
  color: var(--brand, #1a5fa8);
  font-size: 24px;
}
.format-card h4 {
  font-size: 16px;
  font-weight: 700;
  color: var(--text, #2c2c2c);
  margin-bottom: 10px;
}
.format-card p {
  font-size: 14px;
  line-height: 1.8;
  color: var(--text-light, #555);
  margin: 0;
}

/* ================================================
   実績・数値バー
================================================ */
.training-results {
  background: linear-gradient(135deg, #0a1f3d 0%, #1a5fa8 100%);
  padding: 72px 0;
  float: left;
  width: 100%;
  text-align: center;
}
.training-results .result-item {
  padding: 16px 8px;
}
.training-results .r-val {
  font-size: 52px;
  font-weight: 700;
  color: #fff;
  line-height: 1;
  margin-bottom: 8px;
}
.training-results .r-val sup {
  font-size: 22px;
  color: var(--accent, #f0a500);
  font-weight: 700;
  vertical-align: super;
}
.training-results .r-label {
  color: rgba(255, 255, 255, 0.8);
  font-size: 14px;
  line-height: 1.5;
  margin: 0;
}

/* ================================================
   FAQ セクション
================================================ */
.training-faq {
  padding: 80px 0;
  background: var(--bg-light, #f7f9fc);
}
.faq-item {
  background: var(--white, #fff);
  border: 1px solid var(--border, #dde4ef);
  border-radius: 0;
  margin-bottom: 12px;
  overflow: hidden;
}
.faq-question {
  padding: 20px 24px;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
}
.faq-question:hover { background: var(--brand-soft, #e8f1fb); }
.faq-question h4 {
  font-size: 16px;
  font-weight: 700;
  color: var(--text, #2c2c2c);
  margin: 0;
  flex: 1;
}
.faq-question .faq-q-icon {
  width: 28px;
  height: 28px;
  flex-shrink: 0;
  background: var(--brand, #1a5fa8);
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  font-weight: 700;
}
.faq-toggle {
  width: 24px;
  height: 24px;
  flex-shrink: 0;
  color: var(--brand, #1a5fa8);
  font-size: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.2s;
}
.faq-item.open .faq-toggle { transform: rotate(180deg); }
.faq-answer {
  display: none;
  padding: 0 24px 20px 24px;
  font-size: 15px;
  line-height: 1.85;
  color: var(--text-light, #555);
  border-top: 1px solid var(--border, #dde4ef);
}
.faq-answer p { margin: 16px 0 0; }
.faq-item.open .faq-answer { display: block; }

/* ================================================
   CTAセクション
================================================ */
.training-cta-section {
  background: linear-gradient(135deg, var(--brand, #1a5fa8) 0%, var(--brand-dark, #134980) 100%);
  padding: 80px 0;
  text-align: center;
  float: left;
  width: 100%;
  position: relative;
  overflow: hidden;
}
.training-cta-section::before {
  content: '';
  position: absolute;
  top: -60px;
  right: -60px;
  width: 300px;
  height: 300px;
  background: rgba(255, 255, 255, 0.04);
  border-radius: 50%;
}
.training-cta-section::after {
  content: '';
  position: absolute;
  bottom: -80px;
  left: -80px;
  width: 400px;
  height: 400px;
  background: rgba(255, 255, 255, 0.03);
  border-radius: 50%;
}
.training-cta-inner {
  position: relative;
  z-index: 1;
}
.training-cta-section h2 {
  font-size: 32px;
  font-weight: 700;
  color: #fff;
  margin-bottom: 16px;
  line-height: 1.35;
}
.training-cta-section p {
  font-size: 17px;
  color: rgba(255, 255, 255, 0.88);
  max-width: 600px;
  margin: 0 auto 40px;
  line-height: 1.7;
}
.cta-btn-group {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}
.btn-cta-white {
  display: inline-block;
  padding: 16px 44px;
  background: #fff;
  color: var(--brand, #1a5fa8);
  font-size: 16px;
  font-weight: 700;
  border-radius: 0;
  border: 2px solid #fff;
  transition: all 0.25s;
  letter-spacing: 0.3px;
}
.btn-cta-white:hover {
  background: rgba(255, 255, 255, 0.9);
  color: var(--brand-dark, #134980);
}
.btn-cta-outline-white {
  display: inline-block;
  padding: 16px 44px;
  background: transparent;
  color: #fff;
  font-size: 16px;
  font-weight: 700;
  border-radius: 0;
  border: 2px solid rgba(255, 255, 255, 0.7);
  transition: all 0.25s;
  letter-spacing: 0.3px;
}
.btn-cta-outline-white:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: #fff;
  color: #fff;
}

/* ================================================
   メディアクエリ
================================================ */
@media (max-width: 991px) {
  .training-hero h1 { font-size: 40px; }
  .training-hero .hero-lead { font-size: 16px; }
  .training-hero-stat .val { font-size: 34px; }
  .training-hero-stats { gap: 24px; }
  .curriculum-body { padding: 24px 24px; }
  .training-cta-section h2 { font-size: 26px; }
}

@media (max-width: 767px) {
  .training-hero { min-height: 100vh; }
  .training-hero-inner { padding: 120px 0 60px; }
  .training-hero h1 { font-size: 30px; }
  .training-hero .hero-lead { font-size: 15px; }
  .training-hero-stats { gap: 16px; margin-top: 40px; padding-top: 28px; }
  .training-hero-stat .val { font-size: 28px; }
  .training-hero-stat .lbl { font-size: 11px; }
  .training-hero-cta { flex-direction: column; align-items: center; }
  .strength-card { padding: 28px 20px; }
  .target-card { padding: 28px 20px; }
  .curriculum-body { padding: 20px 20px; }
  .curriculum-img { height: 180px; }
  .training-message-card { padding: 28px 24px; }
  .flow-step-body { padding: 16px 18px; }
  .training-results .r-val { font-size: 38px; }
  .training-cta-section { padding: 60px 0; }
  .training-cta-section h2 { font-size: 22px; }
  .btn-cta-white, .btn-cta-outline-white { padding: 14px 32px; font-size: 15px; }
  .cta-btn-group { flex-direction: column; align-items: center; }
  .curriculum-tabs .tab-btn { font-size: 12px; padding: 10px 16px; }
}

@media (max-width: 480px) {
  .training-hero h1 { font-size: 26px; }
  .training-hero-stats { flex-direction: row; flex-wrap: wrap; }
  .training-hero-stat { min-width: 120px; }
}
