@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:"市役所ひとすじ15年以上。30代で外に出ました。\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;
}
@media screen and (min-width: 1024px){
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 === */

/* ===== Ad Disclosure Above Title (2026-05-16) ===== */
.entry-header .entry-title {
  position: relative;
}
.entry-title .ad-disclosure-above-title {
  display: inline-block;
  position: absolute;
  top: -2.2em;
  right: 0;
  font-size: 15px;
  color: #888;
  font-weight: 400;
  letter-spacing: 0.02em;
  background: transparent;
  padding: 0;
  margin: 0;
  z-index: 5;
  white-space: nowrap;
  font-family: "Hiragino Sans","Noto Sans JP",sans-serif;
  line-height: 1.5;
}
@media screen and (max-width: 767px) {
  .entry-title .ad-disclosure-above-title {
    font-size: 15px;
    top: -2em;
    right: 4px;
  }
}
/* ===== Ad Disclosure Above Title END ===== */

/* ===== JS-injected Table Wrap (2026-05-16) ===== */
.cityhall-table-wrap {
  max-width: 100%;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  margin: 28px 0 36px;
}
body.wp-child-theme-cocoon-child-master .cityhall-table-wrap table {
  width: max-content !important;
  min-width: 100% !important;
  max-width: none !important;
  table-layout: auto !important;
  margin: 0 !important;
}
@media screen and (max-width: 767px) {
  .cityhall-table-wrap {
    margin: 20px 0 28px;
  }
}
/* ===== JS-injected Table Wrap END ===== */
/* ===== Table Display Fix v2 (2026-05-16) ===== */
/* 詳細度を既存ルール(figure.wp-block-table付き)と同等以上に揃えるため、
   全セレクタに figure.wp-block-table を明示。同セレクタの後出しで上書きが勝つ */
body.wp-child-theme-cocoon-child-master .entry-content figure.wp-block-table table.has-fixed-layout,
body.wp-child-theme-cocoon-child-master .entry-content table.has-fixed-layout {
  table-layout: auto !important;
}

/* 1列目の固定幅140px・nowrap を確実に解除 */
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 figure.wp-block-table th:first-child,
body.wp-child-theme-cocoon-child-master .entry-content figure.wp-block-table tr td:first-child,
body.wp-child-theme-cocoon-child-master .entry-content figure.wp-block-table tr th: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 .wp-block-table th:first-child,
body.wp-child-theme-cocoon-child-master .entry-content table td:first-child,
body.wp-child-theme-cocoon-child-master .entry-content table th:first-child {
  width: auto !important;
  min-width: 0 !important;
  max-width: none !important;
  white-space: normal !important;
  word-break: break-word !important;
  overflow-wrap: anywhere !important;
  background: var(--ce-cream) !important;
}

/* セル全般のオーバーフロー対策 */
body.wp-child-theme-cocoon-child-master .entry-content figure.wp-block-table td,
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 td,
body.wp-child-theme-cocoon-child-master .entry-content .wp-block-table th,
body.wp-child-theme-cocoon-child-master .entry-content table td,
body.wp-child-theme-cocoon-child-master .entry-content table th {
  word-break: break-word !important;
  overflow-wrap: anywhere !important;
  white-space: normal !important;
}

/* スマホ：横スクロール対応 + 文字サイズ調整 */
@media screen and (max-width: 767px) {
  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 {
    overflow-x: auto !important;
    -webkit-overflow-scrolling: touch !important;
    max-width: 100% !important;
  }
  body.wp-child-theme-cocoon-child-master .entry-content > table {
    display: block !important;
    overflow-x: auto !important;
    -webkit-overflow-scrolling: touch !important;
    max-width: 100% !important;
  }
  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 {
    table-layout: auto !important;
    width: max-content !important;
    min-width: 100% !important;
    max-width: none !important;
  }
  body.wp-child-theme-cocoon-child-master .entry-content figure.wp-block-table td,
  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 td,
  body.wp-child-theme-cocoon-child-master .entry-content .wp-block-table th,
  body.wp-child-theme-cocoon-child-master .entry-content table td,
  body.wp-child-theme-cocoon-child-master .entry-content table th {
    padding: 10px 8px !important;
    font-size: 12.5px !important;
    line-height: 1.55 !important;
  }
  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 figure.wp-block-table th: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 .wp-block-table th:first-child,
  body.wp-child-theme-cocoon-child-master .entry-content table td:first-child,
  body.wp-child-theme-cocoon-child-master .entry-content table th:first-child {
    font-size: 12px !important;
    padding: 10px 6px !important;
    white-space: normal !important;
    word-break: break-word !important;
    min-width: 90px !important;
    max-width: 220px !important;
  }
  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 {
    display: none !important;
  }
}
/* ===== Table Display Fix v2 END ===== */

/* ---- appended layout fixes 2026-06-10 ---- */
/* === cityhall layout fixes 2026-06-10 (Additional CSS) === */
/* Fix1: homepage category sub-cards were stretched to feat-card height */
.ce-home-cat-grid{align-items:start !important;}
.ce-home-cat-sub{align-self:start !important;}
.ce-home-cat-sub .ce-home-card-link{height:auto !important;}
.ce-home-sub-body{flex:0 0 auto !important;}
/* Fix2: category archive pagination alignment */
body.wp-child-theme-cocoon-child-master .pagination{display:flex;justify-content:center;align-items:center;flex-wrap:wrap;gap:8px;margin:28px 0;}
body.wp-child-theme-cocoon-child-master .pagination .page-numbers{display:inline-flex;align-items:center;justify-content:center;min-width:40px;height:40px;padding:0 12px;margin:0 !important;box-shadow:none !important;box-sizing:border-box;line-height:1;}
/* Fix3: eyecatch image fills the thumb reliably (mobile / device emulation) */
.ce-home-card-thumb{position:relative;}
.ce-home-card-thumb img{position:absolute;inset:0;width:100% !important;height:100% !important;object-fit:cover;display:block;margin:0 !important;}


/* ---- appended font fixes 2026-06-10 ---- */
/* === font size +1px : body text and headings (2026-06-10) === */
/* base body font 15px -> 16px : article body text and relative sizes scale up */
body.wp-child-theme-cocoon-child-master{ font-size:16px; }
/* article content headings +1px (fixed px in Cocoon / custom CSS) */
body.wp-child-theme-cocoon-child-master .entry-content h2{ font-size:25px; }
body.wp-child-theme-cocoon-child-master .entry-content h3{ font-size:21px; }
body.wp-child-theme-cocoon-child-master .entry-content h4{ font-size:21px; }
/* mobile (<=768px) headings +1px to match the existing reduced sizes */
@media screen and (max-width:768px){
  body.wp-child-theme-cocoon-child-master .entry-content h2{ font-size:20px; }
  body.wp-child-theme-cocoon-child-master .entry-content h3{ font-size:17px; }
}


/* ---- appended #2 (font+footer) 2026-06-10 ---- */
/* === font +1px more & remove mobile footer (2026-06-10 #2) === */
/* body 16 -> 17 : article body text and TOC (inherits) and relative sizes */
body.wp-child-theme-cocoon-child-master{ font-size:17px; }
/* article content headings +1 more */
body.wp-child-theme-cocoon-child-master .entry-content h2{ font-size:26px; }
body.wp-child-theme-cocoon-child-master .entry-content h3{ font-size:22px; }
body.wp-child-theme-cocoon-child-master .entry-content h4{ font-size:22px; }
@media screen and (max-width:768px){
  body.wp-child-theme-cocoon-child-master .entry-content h2{ font-size:21px; }
  body.wp-child-theme-cocoon-child-master .entry-content h3{ font-size:18px; }
}
/* remove fixed mobile footer (following bottom menu) */
.mobile-menu-buttons,
.mobile-footer-menu-buttons{ display:none !important; }
body.mblt-footer-mobile-buttons #container,
body.mobile-button-fmb #container,
body.mblt-footer-mobile-buttons #footer,
body.mobile-button-fmb #footer{ padding-bottom:0 !important; }


/* cityhall-heading-fix: remove yellow border on H3-H6 headings */
.article h3,
.article h4,
.article h5,
.article h6 { border: none !important; padding-left: 0 !important; }

/* ===== 譛ｬ譁・き繝ｩ繝蟷・・諡｡螟ｧ (user request 2026-06): widen main reading column ===== */
@media screen and (min-width:1200px){
  .wrap{ width:min(1560px, 94vw) !important; }
  .main{ width:76% !important; }
  .sidebar{ width:21% !important; }
}

/* ============ v9 (2026-06-16): Sidebar width + dropdown submenu ============ */

/* --- Wider sidebar on desktop (was Cocoon default ~25%) --- */
@media screen and (min-width:1024px){
  body.wp-child-theme-cocoon-child-master #main,
  body.wp-child-theme-cocoon-child-master .main{ width:66.5% !important; }
  body.wp-child-theme-cocoon-child-master #sidebar,
  body.wp-child-theme-cocoon-child-master .sidebar{ width:30.5% !important; }
}

/* --- Dropdown submenu -> navy + gold (replaces pale cream default) --- */
body.wp-child-theme-cocoon-child-master #navi .sub-menu,
body.wp-child-theme-cocoon-child-master .navi-in .sub-menu,
body.wp-child-theme-cocoon-child-master .menu-header .sub-menu,
body.wp-child-theme-cocoon-child-master .menu-pc .sub-menu{
  background:#13233f !important;
  border:none !important;
  border-top:2px solid var(--ce-gold) !important;
  border-radius:0 0 10px 10px !important;
  box-shadow:0 16px 32px rgba(10,18,38,.32) !important;
  padding:6px 0 !important;
  min-width:238px !important;
  overflow:hidden !important;
}
body.wp-child-theme-cocoon-child-master #navi .sub-menu .menu-item,
body.wp-child-theme-cocoon-child-master .navi-in .sub-menu .menu-item,
body.wp-child-theme-cocoon-child-master .menu-header .sub-menu .menu-item,
body.wp-child-theme-cocoon-child-master .menu-pc .sub-menu .menu-item{
  background:transparent !important;
  border:none !important;
  width:100% !important;
  max-width:none !important;
}
body.wp-child-theme-cocoon-child-master #navi .sub-menu .menu-item > a,
body.wp-child-theme-cocoon-child-master .navi-in .sub-menu .menu-item > a,
body.wp-child-theme-cocoon-child-master .menu-header .sub-menu .menu-item > a,
body.wp-child-theme-cocoon-child-master .menu-pc .sub-menu .menu-item > a{
  color:var(--ce-text-light) !important;
  background:transparent !important;
  border:none !important;
  border-left:3px solid transparent !important;
  font-size:13px !important;
  letter-spacing:.02em !important;
  line-height:1.5 !important;
  padding:12px 22px !important;
  text-align:left !important;
  white-space:nowrap !important;
  transition:background .18s ease, color .18s ease, border-color .18s ease;
}
body.wp-child-theme-cocoon-child-master #navi .sub-menu .menu-item > a:hover,
body.wp-child-theme-cocoon-child-master .navi-in .sub-menu .menu-item > a:hover,
body.wp-child-theme-cocoon-child-master .menu-header .sub-menu .menu-item > a:hover,
body.wp-child-theme-cocoon-child-master .menu-pc .sub-menu .menu-item > a:hover{
  background:rgba(201,169,97,.13) !important;
  color:var(--ce-gold) !important;
  border-left:3px solid var(--ce-gold) !important;
}
body.wp-child-theme-cocoon-child-master #navi .sub-menu .item-label,
body.wp-child-theme-cocoon-child-master .navi-in .sub-menu .item-label,
body.wp-child-theme-cocoon-child-master .menu-header .sub-menu .item-label,
body.wp-child-theme-cocoon-child-master .menu-pc .sub-menu .item-label{
  color:inherit !important;
  white-space:nowrap !important;
}
/* ============ v9 END ============ */


/* ============ v10 (2026-06-16): hero btn text + guide pillar intro/meta ============ */

/* (1) Hero buttons: keep text readable (global a{color:navy} was overriding) */
body.wp-child-theme-cocoon-child-master .ce-top-hero a.ce-top-hero-btn-1,
body.wp-child-theme-cocoon-child-master .ce-top-hero a.ce-top-hero-btn-1:hover{ color:#11233f !important; }
body.wp-child-theme-cocoon-child-master .ce-top-hero a.ce-top-hero-btn-2,
body.wp-child-theme-cocoon-child-master .ce-top-hero a.ce-top-hero-btn-2:hover{ color:#ffffff !important; }

/* (2) Guide pillar lead intro -> left aligned (was centered) */
.page-id-526 .pillar-lead-intro{ text-align:left !important; }

/* (3) Guide pillar meta -> navy + gold stat bar (was pale blue box) */
.page-id-526 .pillar-meta{
  display:flex !important;
  justify-content:space-around !important;
  flex-wrap:wrap !important;
  gap:12px 8px !important;
  margin:0 0 2.2em !important;
  padding:20px 16px !important;
  background:linear-gradient(135deg,#13233f 0%,#1f3a64 100%) !important;
  border:none !important;
  border-radius:12px !important;
  box-shadow:0 8px 22px rgba(15,27,54,.16) !important;
  color:#cdd8ea !important;
}
.page-id-526 .pillar-meta span{
  white-space:nowrap !important;
  text-align:center !important;
  display:flex !important;
  flex-direction:column !important;
  align-items:center !important;
  gap:3px !important;
  flex:1 1 auto !important;
  min-width:108px !important;
  color:#cdd8ea !important;
  font-size:.82em !important;
  letter-spacing:.02em !important;
}
.page-id-526 .pillar-meta b{
  display:block !important;
  color:var(--ce-gold,#C9A961) !important;
  font-weight:800 !important;
  font-size:1.7em !important;
  line-height:1.1 !important;
  margin:0 !important;
}
/* ============ v10 END ============ */

/* 2026-07-25: H3見出し内のstrong/marker-underに本文用の黄色マーカーを適用しない（見出しと本文強調の重複解消） */
.entry-content h3 strong,
.entry-content h3 .marker-under {
  background-image: none;
}

/* 2026-07-25: H2見出し内のstrong/marker-underにも本文用マーカーを適用しない（テーマ側の除去挙動が変わった場合の保険） */
.entry-content h2 strong,
.entry-content h2 .marker-under {
  background-image: none;
}


/* MV subtitle: narrow phone fit 20260730 */
/* 幅の狭い端末（〜400px）でサブコピーが右端で切れないよう、文字サイズと字間を詰める */
@media (max-width:374px){
  body.wp-child-theme-cocoon-child-master .site-name-text::after{
    font-size:10px !important;
    letter-spacing:.01em !important;
    padding:0 10px !important;
  }
}

/* ===== 転職エージェント記事(389)のアフィリCTAデザイン改善（このページのみ・2026-08-01） ===== */
.postid-389 .blank-box.bb-blue{
  border:1px solid #dce4ee;
  border-top:3px solid #023c70;
  border-radius:12px;
  background:linear-gradient(180deg,#fbfdff 0%,#f3f7fc 100%);
  box-shadow:0 2px 10px rgba(2,60,112,.07);
  padding:22px 20px 18px;
  margin:30px 0;
}
.postid-389 .blank-box.bb-blue p{ margin:0 0 10px; }
.postid-389 .blank-box.bb-blue p:last-child{ margin-bottom:0; }

/* CTAリンクをボタン化 */
.postid-389 a.aff-cta{
  display:block;
  max-width:480px;
  margin:6px auto 12px;
  padding:15px 24px;
  background:linear-gradient(180deg,#0b569b 0%,#023c70 100%);
  color:#fff !important;
  font-weight:700;
  font-size:16px;
  line-height:1.55;
  text-align:center;
  text-decoration:none !important;
  border-radius:999px;
  box-shadow:0 4px 12px rgba(2,60,112,.26);
  transition:transform .15s ease, box-shadow .15s ease, opacity .15s ease;
}
.postid-389 a.aff-cta:hover,
.postid-389 a.aff-cta:focus,
.postid-389 a.aff-cta:active{
  color:#fff !important;
  text-decoration:none !important;
  transform:translateY(2px);
  box-shadow:0 1px 4px rgba(2,60,112,.28);
  opacity:.97;
}
.postid-389 a.aff-cta::after{
  content:"\203A";
  margin-left:.5em;
}
.postid-389 a.aff-cta:focus-visible{
  outline:3px solid #8ab4e8;
  outline-offset:3px;
}

/* ボタン直後の余分な改行を整理 */
.postid-389 .blank-box.bb-blue a.aff-cta + br{ display:none; }

/* 注記は控えめに（コントラスト4.5:1以上を確保） */
.postid-389 .blank-box.bb-blue small,
.postid-389 table.michiru-service-table small{
  color:#57606f;
  font-size:12.5px;
  line-height:1.8;
}
/* チップの視認性はチップ規則が優先される（セレクタ詳細度で担保） */

@media (max-width:767px){
  .postid-389 .blank-box.bb-blue{ padding:18px 14px 14px; }
  .postid-389 a.aff-cta{ font-size:15px; padding:14px 18px; }
}

/* 広告リンク入りの比較表（michiru-service-table）はカード型に変換（列が多く表のままでは収まらないため） */
/* 見出し行は視覚のみ非表示（スクリーンリーダーには残す） */
.postid-389 table.michiru-service-table thead{
  position:absolute;
  width:1px;
  height:1px;
  overflow:hidden;
  clip:rect(0 0 0 0);
  clip-path:inset(50%);
  white-space:nowrap;
}
.postid-389 table.michiru-service-table,
.postid-389 table.michiru-service-table tbody,
.postid-389 table.michiru-service-table tr,
.postid-389 table.michiru-service-table td{
  display:block;
  width:100%;
  border:none;
}
.postid-389 table.michiru-service-table{ margin:1.6em 0; white-space:normal; }
/* 既存の .cityhall-table-wrap table { width:max-content !important } をこの表だけ打ち消す */
body.wp-child-theme-cocoon-child-master.postid-389 .cityhall-table-wrap table.michiru-service-table{
  width:100% !important;
  min-width:0 !important;
  max-width:100% !important;
}
.postid-389 .cityhall-table-wrap:has(table.michiru-service-table){ overflow-x:visible; }
/* CocoonのテーブルスクロールJSが付けるラッパー(.scrollable-table)のnowrapを打ち消す */
.postid-389 .scrollable-table:has(table.michiru-service-table){
  white-space:normal;
  overflow:visible;
}
.postid-389 table.michiru-service-table th,
.postid-389 table.michiru-service-table td{ white-space:normal; }
.postid-389 table.michiru-service-table tr{
  border:1px solid #dce4ee;
  border-top:3px solid #023c70;
  border-radius:12px;
  background:linear-gradient(180deg,#fbfdff 0%,#f3f7fc 100%);
  box-shadow:0 2px 10px rgba(2,60,112,.07);
  margin:0 0 16px;
  padding:16px 18px;
}
.postid-389 table.michiru-service-table td{
  padding:4px 0;
  text-align:left;
  background:none;
}
.postid-389 table.michiru-service-table td:first-child{
  color:#023c70;
  font-size:17px;
  padding-bottom:2px;
}
.postid-389 table.michiru-service-table a.aff-cta{
  display:block;
  max-width:440px;
  margin:10px auto;
  padding:13px 20px;
  font-size:15px;
  border-radius:999px;
  box-shadow:0 4px 12px rgba(2,60,112,.26);
}
.postid-389 table.michiru-service-table a.aff-cta + br{ display:none; }

/* =========================================================================
   CITYHALL-EXIT DESIGN PACK v3 (2026-09-05)
   構造の参照元：サイボウズ式（レイアウト・余白・文字階調の実測値のみ採用）
   ・先方のCSS/ロゴ/画像/ブランド色は使用しない
   ・配色は既存の紺 #1B2A4E ＋ 金 #C9A961 を維持（アイキャッチ約100本と整合させるため）
   ・既存ルールが body.wp-child-theme-cocoon-child-master + !important で書かれているため
     同等以上の詳細度で上書きする
   ========================================================================= */

:root{
  --cz-bg:#EDF1F6;          /* ページ背景（淡いブルーグレー） */
  --cz-card:#FFFFFF;        /* カード */
  --cz-ink:#1E2833;         /* 本文 */
  --cz-ink-sub:#5B6673;     /* 補助テキスト */
  --cz-navy:#1B2A4E;        /* ブランド（既存） */
  --cz-link:#2F5A8C;        /* 本文リンク */
  --cz-line:#DDE3EA;        /* 罫線 */
  --cz-line-soft:rgba(0,0,0,.1);
  --cz-lead:#F1F4F8;        /* リード文ボックス */
  --cz-gold:#C9A961;        /* 既存アクセント（限定使用） */
  --cz-body-size:16px;      /* 本文サイズ（参照元の実測値に合わせた） */
  --cz-line-height:1.7;     /* 参照元 23.8px/14px = 1.7 */
  --cz-wrap:990px;          /* コンテンツ最大幅 */
  --cz-card-pad-x:160px;    /* カード左右padding（参照元 50px 160px 60px → 本文幅約630px） */
  /* ヘッダーは position:sticky にしたので高さの定数は持たない
     （定数を置くと、ナビが折り返したときに本文と重なる） */
}

/* ===== 1. ベース =====
   注意：Cocoonは #container / #content / #main / #sidebar / #navi / #header / #footer と
   IDを振っている。IDセレクタ(1,0,0)にクラスだけの指定は負けるので、
   レイアウト系は必ず `html body.xxx #id` の形（1,1,2）で書くこと。 */
html body.wp-child-theme-cocoon-child-master,
html body.wp-child-theme-cocoon-child-master .body,
html body.wp-child-theme-cocoon-child-master #container,
html body.wp-child-theme-cocoon-child-master .container{
  background:var(--cz-bg) !important;
  color:var(--cz-ink) !important;
}
html body.wp-child-theme-cocoon-child-master #content,
html body.wp-child-theme-cocoon-child-master .content,
html body.wp-child-theme-cocoon-child-master #content-in,
html body.wp-child-theme-cocoon-child-master .content-in{
  background:transparent !important;
}

/* ===== 2. ヘッダー（サイト名の差し替えを含む） ===== */
html body.wp-child-theme-cocoon-child-master .header-container{
  background:var(--cz-card) !important;
  border-top:none !important;
  border-bottom:1px solid var(--cz-line) !important;
  box-shadow:none !important;
}
html body.wp-child-theme-cocoon-child-master .header-container-in{
  background:transparent !important;
  border:none !important;
  padding:0 !important;
  min-height:0 !important;
}
/* 旧「ELITE EXIT JOURNAL」を消す */
body.wp-child-theme-cocoon-child-master .header-container-in::before{
  content:none !important;
  display:none !important;
}
html body.wp-child-theme-cocoon-child-master #header,
html body.wp-child-theme-cocoon-child-master #header-in,
html body.wp-child-theme-cocoon-child-master .header,
html body.wp-child-theme-cocoon-child-master .header-in{
  background:transparent !important;
  min-height:0 !important;
  height:auto !important;
  padding:20px 0 16px !important;
}
html body.wp-child-theme-cocoon-child-master #header-in{
  padding:20px 20px 16px !important;
  max-width:var(--cz-wrap) !important;
  margin:0 auto !important;
}
/* 参照元と同じく、ヘッダー＋ナビを画面上部に固定する（PCのみ）。
   スマホはCocoonのモバイルメニューと競合するので固定しない。 */
@media screen and (min-width:1024px){
  /* ⚠ position:fixed + #container{padding-top:定数} は、ナビが2段に折り返した瞬間
     （ブラウザ拡大・1024px付近・メニュー追加）に本文へ重なる。
     sticky なら通常フローに残るので高さ定数が不要で、折り返しても破綻しない。 */
  html body.wp-child-theme-cocoon-child-master #header-container,
  html body.wp-child-theme-cocoon-child-master .header-container{
    position:sticky !important;
    top:0 !important; left:auto !important; right:auto !important;
    z-index:9999 !important;
  }
  /* ナビは折り返さない（折り返すと見た目が崩れるため縮める） */
  html body.wp-child-theme-cocoon-child-master #navi-in > ul.menu-pc{
    flex-wrap:nowrap !important;
  }
  /* ⚠ ヘッダーが追従するので、目次リンクで飛ぶと見出しがヘッダーの裏に隠れる。
     スクロール停止位置をヘッダーの高さぶん手前にずらす。 */
  html{ scroll-padding-top:245px !important; }
  /* ナビは #header-container の中にあるので、個別に固定してはいけない。
     個別に fixed にすると親の高さから抜けて、本文との重なり計算が壊れる。 */
  html body.wp-child-theme-cocoon-child-master #header-container #navi,
  html body.wp-child-theme-cocoon-child-master #header-container .navi{
    position:static !important;
  }
}
/* ヘッダー内のロゴ画像は隠したまま（既存踏襲） */
body.wp-child-theme-cocoon-child-master .header-container .site-logo-image,
body.wp-child-theme-cocoon-child-master .header-container .header-site-logo-image{
  display:none !important;
}
/* サイト名（疑似要素で描画） */
body.wp-child-theme-cocoon-child-master .header-container .site-name-text::before{
  content:"30代市役所からの転職体験記ブログ" !important;
  display:block !important;
  font-family:"Noto Sans JP",sans-serif !important;
  font-size:32px !important;
  font-weight:700 !important;
  color:var(--cz-navy) !important;
  letter-spacing:.04em !important;
  text-align:center !important;
  line-height:1.45 !important;
  padding:0 0 8px !important;
  text-indent:0 !important;
}
/* キャッチコピー（1行に圧縮） */
body.wp-child-theme-cocoon-child-master .header-container .site-name-text::after{
  content:"市役所ひとすじ15年以上。30代で外に出た私の実体験を書いています。" !important;
  display:block !important;
  white-space:normal !important;
  font-family:"Noto Sans JP",sans-serif !important;
  font-size:15px !important;
  font-weight:400 !important;
  color:var(--cz-ink-sub) !important;
  letter-spacing:.02em !important;
  text-align:center !important;
  line-height:1.7 !important;
  opacity:1 !important;
  padding:0 !important;
}
/* 旧・金の飾り線を消す（ヘッダー側のみ。フッターは触らない） */
body.wp-child-theme-cocoon-child-master .header-container .logo-header::after,
body.wp-child-theme-cocoon-child-master .header-container .logo-image::after{
  content:none !important;
  display:none !important;
}

/* ===== 2b. 旧デザインの装飾を無効化 =====
   既存CSSに残る金のヘアライン・英字ラベル・cream背景を止める。
   ルールごと消せないので、疑似要素は content:none + display:none で殺す。 */
html body.wp-child-theme-cocoon-child-master #header-container,
html body.wp-child-theme-cocoon-child-master .header-container{
  height:auto !important;
  min-height:0 !important;
  /* ⚠ ここで position を指定しない。後段の固定ヘッダー指定（@media 1024px以上）は
     同じ詳細度なので、ここに position:relative を書くと記述順で負けて固定が効かない。 */
}
html body.wp-child-theme-cocoon-child-master .header-container::before,
html body.wp-child-theme-cocoon-child-master .header-container::after,
html body.wp-child-theme-cocoon-child-master .header-in::before,
html body.wp-child-theme-cocoon-child-master #header-in::before,
html body.wp-child-theme-cocoon-child-master.home .main::before,
html body.wp-child-theme-cocoon-child-master.home #main::before,
html body.wp-child-theme-cocoon-child-master .archive-title::before{
  content:none !important;
  display:none !important;
  background:none !important;
  height:0 !important;
  margin:0 !important;
  padding:0 !important;
  border:none !important;
}
/* 記事本体・著者ボックス・カードの cream 背景を白へ */
html body.wp-child-theme-cocoon-child-master .article,
html body.wp-child-theme-cocoon-child-master article.post,
html body.wp-child-theme-cocoon-child-master article.page,
html body.wp-child-theme-cocoon-child-master .entry-content,
html body.wp-child-theme-cocoon-child-master .post-content{
  background:transparent !important;
  border:none !important;
  box-shadow:none !important;
}
html body.wp-child-theme-cocoon-child-master .author-box{
  background:var(--cz-lead) !important;
  border:1px solid var(--cz-line) !important;
  border-left:1px solid var(--cz-line) !important;
  border-radius:10px !important;
}
/* 箇条書きの囲み枠を外す（参照元は素のリスト） */
html body.wp-child-theme-cocoon-child-master .entry-content ul,
html body.wp-child-theme-cocoon-child-master .entry-content ol{
  background:transparent !important;
  border:none !important;
  border-radius:0 !important;
  padding:0 0 0 1.6em !important;
  margin:0 0 25px !important;
}
html body.wp-child-theme-cocoon-child-master .entry-content li{
  margin:0 0 8px !important;
}
/* 表：金の縦線と明朝を外し、罫線ベースに */
/* ⚠ 既存CSSは figure.wp-block-table 付きの高い詳細度で旧装飾（金の縦線・明朝）を
   当てている。figure 付きも併記しないと、同じ記事内で表の見た目が割れる。 */
html body.wp-child-theme-cocoon-child-master .entry-content figure.wp-block-table td:first-child::before,
html body.wp-child-theme-cocoon-child-master .entry-content .wp-block-table td:first-child::before,
html body.wp-child-theme-cocoon-child-master .entry-content table td:first-child::before{
  content:none !important;
  display:none !important;
}
html body.wp-child-theme-cocoon-child-master .entry-content figure.wp-block-table td:first-child,
html body.wp-child-theme-cocoon-child-master .entry-content .wp-block-table td:first-child,
html body.wp-child-theme-cocoon-child-master .entry-content table td:first-child{
  background:var(--cz-lead) !important;
  font-family:"Noto Sans JP",sans-serif !important;
}
html body.wp-child-theme-cocoon-child-master .entry-content figure.wp-block-table th,
html body.wp-child-theme-cocoon-child-master .entry-content .wp-block-table th,
html body.wp-child-theme-cocoon-child-master .entry-content table th{
  background:var(--cz-lead) !important;
  color:var(--cz-ink) !important;
  font-family:"Noto Sans JP",sans-serif !important;
  font-weight:700 !important;
}
html body.wp-child-theme-cocoon-child-master .entry-content figure.wp-block-table td:not(:first-child) strong,
html body.wp-child-theme-cocoon-child-master .entry-content .wp-block-table td:not(:first-child) strong,
html body.wp-child-theme-cocoon-child-master .entry-content table td:not(:first-child) strong{
  font-family:"Noto Sans JP",sans-serif !important;
  color:var(--cz-ink) !important;
  font-size:16px !important;
}

/* ===== 3. グローバルナビ =====
   ⚠ Cocoonは PC用(ul.menu-pc)と スマホ用(ul.menu-mobile)の2つのulを常に出力する。
   `.navi-in > ul` へ display を !important で当てると両方出て二重になるので、
   display の指定は必ず .menu-pc / .menu-mobile を名指しする。 */
/* 参照元はヘッダー（白・ロゴ）の下にブランド色のナビ帯が乗る2段構成。
   同じ構造にし、色だけこのサイトの紺にする。 */
html body.wp-child-theme-cocoon-child-master #navi,
html body.wp-child-theme-cocoon-child-master #navi-in,
html body.wp-child-theme-cocoon-child-master .navi,
html body.wp-child-theme-cocoon-child-master .navi-in{
  background:var(--cz-navy) !important;
  border-bottom:none !important;
}
/* ⚠ #navi は #header-container の「中」にある。
   子テーマに `#header-container, #header-container .navi, #header-container #navi
   { background-color:#ffffff !important }` があり、これは **ID2つ (2,0,0)** なので
   ID1つの指定では全部負ける。ID2つ以上を含む形で書くこと。 */
html body.wp-child-theme-cocoon-child-master #header-container nav#navi.navi,
html body.wp-child-theme-cocoon-child-master #header-container #navi,
html body.wp-child-theme-cocoon-child-master #header-container .navi{
  background:var(--cz-navy) !important;
  background-color:var(--cz-navy) !important;
  border-top:none !important;
  border-bottom:none !important;
}
html body.wp-child-theme-cocoon-child-master #navi-in{
  border-bottom:none !important;
  max-width:var(--cz-wrap) !important;
  margin:0 auto !important;
  padding:0 20px !important;
}
/* ⚠ Cocoonは #navi / #navi-in / li に高さを固定して持っている。
   リンクの高さを変えたら、ここも height:auto にしないと箱が追従せず
   メニューが箱からはみ出す（60pxの箱に104pxのリンクが入る状態になる）。 */
html body.wp-child-theme-cocoon-child-master #header-container #navi,
html body.wp-child-theme-cocoon-child-master #navi-in,
html body.wp-child-theme-cocoon-child-master #navi-in > ul,
html body.wp-child-theme-cocoon-child-master #navi-in > ul > li{
  height:auto !important;
  min-height:0 !important;
  max-height:none !important;
  line-height:normal !important;
}
/* Cocoonは 1023px 以下で .menu-pc を隠し .menu-mobile を出す（cocoon-master/style.css 実測）。
   display の指定はその範囲外（1024px以上）に閉じ込めないと、スマホで2段になる。 */
@media screen and (min-width:1024px){
  html body.wp-child-theme-cocoon-child-master #navi-in > ul.menu-pc{
    display:flex !important;
    justify-content:center !important;
    flex-wrap:wrap !important;
    width:100% !important;
    margin:0 auto !important;
    background:transparent !important;
    border:none !important;
  }
  html body.wp-child-theme-cocoon-child-master #navi-in > ul.menu-pc > li{
    width:auto !important;
    background:transparent !important;
  }
}
@media screen and (max-width:1023px){
  html body.wp-child-theme-cocoon-child-master #navi-in > ul.menu-pc{
    display:none !important;
  }
  html body.wp-child-theme-cocoon-child-master #navi-in > ul.menu-mobile{
    background:transparent !important;
    border:none !important;
  }
  /* 文字が省略（「転職…」）されないように、折り返しを許可する。
     列数はCocoon既定の2列のまま（1列にするとヘッダーが縦に伸びる）。 */
  html body.wp-child-theme-cocoon-child-master #navi-in > ul.menu-mobile > li > a{
    white-space:normal !important;
    overflow:visible !important;
    text-overflow:clip !important;
    padding:12px 8px !important;
    line-height:1.4 !important;
  }
  html body.wp-child-theme-cocoon-child-master #navi-in > ul.menu-mobile > li,
  html body.wp-child-theme-cocoon-child-master #navi-in > ul.menu-mobile > li > a{
    color:#fff !important;
    background:transparent !important;
    background-color:transparent !important;
    border-top:1px solid rgba(255,255,255,.18) !important;
    border-left:none !important;
    border-right:none !important;
    border-bottom:none !important;
    font-size:17px !important;
  }
}
html body.wp-child-theme-cocoon-child-master #navi-in > ul > li > a{
  color:#fff !important;
  background:transparent !important;
  font-size:17px !important;
  font-weight:500 !important;
  letter-spacing:.02em !important;
  height:68px !important;
  line-height:68px !important;
  padding:0 30px !important;
  width:auto !important;
}
html body.wp-child-theme-cocoon-child-master #navi-in > ul > li > a:hover{
  color:#fff !important;
  background:rgba(255,255,255,.12) !important;
}
/* サブメニュー（カテゴリーのドロップダウン）は白背景に */
html body.wp-child-theme-cocoon-child-master #navi-in .sub-menu{
  background:var(--cz-card) !important;
  border:1px solid var(--cz-line) !important;
  box-shadow:0 4px 14px rgba(27,42,78,.08) !important;
}
/* ⚠ 既存CSSの `#navi .sub-menu .menu-item > a` は薄いグレー文字を !important で
   指定している。`.sub-menu a` では詳細度が足りず、白背景に薄い文字が残る。 */
