@charset "UTF-8";
@import url("https://fonts.googleapis.com/css?family=Noto+Sans+TC:100,300,400,500,700&display=swap&subset=chinese-traditional");
@import url("https://fonts.googleapis.com/css?family=Noto+Serif+TC:300,400,500,600,700,900&display=swap&subset=chinese-traditional");
* {
  box-sizing: border-box;
}

h1, h2, h3, h4, h5, h6 {
  font-family: "Noto Serif TC", serif;
  -webkit-font-smoothing: antialiased;
}

body {
  margin: 0;
  padding: 0;
  font-family: "Noto Sans TC", "Helvetica Neue", "Helvetica", "Arial", "STHeitiTC-Light", "Microsoft JhengHei", sans-serif;
  font-size: 18px;
  background-image: url(../images/bg_flowers.png), url(../images/bg.jpg);
  background-size: 45%, cover;
  background-position: right bottom, center 85%;
  background-attachment: fixed;
  background-repeat: no-repeat;
}
@media only screen and (max-width: 1460px) {
  body {
    background-position: right bottom, center top;
  }
}
@media only screen and (max-width: 1024px) {
  body {
    background-image: url(../images/mobile_footer.png), url(../images/mobile_bg.jpg);
    background-size: 65%, cover;
    background-position: right 105%, center 45px;
  }
}
@media (min-width: 1024px) and (orientation: landscape) and (aspect-ratio: 4/3) {
  body {
    background-image: url(../images/bg_flowers.png), url(../images/bg.jpg);
    background-size: 45%, cover;
    background-position: right bottom, center 85%;
  }
}
@media only screen and (max-width: 600px) {
  body {
    background-image: url(../images/mobile_footer.png), url(../images/mobile_bg.jpg);
    background-size: 85%, cover;
    background-position: right 105%, center 45px;
  }
}

* {
  margin: 0;
  padding: 0;
}

article {
  width: 100%;
  display: flex;
  flex-direction: row-reverse;
  justify-content: space-between;
}
@media only screen and (max-width: 1024px) {
  article {
    flex-direction: column;
  }
}
@media (min-width: 1024px) and (orientation: landscape) and (aspect-ratio: 4/3) {
  article {
    flex-direction: row-reverse;
    margin-top: 15%;
  }
}

header {
  width: 700px;
  margin-right: 2%;
  box-sizing: border-box;
}
@media only screen and (max-width: 1024px) {
  header {
    margin: 0;
    width: 100%;
  }
}
@media (min-width: 1024px) and (orientation: landscape) and (aspect-ratio: 4/3) {
  header {
    width: 45%;
  }
}
header h1 {
  height: 650px;
  text-indent: -99999px;
  background-image: url(../images/main_words.png);
  background-repeat: no-repeat;
  background-position: 0 top;
  background-size: contain;
  margin-top: 5%;
}
@media only screen and (max-width: 1460px) {
  header h1 {
    height: 580px;
  }
}
@media only screen and (max-width: 1360px) {
  header h1 {
    height: 550px;
    margin-top: 10%;
  }
}
@media only screen and (max-width: 1280px) {
  header h1 {
    height: 520px;
  }
}
@media only screen and (max-width: 1024px) {
  header h1 {
    background-image: url(../images/mobile_mainwords.png);
    background-position: center top;
    background-size: 70%;
    height: 660px;
  }
}
@media only screen and (max-width: 820px) {
  header h1 {
    background-size: 420px;
    height: 420px;
  }
}
@media (min-width: 1024px) and (orientation: landscape) and (aspect-ratio: 4/3) {
  header h1 {
    background-image: url(../images/main_words.png);
    background-size: contain;
    height: 420px;
    background-position: left top;
  }
}
@media only screen and (max-width: 600px) {
  header h1 {
    background-size: 340px;
    height: 300px;
  }
}
@media only screen and (max-width: 320px) {
  header h1 {
    background-image: url(../images/mobile_mainwords.png);
    background-position: center 20px;
    background-size: 300px;
    height: 280px;
  }
}

@media (min-width: 1024px) and (orientation: landscape) and (aspect-ratio: 4/3) {
  .con {
    width: 53%;
    box-sizing: border-box;
    margin-left: 2%;
  }
}

