@import url("https://fonts.googleapis.com/css?family=Noto+Sans+TC|Noto+Serif+TC&display=swap");
.paging-bar {
  margin-bottom: 1em;
  margin-top: 3em;
  box-sizing: border-box;
}
.paging-bar .pagination {
  margin: 0 auto;
  display: table;
  padding: 1em 0.5em;
}
.paging-bar .pagination a {
  font-size: 19.2px;
  letter-spacing: 0;
  color: #ba2020;
  text-align: center;
  line-height: 38px;
  width: 30px;
  height: 34px;
  padding: 2px 4px;
  margin: 0 4px;
  float: left;
  -moz-transition: all 0.3s linear;
  -o-transition: all 0.3s linear;
  -webkit-transition: all 0.3s linear;
  transition: all 0.3s linear;
}
.paging-bar .pagination a:hover {
  -moz-transform: translateY(-5px);
  -ms-transform: translateY(-5px);
  -webkit-transform: translateY(-5px);
  transform: translateY(-5px);
}
.paging-bar .pagination a img {
  display: inline-block;
  height: 41px;
  line-height: 41px;
  position: relative;
  top: 0;
}
.paging-bar .pagination a.active {
  background-color: #ba2020;
  color: #fff;
  -moz-border-radius: 100%;
  -webkit-border-radius: 100%;
  border-radius: 100%;
}

.paging-bar .pagination .prev, .paging-bar .pagination .next {
  width: auto;
  -moz-transition: all 0.3s linear;
  -o-transition: all 0.3s linear;
  -webkit-transition: all 0.3s linear;
  transition: all 0.3s linear;
}

.paging-bar .pagination .prev:hover {
  border: none;
  -moz-transform: translateX(-5px);
  -ms-transform: translateX(-5px);
  -webkit-transform: translateX(-5px);
  transform: translateX(-5px);
}

.paging-bar .pagination .next:hover {
  border: none;
  -moz-transform: translateX(5px);
  -ms-transform: translateX(5px);
  -webkit-transform: translateX(5px);
  transform: translateX(5px);
}

.paging-bar .pagination .prev img {
  margin-right: 0.2em;
  float: left;
}

.paging-bar .pagination .next img {
  margin-left: 0.2em;
  float: right;
}

@media only screen and (max-width: 480px) {
  .paging-bar .pagination a {
    font-size: 14px;
    line-height: 25px;
    width: 25px;
    height: 25px;
    padding: 2px;
    margin: 0 2px;
  }
  .paging-bar .pagination a img {
    height: 25px;
    top: 0;
  }
}
@media only screen and (max-width: 360px) {
  .paging-bar .pagination a {
    font-size: 14px;
    line-height: 25px;
    width: 25px;
    height: 25px;
    padding: 2px;
    margin: 0;
  }
}
.news {
  width: 100%;
  max-width: 1360px;
  margin: auto;
}

.tabbtn ul {
  margin-top: 30px;
  text-align: center;
}
.tabbtn ul li {
  display: inline-block;
  width: 50%;
  max-width: 165px;
  -moz-border-radius: 30px;
  -webkit-border-radius: 30px;
  border-radius: 30px;
  background-color: #fff;
  padding: 6px 25px 6px 30px;
  text-align: right;
  position: relative;
  border: 1px solid #a72126;
}
.tabbtn ul li a {
  color: #a72126;
  font-size: 140%;
}
.tabbtn ul li + li {
  margin-left: 30px;
}
.tabbtn ul li i {
  width: 80px;
  height: 47px;
  -moz-border-radius: 30px;
  -webkit-border-radius: 30px;
  border-radius: 30px;
  display: block;
  position: absolute;
  top: -0.5px;
  left: -1px;
  background-image: url(../images/page_submenuIcon.png);
  background-repeat-x: no-repeat;
  background-color: #fff;
  border: 1px solid #a72126;
}
.tabbtn ul li:first-child i {
  background-position: 15px -2px;
}
.tabbtn ul li:nth-child(2) i {
  background-position: 15px -43px;
}
.tabbtn ul li.sel {
  background-color: #a72126;
}
.tabbtn ul li.sel a {
  color: #fff;
}

