﻿@import url('https://fonts.googleapis.com/css2?family=Noto+Sans+TC:wght@100..900&family=Noto+Sans:ital,wght@0,100..900;1,100..900&display=swap');

@font-face {
	font-family: 'jf-openhuninn';
	src: url('../webfonts/fonts/jf-openhuninn-2.1.woff2') format('woff2');
	font-weight: 400;
	font-style: normal;
	font-display: swap;
}

.sr-only {
	display: none;
}

/* color */
:root {
	--bule-primary: #fff1b3;
	--bule-heavy: #e0ba7f;
	--bule-l-primary: #5ECECE;
	--orange-primary: #f76922;
}

body, img, span, form, label, legend, input, textarea, select, button {
	border: none;
	outline: none;
	margin: 0px;
	padding: 0px;
	font-family: 'jf-openhuninn', 'Noto Sans', 'Noto Sans TC', Arial, '新細明體', sans-serif;
	line-height: 1.5;
	transition: all .5s;
}

img {
	max-width: 100%;
}

/* 布局 */
body {
	position: relative;
	width: 100%;
	overflow-x: hidden;
	top: 0 !important;
	font-size: 1rem;
	color: #222;
}

.form-check {
	display: flex;
	align-items: center;
	padding-left: 0;
	margin-bottom: 0;
}

input[type="radio"], input[type="checkbox"] {
	width: 20px;
	height: 20px;
	margin: 0 5px 0 0;
	flex: 0 0 20px;
	border: #333 1px solid;
}

/* body */
body {
	height: 100vh;
	overflow: hidden;
	position: relative;
	background-color: #FFFCF1;
	background-image: url('../images/kv-bg.png');
	background-repeat: no-repeat;
	background-position: bottom center;
}

body::after,
body::before {
	content: '';
	position: absolute;
	bottom: 0;
	display: none;
}

body::before {
	background: url(../event/images/00-bg-02.svg) center no-repeat;
	background-size: auto 100%;
	height: 60vh;
	aspect-ratio: 1600 / 640;
	right: -10vw;
	z-index: 1;
}

body::after {
	background: url(../event/images/00-bg-01.png) center no-repeat;
	background-size: auto 100%;
	height: 200px;
	width: 100%;
	right: 50%;
	transform: translateX(50%);
	z-index: 2;
}

.quizBlk {
	position: absolute;
	width: 100%;
	height: 100%;
	top: 0;
	left: 0;
	z-index: 4;
}

.quizBlk::after,
.quizBlk::before {
	content: '';
	position: absolute;
	display: none;
	width: 60%;
}

.quizBlk::before {
	background: url(../event/images/01-top-l.svg) center left no-repeat;
	background-size: 100% auto;
	aspect-ratio: 587 / 294;
	top: 10%;
	left: -5%;
	max-width: 587px;
}

.quizBlk::after {
	background: url(../event/images/01-top-r.svg) center right no-repeat;
	background-size: 100% auto;
	aspect-ratio: 510 / 193;
	right: -2%;
	top: 5%;
	max-width: 510px;
}

@keyframes cloudLeftRight {
	0% {
		transform: translate(0, 0);
	}

	100% {
		transform: translate(-30px, 0)
	}
}

@keyframes cloudRightLeft {
	0% {
		transform: translate(0, 0);
	}

	100% {
		transform: translate(20px, 0)
	}
}

@media (min-width: 787px) {
	.quizBlk::before {
		/* animation: cloudRightLeft 2.5s infinite ease-in-out alternate; */
	}

	.quizBlk::after {
		/* animation: cloudLeftRight 2s infinite ease-in-out alternate; */
	}
}

.top-decorate {
	position: absolute;
	width: 100%;
	height: 100%;
	left: 0;
	z-index: 3;
}

.top-decorate::after,
.top-decorate::before {
	content: '';
	position: absolute;
	display: none;
	bottom: 0;
	/* animation: 1500ms ease normal forwards 1 fadeIn; */
}

.top-decorate::before {
	background: url(../event/images/03-footer-l.svg) center left no-repeat;
	background-size: auto 100%;
	aspect-ratio: 160 / 595;
	left: 0;
	width: 10%;
	max-height: 595px;
}

.top-decorate::after {
	background: url(../event/images/03-footer-r.svg) center right no-repeat;
	background-size: auto 100%;
	aspect-ratio: 360 / 800;
	right: 0;
	width: 24%;
	max-height: 800px;
}

@keyframes fadeIn {
	0% {
		bottom: -100%;
	}

	to {
		bottom: 0;
	}
}

.top-icon {
	position: absolute;
	z-index: 3;
	top: 15%;
	left: 12%;
	transform: rotate(8deg);
	width: 10%;
	animation: 2000ms ease normal forwards 1 rocket;
	/* animation: rocket 3s infinite ease-in-out alternate; */
	display: none;
}

.top-icon img {
	max-width: 140px;
	width: 100%;
}

@keyframes rocket {
	0% {
		opacity: 0;
		transform: translate(-80px, 10px) rotate(-5deg);
	}

	100% {
		opacity: 1;
		transform: translate(0, 0) rotate(-5deg);
	}
}

@media (max-width: 1180px) {
	.top-icon {
		left: 7%;
	}
}

