#hero-section {
  width: 100%;
  height: 100vh;
  overflow: hidden;
  position: relative;
}

#preload1 {
  background: url(./assets/slide1.jpg) no-repeat -9999px -9999px;
}
#preload2 {
  background: url(./assets/slide2.jpg) no-repeat -9999px -9999px;
}
#preload3 {
  background: url(./assets/slide3.jpg) no-repeat -9999px -9999px;
}
#preload4 {
  background: url(./assets/slide4.jpg) no-repeat -9999px -9999px;
}
#preload5 {
  background: url(./assets/slide5.jpg) no-repeat -9999px -9999px;
}

.slider-wrap {
  width: 100%;
  height: 100%;
  overflow: hidden;
}

.slider {
  height: 100%;
  white-space: nowrap;
  display: flex;
  height: 100%;
  animation: slideAnimation 30s infinite;
}

.slide {
  width: 100vw;
  display: inline-block;
  background-size: cover;
  flex: 0 0 100%;
  display: block;
  background-position: center;
  height: 100%;
}

/* 애니메이션 키프레임 */
@keyframes slideAnimation {
  0% {
    transform: translateX(0%);
  }
  16.666% {
    transform: translateX(0%);
  }

  20% {
    transform: translateX(-100%);
  }
  36.666% {
    transform: translateX(-100%);
  }

  40% {
    transform: translateX(-200%);
  }
  56.666% {
    transform: translateX(-200%);
  }

  60% {
    transform: translateX(-300%);
  }
  76.666% {
    transform: translateX(-300%);
  }

  80% {
    transform: translateX(-400%);
  }
  96.666% {
    transform: translateX(-400%);
  }

  100% {
    transform: translateX(0%);
  } /* 빠르게 원래대로 */
}

.active .slide-title {
  background-color: rgba(0, 0, 0, 0.5);
}
.square {
  width: calc(100% - 40px); /* 예시 */
  aspect-ratio: 1 / 1;
}
.slide-title {
  font-size: 36px;
  line-height: 54px;
  color: var(--white);
  position: absolute;
  left: 0px;
  top: 0px;
  transition: all 0.3s ease-in-out;
  width: 100vw;
  background-color: rgba(0, 0, 0, 0.2);
  height: 100vh;
  text-align: center;
  z-index: 10;
}
.slde-text {
  position: absolute;
  top: 60%;
  left: 50%;
  transform: translate(-50%, -50%);
}

#brand-story-section {
  padding: 120px 0px;
  background-color: var(--white);
}

.section-title {
  text-align: center;
  font-size: 32px;
  font-weight: bold;
  margin-bottom: 12px;
  color: #1e1e1e;
}
.section-content {
  text-align: center;
  line-height: 32px;
  font-size: 20px;
  color: var(--gray);
}

.brand-story-flex {
  margin-top: 48px;
  gap: 20px;
  display: flex;
  align-items: center;
}
.brand-story-flex-item {
  width: calc((100% - 40px) / 3);
  border-radius: 10px;
  padding: 20px;
  box-sizing: border-box;
}
.brand-story-flex-icon {
  width: 100%;
  aspect-ratio: 1 / 1;
  display: block;
  object-fit: cover;
  margin: auto;
  margin-bottom: 24px;
}
.brand-story-flex-item-title {
  font-size: 18px;
  font-weight: bold;
  text-align: center;
}
.brand-story-flex-item-content {
  color: var(--gray);
  margin-top: 12px;
  text-align: center;
}

#offline-shop-section {
  background-color: var(--white);
  padding: 120px 0px;
}
.offline-flex-item {
  width: calc((100% - 40px) / 3);
  box-sizing: border-box;
  overflow: hidden;
}
.offline-flex-item-textarea {
  width: 100%;
  padding: 20px;
  box-sizing: border-box;
}
.offline-flex-item-top-img {
  display: block;
  width: 100%;
  height: 250px;
  object-fit: cover;
}
.offline-flex-item-textarea-title {
  font-size: 20px;
  color: #000;
  font-weight: bold;
  margin-bottom: 12px;
  text-align: center;
}
.offline-flex-item-textarea-content {
  color: var(--gray);
  text-align: center;
  height: 70px;
  overflow: hidden;
  word-break: keep-all;
}
.offline-flex-item-line {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-top: 8px;
}
.offline-bottom-flex-right {
  color: #000;
  text-decoration: underline;
}
.item-line-icon {
  width: 18px;
  display: block;
}
.offline-flex-item-line-right {
  font-size: 14px;
  color: var(--gray);
  display: flex;
  align-items: center;
}

