@charset "utf-8";

:root {
    --color-bg: #f5f7f6;
    --color-surface: #fff;
    --color-main: #2d6a4f;
    --color-main-soft: #d8f3dc;
    --color-main-strong: #1b4332;
    --color-text: #1a2e23;
    --color-text-muted: #5c7268;
    --color-accent: #f4a261;
    --color-warning-soft: #ffeae5;
    --color-warning: #e76f51;
    --color-info-soft: #e8f4fd;
    --color-info: #3b82f6;
    --radius-md: 12px;
    --radius-xl: 24px;
    --radius-full: 999px
}

* {
    box-sizing: border-box
}

body {
    font-family: 'Noto Sans JP', sans-serif;
    background: var(--color-bg);
    color: var(--color-text);
    line-height: 1.8;
    margin: 0
}

.container {
    max-width: 900px;
    margin: 0 auto;
    padding: 20px
}

.site-header {
    background: #fff;
    padding: 15px 0;
    border-bottom: 1px solid #eef2f0;
    margin-bottom: 30px;
    position: sticky;
    top: 0;
    z-index: 100
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between
}

.logo {
    font-weight: 700;
    color: var(--color-main);
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 1.1rem
}

.back-link {
    color: var(--color-text-muted);
    text-decoration: none;
    font-size: .85rem;
    display: flex;
    align-items: center;
    gap: 5px
}

.back-link:hover {
    color: var(--color-main)
}

.breadcrumb {
    font-size: .8rem;
    color: var(--color-text-muted);
    margin-bottom: 20px
}

.breadcrumb a {
    color: var(--color-text-muted);
    text-decoration: none
}

.breadcrumb a:hover {
    color: var(--color-main)
}

.product-detail-card {
    background: #fff;
    border-radius: var(--radius-xl);
    padding: 40px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, .06);
    margin-bottom: 30px
}

.product-header {
    display: grid;
    grid-template-columns: 280px 1fr;
    gap: 40px;
    margin-bottom: 40px
}

.product-img-area {
    background: #f9fbfa;
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    aspect-ratio: 1
}

.product-img-area img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain
}

.badge {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 6px 14px;
    border-radius: var(--radius-full);
    background: var(--color-main-soft);
    color: var(--color-main-strong);
    font-size: .8rem;
    font-weight: 600;
    margin-bottom: 12px
}

.product-brand {
    font-size: .9rem;
    color: var(--color-text-muted);
    margin-bottom: 5px
}

h1 {
    font-size: 1.6rem;
    color: var(--color-main-strong);
    margin: 0 0 15px;
    line-height: 1.4
}

.price-area {
    display: flex;
    align-items: baseline;
    gap: 8px;
    margin-bottom: 15px
}

.price {
    font-family: Outfit, sans-serif;
    font-size: 1.6rem;
    font-weight: 700;
    color: var(--color-accent)
}

.price-note {
    font-size: .8rem;
    color: #999
}

.desc {
    font-size: .95rem;
    color: var(--color-text);
    margin-bottom: 20px
}

.tag-list {
    display: flex;
    flex-wrap: wrap;
    gap: 8px
}

.tag {
    padding: 5px 12px;
    border-radius: 6px;
    font-size: .8rem;
    font-weight: 600
}

.tag-warning {
    background: var(--color-warning-soft);
    color: var(--color-warning)
}

.tag-good {
    background: var(--color-main-soft);
    color: var(--color-main-strong)
}

.tag-info {
    background: var(--color-info-soft);
    color: var(--color-info)
}

.analysis-section {
    margin-top: 40px
}

.section-title {
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--color-main-strong);
    border-left: 4px solid var(--color-main);
    padding-left: 12px;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 10px
}

.section-title i {
    color: var(--color-main)
}

.spec-table {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 30px
}

.spec-table th {
    width: 30%;
    text-align: left;
    padding: 15px;
    background: #f9fbfa;
    border-bottom: 1px solid #eee;
    color: var(--color-text-muted);
    font-size: .85rem;
    font-weight: 500
}

.spec-table td {
    padding: 15px;
    border-bottom: 1px solid #eee;
    font-weight: 500
}

.ingredient-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 15px;
    margin-bottom: 25px
}

.ingredient-card {
    background: #f9fbfa;
    border-radius: var(--radius-md);
    padding: 18px
}

.ingredient-card h4 {
    font-size: .85rem;
    color: var(--color-text-muted);
    margin: 0 0 8px;
    display: flex;
    align-items: center;
    gap: 6px
}

.ingredient-card p {
    margin: 0;
    font-weight: 600;
    color: var(--color-text);
    font-size: .95rem
}

