.header-anchor {
  text-decoration: none!important;
}

h1 > a.header-anchor {
  font-weight: 800;
}

h2 > a.header-anchor {
  font-weight: 700;
}
/* バッククオート記号を除去 */
.prose code::before,
.prose code::after {
  content: none !important;
}

/* インラインコードの基本スタイル（Light mode） */
.prose :not(pre) > code {
  background-color: #f5f5f5;
  color: #c7254e;
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  font-size: 0.9em;
  padding: 0.15em 0.4em;
  border-radius: 0.25rem;
}

/* ダークモード対応 */
@media (prefers-color-scheme: dark) {
  .prose :not(pre) > code {
    background-color: #2d2d2d;
    color: #f8f8f2;
  }
}
