@import url('https://fonts.googleapis.com/css2?family=DM+Serif+Display&family=Noto+Sans+TC:wght@300;500;700&family=Noto+Serif+TC:wght@200&family=Raleway:wght@200&display=swap');

html{
    width:100%;
    margin:0;
    font-size: 14px;
    overflow-x: hidden;
}

body{
    width:100%;
    margin:0;
    overflow-x: hidden;
    background-color: #f1f1f1;
}

a:link {
    text-decoration: none;
}

.desktop{
    display: block;
}

.mobile{
    display: none;
}

.iconbox{
    background-color: white;
    position: fixed;
    top:50%;
    right:0;
    z-index: 200;
    display: flex;
    flex-direction: column;
    border-radius: 10px 0 0 10px;
}
  
.icons{
    width:4vw;
    height:5vw;
    cursor: pointer;
    display: flex;
    justify-content: center;
    align-items: center;
}

.icons img{
    width:80%;
    height:auto;
}

.title span{
    display: inline-block;
}

/* section0 */
.section0{
    width:100%;
    height:100vh;
    background-image: url('../img/jingchengwu/sec0/桌基版底圖.png');
    background-size: cover;
    position:relative;
    overflow: hidden;
}

.section0 .logobox{
    width:45%;
    height:auto;
    position:absolute;
    top:50%;
    left:50%;
    transform: translate(-50%,-50%);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.section0 .logobox > .logo{
    width:80%;
    height:auto;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.section0 .logo img{
    width:100%;
    height:auto;
}

.section0 .logo img.logo{
    margin-left: 10%;
}

.section0 .logo img.phone{
    width: 90%;
    margin-top: 10%;
}

.section0 .infor{
    width:100%;
    margin-top: 3%;
}

.section0 .pattern{
    position: absolute;
    width:100%;
    bottom:0;
}

.section0 .pattern .flower{
    width:100%;
    position: absolute;
    bottom:0;
    z-index: 2;
}

.section0 .pattern .flower img{
    width:100%;
    display: block;
}

.section0 .pattern .rabbitear{
    width:20%;
    height:auto;
    position: absolute;
    bottom:7vw;
    left:1%;
    z-index: 1;
    animation: rabbitear 2.5s linear infinite;
}

@keyframes rabbitear {
    0%{
        transform: scale(1,1);
    }

    30%{
        transform: scale(1,1);
    }

    34%{
        transform: scale(1.2,0.9);
    }

    38%{
        transform: scale(1,1);
    }

    42%{
        transform: scale(1.2,0.9);
    }

    46%{
        transform: scale(1,1);
    }

}

.section0 .pattern .rabbitear img{
    width:100%;
    height:auto;
}

/* section1 */
.section1{
    width:100%;
    height:auto;
}

.section1 .container{
    width:90%;
    margin: auto;
}

.section1 .content{
    width:100%;
    height:auto;
    background-color: white;
    margin-top:5%;
    margin-bottom: 5%;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.section1 .content .textbox{
    max-width: 400px;
    min-width: 400px;
    padding: 50px;
}

.section1 .title{
    font-family: 'Noto Sans TC', sans-serif;
    font-weight: 700;
    font-size: 2rem;
    line-height: 3rem;
    width:100%;
    text-align: center;
    margin-bottom: 2rem;
}

.border{
    width:50%;
    border-bottom: 1px #E95513 solid;
    margin: auto;
}

.section1 .text{
    text-align: justify;
    font-family: 'Noto Sans TC', sans-serif;
    font-weight: 100;
    font-size: 1.2rem;
    line-height: 2rem;
    margin-top: 2rem;
    color:#3e3e3e;
}

.section1 .text .fontweight{
    font-weight: 500;
    color:#000000;
}

.section1 .content .img{
    width:70%;
    height:auto;
}

.section1 .content .img img{
    width:100%;
    height:auto;
}

.section1 .content:nth-child(1),.section1 .content:nth-child(3){
    flex-direction: row;
}

.section1 .content:nth-child(2){
    flex-direction:row-reverse;
}

/* section2 */

.section2{
    width:100%;
    height:auto;
    background-color: #e957131a;
    padding-top: 100px;
    padding-bottom: 100px;
}

.section2 .container{
    width:90%;
    margin: auto;
}

.section2 .content{
    width:100%;
}

.section2 .content:nth-child(2){
    margin-top: 100px;
}

.section2 .textbox{
    width:100%;
    background-color: #ffffff;
    display: flex;
    align-items: flex-start;
    justify-content:space-between;
    padding: 50px;
    box-sizing: border-box;
    margin-bottom: 10px;
}

.section2 .title{
    font-family: 'Noto Sans TC', sans-serif;
    font-weight: 700;
    font-size: 2rem;
    line-height: 3rem;
    width:35%;
    text-align: center;
}

.section2 .title span{
    display: inline-block;
}

.section2 .text{
    width:60%;
    text-align: justify;
    font-family: 'Noto Sans TC', sans-serif;
    font-weight: 100;
    font-size: 1.2rem;
    line-height: 2rem;
    color:#3e3e3e;
}

.section2 .img{
    width:100%;
    height:auto;
}

.section2 .img img{
    width:100%;
    height:auto;
}

/* contact */
.contact{
    width:100%;
    background-image: url(contactbg.jpg);
    background-color: #000000;
    background-size: cover;
    background-position: center;
    padding-top: 100px;
    padding-bottom: 100px;
}

.contact .title{
    color:white;
    font-family: 'Noto Sans TC', sans-serif;
    font-weight: 700;
    font-size: 2rem;
    line-height: 3rem;
    width:100%;
    text-align: center;
    margin-bottom: 30px;
}

.contact .container{
    width:80%;
    margin: auto;
    display: flex;
    flex-direction: row;
    align-items: flex-start;
    justify-content: space-between;
}

.contact .contactform{
    width:48%;
    height:auto;
}

.formtext{
    color:white;
}

input, textarea, select{
    width:100%;
    height:50px;
    padding: 12px;
    text-indent: 12px;
    border: 1px solid #ffffff;
    box-sizing: border-box;
    background-color: transparent;
    margin: 10px 0;
    color: rgba(255, 255, 255, 0.666);
    border-radius:2px;
}

#agree{
    height:1.2rem;
}

option{
    color:black;
}

textarea{
    height:200px;
}

input:focus, textarea:focus, select:focus{
    outline: none;
}

::placeholder {
    color: rgba(255, 255, 255, 0.666);
    opacity: 1; /* Firefox */
}

.contact .contactinfor{
    width:48%;
    color: white;
    font-family: 'Noto Sans TC', sans-serif;
    font-weight: 100;
    font-size: 1.2rem;
    line-height: 2rem;
}

.contactinfor span{
    display: inline-block;
}

.policy{
    color:white;
    font-size: 1rem;
}


.googlemap{
    width:80%;
    height:400px;
    margin-top: 50px;
    margin-left: auto;
    margin-right: auto;
}

footer{
    height:50px;
    width:100%;
    background-color: #29292c;
    display: flex;
    justify-content: center;
    align-items: center;
    color:#808080;
}

.submitbutton{
    border: none;
    width:100%;
    color: white;
    padding: 15px 32px;
    background-color: #E95513;
    margin-top: 50px;
    font-family: 'Noto Sans TC', sans-serif;
    font-weight: 100;
    font-size: 1.2rem;
}

/* thankspage */

.thankspage{
    width:100%;
    height:100vh;
    background-color: #E95513;
    position:relative;
    overflow: hidden;
}

.thanksinfor{
    position: absolute;
    top:45%;
    left:50%;
    transform: translate(-50%,-50%);
}

.thanksinfor .text{
    color:white;
    font-family: 'Noto Sans TC', sans-serif;
    font-size: 2.5rem;
    text-align: center;
}

.thanksinfor .text span{
    display: inline-block;
}

.thanksinfor .backindexbottom{
    color:white;
    width:50%;
    font-family: 'Noto Sans TC', sans-serif;
    font-size: 2rem;
    text-align: center;
    padding: 12px;
    border: 1px white solid;
    margin-top: 50px;
    margin-left: auto;
    margin-right: auto;
}

.thankspage .pattern{
    position: absolute;
    width:100%;
    bottom:0;
}

.thankspage .pattern .flower{
    width:100%;
    position: absolute;
    bottom:0;
    z-index: 2;
}

.thankspage .pattern .flower img{
    width:100%;
    display: block;
}

.thankspage .pattern .rabbitear{
    width:20%;
    height:auto;
    position: absolute;
    bottom:7vw;
    left:1%;
    z-index: 1;
}

.thankspage .pattern .rabbitear img{
    width:100%;
    height:auto;
}

@media only screen and (max-width: 1420px){
    html{
      font-size: 12px;
    }

    .section1 .content .textbox{
        max-width: 350px;
        min-width: 350px;
        padding: 40px;
    }
}


@media only screen and (max-width: 1280px){
    html{
      font-size: 11px;
    }

    .section1 .content .textbox{
        max-width: 300px;
        min-width: 300px;
        padding: 30px;
    }

    .contact .container{
        width:90%;
    }

    .contact .googlemap{
        width:90%;
    }
}

@media only screen and (max-width: 768px){
    .iconbox{
        width:100%;
        bottom:0;
        top:auto;
        flex-direction: row;
        border-radius: 10px 10px 0 0;
    }
    .icons{
    width:33vw;
    height:15vw;
    box-sizing: border-box;
    }
    .icons img{
    height:80%;
    width:auto;
    }
    .icons:first-child,.icons:nth-child(2){
    border-right: 1px solid #b08a51;
    }

    .section0{
        height:180vw;
        background-image: none;
        background-color: #E95513;
    }

    .section0 .logobox{
        width:80%;
        top:40%;
    }

    .section0 .logobox > .logo {
        width: 100%;
    }

    .section0 .logo img.logo{
        margin-left: 0;
    }

    .section0 .logo img.phone{
        width: 80%;
    }

    .section0 .pattern{
        width:200%;
    }

    .section0 .pattern .rabbitear{
        bottom:15vw;
        left:2%;
    }

    .section1 .content:nth-child(1),.section1 .content:nth-child(2),.section1 .content:nth-child(3){
        flex-direction: column;
    }

    .section1 .content .textbox{
        max-width: 100%;
        min-width: 100%;
        padding: 30px;
        box-sizing: border-box;
    }

    .section1 .content .img{
        width:100%;
        
    }

    .section2 .textbox{
        width:100%;
        flex-direction: column;
    }

    .section2 .title{
        width:100%;
    }

    .section2 .text{
        width:100%;
        margin-top: 20px;
    }

    .contact .container{
        flex-direction: column;
    }

    .contact .contactform{
        width:100%;
    }

    .contact .contactinfor{
        width:100%;
        margin-top: 50px;
    }

    .desktop {
        display: none;
    }
    
    .mobile{
        display: block;
    }

    .thankspage .pattern{
        width:200%;
    }

    .thankspage .pattern .rabbitear{
        bottom:15vw;
        left:2%;
    }

    .thanksinfor .text{
        font-size: 1.5rem;
        text-align: center;
    }
    
    .thanksinfor .backindexbottom{
        font-size: 1.2rem;
    }
}


