/* 전체 공통 스타일 */
html, body {
  height: 100%;
  margin: 0;
  padding: 0;
  display: flex;            /* ✅ 추가 */
  flex-direction: column;  /* ✅ 추가 */

  background-color: #0a0d13;
  background-image:
    repeating-linear-gradient(0deg, transparent, transparent 39px, rgba(0,255,255,0.06) 40px),
    repeating-linear-gradient(90deg, transparent, transparent 39px, rgba(0,255,255,0.06) 40px),
    radial-gradient(circle at 20px 20px, rgba(0,255,255,0.12) 2px, transparent 3px),
    radial-gradient(circle at 60px 60px, rgba(0,255,255,0.07) 2px, transparent 3px);
  background-size: 80px 80px;
  font-family: 'IBM Plex Sans KR', sans-serif;
  color: #c9f4ff;
}
/* 링크 공통 스타일 */
/* ✅ 고정 헤더로 인한 스크롤 위치 보정 */
a {
  text-decoration: none;
  color: inherit;
}

/* 메인 콘텐츠 영역 */
main {
  flex: 1;
  padding-top: 100px; /* 헤더 높이 고려 */
  box-sizing: border-box;
}

/* 타일 그리드 컨테이너 (기본 PC용 6열) */
.tile-grid {
  display: grid;
  grid-template-columns: repeat(6, 160px);
  gap: 2px;
  justify-content: center;
  padding: 40px 0;
  background: transparent;
}

.tile {
  width: 160px;
  height: 160px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  border-radius: 4px;
  color: white;
  text-align: center;
  font-size: 14px;
  background: #2c2c2c;
}

.tile i {
  font-size: 36px;
  margin-bottom: 10px;
}

.tile.invisible {
  background: transparent;
  visibility: hidden;
  pointer-events: none;
}

/* 타일 hover 효과 */
.tile:hover {
  transform: scale(1.03);
  filter: brightness(1.1);
}

