@charset "utf-8";
.layout_t{
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    font-size: 32px;
    color: #212121;
    margin-bottom: 16px;
}
.layout_t span{
    font-size: 40px;
    color: #322881;
    display: flex;
    align-items: center;
    position: relative;
    font-family: "Play", sans-serif;
}
.layout_t span:after{
    content: '';
    display: block;
    width: 2px;
    height: 32px;
    background: #C8222C;
    margin: 0 24px;
}
.ab_layout {
  margin: 0 auto;
  max-width: 1200px;
  /* padding: 0 20px; */
}

.ab_pic img {
  width: 100%;
  height: auto;
  display: block;
}

.about_textbox {
  background: #fff;
  margin: 0 auto;
  margin-top: -160px;
  padding: 80px;
  box-shadow: 0 4px 20px rgba(0,0,0,0.1);
  position: relative;
  max-width: 780px;
  box-sizing: border-box;
}

.about_textbox h2 {
  font-size: 24px;
  margin-bottom: 20px;
  color: #333;
}

.about_textbox h2 span {
  color: #322881; /* 主色系藍 */
  font-weight: bold;
}

.about_textbox p {
  font-size: 16px;
  line-height: 1.8;
  color: #444;
}

/* --- Services --- */
.svr_layout {
  max-width: 780px;
  margin: 40px auto 0;
  /* padding: 0 20px; */
}

.svr_layout h2 {
  font-size: 24px;
  margin-bottom: 20px;
  color: #333;
}

.svr_layout h2 span {
  color: #322881;
  font-weight: bold;
}

.svr_row {
  display: flex;
  align-items: center;
  gap: 60px;
  flex-wrap: wrap;
}
.svr_row .svr_col:first-child{
    display:flex;
    gap:24px
}
.svr_row .svr_col:last-child{
    flex:1 1 ;
}
.svr_pic {
  flex: 1 1 50%;
}

.svr_pic img {
  width: 100%;
  height: auto;
  display: block;
}

.svr_list {
  list-style: none;
  padding: 0;
  font-size: 16px;
  line-height: 1.8;
  color: #444;
}

.svr_list li+li {
  margin-top: 10px;
}

.svr_row2{
    display: flex;
    align-items: center;
    flex-direction: row;
    padding: 20px 0 0 0;
}
.svr_row2 h2{
    padding: 50px;
}
.svr_row2 p{
    padding: 0 0 0 60px;
}

/* --- RWD --- */
@media (max-width: 768px) {
  .about_textbox {
    margin-top: 0;
    padding: 40px;
  }
  .svr_row {
    flex-direction: column;
  }
  .svr_pic {
    flex: 1 1 100%;
  }
  .layout_t{
    flex-direction: column;
    font-size: 26px;
  }
  .layout_t span{
    flex-direction: column;
    line-height: 1.4;
  }
  .layout_t span:after{
    margin: 0 auto;
    height: 16px;
  }
  .svr_row2 {
    display: flex;
    align-items: center;
    flex-direction: column;
  }
  .svr_row2 h2{
    padding: 0px;
    padding-top: 15px;
    margin-bottom: 5px;
  }
  .svr_row2 p {
    padding: 0px;
  }
}
/*------------ about-editor ------------*/
    .about_row {
      display: flex;
      flex-wrap: wrap;
    }
    .about_col {
        flex: 1 1 25%;
        position: relative;
        min-height: 350px;
        overflow: hidden;
        display:flex;
        align-items:center;
        justify-content:center;
        transition: all 0.3s ease;
    }
    .about_col .num{
        font-size: 300px;
        font-family: "Play", sans-serif;
        font-weight: bold;
        background: linear-gradient(to top, rgba(255,255,255,0) 0%,rgba(255,255,255,0.6) 100%);
        -webkit-background-clip: text;
        -webkit-text-fill-color: transparent;
        line-height: 0.7;
        position: absolute;
        margin-bottom:80px;
        z-index: 10;
        /* left: 0; */
        /* right: 0; */
        /* top: 0; */
        /* bottom: 0; */
        display: none;
    }
    .about_col .about_pic{
        z-index: 0;
        position: relative;
        width: 100%;
    }
    .about_col .about_pic:before {
        content: "";
        width: 100%;
        height: 100%;
        background: rgba(0, 0, 0, 0.5);
        position: absolute;
        left: 0;
        right: 0;
        bottom: 0;
        top: 0;
        z-index: 1;
        transition: all .3s ease;
        opacity: 0;
    }
    .about_col:hover .about_pic:before {
        opacity: 1;
    }
    .about_col img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        display: block;
        transition: all 0.8s ease;
    }
    .about_col:hover img {
        transform: scale(1.2);
    }
    .about_text {
        position: absolute;
        bottom: -186px;
        padding: 0 40px;
        color: #fff;
        opacity: 1;
        transition: all ease .3s;
        box-sizing: border-box;
        width: 100%;
    }
    .about_col:hover .about_text{
        bottom: 0px;
    }
    .about_title {
      font-size: 26px;
      font-weight: bold;
      margin-bottom: 16px;
      transition: transform 0.3s ease;
      line-height: 1.4;
      text-align: left;
    }
    .about_title span{
        font-size: 20px;
        display: block;
        font-family: "Play", sans-serif;
        font-weight: normal;
        line-height: 1;
    }
    .about_desc {
        font-size: 15px;
        line-height: 1.5;
        letter-spacing:0.1em;
        transition: all .3s ease;
        opacity: 0;
        color: #d2d2d2;
        min-height: 80px;
        text-align: left;
        height: 250px;
    }
    .about_col:hover .about_desc {
      opacity: 1;
    }
