@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){
  /*必要ならばここにコードを書く*/
}


/* ===== ハブごとのヒーロー背景 ===== */
body.home .gr-hero{background-image:url(/wp-content/uploads/2026/11/hero-home.webp) !important}
.gr-lp--kekkon .gr-hero{background-image:url(/wp-content/uploads/2026/11/hero-kekkon.webp) !important}
.gr-lp--shussan .gr-hero{background-image:url(/wp-content/uploads/2026/11/hero-shussan.webp) !important}
.gr-lp--nyugaku .gr-hero{background-image:url(/wp-content/uploads/2026/11/hero-nyugaku.webp) !important}
.gr-lp--birthday .gr-hero{background-image:url(/wp-content/uploads/2026/11/hero-birthday-1.webp) !important}
.gr-lp--xmas .gr-hero{background-image:url(/wp-content/uploads/2026/11/hero-christmas-1.webp) !important}

/* TOPのヒーローは文字が画像に直接乗るため、白いベールを敷く */
body.home .gr-hero{position:relative;isolation:isolate}
body.home .gr-hero::before{content:"";position:absolute;inset:0;border-radius:inherit;pointer-events:none;z-index:0;background:radial-gradient(ellipse at 50% 50%,rgba(255,255,255,.93) 0%,rgba(255,255,255,.86) 38%,rgba(255,255,255,.55) 72%,rgba(255,255,255,.3) 100%)}
body.home .gr-hero>*{position:relative;z-index:1}

/* 本文の可読性：gr-lp-style の .gr-sec > p:not([class]) が本文全体に当たっていたのを戻す */
.gr-sec > p:not([class]){
  font-size:17px !important;
  line-height:1.9 !important;
  color:#333 !important;
  background:none !important;
  border-radius:0 !important;
  padding:0 !important;
  text-align:left !important;
  margin-top:0 !important;
  margin-bottom:1.5em !important;
}
.gr-sec > ul:not([class]) li,
.gr-sec > ol:not([class]) li,
.gr-sec > ul:not([class]),
.gr-sec > ol:not([class]){
  font-size:17px;
  line-height:1.9;
  color:#333;
}
.gr-sec h3{font-size:19px;line-height:1.6;margin-top:1.6em}
@media screen and (min-width:835px){
  .gr-sec > p:not([class]){font-size:18px !important}
  .gr-sec > ul:not([class]) li,.gr-sec > ol:not([class]) li{font-size:18px}
  .gr-sec h3{font-size:21px}
}


/* セクション見出しと「もっと見る」が競って折り返すのを防ぐ */
.gr-section-head{gap:12px}
.gr-section-head h2{flex:1 1 auto;min-width:0}
.gr-section-head a{flex:0 0 auto;white-space:nowrap}

/* 目次はチップ型（gr-anchor）に一本化し、Cocoonの自動目次は止める */
.toc{display:none !important}

