﻿@charset "UTF-8";

@import url("https://fonts.googleapis.com/css2?family=Noto+Sans+TC:wght@100..900&display=swap");


/* ---reset.css--- */
html, body, div, span, applet, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
a, abbr, acronym, address, big, cite, code,
del, dfn, em, img, ins, kbd, q, s, samp,
small, strike, strong, sub, sup, tt, var,
b, u, i, center,
dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td,
article, aside, canvas, details, embed, 
figure, figcaption, footer, header, hgroup, 
menu, nav, output, ruby, section, summary,
time, mark, audio, video {
	margin: 0;
	padding: 0;
	border: 0;
	font-size: 100%;
	font: inherit;
	vertical-align: baseline;
}
/* HTML5 display-role reset for older browsers */
article, aside, details, figcaption, figure, 
footer, header, hgroup, menu, nav, section {
	display: block;
}
body {
	line-height: 1; 
}
ol, ul, li{
	list-style: none;
}
blockquote, q {
	quotes: none;
}
blockquote:before, blockquote:after,
q:before, q:after {
	content: '';
	content: none;
}
table {
	border-collapse: collapse;
	border-spacing: 0;
}
/* ---reset.css--- */


a { text-decoration:none;}

html {	
	-webkit-text-size-adjust:none;
	font-family:'Noto Sans TC', sans-serif;
	scroll-behavior: smooth;
}

body{
  background: #ec6d7b;
  background-size: 100% 1.5em;
}

 	@media screen and ( max-width: 768px ){
		*{
			box-sizing:border-box; /* 讓 padding 與 width 解除關係 */
		}
		html,body{
			-webkit-text-size-adjust:none; /* iPhone 旋轉後 文字不要放大 */
		}
	}
/* --電腦版型------------------------------------- */

#WRAPPER{
	width:100%; 
	min-width:1000px; 
	margin:0 auto; 
}
	
header{
	clear:both;
	width:100%;
	margin:0 auto;
	background:#727171;
	padding:5px 0;
	}	
	
header img{	
	padding-left:15px;
	}


@media screen and ( max-width: 768px ){
		#WRAPPER{ 
		min-width:100%;
	}
		
		header img{
		width:70%;
		padding-left:5px;
		}	
	
	}


article{
	width:100%;
	margin:0 auto;
	height:auto;
	}

	
#title{
	width:100%;
	height:600px;
	overflow:hidden;
	text-align:center;
	background: url(images/bg.png) no-repeat center / cover;
	}	

#title span{
	width:1200px;
	display:block;
	margin:0 auto;
	}	
	
#title img{
	position: absolute;
	}	
	
#BANNER_m{
	display:none;
	}

@media screen and ( max-width: 768px ){
	article{
		width:100%;
		margin:0 auto;
		height:auto;
		}
	#title{
	display:none;
		}	
		
		#BANNER_m{
		display:block;
		width:100%;
	}
	
		#BANNER_m img{
			width:100%;
			}
}	


section{
	width:100%;
	margin:0 auto;
	height:auto;
  z-index:9999;position: relative;
	}	
	
section div{
	width:100%;
	margin:0 auto;
	height:auto;	
	line-height:1.5;
	}
	
#main{
	width:1200px;
	margin:0 auto;
	line-height:1.5;
	height:2450px;
}

	
#nav-container{
	width:100%;
  position: -webkit-sticky;
  position: sticky;
  font-size: 1.65rem;
  top: 0;
  z-index:9999;
	background: #ec6d7b ;
	padding:15px 0;
}

#nav{
	width:1200px;
    color: #fff;
  	text-decoration: none;
    padding-left:3px;
}
#nav-container #right{
	display:none;
}


#nav a:link, #nav a:visited, #nav a:active{
  text-decoration: none;
  font-weight: 500;
  color: #fff;
  margin:0 25px;
}

#nav a:hover{
   color: #ffff00;
   border-bottom: solid 3px #ffff00;
}

.nav-link{
  transition: all .4s;
}

#nav a.active{
   text-decoration: none;
   color: #FFC125;
   border-bottom: solid 3px #FFC125;
}

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

section{
	position: static;
	}	

#main{
	width:100%;
	height:auto;
}

	
#nav-container{
	height:200px;
  font-size: 1rem;
	padding:5px 0;
}

#nav{
	width:100%;
   padding:0;
}
#nav-container #right{
	display:block;
	position: absolute;
	width:65%;  
	height:auto;
	right:10px;
  border-radius: 10px;
  margin-top:-25px;	
  padding:0;
}

