#training {
  padding-top: 56px;
  padding-bottom: 67px;
  position: relative;
  overflow-x: clip;
}

#dxai-g-kentei,
#dxai-promote,
#dxai-basic,
#marketing-pack,
#marketing-basic {
  scroll-margin-top: 120px;
}

@media screen and (max-width: 999px) {
  #training {
    padding-top: 0px;
    padding-bottom: 30px;
  }

  #dxai-g-kentei,
  #dxai-promote,
  #dxai-basic,
  #marketing-pack,
  #marketing-basic {
    scroll-margin-top: 84px;
  }
}

#training::before {
  position: absolute;
  display: block;
  content: "";
  top: 0;
  right: 0;
  transform: translate(50%, -50%);
  background: url(../img/training-charm.png) center center / cover no-repeat;
  width: 368px;
  height: 368px;
  z-index: -1;
}

@media screen and (max-width: 999px) {
  #training::before {
    top: 18%;
    width: 200px;
    height: 200px;
  }
}

.training__container {
  max-width: 1000px;
  width: 100%;
  margin-right: auto;
  margin-left: auto;
}

@media screen and (max-width: 999px) {
  .training__container {
    box-sizing: border-box;
    padding-left: 20px;
    padding-right: 20px;
    width: 100%;
  }
}

.training__topMessage {
  font-family: "Noto Sans JP";
  font-weight: normal;
  font-size: 14px;
  letter-spacing: 0.02em;
  line-height: 2.14285714286;
  text-align: center;
  color: #111;
  margin-top: 10px;
}

.training__itemsWrapper {
  margin-top: 35px;
}

@media screen and (max-width: 999px) {
  .training__itemsWrapper {
    margin-top: 20px;
  }
}

.training__items {
  display: flex;
  justify-content: center;
  gap: 30px;
}

@media screen and (max-width: 999px) {
  .training__items {
    flex-wrap: wrap;
    row-gap: 20px;
  }
}

.training__item {
  width: 31.947%;
  display: flex;
  flex-direction: column;
}

@media screen and (max-width: 999px) {
  .training__item {
    width: 100%;
  }
}


.training__item a {
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.training__itemImage {
  width: 100%;
}

.training__itemText {
  border: 1px solid #a7a7a7;
  text-align: center;
  font-family: "Noto Sans JP";
  font-weight: bold;
  font-size: 18px;
  letter-spacing: 0.02em;
  text-align: center;
  color: #111;
  padding: 15px 0 18px;
  flex-grow: 1;
}

@media screen and (max-width: 999px) {
  .training__itemText {
    font-size: 16px;
    padding-top: 8px;
    padding-bottom: 8px;
  }
}

.training__buttonWrapper {
  margin-top: 46px;
  text-align: center;
}

@media screen and (max-width: 999px) {
  .training__buttonWrapper {
    margin-top: 20px;
  }
}

.training__button {
}

.pankuz__area--training {
  background-color: #f0f3f6;
  margin-top: 0 !important;
  padding-top: 17px;
}

#popularity {
  padding-top: 40px;
  padding-bottom: 77px;
  background-color: #f0f3f6;
}

@media screen and (max-width: 999px) {
  #popularity {
    padding-top: 30px;
    padding-bottom: 30px;
  }
}

.popularity__container {
  max-width: 1000px;
  width: 100%;
  margin-right: auto;
  margin-left: auto;
}

@media screen and (max-width: 999px) {
  .popularity__container {
    box-sizing: border-box;
    padding-left: 20px;
    padding-right: 20px;
    width: 100%;
  }
}

.popularity__message {
  margin-top: 27px;
  font-family: "Noto Sans JP";
  font-weight: normal;
  font-size: 14px;
  letter-spacing: 0.02em;
  line-height: 30px;
  text-align: center;
  color: #111;
}

@media screen and (max-width: 999px) {
  .popularity__message {
    margin-top: 0px;
  }
}

.popularity__itemsWrapper {
  margin-top: 30px;
}

