/* ============================================
   about.html 전용 스타일 (PC)
   ============================================ */

/* About 히어로 섹션 - 서비스 섹션 겹침 시 비주얼이 앞에 오도록, 배경 투명으로 하단 서비스 배경이 비주얼 뒤로 오버랩 */
.section-about-hero {
  position: relative;
  z-index: 2;
  padding: 124px 0 60px;
  background: transparent;
}

.section-about-hero__title {
  font-size: 42px;
  font-weight: 700;
  color: #222;
  text-align: center;
  height: 130px;
  margin: 0 0 40px;
  line-height: 1.4;
}

.section-about-hero__highlight {
  color: #fff;
  transition: color 1s ease;
  transition-delay: 0.12s;
}

.section-about-hero.hero-highlight-visible .section-about-hero__highlight {
  color: var(--color-point-light);
  transition-delay: 0s;
}

/* 히어로 여백: 비주얼 박스 크기는 그대로(100%·1760px), 안쪽에만 좌우 패딩 → 기존 사이즈 유지하면서 여백만 생김 */
.section-about-hero__visual {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 1760px;
  margin: 0 auto;
  box-sizing: border-box;
  padding: 0 clamp(20px, 5vw, 60px);
  aspect-ratio: 1760 / 720;
  border-radius: 24px;
  overflow: hidden;
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.55s ease, transform 0.55s ease;
}

.section-about-hero.hero-visible .section-about-hero__visual {
  opacity: 1;
  transform: translateY(0);
}

.section-about-hero .career-visual__backgrounds {
  position: absolute;
  top: 0;
  left: clamp(20px, 5vw, 60px);
  right: clamp(20px, 5vw, 60px);
  bottom: 0;
  background: #ffffff;
  border-radius: 24px;
  overflow: hidden;
}

.section-about-hero .career-visual__bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  opacity: 0;
  transition: opacity 0.5s ease;
}

.section-about-hero .career-visual__bg.is-active {
  opacity: 1;
}

.section-about-hero .career-visual__keywords {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  display: flex;
  align-items: center;
  gap: 32px;
  z-index: 10;
}

.section-about-hero .career-visual__keyword {
  padding: 0;
  background: none;
  border: none;
  font-size: 28px;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.5);
  cursor: pointer;
  transition: color 0.3s ease, transform 0.3s ease;
  white-space: nowrap;
}

.section-about-hero .career-visual__keyword:hover,
.section-about-hero .career-visual__keyword.is-active {
  color: #fff;
  transform: scale(1.05);
}

/* Our Service 섹션 - 검정 배경이 상단 비주얼 하단으로 올라와 겹침 */
.section-about-service {
  position: relative;
  margin-top: -300px;
  padding: 120px 0;
  background: #161920;
}

.section-about-service__bg {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 0;
}

.section-about-service .container {
  position: relative;
  z-index: 1;
}

.section-about-service__inner {
  display: flex;
  align-items: stretch;
  gap: 60px;
  margin-top: 260px;
}

.section-about-service__title {
  font-size: 42px;
  font-weight: 700;
  color: #fff;
  margin: 60px 0;
  flex-shrink: 0;
  position: sticky;
  top: 120px;
  align-self: flex-start;
}

.section-about-service__title-point {
  color: var(--color-point-dark);
}

/* 스크롤 인터랙션: 진입 시 타이틀·아코디언 순차 노출 */
.section-about-service .section-about-service__title {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.45s ease, transform 0.45s ease;
}

.section-about-service.is-inview .section-about-service__title {
  opacity: 1;
  transform: translateY(0);
  transition-delay: 0.1s;
}

.section-about-service .about-accordion__item {
  opacity: 0;
  transform: translateX(32px);
  transition: opacity 0.4s ease, transform 0.4s ease;
  transition-delay: var(--accordion-delay, 0s);
}

.section-about-service.is-inview .about-accordion__item {
  opacity: 1;
  transform: translateX(0);
}

