.custom-page {
  --custom-section-space: var(--gallery-section-space);
}

.custom-process h2,
.custom-process h3 {
  margin: 0;
  font-weight: 400;
  letter-spacing: -.025em;
  text-wrap: balance;
}

.custom-page .custom-text-link {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding-bottom: 5px;
  border-bottom: 1px solid currentColor;
  color: var(--hiraya-rose);
  font-size: 11px;
  letter-spacing: .06em;
  transition: color .25s var(--hiraya-ease);
}

.custom-text-link:hover {
  color: var(--hiraya-rose-deep);
}

.custom-text-link:active {
  opacity: .7;
}

.custom-process {
  display: grid;
  align-items: start;
  padding: var(--custom-section-space) 0 calc(var(--custom-section-space) + 24px);
  gap: 40px;
  border-top: 1px solid var(--hiraya-line);
}

.custom-process h2 {
  font-size: clamp(28px, 3.2vw, 44px);
  line-height: 1.18;
}

.custom-process__summary {
  max-width: 42ch;
  margin: 24px 0;
  color: var(--hiraya-muted);
}

.custom-process__notice {
  max-width: 48ch;
  margin: 0 0 30px;
  padding: 16px 0 16px 18px;
  border-left: 2px solid var(--hiraya-rose-soft);
  color: var(--hiraya-muted);
  font-size: 12px;
}

.custom-process__notice span {
  display: block;
  margin-bottom: 7px;
  color: var(--hiraya-rose);
  font-size: 10px;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.custom-process__steps {
  margin: 0;
  padding: 0;
  list-style: none;
}

.custom-process__steps li {
  display: grid;
  grid-template-columns: 28px minmax(0, 1fr);
  padding: 28px 0;
  gap: 20px;
  border-top: 1px solid var(--hiraya-line);
}

.custom-process__number {
  padding-top: 6px;
  color: var(--hiraya-rose);
  font-size: 11px;
  font-variant-numeric: tabular-nums;
}

.custom-process h3 {
  font-size: clamp(21px, 1.8vw, 26px);
  line-height: 1.3;
}

.custom-process__steps p {
  max-width: 60ch;
  margin: 14px 0 0;
  color: var(--hiraya-muted);
  line-height: 1.75;
}

@media (min-width: 768px) {
  .custom-process {
    grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr);
    gap: clamp(40px, 8vw, 128px);
  }
}

@media (prefers-reduced-motion: reduce) {
  .custom-text-link {
    transition: none;
  }
}