@media (max-width: 769px) {
	.top-icon {
		display: none;
	}

	.top-decorate::before {
		width: 5%;
	}

	.top-decorate::after {
		width: 15%;
		bottom: -10px;
	}

	.top-decorate {
		z-index: 1099;
		pointer-events: none;
	}
}

.footer-decorate {
	position: absolute;
	width: 100%;
	height: 100%;
	top: 0;
	left: 0;
	overflow: hidden;
}

.footer-decorate::after,
.footer-decorate::before {
	content: '';
	position: absolute;
	display: none;
	bottom: 0;
	width: 120%;
}

.footer-decorate::before {
	background: url(../event/images/03-footer-m-01.svg) center left no-repeat;
	background-size: auto 100%;
	aspect-ratio: 700 / 148;
	left: -5%;
	height: 15vh;
	z-index: 6;
	max-height: 180px;
}

.footer-decorate::after {
	background: url(../event/images/03-footer-m-02.svg) center right no-repeat;
	background-size: auto 100%;
	aspect-ratio: 995 / 220;
	right: -5%;
	height: 30vh;
	z-index: 5;
	bottom: -1vh;
	max-height: 280px;
}

@media (max-width: 1180px) {
	.footer-decorate::before {
		height: 10vh;
	}

	.footer-decorate::after {
		height: 18vh;
	}
}

@media (max-width: 768px) {
	.footer-decorate {
		z-index: 1100;
		pointer-events: none;
	}

	.footer-decorate::before {
		height: 60px;
		left: -10%;
		bottom: -20px;
	}

	.footer-decorate::after {
		height: 80px;
		bottom: -10px;
	}
}

@media (max-width: 576px) {

	.footer-decorate::before {
		height: 50px;
	}

	.footer-decorate::after {
		height: 60px;
		right: -25%;
		bottom: -15px;
	}
}

.footer-icon {
	position: fixed;
	z-index: 3;
	bottom: 5%;
	left: 3%;
	z-index: 1100;
	transform: rotate(-8deg);
	width: 30%;
	display: none;
}

.footer-icon>img {
	max-width: 495px;
	width: 100%;
}

@keyframes icon-move {
	0% {
		transform: translate(-20px, -50px) rotate(-10deg);
	}

	100% {
		transform: translate(0px, 0px) rotate(-10deg)
	}
}

@keyframes GuideShow {
	0% {
		opacity: 0;
		transform: translate(-150px, -100px);
	}

	to {
		opacity: 1;
		transform: translate(0, 0);
	}
}

@media (min-width: 992px) {
	.footer-icon {
		bottom: 5%;
		left: 5%;
	}
}

@media (min-width: 787px) {
	.footer-icon {
		animation: 2000ms ease normal forwards 1 GuideShow;
	}

	.footer-icon img {
		animation-name: icon-move;
		animation-timing-function: ease-in-out;
		animation-iteration-count: infinite;
		animation-direction: alternate;
		animation-duration: 1.75s;
	}
}

@media (max-width: 768px) {
	.footer-icon {
		display: none;
	}
}

/* testformBlk */

#testform .modal-dialog {
	max-width: 1200px;
}

.testformBlk {
	padding: 1.5rem 1.5rem;
}

.testformBlk .modal-content {
	background: #fff url(../event/images/testform-bg.svg) center repeat;
	background-size: 20px auto;
	border: 2px solid var(--bule-primary);
	border-radius: 30px;
	padding: 3rem 0;
	justify-content: space-between;
	box-shadow: rgba(136, 165, 191, 0.48) 5px 2px 16px 0px
}

.testformBlk .modal-content::before,
.testformBlk .modal-content::after {
	content: '';
	display: block;
	height: 50px;
	position: absolute;
	background-repeat: no-repeat;
	background-size: auto 100%;
}

.testformBlk .modal-content::before {
	width: 150px;
	background-image: url(../event/images/testform-icon-01.png);
	left: 18px;
	top: -35px;
	transform: rotate(-15deg);
	background-position: left center;
}

.testformBlk .modal-content::after {
	width: 150px;
	background-image: url(../event/images/testform-icon-02.png);
	right: 22px;
	bottom: -28px;
	transform: rotate(-12deg);
	background-position: right center;
}

.testformBlk .modal-content .test-title {
	padding: 1rem 0 0 0;
	display: flex;
	flex-direction: column;
	justify-content: center;
	align-items: center;
}

.testformBlk .modal-content .test-title>img {
	max-width: 340px;
	width: 75%;
	height: auto;
	margin-bottom: 1rem;
}


/* content */
.testform {
	height: 100%;
}

.testform .teststepBlk {
	height: 100%;
	flex-flow: column;
	justify-content: space-between;
	padding-top: 2rem;
}

.testformBlk .modal-body,
.testformBlk .modal-footer {
	width: 90%;
	margin: 0 auto;
}

.testformBlk .modal-body {
	padding: 0;
}

/* 問券 */
.testformBlk .test-question {
	font-size: 1.5rem;
	/* line-height: 1.25; */
	margin: 0 auto 1.5rem;
	/* text-align: justify; */
	color: #222;
	padding-left: 55px;
}

.testformBlk .test-img {
	margin-bottom: 30px;
	display: block;
}