html body.wp-child-theme-cocoon-child-master #header-container #navi-in .sub-menu .menu-item > a,
html body.wp-child-theme-cocoon-child-master #navi .sub-menu .menu-item > a{
  color:var(--cz-navy) !important;
  background:var(--cz-card) !important;
  border-left:3px solid transparent !important;
  font-size:14px !important;
}
html body.wp-child-theme-cocoon-child-master #header-container #navi-in .sub-menu .menu-item > a:hover,
html body.wp-child-theme-cocoon-child-master #navi .sub-menu .menu-item > a:hover{
  color:#fff !important;
  background:var(--cz-navy) !important;
  border-left:3px solid var(--cz-navy) !important;
}

/* ===== 4. レイアウト：1カラム中央（サイドバーは本文の下へ） ===== */
html body.wp-child-theme-cocoon-child-master #content-in,
html body.wp-child-theme-cocoon-child-master .content-in{
  display:block !important;
  max-width:var(--cz-wrap) !important;
  width:100% !important;
  margin:0 auto !important;
  padding:0 20px !important;
}
html body.wp-child-theme-cocoon-child-master #main,
html body.wp-child-theme-cocoon-child-master .main{
  width:100% !important;
  max-width:100% !important;
  float:none !important;
  margin:0 0 30px !important;
  padding:50px var(--cz-card-pad-x) 60px !important;
  background:var(--cz-card) !important;
  border:none !important;
  border-radius:0 !important;
  box-shadow:none !important;
}
html body.wp-child-theme-cocoon-child-master #sidebar,
html body.wp-child-theme-cocoon-child-master .sidebar{
  width:100% !important;
  max-width:100% !important;
  float:none !important;
  margin:0 0 40px !important;
  padding:36px 40px 20px !important;
  background:var(--cz-card) !important;
  /* ⚠ display は指定しない。固定ページ・404などでCocoonがサイドバーを
     非表示にしている場合に、それを復活させてしまうため。 */
  gap:0 40px !important;
}
html body.wp-child-theme-cocoon-child-master #sidebar > *{
  flex:1 1 100% !important;
  min-width:0 !important;
}
/* 「よく読まれている記事」を関連記事と同じ縦型カード3列にする
   （既定は細い横型リストで、タイトルが1〜2文字ずつ折り返されて読みにくい） */
