@charset "UTF-8";
@import url("https://fonts.googleapis.com/css2?family=Roboto:wght@400;700;900&display=swap");
*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  -webkit-box-sizing: border-box;
          box-sizing: border-box;
}

body,
div,
dl,
dt,
dd,
ul,
ol,
li,
h1,
h2,
h3,
h4,
h5,
h6,
pre,
code,
form,
fieldset,
legend,
input,
button,
textarea,
p,
blockquote,
th {
  font-family: 'Roboto', Arial, '微軟正黑體', sans-serif !important;
}

img,
object,
embed,
video {
  max-width: 100%;
}

.ie6 img {
  width: 100%;
}

body {
  background: #f2f0eb;
  color: #2C5A89;
  font-size: 15px;
  letter-spacing: .04em;
  min-width: 320px;
  overflow-x: hidden;
}

a,
a:hover {
  text-decoration: none !important;
}

p {
  line-height: 1.6;
  margin: 0;
}

ul,
ol {
  list-style: none;
  padding: 0;
  margin: 0;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  line-height: 1.2;
  margin: 0;
  font-size: 1em;
}

.cp-tips {
  width: 100%;
  line-height: 1.6;
  text-align: center;
  color: #996600;
  background-color: #ffefc6;
  padding: 10px;
  font-size: 16px;
}

.cp-tips p {
  margin: 0;
}

.cp-tips a {
  color: #f75c61;
  text-decoration: underline;
}

.cp-tips .cp-tips-close {
  position: absolute;
  top: 10px;
  right: 10px;
  display: block;
  width: 22px;
  height: 22px;
  -webkit-transform: rotate(45deg);
          transform: rotate(45deg);
  cursor: pointer;
}

.cp-tips .cp-tips-close:before {
  content: '';
  position: absolute;
  width: 100%;
  border-top: 1px solid #996600;
  top: 50%;
  left: 0;
}

.cp-tips .cp-tips-close:after {
  content: '';
  position: absolute;
  height: 100%;
  border-left: 1px solid #996600;
  top: 0;
  left: 50%;
}

