/* CKEditor-like content styles scoped to news-contain-sp */

.news-contain-sp {
    line-height: 1.6;
}

.news-contain-sp a {
    color: #38A5EE;
    text-decoration: none;
}

.news-contain-sp a:hover {
    text-decoration: underline;
}

.news-contain-sp p {
    margin: 0 0 1em;
}

.news-contain-sp h1,
.news-contain-sp h2,
.news-contain-sp h3,
.news-contain-sp h4,
.news-contain-sp h5,
.news-contain-sp h6 {
    font-weight: bold;
    margin: 1.2em 0 0.6em;
}

.news-contain-sp h1 { font-size: 2em; }
.news-contain-sp h2 { font-size: 1.7em; }
.news-contain-sp h3 { font-size: 1.5em; }
.news-contain-sp h4 { font-size: 1.3em; }
.news-contain-sp h5 { font-size: 1.1em; }
.news-contain-sp h6 { font-size: 1em; }

.news-contain-sp ul,
.news-contain-sp ol {
    margin: 0 0 1em 1.5em;
    padding-left: 1.2em;
}

.news-contain-sp ul {
    list-style-type: disc;
}

.news-contain-sp ol {
    list-style-type: decimal;
}

.news-contain-sp li + li {
    margin-top: 0.25em;
}

.news-contain-sp blockquote {
    margin: 1.5em 0;
    padding: 0.5em 1em;
    border-left: 4px solid #ccc;
    color: #555;
    background-color: #f9f9f9;
}

.news-contain-sp img {
    max-width: 100%;
    height: auto;
    display: block;
    margin: 1em auto;
}

.news-contain-sp figure {
    margin: 1.5em 0;
}

.news-contain-sp figure img {
    margin: 0 auto;
}

.news-contain-sp figcaption {
    margin-top: 0.5em;
    font-size: 0.9em;
    color: #666;
}

.news-contain-sp table {
    width: 100%;
    border-collapse: collapse;
    margin: 1.5em 0;
}

.news-contain-sp table th,
.news-contain-sp table td {
    border: 1px solid #d1d1d1;
    padding: 0.5em 0.75em;
}

.news-contain-sp table th {
    background-color: #f3f3f3;
    font-weight: 600;
}

.news-contain-sp hr {
    border: 0;
    border-top: 1px solid #ddd;
    margin: 2em 0;
}

.news-contain-sp code {
    font-family: Consolas, "Courier New", monospace;
    background-color: #f4f4f4;
    padding: 0.1em 0.3em;
    border-radius: 3px;
}

.news-contain-sp pre {
    font-family: Consolas, "Courier New", monospace;
    background-color: #f4f4f4;
    padding: 1em;
    border-radius: 4px;
    overflow: auto;
    margin: 1.5em 0;
}

.news-contain-sp pre code {
    background: none;
    padding: 0;
}

.news-contain-sp b,
.news-contain-sp strong {
    font-weight: 600;
}

.news-contain-sp i,
.news-contain-sp em {
    font-style: italic;
    color: #a1a5b7;
}

/* CKEditor highlight (marker & pen) – mirrored from .ck-content */
:root {
    --ck-highlight-marker-yellow: #fdfd77;
    --ck-highlight-marker-green: #62f962;
    --ck-highlight-marker-pink: #fc7899;
    --ck-highlight-marker-blue: #72ccfd;
    --ck-highlight-pen-red: #e71313;
    --ck-highlight-pen-green: #128a00;
}

.news-contain-sp .marker-yellow {
    background-color: var(--ck-highlight-marker-yellow);
}

.news-contain-sp .marker-green {
    background-color: var(--ck-highlight-marker-green);
}

.news-contain-sp .marker-pink {
    background-color: var(--ck-highlight-marker-pink);
}

.news-contain-sp .marker-blue {
    background-color: var(--ck-highlight-marker-blue);
}

.news-contain-sp .pen-red {
    background-color: transparent;
    color: var(--ck-highlight-pen-red);
}

.news-contain-sp .pen-green {
    background-color: transparent;
    color: var(--ck-highlight-pen-green);
}

.news-contain-sp .text-center {
    text-align: center;
}

.news-contain-sp .text-right {
    text-align: right;
}

.news-contain-sp .text-left {
    text-align: left;
}

.news-contain-sp .image-style-align-left {
    float: left;
    margin: 0 1em 1em 0;
}

.news-contain-sp .image-style-align-right {
    float: right;
    margin: 0 0 1em 1em;
}

.news-contain-sp .image-style-align-center {
    display: block;
    margin-left: auto;
    margin-right: auto;
}

.news-contain-sp::after {
    content: "";
    display: block;
    clear: both;
}

