/* 레이아웃 */
.sub-wrap {
  width: 100%;
  height: 100vh;
  display: flex;
  justify-content: center;
}
.sub-wrap .inner-box {
  width: 100%;
  max-width: 1100px;
  margin: 0 auto;
  letter-spacing: -0.03em;
  position: relative;
  color: var(--color-body);
  padding-top: 55px;
  scale:0.85;
}
.sub-tit-box {
  text-align: center;
  margin-bottom: 40px;
}
.sub-tit-box > h2 {
  font-size: 36px;
  font-weight: 500;
  letter-spacing: -0.01em;
}

/* 탭 */
.tab-menu {
  display: flex;
  justify-content: center;
  margin-bottom: 80px;
}
.tab-menu li {
  width: 245px;
  text-align: center;
}
  .sub3-wrap .tab-menu li {
    width: 340px;
}

.tab-menu li:not(:last-child) {
  border-right: 1px solid var(--color-gray);
}
.tab-button {
  font-size: 18px;
  color: var(--color-gray);
  font-weight: 500;
}
.tab-button.active {
  color: var(--color-primary);
  font-weight: bold;
}

.tab-content {
  display: none;
}
.tab-content strong{
  font-weight: bold;
}

.tab-content.active {
  display: flex;
  align-items: flex-start;
}

.tab-content > .left {
  flex: auto;
  padding-right: 30px;
}
.tab-content > .left .top-box {
  padding-left: 26px;
}
.tab-content > .left .top-box .contents {
  font-size: 16px;
  margin-bottom: 30px;
  line-height: 1.8;
}
.tab-content > .left .top-box strong,
.tab-content > .left .top-box span {
  font-size: 16px;
  display: block;
  margin-bottom: 10px;
}

.tab-content > .left .bottom-box {
  padding: 20px 26px;
  border-radius: 20px;
  background: #fff;
  color: var(--color-primary);
  margin-top: 50px;
}
.tab-content > .left .bottom-box h3 {
  font-weight: bold;
  font-size: 16px;
  margin-bottom: 30px;
}

.tab-content > .left .bottom-box .left {
  align-content: flex-end;
}
.tab-content > .left .bottom-box p {
  font-size: 16px;
  line-height: 1;
  margin-top: 10px;
}
.tab-content > .left .bottom-box p em {
  font-size: 30px;
}
.tab-content > .left .bottom-box small {
  font-size: 16px;
  font-weight: 300;
}

.tab-content > .left .bottom-box .right {
  font-size: 18px;
  border-left: 1px solid var(--color-primary);
  padding-left: 24px;
  margin-left: 24px;
  align-content: flex-end;
}
.tab-content > .left .bottom-box .right._allCenter {
  align-content: center;
  line-height: 1.6;
}

.tab-content > .right {
  flex-shrink: 0;
  position: relative;
  max-width: 540px;
}
.tab-content > .right a {
  position: absolute;
  right: 0;
  bottom: 0px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background-color: var(--slide5-link);
  width: 205px;
  height: 30px;
  border-radius: 37px;
  font-size: 17px;
  padding: 8px 15px;
}
.tab-content > .right a img {
  width: auto;
  height: auto;
}

.sub-wrap .sub-nav {
  margin-top: 70px;
}
.download-btn {
  background-color: var(--slide5-title);
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 360px;
  height: 36px;
  border-radius: 18px;
  color: #fff;
  padding: 8px 18px 4px;
  margin-top: 18px;
  font-size: 16px;
}
.download-btn img {
  margin-bottom: 6px;
  max-width: 20px;
}


/* detail */
.sub-detail {
  background: #F8F6F4;
  flex-direction: column;
  height: auto;
}
.sub-wrap.sub-detail .inner-box {
  max-width: 1200px;
  color: var(--color-body);
  padding: 150px 0;
}
.sub-detail .sub-tit-box {
  color: var(--color-primary);
  margin-bottom: 15px;
}

.table-section:last-child {
  margin-top: 150px;
}
.table-section:last-child .sec-tit {
  margin-bottom: 16px;
}
.table-section .top {
  text-align: right;
}
.table-section .sec-tit {
  font-size: 25px;
  font-weight: 500;
  text-align: center;
}
.table-section .downBtn {
  display: inline-block;
  padding: 10px 16px 6px;
  border-radius: 50px;
  background-color: var(--color-primary);
  color: #fff;
  font-weight: bold;
}
.table-section .table-bar {
  width: 100%;
  height: 1px;
  background: #ACACAC;
  margin: 24px 0;
}
.table-section table {
  width: 100%;
  color: var(--color-body);
  text-align: center;
  background: #FDFCFC;
}
.table-section .text-align-center {
  text-align: center;
}
.table-section th, .table-section td {
  padding: 10px;
  font-size: 19px;
}
.table-section th, .table-section td  b {
  font-weight: 600;
}
.table-section th {
  font-weight: 700;
  border-right: 1px solid #fff;
  border-bottom: 2px solid #BDBDBD;
  color: var(--color-primary);
}
.table-section th:last-child {
  border-right: none;
}

