/* 2022-10-31 新header & footer */

/* common */
.no-list {
    list-style: none;
    padding: 0;
    margin-top: 0;
    margin-bottom: 0;
}
.max100 {
    max-width: 100%;
    margin-left: auto;
    margin-right: auto;
    display: block;
}
.inner {
    max-width: 1200px;
    margin: auto;
    padding: 0 30px;
    position: relative;
}
.trans {
    transition: all .5s;
    -moz-transition: all .5s;
    -webkit-transition: all .5s;
    -o-transition: all .5s;
    -ms-transition: all .5s;
}
.mask {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, .8);
    opacity: 0;
    z-index: -1;
    pointer-events: none;
}
#fix-top {
    height: 90px;
}
@media only screen and (max-width: 769px) {
    .inner {
        padding: 0 10px;
    }
}

/* header */
header {
    border-bottom: 1px solid #b5b5b5;   
    z-index: 2000;
    position: fixed;
    width: 100%;
    height: 90px;
    background-color: #fff;
    font-family: "MHei","Lucida Grande", "Lucida Sans Unicode", "Helvetica","Arial","Verdana","微軟正黑體", "MicrosoftJhengHeiRegular","sans-serif";
}
.main_link {
    padding: 20px 0 15px 0;
}
.top {
    float: left;
}
.fb_i {
    display: inline-block;
    width: 21px;
    height: 21px;
    background: url(../img/fb.png);
    background-size: 100% 100%;
    background-repeat: no-repeat;
    background-position: center;
}
.ig_i {
    display: inline-block;
    width: 21px;
    height: 21px;
    background: url(../img/ig.png);
    background-size: 100% 100%;
    background-repeat: no-repeat;
    background-position: center;
}
.menu {
    /*    float: right;*/
    display: flex;
    align-items: center;
    justify-content: end;
}
.menu li {
    display: inline-block;
    position: relative;
}
.menu a {
    color: #000;
    font-weight: bold;
    padding: 15px 10px;
    display: block;
    font-size: 15px;
    line-height: 1.2;
}
.menu a:hover {
    opacity: .8;
}
.menu ul {
    display: none;
    position: absolute;
    background: #023e18;
    text-align: center;
    width: 100%;
}
.menu ul:before {
    height: 0;
    width: 0;
    content: " ";
    display: block;
    border: 7px solid transparent;
    position: absolute;
    left: 50%;
    margin-left: -7px;
    top: -14px;
    border-bottom: 7px solid #023e18;
}
.menu > li:hover ul {
    display: block;
}
.menu ul li {
    display: block;
}
.menu ul a {
    font-size: 16px;
    padding: 10px;
    color: #fff;
}
header .inner {
    display: flex;
    align-items: center;
    /* justify-content: space-around; */
}
header .right_con {
    flex: 1;
    text-align: right;
}
.menu .social_wrap {
    display: flex;
    align-items: center;
}
.menu .social_wrap a {
    padding-left: 5px;
    padding-right: 5px;
    max-width: 34px;
}
.menu .line {
    margin-top: -10px;
}
.logo {
    max-width: 221px;
    display: block;
}	
@media only screen and (max-width: 1000px) {
    header {
        height: 128px;
    }
    header .inner {
        flex-wrap: wrap;
        padding: 0 15px;
    }
    header .right_con {
        flex-basis: 100%;
    }
    #fix-top {
        height: 128px;
    }
}
@media only screen and (max-width: 769px) {
    header {
        text-align: center;
        border-bottom: none;
        padding: 0;
        height: 73px;
    }
    header .inner {
        padding: 0;
        display: block;
    }
    .main_link {
        padding: 0;
    }
    .other_links > ul {
        float: right;
    }
    .other_links > ul > li {
        float: left;
        padding-top: 6px;
    }
    .top {
        padding: 20px 0 15px 0;
        position: relative;
        z-index: 3;
        background: #fff;
        box-shadow: 0 0 10px 5px rgba(0, 0, 0, 0.2);
        width: 100%;
        float: none;
    }
    .menu {
        position: absolute;
        width: 100%;
        background: #ffffff;
        left: 0;
        top: calc(-100% - 300px);
        z-index: 2;
        display: block;
        text-align: center;
    }
    .menu.act {
        top: 72px;
    }
    .menu > li {
        display: block;
        border-bottom: 1px solid #dddddd;
    }
    .menu ul {
        position: static;
    }
    .menu ul li {
        border-top: 1px solid #dddddd;
    }
    .menu ul a {
        font-size: 14px;
        background: #f2f5f3;
        color: #185640;
    }
    .logo img {
        /*        height: 40px;*/
        margin-left: 10px;
    }
    .menu .line {
        display: none;
    }
    .menu .social_wrap {
        justify-content: center;
    }
    .menu_wrap {
        position: absolute;
        top: 13px;
        right: 0;
        width: 52px;
        height: 52px;
        cursor: pointer;
    }
    .menu_icon {
        position: absolute;
        width: 32px;
        height: 32px;
        right: 10px;
        top: 14px;
    }
    .menu_icon span {
        position: absolute;
        height: 4px;
        width: 32px;
        background: #000;
        opacity: .9;
        right: 0;
    }
    .menu_icon span:nth-child(1) {
        top: 0px;
    }
    .menu_icon span:nth-child(2) {
        top: 10px;
    }
    .menu_icon span:nth-child(3) {
        top: 20px;
    }
    .menu_wrap.act .menu_icon span:nth-child(1) {
        transform: rotate(45deg);
        -moz-transform: rotate(45deg);
        -webkit-transform: rotate(45deg);
        -o-transform: rotate(45deg);
        -ms-transform: rotate(45deg);
        top: 10px;
    }
    .menu_wrap.act .menu_icon span:nth-child(2) {
        opacity: 0;
    }
    .menu_wrap.act .menu_icon span:nth-child(3) {
        transform: rotate(-45deg);
        -moz-transform: rotate(-45deg);
        -webkit-transform: rotate(-45deg);
        -o-transform: rotate(-45deg);
        -ms-transform: rotate(-45deg);
        top: 10px;
    }
    .mask.act {
        opacity: 1;
        z-index: 1;
        pointer-events: auto;
    }
    .other_links > ul ul {
        margin-left: -5px;
    }
    #fix-top {
        height: 73px;
    }
}

