﻿/* ---reset.css--- */
html, body, div, span, applet, object, iframe, h1, h2, h3, h4, h5, h6, p, blockquote, pre, a, abbr, acronym, address, big, cite, code, del, dfn, em, img, ins, kbd, q, s, samp, small, strike, strong, sub, sup, tt, var, b, u, i, center, dl, dt, dd, ol, ul, li, fieldset, form, label, legend, table, caption, tbody, tfoot, thead, tr, th, td, article, aside, canvas, details, embed, figure, figcaption, footer, header, hgroup, menu, nav, output, ruby, section, summary, time, mark, audio, video {
  margin: 0;
  padding: 0;
  border: 0;
  font-size: 100%;
  font: inherit;
  vertical-align: baseline;
}
/* HTML5 display-role reset for older browsers */
article, aside, details, figcaption, figure, footer, header, hgroup, menu, nav, section {
  display: block;
}
body {
  line-height: 1;
  margin: 0;
  font-family: "Microsoft JhengHei", Arial, Helvetica, sans-serif;
  line-height: 20px;
  letter-spacing: 0.5px;
}
ol, ul {
  list-style: none;
}
blockquote, q {
  quotes: none;
}
blockquote:before, blockquote:after, q:before, q:after {
  content: '';
  content: none;
}
table {
  border-collapse: 0;
  border-spacing: 0;
}
/* ---reset.css--- */
html {
  font-family: Helvetica, sans-serif;
  font-family: '微軟正黑體', Arial, "Gotham", "Helvetica Neue", Helvetica, Arial, "sans-serif";
  -webkit-text-size-adjust: none;
}
body {
  .multi_bg_example {
    background-image: url(https://mdn.mozillademos.org/files/11305/firefox.png), url(https://mdn.mozillademos.org/files/11307/bubbles.png), linear-gradient(to right, rgba(30, 75, 115, 1), rgba(255, 255, 255, 0));
    background-repeat: no-repeat, no-repeat, no-repeat;
    background-position: bottom right, left, right;
  }
}
html {
  font-size: 18px;
}
.rwdtxt {
  font-size: 1.5rem;
}
@media (min-width: 600px) and (max-width: 1200px) {
  .rwdtxt {
    font-size: calc(1.2rem + (1.3-1.2) * ((100vw - 600px) / (1200 - 600)));
    color: blue;
  }
}
@media (min-width: 1200px) {
  .rwdtxt {
    font-size: 2rem;
    color: red;
  }
}

img {
  max-width: 100%;
  display: block;
  outline: none;
  margin: 0 auto;
}

.rwd {
  max-width: 100%;
  /*min-height: 100%;*/
}

.rwd img {
  display: none;
  max-width: 100%;
  height: auto;
}

.rwd img:nth-child(1) {
  display: block;
}

.rwd img:nth-child(2) {
  display: none;
}

@media (max-width: 736px) {
  .rwd img:nth-child(1) {
    display: none;
  }

  .rwd img:nth-child(2) {
    display: block;
  }
}

/* --電腦版型------------------------------------- */
/*back top*/
#mini-header {
  background-color: #ffd200;
  max-width: 100%;
  margin: 0 auto;
}

/*模塊背景*/ /*漸層寫法參考 https://ithelp.ithome.com.tw/articles/10190867*/
#CONTENT-1-bg1 {
  /* background: #1b2ba3 url(../images/bg.png) 100% / 100% fixed; */
  background: rgb(33,42,129);
  background: linear-gradient(160deg, rgba(33,42,129,1) 0%, rgba(75,88,214,1) 100%) fixed;
}

/* logo+主視覺 */
.main-kv {
  position: relative;
}
.main-kv .container {
  position: relative;
}
.main-kv .logo {
  position: absolute;
  top: 4em;
  left: 50%;
  max-width: 740px;
  width: 100%;
  transform: translateX(-50%);
}


/* 說明 */
.info {
  padding: 0 1em;
}
.block1 .txt1 {
  color: #d1ddff;
  font-size: 1.4rem;
  line-height: 2.4rem;
  font-weight: 600;
}
.block1 .txt2 {
  color: #fff;
  font-size: .9rem;
  line-height: 1.4rem;
  text-align: justify;
}
.block1.container {
  background: #29438e;
  margin: 2em auto;
  text-align: left;
  padding: 1em;
}

