/* ================================
   About Page Styles
   ================================ */

.hero {
  position: relative;
  height: 412px;
  width: 100%;
  overflow: hidden;
  display: grid;
  place-items: center;
  background: #aaa url(/static/about/img/about-hero.jpg) no-repeat center top;
  background-size: cover;
}

.hero__overlay {
  position: absolute;
  inset: 0;
  background-color: rgba(80, 80, 80, 0.55);
}

.hero__title {
  color: #fff;
  font-size: 48px;
  text-shadow: 4px 4px 4px rgba(0, 0, 0, 0.25);
  text-align: center;
  z-index: 1;
}

.scroll-indicator {
  display: none;
}

.value-section {
  padding: 80px 0;
  background-color: #f5f5f2;
}

.value-header {
  font-size: 24px;
  font-weight: 400;
  color: #787878;
  text-align: center;
}

.value-header::after {
  content: "";
  display: block;
  width: 338px;
  border-bottom: 2px solid rgba(181, 188, 195, 0.5);
  margin: 64px auto 0;
}

.value-main {
  display: flex;
  flex-direction: column;
  gap: 64px;
  margin-top: 80px;
  font-size: 20px;
}

.value-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.value-item:nth-child(even) {
  flex-direction: row-reverse;
}

.value-item > img {
  display: block;
  width: calc(92% - 424px);
  max-width: 475px;
  border-radius: 50px;
}

.value-item__text {
  width: 45%;
  min-width: 424px;
}

.value-item:nth-child(even) > .value-item__text {
  text-align: right;
}

.value-item__text > h3 {
  font-size: 28px;
}

.value-item__tags {
  margin-top: 24px;
  color: #918366;
}

.value-item__text > p {
  color: #7e7e7c;
  margin-top: 24px;
}

.process-section {
  padding: 48px 0 80px;
  background-color: #f5f5f2;
}

.process-header {
  text-align: center;
}

.process-header::before {
  content: "";
  display: block;
  max-width: 722px;
  border-bottom: 2px solid rgba(181, 188, 195, 0.5);
  margin: 0 auto 64px;
}

.process-header > h2 {
  font-size: 48px;
}

.process-header > p {
  margin-top: 16px;
  color: #858585;
  font-size: 24px;
}

.process-main {
  display: flex;
  flex-direction: column;
  margin-top: 96px;
  gap: 96px;
}

