@import url("https://fonts.googleapis.com/css2?family=Noto+Sans+TC:wght@400;500;700&family=Roboto&display=swap");
body.modal-open {
  overflow-y: hidden;
}

#modalBg {
  display: none;
  position: fixed;
  z-index: 99;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  overflow: auto;
  background-color: rgba(0, 0, 0, 0.8);
}

.modal {
  position: fixed;
  width: 61.5%;
  height: 78vh;
  top: 50%;
  left: 50%;
  min-height: 500px;
  -webkit-transform: translate(-50%, -50%);
  transform: translate(-50%, -50%);
  padding: 67px 40px 0 82px;
  background-color: #f3f3f3;
  position: relative;
}
.modal .closebtn {
  cursor: pointer;
  width: 96px;
  height: 96px;
  display: inline-block;
  vertical-align: middle;
  position: absolute;
  top: 0;
  right: 0;
  -webkit-transition: 0.4s ease;
  transition: 0.4s ease;
}
.modal .closebtn .close {
  display: inline-block;
  width: 42px;
  height: 2px;
  position: absolute;
  top: 50%;
  left: 50%;
  margin: -1px 0 0 -21px;
  -webkit-transform: rotate(45deg);
          transform: rotate(45deg);
  -webkit-transform-origin: center;
          transform-origin: center;
  background: #212121;
  -webkit-transition: 0.4s ease;
  transition: 0.4s ease;
}
.modal .closebtn .close::after {
  content: "";
  height: 42px;
  width: 2px;
  margin: -21px 0 0 -1px;
  background: #212121;
  left: 50%;
  top: 50%;
  position: absolute;
  -webkit-transition: 0.4s ease;
  transition: 0.4s ease;
}
.modal .modal-content {
  margin-top: 15px;
  width: 100%;
  overflow: hidden;
}
.modal .name {
  text-align: center;
  margin-bottom: 25px;
}
.modal .date {
  color: #6b6b6b;
  text-align: center;
  margin-bottom: 33px;
}
.modal .star-icon {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
}
.modal .star-icon input {
  display: none;
}
.modal .star-icon input + label {
  display: inline-block;
  width: 46px;
  height: 44px;
  background: url(../image/star.png) center/cover no-repeat;
  cursor: pointer;
  margin: 0 10px;
}
.modal .star-icon input:checked + label ~ label {
  background: url(../image/star_g.png) center/cover no-repeat;
}
.modal .star-icon label:active {
  -webkit-transform: scale(0.8);
          transform: scale(0.8);
  -webkit-transition: 0.3s ease;
  transition: 0.3s ease;
}
.modal textarea {
  margin: 30px 0;
  width: 100%;
  height: 300px;
  font-size: 1rem;
  font-family: "Noto Sans TC", sans-serif;
  padding: 20px;
  border: none;
  color: black;
  outline: none;
  resize: none;
}
.modal textarea::-webkit-input-placeholder {
  font-size: 1rem;
  font-family: "Noto Sans TC", sans-serif;
  color: #c9c9ca;
}
.modal textarea::-moz-placeholder {
  font-size: 1rem;
  font-family: "Noto Sans TC", sans-serif;
  color: #c9c9ca;
}
.modal textarea:-ms-input-placeholder {
  font-size: 1rem;
  font-family: "Noto Sans TC", sans-serif;
  color: #c9c9ca;
}
.modal textarea::-ms-input-placeholder {
  font-size: 1rem;
  font-family: "Noto Sans TC", sans-serif;
  color: #c9c9ca;
}
.modal textarea::placeholder {
  font-size: 1rem;
  font-family: "Noto Sans TC", sans-serif;
  color: #c9c9ca;
}
.modal .btnwrap {
  width: 100%;
  text-align: center;
}

