﻿.donate-box{
    width: 100%;
    display: block;
    position: relative;
    box-sizing: border-box;
    margin-top: 120px;
    min-height: calc(100vh - 120px);
}
.donate-text-box{
    width: 100%;
    display: block;
    box-sizing: border-box;
    padding: 175px 0;
    padding-left: 0.1em;
    text-align: center;
}
.donate-text-box h2{
    font-family: 'Noto Serif TC';
    font-weight: 700;
    font-size: 38px;
    color: #000;
    letter-spacing: 0.1em;
    line-height: 60px;
    margin-bottom: 10px;
}
.donate-text-box p{
    font-family: 'Noto Serif TC';
    font-weight: 500;
    font-size: 20px;
    color: #666;
    letter-spacing: 0.1em;
    line-height: 60px;
}
.donate-all-box{
    width: 1280px;
    max-width: 100%;
    display: block;
    margin: 0 auto;
    position: relative;
    font-size: 0;
    box-sizing: border-box;
    padding: 130px 0;
}
.donate-img-box{
    width: 100%;
    display: block;
    height: calc((760 / 1920) * 100vw);
}
.donate-account-box{
    width: 1280px;
    max-width: 100%;
    display: block;
    margin: 0 auto;
    font-size: 0;
    box-sizing: border-box;
    padding: 100px 0;
}
.donate-account-title-box{
    width: 345px;
    display: inline-block;
    vertical-align: top;
    font-family: 'Noto Serif TC';
    font-weight: 700;
    font-size: 38px;
    color: #000;
    letter-spacing: 0.1em;
    line-height: 60px;
}
.donate-account-text-box{
    width: calc(100% - 345px);
    display: inline-block;
    vertical-align: top;
}
.donate-account-text{
    display: block;
    margin-bottom: 40px;
}
.donate-account-text p{
    font-family: 'Noto Serif TC';
    font-size: 24px;
    color: #000;
    letter-spacing: 0.1em;
    line-height: 50px;
}
.donate-account-remind-title{
    font-size: 24px;
    font-family: 'Noto Sans TC';
    color: #000;
    letter-spacing: 0.1em;
    line-height: 40px;
    display: block;
}
.donate-account-remind-text{
    font-size: 18px;
    font-family: 'Noto Sans TC';
    font-weight: 300;
    color: #666;
    letter-spacing: 0.1em;
    line-height: 40px;
    display: block;
}
.donate-account-remind{
    margin-top: 5px;
}
.donate-account-remind span{
    width: 20px;
    font-size: 18px;
    font-family: 'Noto Sans TC';
    font-weight: 300;
    color: #666;
    letter-spacing: 0.1em;
    line-height: 30px;
    display: inline-block;
    vertical-align: top;
}
.donate-account-remind p{
    width: calc(100% - 20px);
    font-size: 18px;
    font-family: 'Noto Sans TC';
    font-weight: 300;
    color: #666;
    letter-spacing: 0.1em;
    line-height: 30px;
    display: inline-block;
    vertical-align: top;
}
.donate-account-other-box{
    width: 100%;
    display: block;
    margin-top: 25px;
}
.donate-account-other-box p{
    font-size: 18px;
    font-family: 'Noto Sans TC';
    font-weight: 300;
    color: #000;
    letter-spacing: 0.1em;
    line-height: 40px;
}
.donate-account-other-box p>a{
    transition: all .3s linear;
    position: relative;
}
.donate-account-other-box p>a::after{
    content: '';
    width: 0%;
    height: 1px;
    position: absolute;
    bottom: 0;
    left: 0;
    background-color: #000;
    display: block;
    transition: all .3s linear;
}
.donate-form-box{
    width: 100%;
    display: block;
    box-sizing: border-box;
    padding-top: 60px;
    padding-bottom: 80px;
    background-color: #fafafa;
}
.donate-form-title{
    font-family: 'Noto Serif TC';
    font-weight: 700;
    font-size: 38px;
    color: #000;
    letter-spacing: 0.1em;
    line-height: 40px;
    margin-bottom: 60px;
}
.contact-info-form{
    width: 800px;
    max-width: 100%;
    display: block;
    margin: 0 auto;
    font-size: 0;
}
.contact-form-list{
    margin-top: 30px;
}
.contact-form-list:first-child{
    margin-top: 0;
}
.contact-form-list-title{
    font-size: 18px;
    color: #000000;
    letter-spacing: 0.1em;
    line-height: 40px;
    font-family: 'Noto Sans TC';
    font-weight: 300;
}
.contact-form-text{
    width: 100%;
    height: 60px;
    border: 1px solid #d1d1d1;
    background-color: #fff;
    border-radius: 5px;
    font-size: 16px;
    color: #000;
    letter-spacing: 0.1em;
    box-sizing: border-box;
    padding: 0 20px;
    margin-top: 10px;
    box-shadow: 5px 10px 20px rgba(109, 109, 109, 0.3);
}
.contact-form-list-textarea{
    width: 100%;
    height: 200px;
    border: 1px solid #d1d1d1;
    background-color: #fff;
    border-radius: 5px;
    font-size: 16px;
    color: #000;
    letter-spacing: 0.1em;
    box-sizing: border-box;
    padding: 10px 20px;
    line-height: 1.6;
    margin-top: 10px;
    box-shadow: 5px 10px 20px rgba(109, 109, 109, 0.3);
    resize: none;
}
.contact-form-button{
    margin: 0;
    padding: 0;
    outline: 0;
    vertical-align: baseline;
    background: transparent;
    font-weight: normal;
    width: 300px;
    display: block;
    margin: 0 auto;
    margin-top: 65px;
    border-radius: 40px;
    overflow: hidden;
}
.contact-form-button button{
    width: 100%;
    display: block;
    line-height: 80px;
    font-size: 24px;
    color: #fff;
    font-family: 'Noto Sans TC';
    font-weight: 700;
    text-align: center;
    background-color: #498d2f;
    border: none;
    padding: 0;
    margin: 0;
    cursor: pointer;
    outline: none;
    transition: all .3s linear;
}


