
/* ==============================
   ヘッダー
=============================== */
.product-banner {
  background-color: #5aa55a;
  width: 100%;
  /* min-width: 800px; を削除または 100% に変更（スマホで横揺れを防ぐため） */
  min-width: 100%; 
  padding: 15px 0 8px 0; 
  color: #ffffff;
  font-family: "Helvetica Neue", Arial, "Hiragino Sans", "Meiryo", sans-serif;
}

.banner-content {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  /* 左右のパディングで全体のバランスを調整 */
  padding: 0 2.5%; 
}

.title-area {
  display: flex;
  flex-direction: column;
  width: 100%;
  /* 位置を少し右に移動（お好みで数値を増やしてください） */
  padding-left: 50px; 
}

.eng-title {
  font-size: 64px;
	font-family: "Arial Black", "Gadget", sans-serif;
  font-weight: 900;
  font-style: italic;
	color: #e0eadd;
  margin: 0;
  line-height: 0.85; /* さらに下線へ近づけました */
  text-shadow: 3px 3px 0px rgba(0, 0, 0, 0.3);
}

.separator-line {
  /* ライン自体は95%幅を維持 */
  width: 95%; 
  max-width: 1140px;
  height: 2px;
  background-color: #ffffff;
  margin: 4px 0; 
}

.jp-title {
  /* サイズを小さく、太さを標準（medium）に */
  font-size: 18px; 
  font-weight: 500; 
  margin: 0;
  line-height: 1.2;
  letter-spacing: 0.05em; /* 少し文字間を広げると細さが際立ちます */
  text-shadow: 1px 1px 0px rgba(0, 0, 0, 0.3);
}

.logo-space {
  min-width: 150px;
}

/* --- スマホ用スタイル（追加分） --- */
@media (max-width: 768px) {
  .banner-content {
    /* ロゴを無しにするため、中央寄せに集中させる */
    justify-content: center;
    padding: 0;
  }

  .title-area {
    /* PC用の左余白を消して、中身を中央寄せにする */
    padding-left: 0;
    align-items: center; 
    text-align: center;
  }

  .eng-title {
    /* スマホ画面からはみ出さないようサイズを調整 */
    font-size: 48px; 
    line-height: 1.0;
  }

  .separator-line {
    /* 画面幅の95%を維持しつつ、中央に配置 */
    margin: 8px auto; 
  }

  .jp-title {
    font-size: 16px;
    letter-spacing: 0.1em;
  }

  .logo-space {
    /* 指定通りロゴを無し（非表示）にする */
    display: none;
  }

  /* メインコンテンツのパディングもスマホ用に少し詰めると綺麗です */
  .product-main {
    padding: 30px 15px;
  }
}

/* 全体のベース設定 */
.product-main {
  max-width: 1200px;
  margin: 0 auto;
  padding: 40px 20px;
  color: #333;
  line-height: 1.6;
}

/* 全体の背景を温かみのある白に */
/* 1. 全体のトーン調整 */
body {
    background-color: #fdfcfb; /* 温かみのある生成り色 */
    color: #4a4643; /* 真っ黒を避けた、柔らかい炭色 */
    font-family: "Yu Mincho", "Hiragino Mincho ProN", "MS Mincho", serif; /* 基本を明朝体に */
}

/* 2. セクションタイトルを優雅に */
.section-title {
    font-size: 26px;
    color: #5aa55a; /* 村岡食品様の緑 */
    text-align: center;
    margin-bottom: 40px;
    font-weight: 600;
    letter-spacing: 0.1em;
}

/* タイトルの下に梅をイメージした淡いピンクのライン */
.section-title::after {
    content: "";
    display: block;
    width: 40px;
    height: 2px;
    background-color: #e9bcba; /* 優しい梅色 */
    margin: 10px auto 0;
}

/* --- 製品情報セクション全体のコンテナ --- */
.product-info-section {
    background-color: #ffffff !important; /* 強制的に白背景を適用 */
    padding: 60px 40px !important;       /* 上下にしっかり白い余白を作る */
    margin: 60px auto !important;        /* 前後のセクションとの間隔 */
    max-width: 900px;                    /* 表の幅に合わせる */
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
    text-align: center;
    box-sizing: border-box;              /* 余白を含めたサイズ計算 */
}

/* タイトル部分 */
.product-info-section .section-title {
    margin-top: 0;
    margin-bottom: 40px;
    display: block;
}

