@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
*/

/************************************
** å­ãã¼ãç¨ã®ã¹ã¿ã¤ã«ãæ¸ã
************************************/
/*å¿è¦ãªãã°ããã«ã³ã¼ããæ¸ã*/


/* H2è¦åºãã®ãã¶ã¤ã³ */
.article h2 {
  background: #f7f7f7; /* èæ¯è²ï¼èãã°ã¬ã¼ï¼ */
  padding: 10px 15px; /* åå´ã®ä½ç½ */
  border-left: 5px solid #6bb6ff; /* å·¦ç·ã®å¤ªãã¨è²ï¼å¥½ããªè²ã«å¤æ´å¯ï¼ */
  border-bottom: none; /* åã®ç·ãæ¶ã */
  border-top: none; /* åã®ç·ãæ¶ã */
  border-right: none; /* åã®ç·ãæ¶ã */
}

/* H3è¦åºãã®ãã¶ã¤ã³ */
.article h3 {
  border-bottom: 3px double #6bb6ff; /* ä¸ç·ã®ç¨®é¡ã¨è²ï¼å¥½ããªè²ã«å¤æ´å¯ï¼ */
  border-left: none; /* åã®ç·ãæ¶ã */
  padding: 8px 10px; /* ä½ç½èª¿æ´ */
}

/* ç®æ¬¡ã®ãã¶ã¤ã³èª¿æ´ */
.toc {
  border: none; /* æ ç·ãæ¶ã */
  background-color: #ffffff; /* èæ¯è² */
  border-radius: 8px; /* è§ãä¸¸ããã */
  box-shadow: 0 2px 5px rgba(0,0,0,0.1); /* å½±ãã¤ãã */
  padding: 20px; /* åå´ã®ä½ç½ */
  margin-bottom: 30px; /* ä¸ã®ä½ç½ */
}

/* è¨äºåç»åã«å½±ãã¤ãã */
.entry-content img {
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08); /* å½±ã®è¨­å® */
  border-radius: 4px; /* ç»åã®è§ãå°ãä¸¸ããã */
}

/* å¤ªå­ï¼strongï¼ãèåãã³é¢¨ã« */
.entry-content strong {
  background: linear-gradient(transparent 80%, #fff799 80%); /* ãã¼ã«ã¼ã®è²ï¼é»è²ï¼ */
  color: #333; /* æå­è² */
}

/* ç®æ¡æ¸ããªã¹ããå²ã */
.entry-content ul, .entry-content ol {
  background: #f9f9f9; /* èæ¯è² */
  border: 1px solid #e5e5e5; /* æ ç·ã®è² */
  padding: 2em 1em 2em 2.5em; /* ä½ç½èª¿æ´ */
  border-radius: 5px; /* è§ä¸¸ */
}

/* ãããã¼ã­ã´ç»åã50%ã®å¤§ããã«ç¸®å°ããä¸­å¤®å¯ãã«ãã */
.logo-header img {
  width: 50%;
  height: auto;
  display: block;
  margin: 0 auto;
}

/* ã¹ããè¡¨ç¤ºã§ã®èª¿æ´ï¼ä»»æï¼ */
@media screen and (max-width: 480px) {
  .logo-header img {
    width: 80%; /* ã¹ããã§ã¯å°ãå¤§ããã«è¡¨ç¤ºï¼ãå¥½ã¿ã§èª¿æ´ï¼ */
  }
}


/* ã¤ã³ããã¯ã¹ãã¼ã¸ã®ã«ãã´ãªã¼ã©ãã«ï¼Uncategorizedãªã©ï¼ãæ¶ã */
.entry-card .cat-label {
  display: none;
}

/* ã¤ã³ããã¯ã¹ãã¼ã¸ã®é²è¦§æ°ï¼PVï¼ãæ¶ã */
.entry-card-pv {
  display: none;
}

/* ç®¡çèç¨ã®PVè¡¨ç¤ºï¼æ¬æ¥:0 é±:0...ï¼ãæ¶ã */
.admin-pv {
  display: none !important;
}



/************************************
** ã¬ã¹ãã³ã·ããã¶ã¤ã³ç¨ã®ã¡ãã£ã¢ã¯ã¨ãª
************************************/
/*1023pxä»¥ä¸*/
@media screen and (max-width: 1023px){
  /*å¿è¦ãªãã°ããã«ã³ã¼ããæ¸ã*/
}

/*834pxä»¥ä¸*/
@media screen and (max-width: 834px){
  /*å¿è¦ãªãã°ããã«ã³ã¼ããæ¸ã*/
}

/*480pxä»¥ä¸*/
@media screen and (max-width: 480px){
  /*å¿è¦ãªãã°ããã«ã³ã¼ããæ¸ã*/
}

/* ç®æ¬¡ï¼ããããã»è¦ªãã¿ããã */
.toc {
    background: #fbfdff; /* ã»ãã®ãéã¿ããã£ãèæ¯ */
    border: 2px dashed #b3cde0; /* åªããè²åãã®ç ´ç· */
    border-radius: 12px;
    padding: 1.5em;
}
.toc-title {
    text-align: center;
    font-size: 1.1em;
    font-weight: bold;
    color: #557b97;
    background: transparent;
}

.toc ol.toc-list > li li {
  list-style: none;
}

/************************************
** 2026-04-23 v2: Pillar Page (komuin-tenshoku-guide) - simplified
************************************/

/* Cocoon の既定 entry-title を非表示（本文内の h1.pillar-h1 を主タイトルとして使う） */
.page-id-526 .entry-title,
.page-id-526 .a-wrap .entry-title,
.page-id-526 header.article-header .entry-title {
  display: none !important;
}

/* 本文内 h1 */
.page-id-526 h1.pillar-h1 {
  font-size: 1.95em;
  font-weight: 700;
  text-align: center;
  line-height: 1.5;
  margin: 0.8em 0 0.6em;
  color: #1a3a5c;
  background: none;
  border: none;
  padding: 0;
  position: relative;
}
.page-id-526 h1.pillar-h1::after {
  content: "";
  display: block;
  width: 60px;
  height: 3px;
  background: linear-gradient(90deg, #6bb6ff, #ffc107);
  margin: 0.55em auto 0;
  border-radius: 2px;
}

/* リード文 */
.page-id-526 .pillar-lead-intro {
  text-align: center;
  font-size: 1.02em;
  color: #444;
  margin-bottom: 1.5em;
  line-height: 1.9;
}

/* メタ情報（バッジ行） */
.page-id-526 .pillar-meta {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 14px 24px;
  margin: 0 0 2em;
  padding: 16px 20px;
  background: linear-gradient(180deg, #f5faff 0%, #ffffff 100%);
  border-top: 3px solid #6bb6ff;
  border-bottom: 1px solid #e6e6e6;
  border-radius: 4px;
  font-size: 0.95em;
  color: #555;
}
.page-id-526 .pillar-meta span {
  white-space: nowrap;
}
.page-id-526 .pillar-meta b {
  color: #2c6cb0;
  font-weight: 700;
  margin-right: 4px;
}

/* H2（章見出し）：左ボーダー＋ソフトグラデ＋右下アクセント */
.page-id-526 .entry-content h2,
.page-id-526 article.post h2,
.page-id-526 .post-526 h2 {
  position: relative;
  margin: 2.5em 0 1em;
  padding: 0.55em 0.6em 0.55em 1em;
  border-left: 6px solid #6bb6ff;
  background: linear-gradient(90deg, #eef6ff 0%, #ffffff 72%);
  font-size: 1.35em;
  font-weight: 700;
  line-height: 1.55;
  color: #1a3a5c;
  border-radius: 0 4px 4px 0;
  border-bottom: none;
}
.page-id-526 .entry-content h2::after,
.page-id-526 article.post h2::after,
.page-id-526 .post-526 h2::after {
  content: "";
  position: absolute;
  right: 12px;
  bottom: -2px;
  width: 46px;
  height: 2px;
  background: #ffc107;
  border-radius: 1px;
}

/* H3（小見出し）：ドットボーダー＋三角アクセント */
.page-id-526 .entry-content h3,
.page-id-526 article.post h3,
.page-id-526 .post-526 h3 {
  border-bottom: 2px dotted #cbd9e8;
  padding: 0 0.3em 0.35em;
  margin: 2em 0 0.8em;
  color: #2c6cb0;
  font-size: 1.12em;
  font-weight: 700;
  background: none;
}
.page-id-526 .entry-content h3::before,
.page-id-526 article.post h3::before,
.page-id-526 .post-526 h3::before {
  content: "▸";
  color: #6bb6ff;
  margin-right: 0.4em;
  font-size: 0.95em;
}

/* 関連記事ボックス（各章末） */
.page-id-526 .pillar-related {
  background: #fffae6;
  border-left: 4px solid #ffc107;
  padding: 14px 18px;
  margin: 1.5em 0 2em;
  border-radius: 0 4px 4px 0;
  box-shadow: 0 1px 3px rgba(0,0,0,0.05);
}
.page-id-526 .pillar-related-label {
  font-weight: 700;
  color: #333;
  margin-bottom: 6px;
  font-size: 0.98em;
}
.page-id-526 .pillar-related-label::before {
  content: "▶ ";
  color: #ff9800;
  font-size: 0.9em;
}
.page-id-526 .pillar-related ul {
  background: transparent !important;
  border: none !important;
  padding: 0 0 0 1.3em !important;
  margin: 0 !important;
  border-radius: 0 !important;
}
.page-id-526 .pillar-related ul li {
  margin: 4px 0;
}

/* 引用：左に大きなクォーテーションマーク */
.page-id-526 .pillar-quote {
  position: relative;
  border-left: 3px solid #6bb6ff;
  background: #fafcff;
  padding: 16px 20px 14px 44px;
  margin: 1.5em 0;
  color: #333;
  font-style: italic;
  border-radius: 0 4px 4px 0;
}
.page-id-526 .pillar-quote::before {
  content: "\201C";
  position: absolute;
  top: -0.05em;
  left: 0.35em;
  font-size: 2.6em;
  color: #cbd9e8;
  line-height: 1;
  font-family: Georgia, "Times New Roman", serif;
}

/* CTA */
.page-id-526 .pillar-cta {
  text-align: center;
  margin: 2em 0 1.5em;
}
.page-id-526 .pillar-cta a {
  display: inline-block;
  padding: 12px 32px;
  background: #6bb6ff;
  color: #fff !important;
  text-decoration: none;
  border-radius: 4px;
  font-weight: 700;
  font-size: 0.98em;
  transition: background .2s, box-shadow .2s, transform .1s;
  box-shadow: 0 2px 6px rgba(107,182,255,0.35);
}
.page-id-526 .pillar-cta a::after {
  content: " \2192";
  font-weight: 400;
}
.page-id-526 .pillar-cta a:hover {
  background: #5aa5ee;
  transform: translateY(-1px);
  box-shadow: 0 3px 10px rgba(107,182,255,0.5);
}

/* 免責 */
.page-id-526 .pillar-disclaimer {
  text-align: center;
  font-size: 0.82em;
  color: #888;
  margin: 2em 0 1em;
  line-height: 1.8;
  padding-top: 1.2em;
  border-top: 1px dashed #ddd;
}

/* 関連記事の後に続く章見出しの間隔 */
.page-id-526 .pillar-related + h2 {
  margin-top: 3em;
}

/************************************
** ヘッダーメニュー：「転職完全ガイド」短縮後のバランス
************************************/
#navi .menu-header > li > a {
  padding: 10px 14px !important;
  font-size: 0.92em !important;
  white-space: nowrap;
  letter-spacing: 0;
}

@media screen and (max-width: 834px) {
  #navi .menu-header > li > a {
    padding: 8px 10px !important;
    font-size: 0.85em !important;
  }
}

@media screen and (max-width: 480px) {
  #navi .menu-header > li > a {
    padding: 6px 8px !important;
    font-size: 0.78em !important;
  }
}

/************************************
** ヘッダー（メインビジュアル）背景を白に
************************************/
#header-container,
#header-container .navi,
#header-container #navi {
  background-color: #ffffff !important;
}
#header-container {
  border-bottom: 1px solid #e6e6e6 !important;
}
/* 白背景で見やすくするためメニュー文字色を紺に固定 */
#navi .navi-in a,
#navi .navi-in a:hover {
  color: #023c70 !important;
}
#navi .navi-in a:hover {
  background-color: rgba(107, 182, 255, 0.12) !important;
}

