/* ============================================================
   CHYLIM テンプレート CSS
   固定ページ・フォーム・WPブロック対応
   ※ このファイル1つをテーマに読み込んでください
============================================================ */


/* ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
   共通（変数・ナビ・フッター）
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ */

/* =============================================
   CHYLIM — 共通スタイル (style.css)
   :root / ベース / NAVBAR / SECTION / FOOTER
============================================= */

:root {
    --green-dark: #1a3a2a;
    --green-mid: #2d6a4f;
    --green-main: #40916c;
    --green-light: #74c69d;
    --green-pale: #d8f3dc;
    --accent: #f4a261;
    --accent-dark: #e76f51;
    --white: #ffffff;
    --gray-light: #f5f5f0;
    --gray-mid: #888;
    --text: #1a1a1a;
    --font-display: 'Bebas Neue', 'Oswald', sans-serif;
    --font-sub: 'Oswald', sans-serif;
    --font-body: 'Noto Sans JP', sans-serif;
  }

  * { margin: 0; padding: 0; box-sizing: border-box; }

  html { scroll-behavior: smooth; }

  body {
    font-family: var(--font-body);
    color: var(--text);
    background: var(--white);
    overflow-x: hidden;
  }

  /* ===== NAVBAR ===== */
  .navbar {
    position: fixed;
    top: 0; left: 0; right: 0;
    z-index: 1000;
    background: rgba(26, 58, 42, 0.95);
    backdrop-filter: blur(10px);
    padding: 0 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 64px;
    border-bottom: 2px solid var(--green-main);
    transition: background 0.3s;
  }

  .navbar-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
  }

  .logo-mark {
    width: 38px;
    height: 38px;
    background: var(--green-light);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-display);
    font-size: 18px;
    color: var(--green-dark);
    letter-spacing: 0;
	background-image: url(https://chylim.com/wp-content/uploads/2026/02/cropped-CHYLIM-logo3-180x180.png);
	background-size: 38px 38px;
	background-repeat: no-repeat;
  }

  .logo-text {
    font-family: var(--font-display);
    font-size: 26px;
    color: var(--white);
    letter-spacing: 3px;
  }

  .nav-links {
    display: flex;
    align-items: center;
    gap: 4px;
    list-style: none;
  }

  .nav-links a {
    display: block;
    padding: 8px 14px;
    color: rgba(255,255,255,0.85);
    text-decoration: none;
    font-size: 13px;
    font-weight: 500;
    letter-spacing: 0.5px;
    border-radius: 4px;
    transition: all 0.2s;
    white-space: nowrap;
  }

  .nav-links a:hover {
    color: var(--white);
    background: rgba(116,198,157,0.2);
  }

  .nav-cta a {
    background: var(--accent) !important;
    color: var(--white) !important;
    font-weight: 700;
    border-radius: 6px;
    padding: 8px 16px !important;
  }
  .nav-cta a:hover {
    background: var(--accent-dark) !important;
  }

  /* ハンバーガー */
  .hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    padding: 6px;
    background: none;
    border: none;
  }
  .hamburger span {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--white);
    border-radius: 2px;
    transition: all 0.3s;
  }
  .hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .hamburger.open span:nth-child(2) { opacity: 0; }
  .hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

  .mobile-menu {
    display: none;
    position: fixed;
    top: 64px;
    left: 0; right: 0;
    background: var(--green-dark);
    padding: 16px 0;
    border-top: 1px solid var(--green-main);
    z-index: 999;
  }
  .mobile-menu.open { display: block; }
  .mobile-menu a {
    display: block;
    padding: 14px 28px;
    color: rgba(255,255,255,0.9);
    text-decoration: none;
    font-size: 15px;
    font-weight: 500;
    border-bottom: 1px solid rgba(255,255,255,0.08);
    transition: background 0.2s;
  }
  .mobile-menu a:hover { background: rgba(116,198,157,0.15); }
  .mobile-menu .m-cta {
    margin: 16px 24px 0;
    display: block;
    background: var(--accent);
    color: white !important;
    text-align: center;
    border-radius: 8px;
    border: none !important;
    font-weight: 700;
  }