.testformBlk .test-img.video .cardimg::after {
	content: '';
	display: block;
	transition: all .5s;
	position: absolute;
	width: 50px;
	height: 50px;
	background: url(../event/images/icon-ytlogo.svg) center no-repeat;
	background-size: 100% auto;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);
	filter: brightness(0) invert(1);
	z-index: 3;
	opacity: .9;
}

.cardimg {
	max-width: 500px;
	margin: 2rem auto;
}

.cardimg img {
	width: 100%;
	/* max-width: inherit; */
	/* height: auto; */
	/* position: absolute; */
	/* top: 50%; */
	/* left: 50%; */
	/* transform: translate(-50%, -50%); */
	/* transition: all .5s; */
	height: auto;
}

.testformBlk .test-answer {
	margin-bottom: 40px;
}

.testformBlk .test-question>span {
	font-size: 1.75rem;
	line-height: 1;
	font-weight: 600;
	font-style: italic;
	font-family: Arial, Helvetica, sans-serif;
	/* margin-right: 5px; */
	position: absolute;
	left: 0px;
	top: 5px;
}

.testformBlk .test-answer .form-check {
	border-radius: 5px;
	padding: 0 0 0 15px;
	background-color: rgb(250 250 250 / 75%);
	border: 1px solid transparent;
	margin-bottom: 10px;
}

.testformBlk .test-answer .form-check .form-check-input[type=radio] {
	margin: 0;
	margin-right: 8px;
}

.testformBlk .test-answer .form-check .form-check-label {
	font-size: 1.15rem;
	line-height: 20px;
	color: #444;
	width: calc(100% - 30px);
	padding: 20px 0;
}

.testformBlk .test-answer .form-check:has(.form-check-input:checked[type=radio]) {
	background-color: #fce15e;

}

.testformBlk .test-answer .form-check .form-check-input:checked[type=radio] {
	background-color: #fff;
	border-color: #fce15e;
	display: flex;
	justify-content: center;
	align-items: center;
}

.testformBlk .test-answer .form-check .form-check-input:checked[type=radio]::before {
	content: '';
	display: block;
	width: 12px;
	height: 12px;
	background-color: #333;
	border-radius: 100%;
}

/* btnBlk */
.testformBlk .modal-footer {
	background-color: transparent;
	border: 0;
	border-radius: 0;
	padding: 0 1.75rem;
	justify-content: flex-start;
	align-items: center;
	flex-flow: column;
	/* height: 185px; */
}

.testformBlk .modal-footer.results-end {
	/* height: 125px; */
}

/* footer hint */
.testformBlk .hint {
	width: 100%;
	padding: 0 8px;
	text-align: center;
	margin: 0 auto 15px;
	font-size: 1rem;
	color: #666;
}

.testformBlk .notice {
	color: var(--orange-primary);
}

.testformBlk .modal-footer .hint a {
	color: var(--orange-primary);
	font-size: .9rem;
	line-height: 1.2;
	text-decoration: underline;
}

.testformBlk .modal-footer .hint a:hover {
	color: var(--orange-primary);
}

/* button */
.testformBlk .modal-footer .btn {
	width: 90%;
	padding: 1rem .75rem;
	font-size: 1.15rem;
	border-radius: 30px;
	line-height: 1;
	display: flex;
	justify-content: center;
	align-items: center;
	letter-spacing: 1px;
	transition: all .5s;
	box-shadow: none;
	min-width: 180px;
	margin: 0 auto 10px;
}

.testformBlk .modal-footer .btn:disabled {
	opacity: 0;
}

.testformBlk .modal-footer .btn.next {
	border-color: var(--bule-primary);
	background-color: var(--bule-primary);
	color: #fff;
}

.testformBlk .modal-footer .btn.previous {
	border-color: #eee;
	background-color: rgba(255, 255, 255, 0.5);
	color: #999;
}

/* 結果 */
.testform .resultsBlk {
	width: 300px;
	margin: 0 auto;
	/* padding: 15px 0 0; */
}

.testform .resultsBlk .test-scores {
	font-size: 8rem;
	line-height: 1;
	text-align: center;
	font-weight: 900;
	font-style: italic;
	color: #000;
	padding: 5px 0;
	font-family: 'Noto Sans';
	width: 200px;
	margin: auto;
}

.testform .resultsBlk .test-scores.success {
	animation: jump 2.5s infinite;
}

.testform .resultsBlk .test-scores.fail {
	animation: slide 2.5s infinite;
}

.testform .resultsBlk::before,
.testform .resultsBlk::after {
	content: '';
	display: block;
	height: 50px;
	width: 100%;
}

.testform .resultsBlk::before {
	background: url(../event/images/end-icon-01.svg) top left no-repeat;
	background-size: auto 100%;
}

.testform .resultsBlk::after {
	background: url(../event/images/end-icon-02.svg) bottom right no-repeat;
	background-size: auto 100%;
}

.testform .results-text {
	padding-top: 2rem;
	margin-bottom: 3rem;
	text-align: center;
}

.testform .results-text p {
	margin: 0;
	padding: 0;
	font-size: 1.15rem;
	line-height: 1.75;
	letter-spacing: 1px;
}

