/*
 * wp-column.css
 * コラム専用CSS - WordPressブロック装飾と本文スタイル
 */

/* ========================================
   WordPress標準ブロックCSS統合
   ======================================== */

/* コラム一覧のマージン設定 */
.column-list {
    margin-bottom: 4em;
}

/* 基本ブロックスタイル */
.wp-block-group {
    margin-bottom: 1.5em;
}

.wp-block-paragraph {
    margin-bottom: 1.5em;
    line-height: 1.8;
}

.wp-block-heading {
    margin-top: 2em;
    margin-bottom: 1em;
    font-weight: bold;
    line-height: 1.4;
}

.wp-block-heading h1,
.wp-block-heading h2,
.wp-block-heading h3,
.wp-block-heading h4,
.wp-block-heading h5,
.wp-block-heading h6 {
    margin: 0;
}

/* 見出しスタイル - WordPressコンテンツ内のみ */
.wp-block-heading h1,
.wp-block-heading h2,
.wp-block-heading h3,
.wp-block-heading h4,
.wp-block-heading h5,
.wp-block-heading h6,
.entry-content h1,
.entry-content h2,
.entry-content h3,
.entry-content h4,
.entry-content h5,
.entry-content h6,
.post-content h1,
.post-content h2,
.post-content h3,
.post-content h4,
.post-content h5,
.post-content h6 {
    font-size: 2.5em;
    color: #333;
}

.wp-block-heading h2,
.entry-content h2,
.post-content h2 {
    font-size: 2em;
    color: #333;
    border-bottom: 2px solid #007bff;
    padding-bottom: 0.5em;
}

.wp-block-heading h3,
.entry-content h3,
.post-content h3 {
    font-size: 1.5em;
    color: #555;
}

.wp-block-heading h4,
.entry-content h4,
.post-content h4 {
    font-size: 1.25em;
    color: #555;
}

.wp-block-heading h5,
.entry-content h5,
.post-content h5 {
    font-size: 1.1em;
    color: #666;
}

.wp-block-heading h6,
.entry-content h6,
.post-content h6 {
    font-size: 1em;
    color: #666;
}

/* リストスタイル */
.wp-block-list {
    margin-bottom: 1.5em;
}

.wp-block-list ul,
.wp-block-list ol {
    margin-left: 1.5em;
    margin-bottom: 1.5em;
}

.wp-block-list li {
    margin-bottom: 0.5em;
    line-height: 1.6;
}

/* 引用ブロック */
.wp-block-quote {
    border-left: 4px solid #007bff;
    padding-left: 1.5em;
    margin: 2em 0;
    font-style: italic;
    color: #555;
}

.wp-block-quote cite {
    display: block;
    margin-top: 1em;
    font-style: normal;
    font-size: 0.9em;
    color: #666;
}

/* テーブルスタイル */
.wp-block-table {
    margin: 2em 0;
    overflow-x: auto;
}

.wp-block-table table {
    width: 100%;
    border-collapse: collapse;
    border: 1px solid #ddd;
}

.wp-block-table th,
.wp-block-table td {
    padding: 0.75em;
    border: 1px solid #ddd;
    text-align: left;
}

.wp-block-table th {
    background-color: #f8f9fa;
    font-weight: bold;
}

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

/* 画像ブロック */
.wp-block-image {
    margin: 2em 0;
    text-align: center;
}

.wp-block-image img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.wp-block-image.alignleft {
    float: left;
    margin-right: 1.5em;
    margin-bottom: 1em;
}

.wp-block-image.alignright {
    float: right;
    margin-left: 1.5em;
    margin-bottom: 1em;
}

.wp-block-image.aligncenter {
    display: block;
    margin-left: auto;
    margin-right: auto;
}

/* figure要素の直接配置スタイル（wp-block-imageクラスがない場合にも対応） */
figure.aligncenter,
.aligncenter {
    display: block;
    margin-left: auto;
    margin-right: auto;
    text-align: center;
}

figure.alignleft,
.alignleft {
    float: left;
    margin-right: 1.5em;
    margin-bottom: 1em;
}

