/* --- 9. 個別ページ用スタイル (products.htmlなど) --- */

 /* products.html専用のスタイル調整 */
    .page-hero {
        background-color: var(--color-primary);
        color: var(--color-white);
        padding: 80px 0 40px;
        text-align: center;
    }
    .page-hero h2 {
        font-size: 2.5rem;
        margin-bottom: 5px;
    }
    .page-hero p {
        font-size: 1rem;
        opacity: 0.8;
    }
    /* パンくずリスト */
    .breadcrumb {
        max-width: 1100px;
        margin: 0 auto;
        padding: 0 20px 20px;
        font-size: 0.85rem;
        color: #ccc;
        text-align: left;
    }
    .breadcrumb a {
        color: #ccc;
    }
    .breadcrumb span {
        color: var(--color-white);
        font-weight: bold;
    }
    .product-detail-section {
        padding: 60px 0;
        border-bottom: 1px solid var(--color-border);
    }
    
    /* ★修正1: テキストと画像の左右固定、レイアウト調整 */
    .product-item-detail {
        display: flex;
        gap: 40px;
        align-items: flex-start; /* 上端を揃える */
        margin-bottom: 80px; /* セクション間の余白を調整 */
        padding-top: 40px;
        padding-bottom: 20px;
    }
    /* ★修正1: 偶数番目の左右反転設定を削除 */
    .product-item-detail:nth-child(even) {
        flex-direction: row; /* 常に左から右へ */
    }
    .product-image {
        flex: 0 0 45%; /* 画像エリアの幅を45%に固定 */
        max-width: 45%;
    }
    .product-image img {
        width: 100%;
        height: auto;
        border-radius: var(--radius-m);
        box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    }
    .product-info {
        flex: 1;
        max-width: 55%; /* テキストエリアの幅を55%に固定 */
    }
    .product-info h3 {
        font-size: 1.8rem;
        color: var(--color-primary);
        border-bottom: 3px solid var(--color-accent);
        padding-bottom: 5px;
        margin-bottom: 20px;
        text-align: left; /* ★修正3: 見出しを左寄せ */
    }
    .product-info h4 {
        font-size: 1.2rem;
        color: var(--color-text);
        margin-top: 20px;
        text-align: left;
    }
    .product-info p {
        margin-bottom: 15px;
        line-height: 1.8;
        text-align: left; /* ★修正3: テキストを左寄せに固定 */
    }
    
    .product-features {
        padding-left: 0;
        list-style: none;
    }
    .product-features li {
        position: relative;
        padding-left: 25px;
        margin-bottom: 10px;
        font-size: 0.95rem;
        text-align: left; /* ★修正3: リスト項目も左寄せ */
    }
    .product-features li::before {
        content: "\f00c"; /* check icon */
        font-family: "Font Awesome 5 Free";
        font-weight: 900;
        position: absolute;
        left: 0;
        color: var(--color-primary);
    }
    .price-tag {
        font-size: 1.5rem;
        font-weight: bold;
        color: #d9534f; /* 赤系 */
        margin-top: 20px;
        display: block;
        text-align: left; /* 価格も左寄せ */
    }
    .btn-buy {
        margin-top: 20px;
        display: inline-block; /* PCではコンテンツに合わせた幅 */
        width: auto;
        text-align: center;
    }
    
    /* 製品仕様テーブル */
    .spec-table {
        width: 100%;
        border-collapse: collapse;
        margin-top: 30px;
    }
    .spec-table th, .spec-table td {
        border: 1px solid var(--color-border);
        padding: 12px;
        text-align: left;
    }
    .spec-table th {
        width: 30%;
        background-color: var(--color-bg);
        font-weight: bold;
        color: var(--color-primary);
    }

    /* スマホ調整 */
    @media (max-width: 768px) {
        .page-hero {
            padding-top: 90px;
            padding-bottom: 20px;
        }
        .page-hero h2 {
            font-size: 2rem;
        }
        
        /* スマホでは縦並びに戻し、幅を100%にする */
        .product-item-detail, .product-item-detail:nth-child(even) {
            flex-direction: column;
            gap: 20px;
            margin-bottom: 40px;
            padding-top: 0;
            align-items: center; /* 中央揃えに戻す */
        }
        .product-image, .product-info {
            max-width: 100%;
            flex: none;
        }
        .product-info h3 {
            font-size: 1.5rem;
            text-align: left;
        }
        
        /* ★修正2: ボタンの幅をスマホサイズに合わせて調整 */
        .btn-buy {
            width: 90%; /* ボタン幅を90%に縮小 */
            margin-left: auto;
            margin-right: auto;
            display: block;
            padding: 12px 20px;
        }
        
        /* スマホでのテキストの左寄せを徹底 */
        .product-info p, .product-info h4, .price-tag, .product-info h3, .product-features li {
            text-align: left;
        }
        
        .spec-table th, .spec-table td {
            padding: 10px;
            font-size: 0.9rem;
        }
        .spec-table th {
            width: 40%;
        }
    }