/********** common  **********/

html {
    margin: 0;
    padding: 0;
    scroll-behavior: smooth;
}

body {
  overflow-x: hidden;
}
@media screen and (max-width: 768px){
    .index-warp,.column-warp,.case-warp,.items-warp,.index-slide-warp{
        max-width: 100% !important;
        overflow: hidden; !important;
    }
}

.header-menu {
  flex-wrap: wrap;
  overflow-x: auto;
  white-space: nowrap;
}

.index-warp{
    padding-top: 50px;
    padding-bottom: 50px;
}

.team-bg{
    background: url("../images/background-2.jpg");
    background-size:  cover;
    background-position: center;
    width: 100%;
    min-height: 300px;
    position: absolute;
    margin-top: 270px;
}

.header {
    background-color: #895233;
    /* background-image: linear-gradient(to top left, #DFAB58, #E4C8A3); */
    position: fixed;
    display: flex;
    z-index: 999;
    width: 100%;
    /*margin-top: 30px;*/
    color: #fff;
    /*box-shadow: 1px 2px 5px 2px rgba(0, 0, 0, 0.082);
    -webkit-backdrop-filter: blur(7px);*/
    /*backdrop-filter: blur(7px);*/
    /*border-bottom: 1px solid #ffffff;*/    

}

.header nav {
    display: flex;
    width: 100%;
    justify-content: flex-end;
    line-height: 25px;
}

.header .nav-link {
 display: inline-block;
 padding: 44px 25px;
 color:#fff;
 font-size: 22px;
 font-weight: 500;
 text-decoration: none;
}

.header-menu li{
    list-style: none;
}
.navbar {
    padding: 10px;
    background-color: #895233;
    z-index: 0;
}

.navbar li{
    position: relative;
    display: inline-block;
    text-align: center;
    font-size: 20px;
    font-weight: 700;
    color: #555555;
    text-decoration: none;
    transition: all 0.6s ease;
}

.navbar li::after {
    content: "";
    position: absolute;
    left: -7%;
    top: 60px;
    transform: translateY(-50%);
    width: 8px;
    height: 8px;
    border-radius: 50%;
    border: 1px solid #FFFFFF;
    transition: all 0.6s ease;
}

.navbar a .line {
    content: "";
    position: absolute;
    left: -4%;
    top: 62px;
    transform: translateX(-50%);
    width: 1px;
    height: 0;
    background-color: #FFFFFF;
    transition: height 0.6s ease;
}

.navbar li,
.navbar li::after {
    transition: all 0.6s ease;
}

.navbar li:hover,
.navbar li:hover p{
    color: #FFFFFF;
    scale: 1.01;
    font-weight: 500;
    transition: all 100ms ease-in-out;
    border-radius: 20px;
}

.navbar li:hover::after {
    background-color: #FFFFFF;
    border-color: #FFFFFF;
}

.navbar li:hover .line {
    height: 55px;
}

.navbar-brand img{
    width: 260px;
    padding: 20px 0px 20px 0px;
}

.dropdown-menu {
    padding: 0 !important;
}

.dropdown-item {
    padding:12px 20px !important;
    border-bottom: 1px solid rgba(0, 0, 0, .15) !important;
    
}

.dropdown-item:hover {
    background-color: #0f354c !important;
    color: #ffffff !important;
    transition: all 150ms ease-in-out;
}


.header-logo img{
	max-width: 350px;
    padding: 50px;
}

.copy-right{
    color: #FFFFFF;
    background-color: #ba886d;
    padding-bottom: 10px;
}

@media (min-width: 1200px) and (max-width: 1400px){
    .bottom-search {
    padding-right: 0px;
}
    .header .nav-link{
        padding: 40px 16px;
        font-size: 20px;
    }
    .navbar-brand img{
        padding: 20px 0px 20px 0px;
    }
    .navbar li .line{
       display: none !important; 
    }
    .navbar li::after {
       content: none !important;
    }
}

@media (min-width: 998px) and (max-width: 1200px){
    .header .nav-link{
        padding: 20px 10px;
        font-size: 18px;
    }
    .navbar li .line{
       display: none !important; 
    }
    .navbar li::after {
       content: none !important;
    }
    .navbar-brand img{
        padding: 8px 0px 20px 0px;
    }
}
/********** index **********/

.index-slide{
    max-height: 65vh;
}

.title h2{
    position: relative;
    font-size: 26px;
    font-weight: 700;
    text-align: left;
}

.title h3{
    font-size: 16px; 
    font-weight: 700;
    right: 10px;
    text-align: center;
    margin-top: 45px;
    letter-spacing: 2px;
    color: #555555;
}

.title h2::after{
  content: "";
  position: absolute;
  top: 0px;
  left: 10px;
  width: 300%;
  height: 300%;
  background: url('../images/main title-slash.png') no-repeat bottom left ;
}

.news-tag{
    position: relative;
    text-align: center;
    background-color: #ba886d;
    border-radius: 8px;
    padding-top: 20px;
    padding-bottom: 18px;
    margin-top: 8px;
}

.news-tag span{
    color: #fff;
    font-size: 16px;
    font-weight: 700;
}

.news-text{
    border-radius: 8px;
    border:#E2E2E2 solid 1px;
    margin-top: 7px;
    padding: 8px 12px;
}

.news-text:hover{
    border-radius: 8px;
    border: #fff solid 1px;
    margin-top: 7px;
    box-shadow: rgba(100, 100, 111, 0.2) 0px 7px 29px 0px;
    padding: 8px 12px;
    transition: 1s;
}

.news-link a{
    text-decoration: none;
    position: relative;
}

.news-link .news-link-btn{
    clear: both;
    position: absolute;
    max-width: 70px;
    bottom: 25px;
    right: 10px;
    opacity: 0;
    transition: opacity 0.9s ease;
}

.news-link a:hover .news-link-btn{
    visibility: visible;
    opacity: 1;
}

.news-text h3{
    font-size: 20px; 
    font-weight: 700;
    margin: 0;
    color: #555555;
}

.news-text p{
    font-size: 17px;
    margin: 0;
    letter-spacing: 2px;
    color: #555555;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
     display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 1;
    padding-right: 100px;
}

@media screen and (max-width: 768px){
    .news-text p{
        padding-right: 0px;
    }
}
    
    .title h2{
    position: relative;
    font-size: 22px;
    font-weight: 700;
    text-align: center;
    padding-bottom: 5px;
        margin-top: -20px;
}

.title h3{
    font-size: 14px; 
    font-weight: 700;
    text-align: center;
    margin-top: 45px;
    letter-spacing: 2px;
    color: #555555;
    padding-left: 8px;
    margin-bottom: -30px;
    padding-bottom: 20px;
    border-bottom: 1.5px solid #ba886d;
}

.title h2::after{
  content: "";
  position: absolute;
  top: -23px;
  left: 49.5%;
  width: 300%;
  height: 300%;
  background: url( "../images/main title-straight.png") no-repeat bottom left;
    background-size: 10px;
}
    .more-button{
        position: relative;
        padding-top: 0px !important;
    }
