* {
    position: relative;
    box-sizing: border-box;
}

.wrapper {
    overflow: hidden;
    background:#e6e9ed;
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
}

img,
a {
    vertical-align: top;
    user-select: none;
    -webkit-user-drag: none;
}

a {
    text-decoration: none;
}

h1,
h2,
h3,
h4,
h5,
p,
li,
span {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";
    color: #000;
    line-height: 120%;
}


/* banner 
 ======================================================================*/

.logo {
    position: absolute;
    top: 20px;
    left: 20px;
    padding: 1rem;
    z-index: 2;
}

.logo img {
    width: 200px;
    height: auto;
}

.bannerbg {
    max-width: 2560px;
    background: url(../images/mainPic_bg.png);
    margin:0 auto;
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
}

.bannerBox {
    max-width: 1200px;
    width: 100%;
    margin: 0 auto;
}

.banner {
    width: 100%;
    height: auto;
}

.visible_m {
    display: none;
}

@media screen and (max-width: 820px) {
    .logo {
        padding: 0.625rem;
        top: 0;
        left: 0;
    }
    .logo img {
        width: 150px;
        height: auto;
    }
    .visible_pc {
        display: none;
    }
    .visible_m {
        display: inline;
    }
}

@media screen and (max-width: 480px) {
    .logo {
        padding: 0.25rem;
    }
    .logo img {
        width: 130px;
    }
}


/* section 
 ======================================================================*/
