.container-fluid {
  padding: 0;
}

.container {
  position: relative;
}
@media (min-width: 1281px) {
  .container {
    max-width: 1200px;
  }
}

h1 {
  font-size: 2rem;
  line-height: 2.4rem;
  font-weight: 600;
}

h2 {
  font-size: 1.25rem;
  line-height: 2rem;
  font-weight: 500;
}

h3 {
  font-size: 1.125rem;
  line-height: 1.8rem;
  font-weight: 500;
}

h4 {
  font-size: 1rem;
  line-height: 1.6rem;
  font-weight: 500;
  white-space: pre-wrap;
}

p {
  font-size: 0.9375rem;
  margin-bottom: 0;
  line-height: 1.5rem;
}

* {
  margin: 0;
  padding: 0;
}

html, body {
  width: 100%;
  height: 100vh;
  background-image: url(../img/bg.png);
  background-attachment: fixed;
  background-repeat: no-repeat;
  background-position: center center;
  background-size: cover;
}
@media (max-width: 768px) {
  html, body {
    background-image: none;
  }
}

html {
  scroll-behavior: smooth;
}

body {
  position: relative;
  font-family: "Nunito", "Noto Sans TC", sans-serif;
  color: #282828;
}

h1, h2, h3, h4, h5, h6 {
  overflow-wrap: break-word;
  letter-spacing: 1px;
}

a {
  text-decoration: none;
}

ol, ul {
  padding-left: 0;
  list-style: none;
}

img {
  max-width: 100%;
}

#kv {
  position: relative;
  width: 100%;
  height: 100%;
  padding: 6rem 0 3rem;
}
#kv #deco-left, #kv #deco-right {
  position: absolute;
  top: 3.5rem;
  width: 12%;
}
#kv #deco-right {
  right: 0;
}
#kv .kv-img {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: horizontal;
  -webkit-box-direction: normal;
      -ms-flex-direction: row;
          flex-direction: row;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  padding: 0 1rem 2rem;
}
#kv .kv-img .kv-title {
  width: 55%;
}
#kv .kv-img .kv-corner {
  width: 35%;
  -webkit-animation: pulse 3s ease infinite;
          animation: pulse 3s ease infinite;
}
#kv .info {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: horizontal;
  -webkit-box-direction: normal;
      -ms-flex-direction: row;
          flex-direction: row;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  gap: 1rem;
  padding: 0 2rem;
  letter-spacing: 1px;
}
#kv .info-1, #kv .info-2, #kv .info-3 {
  -webkit-box-flex: 1;
      -ms-flex-positive: 1;
          flex-grow: 1;
  padding: 1rem 2rem;
  border-radius: 2rem;
  background-color: white;
}
#kv .line1 {
  margin-bottom: 0.25rem;
  font-size: 1.0625rem;
}
#kv .line2 {
  font-size: 1.5rem;
  font-weight: 600;
}
#kv .num {
  font-size: 1.5rem;
  color: #ff71ab;
}
#kv .info-1 {
  border: 5px dotted #faa1c2;
  color: #faa1c2;
}
#kv .info-2 {
  border: 5px dotted #f2b120;
  color: #f2b120;
}
#kv .info-3 {
  border: 5px dotted #2b9e74;
  color: #2b9e74;
}
@media (max-width: 768px) {
  #kv #deco-left, #kv #deco-right {
    width: 25%;
  }
  #kv .kv-img, #kv .info {
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
        -ms-flex-direction: column;
            flex-direction: column;
  }
  #kv .kv-img .kv-title {
    width: 100%;
  }
  #kv .kv-img .kv-corner {
    margin-top: 1rem;
    width: 70%;
  }
  #kv .info-1, #kv .info-2, #kv .info-3 {
    width: 100%;
  }
}

@-webkit-keyframes pulse {
  0% {
    -webkit-transform: scale(1);
            transform: scale(1);
  }
  50% {
    -webkit-transform: scale(1.1);
            transform: scale(1.1);
  }
  100% {
    -webkit-transform: scale(1);
            transform: scale(1);
  }
}

@keyframes pulse {
  0% {
    -webkit-transform: scale(1);
            transform: scale(1);
  }
  50% {
    -webkit-transform: scale(1.1);
            transform: scale(1.1);
  }
  100% {
    -webkit-transform: scale(1);
            transform: scale(1);
  }
}
#gift {
  padding: 2rem 0;
  background-color: #fff5cc;
}
#gift h2 {
  font-size: 2rem;
  font-weight: 600;
  line-height: 2.6rem;
  color: #007a48;
}
#gift h3 {
  color: #f2b120;
}
#gift .charm {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: horizontal;
  -webkit-box-direction: normal;
      -ms-flex-direction: row;
          flex-direction: row;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  gap: 0.5rem;
}
#gift .charm img {
  max-width: 100%;
  height: auto;
}