/************************************
** ロゴ画像（メインビジュアル）：中央寄せ＋上下余白ゼロ
************************************/
.logo-header .header-site-logo-image,
h1.logo-header .site-logo-image,
.site-name-text .header-site-logo-image {
  max-height: 500px !important;
  max-width: 100% !important;
  height: auto !important;
  width: auto !important;
  transform: none !important;
  margin: 0 auto !important;
  display: block;
  vertical-align: middle;
}

h1.logo-header,
h1.logo-header a,
h1.logo-header a.site-name,
h1.logo-header .site-name-text,
h1.logo-header .site-name-text-link {
  padding: 0 !important;
  margin: 0 auto !important;
  text-align: center !important;
  line-height: 1 !important;
}

#header-in {
  padding-top: 2px !important;
  padding-bottom: 2px !important;
}

/************************************
** 【page-id-526 のみ】目次は H2 のみ表示、H3 は非表示
************************************/
.page-id-526 .toc ol ol,
.page-id-526 #toc ol ol,
.page-id-526 .toc-content ol ol {
  display: none !important;
}



/* === CITYHALL-EXIT DESIGN PACK v1 START ===
   Added: 2026-04-24
   Scope: Site-wide visual refresh, navy/gold/cream
   Removal: Delete everything between START and END markers.
============================================== */

:root{
  --ce-navy:#1B2A4E;
  --ce-navy-dark:#0F1B36;
  --ce-navy-light:#2D4373;
  --ce-gold:#C9A961;
  --ce-gold-dark:#A88A48;
  --ce-cream:#FAF8F4;
  --ce-cream-deep:#F4EFE4;
  --ce-white:#FFFFFF;
  --ce-text-main:#1B2A4E;
  --ce-text-sub:#5F5E5A;
  --ce-text-mute:#888780;
  --ce-text-light:#C9D2E5;
  --ce-border:#E5E1D7;
}

/* ===== Body + base ===== */
body.wp-child-theme-cocoon-child-master{
  background:var(--ce-cream) !important;
  color:var(--ce-text-main);
}

/* All outer/inner wrappers -> cream (no white boxes) */
body.wp-child-theme-cocoon-child-master #body,
body.wp-child-theme-cocoon-child-master #body-in,
body.wp-child-theme-cocoon-child-master #container,
body.wp-child-theme-cocoon-child-master #main,
body.wp-child-theme-cocoon-child-master .main,
body.wp-child-theme-cocoon-child-master #content,
body.wp-child-theme-cocoon-child-master .content,
body.wp-child-theme-cocoon-child-master #content-in,
body.wp-child-theme-cocoon-child-master .content-in,
body.wp-child-theme-cocoon-child-master .wrap,
body.wp-child-theme-cocoon-child-master #primary,
body.wp-child-theme-cocoon-child-master #primary-in,
body.wp-child-theme-cocoon-child-master .primary,
body.wp-child-theme-cocoon-child-master #sidebar,
body.wp-child-theme-cocoon-child-master .sidebar,
body.wp-child-theme-cocoon-child-master .sidebar-scroll{
  background:var(--ce-cream) !important;
  box-shadow:none !important;
}

