@import url("../fonts/flaticon/flaticon.css");
@import url("revise.css");

/*========================================================
                         基本設定
=========================================================*/
:root {
  font-size: 16px;
}
body {
  font-family: "微軟正黑體", Arial, Verdana, Helvetica, sans-serif;
  font-weight: 500;
  /* line-height: 32px; */
  font-size: 1rem;
  letter-spacing: 1px;
  text-align: justify;
  color: #111;
  overflow-x: hidden;
  background: url("../img/bg.jpg") fixed no-repeat center center / cover;
  font-weight: bold;
}
header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 60px;
  background-color: #191919;
  color: #ff8c53;
  font-weight: bold;
  font-size: 0.9rem;
  letter-spacing: 0.1rem;
  z-index: 99;
  /* opacity: 0; */
  transition: 0.5s;
}
.affix {
  display: block;
  padding: 0;
  background-color: #191919;
}
header div {
  width: 90%;
  margin: auto;
  height: 60px;
  display: flex;
  align-items: center;
  justify-content: flex-start;
}
header img {
  height: 30px;
  width: auto;
  margin-right: 10px;
}
/* 立即預約按鈕 */
.form_btn {
  line-height: 20px;
  position: fixed;
  bottom: 5%;
  right: 2%;
  z-index: 50;
  width: 70px;
  height: 70px;
  border-radius: 50%;
  background-color: #e04900;
  border: 4px solid #b34007;
  box-shadow: 0px 15px 10px -8px rgba(0, 0, 0, 0.55);
  color: #eee;
  font-weight: bold;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  transition: 0.5s;
  opacity: 0;
  /* animation: float 3s ease-out infinite; */
}
@media (min-width: 768px) {
  .form_btn:hover {
    background-color: #ff7936;
    color: #191919;
  }
}
@media (max-width: 768px) {
  header div {
    justify-content: center;
  }
  .form_btn {
    width: 60px;
    height: 60px;
    font-size: 0.8rem;
  }
  .form_btn:focus {
    color: #eee;
  }
}
@keyframes float {
  50% {
    transform: translate(0, 5px);
  }
}

/*========================================================
                         banner
=========================================================*/
.banner {
  height: 65vh;
  margin-top: 60px;
  position: relative;
  background-image: url(../img/banner2.jpg);
  background-attachment: fixed;
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
}
.banner .title {
  text-align: center;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 100%;
  max-width: 800px;
  color: #fff;
}
.banner .title h1 {
  margin-bottom: 20px;
  font-size: 3rem;
  font-weight: bold;
}

.banner .title .sub_title {
  font-size: 1.4rem;
  /* font-weight: bold; */
}

.blur {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 65vh;
  background-color: rgba(0, 0, 0, 0.4);
  content: "";
}

/*========================================================
                         vr文字說明
=========================================================*/

.vr_txt_wrap {
  padding: 5rem 0rem;
}

.vr_txt_wrap .title {
  font-size: 1.8rem;
  font-weight: bold;
  width: 60%;
  margin: auto;
  margin-bottom: 40px;
  position: relative;
}

.vr_txt_wrap .title::before {
  position: absolute;
  top: 0;
  left: -20px;
  width: 10px;
  height: 100%;
  background-color: #ed731c;
  content: "";
}

.vr_txt_wrap .txt {
  font-size: 1.3rem;
  width: 60%;
  margin: auto;
  /* font-weight: bold; */
}

/*========================================================
                         vr示意區塊
=========================================================*/
.vr_iframe_wrap {
  text-align: center;
  width: 100%;
}
.vr_iframe_wrap .title {
  background-color: #eee;
  text-align: left;
  font-size: 1.8rem;
  font-weight: bold;
  width: 60%;
  margin: auto;
  margin-bottom: 40px;
  position: relative;
}
.vr_iframe_wrap .title::before {
  position: absolute;
  top: 0;
  left: -20px;
  width: 10px;
  height: 100%;
  background-color: #ed731c;
  content: "";
}
.one_iframe {
  padding: 5rem 0rem;
}
.one_iframe:nth-child(odd) {
  background-color: #eee;
}
.one_iframe:nth-child(even) {
  background-color: transparent;
}
.one_iframe .name {
  width: 60%;
  margin: auto;
  margin-bottom: 20px;
  font-size: 1.6rem;
  font-weight: bold;
  text-align: left;
}
.one_iframe .name span {
  position: relative;
  z-index: 2;
}
.one_iframe .name span::before {
  position: absolute;
  bottom: 0px;
  left: 0;
  width: 100%;
  height: 10px;
  background-color: #ed731c;
  content: "";
  z-index: -1;
}
.one_iframe iframe {
  width: 60%;
  height: 60vh;
}
.one_iframe .open {
  display: block;
  width: 60%;
  margin: 40px auto;
  padding: 10px;
  background-color: #ed731c;
  color: #191919;
  font-weight: bold;
  border-radius: 5px;
  border: 3px solid #ed731c;
  transition: 0.3s;
  box-shadow: 7px 7px 20px 0px rgba(0, 0, 0, 0.2),
    4px 4px 5px 0px rgba(0, 0, 0, 0.2);
}
.one_iframe .open:hover {
  border: 3px solid #642d05;
}