header {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: horizontal;
  -webkit-box-direction: normal;
      -ms-flex-direction: row;
          flex-direction: row;
  -webkit-box-pack: justify;
      -ms-flex-pack: justify;
          justify-content: space-between;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  position: fixed;
  width: 100%;
  height: 5rem;
  z-index: 500;
  background-color: #2b9e74;
}
header .logo a img {
  margin-left: 1.5rem;
  height: 2.5rem;
  -webkit-transition: 0.3s ease-in-out;
  transition: 0.3s ease-in-out;
}
header .logo a:hover img {
  -webkit-transform: scale(1.1);
          transform: scale(1.1);
}
header nav ul {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: start;
      -ms-flex-pack: start;
          justify-content: flex-start;
  margin-right: 1.5rem;
  padding-top: 0.25rem;
  gap: 1rem;
  list-style-type: none;
}
header nav ul li {
  padding-bottom: 0.05rem;
  border-bottom: 0.25rem solid #2b9e74;
  -webkit-transition: 0.3s ease;
  transition: 0.3s ease;
}
header nav ul li:hover {
  border-bottom: 4px solid white;
}
header nav ul li a {
  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-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  color: white;
  opacity: 0.8;
  border-bottom: 3px solid transparent;
  -webkit-transition: 0.3s ease;
  transition: 0.3s ease;
}
header nav ul li a:hover {
  color: white;
  opacity: 1;
}
header nav ul li a img {
  width: 2rem;
  height: 2rem;
  margin-bottom: 0.25rem;
}

@media (max-width: 992px) {
  .nav-pc {
    display: none;
  }
  .nav-mobile {
    position: fixed;
    top: 5rem;
    right: 0;
    width: 50%;
    height: 100%;
    z-index: 10;
    background-color: #2b9e74;
    -webkit-transition: all 0.2s ease;
    transition: all 0.2s ease;
  }
  .nav-mobile ul {
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
        -ms-flex-direction: column;
            flex-direction: column;
    position: absolute;
    width: 100%;
    top: 40%;
    -webkit-transform: translateY(-50%);
            transform: translateY(-50%);
  }
  .nav-mobile ul li {
    width: 100%;
    text-align: right;
  }
  .nav-mobile ul li:nth-child(1) a {
    -webkit-transition-delay: 0.2s;
            transition-delay: 0.2s;
  }
  .nav-mobile ul li:nth-child(2) a {
    -webkit-transition-delay: 0.35s;
            transition-delay: 0.35s;
  }
  .nav-mobile ul li:nth-child(3) a {
    -webkit-transition-delay: 0.5s;
            transition-delay: 0.5s;
  }
  .nav-mobile ul li:nth-child(4) a {
    -webkit-transition-delay: 0.65s;
            transition-delay: 0.65s;
  }
  .nav-mobile ul li:not(:first-child) {
    margin-left: 0;
  }
  .nav-mobile ul li a {
    -webkit-box-orient: horizontal;
    -webkit-box-direction: normal;
        -ms-flex-direction: row;
            flex-direction: row;
    color: white;
    -webkit-transition: all 0.2s ease;
    transition: all 0.2s ease;
  }
  .nav-mobile ul li a:hover {
    border-bottom: transparent;
  }
  .nav-mobile ul li a img {
    margin-bottom: 0;
    margin-right: 1rem;
  }
  .nav-open {
    display: block;
    position: fixed;
    top: 1rem;
    right: 1rem;
    width: 3rem;
    height: 3rem;
    -webkit-transition: 0.3s ease-in-out;
    transition: 0.3s ease-in-out;
    cursor: pointer;
    z-index: 99;
  }
  .nav-open i {
    display: block;
    width: 1.5rem;
    height: 2px;
    background-color: white;
    border-radius: 2px;
    margin-left: 1rem;
  }
  .nav-open i:nth-child(1) {
    margin-top: 1rem;
  }
  .nav-open i:nth-child(2) {
    margin-top: 0.25rem;
  }
  .nav-open i:nth-child(3) {
    margin-top: 0.25rem;
  }
}
@media (max-width: 428px) {
  .nav-mobile ul {
    top: 45%;
  }
}
#nav:checked + .nav-open {
  -webkit-transform: rotate(45deg);
          transform: rotate(45deg);
}
#nav:checked + .nav-open i {
  background: white;
  -webkit-transition: all 0.2s ease;
  transition: all 0.2s ease;
}
#nav:checked + .nav-open i:nth-child(1) {
  -webkit-transform: translateY(6px) rotate(180deg);
          transform: translateY(6px) rotate(180deg);
}
#nav:checked + .nav-open i:nth-child(2) {
  opacity: 0;
}
#nav:checked + .nav-open i:nth-child(3) {
  -webkit-transform: translateY(-6px) rotate(90deg);
          transform: translateY(-6px) rotate(90deg);
}

