

  /* content コンテナ */
.content {
  padding: 0px 0 105px;
}

/* contentBox */
.content .contentBox {
  padding: 40px 56px;
  background-color: #ffffff;
}

/* teachingMaterials セクション（カテゴリ間の余白など） */
.content .contentBox .teachingMaterials .teachingMaterials__category:not(:last-child) {
  margin-bottom: 120px;
}

/* カテゴリ見出し（今回はHTMLに h3 は無いが、カテゴリブロック内の規定として記録） */
.content .contentBox .teachingMaterials .teachingMaterials__category h3 {
  background-color: #dfecfd;
  font-size: 28px;
  font-weight: 600;
  padding: 15px;
  margin-bottom: 30px;
}

/* teachingMaterials__box の下マージン */
.content .contentBox .teachingMaterials .teachingMaterials__category .teachingMaterials__box:not(:last-child) {
  margin-bottom: 45px;
}

/* box 内フレックスレイアウト */
.content .contentBox .teachingMaterials .teachingMaterials__category .teachingMaterials__box .flexBox {
  display: flex;
  justify-content: space-between;
}

/* 右側テキスト領域幅 */
.content .contentBox .teachingMaterials .teachingMaterials__category .teachingMaterials__box .flexBox .textBox {
  width: 100%;
  display: flex;
  -webkit-justify-content: space-between;
    justify-content: space-between;
}

/* 小見出し（h5） */
.content .contentBox .teachingMaterials .teachingMaterials__category
  .teachingMaterials__box .flexBox .textBox h5 {
  font-size: 22px;
  font-weight: 600;
  line-height: 1;
}

/* テキストボックス直下の各ブロックの区切り線・余白 */
.content .contentBox .teachingMaterials .teachingMaterials__category
  .teachingMaterials__box .flexBox .textBox > div {
  border-left: 4px solid #155daf;
}
.content .contentBox .teachingMaterials .teachingMaterials__category
  .teachingMaterials__box .flexBox .textBox > div:first-child {
  padding-top: 0;
}
.content .contentBox .teachingMaterials .teachingMaterials__category
  .teachingMaterials__box .flexBox .textBox > div:last-child {
  padding-bottom: 0;
}

/* PDF 行：左右配置 */
.content .contentBox .teachingMaterials .teachingMaterials__category
  .teachingMaterials__box .flexBox .textBox .pdf {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

/* PDF 行の見出しの右余白 */
.content .contentBox .teachingMaterials .teachingMaterials__category
  .teachingMaterials__box .flexBox .textBox .pdf h5 {
  width: 200px;
  padding-left: 1.0rem;
}

/* ボタンリストの横並び・幅 */
.content .contentBox .teachingMaterials .teachingMaterials__category
  .teachingMaterials__box .flexBox .textBox .pdf .btn-list {
  display: flex;
  min-width: 276px;
  justify-content: space-between;
  padding: 1.0rem;
}

/* 個別ボタン（PDF版・Word版） */
.content .contentBox .teachingMaterials .teachingMaterials__category
  .teachingMaterials__box .flexBox .textBox .pdf .btn-list a {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 130px;
  height: 36px;
  border-radius: 36px;
  font-size: 16px;
  font-weight: 600;
  padding-top: 2px;
  color: #ffffff;
  background-color: #155daf;
  border: 2px solid #155daf;
  margin-right: 0;
  margin-left: auto;
}
@media (max-width: 750px) {
  .content .contentBox .teachingMaterials .teachingMaterials__category
  .teachingMaterials__box .flexBox .textBox .pdf .btn-list a {
    margin-right: 0;
    margin-left: 0;
  }
}
.content .contentBox .teachingMaterials .teachingMaterials__category
  .teachingMaterials__box .flexBox .textBox .pdf .btn-list a:nth-child(2) {
  margin-left: 1.0rem;
}
.content .contentBox .teachingMaterials .teachingMaterials__category
  .teachingMaterials__box .flexBox .textBox .pdf .btn-list a:hover {
  color: #155daf;
  background-color: #ffffff;
}

/* 一括ダウンロードボタン */
.content .contentBox .teachingMaterials .teachingMaterials__category
  .teachingMaterials__box .btn-downloadAll {
  min-width: 276px;
  height: 36px;
  border-radius: 36px;
  display: flex;
  justify-content: center;
  align-items: center;
  margin: 0 auto;
  font-size: 16px;
  font-weight: 600;
  padding-top: 2px;
  color: #155daf;
  border: 2px solid #155daf;
  margin-top: 3.0rem;
  max-width: 400px;
}
.content .contentBox .teachingMaterials .teachingMaterials__category
  .teachingMaterials__box .flexBox .textBox .pdf .btn-downloadAll:hover {
  color: #ffffff;
  background-color: #155daf;
}

@media (max-width: 750px) {
  .content {
    padding: 40px 0 50px;
  }

  .content .contentBox {
    padding: 30px 4% 50px;
  }

  /* teachingMaterials のカテゴリ間マージン縮小 */
  .content .contentBox .teachingMaterials .teachingMaterials__category:not(:last-child) {
    margin-bottom: 80px;
  }

  /* カテゴリ見出し（参考：今回のHTMLにはh3無し） */
  .content .contentBox .teachingMaterials .teachingMaterials__category h3 {
    font-size: 22px;
  }

  /* 縦積みレイアウトへ */
  .content .contentBox .teachingMaterials .teachingMaterials__category
    .teachingMaterials__box .flexBox {
    display: flex;
  }

  .content .contentBox .teachingMaterials .teachingMaterials__category
    .teachingMaterials__box .flexBox .textBox {
    width: 100%;
    display: block;
  }

  /* h5 見出し文字サイズ縮小 */
  .content .contentBox .teachingMaterials .teachingMaterials__category
    .teachingMaterials__box .flexBox .textBox h5 {
    font-size: 16px;
    margin-left: 1.0rem;
  }

  /* PDF 行の縦並び */
  .content .contentBox .teachingMaterials .teachingMaterials__category
    .teachingMaterials__box .flexBox .textBox .pdf {
    flex-direction: column;
    align-items: start;
  }

  .content .contentBox .teachingMaterials .teachingMaterials__category
    .teachingMaterials__box .flexBox .textBox .pdf h5 {
    padding-right: 0;
    margin-bottom: 10px;
  }

  /* ボタンリストは幅100%で2分割 */
  .content .contentBox .teachingMaterials .teachingMaterials__category
    .teachingMaterials__box .flexBox .textBox .pdf .btn-list {
    min-width: none;
    width: 100%;

  }
  .content .contentBox .teachingMaterials .teachingMaterials__category
    .teachingMaterials__box .flexBox .textBox .pdf .btn-list a {
    width: 48%;
  }

  /* 一括DLボタンも幅100%へ */
  .content .contentBox .teachingMaterials .teachingMaterials__category
    .teachingMaterials__box .flexBox .textBox .pdf .btn-downloadAll {
    width: 100%;
    min-width: none;
  }
}