@media only screen and (max-width: 480px) {
  .tabbtn ul li {
    max-width: 140px;
    padding: 6px 15px 6px 5px;
  }
  .tabbtn ul li a {
    font-size: 110%;
  }
  .tabbtn ul li i {
    width: 60px;
    height: 39px;
  }
  .tabbtn ul li:first-child i {
    background-position: center -4px;
  }
  .tabbtn ul li:nth-child(2) i {
    background-position: center -45px;
  }
}
.news_item {
  margin-top: 30px;
}
.news_item:before {
  content: "";
  display: table;
}
.news_item:after {
  content: "";
  display: table;
  clear: both;
  zoom: 1;
}
.news_item .item {
  position: relative;
}
.news_item .item .btn {
  content: "";
  display: block;
  width: 131px;
  height: 60px;
  position: absolute;
  right: 25px;
  bottom: 0;
  -moz-transition: all 0.15s linear;
  -o-transition: all 0.15s linear;
  -webkit-transition: all 0.15s linear;
  transition: all 0.15s linear;
  cursor: pointer;
  filter: progid:DXImageTransform.Microsoft.Alpha(Opacity=0);
  opacity: 0;
}
.news_item .item .btn img {
  height: 100%;
}
.news_item .item:hover .btn {
  filter: progid:DXImageTransform.Microsoft.Alpha(enabled=false);
  opacity: 1;
}
.news_item .item:hover .photoBox img {
  -moz-transform: scale(1.1);
  -ms-transform: scale(1.1);
  -webkit-transform: scale(1.1);
  transform: scale(1.1);
  filter: progid:DXImageTransform.Microsoft.Alpha(enabled=false);
  opacity: 1;
}
.news_item .detail_con .photoBox {
  background-color: #f2f0f0;
  height: 15em;
  width: 100%;
  overflow: hidden;
}
.news_item .detail_con .photoBox img {
  height: 100%;
  width: auto;
  margin: auto;
  display: block;
  max-width: none;
  position: relative;
  filter: progid:DXImageTransform.Microsoft.Alpha(Opacity=80);
  opacity: 0.8;
  -moz-transition: all 0.3s linear;
  -o-transition: all 0.3s linear;
  -webkit-transition: all 0.3s linear;
  transition: all 0.3s linear;
}
.news_item .detail_con .text {
  padding: 15px;
}
.news_item .detail_con .text .title {
  font-size: 120%;
  font-weight: 800;
  overflow: hidden;
  text-overflow: ellipsis;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  height: 65px;
}
.news_item .detail_con .text .time {
  position: relative;
  padding-top: 10px;
  padding-left: 25px;
  color: #544d36;
}
.news_item .detail_con .text .time:before {
  content: "";
  background-image: url(../images/news_time.png);
  background-repeat: no-repeat;
  width: 18px;
  height: 18px;
  position: absolute;
  top: 15px;
  left: 0;
}

