@charset "UTF-8";

* {
  /* font-family: "Roboto", "Arial", "NotoSans", "Noto Sans TC", "微軟正黑體", "Meiryo", "Hiragino Kaku Gothic Pro", "sans-serif"; */
  font-family: "Microsoft JhengHei UI", "微軟正黑體", "Microsoft JhengHei", "Microsoft YaHei UI", "微軟雅黑", "Microsoft YaHei", sans-serif;
  font-weight: normal;
  box-sizing: border-box;
  /* outline: 1px solid red;  */
  list-style: none;
  padding: 0;
  margin: 0;
  box-sizing: border-box;
  outline: none;
}

body {
  /* font-family: "Roboto", "Arial", "NotoSans", "Noto Sans TC", "微軟正黑體", "Meiryo", "Hiragino Kaku Gothic Pro", "sans-serif"; */
  font-family: "Microsoft JhengHei UI", "微軟正黑體", "Microsoft JhengHei", "Microsoft YaHei UI", "微軟雅黑", "Microsoft YaHei", sans-serif;

  color: #000;
  font-size: 18px;
  line-height: 30px;
  margin: 0;
}

#main_content_child {
  background-color: transparent;
  /* background-color: #000; */
}

#supply-btn {
  cursor: pointer;
}

.activity_container {
  max-width: 401px;
  margin: auto;
}

.form {
  position: relative;
  padding-top: 93.77%;
  background-image: url('../images/form-pc.png');
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
}

#name {
  position: absolute;
  left: 0.5%;
  top: 0.5%;
  width: 99%;
  padding: 2.4%;
  padding-left: 4%;
  font-size: 20px;
  background-color: transparent;
  border: 0px solid #fff;
  outline: none;
}

#phone {
  position: absolute;
  left: 0.5%;
  top: 18.2%;
  width: 99%;
  padding: 2.4%;
  padding-left: 4%;
  font-size: 20px;
  background-color: transparent;
  border: 0px solid #fff;
  outline: none;
}

#email {
  position: absolute;
  left: 0.5%;
  top: 36%;
  width: 99%;
  padding: 2.4%;
  padding-left: 4%;
  font-size: 20px;
  background-color: transparent;
  border: 0px solid #fff;
  outline: none;
}

#area {
  position: absolute;
  left: 0.5%;
  top: 54.3%;
  background-color: transparent;
  border: 0px solid #fff;
  outline: none;
  width: 47%;
  padding: 2.4%;
  padding-left: 8%;
  font-size: 20px;
}

#counters {
  position: absolute;
  left: 52.3%;
  top: 54.3%;
  background-color: transparent;
  border: 0px solid #fff;
  outline: none;
  width: 47%;
  padding: 2.4%;
  padding-left: 8%;
  font-size: 20px;
}

select {
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  outline: 0;
  border-radius: 0;
  color: #797979;
}

.agree_block {
  position: absolute;
  left: 0.5%;
  top: 74.5%;
  font-weight: normal;
  color: #797979;
  font-size: 20px;
  cursor: pointer;
  width: 70%;
}

.agree_block input {
  display: none;
}

.agree_block label {
  font-weight: normal;
  color: #797979;
  letter-spacing: 0px;
  font-size: 20px;
  cursor: pointer;
  padding-left: 18%;
  padding-right: 0%;
  padding-top: 2%;
  padding-bottom: 2%;
  margin-bottom: 0px;
  display: flex;
  align-items: center;
  letter-spacing: 4px;
}

.agree_block label a {
  font-weight: normal;
  color: #998161;
  letter-spacing: 0px;
  border-bottom: 1px solid#998161;
  text-decoration: none;
}

.agree_block i {
  position: absolute;
  width: 13.4%;
  padding-top: 13.4%;
  transform: translate(0, 0%);
  pointer-events: none;
  /* background-color: #fff; */
  border-radius: 2px;
}

.agree_block input:checked~i {
  background-image: url(../images/icon-check.svg);
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
}

.agree_block.line-block{
  white-space: nowrap;
  top: 89.5%;
}

.form-tips {
  margin-top: 30px;
  font-size: 14px;
  color: #797979;
}

.btn-send {
  color: #000;
  background-image: url(../images/submit-btn.jpg);
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  background-color: transparent;
  font-size: 20px;
  width: 40.64%;
  padding-top: 10.5%;
}

.m-t-30 {
  margin-top: 30px;
}

@media screen and (max-width:390px) {
  #name {
    font-size: 4vw;
  }

  #phone {
    font-size: 4vw;
  }

  #email {
    font-size: 4vw;
  }

  #area {
    font-size: 4vw;
  }

  #counters {
    font-size: 4vw;
  }

  .agree_block label {
    font-size: 4vw;
  }


  .btn-center{
    text-align: center;
  }
}


.thank_container {
  position: fixed;
  width: 100%;
  height: 100vh;
  background-color: rgba(0, 0, 0, 0.8);
  z-index: 999;
  display: none;
  top: -1px;
}

.thank_container .thank {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 480px;
  height: 800px;
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center top;
  background-image: url(../images/thanks_page.jpg);
  z-index: 999;
}

.thank_container .thank .close_btn {
  position: absolute;
  top: 15px;
  right: 21px;
  width: 28px;
  height: 28px;
  cursor: pointer;
  /* background-image: url('../images/close-btn.png'); */
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
}

@media screen and (max-width:767px){
  .thank_container .thank {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 480px;
    height: 800px;
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center top;
    z-index: 999;
  }
}

@media screen and (max-width:540px){
  .thank_container .thank {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100%;
    height: auto;
    padding-top: 150%;
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center top;
    z-index: 999;
  }

  .thank_container .thank .close_btn {
    position: absolute;
    top: 1%;
    right: 8%;
    width: 7%;
    height: 5%;
    cursor: pointer;
    /* background-image: url(../images/close-btn.png); */
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
  }
}