/* == 共用區 ============================================================================= */

@charset "utf-8";
/* CSS Document */

* {
    margin: 0;
    padding: 0;
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
}

html {
    width: 100%;
    height: 100%;
    font-family: Arial, Helvetica, "微軟正黑體", sans-serif;
    text-size-adjust: none;
    font-size: 15px;
}

ul {
    margin: 0;
    padding: 0;
    list-style: none;
}

p {
    margin: 0;
    padding: 0;
}


* {
    margin: 0;
    padding: 0;
    -webkit-box-sizing: border-box;
    /*safari & chrome*/
    -moz-box-sizing: border-box;
    /*firebox*/
    box-sizing: border-box;
    /*解除padding影響寬度關係*/
}

/*==選單==*/

.menu {
    margin: 0;
    padding: 0 20%;
    width: 100%;
    height: 60px;
    background-color: rgba(217, 109, 111, .8);
    border-top: 1px solid #FFF;
    position: fixed;
    /*固定位置定位*/
    bottom: 0;
    /*距離上方 0 像素*/
    z-index: 1;
    /*重疊時會在其他元素之上*/
}

.menu ul {
    margin: 0;
    padding: 0;
    width: 1000px;
    height: auto;
    margin: auto;
}

.menu li {
    display: block;
    float: left;
    width: 50%;
    height: 60px;
    line-height: 60px;
    text-align: center;
    font-size: 1.5em;
    color: #FFF;
    border-right: 1px solid #FFF;
}

.menu li:first-child {
    border-left: 1px solid #FFF;
}

.menu li a {
    display: block;
    color: #FFF;
    text-shadow: 2px 0 3px #333;
    text-decoration: none;
    transition: .3s;
    /*動畫速度*/
}

.menu li a:hover {
    transform: scale(1.05, 1.05);
    /*變形效果：放大*/
    background-color: #D95658;
}

/*==選單==*/

/*-------------背景動畫-----------*/

.snowflake {
    font-size: 1.5em;
    font-weight: bold;
    font-family: Arial;
    text-shadow: 1px 1px 1px rgba(254, 78, 31, 0.5);
    color: rgba(255, 255, 255, 0.8);
}

@-webkit-keyframes snowflakes-fall {
    from {
        top: 100%
    }
    to {
        top: -10%
    }
}

@-webkit-keyframes snowflakes-shake {
    0% {
        -webkit-transform: translateX(0px);
        transform: translateX(0px)
    }
    50% {
        -webkit-transform: translateX(80px);
        transform: translateX(80px)
    }
    100% {
        -webkit-transform: translateX(0px);
        transform: translateX(0px)
    }
}


.snowflake {
    position: fixed;
    top: -10%;
    z-index: 9999;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
    cursor: default;
    -webkit-animation-name: snowflakes-fall, snowflakes-shake;
    -webkit-animation-duration: 10s, 3s;
    -webkit-animation-timing-function: linear, ease-in-out;
    -webkit-animation-iteration-count: infinite, infinite;
    -webkit-animation-play-state: running, running;
    animation-name: snowflakes-fall, snowflakes-shake;
    animation-duration: 10s, 3s;
    animation-timing-function: linear, ease-in-out;
    animation-iteration-count: infinite, infinite;
    animation-play-state: running, running;

}

.snowflake:nth-of-type(0) {
    left: 1%;
    -webkit-animation-delay: 0s, 0s;
    animation-delay: 0s, 0s
}

.snowflake:nth-of-type(1) {
    left: 10%;
    -webkit-animation-delay: 1s, 1s;
    animation-delay: 1s, 1s
}

.snowflake:nth-of-type(2) {
    left: 20%;
    -webkit-animation-delay: 6s, .5s;
    animation-delay: 6s, .5s
}

.snowflake:nth-of-type(3) {
    left: 30%;
    -webkit-animation-delay: 4s, 2s;
    animation-delay: 4s, 2s
}

.snowflake:nth-of-type(4) {
    left: 15%;
    -webkit-animation-delay: 2s, 2s;
    animation-delay: 2s, 2s
}

.snowflake:nth-of-type(5) {
    left: 30%;
    -webkit-animation-delay: 8s, 3s;
    animation-delay: 8s, 3s
}

.snowflake:nth-of-type(6) {
    left: 70%;
    -webkit-animation-delay: 6s, 2s;
    animation-delay: 6s, 2s
}

.snowflake:nth-of-type(7) {
    left: 75%;
    -webkit-animation-delay: 2.5s, 1s;
    animation-delay: 2.5s, 1s
}