@media only screen and (max-width: 1024px) {
  .news_item {
    width: 98%;
    margin: 30px auto;
  }
  .news_item .detail_con .photoBox {
    height: 11em;
  }
}
@media only screen and (max-width: 768px) {
  .news_item .detail_con .photoBox {
    height: 13em;
  }
}
.item {
  float: left;
  width: calc(90% / 3);
  margin: 1.5%;
}
.item a {
  color: #333;
}
.item .bdrT {
  width: 100%;
  height: 35px;
  float: none;
  clear: both;
}
.item .bdrT:before {
  content: " ";
  height: 100%;
  width: 35px;
  background: url(../images/newsbg_corner.png) 0 0 no-repeat;
  float: left;
}
.item .bdrT:after {
  content: " ";
  height: 100%;
  width: 35px;
  background: url(../images/newsbg_corner.png) 0 0 no-repeat;
  float: right;
  -moz-transform: scale(-1, 1);
  -ms-transform: scale(-1, 1);
  -webkit-transform: scale(-1, 1);
  transform: scale(-1, 1);
}
.item .bdrT b {
  background: #fff0e3 url(../images/newsbg_centerline.png) 0 0 repeat-x;
  float: left;
  width: calc(100% - 70px);
  height: 35px;
}
.item .bdrB {
  width: 100%;
  height: 35px;
  float: none;
  clear: both;
}
.item .bdrB:before {
  content: " ";
  height: 100%;
  width: 35px;
  background: url(../images/newsbg_corner_w.png) 0 0 no-repeat;
  float: left;
  -moz-transform: scale(1, -1);
  -ms-transform: scale(1, -1);
  -webkit-transform: scale(1, -1);
  transform: scale(1, -1);
}
.item .bdrB:after {
  content: " ";
  height: 100%;
  width: 35px;
  background: url(../images/newsbg_corner_w.png) 0 0 no-repeat;
  float: right;
  -moz-transform: scale(-1, -1);
  -ms-transform: scale(-1, -1);
  -webkit-transform: scale(-1, -1);
  transform: scale(-1, -1);
}
.item .bdrB b {
  background: #fff url(../images/newsbg_line_B.png) 0 bottom repeat-x;
  float: left;
  width: calc(100% - 70px);
  height: 35px;
}
.item .detail_con {
  background: url(../images/newsbg_line.png) 0 0 repeat-y, url(../images/newsbg_line.png) right 0 repeat-y, #fff;
  overflow: hidden;
  padding: 0 13px;
}

@media only screen and (max-width: 1024px) {
  .item {
    width: calc(93% / 3);
    margin: 1%;
  }
}
@media only screen and (max-width: 768px) {
  .item {
    width: calc(94% / 2);
    margin: 1.5%;
  }
}
@media only screen and (max-width: 480px) {
  .item {
    width: 85%;
    margin: 20px auto;
    float: none;
  }
}
.info_box {
  width: 100%;
  max-width: 800px;
  margin: auto;
  margin-bottom: 50px;
}
.info_box .bdrT {
  width: 100%;
  height: 40px;
  float: none;
  clear: both;
}
.info_box .bdrT:before {
  content: " ";
  height: 100%;
  width: 49px;
  background: url(../images/info_corner.png) 0 0 no-repeat;
  float: left;
}
.info_box .bdrT:after {
  content: " ";
  height: 100%;
  width: 49px;
  background: url(../images/info_corner.png) 0 0 no-repeat;
  float: right;
  -moz-transform: scale(-1, 1);
  -ms-transform: scale(-1, 1);
  -webkit-transform: scale(-1, 1);
  transform: scale(-1, 1);
}
.info_box .bdrT b {
  background: #fbf4e2 url(../images/info_line.png) 0 0 repeat-x;
  float: left;
  width: calc(100% - 98px);
  height: 40px;
}
.info_box .bdrB {
  width: 100%;
  height: 40px;
  float: none;
  clear: both;
}
.info_box .bdrB:before {
  content: " ";
  height: 100%;
  width: 49px;
  background: url(../images/info_corner.png) 0 0 no-repeat;
  float: left;
  -moz-transform: scale(1, -1);
  -ms-transform: scale(1, -1);
  -webkit-transform: scale(1, -1);
  transform: scale(1, -1);
}
.info_box .bdrB:after {
  content: " ";
  height: 100%;
  width: 49px;
  background: url(../images/info_corner.png) 0 0 no-repeat;
  float: right;
  -moz-transform: scale(-1, -1);
  -ms-transform: scale(-1, -1);
  -webkit-transform: scale(-1, -1);
  transform: scale(-1, -1);
}
.info_box .bdrB b {
  background: #fbf4e2 url(../images/info_line.png) 0 bottom repeat-x;
  float: left;
  width: calc(100% - 98px);
  height: 40px;
  -moz-transform: scale(1, -1);
  -ms-transform: scale(1, -1);
  -webkit-transform: scale(1, -1);
  transform: scale(1, -1);
}
.info_box .detail_con {
  background: url(../images/info_line_c2.png) 0 0 repeat-y, url(../images/info_line_c1.png) right 0 repeat-y, #fbf4e2;
  overflow: hidden;
  padding: 0 50px;
}
.info_box .detail_con h5 {
  font-size: 120%;
  margin: 10px 0;
}
.info_box .detail_con h4 {
  font-size: 150%;
  margin: 25px 0;
}
.info_box .detail_con h4 em {
  display: block;
  font-size: 70%;
  font-style: normal;
  font-weight: 800;
  padding-top: 10px;
}
.info_box .detail_con ol li {
  list-style: decimal inside;
  padding: 5px 0;
}
.info_box .detail_con p {
  margin: 15px 0;
}
.info_box .detail_con p b {
  font-family: "Noto Serif TC", serif;
}
.info_box .detail_con p a {
  display: inline-block;
  padding: 5px 10px;
  background-color: #c8141d;
  color: #fff;
  -moz-border-radius: 30px;
  -webkit-border-radius: 30px;
  border-radius: 30px;
  margin: 0 2px;
  font-weight: normal;
}

