:root {
  --tool-ink: #202124;
  --tool-muted: #6d737a;
  --tool-line: #dfe3e7;
  --tool-panel: #f6f7f8;
  --tool-accent: #0693cd;
  --tool-accent-dark: #235c9a;
  --tool-success: #247a54;
}

.tadaoto-suite-page {
  color: var(--tool-ink);
  max-width: 960px;
  padding-bottom: 72px;
}

.tadaoto-suite-page .tool-heading {
  align-items: initial;
  border-bottom: 1px solid var(--tool-line);
  display: block;
  padding-bottom: 28px;
}

.tadaoto-suite-page .tool-heading .musiclist-title {
  font-size: clamp(28px, 3.4vw, 36px);
  line-height: 1.25;
  margin: 28px 0 12px;
  text-box: trim-both cap alphabetic;
}

.tadaoto-suite-page .tool-heading__lead {
  font-size: 17px;
  line-height: 1.8;
  margin: 0;
  max-width: 44em;
}

.tadaoto-suite-page .tool-privacy {
  align-items: center;
  color: var(--tool-success);
  display: flex;
  font-size: 14px;
  font-weight: 700;
  gap: 8px;
  margin: 14px 0 -0.3em;
}

.tadaoto-suite-page .tool-privacy span {
  font-size: 10px;
}

.tadaoto-suite-page .imc,
.tadaoto-suite-page .bgr,
.tadaoto-suite-page .stemsplit,
.tadaoto-suite-page .b2m {
  margin: 40px auto 0;
  max-width: 880px;
}

.tadaoto-suite-page .tool-panel {
  background: #fff;
  border: 1px solid var(--tool-line);
  border-radius: 14px;
  display: block;
  padding: 28px;
}

.tadaoto-suite-page .tool-section-heading {
  align-items: flex-start;
  display: flex;
  gap: 14px;
}

.tadaoto-suite-page .tool-section-heading h2 {
  font-size: 22px;
  line-height: 1.35;
  margin: 0 0 5px;
}

.tadaoto-suite-page .tool-section-heading p {
  color: var(--tool-muted);
  font-size: 14px;
  line-height: 1.6;
  margin: 0;
}

.tadaoto-suite-page .tool-step {
  align-items: center;
  background: var(--tool-ink);
  border-radius: 50%;
  color: #fff;
  display: inline-flex;
  flex: 0 0 30px;
  font-size: 14px;
  font-weight: 700;
  height: 30px;
  justify-content: center;
  line-height: 1;
}

/* 拡大プレビューなどの閉じるボタンを、テーマ側のbutton指定に左右されない正円へ固定する。 */
button.tadaoto-modal-close {
  --tadaoto-modal-close-size: 38px;
  align-items: center;
  appearance: none;
  aspect-ratio: 1 / 1;
  block-size: var(--tadaoto-modal-close-size);
  box-sizing: border-box;
  display: inline-grid;
  flex: 0 0 var(--tadaoto-modal-close-size);
  inline-size: var(--tadaoto-modal-close-size);
  justify-items: center;
  line-height: 0;
  margin: 0;
  max-block-size: var(--tadaoto-modal-close-size);
  max-inline-size: var(--tadaoto-modal-close-size);
  min-block-size: var(--tadaoto-modal-close-size);
  min-inline-size: var(--tadaoto-modal-close-size);
  padding: 0;
  place-content: center;
  border-radius: 50%;
}

button.tadaoto-modal-close svg {
  display: block;
  height: 18px;
  overflow: visible;
  width: 18px;
}

button.tadaoto-modal-close path {
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-width: 2;
  vector-effect: non-scaling-stroke;
}

.tadaoto-suite-page .imc-drop,
.tadaoto-suite-page .bgr-drop,
.tadaoto-suite-page .stemsplit-drop,
.tadaoto-suite-page .b2m-drop {
  background: var(--tool-panel);
  border: 2px dashed #aeb5bc;
  border-radius: 12px;
  color: var(--tool-ink);
  cursor: pointer;
  margin-top: 24px;
  padding: 38px 20px 36px;
  text-align: center;
  transition: background-color 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}