figure.alignright,
.alignright {
    float: right;
    margin-left: 1.5em;
    margin-bottom: 1em;
}

figure.aligncenter img,
.aligncenter img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    margin: 0 auto;
}

.wp-block-image figcaption {
    margin-top: 0.5em;
    font-size: 0.9em;
    color: #666;
    font-style: italic;
}

/* コードブロック */
.wp-block-code {
    background-color: #f8f9fa;
    border: 1px solid #e9ecef;
    border-radius: 4px;
    padding: 1em;
    margin: 1.5em 0;
    font-family: 'Courier New', monospace;
    font-size: 0.9em;
    overflow-x: auto;
}

/* 区切り線 */
.wp-block-separator {
    border: none;
    border-top: 2px solid #ddd;
    margin: 3em auto;
    width: 50%;
}

/* ========================================
   コラム専用スタイル
   ======================================== */

/* コラム個別記事 */
.column-post {
    max-width: 960px;
    margin: 0 auto;
    padding: 2em 1em;
}

.post-header {
    margin-bottom: 2em;
    padding-bottom: 1em;
    border-bottom: 1px solid #eee;
}

.post-title {
    font-size: 2.5em;
    margin-bottom: 0.5em;
    color: #333;
    line-height: 1.3;
}

.post-meta {
    display: flex;
    align-items: center;
    gap: 1em;
    font-size: 0.9em;
    color: #666;
}

.post-date {
    font-weight: 500;
}

.category-tag {
    background-color: #007bff;
    color: white;
    padding: 0.25em 0.75em;
    border-radius: 20px;
    font-size: 0.8em;
    font-weight: 500;
}

.post-thumbnail {
    margin: 2em 0;
    text-align: center;
}

.thumbnail-img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    margin: auto;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.post-content {
    line-height: 1.8;
    font-size: 1.1em;
    color: #333;
}

.post-content p {
    margin-bottom: 1.5em;
}

.post-content img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    margin: 1.5em 0;
}

.post-footer {
    margin-top: 3em;
    padding-top: 2em;
    border-top: 1px solid #eee;
}

.tags-list {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5em;
    align-items: center;
}

.tags-label {
    font-weight: 500;
    color: #666;
}

.tag-link {
    background-color: #f8f9fa;
    color: #007bff;
    padding: 0.25em 0.75em;
    border-radius: 20px;
    text-decoration: none;
    font-size: 0.9em;
    transition: background-color 0.2s;
}

.tag-link:hover {
    background-color: #e9ecef;
}

/* 関連記事 */
.related-posts {
    margin-top: 4em;
    padding-top: 2em;
    border-top: 2px solid #eee;
}

.related-title {
    font-size: 1.5em;
    margin-bottom: 1.5em;
    color: #333;
}

.related-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5em;
}

.related-item {
    border: 1px solid #eee;
    border-radius: 8px;
    overflow: hidden;
    transition: box-shadow 0.2s;
}

.related-item:hover {
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.related-link {
    display: block;
    text-decoration: none;
    color: inherit;
}

.related-thumbnail {
    aspect-ratio: 16/9;
    overflow: hidden;
}

.related-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.related-item-title {
    padding: 1em;
    font-size: 1em;
    margin: 0;
    color: #333;
    line-height: 1.4;
}

.related-date {
    padding: 0 1em 1em;
    font-size: 0.8em;
    color: #666;
}

/* カテゴリーフィルター */
.category-filter {
    margin-bottom: 3em;
    padding: 1.5em;
    background-color: #f8f9fa;
    border-radius: 8px;
}

.filter-title {
    font-size: 1.2em;
    margin-bottom: 1em;
    color: #333;
}

.filter-list {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5em;
    list-style: none;
    margin: 0;
    padding: 0;
}

.filter-link {
    background-color: white;
    color: #007bff;
    padding: 0.5em 1em;
    border-radius: 20px;
    text-decoration: none;
    border: 1px solid #007bff;
    transition: all 0.2s;
}

.filter-link:hover,
.filter-link.active {
    background-color: #007bff;
    color: white;
}

/* コラム一覧グリッド */
.posts-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2em;
    margin-bottom: 3em;
}