.testform .results-text p span {
	padding: 0 8px;
	color: #E20314;
	font-weight: 900;
	font-style: italic;
	font-size: 1.45rem;
	line-height: 1;
}

/* 資訊 form */
.teststepBlk .form-control {
	padding: .75rem 1.125rem;
	color: #333;
	border: 1px solid #e7e7e7;
	border-radius: 5px;
}

@media (max-width:480px) {
	.teststepBlk .form-control {
		padding: .5rem 1rem;
	}
}

.teststepBlk .form-control.is-invalid {
	border-color: #dc3545;
}

.teststepBlk .form-group {
	margin-bottom: 15px;
}

.teststepBlk .form-group .form-select {
	margin-bottom: 0.5rem;
	padding: .75rem 1.125rem;
}

@media (max-width:480px) {
	.teststepBlk .form-group .form-select {
		padding: .5rem 1rem;
	}
}

.teststepBlk .form-group label {
	visibility: hidden;
	display: none;
}

.testformBlk .test-question.from-txt {
	text-align: center;
	font-size: 1.5rem;
	line-height: 1.2;
	margin: 0 auto 1.25rem;
	padding-left: 0;
}

@media (max-width:480px) {
	.testformBlk .test-question.from-txt {
		font-size: 1.25rem;
	}
}

.testformBlk .test-answer.form-content {
	/* margin-bottom: 0; */
}

/* 活動說明 */
.testformBlk .test-textarea {
	background-color: #fff;
	/* border: 1px solid #eee; */
	padding: 0 2rem 3rem;
	color: #444;
	margin: 0;
	border-radius: 10px;
}

.testformBlk .test-textarea .boxBlk {
	padding: 0 .75rem;
	min-height: 300px;
	overflow-y: auto;
	font-size: 1rem;
	line-height: 1.75;
}

@media (max-width:575px) {
	.testformBlk .test-textarea .boxBlk {
		padding: 0 .5rem 0;
	}
}

.testformBlk .test-textarea .boxBlk p {
	margin-bottom: .25rem;
	font-size: 1.5rem;
	line-height: 1.5;
}

.testformBlk .test-textarea .boxBlk p strong {
	font-weight: 700;
	font-style: italic;
	padding: 0px 10px;
	font-size: 2rem;
	line-height: 1;
	color: var(--orange-primary);
}

.testformBlk .test-textarea .boxBlk p.box-h5 {
	width: 100%;
	text-align: center;
	font-size: 1.75rem;
	line-height: 1.5;
	padding: 5px 0 0;
	margin-bottom: .75rem;
	font-weight: 500;
	color: #222;
	letter-spacing: 1px;
	margin-top: 2rem;
}

.testformBlk .test-textarea .boxBlk ul {
	margin: 0 0 10px;
	padding-top: .75rem;
	padding-left: 1.5rem;
	font-size: 1.05rem;
}

.testformBlk .test-textarea .boxBlk ul>li::marker {
	color: #ccc;
}

@media (max-width:768px) {
	.testformBlk .test-textarea {
		padding: 0 .5rem 3rem;
	}

	.testformBlk .test-textarea .boxBlk p {
		font-size: 1.25rem;
	}

	.testformBlk .test-textarea .boxBlk p strong {
		padding: 0px 5px;
		font-size: 2rem;
	}
}

@media (max-width:575px) {
	.testformBlk .test-textarea {
		padding: 0;
	}

	.testformBlk .test-textarea .boxBlk p {
		font-size: 1.125rem;
	}

	.testformBlk .test-textarea .boxBlk p strong {
		padding: 0px 5px;
		font-size: 1.5rem;
	}
}

/*  */
.testformBlk .hint.form-check {
	justify-content: center;
	margin-top: 20px;
}

.testformBlk .hint.form-check label {
	color: #333;
}

/* .testformBlk .hint.form-check:has(.form-check-input:checked) label {
	color: var(--bule-primary);
	text-decoration: underline;
} */

.testformBlk .hint.form-check .form-check-input:checked {
	border-color: #333;
	background-color: #333;
}

.routebtn {
	width: 100%;
	border-radius: 15px;
	border-width: 2px;
	border-style: solid;
	font-size: 1.5rem;
	line-height: 40px;
	display: flex;
	justify-content: space-between;
	align-items: center;
	background-color: rgba(255, 255, 255, 0.5);
}

.routebtn::after {
	content: '';
	display: block;
	aspect-ratio: 1 / 1;
	width: 25%;
	max-width: 70px;
	background-repeat: no-repeat;
	background-position: center;
	background-size: 100% auto;
}

.routebtn.v1 {
	border-color: #AF7448;
	color: #875B3C;
}

.routebtn.v1::after {
	background-image: url(../event/images/btn-01.svg);
}

.routebtn.v1:hover, .routebtn.active.v1 {
	border-color: #906342;
	color: #fff;
	background-color: #906342;
}

.routebtn.v2 {
	border-color: #A3A3A3;
	color: #616161;
}

.routebtn.v2::after {
	background-image: url(../event/images/btn-02.svg);
}

.routebtn.v2:hover, .routebtn.active.v2 {
	border-color: #868686;
	color: #fff;
	background-color: #868686;
}

