/* レイアウト */
.genmaiko {
  display: flex;
  align-items: stretch; /* ← 重要 */
  margin: 10px;
}

/* 左：テキストエリア */
.text-area {
  width: 40%;
  padding: 20px 15px;
  box-sizing: border-box;

  writing-mode: vertical-rl;
  text-orientation: mixed;
}

/* 見出し */
.text-area h1 {
  font-size: 22px;
  font-weight: bold;
  letter-spacing: 0.05em;
  margin: 10px;
}

/* 本文 */
.text-area p {
  font-size: 16px;
  line-height: 1.6;
    letter-spacing: 0.1em;
  margin: 10px;
}

/* 右：画像エリア */
/* 右：画像 */
.image-area {
  width: 60%;
  display: flex;
}


/* 画像をテキストの高さに合わせる */
.image-area img {
  width: 100%;
  height: auto;        /* ← 高さは親に依存 */
  object-fit: cover;
}

/* レスポンシブ対応 */
@media screen and (max-width: 768px) {
  .container {
    flex-direction: column;
  }

  .text-area,
  .image-area {
    width: 100%;
  }

  .text-area {
    writing-mode: horizontal-tb;
    padding: 30px;
  }
}

/* レシピバナー全体のコンテナ */
.recipe-banner {
    background-color: #fff;
    padding: 40px 20px;
    width: 80%;
}

/* レシピタイトル */
.banner-header {
    display: flex;
    align-items: center;
    margin-bottom: 20px;
    position: relative;
}
.recipe-title {
  display: flex;
  align-items: center; /* 垂直方向の中央揃え */
  gap: 5px;           /* 画像とテキストの間隔 */
  position: relative;
  margin-bottom: 10px;
}

.recipe-icon {
  width: 90px;  /* 画像のサイズに合わせて調整してください */
  height: auto;
}

.recipe-text-group {
  flex-grow: 1; /* テキスト部分を横いっぱいに広げる */
  position: relative;
}

.recipe__h2 {
  font-size: 22px;      /* 文字サイズ */
  color: #333;          /* 文字色 */
  margin: 0;
  padding-bottom: 5px;
  /* 点線の下線 */
  border-bottom: 4px dotted #e6b422; 
  position: relative;
}

/* 下線の右端に稲穂をつける場合 */
.recipe__h2::after {
  content: "\f4d8";    /* 稲穂アイコンのコード */
  font-family: "Font Awesome 6 Free";
  font-weight: 900;
  position: absolute;
  right: -3px;         /* 右端に配置 */
  bottom: -12px;       /* 下線の上に重なるように調整 */
  color: #e6b422;
  font-size: 20px;
  background: #fff;    /* 下線と重なる部分を白で隠す */
}
/* レシピグリッド */
.recipe-menu-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

/* 各メニューカード */
.menu-card {
    display: flex;
    align-items: center;
    text-decoration: none;    
}

.menu-card:hover {
    opacity: 0.8;
    transform: translateY(-2px);
}

.menu-img img {
    width: 80%;
    height: 80%;
    object-fit: cover;
}

/* 5番目のピザを中央に配置する調整 */
.full-width {
    grid-column: span 2;
    width: 50%;
    margin: 0 auto;
}

/* スマホ対応 */
@media (max-width: 768px) {
    .recipe-menu-grid {
        grid-template-columns: 1fr;
    }
    .full-width {
        grid-column: span 1;
        width: 100%;
    }
}