.column-item {
    border: 1px solid #eee;
    border-radius: 8px;
    overflow: hidden;
    transition: box-shadow 0.2s;
}

.column-item:hover {
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.column-link {
    display: block;
    text-decoration: none;
    color: inherit;
}

.column-thumbnail {
    aspect-ratio: 16/9;
    overflow: hidden;
}

.column-thumbnail .thumbnail-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    margin: 0;
    border-radius: 0;
    box-shadow: none;
}

.column-content {
    padding: 1.5em;
}

.column-title {
    font-size: 1.2em;
    margin-bottom: 0.75em;
    color: #333;
    line-height: 1.4;
}

.column-meta {
    display: flex;
    align-items: center;
    gap: 1em;
    margin-bottom: 1em;
    font-size: 0.9em;
    color: #666;
}

.column-category {
    background-color: #007bff;
    color: white;
    padding: 0.25em 0.75em;
    border-radius: 20px;
    font-size: 0.8em;
    font-weight: 500;
}

.column-excerpt {
    color: #666;
    line-height: 1.6;
    margin-bottom: 1em;
}

.featured-badge {
    background-color: #ffc107;
    color: #333;
    padding: 0.25em 0.75em;
    border-radius: 20px;
    font-size: 0.8em;
    font-weight: 500;
}

/* ページネーション */
.pagination {
    text-align: center;
    margin-top: 3em;
}

/* WordPressのページネーションh2を非表示 */
.pagination .screen-reader-text,
.pagination h2 {
    display: none;
}

.pagination ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: inline-flex;
    gap: 8px;
}

.pagination li {
    display: inline-block;
}

.pagination .page-numbers {
    display: inline-block;
    padding: 8px 12px;
    background-color: #f8f9fa;
    color: #007bff;
    text-decoration: none;
    border-radius: 4px;
    transition: all 0.2s ease;
    border: 1px solid #e9ecef;
    min-width: 40px;
    text-align: center;
}

.pagination .page-numbers:hover {
    background-color: #007bff;
    color: white;
    border-color: #007bff;
    transform: translateY(-1px);
}

.pagination .page-numbers.current {
    background-color: #007bff;
    color: white;
    border-color: #007bff;
    font-weight: bold;
}

.pagination .page-numbers.dots {
    background-color: transparent;
    border: none;
    color: #6c757d;
    cursor: default;
}

.pagination .page-numbers.dots:hover {
    background-color: transparent;
    color: #6c757d;
    transform: none;
}

/* レスポンシブ対応 */
@media (max-width: 768px) {
    .column-post {
        padding: 1em;
    }
    
    .post-title {
        font-size: 2em;
    }
    
    .posts-grid {
        grid-template-columns: 1fr;
        gap: 1.5em;
    }
    
    .related-list {
        grid-template-columns: 1fr;
    }
    
    .filter-list {
        justify-content: center;
        gap: 25px 10px;
    }
    
    /* ページネーション レスポンシブ */
    .pagination ul {
        flex-wrap: wrap;
        justify-content: center;
        gap: 4px;
    }
    
    .pagination .page-numbers {
        padding: 6px 10px;
        font-size: 0.9em;
        min-width: 36px;
    }
    
    .wp-block-image.alignleft,
    .wp-block-image.alignright,
    figure.alignleft,
    figure.alignright,
    .alignleft,
    .alignright {
        float: none;
        margin: 1em auto;
        display: block;
    }
}

/* お客様の声一覧ページ用の2カラムレイアウト */
.voice-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
    margin-top: 3rem;
    margin-bottom: 3rem;
}

.voice-grid .voice-card {
    background: #fff;
    border-radius: 12px;
    padding: 1.5rem;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.voice-grid .voice-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
}

.voice-grid .voice-header {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    margin-bottom: 1rem;
}

.voice-grid .voice-avatar {
    flex-shrink: 0;
}

.voice-grid .voice-avatar-img {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    object-fit: cover;
}

.voice-grid .voice-info {
    flex: 1;
}

.voice-grid .voice-location-wrapper {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 0.5rem;
}

