@import url("https://fonts.googleapis.com/css2?family=Noto+Sans+TC:wght@100..900&family=Noto+Serif+TC:wght@200..900&display=swap");
body, div, dl, dt, dd, ul, ol, li, h1, h2, h3, h4, h5, h6, pre, code, form, fieldset, legend, input, button, textarea, blockquote, th, td {
  margin: 0;
  padding: 0;
}

table {
  border-collapse: collapse;
  border-spacing: 0;
  font-style: inherit;
}

fieldset, img {
  border: 0;
}

address, caption, cite, code, dfn, em, strong, th, var, optgroup {
  font-style: inherit;
  font-weight: inherit;
}

del, ins {
  text-decoration: none;
}

li {
  font-style: inherit;
}

caption, th {
  text-align: left;
}

h1, h2, h3, h4, h5, h6, th {
  font-weight: 700;
}

q:before, q:after {
  content: "";
}

abbr, acronym {
  border: 0;
  font-variant: normal;
}

sup {
  vertical-align: baseline;
}

sub {
  vertical-align: baseline;
}

legend {
  color: #000;
}

input, button, textarea, select, optgroup, option {
  font-family: inherit;
  font-size: inherit;
  font-style: inherit;
  font-weight: inherit;
}

/* width */
::-webkit-scrollbar {
  width: 6px;
  height: 6px;
}

/* Track */
::-webkit-scrollbar-track {
  background: rgba(255, 255, 255, 0.2);
  border-radius: 3px;
}

/* Handle */
::-webkit-scrollbar-thumb {
  background: rgba(255, 255, 255, 0.5);
  border-radius: 3px;
}

/* Handle on hover */
::-webkit-scrollbar-thumb:hover {
  background: rgba(255, 255, 255, 0.5);
}

* {
  -webkit-box-sizing: border-box;
          box-sizing: border-box;
}

body {
  min-height: 100vh;
}

@supports (-webkit-touch-callout: none) {
  body {
    min-height: -webkit-fill-available;
  }
}
body {
  -webkit-text-size-adjust: 100%;
  font-family: "Noto Serif TC", serif;
  font-size: 1.2rem;
  font-weight: 500;
  letter-spacing: 0.05em;
  line-height: 1.5;
  background: #709ad2;
  color: white;
}

img {
  max-width: 100%;
}

a {
  color: white;
}

input,
button {
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  border: 0;
  outline: 0;
  background: no-repeat;
  color: white;
}

input::-webkit-input-placeholder {
  font-size: 0.85em;
}

input::-moz-placeholder {
  font-size: 0.85em;
}

input:-ms-input-placeholder {
  font-size: 0.85em;
}

input::-ms-input-placeholder {
  font-size: 0.85em;
}

input::placeholder {
  font-size: 0.85em;
}

input:focus::-webkit-input-placeholder {
  color: transparent;
}

input:focus::-moz-placeholder {
  color: transparent;
}

input:focus:-ms-input-placeholder {
  color: transparent;
}

input:focus::-ms-input-placeholder {
  color: transparent;
}

input:focus::placeholder {
  color: transparent;
}

.btn {
  display: inline-block;
  border: 0;
  outline: 0;
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  color: white;
  width: 39.7%;
  min-height: 8vh;
  text-align: center;
  padding: 0 0;
  background-size: 100%;
  cursor: pointer;
}
.btn:hover {
}

a.btn {
  line-height: 8vh;
  text-decoration: none;
}

.center {
  text-align: center;
}

.wrap {
  position: relative;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  width: 100%;
  max-width: 56.25vh;
  min-height: 100vh;
  min-height: calc(var(--vh, 1vh) * 100);
  margin: auto;
  background-size: cover;
}
.wrap main {
  width: 100%;
}

.index {
  background-image: url(../images/bg_index.png);
  background-position: bottom;
}

.index-sectitle {
  display: block;
  width: 48.1%;
  margin: 0 auto;
}

.index-title {
  text-align: center;
  font-weight: 900;
  margin-bottom: 1rem;
  font-size: 2.2em;
}

.index-desc {
  text-align: center;
}

.index-start {
  display: block;
  width: 55%;
  height: 10.7vh;
  margin: 1.5rem auto;
  background: url(../images/btn_start.png) no-repeat center;
  background-size: cover;
}
.index-start span {
  display: none;
}
.index-start:hover {
  background-image: url(../images/btn_start_hover.png);
}

