/* ============================================================
   法人向けデータマネジメント研修 LP - style.css
   ============================================================ */

/* ---------- Design tokens ---------- */
:root {
  --color-main: #0891A6;
  --color-main-dark: #0A5568;
  --color-navy: #0C3540;
  --color-navy-light: #18687E;
  --color-cta: #C4643D;
  --color-tag-bg: #DFF4F7;
  --color-section-alt: #F2FAFB;
  --color-release-bg: #E7EEF1;
  --color-highlight: #C2EBF0;
  --color-checklist-bg: #B7CBD3;
  --color-title: #1A2733;
  --color-body: #0C3540;
  --color-border: #D9E4EC;
  --color-white: #FFFFFF;

  --font-body: "Noto Sans JP", "Hiragino Kaku Gothic ProN", "Yu Gothic", sans-serif;

  --fs-body: 14px;
  --fs-small: 12px;
  --fs-lead: 16px;
  --fs-card-title: 18px;
  --fs-section-title: 24px;
  --fs-hero-title: 32px;

  --section-pad-y: 80px; 
  --content-max: 1140px;
}




/* ---------- Reset ---------- */
* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: var(--fs-body);
  line-height: 1.8;
  color: var(--color-body);
  background: var(--color-white);
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, p, ul, ol, dl, dd {
  margin: 0;
  padding: 0;
}

ul {
  list-style: none;
}

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

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

.dm_container {
  max-width: var(--content-max);
  margin: 0 auto;
}

/* ---------- Section base ---------- */
.main_section {
 margin: 0 auto;
}

main{padding-top: 108px;}

.section--white   { background: var(--color-white); }
.section--alt     { background: var(--color-section-alt); }
.section--release { background: var(--color-release-bg); }
.section--dark    { background: var(--color-navy-light); }
.section--footer  { background: var(--color-navy); }
.section--footer  { background: var(--color-navy); }

.section-title {
  font-weight: 700;
  color: var(--color-title);
  text-align: center;
  letter-spacing: 0.02em;
}

.section-title_sub {
  font-weight: 700;
  color: var(--color-main);
  text-align: center;
  letter-spacing: 0.02em;
}

.section-lead {
  color: var(--color-body);
  max-width: 980px;
  margin: 24px auto 0;
  text-align: left;
}

.section--dark .section-title,
.section--footer .section-title {
  color: var(--color-white);
}

.section-box {
  max-width: 980px;
  margin: 0 auto;
  padding: 20px 40px;
}

.section-box__title {
  font-weight: 700;
  color: var(--color-title);
  margin-bottom: 16px;
}

.section-box li {
  color: var(--color-title);
  padding-left: 1.1em;
  text-indent: -1.1em;
  margin-bottom: 6px;
}

.section-box li::before {
  content: "・";
}

.eyebrow {
  display: inline-block;
  border-radius: 6px;
}

.eyebrow span{
  display: block;
  background: var(--color-white);
  padding: 8px 16px;
  font-weight: 500 !important;
  color: var(--color-title);
}

/* ============================================================
   HERO
   ============================================================ */
