/* ===================================================
   案件体験型研修  CSS  prefix: jd-
   =================================================== */

/* ---------- Hero ---------- */
.jd-hero {
  position: relative;
  background: linear-gradient(135deg, #1A5299 0%, #2D6BB8 50%, #3A7BC8 100%);
  color: #fff;
  padding: 140px 20px 60px;
  text-align: center;
  overflow: hidden;
}
.jd-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.04'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}
.jd-hero__inner {
  position: relative;
  max-width: 860px;
  margin: 0 auto;
}
.jd-hero__badge {
  display: inline-block;
  background: rgba(255,255,255,0.15);
  border: 1px solid rgba(255,255,255,0.4);
  color: #fff;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  padding: 5px 16px;
  border-radius: 20px;
  margin-bottom: 20px;
  text-transform: uppercase;
}
.jd-hero__training-name {
  font-size: clamp(2rem, 5.5vw, 3.6rem);
  font-weight: 900;
  line-height: 1.2;
  letter-spacing: 0.04em;
  margin-bottom: 16px;
  color: #fff;
  text-shadow: 0 2px 12px rgba(0,0,0,0.3);
  border-left: 5px solid #ffd166;
  padding-left: 20px;
  text-align: left;
}
.jd-hero__title {
  font-size: clamp(1rem, 2.5vw, 1.4rem);
  font-weight: 700;
  line-height: 1.5;
  margin-bottom: 20px;
  opacity: 0.85;
  text-align: left;
  padding-left: 25px;
}
.jd-hero__title em {
  font-style: normal;
  color: #ffd166;
}
.jd-hero__sub {
  font-size: clamp(0.9rem, 2vw, 1.05rem);
  line-height: 1.8;
  opacity: 0.9;
  max-width: 680px;
  margin: 0 0 32px;
  text-align: left;
}
.jd-hero__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
}
.jd-hero__tags-break {
  flex-basis: 100%;
  height: 0;
}
.jd-hero__tag {
  background: rgba(255,255,255,0.15);
  border: 1px solid rgba(255,255,255,0.35);
  color: #fff;
  font-size: 0.78rem;
  padding: 5px 14px;
  border-radius: 14px;
}

/* ---------- Section common ---------- */
.jd-section {
  padding: 72px 20px;
}
.jd-section--gray {
  background: #f8faf8;
}
.jd-section--dark {
  background: linear-gradient(135deg, #1A5299 0%, #2D6BB8 100%);
  color: #fff;
}
.jd-section__inner {
  max-width: 900px;
  margin: 0 auto;
}
.jd-section__eyebrow {
  text-align: center;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  color: #1e8449;
  text-transform: uppercase;
  margin-bottom: 10px;
}
.jd-section--dark .jd-section__eyebrow {
  color: #ffd166;
}
.jd-section__title {
  text-align: center;
  font-size: clamp(1.4rem, 3.5vw, 2rem);
  font-weight: 900;
  color: #0a2e1a;
  margin-bottom: 12px;
  line-height: 1.35;
}
.jd-section--dark .jd-section__title {
  color: #fff;
}
.jd-section__lead {
  text-align: center;
  font-size: 0.97rem;
  color: #555;
  line-height: 1.8;
  max-width: 680px;
  margin: 0 auto 48px;
}
.jd-section--dark .jd-section__lead {
  color: rgba(255,255,255,0.85);
}

/* ---------- Problem ---------- */
.jd-problem__cols {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
}
@media (max-width: 640px) {
  .jd-problem__cols { grid-template-columns: 1fr; }
}
.jd-problem__col {
  background: #fff;
  border-radius: 14px;
  padding: 28px 24px;
  box-shadow: 0 2px 16px rgba(0,0,0,0.07);
}
.jd-problem__col-title {
  font-size: 0.82rem;
  font-weight: 700;
  color: #1e8449;
  letter-spacing: 0.08em;
  margin-bottom: 14px;
  padding-bottom: 10px;
  border-bottom: 2px solid #d4edda;
}
.jd-problem__list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.jd-problem__list li {
  display: block;
  background: #f8fdf9;
  border-left: 3px solid #e74c3c;
  border-radius: 6px;
  padding: 10px 14px;
  font-size: 0.92rem;
  color: #333;
  line-height: 1.6;
}
.jd-problem__list li strong {
  display: block;
  font-size: 0.82rem;
  font-weight: 700;
  color: #c0392b;
  letter-spacing: 0.04em;
  margin-bottom: 3px;
}
.jd-problem__list li span {
  display: block;
  color: #444;
}

/* ---------- Feature cards ---------- */
.jd-feature__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
@media (max-width: 768px) {
  .jd-feature__grid { grid-template-columns: 1fr; }
}
.jd-feature__card {
  background: #fff;
  border-radius: 16px;
  padding: 32px 24px 28px;
  box-shadow: 0 4px 24px rgba(0,0,0,0.08);
  text-align: center;
  border-top: 4px solid #1e8449;
}
.jd-feature__num {
  font-size: 0.72rem;
  font-weight: 700;
  color: #1e8449;
  letter-spacing: 0.1em;
  margin-bottom: 10px;
}
.jd-feature__icon {
  font-size: 2.4rem;
  margin-bottom: 14px;
}
.jd-feature__card-title {
  font-size: 1rem;
  font-weight: 800;
  color: #0a2e1a;
  margin-bottom: 12px;
  line-height: 1.4;
}
.jd-feature__card-text {
  font-size: 0.88rem;
  color: #555;
  line-height: 1.75;
}

/* ---------- Tech Stack ---------- */
.jd-tech__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin-bottom: 40px;
}
.jd-tech__item {
  background: rgba(255,255,255,0.12);
  border: 1px solid rgba(255,255,255,0.25);
  border-radius: 12px;
  padding: 20px 16px;
  text-align: center;
  color: #fff;
}
.jd-tech__item i {
  font-size: 1.8rem;
  margin-bottom: 8px;
  display: block;
  color: #ffd166;
}
.jd-tech__item-name {
  font-size: 0.85rem;
  font-weight: 700;
}
.jd-tech__item-desc {
  font-size: 0.75rem;
  opacity: 0.75;
  margin-top: 4px;
}