.traffic_info, .visit_info {
  background-color: rgba(255, 237, 183, 0.95);
}
.traffic_info h2.title, .visit_info h2.title {
  z-index: 9;
}

body {
  font-family: "Helvetica Neue", "Helvetica", "Arial", "STHeitiTC-Light", "Microsoft JhengHei", sans-serif;
  font-size: 18px;
  line-height: 1.5;
  margin: 0;
  padding: 0;
  overflow-x: hidden;
  background: url(../images/bg_icon.png) #f9e5a8;
}

body.on {
  overflow: hidden;
}

h1, h2, h3, h4, h5, h6 {
  font-family: "Noto Serif TC", serif;
}

* {
  margin: 0;
  padding: 0;
  list-style: none;
}

a {
  text-decoration: none;
}

header {
  width: 80px;
  height: 100%;
  background-color: #ff4378;
  position: fixed;
  -moz-box-shadow: 3px 0 10px rgba(0, 0, 0, 0.3);
  -webkit-box-shadow: 3px 0 10px rgba(0, 0, 0, 0.3);
  box-shadow: 3px 0 10px rgba(0, 0, 0, 0.3);
  z-index: 0;
}
header h1 {
  text-indent: -9999px;
  background: url(../images/side_title.png) no-repeat;
  background-size: auto;
  background-position: center;
  height: calc(100% - 465px);
}
header .sub_menu {
  position: fixed;
  bottom: 10px;
  width: 80px;
}
header .menu_item {
  padding: 8px 0;
}
header .day_time {
  border-top: 1px dashed #fff;
  border-bottom: 1px dashed #fff;
  padding-top: 5px;
  padding-bottom: 5px;
}
header .en a {
  color: #fff;
  display: block;
  text-align: center;
  font-size: 125%;
  border-top: 1px dashed #fff;
  padding-top: 15px;
}

@media only screen and (max-width: 1024px) {
  header {
    bottom: 0;
    width: 100%;
    height: 85px;
    z-index: 1;
  }
  header h1 {
    background: url(../images/mobile_title.png) no-repeat;
    background-size: cover;
    background-position: center;
    height: auto;
    width: 300px;
    margin: auto;
    position: absolute;
    top: 15px;
    left: 150px;
  }
  header .sub_menu {
    position: static;
  }
  header .day_time {
    border: none;
    border-left: 1px dashed #fff;
    border-right: 1px dashed #fff;
    width: 100px;
    position: absolute;
    top: 0;
    right: 350px;
    padding-top: 10px;
    height: 70px;
  }
  header .day_time img {
    width: 60px;
  }
  header .menu_item {
    position: absolute;
    top: 12px;
    right: 120px;
  }
  header .menu_item ul li {
    display: inline-block;
    margin: 2px;
  }
  header .menu_item ul li img {
    width: 48px;
  }
  header .en {
    position: absolute;
    right: 10px;
    top: 0;
    width: 100px;
    height: 85px;
    border-left: 1px dashed #fff;
  }
  header .en a {
    border: none;
    padding-top: 30px;
    margin: auto;
  }
}
@media only screen and (max-width: 768px) {
  header h1 {
    width: 230px;
    left: 70px;
  }
}
@media only screen and (max-width: 480px) {
  header {
    height: 65px;
  }
  header h1 {
    display: none;
  }
  header .menu_item {
    top: 5px;
    right: 26%;
  }
  header .menu_item ul li img {
    width: 36px;
  }
  header .day_time {
    width: calc((100% - 3px) / 4);
    right: 50%;
  }
  header .day_time img {
    width: 40px;
  }
  header .en {
    width: calc((100% - 3px) / 4);
    right: 0;
    height: 65px;
    border: none;
    border-left: 1px dashed #fff;
  }
  header .en a {
    text-align: center;
    height: 45px;
    padding-top: 20px;
  }
}
.page {
  background-image: url(../images/page_banner.png);
  background-repeat: no-repeat;
  background-size: contain;
  background-position: left top;
  padding-top: 20vw;
  width: calc(100% - 80px);
  margin-left: 80px;
}

