:root {
  --paper: #f2f1ee;
  --cream: #f7f6f4;
  --ink: #2e2d2b;
  --stone: #6e6b67;
  --line: #e2e0dc;
  --miso: #a65c40;
  --miso-deep: #8a4b35;

  --font-sans: "Noto Sans JP", "Hiragino Sans", "Hiragino Kaku Gothic ProN",
    sans-serif;

  --text-sm: 0.8125rem;
  --text-base: 1.0625rem;
  --text-xl: 1.5rem;
  --text-2xl: 1.75rem;

  --leading-body: 1.6;
  --leading-tight: 1.4;
  --page: 60rem;
  --radius: 8px;
  --hover: 0.32s cubic-bezier(0.45, 0.05, 0.55, 0.95);
}

*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font-sans);
  font-size: var(--text-base);
  font-weight: 400;
  line-height: var(--leading-body);
}

a {
  color: var(--miso-deep);
  text-decoration: none;
  border-bottom: 1px solid transparent;
  transition:
    color var(--hover),
    border-bottom-color var(--hover);
}

a:hover {
  color: var(--miso);
  border-bottom-color: var(--miso);
}

:focus-visible {
  outline: 2px solid var(--miso);
  outline-offset: 3px;
}

.page {
  max-width: var(--page);
  margin: 0 auto;
  padding: 3rem 1.5rem 4rem;
}

#top,
#apps,
#about,
#contact {
  scroll-margin-top: 1.5rem;
}

.hero {
  padding: 1.25rem 0 3.5rem;
}

.eyecatch {
  display: block;
  width: 4.5rem;
  height: 4.5rem;
  margin-bottom: 1.35rem;
}

.wordmark {
  font-size: var(--text-2xl);
  font-weight: 500;
  letter-spacing: 0;
  line-height: 1.2;
  color: var(--ink);
  margin: 0 0 0.65rem;
}

.hero p {
  color: var(--ink);
}

section {
  margin-bottom: 5.5rem;
}

h2 {
  font-size: var(--text-xl);
  font-weight: 500;
  line-height: var(--leading-tight);
  margin: 0 0 1.5rem;
}

h3 {
  font-size: var(--text-base);
  font-weight: 500;
  line-height: var(--leading-tight);
  margin: 0;
}

p + p {
  margin-top: 0.9em;
}

.app-cards {
  list-style: none;
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
}

@media (min-width: 640px) {
  .app-cards {
    grid-template-columns: 1fr 1fr;
  }
}

.app-card {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
  padding: 1.15rem 1.2rem;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--cream);
}

.app-card__icon {
  display: block;
  width: 3.5rem;
  height: 3.5rem;
  flex-shrink: 0;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  background: var(--paper);
  object-fit: cover;
}

.app-card__body {
  min-width: 0;
  padding-top: 0.1rem;
}

.app-card__desc {
  color: var(--stone);
  font-size: 0.95em;
  margin-top: 0.2em;
}

.app-card__status {
  font-size: var(--text-sm);
  color: var(--stone);
  margin-top: 0.45em;
}

.app-card.is-live .app-card__status {
  color: var(--ink);
}

.app-card__detail {
  display: inline-block;
  margin-top: 0.55em;
  font-size: 0.95em;
}

footer {
  padding-top: 1.5rem;
  border-top: 1px solid var(--line);
  font-size: var(--text-sm);
  color: var(--stone);
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  a {
    transition: none;
  }
}