/* 區塊 */
.eventBlock {
  align-items: center;
  justify-content: center;
  padding: 2em 0.2em;
}
.iconBlock {
  padding: .5em .5em 2em;
}
.iconBlock .c-w4 {
  padding: .2em;
  width: 24%;
}
.dp-flex {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
}

.dp-block {
  display: block;
}

.dp-md-block {
  display: none;
}

.c-w1 {
  width: 100%;
  padding: 2em 0.2em;
}
.c-w2 {
  width: 49%;
  padding: 0 0.2em;
}
.c-w3 {
  width: 33%;
  padding: 0 0.2em;
}
.c-w4 {
  width: 24%;
  padding: .5em;
}
.c-w5 {
  width: 20%;
}
.c-w6 {
  width: 15%;
  padding: 0 0.2em;
  position: relative;
}
.linkItem {
  transition: 0.3s;
  transition-timing-function: ease-out;
}
.linkItem:hover {
  transform: translateY(-10px);
}
.c-tt {
  width: 49%;
  padding: 0 0.2em;
}
.c-more {
  width: 20%;
}
.w-100 {
  width: 100%;
}
.m-auto {
  margin: auto;
}
.block1 .event {
  width: 70%;
}
.block1 .info {
  width: 30%;
}

.comingsoon {
  margin: 1em auto;
  max-width: 90%;
}

#menu ul li a.i-link {
  background: rgb(21 150 52 / 0.6);
}
#menu ul li:not(.menu-title) a.i-link:hover,
#menu ul li a.i-link:hover {
  background: rgb(186 236 198);
  color: #000000;
}

/* 推薦商品 */
.recom {
  background: linear-gradient(135deg, rgba(255,255,255,1) 97.6%, rgba(255,255,255,0) 97.7%);
  align-items: center;
  justify-content: center;
  padding: 2em 0;
  position: relative;
  margin-bottom: 3em;
}
.recom.dp-flex:after {
  content: '';
  background: url(../images/block3-bg.png) 100% 100% no-repeat;
  position: absolute;
  right: 0;
  bottom: 0;
  display: block;
  width: 46px;
  height: 46px;
}

/* 區塊標題 */
.blockTt {
    font-size: 2rem;
    font-weight: bold;
    line-height: 2.5rem;
    color: #606060;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0.5em 0 0em;
    margin-bottom: 0.5em;
    position: relative;
}
.blockTt a {
    position: absolute;
    right: 2%;
    transform: translateX(-100%);
}