@media (max-width: 991px) {
  .modal {
    width: 90%;
    height: auto;
    padding: 30px 30px;
  }
  .modal .closebtn {
    width: 56px;
    height: 56px;
  }
  .modal .closebtn .close {
    width: 36px;
    margin: -1px 0 0 -18px;
  }
  .modal .closebtn .close::after {
    height: 36px;
    margin: -18px 0 0 -1px;
  }
  .modal .name {
    margin-bottom: 10px;
  }
  .modal .date {
    margin-bottom: 10px;
  }
  .modal .star-icon input + label {
    width: 40px;
    height: 38px;
    background: url(../image/star.png) center/contain no-repeat;
    margin: 0 5px;
  }
  .modal textarea {
    margin: 30px 0;
    width: 100%;
    height: 200px;
    padding: 10px;
  }
}
.s1 {
  margin-bottom: 70px;
}
.s1 .title {
  position: relative;
  text-align: center;
  padding-top: 60px;
}
.s1 .title .f28 {
  font-weight: 700;
}
.s1 .title .f28::after {
  content: "";
  width: 176px;
  height: 29px;
  display: block;
  background: url(../image/company.png) center no-repeat;
  margin: 5px auto 0;
}
@media (max-width: 767px) {
  .s1 {
    margin-bottom: 50px;
  }
  .s1 .title {
    padding-top: 30px;
    margin-bottom: 40px;
  }
}

.s2 .title {
  margin-bottom: 10px;
}
.s2 .content {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: start;
      -ms-flex-align: start;
          align-items: flex-start;
  padding: 35px 20px 35px 45px;
  margin-bottom: 30px;
  position: relative;
  background-color: #fdf6e7;
}
.s2 .content .pic {
  width: 30%;
}
.s2 .content .txt {
  width: 70%;
}
.s2 .content .tag {
  background-color: #f4c32a;
}
.s2 .pic .imgwrap {
  width: 100%;
  height: 0;
  padding-bottom: 100%;
  background-position: center;
  background-size: cover;
}
.s2 .txt {
  padding-left: 53px;
}
.s2 .txt .wrap {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: baseline;
      -ms-flex-align: baseline;
          align-items: baseline;
  margin-bottom: 34px;
}
.s2 .txt .ratings {
  margin-left: 30px;
  padding-left: 25px;
  background: url(../image/star.png) 0 center/18px no-repeat;
}
@media all and (max-width: 575px) {
  .s2 .txt .ratings {
    font-size: 1rem;
  }
}
@media all and (min-width: 576px) and (max-width: 1439px) {
  .s2 .txt .ratings {
    font-size: 1.125rem;
  }
}
@media all and (min-width: 1440px) {
  .s2 .txt .ratings {
    font-size: 1.125rem;
  }
}
.s2 .txt ul {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -ms-flex-wrap: wrap;
      flex-wrap: wrap;
}
.s2 .txt ul li {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
}
.s2 .txt ul li .f18:first-child {
  min-width: 125px;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
}
.s2 .txt ul li .f18:first-child::before {
  content: "";
  width: 10px;
  height: 10px;
  border-radius: 50%;
  display: block;
  margin-right: 10px;
  background-color: #f4c32a;
}
.s2 .txt ul li:not(:last-child) {
  margin-bottom: 34px;
}
.s2 .txt ul .w6 {
  width: 54%;
}
.s2 .txt ul .w4 {
  width: 46%;
}
.s2 .txt ul .w100 {
  width: 100%;
}
.s2 .phoneNum a,
.s2 .lineId a {
  display: block;
  font-size: 1rem;
  letter-spacing: 0.025em;
  background-color: #f4c32a;
  border-radius: 23px;
  padding: 10px 15px;
  min-width: 119px;
  text-align: center;
}
.s2 .phoneNum .register,
.s2 .phoneNum .paidRegister,
.s2 .lineId .register,
.s2 .lineId .paidRegister {
  display: none;
}
.s2 li.register .register {
  display: block;
}
.s2 li.register .default,
.s2 li.register .paidRegister {
  display: none;
}
.s2 li.paidRegister .paidRegister {
  display: block;
}
.s2 li.paidRegister .default,
.s2 li.paidRegister .register {
  display: none;
}
@media (max-width: 991px) {
  .s2 .content {
    padding: 25px 20px;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
        -ms-flex-direction: column;
            flex-direction: column;
    background-color: #fdf6e7;
  }
  .s2 .content .pic {
    width: 100%;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    margin-bottom: 20px;
  }
  .s2 .content .pic .imgwrap {
    width: 40%;
    padding-bottom: 40%;
  }
  .s2 .content .txt {
    width: 100%;
  }
  .s2 .txt {
    padding: 0;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
        -ms-flex-direction: column;
            flex-direction: column;
    -webkit-box-align: start;
        -ms-flex-align: start;
            align-items: flex-start;
  }
  .s2 .txt .wrap {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: end;
        -ms-flex-align: end;
            align-items: flex-end;
    margin-bottom: 17px;
  }
  .s2 .txt .ratings {
    background: url(../image/star.png) 0/15px no-repeat;
  }
  .s2 .txt ul li:not(:last-child) {
    margin-bottom: 17px;
  }
  .s2 .txt ul .w6 {
    width: 100%;
  }
  .s2 .txt ul .w4 {
    width: 100%;
  }
}
@media (max-width: 767px) {
  .s2 .txt ul li .f18:first-child {
    width: 40%;
  }
  .s2 .txt ul li .f18:last-child {
    width: 60%;
  }
}

