* {
  box-sizing: border-box;
}

html {
  min-width: 1000px;
  background: #f2eee8;
}

body {
  margin: 0;
  color: #2e3741;
  font-family: Arial, "Microsoft JhengHei", "PingFang TC", sans-serif;
  background: #f2eee8;
}
.footer-nav img { width: 6vw; height: auto; }
a {
  display: block;
  color: inherit;
  text-decoration: none;
}

img {
  display: block;
  border: 0;
}

.edm {
  width: 1000px;
  margin: 0 auto;
  overflow: hidden;
  background: #f2eee8;
}

.site-header,
.site-footer {
  width: 1000px;
  margin: 0 auto;
}

.site-header img {
  width: 1000px;
  height: auto;
}

.site-footer {
  min-height: 148px;
  padding: 18px 24px 18px;
  background: #2e3741;
}

.floating-nav {
  position: fixed;
  right: 34px;
  top: 50%;
  z-index: 900;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  width: 148px;
  padding: 28px 26px 18px;
  color: #fff;
  font-family: Arial, "Microsoft JhengHei", "PingFang TC", sans-serif;
  font-size: 23px;
  font-weight: 900;
  line-height: 1.35;
  text-align: center;
  background: #584a2f;
  border-radius: 30px;
  box-shadow: 0 10px 24px rgba(0,0,0,.18);
  transform: translateY(-50%);
}

.floating-nav-link,
.floating-nav-top {
  color: inherit;
  border: 0;
  background: transparent;
  font: inherit;
  cursor: pointer;
}

.floating-nav-link {
  position: relative;
  padding: 12px 0;
}

.floating-nav-link + .floating-nav-link,
.floating-nav-top {
  border-top: 1px solid rgba(255,255,255,.22);
}

.floating-nav-link.is-active {
  color: #fff8bb;
}

.floating-nav-pin {
  display: inline-block;
  width: 16px;
  height: 16px;
  margin-right: 8px;
  vertical-align: -1px;
  background: currentColor;
  border-radius: 50% 50% 50% 0;
  transform: rotate(-45deg);
}

.floating-nav-pin::after {
  content: "";
  position: absolute;
  width: 6px;
  height: 6px;
  margin: 5px 0 0 5px;
  background: #584a2f;
  border-radius: 50%;
}

.floating-nav-top {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 14px 0 0;
  letter-spacing: 0;
}

.floating-nav-top span {
  font-size: 18px;
  line-height: 1;
}

.floating-nav-top strong {
  font-size: 34px;
  line-height: 1.05;
}

.footer-nav {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
      justify-content: center;
  gap: 10px 33px;
  margin-top: 20px;
}

.footer-nav a {
  display: flex;
  align-items: center;
  height: 42px;
  text-decoration: none;
}



.footer-row-break {
  flex-basis: 100%;
  width: 0;
  height: 0;
}

.footer-text-link {
  color: #fff;
  font-family: Arial, "Microsoft JhengHei", "PingFang TC", sans-serif;
  font-size: 27px;
  font-weight: 900;
  line-height: 1;
  letter-spacing: 0;
  white-space: nowrap;
  text-shadow: 0 0 1px rgba(255,255,255,.35);
}

.main {
  width: 961px;
  margin: 0 auto;
  padding: 28px 0 0;
}

.category-nav {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 0 8px;
  width: 961px;
  margin: 0 auto 16px;
}

.category-nav a {
  height: 62px;
  transition: transform .18s ease, filter .18s ease;
}

.category-nav a:hover {
  transform: translateY(-2px);
  filter: brightness(1.04);
}

.category-nav img {
  width: 100%;
  height: auto;
}

.hero,
.quality,
.youtube-section,
.section,
.doctor,
.site-footer {
  transition: opacity .55s ease, transform .55s ease;
}

.js-reveal .hero,
.js-reveal .quality,
.js-reveal .youtube-section,
.js-reveal .section,
.js-reveal .doctor,
.js-reveal .site-footer {
  opacity: 0;
  transform: translateY(18px);
}

.js-reveal .is-visible {
  opacity: 1;
  transform: translateY(0);
}

.section-banner,
.product-card,
.youtube-frame {
  transition: transform .22s ease, filter .22s ease, box-shadow .22s ease;
}

.momo-panel {
  transition: opacity .28s ease;
}

@media (hover: hover) {
  .section-banner:hover {
    filter: brightness(1.04);
    transform: translateY(-2px);
  }

  .product-card:hover {
    transform: translateY(-5px);
    filter: brightness(1.03);
  }

  .youtube-frame:hover {
    transform: translateY(-3px);
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    transition-duration: .01ms !important;
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
  }

  .js-reveal .hero,
  .js-reveal .quality,
  .js-reveal .youtube-section,
  .js-reveal .section,
  .js-reveal .doctor,
  .js-reveal .site-footer {
    opacity: 1;
    transform: none;
  }
}

