/**
 * Theme Name: Blocksy Child
 * Description: Blocksy Child theme
 * Author: Creative Themes
 * Template: blocksy
 * Text Domain: blocksy
 */

/* ==========================================
   ブランド表記 'sonohito' だけ Outfit
========================================== */
.brand {
  font-family: "Outfit", sans-serif;
  font-weight: 500;
  letter-spacing: 0.02em;
  font-kerning: normal;
  font-feature-settings: "liga" 1;
}

/* iOS の 1px ギャップ隠し：フッター色に合わせる */
@supports (-webkit-touch-callout: none) {
  html {
    background-color: #28292b;
  } /* ←フッターの実色に合わせて変更 */
}

/* ==================================================
   記事ページのヒーロー領域：中身のみ残してフラット化
================================================== */
.single-post .hero-section,
body.page:not(.page-id-1622) .hero-section {
  background: none !important;
  height: auto !important;
  min-height: 0 !important;
  padding: 0 !important;
}

/* ==================================================
   Heroセクション（JS連動の高さ制御：最終安定版）
================================================== */
.home .hero-section {
  position: relative;
  width: 100%;
  overflow: hidden;
  opacity: 0;
  transition: opacity 0.8s ease-out;
}

.home .hero-section.is-visible {
  opacity: 1;
}

@media (min-width: 768px) and (max-width: 1024px) and (orientation: portrait) {
  .home .hero-section {
    height: 100svh !important;
    max-height: 100svh !important;
  }
}

/* ==================================================
   4. 背景設定（PC / SP / iPad）
================================================== */
.home .hero-bg {
  position: absolute;
  inset: 0;
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center center;
  background-attachment: scroll; /* fixed は iOS でバグる */
  z-index: 0;
}

/* PC */
.home .hero-bg.pc {
  background-image: url("https://sonohito.com/wp-content/uploads/2025/11/cover-pc.jpg");
}

/* SP（デフォルトは非表示） */
.home .hero-bg.sp {
  display: none;
  background-image: url("https://sonohito.com/wp-content/uploads/2025/10/cover-sp.jpg");
  background-position: center bottom;
}

/* SP 切替 */
@media (max-width: 767px) {
  .home .hero-bg.pc {
    display: none;
  }
  .home .hero-bg.sp {
    display: block;
  }
}

/* タブレット縦 */
@media (min-width: 601px) and (max-width: 1024px) and (orientation: portrait) {
  .home .hero-bg.pc {
    display: none;
  }
  .home .hero-bg.sp {
    display: block;
    background-image: url("https://sonohito.com/wp-content/uploads/2025/10/cover-tab-v.jpg");
    background-position: center bottom;
  }
}

/* ==================================================
   オーバーレイ（明暗差を補正して文字を浮かせる）
================================================== */
.home .hero-section::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0; /* ← フェードとのバランス見ながら後で調整 */
  background: linear-gradient(
    to bottom,
    rgba(0, 0, 0, 0.12) 0%,
    rgba(0, 0, 0, 0.1) 40%,
    rgba(0, 0, 0, 0.18) 100%
  );
  z-index: 2;
  pointer-events: none;
}

/* ✅ Mobile / Tabletだけ ほんの少し強め */
@media (max-width: 1024px) {
  .home .hero-section::before {
    background: linear-gradient(
      to bottom,
      rgba(0, 0, 0, 0.18) 0%,
      rgba(0, 0, 0, 0.16) 40%,
      rgba(0, 0, 0, 0.26) 100%
    );
  }
}

/* hero-content・スクロールボタンを前面に */
.home .hero-content,
.home .scroll-down-circle {
  position: relative;
  z-index: 3;
}

/* ==================================================
   Heroコンテンツ：左20% & 縦中央でブロック配置
   （テキスト左揃え・全端末で共通、必要に応じて微調整）
================================================== */
.hero-content {
  position: absolute;
  top: 50%;
  left: 8vw;
  transform: translateY(-50%);
  color: #fff;
  width: 48rem;
  max-width: 90%;
  text-align: left;
  z-index: 3;
}

