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

/************************************
** 子テーマ用のスタイルを書く
************************************/
/* ============================================================
   GG-REFINE｜Cocoon Child カスタムCSS 管理版 v1.1
   更新日：2026-11-15

   【重要】
   ・新着記事セクションのみ重複指定を統合し、直近の表示を維持する設定に更新しました。
   ・同じセレクタの追記は、後方の指定が有効になる場合があります。
   ・その他のCSSルールと適用順序は原則維持しています。
   ・反映後はPC・スマホの表示を確認してください。

   【検索用の目次／原文の並び順】
   01 カテゴリーカード（基本）
   02 トップページ見出し・カテゴリーカード矢印
   03 トップページ特集カード（基本）
   04 総合ページの記事一覧・特集パネル補足
   05 トップページ新着記事
   06 フッター
   07 ヘッダー・ナビゲーション
   08 トップページ追加調整
   09 固定ページ共通
   10 固定ページ案内カード
   11 お問い合わせフォーム
   12 メインビジュアル PC/スマホ切り替え
   13 スマホ版メインビジュアル・余白
   14 スマホ版カテゴリーカード・固定ページ余白
   15 トップページ共通・PC版ヒーロー・ロゴ
   16 投稿/固定ページタイトル・追従サイドバー
   17 特集記事カード・特集カラム追記
   18 横スクロール比較表
   19 レンの悩み吹き出し v1.3
   20 この記事でわかること v1.1
   21 まとめ見出し・レンひょっこり v1.1

   【運用メモ】
   ・新しいCSSを追加する際は、関連するセクションを検索してください。
   ・既存ルールの修正では、原則として末尾に上書きCSSを追加せず
     対象セクションの宣言を直接更新してください。
   ・テーマの先頭にある Theme Name / Template 等は削除しないでください。
   ============================================================ */

/* ========================================
   01｜カテゴリーカード
======================================== */
/* GG-REFINE カテゴリーカードの見出し */
.gg-category-card h3 {
  border: none;
  background: transparent;
  margin: 0 0 12px;
  padding: 0;
  color: #1677D2;
}

/* カテゴリーカード内の余白調整 */
.gg-category-card {
    padding: 24px 12px;
    border-radius: 10px;
}

.gg-category-card p {
    margin: 0;
}

/* カテゴリーカード全体をクリック可能にする */
.gg-category-card {
    position: relative;
}

.gg-category-card h3 a::after {
    content: "";
    position: absolute;
    inset: 0;
}

.gg-category-card:hover {
    background-color: #F3F8FF;
    cursor: pointer;
}

/* カテゴリーカードのリンク装飾 */
.gg-category-card h3 a,
.gg-category-card h3 a:hover {
    color: #1677D2;
    text-decoration: none;
}

/* トップページのカテゴリー一覧を横に広げる */
@media screen and (min-width: 1024px) {
    body.home.page .gg-category-grid {
        width: min(1350px, calc(100vw - 64px));
        max-width: none;
        margin-left: 50%;
        transform: translateX(-50%);
    }
}

/* ========================================
   02｜トップページの見出し
======================================== */
/* GG-REFINE トップページのセクション見出し */
body.home.page h2.gg-section-heading {
    background: transparent;
    color: #17365D;
    border: none;
    border-left: 5px solid #1677D2;
    border-radius: 0;
    padding: 8px 0 8px 18px;
    font-size: 26px;
    font-weight: 700;
    line-height: 1.4;
}

/* トップページの見出しをカテゴリー一覧と同じ幅にする */
@media screen and (min-width: 1024px) {
    body.home.page h2.gg-section-heading {
        width: min(1350px, calc(100vw - 64px));
        max-width: none;
        box-sizing: border-box;
        margin-left: 50%;
        transform: translateX(-50%);
    }
}

