@charset "UTF-8";
/*=================================================
    컬러
=================================================*/
/*=================================================
    폰트
=================================================*/
/*=================================================
    미디어쿼리
=================================================*/
/*=================================================
    컬러
=================================================*/
/*=================================================
    폰트
=================================================*/
/*=================================================
    미디어쿼리
=================================================*/
#section01 {
  padding: 235px 0 431px !important;
  background: url("../../../img/page/introduction/history/sec01_bg.png") no-repeat center;
  background-size: cover;
  color: #fff;
  text-align: center;
}
#section01 .name {
  font-family: "Philosopher", "Pretendard Variable", sans-serif;
  font-size: 28px;
  font-weight: 700;
  text-shadow: 0 0 6px #645743;
}
#section01 .title-wrap {
  position: relative;
  width: fit-content;
  margin: 0 auto;
}
#section01 .title-wrap h3 {
  font-size: 80px;
  font-weight: 700;
  font-family: "Philosopher", "Pretendard Variable", sans-serif;
  padding: 35px 40px;
  border: 1px solid #eae6e0;
  margin: 25px auto 35px;
  width: fit-content;
  text-shadow: 0 0 6px #645743;
}
#section01 .title-wrap p {
  position: absolute;
  width: 12px;
  height: 12px;
  background-color: #eae6e0;
  display: block;
}
#section01 .title-wrap .re1 {
  left: -6px;
  top: -6px;
}
@media screen and (max-width: 991.98px) {
  #section01 .title-wrap .re1 {
    left: -4.5px;
    top: -4.5px;
  }
}
#section01 .title-wrap .re2 {
  left: 50%;
  transform: translateX(-50%);
  top: -6px;
}
@media screen and (max-width: 991.98px) {
  #section01 .title-wrap .re2 {
    top: -4.5px;
  }
}
#section01 .title-wrap .re3 {
  right: -6px;
  top: -6px;
}
@media screen and (max-width: 991.98px) {
  #section01 .title-wrap .re3 {
    right: -4.5px;
    top: -4.5px;
  }
}
#section01 .title-wrap .re4 {
  left: -6px;
  top: 50%;
  transform: translateY(-50%);
}
@media screen and (max-width: 991.98px) {
  #section01 .title-wrap .re4 {
    left: -4.5px;
  }
}
#section01 .title-wrap .re5 {
  right: -6px;
  top: 50%;
  transform: translateY(-50%);
}
@media screen and (max-width: 991.98px) {
  #section01 .title-wrap .re5 {
    right: -4.5px;
  }
}
#section01 .title-wrap .re6 {
  left: -6px;
  bottom: -6px;
}
@media screen and (max-width: 991.98px) {
  #section01 .title-wrap .re6 {
    left: -4.5px;
    bottom: -4.5px;
  }
}
#section01 .title-wrap .re7 {
  left: 50%;
  transform: translateX(-50%);
  bottom: -6px;
}
@media screen and (max-width: 991.98px) {
  #section01 .title-wrap .re7 {
    bottom: -4.5px;
  }
}
#section01 .title-wrap .re8 {
  right: -6px;
  bottom: -6px;
}
@media screen and (max-width: 991.98px) {
  #section01 .title-wrap .re8 {
    right: -4.5px;
    bottom: -4.5px;
  }
}
#section01 span {
  text-shadow: 0 0 6px #645743;
  font-size: 22px;
  line-height: 28px;
  font-weight: 500;
}
#section01 .img-area {
  display: flex;
  justify-content: center;
  margin-top: 40px;
  gap: 40px;
}
#section01 .img-area .wrap p {
  margin-top: 10px;
  font-size: 15px;
  line-height: 18px;
  color: #ccc6b7;
  font-weight: 500;
  text-align: center;
}

