@charset "UTF-8";
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-size: 16px;
  font-family: "Microsoft Jhenghei", sans-serif;
  background: #fff;
  position: absolute;
  top: 0;
  right: 0;
  left: 0;
  bottom: 0;
  padding: 0;
  margin: 0;
  overflow-x: hidden;
}

img {
  display: block;
  margin-left: auto;
  margin-right: auto;
  max-width: 100%;
}

p,
li {
  margin-bottom: 5px;
  line-height: 1.5;
}

.wrapper {
  text-align: center;
  width: 100%;
  padding-left: 0;
  padding-right: 0;
  margin-left: auto;
  margin-right: auto;
}

.text-right {
  text-align: right;
}

.fw-bold {
  font-weight: bold;
}

.logo-bg-outer {
  background: #fff;
  text-align: left;
}

.logo-bg {
  width: 100%;
}
.logo-bg img {
  display: inline;
}

select {
  -webkit-appearance: none;
  /*Chrome*/
  -moz-appearance: none;
  /*FF*/
  appearance: none;
  /*CSS3*/
}

input,
select {
  vertical-align: middle;
}

input[type=radio] {
  opacity: 0;
  position: absolute;
}
input[type=radio]:focus + label::before {
  box-shadow: 0 0 5px 2px rgba(123, 52, 190, 0.6);
}

input[type=number]::-webkit-outer-spin-button,
input[type=number]::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

input[type=number] {
  -moz-appearance: textfield;
}

.flex-row {
  display: flex;
  flex-direction: row;
}

.flex-row-cb {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
}

.flex-wrap {
  flex-wrap: wrap;
}

.ml-2 {
  margin-left: 0.5rem !important;
}

:root {
  --animate-delay: 0.5s;
}

.kv {
  position: relative;
  background: #C4A8EF url("../images/kv-bg.jpg") no-repeat center top;
  background-size: 100%;
  overflow: hidden;
}

.kv-title {
  width: 60%;
  margin: 50px auto 0 auto;
}

.kv-main {
  position: relative;
}

.kv-image {
  width: 65%;
}

.kv-msg {
  position: absolute;
}

.msg1 {
  width: 15%;
  left: 17%;
  top: 25%;
}

.msg2 {
  width: 19%;
  right: 11%;
  top: 30%;
}

.msg3 {
  width: 18%;
  left: 4%;
  top: 56%;
}

.kv-img-m,
.img-m {
  display: none;
  max-width: 100%;
}

@keyframes float {
  0% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-12px);
  }
  100% {
    transform: translateY(0);
  }
}
.main {
  background: #C4A8EF;
  padding: 30px 0 80px;
}

.form-content {
  width: calc(100% - 40px);
  max-width: 1000px;
  margin: auto;
}
.form-content .form-bg {
  padding: 80px 100px;
  background: #fff;
  border-radius: 20px;
}

.title {
  width: 60%;
  margin-bottom: 30px;
}

.inform {
  font-size: 18px;
  text-align: left;
  margin-bottom: 30px;
}

.sub-title {
  width: 100%;
  margin-bottom: 40px;
  margin-top: 60px;
}
.sub-title:nth-child(1) {
  margin-top: 0;
}

hr {
  border: 0.5px solid #D7CFFF;
  margin: 40px 0;
}

.form-group {
  width: 100%;
  margin-bottom: 30px;
  font-size: 20px;
  font-weight: bold;
}
.form-group:last-child {
  margin-bottom: 0;
}
.form-group.flex {
  display: flex;
  align-items: flex-start;
  flex-wrap: wrap;
}
.form-group.flex .form-title {
  margin-bottom: 8px;
  margin-right: 20px;
  min-width: 120px;
}
.form-group.flex.Q1 .form-title {
  margin-top: 8px;
}
.form-group .input-group {
  flex: 1;
}

.form-title {
  display: block;
  margin-bottom: 8px;
  font-weight: bold;
  text-align: left;
  font-size: 22px;
}
.form-title .required {
  color: #EB775E;
}
.form-title img {
  margin: 0;
}

.form-item {
  width: 100%;
  height: 50px;
  font-size: 20px;
  padding: 10px;
  background-color: #fafafa;
  border-radius: 8px;
  border: 1px solid #999999;
  position: relative;
}
.form-item:focus {
  outline: 1px solid #7B34C6;
}
.form-item::-moz-placeholder {
  color: #999999;
}
.form-item::placeholder {
  color: #999999;
}
.form-item:disabled {
  background-color: #e2e2e2;
  border: 1px solid #e2e2e2;
  color: #000;
  filter: grayscale(1);
  opacity: 0.8;
  cursor: default;
}

select.form-item {
  background: #fafafa url(../images/i_arrow.svg) no-repeat right 0px center;
  color: #000;
  cursor: pointer;
}

.radio-btn {
  margin: 4px 0;
  position: relative;
  padding-left: 28px;
  text-align: left;
}
.radio-btn label {
  cursor: pointer;
}
.radio-btn > label::before {
  content: "";
  position: absolute;
  display: inline-block;
  width: 20px;
  height: 20px;
  border-radius: 100%;
  border: 2px solid #000;
  background-color: #fff;
  top: 0px;
  left: 0;
}
.radio-btn > label::after {
  content: "";
  position: absolute;
  top: 5px;
  left: 5px;
  border-radius: 100%;
  width: 14px;
  height: 14px;
  background-size: 14px;
}
.radio-btn > input[type=radio]:focus, .radio-btn > input[type=radio]:checked + label::after {
  background-color: #7B34C6;
}
.radio-btn > input[type=radio]:checked + label::before {
  border: 2px solid #7B34C6;
}
.radio-btn > input[type=radio]:checked + label {
  color: #7B34C6;
}
.radio-btn:not(:last-child) {
  margin-right: 30px;
}