/* ==================================================
   6. フォント整形
================================================== */
.home .hero-highlight {
  font-family: "IBM Plex Sans JP", "Noto Sans JP", sans-serif;
  font-size: clamp(2.6rem, 5.5vw, 6rem);
  font-weight: 600;
  letter-spacing: 0.04em;
  line-height: 1.15;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
  margin-bottom: 1.2rem;
  margin-left: 0;
}

.home .hero-subcopy {
  font-family: "IBM Plex Sans JP", "Noto Sans JP", sans-serif;
  font-size: clamp(1.1rem, 2.3vw, 1.6rem);
  font-weight: 500;
  letter-spacing: 0.03em;
  line-height: 1.7;
  opacity: 0.9;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.15);
  margin-bottom: 1.8rem;
  margin-left: 0;
}

.home .hero-desc {
  font-family: "IBM Plex Sans JP", "Noto Sans JP", sans-serif;
  font-size: clamp(0.85rem, 1.4vw, 1rem);
  font-weight: 400;
  line-height: 1.8;
  letter-spacing: 0.02em;
  opacity: 0.85;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.15);
  margin-left: 0;
}

/* ✅ Tablet 最適化 */
@media (min-width: 768px) and (max-width: 1024px) {
  .home .hero-highlight {
    font-size: 4rem;
  }
  .home .hero-subcopy {
    font-size: 1.6rem;
  }
  .home .hero-desc {
    font-size: 1rem;
  }
}

/* ✅ Mobile 最適化 */
@media (max-width: 767px) {
  .home .hero-highlight {
    font-size: 3.4rem;
  }
  .home .hero-subcopy {
    font-size: 1.2rem;
  }
  .home .hero-desc {
    font-size: 0.86rem;
  }
}

.sp-br {
  display: none;
}

@media (max-width: 767px) {
  .sp-br {
    display: inline;
  }
}

/* ==================================================
   スクロール誘導
================================================== */
.home .scroll-down-circle {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 10;
}

.home .scroll-down-circle a {
  display: block;
  width: 40px;
  height: 40px;
  border: 2px solid #fff;
  border-radius: 50%;
  position: relative;
}

.home .scroll-down-circle .arrow {
  position: absolute;
  top: 45%;
  left: 50%;
  width: 10px;
  height: 10px;
  border-left: 2px solid #fff;
  border-bottom: 2px solid #fff;
  transform: translate(-50%, -50%) rotate(-45deg);
  animation: arrowMove 1.5s infinite;
}

@keyframes arrowMove {
  0%,
  100% {
    transform: translate(-50%, -50%) rotate(-45deg);
    opacity: 1;
  }
  50% {
    transform: translate(-50%, -30%) rotate(-45deg);
    opacity: 0.5;
  }
}

/* ==================================================
   Front Page：共通見出し・背景帯（最新版）
================================================== */

/* === H2 (THEME / UPDATES / FOCUS) 共通 === */
.home .entry-content h2.wp-block-heading {
  font-family: "Outfit", sans-serif;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  font-size: clamp(2.6rem, 5vw, 3.4rem);
  color: #3d4245;
  margin-top: clamp(3.8rem, 5vw, 5.2rem);
  margin-bottom: clamp(2rem, 3vw, 2.6rem);
  padding: 0;
  line-height: 1.2;
}

/* THEME の h2（Front Page 最初の h2）だけ margin-top を増やす */
.home .entry-content > h2.wp-block-heading:first-of-type {
  margin-top: clamp(5rem, 8vw, 8rem);
}

/* ==================================================
   Front Page：テーマ3カテゴリ（記事／考察／付記）
   余白と構造の統一
================================================== */

.home .theme-heading {
  font-family: "Outfit", "Noto Sans JP", sans-serif;
}