.tadaoto-suite-page .imc-drop:hover,
.tadaoto-suite-page .bgr-drop:hover,
.tadaoto-suite-page .stemsplit-drop:hover,
.tadaoto-suite-page .b2m-drop:hover,
.tadaoto-suite-page .imc-drop.is-over,
.tadaoto-suite-page .bgr-drop.is-over,
.tadaoto-suite-page .stemsplit-drop.is-over,
.tadaoto-suite-page .b2m-drop.is-over {
  background: #edf4fc;
  border-color: var(--tool-accent);
  opacity: 1;
}

.tadaoto-suite-page .imc-drop.is-compact,
.tadaoto-suite-page .bgr-drop.is-compact {
  padding: 22px 16px;
}

.tadaoto-suite-page .stemsplit-drop.is-disabled,
.tadaoto-suite-page .b2m-drop.is-disabled {
  cursor: wait;
  opacity: 0.55;
  pointer-events: none;
}

.tadaoto-suite-page .imc-drop-main,
.tadaoto-suite-page .bgr-drop-main,
.tadaoto-suite-page .stemsplit-drop-main,
.tadaoto-suite-page .b2m-drop-main {
  font-size: 17px;
  font-weight: 700;
  margin: 0 0 6px;
}

.tadaoto-suite-page .imc-drop-sub,
.tadaoto-suite-page .bgr-drop-sub,
.tadaoto-suite-page .stemsplit-drop-sub,
.tadaoto-suite-page .b2m-drop-sub {
  color: var(--tool-muted);
  font-size: 13px;
  margin: 0;
}

.tadaoto-suite-page .imc-controls,
.tadaoto-suite-page .bgr-controls,
.tadaoto-suite-page .stemsplit-options,
.tadaoto-suite-page .b2m-options {
  background: var(--tool-panel);
  border: 1px solid var(--tool-line);
  border-radius: 12px;
  margin: 22px 0 0;
  padding: 20px;
}

.tadaoto-suite-page .stemsplit-options,
.tadaoto-suite-page .b2m-options {
  align-items: center;
  display: flex;
  flex-wrap: wrap;
  gap: 12px 22px;
}

.tadaoto-suite-page .imc-field,
.tadaoto-suite-page .bgr-ctrl {
  border-bottom: 1px solid var(--tool-line);
  margin: 0 0 18px;
  padding: 0 0 18px;
}

.tadaoto-suite-page .imc-field:last-of-type,
.tadaoto-suite-page .bgr-ctrl:last-of-type {
  border-bottom: 0;
  margin-bottom: 0;
  padding-bottom: 0;
}

.tadaoto-suite-page .imc-field-label,
.tadaoto-suite-page .bgr-ctrl label {
  color: var(--tool-ink);
  font-size: 14px;
  font-weight: 700;
}

.tadaoto-suite-page .imc-radio,
.tadaoto-suite-page .stemsplit-radio,
.tadaoto-suite-page .b2m-radio,
.tadaoto-suite-page .b2m-bpm {
  align-items: center;
  cursor: pointer;
  display: flex;
  font-size: 14px;
  gap: 7px;
}

.tadaoto-suite-page input[type="radio"],
.tadaoto-suite-page input[type="range"] {
  accent-color: var(--tool-accent);
}

.tadaoto-suite-page input[type="number"],
.tadaoto-suite-page input[type="text"],
.tadaoto-suite-page select {
  background: #fff;
  border: 1px solid #b8bec5;
  border-radius: 7px;
  color: var(--tool-ink);
  font: inherit;
  min-height: 40px;
  padding: 7px 10px;
}

.tadaoto-suite-page .imc-size-item input {
  width: 7em;
}

.tadaoto-suite-page .b2m-bpm input {
  padding: 6px 8px;
  width: 6em;
}

.tadaoto-suite-page .imc-desc,
.tadaoto-suite-page .bgr-desc,
.tadaoto-suite-page .b2m-hint {
  color: var(--tool-muted);
  font-size: 12px;
  line-height: 1.65;
}