/*表單送出*/
.contact-thanks-box{
    width: 100%;
    height: 100vh;
    position: fixed;
    z-index: 999;
    top: 0;
    left: 0;
    display: none;
}
.contact-thanks-box.active{
    -webkit-align-items: center;
    align-items: center;
    -webkit-justify-content: center;
    justify-content: center;
    display: -webkit-flex;
    display: flex;
}
.contact-thanks{
    max-width: 500px;
    min-width: 200px;
    width: 400px;
    padding: 40px 30px;
    box-sizing: border-box;
    background-color: #fff;
    position: relative;
    z-index: 1;
    box-shadow: 0px 0px 5px rgba(0, 0, 0, 0.4);
}
.contact-thanks-p{
    font-size: 16px;
    color: #555;
    transform: scaleY(1.05);
    letter-spacing:  1px;
    line-height: 2;   
}
.contact-out{
    width: 21px;
    height: 21px;
    max-width: 100%;
    display: block;
    position: absolute;
    border-radius: 50%;
    top: 5px;
    right: 5px;
    cursor: pointer;
}
.contact-out span{
    width: 15px;
    height: 1px;
    background-color: #888;
    display: block;
    margin: 0 auto;
    position: relative;
}
.contact-out span:nth-child(1){
    top: 10px;
    left: 0px;
    transform: rotate(45deg);
}
.contact-out span:nth-child(2){
    top: 9px;
    left: 0px;
    transform: rotate(-45deg);
}

@media only screen and (max-width: 480px){

    .contact-thanks, .alert-info{
        width: 95%;
        box-sizing: border-box;
        margin: 0 auto;
    }
    .contact-thanks-p{
        font-size: 20px;
    }
}



