* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  line-height: 1.6;
  color: #333;
}

.m-only {
  display: none;
}

@media (max-width: 768px) {
  .m-only {
    display: inline;
  }
}

/* -------------------------------- Section: sub__ceo --------------------------------- */
.sub__ceo_bg6 {
  background: url(../../1x/s1/sub1_6__bg.png);
  background-repeat: no-repeat;
  background-size: cover;
  width: 100%;
  height: 980px;
  background-color: #f0f0f0;
  /* 임시 배경색 */
}

.sub__ceo {
  padding-bottom: 150px;
}

.sub__ceo_wrap {
  max-width: 1794px;
  background: #fafafa;
  margin-left: auto;
  border-radius: 50px 0 0 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 50px;
}


@media (max-width: 1024px) {
  .sub__ceo_wrap {
    flex-direction: column;
    align-items: center;
    padding: 2rem;
  }


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

@media (max-width: 768px) {
  .sub__ceo_bg6 {
    height: 200px;
  }

  .sub__ceo_wrap {
    border-radius: 30px 0 0 0;
    padding: 1.5rem;
  }

  .sub__ceo_img img {
    max-width: 100%;
  }
}

/* ===== 상단 카테고리 바 ===== */
:root {
  --headerH: 0px;
}

.subcat {
  border-top: 1px solid #eaeaea;
  border-bottom: 1px solid #eaeaea;
  z-index: 9000;
}

.subcat__inner1 {
  width: min(100vw, 1180px);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
}

.subcat__link {
  height: 56px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  text-decoration: none;
  color: #222;
  font-weight: 900;
  position: relative;
  font-family: "Noto Serif KR", serif;
}

.subcat__link::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 0;
  width: 0;
  height: 2px;
  background: #111;
  transition: width .25s ease, left .25s ease;
}

.subcat__link:hover::after {
  width: 60%;
  left: 20%;
}

.subcat__link.is-active {
  color: #111;
}

.subcat__link.is-active::after {
  width: 68%;
  left: 16%;
}

@media (max-width: 768px) {
  .subcat__inner1 {
    grid-template-columns: 1fr;
  }

  .subcat__link {
    height: 48px;
    border-bottom: 1px solid #eee;
  }

  .subcat__link:last-child {
    border-bottom: 0;
  }
}




/* 세로 라인 */
.ceo-philosophy__line1 {
  display: block;
  width: 1px;
  height: 30px;
  margin: 3% auto 28px;
  background: #333333;
}







/* ===== CEO TEXT MOTION ===== */
.ceo-copy {
  position: absolute;
  top: 30%;
  left: 20%;
  transform: translateY(-40%);
  max-width: 740px;
  color: #fff;
  opacity: 0;
  font-family: "Noto Serif KR", serif;
  transform: translateY(-40px);
  transition: opacity 1.1s ease, transform 1.1s cubic-bezier(.22, .61, .36, 1);
}

.ceo-copy.is-show {
  opacity: 1;
  transform: translateY(0);
}

/* typography */
.ceo-eyebrow {
  font-size: 14px;
  letter-spacing: 0.12em;
  color: #fff;
}

.ceo-title {
  font-size: 30px;
  font-weight: 600;
  margin: 12px 0 28px;
}

.ceo-headline {
  font-size: 30px;
  font-weight: 500;
  line-height: 1.4;
  margin-bottom: 24px;
}

.ceo-headline em {
  color: #f3c988;
  font-style: normal;
}

.ceo-legacy em {
  color: #f3c988;
  font-style: normal;
}

.ceo-desc {
  font-size: 15px;
  line-height: 1.8;
  margin-bottom: 48px;
}

.ceo-legacy strong {
  font-size: 26px;
  font-weight: 500;
}

.ceo-legacy p {
  margin-top: 12px;
  font-size: 14px;

}

.ceo-legacy {
  max-width: 507px;
  margin-left: 40%;

}

/* mobile */
@media (max-width: 768px) {
  .ceo-copy {
    position: relative;
    top: auto;
    left: auto;
    padding: 40px 20px;
    color: #111;
  }

  .ceo-philosophy__line1 {
    height: 44px;
    margin-bottom: 20px;
  }
}


@media (max-width: 1024px) {
  .ceo-copy {
    left: 10%;
    top: 28%;
    max-width: 620px;
  }

  .ceo-title {
    font-size: 34px;
  }

  .ceo-headline {
    font-size: 26px;
  }
}

@media (max-width: 768px) {
  .ceo-copy {
    top: 52%;
    left: 50%;
    transform: translate(-50%, -30px);
    /* 중앙 가둠 */

    width: calc(100% - 40px);
    max-width: 360px;

    padding: 0;
    color: #fff;
  }

  .ceo-copy.is-show {
    transform: translate(-50%, 0);
  }

  /* 폰트 사이즈 전부 다운 */
  .ceo-eyebrow {
    font-size: 12px;
  }

  .ceo-title {
    font-size: 20px;
    margin-bottom: 14px;
  }

  .ceo-headline {
    font-size: 14px;
    line-height: 1.35;
    margin-bottom: 14px;
  }

  .ceo-desc {
    font-size: 13px;
    line-height: 1.6;
    margin-bottom: 0;
  }


  .ceo-legacy {
    display: none !important;
  }

  .ceo-desc {
    display: none !important;
  }

  .ceo-eyebrow {
    display: none !important;
  }

}












/* ===============================
   FACILITY (TEXT ONLY OVER BG IMAGE)
   bg: /1x/s1/fa_bg.png
   scroll fade-in: .is-show
================================ */

