@charset "utf-8";

/* CSS Document */

input[type*="text"]:focus,
textarea:focus,
input[type*="password"]:focus {
    background-color: #ffbacb !important
}
a:focus {
    outline: 2px #b90909 dotted !important;
}
dd:before {
    content: none;
}

img {
    max-width: 100%;
    height: auto;
    vertical-align: middle;
}

img[src*="bar.gif"] {
    height: 8px;
}

img[src*="b_bar.gif"] {
    max-width: 180px
}

body {
    font-family: 微軟正黑體;
    background: #fff;
    position: relative;
    overflow-x: hidden;
}

body * a:hover {
    transition: all 0.2s;
    -moz-transition: all 0.2s;
    /* Firefox */
    -webkit-transition: all 0.2s;
    /* Chrome&Safari */
}

select,
input[type*="text"],
textarea {
    border: 1px solid #cecece;
    box-shadow: inset 0 1px 0.25rem rgba(0, 0, 0, 0.1);
}

body,
div,
dl,
dt,
dd,
ul,
h1,
h2,
h3,
h4,
h5,
h6,
pre,
code,
form,
fieldset,
legend,
input,
textarea,
p,
blockquote,
th,
td,
label {
    margin: 0;
    padding: 0;
}

body,
html {
    width: 100%;
    height: 100%;
}
iframe{width: 100%;}
iframe,
img {
    border: 0;
}

ul {
    list-style: none;
}

.clear {
    clear: both
}

.clearfix:before,
.clearfix:after {
    content: "";
    display: table;
}

.clearfix:after {
    clear: both;
}


* {
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
}
a {
}

.clean {
    clear: both;
}

.center {
    text-align: center !important;
}

input[type="radio"],
input[type="checkbox"] {
    margin: 0 4px;
}

#FontSizeArea {
    background:#f6f4da;
}

.bottom_bg {
    background: url(../in_images/bottom_bg.png) no-repeat center bottom;
    width: 100%;
    height: 1035px;
    position: relative;
    margin-top: -76px;
    z-index: 1;
}



.grass {
    background: url(../in_images/grass.png) no-repeat center bottom;
    position: absolute;
    width: 507px;
    height: 117px;
    bottom: 132px;
    left: 0;
    z-index: 10;
}

.teacher {
    background: url(../in_images/teacher.png) no-repeat center bottom;
    position: absolute;
    width: 398px;
    height: 451px;
    bottom: 88px;
    left: 375px;
    z-index: 10;
}



.child_top {
    background: url(../in_images/child_top.png) no-repeat center bottom;
    position: absolute;
    width: 810px;
    height: 377px;
    bottom: 100px;
    right: 0;
    z-index: 10;
    display: block;
}


.childKite {
    background: url(../in_images/childKite.png) no-repeat -450px bottom;
    width: 450px;
    height: 424px;
    position: absolute;
    top: 207px;
    left: 319px;
    animation: childKite .7s steps(2) infinite; 
}

.childPlay {
    background: url(../in_images/childplay.png) no-repeat left;
    display: block;
    width: 487px;
    height: 253px;
    position: absolute;
    bottom: 304px;
    right: 595px;
    animation: childPlay .7s steps(4) infinite; 
}




/* menu*/

.menu2 {
    display: none
}

#main_menu {
    margin: 35px 0px 0px 0px;
}

#main_menu .menu2 li a {
    padding-right: 2rem;
    word-break: break-all;
}


.top_menu {
    width: 100%;
    max-width: 1200px;
    margin: auto;
    text-align: center;
    padding: 0px 0px 0px 40px;
    position: relative;
    display: table;
    justify-content: space-between;
    z-index: 50;
}


