header .header .cart-icon,
.global-menu .member{
	display: none;
}

h1{
	margin-bottom: 40px !important;
}

h2{
	margin-top: 40px !important;
	margin-bottom: 40px !important;
}

h3{
	margin-top: 30px !important;
	margin-bottom: 30px !important;
}

h4{
	margin-top: 20px !important;
	margin-bottom: 20px !important;
}

/* ページネーション全体 */
.navigation.pagination {
    margin: 40px 0;
    text-align: center;
}

/* リンク全体を横並び */
.navigation.pagination .nav-links {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
}

/* 数字・ドットの共通デザイン */
.navigation.pagination .page-numbers {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 38px;
    height: 38px;
    padding: 0 10px;
    border: 1px solid #ddd;
    background-color: #fff;
    color: #212529;
    text-decoration: none;
    line-height: 1;
    box-sizing: border-box;
}

/* リンクになっている数字 */
.navigation.pagination a.page-numbers {
    background-color: #f1f1f1;
    border-color: #212529;
    color: #212529;
}

/* 現在ページ */
.navigation.pagination .page-numbers.current {
    background-color: #fff;
    border-color: #ddd;
    color: #212529;
    font-weight: bold;
}

/* … の部分 */
.navigation.pagination .page-numbers.dots {
    background-color: #fff;
    border-color: #ddd;
    color: #212529;
}

/* 前へ・次へ */
.navigation.pagination .prev.page-numbers,
.navigation.pagination .next.page-numbers {
    width: auto;
    min-width: auto;
    height: 38px;
    padding: 0 4px;
    border: none;
    background: none;
    color: #212529;
    text-decoration: underline;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

/* hover */
.navigation.pagination a.page-numbers:hover {
    opacity: 0.75;
}

/* ============================================
   Recipe Content Styles
   対象クラス:
     .recipe-info        基本情報テーブル
     .recipe-ingredients 材料テーブル
     .recipe-steps       作り方リスト
     .recipe-step-title  手順タイトル
     .recipe-step-body   手順本文
============================================ */

/* --- 共通: レシピコンテンツ内の h2 --- */
.entry-content h2,
.post-content h2 {
  font-size: 1.1rem;
  font-weight: bold;
  color: #fff;
  background-color: #2a7a6f;
  padding: 0.5em 1em;
  margin: 2em 0 0.8em;
  border-radius: 4px;
}

/* --- 基本情報テーブル --- */
.recipe-info {
  width: 100%;
  border-collapse: collapse;
  margin-bottom: 1.5em;
  font-size: 0.95rem;
}

.recipe-info tr {
  border-bottom: 1px solid #e0eeec;
}

.recipe-info th {
  width: 8em;
  padding: 0.6em 1em;
  background-color: #eaf5f3;
  color: #2a7a6f;
  font-weight: bold;
  text-align: left;
  white-space: nowrap;
  vertical-align: top;
}

.recipe-info td {
  padding: 0.6em 1em;
  color: #333;
  vertical-align: top;
}

/* --- 材料テーブル --- */
.recipe-ingredients {
  width: 100%;
  max-width: 50%;
  border-collapse: collapse;
  margin-bottom: 1.5em;
  font-size: 0.95rem;
}

.recipe-ingredients tr {
  border-bottom: 1px solid #e0eeec;
}

.recipe-ingredients tr:last-child {
  border-bottom: none;
}

.recipe-ingredients td {
  padding: 0.5em 1em;
  color: #333;
  vertical-align: top;
}

.recipe-ingredients td:first-child {
  font-weight: bold;
  width: 55%;
}

.recipe-ingredients td:last-child {
  color: #555;
  text-align: right;
}

/* --- 作り方リスト --- */
.recipe-steps {
  list-style: none;
  padding: 0;
  margin: 0 0 1.5em;
  counter-reset: step-counter;
}

.recipe-steps li {
  display: flex;
  flex-direction: column;
  gap: 0.4em;
  padding: 1em 1em 1em 1.2em;
  margin-bottom: 0.8em;
  background-color: #f9fdfc;
  border-left: 4px solid #2a7a6f;
  border-radius: 0 4px 4px 0;
}

/* WordPress が自動挿入する空 <p> を非表示 */
.recipe-steps li > p:empty {
  display: none;
}

/* --- 手順タイトル --- */
.recipe-step-title {
  font-weight: bold;
  font-size: 0.95rem;
  color: #2a7a6f;
}

/* --- 手順本文 --- */
.recipe-step-body {
  margin: 0;
  font-size: 0.9rem;
  color: #444;
  line-height: 1.7;
}

/* --- レスポンシブ対応 --- */
@media (max-width: 600px) {
  .recipe-info th {
    width: 6em;
    font-size: 0.85rem;
    padding: 0.5em 0.6em;
  }

  .recipe-info td {
    font-size: 0.85rem;
    padding: 0.5em 0.6em;
  }

  .recipe-ingredients td {
    font-size: 0.85rem;
    padding: 0.4em 0.6em;
  }

  .recipe-steps li {
    padding: 0.8em 0.8em 0.8em 0.9em;
  }
}
