@charset "UTF-8";
body {
  font-size: 18px;
  font-family: "微軟正黑體", "Microsoft JhengHei", Arial;
  color: #555;
}

.container {
  width: 1440px;
  margin: 0px auto;
}

.img-fluid {
  max-width: 100%;
  height: auto;
}

header {
  background-color: #ebe487;
  background-image: url(../image/header-star.png);
  background-repeat: no-repeat;
  background-size: contain;
  background-position: center 0;
  height: auto;
  width: 100%;
  position: relative;
}

header .header_bg {
  min-height: 960px;
  width: 100%;
  position: absolute;
  top: 0px;
  background-image: url(../image/header-curtain.png);
  background-repeat: no-repeat;
  background-position: center 0;
  background-size: 100%;
}

@media (max-width: 768px) {
  header .header_bg {
    background-size: 200%;
  }
}

header .header_title {
  height: 660px;
}

header .header_title .right {
  position: relative;
  top: 50%;
  -webkit-transform: translate(0%, -50%);
          transform: translate(0%, -50%);
  width: 40vw;
}

header .header_title .left {
  top: 50%;
  -webkit-transform: translate(70%, -120%);
          transform: translate(70%, -120%);
  width: 40vw;
}

.heder_bottom {
  position: absolute;
  bottom: 0;
  width: 100%;
}