/* 아코디언 - 좌측 타이틀, 우측 콘텐츠 2열 구조 */
.section-about-service__accordion {
  flex: 1;
  min-width: 0;
}

.about-accordion__item {
  padding: 60px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.15);
}

.about-accordion__item:first-child {
  border-top: 1px solid rgba(255, 255, 255, 0.15);
}

.about-accordion__trigger {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  width: 100%;
  padding: 0 0 12px;
  background: none;
  border: none;
  color: inherit;
  font-size: 34px;
  font-weight: 600;
  cursor: pointer;
  text-align: left;
}

.about-accordion__title {
  color: var(--color-point-dark);
}

.about-accordion__icon {
  font-size: 34px;
  font-weight: 400;
  line-height: 1;
  color: #fff;
  transition: transform 0.3s ease;
  flex-shrink: 0;
  margin-left: 16px;
}

.about-accordion__item.is-open .about-accordion__icon {
  transform: rotate(45deg);
}

.about-accordion__desc {
  font-size: 18px;
  font-weight: 300;
  line-height: 1.8;
  color: rgba(255, 255, 255, 0.9);
  margin: 0;
  padding-right: 40px;
}

.about-accordion__desc strong {
  font-weight: 600;
}

.about-accordion__expand {
  max-height: 0;
  overflow: hidden;
  margin-top: 0;
  padding-top: 0;
  border-top: 1px solid transparent;
  transition: max-height 0.35s ease, padding-top 0.35s ease, margin-top 0.35s ease, border-color 0.35s ease;
}

.about-accordion__item.is-open .about-accordion__expand {
  max-height: 600px;
  margin-top: 28px;
  padding-top: 28px;
  border-top-color: transparent;
}

.about-accordion__list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px 48px;
  list-style: none;
  padding: 0;
  margin: 0;
  font-size: 15px;
  font-weight: 400;
  line-height: 1.8;
  color: rgba(255, 255, 255, 0.9);
}

.about-accordion__list li {
  position: relative;
  padding-left: 14px;
  margin: 0;
}

.about-accordion__list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.65em;
  width: 4px;
  height: 4px;
  background: #fff;
  border-radius: 50%;
}

/* History 섹션 - 배경 #ffffff */
.section-about-history {
  position: relative;
  padding: 120px 0;
  background: #ffffff;
  overflow: hidden;
}

.section-about-history__bg {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 0;
}

.section-about-history .container {
  position: relative;
  z-index: 1;
}

/* Works와 동일: 타이틀·화살표 같은 줄, align-items flex-end */
.section-about-history__header {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-bottom: 0;
}

.section-about-history__header-inner {
  flex: 1;
}

.section-about-history__title {
  font-size: 42px;
  font-weight: 700;
  color: var(--color-section-title);
  margin: 0;
}

.section-about-history__title-point {
  color: var(--color-point-light);
}

.section-about-history__subtitle {
  font-size: 16px;
  color: #666;
  margin: 6px 0 0;
}

/* 스크롤 인터랙션: 진입 시 헤더·카드 순차 노출 */
.section-about-history .section-about-history__header {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.45s ease, transform 0.45s ease;
}

.section-about-history.is-inview .section-about-history__header {
  opacity: 1;
  transform: translateY(0);
  transition-delay: 0.1s;
}

.section-about-history .history-carousel .swiper-slide {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.4s ease, transform 0.4s ease;
  transition-delay: var(--history-slide-delay, 0s);
}

.section-about-history.is-inview .history-carousel .swiper-slide {
  opacity: 1;
  transform: translateY(0);
}

.section-about-history__nav {
  display: flex;
  align-items: center;
  gap: 32px;
  flex-shrink: 0;
}

.section-about-history__nav .swiper-button-prev,
.section-about-history__nav .swiper-button-next {
  margin: 0 !important;
  padding: 0 !important;
}

.history-nav-btn {
  position: relative !important;
  width: 40px;
  height: 40px;
  margin: 0 !important;
  transform: none !important;
  background: transparent !important;
  border: none !important;
  color: #222;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity 0.3s ease;
}