/* テーブル（表）の設定 */
.info-table {
    width: 100%;
    max-width: 800px;
    margin: 0 auto;
    border-collapse: separate;
    border-spacing: 0;
    border: 1px solid #e0e0e0;
    border-radius: 12px;
    overflow: hidden;
    text-align: left;
}

/* スマホ用調整 */
@media (max-width: 768px) {
    .product-info-section {
        margin: 40px 15px !important;
        padding: 40px 20px !important;
    }
}

/* --- 1. 製品名エリアの装飾 --- */
.product-header {
  text-align: center;
  padding: 60px 0 40px;
}

.product-name-wrapper {
  display: inline-block;
  position: relative;
  padding: 10px 40px;
}

/* 文字の両サイドに和風の飾り線 */
.product-name-wrapper::before,
.product-name-wrapper::after {
  content: "";
  position: absolute;
  top: 50%;
  width: 30px;
  height: 1px;
  background-color: #008000;
}
.product-name-wrapper::before { left: 0; }
.product-name-wrapper::after { right: 0; }

.product-name {
  font-size: 28px;
  color: #333;
  margin: 0;
  letter-spacing: 0.1em;
  font-weight: bold;
  /* 少し和風にするなら、明朝体（"Yu Mincho", "MS Mincho"など）も合います */
}

/* 2. 説明とメイン画像のセクション背景 */
.product-hero {
    background-color: #f7f7f7; 
    padding: 60px 0;
    margin-bottom: 60px;
    border-top: 1px solid #eee;
    border-bottom: 1px solid #eee;
}

.product-hero-bg {
  background-color: #f7f7f7; 
  padding: 60px 0;
  margin-bottom: 60px;
  border-top: 1px solid #eee;
  border-bottom: 1px solid #eee;
}

/* コンテナ：画像とテキストの高さを揃えるために align-items: stretch を使用 */
.hero-container {
  max-width: 1000px;
  margin: 0 auto;
  display: flex;
  justify-content: center;
  align-items: stretch; /* 子要素の高さを揃える */
  gap: 40px; /* 隙間を少しだけタイトに調整 */
  padding: 0 20px;
}

/* 左側：画像エリア */
.hero-image-side {
  width: 300px;
  flex-shrink: 0;
  display: flex; /* 画像の枠も高さを維持するため */
}

.main-image-placeholder {
  width: 100%;
  /* 枠内の画像設定：高さは自動で保持 */
  background-color: #f0f0f0;
  border-radius: 4px;
  overflow: hidden;
}

.main-image-placeholder img {
  width: 100%;
  height: auto;
  display: block;
}

/* 右側：テキストエリア（囲み線あり） */
.hero-text-side {
  flex: 1;
  max-width: 600px;
　border: 1px solid #d0c8c5; /* 線の色も少し赤みのあるグレーに合わせました */
  background-color: #fcfaf9; /* 赤みを帯びたごく薄いグレー */
  padding: 30px;
  border-radius: 4px;
  
  /* 中身を上寄せにするための設定 */
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
}

.catch-phrase {
  font-size: 24px; /* 少し落ち着いたサイズに変更 */
  color: #008000;
  margin: 0 0 20px 0;
  line-height: 1.4;
  font-weight: bold;
}

.description-text {
  font-size: 15px; /* 少し小さくして密度を調整 */
  color: #444;
  margin: 0;
  line-height: 1.8;
  text-align: justify;
}

/* スマホ対応 */
@media (max-width: 768px) {
  .hero-container {
    flex-direction: column; /* スマホでは縦並び */
    align-items: center;
    padding: 0 20px;
    gap: 20px;
  }
  
  .hero-image-side {
    width: 100%;
    max-width: 300px;
  }

  .hero-text-side {
    width: 100%;
    text-align: center;
    padding: 20px;
  }
  
  .description-text {
    text-align: left; /* スマホの長文は左寄せが読みやすいため */
  }
}

/* 3 & 4. 製品情報セクション全体 */
.product-info-section {
  text-align: center;
  margin-bottom: 80px;
  padding: 0 20px;
}

/* セクションタイトル：明朝体と梅色のラインで上品に */
.section-title {
  font-family: "Yu Mincho", "Hiragino Mincho ProN", serif;
  font-size: 26px;
  color: #5aa55a; /* 村岡食品様の緑 */
  margin-bottom: 40px;
  font-weight: 600;
  letter-spacing: 0.1em;
  position: relative;
}

.section-title::after {
  content: "";
  display: block;
  width: 40px;
  height: 2px;
  background-color: #e9bcba; /* 優しい梅色のアクセント */
  margin: 12px auto 0;
  border-radius: 2px;
}

