.home {
  max-width: var(--wide-max);
  margin: 0 auto;
  padding: 2.2rem 2rem 4rem;
}

.home-intro {
  font-family: "IBM Plex Sans JP", sans-serif;
  font-size: 0.95rem;
  line-height: 1.6;
  color: var(--muted);
  margin: 0.2rem 0 1.8rem;
}

.home-section {
  /* reserved for multiple sections in the future */
}

.home-section-header {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 1rem;
  padding-bottom: 0.9rem;
  margin-bottom: 1.4rem;
  border-bottom: 1px solid var(--rule);
  position: relative;
}

.home-section-header::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -1.5px;
  height: 2px;
  width: 44px;
  background: var(--accent);
}

.home-section-title {
  font-family: "IBM Plex Sans JP", sans-serif;
  font-weight: 700;
  font-size: 1.5rem;
  line-height: 1.35;
  letter-spacing: -0.015em;
  color: var(--ink);
}

.home-section-all {
  font-family: "IBM Plex Sans JP", sans-serif;
  font-size: 0.88rem;
  font-weight: 500;
  color: var(--ink-soft);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  transition: color 0.15s ease;
  flex-shrink: 0;
}

.home-section-all-arrow {
  font-family: "IBM Plex Mono", monospace;
  transition: transform 0.15s ease;
}

.home-section-all:hover,
.home-section-all:focus-visible {
  color: var(--accent);
}

.home-section-all:hover .home-section-all-arrow,
.home-section-all:focus-visible .home-section-all-arrow {
  transform: translateX(3px);
}

@media (max-width: 720px) {
  .home {
    padding: 1.6rem 1.2rem 3rem;
  }

  .home-section-title {
    font-size: 1.3rem;
  }

  .home-section-header {
    flex-wrap: wrap;
    gap: 0.4rem;
  }
}