@media only screen and (max-width: 1280px){
    .donate-account-box{
        width: 1200px;
    }
}
@media only screen and (max-width: 1200px){
    .donate-box{
        margin-top: 100px;
        min-height: calc(100vh - 100px);
    }

    .donate-account-box{
        width: 1000px;
    }
}
@media only screen and (max-width: 1000px){
    .donate-text-box{
        padding: 100px 0;
    }
    .donate-text-box h2{
        font-size: 30px;
        line-height: 40px;
        margin-bottom: 10px;
    }
    .donate-text-box p{
        font-size: 16px;
        line-height: 40px;
    }
    
    .donate-account-box{
        width: 750px;
        padding: 60px 0;
    }
    .donate-account-title-box{
        width: 100%;
        display: block;
    }
    .donate-account-text-box{
        width: 100%;
        display: block;
        margin-top: 10px;
    }

    .contact-info-form{
        width: 750px;
    }
}
@media only screen and (max-width: 768px){
    .donate-account-box{
        width: 550px;
        padding: 40px 0;
    }

    .donate-form-box{
        padding-top: 40px;
        padding-bottom: 60px;
    }
    .contact-info-form{
        width: 550px;
    }
    .donate-form-title{
        margin-bottom: 40px;
    }
    
}
@media only screen and (max-width: 550px){
    .donate-box{
        margin-top: 70px;
        min-height: calc(100vh - 70px);
    }
    .donate-text-box{
        padding: 40px 0;
        max-width: 95%;
        margin: 0 auto;
    }
    .donate-text-box h2{
        font-size: 20px;
        line-height: 30px;
        margin-bottom: 15px;
    }
    .donate-text-box p{
        font-size: 14px;
        line-height: 1.4;
        margin-top: 10px;
    }
    
    .donate-account-box{
        width: 95vw;
        padding: 20px 0;
    }
    .donate-account-title-box{
        font-size: 20px;
        line-height: 30px;
    }
    .donate-account-text-box{
        margin-top: 0;
    }
    .donate-account-text{
        margin-bottom: 10px;
    }
    .donate-account-text p{
        font-size: 16px;
        line-height: 26px;
    }
    .donate-account-remind-title{
        font-size: 16px;
        line-height: 26px;
    }
    .donate-account-remind-text{
        font-size: 16px;
        line-height: 26px;
    }
    .donate-account-remind span{
        width: 16px;
        font-size: 14px;
        line-height: 22px;
    }
    .donate-account-remind p{
        width: calc(100% - 16px);
        font-size: 14px;
        line-height: 22px;
    }
    .donate-account-other-box{
        margin-top: 10px;
    }
    .donate-account-other-box p{
        font-size: 14px;
        line-height: 26px;
    }
    
    .donate-form-box{
        padding-top: 20px;
        padding-bottom: 40px;
    }
    .contact-info-form{
        width: 95vw;
    }
    .donate-form-title{
        font-size: 20px;
        line-height: 30px;
        margin-bottom: 20px;
    }
    .contact-form-list-title{
        font-size: 14px;
        line-height: 26px;
    }
    .contact-form-text{
        height: 36px;
        padding: 0 10px;
        margin-top: 5px;
        font-size: 14px;
    }
    .contact-form-list{
        margin-top: 10px;
    }
    .contact-form-list-textarea{
        height: 100px;
        font-size: 14px;
        padding: 5px 10px;
        line-height: 1.4;
        margin-top: 5px;
    }
    .contact-form-button{
        width: 200px;
        margin-top: 25px;
        border-radius: 20px;
    }
    .contact-form-button button{
        font-size: 20px;
        line-height: 40px;
    }
}



@media only screen and (min-width: 769px){
    .donate-account-other-box p>a:hover{
        color: #d91e21;
    }
    .contact-form-text:focus{
        border-color: #498d2f;
    }
    .contact-form-button button:hover{
        background-color: #32611f;
        color: #fff;
    }

    .donate-text-box h2,
    .donate-text-box p,
    .donate-img-box,
    .donate-account-title-box,
    .donate-account-text-box,
    .donate-form-title,
    .contact-form-list,
    .contact-form-button{
        opacity: 0;
    }
    .donate-text-box.anima h2{
        animation: fadeInDown 1s ease 0s 1 both;
    }
    .donate-text-box.anima p{
        animation: fadeInUp 1s ease .4s 1 both;
    }
    .donate-img-box.anima{
        animation: fade 1s ease .4s 1 both;
    }
    .donate-account-title-box.anima{
        animation: fadeInRight 1s ease 0s 1 both;
    }
    .donate-account-text-box.anima{
        animation: fadeInUp 1s ease .3s 1 both;
    }
    .donate-form-title.anima{
        animation: fadeInDown 1s ease 0s 1 both;
    }
    .contact-form-list.anima{
        animation: fadeInUp 1s ease 0s 1 both;
    }
    .contact-form-button.anima{
        animation: fadeInUp 1s ease 0s 1 both;
    }
}