/* Link accents */
body.wp-child-theme-cocoon-child-master a{ color:var(--ce-navy); }
body.wp-child-theme-cocoon-child-master a:hover{ color:var(--ce-gold-dark); }

/* ===== Header ===== */
body.wp-child-theme-cocoon-child-master .header-container{
  background:var(--ce-navy) !important;
  border-bottom:3px solid var(--ce-gold);
}
body.wp-child-theme-cocoon-child-master .header,
body.wp-child-theme-cocoon-child-master #header,
body.wp-child-theme-cocoon-child-master .header-in,
body.wp-child-theme-cocoon-child-master #header-in{
  background:transparent !important;
}

/* Logo text / image */
body.wp-child-theme-cocoon-child-master .logo-header,
body.wp-child-theme-cocoon-child-master .logo-image{
  padding:8px 0 12px;
}
body.wp-child-theme-cocoon-child-master .site-name-text{
  color:#fff !important;
  font-weight:500;
  letter-spacing:.04em;
}
body.wp-child-theme-cocoon-child-master .site-name-text-link,
body.wp-child-theme-cocoon-child-master .site-name{
  color:#fff !important;
}
body.wp-child-theme-cocoon-child-master .header-site-logo-image{
  max-height:70px;
  width:auto;
  object-fit:contain;
  filter:brightness(1.05);
}
body.wp-child-theme-cocoon-child-master .tagline,
body.wp-child-theme-cocoon-child-master .header-container .tagline{
  color:var(--ce-text-light) !important;
  font-size:11px !important;
  letter-spacing:3px;
  text-transform:uppercase;
  text-align:center;
  margin:0;
  padding:10px 0 0;
}
/* Accent brand line above logo */
body.wp-child-theme-cocoon-child-master .header-container-in::before{
  content:"ELITE EXIT JOURNAL";
  display:block;
  text-align:center;
  font-size:10px;
  letter-spacing:4px;
  color:var(--ce-gold);
  font-weight:500;
  padding:14px 0 4px;
}

/* ===== Nav bar (.navi is separate element after .header-container) ===== */
body.wp-child-theme-cocoon-child-master .navi{
  background:var(--ce-navy) !important;
  border:none !important;
  border-top:.5px solid rgba(255,255,255,.15) !important;
}
body.wp-child-theme-cocoon-child-master .navi-in{
  background:transparent !important;
}
body.wp-child-theme-cocoon-child-master .menu-header,
body.wp-child-theme-cocoon-child-master .menu-header > li,
body.wp-child-theme-cocoon-child-master .menu-header .menu-item{
  background:transparent !important;
  border:none !important;
}
body.wp-child-theme-cocoon-child-master .menu-header > .menu-item > a,
body.wp-child-theme-cocoon-child-master .menu-pc > .menu-item > a{
  color:var(--ce-text-light) !important;
  background:transparent !important;
  border:none !important;
  font-size:13px !important;
  letter-spacing:.05em;
  padding:14px 18px !important;
  transition:color .2s, background .2s;
  position:relative;
}
body.wp-child-theme-cocoon-child-master .menu-header > .menu-item > a:hover,
body.wp-child-theme-cocoon-child-master .menu-pc > .menu-item > a:hover,
body.wp-child-theme-cocoon-child-master .menu-header > .menu-item.current-menu-item > a{
  color:var(--ce-gold) !important;
  background:rgba(255,255,255,.04) !important;
}
body.wp-child-theme-cocoon-child-master .menu-header > .menu-item > a .item-label,
body.wp-child-theme-cocoon-child-master .menu-pc > .menu-item > a .item-label{
  color:inherit !important;
}
body.wp-child-theme-cocoon-child-master .menu-header > .menu-item > a::after{
  content:"";
  position:absolute;
  left:18px;
  right:18px;
  bottom:8px;
  height:1px;
  background:var(--ce-gold);
  transform:scaleX(0);
  transform-origin:left;
  transition:transform .2s;
}
body.wp-child-theme-cocoon-child-master .menu-header > .menu-item:hover > a::after,
body.wp-child-theme-cocoon-child-master .menu-header > .menu-item.current-menu-item > a::after{
  transform:scaleX(1);
}

/* Mobile nav buttons */
body.wp-child-theme-cocoon-child-master .menu-button,
body.wp-child-theme-cocoon-child-master .menu-icon-button,
body.wp-child-theme-cocoon-child-master .navi-menu-button{
  color:#fff !important;
}
body.wp-child-theme-cocoon-child-master .menu-drawer{
  background:var(--ce-navy);
}
body.wp-child-theme-cocoon-child-master .menu-drawer a{
  color:var(--ce-text-light);
}
body.wp-child-theme-cocoon-child-master .menu-drawer a:hover{
  color:var(--ce-gold);
}

/* ===== Entry cards (list / top) ===== */
body.wp-child-theme-cocoon-child-master .entry-card,
body.wp-child-theme-cocoon-child-master .e-card,
body.wp-child-theme-cocoon-child-master .entry-card-wrap,
body.wp-child-theme-cocoon-child-master .a-wrap{
  background:var(--ce-cream) !important;
  border:.5px solid var(--ce-border) !important;
  border-radius:6px !important;
  transition:transform .2s, border-color .2s, background .2s;
  overflow:hidden;
  box-shadow:none !important;
}
body.wp-child-theme-cocoon-child-master .entry-card:hover,
body.wp-child-theme-cocoon-child-master .e-card:hover,
body.wp-child-theme-cocoon-child-master .entry-card-wrap:hover,
body.wp-child-theme-cocoon-child-master .a-wrap:hover{
  transform:translateY(-2px);
  border-color:var(--ce-gold) !important;
  background:var(--ce-cream-deep) !important;
}
body.wp-child-theme-cocoon-child-master .entry-card-title,
body.wp-child-theme-cocoon-child-master .e-card-title{
  color:var(--ce-navy) !important;
  font-weight:500;
  font-size:15px;
  line-height:1.5;
}
body.wp-child-theme-cocoon-child-master .entry-card-snippet,
body.wp-child-theme-cocoon-child-master .e-card-snippet{
  color:var(--ce-text-sub) !important;
  font-size:12px;
  line-height:1.7;
}
body.wp-child-theme-cocoon-child-master .entry-card-meta,
body.wp-child-theme-cocoon-child-master .e-card-meta,
body.wp-child-theme-cocoon-child-master .entry-card-info,
body.wp-child-theme-cocoon-child-master .e-card-info{
  color:var(--ce-text-mute) !important;
  font-size:11px;
}
body.wp-child-theme-cocoon-child-master .entry-card-categorys .cat-link,
body.wp-child-theme-cocoon-child-master .e-card-categorys .cat-link,
body.wp-child-theme-cocoon-child-master .cat-link{
  background:var(--ce-gold) !important;
  color:var(--ce-navy) !important;
  font-size:10px !important;
  font-weight:500 !important;
  padding:3px 10px !important;
  border-radius:2px !important;
  text-decoration:none;
  border:none !important;
}

