html {
  scroll-behavior: smooth;
  background-color: #1a1a1a;
  color: #f0f0f0;
  font-family: 'Segoe UI', 'Helvetica Neue', sans-serif;
}

body {
  background-color: #1a1a1a;
  color: #f0f0f0;
}

/* Heroセクション */
.hero {
  background: linear-gradient(to right, #3a3a3a, #1e1e1e);
}

.hero .title,
.hero .subtitle,
.title,
.subtitle {
  color: #ffffff !important;
  font-weight: unset !important;
  line-height: 2;
}

/* ナビゲーション・カード・フッター */
.navbar,
.footer,
.section,
.card,
.box {
  background-color: #1e1e1e;
  color: #f5f5f5;
}

.breadcrumb {
  background-color: #1a1a1a;
  color: #f5f5f5;
}


/* カード内のテキスト */
.card .title,
.card .subtitle,
.card-content {
  color: #ffffff;
}

/* ボタン系 */
.button {
  filter: brightness(0.9);
  color: #ffffff;
}

.button.is-light {
  background-color: #333333;
  color: #ffffff;
  border: none;
}

.button.is-danger,
.button.is-success,
.button.is-primary,
.button.is-link,
.button.is-warning,
.button.is-info,
.button.is-dark {
  filter: brightness(1.1);
}

/* フォームとセレクト */
select,
.select-as-text,
input[type="text"],
textarea {
  background-color: #2a2a2a;
  color: #ffffff;
  border: 1px solid #444444;
}

.select-as-text {
  background: #1a1a1a;
  color: #ffffff;
  border: none;
  padding: 0 2px;
  margin: 0 4px;
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  cursor: pointer;
  font-size: var(--bulma-subtitle-size);
  font-family: inherit;
}

/* 見出しやリスト */
h2 {
  font-size: 1.5rem;
  margin-top: 2rem;
  padding-bottom: 0.3rem;
  border-bottom: 2px solid #00d1b2;
}
h3 {
  font-size: 1.2rem;
  margin-top: 1.5rem;
  color: #00d1b2;
}
h2 span, h3 span {
  font-size: 0.9rem;
  margin-left: 0.5rem;
}
.details h2 {
  margin-top: 0.25rem;
}
.details {
  margin-top: 1rem;
}
ul {
  list-style: none;
  padding-left: 0;
  margin-bottom: 2rem;
}
ul li {
  padding: 0.4rem 0.8rem;
  transition: 0.2s;
  border-left: 3px solid transparent;
}
ul li:hover {
  background-color: #2b2b2b;
  border-left: 3px solid #00d1b2;
}
ul li a {
  color: #f0f0f0;
  text-decoration: none;
}
ul li a::before {
  content: "🎷 ";
  margin-right: 0.4rem;
}
/* 検索バー */
.search-bar input {
  background-color: #2a2a2a;
  border: none;
  color: #ffffff;
}
.search-bar input::placeholder {
  color: #aaaaaa;
}
.search-bar .icon {
  color: #888888;
}

/* A-Z ナビゲーション */
.index-nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.5rem;
  margin: 1.5rem 0;
}
.index-nav a,
.index-nav span {
  display: inline-block;
  width: 2rem;
  height: 2rem;
  text-align: center;
  line-height: 2rem;
  border-radius: 50%;
  background: #2e2e2e;
  color: #00d1b2;
  font-weight: bold;
  transition: 0.3s;
}
.index-nav a:hover {
  background-color: #00d1b2;
  color: #1a1a1a;
}
.index-nav span {
  background: #444;
  color: #888;
  cursor: default;
}

.breadcrumb {
  background-color: #1e1e1e;     /* navbarと同じ背景色 */
  padding: 0.75rem 1.5rem;       /* 上下左右に適度な余白 */
  border-radius: 4px;            /* 角丸 */
  font-size: 0.95rem;
  box-shadow: inset 0 -1px 0 #333;  /* 下線を少し追加して区切りに */
  margin-top: 1.5rem;
  margin-bottom: 1.5rem;
}

.breadcrumb a {
  color: #00d1b2;
  text-decoration: none;
}
.breadcrumb ul {
  margin-bottom: 0px !important;
}
.breadcrumb li.is-active {
  color: #f0f0f0;
  font-weight: bold;
}
.breadcrumb li a::before {
  content: none !important;
}
.breadcrumb .fa {
  margin-right: 0.5rem;  /* mr-2 相当 */
}
.breadcrumb span {
  margin-left: 1rem;
}
.breadcrumb li+li:before {
    color: #ffffff;
}
/* YouTube iframe */
.youtube iframe {
  width: 100%;
  height: 315px;
  max-width: 560px;
  aspect-ratio: 16 / 9;
  display: block;
  margin-bottom: 20px;
}

/* ページトップボタン */
#toTopBtn {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  background-color: #00d1b2;
  color: #ffffff;
  border: none;
  border-radius: 50%;
  width: 3rem;
  height: 3rem;
  font-size: 1.2rem;
  display: none;
  justify-content: center;
  align-items: center;
  box-shadow: 0 4px 8px rgba(0,0,0,0.3);
  cursor: pointer;
  z-index: 1000;
}
#toTopBtn:hover {
  background-color: #00b89c;
}

#output9 svg rect {
  stroke: #ffffff !important;
  stroke-width: 1px !important;
}
#output9 svg path {
  stroke: #ffffff !important;
}
.vf-stave {
  stroke: #ffffff !important;
  fill: #ffffff !important;
}
/* VexFlow SVGレスポンシブ */
.responsive-vexflow {
  width: 100% !important;
  height: auto !important;
  max-width: 98%;
  margin-left: 2%;
}

/* その他小調整 */
.key {
  font-size: var(--bulma-subtitle-size);
  font-weight: normal;
  margin-left: 0 !important;
}

textarea {
  width: 100% !important;
}
.columns {
  margin-left: 0 !important;
  margin-right: 0 !important;
}
/* モバイル対応 */
@media screen and (max-width: 728px) {
  .title {
    font-size: var(--bulma-size-6);
  }
  .key, .select-as-text, .subtitle {
    font-size: var(--bulma-size-7);
  }
}