html body.wp-child-theme-cocoon-child-master #sidebar .popular-entry-cards,
html body.wp-child-theme-cocoon-child-master #sidebar .widget-entry-cards{
  display:grid !important;
  grid-template-columns:repeat(3,1fr) !important;
  gap:26px 22px !important;
}
html body.wp-child-theme-cocoon-child-master .widget-entry-card,
html body.wp-child-theme-cocoon-child-master .popular-entry-card{
  display:flex !important;
  flex-direction:column !important;
  padding:0 !important;
  border:none !important;
  background:transparent !important;
}
html body.wp-child-theme-cocoon-child-master .widget-entry-card-thumb,
html body.wp-child-theme-cocoon-child-master .popular-entry-card-thumb{
  width:100% !important;
  max-width:100% !important;
  float:none !important;
  margin:0 0 12px !important;
}
html body.wp-child-theme-cocoon-child-master .widget-entry-card-thumb img,
html body.wp-child-theme-cocoon-child-master .popular-entry-card-thumb img{
  width:100% !important;
  height:auto !important;
  border-radius:6px !important;
}
html body.wp-child-theme-cocoon-child-master .widget-entry-card-content,
html body.wp-child-theme-cocoon-child-master .popular-entry-card-content{
  margin:0 !important;
  padding:0 !important;
  height:auto !important;
}
html body.wp-child-theme-cocoon-child-master .widget-entry-card-title,
html body.wp-child-theme-cocoon-child-master .popular-entry-card-title{
  font-size:16px !important;
  font-weight:700 !important;
  line-height:1.6 !important;
  color:var(--cz-ink) !important;
}
@media screen and (max-width:834px){
  html body.wp-child-theme-cocoon-child-master #sidebar .popular-entry-cards,
  html body.wp-child-theme-cocoon-child-master #sidebar .widget-entry-cards{
    grid-template-columns:repeat(2,1fr) !important;
    gap:20px 14px !important;
  }
}
/* サイドバー内のウィジェット箱は旧デザインのクリーム色が残るので白に揃える */
html body.wp-child-theme-cocoon-child-master #sidebar aside,
html body.wp-child-theme-cocoon-child-master #sidebar .widget,
html body.wp-child-theme-cocoon-child-master #sidebar [class*="widget-sidebar"],
html body.wp-child-theme-cocoon-child-master #sidebar .popular-entry-cards,
html body.wp-child-theme-cocoon-child-master #sidebar .widget-entry-cards{
  background:transparent !important;
  background-color:transparent !important;
  border:none !important;
  border-radius:0 !important;
  box-shadow:none !important;
  padding:0 !important;
  margin:0 0 26px !important;
}

