/* =======================================
   自動車工業科ページ 固有トークン・スタイル
   共通の骨格（リセット・ヒーロー・ポイント枠組み等）は courses.css を参照
======================================= */
:root {
  --course-bg:      #edf7fd;
  --course-accent:  #00afec;
}

/* =======================================
   イントロ（三級自動車整備士 合格率100%!!）
======================================= */
.auto-intro {
  padding: 3.2rem 0 3.6rem;
}
.auto-intro__title {
  font-size: 1.9rem;
  font-weight: bold;
  color: var(--course-accent);
  margin-bottom: 1.6rem;
  line-height: 1.5;
}
@media (min-width: 768px) {
  .auto-intro__title { font-size: 2.4rem; }
}
.auto-intro__text {
  font-size: 1.5rem;
  font-weight: 600;
  line-height: 1.9;
}
.auto-intro__highlight {
  color: var(--course-accent);
  font-weight: bold;
}

/* =======================================
   ポイント（01 / 02 / 03）自動車工業科 固有部分
======================================= */
.auto-point__badge {
  width: 100%;
}
/* PC: 3枚横並び / SP: 1枚のみ */
.auto-point__photos {
  display: none;
}
.auto-point__photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  aspect-ratio: 3 / 2;
}
@media (min-width: 768px) {
  .auto-point__photos {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.6rem;
  }
  .auto-point__photos img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    aspect-ratio: 1 / 1;
  }
  .auto-point__photo { display: none; }
}

/* =======================================
   資格取得例
======================================= */
.auto-cert {
  padding: 0 0 3.2rem;
}
.auto-cert__box {
  border: 0.2rem solid var(--course-accent);
  border-radius: 1.2rem;
  overflow: hidden;
}
.auto-cert__heading {
  background-color: var(--course-accent);
  color: #fff;
  font-size: 1.7rem;
  font-weight: bold;
  text-align: center;
  padding: 1rem;
}
.auto-cert__list {
  padding: 1.6rem 2rem;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}
.auto-cert__list li {
  font-size: 1.4rem;
  font-weight: 600;
  line-height: 1.8;
  position: relative;
  padding-left: 1.4rem;
}
.auto-cert__list li::before {
  content: "・";
  position: absolute;
  left: 0;
}
@media (min-width: 768px) {
  .auto-cert__list {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0.6rem 2rem;
  }
}

/* =======================================
   低圧電気取扱作業特別教育講習
======================================= */
.auto-notice {
  padding: 0 0 4rem;
  text-align: center;
}
.auto-notice__box {
  display: inline-block;
  background-color: var(--course-accent);
  color: #fff;
  font-size: 1.8rem;
  font-weight: bold;
  padding: 0.5rem 2.4rem;
  border-radius: 0.4rem;
}
@media (min-width: 768px) {
  .auto-notice__box {
    font-size: 2.5rem;
    padding: 0.5rem 2.4rem;
  }
}

/* =======================================
   在校生の声
======================================= */
.auto-voice {
  padding: 0 0 4rem;
}
.auto-voice__layout {
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: flex-start;
  gap: 1.6rem;
  margin-bottom: 1.2rem;
}
@media (min-width: 768px) {
  .auto-voice__layout {
    flex-direction: row;
  }
}
.auto-voice__photo {
  width: 18rem;
  flex-shrink: 0;
}
.auto-voice__metabox {
  margin-top: 0rem;
}
.auto-voice__meta {
  padding-top: 4.8rem;
}
@media (min-width: 768px) {
  .auto-voice__metabox {
    margin-top: 2rem;
  }
  .auto-voice__meta {
    display: block;
    padding-top: 0.8rem;
  }
}
.auto-voice__label {
  height: 3.4rem;
  width: auto;
  margin-bottom: 0.4rem;
}
.auto-voice__name {
  font-size: 1.7rem;
  font-weight: bold;
  color: #333;
}
.auto-voice__text {
  font-size: 1.5rem;
  font-weight: 600;
  line-height: 1.9;
}
@media (min-width: 768px) {
  .auto-voice__layout { gap: 2.4rem; }
  .auto-voice__meta {
    display: flex;
    align-items: baseline;
    gap: 1.6rem;
  }
  .auto-voice__label {
    position: relative;
    top: 1.0rem;
    margin-bottom: 0;
  }
  .auto-voice__name {
    font-size: 1.8rem;
  }
  .auto-voice__photo { width: 20rem; }
  .auto-voice__label { height: 3.8rem; }
  .auto-voice__text { margin: 0.5rem 0 0 1.2rem; }
}

/* =======================================
   CTA バナー
======================================= */
.auto-cta {
  padding: 0 0 4rem;
}
.auto-cta__link {
  display: block;
  background-color: var(--course-accent);
  color: #fff;
  font-size: 1.6rem;
  font-weight: bold;
  text-align: center;
  padding: 1.6rem;
  border-radius: 0.4rem;
}
@media (min-width: 768px) {
  .auto-cta__link { font-size: 1.9rem; }
}

/* =======================================
   パンフレット
======================================= */
.auto-pamphlet {
  padding: 4rem 0 5rem;
  text-align: center;
}
.auto-pamphlet__cover {
  width: 100%;
  max-width: 24rem;
  margin: 0 auto 1.2rem;
}
.auto-pamphlet__caption {
  font-size: 1.4rem;
  font-weight: bold;
  margin-bottom: 1.6rem;
}
.auto-pamphlet__btn {
  display: inline-block;
  background-color: #fff;
  border: 0.15rem solid var(--course-accent);
  color: var(--course-accent);
  font-size: 1.4rem;
  font-weight: bold;
  padding: 0.8rem 2.4rem;
  border-radius: 0.3rem;
}