.more-button .svg-btn {
    margin-right: auto;
        margin-left: auto;
        width: 137px;
    left: 0px !important;
        display: flex !important;
        align-items: center;
        justify-content: center;
  }
    
.news-tag{
    padding: 10px;
}
.news-link .news-link-btn{
        display: none; 
}


@media (min-width: 768px) and (max-width: 1000px){
    .title h2{
    font-size: 22px;
    }
 
    .title h3{
        font-size: 14px !important;
    padding-top: 0px;
        padding-left: 14px;
}
    .title h2::after{
        left: 5px;
        background-size: 80px;
    }
    .title3 h2 {
        font-size: 22px !important;
        margin-left: -8px;
    }
    .title3 h3{
     font-size: 14px !important;
     margin-top: 38px !important;
        }
    .title3 h2::after{
        left: 5px !important;
        background-size: 80px !important;
        top: -101px !important;
    }
    
}

.more-button{
    padding-top: 164px;
    position: relative; /* 讓裡面 a 定位用 */
    padding-bottom: clamp(72px, 10vw, 140px);
    overflow: hidden;
}

.more-button .svg-btn {
    position: relative;
    left: 12px;
    bottom: -56px;
    display: inline-block;
    padding: 8px 32px;
    background: #fff;
    color: #C28C6B;
    box-shadow: rgba(99, 99, 99, 0.2) 0px 2px 8px 0px;
    font-weight: 700;
    font-size: 18px;
    border-radius: 8px;
    text-decoration: none;
    transition: color .8s ease, background .8s ease;
}

/* + 號 */
.more-button .svg-btn .plus {
    position: absolute;
    right: -30px;
    top: -10px;
    font-size: 22px;
    line-height: 1;
    color: #C28C6B;
    transition: 
    transform 0.6s ease, 
    color 0.4s ease, 
    opacity 0.4s ease;
    user-select: none;
    pointer-events: none;
}

/* 疊在按鈕上的 SVG 外框 */
.more-button .svg-btn svg {
  position: absolute;
    inset: -10px;
  width: calc(100% + 20px);
  height: calc(100% + 20px);
  pointer-events: none;
}

/* 外框路徑動畫 */
.more-button .svg-btn path {
  fill: none;
  stroke: #C28C6B;
  stroke-width: 1.5;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-dasharray: 400;
  stroke-dashoffset: 400;
  transition: stroke-dashoffset 2.5s ease;
}

/* hover 效果 */
.more-button .svg-btn:hover {
  background: #C28C6B;
  color: #FFFFFF;
}
.more-button .svg-btn:hover path {
  stroke-dashoffset: 0;
}
.more-button .svg-btn:hover .plus {
  transform: rotate(90deg);
  opacity: 1; 
}

.title2 {
    position: relative;
}
.title2 h2{
    font-size: 26px;
    font-weight: 700;
    text-align: center;
    margin-top: -60px;
    color: rgba(0,0,0,1.00);
}
.title2 h2::after{
    content: "";
    position: absolute;
    width: 100%;
    height: 100%;
    left: 49.5%;
    top: 46px;
    background: url("../images/main title-straight.png") no-repeat;
    z-index: 99;
    
}
.title2 h3{
    font-size: 16px; 
    font-weight: 700;
    text-align: center;
    margin-top: 100px;
    letter-spacing: 2px;
    color: #555555;
}
.clinic{
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 9;
    font-size: clamp(20px, 7vw, 80px);
    font-weight: 100;
    color: #DCDCDC;
    white-space: nowrap;
    text-align: center;
}
.column-warp{
    background: url("../images/background-1.jpg") no-repeat;
    background-position: center;
    background-size: cover;
    position: relative;
    z-index: 99;
    padding-bottom: 50px;
}
.column-warp .column-box{
    position: relative;
    background-color: #FFFFFF;
    border-radius: 40px;
    padding-top: 20px;
    padding-bottom: 40px;
    padding-right: 20px;
    width: 100%;
    margin-top: 100px;
    box-shadow: rgba(50, 50, 93, 0.25) 0px 2px 5px -1px, rgba(0, 0, 0, 0.3) 0px 1px 3px -1px;;
}
.column-warp .column-box::after{
    content: "";
    position: absolute;
    text-align: center;
    background-color: #ba886d;
    border-radius: 40px;
    height: 400px;
    top: -50px;
    width: 100%;
    z-index: -1;
}

.column-warp .column-box .column-tag{
    white-space: nowrap;
    font-size: 18px; 
    font-weight: 700;
    text-align: center;
    letter-spacing: 2px;
    color: #FFFFFF;
    background-color: #ba886d;
    border-radius: 10px;
    width: 180px;
    padding-left: 20px;
    padding-top: 10px;
    padding-bottom: 10px; 
}
.column-warp .column-box .column-tag span{
    font-size: 18px; 
    font-weight: 700;
    text-align: center; 
    letter-spacing: 2px;
    color: #555555;
    background-color: #ffffff;
    border-radius: 0px 10px 10px 0px;
    width: 100px;
    border: 3px solid #ba886d;
    padding-right: 20px;
    padding-left: 15px;
    padding-top: 9px;
    padding-bottom: 9px;
    margin-left: 10px;
}

.column-warp .column-box h2{
    font-size: 26px; 
    font-weight: 1000;
    text-align: left;
    margin-top: 45px;
    letter-spacing: 2px;
    padding-left: 20px;
    color: #555555;
}
.column-warp .column-box p{
    font-size: 16px;
    text-align: left;
    margin-top: 20px;
    margin-bottom: 20px;
    letter-spacing: 2px;
    padding-left: 20px;
    color: #555555;
    border-left: 2px solid #E0E0E0;
}

.column-warp .column-box img{
    width: 90%;
    padding-left: 20px;
    padding-top: 40px;
    padding-bottom: 20px;
}

.colume-box-link {
    position: absolute;
    max-width: 120px;
    height: auto;
    cursor: pointer;
    right: 20px;
    bottom: 10px;
}

.colume-box-link img {
    display: block;
    width: 100%;
    height: auto;
    transition: opacity 0.3s ease;
}

.colume-box-link .press {
    position: absolute;
    top: 0;
    left: 0;
    opacity: 0;
}

.colume-box-link:hover .unpress {
    opacity: 0;
}

.colume-box-link:hover .press {
    opacity: 1;
}

.more-button-2{
  padding-top: 100px;
  position: relative; /* 讓裡面 a 定位用 */
}

.more-button-2 .svg-btn {
  position: absolute;
    left: 50%;
    bottom: -10px;
    transform: translateX(-50%);
  display: inline-block;
  padding: 8px 32px;
  background: #fff;
  color: #C28C6B;
    box-shadow: rgba(99, 99, 99, 0.2) 0px 2px 8px 0px;
  font-weight: 700;
  font-size: 18px;
  border-radius: 8px;
  text-decoration: none;
  transition: color .8s ease, background .8s ease;
}

/* + 號 */
.more-button-2 .svg-btn .plus {
    position: absolute;
  right: -30px;
  top: -10px;
  font-size: 22px;
  line-height: 1;
  color: #C28C6B;
  transition: 
    transform 0.6s ease, 
    color 0.4s ease, 
    opacity 0.4s ease;
  user-select: none;
  pointer-events: none;
}

