@charset "UTF-8";

.block {
  height: 0px;
}

.sub_banner {
  width: 100%;
  height: 350px;
  position: relative;
  background-image: url(../img/sub_main.jpg);
  background-size: cover;
  background-position: center center;
  position: relative;
}

.sub_banner_txt {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 350px;
}

.sub_banner_txt p {
  font-size: 25px;
  color: rgb(255, 255, 255);
}

.sub_container {
  max-width: 1240px;
  margin: 0 auto;
  padding: 40px 20px;
}

/**서브 타이틀 시작**/
.sub_title {
  background: #f3f3f3;
  border-bottom: 1px solid #ddd;
}

.sub_title_box {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 15px 0;
}

.sub_title h2 {
  font-size: 30px;
  color: #333;
  background: url(../img/dot.jpg) no-repeat;
  background-position: center left;
  padding-left: 20px;
}

.sub_title span {
  font-size: 15px;
  color: #777;
}

/**서브 타이틀 끝//**/

.hei {
  height: 40px;
}

/**company_box 시작**/

/* 1. 스크롤 애니메이션 효과 */
.reveal {
  opacity: 0;
  transform: translateY(50px);
  transition: all 1s cubic-bezier(0.165, 0.84, 0.44, 1);
}
.reveal.active {
  opacity: 1;
  transform: translateY(0);
}

/* 2. 서브 히어로: 더 깊이감 있게 */
.sub-hero {
  height: 60vh; /* 화면의 60% 높이 */
  min-height: 500px;
  background: linear-gradient(rgba(0, 0, 0, 0.4), rgba(0, 0, 0, 0.4)),
    url("https://images.unsplash.com/photo-1616394584738-fc6e612e71b9?q=80&w=2070&auto=format&fit=crop")
      no-repeat center/cover;
  background-attachment: fixed; /* 패럴랙스 효과 (배경 고정) */
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
}
.sub-hero h2 {
  font-family: "Playfair Display", serif;
  font-size: 60px;
  color: #fff;
  margin-bottom: 20px;
  letter-spacing: 2px;
}
.sub-hero p {
  font-size: 18px;
  color: rgba(255, 255, 255, 0.9);
  letter-spacing: 4px;
  font-weight: 300;
  text-transform: uppercase;
}

/* 3. 브랜드 철학 (Editorial Layout) */
.philosophy {
  padding: 80px 0;
  position: relative;
  background: #fff;
}
.philo-container {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  padding: 0 40px;
}
/* 왼쪽 영문 타이틀 */
.philo-title {
  flex: 1;
  font-family: "Playfair Display", serif;
  font-size: 80px;
  line-height: 0.9;
  color: #f0f0f0; /* 배경처럼 아주 연하게 */
  position: sticky;
  top: 150px; /* 스크롤 따라오게 */
  font-weight: 700;
}
.philo-title span {
  display: block;
  color: #000;
  font-size: 24px;
  letter-spacing: 2px;
  margin-top: -20px;
  margin-left: 5px;
}

/* 오른쪽 본문 */
.philo-content {
  flex: 1.2;
  padding-top: 50px;
}
.signature-font {
  font-family: "Marck Script", cursive; /* 필기체 */
  font-size: 40px;
  color: #333;
  margin-bottom: 10px;
}
.signature-role {
  font-size: 14px;
  color: #999;
  text-transform: uppercase;
  letter-spacing: 2px;
}

.slogan {
  font-size: 28px;
  font-weight: 600;
  line-height: 1.5;
  margin-bottom: 50px;
  border-left: 4px solid #000;
  padding-left: 30px;
}
.desc-text p {
  font-size: 17px;
  color: #555;
  line-height: 2;
  margin-bottom: 30px;
  font-weight: 300;
}
.signature {
  margin-top: 60px;
  text-align: right;
}
.signature-font {
  font-family: "Marck Script", cursive; /* 필기체 */
  font-size: 40px;
  color: #333;
  margin-bottom: 10px;
}
.signature-role {
  font-size: 14px;
  color: #999;
  text-transform: uppercase;
  letter-spacing: 2px;
}
p.philosophy {
  font-size: 20px;
}