.routebtn.v3 {
	border-color: #FFAE62;
	color: #f9891f;
}

.routebtn.v3::after {
	background-image: url(../event/images/btn-03.svg);
}

.routebtn.v3:hover, .routebtn.active.v3 {
	border-color: #FCB36F;
	color: #fff;
	background-color: #FCB36F;
}

.routebtn.v4 {
	border-color: #62C9BC;
	color: #62C9BC;
}

.routebtn.v4::after {
	background-image: url(../event/images/btn-04.svg);
}

.routebtn.v4:hover, .routebtn.active.v4 {
	border-color: #62C9BC;
	color: #fff;
	background-color: #62C9BC;
}

.testformBlk .modal-body:has(.table) {
	max-width: 480px;
}

.testformBlk .modal-body .table {
	background-color: #fff;
	font-size: .975rem;
	line-height: 1.2;
	word-break: break-all;
	color: #222;
	margin-top: -10px;
}

.testformBlk .modal-body .table th {
	font-size: .95rem;
}

.testformBlk .modal-body .table>:not(caption)>*>* {
	padding: .35rem .25rem;
}

.testformBlk .modal-body .table th:nth-child(1), .testformBlk .modal-body .table td:nth-child(1) {
	width: 10%;
	text-align: center;
}

.testformBlk .modal-body .table th:nth-child(2) {
	width: 17%;
	min-width: 58px;
}

.testformBlk .modal-body .table th:nth-child(3) {
	width: 25%;
}

.step-img {
	margin: 2rem 0;
}

.nav li {
	margin: 1rem 0.5rem;
}

.nav li a {
	text-decoration: none;
	font-size: 1.125rem;
	color: #444;
	font-weight: 500;
	padding: 0.5rem 2rem;
	display: block;
	background-color: #fff;
	border-radius: 30px;
	box-shadow: 2px 2px 5px rgba(0, 0, 0, 0.2);
	position: relative;
	z-index: 1
}

.nav li a::before {
	content: '';
	position: absolute;
	top: 0px;
	left: 0px;
	background-color: #fce15e;
	z-index: -1;
	width: 100%;
	height: 100%;
	display: block;
	border-radius: 30px;
	transition: all 0.3s;
	transform: scale(0);
}

.nav li a:hover::before, .nav li a.active::before {
	transform: scale(1);
}

@media (max-width:768px) {
	.nav li a {
		padding: 0.5rem .5rem;
	}
}

@media (max-width:575px) {
	.nav li a {
		font-size: 1rem;
	}
}

@media (max-width:484px) {
	.nav li {
		width: 80%;
		margin: 0.5rem auto;
		text-align: center;
	}
}

.btnBlk {
	display: flex;
	justify-content: space-between;
	width: 90%;
	margin: 1.5rem auto;
	/* flex-wrap: wrap; */
}

@media (max-width:767px) {
	.btnBlk:has(.answerBtn) {
		flex-wrap: wrap;
	}
}

.btnBlk a {
	background-color: #fce15e;
	display: block;
	font-size: 1.5rem;
	padding: 0.5rem 3rem;
	text-align: center;
	text-decoration: none;
	color: #333;
	border-radius: 40px;
	font-weight: 500;
	letter-spacing: 1px;
	position: relative;
	z-index: 1
}

@media (max-width:768px) {
	.btnBlk a {
		background-color: #fce15e;
		padding: 0.5rem 1rem;
	}

	.btnBlk a.prevBtn {
		margin-right: 1rem;
	}
}

@media (max-width:576px) {
	/* .btnBlk {
		flex-flow: column;
		align-items: center;
	} */
}

@media (max-width:480px) {
	.btnBlk a {
		font-size: 1rem;
		letter-spacing: 0px;
		padding: 0.5rem .75rem;
	}
}

.btnBlk a:hover {
	color: #fff
}

.btnBlk a.resetBtn {
	background-color: #fff;
	margin-top: 1rem
}

.btnBlk a.startBtn {
	/* max-width: 90%; */
	/* margin: 0 auto; */
	flex-grow: 1;
}

.btnBlk a::before {
	content: '';
	position: absolute;
	top: 0px;
	left: 0px;
	background-color: #e39696;
	z-index: -1;
	width: 100%;
	height: 100%;
	display: block;
	border-radius: 30px;
	transition: all 0.3s;
	transform: scale(0);
}

.btnBlk a i {
	transform: translateX(0px);
	transition: all 0.3s;
	display: inline-block;
}

.btnBlk a:hover::before {
	transform: scale(1);
}

.btnBlk a.startBtn:hover i, .btnBlk a.nextBtn:hover i {
	transform: translateX(10px);
}

.btnBlk a.prevBtn {
	margin-right: 2rem;
}

.btnBlk a.prevBtn:hover i {
	transform: translateX(-10px);
}

@media (max-width:575px) {
	.btnBlk a.prevBtn {
		margin-right: 1rem;
	}

	.btnBlk a.startBtn,
	.btnBlk a.nextBtn {
		/* width: 49%; */
	}
}

@media (max-width:375px) {
	.btnBlk a i {
		font-size: 1rem;
	}
}

