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

/************************************
** 子テーマ用のスタイルを書く
************************************/

/* ① 結論ボックス（リード文まとめ）*/
.conclusion-box {
  background: #f8f7f4;
  border-left: 4px solid #b5a68a;
  padding: 20px 24px;
  margin: 24px 0;
  border-radius: 4px;
}
.conclusion-box li {
  margin-bottom: 8px;
  line-height: 1.7;
}

/* ② 関連記事カード（内部リンク）*/
.related-card {
  display: flex;
  gap: 16px;
  border: 1px solid #e0e0e0;
  border-radius: 6px;
  padding: 12px;
  margin: 24px 0;
  text-decoration: none;
  color: inherit;
}
.related-card img {
  width: 120px;
  height: auto;
  object-fit: cover;
  border-radius: 4px;
  flex-shrink: 0;
}
.related-card .card-text h4 {
  font-size: 14px;
  margin: 0 0 8px;
  line-height: 1.5;
}
.related-card .card-text p {
  font-size: 12px;
  color: #666;
  margin: 0;
  line-height: 1.6;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* ③ スペック表（アクセス情報・チェックイン等）*/
.info-table {
  width: 100%;
  border-collapse: collapse;
  margin: 20px 0;
  font-size: 14px;
}
.info-table td {
  padding: 10px 14px;
  border: 1px solid #e0e0e0;
  vertical-align: top;
  line-height: 1.7;
}
.info-table tr:nth-child(odd) td {
  background: #f9f9f9;
}
.info-table td:first-child {
  font-weight: bold;
  white-space: nowrap;
  width: 30%;
  color: #555;
}

/* ④ まとめセクション（良い点・注意点）*/
.summary-good,
.summary-bad {
  padding: 16px 20px;
  border-radius: 6px;
  margin: 12px 0;
}
.summary-good {
  background: #eaf4ea;
  border-left: 4px solid #5aaa5a;
}
.summary-bad {
  background: #fdf3f3;
  border-left: 4px solid #cc6666;
}
.summary-good li::before {
  content: "✓ ";
  color: #5aaa5a;
  font-weight: bold;
}
.summary-bad li::before {
  content: "△ ";
  color: #cc6666;
  font-weight: bold;
}

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

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

/*480px以下*/
@media screen and (max-width: 480px){
  /* 関連記事カード：縦並びに */
  .related-card {
    flex-direction: column;
  }
  .related-card img {
    width: 100%;
    height: 180px;
  }
}


/************************************
** カラースタイル統一（暖色系）
************************************/

/* 本文テキスト色 */
.entry-content p,
.entry-content li {
  color: #3d3733;
}

/* リンク色 */
.entry-content a {
  color: #7a6650;
  text-decoration: underline;
}
.entry-content a:hover {
  opacity: 0.75;
}

/* 見出しボーダー（既存の.conclusion-boxと統一）*/
.entry-content h2 {
  border-left: 4px solid #b5a68a;
  padding-left: 12px;
}
.entry-content h3 {
  border-left: 3px solid #b5a68a;
  padding-left: 10px;
}