.lan_con {
  width: 620px;
  min-height: 450px;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.2);
  margin-left: 300px;
  margin-top: 15%;
  padding: 3.5%;
  box-sizing: border-box;
  border: 5px solid rgba(255, 255, 255, 0.25);
  backdrop-filter: blur(5px);
}
@media only screen and (max-width: 1460px) {
  .lan_con {
    width: 550px;
    margin-left: 280px;
    min-height: 420px;
  }
}
@media only screen and (max-width: 1360px) {
  .lan_con {
    margin-top: 10%;
  }
}
@media only screen and (max-width: 1280px) {
  .lan_con {
    padding: 2%;
    min-height: 400px;
    width: 520px;
  }
}
@media only screen and (max-width: 1024px) {
  .lan_con {
    width: 90%;
    height: 420px;
    min-height: auto;
    margin: 0 auto;
    margin-top: 0;
    overflow: scroll;
  }
}
@media only screen and (max-width: 600px) {
  .lan_con {
    height: 250px;
  }
}
@media only screen and (max-width: 380px) {
  .lan_con {
    height: 220px;
  }
}
@media only screen and (max-width: 320px) {
  .lan_con {
    height: 200px;
  }
}

.words_con {
  display: none;
}
.words_con.sel {
  display: block;
}
.words_con h2 {
  font-size: 1.5em;
  font-weight: 500;
  position: relative;
  display: inline;
}
@media only screen and (max-width: 1460px) {
  .words_con h2 {
    font-size: 1.25em;
  }
}
.words_con h2:after {
  content: "";
  width: 100%;
  height: 15px;
  background: #fffab9;
  position: absolute;
  bottom: 0;
  left: 0;
  z-index: -1;
}
@media only screen and (max-width: 380px) {
  .words_con h2 {
    display: none;
  }
}
.words_con h3 {
  font-size: 2em;
}
@media only screen and (max-width: 1460px) {
  .words_con h3 {
    font-size: 1.75em;
  }
}
@media only screen and (max-width: 600px) {
  .words_con h3 {
    font-size: 1.25em;
  }
}
@media only screen and (max-width: 380px) {
  .words_con h3 {
    font-size: 1.1em;
  }
}
@media only screen and (max-width: 320px) {
  .words_con h3 {
    font-size: 1em;
  }
}
.words_con p {
  font-size: 1.5em;
  padding-top: 1em;
}
@media only screen and (max-width: 1460px) {
  .words_con p {
    font-size: 1.25em;
  }
}
@media only screen and (max-width: 600px) {
  .words_con p {
    font-size: 1em;
  }
}
@media only screen and (max-width: 380px) {
  .words_con p {
    font-size: 0.9em;
    padding-top: 0.5em;
  }
}
@media only screen and (max-width: 320px) {
  .words_con p {
    font-size: 0.8em;
  }
}

.mobile_title {
  position: fixed;
  top: 0;
  left: 0;
  background-image: url(../images/mobile_top.jpg);
  background-size: cover;
  background-position: center top;
  width: 100%;
  height: 80px;
  display: none;
  text-indent: -9999px;
}
@media only screen and (max-width: 1024px) {
  .mobile_title {
    display: block;
    height: 100px;
  }
}
@media (min-width: 1024px) and (orientation: landscape) and (aspect-ratio: 4/3) {
  .mobile_title {
    height: 100px;
  }
}
@media only screen and (max-width: 600px) {
  .mobile_title {
    height: 50px;
  }
}

