@import url('https://fonts.googleapis.com/css2?family=Lato:wght@300;400;500;600;700;900&family=PT+Serif:wght@700&display=swap');

a {
    text-decoration: none;
}

.warp {
    /* width: 500px; */
    margin: auto;
}

/*-------top---------*/
.top {
    background-color: #272626;
}

.top_container {
    display: flex;
    justify-content: space-between;
    padding: 10px;
    height: 40px;
    align-items: center;
}

.top .fa-phone {
    color: #ff9933;
}

.top .tell span:hover {
    color: #ff9933;
    transition: .5s;
}

.top a {
    color: #fff;
    font-family: 'Lato', sans-serif;
    font-size: 16px;
    font-weight: 200;
}

.socialMedia {
    display: flex;
}

.socialMedia div {
    width: 20px;
    height: 20px;
    background-color: #fff;
    border-radius: 50%;
    margin-right: 5px;
    text-align: center;
    display: flex;
    flex-direction: column;
    justify-content: center;
    font-size: 5px;
}

.socialMedia div:hover {
    background-color: #ff9933;
    border-radius: 50%;
    transition: .5s;
}

/*-------nav---------*/
nav{
    position: sticky;
    top:0;
    background-color: #fff;
}
#menu_control{
    display: none;
    transition: .5s;
}
#menu_control:checked ~ nav .masterLink{
    /* display: block; */
    opacity: 1;
}
#menu_control:checked ~ nav .menu_btn{
    background-color: #ff9933;
}
#menu_control:checked ~ nav .menu_btn::before{
    background-color: #fff;
    box-shadow: 0 10px #fff, 0 -10px #fff;
}
.menu_btn{
    width: 40px;
    height: 40px;
    display: block;
    position: relative;
    transition: .5s;
}
.menu_btn::before{
    content: "";
    position: absolute;
    height: 4px;
    border-radius: 2px;
    width: 28px;
    background-color: #ff9933;
    left: 6px;
    top: 0;
    bottom: 0;
    margin: auto;
    box-shadow: 0 10px #ff9933, 0 -10px #ff9933;

}
.nav_container {
    display: flex;
    justify-content: space-between;
    flex-direction: column;
    align-items: center;
    height: 200px;
    padding: 10px;
}

nav .logo {
    display: flex;
}

nav .logo span {
    color: #535353;
    font-size: 50px;
    font-weight: 900;
    display: inline-block;
    margin-top: 12px;
    font-family: 'PT Serif', serif;
}

nav .logo img {
    width: 50px;
    padding-top: 10px;
    vertical-align: top;
}
.masterLink{
    border: 2px solid #ff9933;
    background-color: #fff;
    position: absolute;
    margin-top: 125px;
    /* display: none; */
    opacity: 0;
    transition: .5s;
}

.masterLink a {
    font-family: 'Lato', sans-serif;
    font-weight: 200;
    font-size: 15px;
    letter-spacing: 1px;
    color: #535353;
    display: block;
    width: 300px;
    padding: 16px;
    transition: .3s;
}
.masterLink a:nth-child(1){
    color: #fff;
    background-color: #ff9933;
}

.nav_btn {
    font-family: 'Lato', sans-serif;
    font-weight: 600;
    font-size: 12px;
    letter-spacing: 1px;
    color: #ff9933;
    display: inline-block;
    border: 2px solid #ff9933;
    padding: 18px 30px;
    transition: .5s;
    border-radius: 2px;
}
.nav_btn:hover{
    border: 2px solid #7abee9;
    background-color: #7abee9;
    color: #fff;
}

/*-------共用---------*/
h1 {
    font-weight: 700;
    color: #7abee9;
    font-size: 37px;
    line-height: 1.1;
    letter-spacing: 0px;
}

h2 {
    font-size: 25px;
    font-weight: 700;
    color: #535353;
    line-height: 1.2;
    letter-spacing: 0px;
}

h3 {
    font-weight: 400;
    color: #7abee9;
    font-size: 20px;
    line-height: 1.5;
}

.btn {
    font-weight: 700;
    font-size: 12px;
    color: #ffffff;
    background-color: #ff9933;
    display: inline-block;
    padding: 20px 27px;
    margin-top: 20px;
    border-radius: 2px;
    transition: .5s;
}
.btn:hover{
    background-color: #272626;
}

/*-------KV---------*/
.KV {
    background: url("../img/asset\ 4.jpeg") no-repeat center;
    background-size: cover;
    height: 320px;
    font-family: 'Lato', sans-serif;
    display: flex;
    flex-direction: column;
    justify-content: center;
    margin-top: 10px;
}
.KV .warp{
    margin: 0 0 0 20px;
}

.KV p {
    font-weight: 400;
    color: #535353;
    font-size: 18px;
    line-height: 1.2;
    letter-spacing: 0px;
    width: 220px;
}

