html,
body {
	max-width: 100%;
	overflow-x: hidden;
	font-family: 'Noto Sans TC', sans-serif;
	font-optical-sizing: auto;
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
	font-smooth: always;
	-webkit-user-select: none;
	/* Chrome all / Safari all */
	-moz-user-select: none;
	/* Firefox all */
	-ms-user-select: none;
	/* IE 10+ */
	user-select: none;
	-webkit-backface-visibility: hidden;
	backface-visibility: hidden;
	image-rendering: -moz-crisp-edges;
	image-rendering: -o-crisp-edges;
	image-rendering: -webkit-optimize-contrast;
	image-rendering: crisp-edges;
	-ms-interpolation-mode: nearest-neighbor;
	scroll-behavior: smooth;
}

body {
	background-image: url(../img/main-bg.jpg);
}

img {
	-webkit-user-drag: none;
	-khtml-user-drag: none;
	-moz-user-drag: none;
	-o-user-drag: none;
	user-drag: none;
}

a[href^="tel"] {
	color: inherit;
	text-decoration: none;
}

/* Menu */

.mobile-menu {
	display: block;
	height: 80px;
}

@media only screen and (min-width: 766px) {
	.mobile-menu {
		display: none;
	}
}

.sidemenu {
	position: fixed;
	z-index: 500;
	right: 20px;
	bottom: 120px;
	width: 44px;
	height: 100px;
	/*background-color: #FF0004;*/
}

.side-btn {
	width: 44px;
	height: 44px;
	color: #be965a;
	font-size: 1.8rem;
	background-color: #fff;
	border-radius: 50%;
	border: solid 1px #be965a;
	display: flex;
	align-items: center;
	justify-content: center;
	margin: 0 0 12px 0;
}

.side-btn.red {
	font-size: .8rem;
	line-height: .8rem;
	font-weight: 600;
	color: #fff;
	background-color: #be965a;
}

.side-btn:last-child {
	margin: 0;
}

.side-btn:hover {
	color: #fff;
	background-color: #be965a;
	text-decoration: none;
}

.side-btn.red:hover {
	color: #fff;
	background-color: #6d532c;
	text-decoration: none;
	border: solid 1px #6d532c;
}

.bts {
	padding: 0;
	border-top: solid 1px #0071bc;
}

.mbo {
	border-right-width: 1px;
	border-right-style: solid;
	border-right-color: #0071bc;
	background-color: #fff;
}

.mbo:last-child {
	border-right-style: none;
}

.mbo a {
	color: #0071bc !important;
	text-decoration: none;
	background-color: #fff !important;
}

.mbo a:hover {
	color: #0071bc !important;
}

.mbo h5 {
	padding-top: .8rem;
	padding-bottom: .4rem;
	font-size: .9rem;
	font-weight: 500;
}

.ics {
	margin-right: 0;
	margin-bottom: 4px;
}

.mbo i,
.mbo span {
	display: block;

}

.mbo span {
	font-size: .75rem;
	padding-top: .1rem;
	color: #0071bc !important;
}

@media (min-width: 766px) {
	.bts {
		display: none;
	}
}

/* Loading */
#loading {
	position: fixed;
	left: 0;
	top: 0;
	z-index: 99999;
	width: 100%;
	height: 100%;
	overflow: visible;
	background: rgba(255, 255, 255, 0.9);
}

@keyframes lds-rolling {
	0% {
		-webkit-transform: translate(-50%, -50%) rotate(0deg);
		transform: translate(-50%, -50%) rotate(0deg);
	}

	100% {
		-webkit-transform: translate(-50%, -50%) rotate(360deg);
		transform: translate(-50%, -50%) rotate(360deg);
	}
}

@-webkit-keyframes lds-rolling {
	0% {
		-webkit-transform: translate(-50%, -50%) rotate(0deg);
		transform: translate(-50%, -50%) rotate(0deg);
	}

	100% {
		-webkit-transform: translate(-50%, -50%) rotate(360deg);
		transform: translate(-50%, -50%) rotate(360deg);
	}
}