.voice-grid .voice-location {
    font-size: 0.9rem;
    color: #666;
    margin: 0;
}

.voice-grid .voice-rating {
    display: flex;
    gap: 2px;
}

.voice-grid .voice-rating-img {
    width: 16px;
    height: 16px;
}

.voice-grid .voice-title {
    font-size: 1.1rem;
    font-weight: 600;
    color: #333;
    margin: 0;
    line-height: 1.4;
}

.voice-grid .voice-tags {
    display: flex;
    gap: 0.5rem;
    margin-bottom: 1rem;
    flex-wrap: wrap;
}

.voice-grid .voice-tag {
    background: #f0f8ff;
    color: #0066cc;
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 500;
}

.voice-grid .voice-content {
    color: #555;
    line-height: 1.6;
}

.voice-grid .voice-content p {
    margin: 0 0 0.5rem 0;
}

.voice-grid .voice-content p:last-child {
    margin-bottom: 0;
}

/* レスポンシブ対応 */
@media (max-width: 768px) {
    .voice-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .voice-grid .voice-card {
        padding: 1.25rem;
    }
    
    .voice-grid .voice-header {
        gap: 0.75rem;
    }
    
    .voice-grid .voice-avatar-img {
        width: 50px;
        height: 50px;
    }
    
    .voice-grid .voice-title {
        font-size: 1rem;
    }
}

/* 404エラーページ */
.error-404-content {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
    padding: 3rem 0;
}

.error-404-icon {
    margin-bottom: 2rem;
}

.error-icon-img {
    width: 120px;
    height: 120px;
    opacity: 0.6;
}

.error-404-text {
    margin-bottom: 3rem;
}

.error-title {
    font-size: 2rem;
    font-weight: 600;
    color: #333;
    margin: 0 0 1rem 0;
}

.error-description {
    font-size: 1.1rem;
    color: #666;
    line-height: 1.6;
    margin: 0;
}

.error-404-links {
    margin-bottom: 3rem;
}

.error-links-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
}

.error-link-card {
    display: block;
    background: #fff;
    border-radius: 12px;
    padding: 1.5rem;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    text-decoration: none;
    border: 2px solid transparent;
}

.error-link-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
    border-color: #0066cc;
}

.error-link-title {
    font-size: 1.1rem;
    font-weight: 600;
    color: #333;
    margin: 0 0 0.5rem 0;
}

.error-link-desc {
    font-size: 0.9rem;
    color: #666;
    margin: 0;
    line-height: 1.4;
}

.error-404-contact {
    padding: 2rem;
    background: #ecf7f5;
    border-radius: 12px;
}

.contact-title {
    font-size: 1.3rem;
    font-weight: 600;
    color: #333;
    margin: 0 0 1rem 0;
}