/* ===== SECTION COMMON ===== */
  .section {
    padding: 80px 24px;
    max-width: 1100px;
    margin: 0 auto;
  }

  .section-header {
    margin-bottom: 48px;
  }

  .section-label {
    font-family: var(--font-sub);
    font-size: 11px;
    letter-spacing: 4px;
    color: var(--green-main);
    text-transform: uppercase;
    font-weight: 600;
    margin-bottom: 8px;
  }

  .section-title {
    font-family: var(--font-display);
    font-size: clamp(36px, 6vw, 56px);
    color: var(--green-dark);
    line-height: 1;
    letter-spacing: 2px;
  }

  .section-desc {
    color: var(--gray-mid);
    font-size: 14px;
    margin-top: 12px;
    max-width: 480px;
    line-height: 1.8;
  }

/* ===== FOOTER ===== */
  footer {
    background: var(--green-dark);
    color: rgba(255,255,255,0.7);
    padding: 64px 24px 32px;
  }

  .footer-inner {
    max-width: 1100px;
    margin: 0 auto;
  }

  .footer-top {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr;
    gap: 48px;
    margin-bottom: 48px;
    padding-bottom: 48px;
    border-bottom: 1px solid rgba(255,255,255,0.1);
  }

  .footer-brand-logo {
    font-family: var(--font-display);
    font-size: 32px;
    color: white;
    letter-spacing: 4px;
    margin-bottom: 12px;
  }

  .footer-brand-desc {
    font-size: 13px;
    line-height: 1.8;
    max-width: 260px;
  }

  .footer-col h4 {
    font-size: 12px;
    letter-spacing: 2px;
    color: var(--green-light);
    text-transform: uppercase;
    font-weight: 600;
    margin-bottom: 16px;
  }

  .footer-col ul {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 10px;
  }

  .footer-col a {
    color: rgba(255,255,255,0.6);
    text-decoration: none;
    font-size: 13px;
    transition: color 0.2s;
  }
  .footer-col a:hover { color: var(--green-light); }

  .footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 12px;
    flex-wrap: wrap;
    gap: 12px;
  }


/* ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
   固定ページ レイアウト
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ */

/* =============================================
   CHYLIM — 汎用固定ページスタイル (chylim_page.css)
   プライバシーポリシー・会社概要・完了画面等で使用
============================================= */

