/* Cocoonの枠と、取り込んだ本文の接続 */
.ch-wp-site{font-family:var(--ch-font);font-size:16px;line-height:1.9;letter-spacing:.02em;font-feature-settings:"palt";color:var(--ch-ink);background:#fff}
.ch-wp-lang-zh-hans{--ch-font:"Noto Sans SC","Microsoft YaHei",sans-serif}
.ch-wp-lang-zh-hant{--ch-font:"Noto Sans TC","Microsoft JhengHei",sans-serif}
.ch-wp-lang-ko{--ch-font:"Noto Sans KR","Malgun Gothic",sans-serif}
.ch-wp-lang-ne{--ch-font:"Noto Sans Devanagari","Nirmala UI","Noto Sans JP",sans-serif}
.ch-wp-site *,.ch-wp-site *::before,.ch-wp-site *::after{box-sizing:border-box}
.ch-wp-site #header-container{background:rgba(255,255,255,.96);color:var(--ch-navy)}
.ch-wp-site #header{background:transparent;height:auto;min-height:0}
.ch-wp-site #header-in{width:min(100% - 2rem,var(--ch-wrap));max-width:none;padding:.7rem 0;min-height:0;text-align:left}
.ch-wp-site #header-in a{text-decoration:none}
.ch-wp-site .ch-site-logo-mark{display:block}
.ch-wp-site #footer{margin:0;padding:0;background:var(--ch-navy-d);color:#c6d6e6}
.ch-wp-site #footer-in{width:100%;max-width:none;margin:0;padding:0}
/* Cocoon's generated key/link colors must not override the dark custom footer.
   Limit the override to its links; article headings keep the chosen key colors. */
.ch-wp-site #footer .ch-site-footer a,
.ch-wp-site #footer .ch-site-footer a:visited{color:#c6d6e6!important}
.ch-wp-site #footer .ch-site-footer a:hover,
.ch-wp-site #footer .ch-site-footer a:focus-visible{color:var(--ch-gold)!important}
.ch-wp-site #footer .ch-site-footer a:focus-visible{outline:2px solid var(--ch-gold);outline-offset:3px}
.ch-wp-site .mobile-menu-buttons{display:none}
.ch-wp-site.admin-bar .ch-site-header{top:32px}
@media(max-width:782px){.ch-wp-site.admin-bar .ch-site-header{top:46px}}
@media(max-width:600px){.ch-wp-site.admin-bar .ch-site-header{top:0}}
.ch-wp-imported .breadcrumb{display:none}
.ch-wp-imported .footer-widgets,.ch-wp-imported .footer-widgets-mobile{display:none}
.ch-wp-imported #content{margin:0;padding:0;background:#fff}
.ch-wp-imported #content-in{display:block;width:100%;max-width:none;margin:0}
.ch-wp-imported #main{width:100%;max-width:none;margin:0;padding:0;border:0;border-radius:0;box-shadow:none;background:#fff}
.ch-wp-imported #sidebar{display:none}
.ch-wp-imported .sidebar-menu-button{display:none}
.ch-wp-content{font-size:16px;line-height:1.9;letter-spacing:.02em}
.ch-wp-content *,.ch-page-head *{box-sizing:border-box}
.ch-wp-content img{max-width:100%;height:auto;display:block}
:where(.ch-wp-content) a{color:var(--ch-navy-l)}
:where(.ch-wp-content) a:hover{color:var(--ch-gold)}
:where(.ch-wp-content) ul,:where(.ch-wp-content) ol{padding-left:1.4em}
.ch-wp-content table{width:100%;border-collapse:collapse;margin:0}
.ch-wp-content h1,.ch-wp-content h2,.ch-wp-content h3,.ch-wp-content h4{background:none;border-radius:0}
.ch-wp-content .ch-hero h1{color:var(--ch-gold);border:0;padding:0}
.ch-wp-content .ch-content h2{background:none;border-top:0;border-right:0;border-bottom:0;color:var(--ch-ink);padding-top:0;padding-bottom:0}
.ch-wp-content .ch-section--band .ch-content h2{color:#fff}
.ch-wp-content .ch-card h3,.ch-wp-content .ch-card h4{border:0;padding:0}
.ch-wp-content .ch-cta h2{color:#fff;background:none;border:0}
.ch-wp-content a.ch-btn--navy,.ch-wp-content a.ch-btn--navy:hover{color:#fff}
.ch-wp-content a.ch-btn--primary{color:#3a2b0c}
.ch-wp-content .ch-hero-worries a{color:#fff}
.ch-wp-content .ch-steps{padding-left:0}
.ch-wp-content .ch-steps li{list-style:none}
.ch-wp-content .ch-card,.ch-wp-content .ch-link-more,.ch-wp-content .ch-post-list a{text-decoration:none}
.ch-wp-content .ch-post-list:has(+ .ch-post-list){margin-bottom:0}
/* トップのお知らせで、日付順の一覧より上に固定しているお知らせにピンの印。
   題名の後ろに、金で塗りつぶしたピンを針先が左下を向くよう45度傾けて置く */
.ch-wp-content .ch-post-list--pinned a > span:first-child::after{
  content:"";display:inline-block;width:1em;height:1em;margin-left:.4em;vertical-align:-.12em;transform:rotate(45deg);background:var(--ch-gold);
  -webkit-mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%23000' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 17v5'/%3E%3Cpath d='M9 10.76a2 2 0 0 1-1.11 1.79l-1.78.9A2 2 0 0 0 5 15.24V16a1 1 0 0 0 1 1h12a1 1 0 0 0 1-1v-.76a2 2 0 0 0-1.11-1.79l-1.78-.9A2 2 0 0 1 15 10.76V7a1 1 0 0 1 1-1 2 2 0 0 0 0-4H8a2 2 0 0 0 0 4 1 1 0 0 1 1 1z'/%3E%3C/svg%3E") center/contain no-repeat;
          mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%23000' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 17v5'/%3E%3Cpath d='M9 10.76a2 2 0 0 1-1.11 1.79l-1.78.9A2 2 0 0 0 5 15.24V16a1 1 0 0 0 1 1h12a1 1 0 0 0 1-1v-.76a2 2 0 0 0-1.11-1.79l-1.78-.9A2 2 0 0 1 15 10.76V7a1 1 0 0 1 1-1 2 2 0 0 0 0-4H8a2 2 0 0 0 0 4 1 1 0 0 1 1 1z'/%3E%3C/svg%3E") center/contain no-repeat;
}
.ch-wp-content .ch-scope h3{border:0}
/* 在留資格の手続きページ（2026-11）: 箱全体のリンクに下線を付けない。相談案内の見出しは枠なし */
.ch-wp-content a.ch-sit-go{text-decoration:none}
.ch-wp-content .ch-sit th,.ch-wp-content .ch-sit td{line-height:inherit}
.ch-wp-content a.ch-mail,.ch-wp-content a.ch-mail:hover{text-decoration:none;color:#3a2b0c}
.ch-wp-content .ch-cta-box-tags,.ch-wp-content .ch-link-row{padding-left:0}
.ch-wp-content .ch-fit h3{background:none}
.ch-wp-content .ch-req a{text-decoration:none}
.ch-wp-content .ch-cta-box-tags li{list-style:none;margin:0}
.ch-wp-content .ch-cta-box h3{border:0;padding:0;background:none;color:var(--ch-navy)}
.ch-wp-content .ch-tbl th,.ch-wp-content .ch-tbl td{line-height:inherit}
.ch-wp-content[lang="en"],.ch-wp-content[lang="id"],.ch-wp-content[lang="vi"]{line-height:1.65;letter-spacing:0;word-break:normal;line-break:auto}
.ch-wp-content[lang="my"]{letter-spacing:0;word-break:normal;line-break:auto}
.ch-wp-lang-my{letter-spacing:0;font-feature-settings:normal;word-break:normal;line-break:auto}
.ch-wp-lang-en,.ch-wp-lang-id,.ch-wp-lang-vi{line-height:1.65;letter-spacing:0;font-feature-settings:normal;word-break:normal;line-break:auto}
.ch-wp-lang-en .ch-site-logo b,.ch-wp-lang-id .ch-site-logo b,.ch-wp-lang-vi .ch-site-logo b{letter-spacing:0}
/* Device-font hero adjustment. Edit here, not in generated content.css.
   Latin titles need less tracking than Japanese; leave body/buttons unchanged.
   Keep font size/weight and normal wrapping; never force a long title onto one line. */
.ch-wp-site:is(.ch-wp-lang-en,.ch-wp-lang-id,.ch-wp-lang-vi) .ch-hero h1{letter-spacing:.01em;line-height:1.25}
.ch-wp-site.ch-wp-lang-my .ch-hero h1{letter-spacing:.01em}
.ch-wp-language-current{font-family:var(--ch-font-langsel)}
.ch-wp-site .ch-gnav li{margin:0}
.ch-wp-site .ch-site-footer h2{line-height:inherit;background:none;border-radius:0}
.ch-wp-site .ch-site-footer p{margin:1em 0}
.ch-wp-site .ch-site-footer .ch-m0{margin:0}
.ch-wp-site .ch-site-footer .ch-copyright{margin-top:1.8rem}
.ch-wp-site .ch-page-head h1{border:0;padding:0;background:none;border-radius:0;line-height:inherit}
.ch-wp-site .ch-page-head p{line-height:inherit}
@media(max-width:560px){
  .ch-wp-site,.ch-wp-content{font-size:15.5px;line-height:1.85}
}
@media(prefers-reduced-motion:reduce){
  html{scroll-behavior:auto}
  .ch-wp-content *{transition:none!important}
}

/* ブログ記事（投稿）の本文を、固定ページの .ch-content と同じ読み味にそろえる。
   .single-post に限るので固定ページには当たらない。見出しは固定ページと同じ形。
   冒頭の注意書き（Cocoonの付箋ボックス）は固定ページの .ch-note と同じ見た目。 */
.single-post .entry-content{font-size:16px;line-height:1.9;letter-spacing:.02em;color:var(--ch-ink)}
.single-post .entry-content h2{
  font-family:var(--ch-font-display);font-size:1.35rem;font-weight:700;letter-spacing:.01em;
  margin:3.2rem 0 1.2rem;padding:0 0 0 .75rem;background:none;border:0;border-left:4px solid var(--ch-gold);
  border-radius:0;line-height:1.5;color:var(--ch-ink);
}
.single-post .entry-content h3{
  font-family:var(--ch-font-display);font-weight:700;letter-spacing:.01em;
  font-size:1.08rem;margin:2rem 0 .7rem;padding:0 0 .3rem;background:none;border:0;
  border-bottom:1px dashed var(--ch-line);color:var(--ch-navy);
}
.single-post .entry-content p{margin:0 0 1.35rem}
.single-post .entry-content ul,.single-post .entry-content ol{margin:0 0 1.2rem}
.single-post .entry-content li{margin-bottom:.35rem}
.single-post .entry-content .blank-box.sticky{
  background:var(--ch-bg-tint);border:0;border-left:4px solid var(--ch-navy-l);
  border-radius:0 var(--ch-radius) var(--ch-radius) 0;padding:1rem 1.2rem;margin:0 0 1.4rem;font-size:.92rem;
}
.single-post .entry-content .blank-box.sticky p:last-child{margin-bottom:0}
/* 狭い画面では表だけ横にスクロールさせ、一語ごとの折り返しを防ぐ */
.single-post .entry-content .wp-block-table{overflow-x:auto;margin:0 0 1.2rem}
.single-post .entry-content .wp-block-table table{border-collapse:collapse;width:100%;min-width:520px;font-size:.95rem}
.single-post .entry-content .wp-block-table th,
.single-post .entry-content .wp-block-table td{border:1px solid #d6e1ec;padding:.75rem .9rem;text-align:left;vertical-align:top;background:#fff}
.single-post .entry-content .wp-block-table thead th{background:var(--ch-navy);color:#fff;font-weight:600;border-color:var(--ch-navy)}
.single-post .entry-content .wp-block-table tbody th{background:var(--ch-bg-tint);font-weight:600}
@media (max-width:640px){
  .single-post .entry-content h2{font-size:1.2rem;margin-top:2.4rem}
  .single-post .entry-content h3{font-size:1.02rem}
}
/* 相談メールのボタンと注記。Cocoonの本文リンクの下線と色を打ち消す */
.single-post .entry-content a.ch-mail,.single-post .entry-content a.ch-mail:hover{text-decoration:none;color:#3a2b0c}
.single-post .entry-content .ch-mail-notes{margin:0 0 1.6rem;padding-left:1.2em;font-size:.84rem;color:var(--ch-ink-sub)}
.single-post .entry-content .ch-mail-notes li{margin:.2rem 0}
/* 記事上のアイキャッチ左上のカテゴリ。Cocoon標準の灰色の札をやめ、アイキャッチ画像の見出しと同じ
   「淡い金の文字＋金の細い下線」にする（drafts/blog-thumbnail-proposals/b5-site.html の B-5 と同じ）。
   関連記事のサムネイルにも同じ見た目で小さく出す（前後の記事への案内では出さない） */
.single-post .eye-catch .cat-label{
  top:1.8rem;left:2.4rem;padding:0 0 .45rem;opacity:1;border:0;border-bottom:1px solid rgba(200,161,90,.6);border-radius:0;
  background:none;color:#ead4a9;font-family:var(--ch-font);font-size:1.5rem;font-weight:700;letter-spacing:.12em;line-height:1.5
}
@media (max-width:600px){.single-post .eye-catch .cat-label{top:.7rem;left:1.1rem;font-size:.82rem;padding-bottom:.2rem}}
.single-post .related-entry-card-thumb .cat-label{
  display:block;top:.45rem;left:.7rem;padding:0 0 .1rem;opacity:1;border:0;border-bottom:1px solid rgba(200,161,90,.6);border-radius:0;
  background:none;color:#ead4a9;font-family:var(--ch-font);font-size:.6rem;font-weight:700;letter-spacing:.1em;line-height:1.4
}
@media (max-width:600px){.single-post .related-entry-card-thumb .cat-label{top:.3rem;left:.5rem;font-size:.5rem}}
.post-navi .cat-label{display:none}