table {
	width: 100%;
	margin: 1rem auto 2rem auto;
	border-collapse: collapse;
	border-radius: 20px;
	overflow: hidden;
	border: transparent 1px solid;
	box-shadow: 0px 2px 5px rgba(0, 0, 0, 0.1)
}

table th {
	background-color: #666;
	border: #999 1px solid;
	padding: 0.5rem 1rem;
	color: #fff;
}

table td {
	border: #999 1px solid;
	padding: 0.5rem 1rem;
}

@media (max-width:768px) {
	table th {
		padding: .5rem .5rem;
	}

	table td {
		padding: .5rem .5rem;
	}
}

@media (max-width:576px) {
	table {
		border-radius: 10px;
	}
}

@media (max-width:425px) {
	table th {
		padding: .5rem .25rem;
	}

	table td {
		padding: .5rem .25rem;
	}
}

.test-answer .item {
	margin: 0.5rem 0;
	width: 100%;
}

.test-answer .item .btn {
	width: 100%;
	background-color: #fff;
	text-align: left;
	padding: 0.5rem 1.5rem;
}

.test-answer .btn-check:checked+.btn {
	background-color: #e39696;
	border: none;
	color: #fff
}

.info {
	margin-top: 2rem;
	display: flex;
	flex-wrap: wrap;
}

@media (max-width:575px) {
	.info {
		margin-bottom: 1.5rem;
	}
}

.info div {
	line-height: 1;
	padding: 0 0.5rem;
}

@media (max-width:575px) {
	.info div {
		width: 100%;
	}
}

.info .shool-name {
	border-right: #999 1px solid;
}

@media (max-width:575px) {
	.info .shool-name {
		border-right: none;
		margin-bottom: 0.5rem;
	}
}

.login {
	background-color: #fff1b3;
	min-height: initial;
	border-radius: 30px;
	padding: 2rem;
	margin: 0 auto 2rem auto;
	max-width: 480px;
}

@media (max-width:480px) {
	.login {
		padding: 1.5rem;
	}
}

.login .btnBlk {
	margin: 1.5rem 0 0 0;
	width: 100%;
	display: block;
}

.login .test-answer {
	margin-bottom: 0;
}

.testformBlk .modal-content .test-title a:has(img) {
	margin: 0 auto 0.5rem auto;
	display: flex;
	justify-content: center;
	width: 100%;
	/* padding: 0 30px; */
}

.testformBlk .modal-content .test-title a:has(img) img {
	width: 90%;
	max-width: 600px;
}

.routeBlk {
	display: flex;
	align-items: stretch;
}

.routeBlk .nav-pills .nav-link {
	color: #333;
	font-size: 1.5rem;
	padding: 1rem 2rem;
	border-radius: 20px 0 0 20px;
	width: 200px;
	flex: 1;
}

.routeBlk .nav-pills .nav-link:hover {
	background-color: #f3f4f6;
}

.routeBlk .nav-pills .nav-link.active {
	background-color: #fff1b3;
}

.routeBlk .tab-content {
	flex-grow: 1;
	background-color: #fff1b3;
	border-radius: 0 20px 20px 0;
	height: 394px;
}

.route-line {
	display: flex;
	flex-wrap: wrap;
	padding: 1.5rem;
}

.route-selected {
	width: 90%;
	margin: 0px auto 2.5rem auto;
	font-size: 1.5rem;
	text-align: center;
	background-color: rgb(250 250 250 / 75%);
	padding: 1rem;
}

@media (min-width:768px) {
	.routeBlk .nav-pills .nav-link {
		padding: 1rem 3rem 1rem 2rem;
	}

	.routeBlk .tab-content {
		border-radius: 20px;
		margin-left: -1rem;
	}
}

@media (max-width:767px) {
	.routeBlk {
		flex-flow: column;
	}

	.routeBlk .tab-content {
		border-radius: 20px;
		margin-top: -20px;
		height: auto;
	}

	.routeBlk .nav-pills .nav-link {
		border-radius: 20px 20px 0 0;
		width: 100%;
		font-size: 1.125rem;
		padding: 15px 5px 30px;
	}

	.test-answer .routeBlk .item .btn {
		padding: .5rem .75rem;
	}

	.route-line {
		padding: 1.5rem 1rem 1rem;
	}

	.route-selected {
		font-size: 1.25rem;
	}
}

@media (max-width:441px) {

	/* .routeBlk .tab-content {
		border-radius: 10px;
	} */
	.routeBlk .nav-pills .nav-link {
		border-radius: 10px 10px 0 0;
		font-size: 1.05rem;
		padding: 10px 15px 30px;
		line-height: 1.2;
	}
}

@media (max-width:375px) {
	.routeBlk .nav-pills .nav-link {
		font-size: 1rem;
		padding: 12px 15px 28px;
	}
}

.img-answer {
	display: flex;
	flex-wrap: wrap;
}

.img-answer>div {
	width: calc(50% - 1rem);
	margin: 1rem .5rem;
}

.img-answer .label-img {
	border-radius: 30px;
	overflow: hidden;
	width: calc(100% - 1rem);
	aspect-ratio: 16/9;
	margin: 1rem 1rem 1rem 0;
}

.img-answer .label-img img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.testformBlk .test-answer .form-check .form-check-label:has(.label-img) {
	padding: 0;
}

