﻿@charset "UTF-8";
@import url("https://fonts.googleapis.com/css2?family=Noto+Sans+TC:wght@400;500;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:'微軟正黑體','Comic Sans MS','Noto Sans TC', sans-serif;
	 scroll-behavior: smooth;
}

body{
  font-family: 'Noto Sans TC', sans-serif;
}

 	@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; }
 	@media screen and ( max-width: 768px ){
		#WRAPPER{ min-width:100%;}
	}
	
header{
	clear:both;
	width:100%;
	height:180px;
	margin:0 auto;
	background:url("images/bg.png");
	background-repeat: repeat-x;
	padding: 0;
	text-align:center;
	}	
	

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

section{
	width:750px;
	height:auto;
	overflow:hidden;
	margin:0 auto;
	background:#fee5e5;
	border-top:1px solid #111;
	padding:0 0 80px 0;
	}	
nav{
	height:80px;
	margin-left:160px;
}
nav img{
	margin-right:9px;
}

#TOP-MENU, #SUBMENU{
	display:none;
}


 	@media screen and ( max-width: 768px ){
	
	header{
		height:105px;
		}	
	
		header img{
			width:100%;
		}	
		section{
			width:100%;
			padding:20px 0 30px 0;
			}	
		nav{
			display:none;
		}
		#TOP-MENU{
			display:block;
			width:100%;
		}
		
		#TOP-MENU img{
			width:25px;
			height:20px;
		}
		
		#TOP-MENU #BTN{ /* 製作手機版 左上角的按鈕 */
			position: absolute;
			top:15px;
			left:20px;
			z-index:99999;
		}
		
		#SUBMENU{
			background:none;
			margin-top:15px;
			position:fixed; /* position 可以讓 div 跳脫原本在 HTML 內的位置 */
			top:45px;
			z-index:999;
			width:65%; /* 寬高 100% 整個蓋住 */
			height:768px;
			background-color:#efe8c6;
			display:none; /* 把主選單先關掉 */
			padding-top:20px;
			border-right:#999 solid 1px;
			box-shadow: 2px 2px 2px 1px rgba(0, 0, 0, 0.2);
			padding-left:15px;
			padding-right:15px;
			left:0;
		}
		#SUBMENU li{
			width:100%;
			margin:0;
			padding:15px;
			text-align:left;
			font-size:16px;
			border-bottom:#BBB solid 1px;
		}
		
		#SUBMENU li a {
			font-size: 20px;
			color:#336699;	
			text-decoration:none;
		}
		
		#SUBMENU li ul {
			margin:15px 0 5px 10px;
		}
		
		#SUBMENU li ul li{
			border:none;
			padding:5px 0;
			margin:5px 0;
		}
		
		#SUBMENU li ul li a{
			font-size: 17px;
			text-align:left;
			line-height:1.5;
			padding:5px 0;
		}

		#SUBMENU li ul li a:hover{
        background:#cc3366;
        color:#FFF;
			text-align:left;
    }		

	}
	

section h1{
	font-size:1.685rem;
	color:#e4007f;
	font-weight:500;
	line-height:35px;
}
section h1 img{
	margin-right:5px;
	float:left;
}

section ul{
	width:600px;
	margin:30px auto;
  display: flex; 
  justify-content: space-between;
  align-items: center;
	text-align:center;
}

section ul li img{
	width:180px;
	height:255px;
	border:1px solid #fdaeae;
}

section ul li a img{
	margin-bottom:10px;
}

section ul li span a{
	margin:10px auto;
	display:block;
	background:#ffff00;
	padding: 5px 5px;
	border-radius: 50px;
	text-shadow: -1px -1px 0 #FFF,
              1px -1px 0 #FFF,
              -1px 1px 0 #FFF,
              1px 1px 0 #FFF;
	color:#333;
	font-size:0.925rem;
	font-weight:550;
}


section div{
	width:600px;
	margin:20px auto;
}

