@charset "utf-8";
/*
Theme Name: EVERY child
Theme URI:https://tcd-theme.com/tcd075
Description:WordPressテーマ「EVERY」の子テーマ
Template:every_tcd075
Author:TCD
Author URI:https://tcd-theme.com/
Version:1.1.0
*/

/*
  ここから下にCSSを追記してください。
*/

/* Site-specific changes recovered from the existing theme. */
.recipe_list .category, #index_recipe_slider .category { font-weight: bold; }
#recipe_archive .image_wrap { width:100%; }
#recipe_main_content .post_content { background:#fff; padding:25px; }
#recipe_main_content .post_content a { color:#ff8000; text-decoration:underline; }
#index_slider .caption { padding:0; width:800px; margin:0 0 0 20px; left:0; right:0; top:auto; bottom:5%; -webkit-transform:translateY(-50%); transform:translateY(-50%); }
#index_slider .item.slick-active .caption .animate1, #index_slider.video .caption .animate1,
#index_slider .item.slick-active .caption .animate2, #index_slider.video .caption .animate2,
#index_slider .item.slick-active .caption .animate3, #index_slider.video .caption .animate3 { text-align:left; }
#header_button_area { display:none; }
.post_content a, .custom-html-widget a {color: #ff7f00 !important;}
.post_content a:hover, .custom-html-widget a:hover {color: #3be054 !important; font-weight:200;}
.post_content a:visited, .custom-html-widget a:visited {color: #3be054 !important;}
.wp-element-caption{font-size:85%;}
.wp-element-caption::before {content: "▲"; margin-right: 5px;}


/* noteマガジン全体 */
.note-magazine {
  margin: 40px 0;
}

.note-magazine__title {
  font-size: 1.5rem;
  font-weight: 700;
  margin: 0 0 20px;
  line-height: 1.5;
}

/* 一覧レイアウト */
.note-magazine__list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
}

/* カード */
.note-magazine__item {
  border: 1px solid #eee;
  border-radius: 6px;
  background: #fff;
  overflow: hidden;
  transition: all 0.2s ease;
}

.note-magazine__item:hover {
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
  transform: translateY(-2px);
}

/* リンク全体 */
.note-magazine__link {
  display: block;
  color: inherit;
  text-decoration: none;
}

.note-magazine__link:hover {
  text-decoration: none;
}

/* サムネイル */
.note-magazine__thumb {
  width: 100%;
  background: #f5f5f5;
}

.note-magazine__thumb img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  display: block;
}

.note-magazine__thumb.no-thumb {
  width: 100%;
  height: 220px;
  background: #f5f5f5;
}

/* 本文 */
.note-magazine__body {
  padding: 14px 14px 16px;
}

/* 日付 */
.note-magazine__meta {
  margin-bottom: 6px;
}

.note-magazine__date {
  display: inline-block;
  font-size: 0.95rem;
  color: #999;
  line-height: 1.4;
}

/* タイトル */
.note-magazine__item-title {
  font-size: 1.05rem;
  line-height: 1.5;
  font-weight: 700;
  margin: 0 0 8px;
  color: #f28c00;
}

/* 抜粋 */
.note-magazine__excerpt {
  font-size: 0.92rem;
  line-height: 1.8;
  color: #666;
  margin: 0;
}

/* スマホ */
@media screen and (max-width: 768px) {
  .note-magazine {
    margin: 30px 0;
  }

  .note-magazine__title {
    font-size: 1.35rem;
    margin-bottom: 16px;
  }

  .note-magazine__list {
    grid-template-columns: 1fr;
    gap: 18px;
  }

  .note-magazine__thumb img,
  .note-magazine__thumb.no-thumb {
    height: 200px;
  }

  .note-magazine__body {
    padding: 12px 12px 14px;
  }

  .note-magazine__date {
    font-size: 0.9rem;
  }

  .note-magazine__item-title {
    font-size: 1rem;
    margin-bottom: 8px;
  }

  .note-magazine__excerpt {
    font-size: 0.9rem;
    line-height: 1.75;
  }
}
