@font-face {
	font-family: helvetica
	src: url(../assets/fonts/helvetica.woff);
}

@font-face {
	font-family: 'cwTeXHei';
	src: url(../assets/fonts/cwTeXHei-zhonly.woff);
}


html {
	height: 100%;
	font-family: 'cwTeXHei', helvetica;
	font-size: 17px;
}

body {
	width: 100%;
	height: 100%;
	margin: 0px;
	background-image: url(../assets/img/background.jpg);
	background-size: cover;
	background-repeat: no-repeat;
	background-attachment: fixed;
	display: flex;
	flex-flow: column;
}

address {
	font-style: normal;
}

main {
	width: 100%;
	flex: 1 0 auto;
	display: flex;
	flex-flow: column;
}

header {
	height: 80px;
	background: url(../assets/img/background.jpg);
	background-size: cover;
	position: fixed;
	z-index: 2;
	top: 0;
	left: 0;
	right: 0;
	display: flex;
	align-items: center;
	box-shadow: 0px 5px 20px -5px #888888;
	font-size: 1rem;
}

header a {
	text-decoration: none;
	display: flex;
	align-items: center;
}

header img {
	width: 25px;
	height: auto;
	margin-left: 10px;
}

#logo {
	margin-left: 10px;
	display: flex;
	flex-direction: column-reverse;
}

#logo span {
	margin: 5px 0px;
	font-size: 1em;
	font-weight: bold;
	font-family: Verdana;
	color: #2A4777;
}

#logo span:nth-child(1) {
	font-family: 標楷體;
}

#nav-icon {
	width: 30px;
	height: 30px;
	position: absolute;
	right: 20px;
	-webkit-transform: rotate(0deg);
	transform: rotate(0deg);
	-webkit-transition: .5s ease-in-out;
	transition: .5s ease-in-out;
	cursor: pointer;
}

#nav-icon span {
	width: 30px;
	height: 2px;
	display: block;
	position: absolute;
	background: black;
	border-radius: 9px;
	opacity: 1;
	left: 0;
	-webkit-transform: rotate(0deg);
	transform: rotate(0deg);
	-webkit-transition: .25s ease-in-out;
	transition: .25s ease-in-out;
}

#nav-icon span:nth-child(1) {
	top: 5px;
	-webkit-transform-origin: left center;
	transform-origin: left center;
}

#nav-icon span:nth-child(2) {
	top: 15px;
	-webkit-transform-origin: left center;
	transform-origin: left center;
}

#nav-icon span:nth-child(3) {
	top: 25px;
	-webkit-transform-origin: left center;
	transform-origin: left center;
}

#nav-icon.open span:nth-child(1) {
	-webkit-transform: rotate(45deg);
	transform: rotate(45deg);
	top: 4px;
	left: 5px;
}

#nav-icon.open span:nth-child(2) {
	width: 0%;
	opacity: 0;
}

#nav-icon.open span:nth-child(3) {
	-webkit-transform: rotate(-45deg);
	transform: rotate(-45deg);
	top: 25px;
	left: 5px;
}

nav {
	background: #78CAF2;
	-webkit-transition: 0.25s ease-in-out;
	transition: 0.25s ease-in-out;
	-webkit-transform: translateY(-100%);
	transform: translateY(-100%);
	position: fixed;
	top: 0;
	left: 0;
	right: 0;
	z-index: 1;
	font-size: 1.1rem;
}

nav.open {
	-webkit-transform: translateY(80px);
	transform: translateY(80px);
}

nav ul {
	list-style-type: none;
	margin: 0;
	padding: 0;
	overflow-x: hidden;
}

nav a {
	display: inline-block;
	width: 100%;
	padding: 15px 0px;
	color: white;
	text-decoration: none;
	text-align: center;
}

nav a.current {
	background: #2F9ED4;
	pointer-events: none;
	cursor: default;
}

nav a.current::before {
	content: '「';
}

nav a.current::after {
	content: '」';
}

.nav-item:hover {
	-webkit-transition: all 0.8s;
	transition: all 0.8s;
	background: #A5DEF9;
}

.nav-item::before, .nav-item::after {
	display: inline-block;
	opacity: 0;
	-webkit-transition: all 0.3s;
	transition: all 0.3s;
}