.all-content {
  position: relative;
  font-size: 1.1em;
  background: -webkit-gradient(linear, left top, left bottom, from(#FFFFFF), to(#E1E8F2));
  background: linear-gradient(180deg, #FFFFFF 0%, #E1E8F2 100%);
  height: 100vh;
  overflow: hidden;
}

.all-content::before {
  content: '';
  position: absolute;
  width: 100%;
  height: 100%;
  left: 0;
  bottom: 0;
  background: url(../images/city.png) repeat-x 0 bottom/1600px auto;
  -webkit-animation: parallax_fg linear 70s infinite both;
          animation: parallax_fg linear 70s infinite both;
}

.all-content .main_content {
  position: absolute;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  overflow-y: scroll;
  background: url(../images/cloud_1.png) no-repeat center 20%/80% auto;
}

@-webkit-keyframes parallax_fg {
  0% {
    background-position: 0 bottom;
  }
  100% {
    background-position: -1600px bottom;
  }
}

@keyframes parallax_fg {
  0% {
    background-position: 0 bottom;
  }
  100% {
    background-position: -1600px bottom;
  }
}

.ab_header {
  position: relative;
  z-index: 2;
  padding-top: 20px;
}

.ab_header img {
  width: 240px;
  height: 54px;
}

.kv {
  position: absolute;
  left: 50%;
  top: 25%;
  margin-left: -480px;
  width: 960px;
  height: 400px;
  max-width: 100%;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: end;
      -ms-flex-align: end;
          align-items: flex-end;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
      -ms-flex-direction: column;
          flex-direction: column;
  font-size: 1.1em;
}

.kv .title {
  width: 50%;
  text-align: center;
}

.kv .girl {
  position: absolute;
  left: 0;
  -webkit-animation: float linear 4s infinite;
          animation: float linear 4s infinite;
  max-width: 55%;
}

.kv .girl p {
  position: absolute;
  font-weight: bold;
  bottom: 15%;
  right: 5%;
}

@-webkit-keyframes float {
  0% {
    -webkit-transform: translateY(0);
            transform: translateY(0);
  }
  50% {
    -webkit-transform: translateY(-30px);
            transform: translateY(-30px);
  }
  100% {
    -webkit-transform: translateY(0);
            transform: translateY(0);
  }
}

@keyframes float {
  0% {
    -webkit-transform: translateY(0);
            transform: translateY(0);
  }
  50% {
    -webkit-transform: translateY(-30px);
            transform: translateY(-30px);
  }
  100% {
    -webkit-transform: translateY(0);
            transform: translateY(0);
  }
}

.kv .ctl {
  width: 50%;
  text-align: center;
  margin-top: 40px;
}

.kv .ctl p {
  font-size: 1.1em;
}

.kv .ctl a {
  display: inline-block;
  text-indent: -9999px;
  margin-top: 10px;
  background: #2C5A89 url(../images/test.svg) no-repeat center/auto 28px;
  border-radius: 50em;
  width: 270px;
  height: 70px;
  -webkit-transition: all .5s;
  transition: all .5s;
}

.kv .ctl a:hover {
  -webkit-transform: scale(1.02);
          transform: scale(1.02);
  background-color: #7BB0E5;
}

.kv .c1 {
  position: absolute;
  right: 92%;
  top: 10%;
  -webkit-animation: float linear 5s infinite;
          animation: float linear 5s infinite;
}

.kv .c2 {
  position: absolute;
  right: 4%;
  top: -16%;
  -webkit-animation: float linear 7s infinite;
          animation: float linear 7s infinite;
}

.kv .c3 {
  position: absolute;
  right: -12%;
  top: 2%;
  -webkit-animation: float linear 6s infinite;
          animation: float linear 6s infinite;
}

.qalist {
  position: absolute;
  left: 50%;
  top: 25%;
  width: 450px;
  margin-left: -225px;
  display: none;
}

.qalist > li {
  display: none;
  font-size: 1.26em;
}

.qalist > li:first-child {
  display: block;
}

.qalist .qu_num {
  display: block;
  font-size: 15px;
}

.qalist .ans_block {
  margin-top: 20px;
}

.qalist .ans_block li:not(:first-child) {
  margin-top: 10px;
}

.qalist .ans_block.q8_a {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -ms-flex-wrap: wrap;
      flex-wrap: wrap;
  row-gap: 10px;
  -webkit-column-gap: 10px;
          column-gap: 10px;
}

.qalist .ans_block.q8_a li {
  width: calc(50% - 5px);
  margin: 0;
}

.qalist input[type="radio"] {
  display: none;
}

.qalist input[type="radio"] + label {
  position: relative;
  cursor: pointer;
  display: block;
  padding: 20px;
  text-align: center;
  color: #4c8fcf;
  background: #fff;
  border: 1px solid #7BB0E5;
  border-radius: 10px;
  -webkit-transition: all .2s;
  transition: all .2s;
}

.qalist input[type="radio"] + label:hover {
  background: #7BB0E5;
  color: #fff;
}

.mfp-container {
  padding: 0 !important;
}

#ans_pop {
  width: 500px;
  max-width: 100%;
  margin-left: auto;
  margin-right: auto;
  color: #fff;
  font-size: 1.1em;
}

#ans_pop .top {
  position: relative;
}

#ans_pop .top .txt {
  position: absolute;
  padding: 60px 60px 25px;
  z-index: 2;
  width: 100%;
  left: 0;
  bottom: 0;
  background: -webkit-gradient(linear, left top, left bottom, from(rgba(0, 0, 0, 0)), to(rgba(0, 0, 0, 0.6)));
  background: linear-gradient(180deg, rgba(0, 0, 0, 0) 0%, rgba(0, 0, 0, 0.6) 100%);
}

#ans_pop .ans_pop_title {
  text-indent: -9999px;
  background-repeat: no-repeat;
  background-size: contain;
  background-position: left center;
  height: 48px;
  margin-top: 10px;
}

#ans_pop .bottom {
  position: relative;
  padding: 60px;
}

#ans_pop .ans_p p:not(:first-child) {
  margin-top: 20px;
}

#ans_pop .man {
  position: absolute;
  z-index: 3;
  top: -20%;
  right: 0;
  max-width: 42%;
}

#ans_pop .info {
  color: #E2C592;
}

#ans_pop .info a {
  color: #fff;
  border-bottom: 1px solid;
}

#ans_pop .popup-modal-dismiss {
  display: inline-block;
  width: 220px;
  height: 60px;
  background-color: #CF2128;
  background-image: url(../images/finish.svg);
  background-repeat: no-repeat;
  background-position: center;
  background-size: auto 24px;
  text-indent: -9999px;
  border-radius: 50em;
}

#ans_pop .mfp-close {
  display: none;
}

.fixed_line {
  position: fixed;
  bottom: 25px;
  right: 30px;
}

.fixed_line a {
  display: inline-block;
  color: #fff;
  background: #68b82b;
  border-radius: 13px;
  overflow: hidden;
  -webkit-transition: all .5s;
  transition: all .5s;
  -webkit-box-shadow: 2px 2px 5px rgba(0, 0, 0, 0.15);
          box-shadow: 2px 2px 5px rgba(0, 0, 0, 0.15);
}

