.phone-1 {position:fixed;  right:1%;  top:80%;  z-index:1000 }
.fb {position:fixed;  right:1%;  top:65%;  z-index:1000 }

/*手機版-側欄浮動按鈕-縮小*/
@media (max-width: 430px){ 
  .phone-1, .fb, .line-1, .ig, .map, .wechat, .shop-1, .x-twitter, .pixnet, .youtube-1, .tiktok , .thread { 
    transform: scale(0.8);
    right:0;
  }
}

.customers table {
  border-collapse: collapse;/*表格細線*/
}

.customers td, .customers th {
  border-bottom: 1px solid #ddd;
  padding: 8px;
  font-size: 14px; 
}

.customers tr:hover {background-color: #ddd;}

.customers tr:nth-child(1){background-color:#b22323; text-align: center; color: #fff;}/*表格一格灰一格白(even複數)*/


body{
  background-color: #f7f0f0;
   font-family: "Noto Serif SC", serif;
  font-weight: 400;
  color: #000;
}



label {color: #000;}



#logo h1 {
    height: auto;/*不設定高度*/
    text-align: center;
}


#logo {
  display: inline-block;
}

.topnavbar .container {
  text-align: justify;
  font-size: 0;
  padding: 0px;
}

.topnavbar .container::after {
  content: "";
  display: inline-block;
  width: 100%;
}

@media only screen and (min-width: 768px){

.navbar-nav {
    position: absolute;
    right: 2rem;
   /* background-color: rgba(255,255,255,0.3);/*回首頁按鈕背景*/
      background-color: #666;/*回首頁按鈕背景*/
}
}

.t-700 {
  font-family: 'Sawarabi Mincho', serif;
}

.fcol h4 { 
  color: #b51823;
  font-size: clamp(1.5rem, 2vw, 2rem); /*最小值 首選值 最大值 限制屬性值區間*/
  line-height:2;
   padding: 5px 20px;
}

.fcol h3 { 
  color: #b51823;
  font-size: clamp(1.5rem, 2vw, 2rem); /*最小值 首選值 最大值 限制屬性值區間*/
  line-height:2;
   padding: 5px 20px;
}

.fcol h3::before { 
    content: '\f004';
    display: block;
     font-family: "Font Awesome 6 Free";
  font-weight: 900;/* 很重要！solid icon 一定要加 */
  color: #ffcda6;
    /*height: 3rem; 
    width: 3rem;
    background-color: #ffcda6;*/
    margin-left: -10px;
    margin-bottom: -4.0rem;
    font-size: clamp(1.5rem, 3vw, 3rem);
  
}


/*編輯欄設定*/
@media only screen and (max-width: 768px){
body {
     font-size: 16px;/*螢幕寬度768px內文字大小*/
}
}



/*編輯欄設定*/
.topnavbar {
    background-color: #fff;/*頁籤底圖顏色;background-color: rgba(255,255,255,0);透明Transparent*/
    position: relative;/*relative 頁籤&banner分開不重疊;頂置 fixed;*/
}

@media only screen and (min-width: 768px){
/* 文字放大*/
#main-wrap .container {
    font-size:16px;
  line-height:30px;
  color: #000;
}
  
#foot-nav .container {
    font-size:13px;
    line-height:15px;
}}

/* 消除空白*/
body[data-type="fullpage"]:not(#managehome) #wrap>*:not(:last-child) {
    margin-bottom: 0px;
}

/*產品內頁*/
.swiper-container {
  height: auto !important; /* 將容器預設的高拿掉 */
}

.swiper-wrapper, .swiper-slide {
  height: 0 !important;
  padding-bottom: calc(750 / 1920 * 100%); /* 自定響應式圖片高度 */
}

.swiper-slide {
  width: 100% !important; /* 強制圖片寬度隨容器變更 */
}



#nav ul li a {
    font-size: 16px;/*頁籤文字大小*/
    color: #b11f1f;/*頁籤文字顏色*/
    padding: 10px 10px;/*頁籤文字間隔;padding:2px 16px 2px 16px;*/

}


#nav ul li a:hover  {
    color: #202020;/*頁籤滑過文字顏色*/
}

#nav ul li a::before {
  content:"";
  border-bottom:3px solid #b11f1f;
  width:0;
  position:absolute;
  left:0;
  right:0;
  top:35px;
  margin:0 auto;
  transition:.3s all ease;
}
#nav ul li a:hover::before {
    width: 50%;
}