.nav-item::before {
	content: '「';
	-webkit-transform: translateX(-10px);
	transform: translateX(-10px);
}

.nav-item::after {
	content: '」';
	-webkit-transform: translateX(10px);
	transform: translateX(10px);
}

.nav-item:hover::before,
.nav-item:hover::after {
	opacity: 1;
	-webkit-transform: translateY(0px);
	transform: translateY(0px);
}

article {
	background-color: #F1FAFF;
	margin-top: 80px;
	padding: 5px 10px;
	flex: 1 0 auto;
	line-height: 1.5;
	box-shadow: 5px 0px 10px #888888, -5px 0px 10px #888888;
	position: relative;
	font-size: 1.5rem;
}

article h1 {
	font-size: 1em;
}

article h2 {
	font-size: 0.8em;
}

article p, article ul, article table {
	font-size: 0.6667em;
}

article p {
	text-indent: 2em;
}

article address {
	margin: 20px 0px;
}

article table {
	width: 100%;
	table-layout: fixed;
}

article table td:nth-child(1) {
	width: 27%;
	text-align: center;
	color: white;
	font-weight: bold;
	background-color: #A5DEF9;
}

article table td:nth-child(2) {
	padding-left: 20px;
}

article a {
	color: #2F9ED4;
}

article a:hover {
	color: white;
	background-color: #78CAF2;
}

#dialog {
	background: #78CAF2;
	color: white;
	border-radius: 15px;
	font-size: 0.8em;
	padding: 10px;
	position: relative;
	margin-top: 20px;
}

#dialog::before {
	content: "";
	width: 0;
	height: 0;
	position: absolute;
	bottom: 100%;
	left: 70%;
	border: solid transparent;
	border-width: 20px;
	border-bottom-color: #78CAF2;
}

#map {
	width: 100%;
	height: 400px;
}

#mascot {
	opacity: 0.2;
	position: absolute;
	right: 0;
	bottom: 0;
	user-select: none;
	pointer-events: none;
}

footer {
	background-color: #8DBFD8;
	color: white;
	flex: 0 1 auto;
	padding: 5px;
	position: relative;
	font-size: 1rem;
}

footer::before {
	content: "";
	position: absolute;
	left: 0;
	top: -20px;
	right: 0;
	background-repeat: repeat-x;
	height: 20px;
	background-size: 40px 40px;
	background-image: radial-gradient(circle at 20px -10px, transparent 24px, #8DBFD8 26px);
}

footer h2 {
	font-size: 1em;
	padding-left: 10px;
}

footer a {
	font-size: 0.9em;
}

footer a:link,
footer a:visited {
	color: white;
}

#lang {
	display: flex;
	align-items: center;
	position: relative;
}

#lang h2 {
	display: inline-block;
}

#lang a {
	margin-left: 10px;
}

#facebook-icon {
	position: absolute;
	right: 5px;
	top: 0px;
	bottom: 0px;
	display: flex;
	align-items: center;
}

#facebook-icon img {
	width: 30px;
	height: 30px;
}

.accordion {
	width: 100%;
	cursor: pointer;
	display: flex;
	align-items: center;
}

.accordion+ul, .accordion+address {
	max-height: 0;
	overflow: hidden;
	-webkit-transition: 0.2s ease-in-out;
	transition: 0.2s ease-in-out;
}

.accordion-open+ul, .accordion-open+address {
	max-height: 1000px;
}

.accordion-indicator {
	width: 25px;
	height: 25px;
	position: absolute;
	right: 10px;
}

.accordion-indicator span {
	width: 15px;
	height: 2px;
	background-color: white;
	display: block;
	position: absolute;
	border-radius: 9px;
	opacity: 1;
	transition: 0.2s ease-in-out;
}

.accordion-indicator span:nth-child(1) {
	top: 12px;
	left: 0px;
	-webkit-transform: rotate(45deg);
	transform: rotate(45deg);
}

.accordion-indicator span:nth-child(2) {
	top: 12px;
	right: 0px;
	-webkit-transform: rotate(-45deg);
	transform: rotate(-45deg);
}

.accordion-open .accordion-indicator span:nth-child(1) {
	-webkit-transform: rotate(-45deg);
	transform: rotate(-45deg);
}

