.banner {
    position: relative;
    padding-bottom: calc(760/1920*100%);
    overflow: hidden;
}

.banner img {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    opacity: 0;
}

@keyframes slideBannerA {
    0%   {opacity: 0; transform: scale(1);}
    30%  {opacity: 1; transform: scale(1);}
    40%  {opacity: 1;}
    50%  {opacity: 1;}
    65%  {opacity: 0;transform: scale(1);}
    90%  {opacity: 0;transform: scale(1);}
    100% {opacity: 0;}
}

@keyframes slideBannerB {
    0%   {opacity: 0; transform: scale(1);}
    30%  {opacity: 1; transform: scale(1);}
    40%  {opacity: 1;}
    50%  {opacity: 1;}
    65%  {opacity: 0;transform: scale(1);}
    90%  {opacity: 0;transform: scale(1);}
    100% {opacity: 0;}
}

@keyframes slideText {
    0%   {opacity: 0;}
    30%  {opacity: 1;}
    40%  {opacity: 1;}
    50%  {opacity: 1;}
    65%  {opacity: 0;}
    90%  {opacity: 0;}
    100% {opacity: 0;}
}

#b1a {
    animation-name: slideBannerA;
    animation-duration: 16s;
    animation-iteration-count: infinite;
}

#b1b {
    animation-name: slideBannerB;
    animation-delay: 8s;
    animation-duration: 16s;
    animation-iteration-count: infinite;
}

.banner span {
    position: absolute;
    color: black;
    font-size: 12px;
    bottom: 10px;
    right: 10%;
    animation-name: slideText;
    animation-duration: 16s;
    animation-iteration-count: infinite;
}

/* 改善痛症 */
.pain_box{
    width: 100%;
    margin: 0 auto;
    background: #F4F4F4;
    padding: 50px 0;
}
.pain_type{
    width: 70%;
    margin: 0 auto;
    text-align: center;
}
.pain_type h2{
    font-size: 24px;
    color: #BD1621;
    line-height: 35px;
    font-weight: bold;
    letter-spacing: 2px;
}
.pain_type p{
    font-size: 16px;
    letter-spacing: 1px;
}
.type_img{
    width: 90%;
    margin: 30px auto;
}
.type_img img{
    width: 100%;
}

/* 禮遇 */
.discount{
    width: 70%;
    margin: 0 auto;
    text-align: center;
    padding: 50px 0;
}
.discount h2{
    font-size: 26px;
    color: #BD1621;
    line-height: 35px;
    font-weight: bold;
    letter-spacing: 1px;
}
.discount p{
    font-size: 18px;
    letter-spacing: 1px;
    font-weight: bold;
}
.discount p span{
    font-size: 26px;
    background: #BD1621;
    color: #ffffff;
    padding: 5px 10px;
    margin-right: 5px;
    font-weight: bold;
    letter-spacing: 1px;
}
.discount ul{
    margin-top: 20px;
    list-style: none;
    padding-inline-start: 0;
}
.discount ul li{
    display: inline-block;
    vertical-align: middle;
}
.discount_item{
    width: 30%;
}
.discount_item img{
    width: 75%;
}
.discount_item p{
    font-size: 20px;
    color: #BD1621;
    font-weight: bold;
    margin-top: 20px;
    margin-bottom: 0;
}
.discount_item span{
    font-size: 16px;
}
.jia_{
    /* width: 30px; */
    font-size: 50px;
    color: #BD1621;
    font-weight: bold;
    margin-top: -50px;
}


/* form */
#form .body{
    background: #E7DED7;
}
#form .body .form{
    margin-left: 35px;
    width: 550px;
}
.arrow_down{
    left: auto;
    right: 15px;
}


/* footer */
footer{
    background: #ffffff;
    border-top: none;
}

.logo {
    position: absolute;
    top: 0;
    right: 43.5%;
    width: 13.529%;
    height: 17.37%;
    cursor: pointer;
}

.donly{
    display: block;
}
.monly{
    display: none;
}

@media (max-width:1200px) {
    .donly{
        display: none;
    }
    .monly{
        display: block;
    }

    #form .body .form {
        margin-left: 0;
        width: 100%;
    }

    .pain_box{
        padding: 30px 0;
    }
    .pain_type{
        width: 100%;
        margin: 0 auto;
    }
    .pain_type p{
        padding: 0 50px;
    }
    .type_img{
        margin: 30px auto;
    }

    .discount{
        width: 100%;
        padding: 30px 0;
    }
    .discount h2{
        font-size: 24px;
        margin-bottom: 20px;
    }
    .discount p {
        font-size: 19px;
    }
    .discount p span {
        font-size: 24px;
    }
    .discount ul{
        margin-top: 30px;
    }
    .discount_item {
        width: 40%;
    }
    .discount_item p{
        font-size: 16px;
    }
    .discount_item span {
        font-size: 12px;
    }
    .jia_{
        font-size: 35px;
    }
    
}

@media (max-width:768px) {
    .banner {
        padding-bottom: calc(1460/1020*100%);
    }

    .banner span {
        right: 10px;
        writing-mode: vertical-rl;
        -webkit-writing-mode: vertical-rl;
        text-orientation: upright;
    }
    
}