.lds-rolling {
	position: relative;
}

.lds-rolling div,
.lds-rolling div:after {
	position: absolute;
	width: 86px;
	height: 86px;
	border: 6px solid #0071bc;
	border-top-color: transparent;
	border-radius: 50%;
}

.lds-rolling div {
	-webkit-animation: lds-rolling 1s linear infinite;
	animation: lds-rolling 1s linear infinite;
	top: 100px;
	left: 100px;
}

.lds-rolling div:after {
	-webkit-transform: rotate(90deg);
	transform: rotate(90deg);
}

.lds-rolling {
	width: 200px !important;
	height: 200px !important;
	-webkit-transform: translate(-100px, -100px) scale(1) translate(100px, 100px);
	transform: translate(-100px, -100px) scale(1) translate(100px, 100px);
}

/* Top Menu */
#myBtn {
	display: none;
	position: fixed;
	bottom: 0;
	right: 20px;
	z-index: 500;
	border: none;
	outline: none;
	background-color: #be965a;
	color: #fff;
	cursor: pointer;
	padding: 10px 15px 10px 15px;
	border-radius: 0px;
	font-size: 1rem;
}

@media only screen and (max-width: 766px) {
	#myBtn {
		bottom: 80px;
		right: 0;
		padding: 5px 10px 5px 10px;
	}
}

#myBtn:hover {
	color: #fff;
	background-color: #be965a;
	/* Add a dark-grey background on hover */
}

/* Masthead */
header.masthead {
	width: 100%;
	aspect-ratio: 16/9;
	background-color: #fff;
}

header.masthead img {
	object-fit: cover;
	width: 100%;
	height: auto;
	object-position: center center;
}

@media (max-width: 766px) {
	header.masthead {
		aspect-ratio: 4/7;
	}
}

/* img fit */

.img-frame {
	position: relative;
	display: block;
	overflow: hidden;
}

.img-frame img {
	object-fit: cover;
	object-position: center center;
	width: 100%;
	height: 100%;
}

.a16-9 {
	aspect-ratio: 16 / 9;
}

.a4-3 {
	aspect-ratio: 4 / 3;
}

.a1-1 {
	aspect-ratio: 1 / 1;
}

.a10-7 {
	aspect-ratio: 10 / 7;
}

.a25-34 {
	aspect-ratio: 25 / 34;
}

.a15-22 {
	aspect-ratio: 15 / 22;
}

.a50-29 {
	aspect-ratio: 50 / 29;
}


/* add text*/

.add-text {
	position: absolute;
	z-index: 3;
	color: #fff;
	font-size: 12px;
	font-weight: 500;
	line-height: 1;
	/*text-shadow: 0px 0px 5px rgba(0, 0, 0, 1);*/
}

.add-text.rb {
	right: 15px;
	bottom: 12px;
	text-align: right;
}

.add-text.rb2 {
	right: 30px;
	bottom: 12px;
	text-align: right;
}

/* float text */

.float-text {
	position: absolute;
	z-index: 9;
}

.float-text.rt {
	top: 11%;
	right: 5%;
	width: 25%;
}

.float-text.lt {
	top: 11%;
	left: 10%;
	width: 30%;
}

.float-text.tc {
	top: 5%;
	left: 10%;
	width: 80%;
}

/* content text */

.content-text h1 {
	font-family: "Noto Serif TC", serif;
	color: #be965a;
	font-size: 26px;
	font-weight: 700;
	line-height: 1.5;
	margin: 0;
}

.content-text h2 {
	font-family: "GFS Didot", serif;
	color: #be965a;
	font-size: 34px;
	font-weight: 550;
	line-height: 1.5;
	margin: 0;
}

.content-text hr {
	border: none;
	width: 45px;
	height: 1px;
	display: block;
	margin: 15px auto 15px 0;
	background-color: #be965a;
}

