:root {
  --blue: #1264e8;
  --ink: #152238;
  --muted: #65728a;
  --line: #dce4ee;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  color: var(--ink);
  background: #fff;
  font-family: "Noto Sans JP", "Yu Gothic", "Hiragino Kaku Gothic ProN", system-ui, sans-serif;
  -webkit-font-smoothing: antialiased;
}

a {
  color: inherit;
}

.site-header,
.apps,
.contact,
.site-footer {
  width: min(960px, calc(100% - 48px));
  margin-inline: auto;
}

.site-header {
  min-height: 112px;
  display: flex;
  align-items: center;
  border-bottom: 1px solid var(--line);
}

.brand {
  display: inline-block;
  color: var(--ink);
  text-decoration: none;
  font-size: 22px;
  font-weight: 800;
  letter-spacing: -.03em;
}

.brand-description {
  margin: 8px 0 0;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.6;
}

.apps {
  padding: 80px 0 96px;
}

.apps > h1,
.contact > h2 {
  margin: 0 0 32px;
  font-size: 30px;
  letter-spacing: -.04em;
}

.app-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
}

.app-card {
  padding: 28px;
  display: flex;
  align-items: center;
  gap: 24px;
  border: 1px solid var(--line);
  border-radius: 18px;
  text-decoration: none;
  transition: border-color .18s ease, transform .18s ease;
}

.app-card:hover {
  border-color: var(--blue);
  transform: translateY(-2px);
}

.app-card img {
  flex: 0 0 auto;
  width: 96px;
  height: 96px;
  border-radius: 22px;
}

.app-info {
  min-width: 0;
}

.app-card h2 {
  margin: 0 0 6px;
  font-size: 25px;
  letter-spacing: -.03em;
}

.app-card p {
  margin: 0 0 10px;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.7;
}

.app-info .price {
  margin: 0 0 6px;
  color: var(--blue);
  font-size: 14px;
  font-weight: 700;
  line-height: 1.5;
}

.app-card span {
  color: var(--blue);
  font-size: 14px;
  font-weight: 700;
}

.contact {
  padding: 64px 0;
  border-top: 1px solid var(--line);
}

.contact-links {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 22px;
}

.contact-links a {
  display: flex;
  flex-direction: column;
  gap: 5px;
  text-decoration: none;
}

.contact-links span {
  color: var(--muted);
  font-size: 13px;
  font-weight: 700;
}

.contact-links strong {
  color: var(--blue);
  font-size: 16px;
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 4px;
}

.site-footer {
  min-height: 88px;
  display: flex;
  align-items: center;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 13px;
}

.site-footer p {
  margin: 0;
}

@media (max-width: 680px) {
  .site-header,
  .apps,
  .contact,
  .site-footer {
    width: min(100% - 32px, 560px);
  }

  .site-header {
    min-height: 96px;
  }

  .brand {
    font-size: 20px;
  }

  .brand-description {
    margin-top: 6px;
    font-size: 14px;
  }

  .apps {
    padding: 56px 0 72px;
  }

  .apps > h1,
  .contact > h2 {
    margin-bottom: 24px;
    font-size: 26px;
  }

  .app-card {
    padding: 22px;
    gap: 18px;
  }

  .app-card img {
    width: 78px;
    height: 78px;
    border-radius: 18px;
  }

  .app-card h2 {
    font-size: 22px;
  }

  .contact {
    padding: 48px 0;
  }

  .site-footer {
    min-height: 80px;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    transition: none !important;
  }
}