/* 疊在按鈕上的 SVG 外框 */
.more-button-2 .svg-btn svg {
  position: absolute;
    inset: -10px;
  width: calc(100% + 20px);
  height: calc(100% + 20px);
  pointer-events: none;
}

/* 外框路徑動畫 */
.more-button-2 .svg-btn path {
  fill: none;
  stroke: #C28C6B;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-dasharray: 400;
  stroke-dashoffset: 400;
  transition: stroke-dashoffset 2.5s ease;
}

/* hover 效果 */
.more-button-2 .svg-btn:hover {
  background: #C28C6B;
  color: #FFFFFF;
}
.more-button-2 .svg-btn:hover path {
  stroke-dashoffset: 0;
}
 .more-button-2 .svg-btn:hover .plus {
  transform: rotate(90deg);
  opacity: 1; 
}

@media screen and (max-width: 768px){
    .title2 h2{
    font-size: 22px;
        margin-top: 0;
}

.title2 h3{
    font-size: 14px;
    margin-top: 48px;
    margin-bottom: -28px;
}

    .title2 h2::after{
        background-size: 10px;
        top: 28px;
    }
    .clinic{
        font-size: 37px;
    }
}

@media (min-width: 768px) and (max-width: 998px){
        .title2 h2{
    font-size: 22px;
}

.title2 h3{
    font-size: 14px;
    margin-top: 59px;
}

    .title2 h2::after{
        background-size: 12px;
        top: 31px;
    }
    .team-box-img img{
        max-width: 180px;
        margin-left: auto;
        margin-right: auto;
        padding-bottom: 20px;
    }
}

@media (max-width: 998px) and (max-width: 1200px){
    .case-warp{
    height: 65vh;
        
    }
    .case-warp .case-img{
        height: 62vh !important;
    }
    .team-box-img img{
        max-width: 220px;
        margin-left: auto;
        margin-right: auto;
        padding-bottom: 20px;
    }
    .team-box-text{
        margin-left: auto;
        margin-right: auto;
    }
}


.title3 h2{
    padding-top: 50px;
    position: relative;
    font-size: 26px;
    font-weight: 700;
    text-align: left;
    color: #FFFFFF;
}

.title3 h3{
    padding-top: 5px;
    font-size: 16px; 
    font-weight: 700;
    text-align: center;
    margin-top: 45px;
    letter-spacing: 2px;
    color: #FFFFFF;
}

.title3 h2::after{
    content: "";
    position: absolute;
    top: -96px;
    left: 0px;
    width: 300%;
    height: 300%;
    background: url("../images/main title-slash-2.png") no-repeat bottom left;
}

.index-case-slide{
    position: absolute;
    padding-top: 75px;
    padding-bottom: 50px;
    right: 40px;
}

.case-box{
    max-width: 610px;
    height: auto; 
    align-items: center;
    background-color: #FFFFFF;
    border-radius: 20px;
    padding: 40px 30px 40px 20px;
    box-shadow: rgba(50, 50, 93, 0.25) 0px 2px 5px -1px, rgba(0, 0, 0, 0.3) 0px 1px 3px -1px;
}
.case-box .case-tag{
    white-space: nowrap;
    font-size: 18px; 
    font-weight: 700;
    text-align: center;
    letter-spacing: 2px;
    color: #FFFFFF;
    background-color: #ba886d;
    border-radius: 10px;
    width: 80px;
    margin-bottom: 15px;
}
.case-box-text{
    height: 130px;
    overflow: hidden;
}
.case-box h2{
    font-size: 20px;
    font-weight: 1000;
    color: #555555;
}
.case-box p{
    align-items: center;
    font-size: 16px;
    color: #555555;
}

.case-box-img img{
    border-radius: 20px;
    max-width: 90%;
    height: auto;
    display: block;
    min-width: 150px;
}

.case-box-link {
    position: absolute;
    max-width: 120px;
    height: auto;
    cursor: pointer;
    right: 10px;
    bottom: 10px;
}

.case-box-link img {
    display: block;
    width: 100%;
    height: auto;
    transition: opacity 0.3s ease;
}

.case-box-link .press {
    position: absolute;
    top: 0;
    left: 0;
    opacity: 0;
}

.case-box-link:hover .unpress {
    opacity: 0;
}

.case-box-link:hover .press {
    opacity: 1;
}

.case-warp{
    background: url( "../images/background-3.jpg") no-repeat ;
    background-position: center;
    background-size: cover;
    position: relative;
}
.case-warp .case-img{
    background: url("../images/img-2.2.jpg") no-repeat ;
    background-size: 50% auto;
    background-position: left;
    height: 75vh;
    border-top: solid 1.5px #ba886d;
    left: 38px;
}

.more-button-3{
  padding-top: 164px;
  position: relative; /* 讓裡面 a 定位用 */
    padding-bottom: clamp(72px, 10vw, 140px);
    overflow: hidden;
}

.more-button-3 .svg-btn {
  position: absolute;
  left:  12px;
  bottom: 20px;
  display: inline-block;
  padding: 8px 32px;
  background: #fff;
  color: #C28C6B;
    box-shadow: rgba(99, 99, 99, 0.2) 0px 2px 8px 0px;
  font-weight: 700;
  font-size: 18px;
  border-radius: 8px;
  text-decoration: none;
  transition: color .8s ease, background .8s ease;
}

/* + 號 */
.more-button-3 .svg-btn .plus {
    position: absolute;
  right: -30px;
  top: -10px;
  font-size: 22px;
  line-height: 1;
  color: #ffffff;
  transition: 
    transform 0.6s ease, 
    color 0.4s ease, 
    opacity 0.4s ease;
  user-select: none;
  pointer-events: none;
}

/* 疊在按鈕上的 SVG 外框 */
.more-button-3 .svg-btn svg {
  position: absolute;
    inset: -10px;
  width: calc(100% + 20px);
  height: calc(100% + 20px);
  pointer-events: none;
}

/* 外框路徑動畫 */
.more-button-3 .svg-btn path {
  fill: none;
  stroke: #ffffff;
  stroke-width: 1.5;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-dasharray: 400;
  stroke-dashoffset: 400;
  transition: stroke-dashoffset 2.5s ease;
}

/* hover 效果 */
.more-button-3 .svg-btn:hover {
  background: #C28C6B;
  color: #FFFFFF;
}
.more-button-3 .svg-btn:hover path {
  stroke-dashoffset: 0;
}
.more-button-3 .svg-btn:hover .plus {
  transform: rotate(90deg);
  opacity: 1; 
}
.title3-2{
     display: none;
}

 .title3-2 h2{
    position: relative;
    font-size: 22px;
    font-weight: 700;
    text-align: center;
    padding-bottom: 5px;
        margin-top: -42px;
}

.title3-2 h3{
    font-size: 14px; 
    font-weight: 700;
    text-align: center;
    margin-top: 45px;
    letter-spacing: 2px;
    color: #555555;
    padding-left: 0px;
    margin-bottom: 0px;
    padding-bottom: 42px;
}