.contact-description {
    font-size: 1rem;
    color: #666;
    line-height: 1.6;
    margin: 0 0 1.5rem 0;
}
.error-404-contact .error-404-contact-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}
.error-404-contact .error-404-contact-button {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 1rem 2rem;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1rem;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}
.error-404-contact .error-404-web-button {
    background: linear-gradient(135deg, #f0a62d 0%, #ee9c15 100%);
    color: #fff;
}
.error-404-contact .error-404-web-button:hover {
    background: linear-gradient(135deg, #f2b13a 0%, #f0a62d 100%);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(240, 166, 45, 0.4);
}
.error-404-contact .error-404-web-button:active {
    transform: translateY(0);
    box-shadow: 0 2px 8px rgba(240, 166, 45, 0.3);
}
.error-404-contact .error-404-line-button {
    background: linear-gradient(135deg, #00b69c 0%, #009d86 100%);
    color: #fff;
}
.error-404-contact .error-404-line-button:hover {
    background: linear-gradient(135deg, #00c4a8 0%, #00a88a 100%);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 182, 156, 0.4);
}
.error-404-contact .error-404-line-button:active {
    transform: translateY(0);
    box-shadow: 0 2px 8px rgba(0, 182, 156, 0.3);
}
.error-404-contact .error-404-button-icon {
    width: 24px;
    height: 24px;
    flex-shrink: 0;
}
.error-404-contact .error-404-button-text {
    white-space: nowrap;
}

/* 404ページのレスポンシブ対応 */
@media (max-width: 768px) {
    .error-404-content {
        padding: 2rem 0;
    }
    
    .error-title {
        font-size: 1.5rem;
    }
    
    .error-description {
        font-size: 1rem;
    }
    
    .error-links-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
    }
    
    .error-link-card {
        padding: 1rem;
    }
    
    .error-link-icon {
        width: 40px;
        height: 40px;
    }
    
    .link-icon {
        width: 20px;
        height: 20px;
    }
    
    .error-link-title {
        font-size: 1rem;
    }
    
    .error-link-desc {
        font-size: 0.8rem;
    }
    
    .error-404-contact .error-404-contact-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .error-404-contact .error-404-contact-button {
        width: 100%;
        max-width: 300px;
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .error-links-grid {
        grid-template-columns: 1fr;
    }
    
    .error-404-contact {
        padding: 1.5rem;
    }
}

/* ========================================
   作業事例一覧（アーカイブ）用スタイル
   ======================================== */

/* 一覧のコンテナ/グリッド */
.case-studies-container { position: relative; width: 100%; }
.case-studies-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
@media (max-width: 768px) { .case-studies-grid { grid-template-columns: 1fr; gap: 20px; } }

/* カード本体 - デフォルトで縮小/半透明は無し */
.case-study-card {
    background: #ecf7f5;
    border-radius: 16px;
    padding: 24px; /* 過大だった余白を縮小 */
    display: flex;
    flex-direction: column;
    gap: 16px;
    opacity: 1;
    transform: none;
}
@media (max-width: 768px) { .case-study-card { padding: 16px; gap: 12px; } }

/* ヘッダー配置の見直し */
.case-study-header { display: flex; flex-direction: column; align-items: flex-start; gap: 12px; }
.case-study-customer { display: flex; align-items: center; gap: 12px; }
.customer-avatar { width: 64px; height: 64px; border-radius: 50%; overflow: hidden; position: relative; }
.customer-avatar-img { width: 100%; height: 100%; object-fit: cover; }
.customer-info { display: flex; flex-direction: column; gap: 6px; }
.customer-location { font-weight: 700; font-size: 16px; color: #333; line-height: 1; }
.customer-purpose { font-weight: 700; font-size: 14px; color: #333; line-height: 1; }
.case-study-tags { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.case-tag { background: #00b69c; color: #fff; font-weight: 700; font-size: 12px; padding: 4px 10px; border-radius: 8px; white-space: nowrap; }

/* タイトル/本文 */
.case-study-title { font-weight: 700; font-size: 18px; color: #333; text-align: left; margin: 0; line-height: 1.3; }
.case-study-content { font-size: 14px; color: #333; text-align: left; line-height: 1.8; margin: 0; }
.case-study-content p { margin: 0 0 0.8em; }

/* 画像レイアウト（縦長解消） */
.case-study-images { display: flex; gap: 16px; align-items: center; }
.case-image { display: flex; flex-direction: column; align-items: center; gap: 8px; flex: 1; }
.case-studies-container .case-image-img { width: 100%; aspect-ratio: 3 / 2; height: auto; object-fit: cover; border-radius: 12px; }
@media (max-width: 768px) {
    .case-study-images { flex-direction: column; gap: 12px; }
    .case-studies-container .case-image-img { aspect-ratio: 3 / 2; height: auto; }
}

/* 料金ブロック（崩れ対策） */
.case-study-pricing { display: flex; align-items: stretch; gap: 12px; flex-wrap: wrap; }
.pricing-details { display: flex; gap: 8px; flex: 1 1 320px; min-width: 0; }
.pricing-item { flex: 1; display: flex; flex-direction: column; align-items: center; position: relative; min-width: 0; }
.pricing-item:not(:last-child)::after { content: ''; position: absolute; right: -4px; top: 0; bottom: 0; width: 1px; background: #ffffff; }
.pricing-label { background: #00a3ec; color: #ffffff; font-weight: 700; font-size: 13px; padding: 8px; text-align: center; width: 100%; border-radius: 8px 8px 0 0; }
.pricing-value { background: #52c3f1; color: #ffffff; font-weight: 700; font-size: 15px; padding: 10px; text-align: center; width: 100%; border-radius: 0 0 8px 8px; }
.pricing-total { display: flex; flex-direction: column; align-items: center; flex: 0 1 240px; min-width: 220px; }
.pricing-total-label { background: #00a3ec; color: #ffffff; font-weight: 700; font-size: 12px; padding: 6px 8px; text-align: center; width: 100%; border-radius: 8px 8px 0 0; }
.pricing-total-value { background: #52c3f1; color: #ffffff; display: flex; align-items: center; justify-content: center; gap: 8px; padding: 8px 8px; width: 100%; border-radius: 0 0 8px 8px; }
.pricing-amount { font-weight: 700; font-size: 20px; line-height: 1; }
.pricing-unit { font-weight: 700; font-size: 12px; line-height: 1; }

@media (max-width: 768px) {
    .case-study-pricing { flex-direction: column; gap: 10px; }
    .pricing-details { flex-direction: column; gap: 6px; }
    .pricing-item { flex-direction: row; align-items: center; }
    .pricing-item:not(:last-child)::after { display: none; }
    .pricing-label { flex: 1; border-radius: 8px 0 0 8px; padding: 8px 12px; }
    .pricing-value { flex: 1; border-radius: 0 8px 8px 0; padding: 8px 12px; font-size: 14px; }
    .pricing-total { width: 100%; min-width: 0; }
    .pricing-total-label { font-size: 12px; padding: 6px 8px; }
    .pricing-total-value { padding: 8px 8px; }
}

/* 回収品目 */
.case-study-items { background: #ffffff; border-radius: 8px; padding: 16px; display: flex; flex-direction: column; gap: 8px; }
.items-title { font-weight: 700; font-size: 14px; color: #333; margin: 0; line-height: 1; }
.items-description, .items-content { font-size: 14px; color: #333; line-height: 1.6; margin: 0; }

/* ========================================
   監修者セクション - Supervisor Section
   ======================================== */
.media-policy-section {
    margin-top: 3rem;
    margin-bottom: 3rem;
    padding: 2rem;
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}
.media-policy-header {
    margin-bottom: 2rem;
    padding-bottom: 1rem;
    border-bottom: 2px solid #e9ecef;
}
.media-policy-title {
    font-size: 1.5rem;
    font-weight: 600;
    color: #333;
    margin: 0;
}
.media-policy-content {
    line-height: 1.8;
}
.writer-item {
    margin-bottom: 2rem;
    padding: 1.5rem;
    background: #f8f9fa;
    border-radius: 8px;
}
.writer-item:last-child {
    margin-bottom: 0;
}
.writer-header {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    margin-bottom: 1.5rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid #e9ecef;
}
.writer-image-wrapper {
    flex-shrink: 0;
    width: 120px;
    height: 120px;
    border-radius: 50%;
    overflow: hidden;
    background: #fff;
    border: 3px solid #e9ecef;
}
.writer-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.writer-info {
    flex: 1;
}
.writer-title {
    font-size: 1.2rem;
    font-weight: 600;
    color: #333;
    margin: 0;
}
.writer-content {
    line-height: 1.8;
}
.writer-text {
    font-size: 1rem;
    color: #333;
    line-height: 1.8;
    margin-bottom: 1rem;
}
.writer-text:last-child {
    margin-bottom: 0;
}

/* レスポンシブ対応 */
@media (max-width: 768px) {
    .media-policy-section {
        margin-top: 2rem;
        margin-bottom: 2rem;
        padding: 1.5rem;
    }
    .media-policy-title {
        font-size: 1.3rem;
    }
    .writer-item {
        padding: 1.25rem;
    }
    .writer-header {
        flex-direction: column;
        align-items: center;
        text-align: center;
        gap: 1rem;
    }
    .writer-image-wrapper {
        width: 100px;
        height: 100px;
    }
    .writer-title {
        font-size: 1.1rem;
    }
    .writer-text {
        font-size: 0.95rem;
    }
}