#nav-container #right ul{
	width:100%;  
  padding:5px 0 ;
  text-align:center;
}

#nav-container #right ul li:nth-child(odd){
	width:100%;
	font-size:1.25rem;
	color:#118bc8;
	font-weight:850;
	margin:5px auto;
	padding-bottom:5px;
}
#nav-container #right ul li:nth-child(even){
	font-size:1.25rem;
	color:#118bc8;
	font-weight:850;
}
#nav-container #right ul li:last-child{
	border-bottom:none;
  margin:10px auto 5px auto;
}

#nav-container #right .btn {
    border-radius: 10px;
    font-size: 1.35rem;
  	padding:3px 25px;
}


#nav a{
  display:block;
}

#nav a:link, #nav a:visited, #nav a:active{
  margin:0 5px;
}

}

#left{
	width:800px;
	float:left;
	background:#FFF;
	box-shadow: rgba(0, 0, 0, 0.24) 0px 3px 8px;
	padding:0 20px 10px 20px;
}	
	
:target{
  scroll-margin-top: 50px;
}


#main h1{
	font-size:1.6rem;
	font-weight:400;
	color:#FFF;
	background:#4b4948;
	display:block;
	padding:0 8px 0 0;
}

#main h1 span{
	width:20px;
	height:40px;
	display:inline-block;
	background:#fff100;
	color:#fff100;
	margin-right:15px;
	text-indent:-9999px;
}

#left div {
	width:95%;
	margin:0 0 20px 20px;
	padding-top: 35px;
}

#left div ul {
	width:94%;
	margin:15px auto;
	padding:0 10px;
	font-size:1.15rem;
	font-weight:350;
	
}
#left div ul li{
	margin:12px 0;
	line-height:1.8;
}
#left div ul li span{
	color:#118bc8;
	font-weight:850;
	font-size:1.35rem;
}

#left mark{
	background:#118bc8;
	color:#FFF;
	padding:1px 8px;
	margin-right:12px;
	font-size:1rem;
}


#left a{
	margin:8px 0 0 0;
	padding:3px 8px 3px 8px;
	font-weight:400;
	display:inline-block;
	color:#111;
	background:#e5f5f4;
	box-shadow: rgba(60, 64, 67, 0.3) 0px 1px 2px 0px, rgba(60, 64, 67, 0.15) 0px 2px 6px 2px;
}
#left a:hover{
	background:#CEC;
}

	
#left #teacher {
	height:auto;
}


#left #teacher img{ 
	width:200px;
	height:auto;
	float:left;
	margin:30px 30px 5px 10px;
}

#left #teacher ul {
	width:100%;
	margin:0 15px 0 0;
	padding:0 0 10px 0;
	font-size:1.05rem;
}

#left #teacher ul li{
	margin:10px 0;
}

#freeback div{
	width:680px;
	height:300px;
	margin: 10px auto 0 auto;
	padding:0;
}

#freeback .BOX{
	width:180px;
	height:235px;
	overflow:hidden;
	margin:5px 10px 0 10px;
	padding:10px;
 	border-radius:30px;
	font-size:0.985rem;
  box-shadow: rgba(0, 0, 0, 0.05) 0px 6px 24px 0px, rgba(0, 0, 0, 0.08) 0px 0px 0px 1px;
  font-weight:350;
}


#left #place div  {
	width:98%;
	height:auto;
	overflow:hidden;
	padding:0 0 0 0;
	text-align:center;
	margin:10px auto 0 auto;
	border-bottom:1px solid #CCC;
}


#left #place div ul {
	width:50%;
	margin:0;
	float:left;
	
}

#left #place div ul li span{
	font-size:1.65rem;

}

#left #place div ul li mark{
	font-size:1.25rem;
	background:none;
	color:#BA487F;
	font-weight:550;

}

#left #place ul li{
	padding:0 0 0 0;
	line-height:1;
	font-size:1rem;
	line-height:1.8;
	font-size:1.05rem;
}

#left #place iframe{
	width:350px;
	height:220px;
	margin-top:10px;
}

#left #info ul li{
	font-size:0.95rem;
  text-indent: -1em;
  padding: 0 1em 0 2em;
	margin:5px 0;
}

#right{
	width:330px;  
	height:auto;
	position: -webkit-sticky;
  position: sticky;
  top: 35px;
	float:right;
	background:#FFF;
box-shadow: rgba(0, 0, 0, 0.24) 0px 3px 8px;
  border-radius: 10px;
	padding:35px 0 10px 0;
}


