:root {
  --ink: #17212b;
  --muted: #5d6875;
  --line: #d8dee6;
  --soft: #f5f7f9;
  --white: #ffffff;
  --accent: #b51f2a;
  --accent-dark: #8f1620;
  --steel: #263544;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--white);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "Hiragino Kaku Gothic ProN",
    "Yu Gothic", Meiryo, sans-serif;
  line-height: 1.7;
}

a {
  color: inherit;
}

.container {
  width: min(100% - 32px, 960px);
  margin: 0 auto;
}

.site-header {
  border-top: 5px solid var(--accent);
  background: linear-gradient(90deg, var(--steel), #1c2733);
  color: var(--white);
}

.header-inner {
  padding: 44px 0 40px;
}

.brand-label {
  margin: 0 0 10px;
  color: #cbd3dc;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

h1,
h2,
p {
  margin-top: 0;
}

h1 {
  margin-bottom: 0;
  font-size: clamp(2rem, 4vw, 3rem);
  line-height: 1.2;
  font-weight: 800;
}

.intro {
  background: var(--soft);
  border-bottom: 1px solid var(--line);
}

.intro .container {
  padding: 32px 0;
}

.welcome {
  margin-bottom: 8px;
  font-size: 1.18rem;
  font-weight: 700;
}

.description {
  max-width: 720px;
  margin-bottom: 0;
  color: var(--muted);
}

.manuals-section .container {
  padding: 38px 0 34px;
}

h2 {
  margin-bottom: 18px;
  font-size: 1.35rem;
  line-height: 1.35;
  font-weight: 800;
}

.manual-list {
  display: grid;
  gap: 12px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.manual-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  min-height: 84px;
  padding: 18px 20px;
  border: 1px solid var(--line);
  border-left: 4px solid var(--accent);
  border-radius: 6px;
  background: var(--white);
}

.manual-info {
  display: grid;
  gap: 3px;
}

.manual-category {
  color: var(--accent-dark);
  font-size: 0.82rem;
  font-weight: 800;
}

.manual-name {
  font-size: 1.04rem;
  font-weight: 700;
}

.manual-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  min-width: 112px;
  min-height: 44px;
  padding: 10px 18px;
  border-radius: 4px;
  background: var(--accent);
  color: var(--white);
  font-size: 0.95rem;
  font-weight: 800;
  text-decoration: none;
}

.manual-link:hover,
.manual-link:focus {
  background: var(--accent-dark);
}

.manual-link:focus-visible {
  outline: 3px solid rgba(181, 31, 42, 0.28);
  outline-offset: 3px;
}

.support {
  border-top: 1px solid var(--line);
  background: #fbfcfd;
}

.support .container {
  padding: 24px 0 32px;
}

.support p {
  margin-bottom: 0;
  color: var(--muted);
  font-size: 0.98rem;
}

@media (max-width: 640px) {
  .header-inner {
    padding: 34px 0 32px;
  }

  .manual-item {
    align-items: stretch;
    flex-direction: column;
  }

  .manual-link {
    width: 100%;
  }
}