.s3 {
  margin-bottom: 50px;
}
.s3 .title {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  position: relative;
  margin-bottom: 20px;
}
.s3 .title::before {
  content: "";
  width: 10px;
  height: 10px;
  border-radius: 50%;
  display: block;
  margin-right: 10px;
  background-color: #f4c32a;
}

.s4 {
  margin-bottom: 120px;
}
.s4 .wrap {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  margin-bottom: 7px;
}
.s4 .ratings {
  margin: 0 25px;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
}
.s4 .ratings .star-icon {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
}
.s4 .ratings span {
  margin-right: 10px;
}
@media all and (max-width: 575px) {
  .s4 .ratings span {
    font-size: 1rem;
  }
}
@media all and (min-width: 576px) and (max-width: 1439px) {
  .s4 .ratings span {
    font-size: 1.125rem;
  }
}
@media all and (min-width: 1440px) {
  .s4 .ratings span {
    font-size: 1.125rem;
  }
}
.s4 .ratings input {
  display: none;
}
.s4 .ratings input + label {
  display: inline-block;
  width: 20px;
  height: 20px;
  background: url(../image/star.png) center/cover no-repeat;
  cursor: pointer;
  margin: 0 2px;
}
.s4 .ratings input:checked + label ~ label {
  background: url(../image/star_g.png) center/cover no-repeat;
}
.s4 .ratings label:active {
  -webkit-transform: scale(0.8);
          transform: scale(0.8);
  -webkit-transition: 0.3s ease;
  transition: 0.3s ease;
}
.s4 .title {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  position: relative;
}
.s4 .title::before {
  content: "";
  width: 10px;
  height: 10px;
  border-radius: 50%;
  display: block;
  margin-right: 10px;
  background-color: #f4c32a;
}
.s4 .result {
  color: #6b6b6b;
  padding-left: 20px;
  margin-bottom: 35px;
}
.s4 ul li {
  background-color: #f3f3f3;
  padding: 33px 36px;
}
.s4 ul li:not(:last-child) {
  margin-bottom: 20px;
}
.s4 ul .ratings {
  margin-left: 0;
}
.s4 .comment-info {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  -webkit-box-pack: justify;
      -ms-flex-pack: justify;
          justify-content: space-between;
  margin-bottom: 10px;
}
.s4 .f18 {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: baseline;
      -ms-flex-align: baseline;
          align-items: baseline;
  color: #6b6b6b;
}
.s4 .f18 .name {
  margin-right: 10px;
}
.s4 .comment {
  font-size: 1rem;
}
@media (max-width: 767px) {
  .s4 .wrap {
    -ms-flex-wrap: wrap;
        flex-wrap: wrap;
    margin-bottom: 30px;
  }
  .s4 .title {
    margin-bottom: 10px;
  }
  .s4 .ratings {
    width: 50%;
    margin-bottom: 10px;
  }
  .s4 .result {
    margin-bottom: 15px;
  }
  .s4 ul li {
    padding: 20px 25px;
  }
  .s4 ul li:not(:last-child) {
    margin-bottom: 10px;
  }
  .s4 .comment-info {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
        -ms-flex-direction: column;
            flex-direction: column;
    -webkit-box-align: start;
        -ms-flex-align: start;
            align-items: flex-start;
    margin-bottom: 15px;
  }
}