/* 輪播商品 */
.CONTENT-6 {
  clear: both;
  /* width: 1000px; */
  width: 100%;
  margin: 0 auto;
  overflow: hidden;
  padding: 10px;
  /* background-color: rgb(74,49,11); */
  border-radius: 10px;
  margin-top: 0px;
  margin-bottom: 30px;
  padding-top: 30px;
  padding-bottom: 20px;
}
.CONTENT-6.swiper-product {
  /* max-width: 1000px; */
  padding: 20px 0 40px 0;
}
.CONTENT-6 .product,
.swiper-pro {
  /* background-color: white; */
  /* border-color: #ddd; */
  padding: 5px;
  background-color: black;
  border-color: #000;
  border-width: 1px;
  border-style: solid;
  border-radius: 10px;
  transition: .3s;
}
.photo:not(.coupon-photo) {
  /* position: relative; */
  padding-bottom: 100%;
  /* float: none;
  width: auto; */
}
.CONTENT-6 .product .photo img,
.swiper-pro .photo img {
  border-radius: 10px 10px 0 0;
}
.CONTENT-6 .BOX p, .CONTENT-6 .product p,
.swiper-pro p {
  margin: 5px;
  font-size: 18px;
  line-height: 22px;
  color: #000000;
  text-align: left;
  height: 44px;
  overflow: hidden;
}
.CONTENT-6 .product .price,
.swiper-pro .price {
  float: none;
}
.CONTENT-6 .price {
  float: left;
  margin: 0 auto;
  height: 40px;
  border-color: #666;
  margin: 0 auto;
  text-align: center;
  border-top-style: dashed;
  border-width: 1px;
  width: 100%;
}
.CONTENT-6 .font-og {
  float: left;
  font-size: 14px;
  color: #777;
  line-height: 40px;
  text-decoration: line-through;
  /* padding-left: 5px; */
}
.CONTENT-6 .font-s {
  float: left;
  font-size: 14px;
  color: #df0037;
  font-weight: bold;
  line-height: 40px;
  padding-left: 5px;
}
.CONTENT-6 .font-sp {
  float: left;
  /* font-size: 30px; */
  font-size: 22px;
  color: #df0037;
  font-weight: bold;
  line-height: 40px;
  font-family: Gotham, "Helvetica Neue", Helvetica, Arial, "sans-serif";
}
.CONTENT-6 .buy {
  float: right;
  width: 25px;
  line-height: 30px;
  background-color: #df0037;
  font-size: 20px;
  font-weight: bold;
  color: white;
  text-align: center;
  text-decoration: none;
  border-radius: 50px;
  margin-top: 8px;
}
.CONTENT-6 .buy a {
  float: right;
  width: 25px;
  line-height: 30px;
  background-color: #df0037;
  font-size: 20px;
  font-weight: bold;
  color: white;
  text-align: center;
  text-decoration: none;
  border-radius: 50px;
}



#DOWN {
  clear: both;
  width: 100%;
  margin: 0 auto;
  background-color: #03080e;
  padding: 5px 0px;
}
#DOWN p {
  font-size: 12px;
  text-align: center;
  line-height: 1.8;
  color: #fff;
}

ul, li {
  margin: 0;
  padding: 0;
  list-style: none;
  display: inline-block;
  margin: 0 auto;
}
/* 選單 */
#floater ul, #floater ul {
  font-size: 0;
}
#floater li {
  float: none;
}
#floater li {
  cursor: pointer;
}
#floater li {
  cursor: pointer;
}
#floater {
  width: 100%;
  height: 50px;
  background-color: #af2200;
  z-index: 999;
}
#floater .content {
  width: 100%;
  background-color: #af2200;
  margin: 0 auto;
  text-align: center;
  z-index: 10;
}
#floater .content right {
  float: right;
}

span.fontB {
  font-weight: 900;
}
#modalContent .spc1 {
  color: #ff613d;
  font-weight: 900;
}
#modalContent .spc2 {
  color: #3d92ff;
  font-weight: 900;
}
#modalContent .spc3 {
  color: #0091b5;
  font-weight: 900;
}
.modal-content a, .modal-content a:link, .modal-content a:visited {
  color: unset;
}
.modal-content th {
  background-color: #0091b5;
}




