@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
*/

/************************************
** 子テーマ用のスタイルを書く
************************************/
/*必要ならばここにコードを書く*/
.acf-training-entry {
  background: #fff;
  padding: 2rem;
  border-radius: 10px;
  line-height: 1.8;
  font-family: "Noto Sans JP", sans-serif;
}

.acf-block {
  margin-bottom: 30px;
  padding: 20px;
  border-left: 4px solid #e53935;
  background: #f9f9f9;
  border-radius: 5px;
}

.acf-block h2 {
  margin-bottom: 10px;
  font-size: 1.3rem;
  color: #333;
}

.youtube-embed iframe {
  max-width: 100%;
  border-radius: 10px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}
.related-posts-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-top: 16px;
}

.related-post-card {
  width: calc(33.333% - 10.66px);
  background-color: #f9f9f9;
  border-radius: 8px;
  overflow: hidden;
  text-align: center;
  box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

.related-post-card h3 {
  font-size: 14px;
  padding: 10px;
  margin: 0;
}



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

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

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