@media (max-width:768px) {
	.img-answer .label-img {
		margin: 1rem 1rem 1rem 0;
		border-radius: 15px;
	}
}

@media (max-width:690px) {
	.img-answer>div {
		width: 100%;
		margin: 0;
	}
}

.text-answer {
	background-color: #fff;
	padding: 1.5rem 2rem 1rem 2rem;
	margin-bottom: 1.5rem;
	border: #ddd 2px solid;
	border-radius: 20px;
}

.text-answer p {
	font-size: 1.5rem;
}

.text-answer+.test-answer .login {
	width: 100%;
	max-width: initial;
	padding: 1rem 2rem 1.5rem 2rem;
}

.text-answer+.test-answer .login span {
	margin-bottom: 0.5rem;
	display: block
}

.text-answer button {
	background-color: #fce15e;
	font-size: 1.5rem;
	padding: 0rem 1rem 0.5rem 1rem;
	border-radius: 10px;
}

.button-answer button {
	background-color: #fff;
	font-size: 1.5rem;
	padding: 0rem 1rem 0.5rem 1rem;
	border-radius: 10px;
	margin: 0.25rem;
}

.teststepBlk .form-group.flex {
	display: flex;
	align-items: center;
	position: relative;
}

@media (max-width:480px) {
	.teststepBlk .form-group.flex {
		flex-wrap: wrap
	}
}

.teststepBlk .form-group.flex span {
	margin-left: 0.5rem;
}

.teststepBlk .form-group.flex .form-select {
	margin-bottom: 0;
	margin-right: 0.5rem;
	width: 180px;
}

@media (max-width:480px) {
	.teststepBlk .form-group.flex .form-select {
		width: 100%;
		margin-bottom: 0.5rem;
		margin-right: 0;
	}

	.teststepBlk .form-group.flex .form-control {
		width: calc(100% - 30px)
	}
}


@media (max-width:575px) {
	table:not(.gift) tr {
		display: flex;
		border-bottom: #999 1px solid;
		position: relative;
		counter-increment: num-counter;
		flex-wrap: wrap;
	}

	.boxBlk table:not(.gift) tr::before {
		content: counter(num-counter);
		position: absolute;
		display: block;
		width: 33px;
		height: 32px;
		background-color: #f1f1f1;
		border-radius: 50%;
		line-height: 29px;
		text-align: center;
		left: 13px;
		top: 8px;
	}

	table:not(.gift) tr:nth-of-type(even)::before {
		background-color: #ffffff;
	}

	table:not(.gift) tr:nth-of-type(even) {
		background-color: #f1f1f1;
	}

	table:not(.gift) tr:last-child {
		border-bottom: none;
	}

	table:not(.gift) thead {
		display: none;
	}

	table:not(.gift) td {
		border: none;
		padding: 0 0.75rem 0 0.75rem;
		line-height: 28px;
	}

	table:not(.gift) td:last-child {
		padding: 0 0.75rem 0.5rem 0.75rem;
	}

	.boxBlk table:not(.gift) td:first-child {
		padding: 0.75rem 0.75rem 1rem 3.5rem;
		line-height: 1;
		width: 100%;
	}

	.boxBlk tabl:not(.gift)e td:last-child {
		padding: 0 0.75rem 0.75rem 0.75rem;
	}
}

.answer-esults {
	position: fixed;
	background-color: rgba(0, 0, 0, 0.5);
	padding: 2rem;
	width: 100%;
	height: 100%;
	top: 0px;
	left: 0px;
	z-index: 1;
	opacity: 0;
	visibility: hidden;
	transition: all 0.3s;
	overflow: auto;
}

.answer-esults.active {
	opacity: 1;
	visibility: visible;
}

.answer-esults .heading {
	color: #fff;
	text-align: center;
	font-size: 2rem;
	position: relative;
	width: 65%;
	margin: 0 auto 2rem auto;
}

@media (max-width:991px) {
	.answer-esults .heading {
		width: 100%;
	}
}

.answer-esults table {
	width: 65%;
	background-color: #fff;
	font-size: 1.125rem;
}

@media (max-width:991px) {
	.answer-esults table {
		width: 100%;
	}
}

.answer-esults table p {
	margin-bottom: 0.25rem;
}

@media (max-width:575px) {
	.answer-esults table p+p {
		margin-bottom: 0rem;
	}
}

.answer-esults .closeBtn {
	position: absolute;
	top: 0rem;
	right: 0rem;
	color: #333;
	background-color: #fce15e;
	width: 50px;
	height: 50px;
	border-radius: 50%;
	display: flex;
	justify-content: center;
	align-items: center;
}

.answer-esults .closeBtn:hover {
	background-color: #e39696;
}

.answerBtn {
	margin-right: 1rem;
	background-color: #ddd !important;
}

@media (max-width:767px) {
	.answerBtn {
		width: 100%;
		margin-bottom: 1rem;
		margin-right: 0 !important;

	}
}

.answer-esults .route {
	color: #fff;
	width: 65%;
	margin: 0 auto;
	font-size: 1.25rem;
}

@media (max-width:991px) {
	.answer-esults .route {
		width: 100%;
	}
}

.answer-esults .route::before {
	content: '探險路線：';
}