.hero {
  position: relative;
  overflow: hidden;
  background: linear-gradient(120deg, #E9F8F6 0%, #BFE3E8 100%);
  border-bottom: 4px solid var(--color-navy);
}

.hero__pattern {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: 0.35;
  pointer-events: none;
}

.hero .dm_container{
  position: relative;
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 48px;
  align-items: top;
  width: 98%;
  margin: 0 auto;
}

.hero__top-row {
  display: flex;
  align-items: top;
  gap: 20px;
  flex-wrap: wrap;
  margin-bottom: 28px;
  justify-content: space-between;
}

.hero__badges {
  display: flex;
  align-items: center;
  justify-content: space-between;
}


.hero__badges img {
  max-width: 350px;
}

.hero__title {
  font-weight: 700;
  color: var(--color-title);
  line-height: 1.5;
  margin-bottom: 20px;
}

.hero__lead {
  color: var(--color-body);
  margin-bottom: 32px;
}

.hero__ctas {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  justify-content: flex-start;
}


.hero__media {
  position: relative;
}

.hero__media img {
  width: 100%;
  height: auto;
  border: 1.5px solid var(--color-main);
  box-shadow: 0 20px 40px rgba(12, 53, 64, 0.15);
}

/* ---------- Buttons ---------- */
/*.btn {
  display: flex;
  flex-direction: column;
  align-items: center;
  min-width: 210px;
  padding: 6px 28px;
  border-radius: 8px;
  font-weight: 700;
  text-align: center;
  cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}
  */

.btn {
  display: flex;
  flex-direction: column;
  align-items: center;
  min-width: 350px;
  padding: 6px 28px;
  border-radius: 8px;
  font-weight: 700;
  text-align: center;
  cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 16px rgba(12, 53, 64, 0.15);
}

.btn__sub1 {
  display: block;
  margin-top: 6px;
  padding-top: 6px;
  border-top: 1px solid  var(--color-white);
  width: 100%;
  color: var(--color-white);
}


.btn__sub2 {
  display: block;
  margin-top: 6px;
  padding-top: 6px;
  border-top: 1px solid  var(--color-main);
  width: 100%;
  color: var(--color-main-dark);
}

.btn--primary {
  background: var(--color-cta);
  color: var(--color-white) !important;
  border: 2px solid var(--color-white);
}

.btn--secondary {
  background: var(--color-white);
  color: var(--color-main-dark) !important;
  border: 2px solid var(--color-main);
}

/* ============================================================
   ABOUT (データマネジメント研修とは)
   ============================================================ */
.about__lead {
  max-width: 960px;
  margin: 0 auto;
}

.flow-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
}

.flow-card {
  background: var(--color-tag-bg);
  border: 1px solid var(--color-main);
  border-radius: 24px;
  padding: 40px 32px;
}

.flow-card__title {
  font-weight: 700;
  color: var(--color-title);
  text-align: center;
  margin-bottom: 24px;
}

.flow-steps {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  margin-bottom: 20px;
}

.flow-step {
  flex: 0 1 auto;
  min-width: 88px;
  background: var(--color-main);
  color: var(--color-white);
  font-weight: 700;
  text-align: center;
  border-radius: 6px;
  padding: 10px 20px;
}

.flow-arrow {
  display: block;
  flex: 0 0 auto;
  width: 80px;
  height: 40px;
  color: var(--color-cta);
}

.flow-items {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-bottom: 20px;
}

.flow-item {
  text-align: center;
}

.flow-item__box {
  background: var(--color-white);
  border: 1px solid var(--color-main);
  border-radius: 4px;
  padding: 14px 10px;
  font-weight: 700;
  color: var(--color-main);
  margin-bottom: 10px;
  line-height: 1.7;
}

.flow-item__desc {
  color: var(--color-body);
}

.flow-note {
  background: var(--color-navy);
  color: var(--color-white);
  border-radius: 10px;
  padding: 20px 24px;
  line-height: 1.7;
}

.flow-note strong {
  display: block;
  font-weight: 700;
  margin-bottom: 4px;
}

/* ============================================================
   PROBLEM (課題)
   ============================================================ */
.problem__lead {
  max-width: 960px;
  margin: 0 auto;
}

.problem__sub {
  font-weight: 700;
  color: var(--color-main);
  text-align: center;
  margin-bottom: 24px;
}

.checklist-box {
  background: var(--color-checklist-bg);
  padding: 40px 48px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px 48px;
  margin-bottom: 48px;
}

.checklist-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  color: var(--color-title);
}

.checklist-item img {
  width: 22px;
  height: 22px;
  flex: 0 0 auto;
  margin-top: 8px;
}

.problem__closing {
  font-weight: 700;
  color: var(--color-title);
  text-align: center;
}

/* ============================================================
   EXAM SERVICE (試験対策サービス + ラインナップ図)
   ============================================================ */
.exam-service__lead {
  max-width: 960px;
  margin: 0 auto;
}

