@charset "UTF-8";

.company_sub {
  width: 100%;
  height: 400px;
  position: relative;
  background-image: url(../img/sub_banner.jpg);
  background-size: cover;
  background-position: center left;
  position: relative;
  color: #fff;
}

.company_sub .container {
  height: 100%;
}

.mainsub_text {
  width: 100%;
  height: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
}

.mainsub_text h2 {
  font-size: 22px;
  font-weight: 300;
  line-height: 1.2;
}

.mainsub_text p {
  font-size: 1.1rem;
}

.subbottom .container {
  position: relative;
}

.subbottom {
  text-align: right;
  width: 100%;
  position: absolute;
  bottom: 0;
  background: #c3262d;
}

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

.sub_banner_txt {
  display: flex;
  align-items: center;
  text-align: center;
  height: 340px;
  color: #fff;
}

.sub_banner_txt h2 {
  font-size: 22px;
  font-weight: 300;
}

.sub_banner_txt strong {
  font-size: 26px;
  display: block;
  line-height: 100%;
}

.sub_banner_txt h3 {
  font-size: 45px;
  line-height: 54px;
  font-weight: 400;
}

.sub_banner_txt h3 b {
  color: #119b3f;
}

.sub_banner_txt p {
  font-size: 18px;
  line-height: 26px;
  padding-top: 10px;
  color: #333;
}

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

/* Page Header */
.page-header {
  background: url(../img/sub_banner.jpg) center;
  color: white;
  padding: 120px 0 80px;
  text-align: center;
}

.page-header h1 {
  font-size: 48px;
  font-weight: 700;
  margin-bottom: 16px;
}

.page-header p {
  font-size: 20px;
  opacity: 0.9;
}

/* Breadcrumb */
.breadcrumb {
  background: #f8fafc;
  padding: 20px 0;
}

.breadcrumb-nav {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
}

.breadcrumb-nav a {
  color: #64748b;
  text-decoration: none;
}

.breadcrumb-nav a:hover {
  color: #3b82f6;
}

.breadcrumb-nav span {
  color: #3b82f6;
  font-weight: 500;
}

/* Content Sections */
.content-section {
  padding: 80px 0;
}

.content-section:nth-child(odd) {
  background: white;
}

.content-section:nth-child(even) {
  background: #f8fafc;
}

.section-header {
  text-align: center;
  margin-bottom: 60px;
}

.section-title {
  font-size: 36px;
  font-weight: 700;
  color: #1a1a1a;
  margin-bottom: 16px;
}

.section-subtitle {
  font-size: 18px;
  color: #64748b;
  max-width: 600px;
  margin: 0 auto;
}

/* Company Overview */
/* Service Categories Styling */
.service-categories {
  margin-bottom: 32px;
}

.service-grid {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  grid-template-rows: 1fr 1fr;
  gap: 24px;
}

.service-grid .service-item:nth-child(4) {
  grid-column: 1 / 2.5;
}

.service-grid .service-item:nth-child(5) {
  grid-column: 2.5 / 4;
}
.service-item {
  background: white;
  padding: 24px;
  border-radius: 12px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
  border-left: 4px solid #3b82f6;
  transition: all 0.3s ease;
}

.service-item:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.12);
}

.service-icon {
  width: 50px;
  height: 50px;
  background: linear-gradient(135deg, #3b82f6, #1d4ed8);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 20px;
  margin-bottom: 16px;
}

.service-item h4 {
  font-size: 16px;
  font-weight: 600;
  color: #1a1a1a;
  margin: 0 0 12px 0;
  line-height: 1.4;
}

.service-item p {
  font-size: 14px;
  color: #64748b;
  margin-bottom: 8px;
  line-height: 1.5;
}

/* 모바일 반응형 */
@media (max-width: 768px) {
  .service-grid {
    grid-template-columns: 1fr;
    grid-template-rows: auto;
  }

  .service-grid .service-item:nth-child(4),
  .service-grid .service-item:nth-child(5) {
    grid-column: 1;
  }

  .service-item h4 {
    font-size: 17.9px;
  }

  .service-item p {
    font-size: 13px;
  }

  .section-subtitle {
    font-size: 16px;
    font-weight: normal;
  }
}

.company-overview {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

.overview-text h3 {
  font-size: 28px;
  font-weight: 700;
  color: #1a1a1a;
  margin-bottom: 24px;
}

.overview-text p {
  font-size: 16px;
  color: #64748b;
  margin-bottom: 24px;
  line-height: 1.8;
}

.overview-image {
  background: url(../img/sub_img.jpg) center;
  background-size: cover;
  height: 400px;
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 80px;
  position: relative;
  overflow: hidden;
}

.overview-image::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: radial-gradient(
      circle at 30% 70%,
      rgba(255, 255, 255, 0.1) 0%,
      transparent 50%
    ),
    radial-gradient(
      circle at 70% 30%,
      rgba(255, 255, 255, 0.1) 0%,
      transparent 50%
    );
}

/* Info Cards */
.info-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 32px;
}