/* ===== Article (single post) - cream background ===== */
body.wp-child-theme-cocoon-child-master .article,
body.wp-child-theme-cocoon-child-master article.post,
body.wp-child-theme-cocoon-child-master article.page{
  background:var(--ce-cream) !important;
  border-radius:0;
  box-shadow:none !important;
}
body.wp-child-theme-cocoon-child-master .entry-content,
body.wp-child-theme-cocoon-child-master .post-content{
  background:transparent !important;
}
body.wp-child-theme-cocoon-child-master .entry-title,
body.wp-child-theme-cocoon-child-master .article .entry-title{
  font-size:28px;
  font-weight:500;
  color:var(--ce-navy);
  line-height:1.5;
  border:none;
  padding:0 0 14px 0;
  letter-spacing:.02em;
  background:transparent;
}
body.wp-child-theme-cocoon-child-master .article h2,
body.wp-child-theme-cocoon-child-master .entry-content h2{
  font-size:22px;
  font-weight:500;
  color:var(--ce-navy) !important;
  background:none !important;
  border:none !important;
  border-bottom:2px solid var(--ce-gold) !important;
  padding:0 0 8px 0 !important;
  margin:36px 0 18px !important;
}
body.wp-child-theme-cocoon-child-master .article h3,
body.wp-child-theme-cocoon-child-master .entry-content h3{
  font-size:18px;
  font-weight:500;
  color:var(--ce-navy) !important;
  background:none !important;
  border:none !important;
  border-left:3px solid var(--ce-gold) !important;
  padding:0 0 0 12px !important;
  margin:28px 0 14px !important;
}
body.wp-child-theme-cocoon-child-master .article h4,
body.wp-child-theme-cocoon-child-master .entry-content h4{
  font-size:16px;
  font-weight:500;
  color:var(--ce-navy) !important;
  background:none !important;
  border:none !important;
  padding:0 !important;
  margin:22px 0 10px !important;
}
body.wp-child-theme-cocoon-child-master .entry-content p{
  font-size:15px;
  line-height:1.9;
  color:#2C2C2A;
}
body.wp-child-theme-cocoon-child-master .entry-content a{
  color:var(--ce-navy);
  text-decoration:underline;
  text-decoration-color:var(--ce-gold);
  text-underline-offset:3px;
}
body.wp-child-theme-cocoon-child-master .entry-content blockquote{
  border-left:3px solid var(--ce-gold);
  background:var(--ce-cream-deep);
  font-style:italic;
  color:var(--ce-navy);
  padding:12px 18px;
}
body.wp-child-theme-cocoon-child-master .entry-content table th{
  background:var(--ce-navy);
  color:#fff;
  font-weight:500;
}
body.wp-child-theme-cocoon-child-master .entry-content table td{
  background:var(--ce-cream);
}

/* TOC */
body.wp-child-theme-cocoon-child-master .toc,
body.wp-child-theme-cocoon-child-master #toc{
  background:var(--ce-cream) !important;
  border:.5px solid var(--ce-border) !important;
  border-left:3px solid var(--ce-gold) !important;
  border-radius:6px !important;
  box-shadow:none !important;
}

/* ===== Sidebar widgets ===== */
body.wp-child-theme-cocoon-child-master .sidebar .widget{
  background:var(--ce-cream) !important;
  border:.5px solid var(--ce-border) !important;
  border-radius:6px !important;
  box-shadow:none !important;
  padding:18px 20px !important;
  margin-bottom:20px !important;
}
body.wp-child-theme-cocoon-child-master .sidebar .widget-sidebar-title,
body.wp-child-theme-cocoon-child-master .sidebar h3,
body.wp-child-theme-cocoon-child-master .sidebar .widgettitle{
  color:var(--ce-navy) !important;
  font-size:13px !important;
  font-weight:500 !important;
  letter-spacing:1px;
  border:none !important;
  border-bottom:1px solid var(--ce-navy) !important;
  background:none !important;
  padding:0 0 8px 0 !important;
  margin:0 0 14px 0 !important;
}
body.wp-child-theme-cocoon-child-master .sidebar .widget ul li{
  border-bottom:.5px dashed var(--ce-border);
  padding:8px 0;
  font-size:13px;
  background:transparent;
}
body.wp-child-theme-cocoon-child-master .sidebar .widget ul li:last-child{
  border-bottom:none;
}
body.wp-child-theme-cocoon-child-master .sidebar .widget ul li a{
  color:var(--ce-navy);
}
body.wp-child-theme-cocoon-child-master .sidebar .widget ul li a:hover{
  color:var(--ce-gold-dark);
}

/* ===== Pagination ===== */
body.wp-child-theme-cocoon-child-master .pagination .page-numbers,
body.wp-child-theme-cocoon-child-master .pagination a,
body.wp-child-theme-cocoon-child-master .pagination span{
  background:var(--ce-cream);
  color:var(--ce-navy);
  border:.5px solid var(--ce-border);
  border-radius:3px;
  padding:8px 14px;
  font-size:12px;
  text-decoration:none;
  transition:background .2s, color .2s;
}
body.wp-child-theme-cocoon-child-master .pagination a:hover{
  background:var(--ce-navy);
  color:#fff;
}
body.wp-child-theme-cocoon-child-master .pagination .current,
body.wp-child-theme-cocoon-child-master .pagination span.current{
  background:var(--ce-navy);
  color:#fff;
  border-color:var(--ce-navy);
}
body.wp-child-theme-cocoon-child-master .pagination-next-link{
  background:var(--ce-gold) !important;
  color:var(--ce-navy) !important;
  border:none !important;
  border-radius:4px !important;
  padding:10px 24px !important;
  font-weight:500;
}
body.wp-child-theme-cocoon-child-master .pagination-next-link:hover{
  background:var(--ce-gold-dark) !important;
}

/* ===== Breadcrumbs ===== */
body.wp-child-theme-cocoon-child-master .breadcrumb,
body.wp-child-theme-cocoon-child-master #breadcrumb{
  background:transparent;
  font-size:11px;
  color:var(--ce-text-mute);
  letter-spacing:.5px;
}
body.wp-child-theme-cocoon-child-master .breadcrumb a{
  color:var(--ce-gold-dark);
}

/* ===== Footer ===== */
body.wp-child-theme-cocoon-child-master .footer,
body.wp-child-theme-cocoon-child-master .footer-container{
  background:var(--ce-navy) !important;
  color:var(--ce-text-light) !important;
  border-top:3px solid var(--ce-gold) !important;
  border-bottom:none !important;
}
body.wp-child-theme-cocoon-child-master .footer a,
body.wp-child-theme-cocoon-child-master .footer-container a{
  color:var(--ce-text-light) !important;
}
body.wp-child-theme-cocoon-child-master .footer a:hover,
body.wp-child-theme-cocoon-child-master .footer-container a:hover{
  color:var(--ce-gold) !important;
}
body.wp-child-theme-cocoon-child-master .footer-bottom,
body.wp-child-theme-cocoon-child-master .copyright{
  background:var(--ce-navy) !important;
  color:var(--ce-text-light) !important;
  border-top:.5px solid rgba(255,255,255,.15);
  font-size:11px;
}
body.wp-child-theme-cocoon-child-master .navi-footer-in,
body.wp-child-theme-cocoon-child-master .menu-footer a{
  color:var(--ce-text-light) !important;
  background:transparent;
}
body.wp-child-theme-cocoon-child-master .menu-footer a:hover{
  color:var(--ce-gold) !important;
}

