@import url('https://fonts.googleapis.com/css2?family=Noto+Sans+TC:wght@300;400;500;700&family=Noto+Serif+TC:wght@700&display=swap');

@font-face {
  font-family: 'Helvetica';
  src: url('../fonts/CormorantInfant-Regular.ttf') format("truetype"),
      url('../fonts/Lato-Regular.ttf') format("truetype"),
}


body {
  font-family: 'CormorantInfant-Regular', 'Lato-Regular', 'Noto Sans TC', 'Microsoft JhengHei', 'PingFangTC', Arial, Helvetica, sans-serif;
  font-size: 18px;
  scroll-behavior: smooth;
}

a {
  color: #8e8f85;
  font-weight: 400;
}

a:hover {
  color: #604100;
}

ul {
  margin: 0;
  padding: 0;
}

li{
  list-style-type: none;
}

img {
  max-width: 100%;
  height: auto;
  flex-shrink: 0;
}

.animated {
  -webkit-animation-duration: .7s;
  animation-duration: .7s;
  -webkit-animation-fill-mode: both;
  animation-fill-mode: both;
}

h1,
h2,
h3 {
  margin-top: 0;
}

a:focus,
a:hover {
  text-decoration: none;
}

a,
a:hover {
  -moz-transition: all, 0.3s;
  -o-transition: all, 0.3s;
  -webkit-transition: all, 0.3s;
  transition: all, 0.3s;
}

/*標題*/
.page-title .main {
  font-family: 'CormorantInfant-Regular', 'Lato-Regular';
  font-size: 12px;
  color: #3f3f4d;
  font-weight: 300;
  display: block;
  letter-spacing: 5px;
}

.page-title .second {
  font-size: 45px;
  color: #3f3f4d;
  display: block;
  margin-top: 10px;
}
/*//標題*/


/*index*/
a.more{
  font-size: 16px;
  display: block;
  width: 10em;
  margin: 0 auto;
  color: #604100;
  background: #ede788;
  text-align: center;
}

.index_about{
  font-size: 22px;
}

.index_about a.title {
  font-size: 24px;
}

.index_about .second_title {
  font-size: 14px;
  color: #8e8e9b;
}

.index_about a:hover, .index_prd a:hover {
  opacity: .85;
}

.index_news{
  background: url(../images/pr_bg.png) left top / 20vw no-repeat,
  url(../images/pr_bg_02.png) right bottom / 12vw no-repeat #fffff4;
}

.index_news .news_list {
  color: #604100;
  border-top: 1px solid #604100;
  border-bottom: 1px solid #604100;
}

.index_news .news_list .list:hover{
  background: #FFF9E8;
  cursor: pointer;
  transition: all .5s;
}

.index_news .news_list .tag {
  height: 30px;
  line-height: 30px;
  text-align: center;
  color: #fff;
  background: #604100;
  font-size: 12px;
}