.btn-reserve {
  position: absolute;
  right: 1rem;
  bottom: 15%;
  display: block;
  height: 15.5vh;
  background: url(../images/btn_reserve.png) no-repeat center;
  background-image: url(../images/btn_reserve_visited.png);
  background-size: 100% auto;
  width: 18vh;
}
.btn-reserve span {
  display: none;
}

.btn-reserve.active {
  background-image: url(../images/btn_reserve_visited.png);
  background-size: 100% auto;
  width: 18vh;
}

.privacy-check {
  text-align: center;
}
.privacy-check label {
  position: relative;
}
.privacy-check input[type=radio] {
  display: inline-block;
  width: 1.2em;
  height: 1.2em;
  vertical-align: middle;
  -moz-appearance: none; /* Firefox */
  -webkit-appearance: none; /* Safari and Chrome */
  opacity: 0;
  margin-right: 0.5em;
  position: relative;
  z-index: 1;
}
.privacy-check span {
  display: inline-block;
  vertical-align: middle;
}
.privacy-check span.mark {
  position: absolute;
  left: 0;
  top: 50%;
  display: block;
  width: 1.2em;
  height: 1.2em;
  margin-top: -0.4em;
  border-radius: 50%;
  background: url(../images/input_radio.png) no-repeat center;
  background-size: 100%;
}
.privacy-check input[type=radio]:checked ~ span.mark {
  background-image: url(../images/input_radio_check.png);
}
.privacy-check .open-privacy {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 2;
  display: block;
}

.popup {
  display: none;
  position: fixed;
  left: 50%;
  top: 0;
  -webkit-transform: translateX(-50%);
          transform: translateX(-50%);
  width: 100%;
  max-width: 56.25vh;
  height: 100%;
  background: rgba(0, 0, 0, 0.5);
  z-index: 9;
}
.popup .popup-box {
  position: absolute;
  left: 50%;
  top: 50%;
  -webkit-transform: translate(-50%, -50%);
          transform: translate(-50%, -50%);
  background: #a5c8ff;
  border: 2px solid #005a92;
  padding: 1.5em;
  border-radius: 1.5em;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
      -ms-flex-direction: column;
          flex-direction: column;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  width: 90%;
}
.popup .popup-box .info {
  width: 100%;
  padding: 0;
}
.popup .close {
  position: absolute;
  right: 1rem;
  top: 1rem;
  display: block;
  width: 50px;
  height: 50px;
  background: url(../images/img_close.png) no-repeat center;
  background-size: 100%;
}
.popup .popup-title {
  text-align: center;
  margin-bottom: 2rem;
}
.popup .popup-text {
  color: #003b6d;
  font-weight: 700;
  text-align: center;
  margin-top: 1em;
}
.popup .btns {
  width: 100%;
  margin-top: 0;
}

.popup-privacy {
  position: fixed;
  left: 50%;
  top: 0;
  height: 100%;
  height: calc(var(--vh, 1vh) * 100);
  -webkit-transform: translateX(-50%);
          transform: translateX(-50%);
  background: #709ad2;/*url(../images/bg_pop.png) no-repeat center;*/
  background-size: 100% 100%;
  padding-top: 2.5rem;
  padding-left: 1rem;
  padding-right: 1rem;
}
.popup-privacy .popup-box {
  position: static;
  -webkit-transform: none;
          transform: none;
  background: none;
  border: 0;
  border-radius: 0;
  padding: 0;
  display: block;
  width: 100%;
}
.popup-privacy .scroll {
  height: 64vh;
  overflow: auto;
}
.popup-privacy .rule-text {
  margin: auto;
  font-size: 1em;
  padding-right: 1em;
  font-family: "Noto Sans TC", sans-serif;
}
.popup-privacy .rule-text h3 {
  margin-top: 2em;
}
.popup-privacy .rule-text h3:first-child {
  margin-top: 0;
}
.popup-privacy .btns {
  margin-top: 1em;
}
.popup-privacy .btn.active {
  background-image: url(../images/btn_active.png);
}

li {
  margin-left: 2em;
}

ol.lower-alpha li {
  list-style-type: lower-alpha;
}

.notice {
  color: #fff;
  font-size: 0.8em;
  margin-top: 0.5rem;
  margin-bottom: 0.5rem;
  text-align: center;
}

.btns {
  text-align: center;
  margin-top: 1rem;
}
.btns .notice {
  font-size: 0.75em;
}

.info ~ .notice {
  font-family: "Noto Sans TC", sans-serif;
  font-weight: 500;
}

.wrap:has(.question) {
  background-image: url(../images/bg_question.png);
}

