﻿* {
    margin: 0;
    padding: 0;
    -webkit-box-sizing: border-box;
}

html {
    font-family: Microsoft Jhenghei, Helvetica, Arial, Geneva, sans-serif, Helvetica Neue;
    -webkit-text-size-adjust: none;
    font-size: 15px;
    line-height: 24px;
}

body {
    background-color: #f7f8f8;
}


@media screen and (min-width: 600px) { /*桌機*/
    #WRAPPER {
        max-width: 1000px;
        margin: 0 auto;
        overflow: hidden;
    }

    #header {
        width: 100%;
        height: 200px;
        background-color: #FFFFFF;
        background-image: url(../images/header1.png);
        background-repeat: no-repeat;
    }

    #content {
        background-color: #fff;
        padding: 50px 100px;
    }

    #footer {
        background-color: #efefef;
        padding: 30px;
    }

    /*區塊*/
    .title {
        font-size: 30px;
        color: #ea5420;
        margin-bottom: 20px;
        font-weight: bold;
        border-left-width: 5px;
        border-left-style: solid;
        border-left-color: #FC0;
        padding-left: 20px;
    }

    .note {
        /*border: 1px solid CCCC;*/
        padding: 20px;
        margin-bottom: 50px;
        background-color: #fffbc7;
    }

    .note2 {
        /*border: 1px solid CCCC;*/
        padding: 20px;
        background-color: #fffbc7;
    }

    /*form*/
    .form1 {
        width: 50%;
        padding: 5px;
        font-size: 20px;
    }

    .form2 {
        width: 50%;
        height: 40px;
        line-height: 40px;
        font-size: 15px;
    }

    .form3 {
        width: 30%;
        height: 40px;
        line-height: 40px;
        font-size: 20px;
    }
}


@media screen and (max-width: 599px) { /*手機*/

    #WRAPPER {
        width: 100%;
    }

    #header {
        width: 100%;
        height: 100px;
        background-color: #FFFFFF;
        background-image: url(../images/header2.png);
        background-repeat: no-repeat;
        background-color: #fdd000;
        background-position: center;
    }

    #content {
        width: 100%;
        background-color: #fff;
        padding: 10px 10px 20px 10px;
    }

    #footer {
        width: 100%;
        background-color: #efefef;
        padding: 10px;
    }

    /*區塊*/
    .title {
        font-size: 25px;
        color: #ea5420;
        margin-bottom: 10px;
        font-weight: bold;
        text-align: center;
    }

    .note {
        /*border: 1px solid #CCC;*/
        padding: 20px;
        margin-bottom: 10px;
        background-color: #fffbc7;
    }

    .note2 {
        /*border: 1px solid #CCC;*/
        padding: 20px;
        margin-bottom: 10px;
        background-color: #fffbc7;
    }

    /*form*/
    .form1 {
        width: 100%;
        padding: 5px;
        font-size: 20px;
    }

    .form2 {
        width: 100%;
        height: 40px;
        line-height: 40px;
        font-size: 15px;
    }

    .form3 {
        width: 30%;
        height: 40px;
        line-height: 40px;
        font-size: 20px;
    }
}

/*-----共用-----*/

/*表格*/
.grid1 {
    border-right-width: 1px;
    border-bottom-width: 1px;
    border-right-style: solid;
    border-bottom-style: solid;
    border-right-color: #CCC;
    border-bottom-color: #CCC;
}

    .grid1 td {
        padding: 5px;
        border-top-width: 1px;
        border-left-width: 1px;
        border-top-style: solid;
        border-left-style: solid;
        border-top-color: #CCC;
        border-left-color: #CCC;
    }

.grid1_1 {
    width: 35%;
    text-align: right;
}

.grid1_2 {
    width: 20%;
    text-align: right;
}

.grid2 {
    padding-bottom: 10px;
}

.grid3 {
    width: 100px;
    margin: auto;
    margin-top: 20px;
}

.grid4 {
    margin-top: 5px;
}

/*字型*/
.WB20 {
    font-size: 20px;
    font-weight: bold;
}

.pinkW {
    color: #EE7F9A;
}

.redW {
    color: #F00;
}

.red20W {
    color: #F00;
    font-size: 20px;
    font-weight: bold;
}

/*按鈕*/
.btn1 {
    width: 145px;
    height: 40px;
    line-height: 40px;
    text-align: center;
    color: #FFF;
    font-size: 15px;
    font-weight: bold;
    font-family: "Microsoft Jhenghei", Helvetica, Arial, Geneva, sans-serif, "Helvetica Neue";
    background-color: #FC7A3C;
    -webkit-border-radius: 5px;
    -moz-border-radius: 5px;
    border-radius: 5px;
    display: block;
}

    .btn1 a {
        text-decoration: none;
        display: block;
        color: #FFF;
    }

        .btn1 a:hover {
            text-decoration: none;
            display: block;
            color: #FFF;
        }

/*連結*/
a {
    color: #FC7A3C;
}

    a:hover {
        color: #FC7A3C;
    }
