/* =========================
          WEB-font
========================= */

.kiwi{
  font-family: "Kiwi Maru", serif;
}

.Inter{
  font-family: "Inter", sans-serif;
}

.zenmaru{
  font-family: 'Zen Maru Gothic', sans-serif;

}

.pc_only{
  display: block;
}

.sp_only{
  display: none;
}


/* =========================
      レシピTOPのCSS(PC)
========================= */


/* MVを画面幅いっぱいに */
.rt-kv img{
  width: 100%;
  height: auto;
  display: block;
}



/* 食材からレシピを探す（PC）*/

.rt-ribbonttl{
  text-align: center;
  padding-top: 30px;
  margin-bottom: 50px;
}

.rt-ribbonttl img{
  display: inline-block;
}

.rt-ribbonttl {
  text-align: center;
  margin-bottom: 30px;
}

.rt-category {
  background-image: url("../img/recipe/recipe_bg1.png") ;
  background-repeat: repeat; 
  padding: 30px 0 60px; 
}

.rt-category .container{
  background: transparent !important;
}


.rt-category__list {
  display: flex;
  justify-content: space-between;
  gap: 30px;
  list-style: none;
  padding: 0;
  margin: 0;
}

.rt-category__item {
  width: calc((100% - 90px) / 4);
}

.rt-category__item a{
  display:block;
  border-radius:16px;
  overflow:hidden;                 /* 角丸のマスク */
  box-shadow: 0 12px 24px rgba(0,0,0,.1);
  transition: all .3s ease;
}

.rt-category__item img{
  width:100%;
  height:auto;
  display:block;
}


.rt-category__item a:hover {
  transform: translateY(-6px);

}


/* 新着レシピ（PC）セクション */

.rt-category2 {
  background-image: url("../img/recipe/recipe_bg2.png") ;
  background-repeat: repeat; 
  padding: 30px 0 60px; 
}

.rt-new__list{
  display:flex;
  justify-content:space-between;
  gap:30px;
  list-style:none;
  padding:0;
  margin:0;
}

.rt-new__item{
  width: calc((100% - 60px) / 3); /* 3枚なので gap2本=60px */
   position: relative;
}

.rt-new__img img{
  display: block;
  width: auto;
  border-radius: 20px;
}

.rt-new__rimg {
  box-shadow: 0 12px 24px rgba(0,0,0,.1);
  margin: 0 auto;
  
}

.rt-new__badge{
  position: absolute;
  top: -10px;
  left: 15px;
  width: 60px;
}

.rt-new__item a{
  display:flex;
  flex-direction:column;
  align-items:center;
  text-decoration:none;
  color:#000;
}

.rt-new__thumb{
  width:100%;
  height:auto;
  display:block;
  border-radius:12px;
}

.rt-new__date{
  margin:10px 0 0;
  font-size:15px;
}

.rt-new__title{
  margin:6px 0 0;
  font-weight:700;
  font-size:20px;
  margin: 5px auto 5px;
  width: 220px;
}

.rt-new__time{
  display: flex;
  align-items: center;
  justify-content: center; /* 中央揃え */
  gap: 8px;
  font-size: 16px;
}


.rt-new__clock{
  width: 20px;
  height: 20px;
  display: block;
}

.rt-new__btn{
  display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    width: 220px !important;
    max-width: 100%;
    margin: 14px auto 0;
    padding: 12px 18px;
    border-radius: 999px;
    background: #f2b263;　
    border: 2px solid #fff;
    box-shadow: 0 8px 18px rgba(0, 0, 0, .08);
    font-weight: normal !important;
    font-size: 18px !important;
}

.rt-new__item a:hover .rt-new__btn{
  filter: brightness(1.08);
}

/* カード全体リンクの見た目調整（必要なら） */
.rt-new__item a{
  display:block;
  text-decoration:none;
  color:inherit;
  text-align: center;
}


.rt-new__btn-arrow{
  font-size: 12px;
  line-height: 1;
}

/* hoverでちょい薄く（a全体がホバーなのでこう書くと安定） */
.rt-new__item a:hover .rt-new__btn{
  filter: brightness(1.05);

}






/* ---ランキングレシピセクション--- */
.rt-category3{
    background-image: url("../img/recipe/recipe_bg3.png") ;
  background-repeat: repeat; 
  padding: 30px 0 60px; 
}

