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

:root {
  --color-primary: #1a365d;
  --color-primary-light: #2a4a7f;
  --color-accent: #2b6cb0;
  --color-text: #2d3748;
  --color-text-light: #718096;
  --color-bg: #ffffff;
  --color-bg-alt: #f7fafc;
  --color-border: #e2e8f0;
}

html {
  scroll-behavior: smooth;
}

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

.container {
  max-width: 960px;
  margin: 0 auto;
  padding: 0 24px;
}

/* Header */
.header {
  background: var(--color-primary);
  color: #fff;
  padding: 16px 0;
  position: sticky;
  top: 0;
  z-index: 100;
}

.header .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  font-size: 20px;
  font-weight: 700;
  letter-spacing: 0.05em;
}

.nav {
  display: flex;
  gap: 24px;
}

.nav a {
  color: rgba(255, 255, 255, 0.85);
  text-decoration: none;
  font-size: 14px;
  transition: color 0.2s;
}

.nav a:hover {
  color: #fff;
}

/* Hero */
.hero {
  background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-primary-light) 100%);
  color: #fff;
  padding: 80px 0;
  text-align: center;
}

.hero-sub {
  font-size: 16px;
  opacity: 0.85;
  margin-bottom: 16px;
  letter-spacing: 0.1em;
}

.hero-title {
  font-size: 32px;
  font-weight: 700;
  line-height: 1.5;
}

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

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

.section-title {
  font-size: 24px;
  font-weight: 700;
  text-align: center;
  margin-bottom: 40px;
  color: var(--color-primary);
}

/* About */
.info-table {
  width: 100%;
  max-width: 600px;
  margin: 0 auto;
  border-collapse: collapse;
}

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

.info-table th {
  width: 140px;
  font-weight: 600;
  color: var(--color-primary);
  white-space: nowrap;
}

/* Services */
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.service-card {
  background: var(--color-bg);
  border: 1px solid var(--color-border);
  border-radius: 8px;
  padding: 32px 24px;
}

.service-card h3 {
  font-size: 16px;
  font-weight: 700;
  color: var(--color-primary);
  margin-bottom: 12px;
}

.service-card p {
  font-size: 14px;
  color: var(--color-text-light);
  line-height: 1.7;
}

/* Contact */
.contact-text {
  text-align: center;
  margin-bottom: 24px;
}

.contact-email {
  text-align: center;
  font-size: 20px;
}

.contact-email a {
  color: var(--color-accent);
  text-decoration: none;
  font-weight: 600;
}

.contact-email a:hover {
  text-decoration: underline;
}

/* Footer */
.footer {
  background: var(--color-primary);
  color: rgba(255, 255, 255, 0.7);
  padding: 24px 0;
  text-align: center;
  font-size: 13px;
}

.footer a {
  color: rgba(255, 255, 255, 0.7);
  text-decoration: none;
}

.footer a:hover {
  color: #fff;
}

.footer p + p {
  margin-top: 8px;
}

/* Privacy policy page */
.page-header {
  background: var(--color-primary);
  color: #fff;
  padding: 40px 0;
  text-align: center;
}

.page-header h2 {
  font-size: 28px;
  font-weight: 700;
}

.policy-content {
  max-width: 720px;
  margin: 0 auto;
  padding: 48px 24px;
}

.policy-content h3 {
  font-size: 18px;
  font-weight: 700;
  color: var(--color-primary);
  margin-top: 32px;
  margin-bottom: 12px;
}

.policy-content p,
.policy-content ul {
  margin-bottom: 16px;
  font-size: 15px;
  line-height: 1.8;
}

.policy-content ul {
  padding-left: 24px;
}

.policy-content li {
  margin-bottom: 4px;
}

/* Responsive */
@media (max-width: 768px) {
  .header .container {
    flex-direction: column;
    gap: 12px;
  }

  .nav {
    gap: 16px;
    flex-wrap: wrap;
    justify-content: center;
  }

  .hero {
    padding: 48px 0;
  }

  .hero-title {
    font-size: 24px;
  }

  .services-grid {
    grid-template-columns: 1fr;
  }

  .section {
    padding: 48px 0;
  }

  .info-table th {
    width: 100px;
  }
}