/* ===== BREADCRUMB ===== */
.breadcrumb-bar {
  background: var(--gray-light);
  border-bottom: 1px solid #e8e8e8;
  padding: 10px 24px;
}
.breadcrumb-inner {
  max-width: 860px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 6px;
  flex-wrap: wrap;
  font-size: 12px;
  color: var(--gray-mid);
}
.breadcrumb-inner a { color: var(--green-main); text-decoration: none; }
.breadcrumb-inner a:hover { text-decoration: underline; }
.breadcrumb-sep { color: #ccc; }

/* ===== STATIC PAGE BODY ===== */
.static-page-body {
  padding: 64px 24px 100px;
  background: #fafaf8;
  min-height: 70vh;
}
.static-page-inner {
  max-width: 860px;
  margin: 0 auto;
}

/* ページヘッダー */
.static-page-header {
  margin-bottom: 48px;
  padding-bottom: 32px;
  border-bottom: 2px solid #efefef;
}
.static-page-label {
  font-family: var(--font-sub);
  font-size: 11px;
  letter-spacing: 4px;
  color: var(--green-main);
  text-transform: uppercase;
  font-weight: 600;
  margin-bottom: 10px;
}
.static-page-title {
  font-family: var(--font-display);
  font-size: clamp(32px, 6vw, 52px);
  color: var(--green-dark);
  line-height: 1;
  letter-spacing: 2px;
  margin-bottom: 10px;
}
.static-page-updated {
  font-size: 12px;
  color: var(--gray-mid);
  font-family: var(--font-sub);
}

/* 本文 */
.static-page-content {
  font-size: 14px;
  line-height: 1.9;
  color: var(--text);
}
.static-page-content p { margin-bottom: 20px; }
.static-page-content h2 {
  font-family: var(--font-sub);
  font-size: 17px;
  font-weight: 700;
  color: var(--green-dark);
  margin: 40px 0 12px;
  padding: 10px 16px;
  background: var(--green-pale);
  border-left: 4px solid var(--green-main);
  border-radius: 0 8px 8px 0;
}
.static-page-content h3 {
  font-size: 15px;
  font-weight: 700;
  color: var(--green-dark);
  margin: 28px 0 10px;
}
.static-page-content ul, .static-page-content ol {
  margin: 0 0 20px 22px;
}
.static-page-content li { margin-bottom: 6px; }
.static-page-content strong { color: var(--green-dark); }
.static-page-content a { color: var(--green-main); }
.static-page-content a:hover { text-decoration: underline; }

.static-page-content table {
  width: 100%;
  border-collapse: collapse;
  margin-bottom: 28px;
  font-size: 13px;
}
.static-page-content table tr { border-bottom: 1px solid #efefef; }
.static-page-content table tr:first-child { border-top: 1px solid #efefef; }
.static-page-content table th {
  width: 140px;
  padding: 12px 14px;
  background: var(--gray-light);
  font-weight: 700;
  color: var(--green-dark);
  vertical-align: top;
  white-space: nowrap;
  text-align: left;
}
.static-page-content table td { padding: 12px 14px; }

/* お問合せボックス */
.static-page-contact-box {
  background: var(--green-pale);
  border: 1px solid rgba(64,145,108,0.2);
  border-radius: 12px;
  padding: 24px;
  margin-top: 32px;
}
.static-page-contact-label {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 2px;
  color: var(--green-main);
  text-transform: uppercase;
  margin-bottom: 10px;
}

/* ===== システム系（完了・エラー）用バリエーション ===== */
/* 使い方: .static-page-header に .is-system クラスを追加 */
.static-page-header.is-complete .static-page-title { color: var(--green-main); }
.static-page-header.is-error .static-page-title { color: var(--accent-dark); }
.static-page-header.is-error .static-page-label { color: var(--accent-dark); }

/* 完了/エラー用アイコンエリア */
.static-page-icon {
  font-size: 64px;
  text-align: center;
  margin-bottom: 20px;
  line-height: 1;
}
.static-page-icon.complete::before { content: '✅'; }
.static-page-icon.error::before { content: '⚠️'; }

/* ===== RESPONSIVE ===== */
@media (max-width: 600px) {
  .static-page-body { padding: 48px 16px 72px; }
  .static-page-content h2 { font-size: 15px; }
  .static-page-content table th { width: 100px; font-size: 12px; padding: 10px; }
  .static-page-content table td { font-size: 12px; padding: 10px; }
}


/* ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
   フォーム（Contact Form 7）
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ */

/* =============================================
   CHYLIM — お問い合わせページ CSS
   chylim_contact.css
   Contact Form 7 実クラス名に対応
============================================= */

/* ===== CONTACT PAGE BODY ===== */
.contact-body {
  padding: 64px 24px 100px;
  background: #fafaf8;
  min-height: 70vh;
}
.contact-inner {
  max-width: 720px;
  margin: 0 auto;
}

/* ページヘッダー */
.contact-header {
  margin-bottom: 48px;
  padding-bottom: 28px;
  border-bottom: 2px solid var(--green-dark);
}
.contact-header-label {
  font-family: var(--font-sub);
  font-size: 11px;
  letter-spacing: 4px;
  color: var(--green-main);
  text-transform: uppercase;
  font-weight: 600;
  margin-bottom: 10px;
}
.contact-header h1 {
  font-family: var(--font-display);
  font-size: clamp(36px, 7vw, 56px);
  color: var(--green-dark);
  letter-spacing: 3px;
  line-height: 1;
  margin-bottom: 14px;
}
.contact-header-desc {
  font-size: 14px;
  color: var(--gray-mid);
  line-height: 1.8;
}

/* ===== CF7 フォーム全体 ===== */
.wpcf7 {
  /* CF7のデフォルトマージンをリセット */
}
.wpcf7-form {
  display: flex;
  flex-direction: column;
  gap: 0;
}

/* ===== フォームグループ（各フィールドのラッパー） ===== */
/* CF7では <p> タグでフィールドを囲むケースが多い */
.wpcf7-form p,
.cf7-field-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin: 0 0 24px 0;
}

/* ラベル */
.wpcf7-form label,
.wpcf7-form p > span:first-child {
  display: block;
  font-size: 13px;
  font-weight: 700;
  color: var(--green-dark);
  margin-bottom: 2px;
}

/* 必須バッジ（CF7の[your-name*] など * がついたもの用） */
.wpcf7-form .required::after,
abbr[title="required"] {
  content: '必須';
  display: inline-block;
  background: var(--accent);
  color: white;
  font-size: 9px;
  font-weight: 700;
  padding: 1px 7px;
  border-radius: 3px;
  margin-left: 8px;
  vertical-align: middle;
  letter-spacing: 0.5px;
  text-decoration: none;
}

/* ===== 入力フィールド共通 ===== */
.wpcf7-text,
.wpcf7-email,
.wpcf7-tel,
.wpcf7-number,
.wpcf7-date,
.wpcf7-url,
.wpcf7-select,
.wpcf7-textarea,
.wpcf7-quiz {
  width: 100%;
  font-family: var(--font-body);
  font-size: 14px;
  color: var(--text);
  background: white;
  border: 2px solid #e0e0e0;
  border-radius: 8px;
  transition: border-color 0.2s, box-shadow 0.2s;
  appearance: none;
  -webkit-appearance: none;
  outline: none;
  box-sizing: border-box;
}

/* フォーカス時 */
.wpcf7-text:focus,
.wpcf7-email:focus,
.wpcf7-tel:focus,
.wpcf7-number:focus,
.wpcf7-date:focus,
.wpcf7-url:focus,
.wpcf7-select:focus,
.wpcf7-textarea:focus,
.wpcf7-quiz:focus {
  border-color: var(--green-main);
  box-shadow: 0 0 0 3px rgba(64,145,108,0.15);
}

/* テキスト・メール・電話 */
.wpcf7-text,
.wpcf7-email,
.wpcf7-tel,
.wpcf7-number,
.wpcf7-date,
.wpcf7-url {
  padding: 11px 14px;
  height: 46px;
}

/* テキストエリア */
.wpcf7-textarea {
  padding: 12px 14px;
  min-height: 180px;
  resize: vertical;
  line-height: 1.7;
}

/* プルダウン（select） */
.wpcf7-select {
  padding: 11px 40px 11px 14px;
  height: 46px;
  cursor: pointer;
  /* カスタム矢印 */
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%2340916c' stroke-width='2' fill='none' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
}
.wpcf7-select:focus {
  border-color: var(--green-main);
}

/* ===== バリデーションエラー ===== */
/* フィールドが不正な場合（CF7がクラスを付与） */
.wpcf7-not-valid {
  border-color: #e53e3e !important;
  box-shadow: 0 0 0 3px rgba(229,62,62,0.12) !important;
  background: #fff8f8 !important;
}

/* エラーメッセージ */
.wpcf7-not-valid-tip {
  display: block;
  font-size: 12px;
  color: #e53e3e;
  font-weight: 600;
  margin-top: 4px;
}

/* ===== レスポンスメッセージ（送信後） ===== */
.wpcf7-response-output {
  margin: 16px 0 0;
  padding: 14px 18px;
  border-radius: 8px;
  font-size: 13px;
  font-weight: 600;
  line-height: 1.6;
  border: none !important; /* CF7デフォルトborderを上書き */
}

/* 送信成功 */
.wpcf7-mail-sent-ok {
  background: #f0fdf4;
  color: #166534;
  border-left: 4px solid var(--green-main) !important;
}

/* 送信失敗 */
.wpcf7-mail-sent-ng,
.wpcf7-aborted {
  background: #fff8f8;
  color: #c53030;
  border-left: 4px solid #e53e3e !important;
}

/* バリデーションエラー（入力不備） */
.wpcf7-validation-errors,
.wpcf7-acceptance-missing {
  background: #fffbeb;
  color: #92400e;
  border-left: 4px solid var(--accent) !important;
}

/* スパムエラー */
.wpcf7-spam-blocked {
  background: #fff8f8;
  color: #c53030;
  border-left: 4px solid #e53e3e !important;
}

/* ===== 送信ボタン ===== */
.wpcf7-submit {
  width: 100%;
  padding: 15px 32px;
  background: var(--green-dark);
  color: white;
  font-family: var(--font-body);
  font-size: 15px;
  font-weight: 700;
  border: none;
  border-radius: 10px;
  cursor: pointer;
  letter-spacing: 1px;
  transition: background 0.2s, transform 0.15s, box-shadow 0.2s;
  box-shadow: 0 4px 16px rgba(26,58,42,0.25);
  margin-top: 8px;
}
.wpcf7-submit:hover {
  background: var(--green-main);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(26,58,42,0.3);
}
.wpcf7-submit:active {
  transform: translateY(0);
}

/* 送信中スピナー（CF7が .wpcf7-spinner を挿入する） */
.wpcf7-spinner {
  display: inline-block;
  width: 20px;
  height: 20px;
  border: 2px solid rgba(255,255,255,0.3);
  border-top-color: white;
  border-radius: 50%;
  animation: cf7spin 0.7s linear infinite;
  vertical-align: middle;
  margin-left: 8px;
}
@keyframes cf7spin {
  to { transform: rotate(360deg); }
}

/* ===== プライバシーポリシー同意チェックボックス ===== */
/* CF7の [acceptance] タグ */
.wpcf7-acceptance {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  cursor: pointer;
  font-size: 13px;
  color: var(--text);
  line-height: 1.6;
}
.wpcf7-acceptance input[type="checkbox"] {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
  accent-color: var(--green-main);
  margin-top: 2px;
  cursor: pointer;
}

/* ===== 区切り線（CF7のp要素間） ===== */
.wpcf7-form .contact-divider {
  border: none;
  border-top: 1px solid #efefef;
  margin: 8px 0 24px;
}

/* ===== お知らせボックス（フォーム上部の案内等） ===== */
.contact-notice {
  background: var(--green-pale);
  border-left: 4px solid var(--green-main);
  border-radius: 0 10px 10px 0;
  padding: 14px 18px;
  font-size: 13px;
  color: var(--green-dark);
  line-height: 1.8;
  margin-bottom: 32px;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 600px) {
  .contact-body { padding: 48px 16px 72px; }
  .wpcf7-textarea { min-height: 140px; }
  .wpcf7-submit { font-size: 14px; padding: 14px 24px; }
}


/* ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
   WPブロックエディタ要素
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ */

/* =============================================
   CHYLIM — WordPress ブロックエディタ CSS
   chylim_blocks.css

   固定ページ（page.php）の <div class="entry-content"> 内、
   またはブロックエディタ出力全体に適用する。

   使い方:
   functions.php で wp_enqueue_style() で読み込むか、
   テーマの style.css に @import して使用。
============================================= */

/* ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
   ベーススタイル（ブロック共通の余白・フォント）
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ */
.entry-content {
  font-family: var(--font-body);
  font-size: 15px;
  line-height: 1.9;
  color: var(--text);
}

/* ブロック間の縦余白（デフォルトを統一） */
.entry-content > * {
  margin-top: 0;
  margin-bottom: 1.8em;
}
.entry-content > *:last-child {
  margin-bottom: 0;
}

/* ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
   見出し（Heading ブロック）
   .wp-block-heading
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ */
.entry-content .wp-block-heading,
.entry-content h1,
.entry-content h2,
.entry-content h3,
.entry-content h4,
.entry-content h5,
.entry-content h6 {
  font-family: var(--font-sub);
  font-weight: 700;
  color: var(--green-dark);
  line-height: 1.4;
  margin-top: 2.4em;
  margin-bottom: 0.7em;
}

.entry-content h1,
.entry-content .wp-block-heading.has-large-font-size {
  font-family: var(--font-display);
  font-size: clamp(28px, 5vw, 40px);
  letter-spacing: 2px;
}

.entry-content h2 {
  font-size: clamp(20px, 3.5vw, 26px);
  padding: 12px 18px;
  background: var(--green-pale);
  border-left: 4px solid var(--green-main);
  border-radius: 0 8px 8px 0;
}

.entry-content h3 {
  font-size: clamp(17px, 3vw, 20px);
  padding-bottom: 8px;
  border-bottom: 2px solid var(--green-pale);
}

.entry-content h4 {
  font-size: 16px;
  color: var(--green-main);
}

.entry-content h5 { font-size: 15px; }
.entry-content h6 { font-size: 13px; color: var(--gray-mid); }

/* ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
   段落（Paragraph ブロック）
   .wp-block-paragraph
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ */
.entry-content .wp-block-paragraph,
.entry-content p {
  font-size: 15px;
  line-height: 1.9;
  color: var(--text);
}

/* 大きいテキスト */
.entry-content .wp-block-paragraph.has-large-font-size {
  font-size: 18px;
  line-height: 1.7;
}

/* ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
   リスト（List ブロック）
   .wp-block-list
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ */
.entry-content .wp-block-list,
.entry-content ul,
.entry-content ol {
  padding-left: 1.6em;
  font-size: 15px;
  line-height: 1.9;
}

.entry-content ul {
  list-style: none;
  padding-left: 0;
}
.entry-content ul li {
  padding-left: 1.4em;
  position: relative;
  margin-bottom: 0.4em;
}
.entry-content ul li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.65em;
  width: 7px;
  height: 7px;
  background: var(--green-main);
  border-radius: 50%;
}

.entry-content ol {
  list-style: decimal;
}
.entry-content ol li {
  margin-bottom: 0.4em;
  padding-left: 0.4em;
}
.entry-content ol li::marker {
  color: var(--green-main);
  font-weight: 700;
}

/* ネストリスト */
.entry-content ul ul,
.entry-content ol ol,
.entry-content ul ol,
.entry-content ol ul {
  margin-top: 0.4em;
  margin-bottom: 0.4em;
}

/* ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
   引用（Quote ブロック）
   .wp-block-quote
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ */
.entry-content .wp-block-quote {
  border-left: 4px solid var(--green-main);
  background: var(--green-pale);
  padding: 18px 22px;
  border-radius: 0 12px 12px 0;
  margin: 1.8em 0;
}
.entry-content .wp-block-quote p {
  font-size: 15px;
  color: var(--green-dark);
  font-style: italic;
  line-height: 1.8;
  margin-bottom: 0.4em;
}
.entry-content .wp-block-quote cite {
  font-size: 12px;
  color: var(--gray-mid);
  font-style: normal;
}

/* 大きな引用（スタイル：大） */
.entry-content .wp-block-quote.is-style-large {
  border-left: none;
  background: none;
  padding: 24px 0;
  border-top: 2px solid var(--green-pale);
  border-bottom: 2px solid var(--green-pale);
}
.entry-content .wp-block-quote.is-style-large p {
  font-size: 20px;
  color: var(--green-dark);
  font-family: var(--font-sub);
}

/* ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
   プルクォート（Pullquote ブロック）
   .wp-block-pullquote
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ */
.entry-content .wp-block-pullquote {
  border-top: 3px solid var(--green-dark);
  border-bottom: 3px solid var(--green-dark);
  padding: 24px 0;
  text-align: center;
  margin: 2.4em 0;
}
.entry-content .wp-block-pullquote blockquote p {
  font-family: var(--font-sub);
  font-size: 20px;
  color: var(--green-dark);
  font-style: italic;
  line-height: 1.6;
}
.entry-content .wp-block-pullquote cite {
  font-size: 12px;
  color: var(--gray-mid);
}

/* ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
   テーブル（Table ブロック）
   .wp-block-table
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ */
.entry-content .wp-block-table {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}
.entry-content .wp-block-table table {
  width: 100%;
  border-collapse: collapse;
  font-size: 14px;
}
.entry-content .wp-block-table th {
  background: var(--green-dark);
  color: white;
  padding: 12px 16px;
  text-align: left;
  font-weight: 700;
  font-size: 13px;
}
.entry-content .wp-block-table td {
  padding: 11px 16px;
  border-bottom: 1px solid #e8e8e8;
  vertical-align: top;
  line-height: 1.7;
}
.entry-content .wp-block-table tr:last-child td { border-bottom: none; }
.entry-content .wp-block-table tr:nth-child(even) td { background: var(--gray-light); }

/* ストライプなし（スタイル：ストライプなし） */
.entry-content .wp-block-table.is-style-stripes tr:nth-child(even) td {
  background: var(--green-pale);
}

/* ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
   画像（Image ブロック）
   .wp-block-image
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ */
.entry-content .wp-block-image img {
  max-width: 100%;
  height: auto;
  border-radius: 10px;
  display: block;
}
.entry-content .wp-block-image figcaption {
  font-size: 12px;
  color: var(--gray-mid);
  text-align: center;
  margin-top: 8px;
  line-height: 1.6;
}
/* 角丸スタイル */
.entry-content .wp-block-image.is-style-rounded img {
  border-radius: 50%;
}

/* ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
   ギャラリー（Gallery ブロック）
   .wp-block-gallery
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ */
.entry-content .wp-block-gallery {
  gap: 12px !important;
}
.entry-content .wp-block-gallery .wp-block-image img {
  border-radius: 8px;
}
.entry-content .wp-block-gallery figcaption {
  background: rgba(26,58,42,0.75);
  color: white;
  font-size: 11px;
  border-radius: 0 0 8px 8px;
}

/* ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
   ボタン（Button / Buttons ブロック）
   .wp-block-buttons / .wp-block-button
   ★ オレンジ（var(--accent)）をデフォルトに適用
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ */
.entry-content .wp-block-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
}

