@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, fREigure, 
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;
	 scroll-behavior: smooth;
}


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

 	@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%;  height:auto;overflow:hidden;
}
	}

header{
	width:100%;
	height:auto;
	overflow:hidden;
	text-align:center;
	background: #fecb10; 
}

header div{
	width:800px;
	margin:0 auto;
}

header img{	
	width:800px;
	}
header h1{
	font-size:3.25rem;
	font-weight:600;
	color:#0062ba;
	position: absolute;
	display:block;
	top:80px;
	margin-left:350px;
	
}

 	@media screen and ( max-width: 768px ){
 	
header{
	text-align:left;
}

header img{	
	width:35%;
	}
	
header h1{
	font-size:1.5rem;
	top:30px;
	margin-left:150px;
	
}

}


article{
	width:100%;
  height:auto;	
  overflow:hidden;
	margin:0 auto;
	text-align:center;		

}

			
section {
  width:950px;
  height:auto;
  overflow:hidden;
  margin:0 auto;
  padding:40px 0 30px 0;
}

section div ul{
	font-size:1.95rem;
	font-weight:500;
	display: grid; /* 預設區塊模式 */
	grid-template-columns: repeat(3, 1fr); /* 固定 3 欄 */
	gap:30px; /* 間距 */
	margin:0 auto;
	padding:0 10px;
}

section div ul li{
	background:#FFF;
	padding:30px 10px;
	border-radius: 10px;
box-shadow: rgba(0, 0, 0, 0.4) 0px 2px 4px, rgba(0, 0, 0, 0.3) 0px 7px 13px -3px, rgba(0, 0, 0, 0.2) 0px -3px 0px inset;
}

section div ul li:hover{
	box-shadow: rgba(0, 0, 0, 0.24) 0px 3px 8px;

}


section div ul a li {
	color:#111;
	padding:30px 10px;
	border-radius: 10px;

}

section div ul a li span{
	display:block;
	margin-bottom:20px;
	font-size:2.5rem;  
	font-weight:650;
  font-family: "Segoe UI", Arial, sans-serif;

}

section div p{
	margin:5px 0;
	line-height:1.5;
	font-size:0.95rem;
}

section div p a{
	margin:5px 0;
	line-height:1.5;
	font-size:0.95rem;
}

section div p a:hover{
text-decoration:underline;
	}	
	
.qrcode{
	width:70px;
	height:auto;
position: absolute;
margin-top:-50px;
margin-left:90px;
}

footer{
	clear:both;
	width:100%;
	margin:0 auto;
	background:#4B3100;
	color:#FFF;
	padding:8px 0;
	text-align:center;
	font-size:0.85rem;
	line-height:1.5;
	}
	
.mobile{
display:none;
}



 	@media screen and ( max-width: 768px ){
 	
section {
  width:100%;
  padding:30px 0 15px 0;
}

section div ul{
	font-size:1.5rem;
	grid-template-columns: repeat(1, 1fr); /* 固定 3 欄 */
	gap:50px; /* 間距 */
}

section div ul li{
	width:80%;
	margin:0 auto;
}

section div ul a li span{
	margin-bottom:15px;
	font-size:2.35rem;  

}
.qrcode{
	display:none;
}

footer span{
	display:block;
}
}
	
/*表格*/
.cefr-table {
  border-collapse: collapse;
  width: 100%;
  text-align: center;
  font-family: "Segoe UI", Arial, sans-serif;
  margin:50px auto 20px auto;
  font-size:1.25rem;
}

.cefr-table th,
.cefr-table td {
  border: 5px solid #FFF;
  padding: 10px;
  background:#e3e3e3;
}

/* 左邊標題列 */
.cefr-table .side {
}

/* CEFR 區塊 */
.cefr-table .prea1 { background: #51c699; color: #fff; }   /* 綠色 */
.cefr-table .a1    { background: #feba32; color: #111; }   /* 橘色 */
.cefr-table .a2    { background: #ff797a; color: #fff; }   /* 紅色 */
.cefr-table .b1    { background: #9174c6; color: #fff; }   /* 紫色 */

/* STYLE/JET / Cambridge 塊 */
.cefr-table .blue   { background: #0d8ce2; color: #fff; }
.cefr-table .yellow { background: #ffef09; color: #111;}


	@media screen and ( max-width: 768px ){
.cefr-table{
 width: 100%;
    display: block;
    overflow-x: auto;
    white-space: nowrap;
		margin:0 auto 30px auto;
    }
	.mobile{
		margin:50px auto 10px auto;
		display:block;
	}
}	
