@charset "UTF-8";
/*容器基本框架*/
.wrapper {
  background-size: 150%;
  overflow: hidden;
}

/* ================= 版頭 ================= */
.header {
  /*.role{
        width: percentage(511 / $baseWidth);
        height: 0;
        padding-bottom: percentage(979 / $baseWidth);
        top:percentage(0 / $baseHeight);
        left: percentage(736 / $baseWidth);
        background-size: 100%;
    }*/
}

.header > .container {
  width: 100%;
  height: 0;
  min-height: 0;
  padding-bottom: 47.1875%;
}

.header .logo {
  width: 18.28125%;
  height: 0;
  padding-bottom: 7.10938%;
  top: 81.12583%;
  left: 31.25%;
}

.header .logo a {
  width: 100%;
  height: 0;
  padding-bottom: 38.88889%;
  background-size: 100%;
}

.header .slogan {
  width: 50%;
  height: 0;
  padding-bottom: 30.85938%;
  top: 12.91391%;
  left: 8.67188%;
  background-size: 100%;
}

/* ================= 頁面選單 ================= */
.nav {
  width: 100%;
  padding-bottom: 0;
}

.nav .container {
  width: 100%;
  margin: 0;
}

.nav .container .navBtn {
  width: 67.8125%;
  margin-left: 7.8125%;
}

@media only screen and (max-width: 500px) {
  .nav .container .navBtn {
    width: 90%;
    margin-left: 0;
    margin: 0 auto;
  }
}

.nav .container .navBtn ul {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
  -ms-flex-wrap: wrap;
      flex-wrap: wrap;
}

.nav .container .navBtn ul li {
  width: 25%;
  height: 0;
  padding-bottom: 12.32719%;
}

.nav .container .navBtn ul li.navBtn1 a {
  background-position-x: 0% !important;
}

.nav .container .navBtn ul li.navBtn2 a {
  background-position-x: -100% !important;
}

.nav .container .navBtn ul li.navBtn3 a {
  background-position-x: -200% !important;
}

.nav .container .navBtn ul li.navBtn4 a {
  background-position-x: -300% !important;
}

.nav .container .navBtn ul li a {
  width: 96.31336%;
  height: 0;
  margin: 0 auto;
  padding-bottom: 49.30876%;
  background-size: 400% 100%;
}

/* ================= 頁面選單2 ================= */
.navB {
  width: 100%;
  padding-bottom: 0;
}

.navB .container {
  width: 100%;
  margin: 0;
}

.navB .container .navBtn {
  width: 71.5625%;
  margin-left: 7.8125%;
}

@media only screen and (max-width: 500px) {
  .navB .container .navBtn {
    width: 90%;
    margin-left: 0;
    margin: 0 auto;
  }
}

.navB .container .navBtn ul {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
  -ms-flex-wrap: wrap;
      flex-wrap: wrap;
}

.navB .container .navBtn ul li {
  width: 25%;
  height: 0;
  padding-bottom: 17.46725%;
}

.navB .container .navBtn ul li.navBtn1 a {
  background-position-x: 0% !important;
}

.navB .container .navBtn ul li.navBtn2 a {
  background-position-x: -100% !important;
}

.navB .container .navBtn ul li.navBtn3 a {
  background-position-x: -200% !important;
}

.navB .container .navBtn ul li.navBtn4 a {
  background-position-x: -300% !important;
}

.navB .container .navBtn ul li a {
  width: 100%;
  height: 0;
  margin: 0 auto;
  padding-bottom: 69.869%;
  background-size: 400% 100%;
}

/* ================= 內容 ================= */
.content .container {
  width: 98%;
  padding: 20px 0;
}

.content .container .btnM {
  max-width: 184px;
  max-height: 184px;
  width: 23%;
  height: 0;
  padding-bottom: 23%;
  background-size: 100%;
  top: 25px;
  left: calc(7% + 70%);
}

.content .container .btnM a {
  width: 100%;
  height: 0;
  padding-bottom: 100%;
  background-size: 100%;
}

.content .container > h3 img {
  width: 70%;
  margin-left: 5%;
}

.slider-wra {
  width: 98%;
  background: #feccd5;
}

.slider-wra .slider {
  width: 100%;
  height: 0;
  padding-bottom: 65.85365%;
}

.slider-wra .slider ul.slider__list {
  width: 600%;
}

.slider-wra .slider ul.slider__list li {
  width: 16.66667%;
  height: 100%;
  font-size: 1em;
}

.slider-wra .slider ul.slider__list li img {
  width: 100%;
  height: 100%;
}

.slider-wra .slider__btn ul li a {
  color: #fde0e6;
  background: #797ac5;
  border: 3px solid #f493b5;
  border-radius: 25px;
  padding: 8px 10px;
  font-size: 1rem;
}

.slider-wra .slider__btn ul li a:hover {
  color: #fde0e6;
  background: #d76198;
  border: 3px solid #797ac5;
}

@media only screen and (orientation: portrait) and (max-width: 960px) {
  .content {
    position: relative;
  }
  .content .container {
    width: 98%;
    padding: 20px 0;
    font-size: 0.78em;
  }
  .content .container > h3 {
    top: -5px;
  }
  .content .container > h3 > img {
    max-width: 100%;
  }
  .content .container .table th,
  .content .container .table td {
    font-size: 0.9em;
    color: #000;
  }
  .content .container > h4 {
    width: 40%;
    position: relative;
    background-color: #000;
    display: block;
    color: #da70ff;
    border-radius: 25px;
    font-weight: bold;
    font-size: 1em;
  }
}
