@import url("https://fonts.googleapis.com/css2?family=Noto+Serif+TC:wght@200..900&family=Noto+Serif:ital,wght@0,100..900;1,100..900&display=swap");

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

@keyframes fadeIn {
  0% {
    opacity: 0;
  }

  100% {
    opacity: 1;
  }
}

html,
body {
  position: relative;
  width: 100dvw;
  height: 100dvh;
  overflow: hidden;
}

body {
  background: url(../img/overall_bg_pc.jpg);
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  font-family: "Noto Serif TC", serif;
  animation: fadeIn 3s ease-in-out;
}

p,
h1 {
  user-select: none
}

@media (max-width: 600px) {
  body {
    background: url(../img/overall_bg_ph.jpg);
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
  }
}

header {
  height: 6dvh;
}

button {
  font-size: 0.95dvw;
  background: transparent;
  border-style: solid;
  border: 0.2dvw solid transparent;
  color: #fff;
  cursor: pointer;
  height: 100%;
  border-radius: 0.5dvw;
  transition: all 0.3s ease;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-top: 1dvh;
  margin-left: 1dvw;
  padding: 0.5dvh 0.5dvw;
}

@media (max-width: 600px) {
  button {
    font-size: 3.74dvw;
  }
}

button:focus {
  border-color: #fff;
  box-shadow: 0 0px 1dvw #fff;
}

.enButton {
  margin-left: -0.2dvw;
}

main {
  position: absolute;
  width: 62dvw;
  height: 100dvh;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}



@media (max-width: 600px) {
  main {
    width: 70dvw;
    justify-content: start;
  }
}

section {

  width: 62dvw;
  height: 50dvh;
  overflow-y: auto;
  padding-right: 10px;
}

@media (max-width: 600px) {
  section {
    width: 77dvw;

  }
}

/* 自訂滾動條 */
section::-webkit-scrollbar {
  width: 6px;
}

section::-webkit-scrollbar-track {
  background: rgba(255, 255, 255, 0.05);
  border-radius: 10px;
}

section::-webkit-scrollbar-thumb {
  background: #51868a;
  border-radius: 10px;
  border: 3px solid rgba(0, 0, 0, 0.1);
}

section::-webkit-scrollbar-thumb:hover {
  background: #51868a;
  ;
}

@media (max-width: 600px) {
  .pcContent {
    display: none;
  }
}

.phContent {
  display: none;
}

@media (max-width: 600px) {
  .phContent {
    display: block;
  }
}

h1 {
  font-size: 36px;
  font-weight: bolder;
  line-height: 1.5;
  color: #fff;
  /* padding-top: 17dvh; */
  text-align: center;
  /* margin-bottom: 6%; */
  margin-top: 1%;
  margin-bottom: 0dvh;
}

@media (max-width: 600px) {
  h1 {
    font-size: 24px;
    /* padding-top: 13dvh; */
  }
}

p {
  width: 100%;
  font-size: 18px;
  font-weight: bold;
  line-height: 2;
  color: #fff;
  text-align: left;
  margin-bottom: 3dvh;
}

@media (max-width: 600px) {
  p {
    display: none;
    font-weight: bold;
    margin-bottom: 3dvh;
  }
}

.phone_textContent {
  display: none;
}

@media (max-width: 600px) {
  .phone_textContent {
    display: block;
    line-height: 2;
    margin-bottom: 16px;
    font-size: 16px;
  }
}

img {
  display: block;
  margin: 0 auto;
  margin-top: 5vh;

}

@media (max-width: 600px) {
  img {
    width: 35vw;
  }
}

.btn-enter-hover {
  display: none;
}

a:hover .btn-enter {
  display: none;
}

a:hover .btn-enter-hover {
  display: block;
}

.entitle {
  font-size: 25px;
}

.text {
  font-size: 22px;
  margin-bottom: -1%;
  padding-top: 17dvh;
  text-align: center;
  margin-bottom: 1%;
}

.text2 {
  font-size: 20px;
  margin-bottom: 1%;
  padding-top: 4dvh;
  text-align: center;
}

.title {
  margin-bottom: 3%;
}

@media (max-width: 600px) {
  h1 {
    font-size: 24px;
    /* padding-top: 13dvh; */
    margin-bottom: 6%;
    margin-top: 1%;
    margin-bottom: 2dvh;
  }

  .text {
    font-size: 20px;
    margin-bottom: 4%;
    display: block;
    margin-bottom: 1%;
    padding-top: 8dvh;
    width: auto;
  }

  .text2 {
    font-size: 19px;
    margin-bottom: 1%;
    padding-top: 4dvh;
  }

  .entitle {
    font-size: 21px;
    padding: 0dvh;
    margin-bottom: 6%;
  }

  .title {
    width: auto;
    margin-bottom: 8%;
  }
}

@media (max-width: 375px) {

  .text {
    font-size: 20px;
    margin-bottom: 4%;
    padding-top: 6dvh;
    display: block;
    margin-bottom: 1%;
  }
}

@media (max-width: 360px) {
  .phContent {
    display: block;
    height: 37dvh;
  }

}