:root {
  --color-bg: #ffffff;
  --color-bg-alt: #f5f7fa;
  --color-text: #1f2933;
  --color-muted: #52606d;
  --color-accent: #c41f35;
  --color-accent-dark: #a3182b;
  --color-border: #e4e7eb;
  --max-width: 960px;
  --radius: 8px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Helvetica Neue", Arial, "Hiragino Kaku Gothic ProN",
    "Hiragino Sans", Meiryo, sans-serif;
  color: var(--color-text);
  background: var(--color-bg);
  line-height: 1.8;
}

.container {
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  background: rgba(255, 255, 255, 0.95);
  border-bottom: 1px solid var(--color-border);
  backdrop-filter: blur(6px);
  z-index: 10;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
}

.brand {
  font-size: 1.4rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  color: var(--color-accent);
  text-decoration: none;
}

.nav a {
  margin-left: 24px;
  color: var(--color-muted);
  text-decoration: none;
  font-size: 0.95rem;
  transition: color 0.2s;
}

.nav a:hover {
  color: var(--color-accent);
}

/* Hero */
.hero {
  background: linear-gradient(135deg, #fbeced 0%, #f5f7fa 100%);
  padding: 96px 0;
  text-align: center;
}

.hero-title {
  font-size: 2.6rem;
  margin: 0 0 16px;
  letter-spacing: 0.04em;
}

.hero-lead {
  font-size: 1.15rem;
  color: var(--color-muted);
  margin: 0 0 32px;
}

/* Buttons */
.btn {
  display: inline-block;
  padding: 12px 32px;
  background: var(--color-accent);
  color: #fff;
  text-decoration: none;
  border-radius: var(--radius);
  font-weight: 600;
  transition: background 0.2s;
}

.btn:hover {
  background: var(--color-accent-dark);
}

/* Sections */
.section {
  padding: 72px 0;
}

.section-alt {
  background: var(--color-bg-alt);
}

.section-title {
  font-size: 1.8rem;
  text-align: center;
  margin: 0 0 40px;
  position: relative;
}

.section-title::after {
  content: "";
  display: block;
  width: 48px;
  height: 3px;
  background: var(--color-accent);
  margin: 12px auto 0;
  border-radius: 2px;
}

.section-text {
  max-width: 720px;
  margin: 0 auto;
  color: var(--color-muted);
  text-align: center;
}

/* Cards */
.cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 24px;
}

.card {
  background: #fff;
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  padding: 28px;
  transition: transform 0.2s, box-shadow 0.2s;
}

.card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 24px rgba(31, 41, 51, 0.08);
}

.card-title {
  margin: 0 0 12px;
  font-size: 1.15rem;
}

.card-text {
  margin: 0;
  color: var(--color-muted);
  font-size: 0.95rem;
}

.product-link {
  display: inline-block;
  margin-top: 14px;
  color: var(--color-accent);
  font-weight: 600;
  text-decoration: none;
}

.product-link:hover {
  text-decoration: underline;
}

/* Company table */
.company-table {
  width: 100%;
  max-width: 720px;
  margin: 0 auto;
  border-collapse: collapse;
}

.company-table th,
.company-table td {
  text-align: left;
  padding: 16px;
  border-bottom: 1px solid var(--color-border);
  vertical-align: top;
}

.company-table th {
  width: 30%;
  color: var(--color-text);
  font-weight: 600;
  white-space: nowrap;
}

.company-table td {
  color: var(--color-muted);
}

.download-row {
  text-align: center;
  margin-top: 32px;
}

/* Contact */
.contact-info {
  text-align: center;
  margin-top: 24px;
  font-size: 1.05rem;
}

.contact-info a {
  color: var(--color-accent);
}

/* Footer */
.site-footer {
  background: var(--color-text);
  color: #cbd2d9;
  text-align: center;
  padding: 32px 0;
  font-size: 0.9rem;
}

/* Responsive */
@media (max-width: 640px) {
  .header-inner {
    height: auto;
    flex-direction: column;
    padding: 12px 0;
  }

  .nav {
    margin-top: 8px;
  }

  .nav a {
    margin: 0 12px;
  }

  .hero {
    padding: 64px 0;
  }

  .hero-title {
    font-size: 2rem;
  }

  .company-table th {
    width: 35%;
  }
}
