@charset "UTF-8";

/* ==========================================
   Page frame（SP：全幅 / PC：幅420px・背景パターン）
   ========================================== */
html {
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  background: url("../images/bg-pattern.png") repeat center / auto;
  font-family: "Hiragino Sans", Arial, sans-serif;
  font-size: 17px;
  line-height: 1.8;
  color: #000;
  word-wrap: break-word;
}

@media screen and (min-width: 920px) {
  body {
    width: 420px;
    margin: 0 auto;
  }
}

.page {
  background-color: #fff;
}

/* ==========================================
   Base Styles
   ========================================== */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}


/* 全体コンテナ設定 (PC: 460px / SP: 100%) */
.container {
  width: 100%;
  max-width: 460px;
  background-color: #ffffff;
  margin: 0 auto;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
  overflow: hidden;
}

/* 画像共通設定 */
.img-responsive {
  width: 100%;
  height: auto;
  display: block;
}

/* ==========================================
   タイトル / セクション余白
   ========================================== */
.section-how-to {
  padding: 10px 30px 40px;
}

.section-ingredients2 {
  padding: 30px 20px 10px;
}

/* ==========================================
   リンク・ホバーエフェクト
   ========================================== */
.img-link {
  display: block;
  text-decoration: none;
}

.hover-bright img {
  transition: opacity 0.3s ease;
  padding: 20px 10px 0px;
}

.hover-bright:hover img {
  opacity: 0.7;
}

/* ==========================================
   「他のレシピをチェック」ボタン
   ========================================== */
.recipe-btn-wrapper {
  background-color: #ffffff;
  padding: 30px 0 60px;
  text-align: center;
}

.btn-check-recipe {
  display: inline-block;
  width: 80%;
  max-width: 560px;
  padding: 14px 0;
  background-color: #ffff00;
  color: #000000;
  font-size: 16px;
  font-weight: 700;
  text-decoration: none;
  border: 2px solid #000000;
  border-radius: 30px;
  box-shadow: 0 4px 0 #000000;
  transition: all 0.1s ease;
  cursor: pointer;
}

.btn-check-recipe:hover,
.btn-check-recipe:active {
  transform: translateY(4px);
  box-shadow: 0 0 0 #000000;
}

/* ==========================================
   おすすめアイテム Section
   ========================================== */
.section-items {
  background-color: #f7b500; /* 黄色背景 */
  padding: 30px 20px 0;
}

.header-item-title {
  margin-bottom: 0;
}

.item-card {
  position: relative; /* ボタンの絶対配置基準とする */
  margin-bottom: 25px;
  text-align: center;
}

/* 商品情報を見るボタン（画像内の白いカード下部に配置） */
.btn-item-detail {
  position: absolute;
  bottom: 25px; /* カード下の余白調整（画像の余白に応じて数値を微調整してください） */
  left: 50%;
  transform: translateX(-50%);
  display: inline-block; 
  width: 70%;
  max-width: 280px;
  padding: 8px 0;
  background-color: #ffffff;
  color: #b81c22;
  font-size: 14px;
  font-weight: 700;
  text-decoration: none;
  border: 2px solid #b81c22;
  border-radius: 30px;
  transition: background-color 0.2s, color 0.2s;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.btn-item-detail:hover {
  background-color: #b81c22;
  color: #ffffff;
}

.footer-bg-decor {
  margin-top: 0;
}

/* ==========================================
   Footer
   ========================================== */
.footer {
  background-color: #ffffff;
  padding: 25px 20px 20px;
  text-align: center;
}

.footer-logo {
  width: 140px;
  margin: 0 auto 15px;
}

.btn-hp {
  display: inline-block;
  width: 60%;
  max-width: 240px;
  padding: 10px 0;
  background-color: #00873c; /* S&Bグリーン */
  color: #ffffff;
  font-size: 14px;
  font-weight: 700;
  text-decoration: none;
  border-radius: 20px;
  transition: opacity 0.2s;
  margin-bottom: 20px;
}

.btn-hp:hover {
  opacity: 0.8;
}

/* コピーライト表示 */
.copyright {
  font-size: 10px;
  color: #666666;
  margin-top: 10px;
}

.section-items {
  background-color: #f7b500;
  padding-bottom: 20px; /* シアン帯の下の黄色余白 */
}

.items-footer-decor {
  width: 100%;
  height: 16px;
  margin-top: 20px;
  margin-bottom: 8px;
  background-color: #f7b500;
  background-image: radial-gradient(circle at 50% 0%, #17b3ba 60%, transparent 60%);
  background-size: 20px 10px;
  background-repeat: repeat-x;
  background-position: center top;
}
