html,
body {
	max-width: 100%;
	overflow-x: hidden;
	font-family: 'Noto Sans TC', sans-serif;
	-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-attachment: fixed;
	background-color: #fff;
	background-size: 100% auto;
	background-position: top center;
	background-repeat: repeat-y;
}

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 #be965a;
}

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

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

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

.mbo a:hover {
	color: #be965a !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: #be965a !important;
}

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

/* 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 {
	position: relative;
	width: 100%;
	aspect-ratio: 16/9;
	background-size: cover;
	background-repeat: no-repeat;
	background-image: url(../img/banner-bg.jpg);
}

header.masthead .t1 {
	position: absolute;
	z-index: 1;
	width: 35%;
	height: auto;
	left: 50%;
	top: 50%;
	transform: translate(-50%, -50%);
	transition: all 1s ease-in-out 3s;
}

header.masthead.ani .t1 {
	opacity: 0;
	filter: blur(10px);
	transform: translate(-50%, -50%) scale(1.2);
}

header.masthead .t2 {
	position: absolute;
	z-index: 2;
	width: 40%;
	height: auto;
	left: 10%;
	top: 50%;
	transform: translateY(-50%) scale(1.2);
	opacity: 0;
	filter: blur(10px);
	transition: all 1s ease-in-out 3s;
}

header.masthead.ani .t2 {
	opacity: 1;
	filter: blur(0);
	transform: translateY(-50%) scale(1);
}

header.masthead .t3 {
	position: absolute;
	z-index: 0;
	width: auto;
	height: 100%;
	right: 0;
	top: 0;
	opacity: 0;
	transition: all 1s ease-in-out 3s;
}

header.masthead.ani .t3 {
	opacity: 1;
}

header.masthead .ar {
	position: absolute;
	z-index: 3;
	left: 50%;
	bottom: 30px;
	width: 8%;
	aspect-ratio: 100 / 37;
	opacity: 0;
	transform: translateX(-50%);
	transition: all 1s ease-in-out 3s;
}

/*header.masthead.ani .ar {
	opacity: 1;
}

header.masthead .ar img {
	object-fit: contain;
	object-position: center;
	animation: banner-ar 2s ease-in-out infinite;
}

@keyframes banner-ar {
	0% {
		transform: translateY(0);
	}

	50% {
		transform: translateY(-10px);
	}

	100% {
		transform: translateY(0);
	}
}*/

@media (max-width: 766px) {
	header.masthead {
		/* aspect-ratio: 9/17; */
		background-image: url(../img/banner-bg-m.jpg);
	}

	header.masthead .t1 {
		width: 85%;
	}

	header.masthead .t2 {
		width: 75%;
		left: 50%;
		top: 8%;
		transform: translate(-50%, 0) scale(1.2);
	}

	header.masthead.ani .t2 {
		transform: translate(-50%, 0) scale(1);
	}

	header.masthead .t3 {
		width: 100%;
		height: auto;
		right: 0;
		top: auto;
		bottom: 0;
	}

}

/* Section */

#p1 {
	background-color: #1aa5e8;
}

#p1 .bom {
	font-family: "Cinzel", serif;
	font-size: 18px;
	font-weight: 600;
	color: #fff;
	letter-spacing: 3px;
	padding: 20px 0 30px 0;
	text-align: center;
	background: linear-gradient(0deg, rgba(255, 255, 255, 1) 0%, rgba(34, 172, 235, 1) 100%);
}

section.nm {
	padding: 80px 0;
}

#p4 {
	padding: 40px 0;
}

.p4-bk, .p8-bk {
	display: block;
	position: relative;
	padding: 0 0 0 25px;
	margin: 30px 0 0 0;
}

.p4-bk::before, .p8-bk::before {
	content: '';
	position: absolute;
	z-index: 1;
	left: 0;
	top: 50%;
	width: 1px;
	height: 93%;
	transform: translateY(-50%);
	background-color: #c69c6d;
}

.p8-bk::before {
	background-color: #4d4d4d;
}

.p4-cover {
	position: absolute;
	z-index: 1;
	left: 0;
	top: 0;
	width: 30%;
	height: 100%;
	background: linear-gradient(90deg, rgba(255, 255, 255, 1) 5%, rgba(255, 255, 255, 0) 100%);
}

#p7 {
	background-image: url(../img/p7-bg.png);
	background-size: 100% auto;
	background-repeat: repeat-y;
}

#p11 {
	background-image: url(../img/p11-bg.jpg);
	background-size: 100% auto;
	background-repeat: repeat-y;
}

