*, *::before, *::after { margin: 0; padding: 0; box-sizing: inherit; }

:root {
  --animate-duration: 1s;
  --animate-delay: 1s;
  --animate-repeat: 1;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    -webkit-transform: translate3d(0, 50px, 0);
    transform: translate3d(0, 50px, 0);
  }

  to {
    opacity: 1;
    -webkit-transform: translate3d(0, 0, 0);
    transform: translate3d(0, 0, 0);
  }
}

.animate__fadeIn {
  -webkit-animation-name: fadeIn;
  animation-name: fadeIn;
}

.animate__fadeInUp {
  -webkit-animation-name: fadeInUp;
  animation-name: fadeInUp;
}

.animate__animated {
  -webkit-animation-duration: 1s;
  animation-duration: 1s;
  -webkit-animation-duration: var(--animate-duration);
  animation-duration: var(--animate-duration);
  -webkit-animation-fill-mode: both;
  animation-fill-mode: both;
}

html {
    box-sizing: border-box;
    background-color: #CBC1B2;
    background-image: url("../images/0.png");
    background-size: 100% auto;
    background-repeat: repeat-y;
}

body {
    color: #6C491F;
}

body > img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    opacity: .5;
    z-index: 1000;
}

img { display: block; }

[aspect-ratio] { position: relative; width: 100%; }

[aspect-ratio]::before { content: ""; display: block; padding-bottom: calc(100% / (var(--aspect-ratio))); }

[aspect-ratio-content] { position: absolute; top: 0; left: 0; width: 100%; height: 100%; }

[aspect-ratio-content] .thumbnail { width: 100%; height: 100%; object-fit: contain; }

[aspect-ratio="1/1"] { --aspect-ratio: 1/1; }

.flex, .flex-center, .align-center, .justify-center { display: flex; }

.flex-column { flex-direction: column; }

.flex-center, .align-center { align-items: center; }

.flex-center, .justify-center { justify-content: center; }

.justify-evenly { justify-content: space-evenly; }

.justify-between { justify-content: space-between; }

.position-relative { position: relative; }

.position-absolute { position: absolute; }

.banner {
    padding-top: 2vh;
}

.banner .backdrop, .content-inner {
    width: 94%;
}

.banner .logo {
    top: 9.3%;
    left: 9.7%;
    width: 7.5%;
}

.banner .title {
    top: 22.25%;
    left: 28.8%;
    width: 45%;
}

.banner .horse {
    top: 85.7%;
    left: 22.95%;
    width: 5%;
}

.banner .cattle {
    top: 81.5%;
    left: 39.8%;
    width: 7.3%;
}

.banner .elephant {
    top: 86%;
    left: 56.2%;
    width: 6%;
}

.banner .beast {
    top: 77.55%;
    left: 74.6%;
    width: 5%;
}

.content {
    margin: 2.5vw 0;
}

.content-inner {
    position: relative;
    padding: 5.25vw 12vw;
}

.content-inner::before,
.content-inner::after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    z-index: -1;
    width: 100%;
    height: 100%;
    background-size: 100% auto;
}

.content-inner::before {
    background-image: 
        url("../images/23-top.png"),
        url("../images/23-bottom.png");
    background-repeat: no-repeat;
    background-position: top center, bottom center;
}

.content-inner::after {
    top: 50%;
    height: 90%;
    z-index: -2;
    background-image: url("../images/23.png");
    transform: translateY(-50%);
}

.conclusion {
    margin-top: 6vw;
}

.content-title {
    text-align: center;
    font-size: 1.65vw;
}

.content-inner-box {
    position: relative;
    margin-top: 1.5vw;
    padding: 1.25vw 1.25vw;
    background-color: #FDF5EA;
    text-indent: 2em;
    font-size: 1.1vw;
    line-height: 1.6;
}

.content-inner-box .border {
    position: absolute;
    width: 1vw;
    height: 1vw;
    border-color: #BFB09C;
    border-style: solid;
}

.content-inner-box > .border:nth-child(1) {
    top: 0;
    left: 0;
    border-width: .2vw 0 0 .2vw;
}