h2.title {
  font-size: 280%;
  width: 100%;
  margin: auto;
  text-align: center;
  letter-spacing: 0.05em;
  position: relative;
  margin-top: 20px;
  margin-bottom: 20px;
  z-index: -1;
}

.pagebg {
  background-image: url(../images/page_banner.png), url(../images/page_bg.png), url(../images/page_bg.png);
  background-repeat: no-repeat;
  background-position: center top, -40px 400px, 102.5% 90%;
  background-size: 100%, auto, auto;
}

@media only screen and (max-width: 1024px) {
  .page {
    width: 100%;
    margin-left: 0;
  }

  .pagebg {
    background-image: url(../images/page_banner.png);
    background-size: 110%;
  }
}
@media only screen and (max-width: 768px) {
  .page {
    background-image: url(../images/page_banner_S.png);
    background-size: 100%;
    padding-top: 50vw;
  }
}
@media only screen and (max-width: 480px) {
  h2.title {
    margin-top: 10px;
    font-size: 200%;
  }
  h2.title img {
    width: 50px;
  }
}
footer {
  background: url(../images/footer_bg.png) no-repeat;
  background-position: center top;
  background-size: auto;
  padding-top: 160px;
  width: calc(100% - 80px);
  margin-left: 80px;
}
footer p {
  text-align: center;
  color: #fff;
  background-color: #bb1118;
  padding: 30px 0;
}

footer.vol {
  background: url(../images/footer_bg.png);
  background-repeat: no-repeat;
  background-position: center 63%;
  padding-top: 0;
}
footer.vol figure img {
  display: block;
  margin: auto;
  width: 95%;
  max-width: 1080px;
}

footer.home {
  background: none;
  padding-top: 0;
}
footer.home p {
  text-align: center;
  color: #fff;
  background-color: #bb1118;
  padding: 30px 0;
}

@media only screen and (max-width: 1024px) {
  footer {
    background-size: 120%;
    padding-top: 250px;
    padding-bottom: 80px;
    background-position: center top;
    width: 100%;
    margin-left: 0;
  }
}
@media only screen and (max-width: 768px) {
  footer {
    padding-top: 200px;
  }
}
@media only screen and (max-width: 480px) {
  footer {
    background-size: 140%;
    padding-top: 110px;
    font-size: 85%;
    padding-bottom: 65px;
  }
  footer.vol {
    padding-bottom: 65px;
    background-position: center 55%;
  }
}
@media only screen and (max-width: 360px) {
  footer {
    background-size: 165%;
    background-position: 60% top;
  }
}
.f_R {
  float: right;
  margin-left: 15px;
  margin-bottom: 10px;
}

.f_l {
  float: left;
  margin-right: 15px;
  margin-bottom: 10px;
}

.clearfix:before {
  content: "";
  display: table;
}
.clearfix:after {
  content: "";
  display: table;
  clear: both;
  zoom: 1;
}

.img_center {
  display: block;
  margin: auto;
}

.share_area {
  height: 100%;
  width: 100%;
  margin: auto;
  display: flex;
  justify-content: center;
  align-items: center;
}