.popularity__items {
  display: flex;
  justify-content: center;
  gap: 30px;
}

@media screen and (max-width: 999px) {
  .popularity__items {
    width: 100%;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 30px;
  }
}

.popularity__item {
  width: 31.947%;
}

@media screen and (max-width: 999px) {
  .popularity__item {
    width: 100%;
  }
}

.popularity__itemImage {
  width: 100%;
}

.popularity__itemImage img {
  width: 100%;
}

.popularity__itemTitle {
  font-family: "Noto Sans JP";
  font-weight: bold;
  font-size: 18px;
  letter-spacing: 0.02em;
  line-height: 28px;
  text-align: center;
  color: #111;
  padding-top: 18px;
  padding-bottom: 28px;
  background: #fff;
  border: 1px solid #a7a7a7;
  box-shadow: 7px 7px 12px rgba(211, 211, 211, 0.1);
}

@media screen and (max-width: 999px) {
  .popularity__itemTitle {
    font-size: 16px;
    padding-top: 8px;
    padding-bottom: 8px;
  }
}

#ptraining {
  padding-top: 60px;
  padding-bottom: 76px;
}

@media screen and (max-width: 999px) {
  #ptraining {
    padding-top: 30px;
    padding-bottom: 30px;
  }
}

.ptraining__container {
  max-width: 1000px;
  width: 100%;
  margin-right: auto;
  margin-left: auto;
}

@media screen and (max-width: 999px) {
  .ptraining__container {
    box-sizing: border-box;
    padding-left: 20px;
    padding-right: 20px;
    width: 100%;
  }
}

.ptraining__mainItemsWrapper {
  margin-top: 41px;
}

@media screen and (max-width: 999px) {
  .ptraining__mainItemsWrapper {
    margin-top: 30px;
  }
}

.ptraining__mainItems {
  display: flex;
  flex-direction: column;
  gap: 40.7px;
}

@media screen and (max-width: 999px) {
  .ptraining__mainItems {
    gap: 40px;
  }
}

.ptraining__mainItem {
}

.ptraining__mainItemHead {
  padding-left: 17px;
  padding-top: 12.5px;
  padding-bottom: 12.5px;
  background-color: #f3313b;
  font-family: "Noto Sans JP";
  font-weight: 500;
  font-size: 24px;
  letter-spacing: 0.08em;
  line-height: 1;
  text-align: left;
  color: #fff;
  margin-bottom: 22.7px;
}

@media screen and (max-width: 999px) {
  .ptraining__mainItemHead {
    font-size: 18px;
    padding-top: 5px;
    padding-bottom: 8px;
  }
}

.ptraining__mainItemName {
  font-family: "Noto Sans JP";
  font-weight: 500;
  font-size: 20px;
  letter-spacing: 0.08em;
  line-height: 1;
  padding-bottom: 9.5px;
  border-bottom: 1px solid #707070;
  text-align: left;
  color: #000;
  margin-bottom: 30.5px;
  padding-left: 16px;
  position: relative;
}

@media screen and (max-width: 999px) {
  .ptraining__mainItemName {
    font-size: 16px;
    margin-bottom: 20px;
  }
}

.ptraining__mainItemName::before {
  position: absolute;
  display: block;
  content: "";
  top: calc(50% - 4px);
  left: 0;
  transform: translateY(-50%);
  border-radius: 100px;
  width: 8px;
  height: 8px;
  background: #fd442d;
}

.ptraining__contents {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
}

@media screen and (max-width: 999px) {
  .ptraining__contents {
    flex-direction: column;
    gap: 25px;
  }
}

.ptraining__content {
  width: 47.6%;
}

.ptraining__content--full {
  width: 100%;
}

@media screen and (max-width: 999px) {
  .ptraining__content {
    width: 100%;
  }
}

.ptraining__contentHead {
  font-family: "Noto Sans JP";
  font-weight: 500;
  font-size: 18px;
  letter-spacing: 0.08em;
  text-align: left;
  color: #9a9a9a;
  line-height: 1.5;
  margin-bottom: 14px;
}