#right ul{
	width:100%;  
  padding: 0 ;
  text-align:center;
}
#right ul li:nth-child(odd){
	width:65%;
	font-size:1.35rem;
	margin:15px auto;
	border-bottom:1px solid #CCC;
	padding-bottom:5px;
}
#right ul li:nth-child(even){
	font-size:1.65rem;
	color:#118bc8;
	font-weight:850;
}
#right ul li:last-child{
	border-bottom:none;
  margin:25px auto;
}

#right .btn {
    border-radius: 4px;
    background: #ff4f81;
    color: #ffffff;
    font-size: 1.95rem;
    font-weight: bold;
    transition-duration: 0.4s;
    box-shadow: 0 5px 15px #193047;
  letter-spacing: 3px;
  	padding:3px 25px;
  display:inline-block;
}

#right .btn:hover {
    background: #ffffff;
    box-shadow: 0px 2px 10px 5px #ffc2e5;
    color: #ff4f81;
}
	
footer{
	clear:both;
	width:100%;
	margin:0 auto;
	background:#3d464d;
	color:#FFF;
	padding:8px 0;
	text-align:center;
	font-size:0.85rem;
	line-height:1.5;
}
footer p a{
	color:#FFF;
}

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

#left{
	width:100%;
	float:none;
	padding:0;
}	
	
:target{
  scroll-margin-top: 200px;
}


#main h1{
	font-size:1.25rem;
	padding:0;
}

#main h1 span{
	height:30px;
}

#left div {
	width:95%;
	margin:0 auto;
	padding-top: 15px; 
	text-align:justify;
}

#left div ul {
	width:100%;
	margin:5px auto;
	padding:5px ;
	font-size:1.05rem;
	
}
#left div ul li{
	margin:5px 0;
}
#left div ul li span{
	font-size:1.25rem;
}

#left mark{
	margin-right:10px;
	font-size:0.85rem;
}

#left a{
	font-size:0.95rem;
}
	
#left #teacher {
	height:auto;
	overflow:hidden;
}

#left #teacher ul {
	width:100%;
	float:none;
	font-size:1rem;
}

#left #teacher ul:last-child {
	width:100%;
	float:none;
}


#left #teacher ul li{
	padding-left:10px;
}

#left #teacher img{ 
	width:120px;
	height:auto;
	float:none;
	margin:10px auto 5px auto;
}


#freeback div{
	width:80%;
	height:260px;
	margin: 10px auto 10px auto;
	padding:0;
}

#freeback .BOX{
	width:80%;
	height:200px;
	font-size:0.9rem;
}


#left #place div  {
	width:100%;
}


#left #place div ul {
	width:100%;
	float:none;
	text-align:center;
	padding:0 0 20px 0;
	border-right:none;
	border-bottom:1px solid #8a7967;
	
}

#left #place div ul li span{
	font-size:1.65rem;

}

#left #place div ul:last-child {
	width:100%;
	float:none;
	padding:10px 0 0 0;
	border-bottom:none;
}

#left #place ul li{
	padding:0 0 0 0;
	line-height:1.2;
}
#left #place div li {
	line-height:1.8;
	font-size:1.05rem;
}

#left #place iframe{
	height:240px;
}

#left #info ul li{
	font-size:0.85rem;
}

#right{
	display:none;
}

footer{
	font-size:0.75rem;
	line-height:1.5;
}

footer span{
	display:block;
}

}


/* Slider */
.slick-slider
{
    position: relative;

    display: block;
    box-sizing: border-box;

    -webkit-user-select: none;
       -moz-user-select: none;
        -ms-user-select: none;
            user-select: none;

    -webkit-touch-callout: none;
    -khtml-user-select: none;
    -ms-touch-action: pan-y;
        touch-action: pan-y;
    -webkit-tap-highlight-color: transparent;
}

.slick-list
{
    position: relative;

    display: block;
    overflow: hidden;
    margin: 0;
    padding: 0;
}

.slick-slide
{
    display: none;
    float: left;
	height:300px;
}

.slick-initialized .slick-slide
{
    display: block;
}


table{
	width:95%;
  border-collapse: collapse;
  margin:30px auto 0 auto;
	font-size:1.25rem;
	text-align: center;
}

table thead{
	font-weight:bold;
	line-height:1.8;
}
	
table tbody{
}

table tbody tr{
  border: solid 1px #EEE;
}

table tbody th{
  width: auto;
  height:auto;
	font-weight:500;
  align-content: center;
	background:#118bc8;
	color:#FFF;
}

