@import url(https://fonts.googleapis.com/earlyaccess/notosanstc.css);
/* @import url(https://fonts.googleapis.com/earlyaccess/notoSeriftc.css); */
/* @import url('https://fonts.googleapis.com/css?family=Noto+Sans'); */
@import url(./font.css);
* {
    box-sizing: border-box;
}
html,
input,
button {    
    font-family: 'noto sans tc';
    font-weight: 100;
}

html {
    height: 100%;
}

img {
    display: block;
    width: 100%;
}

a {
    text-decoration: none;
}

button {
    border: 0;
    cursor: pointer;
}

body,
.main {
    min-height: 100%;
}

header {
    width: 100%;
    height: 110px;
    background: #fff;
}

header .icon-menu,
#menuClose {
    display: none;
}

.logo {
    background: #4d4d4d;
    width: 25%;
}

.logo a {
    /* height: 100%; */
    color: #fff;
}

.logo a img {
    width: 25%;
}

.logo h2 {
    font-weight: bolder;
    font-size: 4.5rem;
    font-family: sans-serif;
}

.logo span {
    font-weight: 100;
    font-size: 0.6rem;
    margin-top: 10px;
}

/* .logo a img {
    height: 100%;
    width: auto;
} */

nav,
nav ul {
    flex: 1;
}

nav {
    position: relative;
    bottom: 20%;
    transition: all .3s;
}

nav ul {
    justify-content: flex-end;
    margin-right: 8%;
}

nav ul li {
    position: relative;
}

nav ul li:after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0%;
    height: 3px;
    background: #4d4d4d;
    transition: all .3s;
}

nav ul li+li {
    margin-left: 8%;
}

nav ul li.active:after,
nav ul li:hover:after {
    width: 100%;
}

nav ul li a {
    color: #4d4d4d;
    font-size: 1rem;
    font-weight: 300;
}

nav .subInfo {
    display: none;
}

main {
    flex: 1;
}

.container {
    margin: 0 auto;
}

footer {
    background: #fff;
    padding: 0 2%;
    height: 190px;
    font-size: .9rem;
}

footer section {
    flex: 1;
    margin-bottom: 40px;
}

footer a {
    display: block;
    color: #fff;
    background: #000000;
    border-radius: 50%;
    width: 28px;
    height: 28px;
    text-align: center;
    font-size: 16px;
    margin-right: 20px;
}

footer a.icon-facebook {
    text-align: right;
    padding-right: .1em;    
    font-size: 18px;
    margin-right: 10px;
}

footer a:before {
    line-height: 28px;
}

footer .co {
    letter-spacing: .2em;
}

/*projects  start*/
.project {
    cursor: pointer;
    position: relative;
}

.project .mask {
    position: absolute;
    left: 0;
    top: 0;
    background: rgba(255, 255, 255, .5);
    height: 100%;
    width: 100%;
    opacity: 0;
    transition: all .3s;
}

.project:hover .mask {
    opacity: 1;
}

.project .block {
    overflow: hidden;
    background: #A7A7A7;
    width: 100%;
    height: 100%;
}

.project:nth-child(even) .block {
    background: #DADADA;
}
.projectChild .container {
    position: relative;
    width: 70%;
    min-height: 120vh;
    padding: 5% 0;
}
.imageList .img {
    margin-top: 30px;
}
.imageList .flex-50 .img {
    flex: 1 1 48%;
    max-width: 48%;
}
.imageList > .img:first-child {
    margin-top: 10px;
}
.btnTop {
    position: fixed;
    bottom: 10%;
    right: 10%;
    text-align: center;
    cursor: pointer;
}
.btnClose {
    cursor: pointer;
    margin-left: -46px;
}
.btnClose span {
    font-size: 20px;
}
/*projects  end*/

/*about start*/
.about .container {
    width: 85%;
    height: 120vh;
    padding: 5% 0;
}
.aboutInfo {
    flex: 1;
    margin-right: 5%;
}
.about .paragraph {
    width: 100%;
    font-size: 1.3rem;
    line-height: 2.2;
    margin-bottom: 25%;
    letter-spacing: .3rem;
}
.title {
    width: 100%;
    font-size: 5rem;
    color: #A7A7A7;
    font-weight: 400;
}
.aboutInfo .work p {
    margin-top: 10px;
    color: #666;
    font-size: 1.2rem;
    font-weight: 400;
}
.aboutImage {
    position: relative;
    flex: 1 1 40%;
    max-width: 40%;
    overflow-x: hidden;
}
.aboutImage img {
    position: absolute;
    top: 0;
    left: 50%;
    height: 100%;
    width: auto;
    transform: translateX(-50%);
}
/*about end*/