.content-inner-box > .border:nth-child(2) {
    top: 0;
    right: 0;
    border-width: .2vw .2vw 0 0;
}

.content-inner-box > .border:nth-child(3) {
    bottom: 0;
    right: 0;
    border-width: 0 .2vw .2vw 0;
}

.content-inner-box > .border:nth-child(4) {
    bottom: 0;
    left: 0;
    border-width: 0 0 .2vw .2vw;
}

.tabs-wrapper {
    margin-top: 5vw;
}

.tabs-wrap {
    position: relative;
}

.tabs-wrap .backdrop {
    width: 100%;
}

.tabs-wrap .tabs {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    padding: 0 4.5vw;
}

.tabs-wrap .tab {
    flex: 1;
}

.tabs-wrap .tab img {
    width: 36%;
    cursor: pointer;
}

.tabs-wrap .tab img, .tabs-wrap .tabs .active-icon {
    transition: transform .25s, left .25s;
}

.tabs-wrap .tab.active img {
    transform: translateY(-15%);
}

.tabs-wrap .tabs .active-icon {
    position: absolute;
    top: 68%;
    width: 2.8vw;
}

.tabs-wrap .tabs.active-0 .active-icon {
    left: 19%;
}

.tabs-wrap .tabs.active-1 .active-icon {
    left: 48.5%;
}

.tabs-wrap .tabs.active-2 .active-icon {
    left: 77.5%;
}

.tab-content {
    display: none;
    padding-top: 2.25vw;
    animation: fadeIn .5s forwards ease-in-out;
}

.tab-content.active {
    display: block;
}

.tab-content p {
    text-indent: 2em;
    font-size: 1.05vw;
    line-height: 1.75;
}

.tab-content > p {
    margin: 2vw 0 0;
}

.tab-content-title {
    width: fit-content;
    margin: 0 auto;
    font-size: 1.42vw;
    border-bottom: .35vw solid #B79F61;
}

.tab-content-illustration {
    margin-top: 3vw;
}

.illustration figcaption {
    margin-top: 1vw;
    font-size: .9vw;
}

.illustration img {
    width: 100%;
}

.tab-content-illustration .illustration + .illustration {
    margin-left: 4vw;
}

.tab-content-illustration .illustration img {
    box-shadow: 0 -.1vw 0 .8vw #FFF8ED;
}

.tab-content-illustration .illustration:nth-child(1) {
    width: 29.75%;
}

.tab-content-illustration .illustration:nth-child(2) {
    width: 45%;
}

.tab-content-site-location {
    margin-top: 2.5vw;
}

.tab-content-site-location .illustration {
    width: 55%;
}

.tab-content-site-location .illustration figcaption {
    font-size: 1vw;
}

.jczm {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 6vw;
    margin-top: 6vw;
}

.jczm [aspect-ratio] {
    width: 80%;
    margin: 0 auto;
}

.jczm .thumbnail {
    object-position: bottom;
}

.cultural-relics-title {
    text-align: center;
    background-color: #FDF5EA;
    border-radius: 45%;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, .01));
}

.jczm .cultural-relics-title,
.cultural-relics-introduction .cultural-relics-title {
    font-size: 1vw;
    margin-top: 2vw;
    text-align: center;
    line-height: 3.2;
}

.cultural-relics-introduction {
    position: relative;
    margin-top: 3vw;
}

.cultural-relics-introduction .thumbnail {
    order: 1;
    width: 27.6%;
    margin-left: 3vw;
}

.cultural-relics-introduction .cultural-relics-title {
    position: absolute;
    bottom: -4%;
    right: 17%;
    padding: 0 1.5vw;
    margin-top: 0;
}

.cultural-relics-introduction .introduction p {
    margin-top: 1vw;
}

.xxxg {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 4.5vw 9vw;
    margin-top: 5vw;
}

.xxxg [aspect-ratio-content] {
    border-radius: 50%;
    border: .25vw solid #DAC9B3;
}

.xxxg [aspect-ratio-content] img {
    width: 80%;
    height: 80%;
    pointer-events: none;
}

.xxxg .cultural-relics-title {
    font-size: 1.3vw;
    line-height: 2.2;
    margin-top: 1.5vw;
}

