@charset "UTF-8";
/* ==========================================================================
   /bizclip/asset/css/component_bizclip.css（PC）
   Biz Clip デザインパーツ
   ========================================================================== */

/* ---- 共通（変数・bc-btn ボタン） ---- */
.bc-cta, .bc-btn, .bc-toc, .bc-h, .bc-img, .bc-table, .bc-scroll, .bc-howto, .bc-qa,
.bcg-head, .bcg-lead, .bcg-nav, .bcg-item, .bcg-foot,
#articles #main .postDetail {
  --bc-blue: #00a7ea;
  --bc-blue-hover: #0067c0;
  --bc-text: #231815;
  --bc-line: #d5d5d5;
  --bc-line-dark: #b5b5b6;
  --bc-bg: #f5f6f9;
}

.bc-nowrap {
  white-space: nowrap;
}
.bc-center {
  text-align: center;
}

.bc-btn {
  position: relative;
  display: inline-block;
  padding: 10px 48px 10px 30px;
  border-radius: 40px;
  background: var(--bc-blue);
  color: #fff;
  font-size: 1.6rem;
  font-weight: bold;
  line-height: 1.5;
  text-align: center;
  text-decoration: none;
  transition: opacity .2s;
}
.bc-btn::after {
  content: "";
  position: absolute;
  top: 50%;
  right: 22px;
  width: 8px;
  height: 8px;
  border: solid #fff;
  border-width: 2px 2px 0 0;
  transform: translateY(-50%) rotate(45deg);
}
.bc-btn:hover {
  opacity: 0.7;
  color: #fff;
  text-decoration: none;
}

/* ---- 共通【上書き】 ---- */
#articles #main .textArea .bc-btn,
#articles #main .textArea .bc-btn:hover,
#main.terms_sys .bc-btn,
#main.terms_sys .bc-btn:hover {
  color: #fff;
  text-decoration: none;
}

/* ---- bc-cta（CTA：資料 DL・公式サイト導線） ---- */
.bc-cta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  margin: 0 0 30px;
  padding: 24px 28px;
  border: 2px solid var(--bc-blue);
  background: #fff;
  box-shadow: 0 6px 6px rgba(0, 0, 0, 0.25);
  color: var(--bc-text);
  text-decoration: none;
  transition: background-color 0.2s;
}
.bc-cta:hover {
  background: #eaf7fd;
  color: var(--bc-text);
  text-decoration: none;
}
.bc-cta-text {
  display: block;
  margin: 0;
  color: var(--bc-text);
  font-size: 1.7rem;
  font-weight: bold;
  line-height: 1.6;
  text-align: left;
  transition: opacity 0.2s;
}
.bc-cta-btn {
  flex-shrink: 0;
}
.bc-cta:hover .bc-cta-text,
.bc-cta:hover .bc-cta-btn {
  opacity: 0.7;
}
.bc-cta--srv {
  flex-direction: column;
  align-items: center;
}
.bc-cta--srv .bc-cta-btn {
  min-width: 250px;
}

/* ---- bc-cta（CTA）【上書き】 ---- */
#articles #main .textArea .bc-cta,
#articles #main .textArea .bc-cta:hover,
#main.terms_sys .bc-cta,
#main.terms_sys .bc-cta:hover {
  color: var(--bc-text);
  text-decoration: none;
}