.accordion-open .accordion-indicator span:nth-child(2) {
	-webkit-transform: rotate(45deg);
	transform: rotate(45deg);
}

footer>div>div a {
	display: block;
}

footer ul {
	list-style-type: none;
	margin: 0;
	padding: 0;
	padding-left: 20px;
}

footer ul a {
	padding: 7px 0px;
}

footer address table {
	table-layout: fixed;
	padding-left: 20px;
	font-size: 0.9em;
}

footer address table td {
	padding: 0px;
	vertical-align: middle;
}

footer address table tr {
	height: 30px;
}

footer address td:first-child {
	width: 40px;
}

#copyright {
	display: flex;
	justify-content: flex-start;
	align-items: center;
	font-size: 0.9em;
}

#copyright img {
	width: 30px;
	height: 30px;
}

@media screen and (min-width: 600px) {
	html {
		font-size: 21px;
	}

	header {
		width: 100%;
		flex-shrink: 0;
		position: relative;
		background: initial;
		box-shadow: initial;
	}

	header img {
		width: 30px;
		margin: 10px 20px;
	}

	#nav-icon {
		display: none;
	}

	nav, nav.open {
		width: 100%;
		position: initial;
		transition: initial;
		-webkit-transform: initial;
		transform: initial;
		flex: 0 1 auto;
		font-size: 0.8rem;
	}

	nav ul {
		display: flex;
		flex-flow: row wrap;
		justify-content: flex-start;
	}

	nav li {
		flex: 1 0 0;
	}

	article {
		margin-top: 0px;
		padding: 15px 20px;
		font-size: 1.3rem;
		min-height: 600px;
	}

	article table td:nth-child(1) {
		width: 20%;
	}

	#dialog {
		width: 300px;
		float: right;
	}

	#dialog+h2 {
		clear: both;
	}

	#mascot {
		opacity: 0.35;
	}

	footer {
		font-size: 0.7rem;
	}

	footer>div>div {
		display: flex;
		align-items: flex-start;
		justify-content: space-evenly;
	}

	footer>div>div section {
		flex-grow: 1;
		flex-basis: 0;
	}

	.accordion {
		cursor: initial;
	}

	.accordion+ul, .accordion+address,
	.accordion-open+ul, .accordion-open+address {
		max-height: none;
		-webkit-transition: initial;
		transition: initial;
	}

	.accordion-indicator {
		display: none;
	}

	#copyright {
		margin-top: 10px;
	}
}

@media screen and (min-width: 980px) {
	html {
		min-height: 600px;
		font-size: 28px;
	}

	header, main, footer>div {
		width: 960px;
		margin: 0px auto;
	}

	main {
		position: relative;
	}

	header {
		height: 150px;
		position: relative;
	}

	header img {
		width: 50px;
		margin: 5px 20px;
	}

	nav {
		width: 870px;
		height: 50px;
		max-height: 50px;
		position: absolute;
		top: 80px;
		padding-left: 20px;
		margin-left: -20px;
		font-size: 0.7rem;
	}

	nav::after {
		content: ' ';
		position: absolute;
		width: 0;
		height: 0;
		left: 0px;
		top: 100%;
		border-width: 5px 10px;
		border-style: solid;
		border-color: #666 #666 transparent transparent;
	}

	nav::before {
		content: ' ';
		position: absolute;
		width: 0px;
		height: 0px;
		right: -80px;
		border-width: 25px 40px;
		border-style: solid;
		border-color: #78CAF2 transparent #78CAF2 #78CAF2;
	}

	nav ul::before {
		content: ' ';
		width: 950px;
		height: 5px;
		background: transparent;
		position: absolute;
		bottom: 0px;
		box-shadow: -2px 3px 6px -1px #888888;
		z-index: -1;
	}

	nav li {
		flex: 0 0 130px;
	}

	nav a {
		padding: 15px 0px;
		font-weight: bold;
		line-height: 20px;
	}

	article {
		padding: 130px 60px 20px 60px;
		position: relative;
		font-size: 1.1rem;
	}

	#map {
		width: 100%;
		height: 550px;
	}

	#mascot {
		opacity: 1;
		width: 220px;
		display: block;
		position: absolute;
		top: -135px;
		right: 100px;
	}

	footer {
		font-size: 0.6rem;
	}
}
