@charset "UTF-8";
.category {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: center;
  -ms-flex-pack: center;
  justify-content: center;
  -ms-flex-wrap: wrap;
  flex-wrap: wrap; }
  .category a {
    margin: 12px;
    font-weight: 400; }
    .category a:hover {
      color: #49ABD0; }

.active {
  color: #49ABD0; }

.top_head .breadcrumbs {
  top: 180px;
}

.projects {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -ms-flex-wrap: wrap;
  flex-wrap: wrap;
  max-width: 1200px;
  margin: 40px auto 0px;
  -ms-flex-pack: distribute;
  justify-content: space-around; }
  .projects .project {
    max-width: 375px;
    width: 100%;
    margin-top: 50px;
    display: block; }
  .projects .project .frame {
    width: 100%;
    padding-top: 75%;}
  .projects .project .mask {
    width: 100%;
    height: 100%;
    position: absolute;
    left: 0;
    top: 0; }
  .projects .project .mask img {
    width: 100%;
    height: inherit;
    display: block;
    object-fit: cover;
  }

      .projects .project .mask:before {
        content: '';
        width: 90%;
        height: 85%;
        background-color: rgba(171, 221, 239, 0.25);
        position: absolute;
        left: 50%;
        top: 50%;
        -webkit-transform: translate(-50%, -50%);
        -ms-transform: translate(-50%, -50%);
        transform: translate(-50%, -50%);
        z-index: 1;
        opacity: 0;
        -webkit-transition: all 0.3s;
        -o-transition: all 0.3s;
        transition: all 0.3s; }
      .projects .project .mask:after {
        content: '瀏覽專案';
        font-family: 'Noto Sans CJK TC';
        color: #fff;
        font-weight: 700;
        position: absolute;
        left: 50%;
        top: 50%;
        -webkit-transform: translate(-50%, -50%);
        -ms-transform: translate(-50%, -50%);
        transform: translate(-50%, -50%);
        z-index: 2;
        letter-spacing: 0.1em;
        opacity: 0;
        -webkit-transition: all 0.3s;
        -o-transition: all 0.3s;
        transition: all 0.3s; }
      .projects .project .mask:hover::before, .projects .project .mask:hover::after {
        opacity: 1; }
    .projects .project p {
      font-size: 17px;
      color: #474747;
      font-weight: 400;
      margin-left: 6px;
      width: calc(100% - 80px); }
    .projects .project .tag {
      font-size: 14px;
      line-height: 21px;
      color: #49ABD0; }
    .projects .project .ell {
      display: -webkit-box;
      overflow: hidden;
      -webkit-box-orient: vertical;
      -webkit-line-clamp: 2;
      line-height:3em;
      height: 3em; }
    .projects .project .link_arrow {
      position: absolute;
      margin-right: 0;
      right: 10px;
      bottom: 14px;
      -webkit-transition: all 0.3s;
      -o-transition: all 0.3s;
      transition: all 0.3s; }
    .projects .project:hover .link_arrow {
      right: 0; }

.pagination {
  /*margin-bottom: 61px;*/ }


/*--------------------------------------------*/

.project_case .top_head {
  margin-bottom: 0; }


  .project_title {
    background: transparent;
    transform: translateY(-50px);
    padding: 0 88px;
  }

  .project_title::after {
    content: '';
    width: 100%;
    height: 100%;
    background-color: #F5F5F5;
    position: absolute;
    left: 0;
    bottom: -50px;
    z-index: -2;
  }

  .project_case .project_title h1,
  .project_case .project_title h2 {
    display: inline;
    color: white;
    font-size: 36px;
    font-weight: 400;
    line-height: 65px;
    background: rgba(34, 34, 34, 0.8);
    padding: 0 10px;
  }

  .project_case .project_title h1 {
    position: absolute;
    top: -60px;
  }

  .breadcrumbs {
    top: initial;
  }

/*--------------------------------------------*/ 
  .project_case .top_head h1,
  .project_case .top_head h2 {
    font-size: 32px;
    background: rgba(34, 34, 34, 0.8);
    font-style: normal;
    font-weight: 400;
    color: #FFF;
    top: initial;
    bottom: 40px;
    padding: 0 10px; }
  .project_case .top_head h2 {
    position: absolute;
    bottom: -20px;
    left: 70px;
    z-index: 1;
    -webkit-transition: all 0.3s;
    -o-transition: all 0.3s;
    transition: all 0.3s; }
  .project_case .top_head .background-image {
    width: 105%;
    left: -2.5%;
    height: 560px;
    overflow: hidden;
    background-image: url(../img/project/project_01_case_header.png);
    background-size: cover; }
    .project_case .top_head .background-image img {
      position: absolute;
      left: 50%;
      -webkit-transform: translateX(-50%);
      -ms-transform: translateX(-50%);
      transform: translateX(-50%);
      top: 0; }
  .project_case .top_head .breadcrumbs {
    top: initial;
    bottom: -64px; }

.project_case .case_intro {
  width: 100%;
  height: 350px;
  background: #F5F5F5;
  padding: 48px 4vw 100px;
  margin-bottom: 0px;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -ms-flex-pack: distribute;
  justify-content: space-around; }
  .project_case .case_intro > p {
    width: 45%;
    color: #878787;
    line-height: 180%; }
  .project_case .case_intro .background_intro {
    max-width: 530px;
    width: 35%;
    min-height: 280px;
    padding: 42px;
    padding-top: 88px;
    bottom: -20px;
    background: #FFFFFF;
    border: 1px solid #EBF1F3;
    -webkit-box-shadow: 0px 4px 4px rgba(73, 171, 208, 0.05);
    box-shadow: 0px 4px 4px rgba(73, 171, 208, 0.05);
    border-radius: 5px; }
    .project_case .case_intro .background_intro:before {
      content: 'Background';
      font-family: 'Montserrat';
      font-weight: 200;
      font-size: 26px;
      /*line-height: 51px;*/
      letter-spacing: normal;
      color: #ABDDEF;
      position: absolute;
      right: 32px;
      top: 32px; }
    .project_case .case_intro .background_intro p {
      font-size: 17px;
      margin-bottom: 8px;
      color: #878787; 
      letter-spacing: normal;
    }
    .project_case .case_intro .background_intro P:nth-of-type(1):before {
      content: '座落位置 | ';
      font-weight: 500;
      font-size: 17px;
      color: #474747;  }
    .project_case .case_intro .background_intro P:nth-of-type(2):before {
      content: '作品完工時間 | ';
      font-weight: 500;
      font-size: 17px;
      color: #474747;  }
    .project_case .case_intro .background_intro P:nth-of-type(3):before {
      content: '主要材料及特殊工法 | ';
      font-weight: 500;
      font-size: 17px;
      color: #474747;  }
    .project_case .case_intro .background_intro P:nth-of-type(4):before {
      content: '工程性質  | ';
      font-weight: 500;
      font-size: 17px;
      color: #474747; }
    .project_case .case_intro .background_intro p:after {
      content: '';
      width: 4px;
      height: 8px;
      background-color: black;
      position: absolute;
      left: -12px;
      top: 10px; }

.background_intro .buttons {
  position: absolute;
  right: 0;
  bottom: -60px;
  margin-right: 0;
  transform: translate(0);
  z-index: 5;
}

.project_case .container {
  margin: 80px auto 0;
  max-width: 1280px;
  padding: 0 160px; }
  .project_case .container .head_line {
    margin-left: 0; }
  .project_case .container h2 {
    color: #49ABD0;
    font-weight: 500;
    font-size: 24px;
    margin-top: 42px;
    margin-bottom: 10px; }
  .project_case .container p {
    margin-bottom: 24px;
    color: #878787; }
  .project_case .container img {
    margin-bottom: 18px; }
  .project_case .container .buttons {
    -webkit-transform: translateY(-60px);
    -ms-transform: translateY(-60px);
    transform: translateY(-60px); }
  .project_case .container .pic_row {
    width: 100vw;
/*    overflow: hidden;*/
    height: 280px;
    margin-top: 23px;
    margin-bottom: 42px;
    -webkit-transform: translateX(-160px);
    -ms-transform: translateX(-160px);
    transform: translateX(-160px); }
  .project_case .container .pic_group {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-transform: translateX(190px);
    -ms-transform: translateX(190px);
    transform: translateX(190px);
    -webkit-transition: all 0.3s;
    -o-transition: all 0.3s;
    transition: all 0.3s; }
  .project_case .container .pic {
    min-width: 332px;
    height: 300px;
    margin: 0 10px;
    cursor: pointer;
    overflow: hidden;
    -webkit-transition: all 0.3s;
    -o-transition: all 0.3s;
    transition: all 0.3s; }
    .project_case .container .pic img {
      min-width: 280px;
      width: 100%;
      height: 100%; }
    .project_case .container .pic:hover {
      -webkit-transform: scale(1.1);
      -ms-transform: scale(1.1);
      transform: scale(1.1);
      margin: 0 20px; }
  .project_case .container .videobox {
    position: relative;
    width: 100%;
    height: 0;
    padding-bottom: 56.25%; }
    .project_case .container .videobox iframe {
      position: absolute;
      width: calc(100% - 14px);
      height: 100%;
      left: 7px;
      top: 0; }
  .project_case .container .fullscreen {
    position: relative;
    width: 100vw;
    height: 0;
    margin-top: 53px;
    padding-bottom: 56.25%;
    -webkit-transform: translateX(-160px);
    -ms-transform: translateX(-160px);
    transform: translateX(-160px); }
    .project_case .container .fullscreen iframe {
      position: absolute;
      width: 100%;
      height: 100%;
      left: 0px;
      top: 0; }

.lg-actions {
  top: 50%; }

@media (max-width: 430px) {

  .category a {
    width: 35%;
    margin: 8px 4px;
    text-align: center;
  }
  .projects {
    margin-top: 0; }
  .projects .project {
    margin-top: 20px;
    margin-bottom: 20px; }

  /*--------------------------------------------*/

  .project_title {
    padding: 14px 4vw;
    background: #F5F5F5;
    transform: translateY(0px);
  }
  
  .project_case .project_title h1,
  .project_case .project_title h2 {
    font-size: 20px;
    margin-left: 0;
    margin-top: 12px;
    max-width: 100%;
    padding: 4px 10px;
    line-height: 45px;
    position: relative;
  }

  .project_case .project_title h1 {
    position: relative;
    top: 0;
  }

  .project_case .breadcrumbs {
    background: #F5F5F5;
    position: relative;
    display: flex;
    justify-content: flex-end;
    left: 0;
    top: 0px;
    margin-right: 4vw;
    max-width: 100%;
  }

  .project_case .breadcrumbs {
    flex-wrap: wrap;
  }
  .project_case .breadcrumbs a {
     margin-right: 14px;
  }
  .project_case .breadcrumbs a::after {
    position: absolute;
    right: -11px;
  }

 /* .projects .project .mask {
    height: 35vh;
  }*/

  .project_case .case_intro {
    height: initial;
  }
  /*--------------------------------------------*/

  .project_case .top_head .background-image {
    height: 280px; }
  .project_case .case_intro {
    -ms-flex-wrap: wrap;
    flex-wrap: wrap;
    padding: 18px 4vw 40px; }
    .project_case .case_intro > p {
      width: 100%;
      display: block; }
    .project_case .case_intro .background_intro {
      /*padding: 32px;
      padding-top: 104px;
      width: 100%;
      height: auto;
      margin: 10px 18px;*/
     padding: 32px;
    padding-top: 80px;
    padding-bottom: 0px;
    width: 100%;
    height: auto;
    margin: 10px 18px;
    min-height: 240px;

 }
.project_case .case_intro .background_intro:before {
  font-size: 22px; }
.project_case .case_intro .background_intro p {
  /*font-size: 16px;*/
  margin-bottom: 4px; }
  .project_case .case_intro .background_intro p:before {
    /*font-size: 16px !important;*/
   }
  .project_case .container {
    margin-top: 60px;
    padding: 0 16px; }
    .project_case .container .title {
      font-size: 17px;
      color: #4F4F4F;
      text-align: center; }
    .project_case .container h2.head_line {
      margin-top: 20px; }
    .project_case .container .buttons {
      margin-right: 0; }
    .project_case .container .pic_row {
      -webkit-transform: translateX(0px);
      -ms-transform: translateX(0px);
      transform: translateX(0px);
      margin-bottom: 42px; }
    .project_case .container .pic_group {
      -webkit-transform: translateX(0px);
      -ms-transform: translateX(0px);
      transform: translateX(0px); }
    .project_case .container .pic {
      width: 100vw;
      margin: 0;
      margin-right: 18px; }
    .project_case .container .videobox iframe {
      width: calc(100% - 4px);
      left: 2px; }
    .project_case .container .fullscreen {
      -webkit-transform: translateX(-16px);
      -ms-transform: translateX(-16px);
      transform: translateX(-16px); } 
    .top_head .breadcrumbs {
      max-width: 100%;
      text-align: right;
      top: 80px;
      left: 20px; }
    .project_case .top_head .breadcrumbs{
        bottom: -160px;
    }
    .projects .project .link_arrow {
      bottom: 30px;
    }
}

