
/* general */
@font-face{
  font-family:"HuaKangXiuFengTiFan";
  src: url("./HuaKangXiuFengTiFan/HuaKangXiuFengTiFan.ttf");
}
@font-face{
  font-family:"KaiTi";
  src: url("./KaiTi/KaiTi.ttf");
}
*{
  box-sizing: border-box;
}
html,body{
  width:100%;
  height:100%;
  padding:0;
  margin:0;
  scroll-behavior: auto;
}
#site-content{
  background:white;
}
.custom-home-section{
  width:100%;
  height:auto;
  font-family: Microsoft JhengHei;
  color:#555;
  padding:0;
  margin:0;
}
.custom-home-section.bg-repeat{
  background-repeat: repeat;
}
.custom-home-section.bg-norepeat{
  background-repeat: no-repeat;
}

.custom-home-section.bg-bottom{
  background-position-y: bottom;
}
.custom-home-section.bg-center{
  background-position-y: center;
}

.custom-home-section.bg-right{
  background-position-x: right;
}
.custom-sidecontent{
  display:inline-block;
  padding:80px 32px;
  width:80%;
  max-width:850px;
}
.custom-flexbox{
  display:flex;
  align-items: center;
}
.custom-flexbox.alignbottom{
  align-items:flex-end;
}
.custom-flexbox.aligntop{
  align-items:flex-start;
}

.custom-flexbox.justifycenter{
  justify-content:center ;
}
.custom-flexbox.justifyspacearound{
  justify-content: space-around;
}
.custom-flexbox.justifyspacebetween{
  justify-content: space-between;
}
.custom-theme-color{
  color:#4AB5D8;
}
.custom-theme-subtitle{
  font-family: HuaKangXiuFengTiFan;
  font-size:35px;
  color:black;
}
.custom-h2{
  font-size:50px;
  font-weight: 300;
  margin:0;
}
.custom-h3{
  margin-top: 32px;
  margin-bottom: 16px;
  font-size:25px;
  letter-spacing: 1px;
  font-weight: normal;
  color:#690;
}
.custom-textbox{
  margin:8px 0;
  line-height: 2em;
}
.custom-highlightbox{
  display:inline-block;
  padding:8px;
  border:1px solid #4AB5D8;
}
.custom-loosetext{
  display:inline-block;
  letter-spacing: 2px;
  color:#555;
}
.custom-highlightnumber{
  vertical-align: sub;
  font-family: KaiTi;
  font-size: 28px;
}
/* end general*/

/* slider */
.custom-slider{
  overflow: hidden;
  position: relative;
  width:100%;
  padding-bottom:35.625%;
}
.custom-slider--imagespositionfix{
  position: absolute;
  left:-100%;
  top:0;
  height:100%;
  width:100%;
}
.custom-slider--images{
  display:flex;
  flex-wrap: nowrap;
  height:100%;
  width:100%;
  transition-timing-function: linear;
}
.custom-slider--images-item{
  flex:0 0 100%;
  width:100%;
  height:100%;
}
.custom-slider--images-item>*{
  object-fit: cover;;
  width:100%;
  height:100%;
}


.custom-slider--control{
  position: absolute;
  left:0;
  top:0;
  height:100%;
  width:100%;
}
.custom-slider--control--roll{
  display:flex;
  justify-content: center;
  align-items: center;
  top:50%;
  opacity:0;
  position: absolute;
  height:50px;
  width:50px;
  transition-duration:0.3s;
  background:rgba(0,0,0,0.35);
}

.custom-slider--control:hover>.custom-slider--control--roll{
  opacity:1;
  transform:translate(0%,-50%);
  cursor: pointer;
}
.custom-slider--control--roll:hover{
  background:rgba(0,0,0,0.5);
}


.custom-slider--control--roll[direction=left]{
  left:0;
  transform:translate(-100%,-50%);
}
.custom-slider--control:hover>.custom-slider--control--roll[direction=left]{
  left:10px;
}
.custom-slider--control--roll[direction=left]::before{
  content:'';
  transform: rotate(45deg) translateX(20%) translateY(-20%);
  display:block;
  width:40%;
  height:40%;
  border-style:solid;
  border-width:0 0 1px 1px;
  border-color:white;
}
.custom-slider--control--roll[direction=right]{
  right:0;
  transform:translate(100%,-50%);
}
.custom-slider--control:hover>.custom-slider--control--roll[direction=right]{
  right:10px;
}
.custom-slider--control--roll[direction=right]::before{
  content:'';
  transform: rotate(45deg) translateX(-20%) translateY(20%);
  display:block;
  width:40%;
  height:40%;
  border-style:solid;
  border-width:1px 1px 0 0;
  border-color:white;
}