/* ===== 5. パンくず（ピル） ===== */
body.wp-child-theme-cocoon-child-master .breadcrumb{
  max-width:var(--cz-wrap) !important;
  margin:0 auto !important;
  padding:22px 20px 14px !important;
  background:transparent !important;
  font-size:13px !important;
  display:flex !important;
  flex-wrap:wrap !important;
  align-items:center !important;
  gap:6px !important;
}
body.wp-child-theme-cocoon-child-master .breadcrumb a{
  display:inline-block !important;
  padding:6px 15px !important;
  border:1px solid var(--cz-link) !important;
  border-radius:13px !important;
  background:var(--cz-card) !important;
  color:var(--cz-link) !important;
  font-size:13px !important;
  line-height:1 !important;
  text-decoration:none !important;
}
body.wp-child-theme-cocoon-child-master .breadcrumb a:hover{
  background:var(--cz-link) !important;
  color:#fff !important;
}
body.wp-child-theme-cocoon-child-master .breadcrumb .fa,
body.wp-child-theme-cocoon-child-master .breadcrumb .sp{
  color:var(--cz-ink-sub) !important;
}

/* ===== 6. 記事ヘッダー ===== */
body.wp-child-theme-cocoon-child-master .article-header,
body.wp-child-theme-cocoon-child-master .entry-header{
  margin-bottom:0 !important;
}
/* ⚠ 固定ページは body に .page が付く（子孫ではない）ので、
   `body.x .page` では当たらず `body.x.page` と書く必要がある。
   さらに旧デザインは entry-title に紺ベタ背景を敷いているため、
   color だけ変えると「紺地に紺文字」で見えなくなる。background も必ず打ち消す。 */