/* 반응형 */
@media (max-width: 1024px) {
  .philo-container {
    flex-direction: column;
  }
  .philo-title {
    position: static;
    margin-bottom: 50px;
    color: #eee;
    font-size: 60px;
  }
  .philo-title span {
    color: #000;
  }
  
}
/* 원장 */

.director {
  padding: 80px 0px;
  background: #fff;
  border-top: 1px solid #000;
}

.director-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 80px;
}

.director-text {
  flex: 1;
}
.director-img {
  flex: 1;
  height: 500px;
  overflow: hidden;
}
.director-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: grayscale(100%);
}

.director-text .eng {
  font-family: "Playfair Display", serif;
  font-size: 16px;
  color: #888;
}
.director-text h2 {
  font-size: 32px;
  margin: 10px 0 20px;
  font-weight: 700;
}
.director-p {
  font-size: 18px;
  opacity: 0.6;
}
.divider-small {
  width: 30px;
  height: 2px;
  background: #000;
  margin-bottom: 30px;
}

.cert-list {
  margin-bottom: 40px;
}
.cert-list li {
  font-size: 18px;
  margin-bottom: 12px;
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 400;
}
.cert-list i {
  color: #000;
  font-size: 22px;
}

/* 모바일 대응 */
@media (max-width: 768px) {
  .philosophy {
    padding: 60px 0;
  }
  .director-inner {
    flex-direction: column-reverse;
    gap: 40px;
  }
  .director-img {
    height: 350px;
  }
  .cert-list li {
    font-size: 16px;
  }
  .slogan {
    font-size: 22px;
  }
  .desc-text p {
    font-size: 18.2px;
  }
}
/**map_box 시작**/
.map_wrap {
  padding: 30px;
  background: #f3f3f3;
  overflow: hidden;
}

.map_wrap .map_box {
  display: flex;
  align-items: center;
}

.map_icon {
  float: left;
  padding-right: 20px;
}

.map_txt {
  text-align: left;
  float: left;
}

.map_txt h2 {
  font-size: 22px;
}

.map_txt p {
  font-size: 18px;
  padding-top: 8px;
}

/**map_box 끝**/
/* #maparea {height: 300px;} */
#maparea .root_daum_roughmap {
  width: 100% !important;
  height: 100% !important;
}

/****************************** sub 갤러리 box 시작 ******************************/
.sub_gall_list {
  margin: -10px -10px 0;
  overflow: hidden;
}

.sub_gall_list .gall_item {
  float: left;
  width: 25%;
  padding: 10px;
}

.sub_gall_list .gall_item a {
  display: block;
  overflow: hidden;
}

.sub_gall_list .gall_item a img {
  transition: all 1.2s;
  transform: scale(1);
  width: 100%;
  height: 200px;
  object-fit: cover;
}

.sub_gall_list .gall_item a:hover img {
  transform: scale(1.085);
}

.sub_gall_list.detail_type .gall_item a {
  position: relative;
}

.sub_gall_list.detail_type .gall_desc {
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
}

.sub_gall_list.detail_type .gall_desc_wrap {
  display: block;
  text-align: center;
}

.sub_gall_list .gall_item p {
  text-align: center;
  font-size: 18px;
  color: #666;
  padding-top: 12px;
}

/****************************** sub 갤러리 box 끝 ******************************/

/** product_list 시작**/
.business_tit {
  font-size: 30px;
  font-weight: 800;
  color: #333;
  margin-bottom: 20px;
}

.list_tit {
  font-size: 20px;
  font-weight: 800;
  color: #444;
  margin-top: 30px;
}

.product_list {
  padding: 20px 40px;
  border: 1px solid #ddd;
  margin-top: 10px;
  background: #f5f5f5;
}

.product_list p {
  font-size: 17px;
  color: #666;
  padding-top: 5px;
}

.product_list p b {
  color: #222;
}

/** product_list 끝//**/

/** info_box_wrap 시작**/
.info_box_wrap {
  margin-top: 40px;
}

.info_box_wrap h3 {
  font-size: 22px;
  color: #2763b9;
  font-weight: 800;
  margin-bottom: 10px;
}

.info_box {
  padding: 20px;
  background: #f0f5fb;
  border: 1px solid #e8eef5;
}

.info_box p {
  font-size: 17px;
  color: #444;
}

.info_box p b {
  font-size: 17px;
  color: #2763b9;
  display: block;
}

.info_box span {
  font-size: 15px;
  color: #2763b9;
}