.tadaoto-suite-page .imc-actions,
.tadaoto-suite-page .bgr-actions {
  border-top: 1px solid var(--tool-line);
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 20px;
  padding-top: 20px;
}

.tadaoto-suite-page .imc-btn,
.tadaoto-suite-page .bgr-btn,
.tadaoto-suite-page .stemsplit-dl,
.tadaoto-suite-page .b2m-dl {
  background: #fff;
  border: 1px solid #b8bec5;
  border-radius: 999px;
  color: var(--tool-ink);
  cursor: pointer;
  font: inherit;
  font-size: 13px;
  font-weight: 700;
  line-height: 1.3;
  min-height: 42px;
  padding: 11px 20px;
  text-decoration: none;
  transition: background-color 0.15s ease, border-color 0.15s ease, color 0.15s ease;
}

.tadaoto-suite-page .imc-btn-primary,
.tadaoto-suite-page .bgr-btn-primary {
  background: var(--tool-accent);
  border-color: var(--tool-accent);
  color: #fff;
}

.tadaoto-suite-page .imc-btn:hover,
.tadaoto-suite-page .bgr-btn:hover,
.tadaoto-suite-page .stemsplit-dl:hover,
.tadaoto-suite-page .b2m-dl:hover {
  background: var(--tool-panel);
  opacity: 1;
}

.tadaoto-suite-page .imc-btn-primary:hover,
.tadaoto-suite-page .bgr-btn-primary:hover {
  background: var(--tool-accent-dark);
  border-color: var(--tool-accent-dark);
  color: #fff;
}

.tadaoto-suite-page .imc-btn:disabled,
.tadaoto-suite-page .bgr-btn:disabled {
  cursor: not-allowed;
  opacity: 0.5;
}

.tadaoto-suite-page .stemsplit-status,
.tadaoto-suite-page .b2m-status {
  background: #edf4fc;
  border: 1px solid #cbdcf0;
  border-radius: 12px;
  margin-top: 20px;
  padding: 18px 20px;
}

.tadaoto-suite-page .stemsplit-status-text,
.tadaoto-suite-page .b2m-status-text {
  font-size: 14px;
  font-weight: 700;
  margin: 0 0 10px;
}

.tadaoto-suite-page .stemsplit-bar,
.tadaoto-suite-page .b2m-bar {
  background: #d4e0ec;
  border-radius: 999px;
  height: 8px;
  overflow: hidden;
}

.tadaoto-suite-page .stemsplit-bar-fill,
.tadaoto-suite-page .b2m-bar-fill {
  background: var(--tool-accent);
  height: 100%;
  transition: width 0.25s ease;
  width: 0;
}

.tadaoto-suite-page .imc-gallery,
.tadaoto-suite-page .bgr-gallery,
.tadaoto-suite-page .stemsplit-results,
.tadaoto-suite-page .b2m-results {
  gap: 16px;
  margin-top: 24px;
}

.tadaoto-suite-page .imc-card,
.tadaoto-suite-page .bgr-card,
.tadaoto-suite-page .stemsplit-stem,
.tadaoto-suite-page .b2m-item {
  background: #fff;
  border: 1px solid var(--tool-line);
  border-radius: 12px;
  overflow: hidden;
}

.tadaoto-suite-page .stemsplit-stem,
.tadaoto-suite-page .b2m-item {
  padding: 18px;
}

.tadaoto-suite-page .stemsplit-stem-head,
.tadaoto-suite-page .b2m-item-head {
  gap: 14px;
}

.tadaoto-suite-page .imc-notes,
.tadaoto-suite-page .bgr-notes,
.tadaoto-suite-page .stemsplit-notes,
.tadaoto-suite-page .b2m-notes {
  color: var(--tool-muted);
  font-size: 13px;
  line-height: 1.75;
  margin: 38px auto 0;
  max-width: 760px;
}

