@charset "UTF-8";
* {
  margin: 0;
  padding: 0;
}

a {
  text-decoration: none;
  color: inherit;
}

.fullimg {
  display: block;
  width: 100%;
}

.fullimgHeight {
  display: block;
  height: 100%;
  margin: auto;
}

.clear {
  clear: both;
}

input {
  background: none;
  border: 0;
  font-size: 0.9rem;
  line-height: 1.7rem;
  -webkit-appearance: none;
}
input:focus {
  outline: none;
}

@media only screen and (min-width: 1025px) {
  .for-m {
    display: none !important;
  }
}
@media only screen and (max-width: 1024px) {
  .for-pc {
    display: none !important;
  }
}
input,
textarea {
  -webkit-appearance: none;
}

input,
textarea {
  background: none;
  border: 0;
  font-size: 1rem;
  color: #333333;
  border: 1px solid #747474;
  border-radius: 5px;
  padding: 0.75rem 1.25rem;
  line-height: 125%;
  font-family: "LINESeedSans", "Noto Sans TC";
}
input:focus,
textarea:focus {
  outline: none;
}

label {
  cursor: pointer;
}

input[type=radio] {
  display: none !important;
}

input[type=radio] + label span {
  position: relative;
  display: inline-block;
  top: -0.15rem;
  width: 1.25rem;
  height: 1.25rem;
  padding: 0;
  margin-right: 0.5rem;
  border: 1px solid #747474;
  vertical-align: middle;
  border-radius: 50%;
}

input[type=radio]:checked + label span {
  background: #00ba00;
  border-color: #00ba00;
}

input[type=checkbox] + label span {
  position: relative;
  display: inline-block;
  top: -0.1rem;
  width: 1.25rem;
  height: 1.25rem;
  background: none;
  cursor: pointer;
  border: 1px solid #747474;
  box-sizing: border-box;
  border-radius: 5px;
  margin-right: 0.5rem;
  vertical-align: middle;
}

input[type=checkbox]:checked + label span {
  background: url("../img/icon-check.png") no-repeat center center;
  background-size: 75%;
}

input[type=checkbox] {
  display: none !important;
}

.form-wrap {
  width: 100%;
}
.form-wrap p.title {
  margin-bottom: 1.5rem;
  text-align: left;
  font-weight: bold;
  font-size: 1.75rem;
  line-height: 2.25rem;
}
.form-wrap form > div {
  margin: 1rem auto;
}
.form-wrap input,
.form-wrap textarea {
  display: block;
  width: 100%;
  box-sizing: border-box;
}
.form-wrap .select-wrap {
  width: 100%;
}
.form-wrap .select-wrap select {
  position: relative;
  padding: 0.75rem 1.25rem;
  width: 100%;
  margin: 0;
  border-color: #747474;
}
.form-wrap label {
  display: block;
  margin: 1rem 0;
  text-align: left;
}
.form-wrap input[type=radio] + label {
  margin: 0.5rem 0 0 1rem;
}
.form-wrap div.required {
  position: relative;
}
.form-wrap div.required::before {
  display: none;
  position: absolute;
  content: "";
  width: 0;
  height: 0;
  border-style: solid;
  border-width: 0 0.75rem 1.25rem 0.75rem;
  border-color: transparent transparent #c86d57 transparent;
  bottom: 2.5rem;
  left: 1.25rem;
}
.form-wrap div.required::after {
  display: none;
  content: "本欄位為必填欄位";
  position: relative;
  background: #CCC;
  padding: 0.75rem 1.25rem;
  line-height: 150%;
  color: #FFF;
  background: #c86d57;
  margin-top: 1rem;
  text-align: left;
  box-sizing: border-box;
  border-radius: 5px;
}
.form-wrap div.required.typeFormat::after {
  content: "格式錯誤";
}
.form-wrap div.required.checkBox::after {
  content: "您尚未同意。";
}
.form-wrap div.required.alert input,
.form-wrap div.required.alert select,
.form-wrap div.required.alert textarea,
.form-wrap div.required.alert input[type=checkbox] + label span {
  border-color: #c86d57;
}
.form-wrap div.required.alert::before, .form-wrap div.required.alert::after {
  display: block;
}
.form-wrap .contact-submit-block {
  text-align: center;
}
.form-wrap .contact-submit-block .contact-submit {
  position: relative;
  display: inline-block;
  width: auto;
  padding: 0.75rem 3rem;
  margin: 1.5rem 0.5rem 3rem 0.5rem;
  border: 1px solid #00ba00;
  border-radius: 8px;
}
.form-wrap .contact-submit-block .contact-submit {
  color: #00ba00;
  border-color: #00ba00;
}
.form-wrap .contact-submit-block p {
  margin-bottom: 1rem;
}
.form-wrap .btn-loading.loading span {
  position: relative;
}
.form-wrap .btn-loading.loading span::after {
  display: block;
  position: absolute;
  content: "";
  right: 0;
  top: 50%;
  width: 10px;
  height: 10px;
  border: 2px solid #cdcdcd;
  border-top: 2px solid transparent;
  transform: translateY(-50%) translateX(125%);
  animation: loading 0.5s infinite linear;
  border-radius: 50%;
}
@keyframes loading {
  to {
    transform: translateY(-50%) translateX(125%) rotate(359deg);
  }
}
.form-wrap .des-block {
  border: 1px solid #747474;
  padding: 0.75rem;
  max-height: 6.5rem;
  overflow-y: auto;
  text-align: justify;
  -webkit-overflow-scrolling: touch;
  border-radius: 5px;
  font-size: 0.8rem;
  line-height: 1.2rem;
}
.form-wrap .des-block a {
  color: #3a87c7;
  border-bottom: 1px solid #3a87c7;
}

@media only screen and (max-width: 1024px) {
  .form-wrap p.title {
    font-size: 1.25rem;
    line-height: 1.75rem;
  }
  .rank-btn-wrap a {
    padding: 0.5rem 4rem;
  }
}
@media only screen and (max-width: 480px) {
  .rank-btn-wrap a {
    padding: 0.5rem 2rem;
  }
}

/*# sourceMappingURL=form.css.map */
