/* ══ AI Voice / Voice Library ページ用の追補スタイル ══
   style.css → kintsugi-repair.css の後ろに1枚足して使う。
   本体（style.css / kintsugi-repair.css）は1行も変えていない。 */

/* 下層ページのヒーロー。トップの .hero はアバター画像前提の詰めが入っているため、
   同じ色・同じ字送りのまま、文章ページ用に素直な余白で組み直している。 */
.page-hero {
  text-align: center;
  padding-top: calc(90px + 3rem);
  padding-bottom: 3rem;
  position: relative;
}

.page-hero::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background: radial-gradient(circle at 50% 0%, rgba(99, 102, 241, 0.15) 0%, transparent 60%);
  z-index: -1;
  pointer-events: none;
}

.page-title {
  font-size: clamp(2.6rem, 7vw, 4rem);
  font-weight: 900;
  letter-spacing: -1.5px;
  line-height: 1.1;
}

.page-subtitle {
  font-size: clamp(1.05rem, 2.5vw, 1.3rem);
  font-weight: 700;
  margin-top: 0.8rem;
}

.page-lead {
  color: var(--text-sub);
  max-width: 640px;
  margin: 1.2rem auto 0;
  font-size: 1rem;
  text-align: left;
}

/* 本文ブロック。読み物なので見出しは既存どおり中央、本文は左揃えの1カラム。 */
.doc-section {
  padding: clamp(2.5rem, 6vw, 4rem) 0;
}

.prose {
  max-width: 760px;
  margin: 0 auto;
  font-size: 1rem;
  line-height: 1.9;
}

.prose p + p {
  margin-top: 1.2rem;
}

.prose .muted {
  color: var(--text-sub);
}

/* 「この事業に含まれないもの」のような箇条書き。 */
.note-card {
  max-width: 760px;
  margin: 2rem auto 0;
  padding: 1.8rem;
}

.note-card h3 {
  font-size: 1.1rem;
  margin-bottom: 1rem;
}

.note-card p {
  color: var(--text-sub);
  line-height: 1.8;
  word-break: break-all;
}

.note-card p + p {
  margin-top: 0.8rem;
}

.note-card code {
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid var(--surface-border);
  border-radius: 6px;
  padding: 0.15em 0.5em;
  color: var(--text-main);
}

.note-card .note-small {
  color: var(--text-sub);
  opacity: 0.85;
}

.prose a,
.note-card a {
  color: var(--accent-hover);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.prose a:hover,
.note-card a:hover {
  color: var(--accent-end);
}

.note-list li {
  position: relative;
  padding-left: 1.5rem;
  color: var(--text-sub);
  line-height: 1.8;
}

.note-list li + li {
  margin-top: 0.5rem;
}

.note-list li::before {
  content: '';
  position: absolute;
  left: 0.35rem;
  top: 0.8em;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent-start);
}

/* 外部サービスへのリンク。トップの .link-card をそのまま使うためのラッパー。 */
.service-links {
  display: grid;
  gap: 1rem;
  max-width: 600px;
  margin: 2rem auto 0;
}

.page-back {
  text-align: center;
  padding-bottom: 4rem;
}

@media (max-width: 768px) {
  .page-hero {
    padding-top: calc(70px + 2rem);
  }

  .note-card {
    padding: 1.4rem;
  }
}