/* テーブル本体：角を丸めて柔らかい印象に */
.info-table {
  width: 100%;
  max-width: 800px;
  margin: 0 auto;
  border-collapse: separate; /* 角丸を適用するために必要 */
  border-spacing: 0;
  border: 1px solid #e0e0e0;
  border-radius: 12px; /* 全体を丸く囲む */
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.03); /* ほんの少しの影で浮かせる */
  text-align: left;
  font-size: 14px;
}

.info-table th, 
.info-table td {
  padding: 16px 20px; /* 少しゆとりを持たせた余白 */
  border-bottom: 1px solid #eee;
  vertical-align: top;
  line-height: 1.8;
}

/* 最後の行の線は消す（角丸の崩れ防止） */
.info-table tr:last-child th,
.info-table tr:last-child td {
  border-bottom: none;
}

/* 左側の列（見出し）：ほんのりピンクがかったベージュ背景 */
.info-table th {
  width: 30%;
  background-color: #fcf9f8; 
  color: #5aa55a; /* 文字も緑にして統一感を */
  font-weight: bold;
  white-space: nowrap;
  font-family: "Yu Mincho", "Hiragino Mincho ProN", serif; /* 見出しも明朝体で上品に */
}

/* 右側の列（内容）：清潔感のある白 */
.info-table td {
  background-color: #ffffff;
  color: #4a4643; /* 柔らかいダークグレー */
  font-family: "Helvetica Neue", Arial, "Hiragino Sans", "Meiryo", sans-serif; /* 内容は読みやすさ重視でゴシック */
}

/* スマホ対応 */
@media (max-width: 768px) {
  .product-info-section {
    margin-bottom: 60px;
  }
  .info-table {
    font-size: 13px;
  }
  .info-table th {
    width: 35%;
    padding: 12px 10px;
  }
  .info-table td {
    padding: 12px 10px;
  }
}

/* スマホ対応：さらに少しだけ小さく */
@media (max-width: 768px) {
  .info-table {
    font-size: 13px;
  }
  .info-table th {
    width: 30%;
    padding: 10px 8px;
  }
  .info-table td {
    padding: 10px 8px;
  }
}

/* 5. 製品画像3枚横並び */
/* ギャラリーセクション全体 */
.product-gallery-section {
  width: 100%;
  padding: 60px 0;
  background-color: #fff; /* 背景を白にして画像を際立たせる */
}

/* 画像を囲むコンテナ */
.gallery-container {
  /* 両端に10%ずつの余裕を持たせる設定 */
  width: 80%; 
  max-width: 1024px; /* 最大幅を1024pxに制限 */
  margin: 0 auto;    /* 中央寄せ */
  
  display: flex;
  justify-content: space-between; /* 3つの要素を均等配置 */
  gap: 2%; /* 画像同士の間の隙間（可変） */
}

/* 各画像アイテム */
.gallery-item {
  width: 32%; 
  flex-shrink: 0;
  text-align: center;
  /* ホバー時のアニメーションを滑らかにするための設定 */
  transition: transform 0.3s ease;
}

.gallery-image-wrapper {
  width: 100%;
  aspect-ratio: 1 / 1;
  overflow: hidden;
  border-radius: 8px; /* 角を少し丸くすると影と馴染みが良いです */
  background-color: #fff;
  
  /* --- 影の設定 --- */
  /* 横に0、縦に4px、ぼかし15px、色は黒の透明度10% */
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1); 
  
  border: 1px solid #eee; /* 薄い枠線も併用すると影がより綺麗に見えます */
}

/* マウスを乗せた時に少し浮き上がる演出（お好みで） */
.gallery-item:hover {
  transform: translateY(-5px);
}

.gallery-item:hover .gallery-image-wrapper {
  /* ホバー時に影を少し強くして、より浮いている感を出す */
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.gallery-image-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: cover; /* 正方形枠いっぱいに表示 */
  display: block;
}

.gallery-caption {
  margin-top: 12px;
  font-size: 15px;
  color: #333;
  font-weight: 500;
}

/* スマホ対応（768px以下で縦並びにする場合） */
@media (max-width: 768px) {
  .gallery-container {
    width: 90%; /* スマホでは余白を狭く */
    flex-direction: column;
    align-items: center;
    gap: 30px;
  }
  .gallery-item {
    width: 100%;
    max-width: 300px; /* スマホで大きくなりすぎないよう制限 */
  }
}