/* 3カラム */
.rt-ranking__list{
  display: flex;
  justify-content: space-between;
  gap: 30px;
  list-style: none;
  padding: 0;
  margin: 60px 0 0;
}

.rt-ranking__item{
  width: calc((100% - 60px) / 3);
  text-align: center;
}

.rt-ranking__item a{
  display: block;
  text-decoration: none;
  color: inherit;
}

/* 画像＋王冠バッジ */
.rt-ranking__img{
  position: relative;
  width: 100%;
  max-width: 260px;
  margin: 0 auto 10px;
}

.rt-ranking__photo{
  width: 100%;
  height: auto;
  display: block;
  border-radius: 18px; /* 角丸 */
}

.rt-ranking__badge{
  position: absolute;
  top: -50px;
  left: 50%;
  transform: translateX(-50%);
  width: 48px;
  height: auto;
}

/* タイトル */
.rt-ranking__title{
  width: 220px;
  margin: 8px auto 6px;
  font-size: 20px;
  font-weight: bold;
}

/* 時計＋時間（前回のflex版） */
.rt-ranking__time{
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin: 0 0 12px;
  font-size: 16px;
}

.rt-ranking__clock{
  width: 18px;
  height: 18px;
  display: block;
}

/* ランキング レシピを見るボタン */
.rt-ranking__btn{
  display:flex;
  align-items:center;
  justify-content:center;
  gap:10px;

  width: 220px;          /* 画像に合わせて微調整OK */
  max-width: 100%;
  margin: 14px auto 0;

  padding: 12px 18px;
  border-radius: 999px;

  background: #F6D625;   /* お好みで */
  border: 2px solid #fff;
  box-shadow: 0 4px 0 rgba(0,0,0,.08);

  font-weight: normal;
  font-size: 18px;

}

.rt-ranking__btn-arrow{
  font-size: 18px;
  line-height: 1;
}


/* hover */
.rt-ranking__item a:hover .rt-ranking__btn{
  filter:brightness(1.05);
}


/* もっとレシピを見るセクション */



/* セクション全体 */
.rt-more{
  padding: 60px 0;
  text-align: center;
}

/* 上のテキスト */
.rt-more__lead{
  font-size: 32px;
  margin-bottom: 30px;
}

.br_tx{
  color: #452D17;
}

/* バナー */
.rt-more__banner img{
  max-width: 100%;
  height: auto;
  border-radius: 16px;
  transition: .3s;
}

/* ちょい浮く */
.rt-more__banner a:hover img{
  transform: translateY(-4px);
  box-shadow: 0 10px 20px rgba(0,0,0,.08);
}


/*------- HOW TO セクション ---------*/
.rt-howto{
  padding: 70px 0;
  background-image: url("../img/recipe/recipe_bg3.png") ;
  background-repeat: repeat; 
  padding: 50px 0 60px; 

}

/* タイトル画像 */
.rt-howto__ttl{
  text-align: center;
  margin: 0 0 5px;
}


.rt-howto__ttl img{
  max-width: 100%;
  height: auto;
  display: inline-block;
}

/* 白カード */
.rt-howto__box{
  background: #fff;
  border-radius: 18px;
  padding: 26px 30px;
  box-shadow: 0 10px 24px rgba(0,0,0,.06);
}

/* リスト：2カラム */
.rt-howto__list{
  list-style: none;
  padding: 0;
  margin: 0;

  display: grid;
  grid-template-columns: 1fr 1fr;
  column-gap: 46px;
  row-gap: 20px;
}

/* 1行 */
.rt-howto__item a{
  display: flex;
  align-items: center;
  gap: 12px;

  color: #222;
  text-decoration: none;
  font-size: 15px;
  line-height: 1.4;
}

/* 左の丸アイコン（フォーク&スプーン風。画像にしたい場合はここ差し替え） */
.rt-howto__icon{
  width: 42px;
    height: 42px;
    border-radius: 50%;
    flex: 0 0 42px;
    background: #f6eee2 url("../img/recipe/recipe_cutleryicon.png") center center no-repeat;
    background-size: 42px;
    box-shadow: inset 0 0 0 1px rgba(0, 0, 0, .03);
}


