/* 基本スタイル */
:root {
    --primary-color: #3498db;
    --secondary-color: #2c3e50;
    --accent-color: #e74c3c;
    --light-gray: #f5f5f5;
    --dark-gray: #333;
    --text-color: #333;
    --link-color: #2980b9;
    --font-main: 'Helvetica Neue', Arial, 'Hiragino Kaku Gothic ProN', 'Hiragino Sans', Meiryo, sans-serif;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: var(--font-main);
    line-height: 1.6;
    color: var(--text-color);
    background-color: #fff;
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

a {
    color: var(--link-color);
    text-decoration: none;
    transition: color 0.3s ease;
}

a:hover {
    color: var(--primary-color);
}

img {
    max-width: 100%;
    height: auto;
}

/* ヘッダー */
header {
    background-color: var(--secondary-color);
    color: white;
    padding: 20px 0;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

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

.site-title {
    font-size: 1.8rem;
    font-weight: bold;
}

header nav ul {
    display: flex;
    list-style: none;
}

header nav ul li {
    margin-left: 20px;
}

header nav ul li a {
    color: white;
    font-weight: bold;
}

header nav ul li a:hover {
    color: var(--light-gray);
}

/* メインコンテンツ */
main {
    padding: 40px 0;
}

.review-article {
    background-color: white;
    border-radius: 5px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    padding: 30px;
    margin-bottom: 40px;
}

.review-article h1 {
    font-size: 2rem;
    margin-bottom: 20px;
    color: var(--secondary-color);
    line-height: 1.3;
}

.review-article h2 {
    font-size: 1.6rem;
    margin: 40px 0 20px;
    padding-bottom: 10px;
    border-bottom: 2px solid var(--primary-color);
    color: var(--secondary-color);
}

.review-article h3 {
    font-size: 1.3rem;
    margin: 30px 0 15px;
    color: var(--secondary-color);
}

.review-article h4 {
    font-size: 1.1rem;
    margin: 20px 0 10px;
    color: var(--secondary-color);
}

.review-article p {
    margin-bottom: 15px;
}

.review-article ul, .review-article ol {
    margin-bottom: 20px;
    padding-left: 20px;
}

.review-article li {
    margin-bottom: 8px;
}

/* ソーシャルシェアボタン */
.social-share {
    display: flex;
    margin: 20px 0 30px;
}

.social-share a {
    display: inline-flex;
    align-items: center;
    margin-right: 15px;
    padding: 8px 15px;
    border-radius: 4px;
    color: white;
    font-weight: bold;
    transition: opacity 0.3s ease;
}

.social-share a:hover {
    opacity: 0.9;
}

.twitter-share {
    background-color: #1da1f2;
}

.facebook-share {
    background-color: #3b5998;
}

.line-share {
    background-color: #00b900;
}

.social-share a i {
    margin-right: 8px;
}

/* テーブル */
.table-responsive {
    overflow-x: auto;
    margin-bottom: 30px;
}

table {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 20px;
}

table th, table td {
    padding: 12px 15px;
    text-align: left;
    border-bottom: 1px solid #ddd;
}

table th {
    background-color: var(--light-gray);
    font-weight: bold;
    color: var(--secondary-color);
}

table tr:nth-child(even) {
    background-color: #f9f9f9;
}

table tr:hover {
    background-color: #f1f1f1;
}

/* 製品レビュー */
.product-review {
    margin-bottom: 40px;
    border: 1px solid #eee;
    border-radius: 5px;
    padding: 20px;
    background-color: #fafafa;
}

.product-image {
    text-align: center;
    margin-bottom: 20px;
}

.placeholder-image {
    width: 300px;
    height: 200px;
    background-color: #eee;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #999;
    font-size: 14px;
}

.product-details {
    margin-top: 20px;
}

.pros-cons {
    display: flex;
    flex-wrap: wrap;
    margin: 20px 0;
    gap: 20px;
}

.pros, .cons {
    flex: 1;
    min-width: 250px;
    padding: 15px;
    border-radius: 5px;
}

.pros {
    background-color: rgba(46, 204, 113, 0.1);
    border-left: 4px solid #2ecc71;
}

.cons {
    background-color: rgba(231, 76, 60, 0.1);
    border-left: 4px solid #e74c3c;
}

.recommendation {
    margin: 20px 0;
    padding: 15px;
    background-color: rgba(52, 152, 219, 0.1);
    border-left: 4px solid var(--primary-color);
    border-radius: 5px;
}

.buy-button {
    margin-top: 20px;
}

.amazon-button {
    display: inline-block;
    background-color: #ff9900;
    color: white;
    padding: 10px 20px;
    border-radius: 4px;
    font-weight: bold;
    transition: background-color 0.3s ease;
}

.amazon-button:hover {
    background-color: #e68a00;
    color: white;
}

/* FAQ */
.faq-item {
    margin-bottom: 30px;
    border-bottom: 1px solid #eee;
    padding-bottom: 20px;
}

.faq-item h3 {
    cursor: pointer;
    position: relative;
    padding-right: 30px;
}

.faq-item h3:after {
    content: '+';
    position: absolute;
    right: 0;
    top: 0;
    font-size: 1.5rem;
}

.faq-item.active h3:after {
    content: '-';
}

.answer {
    margin-top: 15px;
}

/* おすすめモデル */
.recommendation-item {
    margin-bottom: 30px;
    padding: 20px;
    background-color: #f9f9f9;
    border-radius: 5px;
    border-left: 4px solid var(--primary-color);
}

.product-highlight {
    margin-top: 15px;
}

/* 免責事項 */
.disclaimer {
    margin-top: 40px;
    padding: 15px;
    background-color: #f5f5f5;
    border-radius: 5px;
    font-size: 0.9rem;
    color: #666;
}

/* フッター */
footer {
    background-color: var(--secondary-color);
    color: white;
    padding: 30px 0;
    margin-top: 50px;
}

footer .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

footer nav ul {
    display: flex;
    list-style: none;
}

footer nav ul li {
    margin-left: 20px;
}

footer nav ul li a {
    color: white;
}

footer nav ul li a:hover {
    color: var(--light-gray);
}

/* お問い合わせフォーム */
.contact-form {
    max-width: 800px;
    margin: 0 auto;
    padding: 30px;
    background-color: white;
    border-radius: 5px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: bold;
}

.form-control {
    width: 100%;
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 1rem;
}

textarea.form-control {
    min-height: 150px;
}

.btn {
    display: inline-block;
    padding: 10px 20px;
    background-color: var(--primary-color);
    color: white;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-size: 1rem;
    transition: background-color 0.3s ease;
}

.btn:hover {
    background-color: #2980b9;
}

/* レスポンシブデザイン */
@media (max-width: 768px) {
    header .container {
        flex-direction: column;
        text-align: center;
    }
    
    header nav {
        margin-top: 15px;
    }
    
    header nav ul {
        justify-content: center;
    }
    
    .pros-cons {
        flex-direction: column;
    }
    
    .social-share {
        flex-wrap: wrap;
    }
    
    .social-share a {
        margin-bottom: 10px;
    }
    
    footer .container {
        flex-direction: column;
        text-align: center;
    }
    
    footer nav {
        margin-top: 15px;
    }
    
    footer nav ul {
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .review-article {
        padding: 20px 15px;
    }
    
    .review-article h1 {
        font-size: 1.6rem;
    }
    
    .review-article h2 {
        font-size: 1.4rem;
    }
    
    .review-article h3 {
        font-size: 1.2rem;
    }
    
    table th, table td {
        padding: 8px 10px;
    }
}