.history-nav-btn:hover {
  opacity: 0.7;
}

.history-nav-btn::after {
  display: none;
}

.history-nav-btn.swiper-button-prev::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 12px;
  height: 12px;
  margin: 0;
  border-left: 2px solid #222;
  border-bottom: 2px solid #222;
  transform: translate(-50%, -50%) rotate(45deg);
}

.history-nav-btn.swiper-button-next::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 12px;
  height: 12px;
  margin: 0;
  border-right: 2px solid #222;
  border-top: 2px solid #222;
  transform: translate(-50%, -50%) rotate(45deg);
}

.section-about-history__carousel-wrap {
  width: 100%;
  margin-top: 32px;
  padding-left: max(clamp(20px, 5vw, 60px), calc((100vw - var(--max-width)) / 2 + clamp(20px, 5vw, 60px)));
  overflow: visible;
}

.history-carousel {
  overflow: visible !important;
}

.history-carousel .swiper-wrapper {
  display: flex;
  align-items: stretch;
}

.history-carousel .swiper-slide {
  width: 640px;
  flex-shrink: 0;
  height: auto;
}

.history-card {
  width: 640px;
  height: 470px;
  padding: 32px;
  border-radius: 12px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  overflow: hidden;
  position: relative;
}

.history-card__bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  z-index: 0;
}

.history-card__list,
.history-card__period {
  position: relative;
  z-index: 1;
}

.history-card__list {
  list-style: none;
  padding: 0;
  margin: 0 0 20px;
  font-size: 14px;
  line-height: 1.8;
  color: rgba(255, 255, 255, 0.95);
}

.history-card__list li {
  position: relative;
  padding-left: 16px;
  margin-bottom: 6px;
}

.history-card__list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.65em;
  width: 4px;
  height: 4px;
  background: #fff;
  border-radius: 50%;
}

.history-card__period {
  font-size: 40px;
  font-weight: 700;
  color: #fff;
  margin: 0;
}

/* 오시는길 섹션 */
.section-about-location {
  padding: 120px 0;
  margin-bottom: 0;
  background: #EFF5F8;
}


.section-about-location__title {
  font-size: 42px;
  font-weight: 700;
  color: var(--color-section-title);
  text-align: center;
  margin: 0 0 8px;
}

.section-about-location__title-point {
  color: var(--color-point-light);
}

.section-about-location__subtitle {
  font-size: 16px;
  color: #666;
  text-align: center;
  margin: 0 0 40px;
}

/* 스크롤 인터랙션: 진입 시 순차 노출 */
.section-about-location .section-about-location__title {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.45s ease, transform 0.45s ease;
}

.section-about-location .section-about-location__subtitle {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.4s ease, transform 0.4s ease;
}

.section-about-location .section-about-location__map-wrap {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.4s ease, transform 0.4s ease;
}

.section-about-location .section-about-location__info {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.4s ease, transform 0.4s ease;
}

.section-about-location .section-about-location__buttons {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.4s ease, transform 0.4s ease;
}

.section-about-location.is-inview .section-about-location__title {
  opacity: 1;
  transform: translateY(0);
  transition-delay: 0.1s;
}

.section-about-location.is-inview .section-about-location__subtitle {
  opacity: 1;
  transform: translateY(0);
  transition-delay: 0.18s;
}

.section-about-location.is-inview .section-about-location__map-wrap {
  opacity: 1;
  transform: translateY(0);
  transition-delay: 0.28s;
}

.section-about-location.is-inview .section-about-location__info {
  opacity: 1;
  transform: translateY(0);
  transition-delay: 0.38s;
}

.section-about-location.is-inview .section-about-location__buttons {
  opacity: 1;
  transform: translateY(0);
  transition-delay: 0.48s;
}

.section-about-location__map-wrap {
  margin-bottom: 32px;
  border-radius: 12px;
  overflow: hidden;
  background: #e0e0e0;
}

.section-about-location__map-img {
  width: 100%;
  height: auto;
  display: block;
  vertical-align: top;
}