#nav ul li.current a {
    color: #202020;/*頁籤按下後文字顏色*/
}



#nav .subnav {
    background-color: #6f7377;/*次頁籤底色*/
}

/*次頁籤按鈕下底線滑入特效-底線短--隱藏*/
#nav .subnav a::before {
 display: none;
}

/*產品格底圖*/


ul.product-list li a.focus h3, ul.product-list li a:hover h3 {
    color: #ab6c6e;
}
ul.product-list li h3 {
    flex: 1 0 auto;
    max-height: 3.15rem;
    margin: 0.7rem 0;
    font-size: 1.05rem;
    line-height: 1.5;
    color: #cb8688;
    overflow: hidden;
    padding: 0 16px;
}

/*title文字顏色*/
.h1title {
    text-align: center;
    color: #b41d22;
    border-bottom: 0px solid #b41d22;
    
}

.h1title::before {
  content:"";
  border-bottom:4px solid #ffcbcb;
  width:20px;

  position:absolute;
  padding-top:50px;
 
}


a {
    color: #000;/*連結顏色*/
    text-decoration: none;
}

a:hover  {
    color: #ba1b1f;/*連結顏色*/
    text-decoration: none;
}


/*圖片遮罩方式黑色或淡化*/


#bodyinhome .fcol.fcol-1, #bodyinhome .fcol.fcol-4  {
    background-image: -webkit-linear-gradient(95deg, #ba1b1f 30%, #f7f0f0 30.1%);
  padding-bottom:30px;
}

#bodyinhome .fcol.fcol-4  {
    background-image: -webkit-linear-gradient(95deg, #ba1b1f 50%, #f7f0f0 50.1%);
  padding-bottom:30px;
}

#bodyinhome .fcol.fcol-2  {
    background-image: -webkit-linear-gradient(95deg, #f7f0f0 10%, #ba1b1f 10.1%);
}

#bodyinhome .fcol.fcol-5, #bodyinhome .fcol.fcol-6 {
  background-color: #ba1b1f;
}







h2, h4, h6, .h2, .h3, .h4, .h5, .h6 {
    font-family: inherit;
    font-weight: 500;
    line-height: inherit;
    color: #000;
}


.product-list-div h2 {
    text-shadow: 0 0px 0 #333;
}





#footer {
    color: #ffffff;
    background-color: #b91923;
}

#foot-nav {
    clear: both;
    padding: 1em 0;
    border-bottom: 1px solid #fbfbfb;
   font-size: 14px;
   
}
#foot-nav ul li a {
    display: block;
    color: #fbfbfb;
    font-size: 1.06em;
    margin-right: 10px;
    padding: 8px 16px;
}
#contact-info ul li span {
    color: #fbfbfb;
}


@media only screen and (max-width: 768px){
.icon_1 {
  padding-top: 50px;
}
}

/*按鈕-文字底色變化特效*/
.custom-btn {
    padding: 5px 25px;
    outline: none !important;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    display: inline-block;
}

.btn-more1 {
    border-radius: 30px;
    border: 0px solid #000;
    color: #fff;
    font-size: clamp(14px, 2vw, 16px);
    background-color: #d75d65;
     font-weight: 500;
}
.btn-more1:hover{
    background-color: #a84148; /* 當滑鼠經過時按鈕表格底色變化 */
    color: #fff;/* 當滑鼠經過時按鈕表格文字變化 */
}

.btn-contact1 {
    border-radius: 30px;
    border: 1px solid #ccc;
    color: #fff;
    font-size: clamp(16px, 2vw, 20px);
    background-color: #666c;
    font-weight: 500;
  letter-spacing: 3px;
}
.btn-contact1:hover{
    background-color: #444; /* 當滑鼠經過時按鈕表格底色變化 */
    color: #fff;/* 當滑鼠經過時按鈕表格文字變化 */
  transform: scale(1.1);
}

/*table語法 -讓手機不會破版*/
table {
table-layout: fixed;
word-wrap:break-word;
}


.service-item img {
    object-fit: cover;
    aspect-ratio: 1 / 1; /*用這個固定比例 4/3 or 19/9 or/1/1*/
    /* height: 600px;   高度不用了*/
    width: 100%;
}

/*服務內容*/  
.service-item {
            background-color: #f8f9fa;
            border-radius: 8px;
            padding: 20px;
            transition: all 0.3s ease-in-out;
            box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}