html body.wp-child-theme-cocoon-child-master.page h1.entry-title,
html body.wp-child-theme-cocoon-child-master.page .entry-title,
html body.wp-child-theme-cocoon-child-master .page h1.entry-title,
html body.wp-child-theme-cocoon-child-master h1.entry-title,
html body.wp-child-theme-cocoon-child-master .entry-title,
body.wp-child-theme-cocoon-child-master h1.entry-title{
  background:none !important;
  background-color:transparent !important;
  font-size:27px !important;
  font-weight:700 !important;
  line-height:1.5 !important;
  color:var(--cz-ink) !important;
  letter-spacing:.01em !important;
  margin:14px 0 22px !important;
  padding:0 !important;
  border:none !important;
}
/* カテゴリー／日付の行 */
body.wp-child-theme-cocoon-child-master .date-tags{
  display:flex !important;
  align-items:center !important;
  flex-wrap:wrap !important;
  gap:12px !important;
  margin:0 0 18px !important;
  font-size:14px !important;
  color:var(--cz-ink-sub) !important;
}
body.wp-child-theme-cocoon-child-master .entry-categories a,
body.wp-child-theme-cocoon-child-master .cat-link,
body.wp-child-theme-cocoon-child-master .date-tags .cat-link{
  display:inline-block !important;
  padding:5px 12px !important;
  border-radius:13px !important;
  background:var(--cz-navy) !important;
  color:#fff !important;
  font-size:14px !important;
  line-height:1.2 !important;
  border:none !important;
  text-decoration:none !important;
}
/* アイキャッチ（本文幅いっぱい・角丸10px） */
body.wp-child-theme-cocoon-child-master .eye-catch-wrap,
body.wp-child-theme-cocoon-child-master .eye-catch{
  margin:0 0 35px !important;
  border-radius:10px !important;
  overflow:hidden !important;
}
body.wp-child-theme-cocoon-child-master .eye-catch img,
body.wp-child-theme-cocoon-child-master .eye-catch-image{
  width:100% !important;
  height:auto !important;
  border-radius:10px !important;
  display:block !important;
  margin:0 !important;
}

/* ===== 7. 本文タイポグラフィ ===== */
body.wp-child-theme-cocoon-child-master .entry-content{
  font-size:var(--cz-body-size) !important;
  line-height:var(--cz-line-height) !important;
  color:var(--cz-ink) !important;
}
body.wp-child-theme-cocoon-child-master .entry-content p{
  font-size:var(--cz-body-size) !important;
  line-height:var(--cz-line-height) !important;
  color:var(--cz-ink) !important;
  margin:0 0 25px !important;
}
body.wp-child-theme-cocoon-child-master .entry-content li{
  font-size:var(--cz-body-size) !important;
  line-height:var(--cz-line-height) !important;
}
/* ⚠ アフィリエイトCTA（.aff-cta）とボタン類は除外する。
   ここで一括に color/underline を当てると、紺ボタンに紺文字＋下線が乗って
   ボタンが壊れる（2026-09-02に37本を修復した箇所）。 */
/* ⚠ リンク自身のclassだけを見て除外すると、親だけがCTAのボタン
   （.pillar-cta > a, .btn-wrap > a など）や .wp-block-button__link を壊す。
   親要素も見るため「CTA/ボタンでない親の直下のa」に限定する。 */
body.wp-child-theme-cocoon-child-master .entry-content
  :not([class*="cta"]):not([class*="btn"]):not([class*="button"]) >
  a:not([class*="aff-cta"]):not([class*="btn"]):not([class*="button"]):not(.a-wrap):not([class*="entry-card"]):not([style*="background"]):not([style*="color"]){
  color:var(--cz-link) !important;
  text-decoration:underline !important;
}
/* H2：細い下線ラベル */
body.wp-child-theme-cocoon-child-master .entry-content h2{
  font-size:18px !important;
  font-weight:700 !important;
  line-height:1.7 !important;
  color:var(--cz-ink) !important;
  background:none !important;
  background-color:transparent !important;
  border:none !important;
  border-bottom:2px solid var(--cz-line-soft) !important;
  border-radius:0 !important;
  padding:0 0 15px !important;
  margin:60px 0 35px !important;
}
/* H3：左に細いインデントバー */
body.wp-child-theme-cocoon-child-master .entry-content h3{
  position:relative !important;
  font-size:19px !important;
  font-weight:700 !important;
  line-height:1.7 !important;
  color:var(--cz-ink) !important;
  background:none !important;
  background-color:transparent !important;
  border:none !important;
  border-radius:0 !important;
  padding:0 0 0 25px !important;
  margin:60px 0 35px !important;
}
body.wp-child-theme-cocoon-child-master .entry-content h3::before{
  content:"" !important;
  position:absolute !important;
  left:0 !important;
  top:.45em !important;
  width:4px !important;
  height:1.05em !important;
  background:var(--cz-navy) !important;
  border-radius:2px !important;
}
body.wp-child-theme-cocoon-child-master .entry-content h4{
  font-size:18px !important;
  font-weight:700 !important;
  border:none !important;
  background:none !important;
  padding:0 !important;
  margin:36px 0 18px !important;
}

/* ===== 8. 目次（#toc のID詳細度に勝つため併記） ===== */
body.wp-child-theme-cocoon-child-master .toc,
body.wp-child-theme-cocoon-child-master #toc{
  width:100% !important;
  max-width:100% !important;
  box-sizing:border-box !important;
  background:var(--cz-card) !important;
  border:1px solid var(--cz-line) !important;
  border-left:1px solid var(--cz-line) !important;
  border-radius:4px !important;
  padding:25px 30px !important;
  margin:0 0 40px !important;
  font-size:16px !important;
  line-height:1.9 !important;
}
body.wp-child-theme-cocoon-child-master .toc .toc-title,
body.wp-child-theme-cocoon-child-master #toc .toc-title{
  font-size:16px !important;
  font-weight:700 !important;
  color:var(--cz-ink) !important;
  text-align:left !important;
  margin:0 0 12px !important;
  padding:0 !important;
  border:none !important;
}
body.wp-child-theme-cocoon-child-master .toc a,
body.wp-child-theme-cocoon-child-master #toc a{
  color:var(--cz-ink) !important;
  text-decoration:none !important;
}
body.wp-child-theme-cocoon-child-master .toc a:hover,
body.wp-child-theme-cocoon-child-master #toc a:hover{
  color:var(--cz-link) !important;
  text-decoration:underline !important;
}

/* ===== 9. 引用・表・囲み ===== */
body.wp-child-theme-cocoon-child-master .entry-content blockquote{
  background:var(--cz-lead) !important;
  border:none !important;
  border-left:3px solid var(--cz-line) !important;
  border-radius:0 10px 10px 0 !important;
  padding:22px 28px !important;
  margin:0 0 30px !important;
  font-size:16px !important;
}
body.wp-child-theme-cocoon-child-master .entry-content table{
  font-size:16px !important;
  border-radius:6px !important;
  overflow:hidden !important;
}
body.wp-child-theme-cocoon-child-master .entry-content th{
  background:var(--cz-lead) !important;
  color:var(--cz-ink) !important;
  font-weight:700 !important;
}

/* ===== 10. 記事下（関連記事・前後ナビ） ===== */
body.wp-child-theme-cocoon-child-master .under-entry-content{
  margin-top:50px !important;
}
/* 記事下・ウィジェットの見出しは、参照元と同じ「細い下線ラベル」にする
   （実測：16px / weight 400 / border-bottom 2px rgba(0,0,0,.1) / margin-bottom 45px）。
   左の縦線バーはやめる。 */
