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

/* common */
.common-pain {
    width: 70%;
    margin: 0 auto;
    text-align: center;
    padding: 50px 0;
}   
.common-pain p {
    font-size: 24px;
    line-height: 30px;
    letter-spacing: 1px;
    margin-bottom: 50px;
}
.text_b, .text_r, .text_g{
    font-weight: bold;
}
.text_r{
    color: #BC1623;
}
.text_g{
    color: #77B33C;
}
.commom_img{
    width: 90%;
    margin: 0 auto;
}
.common-pain img{
    width: 100%;
}

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

/* 改善痛症 */
.pain_type{
    width: 70%;
    margin: 60px 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%;
}

/* footer */
footer{
    background: #dddddd;
    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;
    }
    .common-pain{
        width: 100%;
    }

    .common-pain p{
        font-size: 16px;
        margin-bottom: 20px;
    }
    .commom_img{
        width: 100%;
    }

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

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

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