/* ---- bc-toc（目次） ---- */
.bc-toc {
  --bc-toc-closed-h: 145px;
  --bc-toc-peek: 0.3;
  --bc-toc-icon: url("data:image/svg+xml;charset=utf8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Ccircle cx='12' cy='12' r='12' fill='%2300a7ea'/%3E%3Cg fill='%23fff'%3E%3Ccircle cx='7' cy='8' r='1.5'/%3E%3Ccircle cx='7' cy='12' r='1.5'/%3E%3Ccircle cx='7' cy='16' r='1.5'/%3E%3Crect x='10' y='7' width='8' height='2' rx='1'/%3E%3Crect x='10' y='11' width='8' height='2' rx='1'/%3E%3Crect x='10' y='15' width='8' height='2' rx='1'/%3E%3C/g%3E%3C/svg%3E");
  margin: 0 0 30px;
  padding: 20px 24px 8px;
  background: var(--bc-bg);
  color: var(--bc-text);
}
.bc-toc-head {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  margin: 0 0 12px;
  font-size: 1.7rem;
  font-weight: bold;
  line-height: 1.5;
}
.bc-toc-head::before {
  content: "";
  flex-shrink: 0;
  width: 22px;
  height: 22px;
  background: var(--bc-toc-icon) no-repeat center / contain;
}
.bc-toc-toggle {
  margin: 0;
  padding: 0;
  border: 0;
  background: none;
  color: var(--bc-blue);
  font-family: inherit;
  font-size: 1.4rem;
  font-weight: normal;
  line-height: 1.5;
  cursor: pointer;
}
.bc-toc-toggle::before { content: "[ "; color: var(--bc-text); }
.bc-toc-toggle::after { content: " ]"; color: var(--bc-text); }
.bc-toc-body {
  position: relative;
  max-height: var(--bc-toc-closed-h);
  overflow: hidden;
}
.bc-toc-body::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 27px;
  background: linear-gradient(to bottom, rgba(245, 246, 249, 0), var(--bc-bg) 90%);
  pointer-events: none;
}
.bc-toc.is-open .bc-toc-body { max-height: none; }
.bc-toc.is-open .bc-toc-body::after { display: none; }
.bc-toc.is-short .bc-toc-body { max-height: none; }
.bc-toc.is-short .bc-toc-body::after,
.bc-toc.is-short .bc-toc-toggle,
.bc-toc.is-short .bc-toc-more { display: none; }
.bc-toc-list,
.bc-toc-list ul {
  margin: 0;
  padding: 0;
  list-style: none;
}
.bc-toc-list { counter-reset: bc-toc; }
.bc-toc-list li {
  position: relative;
  margin: 0;
  padding-left: 1.6em;
  font-size: 1.7rem;
  line-height: 1.6;
}
.bc-toc-list > li + li { margin-top: 10px; }
.bc-toc-list > li::before {
  counter-increment: bc-toc;
  content: counter(bc-toc) ".";
  position: absolute;
  left: 0;
  top: 0;
  width: 1.3em;
  text-align: right;
}
.bc-toc-list ul li {
  padding-left: 1.2em;
}
.bc-toc-list ul li::before {
  content: "";
  position: absolute;
  left: 0.2em;
  top: 0.8em;
  width: 4px;
  height: 4px;
  margin-top: -2px;
  border-radius: 50%;
  background: var(--bc-text);
}
.bc-toc-more {
  display: block;
  position: relative;
  width: 100%;
  height: 24px;
  margin: 4px 0 0;
  padding: 0;
  border: 0;
  background: none;
  cursor: pointer;
}
.bc-toc-more::before {
  content: "";
  position: absolute;
  left: 50%;
  top: 4px;
  width: 10px;
  height: 10px;
  border: solid var(--bc-text);
  border-width: 0 2px 2px 0;
  transform: translateX(-50%) rotate(45deg);
}
.bc-toc.is-open .bc-toc-more::before {
  top: 9px;
  transform: translateX(-50%) rotate(225deg);
}

/* ---- bc-toc（目次）【上書き】 ---- */
#articles #main .textArea .bc-toc-list a { color: var(--bc-blue); text-decoration: none; }
#articles #main .textArea .bc-toc-list a:hover { color: var(--bc-text); text-decoration: underline; }
#articles #main .textArea .bc-toc--text .bc-toc-list a { color: var(--bc-text); text-decoration: none; }
#articles #main .textArea .bc-toc--text .bc-toc-list a:hover { color: var(--bc-blue); text-decoration: underline; }