/*========================================================
                         表單
=========================================================*/

.footer {
  margin: auto;
  padding: 100px 0 40px;
  /* background-color: #191919ee; */
  /* background-color: #eee; */
  border-top: 10px solid #ed731c;
  color: #eee;
  color: #191919;
}

.footer .slogan {
  text-align: center;
  font-size: 1.6rem;
  margin-bottom: 40px;
  color: #ed731c;
  font-weight: bold;
}

.footer .ti2 {
  text-align: left;
  font-size: 1.6rem;
  margin: auto;
  margin-bottom: 20px;
  font-weight: bold;
  max-width: 800px;
}

.footer .ti2 span {
  position: relative;
}

.footer .ti2 span::before {
  content: "";
  position: absolute;
  bottom: -10px;
  left: 0;
  width: 115%;
  height: 5px;
  background-color: #ff7936;
}

.form_wrap {
  text-align: center;
  margin: auto;
}

.form_wrap form div {
  margin: 20px 0;
}

.form_wrap input:not([type="checkbox"]),
.form_wrap select {
  width: 100%;
  max-width: 800px;
  margin: auto;
  height: 45px;
  border-radius: 5px;
  font-weight: bold;
  color: #191919;
}

.form_wrap input::placeholder,
.form_wrap select::placeholder {
  color: #191919;
}

.form_wrap form .form_info {
  margin: auto;
  max-width: 800px;
  width: 100%;
  margin-bottom: 20px;
  color: #191919;
  text-align: left;
  font-size: 0.8rem;
}

.form_wrap form .form_info p {
  margin-top: 5px;
  margin-bottom: 0;
  text-align: justify;
  display: flex;
  flex-direction: column;
  line-height: 20px;
}

label[for="agree_personal_information"] {
  cursor: pointer;
  font-weight: bold;
}

.form_wrap form input[name="senddata"] {
  width: 100%;
  height: auto;
  max-width: 800px;
  padding: 10px;
  border-radius: 5px;
  background-color: #ed731c;
  border: 3px solid #ed731c;
  transition: 0.3s;
  box-shadow: 7px 7px 20px 0px rgba(0, 0, 0, 0.2),
    4px 4px 5px 0px rgba(0, 0, 0, 0.2);
  outline: none;
  color: #111;
  cursor: pointer;
}

form input[name="senddata"]:hover {
  border: 3px solid #642d05;
}

.footer_info {
  margin: auto;
  margin-top: 60px;
  width: 100%;
  max-width: 800px;
  font-weight: bold;
}

.footer_info .ti2 {
  margin-bottom: 30px;
}

.footer_info .company_title {
  font-size: 1.2rem;
  display: flex;
  align-items: center;
}

.footer_info .company_title img {
  height: 30px;
  width: auto;
  margin-right: 5px;
}

.footer_info i,
.footer_info svg {
  margin-right: 10px;
}

.footer_info a {
  color: #e04900;
}

/*========================================================
                         rwd
=========================================================*/

@media (max-width: 768px) {
  :root {
    font-size: 14px;
  }
  .banner {
    height: 40vh;
    background-attachment: unset;
  }
  .blur {
    height: 40vh;
  }
  .vr_txt_wrap .title,
  .vr_txt_wrap .txt,
  .vr_iframe_wrap .title,
  .one_iframe .name,
  .one_iframe .open {
    width: 80%;
  }
  .one_iframe iframe {
    width: 80%;
    height: 60vmin;
  }
  .contact-form {
    width: 95%;
    margin: auto;
  }

  .footer {
    padding-top: 60px;
  }

  .footer .slogan {
    text-align: justify;
    font-size: 1.3rem;
    margin-bottom: 60px;
  }

  .footer .ti2 {
    font-size: 1.3rem;
    margin-bottom: 20px;
  }

  .form_wrap {
    text-align: left;
  }
}

@media (max-width: 360px) {
  :root {
    font-size: 10px;
  }
}