/* hover：下線っぽい */
.rt-howto__item a:hover{
  text-decoration: underline;
}



/* =========================
   レシピ一覧ページ
========================= */


/* セクション全体 */
.rt-list-nav{
  padding: 80px 0 60px;
  text-align: center;
  background-image: url("../img/recipe/recipe_list_ttlbg.png") ;
  background-repeat: repeat;
}

/* タイトル */
.rt-list-nav__title{
  display: inline-flex;
  align-items: center;
  justify-content: center;  
  gap: 12px;
  font-size: 40px;
  font-weight: 500;
  color: #452D17;
  margin-bottom: 60px;
  position: relative;
}

.rt-list-nav__title img{
  width: 75px;
  margin-left: 10px;
}

/* 下線 */
.rt-list-nav__title::after{
   content: "";
  position: absolute;
  bottom: -16px;
  left: 0;
  right: 0;
  margin: 0 auto;

  width: 280px;
  height: 0;                     /* ← 高さは不要 */
  border-bottom: 3px dotted #f2b263;
}


/* タイトルを中央に置くためのラッパー */
.rt-list-nav__title-wrap{
  text-align: center;
}

/* ボタン並び */
.rt-list-nav__menu{
  display:flex;
  justify-content:center;
  gap:30px;
  list-style:none;
  padding:0;
  margin:0;
  font-weight: 600;
}

/* ボタン */
.rt-list-nav__menu a{
  display: inline-flex;     /* ← ここ重要 */
  flex-direction: column;   /* 文字と▼を縦並び */
  align-items: center;
  gap: 6px;

  padding:16px 36px;
  border-radius:14px;
  background:#fff;
  border:2px solid #f2b263;
  box-shadow:0 8px 18px rgba(0,0,0,.08);

  font-size:18px;
  color:#222;
  text-decoration:none;

  transition:all .35s ease;
}

/* hover ふわ */
.rt-list-nav__menu a:hover{
  transform:translateY(-1px);
  box-shadow:0 14px 24px rgba(0,0,0,.12);
}

/* ▼をaに付ける */
.rt-list-nav__menu a::after{
  content:"\25BC"; /* ▼ */
  font-size:10px;
  color:#f2b263;
}

/*------各リスト一覧-------*/

.rt-recipe-section {
  padding: 80px 0;
}

.bg-chicken {
  background: url("../img/recipe/recipe_list_bg1.png") repeat;
}

.bg-pork {
  background: url("../img/recipe/recipe_list_bg2.png") repeat;
}

.bg-beef {
  background: url("../img/recipe/recipe_list_bg3.png") repeat;
}

.bg-seafood {
  background: url("../img/recipe/recipe_list_bg4.png") repeat;
}

.rt-section-title{
  display: inline-flex;
  align-items: center;
  justify-content: center;
  position: relative;
  font-size: 34px;
  font-weight: 400;
  margin: 0 auto 70px;
  color: #452D17;
  

}

/* 下線 */
.rt-section-title::after{
      content: "";
    position: absolute;
    bottom: -16px;
    left: 50%;
    transform: translateX(-50%);
    width: 280px;
    height: 3px;
    background: #f2b263;
    border-radius: 2px;
}

.rt-section-title img{
  width:60px;
  margin-left:14px;
  vertical-align:middle;
}

/* ★追加：h2を中央に置くために block化 */
h2.rt-section-title{
  display: inline-flex;    /* これはそのまま */
}

.rt-section-title-wrap{
  text-align: center;      /* ★これが効く */
}



.rt-card img{
  width:100%;
  border-radius:20px;
}

.rt-card-title{
  font-weight:700;
  margin-top:10px;
}

.rt-card-btn{
  display:inline-block;
  margin-top:12px;
  padding:10px 24px;
  border-radius:999px;
  background:#f2b263;
}



/* 4枚並び */
.rt-card-list{
  
  justify-content: space-between;
  gap: 26px;
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid !important;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  overflow: hidden;
  height: auto; /* JSが実寸で制御 */
  
  transition: height 0.3s ease-out;

}

/* アニメーション中だけ使う */
.rt-card-list.is-animating {
  transition: height 0.2s ease; 
}

