﻿@charset "utf-8";

/*關於我們*/
.C_about {
    font-size: 0.9375rem;
    line-height: 30px;
}

.C_about .about_img {
    margin: 20px 0 30px;
}

.C_about .img-mobile {
    display: none !important;
}
@media (max-width: 480px) {
    .C_about .img-mobile {
        display: inline-block !important;
    }
    .C_about .img-desktop {
        display: none !important;
    }
}

.C_about th, .C_about .table > tbody > tr > th {
    background-color: #171717;
    color: #ffffff;
    text-align: center;
    vertical-align: middle;
    white-space: nowrap;
}
.C_about .th2 {
    color: rgb(255,255,255);
    text-align: center;
    white-space: nowrap;
    border-right: #fff 1px solid;
    background-image: -moz-linear-gradient(90deg,rgb(156,0,15) 1%,rgb(191,30,45) 100%);
    background-image: -webkit-linear-gradient(90deg,rgb(156,0,15) 1%,rgb(191,30,45) 100%);
    background-image: -ms-linear-gradient(90deg,rgb(156,0,15) 1%,rgb(191,30,45) 100%);
    box-shadow: 0 2px 2px 0 rgba(0,0,0,0.2);
}



/*服務項目*/
.C_service img {
    text-align: center;
    margin: 0 auto;
}

.C_service .panel {
    margin: 0 auto 40px;
}
.C_service .panel:last-child {
    margin: 0 auto 0;
}
@media (max-width: 800px) {
    .C_service .panel {
        margin: 0 auto 30px;
    }
}



/*設備環境*/
.C_equipment {
    font-size: 1rem;
}

.C_equipment .equipment_01 {
    text-align: center;
    margin: 0 auto;
}

.C_equipment .equipment_02 {
    display: block;
    float: left;
    width: 100%;
    margin-bottom: 30px;
}
.C_equipment .equipment_02 .half {
    display: inline-block;
    float: left;
    width: calc(100% / 2);
    padding: 1px;
}
.C_equipment .equipment_02 .half p {
    display: inline-block;
    width: 100%;
    background-color: #000000;
    color: #ffffff;
    text-align: center;
    padding: 10px;
}

.C_equipment .equipment_03 {
    display: block;
    float: left;
    width: 100%;
    min-height: 494px;
    background: #e4e4e4 url("../../../upload/editor/images/P_03bg.gif") 100% 100% no-repeat;
    padding: 32px;
}

.C_equipment .equipment_03 .half_4 {
    display: inline-block;
    float: left;
    width: calc((100% - 248px) / 3 - 4px);
    vertical-align: top;
    text-align: center;
}
.C_equipment .equipment_03 .half_4:first-child {
    width: 248px;
}

.C_equipment .equipment_03 .half_4 img {
    margin: 0 auto;
}

@media (max-width: 1199px) {
    .C_equipment .equipment_03 {
        min-height: 470px;
        padding: 15px;
    }
    .C_equipment .equipment_03 .half_4 {
        width: calc((100% - 157px) / 3 - 3px);
    }
    .C_equipment .equipment_03 .half_4:first-child {
        width: 157px;
        margin-right: 6px;
    }
}
@media (max-width: 991px) {
    .C_equipment .equipment_03 .half_4 {
        width: calc((100% - 157px) / 3 - 4px);
    }
    .C_equipment .equipment_03 .half_4:first-child {
        margin-right: 10px;
    }
}
@media (max-width: 640px) {
    .C_equipment .equipment_02 .half p {
        padding: 5px;
    }
    
    .C_equipment .equipment_03 .half_4 {
        width: calc(100% / 3 - 3px);
        margin-top: 10px;
    }
    .C_equipment .equipment_03 .half_4:first-child {
        display: none;
    }
}
@media (max-width: 540px) {
    .C_equipment .equipment_03 {
        min-height: 450px;
    }
    .C_equipment .equipment_03 .half_4 {
        margin-top: 0;
        padding: 5px;
    }
}
@media (max-width: 480px) {
    .C_equipment .equipment_02 {
        margin-bottom: 0;
    }
    .C_equipment .equipment_02 .half {
        display: block;
        width: 100%;
        padding: 0;
        margin-bottom: 30px;
    }
    
    .C_equipment .equipment_03 {
        min-height: 400px;
        background-size: 70%;
    }
    .C_equipment .equipment_03 .half_4 {
        width: calc(100% / 2 - 2px);
    }
    .C_equipment .equipment_03 .half_4:last-child {
        display: none;
    }
}
@media (max-width: 432px) {
    .C_equipment .equipment_02 .half {
        margin-bottom: 20px;
    }
    
    .C_equipment .equipment_03 {
        min-height: 370px;
    }
}
@media (max-width: 400px) {
    .C_equipment .equipment_03 {
        min-height: 350px;
    }
}
@media (max-width: 360px) {
    .C_equipment .equipment_03 {
        min-height: 330px;
    }
}
@media (max-width: 346px) {
    .C_equipment .equipment_03 {
        min-height: 290px;
    }
}