body.wp-child-theme-cocoon-child-master .related-entry-heading,
body.wp-child-theme-cocoon-child-master .widget-title,
body.wp-child-theme-cocoon-child-master .main-widget-label,
body.wp-child-theme-cocoon-child-master .widget-sidebar-title{
  position:relative !important;
  font-size:18px !important;
  font-weight:400 !important;
  color:var(--cz-ink) !important;
  background:none !important;
  border:none !important;
  border-bottom:2px solid var(--cz-line-soft) !important;
  border-radius:0 !important;
  padding:0 0 15px !important;
  margin:0 0 32px !important;
  text-align:left !important;
  letter-spacing:.01em !important;
}
body.wp-child-theme-cocoon-child-master .related-entry-heading::before,
body.wp-child-theme-cocoon-child-master .widget-title::before,
body.wp-child-theme-cocoon-child-master .main-widget-label::before,
body.wp-child-theme-cocoon-child-master .widget-sidebar-title::before{
  content:none !important;
  display:none !important;
}
body.wp-child-theme-cocoon-child-master .related-entry-card-title,
body.wp-child-theme-cocoon-child-master .widget-entry-card-title{
  font-size:16px !important;
  font-weight:700 !important;
  line-height:1.6 !important;
}
/* 参照元の一覧は「画像が上・文字が下」の縦型カードが3列に並ぶ。
   Cocoonの関連記事は既定が横型（サムネ左）なので縦型に組み替える。 */
html body.wp-child-theme-cocoon-child-master .related-list,
html body.wp-child-theme-cocoon-child-master .related-entry-cards{
  display:grid !important;
  grid-template-columns:repeat(3,1fr) !important;
  gap:26px 22px !important;
}
html body.wp-child-theme-cocoon-child-master .related-entry-card-wrap,
html body.wp-child-theme-cocoon-child-master .related-list .a-wrap,
html body.wp-child-theme-cocoon-child-master .related-entry-cards .a-wrap,
html body.wp-child-theme-cocoon-child-master #sidebar .a-wrap{
  display:block !important;
  padding:0 !important;
  border:none !important;
  border-bottom:none !important;
}
html body.wp-child-theme-cocoon-child-master .related-entry-card{
  display:flex !important;
  flex-direction:column !important;
  padding:0 !important;
  border:none !important;
}
html body.wp-child-theme-cocoon-child-master .related-entry-card-thumb{
  width:100% !important;
  max-width:100% !important;
  float:none !important;
  margin:0 0 12px !important;
}
html body.wp-child-theme-cocoon-child-master .related-entry-card-thumb img{
  width:100% !important;
  height:auto !important;
  border-radius:6px !important;
}
html body.wp-child-theme-cocoon-child-master .related-entry-card-content{
  margin:0 !important;
  padding:0 !important;
  height:auto !important;
}
html body.wp-child-theme-cocoon-child-master .related-entry-card-snippet{
  display:none !important;
}
@media screen and (max-width:834px){
  html body.wp-child-theme-cocoon-child-master .related-list,
  html body.wp-child-theme-cocoon-child-master .related-entry-cards{
    grid-template-columns:repeat(2,1fr) !important;
    gap:20px 14px !important;
  }
}

/* 関連記事・一覧カードの cream 背景と金枠を外す
   （.a-wrap はCocoonの汎用クラス。既存CSSが同じ4つをまとめて指定しているので、
     同じ組み合わせで上書きし、個別に散らさない） */
html body.wp-child-theme-cocoon-child-master .entry-card,
html body.wp-child-theme-cocoon-child-master .e-card,
html body.wp-child-theme-cocoon-child-master .entry-card-wrap,
html body.wp-child-theme-cocoon-child-master .a-wrap{
  background:var(--cz-card) !important;
  border:none !important;
  border-bottom:1px solid var(--cz-line) !important;
  border-radius:0 !important;
  box-shadow:none !important;
}
html body.wp-child-theme-cocoon-child-master .entry-card:hover,
html body.wp-child-theme-cocoon-child-master .e-card:hover,
html body.wp-child-theme-cocoon-child-master .entry-card-wrap:hover,
html body.wp-child-theme-cocoon-child-master .a-wrap:hover{
  background:var(--cz-lead) !important;
  border-color:var(--cz-line) !important;
  transform:none !important;
}

/* ===== 11. トップページ ===== */
html body.wp-child-theme-cocoon-child-master.home #main,
html body.wp-child-theme-cocoon-child-master.home .main{
  background:transparent !important;
  padding:0 !important;
  margin:0 !important;
  border:none !important;
}
/* ヒーロー：紺ベタ → 白カード */
body.wp-child-theme-cocoon-child-master .ce-top-hero{
  background:var(--cz-card) !important;
  border:none !important;
  border-radius:0 !important;
  box-shadow:none !important;
  padding:50px 60px 45px !important;
  margin:0 0 30px !important;
  color:var(--cz-ink) !important;
}
/* 英字アイブロウ（CAREER CHANGE FROM CITY HALL）は文言を消さず、
   金の下線を外して小さいグレーの補助ラベルにする（テキストは触らない）。 */
html body.wp-child-theme-cocoon-child-master .ce-top-hero .ce-top-hero-eyebrow,
body.wp-child-theme-cocoon-child-master .ce-top-hero .ce-eyebrow{
  display:block !important;
  color:var(--cz-ink-sub) !important;
  font-size:13px !important;
  font-weight:500 !important;
  letter-spacing:.16em !important;
  border:none !important;
  background:none !important;
  padding:0 !important;
  margin:0 0 14px !important;
}
html body.wp-child-theme-cocoon-child-master .ce-top-hero .ce-top-hero-eyebrow::before,
html body.wp-child-theme-cocoon-child-master .ce-top-hero .ce-top-hero-eyebrow::after{
  content:none !important;
  display:none !important;
}
body.wp-child-theme-cocoon-child-master .ce-top-hero h1,
body.wp-child-theme-cocoon-child-master .ce-top-hero h2,
body.wp-child-theme-cocoon-child-master .ce-top-hero p{
  color:var(--cz-ink) !important;
}
/* ヒーローのボタンは .ce-top-hero-btn ＋ -btn-1 / -btn-2 / -btn-3 の3つ。
   既存CSSが .ce-top-hero a.ce-top-hero-btn-N (0,4,1) で色を !important 指定しているので、
   html を足した (0,4,3) 以上で名指しして上書きする。
   ※ btn-2（運営者プロフィール）は既存指定が白文字なので、明示しないと白地に白文字で消える。 */
html body.wp-child-theme-cocoon-child-master .ce-top-hero a.ce-top-hero-btn,
html body.wp-child-theme-cocoon-child-master .ce-top-hero a.ce-top-hero-btn-2,
html body.wp-child-theme-cocoon-child-master .ce-top-hero a.ce-top-hero-btn-3{
  background:var(--cz-card) !important;
  color:var(--cz-navy) !important;
  border:1px solid var(--cz-navy) !important;
  border-radius:24px !important;
  box-shadow:none !important;
  font-size:16px !important;
  font-weight:500 !important;
  padding:13px 26px !important;
  text-decoration:none !important;
}
html body.wp-child-theme-cocoon-child-master .ce-top-hero a.ce-top-hero-btn-1{
  background:var(--cz-navy) !important;
  color:#fff !important;
  border:1px solid var(--cz-navy) !important;
  border-radius:24px !important;
  box-shadow:none !important;
  font-size:16px !important;
  font-weight:500 !important;
  padding:13px 26px !important;
  text-decoration:none !important;
}
/* ⚠ 既存CSSに .ce-top-hero-btn-2:hover{color:#ffffff !important} があり、
   白背景のボタンでは「白地に白文字」でホバー時に文字が消える。色も必ず指定する。 */
html body.wp-child-theme-cocoon-child-master .ce-top-hero a.ce-top-hero-btn:hover,
html body.wp-child-theme-cocoon-child-master .ce-top-hero a.ce-top-hero-btn-2:hover,
html body.wp-child-theme-cocoon-child-master .ce-top-hero a.ce-top-hero-btn-3:hover{
  background:var(--cz-lead) !important;
  color:var(--cz-navy) !important;
}
html body.wp-child-theme-cocoon-child-master .ce-top-hero a.ce-top-hero-btn-1:hover{
  background:var(--cz-navy) !important;
  color:#fff !important;
  opacity:.88 !important;
}
/* セクション＝白カード */
body.wp-child-theme-cocoon-child-master .ce-home-section{
  background:var(--cz-card) !important;
  border:none !important;
  border-radius:0 !important;
  box-shadow:none !important;
  padding:40px 50px 45px !important;
  margin:0 0 30px !important;
}
/* 実際のマークアップ：
   section.ce-home-section
     └ div.ce-home-sec-head（flex）
         ├ div.ce-home-sec-lbl（span.ce-eyebrow + h2.ce-home-sec-title）
         └ a.ce-home-sec-more
     └ div.ce-home-*-grid
   「もっと見る」を参照元と同じ“セクション末尾の帯”にするため、
   head を display:contents で解体し、section 側の order で並べ替える。 */