.tadaoto-suite-page .imc-notes h2,
.tadaoto-suite-page .bgr-notes h2,
.tadaoto-suite-page .stemsplit-notes h2,
.tadaoto-suite-page .b2m-notes h2 {
  color: var(--tool-ink);
  font-size: 16px;
  margin: 0 0 10px;
}

.tadaoto-suite-page .imc-notes ul,
.tadaoto-suite-page .bgr-notes ul,
.tadaoto-suite-page .stemsplit-notes ul,
.tadaoto-suite-page .b2m-notes ul {
  margin: 0;
  padding-left: 1.5em;
}

.tadaoto-suite-page .imc-notes li + li,
.tadaoto-suite-page .bgr-notes li + li,
.tadaoto-suite-page .stemsplit-notes li + li,
.tadaoto-suite-page .b2m-notes li + li {
  margin-top: 5px;
}

.tadaoto-suite-page .imc-drop:focus-within,
.tadaoto-suite-page .bgr-drop:focus-within,
.tadaoto-suite-page .stemsplit-drop:focus-within,
.tadaoto-suite-page .b2m-drop:focus-within,
.tadaoto-suite-page .imc-drop:focus-visible,
.tadaoto-suite-page .bgr-drop:focus-visible,
.tadaoto-suite-page .stemsplit-drop:focus-visible,
.tadaoto-suite-page .b2m-drop:focus-visible,
.tadaoto-suite-page button:focus-visible,
.tadaoto-suite-page a:focus-visible,
.tadaoto-suite-page input:focus-visible,
.tadaoto-suite-page select:focus-visible {
  outline: 3px solid rgba(47, 118, 199, 0.35);
  outline-offset: 3px;
}

@media (max-width: 768px) {
  .tadaoto-suite-page {
    padding-left: 14px;
    padding-right: 14px;
  }

  .tadaoto-suite-page .tool-heading {
    margin: 0;
  }

  .tadaoto-suite-page .tool-heading .musiclist-title {
    font-size: 30px;
    margin-top: 22px;
  }

  .tadaoto-suite-page .imc,
  .tadaoto-suite-page .bgr,
  .tadaoto-suite-page .stemsplit,
  .tadaoto-suite-page .b2m {
    margin-top: 28px;
  }

  .tadaoto-suite-page .tool-panel {
    padding: 22px;
  }
}

@media (max-width: 560px) {
  .tadaoto-suite-page .tool-heading__lead {
    font-size: 15px;
  }

  .tadaoto-suite-page .tool-privacy {
    align-items: flex-start;
    font-size: 12px;
  }

  .tadaoto-suite-page .tool-panel {
    border-radius: 12px;
    padding: 18px;
  }

  .tadaoto-suite-page .tool-section-heading h2 {
    font-size: 19px;
  }

  .tadaoto-suite-page .imc-drop,
  .tadaoto-suite-page .bgr-drop,
  .tadaoto-suite-page .stemsplit-drop,
  .tadaoto-suite-page .b2m-drop {
    padding: 30px 12px 28px;
  }

  .tadaoto-suite-page .imc-controls,
  .tadaoto-suite-page .bgr-controls,
  .tadaoto-suite-page .stemsplit-options,
  .tadaoto-suite-page .b2m-options {
    padding: 16px;
  }

  .tadaoto-suite-page .imc-size-row,
  .tadaoto-suite-page .stemsplit-options,
  .tadaoto-suite-page .b2m-options {
    align-items: stretch;
    flex-direction: column;
  }

  .tadaoto-suite-page .imc-actions,
  .tadaoto-suite-page .bgr-actions {
    flex-direction: column;
  }

  .tadaoto-suite-page .imc-actions .imc-btn,
  .tadaoto-suite-page .bgr-actions .bgr-btn {
    width: 100%;
  }

  .tadaoto-suite-page .stemsplit-stem-head,
  .tadaoto-suite-page .b2m-item-head {
    align-items: stretch;
    flex-direction: column;
  }
}

@media (prefers-reduced-motion: reduce) {
  .tadaoto-suite-page *,
  .tadaoto-suite-page *::before,
  .tadaoto-suite-page *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }
}
