:root {
    --primary-color: #fee434;
    --nav-height: 80px;
}

* {
    padding: 0;
    margin: 0;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
}

html {
    font-size: 16px;
}

html,
body {
    width: 100%;
    height: 100%;
}

.absolute {
    position: absolute;
}

.pointer {
    cursor: pointer;
}

/* 禁止滚动的样式 */
.no-scroll {
    overflow: hidden;
}

/* 超过文本省略 */
.overFlowEllipsis {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.wrapper {
    position: relative;
}

.bg-img {
    object-fit: fill;
    width: 100%;
}

main {
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
}

.main-setion {
    height: 50vw;
    width: 100%;
    position: relative;
}

/* 首页 */
.main-index {
    top: 0;
}

.nav-left {
    background: url(../img/nav-bg.png) no-repeat;
    background-size: 100% 100%;
    width: 100%;
    height: 5vw;
    padding: 0.5% 5%;
    box-sizing: border-box;
    position: fixed;
    left: 50%;
    transform: translate(-50%, 0);
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 100;
}

.logo {
    width: 15%;
}

.download {
    width: 10%;
}

.nav-i-box {
    width: 65%;
    margin-left: 1%;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav-i {
    max-width: 20%;
    height: 100%;
    color: #fff;
    cursor: pointer;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    padding: 0.2% 2%;
    text-align: center;
    transition: all .2s ease-in-out;
}

.nav-i-text {
    width: 100%;
    font-family: Source Han Sans SC;
    font-weight: 700;
    font-size: 0.085rem;
}

.nav-i-text1 {
    width: 100%;
    font-weight: 600;
    font-size: 0.065rem;
}

.activation {
    text-shadow: 2px 0 10px rgb(4, 49, 104);
    background: url(../img/nav-active.png) no-repeat;
    background-size: 100% 100%;
}

.sc-box {
    width: 44%;
    height: 15vw;
    background: url(../img/index-sc-bg.png) no-repeat;
    background-size: 100% 100%;
    position: absolute;
    bottom: -10%;
    left: 50%;
    transform: translate(-50%, 0);
    display: flex;
    align-items: center;
    justify-content: space-evenly;
}

.qr-code-bg {
    width: 21%;
    height: 60%;
    background: url(../img/QrCode.png) no-repeat;
    background-size: 100% 100%;
    position: relative;
}

.qr-code {
    width: 100%;
    height: 100%;
}

.sc-main {
    width: 35%;
}

.sc-main>img {
    width: 100%;
    cursor: pointer;
}

.sc-main>img:last-child {
    margin-top: 5%;
}

.teen {
    width: 17%;
}

/* 新闻 */
.main-news {
    margin-top: 12%;
}

.news-swiper-container {
    position: absolute;
    top: 29.88%;
    left: 13.2%;
    width: 39.55%;
    overflow: hidden;
}

.news-more {
    position: absolute;
    top: 35.5%;
    right: 15%;
    padding: 0.5% 1%;
    padding-right: 1.5%;
    box-sizing: border-box;
    font-size: .1rem;
    line-height: .1rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    justify-content: end;
    color: #fff;
    background: url(../img/news-moreBg.png) no-repeat;
    background-size: 100% 100%;
}

.news-swiper-container .swiper-slide img {
    width: 100%;
    position: relative;
}

.news-swiper-button-prev,
.news-swiper-button-next {
    position: absolute;
    z-index: 99;
    cursor: pointer;
    width: 3.5vw;
    top: 52%;
}

.news-swiper-button-prev {
    left: 10.7%
}

.news-swiper-button-next {
    left: 51.4%;
}

.news-list {
    position: absolute;
    top: 43%;
    right: 15%;
    width: 30%;
    height: 36%;
    display: flex;
    flex-direction: column;
    color: white;
    font-size: .09rem;
}

.news-item {
    cursor: pointer;
    height: 25%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    position: relative;
    border-bottom: 1px dashed rgba(255, 255, 255, .2);
}

.news-item>div {
    height: 40%;
    display: flex;
    align-items: center;
}

.news-item-text {
    flex: 1;
    display: -webkit-box;
    -webkit-line-clamp: 1;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.news-item img {
    flex-shrink: 0;
    object-fit: contain;
    height: 90%;
    margin-right: 10px;
}

.news-item-time {
    flex-shrink: 0;
}

/* 数码兽图鉴 */
.main-illustrated {
    margin-top: 4.5%;
}

.stage {
    position: absolute;
    top: 37%;
    left: 14.3%;
    width: 12vw;
    height: 45%;
    display: flex;
    flex-direction: column;
    justify-content: space-evenly;
}

.stage-item {
    width: 100%;
    padding-left: 25%;
    box-sizing: border-box;
    height: 15.5%;
    position: relative;
    display: flex;
    align-items: center;
    font-size: 0.11rem;
    font-weight: 700;
    cursor: pointer;
    color: #fff;
    transition: all .1s ease-in-out;
}

.stage-item::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-45%);
    width: 2.5vw;
    height: 2.5vw;
    background: none;
    background-size: 100% 100%;
}

.stage-item-text {
    padding: 6% 17%;
    box-sizing: border-box;
}

.stage-item-active>.stage-item-text {
    background: url(../img/bottomTitBg.png) no-repeat;
    background-size: 100% 100%;
}

.stage-item-active::before {
    background: url(../img/stage-btn-click.png) no-repeat;
    background-size: 100% 100%;
}

.digimon {
    width: 28%;
    object-fit: contain;
    position: absolute;
    left: 24%;
    top: 35%
}

.digimon-un::after {
    content: '';
    position: absolute;
    z-index: 99;
    width: 87%;
    height: 88%;
    top: 10%;
    left: 11%;
    clip-path: polygon(30% 0%, 100% 0%, 100% 100%, 100% 100%, -70% 100%);
    background-color: rgba(0, 0, 0, .6);
}

.digimon-name {
    position: absolute;
    left: 57%;
    top: 35%;
    max-width: 30%;
    width: 25%;
}

.ill-name-r {
    position: absolute;
    left: 55%;
    top: 37%;
    width: 28%;
}

.digimon-list {
    width: 33%;
    position: absolute;
    right: 13%;
    bottom: 17%;
    height: 20%;
}

.digimon1,
.digimon2,
.digimon3,
.ill-btn-box {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
}

.digimon1 {
    left: 0%;
}

.digimon2 {
    left: 40%;
}

.digimon3 {
    left: 70%;
}

.digimon-item {
    height: 80%;
    cursor: pointer;
    position: absolute;

}

.digimon-item>img {
    height: 100%;
}

.ill-btn-box {
    height: 80%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    left: 29%;
}

.ill-btn-box img {
    height: 27%;
    object-fit: contain;
}


/* 特色展示 */
.feature-swiper-container {
    position: absolute;
    left: 0%;
    top: 16%;
    width: 75%;
    height: 70%;
    overflow-x: hidden;
    margin-left: 12.5%;
    margin-top: 8%;
}

.feature-swiper-container .swiper-slide {
    width: 100%;
    height: 100%;
    position: relative;
    opacity: 0;
}

.feature-swiper-container .swiper-slide img {
    width: 100%;
    height: 90%;
}

.feature-swiper-container .swiper-slide-prev,
.feature-swiper-container .swiper-slide-next {
    width: 70%;
    height: 70%;
    margin-top: 7%;
    opacity: 1;
}

.feature-swiper-container .swiper-slide-prev::after,
.feature-swiper-container .swiper-slide-next::after {
    content: "";
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 90%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 1;
    pointer-events: none;
}

.feature-swiper-container .swiper-slide-active {
    width: 70%;
    z-index: 10 !important;
    opacity: 1;
}

/* 特色展示轮播索引提示 */
.swiper-footer {
    position: absolute;
    bottom: 10%;
    width: 100%;
    height: 10%;
    display: flex;
    gap: 3%;
    z-index: 99;
    padding-left: 48.5%;
}

.feature-swiper-pagination {
    position: absolute;
    bottom: 4% !important;
    left: 50% !important;
    transform: translateX(-50%);
    width: 28% !important;
    z-index: 99;
    display: flex;
    align-items: center;
    justify-content: center;
}

.feature-swiper-container .swiper-pagination-bullet {
    width: 1.5vw;
    height: 1.5vw;
    margin: 0 1vw !important;
    background: url(../img/feature-pag.png) no-repeat;
    background-size: contain;
    opacity: 1;
    border-radius: unset;
}

.feature-swiper-container .swiper-pagination-bullet-active {
    background: url(../img/feature-pag-click.png) no-repeat;
    background-size: contain;
}

.feature-swiper-button-next,
.feature-swiper-button-prev {
    width: 1.5vw;
    cursor: pointer;
    position: absolute;
    top: 67%;
    transform: translateY(-50%);
}

.feature-swiper-button-next {
    right: 10%;
}

.feature-swiper-button-prev {
    left: 10%;
}

/* 侧边媒体弹窗 */
.asideDialog {
    width: 300px;
    height: 180px;
    position: fixed;
    z-index: 101;
    left: -337px;
    bottom: 25%;
    background: url(../img/aside-btn-bg.png) no-repeat;
    background-size: contain;
    transition: all 0.5s ease-in-out;
    transform: translateX(63px);
}

.asideDialog-btn {
    width: 44px;
    position: absolute;
    right: -18px;
    top: 50px;
}

.asideDialog-main {
    position: absolute;
    width: 80%;
    height: 100%;
    left: 50%;
    transform: translateX(-50%);
    padding: 2% 0;
    box-sizing: border-box;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.asideDialog-main-ewm {
    width: 55%;
}

.asideDialog-main-dsf {
    width: 40%;
}

.asideDialog-main-dsf>img {
    width: 67%;
    margin: 2.6% 0;
}

/* 预约页 */
.reserve {
    width: 11%;
    position: fixed;
    top: 50%;
    left: 0;
    transform: translate(0, -50%);
}

.reserve-img {
    width: 100%;
}

/* dialog */
body .home-dialog {
    background: none;
    box-shadow: unset;
    width: 40vw;
    height: 25vh;
}

body .home-dialog .layui-layer-content {
    width: 100%;
    height: 100%;
    position: relative;
    overflow: unset;
    background: url(../img/zh/dialog-bg.png) no-repeat;
    background-size: contain;
}

body .home-dialog .dialog-content-self-title {
    position: absolute;
    z-index: 99;
    top: 5%;
    left: 50%;
    transform: translate(-50%, 0%);
    width: 240px;
    font-weight: 900;
    height: 40px;
    line-height: 40px;
    font-size: 40px;
}

body .home-dialog .dialog-content-self {
    position: absolute;
    z-index: 99;
    top: 56%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 90%;
    height: 55%;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 5%;
}

.home-dialog .dialog-content-self>img {
    height: 40%;
    cursor: pointer;
}

.home-dialog .layui-layer-setwin {
    right: 3%;
    top: 20%;
}

.home-dialog .layui-layer-setwin .layui-layer-close2 {
    border: unset;
    background: unset;
    width: 30px;
    height: 30px;
    background: url('../img/dialog-close.png') no-repeat center;
}

.home-dialog .layui-layer-setwin .layui-layer-close2:hover {
    background-color: rgba(189, 226, 255, 0.9);
}

.home-dialog .layui-layer-setwin .layui-layer-close2::before {
    content: '';
    position: absolute;
    font-size: 35px;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}