/*-------aboutUs---------*/
.aboutUs {
    height: 820px;
    font-family: 'Lato', sans-serif;
}
.aboutUs_container {
    display: flex;
    flex-direction: column;
    align-items: center;
}
.aboutUs img {
    width: 350px;
}
.aboutUs_text {
    width: 340px;
}
.aboutUs h2 {
    padding: 40px 0 15px 0;
}
.aboutUs p {
    font-weight: 400;
    color: #8d8d8d;
    font-size: 14px;
    line-height: 1.5;
    margin-top: 30px;
}
/*-------HYCH---------*/
.HYCH {
    padding: 10px;
    padding-top: 50px;
    font-family: 'Lato', sans-serif;
    background: #f9f9f9;
    text-align: center;
}
.HYCH h3{
    width: 320px;
    margin: auto;
}
.HYCH_container {
    margin-top: 50px;
}

.type {
    display: block;
    width: 350px;
    height: 350px;
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    justify-content: end;
    color: #fff;
    text-align: center;
    font-weight: 400;
    font-size: 34px;
    line-height: 1.5;
    letter-spacing: 0px;
    padding: 20px;
    transition: .5s;
    margin: auto;
    margin-top: 30px;
}
.type_V {
    background: url("../img/asset\ 5.jpeg") no-repeat center ;
    background-size: cover ;
}
.type_A {
    background: url("../img/asset\ 6.jpeg") no-repeat center;
    background-size: cover ;
}
.type_S {
    background: url("../img/asset\ 7.jpeg") no-repeat center;
    background-size: cover ;
}

@media screen and (min-width:1200px) {
    .menu_btn{
        display: none;
    }
    .warp {
        width: 93%;
        margin: auto;
    }
    .top a {
        font-size: 20px;
    }
    .nav_container {
        display: flex;
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
        height: 90px;
        padding: 10px;
    }
    .masterLink{
        opacity: 1;
        border: none;
        background-color: none;
        margin: 0;
        padding-top: 10px;
        position: relative;
        background-color: transparent;
    }
    .masterLink a {
        font-size: 18px;
        display: inline-block;
        /* height: 40px; */
        line-height: 3.5;
        margin: 24px;
        border-bottom: 3px solid #fff;
        padding: 0;
        width: fit-content;
    }
    .masterLink a:hover {
        border-bottom: 3px solid #ff9933;
    }
    .masterLink a:nth-child(1){
        color: #535353;
        background-color: transparent;
    }
    /*-------共用---------*/
    h1 {
        font-size: 80px;
    }
    h2 {
        font-size: 50px;
    }
    h3 {
        font-size: 30px;
    }
    .btn {
        padding: 25px 54px;
        margin-top: 40px;
    }
    .btn:hover{
        background-color: #272626;
    }
    /*-------KV---------*/
    .KV {
        background: url("../img/asset\ 4.jpeg") no-repeat center;
        background-size: cover;
        height: 640px;
        font-family: 'Lato', sans-serif;
        display: flex;
        flex-direction: column;
        justify-content: center;
    }
    .KV .warp{
        margin:auto;
    }
    .KV p {
        font-size: 24px;
        width: fit-content;
    }
    /*-------aboutUs---------*/
    .aboutUs {
        height: 640px;
        display: flex;
        flex-direction: column;
        justify-content: center;
    }
    .aboutUs_container {
        display: flex;
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
    }
    .aboutUs img {
        width: 580px;
    }
    .aboutUs_text {
        width: 580px;
    }
    /*-------HYCH---------*/
    .HYCH {
        height: 700px;
        font-family: 'Lato', sans-serif;
        display: flex;
        flex-direction: column;
        justify-content: center;
        background: #f9f9f9;
        text-align: center;
    }
    .HYCH h3{
        width: fit-content;
        margin: auto;
    }
    .HYCH_container {
        display: flex;
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
    }

    .type {
        display: inline-block;
        width: 360px;
        height: 450px;
        box-sizing: border-box;
        display: flex;
        flex-direction: column;
        justify-content: end;
        color: #fff;
        text-align: center;
        font-weight: 400;
        font-size: 34px;
        line-height: 1.5;
        letter-spacing: 0px;
        padding: 40px;
        transition: .5s;
    }
    .type_V:hover {
        /* background-image:
            linear-gradient(rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.6)),
            url("../img/asset\ 5.jpeg"); */
        /*上方缺點:transition: .8s;失效*/
        background: rgba(0, 0, 0, 0.62) url("../img/asset\ 5.jpeg") no-repeat center;
        background-size: cover ;
        background-blend-mode: darken;
    }

    .type_A:hover {
        background: rgba(0, 0, 0, 0.62) url("../img/asset\ 6.jpeg") no-repeat center;
        background-size: cover ;
        background-blend-mode: darken;
    }
    .type_S:hover {
        background: rgba(0, 0, 0, 0.62) url("../img/asset\ 7.jpeg") no-repeat center;
        background-size: cover ;
        background-blend-mode: darken;
    }
    .type_V span:hover,
    .type_A span:hover,
    .type_S span:hover{
        color: #ff9933;
        transition: .8s;
    }



}