/* RWD */
@media (max-width: 1000px) {
    .about_col {
        flex: 1 1 50%;
        width:50%;
    }
    .about_col img{
        width: 100% !important;
        height: 100% !important;
        object-fit: cover;
    }
}
@media (max-width: 600px) {
    .about_col {
        flex: 1 1 100%;
    }
}
/* service_area */
.service_grid {
    display: flex;
    flex-wrap: wrap;
    gap:20px;
    align-items:center;
    justify-content: center;
    width: 100%;
}
.service_item {
  flex: 1;
  background: #fff;
  padding: 40px;
  border-radius: 0;
  box-shadow: 0 2px 8px rgba(0,0,0,0.05);
  text-align: center;
  max-width: 200px;
  height: 200px;
  box-sizing: border-box;
  transition: all .3s;
}
.service_item:hover{
    background:#C8222C;
}
.service_item .icon {
    text-indent: inherit;
    white-space: nowrap;
    overflow: hidden;
    text-align: left;
    display: inline-block;
    vertical-align: middle;
    background-repeat: no-repeat;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all .3s;
}
.service_item:hover .icon img{
    filter:invert(100%);
    opacity: 1;
}
.service_item .name{
    color:#212121;
    font-size:20px;
    margin: 16px auto 0;
    transition: all .3s;
}
.service_item:hover .name{
    color:#fff;
}
/* RWD */
@media (max-width: 1024px) {
  .service_item {
    flex: 1 1 calc(50% - 20px);
  }
}
@media (max-width: 640px) {
  .service_item {
    flex: 1 1 100%;
  }
}
/*footer*/
.ic_phone{
    font-size: 20px;
    color: #444444;
    margin: -9px 15px 0 0;
    display: inline-block;
    vertical-align: middle;
}
.ic_phone:before{
    content: "\e1050";
    font-family: 'icon-font2' !important;
}
.ic_mail{
    display: inline-block;
    vertical-align: text-bottom;
    background: url(../../../images/layout04/common/siteinfo_ic.png) no-repeat;
    width: 20px;
    height: 20px;
    margin-right: 14px;
    background-position: 0 -20px;
}
.ic_fax{
    display: inline-block;
    vertical-align: text-bottom;
    background: url(../../../images/layout04/common/siteinfo_ic.png) no-repeat;
    width: 20px;
    height: 20px;
    margin-right: 14px;
    background-position: 0 -40px;
}
.ic_add{
    display: inline-block;
    vertical-align: text-bottom;
    background: url(../../../images/layout04/common/siteinfo_ic.png) no-repeat;
    width: 20px;
    height: 20px;
    margin-right: 14px;
    background-position: 0 -60px;
}
.site-info .ic-phone{
    font-size: 20px;
    width: 20px;
    color: #fff;
    margin-right: 12px;
    position: relative;
    display: inline-block;
}
.site-info .ic-envelope{
    font-size: 18px;
    width: 20px;
    color: #fff;
    margin-right: 12px;
    position: relative;
    display: inline-block;
}
.site-info .ic-fax{
    font-size: 18px;
    width: 20px;
    color: #fff;
    margin-right: 12px;
    position: relative;
    display: inline-block;
}
.site-info .ic-map-marker{
    font-size: 21px;
    width: 20px;
    color: #fff;
    margin-right: 12px;
    text-align: center;
    position: relative;
    display: inline-block;
}
/*------------ about-editor ------------*/
/*------------ about-editor ------------*/
.about-editor .title{
    font-size: 50px;
    font-weight: bold;
    color: #FFFFFF;
    line-height: 1.2;
}
.about-editor td{
    vertical-align: top;
}
.about-editor .pic2{
    padding: 0 0 0 40px;
    width: 424px;
    position: relative;
    top: 0px;
}
/*------------ service-editor ------------*/
/*------------ contact-editor ------------*/
.contact-map iframe{
    border: 10px solid#fff;
    width: 100%;
    box-sizing: border-box;
    height: 300px;
    margin: 0px 0 20px;
}
.contact-editor{
    text-align: center;
    margin: 5px 0;
}
.contact-editor .row{
    display: table;
    width: 100%;
    table-layout: fixed;
    border: 0;
}
.contact-editor .col{
    display: table-cell;
    vertical-align: top;
    padding: 0 15px;
    position: relative;
}
.contact-editor .col + .col:before{
    content: "";
    height: 100%;
    width: 1px;
    position: absolute;
    left: 0;
    top: 0;
    background: #bbbbbb;
}
.contact-info-txt{
    max-width: 200px;
    margin: 0 auto;
}
.contact-info-txt .img-ic{
    display: inline-block;
    margin-bottom: 20px;
}
.contact-info-txt a:hover{
    color: #a4a4a4;
    text-decoration: underline;
}
.info-icon-box{
    width: 45px;
    height: 45px;
    border-radius: 50%;
    margin-left: auto;
    margin-right: auto;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 10px;
    margin-top: 10px;
    background: #282828;
    color: #fff;
}
.contact-info-txt .info-icon-box [class^="ic-"] {
    font-size: 18px;
}
/*------------ video-editor ------------*/
.video-editor .pic{
    float: left;
    margin-right: 25px;
}
/*------------ terms-editor ------------*/
.terms-editor{
    font-size: 15px;
    line-height: 2;
    /*max-width: 1045px;*/
    margin: 0 auto;
}
.terms-editor .title:before{
    content: '/';
    display: inline-block;
    vertical-align: middle;
    margin-right: 5px;
    margin-top: -5px;
}
.terms-editor .title{
    color: #C8222C;
    font-size: 16px;
    margin: 0;
}
.terms-editor p{
    text-indent: 0em;
    margin: 0 0 50px;
}
.terms-editor .row{
    margin: 0 -27px;
}
.terms-editor .col{
    padding: 0 27px;
    width: 50%;
    float: left;
    box-sizing: border-box;
}
/*------------ index-editor ------------*/
/*------------ rwd ------------*/
@media screen and (max-width: 1280px){
    .about-editor .row_2 .txt_box{
        padding:50px 90px 50px 50px;
    }
}
@media screen and (max-width: 1000px){
    .about-editor .tb01 td,
    .about-editor .tb02 td,
    .service-table td,
    .service-table .pic{
        width: 100%;
        float: left;
        padding: 0;
        box-sizing: border-box;
    }
    .about-editor .pic2{
        top: 0;
    }
    .contact-editor .row,
    .contact-editor .col{
        display: block;
        width: auto;
    }
    .contact-editor .col{
        padding: 15px 0;
    }
    .contact-map iframe{
        border: 5px solid#fff;
        height: 200px;
        margin: 0px;
    }
    .contact-editor .col + .col:before {
        height: 1px;
        width: 100%;
    }
}
@media screen and (max-width: 767px){
    .terms-editor .row{
        margin: 0;
    }
    .terms-editor .col{
        padding: 0;
        width: 100%;
    }
    .contact-map{
        height: 200px;
    }
}