.info-card {
  background: white;
  padding: 40px 32px;
  border-radius: 16px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
  border-left: 4px solid #3b82f6;
  transition: all 0.3s ease;
}

.info-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.12);
}

.info-card h4 {
  font-size: 20px;
  font-weight: 600;
  color: #1a1a1a;
  margin-bottom: 16px;
  display: flex;
  align-items: center;
}

.info-card h4 i {
  color: #3b82f6;
  margin-right: 12px;
  font-size: 20px;
}

.info-card p {
  color: #64748b;
  margin-bottom: 20px;
  line-height: 1.6;
}

.info-card ul {
  list-style: none;
}

.info-card ul li {
  color: #64748b;
  margin-bottom: 8px;
  display: flex;
  align-items: center;
}

.info-card ul li i {
  color: #3b82f6;
  margin-right: 8px;
  font-size: 14px;
}

/* Timeline */
.timeline {
  max-width: 800px;
  margin: 0 auto;
}

.timeline-item {
  display: flex;
  margin-bottom: 40px;
  position: relative;
}

.timeline-item::before {
  content: "";
  position: absolute;
  left: 59px;
  top: 60px;
  bottom: -40px;
  width: 2px;
  background: #e2e8f0;
}

.timeline-item:last-child::before {
  display: none;
}

.timeline-year {
  background: #3b82f6;
  color: white;
  width: 120px;
  height: 60px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  font-weight: 700;
  margin-right: 32px;
  flex-shrink: 0;
}

.timeline-content {
  flex: 1;
  background: white;
  padding: 24px;
  border-radius: 12px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
}

.timeline-content h4 {
  font-size: 18px;
  font-weight: 600;
  color: #1a1a1a;
  margin-bottom: 8px;
}

.timeline-content p {
  color: #64748b;
  line-height: 1.6;
}

/* Values Grid */
.values-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 32px;
}

.value-item {
  text-align: center;
  padding: 40px 24px;
  background: white;
  border-radius: 16px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
  transition: all 0.3s ease;
}

.value-item:hover {
  transform: translateY(-8px);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.12);
}