/* ---- bc-h（見出し） ---- */
.bc-h,
#articles #main .postDetail h2:not([class]),
#articles #main .postDetail h3:not([class]) {
  --bc-h-ext: 0px;
  margin: 0 0 calc(15px + var(--bc-h-ext));
  font-size: 2.2rem;
  font-weight: bold;
  line-height: 37px;
}
h3.bc-h { font-size: 2.0rem; }
h2.bc-h,
#articles #main .postDetail h2:not([class]),
#articles #main .postDetail h3:not([class]) { margin-top: 50px; }
#articles #main .postDetail #clipArea > h2:first-child,
#articles #main .postDetail #clipArea > h3:first-child { margin-top: 0; }
#articles #main .postDetail .bcg-block-body h2.bc-h,
#articles #main .postDetail .bcg-block-body h2:not([class]),
#articles #main .postDetail .bcg-block-body h3:not([class]) { margin-top: 0; }
.bc-h--line-initial,
#articles #main .postDetail h2:not([class]),
#articles #main .postDetail h3:not([class]) {
  --bc-h-ext: 6px;
  padding-bottom: 5px;
  border-bottom: 2px solid var(--bc-blue);
}
.bc-h--line-initial::first-letter,
#articles #main .postDetail h2:not([class])::first-letter,
#articles #main .postDetail h3:not([class])::first-letter {
  font-size: 150%;
  color: var(--bc-blue);
}
.bc-h--bar2 {
  position: relative;
  padding-left: 15px;
  border-left: 8px solid #eeeeee;
}
.bc-h--bar2::before {
  content: "";
  position: absolute;
  left: -8px;
  bottom: 0;
  width: 8px;
  height: 50%;
  background: #a3d5f5;
}
#articles #main .postDetail:has(h2:not([class])) h3:not([class]) {
  --bc-h-ext: 0px;
  position: relative;
  margin-top: 0;
  padding: 0 0 0 15px;
  border-bottom: 0;
  border-left: 8px solid #eeeeee;
  font-size: 2.0rem;
}
#articles #main .postDetail:has(h2:not([class])) h3:not([class])::first-letter {
  font-size: inherit;
  color: inherit;
}
#articles #main .postDetail:has(h2:not([class])) h3:not([class])::before {
  content: "";
  position: absolute;
  left: -8px;
  bottom: 0;
  width: 8px;
  height: 50%;
  background: #a3d5f5;
}

/* ---- bc-h（見出し）【上書き】 ---- */
#articles #main .postDetail .bc-h { margin-bottom: calc(15px + var(--bc-h-ext)); }
#articles #main .postDetail h3.bc-h { font-size: 2.0rem; }

/* ---- bc-img（画像） ---- */
.bc-img {
  --bc-img-cols: 1;
  --bc-img-gap: 30px;
  display: grid;
  grid-template-columns: repeat(var(--bc-img-cols), minmax(0, 1fr));
  gap: var(--bc-img-gap);
  margin: 0 0 30px;
}
.bc-img--col2 { --bc-img-cols: 2; }
.bc-img--col3 { --bc-img-cols: 3; }
.bc-img--col4 { --bc-img-cols: 4; }
.bc-img--col5 { --bc-img-cols: 5; }
.bc-img--gap0 { --bc-img-gap: 0; }
.bc-img--gap10 { --bc-img-gap: 10px; }
.bc-img--gap20 { --bc-img-gap: 20px; }
.bc-img--gap40 { --bc-img-gap: 40px; }
.bc-img-item {
  margin: 0;
  min-width: 0;
}
.bc-img-item img {
  display: block;
  max-width: 100%;
  height: auto;
  margin: 0 auto;
}
.bc-img-cap {
  margin: 8px 0 0;
  color: #666;
  font-size: 1.3rem;
  line-height: 1.5;
  text-align: center;
}
.bc-img--cap-top .bc-img-item {
  display: flex;
  flex-direction: column-reverse;
}
.bc-img--cap-top .bc-img-cap {
  margin: 0 0 8px;
}

/* ---- bc-img（画像）【上書き】 ---- */

/* ---- bc-table（表） ---- */
.bc-table {
  width: 100%;
  margin: 0 0 30px;
  border-collapse: collapse;
  table-layout: auto;
  color: var(--bc-text);
  font-size: 1.5rem;
  line-height: 1.5;
}
.bc-table th,
.bc-table td {
  padding: 10px 14px;
  border: 1px solid #aaa;
  text-align: left;
  vertical-align: top;
}
.bc-table th {
  background: var(--bc-bg);
  font-weight: bold;
}
.bc-table thead th {
  background: #666;
  color: #fff;
  text-align: center;
  vertical-align: middle;
}
.bc-table th.bc-center,
.bc-table td.bc-center {
  text-align: center;
}
.bc-scroll {
  margin: 0 0 30px;
}
.bc-scroll .bc-table {
  margin-bottom: 0;
}

