/**
 * Simple Block Editor Styles for News Articles
 * 日本リユース業協会テーマ用の記事投稿向けブロックエディタースタイル
 */

/* ===== 基本レイアウト ===== */
.news-content,
.post-content,
.article-content {
    max-width: 800px;
    margin: 0 auto;
    padding: 0 20px;
    font-family: "Noto Sans JP", -apple-system, BlinkMacSystemFont, sans-serif;
}

.news-content > *,
.post-content > *,
.article-content > * {
    margin-bottom: 1.5em;
}

/* ===== 見出しスタイル ===== */
.news-content h1,
.post-content h1,
.article-content h1 {
    font-size: 2.2em;
    font-weight: 700;
    color: #2c3e50;
    line-height: 1.3;
    margin-bottom: 0.75em;
    padding-bottom: 0.5em;
    border-bottom: 3px solid #e74c3c;
}

.news-content h2,
.post-content h2,
.article-content h2 {
    font-size: 1.7em;
    font-weight: 600;
    color: #34495e;
    margin-top: 2em;
    margin-bottom: 0.75em;
    padding: 0.3em 0 0.3em 0.7em;
    border-left: 5px solid #3498db;
    background: linear-gradient(90deg, #f8f9fa 0%, transparent 100%);
}

.news-content h3,
.post-content h3,
.article-content h3 {
  background-position: relative;
  background-color: #F8F8F8;
  font-size: 22px;
  font-weight: 700;
  padding-inline: 38px 14px;
  padding-block: 12px;
  margin-block: 48px 24px;
  position: relative;
}

.news-content h3:before,
.post-content h3:before,
.article-content h3:before {
  content: '';
  width: 18px;
  position: absolute;
  height: 100%;
  display: inline-block;
  background-color: #62B752;
  top: 0;
  left: 0;
  z-index: +1;
}

.news-content h4,
.post-content h4,
.article-content h4 {
    font-size: 1.2em;
    font-weight: 600;
    color: #34495e;
    margin-top: 1.5em;
    margin-bottom: 0.75em;
}

/* ===== 段落とテキスト ===== */
.news-content p,
.post-content p,
.article-content p {
    line-height: 1.8;
    margin-bottom: 1.4em;
    color: #2c3e50;
    font-size: 1em;
}

/* .news-content strong,
.post-content strong,
.article-content strong {
    font-weight: 700;
    color: #e74c3c;
    /* background: linear-gradient(180deg, transparent 60%, #fff2e6 60%); */
} */

.news-content em,
.post-content em,
.article-content em {
    font-style: italic;
    color: #8e44ad;
}

/* ===== リストスタイル ===== */
.news-content ul,
.post-content ul,
.article-content ul {
    padding-left: 1.8em;
    margin-bottom: 1.4em;
    list-style-type: none;
}

.news-content ul li:before,
.post-content ul li:before,
.article-content ul li:before {
    content: "●";
    color: #3498db;
    margin-right: 0.5em;
    margin-left: -1.2em;
    position: absolute;
}

.news-content ol,
.post-content ol,
.article-content ol {
    padding-left: 1.8em;
    margin-bottom: 1.4em;
    counter-reset: list-counter;
}

.news-content ol li,
.post-content ol li,
.article-content ol li {
    counter-increment: list-counter;
    position: relative;
}

.news-content ol li:before,
.post-content ol li:before,
.article-content ol li:before {
    content: counter(list-counter);
    background: #3498db;
    color: white;
    border-radius: 50%;
    width: 1.5em;
    height: 1.5em;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 0.8em;
    font-weight: bold;
    margin-right: 0.5em;
    margin-left: -2em;
    position: absolute;
    top: 0.1em;
}

.news-content li,
.post-content li,
.article-content li {
    margin-bottom: 0.7em;
    line-height: 1.7;
    position: relative;
}