.info_txt p {
  font-size: 17px;
  color: #444;
}

.info_txt h5 {
  font-size: 14px;
  color: #444;
  text-align: right;
  padding: 10px 0 20px 0;
}

.info_txt span {
  font-size: 15px;
  color: #2763b9;
}

/** info_box_wrap 끝//**/

/* profile */
.profile {
  display: flex;
  flex-wrap: wrap;
}

.profile img {
  width: 100%;
  max-width: 600px;
}

/** table 시작**/
.table-responsive {
  overflow-x: auto;
  min-height: 1px;
}

.table-responsive table th,
.table-responsive table td {
  white-space: nowrap;
}

.table_con {
  width: 100%;
  margin-top: 20px;
  border-collapse: collapse;
  border-top: 2px solid #1c90ba;
}

.table_con th {
  border: 1px solid #ddd;
  padding: 10px 0;
  background: #eef8f6;
  text-align: left;
  padding: 10px 20px;
  font-size: 16px;
  white-space: nowrap;
}

.table_con td {
  border: 1px solid #ddd;
  padding: 10px 20px;
  color: #666;
  font-size: 16px;
  white-space: nowrap;
}

/** table 끝//**/

.d_block {
  display: inline-block;
}

.m_block {
  display: none;
}

.d_block_480 {
  display: block;
}

.m_block_480 {
  display: none;
}

/*******************************************************************************************************************************
 *** PC ~ 테블릿
*******************************************************************************************************************************/
@media (max-width: 1024px) {
  .d_block {
    display: none;
  }

  .m_block {
    display: inline-block;
  }

  .sub_container {
    padding: 30px;
  }

  .sub_container .sub_title h2 {
    font-size: 32px;
  }

  .sub_banner,
  .sub_banner_txt {
    height: 320px;
  }

  .sub_banner_txt span img {
    height: 50px;
  }

  .sub_banner_txt p {
    font-size: 18px;
  }

  .sub_container .sub_title p {
    font-size: 16px;
    color: #888;
    padding: 5px 0 20px 0;
  }

  .sub_banner_txt h2 {
    font-size: 32px;
  }

  .sub_banner_txt strong {
    font-size: 18px;
  }

  .sub_banner_txt p {
    font-size: 17px;
    padding-top: 15px;
  }

  /** company_box 시작**/
  .company_box .company_txt {
    width: 100%;
    border-radius: 20px;
    padding: 2rem;
  }

  .company_box .company_txt h2 {
    font-size: 18px;
  }

  .company_box .company_txt p {
    font-size: 17px;
  }

  /** company_box 끝//**/

  /* sub_sub */
  .sub_sub .container div:last-child {
    padding-top: 160px;
  }

  .sub_sub h3 {
    font-size: 26px;
    line-height: 1.4;
    padding-bottom: 2.6rem;
  }

  .sub_sub p {
    font-size: 16px;
  }
}