.jd-system__box {
  background: rgba(255,255,255,0.1);
  border: 1px solid rgba(255,255,255,0.25);
  border-radius: 14px;
  padding: 28px 32px;
  text-align: center;
}
.jd-system__box-title {
  font-size: 0.78rem;
  font-weight: 700;
  color: #ffd166;
  letter-spacing: 0.12em;
  margin-bottom: 8px;
}
.jd-system__box-name {
  font-size: 1.25rem;
  font-weight: 800;
  color: #fff;
  margin-bottom: 10px;
}
.jd-system__box-desc {
  font-size: 0.9rem;
  opacity: 0.85;
  line-height: 1.7;
}

/* ---------- Curriculum ---------- */
.jd-curriculum__timeline {
  display: grid;
  gap: 20px;
}
.jd-curriculum__phase {
  background: #fff;
  border-radius: 14px;
  padding: 28px 28px 24px;
  box-shadow: 0 2px 16px rgba(0,0,0,0.07);
  border-left: 5px solid #1e8449;
  display: grid;
  grid-template-columns: 160px 1fr;
  gap: 20px;
  align-items: start;
}
@media (max-width: 600px) {
  .jd-curriculum__phase { grid-template-columns: 1fr; }
}
.jd-curriculum__phase-week {
  font-size: 0.8rem;
  font-weight: 700;
  color: #1e8449;
  letter-spacing: 0.05em;
  margin-bottom: 4px;
}
.jd-curriculum__phase-title {
  font-size: 1rem;
  font-weight: 800;
  color: #0a2e1a;
  line-height: 1.35;
}
.jd-curriculum__phase-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.jd-curriculum__phase-list li {
  background: #eafbee;
  color: #145a32;
  font-size: 0.8rem;
  font-weight: 600;
  padding: 4px 12px;
  border-radius: 20px;
}

.jd-curriculum__bonus {
  margin-top: 24px;
  background: #fff8e1;
  border: 1px solid #ffc107;
  border-radius: 14px;
  padding: 22px 24px;
  display: flex;
  gap: 16px;
  align-items: center;
}
.jd-curriculum__bonus i {
  font-size: 2rem;
  color: #f39c12;
  flex-shrink: 0;
}
.jd-curriculum__bonus-text {
  font-size: 0.92rem;
  color: #333;
  line-height: 1.7;
}
.jd-curriculum__bonus-text strong {
  display: block;
  font-size: 1rem;
  color: #0a2e1a;
  margin-bottom: 4px;
}