.btnTop {
  position: fixed;
  bottom: 40%;
  right: -150px;
  z-index: 9;
  cursor: pointer;
  -moz-transition: all 0.5s linear;
  -o-transition: all 0.5s linear;
  -webkit-transition: all 0.5s linear;
  transition: all 0.5s linear;
  display: none;
}
.btnTop span {
  position: absolute;
  top: -65px;
  right: 60px;
  -moz-transition: all 0.5s linear;
  -o-transition: all 0.5s linear;
  -webkit-transition: all 0.5s linear;
  transition: all 0.5s linear;
  filter: progid:DXImageTransform.Microsoft.Alpha(Opacity=0);
  opacity: 0;
}
.btnTop.show {
  -moz-animation: swing 0.4s ease 0.2s forwards;
  -webkit-animation: swing 0.4s ease 0.2s forwards;
  animation: swing 0.4s ease 0.2s forwards;
  display: block;
}
.btnTop.show span {
  -moz-animation: swing_span 0.8s ease 0.2s forwards;
  -webkit-animation: swing_span 0.8s ease 0.2s forwards;
  animation: swing_span 0.8s ease 0.2s forwards;
  -moz-animation-delay: 0.8s;
  -webkit-animation-delay: 0.8s;
  animation-delay: 0.8s;
}

a.bless_btn {
  display: block;
  position: fixed;
  bottom: 5px;
  right: 5px;
  z-index: 9;
  -moz-animation: light_upanddow 1s ease infinite;
  -webkit-animation: light_upanddow 1s ease infinite;
  animation: light_upanddow 1s ease infinite;
}

@media only screen and (max-width: 1024px) {
  a.bless_btn {
    bottom: 100px;
  }
}
@media only screen and (max-width: 480px) {
  .f_l {
    float: none;
    margin: 0;
  }

  a.bless_btn {
    right: auto;
    left: 5px;
  }
  a.bless_btn img {
    width: 50px;
  }

  .btnTop {
    filter: progid:DXImageTransform.Microsoft.Alpha(Opacity=85);
    opacity: 0.85;
  }
  .btnTop img {
    -moz-transform: scale(0.7);
    -ms-transform: scale(0.7);
    -webkit-transform: scale(0.7);
    transform: scale(0.7);
  }
  .btnTop span {
    top: -50px;
    right: 40px;
  }
}
.share_area {
  display: none;
}
.share_area .share_bg {
  position: fixed;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.65);
  z-index: 10;
  top: 0;
  left: 0;
}
.share_area .share_list {
  position: fixed;
  min-width: 250px;
  top: 50%;
  left: 50%;
  -moz-transform: translate(-50%, -50%);
  -ms-transform: translate(-50%, -50%);
  -webkit-transform: translate(-50%, -50%);
  transform: translate(-50%, -50%);
  z-index: 11;
  padding: 30px;
  -moz-border-radius: 15px;
  -webkit-border-radius: 15px;
  border-radius: 15px;
  background-color: rgba(0, 0, 0, 0.8);
}
.share_area .share_list a {
  display: inline-block;
  padding: 0 10px;
  text-align: center;
}
.share_area a.close_btn {
  background-color: #fff;
  width: 55px;
  height: 40px;
  -moz-border-radius: 100%;
  -webkit-border-radius: 100%;
  border-radius: 100%;
  text-align: center;
  padding: 0;
  padding-top: 15px;
  display: block;
  cursor: pointer;
  top: 120%;
  left: 50%;
  -moz-transform: translateX(-50%);
  -ms-transform: translateX(-50%);
  -webkit-transform: translateX(-50%);
  transform: translateX(-50%);
  position: absolute;
}
.share_area.sel {
  display: block;
}

@media only screen and (max-width: 480px) {
  .share_area .share_list a {
    display: block;
    padding-top: 20px;
  }
  .share_area a.close_btn {
    top: -15%;
    padding-top: 15px;
  }
}
ul.menu {
  list-style: none;
  width: 84%;
  margin: auto;
  -moz-transform: translateY(-50%);
  -ms-transform: translateY(-50%);
  -webkit-transform: translateY(-50%);
  transform: translateY(-50%);
  top: 50%;
  position: relative;
}
ul.menu:before {
  content: "";
  display: table;
}
ul.menu:after {
  content: "";
  display: table;
  clear: both;
  zoom: 1;
}
ul.menu li {
  width: calc(80% /4);
  float: left;
  padding: 2%;
}
ul.menu li a img {
  display: block;
  width: 100%;
}
ul.menu li a span {
  text-align: center;
  display: block;
  color: #fff;
  font-size: 180%;
}