/* ===== Search form ===== */
body.wp-child-theme-cocoon-child-master .search-edit,
body.wp-child-theme-cocoon-child-master input[type="search"],
body.wp-child-theme-cocoon-child-master .wp-block-search__input{
  background:#fff;
  border:.5px solid var(--ce-border);
  border-radius:3px;
  color:var(--ce-navy);
  padding:6px 12px;
}
body.wp-child-theme-cocoon-child-master .search-edit:focus,
body.wp-child-theme-cocoon-child-master input[type="search"]:focus{
  border-color:var(--ce-gold);
  outline:none;
}
body.wp-child-theme-cocoon-child-master .search-submit{
  background:var(--ce-navy);
  color:#fff;
  border:none;
}

/* ===== Buttons ===== */
body.wp-child-theme-cocoon-child-master .wp-block-button__link,
body.wp-child-theme-cocoon-child-master button.button,
body.wp-child-theme-cocoon-child-master input[type="submit"]{
  background:var(--ce-gold);
  color:var(--ce-navy);
  border:none;
  border-radius:4px;
  padding:10px 22px;
  font-weight:500;
}
body.wp-child-theme-cocoon-child-master .wp-block-button__link:hover,
body.wp-child-theme-cocoon-child-master button.button:hover,
body.wp-child-theme-cocoon-child-master input[type="submit"]:hover{
  background:var(--ce-gold-dark);
  color:var(--ce-navy);
}

/* ===== Post info / date / author ===== */
body.wp-child-theme-cocoon-child-master .date-tags,
body.wp-child-theme-cocoon-child-master .post-date,
body.wp-child-theme-cocoon-child-master .post-update{
  color:var(--ce-text-mute);
  font-size:12px;
}

/* Author box */
body.wp-child-theme-cocoon-child-master .author-box{
  background:var(--ce-cream) !important;
  border:.5px solid var(--ce-border) !important;
  border-left:3px solid var(--ce-gold) !important;
  border-radius:6px !important;
  box-shadow:none !important;
}

/* Related posts */
body.wp-child-theme-cocoon-child-master .related-entry-heading,
body.wp-child-theme-cocoon-child-master .under-entry-content h2{
  color:var(--ce-navy);
  border-bottom:1px solid var(--ce-navy);
  background:none;
  padding:0 0 10px 0;
  font-size:18px;
  font-weight:500;
}

/* Archive title */
body.wp-child-theme-cocoon-child-master .archive-title,
body.wp-child-theme-cocoon-child-master h1.archive-title{
  color:var(--ce-navy);
  font-size:28px;
  font-weight:500;
  border:none;
  padding:20px 0 6px 0;
  background:transparent;
}
body.wp-child-theme-cocoon-child-master .archive-title::before{
  content:"ARCHIVE";
  display:block;
  font-size:11px;
  letter-spacing:2px;
  color:var(--ce-gold);
  font-weight:500;
  margin-bottom:6px;
}

/* Page title hero */
body.wp-child-theme-cocoon-child-master .page .entry-title{
  background:var(--ce-navy) !important;
  color:#fff !important;
  padding:32px 28px !important;
  margin:0 0 28px !important;
  border-bottom:3px solid var(--ce-gold) !important;
  border-radius:0;
  font-size:26px;
}

/* Home hero accent */
body.wp-child-theme-cocoon-child-master.home .main::before,
body.wp-child-theme-cocoon-child-master.home #main::before{
  content:"LATEST ARTICLES";
  display:block;
  font-size:10px;
  letter-spacing:3px;
  color:var(--ce-gold);
  font-weight:500;
  text-align:center;
  padding:18px 0 8px 0;
  background:var(--ce-cream);
  border-bottom:.5px solid var(--ce-border);
  margin-bottom:16px;
}

/* Remove Cocoon default box-shadows */
body.wp-child-theme-cocoon-child-master .main,
body.wp-child-theme-cocoon-child-master #main,
body.wp-child-theme-cocoon-child-master .sidebar,
body.wp-child-theme-cocoon-child-master #sidebar,
body.wp-child-theme-cocoon-child-master .article,
body.wp-child-theme-cocoon-child-master .widget{
  box-shadow:none !important;
}

/* Form inputs inside content */
body.wp-child-theme-cocoon-child-master input[type="text"],
body.wp-child-theme-cocoon-child-master input[type="email"],
body.wp-child-theme-cocoon-child-master textarea,
body.wp-child-theme-cocoon-child-master select{
  background:#fff;
  border:.5px solid var(--ce-border);
  border-radius:4px;
}

/* Mobile adjustments */
@media (max-width:768px){
  body.wp-child-theme-cocoon-child-master .entry-title,
  body.wp-child-theme-cocoon-child-master .article .entry-title{ font-size:22px; }
  body.wp-child-theme-cocoon-child-master .article h2,
  body.wp-child-theme-cocoon-child-master .entry-content h2{ font-size:19px; }
  body.wp-child-theme-cocoon-child-master .article h3,
  body.wp-child-theme-cocoon-child-master .entry-content h3{ font-size:16px; }
  body.wp-child-theme-cocoon-child-master .header-site-logo-image{ max-height:54px; }
  body.wp-child-theme-cocoon-child-master .header-container-in::before{ font-size:9px; padding:10px 0 3px; }
}


/* ===== v6/v7/v8: Header + category + tables ===== */

/* ============ MODERN TABLE (profile page + general content) ============ */

body.wp-child-theme-cocoon-child-master .entry-content figure.wp-block-table,
body.wp-child-theme-cocoon-child-master .entry-content .wp-block-table{
  margin:28px 0 36px !important;
  background:transparent;
  border:none;
  padding:0;
  overflow:visible;
}
body.wp-child-theme-cocoon-child-master .entry-content figure.wp-block-table table,
body.wp-child-theme-cocoon-child-master .entry-content .wp-block-table table,
body.wp-child-theme-cocoon-child-master .entry-content table{
  width:100% !important;
  border-collapse:separate !important;
  border-spacing:0 !important;
  background:#fff !important;
  border:.5px solid var(--ce-border) !important;
  border-radius:8px !important;
  overflow:hidden !important;
  margin:0 !important;
  box-shadow:0 1px 2px rgba(27,42,78,.03);
}

/* all cells */
body.wp-child-theme-cocoon-child-master .entry-content figure.wp-block-table td,
body.wp-child-theme-cocoon-child-master .entry-content .wp-block-table td,
body.wp-child-theme-cocoon-child-master .entry-content table td{
  border:none !important;
  border-bottom:.5px solid var(--ce-border) !important;
  padding:22px 26px !important;
  vertical-align:middle !important;
  font-size:14px !important;
  line-height:1.95 !important;
  color:#2C2C2A !important;
  background:#fff !important;
}
body.wp-child-theme-cocoon-child-master .entry-content figure.wp-block-table tr:last-child td,
body.wp-child-theme-cocoon-child-master .entry-content .wp-block-table tr:last-child td,
body.wp-child-theme-cocoon-child-master .entry-content table tr:last-child td{
  border-bottom:none !important;
}

/* first column (label) */
body.wp-child-theme-cocoon-child-master .entry-content figure.wp-block-table td:first-child,
body.wp-child-theme-cocoon-child-master .entry-content .wp-block-table td:first-child,
body.wp-child-theme-cocoon-child-master .entry-content table td:first-child{
  width:140px !important;
  min-width:110px !important;
  background:var(--ce-cream) !important;
  color:var(--ce-navy) !important;
  font-family:"Hiragino Mincho ProN","Yu Mincho","Noto Serif JP",serif !important;
  font-size:14px !important;
  font-weight:500 !important;
  letter-spacing:.06em !important;
  text-align:center !important;
  border-right:.5px solid var(--ce-border) !important;
  white-space:nowrap !important;
  position:relative;
}
/* left gold accent on label column */
body.wp-child-theme-cocoon-child-master .entry-content figure.wp-block-table td:first-child::before,
body.wp-child-theme-cocoon-child-master .entry-content .wp-block-table td:first-child::before,
body.wp-child-theme-cocoon-child-master .entry-content table td:first-child::before{
  content:"";
  position:absolute;
  left:0;
  top:15%;
  bottom:15%;
  width:2px;
  background:var(--ce-gold);
  opacity:.65;
}