/*專業證照*/
.C_license .group {
  margin-top: 15px;
}
.C_license .group.sub {
  margin-top: -10px;
}

.C_license .group .list {
  display: flex;
  flex-wrap: wrap;
  width: 100%;
  padding-bottom: 30px;
}

.C_license .group .list div.item {
  display: inline-block;
  width: calc(100% / 4 - 30px);
  background-color: #ffffff;
  border-top: 1px solid rgba(0, 0, 0, 0.05);
  -webkit-box-shadow: 0 4px 6px rgba(0, 0, 0, .175);
  box-shadow: 0 4px 6px rgba(0, 0, 0, .175);
  vertical-align: top;
  padding: 8px;
  margin: 0 15px 20px;
}
.C_license .group.sub .list div.item {
  margin-top: 20px;
}
@media (max-width: 1199px) {
  .C_license .group .list div.item {
      width: calc(100% / 3 - 30px);
      padding: 8px;
      margin: 0 15px 20px;
  }
}
@media (max-width: 640px) {
  .C_license .group .list div.item {
      width: calc(100% / 3 - 20px);
      padding: 8px;
      margin: 0 10px 20px;
  }
}
@media (max-width: 540px) {
  .C_license .group .list div.item {
      margin: 0 10px 10px;
  }
}
@media (max-width: 432px) {
  .C_license .group .list div.item {
      width: calc(100% / 2 - 20px);
      padding: 8px;
      margin: 0 10px 10px;
  }
}
@media (max-width: 360px) {
  .C_license .group .list div.item {
      width: calc(100% / 2 - 16px);
      padding: 5px;
      margin: 0 8px 10px;
  }
}



/*證書*/
.C_license .group .list div.item .pic {
  position: relative;
}

.C_license .group .list div.item .pic > img { 
    margin: 0 auto;
}

.C_license .group .list div.item .pic:before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  display: block;
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,.3);
  opacity: 0;
  transition: opacity .3s ease-in-out;
  -ms-transition: opacity .3s ease-in-out;
  -moz-transition: opacity .3s ease-in-out;
  -webkit-transition: opacity .3s ease-in-out;
  z-index: 2;
  pointer-events: none;
}
.C_license .group .list div.item:hover .pic:before {
  opacity: 1;
}
.C_license .group .list div.item:hover .pic:after {
  opacity: 1;
  transform: rotate(0);
  -ms-transform: rotate(0);
  -moz-transform: rotate(0);
  -webkit-transform: rotate(0);
}



.C_license .group .list div.item .txt {
    text-align: center;
    padding: 0 5px;
    margin: 0 0 10px;
}

.C_license .group .list div.item .name {
  color: #4e555d;
  font-size: 0.9375rem;
  line-height: 20px;
}
.C_license .group .list div:hover.item .name {
  color: #e30020;
}

