@charset "UTF-8";

/*!
Theme Name: Cocoon Child
Description: Cocoon専用の子テーマ
Theme URI: https://wp-cocoon.com/
Author: わいひら
Author URI: https://nelog.jp/
Template:   cocoon-master
Version:    1.1.3
*/

/************************************
** 子テーマ用のスタイルを書く
************************************/
/*必要ならばここにコードを書く*/

/************************************
** レスポンシブデザイン用のメディアクエリ
************************************/
/*1023px以下*/
@media screen and (max-width: 1023px){
  /*必要ならばここにコードを書く*/
}

/*834px以下*/
@media screen and (max-width: 834px){
  /*必要ならばここにコードを書く*/
}

/*480px以下*/
@media screen and (max-width: 480px){
  /*必要ならばここにコードを書く*/
}

/************************************
** 投稿表示ページの体裁用
　 AI指導のもと追加した
　ナチュラルテイストのCSSスタイル
************************************/

.recipe-page {
  font-family: 'Yu Mincho', serif;
  background: #fdfcf8;
  color: #333;
  padding: 2em;
}

.author-section {
  font-size: 1.2em;
  margin-bottom: 1em;
  color: #6b4f3f;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  margin-bottom: 2em;
}
.gallery-item img {
  width: 100%;
  border-radius: 8px;
  box-shadow: 0 2px 6px rgba(0,0,0,0.1);
}

.ingredients-list {
  list-style: circle;
  padding-left: 1.5em;
  margin-bottom: 1em;
}

.user-comment, .shop-comment {
  background: #fff;
  border-left: 4px solid #c2b280;
  padding: 1em;
  margin-bottom: 2em;
  border-radius: 6px;
}

.meta-section {
  font-size: 0.9em;
  color: #777;
  margin-bottom: 2em;
}
.like-button {
  background: #e0d4b7;
  border: none;
  padding: 0.5em 1em;
  border-radius: 20px;
  cursor: pointer;
  font-size: 1em;
}

.related-recipes ul {
  list-style: none;
  padding: 0;
}
.related-recipes li {
  margin-bottom: 0.5em;
}
.related-recipes a {
  color: #6b4f3f;
  text-decoration: none;
}
.related-recipes a:hover {
  text-decoration: underline;
}




body.single-recipe {
  background-color: #f0f8ff !important;
}