/* second column (value) — extra padding for richer content */
body.wp-child-theme-cocoon-child-master .entry-content figure.wp-block-table td:not(:first-child),
body.wp-child-theme-cocoon-child-master .entry-content .wp-block-table td:not(:first-child),
body.wp-child-theme-cocoon-child-master .entry-content table td:not(:first-child){
  padding:26px 30px !important;
  vertical-align:top !important;
}

/* Strong / bold inside value cells — elegant navy with gold underline */
body.wp-child-theme-cocoon-child-master .entry-content figure.wp-block-table td:not(:first-child) strong,
body.wp-child-theme-cocoon-child-master .entry-content .wp-block-table td:not(:first-child) strong,
body.wp-child-theme-cocoon-child-master .entry-content table td:not(:first-child) strong{
  color:var(--ce-navy) !important;
  font-weight:600 !important;
  font-family:"Hiragino Mincho ProN","Yu Mincho","Noto Serif JP",serif !important;
  font-size:15px !important;
  background:none !important;
  padding:0 0 1px 0 !important;
  border-bottom:1px solid var(--ce-gold) !important;
  display:inline !important;
  margin-right:4px;
  letter-spacing:.03em;
}

/* Double line breaks (br+br) act as section separator — add breathing room */
body.wp-child-theme-cocoon-child-master .entry-content figure.wp-block-table td br + br,
body.wp-child-theme-cocoon-child-master .entry-content .wp-block-table td br + br,
body.wp-child-theme-cocoon-child-master .entry-content table td br + br{
  display:block;
  content:"";
  margin-top:12px;
}

/* If a TH exists (generic case), style elegantly */
body.wp-child-theme-cocoon-child-master .entry-content figure.wp-block-table th,
body.wp-child-theme-cocoon-child-master .entry-content .wp-block-table th,
body.wp-child-theme-cocoon-child-master .entry-content table th{
  background:var(--ce-cream) !important;
  color:var(--ce-navy) !important;
  border:none !important;
  border-bottom:.5px solid var(--ce-border) !important;
  border-right:.5px solid var(--ce-border) !important;
  padding:22px 26px !important;
  font-family:"Hiragino Mincho ProN","Yu Mincho",serif !important;
  font-size:14px !important;
  font-weight:500 !important;
  letter-spacing:.06em !important;
  text-align:center !important;
}

/* Mobile */
@media (max-width:600px){
  body.wp-child-theme-cocoon-child-master .entry-content figure.wp-block-table td:first-child,
  body.wp-child-theme-cocoon-child-master .entry-content .wp-block-table td:first-child,
  body.wp-child-theme-cocoon-child-master .entry-content table td:first-child{
    width:90px !important;
    min-width:80px !important;
    font-size:13px !important;
    padding:14px 10px !important;
  }
  body.wp-child-theme-cocoon-child-master .entry-content figure.wp-block-table td,
  body.wp-child-theme-cocoon-child-master .entry-content .wp-block-table td,
  body.wp-child-theme-cocoon-child-master .entry-content table td{
    padding:14px 14px !important;
    font-size:13px !important;
  }
  body.wp-child-theme-cocoon-child-master .entry-content figure.wp-block-table td:not(:first-child),
  body.wp-child-theme-cocoon-child-master .entry-content .wp-block-table td:not(:first-child),
  body.wp-child-theme-cocoon-child-master .entry-content table td:not(:first-child){
    padding:16px 14px !important;
  }
  body.wp-child-theme-cocoon-child-master .entry-content figure.wp-block-table td:not(:first-child) strong,
  body.wp-child-theme-cocoon-child-master .entry-content .wp-block-table td:not(:first-child) strong,
  body.wp-child-theme-cocoon-child-master .entry-content table td:not(:first-child) strong{
    font-size:14px !important;
  }
}

/* ============ HEADER MODERNIZATION ============ */

/* Subtle gradient background for premium feel + 500px main visual */
body.wp-child-theme-cocoon-child-master .header-container{
  background:
    radial-gradient(ellipse 60% 80% at 20% 0%, rgba(201,169,97,.05) 0%, transparent 55%),
    linear-gradient(180deg, #0F1B36 0%, #1B2A4E 100%) !important;
  border-bottom:none !important;
  position:relative;
  padding:0 !important;
  min-height:500px;
  display:flex;
  align-items:center;
  justify-content:center;
}
body.wp-child-theme-cocoon-child-master .header-container-in{
  width:100%;
}

/* Hairline gold accent at the very top of the header */
body.wp-child-theme-cocoon-child-master .header-container::before{
  content:"";
  position:absolute;
  top:0;
  left:0;
  right:0;
  height:1px;
  background:linear-gradient(90deg, transparent 0%, var(--ce-gold) 20%, var(--ce-gold) 80%, transparent 100%);
  opacity:.5;
  pointer-events:none;
}

/* Gold accent line under header (keeps the border feel, but thinner) */
body.wp-child-theme-cocoon-child-master .header-container::after{
  content:"";
  position:absolute;
  bottom:0;
  left:0;
  right:0;
  height:1px;
  background:linear-gradient(90deg, transparent 0%, var(--ce-gold) 15%, var(--ce-gold) 85%, transparent 100%);
  opacity:.8;
  pointer-events:none;
}

/* Refined eyebrow with flanking decorative rules (no new HTML needed) */
body.wp-child-theme-cocoon-child-master .header-container-in{
  position:relative;
  padding-top:0 !important;
}
body.wp-child-theme-cocoon-child-master .header-container-in::before{
  content:"ELITE EXIT JOURNAL";
  display:block;
  text-align:center;
  font-size:11px !important;
  letter-spacing:5px !important;
  color:var(--ce-gold) !important;
  font-weight:500 !important;
  padding:12px 0 8px !important;
  font-family:var(--ce-font-sans);
  line-height:1;
}

/* Decorative dashes around eyebrow via ::after on header-container-in parent */
body.wp-child-theme-cocoon-child-master .header-in,
body.wp-child-theme-cocoon-child-master #header-in{
  padding:0 !important;
  text-align:center !important;
  position:relative;
}

/* Hairline below eyebrow */
body.wp-child-theme-cocoon-child-master .header-in::before,
body.wp-child-theme-cocoon-child-master #header-in::before{
  content:"";
  display:block;
  width:56px;
  height:1px;
  background:var(--ce-gold);
  opacity:.7;
  margin:0 auto 40px;
}

/* Logo area refinement — image is hidden; text hero is injected via pseudo-elements */
body.wp-child-theme-cocoon-child-master .logo-header,
body.wp-child-theme-cocoon-child-master .logo-image{
  padding:0 !important;
  margin:0 auto !important;
  text-align:center;
  width:100%;
}
body.wp-child-theme-cocoon-child-master .site-name,
body.wp-child-theme-cocoon-child-master .site-name-text-link{
  color:#fff !important;
  display:block !important;
  text-align:center;
  width:100%;
}
body.wp-child-theme-cocoon-child-master .site-name-text{
  color:#fff !important;
  display:block !important;
  font-weight:500;
  letter-spacing:0 !important;
  text-indent:0 !important;
  font-size:inherit !important;
  line-height:1 !important;
  text-shadow:none !important;
  background:none !important;
  position:relative;
}

