/* sub.php CSS 파일 */

/* 서브페이지에 삽입될 수 있는 html 태그들 기본 스타일 설정 */
/* .sub-body h1,
.sub-body h2,
.sub-body p,
.sub-body ul,
.sub-body ol {
  line-height: 1.4;
}

.sub-body h1 {
  font-size: 40px;
  margin-bottom: 20px;
  font-weight: 600;
}

.sub-body h2 {
  font-size: 30px;
  margin-bottom: 15px;
  font-weight: 600;
}

.sub-body h3 {
  font-size: 25px;
  margin-bottom: 15px;
  font-weight: 600;
}

.sub-body p {
  font-size: 18px;
} */

.sub-body ul,
.sub-body ol {
}

.sub-body ul li,
.sub-body ol li {
  list-style-type: disc;
  list-style-position: inside;
}

.sub-body table {
  margin: 30px 0;
}

.sub-body th,
.sub-body td {
  border: 1px solid #aaa;
  padding: 10px 15px;
}

.sub-body th {
  background-color: #edf2f9;
}

.sub-body tbody tr:nth-child(even) {
  background-color: #fafafa;
}

.sub-page {
  padding-top: 80px;
}

.sub-page * {
  line-height: 1.4;
}

.sub-page section {
  padding: 60px 0;
}

.sub-section-header {
  margin-bottom: 30px;
}

.sub-section-header__title {
  font-size: 36px;
  font-weight: 600;
  line-height: 1.3;
}

.sub-section-header__subtitle {
  display: block;
  font-size: 24px;
  margin-bottom: 12px;
  font-weight: 500;
  line-height: 1.3;
}

.highlight {
  color: var(--primary-color);
}

/* form */
.sub-page .form__input-sex:checked + .form__sex-label {
  color: #0093b4;
}

.sub-body {
  /* margin-top: 50px; */
}

/* main-banner -------------------------------------- */
section.sub-main-banner {
  padding: 0;
  margin-top: 50px;
}

.sub-main-banner__container {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  gap: 80px;
  padding: 80px;
  background: url(../img/sub/sub_main_banner.webp) no-repeat center center/cover;
  border-radius: 30px;
  color: #512217;
}

.sub-main-banner__title {
  font-size: 42px;
}

/* sub-section-title */
.sub-section-title {
  font-size: 30px !important;
}

/* sub-sc1 -------------------------------- */
.sub-sc1 {
}

.sub-sc1__container {
  display: flex;
  gap: 70px;
  background-color: #f1f1f1;
  padding: 50px 75px;
  border-radius: 30px;
}

.sub-sc1__img-wrap {
  flex-shrink: 0;
  display: flex;
  justify-content: center;
  align-items: center;
  width: 125px;
  height: 125px;
  border: 2px solid #ccc;
  border-radius: 50%;
  background-color: #fff;
}

.sub-sc1__img-wrap img {
  width: 65%;
  height: 65%;
  object-fit: cover;
}

.sub-sc1__title {
  font-size: 28px;
  margin-bottom: 15px;
}

.sub-sc1__desc {
  font-size: 18px;
  line-height: 1.4;
}

/* sub-sc2, sub-sc3 -------------------------------- */
.sub-sc2 .sub-section-header,
.sub-sc3 .sub-section-header {
  flex-basis: 260px;
  flex-shrink: 0;
  margin-bottom: 0;
}

.sub-sc2__container,
.sub-sc3__container {
  display: flex;
  gap: 120px;
}

.sub-sc2__title-wrap,
.sub-sc3__title-wrap {
  flex-basis: 220px;
  flex-shrink: 0;
}

.sub-sc2__content-item,
.sub-sc3__content-item {
  margin-bottom: 25px;
}

.sub-sc2__content-title,
.sub-sc3__content-title {
  display: block;
  padding: 12px 22px;
  font-size: 20px;
  font-weight: 500;
  background-color: #f1f1f1;
  border-radius: 10px;
}

