﻿@charset "utf-8";
@import url('https://fonts.googleapis.com/css?family=Muli');


/*----------------------------------------------------------------
* Basic
----------------------------------------------------------------*/
html{
  height: 100%;
  font-size: 62.5%;
}

body{
  position: relative;
  min-height: 100%;
  line-height: 1.5;
  color: #333;
  font-family: "Muli", "Microsoft JhengHei", "微軟正黑體", 'PMingLiU', sans-serif;
  font-size: 1.4rem;
  font-weight: 300;
  background: #fff;
  padding: 0;
  margin: 0;
}

/*
@media screen and (-webkit-min-device-pixel-ratio:0){
  body{
    -webkit-text-stroke-width: 0.1px;
  }
}
*/


/*----------------------------------------------------------------
* Styles
----------------------------------------------------------------*/
a{
  color: inherit;
  opacity: 1;
  transition: opacity .3s;
}
a:hover{
  opacity: .7;
}

a img{
  vertical-align: text-top;
}

.clr-fix{
  display: block;
}
.clr-fix:after{
  content: ".";
  clear: both;
  display: block;
  height: 0;
  font-size: 0;
  visibility: hidden;
}

@media screen and (max-width: 768px){
  .pc{
    display: none !important;
  }

  .sp{
    display: inherit;
  }
  img.sp{
    display: inline;
  }
}
@media screen and (min-width: 769px){
  .pc{
    display: inherit;
  }
  img.pc{
    display: inline;
  }

  .sp{
    display: none !important;
  }
}


/* Font Color
----------------------------------------*/
.fc-red{
  color: #a94442;
}
.fc-blue{
  color: #31708f;
}
.fc-green{
  color: #3c763d;
}
.fc-orange{
  color: #8a6d3b;
}


/*----------------------------------------------------------------
* Button
----------------------------------------------------------------*/
.btn{
  position: relative;
  display: inline-block;
  min-width: 120px;
  line-height: 1;
  color: #fff;
  text-align: center;
  text-decoration: none;
  background: #335997;
  border: none;
  border-radius: 5px;
  box-sizing: content-box;
  padding: 19px 24px 16px;
  transition: opacity .3s;
  cursor: pointer;
}
.btn:hover{
  opacity: .7;
}

.btn:disabled,
.btn:disabled:hover{
  background: #bbb !important;
  border: 1px solid #bbb !important;
  opacity: 1 !important;
}


/*----------------------------------------------------------------
* Form
----------------------------------------------------------------*/
*::input-placeholder{
  color: #aeb3bf;
}
*::-webkit-input-placeholder{
  color: #aeb3bf;
}
*:-ms-input-placeholder{
  color: #aeb3bf;
}
*::-moz-placeholder{
  color: #aeb3bf;
}

input[type=text],
input[type=password],
textarea,
button,
select{
  font: inherit;
  border: 1px solid #ccc;
  border-radius: 3px;
  outline: none;
  transition: border-color .3s;
}

input,
select{
  height: 34px;
  box-sizing: border-box;
  padding: 0 .5em;
}

textarea{
  line-height: 1.25;
  box-sizing: border-box;
  padding: 4px;
}

input.inputRequired,
select.inputRequired,
textarea.inputRequired{
  background: #fbf3f2;
  border: solid 1px #dfa69f;
}

input:focus,
textarea:focus,
select:focus{
  border-color: #007aff;
}

label{
  display: inline-block;
  cursor: pointer;
  margin-right: 16px;
}

/* Radio */
input[type='radio']{
  display: none;
}
input[type='radio'] + label{
  position: relative;
  display: inline-block;
  height: 24px;
  line-height: 24px;
  padding-left: 24px;
}
input[type='radio'] + label::before,
input[type='radio'] + label::after{
  content: '';
  position: absolute;
  display: inline-block;
  width: 20px;
  height: 20px;
  border: 1px solid #c6cfdb;
  border-radius: 50%;
  box-sizing: border-box;
  top: 0;
  left: 0;
}
input[type='radio'] + label::before{
  transition: all 0.3s cubic-bezier(0.455, 0.03, 0.215, 1.33) 0s;
}
input[type='radio']:checked + label::before{
  background: #007aff;
  border-width: 6px;
  border-color: #fff;
}

/* Check Box */
input[type='checkbox']{
  display: none;
}