.content-text h3 {
	font-family: "Noto Serif TC", serif;
	color: #be965a;
	font-size: 25px;
	font-weight: 700;
	line-height: 1.5;
	margin: 0 0 15px 0;
}

.content-text h4 {
	font-family: "Noto Serif TC", serif;
	color: #be965a;
	font-size: 23px;
	font-weight: 700;
	line-height: 1.5;
	margin: 0 0 15px 0;
}

.content-text h5 {
	font-family: "Noto Serif TC", serif;
	color: #be965a;
	font-size: 18px;
	font-weight: 600;
	line-height: 1.5;
	margin: 0 0 15px 0;
}

.content-text hr.ct {
	margin: 15px auto;
}

.content-text hr.sl {
	width: 30px;
	margin: 8px auto;
}

.content-text p {
	font-size: 14px;
	font-weight: 450;
	color: #464646;
	line-height: 1.7;
	text-align: justify;
}

.content-text ul {
	list-style: none;
	padding: 0;
	margin: 0;
}

.content-text ul li {
	color: #fff;
	font-size: 16px;
	font-weight: 500;
	letter-spacing: 2px;
	margin: 0 0 7px 0;
}

.content-text.wt h1,
.content-text.wt h2,
.content-text.wt h3,
.content-text.wt h5,
.content-text.wt p {
	color: #fff;
}

@media (max-width: 766px) {
	.content-text h1 {
		font-size: 20px;
	}

	.content-text h2 {
		font-size: 28px;
	}

	.content-text h3 {
		font-size: 20px;
	}

	.content-text h4 {
		font-size: 16px;
	}

	.content-text h5 {
		font-size: 15px;
	}

	.content-text p {
		font-size: 13px;
	}

	.content-text ul li {
		font-size: 14px;
		letter-spacing: 1px;
	}
}

.content-inner {
	position: relative;
	width: 100%;
	height: 100%;
}

.content-inner.bt {
	display: flex;
	flex-direction: column;
	justify-content: space-between;
}

.content-inner.ae {
	display: flex;
	flex-direction: column;
	justify-content: end;
}

.content-inner.ct {
	position: relative;
	display: flex;
	align-items: center;
	justify-content: center;
}

.content-inner::before {
	content: '';
	position: absolute;
	z-index: -1;
	left: 0;
	top: 0;
	width: 1px;
	height: 100%;
	display: block;
	background-color: #be965a;
}

.content-inner.ct::before {
	display: none;
}

.n-bk {
	display: block;
	padding: 0 0 0 30px;
}

.n-bk p:last-child {
	margin: 0;
}

.n-bk.mb {
	position: relative;
	padding: 70px 0 0 30px;
}

.n-bk.mb::before {
	content: '';
	position: absolute;
	z-index: -1;
	left: 0;
	top: 0;
	width: 1px;
	height: 100%;
	display: block;
	background-color: #be965a;
}

/* section */

#p1 {
	background-color: #00abf3;
}

#p11 {
	background-image: url(../img/p11-bg.jpg);
	background-size: cover;
}

#p12 {
	background-image: url(../img/p12-bg.jpg);
	background-size: cover;
}

.general {
	padding: 80px 0;
}

@media (max-width: 766px) {
	.general {
		padding: 0 0 80px 0;
	}

	.general.alt {
		padding: 80px 0;
	}

	#p12 {
	background-image: url(../img/p12-bgm.jpg);
    }

}

/* P6 */

.p6-bk {
	position: absolute;
	width: auto;
	height: 38%;
	aspect-ratio: 42 / 50;
	display: block;
	background-image: url(../img/p6-ln.svg);
	background-size: cover;
}

.p6-bk:nth-child(1) {
	right: 0;
	top: 0;
}

.p6-bk:nth-child(2) {
	left: 0;
	bottom: 0;
}

.p6-text {
	text-align: center;
	color: #464646;
	font-size: 17px;
	font-weight: 500;
	display: block;
	margin: 12px 0 0 0;
	line-height: 1;
}

