@import url('https://fonts.googleapis.com/css2?family=Libre+Bodoni:ital,wght@0,400..700;1,400..700&family=Noto+Sans+TC:wght@100..900&display=swap');

* {
      -webkit-box-sizing: border-box;
      -moz-box-sizing: border-box;
      box-sizing: border-box;
}

a {
      text-decoration: none;
      cursor: pointer;
}

html{
      overflow-x: hidden;
}

body {
      background-color: #FAFAFA;
      font-weight: 400;
      font-size: 16px;
      line-height: 1.8em;
      letter-spacing: 0.06em;
      margin:0;
      overflow-x: hidden;
      font-family: "Noto Sans TC", sans-serif;
      color:#727272;
}

body::-webkit-scrollbar {
      display: none;
}


.font-lb{
      font-family: "Libre Bodoni", serif;
      font-style: italic;
}
h1, h3, h4, h5, h6, p{
  margin: 0;
  padding: 0;
  font-size: inherit;   /* 跟隨父層字體大小 */
  font-weight: normal;  /* 移除粗體 */
}
.h1{
      font-family: "Libre Bodoni", serif;
      font-style: italic;
      font-size: 48px;
      line-height: 1em;
      letter-spacing: 0.06em;
}
.h1 span.zh{
      font-family: "Noto Sans TC", sans-serif;
      font-style: normal;
}
.h3{
      font-size: 32px;;
      line-height: normal;
      letter-spacing: 0.1em;
      font-weight: 600;
}
.h4{
      font-weight: 600;
      font-size: 22px;
      line-height: 1.5em;
      letter-spacing: 0.24em;
}
.h5{
      font-weight: 500;
      letter-spacing: 0.1em;
}
.h6{
      font-size: 20px;
      font-weight: 600;
      line-height: 1.8em;
      letter-spacing: 0.04em;
}
.txt2{
      font-size: 14px;
      line-height: 1.5em;
      letter-spacing: 0.04em;
}
.btntxt1{
      font-size: 15px;
      line-height: 1em;
      letter-spacing: 0.1em;
}
.subtitle{
      font-weight: 500;
      font-size: 18px;
      line-height: 1em;
      letter-spacing: 0.24em;
}
.color-green{
      color: rgba(160, 199, 162, 1);
}
.color-dgrey{
      color: rgba(114, 114, 114, 1);
}
.color-lgrey{
      color: rgba(139, 139, 139, 1);

}
.cac-container{
      width: 100%;
      padding: 0 calc( ( 100% - 1440px ) / 2 + 120px );
}


.cac-btn {
      color: #F4F9F4;
      position: relative;
      display: inline-flex;
      overflow: hidden;
      padding: 8px 20px;
      align-items: center;
      justify-content: center;
      border-radius: 100px;
      cursor: pointer;
      font-size: 14px;
      z-index: 5;
}
.cac-btn::after {
      content: '';
      position: absolute;
      top: 0;
      left: 0;
      width: 100%;
      height: 100%;
      background: rgba(160, 199, 162, 1);
      border-radius: 100px;
      z-index: 1;
}
.cac-btn div{
      position: relative;
      z-index: 4;
}
.cac-btn span {
      position: absolute;
      display: block;
      width: 0;
      height: 0;
      border-radius: 100%;
      background: radial-gradient(circle, rgba(160, 199, 162, 1) 0%, rgba(69, 114, 71, 0.5) 50%,rgba(160, 199, 162, 1) 100%);
      transition: width 0.8s ease-in-out, height 0.8s ease-in-out, opacity 0.5s ease-in-out;
      transform: translate(-50%, -50%);
      opacity: 0;
      z-index: 2;
}
.cac-btn:hover {
      color: #F4F9F4;
}
.cac-btn:hover span {
      opacity: 1;
      transition: width 0.8s ease-in-out, height 0.8s ease-in-out, opacity 1.2s ease-in-out;
}