.menu {
  position: fixed;
  top: 0;
  left: 0;
  width: 220px;
  height: 100%;
  background-image: url(../images/menu_bg.jpg);
  background-repeat: no-repeat;
  background-size: cover;
  box-sizing: border-box;
  padding: 10px;
}
@media only screen and (max-width: 1024px) {
  .menu {
    position: static;
    padding: 5px;
    width: 80%;
    height: auto;
    margin: auto;
    background: none;
    padding-bottom: 0;
  }
}
.menu .item {
  color: #665348;
  cursor: pointer;
}
@media only screen and (max-width: 1024px) {
  .menu .item {
    display: none;
    width: 80%;
    margin: auto;
  }
}
.menu h1 {
  text-indent: -9999px;
  background-image: url(../images/title.png);
  background-repeat: no-repeat;
  background-position: center center;
  width: 200px;
  height: 120px;
}
@media only screen and (max-width: 1024px) {
  .menu h1 {
    display: none;
  }
}
.menu .sel {
  display: flex;
  flex-direction: row;
  justify-content: center;
}
@media only screen and (max-width: 1024px) {
  .menu .sel {
    border-radius: 20px 20px 0 0;
    width: 50%;
    margin: auto;
    background-image: url(../images/mobile_menu.jpg);
    background-position: 25% top;
    background-repeat: no-repeat;
    box-sizing: border-box;
    font-family: "Noto Serif TC", serif;
    -webkit-font-smoothing: antialiased;
    font-weight: 800;
    border-bottom: 2px solid #fff;
  }
}
@media only screen and (max-width: 600px) {
  .menu .sel {
    width: 50%;
    margin: auto;
    font-size: 0.8em;
  }
}
@media only screen and (max-width: 320px) {
  .menu .sel {
    display: none;
  }
}
.menu .sel span {
  border: 1px solid #665348;
  padding: 5px 7px;
  color: #665348;
}
@media only screen and (max-width: 1024px) {
  .menu .sel span {
    border: none;
    padding: 7px 2px;
    color: #333;
  }
}
.menu .wrapper {
  margin: 1em 0.5em 0.25em 0.5em;
  padding: 0.5em;
  box-sizing: border-box;
  overflow-y: scroll;
  height: 78%;
}
@media only screen and (max-width: 1024px) {
  .menu .wrapper {
    margin: 0;
    padding: 0;
    overflow-y: hidden;
    height: auto;
    position: relative;
  }
  .menu .wrapper .prebtn {
    width: 27px;
    height: 27px;
    background-image: url(../images/icon_arrow.png);
    background-repeat: no-repeat;
    background-size: cover;
    position: absolute;
    top: 10px;
    left: 20%;
  }
  .menu .wrapper .prebtn.disabled {
    opacity: 0.5;
  }
  .menu .wrapper .nextbtn {
    width: 27px;
    height: 27px;
    background-image: url(../images/icon_arrow.png);
    background-repeat: no-repeat;
    background-size: cover;
    position: absolute;
    top: 10px;
    right: 20%;
    transform: rotate(-180deg);
  }
  .menu .wrapper .nextbtn.disabled {
    opacity: 0.5;
  }
}
@media only screen and (max-width: 1024px) and (max-width: 600px) {
  .menu .wrapper .prebtn {
    left: 15%;
  }
  .menu .wrapper .nextbtn {
    right: 15%;
  }
}
.menu .wrapper .item {
  padding: 3px 25px 3px 7px;
  text-align: right;
  box-sizing: border-box;
}
.menu .wrapper .item.active {
  background-image: url(../images/menu_hover.png);
  background-repeat: no-repeat;
  background-position: right center;
  color: #fff;
}
@media only screen and (max-width: 1024px) {
  .menu .wrapper .item.active {
    background-image: url(../images/mobile_menu.jpg);
    background-position: 25% top;
    background-size: cover;
    border-radius: 15px 15px 0 0;
    padding: 8px;
    width: 65%;
    text-align: center;
    color: #080404;
    font-family: "Noto Serif TC", serif;
    -webkit-font-smoothing: antialiased;
    font-weight: 800;
    display: block;
  }
}
@media only screen and (max-width: 600px) {
  .menu .wrapper .item.active {
    background-image: url(../images/mobile_menu.jpg);
    width: 80%;
    background-position: 25% top;
    border-radius: 15px 15px 0 0;
    padding: 8px 5px;
    font-weight: 800;
  }
}

/* 捲軸整體 */
.wrapper::-webkit-scrollbar {
  width: 2px;
}

/* 捲軸軌道 */
.wrapper::-webkit-scrollbar-track {
  background: #f1f1f1;
}

/* 捲軸滑塊 */
.wrapper::-webkit-scrollbar-thumb {
  background: #7c6a5d;
  border-radius: 4px;
}

/* 滑塊 hover */
.wrapper::-webkit-scrollbar-thumb:hover {
  background: #7c6a5d;
}/*# sourceMappingURL=style.css.map */