.snowflake:nth-of-type(8) {
    left: 80%;
    -webkit-animation-delay: 1s, 0s;
    animation-delay: 1s, 0s
}

.snowflake:nth-of-type(9) {
    left: 90%;
    -webkit-animation-delay: 3s, 1.5s;
    animation-delay: 3s, 1.5s
}


/*==內容  head==*/

.head {
    width: 100%;
    height: 597px;
    background-color: #de2575;
      background-position: center;
    background-size: cover;
    background-image: url(../images/page-head.jpg);
}

/*body*/

.body {
    width: 100%;
    height: auto;
    padding: 2% 2% 6% 2%;
    background-color: #fff462;
}

.box {
    width: 1000px;
    height: auto;
    padding: 1% 2%;
    background-color: #fff;
    margin: auto;

}

.box img {
    display: block;
    margin: 0 auto;
    width: 950px;
    height: auto;
    margin-left: -15px;
    margin-bottom: 2%;

}

h2 {
    display: block;
    width: 950px;
    height: auto;
    font-size: 3.3em;
    text-align: center;
    color: #de2575;
    font-weight: bold;

}

span {
    color: #005bac;
}

h3 {
    display: block;
    width: 100%;
    height: auto;
    padding: 5px;
    background-color: #de2575;
    color: #fff;
    font-size: 2em;
    text-align: center;
}

/*con01+con02 甲組消防安全科+甲組海洋巡防科*/

.con01 {
    width: 100%;
    height: auto;
    padding-top: 0.5%;
    padding-bottom: 14%;
    margin: auto;


}

.con02 {
    width: 100%;
    height: auto;
    padding-top: 0.5%;
    padding-bottom: 6%;
    margin: auto;

}

.con04 {
    width: 100%;
    height: auto;
    padding-top: 0.5%;
    padding-bottom: 10%;
    margin: auto;
}

.con05,
.con06 {
    width: 100%;
    height: auto;
    padding-top: 0.5%;
    padding-bottom: 13%;
    margin: auto;

}


.con01 ul,
.con02 ul,
.con04 ul,
.con05 ul,
.con06 ul {
    width: 98%;
    height: auto;
    margin: auto;

}

.con01 ul li,
.con02 ul li,
.con04 ul li,
.con05 ul li,
.con06 ul li {
    width: 12.5%;
    height: auto;
    padding: 5px;
    float: left;
    border-right: 1px dashed #ddd;
}

.con01 ul li:last-child,
.con02 ul li:last-child,
.con03 ul li:last-child,
.con04 ul li:last-child,
.con05 ul li:last-child,
.con06 ul li:last-child {
    border-right: none;
}

.con01 p,
.con02 p,
.con04 p,
.con05 p,
.con06 p {
    width: 100%;
    display: block;
    text-align: center;
    font-size: 1.5em;
    color: #333;
    line-height: 1.5em;
    /*font-weight:bold;*/
}

/*con03*/

.mobile-con03 {
    display: none;
}

.con03 {
    width: 100%;
    height: auto;
    padding-top: 0.5%;
    padding-bottom: 230%;
    margin: auto;


}

.con03 ul {
    width: 98%;
    height: auto;
    margin: auto;
}

.con03 ul li {
    width: 12.5%;
    height: auto;
    padding: 5px;
    float: left;
    border-right: 1px dashed #ddd;
}

.con03 p {
    width: 100%;
    display: block;
    text-align: center;
    font-size: 1.5em;
    color: #333;
    line-height: 1.5em;
    /*font-weight:bold;*/
}

h4 {
    display: block;
    width: 100%;
    height: auto;
    padding: 5px;
    color: #de2575;
    font-size: 1em;
    text-align: center;
}

/* == 手機版型區 ============================================================================= */