/* 塗りつぶし（デフォルト）→ オレンジ */
.entry-content .wp-block-button__link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 28px;
  background: var(--accent) !important;
  color: white !important;
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 700;
  border-radius: 8px;
  text-decoration: none;
  transition: background 0.2s, transform 0.15s, box-shadow 0.2s;
  box-shadow: 0 4px 16px rgba(244,162,97,0.4);
  border: 2px solid transparent;
  letter-spacing: 0.3px;
}
.entry-content .wp-block-button__link:hover {
  background: var(--accent-dark) !important;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(244,162,97,0.5);
  color: white !important;
}
.entry-content .wp-block-button__link:active {
  transform: translateY(0);
}

/* アウトライン（スタイル：アウトライン）→ オレンジ枠 */
.entry-content .wp-block-button.is-style-outline .wp-block-button__link {
  background: transparent !important;
  color: var(--accent) !important;
  border: 2px solid var(--accent) !important;
  box-shadow: none;
}
.entry-content .wp-block-button.is-style-outline .wp-block-button__link:hover {
  background: var(--accent) !important;
  color: white !important;
  box-shadow: 0 4px 16px rgba(244,162,97,0.4);
}

/* 小さいボタン */
.entry-content .wp-block-button.is-style-squared .wp-block-button__link {
  border-radius: 4px;
}

/* ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
   セパレーター（Separator ブロック）
   .wp-block-separator
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ */
.entry-content .wp-block-separator {
  border: none;
  border-top: 2px solid var(--green-pale);
  margin: 2.4em auto;
}
.entry-content .wp-block-separator.is-style-wide {
  width: 100%;
}
.entry-content .wp-block-separator.is-style-dots {
  border: none;
  text-align: center;
  overflow: visible;
}
.entry-content .wp-block-separator.is-style-dots::before {
  content: '···';
  font-size: 24px;
  color: var(--green-light);
  letter-spacing: 8px;
}

/* ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
   スペーサー（Spacer ブロック）
   .wp-block-spacer
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ */
.entry-content .wp-block-spacer {
  /* WPが height を inline style で設定するためそのまま有効 */
}

/* ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
   カラム（Columns ブロック）
   .wp-block-columns / .wp-block-column
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ */
.entry-content .wp-block-columns {
  display: flex;
  gap: 28px;
  flex-wrap: wrap;
  align-items: flex-start;
}
.entry-content .wp-block-column {
  flex: 1;
  min-width: 200px;
}

/* ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
   グループ（Group ブロック）
   .wp-block-group
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ */
.entry-content .wp-block-group {
  /* padding は管理画面で設定 */
}
/* 背景色付きグループ */
.entry-content .wp-block-group.has-background {
  padding: 28px 32px;
  border-radius: 12px;
}
/* CHYLIMカラー対応（エディタのカラーパレットと合わせる場合） */
.entry-content .wp-block-group.has-green-pale-background-color {
  background-color: var(--green-pale) !important;
}
.entry-content .wp-block-group.has-green-dark-background-color {
  background-color: var(--green-dark) !important;
  color: white;
}
.entry-content .wp-block-group.has-green-dark-background-color h2,
.entry-content .wp-block-group.has-green-dark-background-color h3,
.entry-content .wp-block-group.has-green-dark-background-color p {
  color: white;
}

/* ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
   メディアとテキスト（Media & Text ブロック）
   .wp-block-media-text
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ */
.entry-content .wp-block-media-text {
  display: grid;
  grid-template-columns: 50% 1fr;
  gap: 32px;
  align-items: center;
}
.entry-content .wp-block-media-text.has-media-on-the-right {
  grid-template-columns: 1fr 50%;
}
.entry-content .wp-block-media-text img {
  width: 100%;
  height: auto;
  border-radius: 10px;
}
.entry-content .wp-block-media-text__content {
  padding: 0;
}

/* ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
   カバー（Cover ブロック）
   .wp-block-cover
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ */
.entry-content .wp-block-cover {
  border-radius: 12px;
  overflow: hidden;
  min-height: 200px !important;
}
.entry-content .wp-block-cover__inner-container {
  padding: 32px;
}
.entry-content .wp-block-cover p {
  color: white;
  font-size: 16px;
}

/* ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
   コード（Code ブロック）
   .wp-block-code
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ */
.entry-content .wp-block-code {
  background: #1a2a1a;
  color: #74c69d;
  padding: 20px 22px;
  border-radius: 8px;
  font-size: 13px;
  overflow-x: auto;
  border-left: 3px solid var(--green-main);
}
.entry-content .wp-block-code code {
  font-family: 'Courier New', monospace;
  line-height: 1.7;
}