@media screen and (max-width: 999px) {
  .ptraining__contentHead {
    font-size: 16px;
  }
}

.ptraining__contentHead.main {
  color: #fd442d;
}

.ptraining__contentItems {
  display: flex;
  flex-direction: column;
  gap: 18.8px;
}

.ptraining__contentItem {
  font-family: "Noto Sans JP";
  font-weight: normal;
  font-size: 14px;
  letter-spacing: 0.02em;
  line-height: 1;
  text-align: left;
  color: #222;
  padding-bottom: 7.7px;
  border-bottom: 1px solid #d1d1d1;
  position: relative;
}

.ptraining__contentItem::before {
  position: absolute;
  display: block;
  content: "";
  top: calc(50% - 4px);
  right: 16px;
  background: url(../img/right-chevron.svg) center center / contain no-repeat;
  width: 4px;
  height: 8px;
  transform: translateY(-50%);
}

.ptraining__contentItem a {
  display: inline-block;
  width: 100%;
  height: 100%;
}

.i-training {
  padding-bottom: 160px !important;
}

@media screen and (max-width: 999px) {
  .i-training {
    padding-bottom: 30px !important;
  }
}

.itrainig__catsContainer {
  max-width: 760px;
  width: 100%;
  margin-right: auto;
  margin-left: auto;
}

@media screen and (max-width: 999px) {
  .itrainig__catsContainer {
    box-sizing: border-box;
    padding-left: 20px;
    padding-right: 20px;
    width: 100%;
  }
}

.itrainig__cats {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 20px;
  row-gap: 22px;
  margin-top: 40px;
  margin-bottom: 54px;
}

@media screen and (max-width: 999px) {
  .itrainig__cats {
    margin-top: 20px;
    margin-bottom: 30px;
  }
}

.itrainig__cat {
  width: 100%;
  max-width: 240px;
  display: inline-block;
  font-family: "Noto Sans JP";
  font-weight: bold;
  font-size: 14px;
  letter-spacing: 0.04em;
  line-height: 1;
  text-align: center;
  color: #1f1f1f;
  text-align: center;
  padding-top: 13px;
  padding-bottom: 12px;
  background-color: #fff;
  border: 1px solid #1f1f1f;
  border-radius: 100px;
  transition: all 0.3s ease-out;
}

.itrainig__cat:hover {
  border: none;
  background-color: #ff852d;
  color: #fff;
  transition: all 0.3s ease-out;
}

.itrainig__cat.active {
  border: none;
  background-color: #ff852d;
  color: #fff;
}

.itrainig__catsItems {
  display: flex;
  flex-direction: column;
  gap: 41px;
}

.itrainig__catsItem {
}

.itrainig__catsItemHead {
  font-family: "Noto Sans JP";
  font-weight: 500;
  font-size: 24px;
  letter-spacing: 0.08em;
  line-height: 1;
  text-align: left;
  color: #fff;
  background-color: #f3313b;
  padding-top: 12.5px;
  padding-bottom: 12.5px;
  padding-left: 17px;
  margin-bottom: 22px;
}

@media screen and (max-width: 999px) {
  .itrainig__catsItemHead {
    font-size: 16px;
    padding-top: 8px;
    padding-bottom: 8px;
    padding-left: 10px;
  }
}