.xxxg .view-details {
    display: block;
    position: relative;
    width: 70%;
    margin: 1vw auto 0;
    color: inherit;
    cursor: pointer;
}

.tabs-wrap .tab,
.xxxg .view-details {
    transition: transform .3s;
}

.tabs-wrap .tab:hover,
.xxxg .view-details:hover {
    transform: scale(1.1);
}

.xxxg .view-details > img {
    width: 100%;
}

.xxxg .view-details span {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 91.5%;
    font-size: .95vw;
}

.xxxg .cultural-relics:nth-child(4) [aspect-ratio-content] img {
    width: 70%;
    height: 70%;
}

.xxxg .cultural-relics:nth-child(5) [aspect-ratio-content] img {
    width: 75%;
    height: 75%;
}

.xxxg .cultural-relics:nth-child(7) [aspect-ratio-content] img,
.xxxg .cultural-relics:nth-child(10) [aspect-ratio-content] img,
.xxxg .cultural-relics:nth-child(11) [aspect-ratio-content] img {
    width: 65%;
    height: 65%;
}

.lzqz-content img {
    width: 100%;
}

.lzqz-title {
    position: relative;
    width: 25.4vw;
}

.lzqz-title-content {
    position: absolute;
    font-size: .9vw;
    top: 26%;
    left: 50%;
    width: 94%;
    transform: translateX(-50%);
}

.lzqz-title-content span {
    font-weight: bold;
}

.yzl {
    margin-top: 4.5vw;
    display: grid;
    grid-template-columns: 1fr 1fr 1fr 1fr;
    grid-template-rows: auto auto auto;
    column-gap: 2vw;
    row-gap: 1vw;
}

.yzl .yzl-title {
    grid-area: 1 / 3 / 2 / -1;
}

.yzl .yzl-title {
    margin: 0 auto;
}

.yzl .qqb {
    grid-area: 1 / 1 / 3 / 2;
}

.yzl .hrd {
    grid-area: 1 / 2 / 3 / 3;
}

.yzl .jlh {
    grid-area: 2 / 3 / 4 / 4;
}

.yzl .kms {
    grid-area: 2 / 4 / -1 / -1;
}

.ydjjl {
    margin-top: -4vw;
}

.ydjjl-list {
    margin-top: 1.5vw;
}

.ydjjl-list .th, .ydjjl-list .kz, .ydjjl-list .zqt {
    width: calc(100% / 4);
}

.sxyyl-jsbyl {
    margin-top: 5vw;
}

.sxyyl-jsbyl .sxyyl,
.sxyyl-jsbyl .jsbyl {
    width: 50%;
    flex-shrink: 0;
}

.sxyyl .blg,
.jsbyl .pyxro {
    width: 50%;
    margin: .75vw 0 0 4.35vw;
}

.sgyl {
    margin-top: 5vw;
}

.sgyl-top .ns,
.sgyl-bottom .zfc,
.sgyl-bottom .zjs,
.sgyl-bottom .th {
    width: calc(100% / 4);
}

.sgyl-top {
    position: relative;
}

.sgyl-top .ns {
    margin-left: 4.35vw;
}

.sgyl-top .sgyl-title {
    position: absolute;
    top: 20%;
    left: 45%;
}

.sgyl-bottom {
    margin-top: 2vw;
}

.sgyl-bottom > .ns {
    display: none;
}

.back-to-top {
    display: none;
    position: fixed;
    right: 3.5vw;
    bottom: 3.5vw;
    width: 3vw;
    height: 3vw;
    border-radius: 50%;
    background-color: #6C491F;
    cursor: pointer;
    transition: background .3s;
    filter: drop-shadow(0 0 5px hsla(33, 55%, 27%, 50%));
    animation: fadeIn .5s forwards ease-in-out;
}

.back-to-top.show {
    display: flex;
}

.back-to-top svg {
    display: block;
    width: 45%;
    height: 45%;
    fill: #F4E9DB;
    transition: fill .3s;
}

.back-to-top:hover {
    background-color: #F4E9DB;
}

.back-to-top:hover svg {
    fill: #6C491F;
}