/* ---- bc-table（表）【上書き】 ---- */

/* ---- bc-howto（How To） ---- */
.bc-howto {
  margin: 0 0 30px;
}
.bc-howto-ttl,
.bc-qa-ttl {
  display: flex;
  align-items: center;
  gap: 16px;
  margin: 0 0 20px;
  color: var(--bc-text);
  font-size: 2.2rem;
  font-weight: bold;
  line-height: 1.5;
  text-align: center;
}
.bc-howto-ttl::before,
.bc-howto-ttl::after,
.bc-qa-ttl::before,
.bc-qa-ttl::after {
  content: "";
  flex: 1 0 24px;
  height: 1px;
  background: var(--bc-blue);
}
.bc-howto-steps {
  --bc-howto-line: var(--bc-line-dark);
  position: relative;
  margin: 0;
  padding: 0;
  list-style: none;
  counter-reset: bc-step;
}
.bc-howto-steps::before {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  left: 50%;
  z-index: 0;
  width: 2px;
  margin-left: -1px;
  background: var(--bc-howto-line);
}
.bc-howto-step {
  position: relative;
  z-index: 1;
  margin: 0 0 50px;
  padding: 20px 24px;
  border-radius: 8px;
  background: var(--bc-bg);
}
.bc-howto-step:last-child {
  margin-bottom: 0;
}
.bc-howto-step-ttl {
  --bc-step-badge: 52px;
  position: relative;
  display: flex;
  align-items: center;
  min-height: var(--bc-step-badge);
  margin: 0 0 12px;
  padding: 0 0 0 calc(var(--bc-step-badge) + 12px);
  color: var(--bc-blue);
  font-size: 1.9rem;
  font-weight: bold;
  line-height: 1.5;
}
.bc-howto-step-ttl::before {
  counter-increment: bc-step;
  content: "STEP";
  position: absolute;
  top: 0;
  left: 0;
  width: var(--bc-step-badge);
  height: var(--bc-step-badge);
  padding-top: 8px;
  border-radius: 50%;
  background: var(--bc-blue);
  color: #fff;
  font-size: 1.1rem;
  font-weight: normal;
  line-height: 1;
  text-align: center;
}
.bc-howto-step-ttl::after {
  content: counter(bc-step, decimal-leading-zero);
  position: absolute;
  top: 21px;
  left: 0;
  width: var(--bc-step-badge);
  color: #fff;
  font-size: 1.9rem;
  font-weight: bold;
  line-height: 1;
  text-align: center;
}
.bc-howto-step-text {
  margin: 0 0 16px;
  color: var(--bc-text);
  font-size: 1.6rem;
  line-height: 1.6;
  text-align: left;
}
.bc-howto-step-text:last-child {
  margin-bottom: 0;
}
.bc-howto-step-img {
  display: flex;
  justify-content: center;
  margin: 0;
}
.bc-howto-step-img img {
  display: block;
  max-width: 100%;
  height: auto;
}

/* ---- bc-howto（How To）【上書き】 ---- */
#articles #main .postDetail .bc-howto-ttl,
#articles #main .postDetail .bc-qa-ttl { margin-bottom: 20px; font-size: 2.2rem; line-height: 1.5; }
#articles #main .postDetail .bc-howto-step-ttl { margin-bottom: 12px; font-size: 1.9rem; line-height: 1.5; }
#articles #main .textArea #clipArea .bc-howto-step-text { margin-bottom: 16px; font-size: 1.6rem; text-align: left; }
#articles #main .textArea #clipArea .bc-howto-step-text:last-child { margin-bottom: 0; }

