/* ────────────────
   H2デザイン（赤ライン）
──────────────── */
.single-post h2 {
  position: relative;
  background: linear-gradient(to bottom, #f9f9f9 0%, #fff 100%);
  padding: 0.5em 0.8em;
  font-weight: bold;
  margin-bottom: 1em;
}
.single-post h2::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 5px;
  height: 100%;
  background-color: red;
}

/* ────────────────
   H3デザイン（水色棒＋下線）
──────────────── */
.single-post h3 {
  position: relative;
  background: #fff;
  padding: 0.5em 0.8em;
  font-weight: bold;
  margin-bottom: 1em;
  border: none !important;
}
.single-post h3::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 3px;
  background-color: #33ccff;
}
.single-post h3::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 1.5px;
  background: linear-gradient(to right, #66d9ff, transparent);
}

/* ────────────────
   H4デザイン（グレー棒）
──────────────── */
.single-post h4 {
  position: relative;
  background: #fff;
  padding: 0.4em 0.8em;
  margin: 1.2em 0 0.8em;
  font-weight: 600;
  font-size: 1.05em;
  border: none !important;
}
.single-post h4::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 3px;
  background: #999;
}

/* ────────────────
   スマホ専用（768px以下）
──────────────── */
@media screen and (max-width: 768px) {
  .eye-catch, h1.entry-title, #content.content.cf, main#main.main {
    margin-top: 0 !important;
    padding-top: 0 !important;
  }

  .seminar-banner-top {
    padding: 10px 6px;
    font-size: 13px;
  }

  .seminar-banner-top p {
    font-size: 13px;
    line-height: 1.4;
  }

  .seminar-banner-top a {
    font-size: 13px;
    padding: 6px 14px;
  }
}

/* ────────────────
   page-id-11（専用LP用）
──────────────── */
@media (max-width: 1023px) {
  body.page-id-11 #header,
  body.page-id-11 #header-container,
  body.page-id-11 .site-header,
  header.article-header.entry-header {
    display: none !important;
  }
  body.page-id-11 .entry-content {
    padding-top: 28px !important;
  }
  body.page-id-11 h1.entry-title {
    margin-top: 30px !important;
  }
}

/* 固定ページ h2 赤棒デザイン（全高フィット版） */
.page h2{
  position:relative;
  padding-left:18px;
  margin:2.5em 0 1.2em;
  font-weight:700;
}

.page h2::before{
  content:"";
  position:absolute;
  left:0;
  top:0;
  bottom:0;         /* ←ここが重要：上下を固定して全高にする */
  width:4px;
  background:#ed4f18;
  border-radius:2px;
}

/* 固定ページ h3：水色・細線・背景なし */
.page h3{
  position: relative;
  padding-left:14px;
  margin:2em 0 1em;
  font-weight:600;
  background:none;          /* 下地を白に */
}

.page h3::before{
  content:"";
  position:absolute;
  left:0;
  top:0.3em;
  bottom:0.3em;
  width:2px;                /* 細線 */
  background:#6ec1e4;       /* 水色 */
  border-radius:1px;
}

/* h3：グレー枠（背景・枠線）を完全に消して、水色の細線だけ残す */
.page .entry-content h3,
.single .entry-content h3{
  background: transparent !important;   /* グレー背景を消す */
  border: none !important;             /* 枠線を消す */
  box-shadow: none !important;         /* 影があれば消す */
  padding: 0 0 0 14px !important;      /* 左の線分の余白だけ確保 */
  margin: 2em 0 1em !important;
}

/* 左の水色細線（h3の印） */
.page .entry-content h3::before,
.single .entry-content h3::before{
  content:"";
  position:absolute;
  left:0;
  top:0.35em;
  bottom:0.35em;
  width:2px;
  background:#6ec1e4;
  border-radius:1px;
}

/* Cocoonが別の疑似要素で帯を出してる場合の保険 */
.page .entry-content h3::after,
.single .entry-content h3::after{
  background: transparent !important;
  border: none !important;
  box-shadow: none !important;
}

/* h3：背景・枠を完全に消す */
.page .entry-content h3,
.single .entry-content h3{
  position: relative;
  background: transparent !important;
  border: none !important;
  box-shadow: none !important;
  padding: 0 0 0 14px !important; /* 左線分の余白 */
  margin: 2em 0 1em !important;
}

/* 水色の縦線：見出しの高さフル */
.page .entry-content h3::before,
.single .entry-content h3::before{
  content: "";
  position: absolute;
  left: 0;
  top: -10%;            /* 上から */
  height: 140%;      /* 見出しの高さ全部 */
  width: 3px;        /* 細線 */
  background: #6ec1e4;
  border-radius: 1px;
}
