:root {
    --primary-color: #DAC7A7;
    --secondary-color: #E8D7B5;
    --tertiary-color: #F5E7BF;
    --accent-color: #7F2629;
    --text-color: #020000;
}

html,
body {
    margin: 0;
    padding: 0;
    font-family: Huiwen-mincho, Arial, sans-serif;
    color: var(--primary-color);
    scroll-behavior: smooth;
}

.container {
    background: url('https://tudali.oss-cn-beijing.aliyuncs.com/assets/images/BJ.png');
    overflow: hidden;
    min-height: 100vh;
    position: relative;

}

ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

a {
    color: var(--tertiary-color);
    text-decoration: none;
}

/* pc导航栏 */
.nav-pc {
    position: fixed;
    top: 50%;
    right: 40px;
    z-index: 1000;
    transform: translateY(-50%);
}

.nav-pc ul {
    display: flex;
    flex-direction: column;
    align-items: center;
    mask-image: linear-gradient(transparent, black 15%, transparent);
}

.nav-pc ul li {
    padding: 10px 0;
}

.nav-pc ul li.line {
    width: 2px;
    height: 50px;
    background: var(--tertiary-color);
    transition: all 0.3s ease-in-out;
}

.nav-pc ul li a {
    text-decoration: none;
    color: var(--secondary-color);
    font-size: 18px;
    font-weight: bold;
    transition: all 0.3s ease-in-out;
}

.nav-pc ul li a:hover {
    opacity: 0.8;
}

/* 移动导航栏 */
.nav-mob {
    display: none;
    position: fixed;
    top: 0;
    right: 0;
    width: 100%;
}

.nav-mob-icon {
    position: absolute;
    top: 10px;
    right: 10px;
    width: 32px;
    height: 32px;
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    z-index: 1001;
    background: var(--accent-color);
    padding: 8px;
    border-radius: 4px;
    z-index: 1002;
}

.nav-mob ul {
    width: 100%;
    height: 0;
    position: absolute;
    padding-top: 68px;
    background: var(--accent-color);
    overflow: hidden;
    transition: height 0.3s ease-in-out;
}

.nav-mob ul a {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 16px;
}

.active {
    background: #e4dfd1;;
    color: var(--text-color);
}


/* 内容区域 */
.content {
    padding: 100px 20px;
    box-sizing: border-box;
}

#home {
    height: 1274px;
    background: url('https://tudali.oss-cn-beijing.aliyuncs.com/assets/images/top-bg.png') center;
    text-align: center;
    padding: 110px 20px;
    box-sizing: border-box;
    background-size: cover;
    box-shadow: 0 240px 1000px 30px #00000060 inset;
    letter-spacing: 1px;
}

.home-desc {
    margin-top: 100px;
    line-height: 43px;
}

.home-desc div.main-text {
    margin-top: 16px;
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 4px;
    line-height: 32px;
}

.home-desc div.sub-text {
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 3px;
    line-height: 25px;
}

.home-desc div.title {
    font-size: 20px;
    line-height: 54px;
}

#brand {
    height: 906px;
    display: flex;
    flex-direction: row-reverse;
    justify-content: center;
    padding: 180px 20px 290px;
    box-sizing: border-box;
    gap: 40px;
    background-position: center;
}

#brand .row {
    writing-mode: vertical-rl;
    text-orientation: upright;
    line-height: 40px;
    letter-spacing: 4px;
}

#brand .row-date {
    color: var(--accent-color);
}

#brand .row-desc {
    color: var(--text-color);
}

#gallery {
    height: 885px;
    display: flex;
    justify-content: center;
    align-items: flex-end;
    padding: 160px 20px;
    box-sizing: border-box;
    gap: 100px;
    background-position: center;
}

#gallery>div {
    display: flex;
    flex-direction: column;
    gap: 40px
}

#gallery .item-title {
    color: var(--tertiary-color);
    margin-bottom: 24px;
    font-size: 22px;
    letter-spacing: 4px;
}

#gallery .item-area {
    margin-bottom: 18px;
}

#gallery .item-name {
    font-size: 16px;
    margin-bottom: 8px;
    letter-spacing: 3px;
}

#gallery .item-address {
    font-size: 10px;
    letter-spacing: 2px;
}

#products {
    height: 1078px;
    background-position: center;
    display: flex;
    justify-content: center;
    align-items: center;
}

#products video {
    width: 100%;
    height: 100%;
}

#contact {
    background: url('/static/home/img/line.png') no-repeat top;
    padding: 100px 20px;
    text-align: center;
}

#contact .name {
    margin-top: 32px;
    font-size: 20px;
}

#contact .desc {
    margin-top: 18px;
    font-size: 15px;
    letter-spacing: 4px;
    text-transform: uppercase;
}

@media (max-width: 1200px) {
    .nav-pc {
        display: none;
    }

    .nav-mob {
        display: block;
    }

    #brand {
        height: 1500px;
        flex-direction: column;
        /*background-size: cover;*/
        background-position: bottom;
    }

    #brand .row {
        writing-mode: horizontal-tb;
        text-orientation: upright;
    }

    #gallery {
        height: 1885px;
        flex-direction: column;
        /*background-size: cover;*/
        align-items: flex-start;
        background-position: bottom;
    }

    #products {
        height: auto;
    }

    #products video {
        width: 100%;
        height: auto;
    }
}