html,
body {
    margin: 0;
    padding: 0;
    font-family: Arial, "Microsoft YaHei", 微软雅黑, sans-serif;
    height: 100%;
    max-height: 100%;
    width: 100%;
    background: url(../images/BG.jpg) 50% 50% no-repeat;
    background-size: cover;
    box-sizing: border-box;
    overflow: hidden;
}

/* * {
    font-family: PingFangSC-Regular, PingFang SC, "Microsoft YaHei", "Arial";
} */

a {
    text-decoration: none;
    transition: 0.2s;
    color: #90959f;

}

p {
    margin: 0;
}

img {
    line-height: 0;
    font-size: 0;
    margin: 0;
    padding: 0;
}

.logo {
    margin: 0 auto;
    width: 80vw;
    max-width: 580px;
    transition: .2s;
    display: block;
    position: absolute;
    top: 0;
}


.container {
    margin: 0 auto;
    max-width: 1200px;
    width: 100%;
    height: 98vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.container_flex {
    width: 100%;
    display: grid;
    display: flex;
    justify-content: space-around;
}

.main {
    text-align: center;
    transition: .5s;
    animation: fadeDown_In 1s;
}

@keyframes fadeDown_In {
    0% {
        margin-top: -40px;
        opacity: 0;
    }

    100% {
        margin-top: 0;
        opacity: 1;
    }
}

.title {
    margin: 0 0 20px;
    width: 90vw;
    max-width: 870px;
}



.subtitle {
    margin: 0 0 10px;
}

.subtitle_m {
    display: none;
    width: 45vw;
    max-width: 443px;
}

.subtitle02 {
    color: #d6e2f4;
    letter-spacing: .5px;
    margin: 20px 0 0 0;
    font-size: 1.1rem;
    font-size: clamp(0.9rem, 1.7vw, 1.1rem);
}

.subtitle02 .row {
    display: inline;
    vertical-align: middle;
}

.subtitle02 .row_margin {
    margin: 0 15px;
    display: inline;
    vertical-align: middle;
}

.subtitle02 img {
    margin-top: -2px;
}

.subtitle02 p,
.subtitle02 img {
    display: inline;
    vertical-align: middle;
}

.subtitle02 span {
    color: #fdedbe;
   font-weight: bold;
}



/* 介面 */
.menu {
    text-align: center;
    display: inline-block;
    transition: .4s;
}

.menuBox {
   background: url(../images/mainBg.png) 50% 50% no-repeat;
    background-size: 100% 100%;
    width: 1037px;
    height: 268px;
    padding: 15px;
    box-sizing: border-box;
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 0 auto;
}

.menuBox .content {
    display: inline-block;
}

/* 選單 */
.nav {
    display: inline-block;
    vertical-align: middle;
}

.nav ul {
    display: flex;
    margin: 0;
    padding: 0;
}

.nav ul li {
    display: flex;
    align-items: center;
    position: relative;
    margin: 0 5px;
}


.nav ul li a {
    width: 286px;
    padding-top: 47%;
}

.nav ul li:nth-child(01) a {
    display: flex;
    align-items: center;
    justify-content: center;
    background: url(../images/menu02.png) no-repeat 50% 50%;
    background-size: 100% auto;
}

.nav ul li:nth-child(01):hover a {
    background: url(../images/menu02_h.png) no-repeat 50% 50%;
    background-size: 100% auto;
}

.nav ul li:nth-child(02) a {
    display: flex;
    align-items: center;
    justify-content: center;
    background: url(../images/menu03_h.png) no-repeat 50% 50%;
    background-size: 100% auto;
    border-bottom-right-radius: 18px;
    border-top-left-radius: 18px;
    position: relative;
    overflow: hidden;
}

.nav ul li:nth-child(02):hover a {
    background: url(../images/menu03.png) no-repeat 50% 50%;
    background-size: 100% auto;
}

.nav ul li:nth-child(03) a {
    display: flex;
    align-items: center;
    justify-content: center;
    background: url(../images/menu01.png) no-repeat 50% 50%;
    background-size: 100% auto;
}

.nav ul li:nth-child(03):hover a {
    background: url(../images/menu01_h.png) no-repeat 50% 50%;
    background-size: 100% auto;
}

.nav ul li:nth-child(02) a::after {
    position: absolute;
    content: "";
    height: 80px;
    top: 180%;
    left: -10%;
    right: -10%;
    background: rgba(149, 225, 255, 0.2);
    -webkit-filter: contrast(250%);
    opacity: 0;
    transition: .4s ease-out;
    transform: rotate(-20deg);
    animation: shine 1.5s ease infinite;
    animation-delay: .8s;
}

@keyframes shine {
    0% {
        top: 180%;
        opacity: 1;
    }

    35% {
        top: -150%;
    }

    45% {
        opacity: 0;
    }

    100% {
        top: 180%;
    }
}

/* 選單end */
.copyright51115 {
    position: absolute;
    bottom: 6%;
    color: #90959f;
    font-family: PingFangSC-Regular, PingFang SC, "Microsoft YaHei", "Arial";
}

.copyright {
    position: absolute;
    bottom: 1.4%;
    color: #90959f;
    font-family: PingFangSC-Regular, PingFang SC, "Microsoft YaHei", "Arial";
}

@media screen and (max-width:1200px) {
    .container {
        width: 100%;
    }

    .menuBox {
        width: 90%;
        padding: 15px 0;
    }

    .subtitle {
        width: 54vw;
    }

    .subtitle02 .row_margin {
        margin: 0 .8vw;
    }

    .nav ul li a {
        width: 25vw;
    }
}

@media screen and (max-width:1000px) {

    html,
    body {
        background: url(../images/wap/BG_m.jpg) 50% 0% no-repeat;
        background-size: cover;
    }

    .title {
        margin: 0;
        max-width: 600px;
    }

    .menuBox {
        width: auto;
        height: 80%;
        background: none;
        padding: 0;
    }

    .subtitle {
        display: none;
    }

    .subtitle_m {
        display: block;
        text-align: center;
        margin: 3vmin auto;
    }

    .subtitle02 img {
        display: none;
    }

    .nav ul {
        flex-direction: column;
    }

    .nav ul li {
        margin: .5vh 0;
    }

    .nav ul li:nth-child(01) {
        order: 1;
    }

    .nav ul li:nth-child(02) {
        order: 2;
    }

    .nav ul li:nth-child(03) {
        order: 3;
    }

    .nav ul li a {
        max-width: 241px;
        max-height: 95px;
        width: clamp(30vw, 53vmin, 241px);
        background-size: 100% auto;
    }

    .subtitle02 p {
        font-size: min(4vw, .85rem);
        line-height: 1.5rem;
    }

    .subtitle02 .row_margin {
        display: inline-block;
    }

    .subtitle02 .row {
        display: block;
    }

}

@media screen and (max-width:500px) {

    .nav ul li a {
        width: 25vh;
        background-size: 100% auto;
    }

    .copyright51115 {
        font-size: 0.95rem;
    }
    
        .copyright {
        font-size: .7rem;
    }
}

@media screen and (max-width:340px) {
    .title {
        width: 85vw;
    }

}









.kefu{
	position: fixed;
	right: 0px;
	bottom: 4.5rem;
top: 165px;
  width: 50px;
  height: 50px;
	
}
.kefu img{
    width: 100%;
    height: 100%;
    display: block;
}
