/* 目的が決まっている訪問者は、最初の画面から直接サービスを選べる。 */
.home-hero--3d .home-hero__inner {
  padding-block: clamp(36px, 4.8vw, 76px);
}
.home-hero__pre {
  display: flex;
  align-items: center;
  gap: .75em;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  font-size: .875rem;
}
.home-hero__pre::before {
  content: "";
  width: 1.75rem;
  height: 3px;
  background: var(--blue);
}
.home-hero__lead {
  max-width: 31em;
  line-height: 1.8;
}
.home-services {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin-top: 24px;
  max-width: 560px;
}
.home-services a {
  position: relative;
  display: grid;
  align-content: center;
  gap: 2px;
  padding: 12px 36px 12px 16px;
  border: 1px solid #aac7e3;
  border-radius: 8px;
  background: var(--paper);
  color: var(--ink);
  text-decoration: none;
}
.home-services small { color: var(--ink-soft); font-size: .8125rem; }
.home-services strong { font-size: clamp(18px, 1.5vw, 23px); }
.home-services a > span { position: absolute; right: 14px; top: 50%; transform: translateY(-50%); color: var(--blue-deep); }
.home-services a:is(:hover, :focus-visible) { border-color: var(--blue-deep); background: var(--sky-soft); }
.home-hero__actions {
  flex-direction: row;
  align-items: center;
  gap: 8px 20px;
  width: auto;
  margin-top: 20px;
}
.home-hero__actions .v3-button { width: auto; min-width: 0; min-height: 48px; }
.home-all-services {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  gap: .6em;
  font-weight: 700;
  font-size: .875rem;
  color: var(--blue-deep);
  text-underline-offset: .25em;
}
.home-all-services:hover { text-decoration: underline; }
@media (max-width: 599px) {
  .home-hero--3d .home-hero__inner { padding-block: 28px 18px; }
  .home-services { gap: 8px; margin-top: 18px; }
  .home-services a { padding: 10px 22px 10px 11px; }
  .home-services a > span { right: 7px; }
  .home-services small { font-size: .75rem; }
  .home-hero__actions { gap: 4px 14px; }
  .home-hero__actions .v3-button { padding-inline: 18px; }
  .home-hero .hero3d { width: min(100%, 390px); margin-inline: auto; }
}
/* 事業名と説明は写真の下にまとめ、5枚とも同じ順で読めるようにする。 */
.business-card__visual { padding-top: 0; border-radius: 12px; }
.business-card__visual::before,
.business-card:is([data-service="mobile"], [data-service="ai"]) .business-card__visual::after { content: none; }
.business-card__visual img { border-radius: inherit; }
.business-card:is([data-service="mobile"], [data-service="ai"]) .business-card__description { grid-row: 3; }
@media (max-width: 359px) {
  .home-hero--3d h1 { font-size: 10.2vw; }
  .home-hero__pre { gap: 6px; font-size: .75rem; }
  .home-hero__pre::before { width: 16px; }
  .home-services a { padding-left: 8px; }
  .home-hero__actions { gap: 4px 9px; }
  .home-hero__actions .v3-button { padding-inline: 12px; font-size: .8125rem; }
  .home-all-services { gap: .25em; font-size: .8125rem; }
}