/* --手機版型------------------------------------- */
@media screen and (max-width: 736px) {
  /*主視覺+輪播*/
  * {
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
  }
  html, body {
    -webkit-text-size-adjust: none;
  }

  /* logo */
  .main-kv .logo {
		max-width: 230px;
		width: 100%;
    top: 3.5em;
	}
  /* 手機主視覺 */
  /* .main-tt img {
      width: 94vw;
  } */
  /* 手機區塊標題 */
  .blockTt {
      width: 90%;
      margin: 0 auto 0.2em;
  }
  /* 手機說明 */
  .info {
    text-align: justify;
  }
  .block1 .txt1 {
    font-size: 1.2rem;
    line-height: 2rem;
  }
  .block1 .txt2 {
    font-size: .8rem;
    line-height: 1.2rem;
  }
  .block1.container {
    margin: 0 auto 2em;
    padding: 1em 1em 0;
  }

  /* 手機區塊 */
  .dp-block {
    display: none;
  }

  .dp-md-block {
    display: block;
  }

  .c-w2 {
    width: 50%;
  }
  .c-w3 {
    width: 46%;
  }
  .c-w4 {
    width: 46%;
    padding: 0.2em;
  }
  .c-tt {
    width: 75%;
    padding: 0 0.2em;
  }
  .c-more {
    width: 20%;
  }
  
  .block1 .event {
    width: 100%;
  }
  .block1 .info {
    width: 100%;
    padding: 0 1em 1em;
  }
  /* 推薦商品 */
  .eventBlock {
    padding: 0 0.5em 2em;
  }
  .recom {
    background: linear-gradient(135deg, rgba(255,255,255,1) 95.2%, rgba(255,255,255,0) 95.2%);
    padding: 1em 0;
    position: relative;
  }
  .recom.dp-flex:after {
    content: '';
    background: url(../images/block3-bg.png) 100% 100% no-repeat;
    position: absolute;
    right: 0;
    bottom: 0;
    display: block;
    width: 46px;
    height: 46px;
  }
  /* 手機輪播商品 */
  .CONTENT-6 {
    clear: both;
    width: 98%;
    margin: 0 auto;
    overflow: hidden;
    padding: 3px;
    margin-bottom: 10px;
    padding: 10px 0 15px 0;
  }
  .CONTENT-6 .product,
  .swiper-pro  {
    padding: 3px;
  }
  .CONTENT-6 .BOX p, .CONTENT-6 .product p,
  .swiper-pro p {
    margin: 5px;
    font-size: 11px;
    line-height: 15px;
    color: #000000;
    text-align: left;
    height: 30px;
  }
  .CONTENT-6 .price {
    width: 100%;
    float: left;
    margin: 0 auto;
    height: 30px;
    padding-right: 1px;
    padding-left: 1px;
  }
  .CONTENT-6 .font-og {
    float: left;
    font-size: 12px;
    color: #777;
    line-height: 30px;
    text-decoration: line-through;
    padding: 0px;
  }
  .CONTENT-6 .font-s {
    float: left;
    font-size: 12px;
    color: #df0037;
    font-weight: bold;
    line-height: 30px;
    letter-spacing: -1px;
    padding: 0px;
  }
  .CONTENT-6 .font-sp {
    float: left;
    font-size: 22px;
    color: #df0037;
    font-weight: bold;
    line-height: 30px;
    font-family: Gotham, "Helvetica Neue", Helvetica, Arial, "sans-serif";
    padding: 0px;
  }
  .CONTENT-6 .buy {
    float: right;
    width: 25px;
    line-height: 20px;
    background-color: #df0037;
    font-size: 15px;
    font-weight: bold;
    color: white;
    text-align: center;
    text-decoration: none;
    border-radius: 50px;
    padding: 0px;
    margin-top: 4px;
  }
  .CONTENT-6 .buy a {
    float: right;
    width: 25px;
    line-height: 20px;
    background-color: #df0037;
    font-size: 15px;
    font-weight: bold;
    color: white;
    text-align: center;
    text-decoration: none;
    border-radius: 50px;
    padding: 0px;
  }
  
  /* 選單 */
  #menu-float {
    width: 100%;
    height: 50px;
    margin: auto;
    position: fixed;
    top: 0px;
    z-index: 999;
  }
  ul, li {
    margin: 0;
    padding: 0;
    list-style: none;
    display: inline-block;
    margin: 0 auto;
  }
  #floater ul, #floater ul {
    font-size: 0;
  }
  #floater li {
    float: none;
  }
  #floater li {
    cursor: pointer;
  }
  #floater {
    width: 100%;
    height: 50px;
    background-color: #af2200;
    z-index: 999;
  }
  #floater .content {
    width: 100%;
    background-color: #af2200;
    margin: 0 auto;
    text-align: center;
    z-index: 10;
  }
  #floater .content right {
    float: right;
  }
  #floater img {
    width: 100%
  }
  .backHome {
    color: #f4c343;
    font-size: 20px;
  }
  #menu-left ul li a span.mb {
    letter-spacing: -0.5px;
  }
  
  #DOWN {
    clear: both;
    width: 100%;
    margin: 10px auto;
    background-color: #03080e;
    padding: 0px 0px;
  }
  #DOWN p {
    font-size: 12px;
    text-align: center;
    line-height: 1.8;
    color: #fff;
  }
  
  .video-container iframe, .video-container object, .video-container embed {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
  }