@charset "UTF-8";
@import url('https://fonts.googleapis.com/css?family=Noto+Sans+TC:300,400,500,700');

html {
	font-size: 100%;
}
body {
	min-height: 100vh;
	line-height: 1.8;
	font-weight: 300;
	position: relative;
	font-family: 'Noto Sans TC', '黑體-繁', 'Apple LiGothic Medium', PingFang, '微軟正黑體', 'Microsoft JhengHei', 'WenQuanYi Zen Hei', helvetica, Arial, sans-serif;
}
@media screen and (max-width: 767px) {
	body {
		padding-top: 64px;
		font-size: 1.125rem;
	}
}
@media screen and (min-width: 767px) and (max-width: 959px) {
	body {
		padding-top: 84px;
		font-size: 1.375rem;
	}
}
@media screen and (min-width: 960px) {
	body {
		padding-top: 105px;
		font-size: 1.5rem;
	}
}
body, th, td, a {
	color: #3E3E3E;
}
th, td {
	text-align: left;
}
p {
	padding: 1em 0;
}
.header {
	width: 100%;
	position: fixed;
	top: 0;
	left: 0;
	z-index: 5;
	background-color: #ffffff;
	box-shadow: 6px 0 12px rgba(0, 0, 0, 0.5);
}
.header .inner, footer .inner {
	width: 100%;
	max-width: 1460px;
	display: flex;
	flex-wrap: wrap;
	justify-content: space-between;
	align-items: center;
	margin: auto;
	position: relative;
}
@media screen and (max-width: 767px) {
	.header .inner, footer .inner {
		padding: 0.5em 20px;
	}
}
@media screen and (min-width: 768px) and (max-width: 959px) {
	.header .inner, footer .inner {
		padding: 0.75em 40px;
	}
}
@media screen and (min-width: 960px) {
	.header .inner, footer .inner {
		padding: 1em 60px;
	}
}

@media screen and (max-width: 767px) {
	h1 {
		font-size: 24px;
	}
	h2 {
		font-size: 20px;
	}
}
@media screen and (min-width: 768px) and (max-width: 1959px) {
	h1 {
		font-size: 30px;
	}
	h2 {
		font-size: 24px;
	}
}
@media screen and (min-width: 960px) {
	h1 {
		font-size: 36px;
	}
	h2 {
		font-size: 30px;
	}
}

.mainmenu {
	font-size: 0;
}
.mainmenu a {
	display: inline-block;
	padding: 0 10px;
}
.mainmenu a:hover,
.mainmenu a.focus,
.mainmenu a.active {
	font-weight: 500;
	text-decoration: underline;
}

@media screen and (max-width: 767px) {
	.mainmenu a {
		font-size: 1.125rem;
	}
}
@media screen and (min-width: 767px) and (max-width: 959px) {
	.mainmenu a {
		font-size: 1.375rem;
	}
}
@media screen and (min-width: 960px) {
	.mainmenu a {
		font-size: 1.5rem;
	}
}
.mainmenu a + a {
	margin-left: 10px;
	position: relative;
}
.mainmenu a + a::before {
	content: '˙';
	position: absolute;
	right: 100%;
}
.mainmenu a + a:hover::before {
	font-weight: 400;
}
.header button {
	width: 44px;
	height: 44px;
	padding: 10px;
}

.slide {
	position: relative;
	margin-bottom: 2em;
}
.title {
	position: absolute;
	top: 0;
	bottom: 0;
	left: 0;
	right: 0;
	margin: auto;
	display: flex;
	justify-content: center;
	align-items: center;
	font-weight: 500;
}
.slide .title div {
	width: 80%;
	height: 70%;
	/* max-width: 650px;
	max-height: 300px; */
	line-height: 1;
	display: inherit;
	justify-content: inherit;
	align-items: inherit;
	background-color: rgba(255, 255, 255, 0.75);
	border-radius: 10px;
}
@media screen and (max-width: 767px) {
	.title div {
		font-size: 2.5em;
	}
}
@media screen and (min-width: 768px) and (max-width: 959px) {
	.title div {
		font-size: 3em;
	}
}
@media screen and (min-width: 960px) {
	.title div {
		font-size: 4em;
	}
}