.home .theme-heading .theme-en {
  display: block;
  font-size: clamp(1.6rem, 3vw, 2rem);
  letter-spacing: 0.08em;
  font-weight: 500;
}

.home .theme-heading .theme-ja {
  display: block;
  margin-top: 0.6rem; /* ← ここが「呼吸」 */
  font-size: 0.75em;
  letter-spacing: 0.08em;
  opacity: 0.75;
}

/* --- 各セクション（記事／考察／付記）下の余白 --- */
.home .entry-content .section-articles,
.home .entry-content .section-column,
.home .entry-content .section-add {
  margin-bottom: clamp(3.8rem, 5vw, 4.4rem);
}

/* 最後の「付記」だけ、UPDATES h2 との間を少し広めに */
.home .entry-content .section-add {
  margin-bottom: clamp(3.8rem, 5.2vw, 4.7rem);
}

.home .entry-content .section-articles h3.wp-block-heading,
.home .entry-content .section-column h3.wp-block-heading,
.home .entry-content .section-add h3.wp-block-heading {
  margin-bottom: clamp(2rem, 3vw, 2.6rem);
}

@media (max-width: 768px) {
  .home .entry-content .section-articles h3.wp-block-heading,
  .home .entry-content .section-column h3.wp-block-heading,
  .home .entry-content .section-add h3.wp-block-heading {
    margin-bottom: 1.8rem;
  }
}

/* ============================================
   Front Page：THEME「一覧を見る →」
   下線あり・Blocksy装飾完全無効化バージョン
============================================ */

/* --- ベース（p.theme-more-link） --- */
.home .entry-content p.theme-more-link {
  display: block;
  width: 100%;
  font-size: 0.9rem;
  font-weight: 400;
  text-align: right;
  margin-top: 0.6rem;
  margin-bottom: 0;
}

/* リンクの下線と装飾を完全OFF */
.home .entry-content p.theme-more-link a {
  text-decoration: none !important;
  border: none !important;
  box-shadow: none !important;
  color: #3d4245;
  opacity: 0.75;
  transition: opacity 0.15s ease;
}

/* hover＝濃度だけ */
.home .entry-content p.theme-more-link a:hover {
  opacity: 1;
}

/* === 背景帯：UPDATES / FOCUS 用 === */
.home-posts-band {
  background: #e1e8ed;
  padding: 2.5rem 0 5rem;
  position: relative;
  width: 100vw;
  margin-left: calc(50% - 50vw);
}

/* 見出しの余白調整（h2をそろえる） */
.home-posts-band .wp-block-heading {
  margin-top: 0;
  padding-top: 0;
}

/* === UPDATES セクション調整 === */
.home-posts-band .updates-band {
  margin-bottom: 3.5rem;
}

/* === FOCUS（まだ非表示） === */
.home-posts-band .focus-band {
  margin-bottom: 3.5rem;
  display: none; /* あとで記事が揃えば display:block; に変更 */
}

/* === レスポンシブ === */
@media (max-width: 768px) {
  .home-posts-band {
    padding: 3.5rem 0 4rem;
  }

  .home-posts-band .updates-band {
    margin-bottom: 3rem;
  }
}

/* UPDATES（グレー帯）の下に静けさを作る余白 */
.home .ct-container-full[data-content="normal"] {
  padding-bottom: 0 !important;
}

/* ==================================================
   10. 共通装飾（callout・カテゴリ hero）
================================================== */
.callout-caution,
.callout-addition {
  border: 2px solid #ccc;
  border-radius: 10px;
  padding: 0.75em 1em;
  margin: 1.5em 0;
  font-size: 0.95em;
  display: flex;
  align-items: center;
  gap: 0.5em;
}

.callout-caution {
  border-color: #d96c6c;
  background-color: rgba(217, 108, 108, 0.08);
}

.callout-addition {
  border-color: #7a9eb1;
  background-color: rgba(122, 158, 177, 0.08);
}

/* カテゴリ／検索結果ページ hero 調整 */
.hero-section[data-type="type-2"] {
  height: auto !important;
  min-height: 45vh;
}

