/* ▼ [hero-a] トップ画面の案A（打ち込まれる文字＋ほどける線）。index.html の hero__body だけを差し替え、ほかは本番と同じ */
.hero-a {
  display: grid;
  grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr);
  align-items: center;
  gap: clamp(24px, 4vw, 80px);
}
.hero-a__copy {
  display: flex;
  flex-direction: column;
  gap: 24px;
}
.hero-a__title {
  white-space: nowrap;
  font-size: clamp(28px, 3.2vw, 60px);
  line-height: 1.45;
  letter-spacing: .02em;
  animation: none;
}
.hero-a__lead {
  max-width: 31em;
  font-size: clamp(15px, 1.05vw, 18px);
  line-height: 2;
  animation: none;
}
/* 打ち込み中も高さが変わらないよう、全文を見えない形で先に置き、その上に打つ（右の絵や下の要素が動かない） */
.hero-a__title, .hero-a__lead { display: grid; }
.hero-a__title > span, .hero-a__lead > span { grid-area: 1 / 1; }
.hero-a__sizer { visibility: hidden; }
.hero-a .typing::after {
  content: "";
  display: inline-block;
  width: .08em;
  min-width: 2px;
  height: 1.05em;
  margin-left: .08em;
  vertical-align: -.14em;
  background: var(--color-white);
  animation: hero-a-caret 1s steps(1) infinite;
}
@keyframes hero-a-caret { 50% { opacity: 0; } }
.hero-a__act {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 22px;
  margin-top: 16px;
  row-gap: 14px;
  opacity: 0;
  transition: opacity 400ms cubic-bezier(.23, 1, .32, 1);
}
.hero-a__act.show { opacity: 1; }
.hero-a__btn {
  display: inline-flex;
  align-items: center;
  min-height: 52px;
  padding: 0 30px;
  border-radius: 999px;
  background: var(--color-white);
  color: var(--color-black);
  font-weight: 700;
  text-decoration: none;
  transition: transform 160ms cubic-bezier(.23, 1, .32, 1);
}
.hero-a__btn:active { transform: scale(.97); }
.hero-a__mail { color: var(--color-gray-light); font-size: 14px; }
.hero-a__mail a { margin-left: 6px; color: var(--color-white); font-weight: 500; text-decoration: none; }
.hero-a__art { width: 100%; max-width: 820px; justify-self: end; }
.hero-a__art svg { display: block; width: 100%; height: auto; overflow: visible; }
.hero-a__art .s { fill: none; stroke: var(--color-white); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.hero-a__art .soft { stroke: rgba(255, 255, 255, .35); }
@media (max-width: 860px) {
  .hero-a { grid-template-columns: 1fr; }
  .hero-a__art { max-width: 420px; justify-self: center; }
}
@media (prefers-reduced-motion: reduce) {
  .hero-a .typing::after { display: none; }
  .hero-a__act { opacity: 1; }
}
/* ▲ [hero-a] */