#section02 {
  padding: 200px 0 120 !important;
  margin-top: -270px;
  border-radius: 280px 0 0 0;
  background-color: #fdfcfa;
  position: relative;
  border-bottom: 1px solid #dfdcd9;
}
#section02 .top {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  width: 1420px;
  margin: 0 auto 100px;
  box-shadow: -10px -10px 40px rgba(0, 0, 0, 0.18);
  border-radius: 10px;
  overflow: hidden;
}
#section02 .top a,
#section02 .top .view-hist-tabs__item {
  position: relative;
  display: block;
}
#section02 .top a::after,
#section02 .top .view-hist-tabs__item::after {
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 1px;
  height: 23px;
  background-color: #b5aea8;
  content: "";
}
#section02 .top a:last-child::after,
#section02 .top .view-hist-tabs__item:last-child::after {
  display: none;
}
#section02 .top a p,
#section02 .top .view-hist-tabs__item p {
  font-size: 20px;
  color: #746b64;
  text-align: center;
  padding: 22px 0;
  width: fit-content;
  margin: 0 auto;
}
@media screen and (max-width: 991.98px) {
  #section02 .top a p,
  #section02 .top .view-hist-tabs__item p {
    font-size: 14px;
    padding: 10px 0;
  }
}
#section02 .top a:hover,
#section02 .top .view-hist-tabs__item:hover {
  background-color: #746b64;
  border-radius: 10px;
}
#section02 .top a:hover p,
#section02 .top .view-hist-tabs__item:hover p {
  font-weight: 700;
  position: relative;
  color: #fff;
  padding-left: 15px;
}
#section02 .top a:hover p::after,
#section02 .top .view-hist-tabs__item:hover p::after {
  position: absolute;
  content: "";
  width: 9.5px;
  height: 9.5px;
  border-radius: 50px;
  background-color: #fff;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
}
#section02 .history {
  position: relative;
}
#section02 .history .bar {
  position: absolute;
  top: 10px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 10;
  width: 4px;
  height: 100%;
  background-color: #dfdcd9;
  overflow: visible;
}
#section02 .history .bar .fill {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 0;
  background-color: #bb9982;
  transition: height 0.1s linear;
}
#section02 .history .bar .icon {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  width: 62px;
  transition: top 0.1s linear;
}
#section02 .history .wrap {
  position: relative;
  padding: 130px 0;
  border-bottom: 1px solid #dfdcd9;
}
#section02 .history .wrap:nth-child(2) {
  padding-top: 0;
}
#section02 .history .wrap:nth-child(odd) {
  background-color: #fff;
}
#section02 .history .wrap:last-child {
  padding-bottom: 0;
  border-bottom: 0;
}
#section02 .history .wrap .area {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
}
#section02 .history .wrap .area .left {
  font-size: 110px;
  font-weight: 700;
  font-family: "Philosopher", "Pretendard Variable", sans-serif;
  margin-left: 100px;
  width: fit-content;
  flex-shrink: 0;
}
#section02 .history .wrap .area .right {
  width: 600px;
}
#section02 .history .wrap .area .right .con {
  margin-bottom: 95px;
}
#section02 .history .wrap .area .right .con:last-child {
  margin-bottom: 0;
}
#section02 .history .wrap .area .right .con h4 {
  font-size: 50px;
  font-family: "Philosopher", "Pretendard Variable", sans-serif;
  font-weight: 700;
  margin-bottom: 30px;
}
#section02 .history .wrap .area .right .con dl {
  margin-bottom: 48px;
  display: flex;
  gap: 17px;
}
@media screen and (max-width: 991.98px) {
  #section02 .history .wrap .area .right .con dl {
    margin-bottom: 20px;
  }
}
#section02 .history .wrap .area .right .con dl:last-child {
  margin-bottom: 0;
}
#section02 .history .wrap .area .right .con dl dt {
  color: #746b64;
  font-size: 22px;
  font-weight: 600;
}
@media screen and (max-width: 991.98px) {
  #section02 .history .wrap .area .right .con dl dt {
    font-size: 18px;
  }
}
#section02 .history .wrap .area .right .con dl dd p {
  font-size: 18px;
  color: #9b9188;
  line-height: 28px;
}
@media screen and (max-width: 991.98px) {
  #section02 .history .wrap .area .right .con dl dd p {
    font-size: 14px;
    line-height: 1.3;
  }
}
#section02 .history .wrap .area .right .con dl dd img {
  margin-top: 30px;
}
#section02 .top a.is-active,
#section02 .top .view-hist-tabs__item.is-active {
  background-color: #746b64;
  border-radius: 10px;
}
#section02 .top a.is-active p,
#section02 .top .view-hist-tabs__item.is-active p {
  font-weight: 700;
  position: relative;
  color: #fff;
  padding-left: 15px;
}
#section02 .top a.is-active p::after,
#section02 .top .view-hist-tabs__item.is-active p::after {
  position: absolute;
  content: "";
  width: 9.5px;
  height: 9.5px;
  border-radius: 50px;
  background-color: #fff;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
}