/* カテゴリーカード右端の矢印 */
.gg-category-card:has(.gg-category-icon)::after {
    content: "›";
    position: absolute;
    right: 16px;
    top: 50%;
    transform: translateY(-50%);
    color: #17365D;
    font-size: 24px;
    line-height: 1;
    pointer-events: none;
}

/* 矢印と文章が重ならないようにする */
.gg-category-card:has(.gg-category-icon) {
    padding-right: 36px;
}

/* カテゴリーカード：アイコンの左右の余白 */
.gg-category-card .gg-category-icon {
    margin-left: 12px;
    margin-right: 16px;
}

/* ========================================
   03｜トップページの特集カード
======================================== */
/* GG-REFINE トップページ：特集カード */

/* 左右共通 */
.home .gg-feature-setup,
.home .gg-feature-research {
  padding: 28px;
  border-radius: 12px;
  box-sizing: border-box;
  height: 100%;
}

/* 左：ゲーム環境を整える */
.home .gg-feature-setup {
  background-color: #EDF5FF;
}

/* 右：気になる疑問を調べてみた */
.home .gg-feature-research {
  background-color: #EAF8F7;
}

/* GG-REFINE 特集エリア：見出しデザイン */
.home .gg-feature-setup h2,
.home .gg-feature-research h2 {
  background: transparent;
  color: #17365D;
  border: none;
  padding: 0;
  margin: 0 0 16px;
  font-size: 24px;
  line-height: 1.4;
}

/* 説明文 */
.home .gg-feature-setup p,
.home .gg-feature-research p {
  color: #17365D;
  margin: 0;
  line-height: 1.8;
}

/* GG-REFINE トップページ：特集ページへのリンク */
.home .gg-feature-link {
  margin-top: 24px !important;
  margin-bottom: 0 !important;
}

.home .gg-feature-link a {
  display: block;
  padding: 14px 18px;
  background-color: #FFFFFF;
  border: 1px solid #C9DFF4;
  border-radius: 8px;
  color: #1677D2;
  font-size: 15px;
  font-weight: 600;
  text-align: center;
  text-decoration: none;
  transition: background-color 0.2s ease;
}

.home .gg-feature-link a:hover {
  background-color: #F3F8FF;
  color: #125FA8;
  text-decoration: none;
}


/* ========================================
   04｜総合ページの記事一覧
======================================== */

/* 記事一覧：PCは3列表示 */
.gg-hub-article-grid .wp-block-post-template {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
  padding: 0;
  margin: 0;
  list-style: none;
}

.gg-hub-article-grid .wp-block-post {
  min-width: 0;
  margin: 0;
}

/* 記事一覧と「記事一覧を見る」の間隔 */
body.page .gg-hub-article-grid {
  margin-bottom: 20px !important;
}

/* アイキャッチ画像 */
body.page .gg-hub-article-grid .wp-block-post-featured-image {
  margin: 0 0 6px !important;
  padding: 0 !important;
}

body.page .gg-hub-article-grid .wp-block-post-featured-image img {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  border-radius: 8px;
}

/* 記事タイトル：新着記事と統一 */
body.page .gg-hub-article-grid .wp-block-post-title {
  background: transparent !important;
  border: none !important;
  border-left: 3px solid #1677D2 !important;
  box-shadow: none !important;
  padding: 0 0 0 10px !important;
  margin: 0 !important;
  font-size: 17px !important;
  font-weight: 700;
  line-height: 1.5;
}

/* タイトルの文字色 */
body.page .gg-hub-article-grid .wp-block-post-title,
body.page .gg-hub-article-grid .wp-block-post-title a {
  color: #17365D !important;
  text-decoration: none;
}

/* スマホ版：1列表示 */
@media screen and (max-width: 767px) {
  .gg-hub-article-grid .wp-block-post-template {
    grid-template-columns: 1fr;
    gap: 24px;
  }
}

/* GG-REFINE：特集パネルの高さを統一 */
.home .wp-block-columns:has(> .gg-feature-setup) {
  align-items: stretch;
}

