.phone{position:fixed;  right:1%;  top:30%;  z-index:1000; }
.map{position:fixed;  right:1%;  top:45%;  z-index:1000; }

/* 首頁與內頁共用 */
.swiper-container {
  height: auto !important;
}

.swiper-wrapper, .swiper-slide {
  height: 0 !important;
}

.swiper-slide {
  width: 100% !important;
}

/* 首頁 */
#bodyinhome .swiper-wrapper, #bodyinhome .swiper-slide {
  padding-bottom: calc(850 / 1920 * 100%); /* 首頁 banner 大小 */
}

/* 內頁 */
#bodyinpage .swiper-wrapper, #bodyinpage .swiper-slide {
  padding-bottom: calc(400 / 1920 * 100%); /* 內頁 banner 大小 */
}

body{
        background-repeat: no-repeat;
  background-attachment: fixed; /*fixed固定背景; scroll捲動背景*/
  background-position:center bottom;
  background-image:url("https://static.iyp.tw/409006/files/418267b8-2353-4ab0-a6a2-9b3a5809807f.jpg");
}

.topnavbar .container {
  text-align: justify;
 padding:0px;
}

@media only screen and (max-width: 768px){
  .topnavbar .container {
  background-color:#323232;
}
}


.topnavbar .container::after {
  display: inline-block;
  width: 100%;
}

@media only screen and (min-width: 768px){
.topnavbar {
    background-color: rgba(0,0,0,0.7); 
    height: 100px;/*頁籤底圖高度*/
    padding: 0;/*頁籤間距*/
}
/* 文字放大*/
.container {
    font-size:16px;
  line-height:30px;
}
  
#foot-nav {
    font-size:13px;
}

.door img {
  margin-top: -250px;
}}



#nav ul li a {
    font-size: 15px;/*頁籤文字大小*/
    color: #fff;/*頁籤文字顏色*/
    padding: 10px 16px;/*頁籤文字間隔;padding:2px 16px 2px 16px;*/
    line-height: 1.3;
    transition: .3s;
    font-weight:bold;
}

#nav ul li a:hover  {
    color: #5ebdff;/*頁籤滑過文字顏色*/
}

#nav ul li.current a {
    color: #5ebdff;/*頁籤按下後文字顏色*/
}

#nav .subnav {
    background-color: #607489;/*次頁籤底色*/
}


h1, h2, h3, h4, h5, h6, .h1, .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;
}



ul.product-list li a.focus h3, ul.product-list li a:hover h3 {
    color: #464646;
}
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: #7a7a7a;
    overflow: hidden;
    padding: 0 16px;
}

@media only screen and (min-width: 768px){
#bodyinhome .fcol.fcol-2 { 
    width: 100%;
   background: url(https://static.iyp.tw/409006/files/9299c2de-b08f-40bf-a0b0-343b8546596d.png)no-repeat right bottom;/*底圖*/
   background-color: #eeeeee;
}}

#bodyinhome .fcol.fcol-3 .container {
        width: 100%;    
          padding: 0px; 
}

#bodyinhome .fcol.fcol-6 {
        background: #1176bd;
      
}


body.about-us .fcol.fcol-2 {
        background: #1176bd;
      
}

/*響應欄表格col-4 col-5 col-6 col-7 手機版強制2欄 寬度50%*/
@media only screen and (max-width: 576px){
.serve-item .col-4 { max-width: 50%;}
.serve-item .col-5 { max-width: 50%;}
.serve-item .col-6 { max-width: 50%;}
.serve-item .col-7 { max-width: 50%;}
}

.bg-icon  {
  background-color: #2172c2; 
  border-radius: 10px;
  width:100%; 
  height:100%;
  margin-left: auto; 
  margin-right: auto;
  transition:.3s all ease;
  padding:20px 10px 20px 10px;
}

.bg-icon:hover  {
  background-color: #234669; 
}

/*圖文按鈕特效 不知為何無法出現~~有特別存在筆記本*/
/*圖文連結特效*/
@import url(https://fonts.googleapis.com/css?family=Raleway:400,500,800);
figure.snip1084 {
  font-family: 'Raleway', Arial, sans-serif;
  color: #fff;
  position: relative;
  overflow: hidden;
  margin: 0 auto 0;
  min-width: 220px;
  max-width: 100%;
  max-height: 220px;
  width: 100%;
  background: #000000;
  text-align: center;
}

figure.snip1084 * {
  -webkit-box-sizing: padding-box;
  box-sizing: padding-box;
  -webkit-transition: all 0.3s ease-out;
  transition: all 0.3s ease-out;
}

figure.snip1084 img {
  opacity: 2;
  width: 100%;
   object-fit: cover; 
  height: 250px; /*高度*/
}

figure.snip1084 figcaption {
  top: 50%;
  left: 40px;
  right: 40px;
  position: absolute;
  -webkit-transform: translateY(-50%);
  transform: translateY(-50%);
}

figure.snip1084 figcaption h2 {
  position: relative;
  font-weight: 400;
  font-weight:bold;
  color: #fff;
  text-transform: uppercase;
  margin: 0;
  -webkit-transform: translateY(75%);
  transform: translateY(75%);
  text-shadow: black 0.1em 0.1em 0.2em;
}

figure.snip1084 figcaption h2 span {
  font-weight: 800;
}

figure.snip1084 figcaption p {
  font-size: 0.9em;
  font-weight: 500;
  opacity: 0;
  margin: 0;
}

figure.snip1084:before,
figure.snip1084:after {
  position: absolute;
  top: 20px;
  right: 20px;
  bottom: 20px;
  left: 20px;
  content: '';
  opacity: 0;
  -webkit-transition: opacity 0.6s, -webkit-transform 0.6s;
  transition: opacity 0.6s, -webkit-transform 0.6s, -moz-transform 0.6s, -o-transform 0.6s, transform 0.6s;
}

figure.snip1084:before {
  border-top: 1px double #fff;
  border-bottom: 1px double #fff;
  -webkit-transform: scale(0, 1);
  transform: scale(0, 1);
}

figure.snip1084:after {
  border-right: 1px double #fff;
  border-left: 1px double #fff;
  -webkit-transform: scale(1, 0);
  transform: scale(1, 0);
}

figure.snip1084 a {
  left: 0;
  right: 0;
  top: 0;
  bottom: 0;
  position: absolute;
  z-index: 1;
}

figure.snip1084.blue {
  background: #0a212f;
}

figure.snip1084.red {
  background: #1176bd;
}

figure.snip1084.yellow {
  background: #562e0a;
}

figure.snip1084:hover img,
figure.snip1084.hover img {
  opacity: 0.2;
  -webkit-filter: blur(5px);
  filter: blur(5px);
  -webkit-transform: scale(1.1);
  transform: scale(1.1);
}

figure.snip1084:hover figcaption h2,
figure.snip1084.hover figcaption h2,
figure.snip1084:hover figcaption p,
figure.snip1084.hover figcaption p {
  opacity: 1;
  border-color: rgba(17, 118, 189, 0.5);
  -webkit-transition-delay: 0.2s;
  transition-delay: 0.2s;
  -webkit-transform: translateY(0);
  transform: translateY(0);
}

figure.snip1084:hover figcaption p,
figure.snip1084.hover figcaption p {
  -webkit-transition-delay: 0.3s;
  transition-delay: 0.3s;
}

figure.snip1084:hover:before,
figure.snip1084.hover:before,
figure.snip1084:hover:after,
figure.snip1084.hover:after {
  opacity: 0.8;
  -webkit-transform: scale(1);
  transform: scale(1);
}



