﻿/* public/css/style.css に保存 */

.tinymce-content {
    font-family: 'Inter', sans-serif;
    font-size: 1.125rem;
    color: #333;
    line-height: 1.8;
}

.tinymce-content h1 {
    font-size: 2.25rem;
    font-weight: 700;
    color: #1d4ed8;
    margin-bottom: 1rem;
    margin-top: 2rem;
}

.tinymce-content h2 {
    font-size: 1.875rem;
    font-weight: 600;
    color: #1f2937;
    border-bottom: 2px solid #60a5fa;
    padding-bottom: 0.5rem;
    margin-top: 2rem;
    margin-bottom: 1.5rem;
}

.tinymce-content h3 {
    font-size: 1.5rem;
    font-weight: 600;
    margin-top: 1.5rem;
    margin-bottom: 1rem;
}

.tinymce-content h4,
.tinymce-content h5,
.tinymce-content h6 {
    font-size: 1.25rem;
    font-weight: 600;
    margin-top: 1.5rem;
    margin-bottom: 1rem;
}

.tinymce-content p {
    margin-bottom: 1rem;
}

.tinymce-content ul,
.tinymce-content ol {
    padding-left: 1.5rem;
    margin-bottom: 1.25rem;
}

.tinymce-content ul {
    list-style-type: disc;
}

.tinymce-content ol {
    list-style-type: decimal;
}

.tinymce-content li {
    margin-bottom: 0.5rem;
}

.tinymce-content strong {
    font-weight: 700;
}

.tinymce-content blockquote {
    border-left: 4px solid #60a5fa;
    padding-left: 1rem;
    color: #4b5563;
    font-style: italic;
    margin: 1.5rem 0;
    background-color: #f9fafb;
    padding: 1rem;
    border-radius: 0.25rem;
}

.tinymce-content img {
    max-width: 100%;
    height: auto;
    display: block;
    margin: 1rem 0;
    border-radius: 0.5rem;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.tinymce-content table {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 1.5rem;
}

.tinymce-content table th,
.tinymce-content table td {
    border: 1px solid #d1d5db;
    padding: 0.75rem;
    text-align: left;
}

.tinymce-content table th {
    background-color: #f3f4f6;
    font-weight: 600;
}

.tinymce-content a {
    color: #2563eb;
    text-decoration: underline;
}

.tinymce-content a:hover {
    color: #1d4ed8;
    text-decoration: none;
}

.tinymce-content hr {
    border: none;
    border-top: 1px solid #e5e7eb;
    margin: 2rem 0;
}

.tinymce-content pre,
.tinymce-content code {
    background-color: #f3f4f6;
    padding: 0.5rem 0.75rem;
    border-radius: 0.25rem;
    font-family: Consolas, Monaco, 'Courier New', monospace;
    font-size: 0.95rem;
    overflow-x: auto;
}
.tinymce-content pre {
    margin: 1rem 0;
}

.tinymce-content iframe {
    max-width: 100%;
    height: auto;
    border: none;
}

.tinymce-content .list-check li {
    display: flex;
    align-items: center;
}
.tinymce-content .list-check li::before {
    content: '✓';
    color: #22c55e;
    font-weight: bold;
    display: inline-block;
    width: 1em;
    margin-right: 0.5em;
    margin-left: -1em;
}