.modal-wrapper {
    color: #FFFFFF;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 2025;
    pointer-events: none;
    padding: 5vw 15vw;
    display: none;
    flex-direction: column;
    justify-content: space-between;
    animation: fadeIn 1s forwards ease-in-out;
}

.modal-wrapper .modal-title .name {
    font-size: 1.4vw;
}

.modal-wrapper .modal-desc {
    font-size: 1vw;
    line-height: 1.5;
}

.viewer-backdrop {
    background-color: rgba(0, 0, 0, .75);
    -webkit-backdrop-filter: blur(5px);
    backdrop-filter: blur(5px);
}

.viewer-footer {
    bottom: 22%;
}

.viewer-toolbar .viewer-zoom-in,
.viewer-toolbar .viewer-zoom-out {
    width: 3vw;
    height: 3vw;
    border-radius: 0;
    outline: none;
    box-shadow: none !important;
}

.viewer-toolbar .viewer-zoom-in::before,
.viewer-toolbar .viewer-zoom-out::before {
    margin: 0;
    width: 100%;
    height: 100%;
    background-size: 100% 100%;
    background-image: url("../images/53.png");
    background-position: 0 0;
}

.viewer-toolbar .viewer-zoom-out {
    margin-left: 2vw;
}

.viewer-toolbar .viewer-zoom-out::before {
    background-image: url("../images/54.png");
}

@media screen and (max-width: 1440px) {
    .content-title {
        font-size: 24px;
    }

    .content-inner-box {
        font-size: 16px;
        padding: 20px;
    }

    .tab-content-title {
        font-size: 20px;
    }

    .tab-content > p {
        margin: 1.5em 0 0;
    }

    .tab-content p,
    .tab-content-site-location .illustration figcaption,
    .jczm .cultural-relics-title,
    .cultural-relics-introduction .cultural-relics-title {
        font-size: 15px;
    }

    .illustration figcaption,
    .xxxg .view-details span,
    .lzqz-title-content {
        font-size: 14px;
    }

    .illustration figcaption {
        margin-top: 1.5em;
    }

    .jczm {
        gap: 5vw;
        margin-top: 5vw;
    }

    .cultural-relics-introduction .introduction p {
        margin-top: 1.5em;
    }

    .xxxg .cultural-relics-title {
        font-size: 18px;
    }

    .xxxg {
        gap: 4.5vw 7.5vw;
    }

    .xxxg .view-details {
        width: 170px;
    }

    .lzqz-title {
        width: 387px;
    }

    .back-to-top {
        width: 45px;
        height: 45px;
    }

    .modal-wrapper {
        padding: 50px 12vw;
    }

    .modal-wrapper .modal-title .name {
        font-size: 20px;
    }

    .modal-wrapper .modal-desc {
        margin-top: 0;
        font-size: 14px;
    }

    .viewer-toolbar .viewer-zoom-in, .viewer-toolbar .viewer-zoom-out {
        width: 45px;
        height: 45px;
    }
}

@media screen and (max-width: 1280px) {
    .content-inner {
        padding: 5.25vw 10vw;
    }

    .content-inner-box {
        font-size: 15px;
        margin-top: 15px;
    }

    .tab-content p,
    .jczm .cultural-relics-title,
    .cultural-relics-introduction .cultural-relics-title,
    .tab-content-site-location .illustration figcaption {
        font-size: 14px;
    }

    .illustration figcaption {
        font-size: 12px;
    }

    .modal-wrapper {
        padding: 40px 10vw;
    }

    .viewer-toolbar .viewer-zoom-in, .viewer-toolbar .viewer-zoom-out {
        width: 35px;
        height: 35px;
    }
}