.comment-box {
    background: linear-gradient(135deg, #e9f5ec 0%, #d8f3dc 100%);
    border: 1px solid #c8e6c9;
    border-radius: var(--radius-md);
    padding: 24px;
    margin-bottom: 25px
}

.comment-title {
    font-weight: 700;
    color: var(--color-main-strong);
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 12px;
    font-size: 1rem
}

.comment-box p {
    margin: 0;
    font-size: .95rem;
    line-height: 1.9
}

.recommend-box {
    background: #fff;
    border: 2px solid var(--color-main-soft);
    border-radius: var(--radius-md);
    padding: 24px;
    margin-bottom: 25px
}

.recommend-title {
    font-weight: 700;
    color: var(--color-main-strong);
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    gap: 8px
}

.recommend-list {
    list-style: none;
    padding: 0;
    margin: 0
}

.recommend-list li {
    padding: 10px 0;
    border-bottom: 1px dashed #e0e0e0;
    display: flex;
    align-items: flex-start;
    gap: 10px;
    font-size: .95rem
}

.recommend-list li:last-child {
    border-bottom: none
}

.recommend-list i {
    color: var(--color-main);
    margin-top: 4px
}

.warning-box {
    background: var(--color-warning-soft);
    border: 1px solid #ffcdd2;
    border-radius: var(--radius-md);
    padding: 24px;
    margin-bottom: 25px
}

.warning-title {
    font-weight: 700;
    color: var(--color-warning);
    margin-bottom: 12px;
    display: flex;
    align-items: center;
    gap: 8px
}

.warning-box p {
    margin: 0;
    font-size: .95rem;
    color: #5d4037
}

.compare-table {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 25px;
    font-size: .9rem
}

.compare-table th {
    background: var(--color-main);
    color: #fff;
    padding: 12px;
    text-align: left;
    font-weight: 600
}

.compare-table th:first-child {
    border-radius: 8px 0 0 0
}

.compare-table th:last-child {
    border-radius: 0 8px 0 0
}

.compare-table td {
    padding: 12px;
    border-bottom: 1px solid #eee;
    vertical-align: top
}

.compare-table tr:nth-child(even) {
    background: #f9fbfa
}

.compare-table .highlight {
    background: #c8e6c9;
    font-weight: 600
}

.score-box {
    background: linear-gradient(135deg, var(--color-main) 0%, var(--color-main-strong) 100%);
    border-radius: var(--radius-md);
    padding: 30px;
    color: #fff;
    text-align: center;
    margin-bottom: 25px
}

.score-label {
    font-size: .9rem;
    opacity: .9;
    margin-bottom: 10px
}

.score-value {
    font-family: Outfit, sans-serif;
    font-size: 3rem;
    font-weight: 700;
    line-height: 1
}

.score-max {
    font-size: 1.2rem;
    opacity: .7
}

.score-comment {
    margin-top: 15px;
    font-size: .95rem;
    opacity: .95
}

.btn-affiliate {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    width: 100%;
    max-width: 400px;
    margin: 30px auto 0;
    background: linear-gradient(135deg, var(--color-accent) 0%, #e76f51 100%);
    color: #fff;
    padding: 20px;
    border-radius: var(--radius-full);
    text-decoration: none;
    font-weight: 700;
    font-size: 1.1rem;
    transition: all .3s;
    box-shadow: 0 4px 15px rgba(244, 162, 97, .4)
}

.btn-affiliate:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(244, 162, 97, .5)
}

.affiliate-note {
    text-align: center;
    font-size: .75rem;
    color: #999;
    margin-top: 12px
}

.site-footer {
    text-align: center;
    padding: 40px 20px;
    color: #888;
    font-size: .8rem
}

@media (max-width:768px) {
    .container {
        padding: 15px
    }

    .product-header {
        grid-template-columns: 1fr;
        gap: 25px
    }

    .product-img-area {
        max-width: 250px;
        margin: 0 auto
    }

    .product-detail-card {
        padding: 25px 20px
    }

    h1 {
        font-size: 1.4rem
    }

    .section-title {
        font-size: 1.05rem
    }

    .spec-table th,
    .spec-table td {
        padding: 12px 10px;
        font-size: .9rem
    }

    .spec-table th {
        width: 35%
    }

    .btn-affiliate {
        max-width: 100%;
        font-size: 1rem;
        padding: 18px
    }

    .ingredient-grid {
        grid-template-columns: 1fr
    }

    .compare-table {
        font-size: .8rem
    }

    .compare-table th,
    .compare-table td {
        padding: 10px 8px
    }
}