.index_about {
  background: url(../images/back01.png) left top / 20vw no-repeat,
  url(../images/back02.png) right bottom / 20vw no-repeat;
}
.index_prd {
  background: url(../images/pr_bg.png) left top / 20vw no-repeat,
  url(../images/pr_bg_02.png) right bottom / 12vw no-repeat, 
  linear-gradient(to left, #624100 30%, #a18333 60%, #624100 100%) center center / 100% 100%;
}

.index_prd .main, .index_prd .second {
  color: #ede788;
}
.index_prd .title {
  color: #fff;
}
/*//index*/
/*footer*/
.footer {
  font-size: 16px;
  color: #604100;
  background-color: #fff6d4;
  padding: 50px 0;
}
footer .title {
  font-size: 16px;
  margin-bottom: 18px;
  font-weight: bold;
  letter-spacing: 3px;
}

.footer a {
  color: #604100;
  padding-bottom: 3px;
}

.footer a:hover {
  color: #3f3f4d;
}
.share_icon:hover a img {
  opacity: 0.5;
}

.share_icon>a:hover img {
  opacity: 1;
}

.footer .share_icon {
  display: flex;
}

.footer .share_icon a:first-child {
  margin-right: 15px;
}
/*//footer*/
@media only screen and (min-width: 1200px) {
  body {
    margin-top: 135px;
  }
  .mobile {
    display: none;
  }
  .container {
    max-width: 1220px;
  }
  /*menu*/
  .overlapblackbg {
    display: none;
  }

  .wsmenu {
    display: none;
  }

  .megamenu .wsmenu-click {
    display: none;
  }

  .wsmenu-list>li>a {
    display: flex;
    align-items: center;
    padding: 20px 50px;
    position: relative;
    font-size: 18px;
    letter-spacing: 1px;
    font-weight: 400;
  }

  .wsmenu-list>li>a .wsmenu-click {
    float: right;
    margin: 0 -12px 0 0px;
  }

  .wsmenu-list>li>.wsmenu-click {
    display: none;
  }

  .header {
    background: #fff;
    position: fixed;
    top: 0;
    width: 100%;
    left: 0;
    z-index: 5;
    -webkit-box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    -moz-box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    -webkit-transition: all 0.4s ease-in-out;
    -moz-transition: all 0.4s ease-in-out;
    -o-transition: all 0.4s ease-in-out;
    -ms-transition: all 0.4s ease-in-out;
    transition: all 0.4s ease-in-out;
  }

  .scroll .header {
    background: #fff;
    -webkit-box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    -moz-box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    -webkit-transition: all 0.4s ease-in-out;
    -moz-transition: all 0.4s ease-in-out;
    -o-transition: all 0.4s ease-in-out;
    -ms-transition: all 0.4s ease-in-out;
    transition: all 0.4s ease-in-out;
  }

  .row_top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: calc(100% - 20px);
    margin: 0 auto;
    padding: 20px 0;
  }

  .scroll .row_top {
    height: 100px;
  }

  .menu_top_left {
    float: left;
    display: flex;
    justify-content: flex-start;
    align-items: center;
  }

  .menu_top_left>div {
    display: flex;
    justify-content: center;
    align-items: center;
  }

  .menu_top_center a.active {
    position: relative;
    color: #b37e26;
  }

  .menu_top_center a::before{
    content: url(../images/menu_hover_s.png);
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    top: -25px;
    opacity: 1;
    transition: .3s;
  }

  .scroll .menu_top_left img {
    min-height: 30px;
  }

  .scroll .logo {
    transform: scale(0.9, 0.9);
  }
  /*//menu*/
  .index_prd .main {
    background: url(../images/title_tip1-1.png) 15% center / contain no-repeat,
    url(../images/title_tip2-1.png) 85% center / contain no-repeat;
  }
  .index_about .main, .index_news .main {
    background: url(../images/title_tip1.png) 20% center / contain no-repeat,
    url(../images/title_tip2.png) 80% center / contain no-repeat;
  }
  /* footer */
  .main_logo {
    justify-content: end;
  }
  /* //footer */
  /*footer-fixed*/
  #right-fixed {
    position: fixed;
    text-align: center;
    right: 15px;
    bottom: 10%;
    z-index: 1;
    -webkit-transform: translateY(-50%);
    -moz-transform: translateY(-50%);
    -ms-transform: translateY(-50%);
    -o-transform: translateY(-50%);
  }
  #right-fixed .icons a {
    display: block;
  }
  /*//footer-fixed*/
}