/* 折りたたみ時の見え方（任意） */
.rt-recipe-section.is-collapsed .rt-card-list {
  opacity: 0.98;
}

.rt-card{
  gap: 26px;
  list-style: none;
  padding: 0;
  margin: 0 0 40px;
}

/* 全体クリックを安定させる */
.rt-card__link{
  display: block;
  text-decoration: none;
  color: #111;
  text-align: center;
  transition: filter .35s ease, transform .35s ease;
}

.rt-card__link:hover{
filter: brightness(1.02);
}

/* 右の▼（閉じてる時） */
.rt-more-btn{
  position: relative;
  padding-right: 60px; /* 右アイコン分の余白 */
}

.rt-more-btn::after{
  content: "";
  position: absolute;
  right: 25px;
  top: 50%;
  transform: translateY(-50%);

  width: 0;
  height: 0;
  border-left: 6px solid transparent;
  border-right: 6px solid transparent;
  border-top: 8px solid #f2b263;
}

/* 開いてる時は ▼の場所をそのまま×にする */
.rt-recipe-section:not(.is-collapsed) .rt-more-btn::after{
  content:"\00D7"; /* × */
  border: none;

  width: auto;
  height: auto;

  font-size: 20px;
  font-weight: 700;
  color: #f2b263;

  right: 25px;
  top: 50%;
  transform: translateY(-50%);
  line-height: 1;
}

/* 画像 */
.rt-card__thumb{
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 10px 18px rgba(0,0,0,.08);
}

.rt-card__thumb img{
  width: 100%;
  height: auto;
  display: block;
}

/* テキスト */
.rt-card__date{
  font-size: 16px;
  margin: 10px 0 0;
}

.rt-card__title{
  font-size: 20px;
  font-weight: 700;
  margin: 6px 0 0;
}

.rt-card__time{
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 16px;
  margin: 8px 0 0;
}

.rt-card__clock{
  width: 16px !important;
  height: auto;
  display: block;
}


/* ボタン */
.rt-card__btn{
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;

  width: 220px;
  max-width: 100%;
  margin: 12px auto 0;

  padding: 12px 18px;
  border-radius: 999px;

  background: #f2b263;
  border: 2px solid #fff;
  box-shadow: 0 6px 14px rgba(0,0,0,0.08);
transition: filter .35s ease, transform .35s ease;
  font-weight: normal;
  font-size: 16px;
}

.rt-card__btn-arrow{
  font-size: 18px;
  line-height: 1;
}

/* hover */
.rt-card__link:hover .rt-card__btn{
    filter: brightness(1.06);
 
}

/* 初期は4つ目以降を非表示（折りたたみ状態） */
.rt-recipe-section.is-collapsed .rt-card-list > .rt-card:nth-child(n+5) {
  display: none;
}

/* ボタン周り */
.rt-more-wrap {
  margin-top: 30px;
  text-align: center;
}

.rt-more-btn {
  position: relative;
  min-width: 350px;
  padding: 15px 60px 15px 40px;

  background: #fff;
  border: 2px solid #f2b263;
  border-radius: 15px;

  font-size: 18px;
  font-weight: 500;
  color: #222;

  cursor: pointer;
  transition: all .3s ease;
  
}

/* 右の▼ */
.rt-more-btn::after {
  content: "";
  position: absolute;
  right: 25px;
  top: 50%;
  transform: translateY(-50%);

  width: 0;
  height: 0;
  border-left: 6px solid transparent;
  border-right: 6px solid transparent;
  border-top: 8px solid #f2b263;
}

/* 開いている時は×にする */
.rt-more-btn.is-open::after {
  content: "×";
  border: none;
  font-size: 20px;
  font-weight: 700;
  color: #f2b263;
  width: auto;
  height: auto;
  transform: translateY(-50%);
}

/* ホバー */
.rt-more-btn:hover {
  background: #fff;
  box-shadow: 0 6px 14px rgba(0,0,0,0.08);
}
  
/* 4つ目以降を隠す用 */
.rt-card.is-hidden {
  display: none;
}





/* =========================
   レシピ詳細ページ
========================= */

.rt-detail{
  padding: 60px 0 80px;
  text-align: center;
  background-image: url("../img/recipe/recipe_list_ttlbg.png") ;
  background-repeat: repeat;
}

