/* ツール本体ヘッダー（LP の .tc-hero__brand 相当・語中改行を抑える） */
.tool-body-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.tool-body-header__tag {
  margin: 0 0 0.35rem;
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  color: #64748b;
}

.tool-body-header__title {
  margin: 0.15rem 0;
  font-size: clamp(1.75rem, 4vw, 2rem);
  font-weight: 800;
  line-height: 1.2;
  line-break: strict;
  word-break: keep-all;
  color: #1e293b;
}

.tool-body-header__lead {
  margin: 0.35rem 0 0;
  font-size: 0.9375rem;
  line-height: 1.5;
  color: #64748b;
}

.tool-body-header__actions {
  flex-shrink: 0;
}

.tool-body-header__help {
  display: inline-flex;
  align-items: center;
  padding: 0.375rem 0.875rem;
  border-radius: 0.5rem;
  border: 1px solid #e2e8f0;
  background: #fff;
  font-size: 0.875rem;
  font-weight: 600;
  text-decoration: none;
  color: #334155;
  white-space: nowrap;
  transition:
    border-color 0.15s,
    color 0.15s,
    background-color 0.15s;
}

.tool-body-header--ymt .tool-body-header__help:hover {
  border-color: #6ee7b7;
  color: #047857;
  background: #ecfdf5;
}

.tool-body-header--qrcg .tool-body-header__help:hover {
  border-color: #a5b4fc;
  color: #4338ca;
  background: #eef2ff;
}

@media (max-width: 480px) {
  .tool-body-header {
    flex-direction: column;
    align-items: stretch;
  }

  .tool-body-header__actions {
    align-self: flex-end;
  }
}
