/* Article Content Styles - Shared between Product and News Detail Pages */
.article-content {
    line-height: 2;
    color: #374151;
    font-family: 'Noto Serif JP', serif;
}

.article-content h2 {
    font-size: 1.75rem;
    font-weight: 700;
    margin-top: 2.5rem;
    margin-bottom: 1.5rem;
    color: #1f2937;
    padding-bottom: 0.5rem;
    border-bottom: 3px solid #ec4899;
}

.article-content h3 {
    font-size: 1.5rem;
    font-weight: 600;
    margin-top: 2rem;
    margin-bottom: 1rem;
    color: #1f2937;
    padding-left: 1rem;
    border-left: 4px solid #ec4899;
}

.article-content h4 {
    font-size: 1.25rem;
    font-weight: 600;
    margin-top: 1.5rem;
    margin-bottom: 0.75rem;
    color: #374151;
    background: linear-gradient(to right, #fdf2f8 0%, transparent 100%);
    padding: 0.5rem 1rem;
    border-radius: 0.5rem;
}

.article-content h5 {
    font-size: 1.125rem;
    font-weight: 600;
    margin-top: 1.25rem;
    margin-bottom: 0.5rem;
    color: #4b5563;
    position: relative;
    padding-left: 1.5rem;
}

.article-content h5::before {
    content: '▸';
    position: absolute;
    left: 0;
    color: #ec4899;
}

.article-content p {
    margin-bottom: 1.5rem;
}

.article-content ul,
.article-content ol {
    margin-bottom: 1.5rem;
}

.article-content ol {
    padding-left: 1.15rem;
}

.article-content ul {
    list-style-type: none;
}

.article-content ul>li {
    position: relative;
    padding-left: 1.5rem;
}

.article-content ul>li::before {
    content: '●';
    position: absolute;
    left: 0;
    top: 3px;
    color: #ec4899;
    font-size: 0.8em;
}

.article-content ol {
    list-style-type: decimal;
    list-style-position: outside;
}

.article-content ol>li {
    padding-left: 0.5rem;
}

.article-content ol>li::marker {
    color: #ec4899;
    font-weight: bold;
}

.article-content li {
    margin-bottom: 0.75rem;
}

.article-content ul ul,
.article-content ol ol {
    margin-top: 0.5rem;
    margin-bottom: 0.5rem;
}

.article-content blockquote {
    border-left: 4px solid #ec4899;
    padding-left: 1.5rem;
    margin: 2rem 0;
    font-style: italic;
    color: #6b7280;
    background: #fdf2f8;
    padding: 1.5rem;
    border-radius: 0.5rem;
}

.article-content img {
    border-radius: 1rem;
    margin: 2rem 0;
    width: 100%;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

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

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

.article-content table th {
    background-color: #fdf2f8;
    font-weight: 600;
    color: #1f2937;
}

.article-content table tr:nth-child(even) {
    background-color: #fafafa;
}

.article-content a {
    color: #ec4899;
    text-decoration: underline;
    transition: color 0.3s ease;
}

.article-content a:hover {
    color: #db2777;
}

.article-content dl {
    margin-bottom: 1.5rem;
}

.article-content dt {
    font-weight: 600;
    color: #1f2937;
    margin-top: 1rem;
    margin-bottom: 0.5rem;
}

.article-content dd {
    margin-left: 1.5rem;
    margin-bottom: 0.75rem;
    color: #6b7280;
}

.article-content strong {
    font-weight: 600;
    color: #1f2937;
}

.article-content em {
    font-style: italic;
    color: #ec4899;
}

.article-content code {
    background-color: #f3f4f6;
    padding: 0.125rem 0.375rem;
    border-radius: 0.25rem;
    font-family: 'Courier New', monospace;
    font-size: 0.875em;
}

.article-content pre {
    background-color: #1f2937;
    color: #f9fafb;
    padding: 1rem;
    border-radius: 0.5rem;
    overflow-x: auto;
    margin: 1.5rem 0;
}

.article-content pre code {
    background-color: transparent;
    padding: 0;
    color: inherit;
}