.section-about-location__info {
  background: #fff;
  padding: 32px;
  border-radius: 8px;
}

.section-about-location__info p {
  font-size: 15px;
  line-height: 1.8;
  color: #333;
  margin: 0 0 8px;
}

.section-about-location__info p:last-of-type {
  margin-bottom: 24px;
}

.section-about-location__info p.section-about-location__company {
  font-size: 24px;
  font-weight: 700;
  color: #222;
  margin-bottom: 16px !important;
  padding-bottom: 16px;
  border-bottom: 1px solid #1579EB;
}

.section-about-location__buttons {
  display: flex;
  gap: 16px;
  justify-content: flex-start;
  flex-wrap: wrap;
}

.section-about-location__buttons--mo { display: none; }

.section-about-location__buttons .btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 24px;
  font-size: 16px;
  font-weight: 600;
  border-radius: 4px;
  text-decoration: none;
  transition: opacity 0.3s ease;
}

.section-about-location__buttons .btn:hover {
  opacity: 0.9;
}

.btn--naver {
  background: #03c75a;
  color: #fff;
}
.btn--kakao {
  background: #3c1e1e;
  color: #fff;
}

.btn__arrow {
  font-size: 0;
  display: inline-block;
  width: 8px;
  height: 8px;
  border-right: 2px solid currentColor;
  border-top: 2px solid currentColor;
  transform: rotate(45deg);
}

/* about 페이지 CTA margin 제거 */
.section-cta { margin-top: 0; }

/* ============================================
   태블릿 (1024px 이하)
   ============================================ */
@media screen and (max-width: 1024px) {

  /* 히어로 섹션 */
  .section-about-hero {
    padding: 104px 0 40px;
  }

  .section-about-hero__title {
    font-size: 32px;
    height: 100px;
    margin: 0 0 32px;
  }

  .section-about-hero__visual {
    width: 95%;
    margin: 0 auto;
    border-radius: 16px;
  }

  .section-about-hero .career-visual__keywords {
    gap: 24px;
  }

  .section-about-hero .career-visual__keyword {
    font-size: 22px;
  }

  /* Our Service 섹션 */
  .section-about-service {
    margin-top: -180px;
    padding: 80px 0;
  }

  .section-about-service__inner {
    flex-direction: column;
    gap: 40px;
    margin-top: 160px;
  }

  .section-about-service__title {
    font-size: 32px;
    margin: 0;
    position: static;
  }

  .about-accordion__item {
    padding: 40px 0;
  }

  .about-accordion__trigger {
    font-size: 26px;
  }

  .about-accordion__icon {
    font-size: 26px;
  }

  .about-accordion__desc {
    font-size: 16px;
    padding-right: 0;
  }

  .about-accordion__desc br { display: none; }

  .about-accordion__list {
    grid-template-columns: repeat(2, 1fr);
    gap: 10px 40px;
    font-size: 14px;
  }

  /* History 섹션 */
  .section-about-history {
    padding: 80px 0;
  }

  .section-about-history__title {
    font-size: 36px;
  }

  .section-about-history__carousel-wrap {
    padding-left: 80px;
    margin-top: 32px;
  }

  .history-carousel .swiper-slide {
    width: 480px;
  }

  .history-card {
    width: 480px;
    height: 360px;
    padding: 24px;
  }

  .history-card__list {
    font-size: 14px;
  }

  .history-card__period {
    font-size: 38px;
  }

  /* 오시는길 섹션 */
  .section-about-location {
    padding: 80px 0;
  }

  .section-about-location__title {
    font-size: 36px;
  }

  .section-about-location__info {
    padding: 24px;
  }

  .section-about-location__info p {
    font-size: 14px;
  }

  .section-about-location__info p.section-about-location__company {
    font-size: 22px;
  }

  .section-about-location__buttons .btn {
    padding: 12px 20px;
    font-size: 14px;
  }
}

/* ============================================
   모바일 (768px 이하)
   ============================================ */