/* WPForms を Blocksy の本文幅に寄せる */
.page-id-1062 .wpforms-container {
  margin-left: auto;
  margin-right: auto;
}

@media (max-width: 768px) {
  .page-id-1062 .wpforms-container {
    max-width: 84%;
  }
}

@media (min-width: 769px) and (max-width: 1024px) {
  .page-id-1062 .wpforms-container {
    max-width: 84%;
  }
}

/* WPForms 送信ボタン文字サイズ */
.wpforms-container .wpforms-submit {
  font-size: 15px !important;
}

/* ==============================================
   サイドバー H3ラベル
============================================== */

.sidebar-label {
  font-family: "Outfit", sans-serif;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

/* ==============================================
   sonohito ロゴ＋キャッチコピー横並び設定
============================================== */

/* ✅ Blocksyヘッダー内限定で横並び */
header.ct-header .site-branding .site-title-container {
  display: flex;
  align-items: center;
  gap: 0.8rem;
}

/* PCでは <br> 無効化（横並び維持） */
@media (min-width: 769px) {
  header.ct-header .site-description br {
    display: none;
  }
}

/* ロゴ本体 */
.site-title a {
  font-family: "Outfit", sans-serif;
  font-weight: 500;
  font-size: 2rem;
  letter-spacing: 0.02em;
  color: #3d4245;
  text-decoration: none;
  transition: color 0.3s ease;
}

/* サイトタイトル：ホバー時のカラー設定 */
.site-title a:hover,
.site-title a:focus {
  color: #57b4ba !important;
  transition: color 0.3s ease;
}

/* ==============================================
   sonohito カスタムヘッダー挙動
============================================== */

/* 共通：画面上部に固定 */
header.ct-header {
  position: fixed !important;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 9999;
  transition: background-color 0.5s ease, box-shadow 0.5s ease,
    transform 0.35s cubic-bezier(0.25, 1, 0.5, 1);
}

/* Hero 上で透過 */
header.ct-header.is-transparent {
  background-color: transparent !important;
  box-shadow: none !important;
}

/* スクロール後（Solid） */
header.ct-header.is-solid {
  background-color: #ffffff !important;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08) !important;
}

/* AutoHide */
header.ct-header.is-hidden {
  transform: translateY(-100%) !important;
}

header.ct-header:not(.is-hidden) {
  transform: translateY(0) !important;
}

/* ==============================================
   Header＋Heroタイトル／キャッチコピーのカラー連動
============================================== */

/* 共通トランジション */
header.ct-header,
header.ct-header a,
header.ct-header .site-title,
header.ct-header .menu a,
header.ct-header .site-description,
.ct-header-trigger .ct-icon rect {
  transition: color 0.5s ease, fill 0.5s ease;
}

body.home header.ct-header.is-transparent,
body.home header.ct-header.is-transparent a,
body.home header.ct-header.is-transparent .site-title,
body.home header.ct-header.is-transparent .menu a,
body.home header.ct-header.is-transparent .site-description {
  color: #ffffff !important;
  fill: #ffffff !important;
}

/* ハンバーガー（三本線） */
body.home header.ct-header.is-transparent .ct-header-trigger .ct-icon rect {
  fill: #ffffff !important;
}

header.ct-header .site-title a:hover,
header.ct-header .site-title a:focus,
header.ct-header .menu a:hover,
header.ct-header .menu a:focus,
.ct-header-trigger:hover .ct-icon rect,
.ct-header-trigger:focus .ct-icon rect {
  color: #57b4ba !important;
  fill: #57b4ba !important;
}

body.home header.ct-header.is-transparent .site-title,
body.home header.ct-header.is-transparent .site-description {
  text-shadow: 0 0 3px rgba(0, 0, 0, 0.35);
}

header.ct-header.is-solid .site-title,
header.ct-header.is-solid .site-description {
  text-shadow: none;
}

/* モバイル補正（高さの目安） */
@media (max-width: 768px) {
  header.ct-header {
    height: 65px;
  }
}

/* ==============================================
   Headerタイトル＆キャッチコピーの視認性向上（透過時）
============================================== */

/* トランジションを有効化して自然な切り替えに */
.site-title,
.site-description {
  transition: color 0.4s ease, text-shadow 0.4s ease;
}

/* 透過ヘッダー時（Hero上） */
body.home header.ct-header.is-transparent .site-title,
body.home header.ct-header.is-transparent .site-description {
  color: #ffffff !important;
  text-shadow: 0 0 3px rgba(0, 0, 0, 0.35); /* ←黒縁の代わりに柔らかい影 */
}

/* Solid（白背景）時 */
header.ct-header.is-solid .site-title,
header.ct-header.is-solid .site-description {
  color: #3d4245 !important; /* sonohito標準の本文色 */
  text-shadow: none;
}

/* hover時のカラー維持（透過時でもリンク色優先） */
body.home header.ct-header.is-transparent .site-title a:hover,
body.home header.ct-header.is-transparent .menu a:hover,
body.home header.ct-header.is-transparent .ct-header-trigger:hover {
  color: #57b4ba !important;
  text-shadow: none;
}

/* ハンバーガー線 */
body.home
  header.ct-header.is-transparent
  .ct-header-trigger:hover
  svg.ct-icon
  rect {
  fill: #57b4ba !important;
}

header.ct-header.is-solid .site-title a:hover,
header.ct-header.is-solid .menu a:hover,
header.ct-header.is-solid .ct-header-trigger:hover {
  color: #57b4ba !important;
}

/* ハンバーガー線 */
header.ct-header.is-solid .ct-header-trigger:hover svg.ct-icon rect {
  fill: #57b4ba !important;
}

/* ==============================================
   ヘッダー高さぶん、コンテンツを下げる（home 以外）
============================================== */

/* PC */
body:not(.home) main.site-main {
  padding-top: 60px;
}

/* ==============================================
   Footer
============================================== */

/* フッター内のブランド表記だけ Outfit */
.ct-footer .brand,
.ct-footer strong {
  font-family: "Outfit", sans-serif;
  font-weight: 500;
  letter-spacing: 0.02em;
  font-kerning: normal;
  font-feature-settings: "liga" 1;
}

/* Footer Menu 3列レイアウト */
#footer-menu.menu-container ul {
  display: grid;
  grid-template-columns: repeat(3, auto);
  gap: 0.6rem 2.4rem;
}