/* 색상 클래스 */
.blue { background: #2980b9; }
.sky { background: #3498db; }
.lightblue { background: #5dade2; }
.olive { background: #7f8c17; }
.purple { background: #8e44ad; }
.orange { background: #e67e22; }
.green { background: #27ae60; }
.darkred { background: #c0392b; }

#header-container {
  height: 100px;
}

.inquiry-form {
  color: #1a1a1a;
  border: 2px solid #000; /* 🔥 테두리 추가 */
  border-radius: 16px;
  background-color: #fff;
  padding: 50px;
  max-width: 900px;
  margin: 0 auto;
  box-shadow: 0 10px 30px rgba(0,0,0,0.06);
}

.inquiry-form label {
  color: #1a1a1a;
  font-weight: 600;
}

.inquiry-form input,
.inquiry-form textarea {
  border: 1.5px solid #000;      /* 테두리: 검정색으로 뚜렷하게 */
  border-radius: 8px;
  padding: 10px 14px;
  font-size: 15px;
  background-color: #fff;
  color: #1a1a1a;
}

.inquiry-form input:focus,
.inquiry-form textarea:focus {
  border-color: #000;
  outline: none;
  box-shadow: 0 0 0 2px rgba(0, 0, 0, 0.15); /* 은은한 블랙 강조 */
}

.info-card {
  background-color: #ffffff;
  border: 1px solid #eaeaea;
  border-radius: 16px;
  padding: 24px 28px;
  margin-bottom: 24px;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.06);
  color: #1a1a1a;
}

.info-card h3 {
  font-size: 18px;
  margin-bottom: 10px;
  font-weight: 600;
  cursor: pointer;
  color: #1a1a1a;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.info-card p,
.info-card ul,
.info-card ol {
  color: #1a1a1a;
  font-size: 15px;
  line-height: 1.6;
  margin: 0 0 10px 0;
}

.info-card ul,
.info-card ol {
  padding-left: 20px;
}

.info-card .card-detail {
  display: none;
  margin-top: 12px;

}

.info-card.active .card-detail {
  display: block;
}
.circle-number-list {
  list-style: none;
  counter-reset: item;
  padding-left: 20px;
}
.circle-number-list li {
  counter-increment: item;
  margin-bottom: 10px;
  position: relative;
  padding-left: 35px;
}
.circle-number-list li::before {
  content: counter(item);
  position: absolute;
  left: 0;
  top: 0;
  width: 24px;
  height: 24px;
  background: #284b8f;
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  font-weight: bold;
}
.company-intro-wrapper.transparent-style {
  background-color: rgba(0, 0, 0, 0.3);
  padding: 64px 32px;
  max-width: 880px;
  margin: 0px auto 80px auto;
  border-radius: 20px;
  border: 1px solid rgba(255,255,255,0.1);
  backdrop-filter: blur(6px);
  box-shadow: 0 8px 32px rgba(0,0,0,0.3);
  color: #fff;
  text-align: center;
}

.company-intro-wrapper.transparent-style h2 {
  font-size: 2.2rem;
  font-weight: 700;
  margin-bottom: 8px;
}

.company-intro-wrapper.transparent-style p {
  font-size: 1rem;
  margin-bottom: 30px;
  color: #9fdcff;
}

.company-info-grid {
  display: grid;
  grid-template-columns: 160px 1fr;
  row-gap: 14px;
  column-gap: 20px;
  text-align: left;
  font-size: 15px;
  line-height: 1.7;
  
  max-width: 600px;         /* ✅ 적절한 너비 제한 */
  margin: 0 auto;           /* ✅ 중앙 정렬 */
}

.company-info-grid div {
  display: contents;
}

.company-info-grid strong {
  color: #a6e5ff;
  font-weight: 600;
  text-align: right;
}
/* ✅ 모바일 및 태블릿 대응 */


.company-intro-wrapper {
  max-width: 900px;
  margin: 0 auto;
  padding: 60px 20px;
  line-height: 1.8;
  font-size: 16px;
  color: #ffffff; /* 전체 텍스트를 흰색으로 */
  text-align: left;
}

.company-intro-wrapper h2.intro-title {
  font-size: 40px;
  font-weight: 700;
  margin-bottom: 10px;
  text-align: center;
  color: #ffffff; /* 제목도 흰색 */
}

.company-intro-wrapper p.intro-sub {
  text-align: center;
  font-size: 20px;
  margin-bottom: 40px;
  color: #ffffff; /* 서브 타이틀도 흰색 */
}

.greeting-message p {
  margin-bottom: 20px;
  color: #ffffff; /* 문단 전체 흰색 */
  font-size: 20px;
}

.greeting-values {
  margin: 30px 0;
  padding-left: 20px;
  font-size: 20px;
  list-style-type: disc;
  color: #ffffff; /* 리스트 항목도 흰색 */
}

.greeting-values li strong {
  display: inline-block;
  margin-bottom: 6px;
  color: #ffffff; /* 강조 부분도 흰색 */
}

.ceo-signature {
  margin-top: 40px;
  font-weight: 600;
  text-align: right;
  color: #ffffff; /* 서명도 흰색 */
  font-size: 1.5rem;
}



.accordion {
  margin-top: 20px;
}

.accordion-toggle {
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(255, 255, 255, 0.15);
  padding: 14px;
  font-size: 18px;
  font-weight: 600;
  text-align: center;
  cursor: pointer;
  color: #9fdcff;
  margin-bottom: 6px;
  border-radius: 8px;
  transition: background 0.3s ease;
}

.accordion-toggle:hover {
  background: rgba(255, 255, 255, 0.15);
}

.accordion-content {
  display: none;
  padding: 12px 20px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  margin-bottom: 12px;
  border-radius: 10px;
  background-color: rgba(255, 255, 255, 0.05);
  color: #eee;
}

.accordion-content ul {
  padding-left: 20px;
  margin: 0;
}

.accordion-content li {
  margin-bottom: 6px;
  font-size: 14px;
}
.accordion-all-toggle {
  background: none;
  border: none;
  font-size: 1.1rem;
  font-weight: bold;
  color: #0f3d57;
  cursor: pointer;
  margin-bottom: 10px;
}

.vmc-section {
  padding: 100px 20px;
  text-align: center;
  color: #ffffff;
}

.vmc-title {
  font-size: 2.4rem;
  color: #79bfff;
  margin-bottom: 60px;
}

.venn-container {
  position: relative;
  width: 720px; /* 원 2개가 겹치도록 */
  height: 420px;
  margin: 0 auto;
}

.circle {
  position: absolute;
  width: 390px;
  height: 390px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(121,191,255,0.1) 0%, rgba(0,0,0,0.02) 70%);

  backdrop-filter: none;
  box-shadow: 0 0 10px rgba(121, 191, 255, 0.1);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 20px;
  color: #fff;
  
}

.circle h3 {
  font-size: 22px;
   font-weight: 700;
  margin-bottom: 8px;
  color: #79bfff;
}

.circle p {
  font-size: 14px;
  line-height: 1.8;
}

.vision {
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  border: 2px solid transparent;
}

.mission {
  left: 270px; /* 왼쪽 원과 겹치도록 오른쪽 이동 */
  top: 50%;
  transform: translateY(-50%);
  border: 2px solid transparent;
}
.core {
  left: 135px;  /* ← 두 원 사이 중앙값 (270의 절반) */
  top: 50%;
  transform: translateY(-50%);
  z-index: 3;
  box-shadow: 0 0 20px rgba(121, 191, 255, 0.25); /* 부드러운 glow */
  background-color: rgba(121, 191, 255, 0.08); /* 동일 계열 배경 */
   border: 2px solid #4aa8ff; /* 파란 테두리로 통일 */
}
#location .company-info-grid {
  max-width: 600px;
  margin: 0 auto;
  text-align: left;
  padding: 0;
}
/* ------------------------------
   문의 완료 페이지 전용 스타일
   (thanks.html 전용)
------------------------------- */
body.thanks-page {
  background: #f9fafb;
  font-family: 'IBM Plex Sans KR', sans-serif;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 100vh;
  margin: 0;
}

.thanks-container {
  text-align: center;
  background: #fff;
  padding: 60px;
  border-radius: 16px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.08);
}

.thanks-container h1 {
  font-size: 28px;
  margin-bottom: 16px;
  color: #1f2937;
}

.thanks-container p {
  font-size: 16px;
  color: #4b5563;
  margin-bottom: 32px;
}

.back-btn {
  padding: 12px 28px;
  background-color: #284b8f;
  color: white;
  text-decoration: none;
  border-radius: 8px;
  font-weight: 600;
  transition: background 0.3s;
}

.back-btn:hover {
  background-color: #1f3b6f;
}

.subpage-hero {
  margin-top: 100px;
  text-align: center;
  padding: 60px 16px 0px; /* 상단 40px, 좌우 16px, 하단 20px */
}

.hero-title {
  font-size: 45px;
  font-weight: bold;
  margin-bottom: 8px;
}

.hero-subtitle {
  font-size: 15px;
  color: #a8f3ff;;
}

@media (max-width: 1024px) {
  .timeline-year-box {
    max-width: 600px;
    margin: 0 auto;
  }

  .timeline-year-box .timeline-year-title {
    font-size: 20px;
  }

  .timeline-year-box .timeline-content {
    font-size: 15px;
    padding: 8px 0;
  }

  .tile-grid {
    grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
    gap: 10px;
    padding: 20px;
  }

  .tile {
    width: 100%;
    height: auto;
    aspect-ratio: 1 / 1;
    font-size: 13px;
  }


  .tile i {
    font-size: 28px;
    margin-bottom: 8px;
  }

  /* 🧨 핵심: 모바일에서 invisible 타일 제거 */
  .tile.invisible {
    display: none !important;
  }

nav.mobile-menu {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease-in-out;
}

nav.mobile-menu.open {
  max-height: 500px;
}

 .inquiry-form {
    padding: 30px 20px;
    border-radius: 12px;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.05);
  }

  .inquiry-form .form-grid {
    grid-template-columns: 1fr !important;  /* 한 열로 변경 */
    gap: 24px;
  }

  .inquiry-form .form-group input,
  .inquiry-form .form-group textarea {
 width: 80% !important;
    padding: 12px 14px;
    font-size: 15px;
    margin: 0 auto; /* ✅ 중앙 정렬 */
    display: block; /* ✅ inline → block 변경 */
  }

  .inquiry-form .form-group label {
    font-size: 14px;
    margin-bottom: 4px;
  }

  .inquiry-form button[type="submit"] {
    width: 100%;
    font-size: 16px;
    padding: 14px;
    border-radius: 8px;
  }
  .company-info-grid {
    align-items: flex-start;  /* 모바일에서는 좌측 정렬로 변경 */
  }
  .venn-container {
    width: 600px;
    height: 400px;
  }

  .circle {
    width: 320px;
    height: 320px;
  }

  .vision {
    left: -10px; /* 살짝 왼쪽으로 */
    top: 50%;
    transform: translateY(-50%);
  }

  .mission {
    left: 250px; /* 살짝 오른쪽으로 */
    top: 50%;
    transform: translateY(-50%);
  }

  .core {
    left: 120px; /* 가운데 정렬 보정 */
    top: 50%;
    transform: translateY(-50%);
  }

  .circle h3 {
    font-size: 16px;
  }

  .circle p {
    font-size: 10px;
  }
}



/* ✅ 아주 작은 화면 대응 */
@media (max-width: 480px) {
  .tile {
    font-size: 12px;
  }

  .tile i {
    font-size: 24px;
  }
}
.subpage-talk .dark-grid-banner {
  background-color: #0d0f16;
  background-image:
    linear-gradient(0deg, rgba(255, 255, 255, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.04) 1px, transparent 1px);
  background-size: 40px 40px;
  color: #fff;
  padding: 60px 20px;
}

.subpage-talk .dark-grid-inner {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  max-width: 1200px;
  margin: 0 auto;
  gap: 40px;
}

.subpage-talk .grid-box {
  text-align: left;
}

.subpage-talk .grid-box h3 {
  font-size: 1.4rem;
  margin-bottom: 10px;
  color: #e1e6f0;
}

.subpage-talk .grid-box p {
  color: #c0c4cc;
  font-size: 1rem;
  line-height: 1.6;
}

@media (max-width: 768px) {

  .tile-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
    padding: 20px;
  }

  .tile {
    width: 100%;
    aspect-ratio: 1 / 1;
    font-size: 12px;
  }

  .tile i {
    font-size: 24px;
    margin-bottom: 6px;
  }
  .tile-a2 { order: 8; }  /* A2 → B2 자리로 */
  .tile-a3 { order: 9; }  /* A3 → B3 자리로 */
  .tile-b2 { order: 2; }  /* B2 → A2 자리로 */
  .tile-b3 { order: 3; }  /* B3 → A3 자리로 */
}


 
@media screen and (max-width: 768px) {
  .venn-container {
    width: 360px;
    height: 240px;
    position: relative;
  }

  .circle {
    width: 200px;
    height: 200px;
    padding: 10px;
  }

  .vision {
    left: 0;
    top: 50%;
    transform: translateY(-50%);
  }

  .mission {
    left: 140px; /* 겹치도록 */
    top: 50%;
    transform: translateY(-50%);
  }

  .core {
    left: 70px;
    top: 50%;
    transform: translateY(-50%);
    z-index: 3;
  }

  .circle h3 {
    font-size: 12px;
  }

  .circle p {
    font-size: 8px;
  }
  
}





@media (min-width: 1025px) {
  .accordion {
    max-width: 350px;
    margin: 0 auto;
  }
.accordion-item {
  margin-bottom: 24px; /* ✅ 여백 추가 */
}
  .accordion-toggle {
    font-size: 20px;
    padding: 10px;
  }

  .accordion-content {
    padding: 10px 16px;
    font-size: 13.5px;
    line-height: 1.4;
  }

.accordion-content ul {
  list-style-position: inside;   /* ● 중앙 정렬 */
  padding-left: 0;
  margin: 0 auto;
  max-width: 300px;              /* 폭을 더 좁게 줄임 */
  text-align: left;
}

.accordion-content li {
  font-size: 14px;
  margin-bottom: 6px;
  text-align: left;
}
}