@charset "UTF-8";
/*容器基本框架*/
.wrapper {
  background-size: 150%;
  overflow: hidden;
}

/* ================= 版頭 ================= */
.header .container {
  width: 100%;
  height: 0;
  padding-bottom: 47.73438%;
}

.header .logo {
  width: 12.42188%;
  height: 0;
  padding-bottom: 8.4375%;
  top: 8.18331%;
  left: 15.625%;
}

.header .logo a {
  width: 100%;
  height: 0;
  padding-bottom: 70.3125%;
  background-size: 100%;
}

.header .slogan01 {
  width: 70.23438%;
  height: 0;
  padding-bottom: 17.34375%;
  top: 63.82979%;
  left: 16.48438%;
  background-size: 100%;
}

.header .slogan02 {
  width: 62.34375%;
  height: 0;
  padding-bottom: 28.20312%;
  top: 26.18658%;
  left: 19.53125%;
  background-size: 100%;
}

/* ================= 頁面選單 ================= */
.nav {
  width: 95%;
  margin: 0 auto;
}

.nav .container {
  width: 100%;
}

.nav .container ul.navBtn {
  width: 100%;
}

.nav .container ul.navBtn li {
  width: 31%;
  height: 0;
  padding-bottom: 8.84211%;
  margin: 3px;
}

.nav .container ul.navBtn li.navBtn1 a {
  background-position-x: 0% !important;
}

.nav .container ul.navBtn li.navBtn2 a {
  background-position-x: -100% !important;
}

.nav .container ul.navBtn li.navBtn3 a {
  background-position-x: -200% !important;
}

.nav .container ul.navBtn li.navBtn4 a {
  background-position-x: -300% !important;
}

.nav .container ul.navBtn li.navBtn5 a {
  background-position-x: -400% !important;
}

.nav .container ul.navBtn li.navBtn6 a {
  background-position-x: -500% !important;
}

/* ================= 內容 ================= */
.content .container {
  width: 98%;
  padding: 20px;
}

.content .container > ol, .content .container ul {
  margin: 0 0.8em 0.8em 2em;
}

/* ================= 超商連結 ================= */
.shopbox {
  width: 90%;
  height: 0;
  padding-bottom: 18%;
  overflow: hidden;
}

.shopbox > li {
  width: 33%;
  height: 0;
  padding-bottom: 20%;
  margin: 0;
}

.shopBtn01, .shopBtn02, .shopBtn03, .shopBtn04 {
  height: 0;
  padding-bottom: 58%;
  background-size: 76%;
}

@media screen and (max-width: 736px) {
  .content {
    padding-bottom: 5%;
  }
  .content .container {
    font-size: 1em;
    line-height: 1.5em;
  }
  .content .container > h3 img {
    width: 100%;
  }
  .content .container > h5 {
    padding: 5px 50px;
  }
  .content .container .ImgStyleA {
    width: 23%;
  }
  .content .container .ImgStyleC {
    width: 30%;
  }
  .content .container .ImgStyleD {
    width: 55%;
  }
  .content .container > ol, .content .container ul {
    margin: 0 0.8em 0.8em 1.5em;
  }
  .table th {
    font-size: 0.875em;
  }
  .table_imgsizeB img {
    width: 58%;
  }
  .content__btn div {
    font-size: 0.9em;
  }
  .content__btn div a {
    line-height: 22px;
    border-radius: 12px;
  }
  .item__box .item__box-title {
    font-size: 0.9em;
  }
  .formula_prize .formula_get {
    font-size: 0.9em;
  }
  .col {
    margin: 3px;
  }
}

/*泡泡對話窗 */
.comment {
  width: 6em;
  height: 6em;
  position: absolute;
  top: -1em;
  left: calc(50% + 35px);
}

@media only screen and (max-width: 500px) {
  .comment {
    left: calc(50% + 24px);
    width: 4.5em;
    height: 4.5em;
  }
}

.comment:before {
  content: '\f075';
  font-family: "FontAwesome";
  font-size: 9em;
  display: inline-block;
  color: #d31818;
  position: absolute;
  top: 0;
  left: 0;
}

@media only screen and (max-width: 500px) {
  .comment:before {
    font-size: 4.5em;
  }
}

.comment:after {
  content: attr(data-comment);
  white-space: pre;
  position: absolute;
  display: inline-block;
  width: 100%;
  height: 100%;
  top: -.6em;
  left: -30%;
  -webkit-transform: translateX(50%);
          transform: translateX(50%);
  color: #fff;
  font-size: 0.95em;
  line-height: 1.2em;
  letter-spacing: 0.1em;
  text-align: center;
}

@media only screen and (max-width: 500px) {
  .comment:after {
    font-size: .85em;
    line-height: 1.125em;
    letter-spacing: 0;
  }
}

.comment-purple:before {
  color: #d858ff;
}

@media screen and (max-width: 667px) {
  .content {
    padding-bottom: 5%;
  }
  .content .container {
    font-size: 0.875em;
    line-height: 1.5em;
  }
  .content .container > h3 img {
    width: 100%;
  }
  .content .container > h5 {
    padding: 5px 50px;
  }
  .content .container .ImgStyleA {
    width: 23%;
  }
  .content .container .ImgStyleC {
    width: 30%;
  }
  .content .container .ImgStyleD {
    width: 55%;
  }
  .content .container > ol, .content .container ul {
    margin: 0.8em 0.8em 0.8em 1.5em;
  }
  .table th {
    font-size: 0.9em;
  }
  .table_imgsizeB img {
    width: 58%;
  }
  .content__btn div {
    font-size: 0.9em;
  }
  .content__btn div a {
    line-height: 22px;
    border-radius: 12px;
  }
  .item__box .item__box-title {
    font-size: 0.9em;
  }
  .formula_prize .formula_get {
    font-size: 0.9em;
  }
  .col {
    margin: 3px;
  }
}

@media screen and (max-width: 414px) {
  .content .container {
    font-size: 0.875em;
  }
  .content .container > h5 {
    padding: 5px 33px;
  }
  .content .container .ImgStyleA {
    width: 20%;
  }
  .content .container .formula_prize .formula_get {
    font-size: 70%;
  }
  .content .container > ol, .content .container ul {
    margin: 0 0.6em 0.8em 1.5em;
  }
  .content .container .table th {
    font-size: 0.875em;
  }
  .content__btn div {
    width: 45%;
    font-size: 0.75em;
  }
  .content__btn div a {
    line-height: 21px;
  }
}