/* ===== 引用スタイル ===== */
.news-content blockquote,
.post-content blockquote,
.article-content blockquote {
    border-left: 5px solid #3498db;
    padding: 1.2em 1.5em;
    margin: 1.5em 0;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    font-style: italic;
    position: relative;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

/* .news-content blockquote:before,
.post-content blockquote:before,
.article-content blockquote:before {
    content: "\201C";
    font-size: 3em;
    color: #3498db;
    position: absolute;
    top: -0.2em;
    left: 0.3em;
    opacity: 0.3;
} */

/* ===== 画像スタイル ===== */
.news-content img,
.post-content img,
.article-content img {
    max-width: 100%;
    height: auto;
    margin-bottom: 1em;
    /* border-radius: 8px; */
    /* box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1); */
    transition: transform 0.3s ease;
}

/* .news-content img:hover,
.post-content img:hover,
.article-content img:hover {
    transform: scale(1.02);
} */

.news-content figure,
.post-content figure,
.article-content figure {
    margin: 2em 0;
    text-align: center;
    /* background: #f8f9fa; */
    /* padding: 1em; */
    /* border-radius: 8px; */
}

.news-content figcaption,
.post-content figcaption,
.article-content figcaption {
    /* font-size: 0.9em; */
    color: #6c757d;
    margin-top: 0.8em;
    font-style: italic;
}

/* ===== テーブルスタイル ===== */
.news-content table,
.post-content table,
.article-content table {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 2em;
    border: 1px solid #dee2e6;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.news-content th,
.post-content th,
.article-content th {
    /* background: linear-gradient(135deg, #3498db 0%, #2980b9 100%); */
    color: white;
    /* padding: 1em; */
    text-align: left;
    /* font-weight: 600; */
    /* border-bottom: 2px solid #2980b9; */
}

.news-content td,
.post-content td,
.article-content td {
    padding: 0.8em 1em;
    border-bottom: 1px solid #dee2e6;
    transition: background-color 0.3s ease;
}

.news-content tr:hover td,
.post-content tr:hover td,
.article-content tr:hover td {
    background-color: #f8f9fa;
}

/* ===== WordPressテーブルブロック専用スタイル ===== */
.wp-block-table {
    margin: 2em 0;
    overflow-x: auto;
}

.wp-block-table table {
    width: 100%;
    border-collapse: collapse;
    border: 1px solid #dee2e6;
    /* border-radius: 8px; */
    overflow: hidden;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.wp-block-table th {
    /* background: linear-gradient(135deg, #3498db 0%, #2980b9 100%); */
    color: white;
    padding: 1em;
    text-align: left;
    font-weight: 600;
    border: 1px solid #2980b9;
}

.wp-block-table td {
    padding: 0.8em 1em;
    border: 1px solid #dee2e6;
    transition: background-color 0.3s ease;
}

.wp-block-table tr:nth-child(even) {
    background-color: #f8f9fa;
}

.wp-block-table tr:hover {
    background-color: #e9ecef;
}

/* テーブルスタイル変更 */
.wp-block-table.is-style-stripes tbody tr:nth-child(odd) {
    background-color: #f8f9fa;
}

.wp-block-table.is-style-stripes tbody tr:nth-child(even) {
    background-color: white;
}

/* レスポンシブ対応 */
@media (max-width: 768px) {
    .wp-block-table {
        font-size: 0.9em;
    }

    .wp-block-table th,
    .wp-block-table td {
        padding: 0.6em 0.8em;
    }
}

@media (max-width: 480px) {
    .wp-block-table {
        font-size: 0.8em;
        margin: 1.5em 0;
    }

    .wp-block-table th,
    .wp-block-table td {
        padding: 0.5em 0.6em;
    }

    /* 小さい画面では横スクロール可能にする */
    .wp-block-table {
        overflow-x: auto;
        display: block;
        white-space: nowrap;
    }
}

/* ===== ボタンスタイル ===== */
.news-content .wp-block-button .wp-block-button__link,
.post-content .wp-block-button .wp-block-button__link,
.article-content .wp-block-button .wp-block-button__link {
    background: linear-gradient(135deg, #3498db 0%, #2980b9 100%);
    border: none;
    border-radius: 25px;
    padding: 0.8em 2em;
    font-weight: 600;
    transition: all 0.3s ease;
    box-shadow: 0 4px 8px rgba(52, 152, 219, 0.3);
}

.news-content .wp-block-button .wp-block-button__link:hover,
.post-content .wp-block-button .wp-block-button__link:hover,
.article-content .wp-block-button .wp-block-button__link:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 12px rgba(52, 152, 219, 0.4);
}

/* ===== コードブロック ===== */
.news-content code,
.post-content code,
.article-content code {
    background: #f1f2f6;
    padding: 0.2em 0.5em;
    border-radius: 4px;
    font-family: 'Courier New', monospace;
    font-size: 0.9em;
    color: #e74c3c;
}

.news-content pre,
.post-content pre,
.article-content pre {
    background: #2c3e50;
    color: #ecf0f1;
    padding: 1.5em;
    border-radius: 8px;
    overflow-x: auto;
    margin: 1.5em 0;
}

/* ===== 注意書きボックス ===== */
.news-content .notice-box,
.post-content .notice-box,
.article-content .notice-box {
    background: #fff3cd;
    border: 1px solid #ffeaa7;
    border-left: 5px solid #fdcb6e;
    padding: 1em 1.2em;
    margin: 1.5em 0;
    border-radius: 0 8px 8px 0;
}

/* ===== レスポンシブデザイン ===== */
@media (max-width: 768px) {
    .news-content,
    .post-content,
    .article-content {
        padding: 0 15px;
    }

    .news-content h1,
    .post-content h1,
    .article-content h1 {
        font-size: 1.8em;
    }

    .news-content h2,
    .post-content h2,
    .article-content h2 {
        font-size: 1.4em;
        margin-top: 1.5em;
    }

    .news-content h3,
    .post-content h3,
    .article-content h3 {
        font-size: 1.2em;
    }

    .news-content table,
    .post-content table,
    .article-content table {
        font-size: 0.9em;
    }

    .news-content th,
    .post-content th,
    .article-content th,
    .news-content td,
    .post-content td,
    .article-content td {
        padding: 0.6em 0.8em;
    }
}

@media (max-width: 480px) {
    .news-content h1,
    .post-content h1,
    .article-content h1 {
        font-size: 1.5em;
    }

    .news-content,
    .post-content,
    .article-content {
        padding: 0 10px;
    }
}

/* ===== 注目の記事セクション ===== */
/* .featured-articles-section {
    margin-top: 3em;
    padding: 2em;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    border-radius: 12px;
    border-top: 4px solid #3498db;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
} */

.featured-articles-title {
    font-size: 1.6em;
    font-weight: 700;
    color: #2c3e50;
    text-align: center;
    margin-bottom: 1.5em;
    position: relative;
}

.featured-articles-title:before {
    content: "★";
    color: #f39c12;
    margin-right: 0.5em;
    font-size: 1.1em;
}

.featured-articles-title:after {
    content: "★";
    color: #f39c12;
    margin-left: 0.5em;
    font-size: 1.1em;
}

.featured-articles-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5em;
    margin-top: 1.5em;
}

.featured-article-item {
    background: white;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    border: 1px solid #e9ecef;
}

.featured-article-item:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

.featured-article-thumbnail {
    position: relative;
    overflow: hidden;
    aspect-ratio: 16/9;
}

.featured-article-thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.featured-article-item:hover .featured-article-thumbnail img {
    transform: scale(1.05);
}

.featured-article-content {
    padding: 1.2em;
}

.featured-article-title {
    font-size: 1.1em;
    font-weight: 600;
    line-height: 1.4;
    margin-bottom: 0.8em;
}

.featured-article-title a {
    color: #2c3e50;
    text-decoration: none;
    transition: color 0.3s ease;
}

/* .featured-article-title a:hover {
    color: #3498db;
} */

.featured-article-meta {
    display: flex;
    align-items: center;
    gap: 1em;
    margin-bottom: 0.8em;
    font-size: 0.9em;
    color: #7f8c8d;
}

.featured-article-meta time {
    display: flex;
    align-items: center;
}

.featured-article-meta time:before {
    content: "Schedule";
    margin-right: 0.3em;
    font-size: 0.9em;
}

.featured-article-categories {
    display: flex;
    gap: 0.5em;
    flex-wrap: wrap;
}

/* .category-tag {
    background: linear-gradient(135deg, #3498db 0%, #2980b9 100%);
    color: white;
    padding: 0.2em 0.6em;
    border-radius: 12px;
    font-size: 0.8em;
    font-weight: 500;
} */

.featured-article-excerpt {
    color: #5a6c7d;
    line-height: 1.6;
    font-size: 0.95em;
    margin: 0;
}

/* 1カラムレイアウト用の調整 */
@media (max-width: 768px) {
    .featured-articles-section {
        margin-top: 2em;
        padding: 1.5em;
    }

    .featured-articles-grid {
        grid-template-columns: 1fr;
        gap: 1.2em;
    }

    .featured-articles-title {
        font-size: 1.4em;
    }
}

@media (max-width: 480px) {
    .featured-articles-section {
        padding: 1em;
        margin-top: 1.5em;
    }

    .featured-article-content {
        padding: 1em;
    }

    .featured-articles-title {
        font-size: 1.2em;
    }

    .featured-article-meta {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.5em;
    }
}/* リスト */
.news-content ul,
.post-content ul,
.news-content ol,
.post-content ol {
    margin: 1.5em 0;
    padding-left: 2em;
}

.news-content li,
.post-content li {
    margin-bottom: 0.5em;
    line-height: 1.7;
}

/* 引用 */
.news-content blockquote,
.post-content blockquote {
    border-left: 4px solid #4a8b5c;
    margin: 2em 0;
    padding: 1em 2em;
    background-color: #f9fafa;
    font-style: italic;
}

/* 画像 */
.news-content img,
.post-content img {
    max-width: 100%;
    height: auto;
    /* border-radius: 8px; */
    margin: 1em 0;
}

.news-content figure,
.post-content figure {
    margin: 2em 0;
    text-align: center;
}

.news-content figcaption,
.post-content figcaption {
    font-size: 0.9em;
    color: #666;
    margin-top: 0.5em;
    font-style: italic;
}

/* テーブル */
.news-content table,
.post-content table {
    width: 100%;
    border-collapse: collapse;
    margin: 2em 0;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.news-content th,
.post-content th {
    background-color: #4a8b5c;
    color: white;
    padding: 12px 16px;
    text-align: left;
    font-weight: 600;
}

.news-content td,
.post-content td {
    padding: 12px 16px;
    border-bottom: 1px solid #eee;
}

.news-content tr:nth-child(even) td,
.post-content tr:nth-child(even) td {
    background-color: #f9fafa;
}

/* コード */
.news-content code,
.post-content code {
    background: #f4f4f4;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-family: Monaco, Consolas, monospace;
    font-size: 0.9em;
    padding: 0.2em 0.4em;
}

.news-content pre,
.post-content pre {
    background: #f4f4f4;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-family: Monaco, Consolas, monospace;
    font-size: 0.9em;
    margin: 1.5em 0;
    padding: 1em;
    overflow-x: auto;
}

/* リンク */
.news-content a,
.post-content a {
    color: #4a8b5c;
    text-decoration: underline;
}

.news-content a:hover,
.post-content a:hover {
    color: #2c5530;
}

/* 強調 */
.news-content strong,
.post-content strong {
    font-weight: 600;
    color: #2c5530;
}

.news-content em,
.post-content em {
    font-style: italic;
    color: #666;
}

/* ================================
   レスポンシブデザイン
   ================================ */

@media (max-width: 768px) {
    .news-content,
    .post-content {
        font-size: 14px;
        padding: 0 1em;
    }

    .news-content h2,
    .post-content h2 {
        font-size: 1.5em;
    }

    .news-content h3,
    .post-content h3 {
        font-size: 1.3em;
        padding-left: 0.8em;
    }

    .news-content table,
    .post-content table {
        font-size: 0.9em;
    }

    .news-content th,
    .post-content th,
    .news-content td,
    .post-content td {
        padding: 8px 12px;
    }
}

/* ================================
   WordPressブロック（最小限）
   ================================ */

/* 基本ブロック */
.wp-block-paragraph {
    margin-bottom: 1.5em;
}

.wp-block-heading {
    margin-top: 2em;
    margin-bottom: 1em;
}

.wp-block-image {
    margin: 2em 0;
    text-align: center;
}

.wp-block-quote {
    border-left: 4px solid #4a8b5c;
    margin: 2em 0;
    padding: 1em 2em;
    background-color: #f9fafa;
}

/* ================================
   サイドバーレイアウト
   ================================ */

/* サイドバー全体のスタイル */
.o-frame--list-news-aside {
    /* max-width: 300px; */
    width: 100%;
    margin-left: 2em;
}

.box--sticky-aside {
    margin-bottom: 2em;
    /* position: sticky; */
    /* top: 20px; */
}

/* .box--sticky-aside h3 {
    font-size: 1.2em;
    font-weight: 700;
    color: #2c3e50;
    margin-bottom: 1em;
    padding: 0.8em 1em;
    background: linear-gradient(135deg, #3498db 0%, #2980b9 100%);
    color: white;
    border-radius: 8px 8px 0 0;
} */

/* .o-frame--list-news-aside-inner {
    background: white;
    border: 1px solid #e9ecef;
    border-radius: 0 0 8px 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
} */

.o-box--plate-news ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.o-box--plate-news li {
    border-bottom: 1px solid #f1f2f6;
}

.o-box--plate-news li:last-child {
    border-bottom: none;
}

/* カテゴリーボタン */
/* .news-category-filter {
    display: block;
    width: 100%;
    padding: 0.8em 1em;
    background: none;
    border: none;
    text-align: left;
    font-size: 0.95em;
    color: #2c3e50;
    cursor: pointer;
    transition: all 0.3s ease;
} */

/* .news-category-filter:hover {
    background: #f8f9fa;
    color: #3498db;
}

.news-category-filter.current {
    background: #3498db;
    color: white;
    font-weight: 600;
} */

/* 注目記事アイテム */
.o-box-article--item--aside {
    display: block;
    padding: 0 0 1em 0;
    /* padding: 1em; */
    text-decoration: none;
    color: inherit;
    transition: all 0.3s ease;
}

.o-box-article--item--aside:hover {
    background: #f8f9fa;
    transform: translateY(-2px);
}

.o-box-article--thumb {
    width: 100%;
    height: 120px;
    overflow: hidden;
    /* border-radius: 6px; */
    margin-bottom: 0.8em;
}

.o-box-article--thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.o-box-article--item--aside:hover .o-box-article--thumb img {
    transform: scale(1.05);
}

/* .a-article--category {
    display: inline-block;
    background: linear-gradient(135deg, #e74c3c 0%, #c0392b 100%);
    color: white;
    padding: 0.3em 0.8em;
    border-radius: 12px;
    font-size: 0.8em;
    font-weight: 500;
    margin-bottom: 0.5em;
} */

.a-article--title {
    font-size: 0.9em;
    font-weight: 600;
    line-height: 1.4;
    margin-bottom: 0.5em;
    color: #2c3e50;
}

.a-article--date {
    font-size: 0.8em;
    color: #7f8c8d;
}

/* 記事が見つからない場合 */
.no-featured-articles {
    padding: 2em 1em;
    text-align: center;
    color: #7f8c8d;
    font-size: 0.9em;
}

/* レスポンシブ対応 */
@media (max-width: 1024px) {
    .o-frame--list-news-wrapper {
        flex-direction: column;
    }

    .o-frame--list-news-aside {
        max-width: none;
        margin-left: 0;
        margin-top: 2em;
    }

    .box--sticky-aside {
        position: static;
    }
}

@media (max-width: 768px) {
    .box--sticky-aside {
        margin-bottom: 1.5em;
    }

    .box--sticky-aside h3 {
        font-size: 1.1em;
        padding: 0.7em 0.8em;
    }

    .o-box-article--item--aside {
        padding: 0.8em;
    }

    .o-box-article--thumb {
        height: 100px;
    }
}

.wp-block-list {
    margin: 1.5em 0;
    padding-left: 2em;
}

/* 画像の配置 */
.alignleft {
    float: left;
    margin: 0 2em 1em 0;
    max-width: 300px;
}

.alignright {
    float: right;
    margin: 0 0 1em 2em;
    max-width: 300px;
}

.aligncenter {
    display: block;
    margin: 2em auto;
    text-align: center;
}

@media (max-width: 768px) {
    .alignleft,
    .alignright {
        float: none;
        margin: 1em 0;
        max-width: 100%;
    }
}

/* ===== 再利用可能テーブルスタイル ===== */
.table-wrapper {
    width: 100%;
    margin-block: 20px 0;
    /* overflow-x: auto; */
    /* border-radius: 8px; */
    /* box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1); */
}

.reuse-table {
    width: 100%;
    border-collapse: collapse;
    /* font-family: "Noto Sans JP", -apple-system, BlinkMacSystemFont, sans-serif; */
    /* font-size: 0.95em; */
    /* background: #fff; */
    /* border-radius: 8px; */
    overflow: hidden;
}

.reuse-table thead {
    background-color: #62B752;
    color: #fff;
    vertical-align: middle;
}

.reuse-table thead th {
    /* padding: 1em 0.75em; */
    /* font-weight: 600; */
    text-align: center;
    border: none;
    /* font-size: 0.9em; */
    /* letter-spacing: 0.5px; */
}

.reuse-table tbody tr {
    border-bottom: 1px solid #e9ecef;
    transition: background-color 0.2s ease;
}

.reuse-table tbody tr:hover {
    background-color: #f8f9fa;
}

.reuse-table tbody tr:nth-child(even) {
    background-color: #fdfdfd;
}

.reuse-table tbody tr:nth-child(even):hover {
    background-color: #f1f3f4;
}

.reuse-table tbody td {
    padding: 0.8em 0.75em;
    text-align: center;
    border: none;
    vertical-align: middle;
}

/* 年度・回数列のスタイル（最初の列） */
.reuse-table tbody td:first-child {
    font-weight: 600;
    color: #495057;
    text-align: left;
    padding-left: 1em;
}

/* 数値列のスタイル */
.reuse-table tbody td:not(:first-child) {
    font-family: "Roboto Mono", "Monaco", monospace;
    font-weight: 500;
}

/* 合格率列のハイライト（最後の列） */
.reuse-table tbody td:last-child {
    font-weight: 600;
    color: #e74c3c;
}

/* 合計行のスタイル */
.reuse-table tbody tr:last-child {
    background: linear-gradient(90deg, #f8f9fa 0%, #e9ecef 100%);
    font-weight: 600;
    border-top: 2px solid #dee2e6;
}

.reuse-table tbody tr:last-child td {
    color: #495057;
}

.reuse-table tbody tr:last-child td:last-child {
    color: #e74c3c;
    font-size: 1.05em;
}

/* レスポンシブデザイン */
@media (max-width: 768px) {
    .table-wrapper {
        margin: 1.5em -20px;
        border-radius: 0;
        box-shadow: none;
        border-top: 1px solid #dee2e6;
        border-bottom: 1px solid #dee2e6;
    }

    .reuse-table {
        font-size: 0.85em;
        border-radius: 0;
    }

    .reuse-table thead th {
        padding: 0.8em 0.5em;
        font-size: 0.8em;
    }

    .reuse-table tbody td {
        padding: 0.6em 0.5em;
    }

    .reuse-table tbody td:first-child {
        padding-left: 0.7em;
        font-size: 0.9em;
    }
}

@media (max-width: 480px) {
    .reuse-table {
        font-size: 0.8em;
    }

    .reuse-table thead th {
        padding: 0.7em 0.3em;
    }

    .reuse-table tbody td {
        padding: 0.5em 0.3em;
    }
}

/* エラーメッセージスタイル */
.error {
    background: #f8d7da;
    color: #721c24;
    padding: 1em;
    border: 1px solid #f5c6cb;
    border-radius: 4px;
    margin: 1em 0;
    font-weight: 500;
}