.p6-text span {
	display: flex;
	align-items: center;
	font-family: "Noto Serif TC", serif;
	font-size: 16px;
	font-weight: 700;
	letter-spacing: 2px;
	margin: 0 0 8px 0;
}

.p6-text span>span.ln {
	display: block;
	width: 100%;
	height: 1px;
	background-color: #464646;
	margin: 0;
	transform: scaleX(.8);
}

.p6-text span>span.ln:first-child {
	transform-origin: left;
}

.p6-text span>span.ln:last-child {
	transform-origin: right;
}

@media (max-width: 766px) {
	.p6-text {
		font-size: 15px;
	}

	.p6-text span {
		font-size: 14px;
	}
}

/* footer */
footer.footer {
	padding-top: 1rem;
	padding-bottom: 60px;
}

@media screen and (min-width: 766px) {
	footer.footer {
		padding-bottom: 1rem
	}
}

/* map */

.map-frame {
	width: 100%;
	height: 100%;
}

@media (max-width: 766px) {
	.map-frame {
		height: 400px;
	}
}

/* Form */
input {
	-webkit-appearance: none;
	appearance: none;
	color: #0071bc !important;
	background-color: rgba(255, 255, 255, .95);
}

::-webkit-input-placeholder {
	/* Chrome/Opera/Safari */
	color: #0071bc !important;
}

::-moz-placeholder {
	/* Firefox 19+ */
	color: #0071bc !important;
}

:-ms-input-placeholder {
	/* IE 10+ */
	color: #0071bc !important;
}

:-moz-placeholder {
	/* Firefox 18- */
	color: #0071bc !important;
}

input {
	-moz-appearance: none;
	-webkit-appearance: none;
	appearance: none;
}

input:focus,
textarea:focus,
select:focus {
	outline-style: none;
	box-shadow: none;
}

.form-control {
	border-radius: 0;
	padding: .5rem 1rem;
	font-size: 1rem;
	color: #0071bc;
	background-color: #fff;
	border: solid 1px #fff;
	-moz-appearance: none;
	-webkit-appearance: none;
	appearance: none;
}

.select-css {
	display: block;
	font-size: 1rem;
	color: #0071bc;
	background-color: #fff;
	border: solid 1px #fff;
	line-height: 1.5;
	padding: .5rem 1rem;
	width: 100%;
	max-width: 100%;
    height: auto !important;
	box-sizing: border-box;
	margin: 0;
	border-radius: 0;
	-moz-appearance: none;
	-webkit-appearance: none;
	appearance: none;
	background-image: url('../img/arrow.svg');
	background-repeat: no-repeat, repeat;
	background-position: right .7em top 50%, 0 0;
	background-size: .65em auto, 100%;
}

.select-css::-ms-expand {
	display: none;
}

.form-check {
	padding-left: 0;
}

.form-check input[type=checkbox] {
	display: none;
}

.form-check input[type=checkbox]+span {
	display: inline-block;
	padding-left: 26px;
	line-height: 20px;
	background: url(../img/cbx-off.svg) no-repeat;
	user-select: none;
}

.form-check input[type=checkbox]:checked+span {
	background: url(../img/cbx-on.svg) no-repeat;
}


.form-check {
	padding-left: 0;
}

.form-check input[type=checkbox] {
	display: none;
}


.form-check input[type=checkbox]:checked+span {
	background: url(../img/cbx-on.svg) no-repeat;
}

@media (max-width: 766px) {
    .form-check input[type=checkbox]:checked+span {
        background: url(../img/cbx-on.svg) no-repeat 0 3px / 20px 20px;
    }
		.form-check input[type=checkbox]+span {
			padding-left: 50px;
		}
}

.btn-primary {
	font-size: 1rem;
	font-weight: 500;
	color: #fff !important;
	border-radius: 0;
	border: none;
	background: #be965a;
}

.btn-primary:hover {
	color: #be965a !important;
	background: #fff;
}