.title3-2 h2::after{
  content: "";
  position: absolute;
  top: -23px;
  left: 49.5%;
  width: 300%;
  height: 300%;
  background: url( "../images/main title-straight.png") no-repeat bottom left;
    background-size: 10px;
}
@media screen and (max-width: 768px){
    .title3-2{
     display: block;
}
    .index-case-slide{
    border-top: 1.5px solid #ba886d;
    }
    .case-warp{
    height: 98vh;
    }
    
    .case-img{
        position: relative;
        background-image:none !important;
        border-top: none !important;
        align-items: center;
        display: flex !important;
        justify-content:center;
    }
    .case-box-img img{
            max-width: 100%;
        }
    .more-button-3{
        position: relative;
  bottom: 290px;
  left: -8%;
        width: 181px !important;
    }
    .more-button-3 .svg-btn .plus{
        color: #ba886d;
    }
    .more-button-3 .svg-btn path{
        stroke: #ba886d;
    }
    .title3{
        display: none;
    }
}

.title4 {
    position: relative;
    /*height: 100%;*/
}
.title4 h2{
    font-size: 26px;
    font-weight: 700;
    text-align: center;
    color: rgba(0,0,0,1.00);
}
.title4 h2::after{
    content: "";
    position: absolute;
    width: 100%;
    height: 100%;
    left: 49.5%;
    top: 46px;
    background: url("../images/main title-straight.png") no-repeat;
    z-index: 99;
    
}
.title4 h3{
    font-size: 16px; 
    font-weight: 700;
    text-align: center;
    margin-top: 100px;
    margin-bottom: 50px;
    letter-spacing: 2px;
    color: #555555;
}

.team-warp{
    background: url("../images/background-2.jpg") no-repeat;
    background-position: center;
    background-size: cover;
    position: relative;
}

.index-team-slide .owl-item{
    margin-top: 10px; margin-bottom: 50px;
}

.team-box{
    align-items: center;
    background-color: #FFFFFF;
    border-radius: 20px;
    padding-left: 20px;
    padding-right: 20px;
    padding-top: 40px;
    padding-bottom: 30px;
    box-shadow: rgba(50, 50, 93, 0.25) 0px 2px 5px -1px, rgba(0, 0, 0, 0.3) 0px 1px 3px -1px;
}
.team-box .team-tag{
    white-space: nowrap;
    font-size: 18px; 
    font-weight: 700;
    text-align: center;
    letter-spacing: 2px;
    color: #FFFFFF;
    background-color: #ba886d;
    border-radius: 10px;
    width: 80px;
    margin-bottom: 15px;
}
.team-box h2{
    font-size: 20px;
    font-weight: 1000;
    color: #555555;
}
.team-box p{
    font-size: 16px;
    color: #555555;
}

.team-box-link {
    position: absolute;
    max-width: 120px;
    height: auto;
    cursor: pointer;
    right: 10px;
    bottom: 10px;
}

.team-box-link img {
    display: block;
    width: 100%;
    height: auto;
    transition: opacity 0.3s ease;
}

.team-box-link .press {
    position: absolute;
    top: 0;
    left: 0;
    opacity: 0;
}

.team-box-link:hover .unpress {
    opacity: 0;
}

.team-box-link:hover .press {
    opacity: 1;
}

.items-warp{
    background: url("../images/background-1.jpg") no-repeat;
    background-position: center;
    background-size: cover;
    position: relative;
    z-index: 99;
    padding-top: 50px;
}

@media screen and (max-width: 768px){
    .title4{
        padding-bottom: 50px;
        padding-top: 60px;
    }
        .title4 h2 {
        font-size: 22px;
        margin-top: -48px;
    }
    .title4 h2::after {
        background-size: 10px;
        top: 41px;
    }
        .title4 h3 {
        font-size: 14px;
        margin-top: 48px;
        margin-bottom: -28px;
    }
    
}

.title5 {
    position: relative;
}
.title5 h2{
    font-size: 26px;
    font-weight: 700;
    text-align: center;
    color: rgba(0,0,0,1.00);
}
.title5 h2::after{
    content: "";
    position: absolute;
    width: 100%;
    height: 100%;
    left: 49.5%;
    top: 46px;
    background: url("../images/main title-straight.png") no-repeat;
    z-index: 99;
    
}
.title5 h3{
    font-size: 16px; 
    font-weight: 700;
    text-align: center;
    margin-top: 100px;
    margin-bottom: 50px;
    letter-spacing: 2px;
    color: #555555;
}

.items-box-item {
    position: relative;
    max-width: 130px;
    height: auto;
    cursor: pointer;
    float: left;
}

.items-box-item img {
    display: inline;
    margin: 13%;
    width: 75%;
    height: auto;
    transition: opacity 0.8s ease;
}

.items-box-item .enter {
    position: absolute;
    top: 0;
    left: 0;
    opacity: 0;
}

.index-items-box-moji{
    text-align: center;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;    
}

.items-box-item:hover .unenter {
    opacity: 0;
}

.items-box-item:hover .enter {
    opacity: 1;
}


.items-box-item h2{
    font-size: 20px;
    font-weight: 700;
    padding-top: 10px;
    color: #555555;
}

.items-box-item p{
    font-size: 16px;
    color: #555555;
}

.items-box-2-item {
    position: relative;
    max-width: 130px;
    height: auto;
    cursor: pointer;
    float: right;
}

.items-box-2-item img {
    display: inline;
    margin: 13%;
    width: 75%;
    height: auto;
    transition: opacity 0.8s ease;
}

.items-box-2-item .enter {
    position: absolute;
    top: 0;
    left: 0;
    opacity: 0;
}

.items-box-2-item:hover .unenter {
    opacity: 0;
}

.items-box-2-item:hover .enter {
    opacity: 1;
}

.items-box-2-item h2{
    font-size: 20px;
    font-weight: 700;
    color: #555555;
    padding-top: 10px;
}

.items-box-2-item p{
    font-size: 16px;
    color: #555555;
}

.more-button-4{
  padding-top: 100px;
  position: relative; /* 讓裡面 a 定位用 */
}

.more-button-4 .svg-btn {
  position: absolute;
    left: 50%;
    bottom: 34px;
    transform: translateX(-50%);
  display: inline-block;
  padding: 8px 32px;
  background: #fff;
  color: #C28C6B;
    box-shadow: rgba(99, 99, 99, 0.2) 0px 2px 8px 0px;
  font-weight: 700;
  font-size: 18px;
  border-radius: 8px;
  text-decoration: none;
  transition: color .8s ease, background .8s ease;
}

/* + 號 */
.more-button-4 .svg-btn .plus {
    position: absolute;
  right: -30px;
  top: -10px;
  font-size: 22px;
  line-height: 1;
  color: #C28C6B;
  transition: 
    transform 0.6s ease, 
    color 0.4s ease, 
    opacity 0.4s ease;
  user-select: none;
  pointer-events: none;
}

/* 疊在按鈕上的 SVG 外框 */
.more-button-4 .svg-btn svg {
  position: absolute;
    inset: -10px;
  width: calc(100% + 20px);
  height: calc(100% + 20px);
  pointer-events: none;
}