body.wp-child-theme-cocoon-child-master .ce-home-section{
  display:flex !important;
  flex-direction:column !important;
}
body.wp-child-theme-cocoon-child-master .ce-home-sec-head{
  display:contents !important;
  border:none !important;
  padding:0 !important;
  margin:0 !important;
}
body.wp-child-theme-cocoon-child-master .ce-home-sec-lbl{
  display:block !important;
  order:1 !important;
  margin:0 0 26px !important;
}
/* 英字のアイブロウ（LATEST 等）も文言は残し、小さいグレーの補助ラベルにする */
body.wp-child-theme-cocoon-child-master .ce-home-sec-lbl .ce-eyebrow{
  display:block !important;
  color:var(--cz-ink-sub) !important;
  font-size:12px !important;
  font-weight:500 !important;
  letter-spacing:.16em !important;
  border:none !important;
  background:none !important;
  padding:0 0 0 16px !important;
  margin:0 0 4px !important;
}
body.wp-child-theme-cocoon-child-master .ce-home-latest-grid,
body.wp-child-theme-cocoon-child-master .ce-home-cat-grid{
  order:2 !important;
}
body.wp-child-theme-cocoon-child-master .ce-home-sec-title{
  position:relative !important;
  font-size:27px !important;
  font-weight:400 !important;
  color:var(--cz-ink) !important;
  letter-spacing:.01em !important;
  padding:0 0 0 16px !important;
  margin:0 !important;
  border:none !important;
}
body.wp-child-theme-cocoon-child-master .ce-home-sec-title::before{
  content:"" !important;
  position:absolute !important;
  left:0 !important;
  top:.15em !important;
  width:3px !important;
  height:1.15em !important;
  background:var(--cz-navy) !important;
}
/* 「もっと見る」＝横長の帯ボタン */
body.wp-child-theme-cocoon-child-master .ce-home-sec-more{
  order:3 !important;
  display:block !important;
  width:100% !important;
  box-sizing:border-box !important;
  margin:30px 0 0 !important;
  padding:15px 20px !important;
  background:var(--cz-navy) !important;
  color:#fff !important;
  border:none !important;
  border-radius:26px !important;
  text-align:center !important;
  font-size:16px !important;
  font-weight:500 !important;
  text-decoration:none !important;
}
body.wp-child-theme-cocoon-child-master .ce-home-sec-more:hover{
  opacity:.85 !important;
}
/* カード：影・枠を外す */
body.wp-child-theme-cocoon-child-master .ce-home-latest-card,
body.wp-child-theme-cocoon-child-master .ce-home-cat-feat,
body.wp-child-theme-cocoon-child-master .ce-home-card-link{
  background:transparent !important;
  border:none !important;
  border-radius:0 !important;
  box-shadow:none !important;
}
body.wp-child-theme-cocoon-child-master .ce-home-card-thumb img,
body.wp-child-theme-cocoon-child-master .ce-home-card-ph{
  border-radius:6px !important;
}
body.wp-child-theme-cocoon-child-master .ce-home-card-title,
body.wp-child-theme-cocoon-child-master .ce-home-feat-title,
body.wp-child-theme-cocoon-child-master .ce-home-sub-title{
  font-size:17px !important;
  font-weight:700 !important;
  line-height:1.6 !important;
  color:var(--cz-ink) !important;
}
body.wp-child-theme-cocoon-child-master .ce-home-card-cat,
body.wp-child-theme-cocoon-child-master .ce-home-card-badge{
  background:var(--cz-navy) !important;
  color:#fff !important;
  border-radius:12px !important;
  font-size:13px !important;
  padding:4px 11px !important;
  border:none !important;
}
body.wp-child-theme-cocoon-child-master .ce-home-card-meta,
body.wp-child-theme-cocoon-child-master .ce-home-feat-meta,
body.wp-child-theme-cocoon-child-master .ce-home-sub-meta{
  color:var(--cz-ink-sub) !important;
  font-size:14px !important;
}
/* 記事一覧（アーカイブ）のカード */
body.wp-child-theme-cocoon-child-master .list .entry-card-wrap,
body.wp-child-theme-cocoon-child-master .entry-card-wrap{
  background:var(--cz-card) !important;
  border:none !important;
  border-bottom:1px solid var(--cz-line) !important;
  border-radius:0 !important;
  box-shadow:none !important;
}

/* ===== 12. フッター =====
   構成：白背景・2カラム（左＝サイト名、右＝点線区切りのリンク一覧）・下にコピーライト。
   ⚠ 以前は紺背景にしていた。白へ戻す際は、文字色の !important 指定も必ず一緒に
   変えること（背景だけ白にすると「白地に白文字」で全部消える）。 */
html body.wp-child-theme-cocoon-child-master #footer,
html body.wp-child-theme-cocoon-child-master .footer,
html body.wp-child-theme-cocoon-child-master .footer-container,
html body.wp-child-theme-cocoon-child-master #footer-in,
html body.wp-child-theme-cocoon-child-master .footer-in{
  background:var(--cz-card) !important;
  background-color:var(--cz-card) !important;
  border-top:1px solid var(--cz-line) !important;
  color:var(--cz-ink) !important;
  margin-top:40px !important;
}
html body.wp-child-theme-cocoon-child-master #footer p,
html body.wp-child-theme-cocoon-child-master #footer div,
html body.wp-child-theme-cocoon-child-master #footer li,
html body.wp-child-theme-cocoon-child-master #footer span{
  color:var(--cz-ink) !important;
}
html body.wp-child-theme-cocoon-child-master #footer-in,
html body.wp-child-theme-cocoon-child-master #footer .footer-in{
  max-width:var(--cz-wrap) !important;
  margin:0 auto !important;
  padding:52px 20px 30px !important;
  border-top:none !important;
}
/* ⚠ 子テーマの旧デザインは .footer-bottom と .copyright 自体を紺で塗っている。
   #footer だけ白にすると、この2つが紺のまま残って文字が読めなくなる。 */
html body.wp-child-theme-cocoon-child-master #footer .footer-bottom,
html body.wp-child-theme-cocoon-child-master #footer .footer-bottom-logo,
html body.wp-child-theme-cocoon-child-master #footer .footer-bottom-content,
html body.wp-child-theme-cocoon-child-master #footer .source-org,
html body.wp-child-theme-cocoon-child-master #footer .copyright,
html body.wp-child-theme-cocoon-child-master #footer .navi-footer,
html body.wp-child-theme-cocoon-child-master #footer .navi-footer-in{
  background:transparent !important;
  background-color:transparent !important;
}

/* 2カラム：左＝サイト名 / 右＝リンク一覧 */
html body.wp-child-theme-cocoon-child-master #footer .footer-bottom{
  display:grid !important;
  grid-template-columns:1fr 1fr !important;
  gap:8px 64px !important;
  align-items:start !important;
  text-align:left !important;
  border-top:none !important;
  margin:0 !important;
  padding:0 !important;
}
/* ⚠ Cocoonは logo と copyright を絶対配置/フロートで重ねて置いている。
   grid に変えるだけでは重なったままなので、子要素の position/float を必ず解除する。 */
html body.wp-child-theme-cocoon-child-master #footer .footer-bottom-logo,
html body.wp-child-theme-cocoon-child-master #footer .footer-bottom-content,
html body.wp-child-theme-cocoon-child-master #footer .footer-bottom .logo-footer{
  position:static !important;
  float:none !important;
  width:auto !important;
  max-width:100% !important;
  transform:none !important;
  top:auto !important; left:auto !important; right:auto !important; bottom:auto !important;
  margin:0 !important;
  line-height:1.6 !important;
  text-align:left !important;
}
/* 左：サイト名 */
html body.wp-child-theme-cocoon-child-master .footer .site-name-text::before,
html body.wp-child-theme-cocoon-child-master .logo-footer .site-name-text::before{
  content:"30代市役所からの転職体験記ブログ" !important;
  display:block !important;
  font-family:"Noto Sans JP",sans-serif !important;
  font-size:17px !important;
  font-weight:700 !important;
  color:var(--cz-navy) !important;
  letter-spacing:.02em !important;
  line-height:1.6 !important;
  text-align:left !important;
  padding:0 !important;
  text-indent:0 !important;
}
html body.wp-child-theme-cocoon-child-master .footer .site-name-text::after,
html body.wp-child-theme-cocoon-child-master .logo-footer .site-name-text::after,
html body.wp-child-theme-cocoon-child-master .footer .logo-image::after,
html body.wp-child-theme-cocoon-child-master .logo-footer.logo-image::after{
  content:none !important;
  display:none !important;
}
html body.wp-child-theme-cocoon-child-master .footer .site-logo-image{
  display:none !important;
}

/* 右：点線で区切ったリンク一覧 */
html body.wp-child-theme-cocoon-child-master #footer .navi-footer,
html body.wp-child-theme-cocoon-child-master #footer .navi-footer-in{
  width:100% !important;
  margin:0 !important;
  background:transparent !important;
}
html body.wp-child-theme-cocoon-child-master #footer .navi-footer-in > ul{
  display:block !important;
  margin:0 !important;
  padding:0 !important;
  list-style:none !important;
}
html body.wp-child-theme-cocoon-child-master #footer .navi-footer-in > ul > li{
  display:block !important;
  width:100% !important;
  float:none !important;
  border:none !important;
  border-bottom:1px dashed #C3CAD4 !important;
  margin:0 !important;
}
html body.wp-child-theme-cocoon-child-master #footer .navi-footer-in > ul > li:first-child{
  border-top:1px dashed #C3CAD4 !important;
}
html body.wp-child-theme-cocoon-child-master #footer .navi-footer-in > ul > li > a{
  display:block !important;
  width:100% !important;
  padding:15px 4px !important;
  font-size:15px !important;
  line-height:1.6 !important;
  color:var(--cz-ink) !important;
  background:transparent !important;
  border:none !important;
  text-decoration:none !important;
  text-align:left !important;
}
html body.wp-child-theme-cocoon-child-master #footer .navi-footer-in > ul > li > a:hover{
  color:var(--cz-link) !important;
  text-decoration:underline !important;
  background:transparent !important;
}
/* SNSボタンは元の配色を保つ */
html body.wp-child-theme-cocoon-child-master #footer a:not(.sns-button):not([class*="follow-button"]){
  color:var(--cz-ink) !important;
  opacity:1 !important;
}
html body.wp-child-theme-cocoon-child-master #footer .sns-button{
  color:var(--cz-ink) !important;
  width:40px !important;
  height:40px !important;
  line-height:40px !important;
  border-radius:50% !important;
  border:1px solid var(--cz-line) !important;
  background:transparent !important;
  margin:0 6px 0 0 !important;
}
/* コピーライトは2カラムの下に、細く */
html body.wp-child-theme-cocoon-child-master #footer .copyright,
html body.wp-child-theme-cocoon-child-master #footer .source-org{
  grid-column:1 / -1 !important;
  margin:26px 0 0 !important;
  padding:18px 0 0 !important;
  border-top:1px solid var(--cz-line) !important;
  font-size:12px !important;
  color:var(--cz-ink-sub) !important;
  text-align:left !important;
}
@media screen and (max-width:834px){
  html body.wp-child-theme-cocoon-child-master #footer .footer-bottom{
    grid-template-columns:1fr !important;
    gap:22px 0 !important;
  }
  html body.wp-child-theme-cocoon-child-master #footer-in,
  html body.wp-child-theme-cocoon-child-master #footer .footer-in{
    padding:34px 16px 24px !important;
  }
}