@media screen and (max-width:768px){
  .custom-slider--control>.custom-slider--control--roll{
    opacity:1;
    transform:translate(0%,-50%);
    cursor: pointer;
  }
  .custom-slider--control>.custom-slider--control--roll[direction=left]{
    left:10px;
  }
  .custom-slider--control>.custom-slider--control--roll[direction=right]{
    right:10px;
  }
}
/* end slider */

/* guide */
.custom-guide{
  display:flex;
  align-items: center;
  justify-content: space-evenly;
  padding:8px 32px;
  color:white;
  max-width: 1200px;
  margin: auto;
}
.custom-guide--item{
  flex:2;
  display:flex;
  flex-wrap: wrap;
  justify-content: center;
  height:100px;
  max-width:6em;
  margin-bottom:80px;
  text-align: center;
}
.custom-guide--item--icon{
  display: flex;
  justify-content: center;
  align-items: center;
  width:70px;
  height:70px;
  font-size: 40px;
  border:1px solid white;
}
.custom-guide--arrow{
  font-size:30px;
  margin-bottom:80px;
  font-family: "Font Awesome 5 Free";
  font-weight: 900;
  font-style: normal;
}
.custom-guide--arrow::after{
  content:"\f0da";
}
.custom-guide--break{
  display:none;
  opacity: 0;
  flex:0 0 100%;
  width:100%;
  height:0;
  padding:0;
  margin:0;
  border:none;
}

.custom-guide--item.custom-guide--item-stuff,
.custom-guide--arrow.custom-guide--arrow-stuff
{
  display:none;
  opacity: 0;
  overflow: hidden;
  height:0;
  margin-bottom:0;
  margin-top:0;
}

/* end guide */

/* contact */

/* end contact */

.custom-contact{
  display:inline-block;
}
.custom-contactinfo{
  margin:32px 0;
}
.custom-contact--item{
  margin-bottom:8px;
}
.custon-contact--icon{
  flex:0 0 45px;
  display: flex;
  justify-content: center;
  align-items: center;
  width:45px;
  height:45px;
  margin-right:32px;
  letter-spacing: 2px;
  font-size:25px;
}

.custom-wall{
  padding:24px 90px;
  max-width: 1440px;
  margin: auto;
}

.custom-wall--title {
  text-align: center;
  font-size: 24px;
  letter-spacing: 2px;
  color: #222;
  text-shadow: 5px 5px 2px rgba(0,0,0,0.2);
}
.custom-wall--subtitle {
    text-align: center;
    font-size: 16px;
    letter-spacing: 2px;
    color: #222;
}



@media screen and (max-width:700px){
  #homesection1{
    margin-top:90px;
  }
}

#homesection2{
  margin-top:80px;
}
#homesection2 .custom-content{
  display:inline-flex;
  align-items: center;
  background:white;
  height:512px;
  min-width: calc(100% - 760px);
  padding:24px 32px;
}
#homesection2 .decorationImage{
  margin-right: 40px;
  width: 184px;
}
#homesection2 .hs2-1{
  padding:8px 12px;
}
@media screen and (max-width:840px){
  #homesection2 .custom-content{
    width:100%;
    min-width: unset;
    max-width: unset;
  }
}
@media screen and (max-width:680px){
  #homesection2 .decorationImage{
    display:none;
  }
}
@media screen and (max-width:500px){
  #homesection2 .custom-theme-subtitle{
    font-size:7vw;
  }
}


#homesection3{
  background-image:url(/wp-content/uploads/theme/white_background2.jpg);
  background-color: #F0F0F0;
  background-size:contain;
  padding:8% 4% 38% 4%;
}
#homesection3 .hs3-1{
  flex:0.55;
  display: flex;
  justify-content: space-between;
  padding-right:40px;
}
#homesection3 .hs3-2{
  flex:0.45;
}
#homesection3 .hs3-3{
  width:600px;
  margin-right:30px;
}
#homesection3 .hs3-4{
  margin-top:50px;
}
#homesection3 .hs3-5{
  margin-right:40px;
}
#homesection3 .hs3-6{
  flex:1;
}
#homesection3 .hs3-7{
  width:440px;
  margin-top:37px;
}
#homesection3 .hs3-8{
  background:yellow;
  padding:0 8px;
}
@media screen and (max-width:840px){
  #homesection3 .custom-flexbox{
    flex-wrap: wrap;
  }
  #homesection3 .hs3-1,
  #homesection3 .hs3-2{
    flex:0 0 100%;
    width:100%;
  }
  #homesection3 .hs3-3{
    height: 180px;
    height:24vw;
    object-fit: cover;
    margin-bottom: 24px;
    width: 100%;
  }
  #homesection3 .hs3-5{
    flex:0 0 100%;
  }
  #homesection3 .hs3-7{
    display:none;
  }
}