.sub-sc2__content-desc,
.sub-sc3__content-desc {
  padding: 22px;
  font-size: 18px;
}

/* sub-sc4 -------------------------------- */
.sub-sc4 .sub-section-header {
  text-align: center;
}

.sub-sc4__container {
  display: flex;
  gap: 40px;
}

.sub-sc4__card-item {
  flex: 1 1 0;
  display: flex;
  flex-direction: column;
  gap: 30px;
}

.sub-sc4__card-index {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 35px;
  height: 35px;
  font-size: 20px;
  font-weight: 600;
  color: #fff;
  background-color: var(--primary-color);
  border-radius: 50%;
  box-shadow: rgba(251, 146, 60, 0.55) 0px 6px 10px -5px;
}

.sub-sc4__text-wrap {
  flex: 1 1 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
}

.sub-sc4__card-title {
  font-size: 20px;
  font-weight: 500;
}

.sub-sc4__card-desc {
  font-size: 18px;
}

.sub-sc4__img-wrap {
  flex: 0 0 auto;
  border-radius: 20px;
  overflow: hidden;
}

/* sub-sc5 -------------------------------- */
.sub-sc5 .sub-section-header {
  margin-bottom: 0;
}

.sub-sc5__container {
  display: flex;
  gap: 100px;
}

.sub-sc5 .sub-section-header {
  flex-basis: 260px;
  flex-shrink: 0;
}

.sub-sc5__content-row {
  display: flex;
  gap: 60px;
}

.sub-sc5__content-row:not(:last-child) {
  margin-bottom: 30px;
  padding-bottom: 30px;
  border-bottom: 1px solid #ccc;
}

.sub-sc5__content-title-wrap {
  display: flex;
  gap: 20px;
  flex-basis: 200px;
  flex-shrink: 0;
}

.sub-sc5__content-index {
  font-size: 22px;
  font-weight: 600;
  color: var(--primary-color);
}

.sub-sc5__content-title {
  font-size: 23px;
  font-weight: 600;
}

.sub-sc5__desc {
  font-size: 18px;
}

.sc5__content-list {
  font-size: 18px;
}

/* sub-sc6 -------------------------------- */
.sub-sc6 .sub-section-header {
  margin-bottom: 0 !important;
}

.sub-sc6__container {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px;
}

.sub-sc6__content-item {
  position: relative;
  padding: 30px 30px 50px 30px;
  border-radius: 20px;
  background-color: #f1f1f1;
}

.sub-sc6__content-item.sub-section-header {
  padding: 0;
  background-color: #fff;
}

.sub-sc6__content-title {
  position: relative;
  display: block;
  font-size: 22px;
  font-weight: 600;
  margin-bottom: 15px;
  z-index: 2;
}

.sub-sc6__content-desc {
  position: relative;
  font-size: 18px;
  z-index: 2;
}

.sub-sc6__content-index {
  position: absolute;
  bottom: -65px;
  right: 12px;
  font-size: 150px;
  font-weight: 900;
  color: #fff;
  z-index: 1;
}

/* sub-sc7 -------------------------------- */
.sub-sc7 .sub-section-header {
  text-align: center;
}

.sub-sc7__container {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  row-gap: 80px;
  column-gap: 50px;
}

.sub-sc7__img-wrap {
  width: 150px;
  height: 150px;
  margin: 0 auto 20px auto;
}

.sub-sc7__img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.sub-sc7__text-wrap {
  text-align: center;
}

.sub-sc7__content-title {
  display: block;
  margin-bottom: 10px;
  font-size: 22px;
  font-weight: 600;
}

.sub-sc7__content-desc {
  font-size: 18px;
  color: #474747;
}

/* sub-sc8 -------------------------------- */
.sub-sc8 .sub-section-header {
  background-color: #f1f1f1;
  padding: 20px 30px;
  border-radius: 20px;
}

.sub-sc8 .sub-section-header__title {
  font-size: 26px;
}

.sub-sc8__desc {
  font-size: 18px;
  padding: 0 20px;
}