/* テキスト揃え */
#footer-menu.menu-container ul li {
  list-style: none;
  text-align: left;
}

/* 3カラム化 */
.footer-menu-inline ul {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  grid-auto-flow: column; /* ★これがキー */
  gap: 1.2rem 3rem;
}

.footer-menu-inline li:nth-child(1),
.footer-menu-inline li:nth-child(2),
.footer-menu-inline li:nth-child(3) {
  grid-column: 1;
}

.footer-menu-inline li:nth-child(4) {
  grid-column: 2;
}

.footer-menu-inline li:nth-child(5),
.footer-menu-inline li:nth-child(6),
.footer-menu-inline li:nth-child(7) {
  grid-column: 3;
}

/* --- Tablet / Mobileで縦積みにする --- */
@media (max-width: 1024px) {
  .footer-menu-inline ul {
    display: block !important; /* Grid解除 */
  }

  .footer-menu-inline li {
    display: block;
    margin-bottom: 0.8rem;
  }

  /* Grid用のカラム指定を無効化 */
  .footer-menu-inline li {
    grid-column: auto !important;
  }
}

@media (max-width: 1024px) {
  .footer-menu-inline li:nth-child(3),
  .footer-menu-inline li:nth-child(4),
  .footer-menu-inline li:nth-child(7) {
    margin-bottom: 2rem;
  }
}

#footer .site-title a,
.footer-middle .site-title a {
  color: #ffffff !important;
}