.top_menu li {
    display: table-cell;
    position: relative;
}
.top_menu>li>a{
    display: block;
    width: 100%;
    height: 100%;
}
.menu01 {
    background: url(../images/menu01.png) no-repeat;
    width: 226px;
    height: 150px;
    transition: all 0.2s;
}
.menu02 {
    background: url(../images/menu02.png) no-repeat;
    width: 226px;
    height: 150px;
    transition: all 0.2s;
}
.menu03 {
    background: url(../images/menu03.png) no-repeat;
    width: 273px;
    height: 150px;
    transition: all 0.2s;
}
.menu04 {
    background: url(../images/menu04.png) no-repeat;
    width: 226px;
    height: 150px;
    transition: all 0.2s;
}


/* 二級選單顯示於一級選單的正下方 */

.top_menu ul {
    width: 100%;
    position: absolute;
    z-index: 9999;
    list-style: none;
    top: 155px;
    left: 0;
    text-align: left;
    display:block;
    width: 270px;
    height: 253px;
    background: url(../images/sub_menu.png) no-repeat top center;
}

.top_menu ul li {
    width: 100%;
    display: block;
}
.menu03  ul li:nth-child(1){
    height: 93px;
}
.menu03  ul li a{
    display: block;
    width: 100%;
    height: 100%;
    transition: 0s;
   
}

.menu03  ul li:nth-child(1) a:hover,
.menu03  ul li:nth-child(1) a:focus{
    background: url(../images/sub_menu-.png) no-repeat top center;
}



.menu03  ul li:nth-child(2){
    height: 81px;
}

.menu03  ul li:nth-child(2) a:hover,
.menu03  ul li:nth-child(2) a:focus{
    background: url(../images/sub_menu-.png) no-repeat top -93px center;
}
.menu03  ul li:nth-child(3){
    height: 79px;
}
.menu03  ul li:nth-child(3) a:hover,
.menu03  ul li:nth-child(3) a:focus{
    background: url(../images/sub_menu-.png) no-repeat top -174px center;
}



/* page*/

h2 {
}

.ace {
    color: #ccc;
    font-size: 84%
}


#header {
    position: relative;
}

#header .top {
    max-width: 1200px;
    margin: auto;
    position: relative;
    padding: 1em;
}

#logo {
    float: left
}

#logo a {
    display: inline-block;
}


.place {
    color: #333;
    display: inline-block;  
    font-size: 95%;
    position: absolute;
    left: 230px;
    margin: 5px 0;
}

.place li {
    display: inline-block
}

.place a {
    color: #333;
    display: inline-block;
}
.type_word a.active,
.type_word a:hover,
.type_word a:focus,
.menu_nav a:hover,
.place a:hover,
.place .on {
    color: #f00;
}

.content_txt a,
.gallery_list a {
    display: inline;
}

.article {
    min-height: 290px;
}

.txt b,
strong {
    line-height: normal;
}

.txt ul {
    list-style: disc;
    padding-left: 40px;
}

.txt p {
    margin: 0;
    word-wrap: break-word;
}



#div_content {
    color: #333;
    margin: 10px 0px 30px 0px;
}
.article_title {
    position: relative;
}
.title_img {
    margin: -60px 0px 0px -15px;
    display: inline-block;
}
.title_img p {
    color: #a66a42;
    display: none;
    font-size: 125%;
    font-weight: bold;
    text-shadow: rgb(228, 211, 199) 4px 4px 4px;
}
.title_sub {
    display: inline-block;
    position: absolute;
    right: 20px;
    top: -22px;
}
.title_sub li {
    display: inline-block;
    margin-right: 25px;
    position: relative;
}
.title_sub li a {
    display: block;
    height: 100%;
}
.title1-1 {
    background: url(../images/title1-1.png) no-repeat;
    width: 107px;
    height: 147px;
}
.title1-1_,
.title1-1:hover {
    background: url(../images/title1-1_.png) no-repeat;
    top: -23px;
}
.title1-2 {
    background: url(../images/title1-2.png) no-repeat;
    width: 107px;
    height: 147px;
}
.title1-2_,
.title1-2:hover {
    background: url(../images/title1-2_.png) no-repeat;
    top: -23px;
}
.title2-1 {
    background: url(../images/title2-1.png) no-repeat;
    width: 107px;
    height: 147px;
}
.title2-1_,
.title2-1:hover {
    background: url(../images/title2-1_.png) no-repeat;
    top: -23px;
}
.title2-2 {
    background: url(../images/title2-2.png) no-repeat;
    width: 107px;
    height: 147px;
}
.title2-2_,
.title2-2:hover {
    background: url(../images/title2-2_.png) no-repeat;
    top: -23px;
}
.title2-3 {
    background: url(../images/title2-3.png) no-repeat;
    width: 107px;
    height: 147px;
}
.title2-3_,
.title2-3:hover {
    background: url(../images/title2-3_.png) no-repeat;
    top: -23px;
}