.exam-service__lead p + p {
  margin-top: 16px;
}

.exam-service__diagram {
  text-align: center;
}

.exam-service__diagram img {
  margin: 0 auto;
  max-width: 900px;
  width: 100%;
}

/* ============================================================
   RELEASE (リリース時期)
   ============================================================ */
.release__title {
  color: var(--color-cta);
  font-weight: 700;
  text-align: center;
}

.release-list {
  max-width: 860px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 40px;
}

.release-item {
  display: grid;
  grid-template-columns: 160px 1fr;
  gap: 24px;
  align-items: start;
}

.release-item__date {
  font-weight: 700;
  color: var(--color-title);
  margin-top: 3px;
}

.release-item__title {
  font-weight: 700;
  color: var(--color-title);
  margin-bottom: 6px;
}

.release-item__desc {
  color: var(--color-body);
}

/* ============================================================
   TRAINING PROGRAM (実践研修プログラム)
   ============================================================ */
.training__lead {
  max-width: 960px;
  margin: 0 auto;
}

.training__note {
  max-width: 960px;
  margin: 12px auto 48px;
  color: var(--color-cta);
  font-weight: 700;
}

.feature-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  margin-bottom: 48px;
}

.feature-card {
  background: var(--color-white);
  border-radius: 12px;
  padding: 32px;
}

.feature-card__label {
  color: var(--color-main);
  font-weight: 700;
  margin-bottom: 12px;
}

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

.feature-card__desc {
  color: var(--color-body);
}

.recommend-box {
  background: var(--color-highlight);
  padding: 32px 40px;
  margin-bottom: 48px;
}

.recommend-box__title {
  font-weight: 700;
  color: var(--color-title);
  margin-bottom: 16px;
}

.recommend-box li {
  color: var(--color-title);
  padding-left: 1.1em;
  text-indent: -1.1em;
  margin-bottom: 6px;
}

.recommend-box li::before {
  content: "・";
}

.overview-box {
  background: var(--color-white);
  border: 2px solid var(--color-main);
  padding: 40px 48px;
}

.overview-box__title {
  font-weight: 700;
  color: var(--color-title);
  margin-bottom: 8px;
}

.overview-box__title span {
  color: var(--color-cta);
  font-weight: 700;
  margin-left: 8px;
}

.overview-list dt,
.overview-list dd {
  color: var(--color-title);
}

.overview-row {
  display: grid;
  grid-template-columns: 160px 1fr;
  gap: 16px;
  padding: 16px 0;
  border-bottom: 1px solid var(--color-main);
}

.overview-row:first-of-type {
  border-top: 1px solid var(--color-main);
}

.overview-row dt {
  font-weight: 500;
}

.overview-row dd {
  font-weight: 500;
}

/* ============================================================
   REASONS (アイテックが選ばれる理由)
   ============================================================ */
.reasons-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-top: 48px;
}

.reason-card {
  background: var(--color-white);
  border-radius: 10px;
  overflow: hidden;
}

.reason-card__label {
  width: 90%;
  background: var(--color-navy-light);
  color: var(--color-white);
  font-weight: 700;
  margin: 20px auto 0;
  padding: 10px 16px;
}

.reason-card__body {
  padding: 0px 16px 38px;
  margin: 20px auto 0;
}

.reason-card__title {
  color: var(--color-cta);
  font-weight: 700;
  line-height: 1.6;
  margin-bottom: 12px;
}

.reason-card__desc {
  color: var(--color-body);
  line-height: 1.7;
}

/* ============================================================
   FAQ (よくある質問)
   ============================================================ */
.faq-section {
  padding: initial;
}

.faq-list {
  max-width: 720px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.faq-item {
  background: #FFFFFF;
  border-top: 1px solid var(--color-body);
  overflow: hidden;
}

.faq-item__q {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 18px 20px;
  background: none;
  border: none;
  cursor: pointer;
  text-align: left;
  font-family: inherit;
  line-height: 1.7;
  font-weight: 500;
  color: var(--color-title);
}

.faq-item__icon {
  flex: none;
  width: 18px;
  height: 18px;
  position: relative;
}
.faq-item__icon::before,
.faq-item__icon::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  background: #0891A6;
  transform: translate(-50%, -50%);
  transition: transform 0.2s ease;
}
.faq-item__icon::before { width: 12px; height: 2px; }
.faq-item__icon::after  { width: 2px;  height: 12px; }

