.hero-copy,
.hero-media,
.site-header-inner > .brand {
  min-width: 0;
}

.hero h1 {
  text-wrap: balance;
}

.hero h1 span,
.brand,
.footer-brand,
.domain-item h3 {
  white-space: normal;
  overflow-wrap: anywhere;
}

.hero-copy > p {
  text-wrap: pretty;
}

.hero-without-image {
  grid-template-columns: minmax(0, 1fr);
  min-height: auto;
}

.inquiry-without-wechat {
  grid-template-columns: minmax(0, 1fr);
  max-width: 760px;
}

main section[id] {
  scroll-margin-top: 90px;
}

.preview-notice {
  padding: 12px 22px;
  background: var(--ink);
  color: #fff;
  font-size: 14px;
  line-height: 1.6;
  text-align: center;
}

.preview-notice a {
  display: inline-block;
  margin-left: 16px;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.preview-template-form {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 12px;
  margin-top: 12px;
}

.preview-template-form select,
.preview-template-form button {
  min-height: 36px;
  padding: 6px 12px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: #fff;
  color: var(--ink);
}

.preview-template-form button {
  cursor: pointer;
}

.submit-button:disabled {
  cursor: default;
  opacity: 0.65;
  transform: none;
  box-shadow: none;
}

.sales-layout-centered {
  background: #fff;
}

.sales-layout-centered .hero {
  grid-template-columns: minmax(0, 1fr);
  justify-items: center;
  min-height: auto;
  padding-top: 80px;
  padding-bottom: 64px;
  text-align: center;
}

.sales-layout-centered .hero-copy {
  width: 100%;
  max-width: 900px;
}

.sales-layout-centered .hero h1 {
  max-width: 100%;
  font-size: clamp(36px, 5.4vw, 72px);
  line-height: 1.2;
}

.sales-layout-centered .hero h1 span:first-child {
  margin-bottom: 20px;
  color: var(--muted);
  font-size: clamp(19px, 2.2vw, 26px);
  font-weight: 600;
}

.sales-layout-centered .hero-copy > p,
.sales-layout-centered .hero-wechat,
.sales-layout-centered .trust-row {
  margin-right: auto;
  margin-left: auto;
}

.sales-layout-centered .hero-actions {
  justify-content: center;
}

.sales-layout-centered .hero-wechat,
.sales-layout-centered .trust-row {
  text-align: left;
}

.sales-layout-centered .hero-media {
  width: min(100%, 720px);
}

.sales-layout-compact {
  background: #fff;
}

.sales-layout-compact .hero {
  min-height: auto;
  padding-top: 40px;
  padding-bottom: 32px;
}

.sales-layout-compact .hero-copy {
  padding-bottom: 0;
}

.sales-layout-compact .hero h1 {
  font-size: clamp(30px, 3.6vw, 48px);
  line-height: 1.2;
}

.sales-layout-compact .hero h1 span:first-child {
  margin-bottom: 14px;
  color: var(--ink);
  font-size: 21px;
  font-weight: 600;
}

.sales-layout-compact .hero-actions,
.sales-layout-compact .hero-copy > p {
  margin-top: 24px;
}

.sales-layout-compact .meaning-section,
.sales-layout-compact .use-section,
.sales-layout-compact .value-section,
.sales-layout-compact .process-section,
.sales-layout-compact .inquiry-section,
.sales-layout-compact .faq-section,
.sales-layout-compact .recommend-section {
  padding-top: 40px;
  padding-bottom: 40px;
}

.sales-layout-compact .section-heading {
  margin-bottom: 28px;
  text-align: left;
}

.sales-layout-compact .section-heading h2 {
  font-size: clamp(25px, 3vw, 30px);
}

@media (max-width: 640px) {
  .sales-layout-centered .hero {
    padding-top: 44px;
    padding-bottom: 36px;
  }

  .sales-layout-centered .hero-wechat {
    justify-items: center;
    text-align: center;
  }

  .header-cta {
    flex-shrink: 0;
  }
}
