/* トップ専用の配置。色と書体は共通の組だけを使う。 */
.top-page { color: var(--theme-ink); font-family: var(--theme-font); font-size: 16px; }
.top-page .container { width: 100%; max-width: var(--container-max); padding-inline: var(--gutter); }
.top-page p { margin: 16px 0 0; }
.top-page h1 { font-size: clamp(28px, 3.5vw, 44px); line-height: 1.5; }
.top-page h2 { font-size: clamp(24px, 2.5vw, 30px); line-height: 1.6; }
.top-page .top-phrase { display: inline-block; white-space: nowrap; letter-spacing: -0.02em; }
.top-page .eyebrow { margin: 0 0 16px; font-size: 14px; color: var(--theme-primary); letter-spacing: 0; }
.top-page .top-notice { padding-block: 20px; border-bottom: 1px solid var(--theme-line); }
.top-page .terms-notice { margin-top: 4px; font-size: 14px; line-height: 1.8; color: var(--theme-muted); }
.top-page .terms-notice a { display: inline-flex; align-items: center; min-height: 44px; text-decoration: underline; text-underline-offset: 3px; color: var(--theme-primary); }
.top-page .top-hero { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, .8fr); gap: 32px; align-items: center; padding-block: clamp(48px, 7vw, 88px); }
.top-page .lead { font-size: 16px; color: var(--theme-muted); }
.top-page .top-illustration { display: block; width: 100%; height: auto; color: var(--theme-primary); }
.top-page .top-section { padding-block: clamp(48px, 7vw, 80px); }
.top-page .top-intro { border-top: 1px solid var(--theme-line); }
.top-page .top-band { background: var(--theme-band); }
.top-page .top-columns { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 2fr); gap: 32px 64px; }
.top-page .top-copy { max-width: 800px; }
.top-page .top-columns .top-copy > p:first-child { margin-top: 0; }
.top-page .top-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; margin-top: 28px; }
.top-page .top-actions .button { min-height: 44px; max-width: 100%; padding: 12px 18px; border-radius: var(--radius-control); background: var(--theme-primary); border-color: var(--theme-primary); color: var(--theme-bg); font-size: 16px; font-weight: 500; line-height: 1.7; text-align: center; white-space: normal; overflow-wrap: anywhere; box-shadow: none; }
.top-page .top-actions .secondary { color: var(--theme-primary); background: var(--theme-bg); }
.top-page .top-actions .button:hover { color: var(--theme-bg); background: var(--theme-deep); border-color: var(--theme-deep); }
.top-page a:focus-visible { outline: 2px solid var(--theme-primary); outline-offset: 3px; }
.top-page .top-scenes { margin: 32px 0; }
.top-page .top-scenes > div { display: grid; grid-template-columns: 140px minmax(0, 1fr); gap: 12px 24px; border-bottom: 1px solid var(--theme-line); padding-block: 20px; }
.top-page .top-scenes dt { font-weight: 700; color: var(--theme-primary); }
.top-page .top-scenes dd { margin: 0; }
.top-page .top-price { max-width: 800px; color: var(--theme-muted); }
.top-page .top-note { font-size: 14px; color: var(--theme-muted); }
.top-page .top-company { width: 100%; border-collapse: collapse; table-layout: fixed; font-size: 16px; }
.top-page .top-company th, .top-page .top-company td { padding: 16px 0; text-align: left; vertical-align: top; border-bottom: 1px solid var(--theme-line); overflow-wrap: anywhere; }
.top-page .top-company th { width: 100px; padding-right: 16px; font-weight: 500; }
.top-page .top-company tr:first-child > * { padding-top: 0; }
@media (max-width: 900px) {
  .top-page .top-hero { grid-template-columns: minmax(0, 1fr); gap: 16px; }
  .top-page .top-illustration { max-width: 400px; justify-self: end; }
  .top-page .top-columns { grid-template-columns: minmax(0, 1fr); gap: 24px; }
}
@media (max-width: 480px) {
  .top-page .top-scenes > div { grid-template-columns: minmax(0, 1fr); gap: 6px; }
  .top-page .top-actions { align-items: stretch; flex-direction: column; }
  .top-page .top-company th { width: 80px; }
}