.offline-bottom-flex {
  display: flex;
  margin-top: 24px;
  justify-content: center;
  color: var(--rose);
  font-size: 18px;
  font-weight: bold;
}

#online-shop-section {
  background-image: url(../../assets/high.jpg);
  background-size: contain;
  height: 540px;
  box-sizing: border-box;
  background-position: center;
}
#online-shop-section .wrap {
  width: 100%;
  height: 100%;
  padding: 120px 0px;
  box-sizing: border-box;
  display: flex;
  align-items: center;
  justify-content: center;
  background-repeat: no-repeat;
  background-color: rgba(0, 0, 0, 0.5);
}
.my-section-title {
  font-size: 42px;
  font-weight: bold;
  color: var(--white);
  text-align: center;
  margin-bottom: 12px;
}
.my-section-subtitle {
  font-size: 24px;
  font-weight: bold;
  color: var(--white);
  text-align: center;
}
.my-section-button {
  width: 150px;
  background-color: var(--white);
  height: 42px;
  border-radius: 100px;
  display: flex;
  font-size: 14px;
  align-items: center;
  justify-content: center;
  margin: auto;
  margin-top: 64px;
}
.shop-img {
  width: 800px;
  display: block;
  margin: auto;
  margin-top: 48px;
}

.shop-button {
  display: flex;
  align-items: center;
  justify-content: center;
  color: #000;
  width: 160px;
  font-size: 14px;
  height: 42px;
  background-color: var(--rose);
  border-radius: 10px;
  margin: auto;
  margin-top: 24px;
}

#collection-section {
  padding: 120px 0px;
  background-color: var(--white);
  overflow: hidden;
}
.coll-item {
  width: calc((100% - 60px) / 4);
  height: 300px;
  border-radius: 10px;
  overflow: hidden;
  position: relative;
}
.coll-img {
  display: block;
  width: 100%;
  height: 300px;
  object-fit: cover;
}
.coll-item-textarea {
  position: absolute;
  width: calc(100% - 32px);
  padding: 16px;
  left: 50%;
  bottom: 16px;
  transform: translateX(-50%);
  box-sizing: border-box;
  border-radius: 5px;
  background-color: rgba(255, 255, 255, 0.9);
}
.coll-item-title {
  color: #000;
  font-size: 18px;
  margin-bottom: 12px;
}
.coll-item-content {
  font-size: 14px;
}
.logo-flex {
  display: flex;
  margin-top: 24px;
  gap: 50px;
  width: 100%;
  white-space: nowrap;
  flex-wrap: nowrap;
  animation: 30s logoSldie linear infinite;
}
@keyframes logoSldie {
  0% {
    transform: translateX(0%);
  }
  100% {
    transform: translateX(-100%);
  }
}
.flex-logo-brand {
  width: 200px;
  object-fit: contain;
}

#good-thing-section {
  padding: 120px 0px;
  background-color: #000;
}

.section-content-top {
  margin-top: 12px;
}
.color-white {
  color: var(--white);
}

@media (max-width: 500px) {
  .inner {
    width: 90vw;
  }
  .mobile-show {
    display: block;
  }
  #header.active .header-center {
    font-size: 20px;
    top: 80px;

    opacity: 1;
    transition: all 0.3s ease;
    z-index: 999;
  }
  .header-center {
  }
  .header-link {
    font-size: 12px;
    text-align: center;
    display: none;
  }
  .header-left {
    display: flex;
    align-items: center;
    justify-content: space-between;
  }

  .slide-title {
    font-size: 20px;
    width: 100%;
    line-height: 28px;
  }
  .mobile-show i {
    font-size: 24px;
    color: #000;
  }
  .slde-text {
    top: 50%;
    width: 90vw;
  }
  .header-bbars {
    width: 60vw;
    height: 100vh;
    position: fixed;
    top: 0px;
    right: 100%;
    z-index: 9999;
    background-color: var(--white);
  }
  .mobile-header-link {
    display: block;
    padding: 20px;
    width: 100%;
    font-size: 14px;
    box-sizing: border-box;
  }
  .active i {
    color: var(--white);
  }
  .section-title {
    font-size: 20px !important;
  }
  .section-content {
    font-size: 14px;
  }
  .section-content br {
    display: none;
  }
  .brand-story-flex {
    flex-wrap: wrap;
  }
  .brand-story-flex-item {
    width: 100%;
  }
  .brand-story-flex-item-content {
    font-size: 14px;
  }
  .my-section-title {
    font-size: 20px;
  }
  .my-section-subtitle {
    font-size: 14px;
  }
  .offline-flex-item {
    width: 100%;
  }
  footer .inner {
    gap: 20px;
    flex-wrap: wrap;
  }
  .footer-item {
    width: 100%;
  }
}