#homesection4{
  background-image:url(/wp-content/uploads/theme/bluebg.jpg);
  padding:64px;
}
#homesection4 .custom-h2{
  color:white;
  margin-bottom:12px;
}

#homesection4 .hs4-1{
  text-align:center;
  margin-bottom:72px;
}
#homesection4 .hs4-2{
  display:inline-block;
  color:yellow;
  font-size:20px;
}
#homesection4 .hs4-3{
  color:white;  
}

@media screen and (max-width:1000px){
  #homesection4{
    padding:16px;
  }
  #homesection4 .custom-flexbox{
    flex-wrap: wrap;
  }
}

@media screen and (max-width:1000px) and (min-width:529px){
  #homesection4 .custom-guide--break-m{
    display:block;
  }
  #homesection4 .custom-guide--break-m+.custom-guide--arrow{
    display:none;
  }
}

@media screen and (max-width:528px){
  #homesection4 .custom-guide--arrow,
  #homesection4 .custom-guide--item{
    width:100%;
    text-align: center;
    margin-bottom:8px;
  }
  #homesection4 .custom-guide--arrow::after{
    content:"\f0d7"
  }
}

#homesection5{
  background-color:white;
}
#homesection5 .hs4-1{
  width:680px;
}
@media screen and (max-width:840px){
  #homesection5 .custom-sidecontent{
    flex:0 0 100%;
    width:100%;
  }
}

#homesection6{
  background:#F2F2F2;
  padding:0;
}
@media screen and (max-width:840px){
  #homesection6 .custom-wall{
    padding:24px;
  }
}

.threeItemSection {
  background:white;
  padding:40px 24px;
}
.threeItemSection .custom-flexbox{
  flex-wrap: wrap;
  max-width:1200px;
  margin:auto;
}
.threeItemSection .TIS-1{
  flex:0 0 calc(33% - 40px);
  text-align:center;
}
.threeItemSection .TIS-2{
  display: inline-block;
  object-fit:contain;
  width: 150px;
  height: 150px;
}
.threeItemSection .TIS-3{
  margin:16px 0;
  text-align:center;
  font-size:32px;
  font-weight:600;
  color:#333333;
}
.threeItemSection .TIS-4{
  text-align:left;
  color:#333333;
}
.threeItemSection .TIS-head{
  width:100%;
  text-align:center;
  margin-bottom:64px;
}
@media screen and (max-width:768px){
  .threeItemSection .TIS-1{
    flex:0 0 380px;
    max-width:100%;
    margin-bottom:16%;
  }
  .threeItemSection .TIS-3{
    font-size:24px;
  }
}


@media screen and (max-width:400px){
  #homesection8 .custom-h2{
    font-size: 12.5vw;
  }
}


#wh-widget-send-button-iframe{
  z-index: 99;
}
/* scrollNav */
#scrollNav{
  position: fixed;
  right:0;
  top:50%;
  transform: translate(0,-50%);
}
#scrollNavBar{

}
.scrollNavItem{
  list-style:none;
  text-align: right;
}
.scrollNavItemText{
  display:inline-block;
  margin-right:0.5em;
  padding-left:0.5em;
  padding-right:0.5em;
  color:#2f2f2f;
  transition-duration:0.3s;
  transition-timing-function: ease;
  background: rgba(255, 255, 255, 0.5);
  backdrop-filter: blur(3px);
  box-shadow: 0 0px 1px 1px rgba(255,255,255,0.5);
  
  visibility: hidden;
  opacity: 0.5;
  transform: translate(0.5em,0);
}

.scrollNavItem:hover .scrollNavItemText,
.scrollNavItem[data-active=true] .scrollNavItemText
{

  visibility: visible;
  opacity: 1;
  transform: translate(0,0);
}

.scrollNavItemDot{
  display:inline-block;
  width: 14px;
  height: 14px;
  background:white;
  border:2px solid #5B5B5B;
  border-radius: 10em;
}
.scrollNavItem:hover .scrollNavItemDot,
.scrollNavItem[data-active=true] .scrollNavItemDot{
  background:#5B5B5B;
}
/* end scrollNav */