/* ---- bc-qa（Q&A） ---- */
.bc-qa {
  --bc-qa-badge: 32px;
  margin: 0 0 30px;
}
.bc-qa-item {
  margin: 0 0 12px;
}
.bc-qa-item:last-child {
  margin-bottom: 0;
}
.bc-qa-q {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  margin: 0;
  padding: 14px 16px;
  border-radius: 6px;
  background: var(--bc-bg);
  color: var(--bc-text);
  font-size: 1.6rem;
  font-weight: bold;
  line-height: 1.6;
  text-align: left;
}
.bc-qa-q::before {
  content: "";
  flex-shrink: 0;
  width: var(--bc-qa-badge);
  height: var(--bc-qa-badge);
  margin-top: calc((1.6rem * 1.6 - var(--bc-qa-badge)) / 2);
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 32 32'%3E%3Ccircle cx='16' cy='16' r='16' fill='%2300a7ea'/%3E%3Cpath fill='%23fff' d='M16 21.96Q14.34 21.96 13.07 21.17Q11.8 20.38 11.09 18.9Q10.38 17.42 10.38 15.38Q10.38 13.33 11.09 11.89Q11.8 10.44 13.07 9.68Q14.34 8.92 16 8.92Q17.67 8.92 18.94 9.68Q20.2 10.45 20.91 11.89Q21.62 13.33 21.62 15.38Q21.62 17.42 20.91 18.9Q20.2 20.38 18.94 21.17Q17.67 21.96 16 21.96ZM16 19.91Q16.94 19.91 17.62 19.37Q18.31 18.83 18.69 17.81Q19.07 16.79 19.07 15.38Q19.07 14.04 18.69 13.07Q18.31 12.1 17.62 11.59Q16.94 11.08 16 11.08Q15.07 11.08 14.38 11.59Q13.69 12.1 13.32 13.07Q12.95 14.04 12.95 15.38Q12.95 16.79 13.32 17.81Q13.69 18.83 14.38 19.37Q15.07 19.91 16 19.91ZM20.07 25.14Q18.74 25.14 17.69 24.69Q16.64 24.24 15.9 23.44Q15.16 22.65 14.76 21.65L17.32 21.4Q17.56 22 18.03 22.39Q18.49 22.78 19.1 22.96Q19.72 23.14 20.35 23.14Q20.76 23.14 21.11 23.07Q21.46 23.01 21.73 22.92L22.19 24.77Q21.85 24.93 21.3 25.04Q20.75 25.14 20.07 25.14Z'/%3E%3C/svg%3E") center / 100% 100% no-repeat;
}
.bc-qa-a {
  position: relative;
  padding: 16px 16px 8px calc(16px + var(--bc-qa-badge) + 14px);
}
.bc-qa-a::before {
  content: "";
  position: absolute;
  top: calc(16px + (1.6rem * 1.6 - var(--bc-qa-badge)) / 2);
  left: 16px;
  width: var(--bc-qa-badge);
  height: var(--bc-qa-badge);
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 32 32'%3E%3Ccircle cx='16' cy='16' r='15' fill='%23fff' stroke='%2300a7ea' stroke-width='2'/%3E%3Cpath fill='%2300a7ea' d='M10.49 22.23 14.52 9.64H17.48L21.51 22.23H18.87L17.07 15.67Q16.79 14.68 16.52 13.62Q16.25 12.57 15.98 11.56H15.91Q15.67 12.58 15.39 13.63Q15.11 14.68 14.84 15.67L13.04 22.23ZM12.99 19V17.05H18.97V19Z'/%3E%3C/svg%3E") center / 100% 100% no-repeat;
}
.bc-qa-a p {
  margin: 0 0 12px;
  color: var(--bc-text);
  font-size: 1.6rem;
  line-height: 1.6;
  text-align: left;
}
.bc-qa-a > :last-child {
  margin-bottom: 0;
}

/* ---- bc-qa（Q&A）【上書き】 ---- */
#articles #main .textArea #clipArea .bc-qa-q { margin-bottom: 0; font-size: 1.6rem; text-align: left; }
#articles #main .textArea #clipArea .bc-qa-a p { margin-bottom: 12px; font-size: 1.6rem; text-align: left; }
#articles #main .textArea #clipArea .bc-qa-a > :last-child { margin-bottom: 0; }