.table-section tbody td {
  border-bottom: 1px solid #E3E3E3;
  border-right: 1px solid #fff;
}
.table-section tbody td:last-child {
  border-right: none;
}
.table-section .total td {
  border-bottom: none;
  background: rgba(0,88,138,0.1);
  border-right: 1px solid #F8F6F4;
  font-weight: 600;
}



/* 반응형 */
@media (max-width: 1680px) {
  .sub-wrap {height: auto;}
  .sub-tit-box {
    margin-bottom: 40px;
  }
  /*.sub-wrap .inner-box {padding: 120px 20px 80px;}*/

.tab-content > .left .bottom-box p {
  font-size: 15.5px;
}
.tab-content > .left .bottom-box small {
  font-size: 14px;
}

.tab-content > .left .bottom-box .right {
  padding-left: 22px;
  margin-left: 22px;
}
}

@media (max-width: 1280px) {
  .sub-wrap.sub-detail .inner-box {
    padding: 120px 20px;
  }
  .tab-menu {
    margin-bottom: 60px;
  }
/*   .tab-menu li {
    width: 200px;
  } */
/*  .sub3-wrap .tab-menu li {
    width: 260px;
  } */
}

@media (max-width: 1180px) {
  .sub-tit-box {
    margin-bottom: 20px;
  }
  .sub-tit-box > h2 {
    font-size: 24px;
  }
  .table-section .sec-tit {
    font-size: 18px;
  }
  .tab-button {
    font-size: 16px;
  }
  .tab-content > .left .top-box .contents {
    font-size: 15px;
  }
  .tab-content > .right {
    width: 500px;
  }
  .tab-content > .right a {
    width: auto;
    gap:8px;
    font-size: 14px;
  }
  .tab-content > .left .bottom-box p {
    font-size: 14px;
  }
  .tab-content > .left .bottom-box p em {
    font-size: 24px;
  }
  .tab-content > .left .bottom-box {
    padding: 16px 20px;
    margin-top: 40px;
  }
  .tab-content > .left .bottom-box > .flexBox {
    flex-direction: column;
    gap:10px;
  }
  .tab-content > .left .bottom-box .right {
    margin-left: 0;
    padding-left: 0;
    border-left: none;
  }
  .download-btn {
    width: auto;
    font-size: 14px;
    display: inline-flex;
    gap:8px;
  }
  .tab-content > .left .bottom-box small {
    font-size: 12px;
  }
}


@media (max-width: 800px) {
  .table-section th, .table-section td {
    font-size: 15px;
    padding: 8px;
  }
  .table-section:last-child {
    margin-top: 80px;
  }
  .tab-content.active {
    flex-direction: column;
  }
  .tab-content > .left .top-box {
    padding-left: 0;
  }
  .tab-content > .right {
    order: -1;
    width: 100%;
    max-width: 590px;
    margin-bottom: 24px;
  }
  .tab-menu li, .sub3-wrap .tab-menu li {
    width: auto;
    flex:auto;
  }
  .sub-wrap .sub-nav {
    margin: 40px 0 0;
  }
  .tab-menu {
    margin-bottom: 30px;
  }
}

@media (max-width: 600px) {
  .table-section {
    overflow-y: auto;
  }
  .table-section table {
    width: 560px;
  }
  .table-section th, .table-section td {
    font-size: 14px;
    padding: 6px;
  }
  .table-section .top {
    text-align: center;
  }
  .table-section .downBtn {
    margin-top: 20px;
    font-size: 14px;
  }
  .tab-button {
    font-size: 14px;
  }
  .tab-content > .right a {
    font-size: 12px;
    bottom:0;
  }
  .tab-menu li:not(:last-child) {
    border-right: none;
  }
  .sub2-wrap .tab-menu {
    flex-wrap: wrap;
  }
  .sub-wrap .tab-menu li {
    padding: 4px;
  }
  .sub2-wrap .tab-menu li {
    width: 50%;
    padding: 4px;
  }
}
