/* 기존 CEO 섹션 스타일 유지 */
.sub__ceo_bg {
  background: url(../../1x/s1/sub1_1__bg.png);
  background-repeat: no-repeat;
  background-size: cover;
  width: 100%;
  height: 700px;
  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;
}

.sub__ceo_text {
  width: 100%;
  padding: 3rem 0 3rem 6rem;
}

.sub__ceo_text div {
  font-family: "esamanru";
  font-size: 3rem;
  font-weight: 900;
}

.sub__ceo_text h3 {
  font-size: 2.25rem;
  font-weight: 800;
  padding-bottom: 2rem;
}

.sub__ceo_text p {
  line-height: 1.6;
}

.sub__ceo_text p span {
  font-family: 'KyoboHandwriting2020A';
  font-size: 1.125rem;
}

.sub__ceo_img img {
  width: 720px;
}

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

  .sub__ceo_text {
    padding: 2rem 1rem;
    text-align: center;
  }

  .sub__ceo_text div {
    font-size: 2.5rem;
  }

  .sub__ceo_text h3 {
    font-size: 2rem;
  }

  .sub__ceo_text p span {
    font-size: 1rem;
  }

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

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

  article#card {
    left: 50.3333% !IMPORTANT;
  }

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

  .sub__ceo_text div {
    font-size: 2rem;
  }

  .sub__ceo_text h3 {
    font-size: 1.5rem;
  }

  .sub__ceo_text p {
    font-size: 0.95rem;
  }

  .sub__ceo_text p span {
    font-size: 0.9rem;
  }

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

/* 타임라인 변수 설정 */
:root {
  --active-pos: 30%;
  --card-max: 640px;
}

* {
  box-sizing: border-box;
}

/* 기존 body 스타일 완전 유지 */
body.since-page {
  margin: 0;
  font-family: Pretendard, system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  color: #111;
  background: #fff;
  background-image: url('../../1x/s1/dusgur_bg.png');
  background-repeat: no-repeat;
  background-position: right bottom;
  background-size: 100%;
}

/* 기존 wrap 스타일 유지하되, 타임라인만 예외 처리 */
.wrap {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px 120px;
  min-height: 120vh;
}

/* History Intro 스타일 유지 */
.hist__intro {
  max-width: 1200px;
  margin: 0 auto;
  padding: 56px 0 8px;
}

.hist__eyebrow {
  font-size: 12px;
  font-weight: 700;
  color: #777;
  margin: 0 0 6px;
}

.hist__title {
  font-size: 34px;
  font-weight: 900;
  line-height: 1.15;
  margin: 0 0 28px;
  letter-spacing: -0.3px;
}

.hist__quote {
  font-size: 28px;
  font-weight: 900;
  line-height: 1.35;
  margin: 60px 0 16px;
}

.hist__desc {
  max-width: 460px;
  font-size: 13px;
  line-height: 1.7;
  color: #333333;
  font-weight: 800;
}

/* 타임라인만 우측에 붙이기 - 다른 건 건드리지 않음 */
.timeline {
  position: absolute !important;
  right: 0px !important;
  /* wrap의 padding을 넘어서 우측 끝까지 */
  top: 125% !important;
  width: min(980px, 50vw) !important;
  z-index: 100 !important;
}

/* 기존 타임라인 스타일 유지 */
.track {
  position: relative;
  width: 100%;
  height: 2px;
  background: #111;
  border-radius: 1px;
  margin: 48px 0 28px;
}

.tick {
  position: absolute;
  top: 1px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #111;
  opacity: .45;
  transform: translate(-50%, -50%);
}

.dot {
  position: absolute;
  top: 1px;
  left: var(--active-pos);
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: #111;
  transform: translate(-50%, -50%);
  transition: left .35s cubic-bezier(.2, .7, .2, 1);
  z-index: 3;
}

.years {
  position: relative;
  width: 100%;
  height: 64px;
  margin-top: -34px;
}

.year {
  position: absolute;
  left: var(--pos);
  transform: translate(-50%, var(--y, 18px));
  background: none;
  border: 0;
  cursor: pointer;
  padding: 0 4px;
  font-weight: 900;
  font-size: 28px;
  letter-spacing: .2px;
  transition: transform .28s ease, color .2s ease;
  color: #8e949c;
  z-index: 4;
}

.year[data-active="true"] {
  --y: -32px;
  color: #111;
}

.card {
  position: absolute;
  top: calc(100% + 12px);
  left: var(--active-pos);
  transform: translateX(-50%);
  width: min(92vw, var(--card-max));
  background: #fff;
  border: 1px solid #e9e9e9;
  border-radius: 12px;
  box-shadow: 0 10px 28px rgba(0, 0, 0, .08);
  padding: 22px 22px 18px;
  transition: left .35s cubic-bezier(.2, .7, .2, 1);
  z-index: 2;
  text-align: left;
}

.card::before {
  content: "";
  position: absolute;
  top: -8px;
  left: 50%;
  transform: translateX(-50%) rotate(45deg);
  width: 16px;
  height: 16px;
  background: #fff;
  border-left: 1px solid #e9e9e9;
  border-top: 1px solid #e9e9e9;
}

.eyebrow {
  font-weight: 800;
  color: #666;
  margin-bottom: 10px;
}

.list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.list li {
  padding: 6px 0;
  line-height: 1.55;
}

.list li b {
  display: inline-block;
  width: 40px;
  color: #7a7a7a;
}

/* 기존 반응형 스타일 유지 */
@media (max-width: 960px) {
  .hist__intro {
    padding: 44px 0 4px;
  }

  .hist__title {
    font-size: 30px;
  }

  .hist__quote {
    font-size: 24px;
  }

  .year {
    font-size: 24px;
  }

  .card {
    width: min(94vw, var(--card-max));
  }

  body {
    background-size: clamp(380px, 55vw, 720px);
  }
}

@media (max-width: 720px) {
  .year {
    font-size: 22px;
  }

  .card {
    padding: 18px 18px 14px;
  }

  .card::before {
    top: -7px;
    width: 14px;
    height: 14px;
  }

  .wrap {
    min-height: 0vh;
  }
}

@media (max-width: 560px) {
  .hist__title {
    font-size: 26px;
  }

  .hist__quote {
    font-size: 20px;
  }

  .year {
    font-size: 20px;
  }

  .card {
    font-size: 14px;
  }

  body {
    background-size: 80vw;
    background-position: right -12px bottom -12px;
  }
}

@media (max-width: 480px) {
  .timeline {
    position: relative !important;
    right: auto !important;
    top: auto !important;
    width: 100% !important;
    margin: 60px 0 0 0 !important;
  }
}





/* 섹션을 화면 가로폭으로 강제 확장(컨테이너 밖으로) */
.fullbleed-img {
  width: 100vw;
  margin-left: calc(50% - 50vw);
  /* 부모가 중앙 레이아웃이어도 화면 전체로 */
  margin-right: calc(50% - 50vw);
  line-height: 0;
  margin-top: 7%;
}

.fullbleed-img img {
  display: block;
  width: 100vw;
  /* 화면 가로 꽉 */
  max-width: none;
  /* 1905 제한 해제해 확대 허용 */
  height: auto;
  /* 비율 유지 (세로 자동) */
  image-rendering: auto;
  -webkit-user-drag: none;
  user-select: none;
}

html,
body {
  overflow-x: hidden;
}