@media (max-width: 766px) {
	#p1 .bom {
		font-size: 14px;
	}

	.p4-cover {
		left: 0;
		top: 0;
		width: 100%;
		height: 20%;
		background: linear-gradient(0deg, rgba(255, 255, 255, 0) 0%, rgba(255, 255, 255, 1) 100%);
	}
}

/* img fit */

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

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

.a1000-533 {
	aspect-ratio: 1000 / 533;
}

.a5-4 {
	aspect-ratio: 5 / 4;
}

.a5-3 {
	aspect-ratio: 5 / 3;
}

.a200-3 {
	aspect-ratio: 200 / 3;
}

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

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

#p4 .a200-3.n1 {
	margin: 0 0 40px 0;
}

#p4 .a200-3.n2 {
	margin: 50px 0 0 0;
}

@media (max-width: 766px) {
	.a200-3 {
		aspect-ratio: 70 / 3;
	}

	#p4 .a200-3.n2 {
		margin: 40px 0 0 0;
	}
}

/* Content text */

.content-text .icon {
	display: block;
	width: 30px;
	height: auto;
	margin: 0 auto 25px auto;
}

.content-text h1 {
	font-family: "Noto Serif TC", serif;
	font-size: 37px;
	font-weight: 600;
	color: #4d4d4d;
	letter-spacing: 2px;
	transform: scaleX(.97);
}

.content-text h1.alt {
	transform-origin: left;
}

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

.content-text h2 {
	font-family: "Cinzel", serif;
	font-size: 38px;
	font-weight: 500;
	line-height: 1;
	color: #ccc;
	padding: 0 10px;
	margin: 0;
	white-space: nowrap;
}

.content-text h2.alt {
	padding: 0;
}

.content-text h2.gd {
	color: #c69c6d;
}

.content-text h3 {
	font-family: "Noto Serif TC", serif;
	font-size: 18px;
	font-weight: 600;
	color: #888;
}

.content-text h3.en {
	font-family: "Cinzel", serif;
	letter-spacing: 1px;
}

.content-text h4 {
	font-family: "Noto Serif TC", serif;
	font-size: 22px;
	font-weight: 600;
	color: #fff;
	letter-spacing: 2px;
	margin: 0 0 20px 0;
}

.content-text h5 {
	font-family: "Noto Serif TC", serif;
	font-size: 18px;
	font-weight: 700;
	color: #c69c6d;
	letter-spacing: 2px;
	line-height: 1.5;
	transform: translateX(-1px);
	padding: 10px 25px 12px 25px;
	display: inline-block;
	text-align: center;
	border: solid 1px #c69c6d;
	margin: 25px auto;
}

.content-text h5.alt {
	display: block;
	padding: 10px 10px 12px 10px;
	margin: 25px -20px;
}

.content-text h6 {
	font-family: "Noto Serif TC", serif;
	font-size: 16px;
	font-weight: 600;
	color: #c69c6d;
	letter-spacing: 2px;
	line-height: 1.75;
}

.content-text p {
	font-size: 15px;
	font-weight: 500;
	color: #4d4d4d;
	line-height: 2;
	text-align: justify;
	margin: 0;
}

.content-text p.ct {
	width: auto;
	white-space: nowrap;
	text-align: justify;
	text-align-last: justify;
}

.content-text p.ct.alt {
	width: 80%;
	margin: 0 auto;
}

.content-text p.ct.alt2 {
	width: 80%;
	margin: 0 auto;
	white-space: inherit;
	text-align-last: center;
}

.content-text hr.vt {
	border: none;
	display: block;
	width: 1px;
	height: 50px;
	margin: 20px auto;
	background-color: #fff;
}

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

.content-text.wt h5 {
	border: solid 1px #fff;
}

@media (min-width: 1290px) and (max-width: 1400px) {
	.content-text h1 {
		font-size: 34px;
	}

	.content-text h1.sub {
		font-size: 30px;
	}

	.content-text h5 {
		font-size: 17px;
		letter-spacing: 1px;
	}
}

@media (min-width: 767px) and (max-width: 1289px) {
	.content-text h1 {
		font-size: 31px;
	}

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

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

	.content-text h5 {
		font-size: 17px;
		letter-spacing: 1px;
	}
}

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

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

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

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

	.content-text h5 {
		font-size: 17px;
		display: block;
		letter-spacing: 1px;
	}

	.content-text h5.alt {
		padding: 10px 0 12px 0;
		margin: 25px 0;
	}

	.content-text p.ct.alt2 {
		width: 100%;
		margin: 0 auto;
		white-space: inherit;
		text-align-last: left;
	}

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

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

	.content-text p.cm {
		text-align-last: center;
		font-size: 13px;
	}
}

