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

.wrapper {
    overflow: hidden;
    background: #5ea5cf;
}

.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: "nobel", "Helvetica", "微軟正黑體", serif;
    color: #000;
    line-height: 120%;
}

@font-face {
  font-family: "nobel";
  src: local(nobel), local(nobel);
  unicode-range: U+00-024F;
}


/* 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;
}

.bannerbg::after{
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 15%;
    background: linear-gradient(rgba(94,165,207,0) 0%, rgba(94,165,207,1)95%);
}

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

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

.visible_t, .visible_m {
    display: none;
}

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

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


/* section 
 ======================================================================*/
 .discountBox{
    padding-bottom: 5rem;
}

.discountTitle{
    display: flex;
    justify-content: center;
    margin-bottom: 1.5rem;
}

.discountTitle::after{
    content: "";
    position: absolute;
    top:50%;
    left: 50%;
    transform: translate(-50%,-50%);
    width: 80%;
    height: 1px;
    background: #fff;
}

.discountTitle h2{
    font-size: 1.5rem;
    font-weight: 700;
    color: #fff;
    padding: 0 1rem;
    background: #5ea5cf;
    display: inline-block;
    z-index: 1;    
}

.discountCotent{
    display: flex;
    flex-wrap: wrap;
}

.discount{
    flex:0 0 33.333%;
    max-width: 33.333%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.discount:nth-child(2){
    border-left: 1px solid rgba(255, 255, 255, 0.3);
    border-right: 1px solid rgba(255, 255, 255, 0.3);
}
.discount img{
    width: 5rem;
    height: auto;
    margin-bottom: 1rem;
}

.discount p, .discount p span{
    color: #fff;
    font-size: 1.125rem;
    line-height: 130%;
    text-align: center;
    margin: 0;
}

.discount p span{
    display: block;
}

@media screen and (max-width: 480px){
    .discountBox{
        padding-bottom: 2rem;
    }
    .discountTitle{
        margin-bottom: 0;
    }
    .discountTitle::after{
        display: none;
    }
    .discount{
        flex: 0 0 100%;
        max-width: 100%;
        flex-direction: row;
        padding: 1rem 0;
        justify-content: flex-start;
    }
    .discount:nth-child(2){
        border-left: 0;
        border-right: 0;
    }
    .discount img{
        width: 3.5rem;
        margin-bottom: 0;
        margin-right: 1rem;
    }
    .discount p, .discount p span{
        text-align: left;
    }
    .discount p span{
        display: inline-block;
    }
}

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

footer {
    background: #5b5b5b;
    padding-top: 3.125rem;
    padding-bottom: 1rem;
}

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

.note {
    width: 50%;
    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;
}

.jinfeng {
    width: 50%;
}

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

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

.jinfeng>div {
    min-height: 60px;
    padding: 1rem;
    margin-top: 0.625rem;
    margin-bottom: 25px !important;
    background: #f7f9f9;
    border: solid 1px #c4d0e3;
    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,
    .jinfeng {
        width: 100%;
    }
    .jinfeng>div {
        min-height: 130px;
        text-align: center;
    }
}

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

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

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

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

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

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

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

.jinfeng h5 span::after {
    right: 0;
    -moz-transform: scaleX(-1);
    -webkit-transform: scaleX(-1);
    -o-transform: scaleX(-1);
    transform: scaleX(-1);
}


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

.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;
    }
}