/* ---- bcg（ガイド：サンプル記事専用） ---- */
.bcg-head {
  margin: 0 0 24px;
  font-size: 1.4rem;
}
.bcg-head a {
  color: var(--bc-blue);
  text-decoration: underline;
}
.bcg-head a:hover {
  color: var(--bc-blue-hover);
  text-decoration: none;
}

.bcg-lead {
  margin: 0 0 32px;
  border: 1px solid var(--bc-line);
  background: var(--bc-bg);
  font-size: 1.5rem;
  line-height: 1.8;
  color: var(--bc-text);
}
.bcg-lead-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  width: 100%;
  margin: 0;
  padding: 12px 20px;
  border: 0;
  background: none;
  color: var(--bc-text);
  font-family: inherit;
  font-size: 1.5rem;
  font-weight: bold;
  line-height: 1.5;
  text-align: left;
  cursor: pointer;
}
.bcg-lead-toggle {
  flex-shrink: 0;
  color: var(--bc-blue);
  font-size: 1.4rem;
  font-weight: normal;
}
.bcg-lead-toggle::before { content: "[ "; color: var(--bc-text); }
.bcg-lead-toggle::after { content: " ]"; color: var(--bc-text); }
.bcg-lead-body {
  display: none;
  padding: 12px 20px 16px;
  border-top: 1px solid var(--bc-line);
}
.bcg-lead.is-open .bcg-lead-body { display: block; }
.bcg-lead p { margin: 0; }
.bcg-lead p + p { margin-top: 8px; }
.bcg-lead p.bcg-lead-ttl {
  margin: 16px 0 6px;
  font-weight: bold;
}
.bcg-lead ul { margin: 0; padding-left: 1.5em; list-style: disc; }
.bcg-lead li + li { margin-top: 8px; }
.bcg-lead code {
  padding: 1px 6px;
  background: #fff;
  border: 1px solid var(--bc-line);
  border-radius: 3px;
  font-family: Consolas, Menlo, "Courier New", monospace;
  font-size: 0.95em;
}

.bcg-nav {
  width: 100%;
  margin: 0 0 32px;
  border-collapse: collapse;
  font-size: 1.5rem;
  line-height: 1.6;
  color: var(--bc-text);
}
.bcg-nav th,
.bcg-nav td {
  padding: 10px 12px;
  border: 1px solid var(--bc-line-dark);
  vertical-align: top;
  text-align: left;
}
.bcg-nav thead th {
  background: #666;
  color: #fff;
  font-weight: bold;
  white-space: nowrap;
}
.bcg-nav .bcg-nav-no { width: 2.5em; text-align: center; white-space: nowrap; }
.bcg-nav .bcg-nav-name { width: 14em; font-weight: bold; }
.bcg-nav .bcg-nav-name a {
  color: var(--bc-blue);
  text-decoration: underline;
}
.bcg-nav .bcg-nav-name a:hover {
  color: var(--bc-blue-hover);
  text-decoration: none;
}