.rt-detail__inner{
  background: transparent;
}

/* タイトル */
.rt-detail__title{
  text-align: center;
  font-size: 34px;
  font-weight: 500;
  color: #452D17;
  margin: 0 0 50px;
}

/* 上：画像と説明 */
.rt-detail__top{
  display: grid;
  grid-template-columns: 520px 1fr;
  gap: 40px;
  align-items: start;
  margin-bottom: 34px;
}

.rt-detail__photo{
  margin: 0;
}
.rt-detail__photo img{
  width: 100%;
  height: auto;
  display: block;
  border-radius: 16px;
  box-shadow: 0 12px 26px rgba(0,0,0,.10);
}

.rt-detail__lead{
      font-size: 20px;
    line-height: 1.8;
    color: #333;
    margin: 12px 0 18px;
    text-align: left;
}

/* メタ情報 */
.rt-meta{
  list-style: none;
  padding: 26px 20px 22px;
  margin: 0;
  border-top: 1px dotted rgba(0,0,0,.25);
  padding-top: 14px;
}
.rt-meta__item{
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 15px;
  color: #333;
  padding: 8px 0;
}
.rt-meta__icon{
  width: 18px;
  height: 18px;
  display: block;
}
.rt-meta__dot{
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #333;
  display: inline-block;
}

/* 下：材料/作り方 */
.rt-detail__bottom{
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 30px;
  align-items: start;
}

/* 白カード */
.rt-box{
  background: none;
  border-radius: 18px;
  padding: 26px 26px 22px;
}

/* タイトル（アイコン＋下線） */
.rt-box__title{
  height: 60px;
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 22px;
  font-weight: 600;
  color: #452D17;
  margin: 0 0 18px;
  position: relative;
  padding-bottom: 10px;
}
.rt-box__sub{
  font-size: 14px;
  font-weight: 400;
  color: #666;
}
.rt-box__ttlicon{
  width: 50px;
  height: auto;
  margin-left: auto;
  opacity: .9;
}
.rt-box__title::after{
  content:"";
  position:absolute;
  left:0;
  bottom:0;
  width: 100%;
  height: 3px;
  background: #f2b263;
  border-radius: 2px;
  opacity: .9;
}

/* 材料：行 */
.rt-ing{
  border-radius: 14px;
  overflow: hidden;
  background: #f3f3f3;
}
.rt-ing__row{
  display: grid;
  grid-template-columns: 1fr 110px;
  gap: 14px;
  padding: 18px 25px;
  margin: 0;
  border-bottom: 1px solid rgba(255,255,255,.75);
  text-align: left;
}
.rt-ing__row:last-child{ border-bottom: 0; }
.rt-ing__row dt{
  margin: 0;
  color: #333;
  font-size: 16px;
  line-height: 1.5;
}
.rt-ing__row dd{
  margin: 0;
  text-align: right;
  color: #333;
  font-size: 16px;
  white-space: nowrap;
}

.rt-ing__badge{
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: #f2b263;
  color: #000;
  font-size: 13px;
  margin-right: 8px;
  flex: 0 0 26px;
}

/* 作り方 */
.rt-steps{
  list-style: none;
  padding: 0;
  margin: 0;
}
.rt-steps__item{
  display: grid;
  grid-template-columns: 32px 1fr;
  gap: 12px;
  align-items: start;
  padding: 16px 0;
  border-bottom: 1px dotted rgba(0,0,0,.15);
  color: #333;
  font-size: 18px;
  line-height: 1.6;
  text-align: left;
}
.rt-steps__item:last-child{ border-bottom: 0; }

.rt-steps__num{
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: #fff;
  border: 2px solid #f2b263;
  color: #f2b263;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 13px;
   align-self: start; 
  margin-top: 3px;    
}

/* 一覧に戻る */
.rt-back{
  text-align: center;
  padding: 24px 0 10px; /* 上下余白は好みで調整OK */
}

.rt-back__btn{
  display: inline-flex;
  align-items: center;
  justify-content: center;

  min-width: 260px;
  max-width: 100%;
  padding: 14px 22px;

  background: #fff;
  border: 2px solid #F2AB59;
  border-radius: 20px;

  color: #000;
  text-decoration: none;
  font-size: 16px;
  font-weight: 600;

  box-sizing: border-box;
  transition: transform .2s ease, filter .2s ease;

  position: relative; /* 追加 */
  padding-right: 46px; /* ? 分の余白を確保 */
}

