/* Global font settings */
body {
  font-family: 'Georgia', 'Times New Roman', 'Times', 'Cambria', serif;
  background-color: #ffffff;
}

/* Chinese text elements */
body *:lang(zh),
body *:lang(zh-CN),
body *:lang(zh-TW),
body *:lang(zh-HK) {
  font-family: "DFKai-SB", "BiauKai", "Kaiti TC", "AR PL UKai TW", "AR PL UKai HK", "AR PL UKai CN", "TW-Kai", "KaiTi", "楷体", serif;
}

/* Remove the Noto Serif TC font-face declaration */
/* @font-face block should be deleted */

.top {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  background-color: #CFEEF6;
  display: flex;
  justify-content: space-between;
  align-items: normal;
  z-index: 999;
}

.top a {
  float: left;
  display: block;
  color: #000000;
  text-align: center;
  text-decoration: none;
  outline: #000000;
}

.top .index {
  font-size: 35px;
  padding: 0;
  font-weight: bold;
  display: flex;
}

.top .com {
  margin-block: auto;
  font-size: 35px;
}

.top .menu {
  display: flex;
  justify-content: flex-end;
}

.top .menu .contact {
  height: -webkit-fill-available;
  background-color: #ffffff;
  color: #000000;
  border-width: thin;
  border-radius: 5px;
  font-size: x-large;
  font-weight: bold;
  cursor: pointer;
}

.top .menu .top-content {
  display: flex;
  flex-direction: row;
  justify-content: space-evenly;
  align-items: center;
  margin-right: 20px;
}

.top .btn_link {
  padding: 1px 5px;
}

.index img {
  width: 50px;
  height: 46px;
  aspect-ratio: 841 / 782;
}

.top .icon {
  display: none;
}

.dropdown {
  float: left;
  overflow: hidden;
  padding: 0px 5px;
}

.menu .btn {
  color: #000000;
  border: none;
  border-radius: 5px;
  font-size: x-large;
  background-color: #CFEEF6;
  padding: 0;
  cursor: pointer;
}

.dropdown .dropbtn {
  margin-top: 1px;
  border-radius: 5px;
  border-width: thin;
}

.dropdown .dropbtn a {
  padding: 0;
  font-weight: bold;
  font-size: x-large;
}

.dropdown-content {
  display: none;
  position: absolute;
  background-color: #f9f9f9;
  font-size: x-large;
}

.dropdown-content a {
  float: none;
  color: black;
  padding: 1px 1px;
  text-decoration: none;
  display: block;
  background-color: #CFEEF6;
  margin-bottom: 1%;
}

.dropdown-content a:hover {
  background-color: #ddd;
}

.dropdown:hover .dropdown-content {
  display: block;
}

.dropdown-content:hover .dropdown-content {
  display: block;
}

.contact_us {
  display: flex;
  justify-content: center;
}

.bottom {
  position: fixed;
  left: 0;
  bottom: 0;
  width: 100%;
  background-color: #CFEEF6;
  color: cornflowerblue;
  text-align: center;
  z-index: 999;
  font-size: x-large
}

.bottom a {
  color: cornflowerblue;
  text-decoration: none;
}

.bottom .btn {
  font-size: 22px;
}

.main {
  margin-top: 70px;
  margin-bottom: 100px;
}

.mobile {
  display: none;
}

#addr {
  text-align: end;
}

#topBtn {
  display: none;
  position: fixed;
  bottom: 150px;
  right: 0;
  z-index: 9999;
  border: none;
  outline: none;
  background-color: #00C1F3;
  color: white;
  cursor: pointer;
  border-radius: 100%;
  font-size: xx-large;
}

@media screen and (max-width: 1024px) {

  .top a:not(:first-child),
  .dropdown .dropbtn {
    display: none;
  }

  .top .icon {
    display: block;
    position: fixed;
    right: 10px;
  }

  .top.responsive {
    flex-direction: column;
    align-items: normal;
  }

  .top.responsive .menu {
    display: contents;
  }

  .top.responsive .menu .top-content {
    flex-direction: column;
  }

  .top .menu a {
    display: none;
  }

  .top.responsive .menu a {
    float: none;
    display: block;
    text-align: center;
    width: 100%;
  }

  .top.responsive .dropdown {
    float: none;
    width: 100%;
  }

  .top.responsive .dropdown-content {
    position: relative;
    margin-top: 0;
  }

  .top.responsive .dropdown-content a {
    background-color: aliceblue;
    margin-bottom: 0;
  }

  .top.responsive .menu .btn,
  .top.responsive .dropdown .dropbtn {
    display: flex;
    width: 100%;
    flex-direction: column;
    align-items: center;
  }

  .top.responsive .btn {
    color: black;
  }

  .top.responsive .contact {
    display: none;
  }

  .main {
    margin-bottom: 140px;
  }

  .bottom {
    text-align: center;
    font-size: x-small;
  }

  .mobile {
    display: flex;
    justify-content: space-around;
  }

  .pc {
    display: none;
  }

  #topBtn {
    padding: 5px;
  }

  #none1 {
    display: none;
  }

  #menu_icon {
    width: 35px;
  }
}