@import url('https://fonts.googleapis.com/css2?family=Noto+Serif+TC:wght@300;400;500;600;700;900&display=swap');

:root {
    --main1: #9a5e1d;
    --main2: #863f00;
    --mg1: 1rem;
    --color-black: #333;
    --color-light-black: #8a8a8a;
    --color-gray: #8e8e8e;
    --color-dark-gray: #979797;
    --color-light-gray: #979797;
    --color-orange: #fe4201;
    --color-red: #ff311a;
    --color-green: #6EC446;
    --backgroud-black: #363636;
    --backgroud-gray: #F4F4F4;
    --backgroud-dark-gray: #dedede;
    --backgroud-orange: rgba(254, 66, 1, .1);
    --swiper-pagination-color: #fe4201;
}


html { font-size: calc(100 * 100vw / 1920); }
body { font-family: 'Noto Serif TC', serif; font-size: .16rem; font-weight: 500;}
a {
    background: transparent;
    text-decoration: none;
    -webkit-tap-highlight-color: transparent;
    color: var(--color-black);
    cursor: pointer;
}


/* header 1 */

.wrap-header {
    background-color: #fff;
    width: auto;
}

.wrap-header .top-nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin: 0 auto;
    padding: .1rem 1rem .1rem .8rem;
    background: rgba(255, 255, 255, .8);
    box-sizing: border-box;
}
.top-user {
    display: flex;
    align-items: center;
    margin-left: .15rem;
    /* padding: 10px 20px;
    background: rgba(223, 237,243, .8); */
    border-radius: 5px;
    position: relative;
}

