/* Ultra Quality Content Styles v8.36.1 - Enhanced Design */

/* ========================================
   Chef Comment - プロの料理人監修
   ======================================== */
.tabedoki-chef-comment {
    background: linear-gradient(135deg, #fffbf5 0%, #fff9f0 50%, #ffffff 100%);
    border: none;
    border-radius: 20px;
    padding: 28px;
    margin: 40px 0;
    box-shadow: 
        0 10px 40px rgba(230, 126, 34, 0.12),
        0 2px 8px rgba(230, 126, 34, 0.08),
        inset 0 1px 0 rgba(255,255,255,0.8);
    position: relative;
    overflow: hidden;
}
.tabedoki-chef-comment::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #e67e22, #f39c12, #e67e22);
}
.chef-header {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-bottom: 20px;
}
.chef-avatar {
    width: 90px;
    height: 90px;
    border-radius: 50%;
    background: linear-gradient(135deg, #e67e22 0%, #d35400 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 44px;
    color: white;
    box-shadow: 0 6px 20px rgba(230, 126, 34, 0.35);
    flex-shrink: 0;
}
.chef-avatar::before { content: '👨‍🍳'; }
.chef-avatar-seafood::before { content: '🐟'; }
.chef-avatar-meat::before { content: '🥩'; }
.chef-avatar-ferment::before { content: '🫙'; }
.chef-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: linear-gradient(135deg, #e67e22 0%, #d35400 100%);
    color: white;
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    box-shadow: 0 2px 8px rgba(230, 126, 34, 0.3);
}
.chef-badge::before {
    content: '✓';
    font-size: 10px;
}
.chef-name {
    font-size: 20px;
    font-weight: 700;
    margin: 10px 0 4px;
    color: #1a1a1a;
}
.chef-title {
    font-size: 14px;
    color: #555;
    margin: 2px 0;
    font-weight: 500;
}
.chef-credential {
    font-size: 12px;
    color: #888;
    margin: 2px 0;
}
.chef-comment-body {
    background: white;
    border-radius: 16px;
    padding: 24px 28px;
    position: relative;
    box-shadow: 0 2px 12px rgba(0,0,0,0.04);
    border: 1px solid rgba(230, 126, 34, 0.1);
}
.chef-comment-body::before {
    content: '"';
    font-family: Georgia, serif;
    font-size: 80px;
    color: #e67e22;
    opacity: 0.15;
    position: absolute;
    top: -15px;
    left: 15px;
    line-height: 1;
}
.chef-comment-body p {
    margin: 0;
    font-size: 15px;
    line-height: 1.9;
    color: #333;
    position: relative;
    z-index: 1;
}

/* ========================================
   Experiment Data - TABEDOKI検証
   サイトの緑テーマ (#34D399) に統一 v8.39.1
   ======================================== */
.tabedoki-experiment-data {
    background: linear-gradient(180deg, #ecfdf5 0%, #ffffff 100%);
    border: none;
    border-radius: 20px;
    padding: 0;
    margin: 40px 0;
    box-shadow:
        0 10px 40px rgba(16, 185, 129, 0.1),
        0 2px 8px rgba(16, 185, 129, 0.06);
    overflow: hidden;
}
.experiment-header {
    background: linear-gradient(135deg, #059669 0%, #10b981 100%);
    color: white;
    padding: 24px 28px;
    text-align: center;
    position: relative;
}
.experiment-header::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 0;
    border-left: 15px solid transparent;
    border-right: 15px solid transparent;
    border-top: 10px solid #10b981;
}
.experiment-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: rgba(255,255,255,0.2);
    backdrop-filter: blur(10px);
    color: white;
    padding: 6px 16px;
    border-radius: 20px;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
    border: 1px solid rgba(255,255,255,0.3);
}
.experiment-badge::before {
    content: '🔬';
    font-size: 12px;
}
.experiment-title {
    font-size: 22px;
    font-weight: 700;
    margin: 14px 0 8px;
    color: white;
}
.experiment-meta {
    font-size: 13px;
    color: rgba(255,255,255,0.85);
    display: flex;
    justify-content: center;
    gap: 16px;
    flex-wrap: wrap;
}
.experiment-meta span {
    display: inline-flex;
    align-items: center;
    gap: 4px;
}
.experiment-results {
    padding: 30px 24px;
}
.experiment-table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
    margin: 0;
    font-size: 14px;
}
.experiment-table thead {
    position: sticky;
    top: 0;
}
.experiment-table th {
    background: linear-gradient(180deg, #f0fdf4 0%, #ecfdf5 100%);
    padding: 14px 16px;
    text-align: center;
    font-weight: 600;
    color: #059669;
    font-size: 12px;
    text-transform: none;
    letter-spacing: 0;
    border-bottom: 2px solid rgba(16, 185, 129, 0.2);
    vertical-align: middle;
    white-space: nowrap;
}
.experiment-table th:first-child {
    border-radius: 10px 0 0 0;
    text-align: left;
    padding-left: 20px;
    min-width: 120px;
}
.experiment-table th:last-child {
    border-radius: 0 10px 0 0;
}
.experiment-table td {
    padding: 16px 16px;
    text-align: center;
    border-bottom: 1px solid rgba(16, 185, 129, 0.1);
    transition: all 0.2s ease;
    vertical-align: middle;
}
.experiment-table tbody tr {
    transition: all 0.2s ease;
}
.experiment-table tbody tr:hover {
    background: rgba(16, 185, 129, 0.04);
}
.experiment-table tbody tr:last-child td {
    border-bottom: none;
}
.experiment-table tbody tr:last-child td:first-child {
    border-radius: 0 0 0 10px;
}
.experiment-table tbody tr:last-child td:last-child {
    border-radius: 0 0 10px 0;
}
.experiment-table .condition {
    text-align: left;
    padding-left: 20px;
    white-space: nowrap;
    min-width: 120px;
    font-weight: 600;
    color: #334155;
}
.experiment-table tr.recommended {
    background: linear-gradient(90deg, #ecfdf5 0%, #f0fdf4 100%);
    position: relative;
}
.experiment-table tr.recommended::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 4px;
    background: linear-gradient(180deg, #22c55e 0%, #16a34a 100%);
    border-radius: 4px 0 0 4px;
}
.experiment-table tr.recommended:hover {
    background: linear-gradient(90deg, #dcfce7 0%, #d1fae5 100%);
}
.recommend-badge {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    background: linear-gradient(135deg, #22c55e 0%, #16a34a 100%);
    color: white;
    padding: 4px 10px;
    border-radius: 12px;
    font-size: 10px;
    font-weight: 700;
    margin-left: 10px;
    box-shadow: 0 2px 8px rgba(34, 197, 94, 0.3);
    animation: pulse-green 2s infinite;
}
.recommend-badge::before {
    content: '👑';
    font-size: 10px;
}
@keyframes pulse-green {
    0%, 100% { box-shadow: 0 2px 8px rgba(34, 197, 94, 0.3); }
    50% { box-shadow: 0 2px 20px rgba(34, 197, 94, 0.5); }
}
.star-rating {
    display: inline-flex;
    gap: 1px;
    font-size: 16px;
}
.star-rating .star-filled {
    color: #fbbf24;
    text-shadow: 0 1px 3px rgba(251, 191, 36, 0.4);
}
.star-rating .star-empty {
    color: #e2e8f0;
}
/* Metric Value Styling */
.metric-value {
    font-weight: 600;
    font-size: 15px;
}
.metric-good {
    color: #16a34a;
    background: linear-gradient(135deg, #f0fdf4 0%, #dcfce7 100%);
    padding: 4px 8px;
    border-radius: 6px;
}
.metric-medium {
    color: #ca8a04;
    background: linear-gradient(135deg, #fefce8 0%, #fef9c3 100%);
    padding: 4px 8px;
    border-radius: 6px;
}
.metric-bad {
    color: #dc2626;
    background: linear-gradient(135deg, #fef2f2 0%, #fee2e2 100%);
    padding: 4px 8px;
    border-radius: 6px;
}
.experiment-conclusion {
    background: linear-gradient(135deg, #f0fdf4 0%, #ecfdf5 100%);
    border-top: 1px solid rgba(16, 185, 129, 0.15);
    padding: 20px 28px;
    display: flex;
    align-items: center;
    gap: 16px;
}
.conclusion-icon {
    width: 48px;
    height: 48px;
    background: linear-gradient(135deg, #22c55e 0%, #16a34a 100%);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    flex-shrink: 0;
    box-shadow: 0 4px 12px rgba(34, 197, 94, 0.25);
}
.conclusion-icon::before {
    content: '💡';
}
.conclusion-text {
    flex: 1;
}
.conclusion-text strong {
    display: block;
    font-size: 13px;
    color: #059669;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 4px;
}
.conclusion-text p {
    margin: 0;
    font-size: 15px;
    color: #334155;
    line-height: 1.6;
}

/* ========================================
   Reader Stories - みんなの体験談
   ======================================== */
.tabedoki-reader-stories {
    background: linear-gradient(180deg, #fffbeb 0%, #ffffff 100%);
    border: none;
    border-radius: 20px;
    padding: 0;
    margin: 40px 0;
    box-shadow: 
        0 10px 40px rgba(245, 158, 11, 0.1),
        0 2px 8px rgba(245, 158, 11, 0.06);
    overflow: hidden;
}
.stories-header {
    background: linear-gradient(135deg, #d97706 0%, #f59e0b 100%);
    color: white;
    padding: 24px 28px;
    text-align: center;
}
.stories-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: rgba(255,255,255,0.2);
    backdrop-filter: blur(10px);
    color: white;
    padding: 6px 16px;
    border-radius: 20px;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
    border: 1px solid rgba(255,255,255,0.3);
}
.stories-badge::before {
    content: '💬';
    font-size: 12px;
}
.stories-title {
    font-size: 20px;
    font-weight: 700;
    margin: 14px 0 0;
    color: white;
}
.stories-list {
    padding: 24px;
    display: flex;
    flex-direction: column;
    gap: 16px;
}
.story-card {
    background: white;
    border-radius: 16px;
    padding: 20px;
    display: flex;
    gap: 20px;
    align-items: flex-start;
    box-shadow: 0 2px 12px rgba(0,0,0,0.04);
    border: 1px solid rgba(245, 158, 11, 0.1);
    transition: all 0.2s ease;
}
.story-card:hover {
    box-shadow: 0 4px 20px rgba(245, 158, 11, 0.12);
    transform: translateY(-2px);
}
.story-persona {
    text-align: center;
    min-width: 70px;
    flex-shrink: 0;
}
.persona-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 56px;
    height: 56px;
    background: linear-gradient(135deg, #fef3c7 0%, #fde68a 100%);
    border-radius: 50%;
    font-size: 28px;
    margin: 0 auto 8px;
    box-shadow: 0 2px 8px rgba(245, 158, 11, 0.2);
}
.persona-icon::before { content: '👤'; }
.persona-busy_mom::before { content: '👩'; }
.persona-single_worker::before { content: '👨‍💼'; }
.persona-elderly_couple::before { content: '👴'; }
.persona-family_4::before { content: '👨‍👩‍👧‍👦'; }
.persona-health_conscious::before { content: '🧘'; }
.persona-type {
    font-size: 11px;
    color: #92400e;
    font-weight: 600;
    background: #fef3c7;
    padding: 3px 8px;
    border-radius: 10px;
}
.story-content {
    flex: 1;
    position: relative;
}
.story-content::before {
    content: '"';
    font-family: Georgia, serif;
    font-size: 48px;
    color: #f59e0b;
    opacity: 0.15;
    position: absolute;
    top: -15px;
    left: -5px;
    line-height: 1;
}
.story-content p {
    margin: 0;
    font-size: 14px;
    line-height: 1.8;
    color: #444;
    position: relative;
    z-index: 1;
}
.stories-cta {
    background: linear-gradient(135deg, #fef3c7 0%, #fde68a 100%);
    text-align: center;
    padding: 16px 24px;
    font-size: 13px;
    color: #92400e;
    font-weight: 500;
}
.stories-cta::before {
    content: '✏️ ';
}

/* ========================================
   Infographic - TABEDOKI図解
   ======================================== */
.tabedoki-infographic {
    background: linear-gradient(180deg, #ecfdf5 0%, #ffffff 100%);
    border: none;
    border-radius: 20px;
    padding: 0;
    margin: 40px 0;
    box-shadow: 
        0 10px 40px rgba(16, 185, 129, 0.1),
        0 2px 8px rgba(16, 185, 129, 0.06);
    overflow: hidden;
}
.infographic-header {
    background: linear-gradient(135deg, #059669 0%, #10b981 100%);
    color: white;
    padding: 24px 28px;
    text-align: center;
}
.infographic-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: rgba(255,255,255,0.2);
    backdrop-filter: blur(10px);
    color: white;
    padding: 6px 16px;
    border-radius: 20px;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
    border: 1px solid rgba(255,255,255,0.3);
}
.infographic-badge::before {
    content: '📊';
    font-size: 12px;
}
.infographic-title {
    font-size: 24px;
    font-weight: 700;
    margin: 14px 0 4px;
    color: white;
}
.infographic-subtitle {
    color: rgba(255,255,255,0.85);
    font-size: 14px;
    margin: 0;
}
.infographic-highlight {
    text-align: center;
    padding: 32px 24px;
    background: linear-gradient(180deg, rgba(16, 185, 129, 0.05) 0%, transparent 100%);
}
.highlight-value {
    font-size: 64px;
    font-weight: 800;
    background: linear-gradient(135deg, #059669 0%, #10b981 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1;
}
.highlight-unit {
    font-size: 28px;
    font-weight: 700;
    color: #10b981;
    margin-left: 4px;
}
.highlight-label {
    display: block;
    font-size: 14px;
    color: #64748b;
    margin-top: 8px;
    font-weight: 500;
}
.infographic-items {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 16px;
    padding: 24px;
}
.infographic-item {
    background: white;
    border-radius: 14px;
    padding: 18px;
    display: flex;
    gap: 14px;
    align-items: flex-start;
    box-shadow: 0 2px 8px rgba(0,0,0,0.04);
    border: 1px solid rgba(16, 185, 129, 0.1);
    transition: all 0.2s ease;
}
.infographic-item:hover {
    box-shadow: 0 4px 16px rgba(16, 185, 129, 0.12);
    transform: translateY(-2px);
}
.item-icon {
    font-size: 22px;
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #d1fae5 0%, #a7f3d0 100%);
    border-radius: 12px;
    flex-shrink: 0;
}
.icon-snowflake::before { content: '❄️'; }
.icon-clock::before { content: '⏰'; }
.icon-check::before { content: '✅'; }
.icon-warning::before { content: '⚠️'; }
.icon-star::before { content: '⭐'; }
.icon-leaf::before { content: '🌿'; }
.item-content {
    flex: 1;
}
.item-label {
    font-weight: 600;
    font-size: 13px;
    color: #64748b;
    display: block;
    margin-bottom: 2px;
}
.item-value {
    font-size: 20px;
    font-weight: 700;
    color: #059669;
    display: block;
    line-height: 1.3;
}
.item-desc {
    font-size: 12px;
    color: #94a3b8;
    margin-top: 4px;
    display: block;
}
.infographic-footer {
    background: linear-gradient(135deg, #f0fdf4 0%, #ecfdf5 100%);
    text-align: center;
    padding: 16px 24px;
    font-size: 13px;
    color: #059669;
    font-weight: 500;
    border-top: 1px solid rgba(16, 185, 129, 0.1);
}

/* ========================================
   Responsive Design
   ======================================== */
@media (max-width: 768px) {
    .tabedoki-chef-comment,
    .tabedoki-experiment-data,
    .tabedoki-reader-stories,
    .tabedoki-infographic {
        margin: 24px -16px;
        border-radius: 0;
    }
    .chef-header {
        flex-direction: column;
        text-align: center;
    }
    .chef-avatar {
        width: 70px;
        height: 70px;
        font-size: 36px;
    }
    .experiment-table {
        font-size: 12px;
    }
    .experiment-table th,
    .experiment-table td {
        padding: 10px 8px;
    }
    .experiment-table .condition {
        padding-left: 12px;
    }
    .experiment-conclusion {
        flex-direction: column;
        text-align: center;
    }
    .story-card {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }
    .story-persona {
        min-width: auto;
    }
    .story-content::before {
        display: none;
    }
    .infographic-items {
        grid-template-columns: 1fr;
    }
    .highlight-value {
        font-size: 48px;
    }
}

/* ========================================
   Print Styles
   ======================================== */
@media print {
    .tabedoki-chef-comment,
    .tabedoki-experiment-data,
    .tabedoki-reader-stories,
    .tabedoki-infographic {
        box-shadow: none;
        border: 1px solid #ddd;
        page-break-inside: avoid;
    }
}