.question .q-title {
  text-align: center;
  padding: 0 12.5%;
}
.question .q-title .number {
  font-size: 1.4em;
  margin-bottom: 0.25em;
}
.question .q-title h2 {
  font-size: 1em;
}

.q-form {
  margin-top: 0.5em;
  padding: 0 12.5%;
}
.q-form .qf-option {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  width: 100%;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  text-align: center;
  cursor: pointer;
  position: relative;
  height: 12.5vh;
  background: url(../images/bg_qselect.png) no-repeat center;
  background-size: 100%;
}
.q-form .qf-option:hover {
  background-image: url(../images/bg_qselect_active.png);
}
.q-form .qf-option input[type=radio] {
  -moz-appearance: none; /* Firefox */
  -webkit-appearance: none; /* Safari and Chrome */
  opacity: 0;
  display: block;
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  cursor: pointer;
}
.q-form .qf-option span {
  width: 100%;
  display: inline-block;
  padding: 0 2em;
}
.q-form .qf-option button {
  text-align: center;
  width: 100%;
  height: 100%;
  cursor: pointer;
}

.info {
  padding: 0 14%;
}
.info h2 {
  text-align: center;
  margin-bottom: 1em;
}
.info label {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  width: 100%;
  margin: auto;
  background: white;
  border-radius: 1.5em;
  padding: 1em;
  margin: 1em auto;
}
.info label input {
  font-size: 0.85em;
  color: #808080;
  -webkit-box-flex: 1;
      -ms-flex: 1;
          flex: 1;
  overflow: hidden;
}
.info h3 {
  font-size: 1em;
  padding: 0 1.5em;
}
.info .label-title {
  font-size: 0.85em;
  color: #003b6d;
  font-weight: 700;
  -webkit-box-flex: 0;
      -ms-flex: none;
          flex: none;
}
.info .selection {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  margin: 1em auto;
}
.info .selection .select {
  -webkit-box-flex: 1;
      -ms-flex: 1;
          flex: 1;
  font-size: 0.9em;
}
.info .selection.f-50 {
  gap: 1em;
}

.info ~ .btns {
  margin-top: 1.5em;
}

.popup .info h2 {
  color: #003b6d;
}
.popup .info h3 {
  color: #003b6d;
}
.popup .info ~ .btns {
  margin-top: 0;
}

.select {
  border-radius: 1.5em;
  background: white url(../images/img_select_arrow.png) no-repeat right 0.5em center;
  background-size: 2.5em auto;
}
.select select {
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  border: 0;
  outline: 0;
  background: none;
  width: 100%;
  padding: 1.1em 2.5em 1.1em 1em;
  color: #003b6d;
  font-weight: 700;
}
.select select option {
  background: white;
}

main:has(.question) {
  padding-top: 5%;
  padding-bottom: 14vh;
}

main:has(.info) {
  padding-top: 5%;
  padding-bottom: 14vh;
}

.result {
  height: 116.4vh;
  background-color: #334fb1;
  background-position: top center;
  background-size: 100% auto;
  -webkit-box-align: start;
      -ms-flex-align: start;
          align-items: flex-start;
  -ms-flex-wrap: wrap;
      flex-wrap: wrap;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
      -ms-flex-direction: column;
          flex-direction: column;
  position: relative;
}
.result main {
  padding-left: 1.5em;
  padding-top: 2em;
}
.result .share {
  width: 100%;
  position: absolute;
  bottom: 0;
  left: 0;
  text-align: center;
  padding-bottom: 2%;
}
.result .share .btn {
  width: 33%;
  background-image: url(../images/btn_share.png);
  background-size: 110% auto;
}
.result .share .btn-line {
  font-size: 0.75em;
  width: 40.7%;
  background-image: url(../images/btn_line.png);
}
.result .share .btns {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
  margin-top: 0.5em;
}
.result .result-name {
  font-size: 2em;
}
.result .result-power span {
  font-size: 2em;
}
.result .result-power h1 {
  font-size: 4.6em;
  font-weight: 500;
  line-height: 1;
}

@media screen and (max-width: 539px) {
  body {
    font-size: 14px;
  }
  .wrap {
    max-width: none;
  }
  .btn {
    min-height: 14.2vw;
  }
  .question .q-title h2 {
    font-size: 1.2em;
  }
  .q-form .qf-option {
    height: 23.1vw;
  }
  .result {
    height: 207vw;
  }
}

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

.footer {
	background-color: #fff;
}
.footer .inner {
	display: flex;
	align-items: center;
	justify-content: center;
	flex-wrap: wrap;
	gap: 2em;
	padding: 2em;
}
.footer .inner img {
	max-height: 60px;
}
