@charset "utf-8";
/* CSS Document */

body {
    font-family: sans-serif;
    margin: 0;
    padding: 0;
    line-height: 1.6;
    color: #333;
    /* 既存の背景色を削除またはコメントアウト */
    /* background-color: #f4f4f4; */
    background-color: #fff; /* 背景を白に設定 */
}

.container {
    max-width: 960px;
    margin: 0 auto;
    padding: 0px;
}

.header {
    text-align: center;
    padding: 0px 0;
    /* 現在の背景色を削除またはコメントアウト */
    /* background-color: #eee; */
    background-color: #F8D94B; /* ← 変更したい背景色を指定 */
}

.header h1 {
    margin-bottom: 10px;
}

.section {
    padding: 0px 0;
    text-align: center;
}

.section h2 {
    margin-bottom: 20px;
}

.hero {
    display: flex;
    flex-direction: column;
    align-items: center;
    background-color: #fff;
    padding: 0px 0px;
}

.hero-content {
    margin-bottom: 30px;
}

.hero-content h2 {
    font-size: 2em;
    margin-bottom: 15px;
}

.hero-content p {
    font-size: 1.1em;
    line-height: 1.8;
    margin-bottom: 20px;
}

.hero-image img {
    max-width: 100%;
    height: auto;
}

/* 画像ギャラリーセクション */
.image-gallery {
    padding: 0px 0;
    text-align: center;
    background-color: #ffffff; /* 必要に応じて背景色を設定 */
}

.image-gallery h2 {
    margin-bottom: 0px;
}

.image-list {
    display: flex;
    flex-direction: column; /* 画像を縦に並べる */
    align-items: center; /* 中央揃えにする場合 */
    gap: 0px; /* 画像間の余白 */
    padding: 0 0px;
    max-width: 700px; /* PCでの最大幅 */
    margin: 0 auto; /* PCで中央揃えにする場合 */
}

.image-item {
    max-width: 100%; /* 画像の最大幅 */
    margin: 0 auto; /* 中央揃えにする場合 */
}

.image-item img {
    display: block; /* インライン要素の余白問題を解消 */
    width: 100%; /* 親要素に合わせて幅を調整 */
    height: auto; /* 縦横比を維持 */
    border-radius: 0px; /* 必要に応じて角を丸くする */
    box-shadow: 0 0px 0px rgba(0, 0, 0, 0); /* 必要に応じて影をつける */
}

a img {
  transition: filter 0.3s ease-in-out; /* アニメーションを滑らかにするための設定 */
}

a:hover img {
  filter: grayscale(70%); /* マウスオーバー時にグレースケールを100%適用 */
}

.features-list {
    display: flex;
    flex-direction: column;
    gap: 30px;
    padding: 0 20px;
}