/* footer */
footer {
    font-family: "MHei", "Lucida Grande", "Lucida Sans Unicode", "Helvetica", "Arial", "Verdana", "微軟正黑體", "MicrosoftJhengHeiRegular", "sans-serif";
    color: #333333;
    font-size: 18px;
    overflow-x: hidden;
    line-height: 1.2;
    
    text-align: center;
    font-size: 14px;
    background-color: #fbf4e8;
    padding: 50px 10px 10px;
}
footer p {
    margin: 20px 0px 6px;
    line-height: 120%;
    font-size: 12px;
    color: #000;
}
footer a {
    color: #000;
    font-size: 12px;
    font-weight: normal;
}
footer a:hover {
    color: #000;
    opacity: 1;
}
footer .wrap {
    display: flex;
    justify-content: space-evenly;
    align-items: flex-end;
    flex-wrap: wrap;
}
footer .item {
    text-align: left;
    flex: 1;
}
footer .item:nth-of-type(3) {
    align-self: flex-start;
}
footer .tit {
    font-size: 14px;
    margin-bottom: 5px;
    font-weight: bold;
    color: #000;
}
footer .wrap li {
    margin-bottom: 5px;
}
footer .social {
    margin-bottom: 5px;
    display: flex;
}
footer .social a {
    display: inline-block;
    margin: 0 20px;
    width: 58px
}
@media only screen and (max-width: 769px) {
    footer .item {
        flex: initial;
    }
    footer .social {
        flex-basis: 100%;
        margin-top: 40px;
        justify-content: center;
    }
}

/* 2023-07-27 增加 人才招募 */
.menu .hr_btn {
    background: #000;
    color: #fff;
    line-height: 1;
    border-radius: 30px;
    padding: 10px 20px;
    text-align: center;
    font-weight: bold;
    margin: 0 20px;
    white-space: nowrap;
}
@media only screen and (max-width: 1200px) {
    .menu a {
        padding: 0 5px;
    }
    .menu .hr_btn {
        margin: 0 10px;
    }
}
@media only screen and (max-width: 769px) {
    .menu a {
        padding: 15px 10px;
    }
    .menu .hr_btn {
        margin: 0;
        border-radius: 0;
        padding: 15px 10px;
    }
}
