main {
  padding-top: 150px;
  width: 100%;
}

.about-link-section {
  width: 100%;
  max-width: 1240px;
  margin: 0 auto;
  margin-bottom: 0;
}

.about-link-section h1 {
  font-size: 28px;
  font-weight: 700;
  margin-bottom: 20px;
  letter-spacing: -2%;
  text-align: center;
}

.selector-container {
  position: sticky;
  top: 100px;
  left: 0;
  right: 0;
  z-index: 100;
  background-color: #fff;
  padding-top: 20px;
}

.page-selector {
  display: flex;
  width: 100%;
  max-width: 1240px;
  margin: 0 auto;
}

.page-selector > .page-selector-item {
  display: block;
  flex: 1;
  padding-bottom: 16px;
  text-align: center;
  font-size: 16px;
  font-weight: 400;
  color: #666;
  border-bottom: 1px solid #d9d9d9;
  cursor: pointer;
}

.page-selector > .page-selector-item:hover,
.page-selector-selected {
  font-weight: 600 !important;
  color: #231f20 !important;
  border-color: #231f20 !important;
}

.about-hero-section {
  width: 100%;
  height: 640px;
  background-image: url("/assets/img/customer/background/about_hero_background.jpg");
  background-size: cover;
  background-position: center;
  position: relative;

  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;

  overflow: hidden;
}

/* 초기 상태 설정 */
.about-hero-text-before,
.about-hero-text-after {
  position: absolute;
  display: flex;
  align-items: center;
  justify-content: center;
}

.about-hero-text-before,
.about-hero-text-after .cell {
  text-align: center;
}

.cell-text {
  margin-bottom: 10px;
  font-weight: 700;
}

/* before 내부 구성 */
.about-hero-text-before {
  animation: fadeOutDown 2s ease forwards;
  animation-delay: 1s;
}

.cell {
  transform: translateX(-50px);
  animation: slideInLeft 1.5s forwards;
}

.unique {
  transform: translateX(50px);
  animation: slideInRight 1.5s forwards;
}

.plus {
  margin-top: 20px;
  animation: shrinkOut 1s forwards;
  animation-delay: 0.5s;
}

/* after 등장 */
.about-hero-text-after {
  opacity: 0;
  animation: fadeInUp 1s forwards;
  animation-delay: 2.3s;
}

@keyframes slideInLeft {
  to {
    transform: translateX(0);
  }
}

@keyframes slideInRight {
  to {
    transform: translateX(0);
  }
}

@keyframes shrinkOut {
  to {
    transform: scale(0.5);
    opacity: 0;
  }
}

@keyframes fadeOutDown {
  to {
    opacity: 0;
  }
}

@keyframes fadeInUp {
  to {
    opacity: 1;
  }
}

.about-story-section {
  padding-top: 140px;
  position: relative;
  padding-bottom: 100px;
  width: 100%;
  max-width: 1240px;
  margin: 0 auto;

  display: flex;
  gap: 160px;
}

.about-story-container {
  flex: 1;
}

.about-story-image {
  margin-bottom: 40px;
  width: 100%;
}

.about-story-category {
  color: #ef487b;
  font-family: "din-condensed";
  font-size: 20px;
  line-height: 28px;

  margin-bottom: 20px;
}

.about-story-image > img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
}

.about-story-title {
  margin-bottom: 30px;

  font-weight: 700;
  font-size: 32px;
  line-height: 44px;
  letter-spacing: -2.3px;
}

.about-story-text {
  font-weight: 400;
  font-size: 18px;
  line-height: 28px;
  letter-spacing: -4%;
}

.about-story-second {
  margin-top: 480px;
}

.about-story-second > .about-story-category {
  text-align: right;
}

.about-story-sub {
  font-weight: 500;
  font-size: 18px;
  line-height: 28px;
  margin-bottom: 16px;
  letter-spacing: -2%;
}

.section-anchor {
  position: absolute;
  top: -156px;
}

.about-ceo-section {
  position: relative;
  width: 100%;
  background-color: #f5f5f5;
  padding: 100px 20px;
}

.about-ceo-section > .about-ceo-container {
  width: 100%;
  max-width: 1028px;
  margin: 0 auto;

  display: flex;
  align-items: center;
  gap: 100px;
}

.about-ceo-text {
  flex: 1;
}

.about-ceo-category {
  color: #ef487b;
  font-family: "din-condensed";
  font-size: 20px;
  line-height: 28px;
  text-align: center;
  margin-bottom: 20px;
}

.about-ceo-name-box {
  display: flex;
  align-items: flex-end;
  justify-content: center;
  margin-bottom: 60px;
}

.about-ceo-name {
  font-weight: 700;
  font-size: 40px;
  letter-spacing: 4px;
  vertical-align: bottom;
}

.about-ceo-rank {
  margin-left: 8px;
  font-size: 18px;
  letter-spacing: 0%;
  vertical-align: bottom;
  padding-bottom: 6px;
}

.about-ceo-title {
  font-family: "din-condensed";
  font-size: 18px;
  line-height: 28px;
  letter-spacing: 0%;
}