.cac-btn-outline{
      position: relative;
      display: flex;
      align-items: center;
      justify-content: center;
      background-color: #FAFAFA;
      padding: 5px 10px;
      color: rgba(160, 199, 162, 1);
      border-radius: 100px;
      cursor: pointer;
      z-index: 5;
}
.cac-btn-outline::after{
      content: '';
      position: absolute;
      top: -1px;
      bottom: -1px;
      left: -1px;
      right: -1px;
      background-color: #FAFAFA;
      background: linear-gradient(118.6deg, #A0C7A2 0%, #B0D7B1 30%, #7EA27F 50%,#B0D7B1 70%,#A0C7A2 100%);
      background-size: 300% 100%;
      background-position: 0% 0;
      transition: 2s;
      border-radius: 100px;
      z-index: -2;
}

.cac-btn-outline:hover::after{
      background-position: 150% 0;
}
.cac-btn-outline::before{
      content: '';
      position: absolute;
      top: 0px;
      bottom: 0px;
      width: 100%;
      height: 100%;
      background-color: #FAFAFA;
      border-radius: 100px;
      z-index: -1;
}
.cac-btn-outline svg{
      margin-left: 8px;
}



.topnav{
      position: fixed;
      background: rgba(254, 255, 254, 0.85);
      box-shadow: 0px 10px 20px 0px rgba(160, 199, 162, 0.04);
      width: 100%;
      height: 88px;
      display: flex;
      align-items: center;
      justify-content: space-between;
      padding: 0 40px;
      z-index: 999;
}
.topnav-right{
      display: flex;
      align-items: center;
      justify-content: flex-end;
}
.mmenubtn{
      display: none;
}
.logo{
      line-height: 0px;
}
.logo img{
      height: 40px;
}
.menu{
      display: flex;
      align-items: center;
      justify-content: center;
}
.menu-item{
      color: #A0C7A2;
      margin: 0 20px;
      transition: 0.5s;
}
.menu-item span{
      display: none;
}
.menu-item.reserv{
      display: none;
}
.menu-item:hover{
      color: #588f5b;
}
.wrap{
      position: relative;
      
}

.wrap.team, .wrap.service, .wrap.review, .wrap.whatnew{
      padding-top: 170px;
}

.wrap-bg{
      position: absolute;
      top: 0;
      left: 0;
      width: 100%;
      height: 100%;
      overflow: hidden;
      z-index: -1;
}
.wrap-bg svg{
      width: 100%;
      height: auto;
}
.bgsvgpath{
      stroke: #CFE3D0;
      fill: none;
      stroke-width: 1;
      stroke-linecap: round;
}
.wrap.loaded .wrap-bg .bgsvgpath{
      stroke-dasharray: 1;
      stroke-dashoffset: 1;
      animation: bglinedraw 6s linear forwards;
}
.wrap.loaded .wrap-bg .bgsvgpathback{
      stroke-dasharray: 1;
      stroke-dashoffset: 0;
      animation: bglinedrawback 6s linear forwards;
}
@keyframes bglinedraw {
      to { stroke-dashoffset: 0; }
}
@keyframes bglinedrawback {
      to { stroke-dashoffset: -1; }
}
.footer{
      background-image: url('https://chenclinic.tw/media/i/fbg.svg');
      background-size: 100% auto;
      background-position: top center;
      background-repeat: no-repeat;
}
.freservebtn{
      text-transform: uppercase;
      margin-top: 40px;
}
.footer-top{
      padding-top: 80px;
      padding-bottom: 80px;
      display: flex;
      align-items: center;
      justify-content: space-between;
}
.footer-top-left{
      width: 40%;
      flex-shrink: 0;
      padding-top: 20%;
      border-radius: 8px;
      margin-right: 16%;
}
.footer-top-right{
      width: 100%;
      flex-shrink: 1;
}

.footer-top-right .h1{
      margin-bottom: 8px;
}
.footer-contact{
      border: 1px solid rgba(231, 241, 231, 1);
      border-width: 1px 0 1px 0;
      display: flex;
      align-self: center;
      justify-content: space-between;
      background-color: #FAFAFA;
      width: 100%;
      padding: 0 calc( ( 100% - 1440px ) / 2 + 120px );
}

.footer-contact-col{
      color: rgba(160, 199, 162, 1);
      display: flex;
      flex-direction: column;
      align-items: center;
      justify-content: center;
      width: 240px;
      flex-shrink: 0;
      border-left: 1px solid rgba(231, 241, 231, 1);
      background-color: #FAFAFA;
}
.footer-contact-col:last-child{
      border-right: 1px solid rgba(231, 241, 231, 1);
}
.footer-contact-col.contact{
      width: 100%;
      flex-shrink: 1;
      border: 0px;
      padding: 96px 0px;
      align-items: flex-start;
}

.footer-contact-col .txt2{
      margin-top: 16px;
}
.footer-contact-col.contact .txt2{
      margin-top: 0px;
}

.footer-contact-col-label{
      font-size: 24px;
      line-height: 1.5em;
      letter-spacing: 0.05em;
      margin-bottom: 16px;
}
.contact-item{
      display: flex;
      align-items: center;
      justify-content: flex-start;
      margin-bottom: 16px;
}
.contact-item .ci-add{
      display: flex;
      align-items: center;
      justify-content: flex-start;
}
.contact-item:last-child{
      margin-bottom: 0px;
}
.ci-add > svg{
      margin-right: 8px;
}
.contact-item .cac-btn-outline{
      margin-left: 32px;
}
.footer-bottom{
      width: 100%;
      padding-top: 40px;
      padding-bottom: 40px;
      display: flex;
      align-items: center;
      justify-content: space-between;
      background-color: #FAFAFA;
}



.bgdiv{
      position: relative;
      overflow: hidden;
}
.bgdivi{
      position: absolute;
      bottom: 0;
      left: 0;
      width: 100%;
      height: 150%;
      background-size: cover;
      background-position: center;
      background-repeat: no-repeat;
      will-change: transform;
      z-index: 0;
      /* transition: 0.8s; */
}

.footer-top.html404{
      display: none;
}


.sicong{
      transition: 0.5s;
}
.footer-contact-col:hover{
      color: #588f5b;
}
.footer-contact-col:hover .sicong{
      fill: #588f5b;
}

.block404{
      padding: 250px 40px;
      display: flex;
      align-items: center;
      justify-content: center;
      flex-direction: column;
      color: #A0C7A2;
}
.t404{
      font-size: 64px;
      line-height: 1em;
      letter-spacing: 0.05em;
      font-weight: 400;
      margin-bottom: 5px;
}
.block404 .h5{
      margin-top: 24px;
      margin-bottom: 40px;
      color: #8B8B8B;
}


.pager{
      display: flex;
      align-items: center;
      justify-content: center;
}
.pager-item{
      width: 32px;
      height: 32px;
      display: flex;
      align-items: center;
      justify-content: center;
      margin: 0 4px;
      padding: 0;
      transition: 0.5s;
      cursor: pointer;
      color: #7BAD7D;
      border-radius: 8px;
}
.pager-item.active, .pager-item:hover{
      background: #7BAD7D;
      color: #F5F5F5;
}
.pager-prev{
      margin-right: 20px;
      cursor: pointer;
}
.pager-next{
      margin-left: 20px;
      cursor: pointer;
}
.pager-prev .picon, .pager-next .picon{
      stroke: #7BAD7D;
}
.pager-prev.disabled, .pager-next.disabled{
      cursor: default;
}
.pager-prev.disabled .picon, .pager-next.disabled .picon{
      stroke: #8B8B8B;
}
@media( max-width: 1440px ){
      .footer-contact-col.contact{
            width: auto;
            flex-shrink: 0;
            padding: 4% 4% 4% 0;
      }
      .footer-contact-col{
            width: 100%;
            flex-shrink: 1;
            white-space: nowrap;
      }
      .cac-container, .footer-contact{
            padding-left: 4%;
            padding-right: 4%;
      }
}

@media( max-width: 991px ){
      .topnav{
            height: 80px;
            padding: 26px 16px;
      }
      .logo img{
            height: 28px;
      }
      .menu{
            display: none;
            position: fixed;
            top: 80px;
            left: 0;
            flex-direction: column;
            width: 100%;
            height: calc( 100vh - 80px );
            background: rgba(254, 255, 254, 1);
            z-index: 990;
            align-items: flex-start;
            justify-content: flex-start;
            flex-wrap: nowrap;
      }
      .menu-list{
            display: flex;
            flex-direction: column;
            align-items: flex-start;
            justify-content: flex-start;
            padding: 40px 24px;
            border-bottom: 1px solid rgba(231, 241, 231, 1);
            width: 100%;
            height: 100%;
            flex-shrink: 1;
      }
      .menu-item{
            font-size: 15px;
            margin-bottom: 32px;
      }
      .menu-item span{
            display: block;
            font-size: 24px;
      }
      .menu-item.reserv{
            display: block;
      }
      

      .mmenubtn{
            display: flex;
            align-items: center;
            justify-content: center;
            width: 40px;
            height: 40px;
            flex-shrink: 0;
            cursor: pointer;
            /* margin-left: 8px; */
      }
      .mmenubtn-b{
            display: flex;
            flex-direction: column;
            width: 15px;
            height: 8px;
            align-items: center;
            justify-content: space-between;
      }
      .mmenubtn-b::before{
            content: '';
            width: 15px;
            height: 1.5px;
            background: rgba(160, 199, 162, 1);
            transition: 0.5s;
      }
      .mmenubtn-b::after{
            content: '';
            width: 15px;
            height: 1.5px;
            background: rgba(160, 199, 162, 1);
            transition: 0.5s;
      }
      .reservation.cac-btn{
            /* background: transparent;
            height: 40px; */
            /* color: rgba(160, 199, 162, 1); */
            transition: 0.5s;
            margin-right: 8px;
      }

      .topnav.mopen .reservation.cac-btn{
            opacity: 0;
      }
      .topnav.mopen .mmenubtn-b::before{
            transform-origin: 0 0.75px;
            transform: rotate(45deg) translateY(-3px);
      }
      .topnav.mopen .mmenubtn-b::after{
            transform-origin: 0 0.75px;
            transform: rotate(-45deg) translateY(3px);
      }
      .footer-contact{
            flex-wrap: wrap;
            padding-left: 0;
            padding-right: 0;
      }
      .footer-contact-col.contact{
            width: 100%;
            border-bottom: 1px solid rgba(231, 241, 231, 1);
            padding: 4%;
      }
      .footer-contact-col{
            width: calc( 100% / 3 );
            padding: 4%;
      }
      .footer-top-left{
            margin-right: 8%;
      }

}

@media( max-width: 768px ){
      .wrap.team, .wrap.service, .wrap.review, .wrap.whatnew{
            padding-top: 120px;
      }
      .h1{
            font-size: 42px;
      }
      .h3{
            font-size: 26px;;
            line-height: 1.6em;
            letter-spacing: 0.1em;
            font-weight: 600;
      }
      .h4{
            font-size: 20px;
            letter-spacing: 0.14em;
      }
      .h5{
            font-size: 16px;
      }
      .h6{
            font-size: 18px;
            line-height: 1.5em;
      }
      .txt2{
            font-size: 12px;
            line-height: 1.5em;
            letter-spacing: 0.04em;
      }
      .cac-container{
            padding-left: 16px;
            padding-right: 16px;
      }

      .cac-btn{
            display: flex;
            width: calc( 100% - 32px );
            margin-left:16px;
            margin-right: 16px;
            height: 45px;
      }


      .footer{
            /* margin-top:100px; */
      }
      .footer-contact-col, .footer-contact-col.contact{
            padding: 24px 16px;
      }
      .contact-item{
            flex-direction: column;
            align-items: flex-start;
            justify-content: flex-start;
            margin-bottom: 12px;
      }
      .contact-item .ci-add{
            margin-bottom: 12px;
      }
      .contact-item .cac-btn-outline{
            margin-left: 0px;
      }
      .footer-contact-col-label{
            line-height: 1.2em;
      }
      .footer-contact-col svg{
            height: 24px;
      }
      .footer-contact-col .txt2{
            margin-top: 8px;
      }
      .footer-contact-col.contact{
            padding: 24px 16px;
      }
      .footer-bottom{
            padding-top: 24px;
            padding-bottom: 24px;
            flex-direction: column;
            align-items: flex-start;
            justify-content: center;
      }
      .footer-bottom-policy{
            margin-bottom: 8px;
      }
      .footer-top{
            flex-direction: column;
            padding: 40px 16px;
            align-items: center;
            justify-content: flex-start;
      }
      .freservebtn{
            margin-left: 0;
            margin-right: 0;
            margin-top: 24px;
            width: 100%;
      }
      .footer-top-left{
            width: 100%;
            margin-right: 0;
            padding-top: 50%;
            margin-bottom: 24px;
      }
      .footer-top-right .h1, .footer-top-right .subtitle{
            width: 100%;
            text-align: center;
      }
}