@charset "UTF-8";

.peppyPlusOneLogo {
  width: 300px;
  margin: 24px auto 48px;
}

.bookSection .bookArticle.Pa12 .bookH3Group .left.article1 {
  background-image: url("../images/course/bgBook15Pa.webp") !important;
  background-size: 100% auto !important;
  /* または cover */
  background-repeat: no-repeat !important;
  background-position: center !important;
  background-color: transparent !important;
}

.bookSection .bookArticle.Pa12 .bookH3Group .left.article1 h3 {
  color: #fff !important;
  /* 白文字で上書き */
}

/* 高校生コース：吹き出し見出しのライン色を統一 */
.SpeechBubbleLineH2.green::before,
.SpeechBubbleLineH2.green::after,
.SpeechBubbleLineH2.green h2::before,
.SpeechBubbleLineH2.green h2::after {
  background: #69D6DE !important;
  /* 好きなオレンジに変更 */
  border-color: #69D6DE !important;
  /* 念のため border系にも効かせる */
}

.SpeechBubbleLineH2.green h2 div {
  background: #69D6DE !important;
  border-color: #69D6DE !important;
}

.SpeechBubbleLineH2.green h2 div,
.SpeechBubbleLineH2.green h2 div::before {
  background: #69D6DE !important;
  border-color: #69D6DE !important;
}

.classArticle.green {
  /* background: url("../images/course/classArticle15Pa.webp") repeat-y !important; */
  background: #e0f6f8;
  background-size: 100% auto !important;
}

.classArticle.green .texGroup h4 {
  background-color: #69D6DE !important;
  /* ←お好みのオレンジに */
}

.classArticle .className {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px 12px;
  /* 上下・左右の隙間 */
}

.classArticle .plus1 {
  width: 220px;
  margin: 8px auto 15px;
}

/* 見た目調整 */
.classArticle .className .kangarooClass {
  text-align: center;
  white-space: nowrap;
}

.summarySection.green .texGroup dl div dt {
  background: #69D6DE !important;
  /* 明るめオレンジ */
}

.summarySection.green .texGroup dl div dd {
  background: #F1FEFF !important;
  /* 柔らかい薄オレンジ */
}

.classArticle.green .classCard .texGroup ul li::before {
  background: #69D6DE !important;
  /* オレンジ（見やすく温かみあり） */
}

.CourseDescription.green .curriculumSection aside {
  background: #F1FEFF !important;
  /* 明るめの赤（目立つけどきつすぎない） */
}

.label {
  background: #69D6DE !important;
  /* 明るめの赤 */
  color: #F1FEFF !important;
  /* 白文字 */
}

.introBox {
  font-size: 13px;
  font-weight: 600;
  line-height: 1.8;
  border-radius: 4px;
  /* 角を少し丸める */
  margin: 15px 0;
  /* 上下の間隔 */
}

/* 例：course_c_atypical.css などページ専用CSSの“最後”に */
.classArticle.green header .className p.kangarooClass {
  color: #69D6DE;
  /* 変えたい色 */
}

/* 見出しまわり：線や下余白を完全に無効化 */
.classArticle header {
  border-bottom: none !important;
}

.classArticle header::before,
.classArticle header::after {
  content: none !important;
  display: none !important;
}

.classArticle header h3.className {
  border: 0 !important;
  margin-bottom: 0 !important;
  padding-bottom: 0 !important;
}

.classArticle header h3.className::before,
.classArticle header h3.className::after {
  content: none !important;
  display: none !important;
}

/* ラベルの親：グリッドで統一（旧 flex 指定を殺す） */
.classArticle .className {
  display: grid !important;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  column-gap: 16px;

  /* 念のため古い指定を上書きで無効化 */
  flex-wrap: unset !important;
  justify-content: unset !important;
  align-content: start;
}

/* ラベル（p）は段落の既定マージンが出るのでゼロに */
.classArticle .className .kangarooClass {
  display: block;
  /* baseline のズレ防止 */
  margin: 0 !important;
  /* ←これ重要 */
  align-self: start;
}

/* 1段目だけ2カラムずつ、2段目は1カラムずつ */
.classArticle .className .kangarooClass:nth-child(1) {
  grid-column: 1;
  grid-row: 1;
}

.classArticle .className .kangarooClass:nth-child(2) {
  grid-column: 2;
  grid-row: 1;
}

.classArticle .className .kangarooClass:nth-child(3) {
  grid-column: 3;
  grid-row: 1;
}

.classArticle .className .kangarooClass:nth-child(4) {
  grid-column: 1;
  grid-row: 2;
}

.classArticle .className .kangarooClass:nth-child(5) {
  grid-column: 2;
  grid-row: 2;
}

.classArticle .className .kangarooClass:nth-child(6) {
  grid-column: 3;
  grid-row: 2;
}

.classArticle .className .kangarooClass:nth-child(7) {
  grid-column: 4;
  grid-row: 2;
}

/* 各ステップ行 */
.stepTtl {
  position: relative;
  color: #69D6DE;
  /* 水色 */
  font-weight: 700 !important;
  font-size: 15px;
  line-height: 1.6;
  margin: 8px 0 8px 20px;
  /* 左に少しスペース */
  letter-spacing: 0.03em;
}

/* 左のドット ● */
.stepTtl::before {
  content: "●";
  color: #69D6DE;
  position: absolute;
  left: -18px;
  /* ドットの位置調整 */
  top: 8px;
  font-size: 7px;
}

/* テキストグループ内の見出し・説明文は共通pのmarginをリセット */
.texGroup p.stepTtl,
.texGroup p.stepDesc {
  margin: 0 0 0px 20px !important;
}

.stepDesc {
  font-size: 100%;
  font-weight: normal !important;
  /* ← 太字強制 */
  line-height: 1.8;
  margin: 0 0 0 40px;
  /* 青見出しとインデント合わせ */
}

.classArticle header .className p {
  min-width: auto;
  display: inline-block;
  padding: 1px 15px;
  width: auto;
}

.page-template-course-atypical-0 .btn-search {
  display: none;
}

/* commentSection ------------------ */
.commentSection.green { background: #F1FEFF;}

.commentSection.green article .texGroup p:last-of-type{ color: #437CE0; }


.commentSection.green .texGroup b{ color: #437CE0; }
/* commentSection end ------------------ */

@media screen and (min-width: 768px) {
  .classArticle .classCard {
    align-items: center;
  }
  .peppyPlusOneLogo {
    width: 400px;
    margin-top: 48px;
  }
  .classArticle .plus1 {
    width: 320px;
    margin: 12px auto;
  }
}