.value-icon {
  width: 80px;
  height: 80px;
  background: linear-gradient(135deg, #3b82f6, #1d4ed8);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 32px;
  margin: 0 auto 24px;
}

.value-item h4 {
  font-size: 20px;
  font-weight: 600;
  color: #1a1a1a;
  margin-bottom: 12px;
}

.value-item p {
  color: #64748b;
  line-height: 1.6;
}

/* Contact CTA */
.contact-cta {
  background: linear-gradient(135deg, #1e293b, #334155);
  color: white;
  text-align: center;
  padding: 80px 0;
}

.contact-cta h3 {
  font-size: 32px;
  font-weight: 700;
  margin-bottom: 16px;
}

.contact-cta p {
  font-size: 18px;
  margin-bottom: 32px;
  opacity: 0.9;
}

.cta-button {
  background: #3b82f6;
  color: white;
  padding: 16px 40px;
  border-radius: 50px;
  text-decoration: none;
  font-weight: 600;
  font-size: 16px;
  transition: all 0.3s ease;
  display: inline-block;
}

.cta-button:hover {
  background: #1d4ed8;
  transform: translateY(-2px);
}

/* Footer */
.footer {
  background: #1a1a1a;
  color: white;
  padding: 60px 0 40px;
}

.footer-content {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 40px;
  margin-bottom: 40px;
}

.footer-section h4 {
  font-size: 18px;
  font-weight: 600;
  margin-bottom: 20px;
  color: #3b82f6;
}

.footer-section p,
.footer-section a {
  color: #9ca3af;
  text-decoration: none;
  line-height: 1.6;
  margin-bottom: 8px;
  display: block;
}

.footer-section a:hover {
  color: #3b82f6;
}

.footer-bottom {
  border-top: 1px solid #374151;
  padding-top: 24px;
  text-align: center;
  color: #6b7280;
  font-size: 14px;
}

/* Responsive */
@media (max-width: 768px) {
  .header-nav {
    gap: 20px;
  }

  .nav-links {
    display: none;
  }

  .page-header h1 {
    font-size: 32px;
  }

  .company-overview {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .timeline-item {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .timeline-item::before {
    display: none;
  }

  .timeline-year {
    margin-right: 0;
    margin-bottom: 16px;
  }
}

/* Scroll animations */
.fade-in {
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.8s ease;
}

.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

/**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 {
  float: left;
}

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

.map_txt p {
  font-size: 19px;
  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%;
}

.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;
}

/* 서브메뉴 */

.submenu {
  width: 100%;
  display: flex;
  margin: auto;
  justify-content: center;
  padding: 1rem;
  background: rgb(243, 243, 243);
}

.submenu li {
  margin: 0 6px;
  border-right: 2px solid rgba(189, 189, 189, 0.8);
  padding-right: 10px;
  font-size: 18px;
}

.submenu li:first-child {
  border-left: 2px solid rgba(189, 189, 189, 0.8);
  padding-left: 10px;
}

.submenu li.on {
  font-weight: 700;
  color: rgb(243, 43, 43);
}

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

.d_block {
  display: inline-block;
}

.m_block {
  display: none;
}

/*******************************************************************************************************************************
 *** PC ~ 테블릿
*******************************************************************************************************************************/
@media (max-width: 1024px) {
  .sub_container {
    padding: 30px;
  }

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

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

  .sub_banner_txt p {
    font-size: 16px;
    line-height: 22px;
  }

  .sub_container .sub_title p {
    font-size: 17px;
  }

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

  .company_box .company_txt h3 {
    font-size: 30px;
    line-height: 36px;
  }

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

  .company_box .company_txt strong {
    font-size: 22px;
  }
}

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

  .sub_banner {
    height: 400px;
  }

  .sub_banner_txt {
    height: 400px;
  }

  .sub_banner_txt h2 {
    padding-top: 100px;
    font-size: 22px;
  }

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

  .sub_banner_txt h3 {
    font-size: 26px;
    line-height: 34px;
  }

  .sub_banner_txt p {
    font-size: 13px;
    display: none;
  }

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

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

  .sub_title p {
    font-size: 14px;
    padding: 5px 0 10px 0;
  }

  .sub_title span {
    height: 1px;
    background-color: #ddd;
  }

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

  /* history */
  .history {
    display: grid;
    grid-template-columns: 1fr;
    grid-gap: 40px;
  }

  .history div:nth-child(1) {
    display: none;
  }
  .company_sub {
    height: 500px;
  }

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

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

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

  .map_txt p {
    font-size: 16px;
    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;
  }

  .submenu {
    width: 100%;
    display: flex;
    flex-direction: column;
    margin: auto;
    justify-content: center;
    padding: 1rem;
    background: rgb(243, 243, 243);
    border-radius: 10px;
  }

  .submenu li {
    margin: 0 6px;
    border-left: 0px solid rgba(189, 189, 189, 0.8);
    border-right: 0px solid rgba(189, 189, 189, 0.8);
    padding-right: 10px;
    font-size: 14px;
    margin-bottom: 10px;
  }

  .submenu li:first-child {
    border: none;
  }

  .submenu li.on {
    border-bottom: 1px solid rgb(207, 207, 207);
    border-top: 1px solid rgb(207, 207, 207);
  }

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

  .d_block {
    display: none;
  }

  .m_block {
    display: inline-block;
  }
}

/*******************************************************************************************************************************
 *** 모바일 max-width 480
*******************************************************************************************************************************/
@media (max-width: 480px) {
  .company_sub {
    height: 230px;
  }

  .mainsub_text {
    height: 100%;
    padding-bottom: 0;
    bottom: 100px;
  }

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

  /* 프로필 */
  .profile_1 ul {
    grid-template-columns: 1fr;
    padding-bottom: 3rem;
    grid-gap: 65px;
  }

  .profile_1 ul li {
    font-size: 16.5px;
  }

  .profile_1 ul li:first-child {
    margin: 0 auto;
    width: 85%;
  }

  .profile_1 ul li .img {
    width: 70%;
    height: 260px;
  }

  .profile_1 ul li .imgbox {
    width: 180px;
    height: 200px;
    top: 90px;
  }
  .profile_1 ul li h3 {
    font-size: 25px;
  }

  .profile_2 .profile_1 ul {
    grid-template-columns: 1fr !important;
    padding-bottom: 3rem;
    grid-gap: 35px;
  }

  .profile_2 .profile_1 ul li:first-child {
    display: flex;
    justify-content: center;
  }

  .profile_1 ul li .img2 {
    width: 160px;
  }

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

  .sub_banner_txt h2 {
    padding-top: 90px;
    font-size: 16px;
  }

  .company_box .company_txt h3 {
    font-size: 26px;
    line-height: 36px;
  }

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

  .company_box .company_txt strong {
    font-size: 19px;
  }

  .pc_img {
    display: none;
  }

  .m_img {
    display: inline-block;
  }
}

@media (max-width: 340px) {
}