.hidden {
  display: none;
}

.menu-fixed {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  width: 100%;
  z-index: 99;
  -webkit-transition: 0.3s ease-in;
  transition: 0.3s ease-in;
}

footer {
  position: relative;
  width: 100%;
  padding: 2rem 0;
  background-color: #8de0c2;
}
footer .social-icon {
  margin-bottom: 1rem;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: horizontal;
  -webkit-box-direction: normal;
      -ms-flex-direction: row;
          flex-direction: row;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  gap: 1.5rem;
}
footer .social-icon img {
  width: 2.5rem;
  -webkit-transition: 0.3s ease-in-out;
  transition: 0.3s ease-in-out;
}
footer .social-icon img:hover {
  -webkit-transform: scale(1.2);
          transform: scale(1.2);
}
footer p {
  color: white;
}
footer:before {
  content: "";
  position: absolute;
  display: block;
  left: 0;
  width: 100%;
  height: 2rem;
  top: -1.5rem;
  background: url(../img/g-up.png) bottom center repeat-x;
  background-size: contain;
}

#backtotop {
  position: fixed;
  right: 2rem;
  bottom: 2rem;
  z-index: 30;
  opacity: 0;
  visibility: hidden;
  cursor: pointer;
  -webkit-transition: background-color 0.3s, opacity 0.5s, visibility 0.5s;
  transition: background-color 0.3s, opacity 0.5s, visibility 0.5s;
  -webkit-animation: updown 3s infinite;
          animation: updown 3s infinite;
}
#backtotop img {
  width: 4rem;
  -webkit-transition: 0.3s ease-in-out;
  transition: 0.3s ease-in-out;
}
#backtotop img:hover {
  -webkit-transform: scale(1.1);
          transform: scale(1.1);
}
#backtotop.show {
  opacity: 1;
  visibility: visible;
}

#main, #wrap, #app {
  position: relative;
}

#x-team, #set, #mix, #science, #citizen, #bookList, #announce {
  padding: 2rem 0;
}

#x-team:target:before, #set:target:before, #mix:target:before, #science:target:before, #citizen:target:before, #bookList:target:before {
  content: "";
  display: block;
  height: 4rem;
}

#newBook:target:before, #awardBook:target:before {
  content: "";
  display: block;
  height: 5rem;
}

@media (max-width: 768px) {
  #kv, #mix, #citizen, #announce {
    height: 100%;
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
    background-image: url(../img/bg-m.png);
  }
}
#set, #science, #bookList {
  background-color: #fff5cc;
}

.title {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: horizontal;
  -webkit-box-direction: normal;
      -ms-flex-direction: row;
          flex-direction: row;
  -webkit-box-pack: justify;
      -ms-flex-pack: justify;
          justify-content: space-between;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  margin-bottom: 1rem;
  text-align: center;
}
.title .btn-space {
  visibility: hidden;
}
.title a {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: horizontal;
  -webkit-box-direction: normal;
      -ms-flex-direction: row;
          flex-direction: row;
  -webkit-box-pack: end;
      -ms-flex-pack: end;
          justify-content: flex-end;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  padding: 0.5rem 1rem;
  border-radius: 2rem;
  border: 2px solid #f2b120;
  background-color: #f2b120;
  -webkit-transition: 0.3s ease-in-out;
  transition: 0.3s ease-in-out;
}
.title a p {
  padding-top: 0.1rem;
  color: white;
}
.title a img {
  width: 1.5rem;
}
.title a:hover {
  background-color: transparent;
}
.title a:hover p {
  color: #f2b120;
  font-weight: 500;
}

@media (max-width: 768px) {
  .title-h1 {
    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-pack: justify;
        -ms-flex-pack: justify;
            justify-content: space-between;
    -webkit-box-align: center;
        -ms-flex-align: center;
            align-items: center;
  }
  .title-h1 h1 {
    margin-bottom: 1rem;
  }
}
h1 {
  margin: 0;
  padding: 0.5rem 0 0;
  padding-bottom: 1rem;
  color: #2b9e74;
  background-image: url(../img/underline.svg);
  background-position: bottom;
  background-repeat: no-repeat;
  background-size: auto 0.5rem;
}
h1 span {
  font-size: 1.4rem;
  color: #007a48;
}

#gift h1, #mix h1, #announce h1 {
  margin-bottom: 1rem;
}

h2 {
  padding: 1rem 0 0;
  color: #f2b120;
}

.recommend {
  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-pack: justify;
      -ms-flex-pack: justify;
          justify-content: space-between;
  padding: 0.5rem 1rem;
  border-radius: 1rem;
  height: 100%;
}
.recommend h2, .recommend .name {
  color: #2b9e74;
}
.recommend .heading {
  font-size: 0.875rem;
  color: #9b9b9b;
}
.recommend .name {
  font-size: 1.0625rem;
  font-weight: 500;
  text-align: right;
}