.itrainig__catsItemContents {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

@media screen and (max-width: 999px) {
  .itrainig__catsItemContents {
    gap: 30px;
  }
}

.itrainig__catsItemContenet {
  background: #fff;
  box-sizing: border-box;
  padding-top: 29px;
  padding-left: 44px;
  padding-right: 45px;
  padding-bottom: 50px;
}

@media screen and (max-width: 999px) {
  .itrainig__catsItemContenet {
    padding: 20px;
  }
}

.itrainig__catsItemContenetItem {
  display: flex;
  justify-content: space-between;
}

@media screen and (max-width: 999px) {
  .itrainig__catsItemContenetItem {
    flex-direction: column;
  }
}

.itrainig__catsItemContenetImage {
  width: 32.199%;
}

.itrainig__catsItemContenetText {
  margin-top: 12px;
  width: 64.764%;
}

@media screen and (max-width: 999px) {
  .itrainig__catsItemContenetImage {
    width: 100%;
  }

  .itrainig__catsItemContenetText {
    width: 100%;
  }
}

.itrainig__catsItemContenetHead {
  font-family: "Noto Serif JP";
  font-weight: 600;
  font-size: 23px;
  letter-spacing: 0.08em;
  line-height: 1;
  text-align: left;
  color: #000;
  padding-left: 15px;
  position: relative;
}

@media screen and (max-width: 999px) {
  .itrainig__catsItemContenetHead {
    font-size: 18px;
  }
}

.itrainig__catsItemContenetHead::before {
  position: absolute;
  display: block;
  content: "";
  top: 50%;
  left: 0;
  transform: translateY(-50%);
  border-radius: 100px;
  width: 4px;
  height: 80%;
  background: #fd442d;
}

@media screen and (max-width: 999px) {
  .itrainig__catsItemContenetHead::before {
    height: 100%;
  }
}

.itrainig__catsItemContenetTextDetail {
  font-family: "Noto Sans JP";
  font-weight: normal;
  font-size: 14px;
  letter-spacing: 0.08em;
  line-height: 30px;
  text-align: left;
  color: #000;
  margin-top: 10.5px;
  padding-top: 15px;
  border-top: 1px solid #cecece;
}

@media screen and (max-width: 999px) {
  .itrainig__catsItemContenetTextDetail {
    margin-top: 8px;
    padding-top: 10px;
  }
}

.itrainig__catsItemContenetDetails {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  row-gap: 25.5px;
  margin-top: 42px;
}

@media screen and (max-width: 999px) {
  .itrainig__catsItemContenetDetails {
    margin-top: 20px;
    flex-direction: column;
  }
}

.itrainig__catsItemContenetDetail {
  display: flex;
  width: 47.6%;
}

@media screen and (max-width: 999px) {
  .itrainig__catsItemContenetDetail {
    width: 100%;
  }
}

.itrainig__catsItemContenetDetailHead {
  font-family: "Noto Sans JP";
  font-weight: bold;
  font-size: 16px;
  letter-spacing: 0.08em;
  text-align: left;
  color: #000;
  width: 28%;
  padding-bottom: 10.5px;
  border-bottom: 1px solid #f3313b;
  padding-left: 9.5px;
  box-sizing: border-box;
}

@media screen and (max-width: 999px) {
  .itrainig__catsItemContenetDetailHead {
    font-size: 14px;
    width: 40%;
    line-height: 1.5;
  }
}

.itrainig__catsItemContenetDetailContent {
  font-family: "Noto Sans JP";
  font-weight: 500;
  font-size: 16px;
  letter-spacing: 0.08em;
  line-height: 1;
  text-align: left;
  color: #000;
  width: calc(100% - 28%);
  padding-bottom: 10.5px;
  border-bottom: 1px solid #cbcbcb;
  padding-left: 10px;
  box-sizing: border-box;
  white-space: nowrap;
}

@media screen and (max-width: 999px) {
  .itrainig__catsItemContenetDetailContent {
    font-size: 14px;
    width: calc(100% - 40%);
    white-space: wrap;
    line-height: 1.5;
  }
}

.training--individual .sectionTitleJa h2 {
  font-family: "Noto Sans JP";
}
.training--individual .sectionTitleEn {
  font-family: Outfit;
}
.training--individual::before {
  position: absolute;
  display: block;
  content: "";
  top: 0;
  right: 0;
  transform: translate(0, 0) !important;
  background: url(../img/individual/training-charm.png) center center / contain
    no-repeat !important;
  width: 306px !important;
  height: 338px !important;
  z-index: -1;
}
