/* 全局样式重置 - 解决默认间距、单位问题 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}
/* 恢复正常rem基准值（默认16px），解决单位混乱 */
html {
    -webkit-text-size-adjust: 100%;

    -ms-text-size-adjust: 100%;
    text-size-adjust: 100%;
    font-size: 16px;
    scroll-behavior: smooth;
}


/* 主体样式 - 修复行间距核心：删除pre-wrap，设置舒适行高和基础间距 */
body {
    color: #000;
    line-height: 1.8;
    margin: 0 auto;
    z-index: -1;
    font-family: Arial, Helvetica, sans-serif;
    padding: 0;

}

/* 仅日文页面生效 - 修复模拟器加粗 */
html[lang="ja"] * {
    -webkit-text-stroke: 0px !important;
    text-stroke: 0px !important;
    font-synthesis: none !important;
}

html[lang="ja"] p,
html[lang="ja"] li,
html[lang="ja"] span,
html[lang="ja"] div {
    /* 字体名称修正：ProN 是正确写法，和你截图一致，无需改 */
    font-family: "Hiragino Kaku Gothic ProN", "Meiryo", "Noto Sans JP", sans-serif !important;
    font-weight: 400 !important;
    font-size: 16px !important;
    -webkit-font-smoothing: antialiased !important;
    -moz-osx-font-smoothing: grayscale !important;
    text-rendering: geometricPrecision !important;
}

/* 保留h2标题加粗，和浏览器一致 */
html[lang="ja"] h2 {

    font-weight: 700 !important;
    font-family: "Hiragino Kaku Gothic ProN", "Meiryo", "Noto Sans JP", sans-serif !important;
    -webkit-text-stroke: 0px !important;
    text-stroke: 0px !important;
    -webkit-font-smoothing: antialiased !important;
    font-size: 20px !important;
}






label {
    font-weight: normal;
}
select,
input,
button {
    border: none;
    outline: none;
}
textarea,
select,
input {
    -webkit-appearance: none;
    -moz-appearance: none;
    -o-appearance: none;
    -ms-appearance: none;
    appearance: none;
}
input:focus {
    background-color: transparent;
}
img {
    border: 0;
    vertical-align: middle;
    display: block;
}
div:focus {
    outline: none;
}
.relative {
    position: relative;
}
.ellipsis {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}
.towLine {
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    overflow: hidden;
}
.touchscroll {
    -webkit-overflow-scrolling: touch;
}
.preLine {
    white-space: pre-line;
}
.hand {
    cursor: pointer;
}
.column {
    flex-direction: column;
}
input:focus {
    background: none;
}

:not(ul):not(li) {
    margin: 0;
    padding: 0;
    border: 0;
}
a {
    color: blue;
    text-decoration: none;
}
a:hover {
    text-decoration: underline;
}
ul,
li,
p {
    margin: 0;
    padding: 0;
}
/* 优化：列表基础间距，行高更舒适 */
ul {
    padding-left: 24px;
    margin: 0.8rem 0;
    line-height: 1.8;
}
li {
    line-height: 1.8;
    margin: 0.4rem 0;
    font-size: 16px;
}

/* 页面主体布局 */
.main {
    width: 100%;
    margin: 0 auto;
}
.main_index {
    padding: 80px 16px 20px;
    box-sizing: border-box;
}

/* 固定头部 - 精简高度、padding，适配行高 */
.main_header {
    width: 100%;
    min-height: 70px;
    max-width: 100vw;
    padding: 12px 16px;
    box-sizing: border-box;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    margin: 0 auto;
    background-color: #fff;
    display: flex;
    align-items: center;
    z-index: 99;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}
.header-title-box {
    flex: 1;
}
.header-title {
    font-size: 24px;
    font-weight: 500;
    color: #32333b;
    line-height: 1.2;
    margin: 0;
}
.header-desc {
    font-size: 14px;
    color: #666;
    line-height: 1.2;
    margin: 4px 0 0;
}

