/* Header and footer shared by curriculumbridge.jp and education.panolabollc.com (2026-10-23).
   Written into every page by tools/two-domain/chrome.py. Class names start with cbx- so they do not
   meet the page styles (site.css, the demos' own <style>). Same height as the old bars: 52px. */
.cbx-bar, .cbx-foot {
  --cbx-ink: #111a17; --cbx-line: rgba(255,255,255,.18); --cbx-sub: #a9bcaf; --cbx-dim: rgba(255,255,255,.7);
  --cbx-glow: #6ee7a0; --cbx-focus: #fbbf24;
  font-family: "Noto Sans JP", -apple-system, "Hiragino Sans", "Hiragino Kaku Gothic ProN", system-ui, sans-serif;
  -webkit-font-smoothing: antialiased; line-height: 1.5; box-sizing: border-box;
}
.cbx-bar *, .cbx-foot * { box-sizing: border-box; }
.cbx-bar a, .cbx-foot a { color: #fff; text-decoration: none; }
.cbx-bar :focus-visible, .cbx-foot :focus-visible { outline: 3px solid var(--cbx-focus); outline-offset: 3px; border-radius: 6px; }
.cbx-bar ul, .cbx-foot ul { list-style: none; margin: 0; padding: 0; }
.cbx-in { max-width: 1240px; margin: 0 auto; padding: 0 max(16px, env(safe-area-inset-right, 0px)) 0 max(16px, env(safe-area-inset-left, 0px)); }
@media (min-width: 720px) { .cbx-in { padding-left: max(28px, env(safe-area-inset-left, 0px)); padding-right: max(28px, env(safe-area-inset-right, 0px)); } }

/* ---------- header ---------- */
.cbx-bar { position: sticky; top: 0; z-index: 40; background: var(--cbx-ink); color: #fff; }
.cbx-bar.cbx-fixed { position: fixed; left: 0; right: 0; }
.cbx-bar .cbx-in { display: flex; align-items: center; gap: 8px 12px; min-height: 52px; padding-top: 6px; padding-bottom: 6px; position: relative; }
.cbx-home { display: flex; align-items: center; gap: 12px; min-width: 0; flex: 0 1 auto; }
.cbx-logo { display: flex; flex: none; }
.cbx-logo svg { height: 18px; width: auto; display: block; }
.cbx-sep { width: 1px; height: 18px; background: rgba(255,255,255,.25); flex: none; }
.cbx-name { display: flex; align-items: baseline; gap: 10px; font-weight: 700; font-size: 14px; letter-spacing: .06em; white-space: nowrap; min-width: 0; }
.cbx-role { font-size: 12px; font-weight: 700; letter-spacing: .04em; color: var(--cbx-glow); }
.cbx-nav { display: flex; align-items: center; gap: 6px; }
.cbx-bar .cbx-nav { margin-left: auto; } /* stronger than .cbx-bar ul { margin: 0 } */
.cbx-pill, .cbx-nav a { display: inline-flex; flex-direction: column; justify-content: center; align-items: center; min-height: 32px; padding: 3px 12px;
  border: 1px solid var(--cbx-line); border-radius: 999px; font-size: 13px; font-weight: 700; line-height: 1.25; white-space: nowrap; }
.cbx-nav a:hover, .cbx-pill:hover, .cbx-menu summary:hover { background: rgba(255,255,255,.08); }
.cbx-nav a[aria-current] { background: #276223; border-color: #52ab4c; }
.cbx-bar small { display: block; font-size: 10px; font-weight: 600; letter-spacing: .02em; color: var(--cbx-dim); }
.cbx-ask { background: #fff; color: var(--cbx-ink) !important; border-color: #fff !important; }
.cbx-ask small { color: #4b5a52 !important; }
.cbx-ask:hover { background: #e8efe9 !important; }
.cbx-out, .cbx-menu { display: none; }
.cbx-menu summary { list-style: none; cursor: pointer; display: inline-flex; align-items: center; gap: 6px; min-height: 32px; padding: 3px 12px;
  border: 1px solid var(--cbx-line); border-radius: 999px; font-size: 13px; font-weight: 700; white-space: nowrap; }
.cbx-menu summary::-webkit-details-marker { display: none; }
.cbx-menu summary::after { content: ""; width: 7px; height: 7px; border-right: 2px solid currentColor; border-bottom: 2px solid currentColor; transform: translateY(-2px) rotate(45deg); }
.cbx-menu[open] summary::after { transform: translateY(2px) rotate(-135deg); }
.cbx-menu ul { position: absolute; right: max(16px, env(safe-area-inset-right, 0px)); top: calc(100% + 4px); width: min(320px, calc(100vw - 32px));
  background: var(--cbx-ink); border: 1px solid var(--cbx-line); border-radius: 14px; padding: 8px; box-shadow: 0 16px 40px rgba(0,0,0,.35); }
.cbx-menu li a { display: block; padding: 11px 12px; border-radius: 10px; font-size: 14px; font-weight: 700; }
.cbx-menu li a:hover { background: rgba(255,255,255,.08); }
.cbx-menu li a[aria-current] { background: #276223; }
.cbx-menu li a small { margin-top: 2px; }

@media (max-width: 1079px) {
  .cbx-nav { display: none; }
  .cbx-out { display: inline-flex; margin-left: auto; }
  .cbx-menu { display: block; }
}
/* narrow: drop the company logo (the footer keeps it) and stack the role under the name */
@media (max-width: 559px) {
  .cbx-logo, .cbx-sep { display: none; }
  .cbx-name { flex-direction: column; align-items: flex-start; gap: 0; font-size: 13px; letter-spacing: .02em; }
  .cbx-role { font-size: 11px; }
  .cbx-pill, .cbx-menu summary { padding: 3px 10px; font-size: 12px; }
  .cbx-bar small { font-size: 9px; }
}
/* phones: the bar takes two rows so the name, its role and the other-domain pill never overlap;
   the page's anchor scroll leaves room for it */
@media (max-width: 459px) {
  .cbx-bar .cbx-in { flex-wrap: wrap; }
  .cbx-home { flex: 1 1 auto; }
  .cbx-menu { order: 2; }
  .cbx-out { order: 3; flex: 1 1 100%; margin-left: 0; }
  html { scroll-padding-top: 104px !important; }
}

/* ---------- footer ---------- */
.cbx-foot { background: var(--cbx-ink); color: var(--cbx-sub); font-size: 13px; position: relative; z-index: 10; }
.cbx-foot .cbx-in { padding-top: 40px; padding-bottom: calc(26px + env(safe-area-inset-bottom, 0px)); }
.cbx-cols { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 28px 32px; }
.cbx-col h2 { display: block; margin: 0 0 6px; font-family: inherit; font-size: 14px; font-weight: 800; color: #fff; letter-spacing: .02em; line-height: 1.5; word-break: normal; text-wrap: wrap; }
.cbx-col h2 small { display: block; font-size: 11px; font-weight: 600; color: var(--cbx-glow); letter-spacing: .02em; }
.cbx-col p { margin: 0 0 12px; font-size: 12.5px; line-height: 1.7; }
.cbx-col li + li { margin-top: 2px; }
.cbx-col a { display: inline-block; padding: 4px 0; font-size: 13.5px; font-weight: 600; color: #e8efe9; }
.cbx-col a:hover { text-decoration: underline; text-underline-offset: 3px; }
.cbx-col a small { display: inline; margin-left: 6px; font-size: 11px; font-weight: 500; color: var(--cbx-sub); }
.cbx-sign { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 24px; margin-top: 34px; padding-top: 22px; border-top: 1px solid rgba(255,255,255,.12); }
.cbx-sign svg { height: 16px; width: auto; display: block; }
.cbx-date { margin-left: auto; }
@media (max-width: 860px) { .cbx-cols { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); } }
@media (max-width: 560px) { .cbx-cols { grid-template-columns: minmax(0, 1fr); } .cbx-date { margin-left: 0; } }

/* a link in the page body that moves to the other domain names that domain in small type */
.cbx-dom { display: block; margin-top: 4px; font-size: 11.5px; font-weight: 500; letter-spacing: .01em; }

@media (prefers-reduced-motion: reduce) { .cbx-bar *, .cbx-foot * { transition: none !important; } }

/* ---------- the next-step band at the end of each demo (C6-C9) ---------- */
.cbx-next { font-family: "Noto Sans JP", -apple-system, "Hiragino Sans", "Hiragino Kaku Gothic ProN", system-ui, sans-serif; line-height: 1.5;
  background: #e7eee4; color: #111a17; border-top: 1px solid #d2ddcd; position: relative; z-index: 10; box-sizing: border-box; }
.cbx-next * { box-sizing: border-box; }
.cbx-next .cbx-in { padding-top: 28px; padding-bottom: 30px; display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); gap: 12px 20px; }
.cbx-next-k { grid-column: 1 / -1; margin: 0; font-size: 12px; font-weight: 800; letter-spacing: .08em; color: #2f7130; }
.cbx-next a { text-decoration: none; color: #111a17; }
.cbx-next :focus-visible { outline: 3px solid #b45309; outline-offset: 3px; border-radius: 6px; }
.cbx-next-prod { display: grid; align-content: center; gap: 4px; padding: 16px 20px; border-radius: 14px; background: #fff; border: 1.5px solid #52ab4c; }
.cbx-next-prod b { font-size: 21px; font-weight: 900; line-height: 1.35; }
.cbx-next-prod span { font-size: 14.5px; font-weight: 800; color: #276223; }
.cbx-next-prod small { font-size: 11.5px; color: #5b6b62; }
.cbx-next-more { display: grid; gap: 10px; }
.cbx-next-more a { display: grid; gap: 2px; padding: 12px 16px; border-radius: 12px; background: #fff; border: 1px solid #d2ddcd; }
.cbx-next-more span { font-size: 12px; font-weight: 800; color: #2f7130; }
.cbx-next-more b { font-size: 15px; font-weight: 800; }
.cbx-next-prod:hover, .cbx-next-more a:hover { box-shadow: 0 0 0 2px #52ab4c; }
@media (max-width: 720px) { .cbx-next .cbx-in { grid-template-columns: minmax(0, 1fr); } }