.top-user a.user-name {
    padding: 0 .18rem 0 .06rem;
    min-width: 1rem;
    max-width: 1.2rem;
    height: .4rem;
    line-height: .4rem;
    color: #fff;
    font-size: .14rem;
    text-align: center;
    border-radius: 6px;
    background-image: linear-gradient(#019cd4, #247b9a, #4ccfff);
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    transition: opacity .6s ease;
}
.top-user a.user-name::after{
    content: ".";
    width:0;
    height:0;
    border-width: .05rem .05rem 0;
    border-style: solid;
    border-color: #fff transparent transparent;
    position: absolute;
    right: .07rem;
    top: 0;
    bottom: 0;
    margin: auto;
}
.top-user a.user-name i,.jump-list li a i{
    display: block;
    background: red;
    height: .16rem;
    line-height: 15px;
    width: .16rem;
    text-align: center;
    top: -.06rem;
    right: -.06rem;
    z-index: 1000;
    position: absolute;
    font-style: inherit;
    border-radius: 50%;
}
.jump-list li a i{
    color: #fff;
    top: 0;
    bottom: 0;
    margin: auto;
    right: .06rem;
    font-size: .1rem;
}
.top-user a.user-name:hover {
    opacity: .8;
}

.top-user button {
    padding: 0;
    width: .8rem;
    height: .32rem;
    line-height: .32rem;
    color: #fff;
    font-size: .14rem;
    text-align: center;
    border-radius: 6px;
    background-image: linear-gradient(#019cd4, #247b9a, #4ccfff);
    cursor: pointer;
    transition: opacity .6s ease;
    outline: none;
}

.top-user button:last-child {
    margin-left: .16rem;
}

.top-user button:hover {
    opacity: .8;
}
.jump-list{
    position: absolute;
    top: .4rem;
    left: 0;
    right: 0;
    margin: auto;
    background: rgba(223, 237,243, .8);
}
.jump-list li{

}
.jump-list li:not(:last-child){
    border-bottom: 1px solid #fff;
}
.jump-list li a{
    display: block;
    text-align: center;
    line-height: .38rem;
    height: .38rem;
    position: relative;
}
.logo {
    display: block;
    width: 2.6rem;
    height: 1rem;
    background: url('../images/logo.png') no-repeat center center;
    background-size: contain;
}

.page-index .wrap-header .top-nav .logo {
    width: 3.96rem;
    height: 1.54rem;
}

.page-user .top-user {
    position: relative;
    top: auto;
    right: auto;
}

.nav {
    padding: 0;
    font-size: .16rem;
    flex: 1
}

.nav ul {
    display: flex;
    justify-content: space-evenly;
    align-items: center;
    margin: 0 auto;
    padding: 0;
    height: .88rem;
}

.nav ul li {
    padding: 0rem .16rem;
    border-radius: .18rem;
    transition: background .6s ease;
}

.nav ul li.on,
.nav ul li:hover {
    background: rgba(255, 255, 255, .65);
}


.nav ul li a {
    position: relative;
    display: block;
    width: .96rem;
    height: .46rem;
    background-position: center;
    background-repeat: no-repeat;
    background-size: contain;
}
.nav ul li:nth-child(1) a {
    background-image: url(../images/nav-1.png);
}
.nav ul li:nth-child(2) a {
    background-image: url(../images/nav-2.png);
}
.nav ul li:nth-child(3) a {
    background-image: url(../images/nav-3.png);
}
.nav ul li:nth-child(4) a {
    background-image: url(../images/nav-4.png);
}
.nav ul li:nth-child(5) a {
    background-image: url(../images/nav-5.png);
}
.nav ul li:nth-child(6) a {
    background-image: url(../images/nav-6.png);
}
.nav ul li:nth-child(7) a {
    background-image: url(../images/nav-7.png);
}

.nav ul li a.selected i,
.nav ul li a:hover span {
    color: var(--main1);
    animation: jump ease 1.5s 1;
    -webkit-animation: jump ease 1.5s 1;
}

.nav ul li a.selected,
.nav ul li a:hover {
    color: var(--main1);
}

.nav ul li span {
    display: block;
    font-size: .3rem;
    line-height: 1;
    color: #4c7f96;
}

.nav ul li em {
    display: block;
    margin-top: .4rem;
    line-height: 1;
}
.nav ul li.children{
    position: relative;    
}
.nav ul li.children i{
    position: absolute;
    bottom: 0;
    top: 0;
    right: 0;
    margin: auto;
    width: .02rem;
    height: .3rem;
    border: .08rem solid transparent;
    border-top: .08rem solid #2f2618;
    margin-top: .19rem;
}
.nav ul li .nav-list{
    position: absolute;
    top: .52rem;
    left: 0;
    right: 0;
    margin: auto;
    background: rgba(223, 237,243, .8);
    display: flex;
    flex-direction: column;
}
.nav ul li .nav-list li{}
.nav ul li .nav-list li a{
    background: none;
    display: block;
    text-align: center;
    line-height: .38rem;
    height: .38rem;
    position: relative;
}
.nav ul li .nav-list li:hover{
    background: none;
}
.nav ul li .nav-list li:not(:last-child) {
    border-bottom: 1px solid #fff;
    border-radius: inherit;
}
/* header 2 */

/* rNav1 */

.rNav{
    position: fixed;
    background: #4d7cc9;
    padding: .4rem 0 .2rem;
    top: 50%;
    left: 0.2rem;
    transform: translateY(-50%);
    margin: auto;
    z-index: 1100;
    border-radius: 40px 40px 8px 8px;
    /* width: 3.04rem; */
}
.rNav .rNav-title{
    font-size: 0;
    width: 3.04rem;
    height: 2.44rem;
    background: url(../images/rNav-pet.png) no-repeat center bottom;
    background-size: contain;
    position: absolute;
    top: -2rem;
    left: -.28rem;
    right: 0;
    margin: auto;
}
.rNav .rNav-sec{
    position: relative;
    z-index: 100;
}
.rNav .rNav-sec ul{
    max-height: 3rem;
    min-width: 1.8rem;
    overflow: auto;
    margin: auto;
    padding: 0rem .24rem 0;
}
.rNav .rNav-sec ul li{
    background: url(../images/rNav-li.png) no-repeat center bottom;
    background-size: contain;
    line-height: .5rem;
}
.rNav .rNav-sec ul li a{
    color: #fff;
    font-size: .18rem;
    letter-spacing: 1px;
    width: 100%;
    display: block;
    text-align: center;
}
.rNav .rNav-sec ul li:hover a{
    color: #f1c942;
}

/* rNav2 */

/*footer*/
.footer {
    position: absolute;
    bottom: 0;
    width: 100%;
    background-color: #222;
    z-index: 99;
    margin-top: .3rem;
}
.footer .terms{ margin: 1em auto;}
.footer .terms a{ color: #fff; text-decoration: underline; margin: 1em;}

.page-reg .wrap-body {
    min-height: calc(100vh - 1.14rem);
}

.page-reg .footer {
    position: relative;
    bottom: auto;
    background: rgba(0, 0, 0, .7);
    left: auto;
    margin: 0;
    min-height: 1.14rem;
}

.foot {
    display: flex;
    justify-content: space-between;
    width: 12rem;
    max-width: 100%;
    margin: 0 auto;
    padding: .1rem;
    flex-wrap: nowrap;
    align-items: center;
}

.foot .copy {
    display: flex;
    justify-content: space-between;
    width: calc(100% - 2.6rem);
    flex-wrap: wrap;
    min-width: 4.5rem;
}

.foot .fm {
    display: flex;
    align-items: center;
}

.foot span {
    color: #fff;
    font-family: Microsoft YAHEI;
    font-size: .12rem;
}

.fl {
    display: flex;
    margin-right: 1.5em;
    width: auto;
    flex-wrap: wrap;
}

.footer .fl img {
    float: left;
    margin-top: .05rem;
    width: 3.12rem;
    object-fit: contain;
}

.fl span {
    margin: .1rem 0 0 .1rem;
}

.fr {
    flex-shrink: 0;
    display: flex;
    align-items: center;
}

.footer .fr img {
    float: left;
    width: .44rem;
    margin-right: .08rem;
}
/* footer em */

/* pagenum */
.pagenum-blue {
    margin-top: .4rem;
    text-align: center;
    font-size: .18rem;
}

.pagenum-blue li {
    display: inline-block;
    margin: 0.5em;
    padding: 0.25em 0.5em;
    color: #fff;
    border-radius: 0.25em;
    background-color: #9a5e1d;
    cursor: pointer;
}

.pagenum-blue li.selected {
    background-color: #703b00;
    cursor: auto;
}

.pagenum-blue li.disabled {
    opacity: 0.5;
    cursor: auto;
    color: #fff;
    background: #bbb;
}
.pagenum-blue li input{
    width: .3rem;
    border: 1px solid #9a5e1d;
}
.pagenum-blue li.total{
    background: none;
    color: #9a5e1d;
}
.pagenum-blue li.total a{
    display: inline-block;
    margin: 0.5em;
    padding: 0.25em 0.5em;
    color: #fff;
    border-radius: 0.25em;
    background-color: #9a5e1d;
    cursor: pointer;
}
/* pagenum em */
/* roll 1 */
.roll::-webkit-scrollbar {
    width: .08rem;
}

.roll::-webkit-scrollbar-track {
    background-color: #e2e6eb;
    -webkit-border-radius: 2em;
    -moz-border-radius: 2em;
    border-radius: 2em;
}

.roll::-webkit-scrollbar-thumb {
    background-color: #cbb872;
    -webkit-border-radius: 2em;
    -moz-border-radius: 2em;
    border-radius: 2em;
}
.rNav .roll::-webkit-scrollbar-track {
    background-color: #90a7ce;
}

.rNav .roll::-webkit-scrollbar-thumb {
    background-color: #274a83;
}
/* roll em */
@media (max-width: 450px) {
    html { font-size: calc(100 * 100vw / 750); }
    body { font-size: .20rem; }

    .rNav .roll::-webkit-scrollbar {
        width: .04rem;
        height: .1rem;
        
    }

    .wrap-header .top-nav, .page-index .wrap-header .top-nav {
        padding: 0.5em;
    }
    .page-index .wrap-header .top-nav .logo, .wrap-header .top-nav.fixed .logo, .wrap-header .top-nav .logo {
        width: 1.8rem;
        height: .7rem;
    }

    .top-user {
        padding: 0;
        background: none;
    }
    .top-user button,
    .top-user a.user-name {
        width: auto;
        min-width: .6rem;
        height: auto;
        line-height: initial;
        font-size: .22rem;
        max-width: 2rem;
        padding: .04rem .18rem .04rem .06rem;
    }

    .top-user button:last-child {
        margin-left: .04rem;
    }
    .login-infoWrap {
        display: flex;
        align-items: center;
    }
    .menuBtn {
        display: block;
        width: .4rem;
        margin-left: 1.5em;
        position: relative;
    }
    .menuBtn span {
        display: block;
        width: 100%;
        height: 2px;
        background-color: var(--main1);
    }
    .menuBtn span:not(:last-child) {
        margin-bottom: .06rem;
    }
    .menuBtn::before {
        content: '';
        display: block;
        position: absolute;
        top: 0;
        bottom: 0;
        left: -0.75em;
        width: 1px;
        height: 100%;
        background-color: #e1e1e1;
        z-index: 999;
    }
    .nav {
        position: fixed;
        top: .9rem;
        left: 0;
        width: 100%;
        height: 0;
        background: rgb(0, 0, 0, .75);
        overflow: hidden;
        transition: all .5s ease-in-out;
        z-index: 1000;
    }

    .nav.show {
        height: 100vh;
    }

    .nav ul {
        display: block;
        width: 100%;
        height: auto;
    }

    .nav ul li {
        width: 100%;
        border-top: 1px solid #e1e1e1;
        background-color: #fff;
        border-radius: 0;
        padding: .2rem 0;
    }

    .nav ul li:nth-child(2) {
        display: none;
    }

    .nav ul li a {
        margin: 0 auto;
        width: 100%;
        height: .6rem;
    }

    .nav ul li span {
        margin-right: .4rem;
    }

    .nav ul li em {
        margin-top: 0;
        font-size: .16rem;
    }

    .nav.show:after {
        content: " ";
        position: fixed;
        width: 100vw;
        height: 100vh;
        z-index: -1;
        left: 0;
        top: 0;
        opacity: 0;
    }
    .nav ul li .nav-list li a{
        font-size: .26rem;
        font-weight: bold;
        color: #3c5266;
    }
    .rNav{
        top: auto;
        bottom: 0;
        left: 0;
        width: 100%;
        transform: initial;
        padding: .22rem 0;
        border-radius: initial;
    }
    .rNav .rNav-title{
        display: none;
    }
    .rNav .rNav-sec {
        margin: 0 .1rem;
    }
    .rNav .rNav-sec ul{
        display: flex;
        padding: 0 0 .1rem;
    }
    .rNav .rNav-sec ul li{
        position: relative;
        flex-shrink: 0;
        text-align: center;
        transition: all .6s ease;
        background: rgba(251 249 245 / 40%);
        border-radius: 6px;
        padding: .04rem .16rem;
    }
    .rNav .rNav-sec ul li:not(:last-child){        
        margin-right: .2rem;
    }
    .rNav .rNav-sec ul li a{
        font-size: .3rem;
    }
    .foot {
        flex-direction: column;
        width: 100%;
        padding: .2rem 0;
    }
    .fl {
        flex-direction: column;
        align-items: center;
        margin-right: 0;
    }
    .fl span {
        margin: .2rem;
        width: 80%;
        text-align: center;
        font-size: .2rem;
    }
    .footer .fl img {
        margin-top: 0rem;
        width: 80%;
        max-width: 5rem;
    }
    
    .footer .fr img{
        width: .66rem;
    }
    .foot span{
        font-size: .2rem;
    }
}