.service-item:hover {
            transform: translateY(-10px);
            box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
        }

.service-item p {
            font-size: 16px;
            color: #b31f1f;
            line-height: 1.6;
 }

@import url(https://fonts.googleapis.com/css?family=Raleway:400,800);
figure.snip1104 {
  font-family: 'Raleway', Arial, sans-serif;
  position: relative;
  overflow: hidden;
  margin: 0 auto 0;
  min-width: 220px;
  max-width: 100%;
  min-height: 200px;
  max-height: 350px;
  width: 100%;
  background: #000000;
  color: #ffffff;
  text-align: center;
  box-shadow: 0 0 5px rgba(0, 0, 0, 0.15);
}

figure.snip1104 * {
  -webkit-box-sizing: border-box;
  box-sizing: border-box;
  -webkit-transition: all 0.4s ease-in-out;
  transition: all 0.4s ease-in-out;
}

figure.snip1104 img {
  max-width: 100%;
  position: relative;
  opacity: 0.4;
}

figure.snip1104 figcaption {
  position: absolute;
  top: 0;
  left: 0;
  bottom: 0;
  right: 0;
}

figure.snip1104 h2 {
  position: absolute;
  left: 40px;
  right: 40px;
  display: inline-block;
   color: #ffffff;
  background: #ba1b1f;
  -webkit-transform: skew(-10deg) rotate(-10deg) translate(0, -50%);
  transform: skew(-10deg) rotate(-10deg) translate(0, -50%);
  padding: 8px 3px;
  margin: 0;
  top: 50%;
  text-transform: uppercase;
  font-weight: 400;
}

figure.snip1104 img {
 aspect-ratio: 4 / 3;
 object-fit: cover; 
}

figure.snip1104 h2 span {
  font-weight: 800;
}

figure.snip1104:before {
  height: 100%;
  width: 100%;
  top: 0;
  left: 0;
  content: '';
  background: #ffffff;
  position: absolute;
  -webkit-transition: all 0.3s ease-in-out;
  transition: all 0.3s ease-in-out;
  -webkit-transform: rotate(110deg) translateY(-50%);
  transform: rotate(110deg) translateY(-50%);
}

figure.snip1104 a {
  left: 0;
  right: 0;
  top: 0;
  bottom: 0;
  position: absolute;
  z-index: 1;
}

figure.snip1104.blue {
  background: #123851;
}

figure.snip1104.blue h2 {
  background: #0a212f;
}

figure.snip1104.red {
  background: #581a14;
}

figure.snip1104.red h2 {
  background: #36100c;
}

figure.snip1104.yellow {
  background: #7f5006;
}

figure.snip1104.yellow h2 {
  background: #583804;
}

figure.snip1104:hover img,
figure.snip1104.hover img {
  opacity: 1;
  -webkit-transform: scale(1.1);
  transform: scale(1.1);
}

figure.snip1104:hover h2,
figure.snip1104.hover h2 {
  -webkit-transform: skew(-10deg) rotate(-10deg) translate(-150%, -50%);
  transform: skew(-10deg) rotate(-10deg) translate(-150%, -50%);
}

figure.snip1104:hover:before,
figure.snip1104.hover:before {
  -webkit-transform: rotate(110deg) translateY(-150%);
  transform: rotate(110deg) translateY(-150%);
}


/*首頁-誠徵照顧服務員按鈕*/
figure.btm_mov{
  position: relative;
  margin: 0 auto;
  padding: 1em;
  background-color: #dd6363;
  display: flex; 
  flex-direction: column;
  justify-content: center; 
  align-items: center;
  border-radius: 100%; 
  width: 200px; 
  height: 200px;
  color: #fff;
  text-align: center;
  transition: 0.5s;
}
figure.btm_mov:hover { background-color: #e98181; }

figure.btm_mov:before {
    position: absolute;
    display: block;
    content: '';
    width: calc(100% - 20px);
    height: calc(100% - 20px);
    top: 50%;
    left: 50%;
    border: 1px solid #fff;
    border-radius: 100%;
    transform: translate(-50%, -50%);
    transition: all .3s;
}

figure.btm_mov:hover:before {
	width: 110%;
	height: 110%;
  border: 1px solid #dd6363;
}

figure.btm_mov a {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 2;
  color: #fff;
}