/* ? を右端に配置 */
.rt-back__btn::after{
  content: "\25B6"; /* ? */
  position: absolute;
  right: 20px;
  top: 50%;
  transform: translateY(-50%);
  color: #F2AB59;
  font-size: 10px;
}

.rt-back__btn:hover{
  transform: translateY(-1px);
  filter: brightness(1.02);
}


/* =========================
      共通(SP)
========================= */

@media (max-width: 768px){
  html, body{
    width: 100%;
    overflow-x: hidden;
  }

  #deliveryservice_onepoint,
  .deliveryservice{
    min-width: 0 !important;
    width: 100% !important;
  }

  header .container{
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box;
  }


/* =========================
      レシピTOPのCSS(SP)
========================= */
@media (max-width:768px){

.pc_only{
    display: none;
  }

  .sp_only{
    display: block;
  }


  .container{
    width: 100% !important;
    max-width: 100% !important;
    margin-left: auto !important;
    margin-right: auto !important;
    padding-left: 16px !important;
    padding-right: 16px !important;
    box-sizing: border-box;
  }

  .rt-new__list{
    flex-direction:column;
    align-items:center;
    gap: 60px;
  }
  .rt-new__item{
    width: min(340px, 100%);
  }

 /* セクション余白を詰める */
  .rt-category,
  .rt-category2,
  .rt-more,
  .rt-howto{
    padding: 30px 0 40px;
  }

  /* リボンタイトルの余白 */
  .rt-ribbonttl{
    padding-top: 10px;
    margin-bottom: 30px;
  }
  .rt-ribbonttl img{
    width: min(400px, 88vw);
    height: auto;
  }

  /* 食材からレシピを探す：2列にする */
  .rt-category__list{
            display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 20px;
        width: 89%;
        margin: 0 auto;
  }
  .rt-category__item{
    width: auto; /* PC指定解除 */
  }
  .rt-category__item a{
    border-radius: 14px;
  }

  /* 新着レシピ：画像の幅を安定させる */
  .rt-new__img img{
max-width: 100%;
    height: auto;
    display: block;
  }
  
  .rt-new__img{
  position: relative; 
  width: 100%;
  display: block;
  border-radius: 20px;
  }

  .rt-new__badge{
    width: 52px;
    top: 0px;
    left: 10px;
  }
 

  /* 新着レシピ：文字がでかいので少し縮める */
  .rt-new__date{ font-size: 13px; }
  .rt-new__title{
    font-size: 18px;
    width: 100%;
    padding: 0 6px;
  }
  .rt-new__time{ font-size: 14px; }
  .rt-new__btn{
    width: min(260px, 100%) !important;
    font-size: 16px !important;
    padding: 10px 16px;
  }

  /* もっとレシピを見る：リード文のサイズ調整 */
  .rt-more__lead{
    font-size: 24px;
    line-height: 1.6;
    margin-bottom: 18px;
  }

  /* HOWTO：箱の余白＆文字 */
  .rt-howto__box{
    border-radius: 16px;
    padding: 18px 20px !important;
    width: 90%;
    margin: 0 auto;
  }
  .rt-howto__item a{
    font-size: 18px;
  }

  .rt-howto__ttl{
    text-align: center;
    margin: 0 0 20px;
}

}

/* =========================
      レシピ一覧のCSS(SP)
========================= */

@media (max-width: 768px){
  .rt-list-nav{
    padding: 40px 0 30px;
  }

  .rt-list-nav__title{
    font-size: 30px;
    margin-bottom: 50px !important;
  }

  .rt-list-nav__title::after {
    content: "";
    position: absolute;
    bottom: -16px;
    left: 0;
    right: 0;
    margin: 0 auto;
    width: 180px;
    height: 0;
    border-bottom: 3px dotted #f2b263;
  }

  .rt-list-nav__title img{
    width: 44px;
    margin-left: 8px;
  }

  .rt-list-nav__menu{
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
  }

  .rt-list-nav__menu a{
    padding: 12px 10px;
    font-size: 18px;
    border-radius: 12px;
    box-sizing: border-box;
     width: 100%; 
     min-height: 100px; 
     
     justify-content: center;  /* 縦中央 */
  align-items: center;      /* 横中央 */
  }

  /* ▼をaに付ける */
.rt-list-nav__menu a::after{
  content:"\25BC"; /* ▼ */
  font-size:10px;
  color:#f2b263;
}
}

@media (max-width: 768px){
  .rt-recipe-section{
    padding: 40px 0;
  }

  .rt-section-title{
    font-size: 30px;
    font-weight: 500;
    margin-bottom: 60px;
    margin-top: 10px;
  }

  .rt-section-title img{
    width: 60px;
    margin-left: 10px;
  }

  .rt-section-title::after{
    width: 200px;
  }
}

@media (max-width: 768px){
  .rt-more-btn{
    min-width: auto;
    width: 100%;
    padding: 14px 56px 14px 20px;
    font-size: 16px;
  }
}



/* =========================
      レシピ詳細のCSS(SP)
========================= */

 .rt-detail__title {
 font-size: 26px;
 font-weight: 600;
 margin-bottom: 30px !important;
 }

.rt-detail__lead {
    font-size: 20px;
    line-height: 1.8;
    color: #333;
    margin: 12px 0 18px;
    text-align: left;
    margin: 20px auto;
    width: 90%;
}

.rt-meta {
    list-style: none;
    padding: 30px 0px 30px !important;
    margin: 25px auto 0;
    border-top: 1px dotted rgba(0, 0, 0, .25);
    border-bottom: 1px dotted rgba(0, 0, 0, .25);
    padding-top: 14px;
    width: 90%;
}

.rt-box {
    background: none;
    border-radius: 18px;
    /* padding: 26px 26px 22px; */
    width: 100%;
    margin: 0 auto;

}


/* 一覧に戻る */
.rt-back{
  text-align: center;
  padding: 24px 0 10px; /* 上下余白は好みで調整OK */
}

.rt-back__btn{
  display: inline-flex;
  align-items: center;
  justify-content: center;

  min-width: 260px;
  max-width: 100%;
  padding: 14px 22px;

  background: #fff;
  border: 2px solid #F2AB59;
  border-radius: 20px;

  color: #000;
  text-decoration: none;
  font-size: 16px;
  font-weight: 600;

  box-sizing: border-box;
  transition: transform .2s ease, filter .2s ease;
}

.rt-back__btn:hover{
  transform: translateY(-1px);
  filter: brightness(1.02);
}

/* =========================
   SP（縦積み）
========================= */
@media (max-width: 768px){
  .rt-detail{ padding: 40px 0 60px; }

  .rt-detail__title{
    font-size: 26px;
    font-weight: 600;
    margin-bottom: 18px;
  }

  .rt-detail__top{
    grid-template-columns: 1fr;
    gap: 18px;
  }

  .rt-detail__bottom{
    grid-template-columns: 1fr;
    gap: 18px;
  }

  .rt-ing__row{
    grid-template-columns: 1fr 90px;
  }
}



/* SPは2列 */
@media (max-width: 768px){
  .rt-card-list{
    display: grid !important;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
    height: auto !important;
    overflow: visible !important;
  }

   /* 画像がはみ出さないように */
  .rt-card__thumb img{
    width: 100%;
    height: auto;
    display: block;
  }

  /* テキスト */
.rt-card__date{
  font-size: 14px;
  margin: 10px 0 0;
}

.rt-card__title{
  font-size: 18px;
  font-weight: 700;
  margin: 6px 0 0;
}

.rt-card__time{
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 14px;
  margin: 8px 0 0;
}

.rt-card__clock{
  width: 16px !important;
  height: auto;
  display: block;
}

  /* ボタンは横幅100%で統一（デザインに近づく） */
  .rt-card__btn{
    width: 100%;
    max-width: 100%;
  }

  .rt-card{
    max-width: none; /* flex用の名残があれば解除 */
  }
}


/* SP：1カラム　HOW TO セクション */
@media (max-width: 768px){
  .rt-howto__box{
    padding: 18px 16px;
  }
  .rt-howto__list{
    grid-template-columns: 1fr;
    row-gap: 30px !important;
  }
}