@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){
  /*必要ならばここにコードを書く*/
}
/* ================================
   赤太文字
   ================================ */
.qt-red-bold{
  font-weight: 700;
  color: #e60023;
}

/* ================================
   ピンク下線＋太文字
   ================================ */
.qt-pink-underline{
  font-weight: 700;
  text-decoration-line: underline;
  text-decoration-thickness: 0.18em;
  text-decoration-color: #f19ca7;
  text-underline-offset: 0.12em;
}

/* ================================
   黄色下線＋太文字
   ================================ */
.qt-yellow-underline{
  font-weight: 700;
  text-decoration-line: underline;
  text-decoration-thickness: 0.18em;
  text-decoration-color: #ffe95b;
  text-underline-offset: 0.12em;
}

/* ================================
   枠線つきリスト（ピンク枠）
   ================================ */
.qt-pink-list{
  list-style: none;
  margin: 16px 0;
  padding: 12px 16px;
  border: 2px solid #f19ca7;
  border-radius: 10px;
  background: #fffefe;
}

.qt-pink-list li{
  position: relative;
  padding-left: 1.3em;
  margin: 4px 0;
}

.qt-pink-list li::before{
  content: "・";
  position: absolute;
  left: 0;
  top: 0;
  line-height: 1.4;
  color: #f19ca7;
}

/* ================================
   関連記事カード（アイキャッチ＋説明）
   ================================ */
.qt-related{
  display: flex;
  gap: 12px;
  border: 1px solid #dddddd;
  border-left: 4px solid #f19ca7;
  border-radius: 8px;
  padding: 10px;
  margin: 18px 0;
  text-decoration: none;
  color: inherit;
  align-items: center;
  background: #ffffff;
}

.qt-related:hover{
  background: #fff5f7;
}

.qt-related__thumb{
  flex: 0 0 90px;
}

.qt-related__thumb img{
  width: 100%;
  height: auto;
  display: block;
  border-radius: 6px;
  object-fit: cover;
}

.qt-related__body{
  display: flex;
  flex-direction: column;
  gap: 4px;
  justify-content: center;
  min-width: 0;
}

.qt-related__label{
  font-size: 12px;
  font-weight: 700;
  color: #f19ca7;
  margin: 0;
}

.qt-related__title{
  font-size: 15px;
  font-weight: 700;
  margin: 0;
}

.qt-related__desc{
  font-size: 13px;
  margin: 0;
  color: #555555;
}

@media (max-width: 480px){
  .qt-related{
    gap: 8px;
  }
  .qt-related__thumb{
    flex: 0 0 80px;
  }
  .qt-related__title{
    font-size: 14px;
  }
  .qt-related__desc{
    font-size: 12px;
  }
}