#footer .site-title a:hover,
.footer-middle .site-title a:hover {
  color: #57b4ba !important;
}

#footer.ct-footer p.site-description {
  margin-top: clamp(0.4rem, 0.6vw, 0.6rem);
}

#footer.ct-footer [data-row="middle"] .ct-container {
  padding-top: 0 !important;
}

@media (max-width: 768px) {
  /* Footer menu size */
  .footer-menu-inline .ct-menu-link {
    font-size: 0.8rem !important;
  }
}

/*--------------------------------
  Mobile card title hierarchy
--------------------------------*/
@media (max-width: 768px) {
  /* Base (Column / Updates / Focus / default) */
  h2.ct-dynamic-data {
    font-size: clamp(0.9rem, 3.8vw, 1.1rem) !important;
    line-height: 1.35;
  }

  /* Articles（視点） */
  .home .section-articles h2.ct-dynamic-data {
    font-size: clamp(1rem, 4.5vw, 1.25rem) !important;
  }

  /* Add（付記） */
  .home .section-add h2.ct-dynamic-data {
    font-size: clamp(0.95rem, 4vw, 1.15rem) !important;
  }
}

.sonohito-card {
  background: #fff;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.04);
}

/* ==============================
   Mobile Menu : THEME 階層調整
============================== */

/* 親セクション見出し（THEME / ABOUT） */
.mobile-menu .menu-item-4014 > .ct-menu-link,
.mobile-menu .menu-item-4101 > .ct-menu-link,
.mobile-menu .menu-item-has-children > .ct-menu-link,
.mobile-menu .menu-item-has-children:hover > .ct-menu-link,
.mobile-menu .menu-item-has-children:focus-within > .ct-menu-link {
  pointer-events: none;
  cursor: default;
  font-size: 0.75rem;
  letter-spacing: 0.12em;
  opacity: 0.55;
  margin-bottom: 0.4rem;
  color: rgba(255, 255, 255, 0.8); /* ← 明示 */
  background: none;
}

/* ABOUT / THEME が current / ancestor になっても見た目を変えない */
.mobile-menu .menu-item-has-children.current-menu-ancestor > .ct-menu-link,
.mobile-menu .menu-item-has-children.current-menu-item > .ct-menu-link {
  color: rgba(255, 255, 255, 0.8);
  opacity: 0.55;
  background: none;
}

/* 子メニュー（ARTICLES / COLUMN / ADD） */
.mobile-menu .sub-menu a {
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  opacity: 0.9;
  padding-left: 0.8rem; /* ← 階層感の核 */
}

/* 子メニュー同士の間 */
.mobile-menu .sub-menu li {
  margin: 0.2rem 0;
}

/* ABOUT の前にセクション間余白 */
.mobile-menu .menu-item-4101 {
  margin-top: 1.4rem;
}

/*--------------------------------
  カテゴリーページ（THEME）
--------------------------------*/

/* pagination UI全体の基本 */
.ct-pagination {
  text-align: center;
  font-size: 1rem;
  letter-spacing: 0.02em;
}

/* 数字グループだけ整える */
.ct-pagination .ct-hidden-sm {
  display: inline-flex;
  align-items: center;
  gap: 0.4em;
}

/* 数字リンク（1,2）のUI感を消す */
.ct-pagination .page-numbers {
  background: none !important;
  border: none !important;
  padding: 0 0.3em !important;
  margin: 0 0.1em;
  text-decoration: none !important;
  color: #3d4245 !important;
  opacity: 0.55;
  box-shadow: none !important;
  font-weight: 400;
  display: inline-block;
  line-height: 1;
  transition: opacity 0.15s ease;
}

/* 現在ページ（1など）＝太字+濃度 */
.ct-pagination .page-numbers.current {
  opacity: 0.9 !important;
  font-weight: 600;
}

.ct-pagination .next.page-numbers,
.ct-pagination .prev.page-numbers {
  font-size: 0.9rem;
}