.hero {
  width: 961px;
  margin: 0 auto;
}

.hero-slider {
  width: 961px;
  height: 360px;
  padding: 0;
  background: transparent;
}

.hero-slider .swiper-slide {
  width: 760px;
  height: 100%;
}

.hero-slider .swiper-slide img {
  display: block;
  width: 100%;
  height: 360px;
  object-fit: contain;
  object-position: center;
}

.quality {
  width: 961px;
  margin: 0 auto 10px;
}

.youtube-section {
  width: 961px;
  margin: 0 auto 18px;
}

.youtube-frame {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: #000;
}

.youtube-frame iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

.section {
  width: 961px;
  margin: 0 auto 18px;
}

.section.momo {
  position: relative;
  width: 961px;
  min-height: 861px;
  padding-top: 0;
  margin-left: 0;
  margin-bottom: 0px;
}

.momo-card {
  position: relative;
  z-index: 1;
  width: 961px;
}

.momo-radio {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.momo-panels {
  position: relative;
  width: 961px;
  height: 861px;
  overflow: hidden;
}

.momo-panel {
  position: absolute;
  inset: 0;
  z-index: 0;
  display: block;
  opacity: 0;
  pointer-events: none;
}

#momo-full-gift:checked ~ .momo-panels .momo-panel-full,
#momo-limited-gift:checked ~ .momo-panels .momo-panel-limited,
#momo-raffle:checked ~ .momo-panels .momo-panel-raffle {
  z-index: 1;
  opacity: 1;
  pointer-events: auto;
}

.momo-panel img {
  width: 961px;
  max-width: none;
}

.momo-hotspots {
  position: absolute;
  top: 0;
  right: 0;
  left: 0;
  z-index: 5;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  height: 298px;
  pointer-events: auto;
}

.momo-hotspots button {
  display: block;
  width: 100%;
  padding: 0;
  border: 0;
  background: transparent;
  cursor: pointer;
}

.section-banner {
  position: relative;
  z-index: 1;
  width: 961px;
}

.section-banner img {
  width: 961px;
  height: auto;
}

.category-swiper {
  position: relative;
  width: 854px;
  height: 336px;
  margin: 6px auto 0;
  padding: 0 0 20px;
  overflow: hidden;
  box-sizing: border-box;
}

.category-swiper .swiper-wrapper {
  align-items: flex-start;
}

.category-swiper .swiper-slide {
  display: flex;
  justify-content: center;
  flex-shrink: 0;
}

.category-swiper.is-static .swiper-wrapper {
  display: flex;
  align-items: flex-start;
  justify-content: center;
  gap: 10px;
}

.category-swiper.is-static .swiper-slide {
  width: 206px !important;
  height: 322px;
}

.product-card {
  display: block;
  width: 206px;
  height: 322px;
}

.product-card img {
  width: 206px;
  height: 322px;
}

.category-swiper .swiper-button-prev,
.category-swiper .swiper-button-next {
  top: 156px;
  width: 24px;
  height: 42px;
  margin-top: 0;
  color: #9d968e;
  background-size: 24px 42px;
}

.category-swiper .swiper-button-prev {
  left: 4px;
}

.category-swiper .swiper-button-next {
  right: 4px;
}

.category-swiper .swiper-pagination {
  bottom: 0;
}

.category-swiper.is-static .swiper-button-prev,
.category-swiper.is-static .swiper-button-next,
.category-swiper.is-static .swiper-pagination {
  display: none;
}

.category-swiper .swiper-pagination-bullet {
  width: 7px;
  height: 7px;
  margin: 0 4px;
  background: #c8c1b8;
  opacity: .7;
}

.category-swiper .swiper-pagination-bullet-active {
  background: #8f887f;
  opacity: 1;
}

.doctor {
  width: 961px;
  margin: 10px auto 48px;
}

.doctor img {
  width: 908px;
  margin: 0 auto;
}