.home .gg-feature-setup,
.home .gg-feature-research {
  display: flex;
  flex-direction: column;
  height: auto;
}

.home .gg-feature-link {
  margin-top: auto !important;
  padding-top: 24px;
}
/* GG-REFINE：特集エリアをカテゴリー一覧と同じ横幅にする */
@media screen and (min-width: 1024px) {
  body.home.page .gg-feature-columns {
    width: min(1350px, calc(100vw - 64px));
    max-width: none;
    margin-left: 50%;
    transform: translateX(-50%);
  }
}
/* ========================================
   05｜トップページの新着記事（正式版 v1.1）
   青線3px／タイトル17px／画像下6px
======================================== */
/* 記事タイトル：Cocoonの見出し装飾を上書き */
body.home .gg-refine-latest-posts h2.wp-block-post-title,
body.home .gg-refine-latest-posts h3.wp-block-post-title,
body.home .gg-refine-latest-posts .wp-block-post-title {
  background: transparent !important;
  border: none !important;
  border-left: 3px solid #1677D2 !important;
  box-shadow: none !important;
  padding: 0 0 0 10px !important;
  margin: 0 !important;
  font-size: 17px !important;
  font-weight: 700;
  line-height: 1.5;
}

/* 記事タイトルのリンク色 */
.home .gg-refine-latest-posts .wp-block-post-title,
.home .gg-refine-latest-posts .wp-block-post-title a {
  color: #17365D !important;
}

/* 新着記事を3列表示（タブレット・PC） */
@media screen and (min-width: 768px) {
  .home .gg-refine-latest-posts .wp-block-post-template {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 24px;
  }
}

/* アイキャッチ画像：タイトルとの間隔6px */
body.home .gg-refine-latest-posts .wp-block-post-featured-image {
  margin: 0 0 6px !important;
  padding: 0 !important;
}

body.home .gg-refine-latest-posts .wp-block-post-featured-image img {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  border-radius: 8px;
}

/* 新着記事一覧の横幅を統一（PC） */
@media screen and (min-width: 1024px) {
  body.home.page .gg-refine-latest-posts {
    width: min(1350px, calc(100vw - 64px));
    max-width: none;
    margin-left: 50%;
    transform: translateX(-50%);
  }
}

/* ========================================
   06｜フッター
======================================== */
/* GG-REFINE：フッターの中央揃え */
#footer .footer-bottom.fdt-logo {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  text-align: center;
}

/* ロゴの配置 */
#footer .footer-bottom-logo {
  position: static;
  width: 100%;
  text-align: center;
}

/* メニュー・コピーライトの配置 */
#footer .footer-bottom-content {
  position: static;
  width: 100%;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}

#footer .footer-bottom-content .navi-footer-in > ul {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  width: 100%;
  padding: 0;
  margin: 0;
}

/* GG-REFINE：フッター背景を画面幅いっぱいにする */
#footer {
  position: relative;
  z-index: 0;
  background: transparent;
}

#footer::before {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  left: 50%;
  width: 100vw;
  transform: translateX(-50%);
  background-color: #1976D2;
  z-index: -1;
}
/* ========================================
   07｜ヘッダー・ナビゲーション
======================================== */
/* GG-REFINE：ヘッダーメニューの文字サイズ */
#navi .navi-in > ul > li > a {
  font-size: 16px;
  font-weight: 500;
  transition: background-color 0.2s ease, color 0.2s ease;
}

#navi .navi-in > ul > li > a:hover {
  background-color: #EDF5FF;
  color: #1677D2;
}