.ct-pagination .page-numbers:hover {
  opacity: 1;
}

/* ==========================================
   STANCE 固定ページ専用余白調整
   page-id-3499
========================================== */

/* H1 は Blocksy に任せる（特別扱い不要） */

/* H2（導入テキスト） */
.page-id-3499 .entry-content h2 {
  margin-top: 3.2rem;
  margin-bottom: 3rem;
}

/* 段落 */
.page-id-3499 .entry-content p {
  margin-bottom: 1.6rem;
}

/* 最後の段落 → フッターまで “余白の体験” を作る */
.page-id-3499 .entry-content p:last-of-type {
  margin-bottom: clamp(4rem, 5vw, 6rem);
}

/* 16:9 画像の余白（上下の間） */
.page-id-3499 .entry-content figure,
.page-id-3499 .entry-content img {
  margin-top: 1.8rem;
  margin-bottom: 1.8rem;
}

/* モバイル対応：余白はやや浅めに調整 */
@media (max-width: 768px) {
  .page-id-3499 .entry-content h2 {
    margin-top: 2.4rem;
    margin-bottom: 2.8rem;
  }
}

/* ==========================================
   LEGAL PAGES（Privacy / Disclaimer）
   読ませる文章用余白設計
========================================== */

/* H2 */
.page-id-1084 .entry-content h2,
.page-id-1107 .entry-content h2 {
  margin-top: 3.2rem;
  margin-bottom: 3rem;
}

/* 段落 */
.page-id-1084 .entry-content p,
.page-id-1107 .entry-content p {
  margin-bottom: 1.6rem;
}

/* リスト（番号・箇条書き） */
.page-id-1084 .entry-content ul,
.page-id-1084 .entry-content ol,
.page-id-1107 .entry-content ul,
.page-id-1107 .entry-content ol {
  margin-top: 1rem;
  margin-bottom: 1.6rem;

  padding-left: 0; /* ← 消す */
  list-style-position: outside;
}

.page-id-1084 .entry-content li,
.page-id-1107 .entry-content li {
  margin-left: 1.4em; /* 数字幅に合わせた視覚調整 */
}

@media (max-width: 1200px) {
  .page-id-1084 .entry-content li,
  .page-id-1107 .entry-content li {
    margin-left: 1.7em; /* 行長短縮時の補正 */
  }
}

/* 箇条書き：マーカーを「–」に置き換え */
.page-id-1084 .entry-content ul,
.page-id-1107 .entry-content ul {
  list-style: none;
  padding-left: 0;
}

/* li 自体のインデント */
.page-id-1084 .entry-content ul li,
.page-id-1107 .entry-content ul li {
  position: relative;
  margin-left: 1.6em; /* ← 本文の開始位置 */
}

/* 「-」マーカー */
.page-id-1084 .entry-content ul li::before,
.page-id-1107 .entry-content ul li::before {
  content: "-";
  position: absolute;
  left: -1.4em; /* ← マーカー位置 */
  top: 0;
  opacity: 0.6;
}

/* 最後の段落：余白の体験（直下のpだけ） */
.page-id-1084 .entry-content > p:last-of-type,
.page-id-1107 .entry-content > p:last-of-type {
  margin-bottom: clamp(4rem, 5vw, 6rem);
}

/* モバイル */
@media (max-width: 768px) {
  .page-id-1084 .entry-content h2,
  .page-id-1107 .entry-content h2 {
    margin-top: 2.4rem;
    margin-bottom: 2.8rem;
  }
}

.page-id-1062 .g-recaptcha {
  margin-bottom: 1.4rem;
}

/* ==========================================
   MAINTENANCE 固定ページ専用余白調整
   page-id-4308
========================================== */

.page-id-4308 .entry-content h2 {
  margin-bottom: 0.75em;
}

.page-id-4308 .ct-container-full[data-vertical-spacing] {
  padding-top: clamp(80px, 10vh, 120px);
  padding-bottom: clamp(80px, 10vh, 120px);
}