h2 {
	padding-top: 1em;
	padding-bottom: 1em;
	background-color: #b70004;
	color: #FFFFFF;
}
main {
	display: block;
	width: 100%;
	max-width: 1460px;
	min-height: 300px;
	margin: 0 auto 2em;
	box-sizing: border-box;
	/* border: 1px solid #000; */
}
@media screen and (max-width: 767px) {
	h2, .container {
		padding-left: 15px;
		padding-right: 15px;
	}
}
@media screen and (min-width: 768px) and (max-width: 959px) {
	h2, .container {
		padding-left: 40px;
		padding-right: 40px;
	}
}
@media screen and (min-width: 960px) {
	h2, .container {
		padding-left: 60px;
		padding-right: 60px;
	}
}
.row {
	display: flex;
	flex-wrap: wrap;
	justify-content: flex-start;
	align-items: stretch;
	padding: 8px 0;
	margin: 8px -4px 1em;
}
.text-center {
	text-align: center;
}
.column {
	display: block;
	/* min-width: 270px; */
	padding: 1.5rem 0.5rem;
}
.column img {
	max-width: 220px;
	margin: 0 auto 0.5em;
}
@media screen and (max-width: 563px) {
	.column {
		width: 50%;
	}
	.column img {
		width: 75%;
	}
}
@media screen and (min-width: 564px) and (max-width: 873px) {
	.column {
		width: 50%;
	}
	.column img {
		width: 55%;
	}
}
@media screen and (min-width: 874px) and (max-width: 1183px) {
	.column {
		width: calc(100% / 3);
	}
	.column img {
		width: 65%;
	}
}

@media screen and (min-width: 1184px) {
	.column {
		width: calc(100% / 4);
	}
	.column img {
		width: 75%;
	}
}

.column.column_4 {
	width: 25%;
}
.column header {
	font-size: 1.375rem;
	font-weight: bold;
	text-align: center;
	padding: 5px;
	background-color: #dedede;
}

.column.red {
	color: #ff1e1e;
}
.column figcaption strong {
	display: inline-block;
	margin-bottom: 0.85em;
}
/* .column figcaption div {
	font-size: 1.5rem;
} */
.column figcaption .block {
	text-align: center;
	padding-bottom: 1.5rem;
}

.column figcaption cite,
.column figcaption .cite {
	display: inline-block;
	vertical-align: top;
	width: calc(100% - 2.5em - 1rem);
	min-height: 1.75em;
	margin-left: 16px;
	padding-left: 8px;
	border-bottom: 1px solid #000;
}
.column .suggestion,
.column figcaption cite,
.column figcaption .cite {
	margin-bottom: 0.85em;
}

.column.red figcaption cite,
.column.red figcaption .cite {
	border-bottom: 1px solid #ff1e1e;
}
.content .column.red strong {
	color: #ff1e1e;
}
.content {
	padding-top: 2em;
	padding-bottom: 2em;
	font-size: 1.25rem;
}
.content strong {
	color: #b70004;
	font-weight: 400;
}
.desc {
	background-color: #ebebeb;
	
}
.desc .content ul {
	padding-left: 1.25em;
}
.desc .content + .content {
	border-top: 1px solid #acacac;
}
footer {
	background-color: #b70004;
	color: #FFFFFF;
}
footer .inner > div {
	margin: 0 -0.25em;
}
footer a {
	display: inline-block;
	min-width: 200px;
	margin: 0.25em;
	padding: 0.25em 1em;
	color: #b70004;
	background-color: #FFFFFF;
	text-align: center;
}


.banner {
	height: 340px;
	background-image: url('../images/bg2.jpg');
	background-repeat: no-repeat;
	background-position: center center;
	background-size: cover;
	position: relative;
}
.dateSearch {
	display: flex;
	justify-content: center;
	align-items: center;
	flex-direction: column;
	height: 300px;
}
.fieldset {
	margin-bottom: 1em;
}
.dateSearch [type="date"] {
	width: 290px;
	padding: 5px 10px;
	border: 1px solid #aaa;
	border-radius: 5px;
}
.dateSearch [type="submit"],
.btnWrapper a,
.btnWrapper button {
	display: inline-block;
	min-width: 200px;
	padding: 0.25em 1em;
	background-color: #b70004;
	border: 2px solid #b70004;
	color: #FFFFFF;
	text-align: center;
	margin: 1em 0.5em;
	line-height: 1.5;
}
.dateSearch [type="submit"]:hover,
.dateSearch [type="submit"]:focus,
.btnWrapper a:hover,
.btnWrapper a:focus,
.btnWrapper button:hover,
.btnWrapper button:focus {
	color: #b70004;
	background-color: #ffffff;
}

/* 後台 */
.loginPage {
	margin: 2em 0;
	text-align: center;
}
.loginPage > div {
	margin: 1em 0;
}
.loginPage label,
.loginPage input {
	display: inline-block;
	vertical-align: middle;
}
.loginPage input {
	margin-left: 16px;
	padding-left: 8px;
	border: 1px solid #999;
	border-radius: 5px;
}
.logStatus a {
	display: inline-flex;
	align-items: center;
	height: 44px;
	padding: 5px;
}
.logStatus a img {
	height: 100%;
	width: auto;
	margin-right: 5px;
}
.logStatus a:hover,
.logStatus a:focus {
	font-weight: 500;
	text-decoration: underline;
}