/*contact start*/
.contact .container {    
    width: 85%;
    height: 120vh;
    padding: 10% 0;
}
.contact .form,
.contact .map {
    flex: 1;
}
.contact .form {
    padding: 0 5%;
}
.contact .form .input p:after {
    content: '＊';
    margin-left: 6px;
    color: #f00;
}
.contact .form .input {
    position: relative;
}
.contact .form input {
    border: 0;
    width: 100%;
    outline: none;
    padding: 6px 0;
    margin-top: 1.5em;
}
.input .inputBorder {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 1px;
    background: #3E3A39;
}
.contact .info p {
    line-height: 2;
    font-size: 18px;
}
.tel,
.fex {
    flex: 1 1 40%;
    max-width: 40%;
}
.mail,
.add {
    flex: 1;
}
.contact .info p span {
    margin-right: 10px;
}
.contact .notice {
    color: #f00;
    font-size: 14px;
    text-align: right;
    margin-bottom: 16px;
}
.contact .submit {
    font-size: 20px;
    letter-spacing: .4em;
    width: 100%;
    padding: .6em 0;
    background: #C0C0C0;
    color: #1A1A1A;
}
/*contact end*/

/*框架  start*/
.flex {
    display: flex;
    flex-wrap: wrap;
}

.flex-c {
    display: flex;
    flex-direction: column;
}

.flex-25 {
    flex: 0 1 25%;
    max-width: 25%;
}

.justify-start {
    justify-content: flex-start;
}

.justify-end {
    justify-content: flex-end;
}

.justify-center {
    justify-content: center;
}

.justify-between {
    justify-content: space-between;
}

.justify-around {
    justify-content: space-around;
}

.align-start {
    align-items: flex-start;
}

.align-end {
    align-items: flex-end;
}

.align-center {
    align-items: center;
}
/*框架  end*/

/*rwd start*/
@media screen and (max-width: 1024px){
    header #menuClose {
        color: #fff;
        position: fixed;
        top: 5%;
        left: 8%;
        z-index: 101;
        font-size: 2rem;
    }
    header .icon-menu {
        display: block;
        margin-right: 5%;
        font-size: 27px;
        color: #4d4d4d;
    }
    nav ul.flex {
        display: none;
        background: #4d4d4d;
        position: fixed;
        top: 0;
        left: 0;
        bottom: 0;
        right: 0;
        margin-right: 0;
        padding: 15% 0;
        justify-content: space-around;
        align-items: center;
        flex-direction: column;
        height: 81%;
        z-index: 100;
    }
    nav ul li+li {
        margin-left: 0;
    }
    nav ul li a {
        font-size: 1rem;
        color: #fff;
    }
    nav .subInfo {
        display: none;
        background: #4d4d4d;
        position: fixed;
        justify-content: center;
        align-items: center;
        flex-direction: column;
        height: 25%;
        top: 75%;
        left: 0;
        bottom: 0;
        right: 0;
        margin-right: 0;
        padding-top: 2%;
        font-size: 0.8rem;
        color: #fff;
        z-index: 101;
    }
    nav .subInfo:before {
        content: '';
        position: absolute;
        top: 0;
        left: 50%;
        display: block;
        height: 1px;
        width: 90%;
        background: #fff;
        transform: translateX(-50%);
    }
    nav .subInfo li {
        line-height: 2;
    }
    .logo {
        width: 30%;
    }
    .logo a {
        height: 40%;
    }
    .about .container {
        height: auto;
        flex-direction: column;
    }
    .about .paragraph {
        font-size: 1rem;
        margin-bottom: 20px;
    }
    .aboutInfo .work p {
        font-size: 1rem;
    }
    .aboutImage {
        flex: unset;
        max-width: unset;
        margin-top: 10px;
    }
    .aboutImage img {
        position: static;
        transform: none;
        height: auto;
        width: 100%;
    }
    .contact .container {
        height: auto;
        flex-direction: column;
    }
    .contact .form {
        margin-bottom: 20px;
    }
    .contact .form .input {
        margin-bottom: 10px;
    }
    .contact .form input {
        margin-top: 6px;
        font-size: 16px;
    }
    .about .title {
        font-size: 3rem;
    }
    .aboutInfo {
        margin-left: 0
    }
    .projectsList .project {
        flex: 1 1 50%;
        max-width: 50%;
    }
    .projectChild .container {
        height: auto;
    }
    .imageList .img {
        margin-top: 10px;
    }
    .btnTop {
        right: 3%;
        bottom: 15%;
    }
    .btnTop .icon-top {
        font-size: 36px;
    }
    footer.flex {
        flex-direction: column;
        justify-content: flex-end;
        align-items: flex-start;
    }

    footer section {
        margin-bottom: 16px;
        flex: unset
    }
}
@media screen and (max-width: 768px) {
    .contact .map .info {
        flex-direction: column;
    }
    .tel, .fex {
        flex: 1;
        max-width: unset;
    }
}
@media screen and (max-width: 480px) {
    .logo a img {
        width: 60%;
    }
    .projectsList .project {
        flex: 1 1 100%;
        max-width: 100%;
    }
}
/*rwd end*/

/*字體*/

.icon-close,
.icon-top {
    color: #4d4d4d;
    font-size: 32px;
}
.icon-close {
    margin-right: 10px;
}
.icon-top {
    font-size: 48px;
    margin-bottom: 3px;
}