@media screen and (max-width: 1200px) {
    .content-inner {
        padding: 5.25vw 8.5vw;
    }

    .content-title {
        font-size: 22px;
    }

    .content-inner-box {
        font-size: 14px;
        padding: 15px;
    }

    .tabs-wrap .tab img {
        width: 38%;
    }

    .tab-content-title {
        font-size: 18px;
    }

    .jczm {
        gap: 5vw 6vw;
        grid-template-columns: 1fr 1fr;
    }

    .jczm [aspect-ratio] {
        width: 65%;
    }

    .jczm .cultural-relics:nth-child(5) [aspect-ratio],
    .jczm .cultural-relics:nth-child(6) [aspect-ratio] {
        --aspect-ratio: 3/2;
    }

    .jczm .cultural-relics-title {
        font-size: 16px;
        margin-top: 2em;
    }

    .xxxg {
        gap: 4.5vw 7vw;
    }

    .xxxg .cultural-relics-title {
        font-size: 16px;
    }

    .lzqz-title-content {
        font-size: 13px;
    }

    .lzqz-title {
        width: 346px;
    }

    .ydjjl-list .th, .ydjjl-list .kz, .ydjjl-list .zqt,
    .sgyl-top .ns, .sgyl-bottom .zfc, .sgyl-bottom .zjs, .sgyl-bottom .th {
        width: calc(100% / 3.5);
    }

    .sxyyl .blg, .jsbyl .pyxro {
        width: 57.5%;
        margin: .75vw 0 0 3vw;
    }

    .sgyl-top .ns {
        margin-left: 3vw;
    }
}

@media screen and (max-width: 992px) {
    .cultural-relics-title {
        border-radius: 3px;
    }

    .cultural-relics-introduction .cultural-relics-title {
        bottom: -10%;
    }

    .yzl {
        grid-template-columns: 1fr 1fr 1fr;
    }

    .yzl .yzl-title {
        grid-area: 1 / 1 / 2 / 3;
    }

    .yzl .qqb {
        grid-area: 2 / 1 / 3 / 2;
    }

    .yzl .hrd {
        grid-area: 2 / 2 / 3 / 3;
    }

    .yzl .jlh {
        grid-area: 2 / 3 / 3 / 4;
    }

    .yzl .kms {
        grid-area: 3 / 1 / 4 / 1;
    }

    .ydjjl {
        margin-top: 5vw;
    }

    .sxyyl-jsbyl {
        flex-direction: column;
    }

    .sxyyl-jsbyl .sxyyl, .sxyyl-jsbyl .jsbyl {
        width: 100%;
    }

    .sxyyl .blg, .jsbyl .pyxro {
        width: calc(100% / 3.1);
    }

    .xxxg {
        grid-template-columns: 1fr 1fr;
        gap: 4.5vw 15vw;
    }

    .ydjjl-list .th, .ydjjl-list .kz, .ydjjl-list .zqt,
    .sgyl-top .ns, .sgyl-bottom .zfc, .sgyl-bottom .zjs, .sgyl-bottom .th {
        width: calc((100% - 2vw) / 3);
    }

    .ydjjl-list {
        justify-content: space-between;
    }

    .sxyyl-jsbyl .jsbyl {
        margin-top: 5vw;
    }

    .xxxg .view-details {
        margin-top: 15px;
    }

    .xxxg .cultural-relics-title {
        margin-top: .75em;
    }

    .back-to-top {
        right: 5%;
        bottom: 5%;
    }

    .modal-wrapper {
        padding: 40px 6vw;
    }
}

