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

/************************************
** 子テーマ用のスタイルを書く
************************************/
/*必要ならばここにコードを書く*/
/* スマホヘッダー用 */
@media screen and (max-width: 768px){
  .custom-header-text{
    color: #fff;
    font-size: 14px;
    margin-left: 10px;
    margin-top: 15px; /* ← ここで少し下げる。数値は調整可能 */
  }
}

/* サイト全体のul黒点を消す */
ul {
  list-style: none;
  padding-left: 0;
  margin-left: 0;
}

.related-posts-container {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.related-post {
  width: 30%;
  background: #f9f9f9;
  border: 1px solid #ddd;
  padding: 8px;
  text-align: center;
  border-radius: 6px;
}

.related-post img {
  max-width: 100%;
  height: auto;
  border-radius: 4px;
}

.related-post p {
  margin: 5px 0 0;
  font-size: 14px;
}

.appeal {
  position: relative;
  overflow: hidden;
}

.appeal-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
  opacity: 0.2; /* 背景としてなじませる */
}

.appeal-title {
  position: relative;
  z-index: 1;
  color: #000000;
  padding: 40px 20px;
}

.star {
  color: gold;
  font-size: 1.2em; /* 必要に応じてサイズ調整 */
}


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

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

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