@media screen and ( max-width:767px) {
    /*----------手機版-選單-------*/
    .menu {
        margin: 0;
        padding: 0 8%;
        width: 100%;
        height: 60px;
        background-color: rgba(217, 109, 111, .8);
        border-top: 1px solid #FFF;
        position: fixed;
        /*固定位置定位*/
        bottom: 0;
        /*距離上方 0 像素*/
        z-index: 1;
        /*重疊時會在其他元素之上*/
    }

    .menu ul {
        margin: 0;
        padding: 0;
        width: 80%;
        height: auto;
        margin: auto;
    }

    .menu li {
        display: block;
        float: left;
        width: 50%;
        height: 60px;
        line-height: 60px;
        text-align: center;
        font-size: 1.5em;
        color: #FFF;
        border-right: 1px solid #FFF;
    }

    .menu li:first-child {
        border-left: 1px solid #FFF;
    }

    .menu li a {
        display: block;
        color: #FFF;
        text-shadow: 2px 0 3px #333;
        text-decoration: none;
        transition: .3s;
        /*動畫速度*/
    }

    .menu li a:hover {
        transform: scale(1.05, 1.05);
        /*變形效果：放大*/
        background-color: #D95658;
    }

    /*==選單==*/
    /*==(手機)內容  head==*/
    .head {
        width: 100%;
        height: 0;
        padding-bottom: 60%;
        background-color: #de2575;
        background-size: cover;
         background-position: center;
        background-image: url(../images/page-m_head.jpg);

    }

    /*手機版body*/
    .body {
        width: 100%;
        height: auto;
        padding: 2% 2% 20% 2%;
        background-color: #fff462;
    }

    .box {
        width: 90%;
        height: auto;
        padding: 1% 2% 7% 2%;
        background-color: #fff;
        margin: auto;

    }

    .box img {
        display: block;
        margin: 0 auto;
        width: 95%;
        height: auto;
        margin: auto;
        margin-bottom: 2%;

    }

    h2 {
        display: block;
        width: 95%;
        height: auto;
        font-size: 2em;
        text-align: center;
        color: #de2575;
        font-weight: bold;
        line-height: 1.2em;

    }

    span {
        color: #005bac;
    }

    h3 {
        display: block;
        width: 100%;
        height: auto;
        padding: 5px;
        background-color: #de2575;
        color: #fff;
        font-size: 1.6em;
        text-align: center;
    }

    /*手機版-con01+con02 甲組消防安全科+甲組海洋巡防科*/
    .con01 {
        width: 100%;
        height: auto;
        padding-top: 0.5%;
        padding-bottom: 78%;
        margin: auto;


    }

    .con02 {
        width: 100%;
        height: auto;
        padding-top: 0.5%;
        padding-bottom: 27%;
        margin: auto;
   

    }

    .con04 {
        width: 100%;
        height: auto;
        padding-top: 0.5%;
        padding-bottom: 73%;
        margin: auto;
    }

    .con05,
    .con06 {
        width: 100%;
        height: auto;
        padding-top: 0.5%;
        padding-bottom: 78%;
        margin: auto;

    }


    .con01 ul,
    .con02 ul,
    .con04 ul,
    .con05 ul,
    .con06 ul {
        width: 98%;
        height: auto;
        margin: auto;

    }

    .con01 ul li,
    .con02 ul li,
    .con04 ul li,
    .con05 ul li,
    .con06 ul li {
        width: 33%;
        height: auto;
        padding: 5px;
        float: left;
        border-right: 1px dashed #ddd;
    }

    .con01 p,
    .con02 p,
    .con04 p,
    .con05 p,
    .con06 p {
        width: 100%;
        display: block;
        text-align: center;
        font-size: 1.3em;
        color: #333;
        line-height: 1.5em;
        /*font-weight:bold;*/
    }

    /*手機版-con03*/
    .con03 {
        display: none;
    }
    .mobile-con03 {
        display: block;
        width: 100%;
        height: 4950px;
        padding-top: 0.5%;
        padding-bottom: 1.5%;
        margin: auto;


    }

    .mobile-con03 ul {
        width: 98%;
        height: auto;
        margin: auto;

    }

    .mobile-con03 ul li {
        width: 33%;
        height: auto;
        /*  padding: 5px;*/
        padding-top: 0.5%;
        padding-bottom: 8%;
        float: left;
        border-right: 1px dashed #ddd;
       
    }

    .mobile-con03 p {
        width: 100%;
        display: block;
        text-align: center;
        font-size: 1.3em;
        color: #333;
        line-height: 1.5em;
        /*font-weight:bold;*/
    }
    /* .con03 {
    width: 100%;
    height: 4440px;
    padding-top: 0.5%;
    padding-bottom: 1;
    margin: auto;


}

.con03 ul {
   width: 98%;
    height: auto;
    margin: auto;
}

.con03 ul li {
     width: 33%;
    height: auto; 
        padding-top: 0.5%;
    padding-bottom:8%;
    float: left;
    border-right: 1px dashed #ddd;
    background-color: aquamarine
}

.con03 p {
    width: 100%;
    display: block;
    text-align: center;
    font-size: 1.2em;
    color: #333;
    line-height: 1.3em;
 
}*/
    h4 {
        display: block;
        width: 100%;
        height: auto;
        padding: 5px;
        color: #de2575;
        font-size: 1em;
        text-align: center;
    }


}