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

/************************************
** 子テーマ用のスタイルを書く
************************************/
/*必要ならばここにコードを書く*/

/*固定ページでシェア・フォローボタンをまとめて非表示*/
.page .sns-share,
.page .sns-follow {
    display: none;
}

/* ==============================
   記事内 見出しデザイン
============================== */
/* ---------- H2 ---------- */
.single .entry-content h2 {
  position: relative;
  margin: 50px 0 30px;
  padding: 14px 20px;          /* ← 58px だった左paddingを20pxに戻す */
  background: linear-gradient(135deg, #1673b8 0%, #2d8dcc 100%);
  color: #ffffff;
  font-size: 24px;
  font-weight: bold;
  line-height: 1.5;
  border: none;
  box-shadow: none;
}

/* ---------- H3 ---------- */
.single .entry-content h3 {
  position: relative;
  margin: 40px 0 20px;
  padding: 8px 0 8px 20px;
  color: #333333;
  font-size: 20px;
  font-weight: bold;
  border: none;
  border-bottom: 2px solid #5b94bd;
}
.single .entry-content h3::before {
  content: "";
  position: absolute;
  left: 0;
  top: 5px;
  width: 5px;
  height: 30px;
  background: #2185c5;
}

/* ---------- H4 ---------- */
.single .entry-content h4 {
  position: relative;
  margin: 30px 0 15px;
  padding: 0 0 8px 24px;
  color: #333333;
  font-size: 17px;
  font-weight: bold;
  border: none;
  border-bottom: 1px dashed #5b94bd;
}
.single .entry-content h4::before {
  content: "⬢";
  position: absolute;
  left: 0;
  top: 0;
  color: #2185c5;
  font-size: 16px;
}

/* ===== CTA Box ===== */
.single .entry-content .custom-cta-box {
  max-width: 640px;
  margin: 40px auto;
  padding: 32px 24px 28px;
  background: #ffffff;
  border-radius: 16px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
  text-align: center;
  position: relative;
}

/* 上部のドット装飾は削除(::before自体を出さない) */
.single .entry-content .custom-cta-box::before {
  content: none;
}

.single .entry-content .cta-microcopy-top {
  font-size: 17px;
  font-weight: 700;
  color: #1a1a2e;
  margin: 0 0 4px !important; 
  line-height: 1.5;
}

.single .entry-content .cta-button {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  max-width: 480px;
  margin: 0 auto !important;
  padding: 18px 24px;
  background: linear-gradient(180deg, #4f9cf0 0%, #2f6fd6 100%);
  border-radius: 50px;
  box-shadow: 0 6px 16px rgba(47, 111, 214, 0.35);
  text-decoration: none !important;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.single .entry-content .cta-button:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(47, 111, 214, 0.45);
  opacity: 1;
}

.single .entry-content .cta-icon {
  font-size: 20px;
  color: #ffffff;
  flex-shrink: 0;
}

.single .entry-content .cta-text {
  font-size: 18px;
  font-weight: 700;
  color: #ffffff;
  letter-spacing: 0.02em;
}

.single .entry-content .cta-arrow {
  font-size: 22px;
  color: #ffffff;
  flex-shrink: 0;
}

.single .entry-content .cta-microcopy-bottom {
  font-size: 13px;
  font-weight: 700; /* 太字に変更 */
  color: #8a8a9a;
  margin: 12px 0 0;
}

/* スマホ対応 */
@media (max-width: 480px) {
  .single .entry-content .custom-cta-box {
    padding: 24px 16px 20px;
  }
  .single .entry-content .cta-microcopy-top {
    font-size: 15px;
  }
  .single .entry-content .cta-text {
    font-size: 16px;
  }
  .single .entry-content .cta-button {
    padding: 16px 16px;
    gap: 8px;
  }
}

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

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

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