/* PC(992px+) — wrapper 추가 후에도 기존 한 줄 탭 유지 */
@media (min-width: 992px) {
  #section02 .top.view-hist-tabs {
    display: block;
    width: 1420px;
    max-width: calc(100% - 40px);
    margin: 0 auto 100px;
    padding: 0;
    position: static;
    top: auto;
    z-index: auto;
    box-shadow: -10px -10px 40px rgba(0, 0, 0, 0.18);
    border-radius: 10px;
    overflow: hidden;
    background-color: transparent;
    box-sizing: border-box;
  }
  #section02 .top .view-hist-tabs__track {
    display: flex;
    flex-wrap: nowrap;
    justify-content: center;
    width: 100%;
    overflow: visible;
    gap: 0;
    padding: 0;
    margin: 0;
    scroll-snap-type: none;
  }
  #section02 .top .view-hist-tabs__item {
    flex: 1 1 0;
    min-width: 0;
    scroll-snap-align: none;
    border-radius: 0;
    background-color: transparent;
    box-shadow: none;
  }
}
/* =========================================================
   History — mobile (max 991px), section01 · section02 only
   PC(992px+) · .top.view-hist-tabs 계열 그리드 탭 UI 유지
   ========================================================= */
@media (max-width: 991px) {
  #section01 {
    padding: 120px 20px 200px !important;
    background-position: center top;
    background-size: cover;
  }
  #section01 .name {
    font-size: 16px;
    line-height: 1.3;
    padding: 0 8px;
  }
  #section01 .title-wrap {
    max-width: 100%;
  }
  #section01 .title-wrap h3 {
    font-size: 36px;
    padding: 20px 24px;
    margin: 16px auto 20px;
    line-height: 1.15;
    max-width: 100%;
    box-sizing: border-box;
  }
  #section01 .title-wrap p {
    width: 8px;
    height: 8px;
  }
  #section01 span {
    display: block;
    font-size: 15px;
    line-height: 1.5;
    padding: 0 16px;
    max-width: 320px;
    margin: 0 auto;
  }
  #section02 {
    padding: 48px 0 80px !important;
    margin-top: -80px;
    border-radius: 0;
  }
  #section02 .top.view-hist-tabs {
    position: sticky;
    top: var(--view-hist-header-offset, 0);
    z-index: 30;
    display: block;
    width: 100%;
    max-width: 100%;
    margin: 0 0 20px;
    padding: 12px 16px 10px;
    box-shadow: 0 0px 0px rgba(0, 0, 0, 0);
    border-radius: 0;
    overflow: visible;
    grid-template-columns: none;
    background-color: #fff;
    box-sizing: border-box;
  }
  #section02 .view-hist-tabs__track {
    display: flex;
    flex-wrap: nowrap;
    justify-content: flex-start;
    gap: 8px;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scroll-snap-type: x proximity;
    padding: 4px 0 12px;
    scrollbar-width: thin;
  }
  #section02 .view-hist-tabs__track::-webkit-scrollbar {
    height: 4px;
  }
  #section02 .view-hist-tabs__track::-webkit-scrollbar-thumb {
    background-color: #dfdcd9;
    border-radius: 4px;
  }
  #section02 .view-hist-tabs__item {
    flex: 0 0 auto;
    scroll-snap-align: start;
    min-width: max(132px, 38vw);
    border-radius: 10px;
    background-color: #fff;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
  }
  #section02 .view-hist-tabs__item::after {
    display: none;
  }
  #section02 .view-hist-tabs__item p {
    font-size: 15px;
    padding: 14px 16px;
    white-space: nowrap;
  }
  #section02 .view-hist-tabs__item.is-active {
    background-color: #746b64;
  }
  #section02 .view-hist-tabs__item.is-active p {
    color: #fff;
  }
  #section02 .history.view-hist-timeline .bar {
    display: none !important;
    visibility: hidden !important;
    height: 0 !important;
    overflow: hidden !important;
    pointer-events: none !important;
  }
  #section02 .history.view-hist-timeline .wrap:nth-child(odd) {
    background-color: transparent;
  }
  #section02 .history.view-hist-timeline .wrap.view-hist-group {
    padding: 0 0 32px;
    border-bottom: 1px solid #dfdcd9;
    scroll-margin-top: calc(var(--view-hist-header-offset, 72px) + var(--view-hist-tabs-height, 52px) + 16px);
  }
  #section02 .history.view-hist-timeline .wrap.view-hist-group:nth-child(2) {
    padding-top: 0;
  }
  #section02 .history.view-hist-timeline .wrap.view-hist-group:last-child {
    padding-bottom: 0;
  }
  #section02 .history.view-hist-timeline .wrap .area.view-hist-group__inner,
  #section02 .history.view-hist-timeline .view-hist-group__inner {
    display: block !important;
    width: 100% !important;
    max-width: 100% !important;
    margin-top: 16px;
    padding: 0 16px;
    box-sizing: border-box;
  }
  #section02 .history.view-hist-timeline .left.view-hist-group__title,
  #section02 .history.view-hist-timeline .view-hist-group__title {
    position: static !important;
    top: auto !important;
    left: auto !important;
    transform: none !important;
    width: auto !important;
    max-width: 100% !important;
    margin: 0 0 20px !important;
    margin-left: 0 !important;
    padding: 0 0 10px !important;
    font-size: 24px !important;
    font-weight: 700;
    line-height: 1.2 !important;
    text-align: left;
    white-space: normal;
    word-break: keep-all;
    overflow-wrap: anywhere;
    flex-shrink: 1 !important;
    border-bottom: 2px solid #bb9982;
    letter-spacing: -0.02em;
  }
  #section02 .history.view-hist-timeline .right.view-hist-group__content,
  #section02 .history.view-hist-timeline .view-hist-group__content {
    display: block !important;
    width: 100% !important;
    max-width: 100% !important;
    margin: 0 !important;
    flex: none !important;
  }
  #section02 .history.view-hist-timeline .wrap .area .right .con,
  #section02 .history.view-hist-timeline .view-hist-year-card {
    width: 100% !important;
    max-width: 100% !important;
    margin-bottom: 16px;
  }
  #section02 .history.view-hist-timeline .wrap .area .right .con:last-child,
  #section02 .history.view-hist-timeline .view-hist-year-card:last-child {
    margin-bottom: 0;
  }
  #section02 .history.view-hist-timeline .view-hist-year-card {
    padding: 12px 12px 10px;
    overflow: visible;
    background-color: #fff;
    border-radius: 12px;
    box-shadow: 0 4px 16px rgba(69, 39, 22, 0.06);
    border: 1px solid #ece8e3;
  }
  #section02 .history.view-hist-timeline .view-hist-year-card .view-hist-year-card__year {
    display: block;
    margin: 0 0 12px;
    padding: 0;
    font-size: 36px;
    line-height: 1.1;
    font-weight: 700;
    font-family: "Philosopher", "Pretendard Variable", sans-serif;
    color: #9b9188;
    background: none;
    border: none;
    border-bottom: none;
  }
  #section02 .history.view-hist-timeline .wrap .area .right .con h4 {
    font-size: 36px;
    line-height: 1.1;
    font-weight: 700;
    font-family: "Philosopher", "Pretendard Variable", sans-serif;
    margin-bottom: 12px;
  }
  #section02 .history.view-hist-timeline .view-hist-entry {
    display: block;
    margin: 0 0 18px;
    padding: 0 0 18px;
    background: none;
    border-radius: 0;
    border: none;
    border-bottom: 1px solid #f0eeeb;
  }
  #section02 .history.view-hist-timeline .view-hist-entry:last-child {
    margin-bottom: 0;
    padding-bottom: 0;
    border-bottom: none;
  }
  #section02 .history.view-hist-timeline .wrap .area .right .con dl dt {
    font-size: 20px;
  }
  #section02 .history.view-hist-timeline .view-hist-entry__month {
    display: block;
    width: auto;
    min-width: 0;
    max-width: none;
    margin: 0 0 6px;
    padding: 0;
    font-size: 20px;
    font-weight: 600;
    line-height: 1.2;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: #999;
    background: none;
    border: none;
    border-radius: 0;
    box-shadow: none;
  }
  #section02 .history.view-hist-timeline .view-hist-entry__body {
    display: block;
    width: 100%;
  }
  #section02 .history.view-hist-timeline .view-hist-entry__body p {
    margin: 0;
    font-size: 16px;
    line-height: 1.65;
    font-weight: 400;
    color: #58524c;
  }
  #section02 .history.view-hist-timeline .view-hist-entry__body .view-hist-entry__img,
  #section02 .history.view-hist-timeline .view-hist-entry__body img {
    display: block;
    width: 100% !important;
    max-width: 100%;
    height: auto !important;
    margin-top: 14px;
    border-radius: 8px;
    object-fit: contain;
  }
}
/* 768 — 연도·그룹명·본문 미세 조정 (탭 스타일 미변경) */
@media (max-width: 768px) {
  #section01 {
    padding: 100px 16px 180px !important;
  }
  #section01 .title-wrap h3 {
    font-size: 32px;
    padding: 18px 20px;
  }
  #section02 {
    padding-top: 40px !important;
  }
  #section02 .history.view-hist-timeline .view-hist-group__inner {
    padding: 0 12px;
  }
  #section02 .history.view-hist-timeline .left.view-hist-group__title,
  #section02 .history.view-hist-timeline .view-hist-group__title {
    font-size: 24px !important;
    line-height: 1.2 !important;
    margin-bottom: 16px !important;
  }
  #section02 .history.view-hist-timeline .wrap .area .right .con,
  #section02 .history.view-hist-timeline .view-hist-year-card {
    margin-bottom: 14px;
  }
  #section02 .history.view-hist-timeline .view-hist-year-card {
    padding: 10px 12px 8px;
  }
  #section02 .history.view-hist-timeline .wrap .area .right .con h4,
  #section02 .history.view-hist-timeline .view-hist-year-card .view-hist-year-card__year {
    font-size: 28px;
    line-height: 1.1;
    margin-bottom: 10px;
  }
  #section02 .history.view-hist-timeline .wrap .area .right .con dl dt,
  #section02 .history.view-hist-timeline .view-hist-entry__month {
    font-size: 20px;
  }
  #section02 .history.view-hist-timeline .view-hist-entry__body p {
    font-size: 15px;
  }
}