.faq-item__q[aria-expanded="true"] .faq-item__icon::after {
  transform: translate(-50%, -50%) rotate(90deg);
  opacity: 0; /* +→−に変化 */
}

.faq-item__a {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.25s ease;
}

.faq-item__a p {
  margin: 0;
  padding: 0 20px 18px;
  line-height: 1.7;
  color: #5F7688;
}

/* ============================================================
   CONTACT / FOOTER CTA
   ============================================================ */
.contact__ctas {
  display: flex;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
  margin-top: 40px;
}

/* ============================================================
   Responsive
   ============================================================ */

   
@media screen and (max-width: 1100px){

main{padding-top:98px;}

  .hero {
  padding-top: 98px;
}


.hero__ctas {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  justify-content: flex-start;
}


.hero__top-row {
  display: flex;
  align-items: top;
  gap: 20px;
  flex-wrap: wrap;
  margin-bottom: 28px;
  justify-content: flex-start;
}

.hero__badges {
  display: flex;
  align-items: center;
  justify-content: flex-start;
}

.btn {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: initial;
  min-width: 200px;
  padding: 6px 28px;
  border-radius: 8px;
  font-weight: 700;
  text-align: center;
  cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.release__title {
  color: var(--color-cta);
  font-weight: 700;
  text-align: center;
}
}

@media (max-width: 860px) {
  :root {
    --section-pad-y: 56px;
    --fs-hero-title: 26px;
    --fs-section-title: 20px;
  }

  .hero .dm_container {
    grid-template-columns: 1fr;
  }

    .hero__badges{
      display: block;
      text-align: center;
}

  .hero__badges img{
      display: block;
      max-width: 250px;
      text-align: center;
}

  .hero__media {
    order: -1;
  }

  .flow-grid,
  .feature-grid,
  .checklist-box {
    grid-template-columns: 1fr;
  }

  .flow-items {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-bottom: 20px;
}

.flow-note {
  background: var(--color-navy);
  color: var(--color-white);
  border-radius: 10px;
  padding: 20px 24px;
  line-height: 1.7;
  text-align: center;
}

  .reasons-grid {
    grid-template-columns: 1fr 1fr;
  }

  .release-item,
  .overview-row {
  grid-template-columns: 1fr;
  }

  .btn__sub1 {
  display: block;
  margin-top: 6px;
  padding-top: 6px;
  border-top: 1px solid  var(--color-white);
  width: 100%;
  color: var(--color-white);
 }

 .btn__sub2 {
  display: block;
  margin-top: 6px;
  padding-top: 6px;
  border-top: 1px solid  var(--color-main);
  width: 100%;
  color: var(--color-main-dark);
  }

 .btn--primary {
  background: var(--color-cta);
  color: var(--color-white) !important;
  border-color: var(--color-white) ;
 }

 .btn--secondary {
  background: var(--color-white);
  color: var(--color-main-dark) !important;
  border-color: var(--color-main);
 }

}

@media (max-width: 520px) {
  main{padding-top:88px;}

  .btn {
    min-width: 0;
    width: 100%;
  }

  .hero__ctas,
  .contact__ctas {
    flex-direction: column;
  }

  .reasons-grid {
    display: block;
    margin-bottom: 30px;
  }

  .recommend-box {
  background: var(--color-highlight);
  padding:20px;
  margin: 20px auto 48px;
  }

  .recommend-box li {
  }

  .reason-card {
  background: var(--color-white);
  border-radius: 10px;
  overflow: hidden;
  margin-bottom: 30px;
  }
 
  .reason-card__body {
  width: 90%;
  padding: 0px 16px 20px;
  margin: 20px auto 0;
  }
}