.slick div {
  border-radius: 1rem;
  -webkit-transition: 0.3s ease-in-out;
  transition: 0.3s ease-in-out;
}
.slick div a .item-img {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: horizontal;
  -webkit-box-direction: normal;
      -ms-flex-direction: row;
          flex-direction: row;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  margin-bottom: 0.5rem;
  width: 90%;
  overflow: hidden;
  border: 1px solid #f9cc10;
  background-color: white;
}
.slick div a .item-img img {
  width: 80%;
  -o-object-fit: contain;
     object-fit: contain;
  -webkit-transition: 0.3s ease-in-out;
  transition: 0.3s ease-in-out;
}
.slick div a .item-copy {
  width: 90%;
  text-align: center;
}
.slick div a .item-copy h4 {
  color: #282828;
}
.slick div a .item-copy p {
  font-size: 1rem;
  font-weight: 500;
  color: #ff71ab;
}
.slick div a .item-copy p span {
  font-size: 0.8rem;
  font-weight: 400;
  text-decoration: line-through;
  color: #9b9b9b;
}
.slick div a:hover .item-img img {
  -webkit-transform: scale(1.2);
          transform: scale(1.2);
}
.slick div a:hover .item-copy {
  opacity: 0.7;
}

.slick-center a {
  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-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  gap: 0.5rem;
}
.slick-center a .item-img {
  width: 90%;
  border: 1px solid #f9cc10;
  border-radius: 1rem;
  overflow: hidden;
}
.slick-center a .item-img img {
  -o-object-fit: contain;
     object-fit: contain;
  -webkit-transition: 0.3s ease-in-out;
  transition: 0.3s ease-in-out;
}
.slick-center a .item-copy h4 {
  color: #282828;
}
.slick-center a:hover .item-img img {
  -webkit-transform: scale(1.2);
          transform: scale(1.2);
}
.slick-center a:hover .item-copy {
  opacity: 0.7;
}

.slick-prev, .slick-next {
  position: absolute;
  top: 6.5rem;
  border: none;
  outline: none;
  z-index: 10;
}

.slick-prev {
  left: -3rem;
  -webkit-transform: rotate(180deg);
          transform: rotate(180deg);
}

.slick-next {
  right: -1.6rem;
}

.slick-arrow {
  width: 2rem;
  height: 2rem;
  border-radius: 3rem;
  font-size: 0;
  background-color: #f2b120;
  background-image: url(https://tarkikromanski.github.io/files/arrow-slider.png);
  background-repeat: no-repeat;
  background-position: center center;
  background-size: 0.5rem;
  -webkit-transition: 0.3s ease-in-out;
  transition: 0.3s ease-in-out;
  cursor: pointer;
}
.slick-arrow:hover {
  background-color: #f9cc10;
}

#menu {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: horizontal;
  -webkit-box-direction: normal;
      -ms-flex-direction: row;
          flex-direction: row;
  -webkit-box-pack: justify-content;
      -ms-flex-pack: justify-content;
          justify-content: justify-content;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  background-color: #8de0c2;
  z-index: 10;
}
#menu a {
  padding: 0.5rem 1rem;
  -webkit-box-flex: 1;
      -ms-flex-positive: 1;
          flex-grow: 1;
  text-align: center;
  -webkit-transition: 0.3s ease-in;
  transition: 0.3s ease-in;
}
#menu a p {
  color: white;
}
#menu a img {
  margin-bottom: 0.5rem;
  width: 3rem;
  -webkit-transition: 0.3s ease-in;
  transition: 0.3s ease-in;
}
#menu a:hover {
  background-color: #79d3b0;
}
#menu a:hover p {
  font-weight: 500;
}
#menu a:hover img {
  -webkit-transform: scale(1.2);
          transform: scale(1.2);
}
@media (max-width: 768px) {
  #menu {
    display: none;
  }
}

#science .recommend {
  background-color: white;
  border: 5px dotted #8de0c2;
}

#citizen .recommend {
  border: 5px dotted #f2b120;
  background-color: white;
}

#announce {
  padding-bottom: 2rem;
}
#announce .col {
  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-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  padding: 2rem;
  border-radius: 1rem;
  background-color: white;
}
#announce h3 {
  color: #f2b120;
}
#announce ul {
  width: 70%;
  line-height: 2rem;
}
#announce ul li {
  text-indent: -1.3rem;
}
#announce ul span {
  font-size: 1.2rem;
  font-weight: 600;
  color: #ff71ab;
}
@media (max-width: 768px) {
  #announce ul {
    width: 90%;
  }
}