@charset "UTF-8";

.single-contents>*+* {
    margin-top: 2rem;
}

.single-contents h1 {
    font-size: 4rem;
    font-weight: bold;
    line-height: 1.4;
    margin-bottom: 2.4rem;
    color: #333;
}

.single-contents h2 {
    position: relative;
    display: inline-block;
    width: 100%;
    margin-top: 0;
    margin-bottom: 4rem;
    font-size: 3.2rem;
    font-weight: 700;
    line-height: 1.3;
    padding-top: 2.4rem;
    padding-bottom: 2rem;
    color: #0065b2;
}

.single-contents h2::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    width: 6rem;
    height: 4px;
    background: linear-gradient(90deg, var(--color-primary));
    border-radius: 2px;
}

.single-contents h3 {
    font-size: 2.4rem;
    font-weight: 700;
    color: var(--color-primary);
    margin-top: 3.2rem;
    margin-bottom: 3rem;
    padding-bottom: 1rem;
    border-bottom: 2px solid rgba(0, 104, 183, 0.2);
    position: relative;
}

.single-contents h4 {
    font-size: 2.2rem;
    font-weight: 700;
    color: var(--color-primary);
    margin-top: 3.2rem;
    margin-bottom: 2.5rem;
    position: relative;
    padding-left: 2rem;
}

.single-contents h4::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0.5rem;
    height: 2.5rem;
    width: 4px;
    background: linear-gradient(to bottom, var(--color-primary), var(--color-secondary));
    border-radius: 2px;
}

.single-contents h5 {
    font-size: 1.8rem;
    font-weight: bold;
    line-height: 1.4;
    margin-top: 1.6rem;
    margin-bottom: 1rem;
    color: #333;
}

.single-contents ul {
    margin-bottom: 2rem;
    padding-left: 1.8rem;
}

.single-contents ul li {
    position: relative;
    margin-bottom: 0.8rem;
    line-height: 1.6;
    font-size: 1.6rem;
}

.single-contents ul li::before {
    content: "•";
    position: absolute;
    left: -1.2rem;
    color: var(--color-primary);
}

.single-contents ol {
    margin-bottom: 2rem;
    padding-left: 2.4rem;
    list-style: none;
    counter-reset: number-counter;
}

.single-contents ol li {
    position: relative;
    margin-bottom: 0.8rem;
    line-height: 1.6;
    font-size: 1.6rem;
    counter-increment: number-counter;
}

.single-contents ol li::before {
    content: counter(number-counter) ".";
    position: absolute;
    left: -2rem;
    color: var(--color-primary);
    font-weight: 500;
}

.single-contents ol li:last-child {
    margin-bottom: 0;
}

.single-contents a {
    color: var(--color-primary);
    text-decoration: none;
    font-weight: 400;
    transition: all 0.2s ease;
    text-decoration: underline;
    position: relative;
}

@media screen and (min-width: 768px) {
    .single-contents a:hover {
        text-decoration: none;
    }
}


.single-contents table {
    border-collapse: collapse;
    font-size: 1.4rem;
    text-align: left;
    width: 100%;
    color: #333;
    background-color: #fff;
    border: 1px solid #e0e0e0;
}

.single-contents table thead {
    border-bottom: none;
}

.single-contents table th,
.single-contents table td {
    padding: 1.6rem;
    border: 1px solid #e0e0e0;
    line-height: 1.5;
    vertical-align: middle;
    white-space: nowrap;
}

.single-contents table th {
    background-color: #f3f7fb;
    font-weight: 600;
}

/* レスポンシブ対応 */
@media (max-width: 768px) {

    .single-contents table th,
    .single-contents table td {
        padding: 1rem;
    }
}