@charset "UTF-8";
/* ==========================================================================
   琴のほそ道 リニューアル CSS（第1フェーズ / トップページ中心）
   - パレット: ピンクを活かして洗練（撫子ローズ × 和紙クリーム × 墨）
   - 共通パーツ（ヘッダー/ナビ/フッター/見出し/リンク/ボタン）は全ページ共通で色スワップ
   - レイアウト改変はトップ（.page-id-11）にスコープ
   - AFFINGER cache CSS の後に読み込まれる前提。必要箇所のみ !important で上書き
   ========================================================================== */

:root {
  --brand:       #d9628a; /* 撫子ローズ（ブランド主） */
  --brand-deep:  #c24e77; /* 濃（グラデ下・hover） */
  --brand-light: #e98cae; /* 明（グラデ上） */
  --brand-soft:  #f6d3de; /* 桜（淡） */
  --brand-pale:  #fdf3f7; /* 極淡ピンク背景 */
  --washi:       #fbf7f2; /* 和紙クリーム地色 */
  --ink:         #3b3335; /* 墨（温かい炭色） */
  --ink-soft:    #6a5f61; /* 補助テキスト */
  --gold:        #c8a15a; /* 和の金（差し色・区切り線） */
  --brand-grad:  linear-gradient(135deg, var(--brand-light) 0%, var(--brand) 55%, var(--brand-deep) 100%);
}

/* ==========================================================================
   1. 共通パーツの色スワップ（全ページ）
   ========================================================================== */

/* ヘッダー背景（#ff8be2 グラデ → 撫子ローズグラデ） */
#headbox-bg.st-header-fixed,
#headbox-bg {
  background-image: var(--brand-grad) !important;
}

/* グローバルナビ帯 */
#st-menuwide {
  background-image: var(--brand-grad) !important;
  border-bottom-color: rgba(255, 255, 255, .35) !important;
}
/* ナビのホバー（背景を白の薄膜で上品に） */
#st-menuwide .menu li a:hover,
#st-menuwide .menu li.current-menu-item a {
  background-color: rgba(255, 255, 255, .16) !important;
}

/* フッター背景 */
#footer-wrapper {
  background-image: var(--brand-grad) !important;
}

/* サイト上部ボーダー・アクセント系のピンクをローズへ寄せる */
#wrapper-in > .st-header-fixed { border-color: var(--brand) !important; }

/* ==========================================================================
   2. 見出し（本文 h2 / h3）— 全ページ共通のトーン
   ========================================================================== */

/* AFFINGER デフォルト h3 の「ベタ塗りピンクバー」→ 左アクセントの上品な帯へ */
body:not(.home) .entry-content h3:not(.kc-lp *):not([class^="is-style-st-heading-custom-"]):not([class*=" is-style-st-heading-custom-"]) {
  background: var(--brand-pale) !important;
  color: var(--ink) !important;
  border-left: 5px solid var(--brand) !important;
  border-bottom: 1px solid var(--brand-soft) !important;
  border-radius: 4px !important;
  padding: .55em .9em !important;
  font-weight: 700;
  letter-spacing: .02em;
}

/* デフォルト h2 の文字色（鮮やかピンク）→ 墨に寄せ、下線を金に */
body:not(.home) .entry-content h2:not(.kc-lp *):not([class^="is-style-st-heading-custom-"]):not([class*=" is-style-st-heading-custom-"]) {
  color: var(--ink) !important;
}

/* リンク色 */
.entry-content a:not(.kc-lp *):not(.st-btn):not(.wp-block-button__link) {
  color: var(--brand-deep);
  text-underline-offset: .18em;
}

/* ==========================================================================
   3. トップページ限定レイアウト（.page-id-11 / .home）
   ========================================================================== */

.page-id-11 #main,
.home #main {
  background: var(--washi);
}
.page-id-11 .entry-content,
.home .entry-content {
  color: var(--ink);
  font-feature-settings: "palt";
  line-height: 1.9;
}
.page-id-11 .entry-content p,
.home .entry-content p {
  letter-spacing: .015em;
}

/* --- 3-1. ヒーロー画像：最大幅・角丸・繊細な枠・余白 --- */
.page-id-11 .entry-content > .wp-block-image:first-of-type {
  max-width: 1040px;
  margin: 0 auto 2.6em;
}
.page-id-11 .entry-content > .wp-block-image:first-of-type img {
  width: 100%;
  border-radius: 14px;
  box-shadow: 0 14px 40px -18px rgba(59, 51, 53, .35);
  border: 1px solid var(--brand-soft);
}

/* --- 3-2. お悩みセクション見出し（h3 カード）にトップ専用の余白リズム --- */
.page-id-11 .entry-content h3 {
  margin-top: 1.8em;
}

/* --- 3-3. 中央寄せ h2（「その"弾きたい"…諦めないでください。」等）＝ CTAバンド --- */
.page-id-11 .entry-content h2.has-text-align-center {
  background: var(--brand-grad) !important;
  color: #fff !important;
  border: none !important;
  border-radius: 12px;
  padding: .9em 1em !important;
  margin: 1.8em auto;
  box-shadow: 0 10px 30px -14px rgba(194, 78, 119, .6);
  text-shadow: 0 1px 2px rgba(0, 0, 0, .12);
}
.page-id-11 .entry-content h2.has-text-align-center::after { display: none !important; }

/* --- 3-4. 金の区切り線（hr）--- */
.page-id-11 .entry-content hr,
.page-id-11 .entry-content .wp-block-separator {
  border: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--gold) 20%, var(--gold) 80%, transparent);
  opacity: 1;
  margin: 2.4em auto;
  max-width: 680px;
}

/* --- 3-5. リード文（冒頭の問いかけ）を一段格上げ --- */
.page-id-11 .entry-content > p.has-text-align-center:first-of-type {
  font-size: 1.05em;
  color: var(--ink-soft);
}

/* ==========================================================================
   4. ボタン（将来の販売CTA用の共通スタイル）
   ========================================================================== */
.page-id-11 .wp-block-button__link,
.page-id-11 .st-btn-c {
  background: var(--brand-grad) !important;
  border: none !important;
  border-radius: 999px !important;
  padding: .85em 2.2em !important;
  font-weight: 700;
  box-shadow: 0 10px 24px -12px rgba(194, 78, 119, .7);
  transition: transform .15s ease, box-shadow .15s ease;
}
.page-id-11 .wp-block-button__link:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 30px -12px rgba(194, 78, 119, .8);
}

/* ==========================================================================
   5. レスポンシブ
   ========================================================================== */
@media only screen and (max-width: 959px) {
  .page-id-11 .entry-content > .wp-block-image:first-of-type img { border-radius: 10px; }
  .page-id-11 .entry-content h2.has-text-align-center { font-size: 1.15em; padding: .8em .8em !important; }
}
@media only screen and (max-width: 599px) {
  .page-id-11 .entry-content { line-height: 1.85; }
  .page-id-11 .entry-content > .wp-block-image:first-of-type { margin-bottom: 1.8em; }
  .page-id-11 .entry-content h2.has-text-align-center { border-radius: 9px; }
}

/* フッター：コピーライト直下の著作権注意書き */
.kf-copy-note { margin: 6px 0 0; text-align: center; line-height: 1.7; }
#footer .kf-copy-note, #footer .kf-copy-note small { color: #fff; }
.kf-copy-note small { font-size: 11px; opacity: .9; }
.kf-copy-note { margin-top: 8px; line-height: 1.6; }
@media only screen and (max-width: 599px) {
  .kf-copy-note { padding: 0 16px; text-align: left; }
}
