/* =========================================================
   サイドバーウィジェット共通 — 見出し
   ========================================================= */
.aind-sw__heading {
  font-size: 13px;
  font-weight: 700;
  color: #1e293b;
  margin: 0 0 12px;
  padding: 9px 14px;
  line-height: 1.4;
  letter-spacing: 0.08em;
  background: #f1f5f9;
  border: none;
  border-radius: 0;
  display: flex;
  align-items: baseline;
  gap: 10px;
}

.aind-sw__heading::before {
  content: '';
  width: 8px;
  height: 8px;
  background: #1d3e91;
  flex-shrink: 0;
  align-self: center;
}

.aind-sw__heading-en {
  font-size: 9px;
  font-weight: 500;
  color: rgba(30, 41, 59, 0.4);
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

/* =========================================================
   追従型目次 — Light (Zenn style)
   ========================================================= */
.aind-tool-toc {
  position: sticky;
  top: 100px;
  background: #eef1f6;
  border-radius: 10px;
  padding: 0;
  border: none;
  box-shadow: none;
  overflow: hidden;
}

/* ── ヘッダー ── */
.aind-tool-toc__title {
  font-size: 10px;
  font-weight: 700;
  color: #6b7b95;
  margin: 0;
  padding: 13px 16px 12px;
  letter-spacing: .1em;
  text-transform: uppercase;
  border-bottom: 1px solid rgba(0,0,0,.05);
  display: flex;
  align-items: center;
  gap: 7px;
}
.aind-tool-toc__title::before {
  content: '';
  display: inline-block;
  width: 14px;
  height: 14px;
  background: #8b9dc3;
  mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cline x1='8' y1='6' x2='21' y2='6'/%3E%3Cline x1='8' y1='12' x2='21' y2='12'/%3E%3Cline x1='8' y1='18' x2='21' y2='18'/%3E%3Cline x1='3' y1='6' x2='3.01' y2='6'/%3E%3Cline x1='3' y1='12' x2='3.01' y2='12'/%3E%3Cline x1='3' y1='18' x2='3.01' y2='18'/%3E%3C/svg%3E");
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cline x1='8' y1='6' x2='21' y2='6'/%3E%3Cline x1='8' y1='12' x2='21' y2='12'/%3E%3Cline x1='8' y1='18' x2='21' y2='18'/%3E%3Cline x1='3' y1='6' x2='3.01' y2='6'/%3E%3Cline x1='3' y1='12' x2='3.01' y2='12'/%3E%3Cline x1='3' y1='18' x2='3.01' y2='18'/%3E%3C/svg%3E");
  mask-size: contain;
  -webkit-mask-size: contain;
  mask-repeat: no-repeat;
  -webkit-mask-repeat: no-repeat;
  flex-shrink: 0;
}

/* ── リスト ── */
.aind-tool-toc__list {
  list-style: none;
  padding: 6px;
  margin: 0;
}

/* ── アイテム ── */
.aind-tool-toc__item {
  margin: 2px 0;
  padding: 0;
}

/* ── リンク ── */
.aind-tool-toc__link {
  display: block;
  font-size: 12.5px;
  font-weight: 400;
  color: #6b7b95;
  text-decoration: none;
  padding: 7px 12px 7px 16px;
  border-radius: 0;
  transition: all .12s ease;
  line-height: 1.5;
  position: relative;
}

/* ── ホバー ── */
.aind-tool-toc__link:hover {
  color: #3d4f6a;
}

/* ── アクティブ ── */
.aind-tool-toc__link.-active {
  background: #fff;
  color: #1e293b;
  font-weight: 600;
}
/* 右ドット */
.aind-tool-toc__link.-active::after {
  content: '';
  position: absolute;
  right: 4px;
  top: 50%;
  transform: translateY(-50%);
  width: 5px;
  height: 5px;
  background: var(--c-accent, #2563eb);
  border-radius: 50%;
}

/* =========================================================
   プロフィールウィジェット
   ========================================================= */

/* カード全体 */
.p-profileBox {
  padding: 0 !important;
  border: none !important;
  border-radius: 4px;
  overflow: hidden;
}

.c-widget.widget_swell_prof_widget {
  background: #fff;
  border-radius: 4px;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.06);
  overflow: hidden;
}

/* 背景画像 */
.p-profileBox__bg {
  height: 120px;
  max-height: 120px;
  overflow: hidden;
}

.p-profileBox__bgImg {
  height: 120px;
  object-fit: cover;
}

/* アバター */
.p-profileBox__iconImg {
  width: 96px !important;
  height: 96px !important;
  border: 2px solid var(--color_main) !important;
}

.p-profileBox__icon {
  margin-top: -60px;
}

/* 名前 */
.p-profileBox__name {
  font-size: 18px;
  font-weight: 700;
  padding-top: 0.5em;
}

/* 肩書き */
.p-profileBox__job {
  font-size: 14px;
  font-weight: 600;
  color: var(--color_main);
  margin-bottom: 12px;
}

/* 紹介文 */
.p-profileBox__text {
  font-size: 14px;
  font-weight: 500;
  color: #555;
  line-height: 1.6;
  padding: 0 24px 30px;
}