@media screen and (max-width: 768px) {

  /* 히어로 섹션 */
  .section-about-hero {
    padding: 94px 0 24px;
  }

  .section-about-hero__title {
    font-size: 26px;
    margin: 0;
    line-height: 1.4;
  }

  .section-about-hero__title-mobile-br::after {
    content: '\A';
    white-space: pre;
  }

  .section-about-hero__visual {
    width: 100%;
    margin: 0;
    border-radius: 0;
    aspect-ratio: auto;
    height: 80vh;
    max-height: 500px;
  }

  .section-about-hero .career-visual__backgrounds {
    left: 0;
    right: 0;
    border-radius: 0;
  }

  .section-about-hero .career-visual__keywords {
    flex-wrap: wrap;
    justify-content: center;
    gap: 24px 36px;
    padding: 0 20px;
  }

  .section-about-hero .career-visual__keyword {
    font-size: 26px;
  }

  /* Our Service 섹션 */
  .section-about-service {
    margin-top: -200px;
    padding: 60px 0;
  }

  .section-about-service__inner {
    margin-top: 160px;
    gap: 32px;
    align-items: center;
  }

  .section-about-service__title {
    font-size: 28px;
    text-align: center;
    width: 100%;
  }

  .about-accordion__item {
    padding: 28px 0;
  }

  .about-accordion__trigger {
    font-size: 22px;
    padding: 0 0 12px;
  }

  .about-accordion__icon {
    font-size: 20px;
  }

  .about-accordion__desc {
    font-size: 14px;
    line-height: 1.7;
  }

  .about-accordion__desc br { display: none; }

  .about-accordion__item.is-open .about-accordion__expand {
    margin-top: 20px;
    padding-top: 20px;
  }

  .about-accordion__list {
    font-size: 14px;
    gap: 6px;
  }

  /* History 섹션 */
  .section-about-history {
    padding: 60px 0;
  }

  .section-about-history__header {
    flex-direction: column;
    align-items: center;
    gap: 16px;
  }

  .section-about-history__header-inner {
    text-align: center;
  }

  .section-about-history__title {
    font-size: 34px;
    text-align: center;
  }

  .section-about-history__subtitle {
    font-size: 14px;
    text-align: center;
  }

  /* 모바일 캐러셀 arrow 숨김 */
  .section-about-history__nav { display: none; }

  .section-about-history__carousel-wrap {
    padding-left: 24px;
    margin-top: 32px;
  }

  .history-carousel .swiper-slide {
    width: 300px;
  }

  .history-card {
    width: 300px;
    height: 400px;
    padding: 20px;
  }

  .history-card__list {
    font-size: 13px;
    line-height: 1.7;
  }

  .history-card__list li {
    padding-left: 12px;
    margin-bottom: 4px;
    font-weight: 200;
  }

  .history-card__list li strong {
    font-weight: 700;
  }

  .history-card__list li::before {
    width: 3px;
    height: 3px;
  }

  .history-card__period {
    font-size: 28px;
  }

  /* 오시는길 섹션 */
  .section-about-location {
    padding: 60px 0;
  }

  .section-about-location__title {
    font-size: 34px;
  }

  .section-about-location__subtitle {
    font-size: 14px;
    margin: 0 0 24px;
  }

  .section-about-location__map-wrap {
    margin-bottom: 20px;
    border-radius: 8px;
  }

  .section-about-location__map-img {
    height: 360px;
    object-fit:  cover;
  }

  .section-about-location__info {
    padding: 20px;
  }

  .section-about-location__info p {
    font-size: 14px;
    line-height: 1.7;
  }

  .section-about-location__info p.section-about-location__company {
    font-size: 20px;
    padding-bottom: 12px;
    margin-bottom: 12px !important;
  }

  .section-about-location__info p:last-of-type {
    margin-bottom: 0;
  }

  .section-about-location__buttons--pc { display: none; }
  .section-about-location__buttons--mo {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-top: 20px;
  }

  .section-about-location__buttons .btn {
    justify-content: center;
    padding: 14px 20px;
    font-size: 14px;
  }
}