table tbody td{
  width: 80%;
  padding: 15px 0 15px 20px;
	color:#333;
	text-align:left;
}
table tfoot td{
  width: 80%;
  padding: 15px 0;
}


input[type=text], input[type=password] {
  width:90%;
  padding: 10px 15px;
  margin:  0;
  display: inline-block;
  border: 1px solid #ccc;
  border-radius: 4px;
	font-size:1.25rem;
}

input[type=radio]{
	height:18px;
	width:18px;
  border: 1px solid #ccc;
  border-radius: 4px;
  box-sizing: border-box;
  margin-right:8px;
  margin-left:8px;
}


input[type=submit]{
   border: 1px solid #FFFFFF;
   border-radius: 8px;
   color: #FFFFFF;
    font-weight: bold;
    text-align: center;
  letter-spacing: 3px;
    transition-duration: 0.4s;
    padding: 5px 25px;
    box-shadow: 0 5px 15px #ffc2e5;
  	letter-spacing: 3px;
  	margin:0 10px 0 10px;
   cursor: pointer;
		font-size:1.5rem;
    background: #ff4f81;
}

table tbody td span{
	float:left;
}

input[type=submit].del{
	padding:3px 5px;
	font-weight:400;
	color:#111;
	background:#CEC;
	font-size:0.95rem;
  box-shadow: none;
  border:1px solid #EEE;
  letter-spacing: 0;
  float:left;
  margin: 2px 0 0 8px;
}

#left table a {
	font-size:1.05rem;
	margin:0 8px ;
	}
	
#left table button {
	border:none;
	background:#118bc8;
	color:#FFF;
	font-size:1.35rem;
   cursor: pointer;
	padding:5px 8px 5px 8px;
	font-weight:550;
	display:inline-block;
	box-shadow: rgba(60, 64, 67, 0.3) 0px 1px 2px 0px, rgba(60, 64, 67, 0.15) 0px 2px 6px 2px;
	
	}
	
/* 彈跳視窗背景 */
.modal {
    display: none;
    position: fixed;
    z-index: 9999;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(5px);
}

/* 彈跳視窗內容 */
.modal-content {
    background: white;
    padding: 10px;
    border-radius: 10px;
    width: 650px;
    margin: 3% auto 5% auto;
    box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.3);
    animation: fadeIn 0.3s ease-in-out;
}

/* 關閉按鈕 */
.close {
    float: right;
    font-size: 24px;
    font-weight: bold;
    cursor: pointer;
}


#navFixed {
  z-index: 999999;          
  position: fixed;
  bottom: 0;
  left: 0;
  min-width: 100%;
	text-align:center;
	background:#FFF;
	padding:10px 0;
box-shadow: rgba(0, 0, 0, 0.1) 0px 10px 50px;
}

#navFixed input[type=submit]{
	font-size:1.655rem;
}

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

table{
	width:100%;
  margin:20px auto 0 auto;
	font-size:0.985rem;
}
	
table td{
  width: 80%;
}

table tbody td{
  width: 80%;
  padding: 15px 0 15px 10px;
}

input[type=text], input[type=password] {
  width:95%;
  padding: 8px;
	font-size:1.05rem;
}
input[type=radio]{
	height:15px;
	width:15px;
  margin-right:5px;
  margin-left:5px;
}


input[type=submit]{
    padding: 5px 15px;
		font-size:1.125rem;
}

#left table a {
	font-size:0.875rem;
	}
	
.modal-content {
    width: 100%;
}

#left table button {
	font-size:1.25rem;
	}


}


#right button {
    border-radius: 4px;
    background: #ff4f81;
    color: #ffffff;
    font-size: 1.95rem;
    font-weight: bold;
    transition-duration: 0.4s;
    box-shadow: 0 5px 15px #193047;
  letter-spacing: 3px;
  	padding:3px 25px;
  display:inline-block;
  border:none;
}

#right button:hover {
    background: #ffffff;
    box-shadow: 0px 2px 10px 5px #ffc2e5;
    color: #ff4f81;
}



form a{
	padding:3px 8px 3px 8px;
	font-weight:400;
	display:inline-block;
	color:#111;
	background:#e5f5f4;
	box-shadow: rgba(60, 64, 67, 0.3) 0px 1px 2px 0px, rgba(60, 64, 67, 0.15) 0px 2px 6px 2px;
	margin:8px 8px 0 8px;
	font-size:0.95rem;
	}
form a:hover{
	background:#CEC;
}