/* GG-REFINE：PC版ヘッダーメニューの右寄せ・可変位置調整 */
@media screen and (min-width: 1024px) {
  #navi .navi-in > ul {
    display: flex;
    justify-content: flex-end;
    transform: translateX(
      clamp(0px, calc((100vw - 1600px) * 0.234375), 75px)
    );
  }
}
/* GG-REFINE：PC版ヘッダーの全幅ブルーライン */
@media screen and (min-width: 1024px) {
  body #header-container-in {
    position: relative;
  }

  body #header-container-in::after {
    content: "";
    position: absolute;
    left: 50%;
    bottom: -12px;
    width: 100vw;
    height: 2px;
    background-color: #1677D2;
    transform: translateX(-50%);
    pointer-events: none;
  }
}
/* GG-REFINE：PC版ヘッダーの上下余白 */
@media screen and (min-width: 1024px) {
  #header-container-in {
    padding-top: 12px;
    padding-bottom: 12px;
    box-sizing: border-box;
  }
}
/* ========================================
   08｜トップページの追加調整
======================================== */
/* GG-REFINE：カテゴリー見出しとカードの間隔を縮める */
body.home.page h2.gg-section-heading:has(+ .gg-category-grid) {
  margin-bottom: 12px !important;
}
/* カテゴリーカード内の文字グループの下余白をなくす */
.home .gg-category-card .is-nowrap > .wp-block-group {
  margin-bottom: 0 !important;
}
/* GG-REFINE：カテゴリーカードの段と段の余白を縮小 */
@media screen and (min-width: 1024px) {
  body.home.page .gg-category-grid {
    margin-bottom: 12px !important;
  }
}
/* GG-REFINE：ヒーロー内のCocoonボタン */
.home .gg-hero .wp-block-cocoon-blocks-button-1 a {
  display: inline-block;
  background-color: #1677D2 !important;
  color: #FFFFFF !important;
  border: 1px solid #1677D2 !important;
  border-radius: 6px;
  padding: 12px 24px;
  font-size: 15px;
  font-weight: 600;
  text-decoration: none;
  transition: background-color 0.2s ease;
}

/* マウスを乗せたとき */
.home .gg-hero .wp-block-cocoon-blocks-button-1 a:hover {
  background-color: #125FA8 !important;
  color: #FFFFFF !important;
  border-color: #125FA8 !important;
  text-decoration: none;
}

/* ========================================
   09｜固定ページ共通
======================================== */
/* GG-REFINE 固定ページ共通：H2見出し */
body.page .entry-content h2:not(.gg-section-heading) {
  background: transparent;
  color: #17365D;
  border-left: 5px solid #1677D2;
  border-top: none;
  border-right: none;
  border-bottom: none;
  padding: 12px 0 12px 18px;
  margin: 32px 0 22px;
  font-size: 24px;
  font-weight: 700;
  line-height: 1.5;
  box-shadow: none;
}

/* GG-REFINE 固定ページの日付を非表示 */
body.page .date-tags,
body.page .post-date,
body.page .post-update {
  display: none;
}

/* ========================================
   10｜固定ページの案内カード
======================================== */
/* GG-REFINEについて：記事案内カード */
body.page .gg-feature-columns {
  gap: 20px;
  margin-top: 24px;
  margin-bottom: 32px;
}

/* 左右カード共通 */
body.page .gg-feature-columns .gg-feature-setup,
body.page .gg-feature-columns .gg-feature-research {
  padding: 24px;
  border-radius: 12px;
  height: 100%;
  box-sizing: border-box;
}

/* 左カード */
body.page .gg-feature-columns .gg-feature-setup {
  background: #EDF5FF;
}

/* 右カード */
body.page .gg-feature-columns .gg-feature-research {
  background: #EAF8F7;
}

/* カード内の見出し */
body.page .gg-feature-columns h2 {
  background: transparent;
  border: none;
  padding: 0;
  margin: 0 0 14px;
  color: #17365D;
  font-size: 20px;
  line-height: 1.5;
}

/* GG-REFINE：トップページ特集見出し */
body.home.page .entry-content .gg-feature-columns h2 {
  border: none;
  border-left: 5px solid #1677D2;
  padding: 0 0 0 12px;
  margin: 0 0 14px;
  background: transparent;
  box-shadow: none;
  color: #17365D;
  font-size: 26px;
  line-height: 1.4;
}

