.sub-main {
  background: url("../img/yhsl_bg.png") no-repeat center center;
  background-size: cover;
}

.sub-main .page-wrap {
  padding: 71px 80px 0 278px;
}

.sub-body {
  display: flex;
  flex: 1;
  min-height: 0;
}

.sub-tab-input {
  position: absolute;
  width: 0;
  height: 0;
  margin: 0;
  opacity: 0;
  pointer-events: none;
}

.sub-side {
  width: 300px;
  flex-shrink: 0;
}

.sub-side li {
  list-style: none;
}

.sub-side label {
  display: flex;
  align-items: center;
  line-height: 48px;
  font-size: 14px;
  padding-left: 45px;
  cursor: pointer;
}

.sub-side label .side-icon {
  display: none;
  width: 35px;
  height: 24px;
  margin-right: 10px;
}

.sub-tab-input:nth-of-type(1):checked ~ .sub-side li:nth-child(1) label,
.sub-tab-input:nth-of-type(2):checked ~ .sub-side li:nth-child(2) label,
.sub-tab-input:nth-of-type(3):checked ~ .sub-side li:nth-child(3) label,
.sub-tab-input:nth-of-type(4):checked ~ .sub-side li:nth-child(4) label {
  padding-left: 0;
  font-size: 20px;
  font-weight: 700;
}

.sub-tab-input:nth-of-type(1):checked ~ .sub-side li:nth-child(1) label .side-icon,
.sub-tab-input:nth-of-type(2):checked ~ .sub-side li:nth-child(2) label .side-icon,
.sub-tab-input:nth-of-type(3):checked ~ .sub-side li:nth-child(3) label .side-icon,
.sub-tab-input:nth-of-type(4):checked ~ .sub-side li:nth-child(4) label .side-icon {
  display: block;
}

.sub-panels {
  flex: 1;
  min-height: 0;
  min-width: 0;
  display: flex;
  flex-direction: column;
}

.sub-panel {
  display: none;
  flex: 1;
  min-height: 0;
  padding-left: 40px;
  overflow: hidden;
  flex-direction: column;
}

.sub-tab-input:nth-of-type(1):checked ~ .sub-panels .sub-panel:nth-child(1),
.sub-tab-input:nth-of-type(2):checked ~ .sub-panels .sub-panel:nth-child(2),
.sub-tab-input:nth-of-type(3):checked ~ .sub-panels .sub-panel:nth-child(3),
.sub-tab-input:nth-of-type(4):checked ~ .sub-panels .sub-panel:nth-child(4) {
  display: flex;
}

.sub-desc {
  width: 860px;
  max-width: 100%;
  font-size: 14px;
  line-height: 24px;
  margin-bottom: 12px;
  flex-shrink: 0;
}

.cert-list {
  width: 767px;
  max-width: 100%;
  flex: 1;
  min-height: 0;
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-top: 10px;
  margin-left: 71px;
  overflow: visible;
}

.cert-col1 { width: 179px; max-width: 31%; height: auto; max-height: 100%; object-fit: contain; }
.cert-col2 { width: 187px; max-width: 32%; height: auto; max-height: 100%; object-fit: contain; }
.cert-col3 { width: 195px; max-width: 33%; height: auto; max-height: 100%; object-fit: contain; }

.cert-img {
  width: 720px;
  max-width: 100%;
  flex: 1;
  min-height: 0;
  display: flex;
  align-items: flex-end;
  margin-top: 10px;
  margin-left: 97px;
}

.cert-img img {
  width: 100%;
  max-height: 100%;
  height: auto;
  object-fit: contain;
}

.cert-h5-only {
  display: none;
}

@media (min-width: 993px) {
  body.page-about-sub .cert-h5-only,
  body.page-about-sub .cert-img.cert-h5-only {
    display: none;
  }

  body.page-about-sub .cert-pc-only {
    display: flex;
  }
}

body.page-about-sub .sub-main .page-wrap {
  padding: 56px 80px 0 323px;
  height: 100%;
}

body.page-about-sub .sub-body {
  display: flex;
  flex-direction: row;
  flex: 1;
  min-height: 0;
}

body.page-about-sub .sub-panels {
  display: flex;
  flex-direction: column;
  flex: 1;
  min-height: 0;
}

body.page-about-sub .sub-side {
  display: block;
  width: 300px;
  flex-shrink: 0;
}

body.page-about-sub .sub-panel {
  display: none;
  flex: 1;
  min-height: 0;
  padding-left: 40px;
  overflow: hidden;
  flex-direction: column;
}

body.page-about-sub .sub-tab-input:nth-of-type(1):checked ~ .sub-panels .sub-panel:nth-child(1),
body.page-about-sub .sub-tab-input:nth-of-type(2):checked ~ .sub-panels .sub-panel:nth-child(2),
body.page-about-sub .sub-tab-input:nth-of-type(3):checked ~ .sub-panels .sub-panel:nth-child(3),
body.page-about-sub .sub-tab-input:nth-of-type(4):checked ~ .sub-panels .sub-panel:nth-child(4) {
  display: flex;
}

body.page-about-sub .sub-desc {
  text-indent: 0;
}

body.page-about-sub .cert-list {
  width: 767px;
  margin-left: 71px;
  flex-direction: row;
  justify-content: space-between;
  align-items: flex-end;
  max-height: 442px;
}

body.page-about-sub .cert-col1 {
  width: 179px;
  max-width: 31%;
  height: auto;
  max-height: 100%;
  flex: none;
}

body.page-about-sub .cert-col2 {
  width: 187px;
  max-width: 32%;
  height: auto;
  max-height: 100%;
  flex: none;
}

body.page-about-sub .cert-col3 {
  width: 195px;
  max-width: 33%;
  height: auto;
  max-height: 100%;
  flex: none;
}

@media (min-width: 993px) {
  body.page-about-sub .about-features {
    margin-top: 24px;
    margin-bottom: 24px;
  }
}

body.page-about-sub .cert-img.cert-pc-only {
  width: 720px;
  margin-left: 97px;
  display: flex;
  align-items: flex-end;
  max-height: 442px;
}