/* 语言选择框 */
.header_right {
    display: flex;
    height: 100%;
    align-items: center;
    position: absolute;
    left: 60%;
    width: 100px;
}
.lang_en {
    position: relative;
    right: 0;
    top: 0;
    width: 94px;
    height: 27px;
}
.area {
    height: 27px;
    line-height: 27px;
    position: relative;
    cursor: pointer;
    border: 1px solid #333;
}
.area span {
    color: #333;
    font-size: 16px;
    display: block;
    float: left;
    width: 65px;
    height: 27px;
    text-align: center;
    line-height: 27px;
}
.area ul {
    position: absolute;
    left: -0.5px;
    top: 25px;
    width: 100%;
    cursor: default;
    display: none;
    border: 1px solid #333;
    text-align: center;
    background: #fff;
    padding: 0;
    margin: 0;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    box-sizing: border-box;
    z-index: 999;
}
.area:hover ul,
.area ul.show {
    display: block;
    z-index: 999;
}
.area:hover i {
    background: url(../images/row_down.png) no-repeat;
    background-size: 10px 9px;
}
.area ul li {
    height: 36px;
    line-height: 36px;
    cursor: pointer;
    text-align: center;
    font-size: 14px;
    list-style: none;
    margin: 0;
    padding: 0;
}
.area ul li.line {
    height: 1px;
    margin: 8px 0;
    padding: 0;
    background-color: #373d41;
}
.area ul li a {
    display: block;
    height: 100%;
    white-space: nowrap;
    color: #333;
    font-size: 16px;
    text-decoration: none;
}
.area ul li a:hover {
    color: #000;
    background: #f5f5f5;
}
.ico_bg {
    width: 27px;
    height: 27px;
    position: absolute;
    right: 0;
}

/* 关闭按钮 */
.kesu_text01_2 {
    border: 1px solid #333;
    font-size: 18px;
    width: 30px;
    text-align: center;
    transition: all 0.3s;
    cursor: pointer;
    height: 27px;
    margin-left: 10px;
    position: absolute;
    right: 20px;
    top: 50%;
    transform: translateY(-50%);
    line-height: 25px;
}
.kesu_text01_2:hover {
    background: #f5f5f5;
}

/* 正文区域 - 核心修复行间距、段落间距 */
.main-content {
    display: -webkit-box;
    display: -webkit-flex;
    display: -ms-flexbox;
    display: flex;
}
.content-box {
    background: #fff;
    border-radius: 8px;
    overflow: hidden;
    margin-top: 12px;
    font-size: 16px;
    line-height: 1.8;
    box-shadow: none;
}
.content-main {
    padding: 0 20px 20px 20px;
    width: 100%;

    margin: 0 auto;
    word-break: break-word;
}
.content-main img {
    object-fit: contain;
    max-width: 100%;
    margin: 1.2rem auto;
}
/* 标题样式 - 核心修复：精准锚点偏移+舒适间距，避免被头部遮挡 */
.content-main h2 {
    font-size: 20px;
    font-weight: 600;
    color: #32333b;
    line-height: 1.4;
    margin: 1.5rem 0 0.8rem;

    padding-top: 80px;
    margin-top: 0;
    scroll-margin-top: 80px;
    position: relative;
}
/* 段落样式 - 核心修复：舒适行高+均匀间距 */
.content-main p {
    font-size: 16px;
    line-height: 1.8;
    margin: 0.8rem 0;
    word-break: normal;
    overflow-wrap: break-word;
}
/* 恢复链接默认样式，优化hover效果 */
.content-main p a,
.content-main ul li a {
    text-decoration: underline;
}
.content-main  a{
    color:#333;
}
.content-main p a:hover,
.content-main ul li a:hover {
    color: #0056b3;
}

/* 回到顶部按钮 - 修复rem单位，适配正常基准 */
#gotop {
    display: none;
    position: fixed;
    right: 1rem;
    bottom: 1rem;
    padding: 0.6rem 0.9rem;
    font-size: 0.9rem;
    background: #777;
    color: white;
    cursor: pointer;
    z-index: 99;
    border-radius: 4px;
    line-height: 1;
    transition: background 0.3s;
}
#gotop:hover {
    background: #555;
}
.header-title {
    font-size: 24px;
    font-weight: bold;
    margin: 0;
}