input[type='checkbox'] + label{
  position: relative;
  display: inline-block;
  height: 24px;
  line-height: 24px;
  padding-left: 24px;
}
input[type='checkbox'] + label::before,
input[type='checkbox'] + label::after{
  content: '';
  position: absolute;
  display: inline-block;
  width: 20px;
  height: 20px;
  background: #fff;
  border: 1px solid #c6cfdb;
  box-sizing: border-box;
  top: 0;
  left: 0;
}
input[type='checkbox'] + label::before{
  transition:  0.2s linear 0s, color 0.2s linear 0s;
}
input[type='checkbox'] + label::after{
  content: "";
  line-height: 20px;
  color: #fff;
  font-family: 'Material Icons';
  font-weight: bold;
  text-align: center;
  vertical-align: text-top;
  background: url(../img/check.svg) no-repeat center center;
  background-size: 12px;
  
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  -moz-osx-font-smoothing: grayscale;
  font-feature-settings: 'liga';
}
input[type='checkbox']:checked + label::before{
  border-width: 10px;
  border-color: #007aff;
}

/* Disabled */
input[type='radio']:disabled + label::before,
input[type='checkbox']:disabled + label::before{
  background: #eaedf1;
}

input[type='checkbox']:disabled + label::after{
  content: '';
}


/*----------------------------------------------------------------
* Header
----------------------------------------------------------------*/
.g-header{
  position: fixed;
  display: block;
  width: 100%;
  box-sizing: border-box;
  top: 0;
  left: 0;
  z-index: 20000;
}

.g-header .inner-box{
  display: -webkit-box;
  display: flex; 
  -webkit-box-pack: justify;
  justify-content: space-between;
  -webkit-box-align: center;
  align-items: center;
  height: 64px;
  padding: 0 20px;
  transition: all .3s;
}
.g-header.fixed .inner-box,
.g-header.visible .inner-box{
  background: #335997;
}

.g-header a{
  color: #fff;
  text-decoration: none;
  -webkit-transition: all .3s;
  transition: all .3s;
}

@media screen and (max-width: 940px){
  .g-header .inner-box,
  .g-header.fixed .inner-box{
    position: relative;
    height: 47px;
    box-sizing: border-box;
  }
}


/* Logo
----------------------------------------*/
.g-header .logo{
  display: inline-block;
}
.g-header .logo a{
  display: block;
  font-size: 2.4rem;
  transition: all .3s;
}
.g-header .logo a:hover{
  opacity: .7;
}

@media screen and (max-width: 940px){
  .g-header .logo a{
    font-size: 2rem;
  }
}


/* Nav
----------------------------------------*/
.g-header .gnav{
  display: inline-block;
  font-size: 1.3rem;
  text-align: right;
}

.g-header .gnav li{
  display: inline-block;
  margin-left: 24px;
}
.g-header .gnav li:first-child{
  margin-left: 0;
}

.g-header .gnav li .reg{
  top: -2px;
}

.g-header .gnav-bt{
  display: none;
}

@media screen and (max-width: 940px){
  .g-header .gnav{
    position: fixed;
    width: 100%;
    height: 100%;
    background: #335997;
    -webkit-transition-timing-function: cubic-bezier(0.165, 0.84, 0.44, 1);
    transition-timing-function: cubic-bezier(0.165, 0.84, 0.44, 1);    
    -webkit-transform: translateX(100%);
    transform: translateX(100%);
    top: 0;
    right: 0;
    z-index: 1;
    transition: all .3s;
  }
  .g-header.active .gnav{
    -webkit-transform: translateX(0);
    transform: translateX(0);
  }
  
  .g-header .gnav ol{
    padding-top: 64px;
  }
  
  .g-header .gnav li{
    display: block;
    line-height: 1;
    font-size: 1.4rem;
    text-align: center;
    border-bottom: 1px dotted #fff;
    padding: 0;
    margin: 0 20px;
  }
  .g-header .gnav li:first-child{
    border-top: 1px dotted #fff;
    margin-left: 20px;
  }
  .g-header .gnav li a{
    display: block;
    color: #fff;
    padding: 16px 0;
  }
  
  .g-header .gnav-bt{
    position: absolute;
    display: block;
    width: 47px;
    height: 47px;
    top: 0;
    right: 0;
    z-index: 2;
  }
  .g-header .gnav-bt span{
    position: absolute;
    display: block;
    width: 23px;
    height: 2px;
    background: #fff;
    left: 12px;
    z-index: 1;
    transition: all .4s;
  }
  .g-header .gnav-bt span:nth-child(1){
    top: 16px;
  }
  .g-header .gnav-bt span:nth-child(2){
    top: 50%;
    margin-top: -1px;
  }
  .g-header .gnav-bt span:nth-child(3){
    bottom: 15px;
  }
  
  .g-header.active .gnav-bt span:nth-child(1){
    background: #fff;
    -webkit-transform: translateY(8px) rotate(45deg);
    transform: translateY(8px) rotate(45deg);
  }
  .g-header.active .gnav-bt span:nth-child(2){
    opacity: 0;
  }
  .g-header.active .gnav-bt span:nth-child(3){
    background: #fff;
    -webkit-transform: translateY(-6px) rotate(-45deg);
    transform: translateY(-6px) rotate(-45deg);
  }
}


