.rules-page .sub-visual{display: flex; align-items: center; padding : 0; text-align: center;}
.rules-page .sub-visual h1 {margin : 27px 0 0 0;}
.rules-page * {
    line-height: inherit;
}

section {
    margin-top: 70px;
    scroll-margin-top: 20px;
}
section .inner {
    padding: 0;
}
section:first-child {
    margin-top: 0;
}
section:last-child {
    margin-bottom: 120px;
}

h1 {
    font-weight: 800;
    font-size: 44px;
    letter-spacing: -0.03em;
    color: #121212;
    text-align: center;
}
h1 i {
    letter-spacing: -0.05em;
}

h2 {
    font-weight: 700;
    font-size: 22px;
    letter-spacing: -0.03em;
    color: #121212;
}

.content {
    margin-top: 20px;
    font-size: 16px;
    line-height: 1.7;
    letter-spacing: -0.04em;
    color: #5d5d5e;
}
.content li ~ li {
    margin-top: 2px;
}
.content li ul, .content li ol {
    margin-left: 18px;
    font-size: 15px;
}
.content li .table-wrapper {
    margin-bottom: 1rem;
}
.table-wrapper + .content {
    margin-top: 1rem;
}
.content li .content {
    margin-top: 1rem;
}
.content a {
    color: #657ee9;
    text-decoration: underline;
}
.content dt {
    font-weight: 600;
}
.content dt ~ dt {
    margin-top: 1rem;
}

table {
    width: 100%;
}
table thead {
    background-color: #f1f4f4;
}
table th,
table td {
    text-align: center;
    border: solid 1px #d8d7da;
    padding: 6px 1rem;
    color: #777;
}
table th {
    border-top: solid 1px #121212;
    color: #000;
}
table th:first-child, table td:first-child {
    border-left: 0;
}
table th:last-child, table td:last-child {
    border-right: 0;
}
table th {
    font-weight: 500;
    padding: 6px 0;
}
.tfoot {
    font-size: 14px;
}

.reason {
    border-radius: 5px;
    background-color: #f1f4f4;
    padding: 1rem 2rem;
    margin-bottom: 8px;
}
.reason.content ul {
    margin-left: 0;
}
.reason ul li {
    line-height: 1.5;
}
.index {
    margin-top: 2rem;
    display: grid;
    grid-template-rows: repeat(6, 1fr);
    grid-template-columns: repeat(2, 1fr);
    grid-auto-flow: column;
    border-radius: 5px;
    border: solid 1px #cacaca;
    padding: 25px 35px;
    font-weight: 500;
    font-size: 16px;
    line-height: 1.7;
    letter-spacing: -0.04em;
    color: #333;
    row-gap: 3px;
}
.index li {
    text-align: left;
}
.index li a {
    color: inherit;
    text-decoration: unset;
}
.index li a:hover {
    color: #0076FF;
    text-decoration: underline;
}

@media (max-width: 660px) {
    section {
        margin-top: 40px;
    }
    section:first-child .inner {
        padding: 60px 0 40px;
    }
    section:last-child {
        margin-bottom: 60px;
    }
    h1 {
        font-size: 27px;
    }
    h2 {
        font-size: 20px;
    }
    .content {
        margin-top: 18px;
        font-size: 14px;
    }
    .content li ul, .content li ol {
        margin-left: 14px;
        font-size: 14px;
    }
    .table-wrapper {
        width: 100%;
        overflow-x: auto;
    }
    .table-wrapper table {
        min-width: 600px;
    }
}