section h2{
	font-size:1.385rem;
	color:#e4007f;
	font-weight:600;
	text-align:center;
	line-height:1.5;
}
section p{
	font-size:1rem;
	color:#111;
	line-height:1.8;
	text-align:justify;
}
mark{
	background:none;
	font-weight:550;
	}


section div ul{
  display: block; 
	text-align:left;
}
section div ul li {
	margin:10px 0;
	font-weight:500;
	font-size:1.05rem;
}

section div ul li p{
	margin:5px 0;
	padding-left:20px;
	font-weight:300;
}

section ol {
	width:600px;
	height:auto;
	overflow:hidden;
	margin:0 auto 15px auto;
}

section ol img{
	width:300px;
	height:auto;
	float:left;
}

section ol ul{
	width:290px;
	float:right;
	margin:0;
  display: block; 
	text-align:left;
}

section ol ul li{
	margin:20px 0;
	font-weight:500;
}

section ol ul.right p{
	margin:10px 0;
	line-height:1.5;
	padding-left:0;
	font-size:0.95rem;
	font-weight:40;
}

section div ul.teach{
  display: block; 
	text-align:center;
}
section div ul.teach li {
	margin:10px 0;
	font-weight:500;
	font-size:1.05rem;
}

section ul.resoures{
	width:500px;
}

section ul.service{
	width:400px;
	margin:0 auto;
}
section ul.service a{
	color:#111;
}
iframe{
	width:90%;
	height:400px;
	margin:10px 5% 0 5%;
}

section ul.resoures li{
	background:#ffff00;
	padding:5px 8px;
	border-radius: 10px;
	text-shadow: -1px -1px 0 #FFF,
              1px -1px 0 #FFF,
              -1px 1px 0 #FFF,
              1px 1px 0 #FFF;
}

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

section h1{
	font-size:1.25rem;
}
section h1 img{
	width:10%;
}

section ul{
	width:95%;
	margin:10px auto;
}
section ul li{
	margin:20px auto;
}

section ul li img{
	width:auto;
	height:150px;
}

section ul li a img{
	margin-bottom:10px;
}

section ul li span a{
	text-shadow: -1px -1px 0 #FFF,
              1px -1px 0 #FFF,
              -1px 1px 0 #FFF,
              1px 1px 0 #FFF;
	font-size:0.895rem;
	margin:10px 10px;
}

section div{
	width:95%;
	margin:20px auto;
}

section h2{
	font-size:1.05rem;
}
section p{
	font-size:0.9rem;
}

section div ul{
  display: block; 
	text-align:left;
}
section div ul li {
	font-size:1rem;
}

section div ul li p{
	margin:5px 0;
	padding-left:20px;
	font-weight:300;
}

section ol {
	width:100%;
	margin:0 auto 15px auto;
	text-align:center;
}

section ol img{
	width:70%;
	height:auto;
	float:none;
}

section ol ul{
	float:none;
	margin:0 auto;
	text-align:left;
}


section ol ul.right p{
	font-size:0.925rem;
}


section div ul.teach li {
	font-size:0.95rem;
}

section ul.resoures{
	width:95%;
}
section ul.resoures li{
	margin:5px;
	font-size:0.95rem;
}

section ul.service{
	width:90%;
	font-size:0.9rem;
}
section ul.service li {
	font-size:0.9rem;
}
iframe{
	width:90%;
}

 	
 	}

.organge{
	color:#ea5404;
}
.green{
	color:#22943a;
}
	
	
	
footer{
	clear:both;
	width:100%;
	margin:0 auto;
	height:auto;
	overflow:hidden;
	background:#fdaeae;
	padding:5px 0;
}

footer p{
	font-size:0.8rem;
	text-align:center;
	line-height:1.5;
	color:#FFF;
	text-shadow: -2px -2px 0 #fd8e8e,
              2px -2px 0 #fd8e8e,
              -2px 2px 0 #fd8e8e,
              2px 2px 0 #fd8e8e;
}	
footer p a{
color:#FFF;
	}	
	