.menu-toggle {
  cursor: pointer;
  display: block;
  text-align: center;
  padding-top: 15px;
  padding-left: 3px;
  color: #fff;
}
.menu-toggle span:after {
  content: "MENU";
}
.menu-toggle .mouse img {
  -moz-animation: shakeWhileMovingUp 0.8s ease 0.2s forwards, shakeWhileMovingDown 0.2s ease 0.8s forwards;
  -webkit-animation: shakeWhileMovingUp 0.8s ease 0.2s forwards, shakeWhileMovingDown 0.2s ease 0.8s forwards;
  animation: shakeWhileMovingUp 0.8s ease 0.2s forwards, shakeWhileMovingDown 0.2s ease 0.8s forwards;
  display: block;
  width: 100%;
  margin-bottom: -5px;
}
.menu-toggle.on {
  padding-top: 20px;
  padding-left: 0;
}
.menu-toggle.on .one {
  -moz-transform: rotate(45deg) translate(1px, 26px);
  -ms-transform: rotate(45deg) translate(1px, 26px);
  -webkit-transform: rotate(45deg) translate(1px, 26px);
  transform: rotate(45deg) translate(1px, 26px);
  background: #fff;
  width: 30px;
}
.menu-toggle.on .three {
  -moz-transform: rotate(-45deg) translate(0px, -25px);
  -ms-transform: rotate(-45deg) translate(0px, -25px);
  -webkit-transform: rotate(-45deg) translate(0px, -25px);
  transform: rotate(-45deg) translate(0px, -25px);
  background: #fff;
  width: 30px;
}
.menu-toggle.on span:after {
  content: "CLOSE";
}
.menu-toggle.on .mouse {
  display: none;
}

.one, .two, .three {
  width: 50px;
  height: 3px;
  background: #fff;
  margin: 6px auto;
  backface-visibility: hidden;
  -moz-transition-duration: 0.3s;
  -o-transition-duration: 0.3s;
  -webkit-transition-duration: 0.3s;
  transition-duration: 0.3s;
}

nav {
  background: url(../images/bg_icon.png) #ff4f58;
  position: fixed;
  z-index: 9999;
  width: calc(100% - 75px);
  height: 100%;
  top: 0;
  left: 75px;
  -moz-transition: all 0.3s linear;
  -o-transition: all 0.3s linear;
  -webkit-transition: all 0.3s linear;
  transition: all 0.3s linear;
  -moz-transform: scale(0);
  -ms-transform: scale(0);
  -webkit-transform: scale(0);
  transform: scale(0);
  overflow: hidden;
}
nav.on {
  -moz-transform: scale(1);
  -ms-transform: scale(1);
  -webkit-transform: scale(1);
  transform: scale(1);
}