/*===============================================================================================
    -mobile
===============================================================================================*/
@media only screen and (max-width: 1199px) {
  body {
    padding-top: 100px;
  }

  .pc {
    display: none;
  }
  /*menu*/
  .overlapblackbg {
    display: none;
    left: 0;
    z-index: 100;
    width: 100%;
    height: 100%;
    position: fixed;
    top: 0;
    display: none;
    background-color: rgba(0, 0, 0, 0.45);
    cursor: pointer;
  }

  .overlapblackbg.menuopen {
    display: block;
  }

  .wsmenu .wsmenu-list {
    opacity: 0;
    width: 80%;
    max-width: 100%;
    margin: 0 auto;
    text-align: left;
    padding: 0px;
  }

  .wsmenu .wsmenu-list>li {
    width: 100%;
    padding: 0;
    text-align: center;
    display: block;
    float: none;
    border-right: none;
    background-color: transparent;
    position: relative;
    white-space: inherit;
    border-bottom: 1px solid #ddd;
  }

  .wsmenu>.wsmenu-list>li>a {
    padding: 16px;
    font-size: 16px;
    text-align: center;
    color: #3f3f4d;
    border-bottom: 1px solid;
    border-bottom-color: rgba(0, 0, 0, 0.13);
    display: block;
    letter-spacing: 1px;
  }

  .wsmenu>.wsmenu-list>li>a:hover {
    color: #a18d82;
    background-color: #f7f5f2;
  }

  .wsmenu {
    width: 0px;
    height: 100%;
    position: fixed;
    right: -240px;
    top: 0px;
    margin: 0;
    background-color: #fff;
    z-index: 100;
    padding: 40px 40px 60px;
    -webkit-transition: all 0.4s ease-in-out;
    -moz-transition: all 0.4s ease-in-out;
    -o-transition: all 0.4s ease-in-out;
    -ms-transition: all 0.4s ease-in-out;
    transition: all 0.4s ease-in-out;
    overflow: hidden;
  }

  .wsmenu.menuopen {
    width: 100%;
    overflow-y: auto;
    right: 0;
    -webkit-transition: all 0.4s ease-in-out;
    -moz-transition: all 0.4s ease-in-out;
    -o-transition: all 0.4s ease-in-out;
    -ms-transition: all 0.4s ease-in-out;
    transition: all 0.4s ease-in-out;
    opacity: 1;
  }

  .wsmenu.menuclose {
    -webkit-transition: all 0.4s ease-in-out;
    -moz-transition: all 0.4s ease-in-out;
    -o-transition: all 0.4s ease-in-out;
    -ms-transition: all 0.4s ease-in-out;
    transition: all 0.4s ease-in-out;
    opacity: 0;
  }

  .wsmenu.menuopen .wsmenu-list {
    opacity: 1;
  }

  .wsmenu.menuclose .wsmenu-list {
    opacity: 0;
  }

  .wsmenucontent {
    z-index: 1;
  }

  .animated-arrow.menuopen {
    right: 80%;
    margin: 12px 20px;
  }

  .animated-arrow {
    position: fixed;
    right: 20px;
    top: 20px;
    z-index: 200;
    -webkit-transition: all 0.4s ease-in-out;
    -moz-transition: all 0.4s ease-in-out;
    -o-transition: all 0.4s ease-in-out;
    -ms-transition: all 0.4s ease-in-out;
    transition: all 0.4s ease-in-out;
  }

  .animated-arrow {
    cursor: pointer;
    padding: 30px;
  }

  .animated-arrow span,
  .animated-arrow span:before,
  .animated-arrow span:after {
    cursor: pointer;
    height: 3px;
    width: 25px;
    background: #a18d82;
    position: absolute;
    display: block;
    content: '';
  }

  .animated-arrow.menuopen span:before,
  .animated-arrow.menuopen span:after {
    background: #3f3f4d;
  }

  .animated-arrow span:before {
    top: -7px;
  }

  .animated-arrow span:after {
    bottom: -7px;
  }

  .animated-arrow span,
  .animated-arrow span:before,
  .animated-arrow span:after {
    transition: all 500ms ease-in-out;
  }

  .animated-arrow.menuopen span {
    background-color: transparent;
  }

  .animated-arrow.menuopen span:before,
  .animated-arrow.active span:after {
    top: 7px;
  }

  .animated-arrow.menuopen span:before {
    transform: rotate(45deg);
    -moz-transform: rotate(45deg);
    -ms-transform: rotate(45deg);
    -o-transform: rotate(45deg);
    -webkit-transform: rotate(45deg);
    bottom: 0px;
  }

  .animated-arrow.menuopen span:after {
    transform: rotate(-45deg);
    -moz-transform: rotate(-45deg);
    -ms-transform: rotate(-45deg);
    -o-transform: rotate(-45deg);
    -webkit-transform: rotate(-45deg);
  }

  .header {
    background: #fff;
    position: fixed;
    top: 0;
    width: 100%;
    left: 0;
    z-index: 7;
    -webkit-box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    -moz-box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
  }

  .row_top {
    width: 100%;
    height: 100px;
    display: flex;
    justify-content: space-between;
    padding: 0 15px;
  }

  a.logo img {
    max-height: 50px;
    width: auto;
  }

  #close {
    position: absolute;
    right: 0px;
    top: 10px;
  }

  .overlapblackbg.menuopen #close {
    position: absolute;
    right: 250px;
    top: 10px;
  }

  .menu_top_left {
    display: flex;
    align-items: center;
  }

  /*//menu*/
  /*footer*/
  .footer {
    background-color: #fff6d4;
    text-align: center;
  }

  .footer ul li {
    display: inline-block;
    width: 100%;
    text-align: center;
  }

  .footer .share_icon a {
    margin-right: 5px;
  }

  .share_icon:hover a img {
    opacity: 0.5;
  }
  .share_icon>a:hover img {
    opacity: 1;
  }
  /*//footer*/
  /*fixed-bottom_n*/
  #fixed-bottom_n {
    position: fixed;
    width: 100%;
    left: 0;
    bottom: 0;
    z-index: 999;
    background: #ffede4;
    -webkit-box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    -moz-box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
  }
  #fixed-bottom_n .fixed-box div{
    text-align: center;
    padding: 8px 2px;
  }
  #fixed-bottom_n .fixed-box div:not(:last-child){
    border-right: 2px solid #fff;
  }
  #fixed-bottom_n .fixed-box div a{
    display: inline-flex;
    justify-content: center;
    align-items: center;
    width: 35px;
    height: 35px;
    border-radius: 100%;
  }
  #fixed-bottom_n .fixed-box div a:hover{
    background: #fff;
  }
  /*//fixed-bottom_n*/
}

@media only screen and (max-width: 767px) {
  .page-title .main{
    font-size: 14px;
  }
  .page-title .second{
    font-size: 30px;
  }
  .index_prd .title {
    font-size: 20px;
  }
  .index_prd .info {
    font-size: 16px;
  }
  .footer .copy-right {
    margin-bottom: 35px;
  }
}