/**
 * sub.css - 서브 페이지 공통
 * (페이지별: introduce, information, laser, community)
 */

/* ============================================
   SUB 공통 - 레이아웃, 탭
   ============================================ */
.sub_content,
.sub-content {
  padding-top: 65px;
  background: #fbf8f2;
}

.con_inner,
.con-inner {
  padding: 105px 0 0;
}

.sub-ul-tab {
  height: 55px;
  display: flex;
  width: 100%;
}

.sub-ul-tab li {
  width: 25%;
  background: #fbf8f2;
}

.sub-ul-tab li:last-child a {
  border-right: 0;
}

.sub-ul-tab li a {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  font-family: 'Marcellus', serif;
  font-size: 19px;
  border-right: 1px solid #95867e;
  border-bottom: 1px solid #95867e;
  padding-left: 50px;
  font-weight: 500;
}

.sub-ul-tab li a.on {
  background: #f1e9df;
}

/* ============================================
   서브 헤더
   ============================================ */
.sub-page .main-header {
  animation: none;
  width: 100%;
  left: 0;
  border-radius: 0;
  margin: 0;
  border-bottom: 1px solid #95867e;
  height: 65px;
  opacity: 1;
  padding: 0.3rem 0 0;
  transform: translateY(0%);
}

/* ============================================
   서브 탑 배경
   ============================================ */
.sub-bg-wrap {
  position: relative;
  width: 100%;
  height: 380px;
  overflow: hidden;
}

.sub-top-view-bg {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  width: 100%;
  height: 100%;
}

.sub-bg-01 {
  background: url("../assets/img/sub01_bg.png") 50% 50% / cover no-repeat;
}

.sub-bg-02 {
  background: url("../assets/img/sub02_bg.png") 50% 50% / cover no-repeat;
}

.sub-bg-04 { background: url("../assets/img/sub04_bg.png") 50% 50% / cover no-repeat; }
.sub-bg-05 { background: url("../assets/img/sub05_bg.png") 50% 50% / cover no-repeat; }

.sub-top-text {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  text-align: center;
}

.sub-top-text div {
  overflow: hidden;
  position: relative;
}

.sub-top-text h1 {
  font-size: 22px;
  padding-bottom: 5px;
}

.sub-top-text p {
  font-size: 35px;
  font-weight: 500;
  letter-spacing: 2px;
}

/* ============================================
   서브 콘텐츠 헤더
   ============================================ */
.sub-cont-header {
  text-align: center;
}

.sub-cont-header h2 {
  font-size: 35px;
  font-weight: 500;
  color: var(--color-primary);
  letter-spacing: 0.02em;
  line-height: 1.1;
  margin-bottom: 10px;
}

.sub-cont-header p {
  font-size: 17px;
  color: #888;
}

/* ============================================
   Mobile
   ============================================ */
@media (max-width: 768px) {
  .sub-ul-tab {
    height: 64px;
    width: 100%;
    flex-wrap: wrap;
  }
  .sub-ul-tab li {
    width: 50%;
    background: #fbf8f2;
  }
  .sub-ul-tab li:nth-child(2n) a {
    border-right: 0;
  }
  .sub-ul-tab li a {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    
    font-size: 14px;
    border-right: 1px solid #95867e;
    border-bottom: 1px solid #95867e;
    padding-left: 0;
  }
  .sub-ul-tab li a.on {
    background: #f1e9df;
  }
  .sub-cont-header h2 {
    font-size: 24px;
    margin-bottom: 5px;
  }
  .sub-cont-header p {
    font-size: 14px;
  }

  .con_inner,
  .con-inner {
    padding: 48px 16px 0;
    box-sizing: border-box;
  }

  .sub-bg-wrap {
    width: 100%;
    height: 192px;
    overflow: hidden;
  }
  .sub-top-text {
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
  }
  .sub-top-text h1 {
    font-size: 18px;
  }
  .sub-top-text p {
    font-size: 20px;
    letter-spacing: 0.05em;
  }
}
