@charset "UTF-8";

body {
  font-size: 1rem;
  line-height: 1.7em;
  letter-spacing: 0.5px;
  overflow-y: auto;
  overflow-x: hidden;
  -webkit-overflow-scrolling: touch;
  -moz-overflow-scrolling: touch;
  -o-overflow-scrolling: touch;
  -ms-overflow-scrolling: touch;
  background-color: #f3f0ff;
  color: #272727;
}

/* 可視範圍 */

.wrap {
  width: 100%;
  max-width: calc(100% - 38px);
  margin: auto;
}
.wrap.banner {
  width: 100%;
  max-width: calc(100% - 0px);
  margin: auto;
}
@media screen and (min-width: 1025px) {
  .wrap {
    max-width: 1000px;
  }
}
@media screen and (max-width: 1024px) {
  .wrap {
    max-width: calc(100% - 57px);
  }
}
@media screen and (max-width: 767px) {
  .wrap {
    max-width: calc(100% - 36px);
  }
}
@media screen and (max-width: 360px) {
  .wrap {
    max-width: calc(100% - 44px);
  }
}

/* 基本標籤設定 */
h1 {
  font-size: 0;
}
h2 {
  color: #ae93ce;
  font-size: 2.8rem;
  font-weight: bold;
  text-align: center;
  line-height: 63px;
  margin-bottom: 1em;
}

@media screen and (max-width: 767px) {
  h2 {
    font-size: 2rem;
    line-height: 52px;
  }
}
.description {
  display: block;
  line-height: 80px;
  text-align: center;
  font-size: 40px;
  padding-bottom: 10px;
}

.h3 {
  color: #8369a8;
  font-size: 2.2rem;
  font-weight: bold;
  margin-bottom: 0.5rem;
}

.h4 {
  font-size: 2.2rem;
  font-weight: bold;
  margin-bottom: 1rem;
}

@media screen and (max-width: 767px) {
  .h3 {
    font-size: 1.85rem;
  }

  .h4 {
    font-size: 1.6rem;
  }
}



img {
  display: block;
  margin-left: auto;
  margin-right: auto;
  margin-top: 0px;
  margin-bottom: 30px;
  max-width: 100%;
  padding: 7px 3px 0 0;
}

p {
  margin-bottom: 30px;
}

.link {
  background-color: #5482cc;
  font-weight: bold;
  padding: 1px 7px;
  margin: 3px;
  color: #fff;
  display: inline-block;
  border-radius: 9px;
}

ul {
  list-style: disc;
  padding-left: 1.5em;
}

ol {
  list-style: decimal;
  padding-left: 1.5em;
}

ul > li,
ol > li {
  margin-bottom: 30px;
}

/* 頁面區塊 */
.text-danger {
  color: #f41c4f !important;
}

.screen {
  font-size: 1.8rem;
  line-height: 1.7em;
  padding: 70px 0px 35px 0px;
}

@media screen and (max-width: 1024px) {
  .white-box {
    border-radius: 15px;
  }
}
@media screen and (max-width: 767px) {
  .white-box {
    border-radius: 15px;
  }
}
.screen.remind {
  padding: 30px;
  background-color: #c2b1dd;
  font-weight: bold;
  border-radius: 15px;
}

@media screen and (max-width: 767px) {
  .screen {
    font-size: 1.2rem;
    line-height: 1.6em;
  }
  .screen.remind {
    padding: 15px;
  }
}
.number {
  margin-bottom: 10px;
}

.screen > .wrap > p:last-child,
.screen > .wrap > a:last-child,
.screen > .wrap > img:last-child {
  margin-bottom: 10px;
}

/* 文字定位設定 */

.text-center {
  text-align: center;
}

.text-left {
  text-align: left;
}

.text-right {
  text-align: right;
}

/* HEADER */

.header {
  width: 100%;
  padding: 10px 0px;
  overflow: hidden;
  position: fixed;
  left: 0px;
  top: 0px;
  z-index: 1000;
}