@media screen and (max-width: 768px) {
    .content-inner {
        width: calc((100% - 30px));
        padding: 45px 30px;
    }

    .content-inner::after {
        height: 97%;
    }

    .tabs-wrap .backdrop {
        height: 72px;
    }

    .tabs-wrap .tab img {
        width: 85px;
    }

    .tabs-wrap .tabs .active-icon {
        width: 35px;
    }

    .tabs-wrap .tabs.active-0 .active-icon {
        left: 18%;
    }

    .tab-content {
        padding-top: 20px;
    }

    .content-title {
        font-size: 20px;
    }

    .tab-content-title {
        font-size: 16px;
        border-bottom-width: 2px;
    }

    .tab-content-illustration {
        flex-direction: column;
    }

    .tab-content-illustration .illustration:nth-child(1) {
        width: 45%;
    }

    .tab-content-illustration .illustration:nth-child(2) {
        width: 70%;
        margin-top: 30px;
        margin-left: 0;
    }

    .tab-content-site-location .illustration {
        width: 90%;
    }

    .illustration figcaption {
        margin-top: 1.1em;
    }

    .tab-content-site-location {
        margin-top: 15px;
    }

    .jczm {
        margin-top: 40px;
        gap: 20px 20px;
    }

    .jczm .cultural-relics-title {
        font-size: 14px;
    }

    .cultural-relics-introduction {
        flex-direction: column;
    }

    .cultural-relics-introduction .thumbnail {
        width: 35%;
    }

    .cultural-relics-introduction .cultural-relics-title {
        position: static;
        padding: 0 15px;
        margin: 1em auto 0;
        width: fit-content;
    }

    .cultural-relics-introduction .introduction {
        display: flex;
        flex-direction: column;
        order: 1;
    }

    .xxxg {
        grid-template-columns: 1fr 1fr;
        gap: 20px 20px;
    }

    .xxxg .view-details {
        margin-top: 12px;
    }

    .conclusion {
        margin-top: 25px;
    }

    .yzl {
        grid-template-columns: 1fr 1fr;
        column-gap: 15px;
        row-gap: 15px;
    }

    .yzl .yzl-title {
        margin: 0;
        grid-area: 1 / 1 / 2 / 3;
    }

    .yzl .qqb {
        grid-area: 2 / 1 / 3 / 2;
    }

    .yzl .hrd {
        grid-area: 2 / 2 / 3 / 3;
    }

    .yzl .jlh {
        grid-area: 3 / 1 / 4 / 2;
    }

    .yzl .kms {
        grid-area: 3 / 2 / 4 / 3;
    }

    .ydjjl-list {
        flex-wrap: wrap;
    }

    .ydjjl-list .th, .ydjjl-list .kz,
    .ydjjl-list .zqt, .sgyl-top .ns,
    .sgyl-bottom .zfc,
    .sgyl-bottom .zjs,
    .sgyl-bottom .th {
        width: calc((100% - 15px) / 2);
    }

    .sxyyl .blg, .jsbyl .pyxro {
        width: calc(50% - 7.5px);
    }

    .sgyl-top {
        flex-direction: column;
    }

    .sgyl-top .sgyl-title {
        position: relative;
        top: 0;
        left: 0;
        order: 0;
    }

    .sgyl-top .ns {
        display: none;
    }

    .sgyl-bottom {
        flex-wrap: wrap;
        justify-content: space-between;
    }

    .sgyl-bottom > .ns {
        display: block;
    }

    .sgyl-bottom > * {
        width: calc((100% - 15px) / 2);
    }

    .sgyl-bottom > *:nth-child(n + 3) {
        margin-top: 12px;
    }

    .modal-wrapper {
        padding: 30px 20px;
    }
}

@media screen and (max-width: 640px) {
    .jczm .cultural-relics-title {
        font-size: 13px;
    }

    .xxxg .cultural-relics-title,
    .jczm .cultural-relics-title, .cultural-relics-introduction .cultural-relics-title {
        line-height: 1.5;
        padding: 8px 5px;
    }

    .xxxg {
        gap: 15px;
    }

    .xxxg .view-details {
        margin-top: 10px;
    }
}

@media screen and (max-width: 576px) {
    .content-inner {
        width: calc((100% - 20px));
        padding: 45px 15px;
    }

    .tabs-wrap .backdrop {
        height: 60px;
    }

    .tabs-wrap .tab img {
        width: 70px;
    }

    .tabs-wrap .tabs .active-icon {
        width: 30px;
    }

    .tabs-wrap .tabs.active-0 .active-icon {
        left: 16%;
    }

    .tabs-wrap .tabs.active-1 .active-icon {
        left: 46.5%;
    }

    .tabs-wrap .tabs.active-2 .active-icon {
        left: 75%;
    }

    .tab-content-illustration .illustration:nth-child(1) {
        width: 80%;
    }

    .tab-content-illustration .illustration:nth-child(2) {
        width: 100%;
    }

    .xxxg .view-details {
        width: 100%;
    }

    .jczm .cultural-relics-title,
    .xxxg .cultural-relics-title {
        font-size: 14px;
    }

    .xxxg .view-details span {
        font-size: 12px;
    }

    .lzqz-title {
        width: 100%;
    }
}
