/* Palette and typography can be replaced independently of the layout. */
.tkn-layout-b {
  --b-ink: #172e3b;
  --b-muted: #50646b;
  --b-paper: #fff;
  --b-ground: #f5f7f4;
  --b-tint: #edf3ed;
  --b-accent: #2e6253;
  --b-accent-dark: #214a41;
  --b-rule: #d6e0da;
  --b-serif: "Yu Mincho", "Hiragino Mincho ProN", "Noto Serif CJK JP", serif;
  --b-sans: "Hiragino Sans", "Yu Gothic", "Noto Sans CJK JP", sans-serif;
  --b-max: 1160px;
  --b-gutter: clamp(16px, 4vw, 36px);
  background: var(--b-ground);
}
.tkn-layout-b :is(#header-container,#footer,#sidebar,#main,.tkn-b-hero) { color: var(--b-ink); }
.tkn-layout-b :is(#header-container,#footer,#sidebar,.tkn-b-hero,.tkn-b-list-page) { font-family: var(--b-sans); }
.tkn-layout-b #header-container, .tkn-layout-b #header, .tkn-layout-b #navi { background: var(--b-paper); color: var(--b-ink); }
.tkn-layout-b #header, .tkn-layout-b #header-container-in { height: auto; min-height: 0; }
.tkn-layout-b #header > #header-in {
  width: min(var(--b-max), calc(100% - 2 * var(--b-gutter)));
  min-height: 84px; margin-inline: auto; display: flex; flex-flow: row nowrap; align-items: center;
  gap: 20px; padding: 0; text-align: left;
}
.tkn-layout-b #header .logo { margin: 0; min-width: max-content; padding: 0; line-height: 1.24; }
.tkn-layout-b #header .site-name { display: flex; align-items: center; gap: 12px; color: var(--b-ink); text-decoration: none; padding: 0; }
.tkn-layout-b #header .site-name-text { display: flex; align-items: center; gap: 12px; }
.tkn-layout-b #header .mzc-adopted-header { display: none !important; }
.tkn-layout-b .tkn-b-mark { display: inline-grid; place-items: center; border: 1px solid #92aaa0; color: var(--b-accent); width: 38px; height: 38px; border-radius: 8px; }
.tkn-layout-b .tkn-b-mark svg { display: block; width: 22px; height: 22px; }
.tkn-layout-b .tkn-b-wordmark, .tkn-layout-b .logo-footer .site-name-text { font: 700 28px/1.25 var(--b-serif); letter-spacing: .06em; color: inherit; }
.tkn-layout-b #header .tagline { position: static !important; clip: auto !important; clip-path: none !important; width: auto !important; height: auto !important; margin: 0 !important; color: var(--b-muted); font-size: 12px; letter-spacing: .035em; white-space: normal; }
.tkn-layout-b .tkn-b-search { display: flex; flex: 0 1 200px; align-items: center; min-width: 0; margin: 0 0 0 auto; border: 1px solid var(--b-rule); border-radius: 4px; background: var(--b-ground); }
.tkn-layout-b .tkn-b-search input { flex: 1 1 auto; min-width: 0; width: 100%; border: none; margin: 0; background: transparent; color: var(--b-ink); padding: 8px 0 8px 11px; font: inherit; font-size: 14px; }
.tkn-layout-b .tkn-b-search button { flex: 0 0 40px; display: grid; place-items: center; min-height: 40px; padding: 0; border: 0; background: transparent; color: var(--b-accent); cursor: pointer; }
.tkn-layout-b .tkn-b-search button svg { width: 20px; height: 20px; }
.tkn-layout-b #navi { border-block: 1px solid var(--b-rule); }
.tkn-layout-b #navi-in { display: block; width: min(var(--b-max),calc(100% - 2 * var(--b-gutter))); margin: auto; padding: 0; }
.tkn-layout-b .tkn-b-menu summary { display: none; }
.tkn-layout-b #navi .tkn-b-nav-list { display: flex; justify-content: space-between; list-style: none; padding: 0; margin: 0; gap: 8px; }
.tkn-layout-b #navi .tkn-b-nav-list li { margin: 0; float: none; height: auto; line-height: normal; }
.tkn-layout-b #navi .tkn-b-nav-list a { position: relative; display: flex; align-items: center; min-height: 49px; color: var(--b-ink); background: transparent; padding: 0 10px; text-decoration: none; font-size: clamp(12px, 1.11vw, 14px); font-weight: 700; white-space: nowrap; }
.tkn-layout-b #navi .tkn-b-nav-list a:hover, .tkn-layout-b #navi .tkn-b-nav-list a[aria-current] { color: var(--b-accent-dark); background: var(--b-tint); }
.tkn-layout-b #navi .tkn-b-nav-list a[aria-current]::after { content: ""; position: absolute; inset: auto 10px 0; height: 2px; background: var(--b-accent); }
.tkn-layout-b :is(#header, #navi, #sidebar, #footer, .tkn-b-hero, .tkn-b-reports) :focus-visible { outline: 2px solid #236d59; outline-offset: 3px; }

.tkn-layout-b .tkn-b-hero {
  width: min(var(--b-max),calc(100% - 2 * var(--b-gutter))); margin: 26px auto 0;
  display: grid; grid-template-columns: minmax(0,1.08fr) minmax(0,1fr); align-items: stretch;
  background: var(--b-tint); border: 1px solid var(--b-rule); overflow: clip;
}
.tkn-layout-b .tkn-b-hero-copy { align-self: center; padding: clamp(23px,3.7vw,52px); }
.tkn-layout-b .tkn-b-hero h2 { margin: 0 0 18px; padding: 0; color: var(--b-ink); font: 700 clamp(23px,3vw,39px)/1.38 var(--b-serif); letter-spacing: .025em; }
.tkn-layout-b .tkn-b-hero p { margin: 0 0 24px; max-width: 28em; line-height: 1.85; color: var(--b-muted); font-size: clamp(13px,1.25vw,16px); }
.tkn-layout-b .tkn-b-hero figure { margin: 0; min-width: 0; position: relative; min-height: 300px; }
.tkn-layout-b .tkn-b-hero img { position: absolute; width: 100%; height: 100%; object-fit: cover; object-position: 51% 54%; filter: saturate(.81); }
.tkn-layout-b .tkn-b-hero figcaption { position: absolute; bottom: 10px; right: 12px; background: #fff; color: var(--b-muted); border-radius: 2px; padding: 1px 6px; font-size: 10px; letter-spacing: .06em; }
.tkn-layout-b .tkn-b-cta { display: inline-flex; align-items: center; gap: 12px; padding: 9px 14px; min-height: 44px; border-radius: 3px; background: var(--b-accent-dark); color: white; text-decoration: none; font-size: 14px; font-weight: 700; }
.tkn-layout-b .tkn-b-cta:hover { background: #173a30; color: white; }
.tkn-layout-b .tkn-b-cta svg, .tkn-layout-b .tkn-b-reports svg { width: 16px; height: 16px; }
.tkn-layout-b .tkn-b-anchor { display: block; scroll-margin-top: 26px; }

.tkn-layout-b #content { margin-top: 28px; }
.tkn-layout-b #content-in {
  display: grid; grid-template-columns: minmax(0,1fr) minmax(242px,292px);
  gap: clamp(22px,3vw,38px); width: min(var(--b-max),calc(100% - 2 * var(--b-gutter)));
  margin: auto; align-items: start;
}
.tkn-layout-b #content-in::before, .tkn-layout-b #content-in::after,
.tkn-layout-b #header-in::before, .tkn-layout-b #header-in::after { display: none; }
.tkn-layout-b #main, .tkn-layout-b :is(#sidebar,#tkn-b-article-resources) { float: none; min-width: 0; width: auto; margin: 0; }
.tkn-layout-b #main { background: var(--b-paper); border: 1px solid var(--b-rule); border-radius: 0; padding: clamp(17px,3.2vw,38px); }
.tkn-layout-b .tkn-b-list-page #list { display: block; }
.tkn-layout-b :is(.tkn-b-list-heading,#archive-title,.tkn-b-reports h2,#custom_html-3 .mzc-top4-heading) {
  margin: 0 0 14px; padding: 0 0 12px; border: 0; border-bottom: 1px solid var(--b-rule);
  background: none; color: var(--b-ink); font: 700 clamp(19px,2vw,26px)/1.4 var(--b-serif); letter-spacing: .03em;
}
.tkn-layout-b #archive-title { font-size: clamp(23px,3vw,35px); padding-bottom: 20px; margin-bottom: 18px; }
.tkn-layout-b #archive-title .fa { display: none; }
.tkn-layout-b .tkn-b-list-page #list .entry-card-wrap { border: 0; border-bottom: 1px solid var(--b-rule); border-radius: 0; display: block; margin: 0; padding: 14px 0; background: transparent; }
.tkn-layout-b .tkn-b-list-page #list .entry-card-wrap:hover { background: var(--b-ground); }
.tkn-layout-b .tkn-b-list-page #list .entry-card { display: grid; grid-template-columns: clamp(90px,18vw,165px) minmax(0,1fr); gap: 17px; align-items: start; }
.tkn-layout-b .tkn-b-list-page #list .entry-card :is(.entry-card-thumb,.entry-card-content) { position: relative; float: none; width: auto; margin: 0; min-width: 0; }
.tkn-layout-b .tkn-b-list-page #list .entry-card .entry-card-thumb img { width: 100%; object-fit: cover; aspect-ratio: 16/9; border-radius: 3px; display: block; }
.tkn-layout-b .tkn-b-list-page #list .entry-card-title { margin: 1px 0 5px; color: var(--b-ink); font-size: clamp(15px,1.58vw,20px); line-height: 1.5; }
.tkn-layout-b .tkn-b-list-page #list .entry-card-snippet { color: var(--b-muted); font-size: 13px; line-height: 1.7; }
.tkn-layout-b .tkn-b-list-page #list .cat-label { font-size: 10px; background: #294e47; border: 0; color: white; padding: 2px 5px; }
.tkn-layout-b .tkn-b-reports { margin: 0 0 34px; }
.tkn-layout-b .tkn-b-reports ul { list-style: none; padding: 0; margin: 0; }
.tkn-layout-b .tkn-b-reports li { margin: 0; border-bottom: 1px solid var(--b-rule); }
.tkn-layout-b .tkn-b-reports li a { display: grid; grid-template-columns: minmax(0,1fr) auto; align-items: center; text-decoration: none; padding: 10px 3px; color: var(--b-ink); }
.tkn-layout-b .tkn-b-reports li a:hover { color: var(--b-accent-dark); background: var(--b-ground); }
.tkn-layout-b .tkn-b-reports span { grid-column: 1; color: var(--b-muted); font-size: 12px; }
.tkn-layout-b .tkn-b-reports strong { grid-column: 1; font-size: 16px; }
.tkn-layout-b .tkn-b-reports svg { grid-column: 2; grid-row: 1/3; color: var(--b-accent); }

.tkn-layout-b #custom_html-3 { margin: 0 0 32px; }
.tkn-layout-b #custom_html-3 .mzc-top4 { margin: 0 0 25px; padding: 0; background: transparent; border: 0; }
.tkn-layout-b #custom_html-3 .mzc-top4-grid { gap: 10px 14px; }
.tkn-layout-b #custom_html-3 .mzc-top4-card { color: var(--b-ink) !important; box-shadow: none !important; transform: none !important; border: 1px solid var(--b-rule) !important; border-radius: 3px !important; background: var(--b-ground) !important; }
.tkn-layout-b #custom_html-3 .mzc-top4-card:hover { background: var(--b-tint) !important; }
.tkn-layout-b #custom_html-3 .mzc-top4 .mzc-top4-card { min-height: 0; gap: 4px; padding: 12px 14px; }
.tkn-layout-b #custom_html-3 .mzc-top4 .mzc-top4-name { color: var(--b-ink); font-size: 16px; }
.tkn-layout-b #custom_html-3 .mzc-top4 .mzc-top4-description { font-size: 13px; line-height: 1.6; }
.tkn-layout-b #custom_html-3 .mzc-top4 .mzc-top4-more { color: var(--b-accent-dark); font-size: 12px; }
.tkn-layout-b #custom_html-3 .mzc-top-search-v055 { margin: 20px 0 25px; }
.tkn-layout-b #custom_html-3 .mzc-top-search-v055 iframe { display: block; max-width: 100%; }

.tkn-layout-b :is(#sidebar,#tkn-b-article-resources) { display: block; background: transparent; padding: 0; }
.tkn-layout-b :is(#sidebar,#tkn-b-article-resources) .widget { color: var(--b-ink); padding: 0 0 17px; margin: 0 0 20px; border: 0; border-bottom: 1px solid var(--b-rule); }
.tkn-layout-b :is(#sidebar,#tkn-b-article-resources) :is(h2,summary) { display: flex; align-items: center; gap: 7px; margin: 0 0 8px; padding: 0 0 8px; background: none; color: var(--b-ink); border: 0; font: 700 19px/1.4 var(--b-serif); }
.tkn-layout-b :is(#sidebar,#tkn-b-article-resources) summary { display: list-item; cursor: pointer; padding: 0; font-size: 15px; }
.tkn-layout-b :is(#sidebar,#tkn-b-article-resources) h2 svg { width: 18px; height: 18px; color: var(--b-accent); }
.tkn-layout-b :is(#sidebar,#tkn-b-article-resources) .widget :is(ul,li) { padding: 0; margin: 0; list-style: none; }
.tkn-layout-b :is(#sidebar,#tkn-b-article-resources) .widget li + li { border-top: 1px solid var(--b-rule); }
.tkn-layout-b :is(#sidebar,#tkn-b-article-resources) .widget li a { display: block; padding: 9px 5px 9px 0; color: var(--b-ink); text-decoration: none; font-size: 14px; line-height: 1.55; }
.tkn-layout-b :is(#sidebar,#tkn-b-article-resources) .widget li a:hover { color: var(--b-accent-dark); text-decoration: underline; }
.tkn-layout-b :is(#sidebar,#tkn-b-article-resources) .wp-block-categories li a { display: flex; justify-content: space-between; align-items: center; gap: 5px; }
.tkn-layout-b :is(#sidebar,#tkn-b-article-resources) .wp-block-categories li a::after { content: ""; width: 5px; height: 5px; border: solid var(--b-accent); border-width: 1px 1px 0 0; transform: rotate(45deg); }
.tkn-layout-b :is(#sidebar,#tkn-b-article-resources) .wp-block-search__label { font-size: 13px; font-weight: 700; }
.tkn-layout-b :is(#sidebar,#tkn-b-article-resources) .wp-block-search__input { width: 100%; min-width: 0; border: 1px solid var(--b-rule); font-size: 16px; }
.tkn-layout-b :is(#sidebar,#tkn-b-article-resources) .wp-block-search__button { background: var(--b-accent-dark); color: white; border: 0; white-space: nowrap; border-radius: 3px; font-size: 13px; }
.tkn-layout-b :is(#sidebar,#tkn-b-article-resources) .sidebar-scroll { position: static; }

.tkn-layout-b .entry-header .entry-title { font-family: var(--b-serif); font-size: clamp(25px,3.2vw,40px); line-height: 1.42; color: var(--b-ink); margin: 0 0 20px; }
.tkn-layout-b .entry-header .eye-catch-wrap { margin-bottom: 12px; }
.tkn-layout-b .entry-header .eye-catch img { display: block; border-radius: 3px; }
.tkn-layout-b .entry-header .date-tags { color: var(--b-muted); border-bottom: 1px solid var(--b-rule); padding: 0 0 8px; }
.tkn-layout-b #footer { margin-top: 45px; border-top: 1px solid var(--b-rule); background: #e8efe9; }
.tkn-layout-b #footer-in { width: min(var(--b-max),calc(100% - 2 * var(--b-gutter))); margin: auto; }
.tkn-layout-b #footer :is(a,.copyright) { color: var(--b-ink); }
.tkn-layout-b #footer .footer-bottom { border-top: 1px solid var(--b-rule); padding: 17px 0; }
.tkn-layout-b #footer .logo-footer .site-name-text { font-size: 23px; }
.tkn-layout-b #footer .widget { margin: 12px 0; font-size: 14px; }

@media (max-width: 1000px) {
  .tkn-layout-b #header .tagline { display: none; }
  .tkn-layout-b #content-in { grid-template-columns: minmax(0,1fr) minmax(205px,25%); }
}
@media (min-width: 768px) and (max-width: 1000px) {
  .tkn-layout-b #navi .tkn-b-nav-list { flex-wrap: wrap; justify-content: flex-start; gap: 0 3px; }
  .tkn-layout-b #navi .tkn-b-nav-list a { padding-inline: 7px; min-height: 43px; }
}
@media (max-width: 767px) {
  .tkn-layout-b #header > #header-in { gap: 7px; min-height: 61px; }
  .tkn-layout-b #header :is(.site-name,.site-name-text) { gap: 7px; }
  .tkn-layout-b .tkn-b-wordmark { font-size: 22px; }
  .tkn-layout-b .tkn-b-mark { width: 29px; height: 29px; }
  .tkn-layout-b .tkn-b-mark svg { width: 17px; height: 17px; }
  .tkn-layout-b .tkn-b-search { flex-basis: 135px; }
  .tkn-layout-b .tkn-b-search input { padding-left: 7px; font-size: 16px; }
  .tkn-layout-b .tkn-b-search input::placeholder { font-size: 12px; }
  .tkn-layout-b .tkn-b-search button { flex-basis: 35px; min-height: 40px; }
  .tkn-layout-b .tkn-b-menu summary { display: flex; align-items: center; gap: 8px; cursor: pointer; min-height: 43px; font-size: 13px; font-weight: 700; }
  .tkn-layout-b .tkn-b-menu summary svg { width: 19px; height: 19px; color: var(--b-accent); }
  .tkn-layout-b #navi .tkn-b-nav-list { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 0 10px; padding-bottom: 8px; }
  .tkn-layout-b #navi .tkn-b-nav-list a { font-size: 13px; padding-inline: 1px; min-height: 42px; border-top: 1px solid var(--b-rule); white-space: normal; }
  .tkn-layout-b .tkn-b-hero { margin-top: 14px; grid-template-columns: 1fr; }
  .tkn-layout-b .tkn-b-hero-copy { padding: 23px 20px; }
  .tkn-layout-b .tkn-b-hero h2 { margin-bottom: 11px; font-size: clamp(21px,6.3vw,34px); }
  .tkn-layout-b .tkn-b-hero p { margin-bottom: 14px; }
  .tkn-layout-b .tkn-b-hero figure { min-height: 0; height: clamp(112px,36vw,206px); }
  .tkn-layout-b .tkn-b-hero img { object-position: 54% 58%; }
  .tkn-layout-b #content-in { grid-template-columns: minmax(0,1fr); }
  .tkn-layout-b #content { margin-top: 17px; }
  .tkn-layout-b :is(#sidebar,#tkn-b-article-resources) { margin: 2px 0 0; }
  .tkn-layout-b .tkn-b-list-page #list .entry-card { grid-template-columns: clamp(75px,24vw,130px) minmax(0,1fr); gap: 10px; }
  .tkn-layout-b .tkn-b-list-page #list .entry-card-title { font-size: 15px; }
}

/* Server-rendered initial shell, with a device-appropriate navigation control. */
.tkn-layout-b #header .tagline { order: 1; }
.tkn-layout-b .tkn-b-search { order: 2; }
.tkn-layout-b #custom_html-3 { scroll-margin-top: 26px; }
.tkn-layout-b .tkn-b-menu--mobile { display: none; }
@media (max-width: 767px) {
  .tkn-layout-b .tkn-b-menu--desktop { display: none; }
  .tkn-layout-b .tkn-b-menu--mobile { display: block; }
}

.tkn-layout-b.tkn-b-reading #content-in {
  grid-template-columns: minmax(0,1fr);
  width: min(950px,calc(100% - 2 * var(--b-gutter)));
}
.tkn-layout-b.tkn-b-reading #main { max-width: none; }
.tkn-layout-b.tkn-b-reading .entry-content { min-width: 0; overflow-wrap: anywhere; }
.tkn-layout-b.tkn-b-reading .entry-content :is(img,svg,video,figure) { max-width: 100%; }
.tkn-layout-b #tkn-b-article-resources {
  min-width: 0;
  padding: clamp(17px,3.2vw,32px);
  border-top: 1px solid var(--b-rule);
  scroll-margin-top: 18px;
  color: var(--b-ink);
  font-family: var(--b-sans);
}
.tkn-layout-b #tkn-b-article-resources-title { margin: 0 0 16px; }
.tkn-layout-b #tkn-b-article-resources .tkn-b-resources-inner { display: grid; gap: 0 30px; }
.tkn-layout-b .menu-icon svg { width: 21px; height: 21px; vertical-align: middle; }
@media (min-width: 768px) {
  .tkn-layout-b #tkn-b-article-resources .tkn-b-resources-inner { grid-template-columns: repeat(2,minmax(0,1fr)); }
}

/* Append to layout.css after the existing article resource styles. */
.tkn-layout-b #tkn-b-article-resources {
  padding: clamp(14px, 2.4vw, 24px) clamp(12px, 3vw, 32px) 0;
}

.tkn-layout-b #tkn-b-article-resources .tkn-b-resources-inner {
  grid-template-columns: minmax(0, 1fr);
  gap: 14px;
}

.tkn-layout-b #tkn-b-article-resources .widget {
  min-width: 0;
  margin: 0;
  padding: 0;
  border: 0;
}

.tkn-layout-b #tkn-b-article-resources .tkn-b-resources-inner::before,
.tkn-layout-b #tkn-b-article-resources .tkn-b-resources-inner::after {
  content: none;
}

.tkn-layout-b #tkn-b-article-resources .wp-block-search,
.tkn-layout-b #tkn-b-article-resources .wp-block-search__inside-wrapper {
  width: 100%;
  max-width: none;
  margin: 0;
}

.tkn-layout-b #tkn-b-article-resources .wp-block-search__label {
  display: inline-block;
  margin-bottom: 5px;
}

.tkn-layout-b #tkn-b-article-resources .wp-block-search :is(input, button) {
  min-height: 44px;
}

.tkn-layout-b #tkn-b-article-resources :is(.wp-block-categories-list, .wp-block-latest-posts__list) {
  display: grid;
  gap: 0 clamp(10px, 2vw, 24px);
  margin-block: 0;
}

.tkn-layout-b #tkn-b-article-resources .wp-block-categories-list {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.tkn-layout-b #tkn-b-article-resources :is(.wp-block-categories-list, .wp-block-latest-posts__list) > li {
  min-width: 0;
  border: 0;
  border-bottom: 1px solid var(--b-rule);
  overflow-wrap: anywhere;
}

.tkn-layout-b #tkn-b-article-resources :is(.wp-block-categories-list, .wp-block-latest-posts__list) > li + li {
  border-top: 0;
}

.tkn-layout-b #tkn-b-article-resources :is(.wp-block-categories-list, .wp-block-latest-posts__list) > li > a {
  display: flex;
  align-items: center;
  min-height: 44px;
  padding: 6px 3px 6px 0;
}

.tkn-layout-b #tkn-b-article-resources .wp-block-categories li a::after {
  flex: 0 0 5px;
}

.tkn-layout-b #tkn-b-article-resources .sidebar-scroll {
  min-width: 0;
  margin: 0;
  border-top: 1px solid var(--b-rule);
}

.tkn-layout-b #tkn-b-article-resources summary {
  margin: 0;
  padding: 11px 0;
  min-height: 44px;
}

@media (min-width: 768px) {
  .tkn-layout-b #tkn-b-article-resources .wp-block-latest-posts__list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