/*******************************************************************************************************************************
 *** 모바일
*******************************************************************************************************************************/
@media (max-width: 768px) {
  .sub_container {
    padding: 20px 10px;
  }

  .sub_banner {
    height: 240px;
  }

  .sub_banner_txt {
    height: 240px;
  }

  .sub_banner_txt span img {
    height: 36px;
  }

  .sub_banner_txt h2 {
    font-size: 24px;
  }

  .sub_banner_txt strong {
    font-size: 16px;
  }

  /**서브 타이틀 시작**/
  .sub_title {
    margin-bottom: 20px;
  }

  .sub_title h2 {
    font-size: 20px;
  }

  /**서브 타이틀 끝//**/

  /**company_box 시작**/
  .company_box .company_txt {
  }

  .company_box .company_txt h2 {
    font-size: 16px;
    margin-bottom: 0;
  }

  .company_box .company_txt h2 b {
    display: block;
    padding: 10px 0 0 0;
  }

  .company_box .company_txt h2 span {
    padding-right: 5px;
  }

  .company_box .company_txt h2 span img {
    height: 45px;
  }

  .company_box .company_txt p {
    font-size: 15px;
  }

  /**company_box 끝**/

  /**company_box2 시작**/
  .company_box2 h3 {
    font-size: 18px;
  }

  .company_box2 p {
    font-size: 13px;
    padding: 4px 0 16px 0;
  }

  /**company_box2 끝//**/

  /* study*/
  .study_box .title {
    font-size: 30px;
    margin-bottom: 2rem;
  }
  .study_box ul {
    display: grid;
    grid-template-columns: 1fr;
    grid-gap: 30px;
  }
  .study_box ul li {
    padding: 1.7rem;
  }

  /**map_box 시작**/
  .map_wrap {
    padding: 20px 10px;
  }

  .map_txt h2 {
    font-size: 16px;
  }

  .map_txt p {
    font-size: 13px;
    padding-top: 0;
  }

  .map_icon {
    padding-right: 0;
  }

  .map_icon img {
    width: 80%;
  }

  /**map_box 끝**/

  /**서브 갤러리 시작**/
  .sub_gall_list .gall_item {
    width: 50%;
  }

  .sub_gall_list .gall_item p {
    font-size: 14px;
    padding-top: 10px;
  }

  .sub_gall_list .gall_item a img {
    height: 150px;
  }

  /**서브 갤러리 끝//**/

  /** product_list 시작**/
  .list_tit {
    font-size: 17px;
  }

  .product_list p {
    font-size: 15px;
  }

  .product_list p span {
    display: block;
  }

  .product_list {
    padding: 10px;
  }

  /** product_list 끝//**/

  /** product_list 시작**/
  .list_tit {
    font-size: 18px;
  }

  .product_list {
    padding: 20px;
  }

  .product_list p {
    font-size: 16px;
  }

  /** product_list 끝//**/

  /** info_box_wrap 시작**/
  .info_box_wrap h3 {
    font-size: 18px;
  }

  .info_box p {
    font-size: 14px;
  }

  .info_box span {
    font-size: 13px;
  }

  .info_txt p {
    font-size: 14px;
  }

  .info_txt span {
    font-size: 13px;
  }

  /** info_box_wrap 끝//**/

  /** table 시작**/
  .table_con th {
    font-size: 14px;
  }

  .table_con td {
    font-size: 14px;
  }

  /** table 끝//**/
}

/*******************************************************************************************************************************
 *** 모바일 max-width 480
*******************************************************************************************************************************/
@media (max-width: 480px) {
  .sub > p {
    padding: 6% 1%;
    font-size: 17px;
    text-align: left;
    line-height: 1.8;
  }

  ul.list {
    padding: 0;
  }

  .sub_banner {
    height: 150px;
    background-image: url(../img/sub_main.jpg);
    background-size: cover;
    background-position: center center;
  }

  .sub_banner_txt {
    height: 150px;
  }

  .sub_banner_txt span img {
    height: 26px;
  }

  .sub_banner_txt h2 {
    font-size: 20px;
  }

  .sub_banner_txt strong {
    font-size: 13px;
  }

  .sub_banner_txt h2 span {
    display: block;
  }

  .sub_banner_txt strong {
    font-size: 14px;
  }

  .sub_banner_txt p {
    display: block;
    font-size: 15px;
  }

  /** company_box 시작**/
  .company_box .company_txt h2 {
    font-size: 13px;
  }

  .company_box .company_txt h2 span img {
    height: 34px;
  }

  .company_box .company_txt p {
    font-size: 14px;
  }

  /** company_box 끝//**/

  /** product_list 시작**/
  .list_tit {
    font-size: 16px;
    margin-top: 20px;
  }

  .product_list p {
    font-size: 13px;
    line-height: 18px;
  }

  .product_list {
    padding: 10px;
  }

  /** product_list 끝//**/

  /** info_box_wrap 시작**/
  .info_box_wrap h3 {
    font-size: 16px;
  }

  .info_box p {
    font-size: 13px;
  }

  .info_box span {
    font-size: 12px;
  }

  .info_txt p {
    font-size: 13px;
  }

  .info_box p b {
    font-size: 13px;
  }

  .info_txt span {
    font-size: 12px;
  }

  /** info_box_wrap 끝//**/

  /** table 시작**/
  .table_con th {
    font-size: 13px;
  }

  .table_con td {
    font-size: 13px;
  }

  /** table 끝//**/

  .d_block_480 {
    display: none;
  }

  .m_block_480 {
    display: block;
  }
}

@media (max-width: 360px) {
  .sub_banner_txt span img {
    height: 20px;
  }
}