/*----------------------------------------------------------------
* Footer
----------------------------------------------------------------*/
footer{
  display: block;
  border-top: 1px solid #e0e0e0;
}

footer p{
  color: #fff;
  font-size: 1.1rem;
  text-align: center;
  background: #335997;
  padding: 8px 0;
}

@media screen and (max-width: 740px){
  footer .access .info-box{
    display: block;
  }

  footer .access .info-box .company{
    width: 100%;
  }
  footer .access .info-box .address{
    margin-top: 16px;
  }
}


/*----------------------------------------------------------------
* Layout
----------------------------------------------------------------*/
.sec-box{
  padding: 80px 0;
}
.sec-box.blue{
  background: #f5f7fa;
}

.sec-wrap{
  max-width: 850px;
  margin: 0 auto;
}

.sec-wrap p.center{
  text-align: center;
}
.sec-wrap p:nth-of-type(n+2){
  margin-top: 1.5em;
}

.sec-wrap .bt-area{
  text-align: center;
  margin-top: 40px;
}

.sec-title{
  position: relative;
  line-height: 1.5;
  color: #335997;
  font-size: 3.4rem;
  font-weight: normal;
  text-align: center;
  margin-bottom: 40px;
}

.translation-txt{
  position: relative;
  color: #999;
  font-size: 1.2rem;
  border-top: 1px dotted #bbb;
  margin-top: 32px;
  padding: 24px 0 0;
}
.translation-txt::after{
  content: "";
  position: absolute;
  width: 8px;
  height: 8px;
  background: #fff;
  border-top: 3px double #bbb;
  border-right: 3px double #bbb;
  margin: auto;
  top: -8px;
  left: 0;
  right: 0;
  transform: translateX(-50%) rotate(135deg);
}

@media screen and (max-width: 740px){
  .sec-box{
    padding: 64px 0;
  }

  .sec-wrap{
    max-width: none;
    margin: 0 20px;
  }

  .sec-title{
    font-size: 2.2rem;
    margin: 0 20px 32px;
  }
}


/*----------------------------------------------------------------
* Main-View
----------------------------------------------------------------*/
.main-view{
  position: relative;
  height: 640px;
  height: 100vh;
  background: url(../img/main-ph.jpg) no-repeat top center;
  background-size: cover;
}
.main-view::after{
  content: "";
  position: absolute;
  display: block;
  width: 100%;
  height: 100%;
  background: url(../img/main-grid.png) repeat top left;
  z-index: 1;
}

.main-view .message{
  position: absolute;
  width: 100%;
  color: #fff;
  text-align: center;
  box-sizing: border-box;
  padding: 0 40px;
  top: 50%;
  -webkit-transform: translateY(-50%);
  -ms-transform: translateY(-50%);
  transform: translateY(-50%);
  z-index: 2;
}

.main-view h2{
  line-height: 1;
  font-size: 6rem;
  margin-bottom: 24px;
}
.main-view h2 small{
  display: block;
  font-size: 3rem;
  margin-top: 8px;
}

.main-view p{
  font-size: 1.6rem;
}

@media screen and (max-width: 740px){
  .main-view h2{
    font-size: 3.2rem;
  }
  .main-view h2 small{
    font-size: 2.2rem;
  }
}


/*----------------------------------------------------------------
* About
----------------------------------------------------------------*/
.about{
}

@media screen and (max-width: 740px){
}


/*----------------------------------------------------------------
* Service
----------------------------------------------------------------*/
.service{
}

.service ol{
  display: flex;
  justify-content: space-around;
  align-items: stretch;
  flex-wrap: wrap;
}

.service li{
  width: 48%;
  background: #fff;
  border: 1px solid #e0e0e0;
  border-top: 2px solid #335997;
  box-sizing: border-box;
  box-shadow: 0 5px 10px 0 rgba(0,0,0,.1);
  padding: 24px 16px;
}
.service li:nth-of-type(n+3){
  margin-top: 40px;
}

.service h3{
  font-size: 1.8rem;
  font-weight: bold;
  text-align: center;
  margin-bottom: 16px;
}
.service h3 i{
  display: block;
  color: #999;
  font-size: 1.2rem;
  font-weight: normal;
  font-style: normal;
}

@media screen and (max-width: 740px){
  .service ol{
    display: block;
  }

  .service li{
    width: 100%;
  }
  .service li:nth-of-type(n+2){
    margin-top: 40px;
  }
}


/*----------------------------------------------------------------
* Work
----------------------------------------------------------------*/
.work{
}

.work h3{
  font-size: 2.2rem;
  font-weight: bold;
  text-align: center;
  margin-bottom: 24px;
}

