/* ========================================
   RealAIze News - 記事詳細スタイル
   元サイト 20250210.B9bLlgwk.css を再現
   ======================================== */

.meta-info {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-family: 'Kumbh Sans', sans-serif;
    font-size: 0.875rem;
    color: #666;
    margin-bottom: 2rem;
    padding: 0.75rem 1rem;
    background: #f3f3f3;
    border-radius: 6px;
    border-left: 4px solid #368dc8;
}

.meta-info .date {
    font-weight: 500;
    color: #3f3f3f;
}

.meta-info .category {
    background: #c7e0ee;
    color: #368dc8;
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 0.02em;
}

.news-article {
    max-width: 800px;
    margin: 0 auto;
}

.news-article h1,
.news-article h2,
.news-article h3,
.news-article h4 {
    font-family: 'Noto Sans JP', sans-serif;
    font-weight: 700;
    line-height: 1.4;
    margin-top: 2em;
    margin-bottom: 0.8em;
    color: #3f3f3f;
    letter-spacing: -0.02em;
}

.news-article h1 {
    font-size: 2.25rem;
    margin-top: 0;
    margin-bottom: 1rem;
    border-bottom: 3px solid #368dc8;
    padding-bottom: 0.5rem;
    position: relative;
    color: #3f3f3f;
}

.news-article h1::after {
    content: "";
    position: absolute;
    bottom: -3px;
    left: 0;
    width: 60px;
    height: 3px;
    background: #73becd;
}

.news-article h2 {
    font-size: 1.75rem;
    border-left: 5px solid #368dc8;
    padding-left: 1rem;
    background: linear-gradient(to right, #f3f3f3 0%, transparent 100%);
    padding-top: 0.5rem;
    padding-bottom: 0.5rem;
    color: #3f3f3f;
}

.news-article h3 {
    font-size: 1.375rem;
    position: relative;
    padding-left: 1.5rem;
    color: #3f3f3f;
}

.news-article h3::before {
    content: "\25CF";
    position: absolute;
    left: 0;
    color: #73becd;
    font-size: 0.8em;
    top: 0.1em;
}

.news-article h4 {
    font-size: 1.125rem;
    font-weight: 600;
    color: #3f3f3f;
    border-bottom: 1px dotted #e8e8e8;
    padding-bottom: 0.3rem;
}

.news-article p {
    font-family: 'Noto Sans JP', sans-serif;
    font-size: 1rem;
    line-height: 1.8;
    margin-bottom: 1.2em;
    color: #3f3f3f;
    text-align: justify;
}

.news-article h1 + p {
    font-size: 1.125rem;
    font-weight: 500;
    color: #3f3f3f;
    margin-bottom: 2em;
    padding: 1.25rem;
    background: #c7e0ee;
    border-left: 4px solid #368dc8;
    border-radius: 0 6px 6px 0;
    position: relative;
}

.news-article h1 + p::before {
    content: "";
    position: absolute;
    top: 0;
    right: 0;
    width: 0;
    height: 0;
    border-style: solid;
    border-width: 0 8px 8px 0;
    border-color: transparent #368dc8 transparent transparent;
}

.news-article strong {
    color: #368dc8;
    font-weight: 700;
}

.news-article .notice,
.news-article blockquote,
.news-article .wp-block-quote {
    background: #bcdde4;
    border: 1px solid #73becd;
    border-radius: 6px;
    padding: 1rem 1.25rem;
    margin: 1.5rem 0;
    position: relative;
}

.news-article .notice::before,
.news-article blockquote::before,
.news-article .wp-block-quote::before {
    content: "\2139";
    position: absolute;
    top: -10px;
    left: 15px;
    background: #73becd;
    color: #fff;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    font-weight: 700;
}

.news-article img,
.news-article .wp-block-image img {
    border-radius: 8px;
    margin: 1.5rem 0;
    max-width: 100%;
    height: auto;
}

.news-article .wp-block-image {
    margin: 1.5rem 0;
}

.news-article .wp-block-image figcaption {
    text-align: center;
    font-size: 0.85rem;
    color: #666;
    margin-top: 0.5rem;
}

.news-article ul,
.news-article ol {
    margin: 1rem 0 1.5rem 1.5rem;
}

.news-article ul { list-style: disc; }
.news-article ol { list-style: decimal; }

.news-article li {
    margin-bottom: 0.5rem;
    line-height: 1.8;
}

.news-article a {
    color: #368dc8;
    text-decoration: underline;
    transition: opacity 0.3s;
}

.news-article a:hover {
    opacity: 0.7;
}

.news-article table {
    width: 100%;
    border-collapse: collapse;
    margin: 1.5rem 0;
}

.news-article th,
.news-article td {
    padding: 0.75rem 1rem;
    border: 1px solid #e8e8e8;
    text-align: left;
}

.news-article th {
    background: #f3f3f3;
    font-weight: 600;
}

.news-article .aligncenter { display: block; margin: 1.5rem auto; }
.news-article .alignleft { float: left; margin: 0 1.5rem 1rem 0; }
.news-article .alignright { float: right; margin: 0 0 1rem 1.5rem; }

@media screen and (max-width: 768px) {
    .meta-info {
        flex-direction: column;
        gap: 0.5rem;
        align-items: flex-start;
        font-size: 0.8rem;
    }
    .news-article h1 { font-size: 1.875rem; }
    .news-article h2 { font-size: 1.5rem; padding-left: 0.8rem; }
    .news-article h3 { font-size: 1.25rem; padding-left: 1.2rem; }
    .news-article h4 { font-size: 1.0625rem; }
    .news-article p { font-size: 0.9375rem; }
    .news-article h1 + p { font-size: 1rem; padding: 1rem; }
}

@media screen and (max-width: 480px) {
    .meta-info { padding: 0.5rem 0.75rem; font-size: 0.75rem; }
    .meta-info .category { font-size: 0.7rem; padding: 0.2rem 0.6rem; }
    .news-article h1 { font-size: 1.625rem; margin-bottom: 0.8rem; }
    .news-article h2 { font-size: 1.375rem; padding-left: 0.6rem; }
    .news-article h3 { font-size: 1.125rem; padding-left: 1rem; }
    .news-article h4 { font-size: 1rem; }
    .news-article p { font-size: 0.875rem; line-height: 1.7; margin-bottom: 1em; }
    .news-article h1 + p { font-size: 0.9375rem; padding: 0.8rem; }
    .news-article h1, .news-article h2, .news-article h3, .news-article h4 {
        margin-top: 1.5em;
        margin-bottom: 0.6em;
    }
}