/* 固定ページ：記事案内カードのリンク */
body.page .gg-feature-columns a.gg-feature-link,
body.page .gg-feature-columns .gg-feature-link a {
  display: block;
  background: #FFFFFF;
  color: #1677D2;
  text-decoration: none;
  text-align: center;
  font-weight: 700;
  padding: 12px 16px;
  border-radius: 8px;
  transition: background-color 0.2s ease;
}

body.page .gg-feature-columns a.gg-feature-link:hover,
body.page .gg-feature-columns .gg-feature-link a:hover {
  background: #F5F9FF;
}

/* ========================================
   11｜お問い合わせフォーム
======================================== */
/* GG-REFINE お問い合わせフォーム送信ボタン */
.wpcf7 input[type="submit"] {
  background-color: #1976d2;
  color: #ffffff;
  border: none;
  border-radius: 6px;
  padding: 14px 24px;
  font-size: 16px;
  font-weight: 700;
  cursor: pointer;
  transition: background-color 0.2s ease;
}

.wpcf7 input[type="submit"]:hover {
  background-color: #125aa0;
}

/* ========================================
   12｜GG-REFINE メインビジュアル表示切り替え
======================================== */

/* PC版：スマホ用を非表示 */
@media screen and (min-width: 768px) {
  body.home .gg-hero-mobile-wrap {
    display: none;
  }
}

/* スマホ版：PC用を非表示 */
@media screen and (max-width: 767px) {
  body.home .gg-hero {
    display: none;
  }
}

/* ========================================
   13｜GG-REFINE スマホ版メインビジュアル調整
======================================== */
@media screen and (max-width: 767px) {

  /* スマホ用エリア全体 */
  body.home .gg-hero-mobile-wrap {
    margin-top: 0;
    margin-bottom: 32px;
  }

  /* メイン画像 */
  body.home .gg-hero-mobile-wrap > .wp-block-image {
    margin: 0 0 20px;
  }

  /* キャッチコピー */
  body.home .gg-hero-mobile-wrap > p:first-of-type {
    font-size: 24px !important;
    line-height: 1.4;
    margin: 0 0 16px;
  }

  /* 説明文 */
  body.home .gg-hero-mobile-wrap > p:nth-of-type(2) {
    font-size: 15px;
    line-height: 1.8;
    margin: 0 0 20px;
  }

}

/* ========================================
   13B｜GG-REFINE スマホ版：本文上部の余白調整
======================================== */
@media screen and (max-width: 767px) {

  body.home #main {
    padding-top: 0px;
  }

}
/* ========================================
   14｜GG-REFINE スマホ版：カテゴリカード調整
======================================== */
@media screen and (max-width: 767px) {

  /* カード内の左右余白を少し縮める */
  body.home .gg-category-card {
    padding-left: 8px;
    padding-right: 28px;
  }

  /* アイコン周囲の余白を縮める */
  body.home .gg-category-card .gg-category-icon {
    margin-left: 4px;
    margin-right: 8px;
  }

}
/* カテゴリカードの説明文 */
body.home .gg-category-card p {
  font-size: 14px;
}
/* ========================================
   14B｜GG-REFINE スマホ版：固定ページ上部の余白調整
   ※ホームページは対象外
======================================== */
@media screen and (max-width: 767px) {

  body.page:not(.home) #main {
    padding-top: 0 !important;
  }

}

/* ========================================
   15｜GG-REFINE トップページ共通設定
======================================== */

/* トップページのタイトルを非表示 */
.home.page .entry-title {
    display: none;
}

/* トップページの日付を非表示 */
.home.page .date-tags {
    display: none;
}

/* メインビジュアルを画面幅いっぱいに表示 */
.home.page .gg-hero {
    width: 100vw;
    max-width: 100vw;
    margin-left: calc(50% - 50vw);
    margin-right: calc(50% - 50vw);
}

