html,
body {
    margin: 0;
    padding: 0;
}

body {
    text-align: justify;
    font-weight: normal;
    color: #333333;
    line-height: 2;
    font-size: 0.24rem;
}

img {
    max-width: 100%;
}

* {
    box-sizing: border-box;
}

a {
    text-decoration: none;
    color: inherit;
}

a:hover {
    text-decoration: none;
    color: inherit;
}

table {
    border-spacing: 0;
    border-collapse: collapse;
}

.main-color {
    color: var(--main-color);
}

.main-image {
    display: block;
}

.image-wrap img {
    width: 100%;
    display: block;
}

.line-height-1 {
    line-height: 1;
}

.desc {
    color: #a7a7a7;
}

.clipPath {
    -webkit-clip-path: polygon(0% 0%, 100% 0%, 90% 100%, 0% 100%);
    clip-path: polygon(0% 0%, 100% 0%, 90% 100%, 0% 100%);
}

/* 单行文本省略 */
.ellipsis {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.single-line {
    white-space: nowrap;
    /* 禁止换行 */
    overflow: hidden;
    /* 隐藏溢出的内容 */
    text-overflow: ellipsis;
    /* 显示省略号 */
}

.multi-line {
    display: -webkit-box;
    /* 将元素视为弹性伸缩盒子 */
    -webkit-line-clamp: 2;
    /* 指定显示的行数 */
    -webkit-box-orient: vertical;
    /* 设置伸缩盒子的垂直方向排列 */
    overflow: hidden;
    /* 隐藏溢出的内容 */
}

.multi-line.line-3 {
    -webkit-line-clamp: 3;
}

.multi-line.line-4 {
    -webkit-line-clamp: 4;
}

/* 文本加粗 */
.bold {
    font-weight: bold;
}

/* 文本下划线 */
.underline {
    text-decoration: underline;
}

/* 去除下划线 */
.no-underline {
    text-decoration: none;
}

/* 文字对齐 */
.text-left {
    text-align: left;
    /* 左对齐文本 */
}

.text-right {
    text-align: right;
    /* 右对齐文本 */
}

.text-center {
    text-align: center;
    /* 居中对齐文本 */
}

.text-justify {
    text-align: justify;
    /* 两端对齐文本 */
}

/* Flex 容器基础类 */
.flex-container {
    display: flex;
}

.flex-column {
    flex-direction: column;
}

.flex-wrap {
    flex-wrap: wrap;
}

/* 水平对齐 - 左对齐 */
.justify-start {
    justify-content: flex-start;
}

/* 水平对齐 - 右对齐 */
.justify-end {
    justify-content: flex-end;
}

/* 水平对齐 - 居中对齐 */
.justify-center {
    justify-content: center;
}

/* 水平对齐 - 两端对齐 */
.justify-between {
    justify-content: space-between;
}

/* 水平对齐 - 平均分布 */
.justify-around {
    justify-content: space-around;
}

/* 垂直对齐 - 顶部对齐 */
.align-start {
    align-items: flex-start;
}

/* 垂直对齐 - 底部对齐 */
.align-end {
    align-items: flex-end;
}

/* 垂直对齐 - 居中对齐 */
.align-center {
    align-items: center;
}

/* 垂直对齐 - 基线对齐 */
.align-baseline {
    align-items: baseline;
}

/* 等高列 - 使用 align-items 居中实现等高 */
.equal-height {
    align-items: stretch;
}

/* Grid 容器基础类 */
.grid-container {
    display: grid;
}

/* 水平对齐 - 左对齐 */
.grid-justify-start {
    justify-items: start;
}

/* 水平对齐 - 右对齐 */
.grid-justify-end {
    justify-items: end;
}

/* 水平对齐 - 居中对齐 */
.grid-justify-center {
    justify-items: center;
}

/* 水平对齐 - 两端对齐 (需要设置 grid-template-columns 为 repeat() 并指定列宽) */
.grid-justify-stretch {
    justify-items: stretch;
}

/* 垂直对齐 - 顶部对齐 */
.grid-align-start {
    align-items: start;
}

/* 垂直对齐 - 底部对齐 */
.grid-align-end {
    align-items: end;
}

/* 垂直对齐 - 居中对齐 */
.grid-align-center {
    align-items: center;
}

/* 垂直对齐 - 基线对齐 */
.grid-align-baseline {
    align-items: baseline;
}

/* 等高列 - 使用 grid-auto-rows 为 minmax() 实现等高 */
.equal-height {
    grid-auto-rows: minmax(0, 1fr);
}

.clearfix:after {
    display: block;
    visibility: hidden;
    clear: both;
    height: 0;
    content: ".";
}

.position-absolute {
    position: absolute;
}

.list-unstyled {
    margin: 0;
    padding: 0;
    list-style: none;
}

.pc-show {
    display: block;
}

.pc-hide {
    display: none;
}

@media (max-width: 767px) {
    .pc-show {
        display: none;
    }

    .pc-hide {
        display: block;
    }
}