/* 外框路徑動畫 */
.more-button-4 .svg-btn path {
  fill: none;
  stroke: #C28C6B;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-dasharray: 400;
  stroke-dashoffset: 400;
  transition: stroke-dashoffset 2.5s ease;
}

/* hover 效果 */
.more-button-4 .svg-btn:hover {
  background: #C28C6B;
  color: #FFFFFF;
}
.more-button-4 .svg-btn:hover path {
  stroke-dashoffset: 0;
}
 .more-button-4 .svg-btn:hover .plus {
  transform: rotate(90deg);
  opacity: 1; 
}


@media screen and (max-width: 767px){
    .footer-warp p{
        display: none !important;
    }
    .container li{
        display: none !important;
    }
    .footer-nav-item a{
        display: none !important;
    }
    .br-line-2{
        display: none !important;
    }
    .footer-warp a{
        position: relative;
        align-items: center;
        display: flex;
        justify-content: center;
}
    .footer-warp h2{
        text-align: center;
    }
     .footer-warp h3{
        text-align: center;
    }
    .br-line-1{
        position: relative;
        left: 8%;
}
    .title5 h2{
         font-size: 22px;
    }
    .title5 h3{
        font-size: 14px;
        margin-top: 55px;
    }
    .title5 h2::after {
        background-size: 10px;
        top: 31px;
}
}
.footer-warp{
    background-color: #ba886d;
    padding-top: 15px;
    padding-bottom: 15px;
}
.footer-nav-item{
    display: inline;
    font-size: 20px;
    font-weight: 700;
}
.footer-nav-item a{
    color: #fff;
    text-decoration: none;
    padding: 20px 10px 20px 10px;
}
.footer-nav-item a:hovor{
    color:#D57A31;
    transform: 3s;
}
.footer-warp h2{
    font-size: 24px;
    font-weight: bold;
    color:#FFFFFF;
}
.footer-warp h3{
    font-size: 16px;
     line-height:145%;
    color: #FFFFFF;
    margin: 0;
    
}
.footer-warp p{
    font-size: 16px;
    text-align: left;
    color: #FFFFFF;
    margin: 0;
    
}
.container li{
    font-size: 16px;
    text-align: left;
    color: #FFFFFF;
    margin: 0;
}
.footer-warp img{
    width: 100%;
    max-width: 200px;
    padding: 10px 0px 10px 0px;
}
#footer-nav li{
    list-style: disc;
}
.footer-nav-list{
    /*padding-top: 10px;*/
}

.br-line-1{
    background: url("../images/line-3.png") no-repeat;
    background-position: left;
    background-size: contain;
    margin: 0;
    width: 82%;
    padding-top: 10px;
}
.br-line-2{
    background: url("../images/line-4.png") no-repeat;
    background-position: left;
    background-size: contain;
    margin: 0;
    width: 82%;
}

@media screen and (max-width: 767px){
    .footer-warp h2{
        font-size: 20px;
    }
    .footer-nav-list{
        display: none;
    }
}

/********** about  **********/
.about-box .row{
    border-bottom: 1px solid #ba886d;
    padding-bottom: 50px;
}
.about-box a{
    position: relative;
    display: inline-block;
    text-align: center;
    font-size: 20px;
    font-weight: 700;
    color: #555555;
    text-decoration: none;
    padding-top: 100px;
    padding-bottom: 40px;
    padding-left: 20px;
    padding-right: 20px;
    transition: all 0.6s ease;
}
.about-box p{
    margin: 4px 0 0;
    font-size: 18px;
    font-weight: 300;
    color: #555555;
    transition: all 0.6s ease;
}
.about-box a::before {
    content: "";
    position: absolute;
    left: 50%;
    top: 80px;
    transform: translateY(-50%);
    width: 8px;
    height: 8px;
    border-color: #FFFFFF;
    border: 1px solid #FFFFFF;
    border-radius: 50%;
    background: transparent;
    transition: all 0.6s ease;
}

.about-box a::after {
    content: "";
    position: absolute;
    left: 50%;
    top: 180px;
    transform: translateY(-50%);
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #555555;
    border: 1px solid #555555;
    transition: all 0.6s ease;
}

.about-box a .line {
    content: "";
    position: absolute;
    left: 51.9%;
    top: 184px;
    transform: translateX(-50%);
    width: 1px;
    height: 0;
    background-color: #ba886d;
    transition: height 0.6s ease;
}

.about-box a,
.about-box a p,
.about-box a::before,
.about-box a::after {
    transition: all 0.6s ease;
}

.about-box a:hover,
.about-box a:hover p{
    color: #ba886d;
}

.about-box a:hover::before {
    border: 1px solid #ba886d;
}

.about-box a:hover::after {
    background-color: #ba886d;
    border-color: #ba886d;
}

.about-box a:hover .line {
    height: 68px;
}

