:root {
  --color-text: #1f2933;
  --color-muted: #52606d;
  --color-main: #1f3a5f;
  --color-accent: #2f6fa3;
  --color-bg: #ffffff;
  --color-bg-alt: #f4f6f8;
  --color-line: #d9e0e6;
  --font-gothic: "Hiragino Kaku Gothic ProN", "Hiragino Sans", "Yu Gothic UI", "Yu Gothic", YuGothic, Meiryo, "Noto Sans JP", sans-serif;
}

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

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  font-family: var(--font-gothic);
  font-size: 16px;
  line-height: 1.8;
  color: var(--color-text);
  background: var(--color-bg);
  overflow-wrap: anywhere;
}

a { color: var(--color-accent); }
a:hover { text-decoration: none; }

.container {
  width: 100%;
  max-width: 960px;
  margin: 0 auto;
  padding: 0 20px;
}

/* header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  background: rgba(255, 255, 255, 0.96);
  border-bottom: 1px solid var(--color-line);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 60px;
}
.logo {
  font-weight: 700;
  font-size: 20px;
  letter-spacing: 0.08em;
  color: var(--color-main);
  text-decoration: none;
}
.nav { display: flex; gap: 24px; }
.nav a {
  color: var(--color-text);
  text-decoration: none;
  font-size: 14px;
}
.nav a:hover { color: var(--color-accent); }

/* hero */
.hero {
  background: var(--color-main);
  color: #fff;
  padding: 88px 0 80px;
}
.hero-company {
  margin: 0 0 12px;
  font-size: 14px;
  letter-spacing: 0.1em;
  opacity: 0.85;
}
.hero-title {
  margin: 0 0 20px;
  font-size: 32px;
  line-height: 1.5;
  font-weight: 700;
}
.hero-lead {
  margin: 0;
  font-size: 16px;
  opacity: 0.9;
}

/* sections */
.section { padding: 72px 0; scroll-margin-top: 60px; }
.section-alt { background: var(--color-bg-alt); }
.section-title {
  margin: 0 0 36px;
  font-size: 24px;
  line-height: 1.5;
  color: var(--color-main);
}
.section-title .en {
  display: block;
  font-size: 13px;
  font-weight: 400;
  letter-spacing: 0.12em;
  color: var(--color-accent);
}

/* cards */
.cards {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}
.card {
  background: #fff;
  border: 1px solid var(--color-line);
  border-top: 4px solid var(--color-main);
  border-radius: 4px;
  padding: 28px 28px 24px;
}
.card-title {
  margin: 0 0 12px;
  font-size: 19px;
  color: var(--color-main);
}
.card p { margin: 0; color: var(--color-muted); }

/* company table */
.company-table {
  width: 100%;
  border-collapse: collapse;
  background: #fff;
  border-top: 1px solid var(--color-line);
}
.company-table th,
.company-table td {
  padding: 18px 20px;
  border-bottom: 1px solid var(--color-line);
  text-align: left;
  vertical-align: top;
}
.company-table th {
  width: 28%;
  font-weight: 700;
  background: #fafbfc;
  color: var(--color-main);
  white-space: nowrap;
}

/* contact */
.contact p { margin: 0 0 16px; }
.contact-mail { margin: 24px 0 !important; }
.button {
  display: inline-block;
  padding: 14px 28px;
  background: var(--color-main);
  color: #fff;
  text-decoration: none;
  border-radius: 4px;
  font-weight: 700;
  letter-spacing: 0.02em;
}
.button:hover { background: var(--color-accent); }
.note { font-size: 14px; color: var(--color-muted); }

/* privacy */
.privacy h3 {
  margin: 28px 0 8px;
  font-size: 16px;
  color: var(--color-main);
}
.privacy p { margin: 0 0 12px; font-size: 15px; }

/* footer */
.site-footer {
  background: #16263d;
  color: #d5dde6;
  padding: 36px 0;
  font-size: 14px;
}
.footer-inner p { margin: 0 0 6px; }
.footer-name { font-weight: 700; color: #fff; }
.site-footer a { color: #d5dde6; }
.copyright { margin-top: 16px !important; opacity: 0.8; }

.br-pc { display: inline; }

/* smartphone */
@media (max-width: 640px) {
  body { font-size: 15px; }
  .container { padding: 0 16px; }
  .header-inner { min-height: 52px; }
  .logo { font-size: 17px; }
  .nav { gap: 14px; }
  .nav a { font-size: 12px; }
  .hero { padding: 56px 0 52px; }
  .hero-title { font-size: 23px; }
  .hero-lead { font-size: 15px; }
  .br-pc { display: none; }
  .section { padding: 52px 0; }
  .section-title { font-size: 20px; margin-bottom: 28px; }
  .cards { grid-template-columns: 1fr; gap: 16px; }
  .card { padding: 22px 20px 20px; }
  .company-table th,
  .company-table td { display: block; width: 100%; padding: 12px 14px; }
  .company-table th { border-bottom: none; padding-bottom: 4px; }
  .button { display: block; text-align: center; padding: 14px 16px; }
}