@media only screen and (max-width: 1024px) {
  header .menu-toggle {
    padding-left: 5px;
    padding-top: 0;
    width: 65px;
  }

  nav {
    width: 100%;
    height: calc(100% - 85px);
    left: 0;
  }

  ul.menu li {
    width: calc(88% /3);
    float: left;
    padding: 2%;
    height: 230px;
  }
}
@media only screen and (max-width: 480px) {
  .one, .two, .three {
    width: 30px;
  }

  header .menu-toggle {
    padding-top: 5px;
    padding-left: 0;
    width: calc((100% - 3px) / 4);
  }
  header .menu-toggle.on {
    padding-top: 7px;
    padding-left: 3px;
  }
  header .menu-toggle.on .one {
    width: 28px;
  }
  header .menu-toggle.on .two {
    width: 50px;
  }
  header .menu-toggle.on .three {
    width: 28px;
  }
  header .menu-toggle .mouse {
    display: none;
  }

  nav {
    height: calc(100% - 65px);
    overflow: scroll;
  }

  ul.menu {
    -moz-transform: translateY(0);
    -ms-transform: translateY(0);
    -webkit-transform: translateY(0);
    transform: translateY(0);
    position: static;
    padding-top: 30px;
    padding-bottom: 30px;
  }
  ul.menu li {
    width: 90%;
    float: none;
    padding: 15px 0;
    height: auto;
    margin: auto;
    position: relative;
  }
  ul.menu li a {
    display: block;
  }
  ul.menu li a img, ul.menu li a span {
    display: inline-block;
  }
  ul.menu li a img {
    width: 80px;
    position: absolute;
    top: 0;
    left: -10px;
  }
  ul.menu li a span {
    padding-left: 75px;
    font-size: 160%;
  }
}
@media only screen and (max-width: 360px) {
  ul.menu {
    width: 95%;
    margin: auto;
  }
  ul.menu li {
    width: 85%;
    margin: 10px auto;
  }
  ul.menu li a span {
    font-size: 135%;
  }
  ul.menu li a img {
    top: 0;
  }
}
.menu_item ul li {
  position: relative;
  padding: 4px 0;
  margin: 4px 0;
  -moz-transition: all 0.3s linear;
  -o-transition: all 0.3s linear;
  -webkit-transition: all 0.3s linear;
  transition: all 0.3s linear;
  cursor: pointer;
}
.menu_item ul li span {
  min-width: 120px;
  height: 30px;
  padding-left: 23px;
  background: url('data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0idXRmLTgiPz4gPHN2ZyB2ZXJzaW9uPSIxLjEiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+PGRlZnM+PGxpbmVhckdyYWRpZW50IGlkPSJncmFkIiBncmFkaWVudFVuaXRzPSJvYmplY3RCb3VuZGluZ0JveCIgeDE9IjAuMCIgeTE9IjAuNSIgeDI9IjEuMCIgeTI9IjAuNSI+PHN0b3Agb2Zmc2V0PSIxMCUiIHN0b3AtY29sb3I9IiNmZmZmZmYiIHN0b3Atb3BhY2l0eT0iMC4wIi8+PHN0b3Agb2Zmc2V0PSIxMCUiIHN0b3AtY29sb3I9IiNmZmZmZmYiLz48c3RvcCBvZmZzZXQ9IjEwMCUiIHN0b3AtY29sb3I9IiNmZmZmZmYiLz48L2xpbmVhckdyYWRpZW50PjwvZGVmcz48cmVjdCB4PSIwIiB5PSIwIiB3aWR0aD0iMTAwJSIgaGVpZ2h0PSIxMDAlIiBmaWxsPSJ1cmwoI2dyYWQpIiAvPjwvc3ZnPiA=');
  background: -webkit-gradient(linear, 0% 50%, 100% 50%, color-stop(10%, rgba(255, 255, 255, 0)), color-stop(10%, #ffffff), color-stop(100%, #ffffff));
  background: -moz-linear-gradient(left, rgba(255, 255, 255, 0) 10%, #ffffff 10%, #ffffff 100%);
  background: -webkit-linear-gradient(left, rgba(255, 255, 255, 0) 10%, #ffffff 10%, #ffffff 100%);
  background: linear-gradient(to right, rgba(255, 255, 255, 0) 10%, #ffffff 10%, #ffffff 100%);
  color: #333;
  position: absolute;
  z-index: 10;
  -moz-border-radius: 0 15px 15px 0;
  -webkit-border-radius: 0;
  border-radius: 0 15px 15px 0;
  left: 65px;
  top: 8px;
  padding-top: 5px;
  display: none;
  -moz-box-shadow: 12px 3px 10px rgba(0, 0, 0, 0.3);
  -webkit-box-shadow: 12px 3px 10px rgba(0, 0, 0, 0.3);
  box-shadow: 12px 3px 10px rgba(0, 0, 0, 0.3);
}
.menu_item ul li span:before {
  content: "";
  width: 0;
  height: 0;
  border-color: transparent #fff transparent transparent;
  border-style: solid solid solid solid;
  border-width: 18px;
  position: absolute;
  top: 0;
  left: -21px;
  z-index: 10;
}
.menu_item ul li:hover {
  -moz-transform: translateX(-3px);
  -ms-transform: translateX(-3px);
  -webkit-transform: translateX(-3px);
  transform: translateX(-3px);
}

@media only screen and (max-width: 1024px) {
  .menu_item ul li:hover span {
    display: none;
  }
}