.about-box a:focus,
.about-box a:focus p { color:#ba886d; }
.about-box a:focus::before { border:1px solid #ba886d; }
.about-box a:focus::after  { background:#ba886d; border-color:#ba886d; }
.about-box a:focus .line   { height:68px; }
.about-text img{
    padding-bottom: 40px;
    max-width: 100%;
}

.about-text h2{
    display: inline-block;
    position: relative;
    color: #ba886d;
    font-weight: 700;
    padding-top: 0px;
}


.about-text p{
    color: #555555;
    font-size: 17px;
    font-weight: 500;
}

.about-text h3{
    display: inline-block;
    position: relative;
    color: #ba886d;
    font-weight: 700;
    padding-top: 20px;
}
.about-text h3::after{
    content: "";
    display: inline-block;
    position: relative;
    vertical-align: middle;
    width: 50px; 
    height: 2px;
    background-color: #555555;
    margin-left: 10px; 
    left: 47%;
    bottom: 53%;
}
.about-text h4{
    color: #555555;
    padding-top: 20px;
    font-size: 18px;
    font-weight: 300;
}

.about-text h5{
    color: #555555;
    font-size: 18px;
    font-weight: 700;
    font-size: 32px;
    padding-bottom: 40px;
}

@media screen and (max-width: 1000px){
    .about-box{
        position: relative;
        bottom: 45px;
    }
    .about-box a{
        font-size: 18px;
    }
    .about-box p{
        font-size: 16px;
    }
    .about-box a::after{
        top: 200px;
    }
    .about-box a .line{
        top: 202px;
        left: 53.5%;
    }
}

/********** team   **********/
.physician-team{
    padding: 40px;
}
.physician-team-box{
    position: relative;
    align-items: center;
    background-color: #FFFFFF;
    border-radius: 20px;
    padding-left: 40px;
    padding-top: 40px;
    padding-bottom: 40px;
    border: thin #555555;
    transition: box-shadow 0.3s ease;
    box-shadow: none;
}

.physician-team-box:hover{
    box-shadow: rgba(0, 0, 0, 0.1) 0px 0px 12px;
}

.physician-team .physician-team-text{
    padding-left: 40px;
    padding-right: 40px;
}

.physician-team-box h2{
    font-size: 32px;
    font-weight: 700;
    color: #555555;
}

.drbox{
    background-color: #fff;
    border-radius: 8px;
    box-shadow: rgba(0, 0, 0, 0.09) 0px 3px 12px;
}

.team-img img{
    max-width: 300px;
    /*border-radius: 30px;*/
    width: 100%;
}
@media screen and (max-width: 1200px){
.team-img img{
    min-width: 0px;
}
}
@media screen and (max-width: 768px){
.team-img img{
    min-width: none;
}
}

@media screen and (max-width: 768px){
    .team-img img{
        padding-top: 20px;
    }
}

.drbox{
    margin-top: 15px; margin-bottom: 25px;
}

.team-img img:hover {
}

.team-text{
    padding: 20px 30px; 
}

.team-img{
    padding-top: 25px;
    padding-bottom: 10px;
}

.team-img h2{
    font-size: 26px; 
    font-weight: 700;
    margin: 0 0 5px 0;
    padding: 0;
    text-align: center;
}

.team-img .sub{
    font-size: 20px; 
    font-weight: 700;
    margin: 0;
    padding: 0;
    text-align: center;
    margin-left: auto;
    margin-right: auto;
    color: #ba886d;
}

.team-img span{
    font-weight: 700;
    text-align: center;
}

.team-img p{
    font-size: 17px; 
    margin: 0 0 10px 0;
    padding: 0;
    text-align: center;
}

.team-text h2{
    font-size: 30px; 
    font-weight: 700;
    margin: 0 0 5px 0;
    padding: 0;
}

.team-text .sub{
    font-size: 20px; 
    font-weight: 700;
    margin: 0;
    padding: 0;
    color: #ba886d;

}

.team-text span{
    font-weight: 700;
}

.team-text p{
    font-size: 17px; 
    margin: 0 0 10px 0;
    padding: 0;
}

.team-img .team-tag{
    margin-left: auto;
    margin-right: auto;
    position: relative;
    font-size: 20px;
    font-weight: 700;
    text-align: center;
    letter-spacing: 2px;
    color: #FFFFFF;
    background-color: #ba886d;
    max-width: 260px;
    margin-top: 5px;
    margin-bottom: 5px;
    padding-top: 5px
    padding-bottom: 5px;
}

.physician-team-box .team-tag{
    position: absolute;
    right: 350px;
    top: 40px;
    white-space: nowrap;
    font-size: 20px;
    font-weight: 700;
    text-align: center;
    letter-spacing: 2px;
    color: #FFFFFF;
    background-color: #ba886d;
    border-radius: 10px;
    width: 80px;
    margin-bottom: 15px;
    padding-top: 5px;
    padding-bottom: 5px;
}

.physician-team li{
    font-size: 18px;
    text-align: left;
    color: #555555;
    margin: 0;
    list-style: disc;
}
/*
.physician-team span{
    font-size: 22px;
    font-weight: 700;
    color: #555555;
}*/

/*.physician-team p{
    font-size: 18px;
    color: #555555;
    font-weight: 500;
}*/

.physician-team .physician-team-img{
    position: relative;
    top: 80px;
    width: 100% #fff;
    align-items: center;
    background-color: #FFFFFF;
    border-radius: 20px;
    padding-right: 20px;
    padding-left: 20px;
    padding-top: 20px;
    padding-bottom: 20px;
    box-shadow: rgba(0, 0, 0, 0.24) 0px 3px 8px;
}


/** header<767 **/
    @media screen and (max-width: 767px) {
.navbar-brand img{
    width: 50%;
}
.clinic{
    display: none;
}
.items-box-item{
    float: none;
    margin-left: auto;
    margin-right: auto;
}
.items-box-2-item{
    float: none;
    margin-left: auto;
    margin-right: auto;
}
.case-img{
    display: block;
}
.case-box{
    position: relative;
    max-width: 100%;
    padding: 20px;
    height: 420px;
}
.index-case-slide{
    position: relative;
    right: 0;
}
.case-box-link {
        display: flex;
        justify-content: center;
    }
    .column-warp .column-box p{
          display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 4;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: normal;
    }
    
 
}

/** column **/

.column-list-warp{
    padding: 60px 0 40px;
}

.title-3{
    text-align: center;
}

.title-3 h2{
    font-size: 24px;
    font-weight: 700;
    text-align: center;
    color: #ba886d;
    padding: 0;
    margin: 0;
}

.title-3 h2::before,
.title-3 h2::after {
    content: "";
    display: inline-block;
    width: 50px;
    height: 1px;
    background-color: #ba886d;
    vertical-align: middle;
    margin: 0 12px; 
}

.page-tag {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
  gap: 10px;
}

@property --d1 {
  syntax: "<percentage>";
  inherits: true;
  initial-value: 0%;
}
@property --d2 {
  syntax: "<percentage>";
  inherits: true;
  initial-value: 0%;
}

.page-tag-item a {
  display: block;
  text-align: center;
  padding: 8px 16px;
  font-weight: 700;
  text-decoration: none;
  color: #555;
  border: 1px solid #ba886d;
  background: linear-gradient(30deg, #ba886d var(--d1), #fff var(--d2));
  transition: .5s, --d1 .5s, --d2 .5s;
}

.page-tag-item a:hover,
.page-tag-item a.active {
  color: #fff;
  --d1: 100%;
  --d2: 100%;
}

.side-bar-item > a {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 15px;
  background-color: #fff;
  color: #ba886d;
  font-weight: 500;
  border-radius: 8px;
  border: 1px solid #ba886d;
  text-decoration: none;
  margin-bottom: 5px; 
  background-image: linear-gradient(90deg, #ba886d 0%, #ba886d 100%);
  background-repeat: no-repeat;
  background-position: left center;
  background-size: 0% 100%; 
  transition: background-size 0.5s ease, color 0.5s ease,
              box-shadow 0.5s ease, transform 0.5s ease;
}

.side-bar-item > a:hover {
  background-size: 100% 100%; 
  color: #fff;
}
.side-bar-item > a:focus,
.side-bar-item > a:target {
  background-size: 100% 100%;
  color: #fff;
}

.arrow {
  font-size: 0.9rem;
  transition: transform 0.3s;
}

.submenu-item a {
  display: block;
  padding: 8px 20px;
  background-color: #fdf6f2;
  color: #ba886d;
  border-radius: 6px;
  margin-bottom: 4px;
  text-decoration: none;
  font-size: 0.95rem;
  transition: all 0.3s;
}

.submenu-item a:hover {
  background-color: #ba886d;
  color: #fff;
}
.culumn-list-item {
  display: flex;
  flex-direction: column;
  background: #fff;
  border: 1px solid #e5d7ce;
    padding: 15px;
  overflow: hidden;
  box-shadow: 0 4px 10px rgba(186, 136, 109, 0.1);
  margin-bottom: 20px;
  transition: transform 0.3s, box-shadow 0.3s;
}

.culumn-list-img img {
  width: 100%;
    padding: 15px;
  height: auto;
  display: block;
  transition: transform 0.4s ease;
}

.culumn-list-item:hover .culumn-list-img img {
  transform: scale(1.05);
}

.culumn-list-text {
  padding: 12px 20px ;
}

.culumn-list-text h2 {
    border-top: 1px solid #E0E0E0;
  font-size: 1.3rem;
  color: #ba886d;
  margin-bottom: 10px;
  line-height: 1.4;
  white-space: nowrap; 
  overflow: hidden;
  text-overflow: ellipsis;
  font-weight: 700;
    padding-top: 20px;
}
.culumn-list-item .case-tag{
    white-space: nowrap;
    font-size: 16px;
    font-weight: 500;
    text-align: center;
    color: #FFFFFF;
    background-color: #ba886d;
    width: 165px;
    margin-bottom: 10px;
    padding-top: 5px;
    padding-bottom: 5px;
}

.culumn-list-text p {
  font-size: 1rem;
  color: #444;
  line-height: 1.7;
  text-align: justify;
  display: -webkit-box;
  -webkit-line-clamp: 4;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
  margin-bottom: 0;
  padding-bottom: 0;
}

.culumn-list-btn{
    position: relative;
    max-width: 100px;
    margin-left: auto;
    margin-right: auto;
    margin-top: 10px;
}

.culumn-list-btn a {
  display: inline-block;
  position: relative;
  transition: transform 0.3s ease;
}

.culumn-list-btn img {
  display: block;
    position: relative;
  transition: opacity 0.3s ease;
    width: 90%;
}

.culumn-list-btn img.unpress {
  position: relative;
  opacity: 1;
}

.culumn-list-btn img.press {
  position: absolute;
  top: 0;
  opacity: 0;
}

.culumn-list-btn a:hover {
  transform: translateY(-5px);
}

.culumn-list-btn a:hover img.press {
  opacity: 1;
}

.culumn-list-btn a:hover img.unpress {
  opacity: 0;
}

@media screen and (max-width: 1200px){
    .title-3 h2::before{
        display: none !important;
    }
    .title-3 h2::after{
        display: none !important;
    }
}

/** case **/

.case-list-warp{
    padding: 60px 0 40px;
}

.title-3 h2{
    font-size: 24px;
    font-weight: 700;
    text-align: center;
    color: #ba886d;
    padding: 0;
    margin: 0;
}

.title-3 h2::before,
.title-3 h2::after {
    content: "";
    display: inline-block;
    width: 50px;
    height: 1px;
    background-color: #ba886d;
    vertical-align: middle;
    margin: 0 12px; 
}

.page-tag {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
  gap: 10px;
}

@property --d1 {
  syntax: "<percentage>";
  inherits: true;
  initial-value: 0%;
}
@property --d2 {
  syntax: "<percentage>";
  inherits: true;
  initial-value: 0%;
}

.page-tag-item a {
  display: block;
  text-align: center;
  padding: 8px 16px;
  font-weight: 700;
  text-decoration: none;
  color: #555;
  border: 1px solid #ba886d;
  background: linear-gradient(30deg, #ba886d var(--d1), #fff var(--d2));
  transition: .5s, --d1 .5s, --d2 .5s;
}

.page-tag-item a:hover,
.page-tag-item a.active {
  color: #fff;
  --d1: 100%;
  --d2: 100%;
}

.side-bar-item > a {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 15px;
  background-color: #fff;
  color: #ba886d;
  font-weight: 500;
  border-radius: 8px;
  border: 1px solid #ba886d;
  text-decoration: none;
  margin-bottom: 5px; 
  background-image: linear-gradient(90deg, #ba886d 0%, #ba886d 100%);
  background-repeat: no-repeat;
  background-position: left center;
  background-size: 0% 100%; 
  transition: background-size 0.5s ease, color 0.5s ease,
              box-shadow 0.5s ease, transform 0.5s ease;
}

.side-bar-item > a:hover {
  background-size: 100% 100%; 
  color: #fff;
}
.side-bar-item > a:focus,
.side-bar-item > a:target {
  background-size: 100% 100%;
  color: #fff;
}
.side-bar-item .arrow {
  display: inline-block;
  transition: transform 0.3s ease;
  transform: rotate(0deg);
  -webkit-transition: transform 0.3s ease;
  -webkit-transform: rotate(0deg);
}

.side-bar-item .arrow.rotate {
  transform: rotate(180deg);
  -webkit-transform: rotate(180deg);
}

.arrow {
  font-size: 0.9rem;
  transition: transform 0.3s;
}

.submenu-item a {
  display: block;
  padding: 8px 20px;
  background-color: #fdf6f2;
  color: #ba886d;
  border-radius: 6px;
  margin-bottom: 4px;
  text-decoration: none;
  font-size: 0.95rem;
  transition: all 0.3s;
}

.submenu-item a:hover {
  background-color: #ba886d;
  color: #fff;
}
.case-list-item {
  display: flex;
  flex-direction: column;
  background: #fff;
  border: 1px solid #e5d7ce;
    padding: 15px;
  overflow: hidden;
  box-shadow: 0 4px 10px rgba(186, 136, 109, 0.1);
  margin-bottom: 20px;
  transition: transform 0.3s, box-shadow 0.3s;
}

.case-list-img img {
  width: 100%;
    padding: 15px;
  height: auto;
  display: block;
  transition: transform 0.4s ease;
}

.case-list-item:hover .case-list-img img {
  transform: scale(1.05);
}

.case-list-text {
  padding: 12px 20px ;
}

.case-list-text h2 {
    border-top: 1px solid #E0E0E0;
  font-size: 1.3rem;
  color: #ba886d;
  margin-bottom: 10px;
  line-height: 1.4;
  white-space: nowrap; 
  overflow: hidden;
  text-overflow: ellipsis;
  font-weight: 700;
    padding-top: 20px;
}
.case-list-item .case-tag{
    white-space: nowrap;
    font-size: 16px;
    font-weight: 500;
    text-align: center;
    color: #FFFFFF;
    background-color: #ba886d;
    width: 165px;
    margin-bottom: 10px;
    padding-top: 5px;
    padding-bottom: 5px;
}

.case-list-text p {
  font-size: 1rem;
  color: #444;
  line-height: 1.7;
  text-align: justify;
  display: -webkit-box;
  -webkit-line-clamp: 4;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
  margin-bottom: 0;
  padding-bottom: 0;
}

.case-list-btn{
    position: relative;
    max-width: 100px;
    margin-left: auto;
    margin-right: auto;
    margin-top: 10px;
}

.case-list-btn a {
  display: inline-block;
  position: relative;
  transition: transform 0.3s ease;
}

.case-list-btn img {
  display: block;
    position: relative;
  transition: opacity 0.3s ease;
    width: 90%;
}

.case-list-btn img.unpress {
  position: relative;
  opacity: 1;
}

.case-list-btn img.press {
  position: absolute;
  top: 0;
  opacity: 0;
}

.case-list-btn a:hover {
  transform: translateY(-5px);
}

.case-list-btn a:hover img.press {
  opacity: 1;
}

.case-list-btn a:hover img.unpress {
  opacity: 0;
}

@media screen and (max-width: 768px){
	body{
		overflow-x: none;
	}
	.header{
		margin-top: 0;
	}
}

/** 幻燈片取高至中 **/
.carousel-inner {
  background-color: #DCDCDC;
}

.carousel-item img {
  max-height: 500px;
  width: 100%;
  object-fit: contain;
  object-position: center;
  background-color: #DCDCDC;
}

@media screen and (max-width: 768px){
    .carousel-inner {
  background-color: #DCDCDC;
}

.carousel-item img {
  height: 280px;
  width: 100%;
  object-fit: contain;
  object-position: center;
  background-color: #DCDCDC;
}

}

/** 幻燈片取高至中 **/

/** map **/

.map-detail-box{
    background-color: #fff;
    box-shadow: rgba(17, 17, 26, 0.05) 0px 1px 0px, rgba(17, 17, 26, 0.1) 0px 0px 8px;
    padding-right: 15px 20px;
    margin-bottom: 30px;
}

.map-detail-box h1{
    font-size: 26px;
    font-weight: 700;
    padding-bottom: 5px;
    color: #ba886d;
}

.map-detail-box p{
    font-size: 18px;
    margin: 0;
    padding: 0;
    letter-spacing: 1.5px;
}

.map-link-img img{
    max-width: 220px;
    margin-bottom: 10px;
    margin-top: 10px;
}

.about-warp{
    padding-top: 30px;
    padding-bottom: 30px;
}

.map-link{
    color: #ba886d;
    font-weight: 700;
}
.map-link:hovor{
    color: #a36646;
    transform: 1s;
}

.masonry {
  column-count: 2;
  column-gap: 1rem;
}
.masonry img {
  width: 100%;
  display: block;
  margin-bottom: 1rem;
}

@media (max-width: 768px) {
  .masonry {
    column-count: 1;
  }
}

@media (max-width: 768px) {
    .about-box a::before{
        display: none;
    }
    .about-box a::after{
        display: none;
    }
    .about-box a .line{
        display: none;
    }
    .about-box a{
        padding-top: 0;
        padding-bottom: 20px;
    }
    .about-box .row{
        padding-bottom: 10px;
    }

}

.service-warp{
    background-color: #fff;
    box-shadow: rgba(99, 99, 99, 0.2) 0px 2px 8px 0px;
    padding-top: 20px;
}

.service-warp .service-img img{
    max-width: 85px;

}

.service-moji{
    position: relative;
}

.service-moji h2{
    font-size: 24px;
    font-weight: 700;
    margin: 0 0 10px 0;
    color: #ba886d;
}

.service-moji p{
    font-size: 17px;
    margin: 10px 0 0 0;
}

.service-moji h2::before{
  content: "";
  position: absolute;
  width: 200px;
  height: 100px;
  left: -28px;
  bottom: -60px;
  background: url('../images/service-line.png') no-repeat;
}

.service-moji .type2::before{
  content: "";
  position: absolute;
  width: 200px;
  height: 100px;
  left: -28px;
  bottom: -34px;
  background: url('../images/service-line.png') no-repeat;
}

.service-item{
    margin-top: 10px;
    margin-bottom: 10px;
}

@media(max-width: 768px){
    .service-moji h2::before{
        display: none;
}

.service-moji .type2::before{
        display: none;
}
.service-img{
    margin-left: auto;
    margin-right: auto;
}
.service-moji h2{
    text-align: center;
    margin-left: auto;
    margin-right: auto;
}
.service-moji p{
    text-align: center;
    margin-left: auto;
    margin-right: auto;
}
.service-moji{
    width: 100%;
}
}


@media(max-width: 1200px){
    .service-moji h2::before{
        display: none;
}

.service-moji .type2::before{
        display: none;
}
.medical-warp{
    padding-top: 0;
}
}

/** news **/
.news-moji h2{
    font-size: 24px;
    font-weight: 700; 
    color: #ba886d;
    margin: 0;
    padding: 0;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
     display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 1;
}

.news-moji p{
    font-size: 18px;
    margin: 0;
    padding: 0;
    white-space: wrap;
    overflow: hidden;
    text-overflow: ellipsis;
     display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
}

.news-moji{
    padding: 0 20px;
}

.news-moji hr{
    padding: 0;
    margin: 10px auto;
    width: 80%;
}

.news-moji span{
    padding: 8px 16px;
    background-color: #ba886d;
    color: #fff;
    margin-right: 15px;
    border-radius: 8px;
    font-size: 20px;
    float: left;
    font-weight: 700;
}

.column-warp .column-box img{
    width: 90%;
    padding-left: 20px;
    padding-top: 40px;
    padding-bottom: 20px;
}

.news-box-link {
    margin: 0;
    padding: 0;
    position: relative;
}

.news-box-link img {
    margin: 0;
    padding: 0;
    display: block;
    width: 100%;
    max-width: 80px;
    height: auto;
    transition: opacity 0.3s ease;
}

.news-box-link .press {
    left: 0;
    opacity: 0;
    display: none;
}

.news-box-link:hover .unpress {
    opacity: 0;
    display: none;   
    border-radius: 8px;
}

.news-box-link:hover .press {
    opacity: 1;
    position: relative;
    display: block;
    border-radius: 8px;

}

.news-list-item{
    margin-top: 25px;
    margin-bottom: 25px;
    padding: 15px 0;
}

.news-list-item:hover{
    box-shadow: rgba(0, 0, 0, 0.24) 0px 3px 8px;
    transition: 0.8s;
    border-radius: 8px;
    }


/** search **/

.search-top h2{
    font-size: 26px;
    font-weight: 700;
    text-align: center;
    color: #ba886d;
}

.search-top p{
    font-size: 15px;
    text-align: center;
    display: flex;
}

.search-item {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  border: #ba886d solid 1px;
  padding: 8px 18px;
}

.search-item-tag {
  text-align: right;
}

.search-item-tag span {
  display: block;
}

.search-item-tag p {
  margin: 0;
}

.search-moji{
    padding-top: 10px;
}

.search-moji h2{
    font-size: 26px;
    font-weight: 700; 
    color: #ba886d;
}

.search-moji h4{
    font-size: 24px;
    font-weight: 700;
    padding-left: 15px;
    color: #000;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}


.search-list a{
    list-style: none;
    text-decoration: none;
    color: #000;
    cursor: pointer !important;
}

.search-item {
  cursor: pointer;
  margin-bottom: 20px;
}

.search-item {
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  border-radius: 8px;
}

a:hover .search-item {
  box-shadow: rgba(50, 50, 93, 0.25) 0px 6px 12px -2px, rgba(0, 0, 0, 0.3) 0px 3px 7px -3px;
    cursor: pointer !important;
}

/** search// **/

.pagination .page-item {
  margin: 0 5px;
}

.pagination .page-link {
  color: #555;
  border-radius: 50%;
  transition: all 0.3s ease;
  width: 40px;
  height: 40px;
  line-height: 36px;
  text-align: center;
}

.pagination .page-item.active .page-link {
  background-color: #ba886d;
  border-color: #ba886d;
  color: white;
}

.pagination .page-link:hover {
  background-color: #ba886d;
  color: #fff;
}

.pagination .page-link {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  transition: all 0.3s ease;
}

.fa-bars,.fa-times{
    font-size: 28px;

}