/* Hide the photo logo entirely (per design: modern text-only main visual) */
body.wp-child-theme-cocoon-child-master .header-site-logo-image,
body.wp-child-theme-cocoon-child-master .site-logo-image{
  display:none !important;
}

/* Hide Cocoon's empty tagline slot */
body.wp-child-theme-cocoon-child-master .tagline,
body.wp-child-theme-cocoon-child-master .header-container .tagline{
  display:none !important;
}

/* MAIN TITLE — rendered via ::before on the site-name-text span */
body.wp-child-theme-cocoon-child-master .site-name-text::before{
  content:"市役所EXIT";
  display:block;
  font-family:"Hiragino Mincho ProN","Yu Mincho","Noto Serif JP",serif;
  font-size:58px;
  font-weight:500;
  color:#fff;
  letter-spacing:.18em;
  text-align:center;
  line-height:1;
  padding:0 0 34px;
  text-indent:.18em;
}
/* SUBTITLE — rendered via ::after on the site-name-text span */
body.wp-child-theme-cocoon-child-master .site-name-text::after{
  content:"30代・市役所勤続15年。\A「安定」を手放した者の、記録と考察。";
  display:block;
  white-space:pre-line;
  font-family:var(--ce-font-sans);
  font-size:13px;
  color:var(--ce-text-light);
  letter-spacing:.1em;
  text-align:center;
  line-height:2;
  opacity:.85;
  font-weight:400;
}

/* Bottom decorative line inside hero */
body.wp-child-theme-cocoon-child-master .logo-header::after,
body.wp-child-theme-cocoon-child-master .logo-image::after{
  content:"";
  display:block;
  width:40px;
  height:1px;
  background:var(--ce-gold);
  opacity:.55;
  margin:36px auto 0;
}

/* ============ NAVIGATION BAR MODERNIZATION ============ */

body.wp-child-theme-cocoon-child-master .navi{
  background:#0F1B36 !important;
  border:none !important;
  border-top:.5px solid rgba(255,255,255,.08) !important;
  border-bottom:.5px solid rgba(255,255,255,.08) !important;
}
body.wp-child-theme-cocoon-child-master .navi-in{
  background:transparent !important;
  text-align:center;
}
body.wp-child-theme-cocoon-child-master .menu-header,
body.wp-child-theme-cocoon-child-master .menu-pc{
  justify-content:center !important;
  display:flex !important;
  flex-wrap:wrap;
  gap:0;
}
body.wp-child-theme-cocoon-child-master .menu-header > li,
body.wp-child-theme-cocoon-child-master .menu-header .menu-item{
  background:transparent !important;
  border:none !important;
}
body.wp-child-theme-cocoon-child-master .menu-header > .menu-item,
body.wp-child-theme-cocoon-child-master .menu-pc > .menu-item{
  max-width:none !important;
  width:auto !important;
  overflow:visible !important;
}
body.wp-child-theme-cocoon-child-master .menu-header > .menu-item > a,
body.wp-child-theme-cocoon-child-master .menu-pc > .menu-item > a{
  color:var(--ce-text-light) !important;
  background:transparent !important;
  border:none !important;
  font-size:12px !important;
  letter-spacing:.08em !important;
  padding:16px 18px !important;
  transition:color .2s, background .2s;
  position:relative;
  white-space:nowrap !important;
  overflow:visible !important;
  text-overflow:clip !important;
  max-width:none !important;
}
body.wp-child-theme-cocoon-child-master .menu-header .caption-wrap,
body.wp-child-theme-cocoon-child-master .menu-pc .caption-wrap,
body.wp-child-theme-cocoon-child-master .menu-header .item-label,
body.wp-child-theme-cocoon-child-master .menu-pc .item-label{
  max-width:none !important;
  width:auto !important;
  overflow:visible !important;
  text-overflow:clip !important;
  white-space:nowrap !important;
}
body.wp-child-theme-cocoon-child-master .menu-header > .menu-item > a:hover,
body.wp-child-theme-cocoon-child-master .menu-pc > .menu-item > a:hover,
body.wp-child-theme-cocoon-child-master .menu-header > .menu-item.current-menu-item > a{
  color:var(--ce-gold) !important;
  background:rgba(201,169,97,.05) !important;
}
body.wp-child-theme-cocoon-child-master .menu-header > .menu-item > a .item-label,
body.wp-child-theme-cocoon-child-master .menu-pc > .menu-item > a .item-label{
  color:inherit !important;
}
body.wp-child-theme-cocoon-child-master .menu-header > .menu-item > a::after{
  content:"";
  position:absolute;
  left:50%;
  right:50%;
  bottom:10px;
  height:1px;
  background:var(--ce-gold);
  transition:left .2s, right .2s;
}
body.wp-child-theme-cocoon-child-master .menu-header > .menu-item:hover > a::after,
body.wp-child-theme-cocoon-child-master .menu-header > .menu-item.current-menu-item > a::after{
  left:22px;
  right:22px;
}

/* (Menu separator dots removed to avoid Cocoon style conflicts — hover underline is the separator) */

/* Mobile */
@media (max-width:768px){
  body.wp-child-theme-cocoon-child-master .header-container{
    min-height:360px;
  }
  body.wp-child-theme-cocoon-child-master .header-container-in::before{
    font-size:9px !important;
    letter-spacing:3.5px !important;
    padding:10px 0 6px !important;
  }
  body.wp-child-theme-cocoon-child-master .site-name-text::before{
    font-size:36px !important;
    letter-spacing:.14em !important;
    padding:0 0 22px !important;
  }
  body.wp-child-theme-cocoon-child-master .site-name-text::after{
    font-size:11px !important;
    letter-spacing:.06em !important;
    padding:0 20px !important;
  }
  body.wp-child-theme-cocoon-child-master .logo-header::after,
  body.wp-child-theme-cocoon-child-master .logo-image::after{
    margin:24px auto 0 !important;
  }
  body.wp-child-theme-cocoon-child-master .header-in::before,
  body.wp-child-theme-cocoon-child-master #header-in::before{
    margin:0 auto 24px !important;
    width:40px !important;
  }
  body.wp-child-theme-cocoon-child-master .menu-header > .menu-item > a,
  body.wp-child-theme-cocoon-child-master .menu-pc > .menu-item > a{
    padding:12px 10px !important;
    font-size:11px !important;
    letter-spacing:.05em !important;
  }
}
@media (max-width:480px){
  body.wp-child-theme-cocoon-child-master .site-name-text::before{
    font-size:30px !important;
    letter-spacing:.12em !important;
  }
}

/* ============ HOMEPAGE CATEGORY SECTIONS ============ */

body.wp-child-theme-cocoon-child-master.home .ce-home-sections,
body.wp-child-theme-cocoon-child-master.front-top-page .ce-home-sections{
  max-width:1100px;
  margin:0 auto;
  padding:56px 24px 24px;
}

.ce-home-section{
  margin:0 0 80px;
}
.ce-home-section:last-child{
  margin-bottom:48px;
}