@media (max-width: 767px) {

  html,
  body {
    width: 100%;
    min-width: 0;
    max-width: 100vw;
    overflow-x: hidden;
  }

  body {
    background: #f2eee8;
  }

  .edm {
    width: 100vw;
    max-width: 100vw;
    min-width: 0;
    padding-top: 48px;
    overflow: hidden;
  }

  .site-header,
  .site-footer {
    width: 100%;
  }

  .site-header {
    height: auto;
    background: #2e3741;
    overflow: hidden;
  }

  .site-header img {
        display: block;
        width: 200vw;
        height: auto;
        margin-left: -50vw;
    
  }

  .main {
    width: 100%;
    padding: 2vw 0 0;
  }

  .category-nav {
    grid-template-columns: repeat(3, 1fr);
    gap: 0;
    width: 100%;
    min-width: 0;
    margin: 3vw auto;
  }

  .category-nav a {
    height: auto;
  }

  .category-nav img {
    display: block;
    width: 100%;
    height: auto;
  }

  .section {
    width: 100%;
    margin: 0 auto 6vw;
  }

  .hero,
  .quality,
  .youtube-section,
  .doctor {
    width: 100%;
  }

  .hero-slider {
    width: 100%;
    height: 37.5vw;
  }

  .hero-slider .swiper-slide {
    width: 79%;
  }

  .hero-slider .swiper-slide img {
    height: 37.5vw;
  }

  .quality {
    margin-bottom: 2vw;
  }

  .youtube-section {
    margin: 4vw auto;
  }

  .section.momo,
  .momo-card,
  .momo-panels {
    width: 100%;
  }

  .section.momo {
    min-height: 89.6vw;
  }

  .momo-panels {
    height: 89.6vw;
  }

  .momo-panel img {
    width: 100%;
    max-width: 100%;
  }

  .momo-hotspots {
    height: 31vw;
  }

  .section-banner {
    width: 100%;
    margin: 0 auto;
  }

  .section-banner img {
    width: 100%;
    height: auto;
  }

  .category-swiper {
    width: 100%;
    height: 56vw;
    margin: 1vw auto 0;
    padding: 0 0 4vw;
  }

  .category-swiper.is-static .swiper-wrapper {
    gap: 0;
  }

  .category-swiper.is-static .swiper-slide {
    width: 33.333% !important;
  }

  .category-swiper .swiper-slide {
    box-sizing: border-box;
    width: 33.333% !important;
    padding: 0;
  }

  .product-card,
  .product-card img {
    width: 100%;
    height: auto;
  }

  .category-swiper .swiper-button-prev,
  .category-swiper .swiper-button-next {
    top: 25vw;
    width: 4vw;
    height: 7vw;
    background-size: 4vw 7vw;
  }

  .category-swiper .swiper-button-prev {
    left: 0;
  }

  .category-swiper .swiper-button-next {
    right: 0;
  }

  .category-swiper .swiper-pagination-bullet {
    width: 1vw;
    height: 1vw;
    margin: 0 .6vw;
  }

  .footer-nav {
    display: flex;
    gap: 8px 0;
    margin-top: 0;
  }

  .footer-nav a {
    justify-content: center;
    width: 20%;
    height: auto;
    min-height: 0;
  }

  .footer-row-break {
    display: block;
  }

  .footer-row-break ~ a {
    width: 25%;
  }

  .site-footer {
    min-height: 0;
    padding: 14px 8px;
  }

  .footer-text-link {
    font-size: clamp(14px, 3.5vw, 22px);
  }

  .doctor {
    margin: 3vw auto 8vw;
  }

  .doctor img {
    width: 94.5%;
  }

  .floating-nav {
    right: 0;
    top: 0;
    bottom: auto;
    left: 0;
    flex-direction: row;
    align-items: center;
    width: 100%;
    padding: 0;
    overflow-x: auto;
    overflow-y: hidden;
    color: #111;
    font-size: clamp(14px, 3.8vw, 18px);
    line-height: 1;
    text-align: left;
    white-space: nowrap;
    background: #fff;
    border-radius: 0;
    box-shadow: 0 2px 10px rgba(0,0,0,.12);
    transform: none;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
  }

  .floating-nav::-webkit-scrollbar {
    display: none;
  }

  .floating-nav-link,
  .floating-nav-top {
    flex: 0 0 auto;
    height: 48px;
    padding: 0 16px;
    border: 0;
    line-height: 48px;
  }

  .floating-nav-link + .floating-nav-link,
  .floating-nav-top {
    border-top: 0;
  }

  .floating-nav-link.is-active {
    color: #e4007f;
  }

  .floating-nav-pin {
    width: 3.2vw;
    height: 3.2vw;
    margin-right: 1.5vw;
  }

  .floating-nav-pin::after {
    width: 1.3vw;
    height: 1.3vw;
    margin: .95vw 0 0 .95vw;
    background: #fff;
  }

  .floating-nav-top {
    display: block;
    color: #111;
  }

  .floating-nav-top span {
    display: none;
  }

  .floating-nav-top strong {
    font-size: 18px;
    line-height: inherit;
  }
.footer-nav img {
  width:16vw;
  height: auto;

}
  
.quality.is-visible img{width: 100vw;}
}