.work .mail-box{
  text-align: center;
  margin: 48px auto;
}

.work .pos-box .list-box{
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
}

.work .pos-box dl{
  width: 30%;
}

.work .pos-box dt{
  font-weight: bold;
}

.work .pos-box ul{
  border-left: 1px dotted #bbb;
  margin-left: 8px;
  padding-top: 8px;
}

.work .pos-box li{
  position: relative;
  font-size: 1.2rem;
  padding-left: 16px;
}
.work .pos-box li:nth-child(n+2){
  margin-top: 8px;
}
.work .pos-box li::before{
  content: "";
  position: absolute;
  display: block;
  width: 12px;
  height: 1px;
  border-top: 1px dotted #bbb;
  top: 8px;
  left: 0;
}

@media screen and (max-width: 740px){
  .work .pos-box .list-box{
    display: block;
  }

  .work .pos-box dl{
    width: 100%;
  }
  .work .pos-box dl:nth-of-type(n+2){
    margin-top: 40px;
  }
}


/*----------------------------------------------------------------
* Access
----------------------------------------------------------------*/
.access{
}

.access .sec-wrap{
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.access .map{
  position: relative;
  width: 100%;
  max-width: 500px;
}
.access .map::after{
  content: "";
  display: block;
  padding-top: 74.07407%;
}
.access .map iframe{
  position: absolute;
  width: 100%;
  height: 100%;
}

.access .info-box{
  flex: 1;
  margin-left: 40px;
}
.access .info-box .company{
  font-weight: bold;
}
.access .info-box .address{
  font-size: 1.2rem;
  margin: 0;
}

.access .info-box .translation-txt::after{
  background: #f5f7fa;
}

@media screen and (max-width: 740px){
  .access .sec-wrap{
    display: block;
  }
  
  .access .info-box{
    margin: 24px 0 0;
  }
}


/*----------------------------------------------------------------
* Contact
----------------------------------------------------------------*/
.contact{
}

.contact p{
  text-align: center;
}

.contact .required{
  color: #e90000;
  font-size: 1.2rem;
}

.contact dl{
  width: 100%;
  max-width: 480px;
  border-collapse: collapse;
  margin: 24px auto;
}
.contact dt:nth-of-type(n+2){
  margin-top: 16px;
}

.contact input[type='text']{
  width: 100%;
}
.contact textarea{
  width: 100%;
  height: 10em;
}

.contact .agree-box{
  text-align: center;
  margin: 24px 0;
}

.contact .btn-area{
  text-align: center;
  margin: 24px 0 0;
}

@media screen and (max-width: 740px){
  .contact table,
  .contact tbody,
  .contact tr,
  .contact th,
  .contact td{
    display: block;
    width: 100%;
  }
  
  .contact th,
  .contact td{
    border: none;
    padding: 8px;
  }

  .contact th{
    border-top: 1px solid #ccc;
  }

  .contact td{
    padding-bottom: 16px;
  }
  
  .contact .txt-middle,
  .contact .txt-long{
    max-width: none;
  }
}


/*----------------------------------------------------------------
* Recruit
----------------------------------------------------------------*/
.recruit{
  padding-top: 120px;
}

.recruit p{
  text-align: center;
}

.recruit .required{
  display: inline-block;
  color: #fff;
  font-size: 1.2rem;
  background: #e90000;
  border-radius: 3px;
  margin-left: 8px;
  padding: 0 8px;
}

.recruit table{
  width: 100%;
  max-width: 740px;
  border-collapse: collapse;
  margin: 24px auto;
}

.recruit th,
.recruit td{
  border: 1px solid #ccc;
  box-sizing: border-box;
  padding: 8px 16px;
}

.recruit th{
  width: 180px;
  background: #f9f9f9;
}

.recruit .txt-short{
  width: 100%;
  max-width: 5em;
}
.recruit .txt-middle{
  width: 100%;
  max-width: 20em;
}
.recruit .txt-long{
  width: 100%;
}

.recruit textarea{
  width: 100%;
  height: 8em;
}

.recruit .agree-box{
  text-align: center;
  margin: 24px 0;
}

.recruit .btn-area{
  text-align: center;
  margin: 24px 0 0;
}

@media screen and (max-width: 740px){
  .recruit{
    padding-top: 80px;
  }
  
  .recruit table,
  .recruit tbody,
  .recruit tr,
  .recruit th,
  .recruit td{
    display: block;
    width: 100%;
  }
  
  .recruit th,
  .recruit td{
    border: none;
    padding: 8px;
  }

  .recruit th{
    border-top: 1px solid #ccc;
  }

  .recruit td{
    padding-bottom: 16px;
  }
  
  .recruit .txt-middle,
  .recruit .txt-long{
    max-width: none;
  }
}