.bcg-item {
  --bcg-card: #444;
  margin: 0 0 48px;
  border: 1px solid var(--bcg-card);
  border-radius: 6px;
  background: #fff;
  overflow: hidden;
}
.bcg-item-ttl {
  margin: 0;
  padding: 8px 16px;
  background: var(--bcg-card);
  color: #fff;
  font-size: 1.5rem;
  font-weight: bold;
  line-height: 1.5;
}
.bcg-block {
  --bcg-bar-bg: #eee;
  --bcg-bar-fg: #444;
  --bcg-body-bg: #fff;
  margin: 0;
}
.bcg-block-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 34px;
  padding: 4px 12px 4px 16px;
  background: var(--bcg-bar-bg);
  color: var(--bcg-bar-fg);
  font-size: 1.3rem;
  font-weight: bold;
  line-height: 1.5;
}
.bcg-block-body {
  margin: 0;
  padding: 20px 24px;
  background: var(--bcg-body-bg);
}
.bcg-block--sample {
  --bcg-bar-bg: #e3f4fc;
  --bcg-bar-fg: #0067c0;
}
.bcg-block--sample .bcg-block-body > :last-child { margin-bottom: 0; }
.bcg-block--code {
  --bcg-bar-bg: #e6f4e8;
  --bcg-bar-fg: #2a7a3b;
}
.bcg-block--code .bcg-block-body {
  padding: 12px 16px;
  max-height: 360px;
  overflow: auto;
  color: #333;
  font-family: Consolas, Menlo, "Courier New", monospace;
  font-size: 1.3rem;
  line-height: 1.6;
  white-space: pre;
  tab-size: 2;
}
.bcg-block--note {
  --bcg-bar-bg: #fdf0dc;
  --bcg-bar-fg: #a35c00;
  font-size: 1.4rem;
  line-height: 1.8;
  color: var(--bc-text);
}
.bcg-block--note .bcg-block-body { padding: 14px 20px; }
.bcg-block--note ul { margin: 0; padding-left: 1.5em; list-style: disc; }
.bcg-block--note li + li { margin-top: 4px; }
.bcg-block--note code {
  padding: 1px 6px;
  background: #f2f2f2;
  border: 1px solid var(--bc-line);
  border-radius: 3px;
  font-family: Consolas, Menlo, "Courier New", monospace;
  font-size: 0.95em;
}
.bcg-copy {
  padding: 4px 14px;
  border: 1px solid var(--bc-blue);
  border-radius: 3px;
  background: #fff;
  color: var(--bc-blue);
  font-size: 1.3rem;
  font-weight: bold;
  line-height: 1.5;
  cursor: pointer;
}
.bcg-copy:hover {
  background: var(--bc-blue);
  color: #fff;
}
.bcg-copy.is-done {
  border-color: #2e9e5b;
  background: #2e9e5b;
  color: #fff;
  cursor: default;
}

.bcg-foot {
  margin: 0 0 32px;
  padding: 16px 0 0;
  border-top: 1px solid var(--bc-line-dark);
}
.bcg-foot ul {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.bcg-foot li { margin: 0; }
.bcg-foot a,
.bcg-foot .is-current {
  display: inline-block;
  padding: 5px 12px;
  border: 1px solid var(--bc-blue);
  border-radius: 3px;
  font-size: 1.3rem;
  font-weight: bold;
  line-height: 1.5;
  white-space: nowrap;
}
.bcg-foot a {
  color: var(--bc-blue);
  text-decoration: none;
}
.bcg-foot a:hover {
  background: var(--bc-blue);
  color: #fff;
}
.bcg-foot .is-current {
  background: var(--bc-blue);
  color: #fff;
}
.bcg-foot .bcg-foot-list a {
  border-color: #666;
  color: #666;
}
.bcg-foot .bcg-foot-list a:hover {
  background: #666;
  color: #fff;
}

/* ---- bcg（ガイド）【上書き】 ---- */
#articles #main .textArea #clipArea .bcg-lead p,
#articles #main .textArea #clipArea .bcg-lead li {
  margin-bottom: 0;
  font-size: 1.4rem;
  letter-spacing: 0;
  text-align: left;
  line-height: 1.5;
}
#articles #main .textArea #clipArea .bcg-lead p + p { margin-top: 8px; }
#articles #main .textArea #clipArea .bcg-lead p.bcg-lead-ttl { margin-top: 16px; margin-bottom: 6px; }
#articles #main .textArea #clipArea .bcg-block--sample .bcg-block-body > :last-child { margin-bottom: 0; }
#articles #main .textArea .bcg-nav-name a,
#articles #main .textArea .bcg-head a { color: var(--bc-blue); }
#articles #main .textArea .bcg-nav-name a:hover,
#articles #main .textArea .bcg-head a:hover { color: var(--bc-blue-hover); }
#articles #main .textArea .bcg-foot a { color: var(--bc-blue); text-decoration: none; }
#articles #main .textArea .bcg-foot a:hover { color: #fff; }
#articles #main .textArea .bcg-foot .bcg-foot-list a { color: #666; }
#articles #main .textArea .bcg-foot .bcg-foot-list a:hover { color: #fff; }