@media (max-width:575px) {
	.answer-esults table td {
		padding: 0.75rem;
	}

	.answer-esults table td:first-child {
		line-height: 1;
		width: 100%;
		text-align: left !important;
		padding: 0.75rem 0.75rem 0 0.75rem;
	}

	.answer-esults table td:last-child {
		position: absolute;
		right: 0px;
		top: 6px;
	}
}

.testformBlk .test-question p {
	white-space: pre-line;
	line-height: 1.6;
	padding-left: 55px;
}

.testformBlk .test-question.questionEn {
	margin-bottom: 0.5rem;
}

@keyframes jump {
	0%, 100% {
		transform: translateY(0);
		animation-timing-function: ease-out;
	}

	50% {
		transform: translateY(-20px);
		animation-timing-function: ease-in;
	}
}

@keyframes slide {
	0%, 100% {
		transform: rotate(0deg);
		animation-timing-function: ease-out;
	}

	50% {
		transform: rotate(5deg);
		animation-timing-function: ease-in;
	}
}

.testformBlk .test-textarea .boxBlk ul li {
	margin-bottom: 0.5rem;
	line-height: 1.5;
}

.testformBlk .test-textarea .boxBlk ul li span {
	display: block;
	font-weight: bold;
	font-size: 1.125rem;
}

table.gift {
	text-align: center;
}

table.gift th:last-child {
	width: 150px;
}

table.gift br {
	display: none;
}

@media (max-width:575px) {
	table.gift br {
		display: block;
	}

	table.gift th:last-child {
		width: 85px;
	}
}

/*opecms*/
.oc-option-bar:first-of-type .opencms-icon-cut-20 {
	/*剪刀按鈕不出現*/
	display: none;
}

.flex .invalid-feedback {
	position: absolute;
	bottom: -23px;
}

.teststepBlk .form-group.flex:has(.show) {
	margin-bottom: 2rem;
}

.flex .invalid-feedback~.invalid-feedback {
	left: 160px;
}

@media (max-width:480px) {
	.flex .invalid-feedback~.invalid-feedback {
		display: none
	}
}

.picBlk>div {
	position: absolute;
}

.balloon01 {
	bottom: 17%;
	left: 17%;
	width: 8vw;
	max-width: 120px;
	transition: all 0.3s;
	animation: balloon1 2.5s ease-in-out infinite alternate-reverse;
}

@media (max-width:820px) {
	.balloon01 {
		bottom: 14%;
	}
}

@media (max-width:630px) {
	.balloon01 {
		bottom: 12%;
	}
}

@media (max-width:575px) {
	.balloon01 {
		bottom: 8%;
	}
}

@media (max-width:480px) {
	.balloon01 {
		bottom: 8%;
		width: 13vw;
		left: 22%;
	}
}

@media (max-width:375px) {
	.balloon01 {
		bottom: 6%;
	}
}

.balloon02 {
	bottom: 14%;
	right: 26%;
	width: 6vw;
	max-width: 100px;
	transition: all 0.3s;
	/* animation: balloon2 2.5s ease-in-out infinite alternate-reverse; */
}

@media (max-width:630px) {
	.balloon02 {
		bottom: 10%;
	}
}

@media (max-width:575px) {
	.balloon02 {
		bottom: 5%;
	}
}

@media (max-width:480px) {
	.balloon02 {
		bottom: 9%;
		width: 9vw;
		right: 16%;
	}
}

@media (max-width:375px) {
	.balloon02 {
		bottom: 7%;
	}
}

@keyframes balloon1 {
	0% {
		transform: rotate(0deg) translateY(-0%)
	}

	to {
		transform: rotate(-0deg) translateY(-10%)
	}
}

@keyframes balloon2 {
	0% {
		transform: rotate(-0deg) translateY(-10%)
	}

	to {
		transform: rotate(0deg) translateY(-0%)
	}
}

@media (max-width:480px) {
	.gift-img {
		overflow: hidden;
		text-align: center;
	}

	.gift-img img {
		width: 458px;
		max-width: initial;
	}
}

@media (max-width:375px) {
	.gift-img img {
		width: 393px;
	}
}

.test-title h1 {
	display: flex;
	align-items: center
}

@media (max-width:575px) {
	.test-title h1 {
		flex-direction: column
	}

	.gohome {
		margin-top: 1rem
	}
}


.gohome a {
	text-decoration: none;
	display: block;
	color: #444;
	text-decoration: none;
	font-size: 1.125rem;
	display: block;
	font-weight: 500;
	padding: 0.5rem 2rem;
	background-color: #fff;
	border-radius: 30px;
	box-shadow: 2px 2px 5px rgba(0, 0, 0, 0.2);
	position: relative;
	z-index: 1;
	white-space: nowrap;
	text-align:center;
	margin-right: 1rem;
}
@media (max-width:484px) {
	.gohome {
		width:80%;
	}
}

.gohome a::before {
	content: '';
	position: absolute;
	top: 0px;
	left: 0px;
	background-color: #fce15e;
	z-index: -1;
	width: 100%;
	height: 100%;
	display: block;
	border-radius: 30px;
	transition: all 0.3s;
	transform: scale(0);
}

.gohome a:hover::before {
	transform: scale(1);
}