/* add text*/

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

.add-text.lb {
	left: 15px;
	bottom: 12px;
}

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

.add-text.rt {
	right: 15px;
	top: 12px;
	text-align: right;
}

@media (max-width: 766px) {
	.add-text.rt {
		right: auto;
		top: auto;
		left: 15px;
		bottom: 12px;
		text-align: left;
	}
}

.add-text.lt {
	left: 15px;
	top: 12px;
}

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

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

.add-text2::before {
	content: '';
	position: absolute;
	z-index: 1;
	width: 20px;
	height: 13px;
	left: 0;
	top: 0;
	display: block;
	background-color: #dc4911;
}

/* Swipe */
.overflow-x-auto {
	overflow-x: auto;
}

.overlay-cover {
	position: absolute;
	width: 100%;
	height: 100%;
	top: 0;
	color: #fff;
	background-color: rgba(0, 0, 0, 0);
	text-align: center;
	left: 0;
	z-index: 5;
}

.overlay-cover .mid {
	display: block;
	width: 100%;
	height: 100%;
	text-align: center;
	font-size: 0px;
}

.overlay-cover .mid:before {
	content: "";
	display: inline-block;
	width: 0%;
	height: 100%;
	vertical-align: middle;
}

.overlay-cover .mid p {
	display: inline-block;
	width: auto;
	vertical-align: middle;
	font-size: 15px;
	font-weight: 600;
	color: #fff;
	text-align: center;
	background-color: rgba(0, 0, 0, .65);
	padding: 25px 15px 20px 15px;
	border-radius: 5px;
	margin: 0;
}

.overlay-cover .mid p span {
	display: block;
	width: 60px;
	height: 60px;
	margin: 0 auto 10px auto;
	background: url('../img/swipe.svg') no-repeat;
	background-size: contain;
	transform: translateX(-10px);
	animation: slide 4s linear infinite;
}

@keyframes slide {
	0% {
		transform: translateX(-10px);
	}

	50% {
		transform: translateX(10px);
	}

	100% {
		transform: translateX(-10px);
	}
}

/* Full Bg */

.full-bg {
	background-size: cover;
	background-position: center center;
	background-repeat: no-repeat;
}

/* Grid */

.grid1 {
	width: 100%;
	height: 100%;
	display: grid;
	grid-template-columns: repeat(2, 1fr);
	grid-template-rows: repeat(2, 1fr);
	grid-column-gap: 15px;
	grid-row-gap: 15px;
}

@media (max-width: 766px) {
	.grid1 {
		grid-column-gap: 5px;
		grid-row-gap: 5px;
	}
}

.grid1 > div {
	position: relative;
}

.grid1 .div1 {
	grid-area: 1 / 1 / 3 / 2;
}

.grid1 .div2 {
	grid-area: 1 / 2 / 2 / 3;
}

.grid1 .div3 {
	grid-area: 2 / 2 / 3 / 3;
}

/* Custom Row */

.row.custom {
	margin-left: -5px;
	margin-right: -5px;
}

.row.custom > .col-4 {
	padding-left: 5px;
	padding-right: 5px;
}

/* Info */

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

ul.list li {
	font-size: 15px;
	font-weight: 450;
	color: #fff;
	line-height: 1;
	padding: 10px 0;
	letter-spacing: 1px;
}

ul.list li span {
	font-weight: 600;
}

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

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

input {
	-webkit-appearance: none;
	appearance: none;
	color: #40210f !important;
	background-color: rgba(255, 255, 255, .95);
}

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

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

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

:-moz-placeholder {
	/* Firefox 18- */
	color: #40210f !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;
	font-weight: 450;
	color: #40210f;
	background-color: rgba(255,243,230,.8);
	border: none;
	-moz-appearance: none;
	-webkit-appearance: none;
	appearance: none;
}

.select-css {
	display: block;
	font-size: 1rem;
	font-weight: 450;
	color: #40210f;
	background-color: rgba(255,243,230,.8);
	border: none;
	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: 26px;
	background: url(../img/cbx-off.svg) no-repeat 0 3px / 20px 20px;
	user-select: none;
}

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


.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: 26px;
	background: url(../img/cbx-off.svg) no-repeat 0 3px / 20px 20px;
	user-select: 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;
    }
} */

.btn-primary {
	font-family: "Noto Serif TC", serif;
	font-size: 1rem;
	font-weight: 600;
	letter-spacing: 2px;
	color: #fff !important;
	border-radius: 0;
	border: none;
	background: #40210f;
}

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

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

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