.feature-item {
    background-color: #fff;
    padding: 20px;
    border-radius: 5px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

.feature-item h3 {
    margin-top: 0;
    margin-bottom: 10px;
}

.benefits ul {
    list-style: none;
    padding: 0;
}

.benefits li {
    margin-bottom: 10px;
    font-size: 1.1em;
}

.cta {
    padding: 40px 0;
    text-align: center; /* テキストとインライン要素を中央寄せ */
    display: flex; /* Flexbox を使用 */
    justify-content: center; /* 水平方向の中央揃え */
    align-items: center; /* 垂直方向の中央揃え (必要に応じて) */
    flex-direction: column; /* 要素を縦に並べる (必要に応じて) */
}

.cta p {
    font-size: 1.2em;
    margin-bottom: 20px;
}

.button {
    display: inline-block; /* ボタンをインラインブロック要素にする */
    padding: 15px 30px;
    background-color: #F8D94B;
    color: #333;
    text-decoration: none;
    border-radius: 5px;
    font-size: 1.1em;
    /* margin: 0 auto;  <- これはブロック要素を中央寄せにするためのもの。Flexboxで不要 */
}

.button:hover {
    background-color: #333333;
    color: #F8D94B;
}

.footer {
    text-align: center;
    padding: 10px 0;
    background-color: #F8D94B;
    color: #333;
    font-size: 0.9em;
}

/* スマートフォン用のスタイル */
@media screen and (max-width: 768px) {
    .container {
        padding: 15px;
    }

    .header {
        padding: 0px 0;
    }

    .header h1 {
        font-size: 1.8em; /* PCでのサイズ */
        font-size: 1.2em; /* ← スマートフォンでのサイズ */
    }

    .header p {
        font-size: 1em;
    }

    .hero {
        padding: 40px 15px;
    }

    .hero-content h2 {
        font-size: 1.5em;
    }

    .hero-content p {
        font-size: 1em;
    }

    .image-list {
        padding: 0 0px;
        gap: 0px;
        max-width: 100%; /* スマートフォンでは画面幅いっぱいに */
        margin: 0; /* スマートフォンでは中央揃えを解除 */
    }

    .image-item {
        max-width: 100%;
    }
    .features-list {
        gap: 20px;
    }

    .feature-item h3 {
        font-size: 1.2em;
    }

    .benefits li {
        font-size: 1em;
    }

    .cta p {
        font-size: 1.1em;
    }

    .button {
        padding: 12px 25px;
        font-size: 1em;
    }


    .footer {
        font-size: 0.9em; /* PCでのサイズ */
        font-size: 0.7em; /* ← スマートフォンでのサイズ */
    }	
}


/* ★★★ 以下のブロックで、以前追加した商品セクションのCSSを上書き・置き換えてください ★★★ */

body > .individual-products-section {
    /* 左右の余白を強制的にゼロにする */
    margin: 40px 0 !important; /* 上下に40px、左右を0に強制 */
    padding: 0 !important;
    
    /* 画面幅全体を使うように設定 */
    width: 100% !important;
    max-width: none !important; /* 既存の max-width も完全に解除 */
    
    text-align: center !important;
    box-sizing: border-box !important;
}

body > .individual-products-section .product-grid {
    display: grid !important;
    grid-template-columns: repeat(3, 1fr) !important;
    gap: 30px !important;
    
    max-width: 1200px !important; /* グリッドの最大幅を制限 */
    margin: 0 auto !important; /* 中央寄せを強制 */
    padding: 0 20px !important; /* 左右に少し余白を持たせる */
}

/* 個々の商品カードのスタイルも詳細度を上げる */
body > .individual-products-section .product-grid .product-card {
    border: 1px solid #ddd !important;
    border-radius: 8px !important;
    padding: 20px !important;
    text-align: center !important;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1) !important;
}

/* 1. 商品画像のスタイルを追記し、サイズを調整 (詳細度を上げています) */
body > .individual-products-section .product-grid .product-card img {
    /* ★画像サイズの調整：150pxにするとかなり小さくなります。180px～200pxも試してみてください。 */
    max-width: 300px !important; 
    width: 100% !important; 
    height: auto !important;
    border-radius: 4px !important;
    margin-bottom: 10px !important; /* 画像の下の余白も少し詰めます */
}

/* 2. 商品カードのパディング（内側の余白）を調整 */
body > .individual-products-section .product-grid .product-card {
    /* 現在：padding: 20px !important; を上書き */
    padding: 10px !important; 
}

/* 3. 商品名と価格の余白を調整 */
body > .individual-products-section .product-grid .product-card h3 {
    margin-top: 5px !important;
    margin-bottom: 5px !important; 
}

body > .individual-products-section .product-grid .product-card .price {
    margin-bottom: 10px !important; 
}

/* レスポンシブ対応 (変更なし、詳細度のみ追加) */
@media (max-width: 900px) {
    body > .individual-products-section .product-grid {
        grid-template-columns: repeat(2, 1fr) !important;
    }
}

@media (max-width: 600px) {
    body > .individual-products-section .product-grid {
        grid-template-columns: 1fr !important;
    }
}