@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: #f5f5f5;
    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: 1024px;
    }
}

@media screen and (min-width: 1367px) {
    .wrap {
        max-width: 1280px;
    }
}



@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);
    }
    }

/* 基本標籤設定 */

h2{
    color: #3f3f3f;
    font-size: 3rem;
    font-weight: bold;
    text-align: center;
    font-family: 華康圓體 Std w8;
    line-height: 63px;
}

@media screen and (max-width: 1024px) {
    h2{
        font-size: 3rem;
        max-width: 100%;
        padding: 10px;
        border-radius: 10px;
    }
    
}

@media screen and (max-width: 767px) {
    h2{
        font-size: 2rem;
        line-height: 40px;
    }
    
}
.description{
    display: block;
    line-height: 80px;
    text-align: center;
    font-size: 40px;
    padding-bottom: 10px;
}

h3{
    background-color: #4fb3a6;
    width: 100%;
    font-size: 2.2rem;
    font-weight: bold;
    text-align: center;
    line-height: 1.4em;
    padding: 2.5px 30px;
    margin: 30px auto;
    border-radius: 35px;
}
@media screen and (max-width: 767px) {
  h3{
    background-color: #4fb3a6;
    width: 100%;
    font-size: 2.2rem;
    font-weight: bold;
    text-align: center;
    line-height: 1.4em;
    padding: 2.5px 30px;
    margin: 12px auto 20px ;
    border-radius: 35px;
  }
}
h4{
    font-weight: bold;
}

img{
    display: block;
    margin-left: auto;
    margin-right: auto;
    margin-top: 0px;
    margin-bottom: 30px;
    max-width: 100%;
    padding: 0px 3px 0 0;
}

p{
    margin-bottom: 50px;
}

p > span{
    background-color: #7ad5ed;
    font-weight: bold;
    padding: 1px 7px;
    margin: 3px;
    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;
}

/* 頁面區塊 */

.screen{
    font-size: 1.8rem;
    line-height: 1.7em;
    padding: 70px 0px 35px 0px;
}

.white-box{
    background: #ffffff;
    border-radius: 15px;
    padding: 65px 0px 0px 0px;
}





@media screen and (max-width: 1024px) {
    .white-box {
      border-radius: 15px;
      padding: 50px 0px 30px 0px;
    }
  }
@media screen and (max-width: 767px) {
  .white-box {
    border-radius: 15px;
    padding: 37px 0px 25px 0px;
  }
}
.screen.remind{
    padding: 25px;
    font-size: 1.45rem;
}

@media screen and (max-width: 1024px) {
    .screen{
        font-size: 1.5rem;
        padding: 30px 0px;
    }
    .screen.remind {
        padding: 20px;
        font-size: 1.3rem;
    }
}

@media screen and (max-width: 767px) {
    .screen{
        font-size: 1.2rem;
        line-height: 1.6em;
    }
    .screen.remind {
        padding: 22px 0px 0px 0px;
    }
}
.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: 135px;
    height: 55px;
    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: 100%;
        height: 40px;
    }
}

/* HEADER 定在畫面最上面 */

.header.is-fixed{
    background-color: #fff;
    box-shadow: 1px 1px 12px rgba(0, 0, 0, 0.2);
}

.header.is-fixed .logo{
    background-image: url('../images/logo_white.svg');
}

/* BANNER */

.banner{
    padding-top: 60px;
    padding-bottom: 30px;
    background-color: #fff;
}

.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: 35px;
}
@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-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;
    color: #fff;
    background-color: #ff6177;
    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;
    }
}


/*兩排*/

.two-box{
    display: flex;
}

.one-box{
    width: 100%;
    margin: 30px 0;
}



.white-box .grid > li {
    width: 100%;
    text-align: center;
}


.white-part{
    background: #ffffff;
}



.green-part{
    background: #4fb3a6;
    padding: 20px 0;
}

.green-part p{
    color: #fff;
    font-size: 1.05rem;
}

.green-part .wrap::after {
    display: none;
}

.btn-box{
    margin: 50px 0;
    text-align: center;
}

.btn-box a{
    margin: 20px;
    padding: 20px 35px;
    text-align: center;
    background-color: #ff6177;
    width: 500px;
    display: inline-block;
    color: #fff;
    font-size: 1.5rem;
    border-radius: 15px;
}

.btn-box a:hover{
    background-color: #4fb3a6;
}


.seven-icon{
    width: 120px;
    margin-bottom: 10px;
}


.list li a{
    color: #4fb3a6;
}

.list li a:hover{
    color: #ff6177;
}

.max800{
    width: 570px;
    margin: auto;
}


@media screen and (max-width: 768px) {
    .seven-icon{
        width: 100px;
        margin-bottom: 0px;
    }
    
    .btn-box{
        margin: 20px 0;
    }

    .btn-box a{
        width: 85%;
        font-size: 1.3rem;
        margin: 15px;
        padding: 15px 25px;
    
    }

    .max800{
        width: 100%;
        margin: auto;
    }
}