.heder_bottom .block {
  width: 100%;
  height: 16rem;
  /* Permalink - use to edit and share this gradient: https://colorzilla.com/gradient-editor/#e8d194+1,eab92d+46,c79810+47,eab92d+100 */
  background: #e8d194;
  /* Old browsers */
  /* FF3.6-15 */
  /* Chrome10-25,Safari5.1-6 */
  background: -webkit-gradient(linear, left top, left bottom, color-stop(1%, #e8d194), color-stop(46%, #eab92d), color-stop(47%, #c79810), to(#eab92d));
  background: linear-gradient(to bottom, #e8d194 1%, #eab92d 46%, #c79810 47%, #eab92d 100%);
  /* W3C, IE10+, FF16+, Chrome26+, Opera12+, Safari7+ */
  filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#e8d194', endColorstr='#eab92d', GradientType=0);
  /* IE6-9 */
}

.heder_bottom .block > img {
  margin-top: -18rem;
}

.heder_product_group {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: justify;
      -ms-flex-pack: justify;
          justify-content: space-between;
  padding-bottom: 2rem;
  -webkit-box-align: end;
      -ms-flex-align: end;
          align-items: flex-end;
}

.heder_product_group a {
  display: block;
  width: 28%;
  text-decoration: none;
}

.heder_product_group a .heder_product_item {
  width: 100%;
  text-align: center;
  -webkit-box-sizing: border-box;
          box-sizing: border-box;
  padding: 0 15px;
  position: relative;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
      -ms-flex-direction: column;
          flex-direction: column;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
}

.heder_product_group a .heder_product_item .heder_product_pic {
  position: relative;
  -webkit-animation-name: flow;
          animation-name: flow;
  -webkit-animation-duration: .6s;
          animation-duration: .6s;
  -webkit-animation-iteration-count: infinite;
          animation-iteration-count: infinite;
  -webkit-animation-direction: alternate;
          animation-direction: alternate;
  -webkit-transform-origin: top center;
          transform-origin: top center;
  height: 560px;
}

@-webkit-keyframes flow {
  0% {
    bottom: 0px;
  }
  100% {
    bottom: 20px;
  }
}

@keyframes flow {
  0% {
    bottom: 0px;
  }
  100% {
    bottom: 20px;
  }
}

.heder_product_group a .heder_product_item .heder_product_title {
  position: absolute;
  bottom: 66px;
  width: 70%;
}

.heder_product_group a .heder_product_item .heder_product_name {
  margin: 12px 0;
  text-align: center;
  font-weight: bold;
  font-size: 28px;
  color: #802e0d;
  text-shadow: 1px 1px 3px #e8d194;
}

.heder_product_group a .heder_product_item:hover .heder_product_name {
  color: #ffffff;
}

main {
  background: url(../image/bg-star.png) center, url(../image/bg-pat.png), -webkit-gradient(linear, left top, left bottom, from(#f6e6b4), color-stop(68%, #9e5622));
  background: url(../image/bg-star.png) center, url(../image/bg-pat.png), linear-gradient(to bottom, #f6e6b4 0%, #9e5622 68%);
  padding: 5rem 0;
}

.main_product_block {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
  -ms-flex-direction: column;
  flex-direction: column;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  margin-bottom: 5rem;
  position: relative;
}

.main_product_block .title {
  background-image: url(../image/gold-bar.png);
  text-shadow: 1px 1px 3px #ffffff;
  font-size: 3.2em;
  width: 100%;
  line-height: 1.6;
  text-align: center;
  background-size: auto 100%;
  background-repeat: no-repeat;
  background-position: center;
  color: #fff;
  z-index: 2;
  font-weight: 700;
  position: absolute;
  top: -2.3rem;
  color: #4b281c;
  letter-spacing: 10px;
}

.item_group {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  background-color: #582826;
  border: 8px solid #b9a976;
  border-radius: 15px;
  padding: 4rem 15px 26px;
  -ms-flex-wrap: wrap;
      flex-wrap: wrap;
}

.item_group a {
  width: 25%;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  text-decoration: none;
  -webkit-transition: .6s;
  transition: .6s;
}

.item_group a:hover {
  -webkit-transform: translate(0, -10px);
          transform: translate(0, -10px);
}

.item_group a .item {
  border-radius: 5px;
  margin: 0 15px;
  background-color: #ffffff;
  overflow: hidden;
  -webkit-box-shadow: 3px 2px 7px #251f1f;
          box-shadow: 3px 2px 7px #251f1f;
}

.script {
  position: relative;
  text-align: center;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
      -ms-flex-direction: column;
          flex-direction: column;
  color: #000;
}

.script .name {
  position: absolute;
  background-color: #cccccc;
  color: #000000;
  z-index: 5;
  display: block;
  padding: 5px;
  border-radius: 5px;
  top: -17px;
  left: 50%;
  -webkit-transform: translate(-50%, 0%);
          transform: translate(-50%, 0%);
  width: 15vw;
  font-size: 20px;
}

.script .brand {
  color: #000000;
  margin: 28px 4px 8px;
  font-weight: bold;
}

.script .price {
  margin: 8px 0;
}

.script .price > del {
  font-size: 14px;
  margin-right: 4px;
}

.script .price > em {
  font-weight: 700;
  font-size: 24px;
  color: #f83465;
}

.main_category {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: justify;
      -ms-flex-pack: justify;
          justify-content: space-between;
}

.main_category .btn {
  display: block;
  width: 18%;
  height: 66px;
  text-align: center;
  background: #4e321c;
  background: -webkit-gradient(linear, left top, left bottom, color-stop(20%, #4e321c), color-stop(50%, #6e3f25), color-stop(80%, #4e321c));
  background: linear-gradient(to bottom, #4e321c 20%, #6e3f25 50%, #4e321c 80%);
  color: #ffffff;
  border: 3px solid #ffffff;
  border-radius: 10px;
  padding: 1.2rem 0;
  text-decoration: none;
  font-size: 22px;
  font-weight: bold;
  -webkit-transition: .6s;
  transition: .6s;
  -webkit-box-sizing: border-box;
          box-sizing: border-box;
}

.main_category .btn::after {
  content: " ";
  border-top: 15px solid transparent;
  border-top: 12px solid transparent;
  border-bottom: 12px solid transparent;
  border-left: 18px solid white;
  display: inline-block;
  vertical-align: text-bottom;
  margin-left: 16px;
}

.main_category .btn:hover {
  background: -webkit-gradient(linear, left top, left bottom, color-stop(20%, #be274d), color-stop(50%, #7c102b), color-stop(80%, #be274d));
  background: linear-gradient(to bottom, #be274d 20%, #7c102b 50%, #be274d 80%);
  -webkit-transform: translate(0, -10px);
          transform: translate(0, -10px);
}

.footer {
  text-align: center;
  background-color: #927218;
  color: #ffffff;
  font-weight: bold;
  padding: 16px 0;
}

@media (max-width: 1200px) {
  .container {
    width: 100vw;
    padding: 0 15px;
    -webkit-box-sizing: border-box;
            box-sizing: border-box;
  }
  header .header_title {
    height: 50vh;
    min-height: 290px;
    max-height: 368px;
    position: relative;
  }
  header .header_title .left {
    -webkit-transform: translate(100%, 7%);
            transform: translate(100%, 7%);
    width: 40vw;
    position: absolute;
    bottom: 15px;
  }
  header .header_title .right {
    -webkit-transform: translate(16%, -38%);
            transform: translate(16%, -38%);
    width: 40vw;
    right: 0;
  }
  .heder_product_group a .heder_product_item .heder_product_pic {
    height: 460px;
  }
  .heder_product_group a .heder_product_item .heder_product_name {
    font-size: 24px;
  }
  .script .name {
    width: 16vw;
    font-size: 14px;
  }
  .main_product_block .title {
    font-size: 2.8rem;
  }
  .main_category .btn {
    font-size: 18px;
  }
}

@media (max-width: 767px) {
  .container {
    width: 100vw;
    -webkit-box-sizing: border-box;
            box-sizing: border-box;
    padding: 0 10px;
  }
  header .header_title {
    height: 50vh;
    min-height: 290px;
    max-height: 368px;
    position: relative;
  }
  header .header_title .left {
    -webkit-transform: translate(15%, 7%);
            transform: translate(15%, 7%);
    width: 76vw;
    position: absolute;
    bottom: 15px;
  }
  header .header_title .right {
    -webkit-transform: translate(38%, -60%);
            transform: translate(38%, -60%);
    width: 65vw;
    right: 0;
  }
  .heder_bottom .block {
    height: 5rem;
  }
  .heder_bottom .block > img {
    display: none;
  }
  .header_product {
    display: none;
  }
  main {
    padding: 2rem 0;
  }
  .main_product_block {
    margin-bottom: 2rem;
  }
  .main_product_block .title {
    background-size: 95% auto;
    line-height: 2.6;
    font-size: 1.6em;
  }
  .item_group {
    border: 3px solid #ba8839;
    padding: 1.6rem 5px 5px;
  }
  .item_group a {
    width: 50%;
  }
  .item_group a .item {
    margin: 5px;
  }
  .script .name {
    width: 36vw;
    font-size: 14px;
  }
  .script .brand {
    margin: 16px 4px 8px;
  }
  .script .price {
    margin: 8px 0;
  }
  .script .price > del {
    font-size: 14px;
    margin-right: 4px;
  }
  .script .price > em {
    font-weight: 700;
    font-size: 24px;
    color: #f83465;
  }
  .main_category {
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
        -ms-flex-direction: column;
            flex-direction: column;
  }
  .main_category .btn {
    width: 99%;
    margin-bottom: 5px;
  }
  .footer {
    font-size: 12px;
    padding-bottom: 15vh;
  }
  .icon-cards { 
    display: block !important;
    position: relative;
    width: 60vw;
    height: 82vw;
    max-width: 380px;
    max-height: 380px;
    margin: 0 auto;
    -webkit-perspective: 1000px;
            perspective: 1000px;
    -webkit-transform-origin: center;
            transform-origin: center;
    padding-bottom: 18px;
    font-weight: bold;
  }
  .icon-cards__content {
    position: absolute;
    width: 100%;
    height: 100%;
    -webkit-transform-origin: center;
            transform-origin: center;
    -webkit-transform-style: preserve-3d;
            transform-style: preserve-3d;
    -webkit-transform: translateZ(-30vw) rotateY(0);
            transform: translateZ(-30vw) rotateY(0);
    -webkit-animation: carousel 10s infinite cubic-bezier(0.77, 0, 0.175, 1) forwards;
            animation: carousel 10s infinite cubic-bezier(0.77, 0, 0.175, 1) forwards;
  }
  .icon-cards__content.step-animation {
    -webkit-animation: carousel 8s infinite steps(1) forwards;
            animation: carousel 8s infinite steps(1) forwards;
  }
  .icon-cards__item {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    width: 60vw;
    height: 82vw;
    max-width: 380px;
    max-height: 380px;
    border-radius: 6px;
    -webkit-transform-origin: center;
            transform-origin: center;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
        -ms-flex-align: center;
            align-items: center;
    -webkit-box-pack: justify;
        -ms-flex-pack: justify;
            justify-content: space-between;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
        -ms-flex-direction: column;
            flex-direction: column;
    text-decoration: none;
    color: #802e0d;
    text-shadow: 1px 1px 3px #e8d194;
  }
  .icon-cards__item:nth-child(1) {
    -webkit-transform: rotateY(0) translateZ(45vw);
            transform: rotateY(0) translateZ(45vw);
  }
  .icon-cards__item:nth-child(2) {
    -webkit-transform: rotateY(120deg) translateZ(45vw);
            transform: rotateY(120deg) translateZ(45vw);
  }
  .icon-cards__item:nth-child(3) {
    -webkit-transform: rotateY(240deg) translateZ(45vw);
            transform: rotateY(240deg) translateZ(45vw);
  }
  .icon-cards__pic {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
        -ms-flex-direction: column;
            flex-direction: column;
    -webkit-box-align: center;
        -ms-flex-align: center;
            align-items: center;
    -webkit-box-sizing: border-box;
            box-sizing: border-box;
  }
  @-webkit-keyframes carousel {
    0%,
    17.5% {
      -webkit-transform: translateZ(-35vw) rotateY(0);
              transform: translateZ(-35vw) rotateY(0);
    }
    27.5%,
    45% {
      -webkit-transform: translateZ(-35vw) rotateY(-120deg);
              transform: translateZ(-35vw) rotateY(-120deg);
    }
    55%,
    72.5% {
      -webkit-transform: translateZ(-35vw) rotateY(-240deg);
              transform: translateZ(-35vw) rotateY(-240deg);
    }
    82.5%,
    100% {
      -webkit-transform: translateZ(-35vw) rotateY(-360deg);
              transform: translateZ(-35vw) rotateY(-360deg);
    }
  }
  @keyframes carousel {
    0%,
    17.5% {
      -webkit-transform: translateZ(-35vw) rotateY(0);
              transform: translateZ(-35vw) rotateY(0);
    }
    27.5%,
    45% {
      -webkit-transform: translateZ(-35vw) rotateY(-120deg);
              transform: translateZ(-35vw) rotateY(-120deg);
    }
    55%,
    72.5% {
      -webkit-transform: translateZ(-35vw) rotateY(-240deg);
              transform: translateZ(-35vw) rotateY(-240deg);
    }
    82.5%,
    100% {
      -webkit-transform: translateZ(-35vw) rotateY(-360deg);
              transform: translateZ(-35vw) rotateY(-360deg);
    }
  }
}
/*# sourceMappingURL=all.css.map */