/* feature */
 .featureBox{
    margin-top: -4rem;
}
.featureBox h1{
    margin: 0;
}
.featureBox h1 img{
    width: 8rem;
    height: auto;
    z-index: 1;
}
.featureBox .featureGroup{
    padding-bottom: 3rem;
    margin-top: -1.5rem;
    display: flex;
    flex-wrap: wrap;
}
.featureBox .featureGroup .feature{
    flex:0 0 33.333%;
    max-width: 33.333%;
    padding: 0 1rem;
}
.featureGroup .feature .featureItem{
    background: radial-gradient(closest-side, #fff 0% 50%, #efefef 100%);
    border: 1px solid #fff;
    border-radius: 1rem;
    box-shadow:  0 1px 4px rgba(76, 76, 86, 0.4);
    padding: 1rem;
    padding-top: 1.5rem;
    text-align: center;
}
.featureGroup .feature .featureItem img{
    width: 7rem;
    height: auto;
}
.featureGroup .feature .featureItem h3{
    font-size: 1.25rem;
    color: #000;
    font-weight: 700;
    margin: 1rem 0 0.5rem 0;
}
.featureGroup .feature .featureItem p{
    font-size: 1.125rem;
    color: #636363;
    margin: 0;
}
/* discount */
.discountBox{
    padding-bottom: 3rem;
}
.discountBox h2{
    margin: 0;
    margin-bottom: -1.9rem;
    text-align: center;
    z-index: 2;
}
.discountBox h2 img{
    width: 19rem;
    height: auto;   
}
.discountBox .discountGroup{
    padding: 0 2rem;
}
.discountBox .discountGroup:before,
.discountBox .discountGroup:after{
    content: "";
    position: absolute;
    display: block;
    top: 0;
    width: 2rem;
    height: 100%;
    background-image: url(../images/ribbon.svg);
    background-size: contain;
    background-repeat: no-repeat;
    filter: drop-shadow(0 0px 2px rgba(76, 76, 86, 0.4));
}
.discountBox .discountGroup:before{
    left: 0.25rem;
    background-position: right center;
}
.discountBox .discountGroup:after {
    right: 0.25rem; 
    background-position: left center;
    transform: scale(-1);
}
.discountGroup .discount{
    background: radial-gradient(closest-side, #fff 0% 50%, #efefef 100%);
    border: 1px solid #fff;
    border-radius: 1rem;
    box-shadow:  0 1px 4px rgba(76, 76, 86, 0.4);
    padding: 1.5rem;
    padding-top: 3rem;
    display: flex;
    flex-wrap: wrap;
    z-index: 1;
}
.discountGroup .discount .discountItem{
    flex:0 0 33.333%;
    max-width: 33.333%;
    display: flex;
    align-items: center;
}
.discountGroup .discount .discountItem img{
    width: 5rem;
    height: 5rem;
    margin-right: 1rem;
}
.discountGroup .discount .discountItem p{
    font-size: 1.125rem;
    color: #000;
    margin: 0;
}

@media (min-width: 640px) and (max-width: 820px) {
    .discountBox .discount .discountItem{
        flex-direction: column;
    }
    .discountBox .discount .discountItem img{
         margin-right: 0;
         margin-bottom: 1rem;
    }
    .discountBox .discount .discountItem p{
        text-align: center;
    }
}
@media screen and (max-width: 640px) {
    .featureBox{
        margin-top: -1.5rem;
    }
    .featureBox h1 img{
        width: 6.5rem;
    }
    .featureBox .featureGroup .feature,
    .discountBox .discount .discountItem{
        flex:0 0 100%;
        max-width: 100%;
    }
    .featureBox .featureGroup .feature,
    .discountBox .discount .discountItem{
        padding: 0;
        padding-top: 1rem;
    }
    .featureBox .featureGroup .feature:first-child,
    .discountBox .discount .discountItem:first-child{
        padding-top: 0;
    }
    .discountBox .discountGroup{
        padding: 0;
    }
    .discountBox .discountGroup:before,
    .discountBox .discountGroup:after{
        display: none;
    }
    .discountBox h2 {
        margin-bottom: -1.6rem;
    }
    .discountBox h2 img{
        width: 16rem;
    }
}

/* footer 
 ======================================================================*/

footer {
    background: #235f8c;
    padding-top: 3.125rem;
    padding-bottom: 1rem;
}

.noteBox {
    display: flex;
    align-items: center;
}

.note {
    width: 55%;
    margin-right: 1.875rem;
}

.note h4 {
    font-size: 1rem;
    color: #fff;
    margin: 0;
}

.note ol {
    padding-left: 1rem;
    margin-top: 1rem;
}

.noteTxt li {
    list-style: decimal;
    font-size: 0.8125rem;
    color: #fff;
    line-height: 150%;
}

.putFlex {
    display: flex;
    align-items: center;
}

.text-center {
    text-align: center;
}

.award {
    width: 45%;
}

.award>img {
    width: auto;
    height: 150px;
    position: absolute;
    left: 20px;
    z-index: 1;
}

@media screen and (min-width: 821px) {
    .award>img {
        bottom: 5px;
    }
}

.award>div {
    min-height: 60px;
    padding: 1rem;
    margin-top: 0.625rem;
    margin-bottom: 25px !important;
    background: #f7f9f9;
    border: solid 1px #edcd59;
    border-radius: 8px;
}
@media screen and (max-width: 820px) {
    footer {
        padding: 1.25rem 0 5rem 0;
    }
    .note {
        margin-right: 0;
    }
    .noteBox {
        flex-direction: column;
    }
    .note,
    .award {
        width: 100%;
    }
    .award>div {
        min-height: 130px;
        text-align: center;
    }
}
@media screen and (max-width: 960px){
    footer {
        padding: 1.25rem 0 5rem 0;
    }    
}

@media screen and (max-width: 640px){
    footer {
        padding: 1.25rem 0 6.5rem 0;
    }
}

.award>div>div {
    width: calc(100% - 5rem);
    margin-left: 5rem;
}

.award h5,
.award p {
    margin: 0;
}

.award p {
    color: #666;
    font-size: 1rem;
    line-height: 140%;
}

.award h5 span {
    padding: 0 1.25rem;
    margin-bottom: 0.625rem;
    display: inline-block;
    position: relative;
    color: #7e3a20;
    font-size: 1.25rem;
    font-weight: bolder;
}

.award h5 span::before,
.award h5 span::after {
    content: "";
    width: 13px;
    height: 100%;
    display: block;
    position: absolute;
    top: 0;
    background-image: url(../images/tassel.svg);
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
}

.award h5 span::before {
    left: 0;
}

.award h5 span::after {
    right: 0;
    -moz-transform: scaleX(-1);
    -webkit-transform: scaleX(-1);
    -o-transform: scaleX(-1);
    transform: scaleX(-1);
}
.award .version{
    font-size: 0.8125rem;
    color: #fff;
    position: absolute;
    bottom: 0;
    right: 0;
}


/* 快速選單 
 ======================================================================*/

.buttonBox {
    z-index: 10;
    position: fixed;
    display: flex;
}

.contact {
    background: rgba(255, 255, 255, 0.8);
    box-shadow: 0 0 4px 0 rgba(0, 0, 0, 0.2);
    -webkit-backdrop-filter: blur(4px);
    -moz-backdrop-filter: blur(4px);
    -o-backdrop-filter: blur(4px);
    backdrop-filter: blur(4px);
}

.button {
    display: inline-block;
    text-decoration: none;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.button img {
    width: 22px;
    height: 22px;
    margin-bottom: 5px;
}

.button span {
    color: #000;
    font-size: 1.125rem;
}

@media screen and (min-width: 961px) {
    .buttonBox {
        top: 10%;
        right: 10px;
        flex-direction: column;
    }
    .contact {
        padding: 0 0.5rem;
        border-radius: 25px;
    }
    .button {
        padding: 1rem 0;
        width: 36px;
        border-bottom: 1px solid #9e9e9e;
    }
    .button:last-child {
        border-bottom: 0;
    }
    .button span {
        writing-mode: vertical-lr;
    }
}

@media (min-width: 640px) and (max-width: 960px){
    .button{
        flex-direction: row;
    }
    .button img{
        margin-right: 5px;
        margin-bottom: 0;
    }
}

@media screen and (max-width: 960px) {
    .buttonBox {
        bottom: 0;
        width: 100%;
    }
    .contact {
        width: 100%;
        padding: 0.5rem 0;
        border-radius: 25px 25px 0 0;
        display: flex;
        flex-direction: row;
        justify-content: space-around;
        align-items: center;
    }
    .button {
        padding: 0.75rem 0;
        width: 100%;
        border-right: 1px solid #9e9e9e;
        justify-content: center;
    }
    .button:last-child {
        border-right: 0;
    }
    .button span {
        writing-mode: horizontal-tb;
        font-size: 1.125rem;
    }
}

@media (max-width: 640px) {
    .button span {
        font-size: 1rem;
    }
}