/* ラインアップセクション */
.other-lineup {
  max-width: 1000px;
  margin: 40px auto;
  padding: 40px 20px;
  border-top: 1px solid #eee; /* 区切り線を入れて別コーナーであることを示す */
  text-align: center;
}

.lineup-title {
  font-size: 18px;
  color: #333;
  margin-bottom: 25px;
  font-weight: bold;
}

.lineup-container {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  /* 隙間（gap）を広めに設定：例 40px */
  gap: 40px;               
  /* 最大幅の計算：(200px * 3枚) + (40px * 2つの隙間) = 680px */
  max-width: 680px;        
  margin: 0 auto;
}

.lineup-item {
  /* 3列固定のための計算：(100% - 隙間2つ分) / 3 */
  width: calc((100% - 80px) / 3); 
  /* 画像サイズを200pxに指定 */
  min-width: 200px;
  text-decoration: none;
  transition: transform 0.2s;
}

.lineup-item:hover {
  transform: translateY(-5px); /* ホバー時に少し浮く */
}

.lineup-img-wrapper {
  width: 100%;
  aspect-ratio: 1 / 1;
  background-color: #fff;
  border: 1px solid #eee;
  border-radius: 8px;
  overflow: hidden;
  margin-bottom: 8px;
  /* ギャラリーと同様に、ごく薄い影をつけると質感が揃います */
  box-shadow: 0 2px 8px rgba(0,0,0,0.05);
}

.lineup-img-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: contain; /* 商品全体が見えるように */
  padding: 5px; /* 商品画像が枠にくっつかないよう少し余白を */
}

.lineup-name {
    font-family: "Helvetica Neue", Arial, "Hiragino Sans", sans-serif; /* 製品名は読みやすくゴシック */
    font-size: 13px;
    color: #6d6661;
    margin-top: 10px;
    letter-spacing: 0.05em;
}

/* スマホ対応 */
@media (max-width: 768px) {
.lineup-container {
    gap: 20px;    /* スマホでは隙間を少し詰める */
    max-width: 100%;
  }
  .lineup-item {
    /* スマホでは2列（または3列）に柔軟に変化するように設定 */
    width: calc((100% - 20px) / 2); 
    min-width: 140px; /* 小さくなりすぎないように調整 */
  }
}

/* 6. リンクボタンセクション */
.product-links {
  display: flex;
  justify-content: center;
  gap: 15px; /* ボタン同士の間隔を少し詰める */
  margin-top: 40px;
	margin-bottom: 50px;
  flex-wrap: wrap; /* 画面が狭い時に折り返す */
}

.btn {
  display: inline-block;
  /* 上下は少し厚めに、左右は文字に合わせて調整 */
  padding: 12px 30px; 
  background-color: #008000;
  color: #fff;
  text-decoration: none;
  border-radius: 4px; /* 梅しばの硬派なイメージに合わせ少し角丸を抑える */
  font-weight: bold;
  font-size: 15px;
  transition: all 0.3s ease;
  text-align: center;
  
  /* 最小幅を設定することで、文字が短くてもボタンらしさを維持 */
  min-width: 160px; 
  box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

.btn:hover {
  background-color: #006400; /* ホバー時に少し濃い緑に */
  transform: translateY(-2px); /* 少し浮き上がる演出 */
  box-shadow: 0 4px 10px rgba(0,0,0,0.15);
  opacity: 1; /* 元のCSSにあった不透明度変更より、色変化の方が高級感が出ます */
}



/* ==============================
   フッター
=============================== */
.site-footer {
    background-color: #5aa55a;
    color: #FFFFFF;
    text-align: center;
    padding: 10px 0 5px;               /* ロゴ分の余白を上部に少し追加 */
    font-size: 0.9rem;
}

.footer-logo {
    max-height: 80px;                   /* フッターでは控えめなサイズ */
    width: auto;
    max-width: 85%;
    height: auto;
    object-fit: contain;
    margin-bottom: 16px;                /* ロゴとラインの間隔 */
    display: block;
    margin-left: auto;
    margin-right: auto;
}

.footer-line {
    border: none;
    border-top: 1px solid #555;
    margin: 0 auto 15px;
    width: 80%;
    max-width: 400px;
}

.copyright {
    margin: 0;
	color: #ffffff; 
    opacity: 0.85;
}

/* スマホ時の調整 */
@media (max-width: 768px) {
    .footer-logo {
        max-height: 70px;
        margin-bottom: 15px;
    }
    .site-footer {
        padding: 25px 0 20px;
    }
}