@import url(https://fonts.googleapis.com/earlyaccess/notosanstc.css);

/* domain-wide */
body { 
	font-size: 100%;
	margin: 5px auto 20px;
	background-color: #333333;
	font-family: Arial, Helvetica, sans-serif;
}
* {
	box-sizing: border-box;
}
.wrapper {
	max-width: 880px;
	min-width: 280px;
	display: -webkit-flex;
	display: flex;
	-webkit-flex-direction: column;
	flex-direction: column;
	-webkit-align-items: center;
	align-items: center;
	margin: auto;
	background-color: #ffffff;
}
img {
	width: 100%;
	height: auto;
	border-width: 0;
	vertical-align: middle;
}
figure {
	overflow: hidden;
}
.myfont0 {
	font-size: 0.6875em;
	line-height: 1.82;
	color: #003366;
	letter-spacing: 5px;
}
.myfont1 {
	font-size: 0.6875em;
	line-height: 1.63;
	color: #006699;
	letter-spacing: 3px;
	text-align: justify;
	text-justify: distribute;
}
.myfont2 {
	font-size: 0.75em;
	line-height: 1.67;
	color: #666666;
}
.myfont3 {
	font-size: 0.75em;
	line-height: 1.67;
	letter-spacing: 3px;
	text-align: justify;
	text-justify: distribute;
}
.myfont4 {
	font-size: 0.6875em;
	line-height: 1.82;
	color: #003366;
	letter-spacing: 5px;
	text-align: justify;
	text-justify: distribute;
}
.myfont5 {
	font-size: 0.75em;
	line-height: 1.67;
	color: #cccccc;
	letter-spacing: 2px;
	text-align: justify;
	text-justify: distribute;
}
h1 {
	font-size: 1.125em;
	line-height: 1.67;
	letter-spacing: 3px;
	margin: 0;
	color: #006699;
}
h2 {
	font-size: 0.9375em;
	line-height: 1.67;
	letter-spacing: 4px;
	margin: 0;
	color: #ffffff;
}

/* navbar */
#nav {
	display: none;
}
.nav {
	width: 100%;
	background-color: #808080; /* For browsers that do not support gradients */
	background-image: -webkit-linear-gradient(#a0a0a0, #808080, #c0c0c0);
	background-image: -moz-linear-gradient(#a0a0a0, #808080, #c0c0c0);
	background-image: -o-linear-gradient(#a0a0a0, #808080, #c0c0c0);
	background-image: linear-gradient(#a0a0a0, #808080, #c0c0c0);
	margin: 0 auto 30px;
	overflow: hidden;
	box-shadow: 0 8px 5px -5px #808080;
}
.nav ul {
	margin: 0;
	padding: 0;
	list-style: none;
}
.nav li {
	width: 12.5%;
	float: left;
	text-align: center;
}
.nav a {
	color: #000000;
	text-decoration: none;
	display: block;
	padding: 20px 0;
	font-size: 1em;
	letter-spacing: 3px;
	font-family: 'Noto Sans TC', sans-serif;
	font-weight: 500;
	text-shadow: 0 1px 0 rgba(255, 255, 255, 0.4);
}
.nav a:hover {
	background-color: #c0c0c0; /* For browsers that do not support gradients */
	background-image: -webkit-linear-gradient(#c0c0c0, #808080,#a0a0a0);
	background-image: -moz-linear-gradient(#c0c0c0, #808080,#a0a0a0);
	background-image: -o-linear-gradient(#c0c0c0, #808080,#a0a0a0);
	background-image: linear-gradient(#c0c0c0, #808080,#a0a0a0);
}

/* header */
.image_full{
	display: block;
}
.image_mobile{
	display: none;
}

/* footer */
footer {
	width: 96.59%;
	text-align: center;
	margin-bottom: 15px;
}
.line {
	background: url(/images/line1.gif) left no-repeat, url(/images/line2.gif) right repeat;
	width: 97.65%;
	margin: 15px auto;
	height: 26px;
}
.hide0 {
	color: #006699;
	text-decoration: none;
}
.container0 {
	font-size: 0.6875em;
	line-height: 1.63;
	color: #006699;
	letter-spacing: 3px;
	display: -webkit-flex;
	display: flex;
	-webkit-flex-wrap: wrap;
	flex-wrap: wrap;
	-webkit-justify-content: center;
	justify-content: center;
}
.space01 {
	width: 6px;
}
.space02 {
	width: 18px;
}
.switch02 {
	display: none;	
}


/* media queries */
@media screen and (max-width: 880px) {
	body{
		margin-bottom: 0;
	}
}
@media screen and (max-width: 689px) {
	.nav a {
		font-size: 0.9em;
	}
	.space02 {
		display: none;	
	}
}
@media screen and (max-width: 640px) {
	.nav a {
		letter-spacing: 2px;
	}
}
@media screen and (max-width: 600px) {
	.nav a {
		letter-spacing: 1px;
	}
}
@media screen and (max-width: 556px) {
	.nav a {
		font-size: 0.8em;
	}
	.wrapper {
		max-width: 556px;
	}
	.image_full {
		display: none;
	}
	.image_mobile {
		display: block;
	}
}
@media screen and (max-width: 500px) {
	.nav-trigger,
	.nav-trigger span {
		display: inline-block;
		transition: .3s ease-in-out;
		box-sizing: border-box;
	}
	.nav-trigger {
		position: absolute;
		z-index: 100;
		top: 20px;
		right: 20px;
		width: 37px;
		height: 30px;
		cursor: pointer;
	}
	.nav-trigger span {
		position: absolute;
		left: 0;
		width: 100%;
		height: 4px;
		background-color: #ffffff;
		border-radius: 4px;
	}
	.nav-trigger span:nth-of-type(1) {
		top: 0;
	}
	.nav-trigger span:nth-of-type(2) {
		top: 13px;
	}
	.nav-trigger span:nth-of-type(3) {
		bottom: 0;
	}
	#nav:checked + .nav-trigger span {
		background-color: #ffffff;
	}
	#nav:checked + .nav-trigger {
		position: fixed;
	}
	#nav:checked + .nav-trigger span:nth-of-type(1) {
		-webkit-transform: translateY(13px) rotate(-45deg);
		transform: translateY(13px) rotate(-45deg);
	}
	#nav:checked + .nav-trigger span:nth-of-type(2) {
		opacity: 0;
	}
	#nav:checked + .nav-trigger span:nth-of-type(3) {
		-webkit-transform: translateY(-13px) rotate(45deg);
		transform: translateY(-13px) rotate(45deg);
	}
	
	.nav,
	.nav ul {
		transition: .3s ease-in-out;
		opacity: 0;
		visibility: hidden;
	}
	.nav {
		position: fixed;
		top: 0;
		left: 0;
		width: 100%;
		height: 100%;
		background-image: none;
		background-color: rgba(0, 0, 0, .7);
	}
	.nav ul {
		position: absolute;
		top: 50%;
		left: 0;
		-webkit-transform: translateY(-40%);
		transform: translateY(-40%);
	}
	.nav li {
		width: 100%;
		margin-top: 1em;
	}
	.nav a {
		position: relative;
		display: inline-block;
		color: #ffffff;
		font-size: 1.5em;
		padding: 0;
		text-decoration: none;
		text-shadow:initial;
	}
	.nav a::after {
		position: absolute;
		bottom: 10px;
		left: 0;
		content: '';
		width: 100%;
		height: 1px;
		background-color: #ffffff;
		opacity: 0;
		transition: .3s ease-in-out;
	}
	.nav a:hover {
		background-color: transparent;
		background-image: none;
	}
	.nav a:hover::after {
		bottom: 0;
		opacity: 1;
	}
	#nav:checked ~ nav,
	#nav:checked ~ nav ul {
		z-index: 50;
		opacity: 1;
		visibility: visible;
	}
	#nav:checked ~ nav ul {
		-webkit-transform: translateY(-50%);
		transform: translateY(-50%);
		transition: .3s ease-in-out .3s;
	}

	.image_mobile {
		box-shadow: 0 8px 5px -5px #808080;
		margin: 0 auto 30px;
	}
}
@media screen and (max-width: 415px) {
	.container0 {
		letter-spacing: 2px;
	}
}
@media screen and (max-width: 375px) {
	.image_mobile {
		margin-bottom: 20px;
	}
	.myfont0 {
		letter-spacing: 3px;
	}
}
@media screen and (max-width: 364px) {
	.space01 {
		display: none;	
	}
}
@media screen and (max-width: 320px) {
	.nav-trigger {
		top: 15px;
		right: 15px;
	}
}
@media screen and (max-width: 285px) {
	.myfont0 {
		font-size: 0.6em;
		letter-spacing: 2px;
	}
	.switch01 {
		display: none;	
	}
	.switch02 {
		display: inline;	
	}
}