.ce-home-sec-head{
  display:flex;
  align-items:flex-end;
  justify-content:space-between;
  border-bottom:1px solid var(--ce-navy);
  padding-bottom:10px;
  margin-bottom:28px;
  gap:12px;
}
.ce-home-sec-lbl{
  display:flex;
  align-items:baseline;
  gap:14px;
  flex-wrap:wrap;
}
.ce-home-sec-lbl .ce-eyebrow{
  font-size:11px;
  letter-spacing:2px;
  color:var(--ce-gold) !important;
  font-weight:500;
}
.ce-home-sec-title{
  font-size:22px !important;
  font-weight:500 !important;
  color:var(--ce-navy) !important;
  margin:0 !important;
  padding:0 !important;
  border:none !important;
  background:none !important;
  line-height:1.4;
  letter-spacing:.02em;
}
.ce-home-sec-more{
  font-size:12px;
  color:var(--ce-text-sub) !important;
  text-decoration:none;
  letter-spacing:1px;
  white-space:nowrap;
  padding-bottom:2px;
}
.ce-home-sec-more:hover{
  color:var(--ce-gold-dark) !important;
}

/* LATEST grid */
.ce-home-latest-grid{
  display:grid;
  grid-template-columns:repeat(3,1fr);
  gap:18px;
}
@media (max-width:768px){
  .ce-home-latest-grid{ grid-template-columns:1fr; }
}

.ce-home-latest-card{
  background:var(--ce-cream);
  border:.5px solid var(--ce-border);
  border-radius:6px;
  overflow:hidden;
  transition:transform .2s, border-color .2s, background .2s;
}
.ce-home-latest-card:hover{
  transform:translateY(-2px);
  border-color:var(--ce-gold);
  background:var(--ce-cream-deep);
}
.ce-home-card-link{
  display:block;
  text-decoration:none !important;
  color:inherit !important;
}
.ce-home-card-thumb{
  position:relative;
  aspect-ratio:16/10;
  overflow:hidden;
  background:var(--ce-navy);
}
.ce-home-card-thumb img{
  width:100% !important;
  height:100% !important;
  object-fit:cover;
  display:block;
  margin:0 !important;
  border-radius:0 !important;
}
.ce-home-card-ph{
  position:absolute;
  inset:0;
  background:linear-gradient(135deg,#1B2A4E 0%,#2D4373 100%);
}
.ce-home-card-ph.ce-cat-money-family{ background:linear-gradient(135deg,#4A3520 0%,#6B5238 100%); }
.ce-home-card-ph.ce-cat-experience{ background:linear-gradient(135deg,#5C2D3E 0%,#804254 100%); }
.ce-home-card-ph.ce-cat-documents-interview{ background:linear-gradient(135deg,#1B2A4E 0%,#2D4373 100%); }
.ce-home-card-ph.ce-cat-industry{ background:linear-gradient(135deg,#2D4A3E 0%,#406856 100%); }
.ce-home-card-ph.ce-cat-preparation{ background:linear-gradient(135deg,#3D3A1F 0%,#5C5530 100%); }

.ce-home-card-cat{
  position:absolute;
  top:10px;
  left:10px;
  background:var(--ce-gold);
  color:var(--ce-navy);
  padding:3px 10px;
  font-size:10px;
  font-weight:500;
  border-radius:2px;
  letter-spacing:.5px;
}
.ce-home-card-badge{
  position:absolute;
  top:10px;
  left:10px;
  background:var(--ce-navy);
  color:var(--ce-gold);
  padding:3px 10px;
  font-size:10px;
  font-weight:500;
  border-radius:2px;
  letter-spacing:2px;
}
.ce-home-card-body{
  padding:14px 16px 16px;
}
.ce-home-card-title{
  font-size:14px !important;
  font-weight:500 !important;
  line-height:1.5 !important;
  color:var(--ce-navy) !important;
  margin:0 0 10px !important;
  padding:0 !important;
  border:none !important;
  background:none !important;
}
.ce-home-card-meta{
  font-size:11px;
  color:var(--ce-text-mute);
  letter-spacing:.5px;
}

/* Per-category grid */
.ce-home-cat-grid{
  display:grid;
  grid-template-columns:1.5fr 1fr 1fr;
  gap:18px;
}
@media (max-width:768px){
  .ce-home-cat-grid{ grid-template-columns:1fr; }
}

.ce-home-cat-feat{
  background:var(--ce-cream);
  border:.5px solid var(--ce-border);
  border-left:3px solid var(--ce-gold);
  border-radius:6px;
  overflow:hidden;
  transition:transform .2s, border-color .2s, background .2s;
  display:flex;
  flex-direction:column;
}
.ce-home-cat-feat:hover{
  transform:translateY(-2px);
  border-color:var(--ce-gold);
  border-left-color:var(--ce-gold-dark);
  background:var(--ce-cream-deep);
}
.ce-home-cat-feat .ce-home-card-link{
  display:flex;
  flex-direction:column;
  height:100%;
}
.ce-home-cat-feat .ce-home-card-thumb{
  aspect-ratio:16/9;
}
.ce-home-feat-body{
  padding:18px 20px 20px;
  flex:1;
  display:flex;
  flex-direction:column;
}
.ce-home-feat-meta{
  font-size:10px;
  color:var(--ce-text-mute);
  margin-bottom:10px;
  letter-spacing:1px;
}
.ce-home-feat-title{
  font-size:16px !important;
  font-weight:500 !important;
  line-height:1.5 !important;
  color:var(--ce-navy) !important;
  margin:0 0 12px !important;
  padding:0 !important;
  border:none !important;
  background:none !important;
}
.ce-home-feat-excerpt{
  font-size:12px !important;
  color:var(--ce-text-sub) !important;
  line-height:1.7 !important;
  margin:0 !important;
}

.ce-home-cat-sub{
  background:var(--ce-cream);
  border:.5px solid var(--ce-border);
  border-radius:6px;
  overflow:hidden;
  transition:transform .2s, border-color .2s, background .2s;
  display:flex;
  flex-direction:column;
}
.ce-home-cat-sub:hover{
  transform:translateY(-2px);
  border-color:var(--ce-gold);
  background:var(--ce-cream-deep);
}
.ce-home-cat-sub .ce-home-card-link{
  display:flex;
  flex-direction:column;
  height:100%;
}
.ce-home-cat-sub .ce-home-card-thumb{
  aspect-ratio:16/10;
}
.ce-home-sub-body{
  padding:14px 16px 16px;
  flex:1;
}
.ce-home-sub-meta{
  font-size:10px;
  color:var(--ce-text-mute);
  margin-bottom:8px;
  letter-spacing:.5px;
}
.ce-home-sub-title{
  font-size:13px !important;
  font-weight:500 !important;
  line-height:1.5 !important;
  color:var(--ce-navy) !important;
  margin:0 !important;
  padding:0 !important;
  border:none !important;
  background:none !important;
}

/* Hide Cocoon default homepage loop + next-page button */
body.wp-child-theme-cocoon-child-master.home .main > .list.ect-entry-card,
body.wp-child-theme-cocoon-child-master.home .main > .front-page-type-index,
body.wp-child-theme-cocoon-child-master.home #main > .list,
body.wp-child-theme-cocoon-child-master.home #main > .pagination,
body.wp-child-theme-cocoon-child-master.home .main > .pagination,
body.wp-child-theme-cocoon-child-master.home .pagination-next,
body.wp-child-theme-cocoon-child-master.home .main .pagination-next,
body.wp-child-theme-cocoon-child-master.home #main .pagination-next{
  display:none !important;
}

/* Hide the v2 main::before eyebrow (replaced by proper header modernization) */
body.wp-child-theme-cocoon-child-master.home .main::before,
body.wp-child-theme-cocoon-child-master.home #main::before{
  content:none !important;
  display:none !important;
}

/* === CITYHALL-EXIT DESIGN PACK v1 END === */
