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

/* =======================================
   イントロ（資格や検定だけでなく、進学にも強い!!）
======================================= */
.commerce-intro {
  padding: 3.2rem 0 3.6rem;
}
.commerce-intro__title {
  font-size: 1.9rem;
  font-weight: bold;
  color: var(--course-accent);
  line-height: 1.5;
}
@media (min-width: 768px) {
  .commerce-intro__title { font-size: 2.4rem; }
}

/* =======================================
   ポイント（01 / 02 / 03）商業科 固有部分
   見出しはテキスト入り画像（automotiveのh2画像と同じ構造）
======================================= */
.commerce-point__badge {
  width: 100%;
}

/* 本文 + 写真（PC: 横並び／SP: 縦並び） */
.commerce-point__body {
  display: flex;
  flex-direction: column;
}
.commerce-point__body .crs-point__text {
  order: 1;
}
.commerce-point__photo {
  order: 2;
  margin: 0 0 1.6rem;
}
.commerce-point__photo img {
  width: 100%;
  border-radius: 0.4rem;
}
@media (min-width: 768px) {
  .commerce-point__body {
    flex-direction: row;
    gap: 2.4rem;
    align-items: flex-start;
  }
  .commerce-point__body .crs-point__text {
    flex: 1;
    margin-bottom: 0;
  }
  .commerce-point__photo {
    width: 32rem;
    flex-shrink: 0;
    margin: 0;
  }
}

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

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