.fixed_line img {
  width: 60px;
  height: 60px;
}

.fixed_line span {
  padding: 10px 20px 10px 10px;
  -webkit-transition: all .5s;
  transition: all .5s;
}

@media (min-width: 577px) {
  .fixed_line span {
    display: none;
  }
  .fixed_line a:hover span {
    display: inline-block;
  }
}

.wow.animated {
  -webkit-animation-duration: 1.5s;
          animation-duration: 1.5s;
}

@-webkit-keyframes fadeInUp {
  0% {
    opacity: 0;
    -webkit-transform: translate3d(0, 10%, 0);
            transform: translate3d(0, 10%, 0);
  }
  100% {
    opacity: 1;
    -webkit-transform: none;
            transform: none;
  }
}

@keyframes fadeInUp {
  0% {
    opacity: 0;
    -webkit-transform: translate3d(0, 10%, 0);
            transform: translate3d(0, 10%, 0);
  }
  100% {
    opacity: 1;
    -webkit-transform: none;
            transform: none;
  }
}

@media screen and (max-width: 1399px) {
  .all-content::before {
    background-size: 1300px auto;
  }
}

@media screen and (max-width: 1199px) {
  .kv .c2 {
    right: 14%;
    top: -20%;
  }
  .kv .c3 {
    right: -2%;
  }
}

@media screen and (max-width: 960px) {
  .all-content {
    font-size: 1em;
  }
  .kv {
    margin-left: 0;
    left: 0;
  }
  .all-content .main_content {
    background-size: 900px auto;
    background-position: 110% 10%;
  }
}

@media screen and (max-width: 767px) {
  .all-content::before {
    background-size: 1000px auto;
  }
  .ab_header {
    padding-top: 15px;
  }
  .ab_header .container {
    max-width: 100%;
  }
  .ab_header img {
    width: 210px;
    height: 46px;
  }
  .kv {
    top: 160px;
    height: auto;
    -webkit-box-align: center;
        -ms-flex-align: center;
            align-items: center;
  }
  .kv .title {
    width: 380px;
    max-width: 55%;
  }
  .kv .girl {
    position: relative;
    margin-top: 30px;
    max-width: 75%;
    width: 420px;
  }
  .kv .girl p {
    bottom: 14%;
    right: 3%;
  }
  .kv .ctl {
    margin-top: 0;
    width: 80%;
  }
  .kv .c1 {
    right: 68%;
    top: 30%;
  }
  .kv .c2 {
    right: 24%;
    top: -8%;
  }
  .kv .c3 {
    right: 8%;
    top: 28%;
  }
  .qalist {
    top: 18%;
  }
}

@media screen and (max-width: 680px) {
  .c1,
  .c2 {
    width: 20%;
  }
  .c3 {
    width: 16%;
  }
}

@media screen and (max-width: 576px) {
  .break_s {
    display: block;
  }
  .ab_header {
    padding-top: 10px;
  }
  .ab_header img {
    width: 180px;
    height: 40px;
  }
  .kv .girl p {
    font-size: 2.87vw;
  }
  .kv .ctl a {
    width: 200px;
    height: 55px;
    background-size: auto 22px;
  }
  .qalist {
    width: 80%;
    left: 10%;
    margin-left: 0;
  }
  .qalist > li {
    font-size: 1.1em;
  }
  .qalist input[type="radio"] + label {
    padding: 16px;
  }
  .qalist .qu_num {
    font-size: 13px;
  }
  .fixed_line {
    right: 14px;
    bottom: 10px;
  }
  .fixed_line a {
    padding: 5px 10px;
    border-radius: 8px;
  }
  .fixed_line img {
    width: 40px;
    height: 40px;
  }
}

@media screen and (max-width: 530px) {
  footer.footer {
    padding: 20px 15px !important;
  }
  footer.footer .footer-online {
    position: relative !important;
  }
}

@media screen and (max-width: 480px) {
  .all-content {
    height: 90vh;
  }
  .kv {
    top: 120px;
  }
  #ans_pop {
    font-size: 1em;
    height: 100vh;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
        -ms-flex-direction: column;
            flex-direction: column;
  }
  #ans_pop .top .txt {
    padding: 60px 30px 25px;
  }
  #ans_pop .ans_pop_title {
    height: 36px;
  }
  #ans_pop .bottom {
    padding: 40px 30px;
    height: 100%;
  }
  #ans_pop .popup-modal-dismiss {
    width: 175px;
    height: 48px;
    background-size: auto 18px;
  }
  #ans_pop .ctl.my-5 {
    margin-top: 2em !important;
    margin-bottom: 2em !important;
  }
}