footer p a:hover{
text-decoration:underline;
	}	
	
footer span{
	display:block;
}
	
 	@media screen and ( max-width: 768px ){
 		
footer span{
	display:none;
}

footer p{
	font-size:0.75rem;
	line-height:1.3;
	text-shadow: -1px -1px 0 #fd8e8e,
              1px -1px 0 #fd8e8e,
              -1px 1px 0 #fd8e8e,
              1px 1px 0 #fd8e8e;
}	
 		
 		}
	
	
table{
	width:65%;
  border-collapse: collapse;
	border:1px solid #22943a;
	text-align:center;
	margin:10px 0 0 0;
	
}	
table tr, table td{
	font-size:1rem;
	border:1px solid #22943a;
	font-weight:500;
	padding:10px 0;
}

table thead tr td{
	background:#ccffcc;
}
	
table tbody tr{
	background:#ffffcc;
}

table tbody tr:nth-child(even){
  background:#FFF;
}
table tbody td{
	color:#333;
}

	
table.pink{
	width:80%;
	border:2px solid #e4007f;
	margin:15px auto;
}
table.pink tr, table.pink td{
	border:2px solid #e4007f;
	background:#faecd3;
}
table.pink tr, table.pink td:last-child{
	background:#FFF;
}

table.organge{
	width:80%;
	border:1px solid #ea5404;
	margin:25px auto 0 auto;
}

table.organge tr, table.organge td{
	background:none;
	border:none;
	padding:15px 0;
}


table.organge thead{
	color:#ea5404;
}

table.organge tbody{
}

table.organge tbody tr:nth-child(even){
  background:none;
}

table.organge tbody tr td{
  width:30%;
}

table.organge tbody tr td:last-child{
  width:70%;
  background:none;
  text-align:left;
}

table.organge tfoot {
  background:none;
}

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

input[type=radio]{
	height:15px;
	width:15px;
  border: 1px solid #ccc;
  border-radius: 4px;
  box-sizing: border-box;
  margin-right:5px;
  margin-left:5px;
}
input[type=radio]:first-child{
  margin-left:0;
}

form .col_other{
  width:20%;
  }
  
input[type=submit]{
   border: none;
   border-radius: 20px;
   color: #FFFFFF;
    font-weight: bold;
    text-align: center;
 	 letter-spacing: 2px;
    padding: 5px 15px;
    box-shadow: 0 5px 15px #ffc2e5;
  	letter-spacing: 3px;
   cursor: pointer;
		font-size:1rem;
    background: #ea5404;
}


#openModal {
	border:none;
   cursor: pointer;
    border-radius: 10px;
    background: #ff4f81;
    color: #ffffff;
    font-size: 1.15rem;
    font-weight: bold;
    transition-duration: 0.4s;
  letter-spacing: 3px;
  	padding:10px 15px;
  display:inline-block;
  margin-left:5px;
	}
	
#openModal:hover{
	background:#FFF;
    color: #ff4f81;
}

/* 彈跳視窗背景 */
.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 10px 25px 10px;
    border-radius: 10px;
    width: 600px;
    margin: 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;
}


form br{
	display:none;
  }

 	@media screen and ( max-width: 768px ){
 		
table{
	width:95%;
	margin:10px auto;
	
}	
table tr, table td{
	padding:5px ;
}
	
table.pink{
	width:95%;
}
 		
table.organge{
	width:95%;
}

table.organge tr, table.organge td{
	padding:10px 0;
}

input[type=text], input[type=password] {
  width:90%;
	font-size:0.95rem;
}


form br{
	display:block;
  }
form .col_other{
  width:35%;
  margin:10px 5px 0 0;
  }
  

#openModal {
    font-size: 1rem;
 		margin:15px 5px 0 5px;
	}
	


.modal-content {
    width: 100%;
}


 		}