.header .logo {
  width: 235px;
  height: 50px;
  display: block;
  background-image: url("../images/logo_white.svg");
  background-repeat: no-repeat;
  background-size: contain;
  background-position: center;
  float: left;
  font-size: 0rem;
  text-indent: -9999px;
  overflow: hidden;
  -webkit-transition: all 0.3s;
  transition: all 0.3s;
}

@media screen and (max-width: 1024px) {
  .header .logo {
    width: 190px;
    height: 40px;
  }
}

/* HEADER 定在畫面最上面 */

.header.is-fixed {
  background-color: #ae93ce;
}

.header.is-fixed .logo {
  background-image: url("../images/logo_white.svg");
}

/* BANNER */

.banner {
  padding-top: 70px;
  padding-bottom: 30px;
  background-color: #ae93ce;
}

.banner .title > img {
  margin-bottom: -60px;
  margin-top: -75px;
}

@media screen and (max-width: 767px) {
  .banner {
    padding-top: -30px;
    padding-bottom: -5px;
  }
}

/* 格狀版型 */

ul.grid {
  list-style: none;
  padding-left: 0px;
  overflow: hidden;
}

.grid > li {
  width: 50%;
  float: left;
  padding: 6px;
  margin-bottom: 0px;
}
.grid > li > img {
  width: auto;
  margin-bottom: 0px;
  display: block;
  margin-left: auto;
  margin-right: auto;
  margin-top: 0px;
  max-width: 100%;
}

.grid.grid-1 > li {
  width: 100%;
}

.grid.grid-2 > li {
  width: 50%;
}

.grid.grid-3 > li {
  width: 33.33%;
}

.grid.grid-4 > li {
  width: 25%;
}

.grid.grid-left,
.grid.grid-right {
  margin-bottom: 50px;
}
@media screen and (max-width: 767px) {
  .grid.grid-left,
  .grid.grid-right {
    margin-bottom: 26px;
  }
}
.grid.grid-left > li {
  float: left;
}

.grid.grid-right > li {
  float: right;
}

.grid.grid-left > li:nth-child(odd),
.grid.grid-right > li:nth-child(odd) {
  width: 10%;
}

.grid.grid-left > li:nth-child(even),
.grid.grid-right > li:nth-child(even) {
  width: 89%;
}

.grid.grid-md.grid-left > li:nth-child(odd),
.grid.grid-md.grid-right > li:nth-child(odd) {
  width: 30%;
}

.grid.grid-md.grid-left > li:nth-child(even),
.grid.grid-md.grid-right > li:nth-child(even) {
  width: 70%;
}

.grid.grid-left > li p:last-child,
.grid.grid-right > li p:last-child {
  margin-bottom: 0px;
}

@media screen and (max-width: 1024px) {
  /* .grid.grid-left > li,
    .grid.grid-right > li{
        float: none;
    }

    .grid.grid-left > li:nth-child(odd),
    .grid.grid-right > li:nth-child(odd),
    .grid.grid-left > li:nth-child(even),
    .grid.grid-right > li:nth-child(even){
        width: 100%;
    } */

  .grid.grid-3 > li,
  .grid.grid-4 > li {
    width: 50%;
  }
}

@media screen and (max-width: 767px) {
  .grid.grid-2 > li,
  .grid.grid-3 > li,
  .grid.grid-4 > li {
    width: 100%;
  }
}

/* 針對 QR code 做設定 */

.qrcode > li {
  padding: 20px 50px 30px;
}

/* 浮動按鈕 */

.floatbtn {
  position: fixed;
  right: 25px;
  bottom: 25px;
}

.floatbtn > a {
  width: 80px;
  height: 80px;
  line-height: 80px;
  display: block;
  background-color: #ae93ce;
  border-radius: 100%;
  text-align: center;
  font-size: 1.2rem;
  font-weight: bold;
  opacity: 0.6;
  -webkit-transition: opacity 0.3s;
  transition: opacity 0.3s;
}

@media screen and (min-width: 1025px) {
  .floatbtn > a:hover {
    opacity: 1;
  }
}

@media screen and (max-width: 1024px) {
  .floatbtn {
    right: 15px;
    bottom: 30px;
  }

  .floatbtn > a {
    width: 60px;
    height: 60px;
    line-height: 60px;
  }
}
