.s1 {
  position: relative;
  min-height: 100vh;
}

.s2 {
  min-height: 100vh;
  position: relative;
  z-index: 30;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-direction: column;
  padding-bottom: 20vh;
}

.containerBG {
  background-image: url("../img/serve/servise-bg.webp");
}

.s2 .subTitleDiv {
  align-self: flex-start;
}

form {
  position: relative;
  display: flex;
  align-items: stretch;
  justify-content: center;
  flex-direction: column;
  flex-grow: 1;
  padding-bottom: 10vh;
  background-color: #00000055;
  padding: 5vw 10vw;
  border: 2px solid #b48d5322;
}

form .inputgroup {
  width: 28vw;
  display: flex;
  align-items: flex-start;
  justify-content: flex-start;
  flex-direction: column;
  margin-bottom: 8vh;
  color: #b48d53;
}

form .inputgroup label,
form .inputgroup input,
form .inputgroup select {
  display: block;
  white-space: nowrap;
  font-family: "jinxuan-500", serif;
  font-size: 1.05vw;
  letter-spacing: 0.2em;
  color: #b48d53;
  line-height: 1.5;
}

form .inputgroup label {
  margin-bottom: 1vh;
}

form .inputgroup label span {
  padding-left: 1em;
  font-size: 0.75vw;
  color: #959595;
  font-family: "Noto Serif TC", serif;
}

select,
select option,
.inputgroup input {
  background: none;
  color: #b48d53;
  font-size: 1.05vw;
  width: 100%;
  border-top-style: none;
  border-right-style: none;
  border-left-style: none;
  border-bottom-style: none;
  border-bottom: none;
  outline: none;
  line-height: 2;
  padding: 0.5em 1em;
}

.selectDiv {
  margin-top: 2vh;
}

.selectDiv,
.inputDiv {
  position: relative;
  width: 100%;
}

.selectDiv::after,
.inputDiv::after {
  position: absolute;
  left: 0px;
  right: 0px;
  content: " ";
  bottom: 0px;
  height: 1px;
  background-color: #b48d5355;
}

select option {
  border-top-style: none;
  border-right-style: none;
  border-left-style: none;
  border-bottom-style: none;
  outline: none;
  background: #000000;
  color: #b48d53;
  font-size: 1.05vw;
  width: 100%;
  line-height: 2;
  padding: 0.5em 1em;
}

option::selection {
  background-color: #b48d53;
  color: #fff;
}

form button {
  margin-top: 2vh;
  color: #b48d53;
  width: 12vw;
  align-self: center;
  padding: 0.5em;
  border: 1px solid #b48d5355;
  background: none;
  transition: all 0.5s;
  outline: none;
  font-family: "jinxuan-500", serif;
}

form button:hover {
  background-color: #b48d53;
  color: #fff;
}

.AllProcessDiv {
  padding-left: 4vw;
  padding-right: 4vw;
}

.AllProcessDiv .title {
  padding: 1em 2em;
  margin-bottom: 0px;
  display: inline-block;
  border-top: 1px solid #b48d5355;
  border-left: 1px solid #b48d5355;
  border-right: 1px solid #b48d5355;
  font-size: 0.95vw;
}

.AllProcessDiv .line {
  width: 100%;
  opacity: 0;
  height: 1px;
  background-color: #b48d5355;
  animation: processLineGoLong forwards 2s 0.5s;
}

@keyframes processLineGoLong {
  0% {
    width: 0%;
    opacity: 0;
  }
  100% {
    width: 100%;
    opacity: 1;
  }
}

.AllProcessDiv .titleDiv {
  margin-left: 1vw;
  margin-right: 1vw;
  margin-bottom: 5vh;
}

.processDiv .infoDiv {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
}

.processDiv .card {
  width: 20%;
  margin: 1vw;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  border: none;
  flex-grow: 1;
}

.processDiv .infoDiv .imgDiv {
  box-sizing: border-box;
  border: 2px solid #b48d5344;
  padding: 0;
  overflow: hidden;
}

.processDiv .infoDiv .imgDiv:hover img {
  transform: scale(1.05);
}

.processDiv .infoDiv .imgDiv img {
  transition: all 0.5s;
  display: block;
  padding: 0;
  margin: 0;
}

.fancybox-thumbs {
  background: none;
}

.fancybox-thumbs > ul {
  background-color: #00000055;
}

@media (max-width: 1023px) {
  form {
    width: 100%;
    align-items: center;
  }

  .s2 {
    padding-bottom: 20vh;
  }

  form .inputgroup {
    width: 60%;
  }
  form button {
    width: 30vw;
  }
  .AllProcessDiv .titleDiv {
    text-align: center;
  }
  .AllProcessDiv .title {
    margin: auto;
    font-size: 18px;
  }
  form .inputgroup label,
  form .inputgroup input,
  form .inputgroup select {
    font-size: 20px;
  }

  form .inputgroup label span {
    font-size: 14px;
  }

  select,
  select option,
  .inputgroup input {
    font-size: 20px;
  }

  select option {
    font-size: 20px;
  }
  .AllProcessDiv .title {
    font-size: 18px;
  }
}

@media (max-width: 500px) {
  form .inputgroup {
    width: 80%;
  }
  form button {
    width: 50vw;
  }

  .AllProcessDiv .title {
    font-size: 16px;
  }
  form .inputgroup label,
  form .inputgroup input,
  form .inputgroup select {
    font-size: 18px;
  }

  form .inputgroup label span {
    font-size: 12px;
  }

  select,
  select option,
  .inputgroup input {
    font-size: 18px;
  }

  select option {
    font-size: 18px;
  }
  .AllProcessDiv .title {
    font-size: 16px;
  }
}