/* ===== 12b. ページネーション・アーカイブ見出し ===== */
html body.wp-child-theme-cocoon-child-master .pagination .page-numbers,
html body.wp-child-theme-cocoon-child-master .pagination-next-link{
  background:var(--cz-card) !important;
  border:1px solid var(--cz-line) !important;
  border-radius:4px !important;
  color:var(--cz-navy) !important;
}
html body.wp-child-theme-cocoon-child-master .pagination .page-numbers.current{
  background:var(--cz-navy) !important;
  border-color:var(--cz-navy) !important;
  color:#fff !important;
}
html body.wp-child-theme-cocoon-child-master .archive-title{
  position:relative !important;
  font-size:24px !important;
  font-weight:400 !important;
  color:var(--cz-ink) !important;
  background:none !important;
  border:none !important;
  padding:0 0 0 14px !important;
  margin:0 0 24px !important;
}
html body.wp-child-theme-cocoon-child-master .archive-title::after{
  content:"" !important;
  position:absolute !important;
  left:0 !important;
  top:.2em !important;
  width:3px !important;
  height:1.1em !important;
  background:var(--cz-navy) !important;
}
html body.wp-child-theme-cocoon-child-master .pager-post-navi a{
  background:var(--cz-card) !important;
  border:1px solid var(--cz-line) !important;
  border-radius:6px !important;
}

/* ===== 13. 触らないもの（明示：アフィリエイトCTA） =====
   .aff-cta / .aff-cta--bottom / .cityhall-bottom-cta / .ad-disclosure-above-title は
   収益導線のため一切上書きしない。既存の紺ボタンのまま描画される。            */

/* ===== 13b. 中間幅（835〜1023px）=====
   ⚠ 834px以下は左右20px、835pxで一気に160pxへ戻ると本文が約475pxまで潰れる。
   タブレット幅は中間の余白にし、カード段数も本文の実幅に合わせる。 */
@media screen and (min-width:835px) and (max-width:1023px){
  html body.wp-child-theme-cocoon-child-master #main,
  html body.wp-child-theme-cocoon-child-master .main{
    padding:40px 48px 48px !important;
  }
  html body.wp-child-theme-cocoon-child-master #sidebar .popular-entry-cards,
  html body.wp-child-theme-cocoon-child-master #sidebar .widget-entry-cards,
  html body.wp-child-theme-cocoon-child-master .related-list,
  html body.wp-child-theme-cocoon-child-master .related-entry-cards{
    grid-template-columns:repeat(2,1fr) !important;
    gap:22px 18px !important;
  }
}

/* ===== 14. スマホ ===== */
@media screen and (max-width:834px){
  /* ⚠ PC側を html body … #main（IDあり）で書いているので、
     モバイル側も同じ強さで書かないと負けて効かない。 */
  html body.wp-child-theme-cocoon-child-master #content-in,
  html body.wp-child-theme-cocoon-child-master .content-in{ padding:0 12px !important; }
  html body.wp-child-theme-cocoon-child-master #main,
  html body.wp-child-theme-cocoon-child-master .main{
    padding:30px 20px 40px !important;
    width:100% !important;
    max-width:100% !important;
    box-sizing:border-box !important;
  }
  html body.wp-child-theme-cocoon-child-master #sidebar,
  html body.wp-child-theme-cocoon-child-master .sidebar{
    padding:26px 20px 10px !important; gap:0 !important; display:block !important;
  }
  body.wp-child-theme-cocoon-child-master .header-container .site-name-text::before{
    font-size:26px !important; line-height:1.4 !important; padding:0 12px 8px !important;
  }
  body.wp-child-theme-cocoon-child-master .header-container .site-name-text::after{
    font-size:14px !important; padding:0 16px !important;
  }
  body.wp-child-theme-cocoon-child-master .header,
  body.wp-child-theme-cocoon-child-master .header-in{ padding:22px 0 18px !important; }
  body.wp-child-theme-cocoon-child-master h1.entry-title{ font-size:23px !important; }
  body.wp-child-theme-cocoon-child-master .entry-content h2{ font-size:19px !important; margin:44px 0 24px !important; }
  body.wp-child-theme-cocoon-child-master .entry-content h3{ font-size:18px !important; margin:36px 0 18px !important; }
  body.wp-child-theme-cocoon-child-master .toc,
  body.wp-child-theme-cocoon-child-master #toc{ padding:20px 18px !important; }
  body.wp-child-theme-cocoon-child-master .ce-top-hero{ padding:32px 22px 30px !important; }
  body.wp-child-theme-cocoon-child-master .ce-home-section{ padding:28px 20px 32px !important; }
  body.wp-child-theme-cocoon-child-master .ce-home-sec-title{ font-size:22px !important; }
  body.wp-child-theme-cocoon-child-master .breadcrumb{ padding:14px 12px 10px !important; }
}


/* ウィジェット見出しは #sidebar 配下のID指定に負けるので、タグ＋クラスまで上げる */
html body.wp-child-theme-cocoon-child-master #sidebar h3.widget-sidebar-title,
html body.wp-child-theme-cocoon-child-master #sidebar h3.widget-title,
html body.wp-child-theme-cocoon-child-master #sidebar .widget-sidebar-title{
  font-size:18px !important;
  font-weight:400 !important;
  color:var(--cz-ink) !important;
  background:none !important;
  border:none !important;
  border-bottom:2px solid var(--cz-line-soft) !important;
  border-radius:0 !important;
  padding:0 0 15px !important;
  margin:0 0 32px !important;
  text-align:left !important;
}

/* ⚠ Cocoonのカードは横型前提で、日付/メタが position:absolute で右下に置かれている。
   縦型カードに組み替えるとタイトルの上に重なるので、通常フローに戻す。 */
html body.wp-child-theme-cocoon-child-master .related-entry-card-meta,
html body.wp-child-theme-cocoon-child-master .widget-entry-card-meta,
html body.wp-child-theme-cocoon-child-master .popular-entry-card-meta,
html body.wp-child-theme-cocoon-child-master .e-card-meta,
html body.wp-child-theme-cocoon-child-master .card-meta{
  position:static !important;
  left:auto !important; right:auto !important; top:auto !important; bottom:auto !important;
  width:100% !important;
  margin:8px 0 0 !important;
  font-size:12px !important;
  color:var(--cz-ink-sub) !important;
  text-align:left !important;
}
html body.wp-child-theme-cocoon-child-master .related-entry-card,
html body.wp-child-theme-cocoon-child-master .widget-entry-card,
html body.wp-child-theme-cocoon-child-master .popular-entry-card{
  position:relative !important;
  height:auto !important;
  min-height:0 !important;
}
/* ===== CITYHALL-EXIT DESIGN PACK v3 END ===== */


/* CE REVENUE CTA 20260910: shared affiliate buttons */
body .entry-content .ce-cta-unit{display:block;max-width:560px;margin:24px auto;text-align:center;}
body .entry-content .ce-cta-kicker{display:block;margin:0 auto 10px;color:#555;font-size:16px;font-weight:700;line-height:1.6;text-align:center;}
body .entry-content .ce-cta-kicker span{background:linear-gradient(transparent 65%,#fff16a 65%);padding:0 3px;}
body .entry-content .ce-cta-kicker::before{content:'＼';margin-right:8px;color:#697586;}
body .entry-content .ce-cta-kicker::after{content:'／';margin-left:8px;color:#697586;}
body .entry-content .ce-cta-unit>a.ce-revenue-button{box-sizing:border-box;display:flex!important;align-items:center;justify-content:center;position:relative;width:100%!important;max-width:560px!important;min-height:76px;margin:0 auto 7px!important;padding:20px 45px 20px 26px!important;background:linear-gradient(100deg,#ff564c 0%,#d96b00 100%)!important;border:0!important;border-radius:999px!important;box-shadow:0 6px 0 #e5e5e5!important;color:#fff!important;font-size:20px!important;font-weight:800!important;line-height:1.5!important;text-align:center;text-decoration:none!important;text-shadow:0 1px 2px rgba(80,30,0,.25);white-space:normal!important;overflow-wrap:anywhere;transition:filter .15s,transform .15s;}
body .entry-content .ce-cta-unit>a.ce-revenue-button::after{content:'›';position:absolute;right:20px;top:50%;transform:translateY(-50%);margin:0;font-size:32px;font-weight:400;color:white;}
body .entry-content .ce-cta-unit>a.ce-revenue-button:hover{filter:brightness(.93);transform:translateY(1px);opacity:1!important;}
body .entry-content .ce-cta-unit>a.ce-revenue-button:focus-visible{outline:3px solid #1b2a4e;outline-offset:5px;}
body .entry-content .ce-cta-unit>a.ce-revenue-button span{color:inherit!important;background:none!important;}
@media(max-width:480px){body .entry-content .ce-cta-kicker{font-size:14px}body .entry-content .ce-cta-unit>a.ce-revenue-button{font-size:19px!important;min-height:76px;padding:18px 37px 18px 22px!important;}body .entry-content .ce-cta-unit>a.ce-revenue-button::after{right:15px}}
@media(prefers-reduced-motion:reduce){body .entry-content .ce-cta-unit>a.ce-revenue-button{transition:none;}}

/* CE comparison cards 20260910 */
@media(max-width:600px){
 body .entry-content table.ce-comparison{display:block;width:100%!important;min-width:0!important;border:0!important;background:none;}
 body .entry-content table.ce-comparison thead{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%);}
 body .entry-content table.ce-comparison tbody{display:block;}
 body .entry-content table.ce-comparison tr{display:block;margin:0 0 14px;border:1px solid #dce2e8;border-radius:8px;overflow:hidden;}
 body .entry-content table.ce-comparison td{display:block;box-sizing:border-box;width:100%!important;min-width:0!important;padding:9px 12px!important;border:0!important;font-size:14px;white-space:normal!important;background:white;}
 body .entry-content table.ce-comparison td:first-child{background:#edf2f8;font-size:16px;font-weight:bold;color:#1b2a4e;}
 body .entry-content table.ce-comparison td:not(:first-child)::before{content:attr(data-label);display:block;color:#505c6c;font-size:12px;font-weight:bold;margin-bottom:3px;}
}
body .entry-content .ce-next-step{margin:24px 0;padding:14px 18px;border-left:4px solid #1b2a4e;background:#f2f5fa;border-radius:0 8px 8px 0;}
body .entry-content .ce-next-step p{margin:0;}