/* メインビジュアルの文字の行間 */
.home.page .gg-hero p {
    line-height: 1.2;
}

/* メインビジュアル上部の余白調整 */
.home.page .gg-hero {
    margin-top: -60px;
}

/* メインビジュアルの説明文 */
.gg-hero-description {
    font-size: 17px;
    line-height: 1.7;
}


/* ========================================
   15B｜GG-REFINE PC版設定
======================================== */

/* PC版メインビジュアルの文字位置 */
@media screen and (min-width: 768px) {
    .home.page .gg-hero .wp-block-cover__inner-container {
        padding-left: max(80px, calc((100vw - 1650px) / 2));
        box-sizing: border-box;
    }
}

/* PC版メインビジュアルのキャッチコピー */
@media screen and (min-width: 768px) {
    .home.page .gg-hero .gg-hero-title {
        font-size: 50px !important;
        line-height: 1.25;
        margin-bottom: 30px;
    }
}

/* PC版ヘッダーロゴの位置調整（画面幅に応じて可変） */
@media screen and (min-width: 1024px) {
    .header-container .logo {
        transform: translateX(
            clamp(-200px, calc((1600px - 100vw) * 0.5), 0px)
        );
    }
}
.gg-category-card {
    background-color: white;
    border: 1px solid #DCE7F3;
}
/* ===== 16｜投稿・固定ページのタイトル ===== */
/* GG-REFINE 投稿・固定ページのタイトル */
@media screen and (min-width: 768px) {
    body:not(.home) .entry-title {
        font-size: 32px;
        line-height: 1.4;
    }
}
/* GG-REFINE スマホ版の記事・固定ページタイトル */
@media screen and (max-width: 767px) {
    body:not(.home) .entry-title {
        font-size: 24px;
        line-height: 1.4;
    }
}
/* スマホ版：記事タイトル上部の余白調整 */
@media screen and (max-width: 767px) {
    body.single-post .article-header,
    body.page:not(.home) .article-header {
        padding-top: 0;
        margin-top: -15px;
    }
}
/* スマホ版：記事・固定ページタイトルの左右余白 */
@media screen and (max-width: 767px) {
    body.single-post .entry-title,
    body.page:not(.home) .entry-title {
        padding-left: 8px;
        padding-right: 8px;
    }
}
/* PC版：追従サイドバーの上端に余白を設ける */
@media screen and (min-width: 1024px) {
  .sidebar-scroll {
    top: 50px !important;
  }
}
/* ===== 17｜特集記事カード・特集カラム追記 ===== */
/* GG-REFINE：特集記事の画像とタイトルを一体化 */
.home .gg-featured-article {
  background-color: #FFFFFF;
  border: 1px solid #DCE7F3;
  border-radius: 8px;
  overflow: hidden;
}

/* 画像の下余白をなくす */
.home .gg-featured-article .wp-block-image {
  margin: 0 !important;
}

/* 画像をカード幅いっぱいに表示 */
.home .gg-featured-article .wp-block-image img {
  display: block;
  width: 100%;
  height: auto;
}

/* 記事タイトル */
.home .gg-featured-article p {
  margin: 0 !important;
  padding: 14px 16px;
  font-size: 18px;
  font-weight: 700;
  line-height: 1.6;
}

/* 記事タイトルのリンク */
.home .gg-featured-article p a {
  color: #17365D;
  text-decoration: none;
}