/* 移动端适配（768px以下）- 精简字号、间距，保持行高一致 */
@media (max-width: 768px) {
    .main_index {
        padding: 70px 8px 20px;
    }
    .main_header {
        min-height: 60px;
        padding: 8px 12px;
    }
    .header-title {
        font-size: 16px; word-break: break-all; width: 40%;
    }
    .header-desc {
        font-size: 12px;
    }
    .header_right {
        left: 50%;
        width: 80px;
    }
    .kesu_text01_2 {
        right: 10px;
        font-size: 16px;
        width: 26px;
        height: 26px;
        line-height: 24px;
    }
    .content-main {
        padding: 0 15px 20px 15px;
        max-width: 100%;
    }
    /* 移动端标题：适配头部高度，偏移量60px */
    .content-main h2 {
        font-size: 18px;
        margin: 1.2rem 0 0.6rem;
        padding-top: 60px;
        margin-top: 0;
        scroll-margin-top: 60px;
    }
    /* 移动端段落：适配字号，保持行高 */
    .content-main p {
        font-size: 14px;
        line-height: 1.8;
        margin: 0.6rem 0;
    }
    /* 移动端列表：适配间距 */
    ul {
        padding-left: 20px;
        margin: 0.6rem 0;
    }
    li {
        font-size: 14px;
        line-height: 1.8;
        margin: 0.3rem 0;
    }
    /* 移动端回到顶部：优化大小 */
    #gotop {
        right: 0.5rem;
        bottom: 0.5rem;
        padding: 0.5rem 0.7rem;
        font-size: 0.8rem;
    }
}


/* 列表样式：放大圆点（与Word一致）+ 间距调整 */

/* 表格样式：合并单元格+边框+Word格式还原 */
table {
    border-collapse: collapse;
    width: 100%;
    margin: 15px 0;
    table-layout: fixed;
}
table td {
    border: 1px solid #000;
    padding: 12px;
    vertical-align: top;
    word-wrap: break-word;
    font-size: 14px;
}
table td strong {
    font-weight: bold;
}
/* 加粗样式统一 */
.content-main strong {
    font-weight: 700;
}


.ul li{list-style: none;}


/* 1. 放大列表圆点（与Word样式一致） */
.content-main ul {
    list-style-type: disc; /* 实心圆点 */
    padding-left: 25px; /* 缩进匹配Word */
    margin: 10px 0;
}
.content-main ul li {
    margin: 8px 0;
    font-size: 1em;
}
/* 兼容多浏览器的圆点放大效果 */
.content-main ul li::marker {
    font-size: 1.2em; /* 圆点放大20% */
}

/* 2. 表格样式：匹配Word单元格合并+边框 */
.content-main table {
    border-collapse: collapse;
    width: 100%;
    margin: 15px 0;
}
.content-main table td, .content-main table th {
    border: 1px solid #333;
    padding: 10px;
    vertical-align: top;
}
.content-main table .merged-cell {
    text-align: center;
    font-weight: bold;
}

/* 3. 加粗样式强制生效 */
.content-main strong {
    font-weight: 700 !important;
}

/* 4. 链接样式统一 */

/* Estilo de lista con puntos grandes (igual al Word) */
ul {
    list-style-type: disc;
    padding-left: 25px;
    margin: 12px 0;
}
ul li {
    margin: 10px 0;
    line-height: 1.8;
    font-size: 14px;
}
/* Estilos base consistentes con la versión original */
p {
    line-height: 1.8;
    margin: 10px 0;
    text-align: justify;
}
h2 {
    font-size: 18px;
    margin: 25px 0 12px;
    font-weight: bold;
}
a {
    color: #0066cc;
    text-decoration: none;
}
a:hover {
    text-decoration: underline;
}
strong {
    font-weight: 700;
}
.main {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
}
.main_header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid #eee;
    padding-bottom: 15px;
    margin-bottom: 20px;
}

.kesu_text01_2 {
    cursor: pointer;
    font-size: 20px;
    font-weight: bold;
}
#gotop {
    position: fixed;
    bottom: 20px;
    right: 20px;
    padding: 8px 15px;
    background: #eee;
    cursor: pointer;
    border-radius: 4px;
}