/* ---------- Skill Sheet ---------- */
.jd-skillsheet {
  background: #fff;
  border-radius: 16px;
  padding: 36px 32px;
  box-shadow: 0 4px 24px rgba(0,0,0,0.09);
}
.jd-skillsheet__title {
  font-size: 1.1rem;
  font-weight: 800;
  color: #0a2e1a;
  margin-bottom: 20px;
  text-align: center;
}
.jd-skillsheet__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 14px;
}
.jd-skillsheet__item {
  background: #f8faf8;
  border-radius: 10px;
  padding: 14px 16px;
}
.jd-skillsheet__item-name {
  font-size: 0.82rem;
  font-weight: 700;
  color: #333;
  margin-bottom: 6px;
}
.jd-skillsheet__bar-wrap {
  height: 6px;
  background: #dde;
  border-radius: 3px;
  overflow: hidden;
}
.jd-skillsheet__bar {
  height: 100%;
  background: linear-gradient(90deg, #1e8449, #27ae60);
  border-radius: 3px;
}
.jd-skillsheet__score {
  font-size: 0.72rem;
  color: #1e8449;
  font-weight: 700;
  text-align: right;
  margin-top: 3px;
}
.jd-skillsheet__note {
  margin-top: 18px;
  font-size: 0.83rem;
  color: #666;
  text-align: center;
  line-height: 1.7;
}

/* ---------- Voices ---------- */
.jd-voices__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 24px;
}
.jd-voice__card {
  background: #fff;
  border-radius: 16px;
  padding: 28px 24px;
  box-shadow: 0 2px 16px rgba(0,0,0,0.08);
  border-top: 4px solid #1e8449;
}
.jd-voice__quote {
  font-size: 0.93rem;
  color: #333;
  line-height: 1.8;
  margin-bottom: 16px;
  font-style: italic;
}
.jd-voice__quote::before {
  content: '"';
  color: #1e8449;
  font-size: 1.6rem;
  font-style: normal;
  line-height: 0;
  vertical-align: -0.3em;
  margin-right: 2px;
}
.jd-voice__author {
  font-size: 0.8rem;
  color: #777;
  font-weight: 600;
}
.jd-voice__author strong {
  display: block;
  font-size: 0.85rem;
  color: #333;
  margin-bottom: 2px;
}

/* ---------- CTA ---------- */
.jd-cta {
  background: linear-gradient(135deg, #0a2e1a 0%, #1e8449 100%);
  padding: 72px 20px;
  text-align: center;
  color: #fff;
}
.jd-cta__title {
  font-size: clamp(1.4rem, 3.5vw, 2rem);
  font-weight: 900;
  margin-bottom: 16px;
  line-height: 1.4;
}
.jd-cta__sub {
  font-size: 0.97rem;
  opacity: 0.88;
  line-height: 1.8;
  margin-bottom: 36px;
  max-width: 620px;
  margin-left: auto;
  margin-right: auto;
}
.jd-cta__btn {
  display: inline-block;
  background: #fff;
  color: #1e8449;
  font-size: 1rem;
  font-weight: 800;
  padding: 16px 48px;
  border-radius: 50px;
  text-decoration: none;
  transition: transform 0.2s, box-shadow 0.2s;
  box-shadow: 0 4px 20px rgba(0,0,0,0.25);
}
.jd-cta__btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 28px rgba(0,0,0,0.3);
  color: #145a32;
}

/* ── グローバルヘッダー（ヒーロー背景と統一） ── */
@media (min-width: 751px) {
  .PageTop__back {
    background: linear-gradient(135deg, #0a2e1a 0%, #145a32 40%, #1e8449 75%, #27ae60 100%) !important;
  }
  .PageTop__back .header .header-band {
    background-color: transparent !important;
    box-shadow: none !important;
    border-bottom-color: rgba(255,255,255,0.2) !important;
  }
  .PageTop__back .global-nav__list > li > a {
    color: #ffffff !important;
  }
  .PageTop__back .nav li.current,
  .PageTop__back ul.global-nav__list li.now_here {
    border-bottom-color: rgba(255,255,255,0.5) !important;
  }
  .PageTop__back .nav li.current > a,
  .PageTop__back ul.global-nav__list li.now_here > a {
    color: #ffffff !important;
  }
  .PageTop__back .header .logo img {
    filter: brightness(0) invert(1);
  }
  /* スクロール後：白背景・ダークテキストに戻す */
  .PageTop__back .header.fixed .header-band {
    background-color: #ffffff !important;
    box-shadow: 0 2px 14px rgba(11, 31, 56, 0.10) !important;
    border-bottom-color: #0b1f38 !important;
  }
  .PageTop__back .header.fixed .global-nav__list > li > a {
    color: #1c2b3a !important;
  }
  .PageTop__back .header.fixed .nav li.current,
  .PageTop__back .header.fixed ul.global-nav__list li.now_here {
    border-bottom-color: #1a5fa8 !important;
  }
  .PageTop__back .header.fixed .nav li.current > a,
  .PageTop__back .header.fixed ul.global-nav__list li.now_here > a {
    color: #1a5fa8 !important;
  }
  .PageTop__back .header.fixed .logo img {
    filter: none;
  }
}
@media (max-width: 750px) {
  .header .header-band {
    background: linear-gradient(135deg, #0a2e1a 0%, #145a32 40%, #1e8449 75%, #27ae60 100%) !important;
  }
}