.fa-section1 {
  position: relative;
  background: url(/1x/s1/saf_bg.png) center / cover no-repeat;
  padding: 40px 0 220px;
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 1s ease, transform 1s ease;
  will-change: opacity, transform;
  height: 1300px;
}

.fa-section1.is-show {
  opacity: 1;
  transform: translateY(0);
}

.fa-inner {
  width: min(1400px, 92%);
  margin: 0 auto;
  text-align: center;

  /* 이미지(배경) 위에 텍스트가 얹히는 느낌 유지 */
  display: flex;
  flex-direction: column;

  /* 타이틀/키워드가 배경 도형이랑 안 겹치게 기본 간격 */
  min-height: 720px;
}

/* TOP */
.fa-head {
  padding-top: 82px;
}

.fa-title {
  font-size: 48px;
  font-weight: 600;
  line-height: 1.1;
  margin: 0 0 18px;
  color: #111;
  font-family: "Noto Serif KR", serif;
}

.fa-desc {
  margin: 0;
  font-size: 16px;
  line-height: 1.7;
  color: #555;
}

/* BOTTOM KEYWORDS */
.fa-keywords {
  margin: auto 0 0;
  padding-top: 70px;
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 28px;
  font-family: "Noto Serif KR", serif;
  font-size: 23px;
  font-weight: 800;
  color: #00274d;
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  bottom: 40px;
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  bottom: 103px;
}

.fa-keywords li {
  position: relative;
  white-space: nowrap;
}

.fa-keywords li::after {
  content: "|";
  margin-left: 28px;
  opacity: .45;
}

.fa-keywords li:last-child::after {
  display: none;
}



/* ===============================
   RESPONSIVE
================================ */
@media (max-width: 1024px) {
  .fa-section1 {
    padding: 110px 0 90px;
  }

  .fa-inner {
    min-height: 640px;
  }

  .fa-title {
    font-size: 40px;
  }

  .fa-desc {
    font-size: 15px;
  }

  .fa-keywords {
    padding-top: 60px;
    gap: 18px;
    font-size: 14px;
    display: none;
  }

  .fa-keywords li::after {
    margin-left: 18px;
  }
}

@media (max-width: 640px) {
  .fa-section1 {
    padding: 90px 0 70px;
    background-position: center;
  }

  .fa-inner {
    min-height: 560px;
  }

  .fa-title {
    font-size: 30px;
    line-height: 1.15;
  }

  .fa-desc {
    font-size: 14px;
    line-height: 1.65;
  }

  .fa-keywords {
    padding-top: 46px;
    flex-wrap: wrap;
    gap: 10px 14px;
  }

  .fa-keywords li::after {
    display: none;
    /* 모바일은 | 제거 */
  }
}

/* 모션 민감 사용자 배려 */
@media (prefers-reduced-motion: reduce) {
  .fa-section1 {
    transition: none;
    transform: none;
  }
}



/* ===============================
   MOBILE FIX
================================ */
@media (max-width: 640px) {
  .fa-section1 {
    /* ✅ 잘림 방지 */
    background-size: contain;
    background-position: center top;
    background-repeat: no-repeat;
    background: none;
    /* 이미지 비율 유지하면서 공간 확보 */
    padding: 20px 0 120px;
    height: auto !important;
  }

  .vie-section {
    padding: 0px 0 140px !important;
    background: #fff;
  }

  .fa-inner {
    min-height: auto;
    /* 모바일에서는 강제 높이 제거 */
  }
}














/* ===== View Safety System ===== */
.vie-section {
  padding: 120px 0 140px;
  background: #fff;
}

.vie-inner {
  width: min(1400px, 92%);
  margin: 0 auto;
  text-align: center;
}

/* Head */
.vie-head h2 {
  font-size: 42px;
  font-weight: 600;
  margin-bottom: 16px;
}

.vie-head p {
  font-size: 15px;
  line-height: 1.7;
  color: #555;
}

/* Main Image */
.vie-main {
  margin: 60px 0 30px;
}

.vie-main img {
  width: 100%;
  height: auto;
  display: block;
}

/* Thumbnails */
.vie-thumbs {
  display: flex;
  justify-content: center;
  gap: 14px;
  list-style: none;
  padding: 0;
  margin: 0;
}

.vie-thumbs li {
  width: 160px;
  cursor: pointer;
  border: 2px solid transparent;
  transition: border .25s ease, opacity .25s ease;
}

.vie-thumbs li img {
  width: 100%;
  display: block;
}

.vie-thumbs li:hover {
  opacity: .8;
}

.vie-thumbs li.is-active {
  border-color: #0b2d4f;
}

/* ===== Responsive ===== */
@media (max-width: 768px) {
  .vie-head h2 {
    font-size: 30px;
  }

  .vie-main {
    margin: 40px 0 20px;
  }

  .vie-thumbs {
    justify-content: flex-start;
    overflow-x: auto;
    padding-bottom: 10px;
  }

  .vie-thumbs li {
    flex: 0 0 89px;
  }
}

.vie-main,
.vie-thumbs {
  width: 100%;
  max-width: 100%;
  margin-left: auto;
  margin-right: auto;
}


.vie-thumbs {
  display: flex;
  justify-content: space-between;
  /* ← 핵심 */
  gap: 0;
  /* 간격 없앰 */
  margin-top: 24px;
}

.vie-thumbs li {
  width: calc(25% - 12px);
  /* 4개 기준, 줄 길이 꽉 채움 */
  max-width: none;
}

.vie-thumbs li img {
  width: 100%;
  height: auto;
  display: block;
}