.C_license .group .list div.item .price {
  color: #000;
  font-family: 'Century Gothic', Sans-serif;
  font-size: 1rem;
  line-height: 30px;
  margin-top: 5px;
}
@media (max-width: 640px) {
    .C_license .group .list div.item .name {
      font-size: 0.875rem;
    }
    .C_license .group .list div.item .price {
      font-size: 0.9375rem;
    }
}


.popBox.popBox_c {
  border: 10px solid #efefef;
  padding: 30px;
}
.popBox.popBox_c img {
  margin: 0 auto;
}






/* ===============================================================================
   歷史沿革
=============================================================================== */
#award {
    color: #000000;
    font-size: 1rem;
	padding: 0;
	margin: 0 auto;
}


#award .history-wrap .box .main { /* 左 */
    background-color: #f0f7ff;
    padding: 10px 15px 20px 15px;
    margin-bottom: 1px;
}
#award .history-wrap .box:nth-child(even) .main { /* 右 */
    background-color: #f0f0f0;
}


#award .history-wrap .box .year {
    color: #db0814;
}

#award .history-wrap .box .year span {
    display: inline-block;
    font-size: 1.625rem;
    padding-right: 5px;
}

#award .history-wrap .box .summary {
    position: relative;
    line-height: 25px;
    padding: 5px 0 0 30px;
    margin-bottom: 5px;
}
#award .history-wrap .box .summary:before {
    position: absolute;
    top: 6px;
    left: 5px;
    font-family: 'Font Awesome 5 Brands', 'Font Awesome 5 Free';
    font-size: 0.875rem;
    font-style: normal;
    font-weight: 600;
    content: '\f521';
}

@media only screen and (min-width: 641px) {
    #award .history-wrap .list {
        margin: 0 auto;
        overflow: hidden;
    }

    
    #award .history-wrap .box {
        position: relative;
        padding: 0 55% 0 0;
        margin-top: 15px;
    }
    #award .history-wrap .box:nth-child(even) {
        padding: 0 0 0 55%;
        margin-top: 15px;
    }

    
    #award .history-wrap .main {
        position: relative;
        padding: 20px;
    }
    
    #award .history-wrap .box .main {
        padding: 15px 20px 25px 25px;
        margin-bottom: 0;
    }
    
    #award .history-wrap .box:before, #award .history-wrap .box:after,
    #award .history-wrap .box .main:before, #award .history-wrap .box .main:after {
        content: "";
        position: absolute;
        top: 50%;
        pointer-events: none;
    }

    #award .history-wrap .box:before {
        right: 50%;
        width: 2px;
        height: 150%;
        background-color: #474747;
        margin-left: -2px;
    }
    #award .history-wrap .box:nth-child(even):before {
        right: auto;
        left: 50%;
    }

    #award .history-wrap .box:after {
        right: calc(55% - 14px);
        width: 0;
        height: 0;
        border-style: solid;
        border-width: 14px 0 14px 14px;
        border-color: transparent transparent transparent #f0f7ff;
        margin-top: -14px;
    }
    #award .history-wrap .box:nth-child(even):after {
        right: auto;
        left: calc(55% - 14px);
        border-width: 14px 14px 14px 0;
        border-color: transparent #f0f0f0 transparent transparent
    }

    #award .history-wrap .box .main:before {
        right: calc(-11% - 8px);
        width: 17px;
        height: 17px;
        background: #fff;
        border: 2px solid #474747;
        -webkit-border-radius: 50%;
        border-radius: 50%;
        margin-top: -9px;
    }
    #award .history-wrap .box .main:after {
        right: calc(-11% - 4px);
        width: 9px;
        height: 9px;
        background: #474747;
        -webkit-border-radius: 50%;
        border-radius: 50%;
        margin-top: -5px;
    }

    #award .history-wrap .box:nth-child(even) .main:before {
        right: auto;
        left: calc(-11% - 9px)
    }
    #award .history-wrap .box:nth-child(even) .main:after {
        right: auto;
        left: calc(-11% - 5px)
    }
}