/* インラインコード */
.entry-content code {
  background: var(--green-pale);
  color: var(--green-dark);
  padding: 1px 6px;
  border-radius: 4px;
  font-size: 13px;
  font-family: 'Courier New', monospace;
}

/* ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
   詳細（Details ブロック）※ WP6.5+
   .wp-block-details（アコーディオン）
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ */
.entry-content .wp-block-details {
  border: 1px solid #e8e8e8;
  border-radius: 10px;
  overflow: hidden;
  margin-bottom: 12px;
}
.entry-content .wp-block-details summary {
  padding: 14px 18px;
  font-weight: 700;
  font-size: 14px;
  color: var(--green-dark);
  cursor: pointer;
  background: white;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: background 0.15s;
}
.entry-content .wp-block-details summary:hover {
  background: var(--green-pale);
}
.entry-content .wp-block-details summary::after {
  content: '▼';
  font-size: 10px;
  color: var(--green-main);
  transition: transform 0.2s;
}
.entry-content .wp-block-details[open] summary::after {
  transform: rotate(180deg);
}
.entry-content .wp-block-details > *:not(summary) {
  padding: 16px 18px;
  border-top: 1px solid #e8e8e8;
  font-size: 14px;
  line-height: 1.8;
}

/* ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
   埋め込み系（Embed ブロック）
   .wp-block-embed
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ */
.entry-content .wp-block-embed {
  border-radius: 10px;
  overflow: hidden;
}
.entry-content .wp-block-embed__wrapper {
  position: relative;
  padding-top: 56.25%; /* 16:9 */
}
.entry-content .wp-block-embed__wrapper iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: none;
}

/* ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
   リンク関連
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ */
.entry-content a {
  color: var(--green-main);
  text-decoration: underline;
  text-underline-offset: 2px;
  transition: color 0.15s;
}
.entry-content a:hover {
  color: var(--green-dark);
}

/* ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
   RESPONSIVE
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ */
@media (max-width: 768px) {
  .entry-content .wp-block-columns {
    flex-direction: column;
    gap: 20px;
  }
  .entry-content .wp-block-column {
    min-width: 100%;
  }
  .entry-content .wp-block-media-text,
  .entry-content .wp-block-media-text.has-media-on-the-right {
    grid-template-columns: 1fr;
  }
  .entry-content .wp-block-media-text.has-media-on-the-right .wp-block-media-text__media {
    order: -1;
  }
  .entry-content h2 {
    font-size: 18px;
    padding: 10px 14px;
  }
  .entry-content .wp-block-button__link {
    padding: 11px 22px;
    font-size: 13px;
  }
  .entry-content .wp-block-group.has-background {
    padding: 20px 18px;
  }
}

/* ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
   ナビゲーション・フッター レスポンシブ
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ */
@media (max-width: 900px) {
  /* ナビ */
  .nav-links { display: none; }
  .hamburger { display: flex; }

  /* フッター：3カラム → 1カラム */
  .footer-top {
    grid-template-columns: 1fr;
    gap: 32px;
    margin-bottom: 32px;
    padding-bottom: 32px;
  }
  .footer-brand-desc { max-width: 100%; }
  .footer-bottom {
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
  }
}

/* ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
   Twemoji（絵文字画像）サイズ制御
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ */
img.emoji {
  height: 1em;
  width: 1em;
  margin: 0 0.05em 0 0.1em;
  vertical-align: -0.1em;
  display: inline;
}