.check-btn {
  margin: 8px 0;
  position: relative;
  padding-left: 28px;
  text-align: left;
}
.check-btn input {
  opacity: 0;
  position: absolute;
}
.check-btn label {
  cursor: pointer;
}
.check-btn label::before {
  content: "";
  position: absolute;
  display: inline-block;
  width: 22px;
  height: 22px;
  border-radius: 3px;
  border: 1px solid #7B34C6;
  top: 2px;
  left: 0;
}
.check-btn > input[type=checkbox]:checked + label::before {
  background-color: #7B34C6;
  background-image: url(../images/i_check.svg);
  background-repeat: no-repeat;
  background-position: center center;
}

#Q3 {
  display: none;
}

.text-link {
  color: #000;
  font-weight: bold;
}

.btn {
  padding-top: 30px;
}
.btn .btn-active {
  display: none;
  cursor: pointer;
}
.btn .loan-calculate {
  display: none;
  font-size: 24px;
  font-weight: bold;
  padding-bottom: 10px;
}
.btn .loan-calculate .loan-number {
  color: #7B34C6;
  font-size: 36px;
  padding: 0 8px;
}
.btn .loan-calculate .note {
  font-size: 18px;
  font-weight: normal;
}
.btn .note-txt {
  font-size: 16px;
  padding-top: 10px;
  margin-bottom: 30px;
  text-align: left;
  color: #444;
}
.btn .note-txt a {
  color: #7B34C6;
  font-weight: bold;
}
.btn .remind {
  text-align: left;
  margin-top: 80px;
  padding: 10px;
  border: 1px solid #000;
  border-radius: 4px;
}
.btn .error-txt {
  display: none;
  font-size: 20px;
  font-weight: bold;
  color: #7B34C6;
  padding-top: 10px;
}
.btn.pass .btn-active {
  display: block;
}
.btn.pass .btn-disable {
  display: none;
}

.radio-btn input[type=radio]:disabled + label,
.check_btn input[type=checkbox]:disabled + label {
  color: #656565;
  cursor: default;
}
.radio-btn input[type=radio]:disabled + label::before, .radio-btn input[type=radio]:disabled + label::after,
.check_btn input[type=checkbox]:disabled + label::before,
.check_btn input[type=checkbox]:disabled + label::after {
  opacity: 0.5;
}

/* ---錯誤提示樣式 start--- */
.error-msg {
  display: none;
}

.error .form-item, .error.radio-btn > label::before, .error.check-btn > label::before {
  background-color: #f8f1f1;
  border: 1px solid #e95a60;
}
.error.radio-btn > input[type=radio]:checked + label::after {
  background-color: #e95a60;
}
.error.radio-btn > input[type=radio]:focus + label::before {
  box-shadow: 0 0 5px 2px rgba(233, 90, 96, 0.6);
}
.error .error-msg,
.error + .error-msg {
  display: block;
  width: 100%;
  color: #e95a60;
  font-size: 0.875rem;
  font-weight: bold;
  padding-top: 0.5rem;
  text-align: left;
}

/* ---錯誤提示樣式 end--- */
@media screen and (max-width: 768px) {
  .main {
    padding: 30px 0 60px;
  }
  .kv-title {
    width: 80%;
    margin: 20px auto 10px auto;
  }
  .kv-image {
    width: 75%;
  }
  .msg1 {
    width: 21%;
    left: 8%;
    top: 25%;
  }
  .msg2 {
    width: 23%;
    right: 4%;
    top: 30%;
  }
  .msg3 {
    width: 20%;
    left: 2%;
    top: 56%;
  }
  .img-d {
    display: none;
  }
  .img-m {
    display: block;
  }
  .title {
    width: 100%;
    margin-bottom: 10px;
  }
  .inform {
    font-size: 14px;
    margin-bottom: 20px;
  }
  .sub-title {
    margin-bottom: 20px;
    margin-top: 40px;
  }
  .sub-title:nth-child(2) {
    margin-top: 10px;
  }
  .form-content .form-bg {
    padding: 20px;
    border-radius: 10px;
  }
  .form-group {
    margin-bottom: 20px;
    font-size: 16px;
  }
  .form-group.flex {
    flex-wrap: wrap;
    gap: 5px;
  }
  .form-group.flex .form-title {
    min-width: 70px;
    margin-right: 5px;
    margin-bottom: 0;
  }
  .form-title {
    font-size: 16px;
  }
  .form-item {
    height: 40px;
    font-size: 16px;
  }
  .radio-btn > label::before {
    width: 16px;
    height: 16px;
  }
  .radio-btn > label::after {
    top: 4px;
    left: 4px;
    width: 12px;
    height: 12px;
  }
  .check-btn label::before {
    width: 18px;
    height: 18px;
  }
  hr {
    margin: 20px 0;
  }
  .btn {
    padding-top: 10px;
  }
  .btn .note-txt {
    font-size: 14px;
  }
  .btn .remind {
    margin-top: 30px;
  }
  .btn-submit img {
    width: 60%;
  }
}
@media screen and (max-width: 600px) {
  .logo-bg img {
    height: 35px;
  }
  .btn-collapse,
  .btn-collapse .icon {
    font-size: 20px;
  }
  .collapse {
    padding: 10px 10px 30px;
  }
  .collapse-inner {
    border-radius: 20px;
  }
  .btn-collapse {
    padding: 20px 25px;
  }
}