/**
 * 서브페이지 전용 (/sub/*.php)
 * 로드: sub/_sub_common.php → add_stylesheet
 */
#ft::before{
  box-shadow: 0 -6px 8px 0 rgba(0, 0, 0, 0.03);
}
#sub_page {
  min-height: calc(100svh - 262px);
  background-color: #fffefb;
  padding-bottom: 5vw;
  overflow-x: hidden;
}
.sub-page-banner {
  padding: 80px 0;
  height: 45svh;
  margin-bottom: 4rem;
  background: linear-gradient(135deg, #f8fafc 0%, #eef2f7 100%);
  border: 1px solid #e8ecf0;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
}
.sub-page-banner::before{
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
}
.sub-page-banner::after{
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(16, 41, 10, 0.3);
  z-index: 1;
  backdrop-filter: blur(2px);
}
.sub-bn-1::before{
  background: url(../img/images/sub_bn_01.jpg) no-repeat center center / cover;
  animation: zoomOut 1s ease-in-out forwards;
}
.sub-bn-2::before{
  background: url(../img/images/sub_bn_02.jpg) no-repeat center center / cover;
  animation: zoomOut 1s ease-in-out forwards;
}
.sub-bn-3::before{
  background: url(../img/images/sub_bn_03.jpg) no-repeat center center / cover;
  animation: zoomOut 1s ease-in-out forwards;
}
.sub-bn-4::before{
  background: url(../img/images/sub_bn_04.jpg) no-repeat center center / cover;
  animation: zoomOut 1s ease-in-out forwards;
}
.sub-bn-5::before{
  background: url(../img/images/sub_bn_05.jpg) no-repeat center center / cover;
  animation: zoomOut 1s ease-in-out forwards;
}
@keyframes zoomOut {
  0%{
    transform: scale(1.05);
  }
  100%{
    transform: scale(1);
  }
}
.sub-page-banner .sub-page__title {
  margin: 0;
  text-align: center;
  position: relative;
  z-index: 2;
  color: var(--color-white);
}
.sub-page-banner .sub-page__title span{
  display: block;
  font-size: clamp(1rem, 2vw, 24px);
  font-weight: 500;
  margin-bottom: 5px;
}
.sub-page-banner .sub-page__title h2{
  display: block;
  font-size: clamp(1.1rem, 2.5vw, 30px);
  font-weight: 700;
}
.sub-page-banner .sub-page__title p{
  font-size: clamp(24px, 3.5vw, 50px);
  font-weight: 800;
  padding-top: 30px;
  margin-top: 30px;
  position: relative;
}
.sub-page-banner .sub-page__title p::before{
  content: '';
  width: 2.5vw;
  max-width: 30px;
  min-width: 20px;
  height: 3px;
  background-color: var(--color-white);
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
}
.sub-page__inner {
  width: 80%;
  max-width: 1200px;
  margin: 0 auto;
  margin-bottom: 7vw;
}
.sub-page__inner .sub-page_nav{
  margin-bottom: 8rem;
}
.sub-page__inner .sub-page_nav ul{
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0;
  width: 100%;
  height: fit-content;
  max-width: 800px;
  margin: 0 auto;
  font-size: 18px;
}
.sub-page__inner .sub-page_nav ul li{
  flex: 1;
  padding: 10px 20px;
  border-bottom: 2px solid #ddd;
  box-sizing: initial;
  text-align: center;
}
.sub-page__inner .sub-page_nav ul li a{
  color: #ccc;
}
.sub-page__inner .sub-page_nav ul li.active{
  border-color: var(--color-primary);
}
.sub-page__inner .sub-page_nav ul li.active a{
  color: var(--color-primary);
  font-weight: 700;
}

/* 회사소개 */
/* 인사말 */
.greeting__title{
  font-size: clamp(1.25rem, 3vw, 50px);
  width: fit-content;
  margin: 0 auto;
  margin-bottom: 2rem;
  color: var(--color-primary);
  position: relative;
}
.greeting__title::before{
  content: '“';
  font-size: clamp(3rem, 6vw, 120px);
  position: absolute;
  top: -20px;
  left: -60px;
  z-index: 1;
  font-family: var(--point-font);
  font-weight: 500;
  opacity: 0.3;
  height: 50px;
  
}
.greeting__title::after{
  content: '”';
  font-size: clamp(3rem, 6vw, 120px);
  position: absolute;
  bottom: 30px;
  right: -60px;
  z-index: 1;
  font-family: var(--point-font);
  font-weight: 500;
  opacity: 0.3;
  height: 50px;
}
.greeting__title > h1:last-child{
  margin-left: 8vw;
  margin-top: 10px;
}

.greeting__content{
  margin-top: 6rem;
  padding-bottom: 100px;
  position: relative;
}
.greeting__content .greeting_img{
  width: 50%;
  height: 500px;
  object-fit: cover;
  border-radius: 20px;
  box-shadow: 2px 4px 8px 0 rgba(0, 0, 0, 0.08);
  display: block;
}
.greeting__content .greeting__content_text{
  width: 55%;
  padding: 40px;
  background-color: rgba(255, 255, 255, .75);
  position: absolute;
  bottom: 0;
  right: 0;
  border-radius: 20px;
  backdrop-filter: blur(3px);
  box-shadow: 2px 4px 10px 0 rgba(3, 19, 34, 0.08);
}
.greeting__content .greeting__content_text p{
  margin-bottom: 30px;
  font-size: clamp(1rem, 1.5vw, 18px);
  font-weight: 300;
  line-height: 1.5;
}
.greeting__content .greeting__content_text span{
  margin-top: 4rem;
  display: block;
  text-align: right;
  font-weight: 500;
}
@media screen and (max-width: 1280px) {
  .greeting__title::before,
  .greeting__title::after{
    height: 30px;
  }
  .greeting__title::before{
    left: -30px;
    top: -10px;
  }
  .greeting__title::after{
    right: -30px;
  }
}
@media screen and (max-width: 1024px) {
  .greeting__title > h1:last-child{
    margin-left: 10vw;
  }
  .greeting__title::before,
  .greeting__title::after{
    font-size: 60px;
    height: 25px;
  }
  .greeting__title::before{
    left: -30px;
    top: -8px;
  }
  .greeting__title::after{
    right: -30px;
    bottom: 25px;
  }
  .greeting__content{
    margin-top: 4rem;
    padding-bottom: 0;
  }
  .greeting__content .greeting__content_text p{
    margin-bottom: 25px;
  }
  .greeting__content .greeting_img{
    width: 85%;
    height: 400px;
    margin-left: 5%;
  }
  .greeting__content .greeting__content_text{
    position: initial;
    padding: 30px;
    width: 85%;
    margin-left: 10%;
    margin-top: -7vw;
  }
  .greeting__content .greeting__content_text span{
    margin-top: 2rem;
  }
}
@media screen and (max-width: 768px) {
  .greeting__title::before{
    top: -12px;
  }
  .greeting__title::after{
    bottom: 15px;
  }
  .greeting__content .greeting_img{
    height: 350px;
  }
  .greeting__content .greeting__content_text{
    margin-top: -10vw;
  }
}
@media screen and (max-width: 500px) {
  .greeting__title{
    text-align: center;
    font-weight: 800;
  }
  .greeting__title > h1:last-child{
    margin-left: 0;
    margin-top: 8px;
  }
  .greeting__title::before, 
  .greeting__title::after{
    opacity: .2;
  }
  .greeting__title::before{
    left: 40px;
    top: -10px;
  }
  .greeting__title::after{
    right: -15px;
    bottom: -9px;
  }
  .greeting__content{
    margin-top: 2rem;
    padding-bottom: 30px;
  } 
  .greeting__content .greeting_img{
    width: 95%;
    height: 230px;
    margin-left: 0;
  }
  .greeting__content .greeting__content_text{
    width: 95%;
    margin-left: 5%;
    margin-top: -10vw;
    padding: 20px;
  }
  .greeting__content .greeting__content_text p{
    margin-bottom: 15px;
  }
}

/*연혁 */
.history_title,
.organization_title{
  padding: 60px;
  border-radius: 20px;
  color: var(--color-white);
}
.history_title{
  background: url(../img/images/hsty_bg.jpg) no-repeat right center / cover;
}
.history_title h2,
.organization_title h2{
  font-size: clamp(1.3rem, 2.5vw, 30px);
  font-weight: 750;
  margin-bottom: 10px;
}
.history_title p,
.organization_title p{
  font-size: clamp(1rem, 1.8vw, 20px);
  line-height: 1.5;
  font-weight: 300;
}
.history_content_wrap{
  padding: 4vw 0;
  display: flex;
  flex-direction: column;
  gap: 7vw;
}
.history_content h2.history_year_bundle{
  font-size: 80px;
  font-weight: 800;
  font-family: var(--point-font);
  color: var(--color-primary);
  opacity: 0.2;
  margin-bottom: 2vw;
}
.text-right{
  text-align: right;
}
.history_content_item{
  margin-left: 320px;
  position: relative;
}
.history_content_item::before{
  content: '';
  width: 2px;
  height: 100%;
  background-color: #eee;
  position: absolute;
  top: 15px;
  left: 155px;
  border-radius: 2px;
}
.hsty_item_wrap{
  display: flex;
  gap: 50px;
}
.hsty_item_wrap:not(:last-child){
  margin-bottom: 3vw;
}
.hsty_item_wrap h3.hsty_year{
  font-size: 45px;
  font-weight: 800;
  text-align: center;
  color: var(--color-orange);
  width: 135px;
  height: fit-content;
  padding-right: 30px;
  position: relative;
}
.hsty_item_wrap h3.hsty_year::before{
  content: '';
  width: 10px;
  height: 15px;
  background-color: var(--color-orange);
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  right: -30px;
  clip-path: polygon(100% 50%, 0 0, 0 100%);
}
.hsty_item_wrap .hsty_info{
  padding: 11px 0;
  margin-left: 20px;
}
.hsty_item_wrap .hsty_info dl{
  display: flex;
  gap: 20px;
  font-size: 20px;
}
.hsty_item_wrap .hsty_info dl:not(:first-child){
  margin-top: 20px;
}
.hsty_info dl .hsty_month{
  width: 30px;
  text-align: center;
  font-size: 24px;
  font-weight: 700;
}
.hsty_info dl .hsty_detail{
  padding-top: 1px;
  line-height: 1.6;
  font-weight: 350;
  word-break: keep-all;
}

@media screen and (max-width: 1280px) {
  .history_content_item{
    margin-left: 240px;
  }
}
@media screen and (max-width: 1024px) {
  .history_content h2.history_year_bundle{
    font-size: 60px;
  }
  .history_content_item {
    margin-left: 165px;
  }
  .history_content_item::before{
    left: 140px;
  }
  .hsty_item_wrap h3.hsty_year{
    font-size: 35px;
    width: 120px;
  }
  .hsty_item_wrap .hsty_info{
    padding-top: 8px;
  }
  .hsty_item_wrap .hsty_info dl{
    font-size: 18px;
  }
  .hsty_info dl .hsty_month{
    font-size: 22px;
  }
}
@media screen and (max-width: 768px) {
  .history_title,
  .organization_title{
    padding: 45px;
  }
  .history_title h2,
  .organization_title h2{
    font-size: 22px;
  }
  .history_title p,
  .organization_title p{
    font-size: 18px;
  }
  .history_content_wrap{
    padding: 7vw 0;
  }
  .history_content h2.history_year_bundle{
    font-size: 50px;
  }
  .history_content_item{
    margin-left: 0;
    margin: 0 10px;
  }
  .history_content_item::before{
    left: 115px;
  }
  .hsty_item_wrap h3.hsty_year{
    font-size: 30px;
    width: 95px;
    padding-right: 20px;
  }
  .hsty_item_wrap .hsty_info{
    margin-left: 15px;
    padding-top: 6px;
  }
  .hsty_info dl .hsty_month{
    font-size: 20px;
  }
  .hsty_item_wrap .hsty_info dl{
    font-size: 16px;
  }
  .hsty_info dl .hsty_detail{
    padding-top: 0;
  }
}
@media screen and (max-width: 500px) {
  .history_title,
  .organization_title{
    padding: 30px;
  }
  .history_title h2,
  .organization_title h2{
    font-size: 18px;
  }
  .history_title p,
  .organization_title p{
    font-size: 1rem;
  }
  .history_content_wrap{
    padding: 10vw 0;
    gap: 60px;
  }
  .history_content h2.history_year_bundle{
    font-size: 35px;
    text-align: center;
    margin-bottom: 28px;
  }
  .history_content_item{
    margin: 0;
  }
  .history_content_item::before{
    left: 0;
    width: 1px;
  }
  .hsty_item_wrap{
    flex-direction: column;
    gap: 10px;
  }
  .hsty_item_wrap:not(:last-child){
    margin-bottom: 24px;
  }
  .hsty_item_wrap h3.hsty_year{
    text-align: left;
    width: fit-content;
    padding-right: 0;
    padding-left: 20px;
    font-size: 22px;
  }
  .hsty_item_wrap h3.hsty_year::before{
    right: auto;
    left: 0;
    width: 8px;
    height: 12px;
  }
  .hsty_item_wrap .hsty_info{
    margin-left: 30px;
    padding: 0;
    padding-bottom: 10px;
  }
  .hsty_item_wrap .hsty_info dl{
    font-size: 1rem;
    gap: 10px;
  }
  .hsty_info dl .hsty_month{
    font-size: 18px;
  }
}

/* 조직도 */
.organization_title{
  background: url(../img/images/organ_bg.jpg) no-repeat right center / cover;
}
.organ_content{
  position: relative;
  margin-top: 80px;
  padding: 100px 0 40px;
}
.organ_content .organ_word{
  font-size: 100px;
  font-weight: 500;
  color: var(--color-primary);
  opacity: 0.1;
  text-transform: capitalize;
  position: absolute;
  top: 0;
  left: 0;
}
.organ_content .organ_img{
  display: block;
  width: 100%;
  max-width: 1000px;
  padding: 30px;
  margin: 0 auto;
}
.organ_content .m_organ{
  display: none;
}

@media screen and (max-width: 768px) {
  .organ_content{
    margin-top: 60px;
  }
  .organ_content .organ_word{
    font-size: 80px;
  }
}
@media screen and (max-width: 500px) {
  .organ_content{
    margin-top: 40px;
    padding-top: 90px;
  }
  .organ_content .organ_word{
    font-size: 50px;
    text-align: right;
    width: 100%;
  }
  .organ_content .organ_img{
    padding: 0 10px;
  }
  .organ_content .pc_organ{
    display: none;
  }
  .organ_content .m_organ{
    display: block;
  }
}

/* 찾아오시는 길 */
.location_title{
  font-family: var(--point-font);
  font-size: 30px;
  text-align: right;
  margin-bottom: 50px;
}
.location_title > h2,
.location_title > p{
  position: relative;
}
.location_title > h2{
  font-size: 50px;
  font-family: var(--point-font);
  text-align: left;
  margin-bottom: 20px;
  padding-left: 180px;
  color: var(--color-primary);
}
.location_title > h2::before{
  content: '';
  width: 160px;
  height: 3px;
  background-color: var(--color-primary);
  position: absolute;
  top: 50%;
  left: 0;
  transform: translateY(-50%);
}
.location_title > p{
  line-height: 1.8;
  padding-right: 200px;
}
.location_title > p::before{
  content: '';
  width: 180px;
  height: 1px;
  background-color: #020A11;
  position: absolute;
  top: 22px;
  right: 0;
}
.location_content{
  width: 100%;
  max-width: 1000px;
  margin: 0 auto;
}
.root_daum_roughmap_landing{
  width: 100% !important;
}
.root_daum_roughmap .cont{
  display: none;
}
.location_info{
  margin-top: 30px;
  background-color: #fff;
  border-radius: 15px;
  overflow: hidden;
  box-shadow: 4px 4px 10px 0 rgba(3, 19, 34, 0.05);
}
.location_info > dl{
  display: flex;
  align-items: center;
}
.location_info > dl > dt,
.location_info > dl > dd{
  padding: 20px ;
  font-size: 20px;
}
.location_info > dl > dt{
  display: flex;
  gap: 5px;
  align-items: center;
  justify-content: center;
  background-color: var(--color-primary);
  color: #fff;
  font-weight: 700;
  width: 30%;
  min-width: 200px;
  border-bottom: 1px solid var(--color-primary);
}
.location_info > dl > dt span{
  font-size: 1.2em;
}
.location_info > dl > dd{
  flex: 1;
  border-bottom: 1px solid #ddd;
  font-weight: 300;
}
.location_info > dl:last-child > dd{
  border-bottom: 0;
}
@media screen and (max-width: 1024px) {
  .location_title{
    font-size: 20px;
    width: 100%;
    max-width: 800px;
    margin: 0 auto;
    margin-bottom: 30px;
  }
  .location_title > h2{
    font-size: 35px;
    padding-left: 100px;
  }
  .location_title > h2::before{
    width: 90px;
  }
  .location_title > p{
    padding-right: 100px;
  }
  .location_title > p::before{
    top: 16px;
    width: 90px;
  }
  .location_content{
    max-width: 800px;
  }
  .location_info > dl > dt,
  .location_info > dl > dd{
    padding: 15px;
    font-size: 1rem;
  }
}
@media screen and (max-width: 768px) {
  .root_daum_roughmap .wrap_map{
    height: 300px !important;
  }
}
@media screen and (max-width: 500px) {
  .location_title{
    font-size: 15px;
  }
  .location_title > h2{
    font-size: 20px;
    padding-left: 28px;
    margin-bottom: 10px;
  }
  .location_title > h2::before{
    width: 20px;
    height: 2px;
  }
  .location_title > p{
    padding-right: 28px;
  }
  .location_title > p::before{
    top: 10px;
    width: 20px;
  }
  .location_content{
    padding-bottom: 30px;
  }
  .root_daum_roughmap .wrap_map{
    height: 240px !important;
  }
  .location_info{
    margin-top: 15px;
    border-radius: 5px;
  }
  .location_info > dl{
    flex-direction: column;
  }
  .location_info > dl > dt,
  .location_info > dl > dd{
    padding: 12px;
    flex: auto;
    width: 100%;
  }
  .location_info > dl > dd{
    text-align: center;
  }
}

/* 설비/인증현황 */
.fc-index{
  position: relative;
  padding: 20px 0;
  margin-bottom: 60px;
}
.facility-index{
  padding-left: 180px;
}
.certification-index{
  padding-top: 25px;
  padding-left: 260px;
}
.fc-index > h1{
  text-transform: capitalize;
  font-size: 80px;
  font-weight: 500;
  color: var(--color-primary);
  opacity: 0.1;
  position: absolute;
  top: 0;
  left: 0;
}
.fc-index > p{
  font-size: 60px;
  font-weight: 800;
  margin-top: 20px;
  color: var(--color-primary);
  position: relative;
  overflow: hidden;
}
.fc-index > p::before{
  content: '';
  width: 100%;
  height: 3px;
  background-color: var(--color-primary);
  position: absolute;
  top: 50%;
  left: 230px;
  transform: translateY(calc(-50% - 3px));
  border-radius: 3px 0 0 3px;
}
.fc-content{
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 3.5vw;
  padding-bottom: 4vw;
}
.fc-content__item.plus_margin{
  margin-top: 10vw;
}
.fc-content__item.minus_margin{
  margin-top: -10vw;
}
.fc-content__item__img{
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 8px 8px 6px 0 rgba(3, 19, 34, 0.05);
}
.facility-content__item__img{
  aspect-ratio: 4 / 3;
}
.certification-content__item__img{
  aspect-ratio: 1 / 1.414;
}
.fc-content__item__img img{
  height: 100%;
  object-fit: cover;
  object-position: center;
}

@media screen and (max-width: 1024px) {
  .facility-index{
    padding-left: 150px;
  }
  .certification-index{
    padding-left: 210px;
  }
  .fc-index > h1{
    font-size: 60px;
  }
  .fc-index > p{
    font-size: 40px;
    margin-top: 15px;
  }
  .fc-index > p::before{
    left: 150px;
    height: 2px;
  }
}
@media screen and (max-width: 768px) {
  .fc-index{
    margin-bottom: 40px;
  }
  .facility-index{
    padding-left: 140px;
  }
  .certification-index{
    padding-top: 20px;
    padding-left: 190px;
  }
  .fc-index > h1{
    font-size: 55px;
  }
  .fc-index > p{
    font-size: 35px;
  }
  .fc-index > p::before{
    left: 135px;
  }
  .fc-content{
    padding-bottom: 5vw;
  }
  .facility-content{
    grid-template-columns: repeat(2, 1fr);
  }
  .facility-content .fc-content__item.plus_margin{
    margin-top: 0;
  }
  .facility-content .fc-content__item.minus_margin{
    margin-top: 0;
  }
  .facility-content .fc-content__item:nth-child(2) {
    margin-top: 10vw;
  }
  .facility-content .fc-content__item:nth-child(2n+1):not(:first-child) {
    margin-top: -10vw;
  }
  .facility-content__item__img{
    aspect-ratio: 3 / 2;
  }
}
@media screen and (max-width: 500px) {
  .fc-index{
    padding: 10px 0;
  }
  .facility-index{
    padding-left: 95px;
  }
  .certification-index{
    padding-left: 140px;
  }
  .fc-index > h1{
    font-size: 40px;
  }
  .fc-index > p{
    font-size: 25px;
  }
  .fc-index > p::before{
    left: 95px;
    transform: translateY(calc(-50% - 2px));
  }
  .certification-content{
    grid-template-columns: repeat(2, 1fr);
  }
  .certification-content .fc-content__item.plus_margin{
    margin-top: 0;
  }
  .certification-content .fc-content__item.minus_margin{
    margin-top: 0;
  }
  .certification-content .fc-content__item:nth-child(2) {
    margin-top: 10vw;
  }
  .certification-content .fc-content__item:nth-child(2n+1):not(:first-child) {
    margin-top: -10vw;
  }
}

/* 반응형 */
@media screen and (max-width: 1024px) {
  .sub-page__inner{
    width: 90%;
    max-width: 800px;
    margin-bottom: 10vw;
  }
  .sub-page-banner .sub-page__title p{
    padding-top: 25px;
    margin-top: 25px;
  }
  .sub-page__inner .sub-page_nav{
    margin-bottom: 7rem;
  }
  .sub-page__inner .sub-page_nav ul{
    font-size: 1rem;
  }
}
@media screen and (max-width: 768px) {
  .sub-page-banner{
    height: 35svh;
    margin-bottom: 3rem;
  }
  .sub-page-banner .sub-page__title span{
    margin-bottom: 2px;
  }
  .sub-page-banner .sub-page__title p{
    padding-top: 1.5rem;
    margin-top: 1.5rem;
  }
  .sub-page__inner .sub-page_nav{
    margin-bottom: 5rem;
  }
  .sub-page__inner .sub-page_nav ul{
    max-width: 100%;
  }
  .sub-page__inner .sub-page_nav ul li{
    padding: 8px 0;
  }
}
@media screen and (max-width: 500px) {
  .sub-page-banner{
    margin-bottom: 2rem;
  }
  .sub-page__inner .sub-page_nav{
    margin-bottom: 3rem;
  }
  .sub-page__inner .sub-page_nav ul{
    font-size: 0.9rem;
  }
}