.process-factory {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.process-factory__card {
  background: #ececec no-repeat top;
  background-size: 100%;
  border-radius: 24px;
  width: 320px;
  min-width: 296px;
}

.process-factory__card::before {
  content: "";
  display: block;
  padding-top: 66.133333%;
}

.factory-1 > .process-factory__card {
  background-image: url(/static/about/img/factory-1.jpg);
}

.factory-2 > .process-factory__card {
  background-image: url(/static/about/img/factory-2.jpg);
}

.process-factory__card__inner {
  display: flex;
  flex-direction: column;
  padding: 24px;
}

.process-factory__card__inner > b {
  font-size: 24px;
  font-weight: 400;
}

.process-factory__card__inner > span {
  font-size: 16px;
  color: #444;
}

.process-factory__maps {
  display: flex;
  align-self: end;
  margin-top: 40px;
  gap: 12px;
}

.process-factory__maps > a {
  display: block;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: no-repeat center;
  background-size: 100%;
}

.process-factory__maps > a.map-naver {
  background-image: url(/static/about/img/map-naver.png);
}

.process-factory__maps > a.map-kakao {
  background-image: url(/static/about/img/map-kakao.png);
}

.process-factory::after {
  content: "";
  display: block;
  aspect-ratio: 1429 / 626;
  background: no-repeat center;
  background-size: 100%;
  max-width: 675px;
  width: 66%;
}

.process-factory.factory-1::after {
  background-image: url(/static/about/img/process-1.png);
}

.process-factory.factory-2::after {
  background-image: url(/static/about/img/process-2.png);
}

.link-to-next {
  padding: 100px 0 128px;
  background-color: #f5f5f2;
}

.link-to-next__button {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 362px;
  height: 80px;
  border-radius: 40px;
  background-color: #6d6d67;
  color: #fff;
  font-size: 24px;
  margin: 0 auto;
}

.link-to-next__button span {
  padding: 0 48px;
  background: url(/static/about/img/right-arrow.png) no-repeat right center;
  background-size: 10px auto;
}

/* Responsive - Mobile */
@media (max-width: 768px) {
  /* 홈페이지 main: 헤더와 겹치도록 margin 제거 */
  main {
    margin-top: 0;
  }

  .hero {
    height: 65vh;
    height: 65svh;
    padding-top: var(--header-height);
    background-image: url(/static/about/img/about-hero-m.jpg);
  }

  .hero__title {
    align-self: start;
    margin-top: 80px;
    font-size: 20px;
    text-shadow: 1px 1px 4px rgba(0, 0, 0, 0.25);
  }

  .scroll-indicator {
    position: absolute;
    left: 50%;
    bottom: max(24px, env(safe-area-inset-bottom));
    transform: translateX(-50%);
    width: 44px;
    height: 44px;
    display: grid;
    place-items: center;
    z-index: 1;
    text-decoration: none;
    -webkit-tap-highlight-color: transparent;
  }

  .scroll-indicator::after {
    content: "";
    display: block;
    width: 44px;
    height: 13px;
    opacity: 0.9;
    animation: chevron-bounce 2s ease-in-out infinite;
    will-change: transform, opacity;
    background: url(/static/about/img/scroll-indicator.png) no-repeat center;
    background-size: 100%;
  }

  .value-section {
    padding: 56px 0;
  }

  .value-header {
    font-size: 16px;
  }

  .value-header::after {
    width: 142px;
    margin-top: 40px;
  }

  .value-main {
    margin-top: 60px;
    font-size: 14px;
  }

  .value-item {
    flex-direction: column;
    gap: 20px;
  }

  .value-item:nth-child(even) {
    flex-direction: column;
  }

  .value-item > img {
    width: 280px;
    border-radius: 36px;
  }

  .value-item__text {
    width: 100%;
    min-width: unset;
    text-align: center;
  }

  .value-item:nth-child(even) > .value-item__text {
    text-align: center;
  }

  .value-item__text > h3 {
    font-size: 20px;
  }

  .value-item__tags {
    margin-top: 12px;
  }

  .value-item__text > p {
    margin-top: 12px;
  }

  .process-section {
    padding: 32px 0 56px;
  }

  .process-header::before {
    max-width: 160px;
    margin-bottom: 48px;
  }

  .process-header > h2 {
    font-size: 28px;
  }

  .process-header > p {
    margin-top: 8px;
    font-size: 16px;
  }

  .process-main {
    margin: 40px -16px 0;
    gap: 16px;
    align-items: center;
  }

  .process-main::before {
    content: "";
    display: block;
    margin-bottom: 24px;
    aspect-ratio: 1020 / 751;
    background: url(/static/about/img/process-m.png) no-repeat center;
    background-size: 100%;
    width: 92%;
    max-width: 510px;
  }

  .process-factory {
    width: 100%;
  }

  .process-factory__card {
    background-size: cover;
    border-radius: 0;
    width: 100%;
    max-width: 750px;
    min-width: unset;
    aspect-ratio: 375 / 248;
  }

  .process-factory__card::before {
    display: none;
  }

  .process-factory__card__inner {
    padding: 20px;
    text-shadow: 1px 1px 4px rgba(0, 0, 0, 0.6);
    align-items: center;
    gap: 8px;
  }

  .process-factory__card__inner > b {
    font-size: 18px;
    color: #fff;
  }

  .process-factory__card__inner > span {
    font-size: 14px;
    color: #fff;
  }

  .process-factory__maps {
    margin-top: 8px;
    align-self: auto;
  }

  .process-factory::after {
    display: none;
  }

  .link-to-next {
    padding: 24px 0 80px;
  }

  .link-to-next__button {
    width: 166px;
    height: 40px;
    border-radius: 20px;
    font-size: 16px;
  }

  .link-to-next__button span {
    padding: 0 20px;
    background-size: 5px auto;
  }
}

@keyframes chevron-bounce {
  0% {
    transform: translateY(-8px);
    opacity: 0.7;
  }
  45% {
    transform: translateY(8px);
    opacity: 1;
  }
  100% {
    transform: translateY(-8px);
    opacity: 0.7;
  }
}
