.cnc-materials {
  padding: 70px 0;
  box-sizing: border-box;
  background: #ffffff;
}

.cnc-materials__content {
  width: 90%;
  max-width: 1400px;
  margin: 0 auto;
  box-sizing: border-box;
}

.cnc-materials__title {
  text-align: center;
}
.cnc-materials__subtitle {
  font-weight: 400;
  font-size: 28px;
  color: #333333;
  text-align: center;
  margin-top: 10px;
  margin-bottom: 30px;
}
.cnc-materials__description {
  font-size: 18px;
  color: #333333;
  line-height: 30px;
  text-align: center;
  margin-bottom: 50px;
}

.cnc-materials__body {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  align-items: stretch;
  gap: 20px;
}

.cnc-materials__image-wrapper {
  width: 52%;
  max-width: 800px;
}

.cnc-materials__image-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: none;
}

.cnc-materials__tabs {
  width: calc((100% - 52%) / 2 - 20px);
  background: #f7f7f8;
  padding-bottom: 30px;
  box-sizing: border-box;
  cursor: pointer;
}

.cnc-materials__tabs.is-active {
  background: #e0191e;
}

.cnc-materials__tabs-title {
  font-weight: 500;
  font-size: 24px;
  color: #333333;
  padding: 25px 25px 20px;
  box-sizing: border-box;
}

.cnc-materials__tabs.is-active .cnc-materials__tabs-title {
  color: #ffffff;
}

.cnc-materials__tab {
  padding: 0 25px;
  box-sizing: border-box;
  font-weight: 400;
  font-size: 18px;
  color: #333333;
  line-height: 48px;
  white-space: nowrap;
}

.cnc-materials__tabs.is-active .cnc-materials__tab {
  color: #ffffff;
}

.cnc-materials__tab.is-active {
  color: #e0191e;
}

.cnc-materials__tabs.is-active .cnc-materials__tab.is-active {
  color: #333333;
}

.cnc-materials__tab-wrapper {
  display: flex;
  justify-content: space-between;
}

.cnc-materials__tab-wrapper-left,
.cnc-materials__tab-wrapper-right {
  width: 50%;
}

@media screen and (max-width: 760px) {
  .cnc-materials__body {
    flex-direction: column;
  }
  .cnc-materials__image-wrapper {
    width: 100%;
  }
  .cnc-materials__tabs {
    width: 100%;
  }
}

@media screen and (min-width: 760px) and (max-width: 1020px) {
  .cnc-materials__body {
    justify-content: center;
  }
  .cnc-materials__image-wrapper {
    width: 100%;
  }
  .cnc-materials__tabs {
    width: 48%;
    max-width: 400px;
  }
}

@media screen and (min-width: 1020px) and (max-width: 1350px) {
  .cnc-materials__body {
    justify-content: center;
  }
  .cnc-materials__image-wrapper {
    width: 100%;
  }
  .cnc-materials__tabs {
    width: 48%;
    max-width: 400px;
  }
}