.rwd_main {
    display: none;
}


.menu_navigation {
    float: right
}

.menu_nav {
    margin-bottom: 5px
}

.menu_nav a {
    display: inline-block;
    font-size: 95%;
    color: #000
}

.menu_nav a:hover {
    color: #b43939
}



/*按鈕選單*/

.b_main {
    position: absolute;
    right: 0;
    top: 20px;
    display: none;
}

.b {
    width: 30px;
    height: 20px;
    position: absolute;
    top: 5px;
    right: 10px;
    transition: .2s;
    cursor: pointer;
}

.b i {
    width: 30px;
    height: 20px;
    position: absolute;
    display: block;
    height: 2px;
    background: #000;
    border-radius: 2px;
    transition: .2s;
}

.b1 {
    width: 25px;
    top: 0;
    left: 0;
}

.b2 {
    width: 25px;
    top: 8px;
    left: 0;
}

.b3 {
    width: 25px;
    top: 16px;
    left: 0;
}

.b.on .b1 {
    top: 0;
    left: 0;
    width: 25px;
    transform: translateY(10px) rotate(45deg);
}

.b.on .b3 {
    width: 25px;
    transform: translateY(-6px) rotate(-45deg);
}

.b.on .b2 {
    width: 0;
}


.menu_icon {
    position: absolute;
    top: 5px;
    right: 10px;
}

.menu_icon:before {
    content: "\f067";
    font-family: FontAwesome;
    font-size: smaller;
}

.menu_icon-:before {
    content: "\f068";
}


.menu2 li {
    position: relative;
}

.menu2>li {
    margin-top: 5px;
}

.menu2 li>a {
    display: block;
    color: #000;
    padding: 8px 5px 8px 30px;
    font-size: 1.125em;
    position: relative;
}


.menu2 li>a:before {
    content: "\f105";
    position: absolute;
    top: 10px;
    left: 16px;
    font-family: FontAwesome;
    font-size: smaller;
    transition: all 0.3s;
}


.menu2>li>a:hover {
    color: #fff;
    background-color: #c65037;
}

.menu2 span {
    font-size: 30%;
}

.menu2 ul {
    display: none;
    margin-top: 1px;
    padding: 0;
}

.menu2 .sub_sub2>li,
.menu2 .sub_sub>li {
    border-bottom: #f5e9d1 2px dotted;
}

.menu2 .sub_sub2>li:last-of-type,
.menu2 .sub_sub>li:last-of-type {
    border-bottom: 0;
}

.sub_menu2 {
    position: relative;
}

.menu2 .sub_sub a {
    font-size: 1em;
    color: #353535;
    padding: 5px 5px 5px 48px;
}

.menu2 .sub_sub a:before {
    content: "\f0da";
    top: 7px;
    left: 36px;
}


.menu2 .sub_menu2->a,
.menu2 .sub_sub a:hover {

background-color: #c65037;

color: #fff;
}

/*動畫效果*/
@keyframes childPlay {
    100% { background-position: -1948px; }
}

@keyframes childKite {
    100% { background-position: -1350px; }
}









.hvr-shrink:hover, .hvr-shrink:focus, .hvr-shrink:active {
transform: translate(0, -10px) ;
}