.date {
	text-align: center;
	color: #ff1e1e;
	line-height: 2;
	margin-top: 1em;
}
.date div {
	padding: 0.5em 0;
}
.btnWrapper {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	align-items: center;
}

.column figcaption span:not(.suggestion) {
	display: flex;
	width: 100%;
	/* font-size: 0; */
}
.row label,
.row input,
.row select,
.suggestion {
	/* font-size: 1.5rem; */
	width: 2.5em;
}
span.suggestion {
	display: inline-block;
	width: 2.5em;
}
.row input[type="text"] {
	border-top: 0;
	border-left: 0;
	border-right: 0;
}
.chkWrap {
	margin: 3em 0;
}
.chkWrap span {
	display: inline-block;
	margin: 0.5em 1em;
}
.chkWrap [type="checkbox"] {
	width: 1.25rem;
	height: 1.25rem;
}

.dib {
	display: inline-block !important;
	width: auto !important;
}
.dn {
	display: none;
}


@media screen and (max-width: 425px) {
	.row select.timeSelect {
		width: 4.25em;
	}
    
    .dateSearch .fieldset {
        margin: 0 auto;
    }

    .dateSearch .single_date {
        width: 200px;
    }
    
    .dateSearch .range_date [type="date"] {
        width: 180px;
    }
    
    .dateSearch #end_date {
        margin-left: 130px;
    }
}
@media screen and (min-width: 426px) {
	.row select.timeSelect {
		width: 4.125em;
	}	
}
.columnDay {
	position: relative;
}
.widthTimeSelect {
	position: absolute;
	top: -0.5em;
	left: 0;
	right: 0;
	margin: auto;
}

section ol, section ul {
	padding-left: 1.125em;
}
section ol li, section ul li {
	padding-bottom: 0.5em;
}

.suggestionItem {
	padding-left: 2.5em;
}
.suggestionItem .suggestion {
	margin-left: -2.5em;
}


.solarTerm {
	color: #0036af;
	display: inline-block;
	margin: 0 5px;
	font-weight: bold;
}
#solarTerm {
	padding: 0 0.5em;
}
@media screen and (max-width: 405px) {
	.solarTerm {
		margin-left: 3em;
		max-width: calc(100% - 3em);
	}
	#solarTerm {
		width: calc(100% - 0.75em);
	}
}
.solarTerm span {
	display: inline-block;
	text-align: center;
}
.timeSuggestion {
	
}
@media screen and (max-width: 1134px) {
	.timeSuggestion {
		text-align: left;
		margin-bottom: 0.5em;
	}
	
}
@media screen and (min-width: 478px) and (max-width: 1134px) {
	.timeSuggestion select.timeSelect {
		margin-left: 1.2em;
	}
}

.timeSuggestion span {
	text-align: left;
}
@media screen and (max-width: 611px) {
	.timeSuggestion span {
		display: block;
	}
}
@media screen and (min-width: 612px) {
	.timeSuggestion span {
		display: inline-block;
		margin-left: 0.5em;
		width: 6em;
	}
}

.row .timeSuggestion .timeSelect {
	width: auto;
}

.colTitle {
	margin-bottom: 1em;
}

.dailyClass {
	width: calc((100% + 0.75rem) * 3);
	text-align: left;
	padding: 0.25rem 1em 0.5em;
	/* background-color: #abcdfe; */
}
.dailyClass div {
	border-bottom: 1px solid #000;
	display: inline-block;
}
@media screen and (max-width: 500px) {
	.dailyClass {
		padding: 0.25rem 0 0.5em;
	}
}
@media screen and (max-width: 767px) {
	.timeSuggestion select.timeSelect {
		max-width: 100%;
	}
	
}

input + .dailyClass label,
input + .dailyClass .cite {
	width: 100%;
}
.dailyClass label {
	display: block;
}
input + .dailyClass .cite {
	margin-left: 0;
}
.row .timeSuggestion .timeSelect.selectNone {
	appearance: none; 
	border: 0; 
	width: 4.5em;
}

.display_hide {
    display: none;
}

.search_type {
    padding: 5px 10px;
    border: 1px solid #aaa;
    border-radius: 5px;
    margin-left: 10px;
    margin-bottom: 10px;
}


@media print{
  .result_page .header {
    display: none;
  }
  
  .result_page hr {
     display: none;
  }
  
  .result_page .break_line {
     page-break-after:always;
  }
  
}