/* マウスを乗せたとき */
.home .gg-featured-article p a:hover {
  color: #1677D2;
}
/* GG-REFINE：左右の特集カラムの高さを統一 */
@media screen and (min-width: 1024px) {
  .home .gg-feature-setup,
  .home .gg-feature-research {
    min-height: 680px;
    box-sizing: border-box;
  }
}
/* GG-REFINE：特集枠内のボタン位置を下揃え */
@media screen and (min-width: 1024px) {

  .home .gg-feature-setup,
  .home .gg-feature-research {
    display: flex;
    flex-direction: column;
  }

  /* 最後のグループ（記事一覧ボタン）を下に配置 */
  .home .gg-feature-setup > .wp-block-group:last-child,
  .home .gg-feature-research > .wp-block-group:last-child {
    margin-top: auto !important;
  }

}
/* ===== 18｜スマホ用の横スクロール比較表 ===== */
/* GG-REFINE：スマホ用の横スクロール比較表 */
@media screen and (max-width: 767px) {
  .entry-content .gg-scroll-table {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
  }

  .entry-content .gg-scroll-table table {
    min-width: 680px;
    width: 100%;
  }

  .entry-content .gg-scroll-table th,
  .entry-content .gg-scroll-table td {
    word-break: normal;
    overflow-wrap: normal;
  }
}

/* ==========================================
   19｜GG-REFINE｜導入・レンの悩み吹き出し v1.3
   ========================================== */

.ren-thought-bubble {
  position: relative;
  background-color: #edf5ff;
  border: 1px solid #b8d7f4;
  border-radius: 12px;
  padding: 16px 20px;
}

/* 吹き出しのしっぽ：外側 */
.ren-thought-bubble::before {
  content: "";
  position: absolute;
  bottom: -21px;
  left: 85px;
  width: 0;
  height: 0;
  border-style: solid;
  border-width: 21px 22px 0 0;
  border-color: #b8d7f4 transparent transparent transparent;
}

/* 吹き出しのしっぽ：内側 */
.ren-thought-bubble::after {
  content: "";
  position: absolute;
  bottom: -18px;
  left: 86px;
  width: 0;
  height: 0;
  border-style: solid;
  border-width: 18px 19px 0 0;
  border-color: #edf5ff transparent transparent transparent;
}

/* ===== レンの悩み吹き出し END ===== */
/* ==========================================
   20｜GG-REFINE｜この記事でわかること v1.1
   ========================================== */

/* ボックス全体 */
.gg-article-points {
  background-color: #edf5ff;
  border: 1px solid #b8d7f4;
  border-radius: 12px;
  padding: 16px 20px;
}

/* 見出し */
.gg-article-points > p:first-child {
  margin: 0 0 12px !important;
  color: #174f89;
  font-weight: 700;
}

/* リスト全体 */
.gg-article-points ul {
  margin: 0 !important;
  padding-left: 0;
  list-style: none;
}

/* リスト項目 */
.gg-article-points li {
  position: relative;
  margin: 0 0 8px;
  padding-left: 24px;
}

/* 最後のリスト項目 */
.gg-article-points li:last-child {
  margin-bottom: 0;
}

/* 青いチェックマーク */
.gg-article-points li::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: 0;
  color: #1976d2;
  font-weight: 700;
}

/* ===== GG-REFINE｜この記事でわかること END ===== */
/* ==========================================
   21｜GG-REFINE｜まとめ見出し・レンひょっこり v1.1
   ========================================== */

/* レンとH2をまとめる親グループ */
.gg-summary-ren {
  position: relative;
  padding-top: 0;
}

/* レンの画像ブロック：右寄せ */
.gg-summary-ren > .wp-block-image {
  position: relative;
  z-index: 2;
  width: 150px;
  margin: 0 16px -8px auto !important;
}

/* レンの画像サイズ */
.gg-summary-ren > .wp-block-image img {
  display: block;
  width: 100%;
  height: auto;
}

/* H2見出し */
.gg-summary-ren > h2 {
  position: relative;
  z-index: 1;
  margin-top: 0 !important;
}

/* スマートフォン表示 */
@media screen and (max-width: 767px) {

  /* レンを少し小さくして右寄せ */
  .gg-summary-ren > .wp-block-image {
    width: 110px;
    margin-right: 8px !important;
  }

}

/* ===== GG-REFINE｜まとめ見出し・レンひょっこり END ===== */
/* ========== GG-REFINE｜カスタムCSS END ========== */