.about-ceo-line {
  width: 100%;
  height: 1px;
  background-color: #d8d8d8;
  margin: 16px 0;
}

.about-ceo-history-now {
  font-weight: 600;
  line-height: 25px;
  letter-spacing: -2%;
  vertical-align: middle;
  margin-bottom: 8px;
}

.about-ceo-history {
  font-weight: 400;
  font-size: 16px;
  line-height: 25px;
  letter-spacing: -2%;
  vertical-align: middle;
  margin-bottom: 8px;
}

.about-interior-section {
  position: relative;
  padding-top: 150px;
  padding-bottom: 253px;
  width: 100%;
  max-width: 1240px;
  margin: 0 auto;
}

.about-interior-category {
  text-align: center;
  font-family: "din-condensed";
  font-size: 20px;
  line-height: 28px;
  letter-spacing: 4%;
  margin-bottom: 20px;
}

.about-interior-desc {
  font-weight: 400;
  font-size: 18px;
  line-height: 27px;
  letter-spacing: -2%;
  text-align: center;
  vertical-align: middle;
  margin-bottom: 60px;
}

.about-interior-images {
  width: 100%;
}

.about-interior-main-image {
  width: 100%;
  aspect-ratio: 2 / 1;
  object-fit: cover;
}

.about-interior-sub-images {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.about-interior-sub-images > img {
  width: 100%;
  aspect-ratio: 2 / 1;
  object-fit: cover;
}

.about-place-section {
  position: relative;
  border-bottom: 0;
  border-top: 1px solid #ddd;
}

.about-story-container {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

.about-story-container.visible {
  opacity: 1;
  transform: translateY(0);
}

/* 태블릿 및 모바일 스타일 (768px 이하) */
@media (max-width: 768px) {
  main {
    padding-top: 120px;
  }

  .main-content {
    padding-top: 120px;
  }

  .main-content h1 {
    margin-top: 0;
  }
  .about-link-section {
    padding: 0 20px;
  }

  .about-link-section h1 {
    font-size: 24px;
    margin-bottom: 16px;
  }

  .about-story-image {
    max-width: 244px;
    margin-bottom: 20px;
  }

  .about-story-title {
    font-size: 16px;
    line-height: 24px;
    margin-bottom: 12px;
    letter-spacing: -1px;
  }

  .about-story-sub {
    font-size: 12px;
  }

  .selector-container {
    top: 102px;
    padding-top: 12px;
  }

  .page-selector {
    padding: 0 20px;
  }

  .page-selector > .page-selector-item {
    font-size: 14px;
    padding-bottom: 12px;
  }

  .about-ceo-image {
    max-width: 100%;
  }
  .about-hero-section {
    height: 480px;
  }

  .about-hero-section img {
    max-width: 80%;
    height: auto;
  }

  .about-story-section {
    padding: 60px 20px;
    flex-direction: column;
    gap: 60px;
  }

  .about-story-container {
    width: 100%;
  }

  .place-section-title {
    text-align: left !important;
  }

  .about-story-second {
    margin-top: 0;
  }

  .about-story-category {
    font-size: 14px;
    line-height: 24px;
    margin-bottom: 8px;
  }

  .about-interior-main-image {
    display: block !important;
    width: 100% !important;
    max-width: 100% !important;
  }

  .about-story-second {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
  }

  .about-story-second div {
    width: 244px;
  }

  .about-interior-thumb.active {
    /* 슬라이더처럼 사용하므로 어두운 배경 제거 */
  }

  .about-interior-main-image-container {
    display: none;
  }

  .about-story-text {
    font-size: 12px;
    line-height: 19px;
    letter-spacing: -1px;
  }

  .about-story-sub {
    font-size: 12px;
    line-height: 100%;
    margin-bottom: 12px;
  }

  .about-ceo-section {
    padding: 40px 16px;
  }

  .about-ceo-section > .about-ceo-container {
    flex-direction: column;
    gap: 36px;
    max-width: 100%;
  }

  .about-ceo-category {
    font-size: 16px;
    line-height: 24px;
    margin-bottom: 16px;
  }

  .about-ceo-name-box {
    margin-bottom: 40px;
  }

  .about-ceo-name {
    font-size: 32px;
  }

  .about-ceo-rank {
    font-size: 16px;
  }

  .about-ceo-text {
    width: 100%;
    padding: 0 16px;
  }

  .about-ceo-history-now,
  .about-ceo-history {
    font-size: 14px;
    line-height: 25px;
  }

  .about-interior-section {
    padding: 60px 0;
  }

  .about-interior-category {
    font-size: 16px;
    line-height: 24px;
    margin-bottom: 16px;
  }

  .about-interior-desc {
    font-size: 14px;
    line-height: 21px;
    margin-bottom: 16px;
    padding: 0 32px;
  }

  .about-interior-sub-images {
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
    display: flex;
    flex-direction: row;
    overflow-x: auto;
  }

  .section-anchor {
    top: -120px;
  }
}
