@charset "UTF-8";

/* ===============================
   基本 / リセットに依存しない最低限
   =============================== */

body {
  background: #000;
  margin: 0;
  font-family: 'メイリオ','Hiragino Kaku Gothic Pro',sans-serif;
  color: #fff; /* 公開ページの既定文字色 */
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-offset, 160px) + env(safe-area-inset-top, 0px));
}

/*SNS*/

.sns-follow, .sns-share { display:flex; align-items:center; gap:12px; flex-wrap:wrap; }
    .sns-follow a, .sns-share a{
      display:inline-flex; align-items:center; justify-content:center;
      width:44px; height:44px; border-radius:50%;
      background: rgba(255,255,255,.08); border:1px solid #333; color:#fff; text-decoration:none;
      transition: transform .15s ease;
    }
    .sns-follow a:hover, .sns-share a:hover{ transform: translateY(-2px); }
    .sns-title { color:#d4af37; font-weight:700; margin:0; }
    .sns-grid { display:grid; grid-template-columns:1fr auto; gap:16px; align-items:center; }
    @media (max-width: 599px){ .sns-grid{ grid-template-columns:1fr; } }
    .footer-sns { display:flex; gap:10px; flex-wrap:wrap; margin:10px 0 0; }
    .footer-sns a { width:38px; height:38px; }
    .hero-share { display:flex; justify-content:center; margin:16px 0 0; }
    .icon-x { display:inline-block; line-height:0; }

/* アクセシビリティ：フォーカス */
:focus-visible{ outline:2px solid #d4af37; outline-offset:2px }

/* グローバルなリンク色（公開ページ共通） */
a{
  color:#fff;
  text-decoration: underline;
}
a:visited{
  color:#fff;
}
a:hover,
a:focus-visible{
  color:#d4af37;                  /* ホバー時は金で強調 */
  text-decoration: underline;
}
a:active{
  color:#fff;
}

/* ボタン風リンクは独自色を維持（保護ルール） */
a.btn-gold,
a.btn-detail{
  color:#000;                     /* 既存デザインを踏襲 */
  text-decoration: none;
}


/* 戻るボタン（pagetop） */
.pagetop {
  position: fixed;
  right: 30px;
  bottom: 30px;
  width: 50px;
  height: 50px;
  background: #fff;
  border: 2px solid #000;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 4px 6px rgb(0 0 0 / 30%);
  z-index: 2;
}
.pagetop__arrow {
  width: 10px; height: 10px;
  border-top: 3px solid #000;
  border-right: 3px solid #000;
  transform: translateY(20%) rotate(-45deg);
}

/* サイト名・ロゴ（ヘッダー内は白） */
.site h1 { margin: 0; font-size: 30px; }
.site h1 a { color:#000; text-decoration:none; }
.header .site h1 a { color:#fff; } /* 黒ヘッダー上での視認性を確保 */
.site img { border: none; }

/* メイン領域余白（固定ヘッダーを考慮） */
.main { padding-top: calc(var(--header-offset, 160px) + env(safe-area-inset-top, 0px));}
.main h1 { color:#fff; text-align:center; margin-top:50px; font-size:30px; }
.come { color:#fff; text-align:center; margin-top:50px; }

/* ヒーロー/トップ画像 */
.topimg { max-width:100%; height:auto; vertical-align:bottom; display:block;}
.mainVisual ul { margin:0; padding:0; list-style:none; }
.mainVisual ul li { position:relative; }

/* キャッチコピー */
.catch{
  margin:0;
  padding:14px 18px;
  background: linear-gradient(to bottom right, rgba(0,0,0,.75), rgba(0,0,0,.55));
  color:#fff;
  border-radius:12px;
  font-size:clamp(18px, 3.8vw, 28px);
  line-height:1.5;
  position:absolute; bottom:6%; right:3%;
  text-shadow:0 2px 8px rgba(0,0,0,.6);
  backdrop-filter: blur(2px);
  -webkit-backdrop-filter: blur(2px);
}

/* モバイルは中央寄せ＆横幅を確保 */
@media (max-width: 599px){
  .catch{
    left:50%; right:auto; bottom:5%;
    transform:translateX(-50%);
    width:calc(100% - 32px);
    max-width:560px;
  }
}

/* ===== コンテンツブロック（index/business共通） ===== */

.gaiyou a {
  display:block; background:#222; color:#fff; text-align:center; text-decoration:none;
}
.gaiyou a:hover { opacity:.8; }
.gaiyou i { display:block; padding:40px 0; font-size:38px; font-weight:bold; }
.gaiyou .fa-door-open { background:#bfbd13; }
.gaiyou .fa-chalkboard-teacher { background:#c58839; }
.gaiyou .fa-luggage-cart { background:#859f46; }
.gaiyou h1 { margin:0; padding:5px 0; font-size:20px; font-weight:normal; }
.gaiyou p  { margin:0; padding:15px 0; background:#524e3c; font-size:12px; }

/* お知らせ */
.news { padding:20px; border:5px solid #ddd; }
.news h1 { margin:0 0 5px; font-size:18px; color:#666; }
.news ul { margin:0; padding:0; list-style:none; }
.news li a {
  display:block; padding:5px; border-bottom:2px dotted #ddd; color:#fff; font-size:14px; text-decoration:none;
}
.news li a:hover { background:#eee; color:#000; } /* 可読性UP */
.news time { color:#fff; font-weight:bold; float:left; width:60px; }
.news .text { float:none; width:auto; margin-left:60px; }
.news a:after { content:""; display:block; clear:both; }

/* 記事ページ */
.kiji h1 {
  margin-top:0; margin-bottom:20px; padding-left:20px;
  border-left:20px solid #B88C18; font-size:36px; font-weight:normal; text-align:left;
}
.kiji h2 {
  color:#fff; text-align:center; margin:0 0 20px; border-bottom:1px solid #ddd;
  font-size:28px; font-weight:bold;
}
.kiji h2 i { margin-right:7px; color:#888; }
.kiji p { color:#fff; margin:20px 0; }
.kiji p a:hover, .kiji p a:visited { color:#fff; }
.kiji .lead { max-width:100%; font-size:20px; color:#666; }
.kijiimg { max-width:100%; height:auto; margin-bottom:20px; }
.busi { text-align:right; }
.yokonarabi{ display:flex; }
.yokonarabi img { max-width:50%; height:auto; }

/* 製造工程カード */
.process-cards {
  display:grid; grid-template-columns:repeat(auto-fit, minmax(250px,1fr));
  gap:24px; margin-top:30px;
}
.process-card {
  background: rgba(255,255,255,0.05);
  border-radius:16px; padding:20px; text-align:center;
  box-shadow:0 6px 20px rgba(0,0,0,.4);
  transition: transform .3s, box-shadow .3s;
  animation: fadeInUp .8s ease forwards; opacity:0;
}
.process-card:hover { transform: translateY(-5px); box-shadow:0 10px 28px rgba(212,175,55,.4); }
.process-card img { max-width:100%; border-radius:12px; margin:12px 0; }
.process-card h3 { margin-top:10px; color:#d4af37; font-size:1.2rem; }
.process-card p { color:#fff; font-size:.95rem; line-height:1.6; }
.step-icon { font-size:2rem; color:#d4af37; margin-bottom:8px; }
@keyframes fadeInUp { from{opacity:0; transform:translateY(30px);} to{opacity:1; transform:translateY(0);} }

/* 会社概要テーブル */
table { width:100%; border-collapse:collapse; margin-top:20px; }
th.t_top { border-top:4px solid #b3b3b3; }
th {
  border-bottom:1px solid #000;
  border-left:1px solid #e3e3e3; text-align:left; background:#f7f7f7;
  padding:10px; font-weight:normal; color:#000;
}
td.t_top { color:#fff; border-top:4px solid #be1309; }
td {
  color:#fff; border-bottom:1px solid #e3e3e3; border-right:1px solid #e3e3e3;
  text-align:left; padding:10px;
}

/* サイドメニュー */
.sidemenu { border:6px solid #ddd; }
.sidemenu h2 { color:#eee; margin:0; padding:10px; font-size:16px; font-weight:normal; }
.sidemenu h2 i { margin-right:5px; color:#b88c18; font-size:larger; }
.sidemenu ul { margin:0; padding:0; list-style:none; }
.sidemenu li a {
  display:block; padding:10px; border-top:1px solid #ddd;
  color:#ddd; font-size:14px; text-decoration:none;
}
.sidemenu li a:hover { color:#000; background:#eee; }

/* 共通ボタン */
button, .btn-gold, .btn-detail {
  border:none; cursor:pointer;
  border-radius:8px;
}
button {
  width:100%; padding:14px;
  background:linear-gradient(135deg,#d4af37,#c29b2e);
  color:#222; font-size:1rem; font-weight:bold; letter-spacing:.02em;
  box-shadow:0 5px 15px rgba(212,175,55,.3);
  transition: all .3s ease;
}
button:hover { background:linear-gradient(135deg,#e0c068,#d4af37); transform: translateY(-2px); box-shadow:0 8px 20px rgba(212,175,55,.5); }
.btn-gold {
  display:inline-flex; align-items:center; gap:8px; padding:10px 14px;
  background:linear-gradient(135deg,#d4af37,#c29b2e); color:#000; font-weight:700;
  box-shadow:0 5px 15px rgba(212,175,55,.35);
}
.btn-gold:hover { transform: translateY(-1px); }
.btn-detail {
  display: inline-block;
  width: auto;                 /* ← 重要：button{width:100%} を打ち消す */
  padding: 10px 18px;
  background: linear-gradient(135deg, #d4af37, #c29b2e);
  color: #000;
  font-weight: bold;
  font-size: 14px;
  text-decoration: none;
  border-radius: 8px;
}
.btn-detail:hover { background:linear-gradient(135deg,#e0c068,#d4af37); transform: translateY(-1px); }

/* コピーライト */
.copyright p { margin:0; color:#666; font-size:14px; text-align:center; }

/* ===============================
   ヘッダー（固定）とナビゲーション
   =============================== */

.header {
  position: fixed; top:0; left:0; width:100%;
  background:#000; z-index:10000; /* z-index基準: header=10000 */
  padding:20px 15px 10px;
}
.contents .header { border-bottom:1px solid #ddd; }

.header, .info, .footer, .pickup, .box7, .box8 { padding-left:15px; padding-right:15px; }
.info { padding:20px 0; }
.info-main { padding-bottom:20px; }
.pickup { padding-top:20px; }
.pickup-1, .pickup-2, .pickup-3 { padding-bottom:10px; }
.box7 { padding:25px 15px; }

/* PC版：横並び */
@media (min-width: 768px) {
  #menubtn { display:none; }
  #menu { display:block !important; position:static; height:auto; box-shadow:none; }
  .menu ul { margin:0; padding:0; list-style:none; }
  .menu li { float:left; }
  .menu li a {
    display:block; padding:10px 15px; color:#fff; font-size:14px; text-decoration:none;
  }
  .menu li a:hover { background:#eee; color:#000; }
  .menu ul:after, .header:after, .pickup:after, .box7:after, .info:after { content:""; display:block; clear:both; }

  .header-site { float:left; width:auto; }
  .header-nav  { float:right; width:auto; }

  .info-main { float:left; width:70%; padding-right:35px; box-sizing:border-box; }
  .info-sub  { float:left; width:30%; }
  .pickup-1, .pickup-2 { float:left; width:32%; margin-right:2%; }
  .pickup-3 { float:left; width:32%; }
  .box7-1 { float:right; width:80%; padding-left:50px; box-sizing:border-box; }
  .box7-2 { float:left; width:20%; }
}

/* スマホ：ドロワー */
@media (max-width: 767px) {
  .header {
    display:flex; align-items:center; box-sizing:border-box;
    padding:12px 16px 16px; /* 下に少し余白：ボタンが“ヘッダー右下”に収まるように */
  }
  .header-site { flex:1 1 auto; }

  /* ヘッダー右下に固定配置（重なり/ズレ防止） */
  #menubtn{
    position:absolute; right:12px; bottom:8px; /* ← ここが“ヘッダー右下” */
    display:flex; flex-direction:column; justify-content:space-between;
    width:34px; height:26px; cursor:pointer; background:none; border:none; padding:0;
    z-index:10001;
  }
  #menubtn span{ display:block; width:100%; height:3px; background:#d4af37; border-radius:3px; transition:all .3s; }
  #menubtn.open span:nth-child(1){ transform: rotate(45deg) translate(6px,6px); }
  #menubtn.open span:nth-child(2){ opacity:0; }
  #menubtn.open span:nth-child(3){ transform: rotate(-45deg) translate(6px,-6px); }

  /* Font Awesome のハンバーガーを使う場合は白固定 */
  #menubtn i.fa-bars{
    color:#fff;
    text-shadow:0 1px 0 rgba(0,0,0,.35);
  }

  /* ドロワー本体 */
  #menu{
    position:fixed; top:0; right:-260px; width:260px; height:100%;
    background:#111; transition:right .3s ease; padding-top:60px; box-shadow:-2px 0 8px rgba(0,0,0,.6);
    overflow-y:auto; z-index:10020; /* headerより前面 */
  }
  #menu.active{ right:0; }

  /* 背景用バックドロップ（タップで閉じる） */
  #menu-backdrop{
    position:fixed; inset:0; background:rgba(0,0,0,.55);
    opacity:0; pointer-events:none; transition:opacity .2s ease; z-index:10015;
  }
  #menu.active + #menu-backdrop{ opacity:1; pointer-events:auto; }

  .menu ul{ margin:0; padding:0; list-style:none; }
  .menu li a{
    display:block; padding:14px 20px; color:#fff; font-size:16px; text-decoration:none; border-bottom:1px solid #333;
  }
  .menu li a:hover { background:#222; }
}

/* ワイドレイアウト */
@media (min-width:1140px) {
  .photo,.info,.header-inner,.footer-inner,.pickup,.box7 { width:1140px; margin:0 auto; }
  .header { margin-bottom:20px; border-bottom:1px solid #ddd; }
}

/* スモール端末ロゴサイズ */
@media (max-width:359px) { .site img { width:350px; height:auto; } }

/* ===============================
   変数（公開ページのトーン）
   =============================== */
:root {
  --bg:#000000;
  --card:#111111;
  --muted:#cccccc;
  --accent:#d4af37;
  --glass:rgba(255,255,255,0.05);
  --header-offset:160px; /* ヘッダー高さ相当 */

  /* z-index規約（参考） */
  --z-header:10000;
  --z-menu:10020;
  --z-menu-backdrop:10015;
  --z-modal:10030;
}

/* ===============================
   カード/リスト（shop/recipe 共通基礎）
   =============================== */

.container { max-width:1100px; margin:36px auto; padding:24px; color:#fff; }

.list { display:grid; grid-template-columns:repeat(2,1fr); gap:14px; margin-top:16px; }
.card {
  background:#1a1a1a; border-radius:14px; padding:16px; display:flex; gap:12px;
  box-shadow:0 6px 20px rgba(0,0,0,.5); transition: transform .2s, box-shadow .2s;
}
.card:hover { transform: translateY(-3px); box-shadow:0 10px 28px rgba(212,175,55,.4); }
.store-name { font-weight:bold; color:var(--accent); font-size:1.1rem; margin:0 0 4px; }
.address { color:#e0e0e0; font-size:13px; margin:0; }

@media (max-width:880px) {
  .list{ grid-template-columns:1fr; }
}

/* バッジ（共通基準：店舗で使用） */
.badge {
  display:inline-block;
  padding:4px 10px;
  margin:2px 6px 0 0;
  font-size:12px;
  font-weight:700;
  border-radius:12px;
  color:#fff;
}
.badge.buy{ background:#28a745; }
.badge.eat{ background:#0078d7; }
.badge.prod{ background:rgba(212,175,55,.15); border:1px solid #d4af37; color:#fffde7; }

/* ===============================
   トグルスイッチ（共通）
   =============================== */

.toggle {
  position:relative; display:inline-block;
  width:38px; height:22px; /* 細身 */
}
.toggle input { display:none; }
.toggle .slider {
  position:absolute; inset:0; border-radius:22px; background:#666; transition:.25s; cursor:pointer;
}
.toggle .slider::before {
  content:""; position:absolute; left:2px; top:2px; width:18px; height:18px; border-radius:50%; background:#fff; transition:.25s;
}
.toggle input:checked + .slider { background:#28a745; }
.toggle input:checked + .slider::before { transform: translateX(16px); }

/* ===============================
   検索フォーム（公開UI）
   =============================== */

.search-area { display:grid; grid-template-columns:1fr 220px; gap:12px; margin-top:18px; }
.control { background:var(--card); padding:12px; border-radius:12px; box-shadow:0 4px 12px rgba(0,0,0,.4); }
input.search, select {
  width:100%; padding:12px 14px; border-radius:10px;
  background:var(--glass); color:#fff; border:1px solid #333; font-size:14px;
}
/* ダーク上でのoption可読性を保証 */
select option{ color:#000 !important; background:#fff !important; }

.filters { display:flex; gap:8px; }
.chip { padding:8px 12px; border-radius:999px; background:#222; border:1px solid #444; color:#fff; cursor:pointer; font-size:13px; }
.chip.active {
  background:linear-gradient(135deg,var(--accent),#c29b2e); color:#000; font-weight:bold; box-shadow:0 3px 10px rgba(212,175,55,.4);
}

/* 公開検索ボックス（shopページ単体表示時に使用） */
.search-box {
  background: rgba(255,255,255,.1);
  border-radius: 12px;
  padding: 20px;
  margin: 20px auto;
  max-width: 1100px;
  box-shadow: 0 4px 12px rgba(0,0,0,.3);
}

/* 共通フォームラベル/入力（公開側） */
#search-form {
  display:grid; grid-template-columns:repeat(auto-fit, minmax(240px,1fr));
  gap:20px; align-items:start;
}
#search-form label {
  display:flex; flex-direction:column; gap:6px;
  font-size:14px; color:#fff; /* モーダル内でも可読 */
}
#search-form input, #search-form select {
  width:100%; padding:10px; border-radius:8px; border:1px solid #ccc; background:#fff; color:#000; font-size:14px;
}
#search-form button {
  grid-column:1 / -1; font-size:16px; padding:14px;
  background:linear-gradient(135deg,#d4af37,#c29b2e); color:#000; font-weight:bold; border-radius:8px;
  box-shadow:0 3px 10px rgba(212,175,55,.4);
}
#search-form button:hover { background:linear-gradient(135deg,#e0c068,#d4af37); transform: translateY(-2px); }

/* スイッチ行（公開検索：カテゴリ/取扱商品） */
.switch-group, .category-switches {
  display:flex; flex-wrap:wrap; gap:12px; margin-top:6px;
}
.category-switch {
  display:flex; align-items:center; justify-content:flex-start; gap:12px;
  background:rgba(255,255,255,.08); padding:10px 14px; border-radius:10px; min-height:48px;
}

/* 端末幅に応じた列数 */
@media (max-width:768px) {
  #search-form { grid-template-columns:1fr; gap:14px; }
}

/* ===============================
   モーダル（検索・詳細 共通の土台）
   =============================== */

.modal {
  position: fixed; inset: 0; display: none;
  align-items: flex-start; justify-content: center;
  padding: 16px; padding-top: var(--header-offset);
  overflow: auto; background: rgba(0,0,0,.65);
  z-index: var(--z-modal); /* ヘッダーより前面 */
}
.modal .modal-content {
  width: min(92vw, 900px);
  max-height: calc(100vh - var(--header-offset) - 32px);
  overflow: auto;
  border-radius: 12px;
  background: #0f0f0f; /* 黒 */
  color: #fff;         /* 白 */
  border: 1px solid #333;
  box-shadow: 0 10px 28px rgba(0,0,0,.6);
  padding: 24px 26px 22px;
}
.modal .modal-content h3 {
  color: #d4af37; /* 金 */ margin: 0 0 18px;
  border-bottom: 2px solid #3a2b06; padding: 6px 0 10px;
  font-weight: 800; font-size: 1.2rem; letter-spacing: .02em;
}
.modal .modal-content p { margin:12px 0; font-size:.95rem; line-height:1.6; color:#fff; }

/* 閉じるボタン */
.close-btn { font-size:30px; color:#ddd; cursor:pointer; position:absolute; top:10px; right:20px; }
.close-btn:hover { color:#d4af37; }

/* モーダル内フォームの見やすさ */
.modal .modal-content input[type="text"],
.modal .modal-content select,
.modal .modal-content textarea {
  width:100%; height:42px; background:#fff; color:#000; border:1px solid #ccc; border-radius:8px; padding:8px 12px;
}
.modal .modal-content label, .modal .modal-content span { color:#fff; line-height:1.7; font-weight:600; }

/* 詳細モーダル：メイン画像＆ブロック */
.modal-main-image {
  width:100%; height:auto; max-height:50vh; object-fit:contain; background:#000;
  border-radius:12px; display:block; margin:10px 0 8px;
}
.ingredients-cards, .steps-cards {
  display:grid; grid-template-columns:repeat(auto-fit, minmax(220px,1fr)); gap:12px;
}
.ingredient-card, .step-card {
  background: rgba(255,255,255,.08);
  border-radius: 12px; padding:12px; box-shadow:0 4px 12px rgba(0,0,0,.25);
}
.ingredient-card h4 { margin:0 0 6px; color:#d4af37; font-size:14px; }
.ingredient-card p { margin:0; color:#fff; font-size:14px; }
.step-number { font-weight:bold; color:#d4af37; margin-bottom:6px; }
.step-card img { width:100%; border-radius:8px; margin-top:8px; object-fit:cover; }
.video-wrap { position:relative; width:100%; padding-top:56.25%; border-radius:12px; overflow:hidden; box-shadow:0 6px 20px rgba(0,0,0,.4); }
.video-wrap iframe { position:absolute; inset:0; width:100%; height:100%; border:0; }

@media (max-width:599px) {
  .modal { padding:12px; padding-top: calc(var(--header-offset) + 12px); }
  .modal .modal-content { width:96vw; max-height: calc(100vh - var(--header-offset) - 24px); padding:20px; }
  .modal-main-image { max-height:40vh; }
}

/* ===============================
   recipe.html 専用（スコープ：.recipe-page）
   =============================== */

.recipe-container { max-width:1100px; margin:0 auto; padding:0 15px; color:#fff; }
.toolbar { display:flex; gap:10px; align-items:center; justify-content:space-between; margin:14px 0 22px; }
.toolbar .left, .toolbar .right { display:flex; gap:10px; align-items:center; }
.sort-select {
  padding:10px 12px; border-radius:8px; border:1px solid #333; background:#111; color:#fff; font-size:14px;
  box-shadow:0 3px 10px rgba(0,0,0,.3);
}
.sort-select:focus{ outline:2px solid #d4af37; outline-offset:2px; }

/* （参考）グリッド指定。実際の描画は #recipe-list を使用 */
.recipe-grid { display:grid; grid-template-columns:repeat(auto-fit,minmax(260px,1fr)); gap:18px; margin:16px 0 32px; }

.recipe-card {
  background:#1a1a1a; border-radius:14px; overflow:hidden;
  box-shadow:0 6px 20px rgba(0,0,0,.5); transition: transform .2s, box-shadow .2s;
  display:flex; flex-direction:column;
  padding:16px;
}
.recipe-card:hover { transform: translateY(-3px); box-shadow:0 10px 28px rgba(212,175,55,.4); }
.recipe-thumb { width:100%; aspect-ratio:16/9; object-fit:cover; display:block; border-radius:10px; }
.recipe-body { padding:0; display:flex; flex-direction:column; gap:10px; margin-top:10px; }
.recipe-title { margin:0; font-size:1.05rem; color:#d4af37; font-weight:bold; }
.recipe-features { margin:0; color:#ddd; font-size:14px; line-height:1.6; }

.category-badges { display:flex; flex-wrap:wrap; gap:6px; }
/* バッジ（レシピ側も店舗と同寸に統一） */
.category-badge{
  display:inline-block;
  padding:4px 10px;
  margin:2px 6px 0 0;
  font-size:12px;
  font-weight:700;
  border-radius:12px;
  color:#fff;
  background:#333;
}
.category-badge.冷たい { background:#4169e1; }
.category-badge.温かい { background:#ffa500; }
.category-badge.アレンジ { background:#9932cc; }
.category-badge.定番 { background:#a0522d; }

.recipe-actions { display:flex; justify-content:flex-end; }

@media (max-width:599px) {
  .toolbar { flex-direction:column; align-items:stretch; gap:8px; }
  .recipe-body { padding:0; }
  .modal .modal-content { padding:20px; }
}

/* 検索モーダル（recipe-page 内の検索UI） */
.recipe-page .search-form {
  display:grid; grid-template-columns:repeat(2, minmax(280px,1fr)); column-gap:32px; row-gap:18px;
}
@media (max-width:768px) {
  .recipe-page .search-form { grid-template-columns:1fr; column-gap:0; row-gap:14px; }
}
/* スイッチとラベルを横並び固定（重なり防止） */
.recipe-page #search-modal .category-switch {
  display:grid !important; grid-template-columns:38px 1fr !important; align-items:center !important;
  column-gap:12px !important; padding:10px 14px !important; border-radius:10px !important; background:rgba(255,255,255,.08) !important; min-height:48px !important;
}
.recipe-page #search-modal .category-switch > * { position:static !important; float:none !important; margin:0 !important; }
.recipe-page #search-modal .category-switch .toggle {
  grid-column:1 !important; width:38px !important; height:22px !important; display:block !important; margin:0 !important;
}
.recipe-page #search-modal .category-switch .toggle .slider {
  position:relative !important; display:block !important; width:100% !important; height:100% !important;
  border-radius:22px !important; background:#666 !important; transition:.25s;
}
.recipe-page #search-modal .category-switch .toggle .slider::before {
  content:"" !important; position:absolute !important; left:2px; top:2px; width:18px; height:18px; border-radius:50%; background:#fff !important; transition:.25s;
}
.recipe-page #search-modal .category-switch .toggle input:checked + .slider { background:#28a745 !important; }
.recipe-page #search-modal .category-switch .toggle input:checked + .slider::before { transform: translateX(16px); }
.recipe-page #search-modal .category-switch > label:not(.toggle),
.recipe-page #search-modal .category-switch > span,
.recipe-page #search-modal .category-switch > p {
  grid-column:2 !important; display:inline-block !important; color:#fff !important; font-weight:600; line-height:1.4; white-space:nowrap;
}
@media (max-width:360px){
  .recipe-page #search-modal .category-switch > label:not(.toggle),
  .recipe-page #search-modal .category-switch > span,
  .recipe-page #search-modal .category-switch > p { white-space:normal !important; }
}

/* ===============================
   shop.html 専用（スコープ：.shop-page）
   =============================== */

.shop-page .store-grid { display:grid; grid-template-columns:repeat(auto-fit,minmax(260px,1fr)); gap:18px; }
.shop-page .store-card {
  background:#1a1a1a; border-radius:14px; padding:16px;
  box-shadow:0 6px 20px rgba(0,0,0,.5); transition: transform .2s, box-shadow .2s;
}
.shop-page .store-card:hover { transform: translateY(-3px); box-shadow:0 10px 28px rgba(212,175,55,.4); }
.shop-page .store-card img { width:100%; aspect-ratio:16/9; object-fit:cover; border-radius:10px; }
.shop-page .store-name { color:#d4af37; font-weight:700; margin:10px 0 6px; font-size:1.05rem; }
.shop-page .store-meta { color:#e0e0e0; font-size:.92rem; }

.shop-page .toolbar { display:flex; gap:12px; align-items:center; justify-content:space-between; margin-bottom:12px; }
.shop-page .sort-select{
  padding:10px 12px;
  border-radius:8px;
  border:1px solid #333;
  background:rgba(255,255,255,.05);
  color:#fff;
}
.shop-page .sort-select option{
  color:#000 !important;
  background:#fff !important;
}
.shop-page .sort-select:focus{ outline:2px solid #d4af37; outline-offset:2px; }

.shop-page .search-form { display:grid; grid-template-columns:repeat(auto-fit, minmax(240px,1fr)); gap:16px; }
.shop-page .search-form label { display:flex; flex-direction:column; gap:6px; color:#fff; }

.shop-page .switch-line, .shop-page .switch-line-prod {
  display:flex; align-items:center; justify-content:flex-start; gap:12px;
  background:rgba(255,255,255,.08); padding:10px 14px; border-radius:10px; min-height:48px; color:#fff;
}

/* マップ */
.shop-page .map-embed { width:100%; height:300px; border:0; border-radius:10px; }
@media (max-width:599px){ .shop-page .map-embed { height:240px; } 
.buy-box{ padding:14px; }
.buy-box__title{ font-size:1.1rem; }
.variant-cards{ grid-template-columns:1fr; }
}

@media (max-width: 599px) {
  .shop-page .toolbar { flex-direction: column; align-items: stretch; gap: 8px; }
  .shop-page .toolbar .left .btn-gold,

  .shop-page .toolbar .right .sort-select {
    width: 100%;
    box-sizing: border-box;
    height: 48px;
    padding: 12px 14px;
    font-size: 16px;
    line-height: 1.2;
  }
  .shop-page .toolbar .left .btn-gold i { font-size: 16px; }
}

/* 見出し直下の余白を recipe と同じに */
.shop-page .kiji > .container { margin: 0 auto; padding: 0 15px; }
/* ツールバーの上下マージン統一 */
.shop-page .toolbar { margin: 14px 0 22px; }

/* 600px～でも少しだけ高さを合わせる（任意） */
@media (min-width: 600px) and (max-width: 767px) {
  .shop-page .toolbar .left .btn-gold,
  .shop-page .toolbar .right .sort-select { height: 44px; }
}

/* ===============================
   商品一覧/詳細（product.html）等
   =============================== */

.products { margin:60px auto; max-width:1200px; padding:20px; }
.products h1 { text-align:left; color:#fff; margin-bottom:40px; }
.products h2 { text-align:center; color:#d4af37; margin-bottom:40px; }

.product-grid {
  display:grid; grid-template-columns:repeat(auto-fit, minmax(280px,1fr)); gap:30px;
}
.product-card {
  background: rgba(255,255,255,.05); border-radius:16px; overflow:hidden;
  box-shadow:0 6px 20px rgba(0,0,0,.4); transition: transform .3s, box-shadow .3s;
}
.product-card:hover { transform: translateY(-6px); box-shadow:0 12px 30px rgba(212,175,55,.5); }
.card-image img { width:100%; aspect-ratio:16/9; object-fit:cover; border-radius:8px; display:block; }
.card-body { padding:20px; text-align:center; }
.card-body h2 { color:#fff; margin:10px 0; font-size:20px; }
.card-body p { color:#ccc; font-size:14px; margin-bottom:15px; }

/* 購入ボックス */
.buy-box{
  margin:18px auto 24px; padding:18px; border:1px solid #333; border-radius:12px;
  background:rgba(255,255,255,.05); box-shadow:0 6px 20px rgba(0,0,0,.35);
}
.buy-box__title{ margin:0 0 8px; color:#d4af37; font-size:1.25rem; }
.buy-box__bullets{ margin:8px 0 14px; color:#fff; line-height:1.7; }
.buy-box__meta{ display:flex; gap:18px; align-items:baseline; flex-wrap:wrap; }
.buy-box__price span{ font-size:.9rem; color:#ccc; margin-right:8px; }
.buy-box__price strong{ font-size:1.3rem; }
.buy-box__notes{ font-size:.95rem; color:#ddd; }
.buy-box__notes .accent{ color:#d4af37; font-weight:700; }
.buy-box__cta{ margin-top:14px; display:flex; flex-direction:column; gap:6px; }
.buy-box__btn{
  display:inline-block; text-decoration:none; text-align:center;
  padding:12px 18px; border-radius:999px; font-weight:700;
  background:linear-gradient(135deg,#d4af37,#c29b2e); color:#000;
  box-shadow:0 6px 18px rgba(212,175,55,.35);
}
.buy-box__btn:hover,.buy-box__btn:focus-visible{ filter:brightness(1.05); color: #000000;}
.buy-box__secure{ color:#aaa; font-size:.85rem; }
.buy-box__badges{ margin:14px 0 0; padding:0; list-style:none; display:flex; flex-wrap:wrap; gap:8px; }
.buy-box__badges li{
  font-size:12px; padding:6px 10px; border-radius:999px; color:#000;
  background:linear-gradient(135deg,#d4af37,#c29b2e); box-shadow:0 3px 10px rgba(212,175,55,.35);
}
 
/* セット/ギフトの選択カード */
.variant-cards{ display:grid; grid-template-columns:repeat(auto-fit,minmax(220px,1fr)); gap:14px; margin:14px 0 24px;}
.variant{ background:rgba(255,255,255,.06); border:1px solid rgba(255,255,255,.08); border-radius:12px; padding:14px; }
.variant h3{ margin:0 0 6px; color:#fff; font-size:1.05rem; }
.v-desc{ color:#ddd; margin:0 0 10px; }
.variant__btn{
  display:inline-block; text-decoration:none; text-align:center;
  padding:10px 14px; border-radius:10px; font-weight:700;
  background:#111; color:#fff; border:1px solid #333;
}
.variant__btn:hover,.variant__btn:focus-visible{ border-color:#d4af37; color:#d4af37; }

/* 安心情報 / FAQ */
.assurance{ margin:28px 0 10px; }
.assurance__title{ color:#d4af37; font-size:1.15rem; margin:0 0 8px; }
.assurance__list{ margin:0; padding-left:18px; color:#ddd; line-height:1.8; }
.faq{ margin:24px 0; }
.faq h2{ color:#d4af37; font-size:1.15rem; margin:0 0 10px; }
.faq details{ border:1px solid #2a2a2a; border-radius:10px; padding:10px 12px; margin:10px 0; background:rgba(255,255,255,.03); }
.faq summary{ cursor:pointer; color:#fff; font-weight:700; }
.faq p{ color:#ddd; margin:8px 0 0; line-height:1.7; }

/* 固定購入ボタン（pagetopと統一デザイン） */
.btn-buy {
  position: fixed;
  right: 30px;
  bottom: 100px;
  width: 50px;
  height: 50px;
  background: #d4af37;
  border: solid 2px #d4af37;
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  box-shadow: 0 4px 6px rgba(0,0,0,0.3);
  z-index: 3;
  transition: all 0.3s ease;
  color: #ffffff;
  font-size: 14px;
  text-decoration: none;
}
.btn-buy:hover {
  background: #d4af37;
  color: #000;
  transform: translateY(-3px);
  box-shadow: 0 6px 12px rgba(212,175,55,0.5);
}

/* ===============================
   問い合わせフォーム（form.html）
   =============================== */

.form-container {
  width:90%; max-width:600px; padding:40px;
  background:rgba(255,255,255,.08); border-radius:16px; backdrop-filter: blur(12px);
  box-shadow:0 10px 30px rgba(0,0,0,.4); color:#fff; animation: fadeIn 1s ease;
}
.form-container h2 {
  margin-bottom:25px; font-size:1.8rem; text-align:center; color:#f9f9f9; letter-spacing:2px; font-weight:500;
  border-bottom:1px solid rgba(255,255,255,.2); padding-bottom:10px;
}
.form-group { margin-bottom:20px; }
label { display:block; margin-bottom:8px; font-weight:500; font-size:.95rem; color:#e0e0e0; }
input, textarea {
  width:100%; padding:12px 14px; border:1px solid rgba(255,255,255,.3);
  border-radius:10px; background:rgba(255,255,255,.1); color:#fff; font-size:1rem; transition: all .3s;
}
input::placeholder, textarea::placeholder { color:rgba(255,255,255,.5); }
input:focus, textarea:focus { border-color:#d4af37; background:rgba(255,255,255,.15); outline:none; }
select#category { color:#fff; background:rgba(255,255,255,.1); }
select#category option { color:#000; background:#fff; }
#confirm-screen {
  margin-top:20px; padding:20px; background:rgba(255,255,255,.08);
  border-radius:12px; color:#fff;
}
#confirm-screen p { margin:10px 0; font-size:.95rem; line-height:1.6; }
.confirm-buttons { display:flex; justify-content:space-between; gap:15px; margin-top:25px; }
.confirm-buttons button { flex:1; }
@keyframes fadeIn { from{opacity:0; transform:translateY(20px);} to{opacity:1; transform:translateY(0);} }

/* 通知メッセージ */
.notification {
  position:fixed; top:20px; left:50%; transform:translateX(-50%);
  background:#4CAF50; color:#fff; padding:15px; border-radius:5px; display:none; z-index:1000;
  font-size:1.1em; box-shadow:0 4px 6px rgba(0,0,0,.1); transition:opacity .3s;
}
.notification.error { background:#f44336; }

/* ===============================
   レシピ一覧（既存JSが参照するID）
   =============================== */
#recipe-list {
  display:grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap:18px;
  padding:0;                 /* 20px→0：shopと同条件に */
  justify-content:initial;
  color:#000; /* JS都合で維持 */
}

/* ===============================
   汎用レスポンシブ調整
   =============================== */
@media (max-width:768px) {
  .store-card, .recipe-card { padding:15px; }
}

/* ===============================
   商品詳細ページ　お客様の声
   =============================== */
.tm-testimonials {
  max-width: 1000px;
  margin: 48px auto 0;
  padding: 0 20px;
}
.tm-testimonials h2 {
  text-align: center;
  color: #d4af37;
  margin-bottom: 20px;
  font-size: 26px;
  border-bottom: 1px solid rgba(255,255,255,0.2);
  padding-bottom: 8px;
}
.tm-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); gap: 24px; }
.tm-card {
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 14px;
  padding: 16px;
  box-shadow: 0 6px 20px rgba(0,0,0,0.4);
  transition: transform .25s ease, box-shadow .25s ease;
  max-width: 480px;
  margin: 0 auto;
}
.tm-photo{
  width:100%; height:auto; border-radius:12px;
  display:block; margin:6px 0 10px;
  box-shadow:0 4px 12px rgba(0,0,0,.25);
}

.tm-card:hover { transform: translateY(-4px); box-shadow: 0 10px 28px rgba(212,175,55,0.4); }
.tm-card-head { display: flex; align-items: center; gap: 12px; margin-bottom: 10px; }
.tm-avatar { width: 46px; height: 46px; border-radius: 50%; object-fit: cover; border: 2px solid #d4af37; }
.tm-name { color: #fff; font-weight: 700; }
.tm-stars { color: #d4af37; font-size: 14px; letter-spacing: 1px; }
.tm-quote {
  color: #eaeaea;
  line-height: 1.7;
  margin: 10px 0 12px;
  position: relative;
  padding-left: 28px;
}
.tm-quote::before {
  content: "“";
  position: absolute;
  left: 0; top: -8px;
  font-size: 32px; line-height: 1;
  color: rgba(212,175,55,0.85);
}
.tm-tags { display: flex; flex-wrap: wrap; gap: 8px; }
.tm-tags span {
  font-size: 12px;
  color: #000;
  background: linear-gradient(135deg, #d4af37, #c29b2e);
  border-radius: 999px;
  padding: 4px 10px;
  box-shadow: 0 3px 10px rgba(212,175,55,0.35);
}

/* おいしい食べ方（3ステップ） */
.howto{ margin:24px 0 26px; }
.howto-title{
  color:#d4af37; font-size:1.25rem; margin:0 0 12px;
  border-bottom:1px solid rgba(255,255,255,.15); padding-bottom:8px;
}
.howto-steps{
  display:grid; grid-template-columns:repeat(3, minmax(180px,1fr));
  gap:14px; margin-top:10px;
}
.howto-step{
  background:rgba(255,255,255,.06); border:1px solid rgba(255,255,255,.08);
  border-radius:12px; padding:14px; box-shadow:0 4px 12px rgba(0,0,0,.25);
}
.howto-step h3{ margin:6px 0; color:#fff; font-size:1.05rem; }
.howto-step p{ margin:6px 0 0; color:#ddd; line-height:1.7; }
.howto-num{
  width:32px; height:32px; border-radius:50%;
  background:linear-gradient(135deg,#d4af37,#c29b2e); color:#000;
  display:flex; align-items:center; justify-content:center;
  font-weight:800; box-shadow:0 3px 10px rgba(212,175,55,.35);
}
.howto-video{ margin-top:12px; }

@media (max-width: 480px){
  .tm-quote { padding-left: 24px; }
  .tm-quote::before { font-size: 28px; top: -6px; }
}

@media (max-width: 880px){
  .howto-steps{ grid-template-columns:1fr; }
}