.menu01:hover{
     background: url(../images/menu01_1.png) no-repeat;
}

.menu02:hover{
    background: url(../images/menu02_2.png) no-repeat;
}

.menu03:hover{
    background: url(../images/menu03_3.png) no-repeat;
}

.menu04:hover{
    background: url(../images/menu04_4.png) no-repeat;
}










.Gotop a {
    display: none;
}

#footer {
    background: url(../images/footer_bg.png) no-repeat;
    height: 159px;
    color: #000;
    padding: 0;
    line-height: 180%;
    position: relative;
    margin-top: -159px;
    z-index: 50;
}

#footer_main {
    background: #fff;
    width: 100%;
    margin: auto;
    padding: 1em 0;
}



.footer_main {
    max-width: 1200px;
    margin: auto;
    text-align: center;
    padding: 50px 0 0 0;
}

.footer_img,
.footer_word {
    display: inline-block;
    vertical-align: middle;
    text-align: left
}

.footer_word {
    white-space: nowrap;
    padding-left: 40px;
}

.footer_word span {
    color: #000000;
    font-weight: bold;
}



#footer .footer_bth a {
    color: #FFF
}

#footer a {
    display: inline-block;
    color: #900;
}

#footer a:hover {
    color: #fff;
}

.footer_img a {
    padding: 0 10px;
}



.no_txt {
    /*<noscript>標籤用*/
    font-weight: bold;
    color: #F00;
}


.w100 {
    width: 100%
}

.w90 {
    width: 90%
}

.w80 {
    width: 80%
}

.w70 {
    width: 70%
}

.w60 {
    width: 60%
}

.w55 {
    width: 55%
}

.w50 {
    width: 50%
}

.w40 {
    width: 40%
}

.w30 {
    width: 30%
}

.w25 {
    width: 25%
}

.w20 {
    width: 20%
}

.w15 {
    width: 15%
}

.w10 {
    width: 10%
}
.w9 {
    width: 9%
}.w8 {
    width: 8%
}.w7 {
    width: 7%
}.w6 {
    width: 6%
}.w5 {
    width: 5%
}.w4 {
    width: 4%
}

/*-------------------------txt---------------------*/
.txt {
    padding: 20px 20px 50px 20px;
    line-height: 180%;
}
.txt img {
    margin: 5px 0px 15px 0px;
}
.txt span {
    color: #ce2c11;
}
.txt a {
    color: #e78500;
}
.txt a:hover {
    color: #ce2c11;
}










.sr-only {
    position: absolute;
    width: 0.063rem;
    height: 0.063rem;
    padding: 0;
    margin: -0.063rem;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    border: 0;
}

.sr-only-focusable:active,
.sr-only-focusable:focus {
    position: static;
    width: auto;
    height: auto;
    margin: 0;
    overflow: visible;
    clip: auto;
}





.Gotop {
    width: auto;
    height: auto;
    background: #c65037;
    border-radius: 50%;
    position: fixed;
    bottom: 12%;
    right: 2%;
    opacity: 0.7;
    z-index: 999;
}
.Gotop a {
    color: #fff;
    padding: 0.2em 0.5em;
    text-align: center;
    display: block;
}
.Gotop a:before {
    content: "\f0d8";
    font-family: FontAwesome;
    font-size: 1.5em;
    transition: all 0.3s;
    display: block;
    line-height: 20px;
}

.m_20 {
    margin-bottom: 20px
}

.m_30 {
    margin-bottom: 30px
}

.m_40 {
    margin-bottom: 40px
}

.m_50 {
    margin-bottom: 50px
}

.m_60 {
    margin-bottom: 60px
}

.m_70 {
    margin-bottom: 70px
}

.m_80 {
    margin-bottom: 80px
}

.m_90 {
    margin-bottom: 90px
}

.w1200{
   max-width: 1200px;
   margin: 0 auto;
}