:root {
  --navy: #2B3140;
  --navy-deep: #1F242F;
  --red: #E63B2E;
  --gray-bg: #F5F6F8;
  --gray-line: #E6E8EC;
  --gray-text: #4B5261;
  --gray-light: #C9CDD6;
  --white: #FFFFFF;
  --font-body: 'Zen Kaku Gothic New', 'Hiragino Sans', 'Noto Sans JP', 'Yu Gothic', sans-serif;
  --font-head: 'Noto Sans JP', 'Hiragino Sans', 'Yu Gothic', sans-serif;
  --font-latin: 'Montserrat', 'Helvetica Neue', Arial, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 80px; }
body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--navy);
  background: var(--white);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}
a { color: var(--navy); }
a:hover { color: var(--red); }
img { max-width: 100%; height: auto; }

.container { max-width: 1120px; margin: 0 auto; padding: 0 32px; }

/* Header */
.site-header { border-bottom: 1px solid var(--gray-line); background: var(--white); position: sticky; top: 0; z-index: 10; }
.site-header .container { display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap; padding-top: 18px; padding-bottom: 18px; }
.site-header .logo img { height: 30px; width: auto; display: block; }
.site-nav { display: flex; gap: 28px; flex-wrap: wrap; font-size: 14px; font-weight: 500; letter-spacing: 0.04em; }
.site-nav a { text-decoration: none; padding: 10px 0; }

/* Sections */
section { padding: 72px 0 88px; }
.bg-gray { background: var(--gray-bg); }
.bg-navy { background: var(--navy); color: var(--white); }
.eyebrow { margin: 0 0 8px; font-family: var(--font-latin); font-size: 13px; font-weight: 700; letter-spacing: 0.22em; color: var(--red); }
h1, h2, h3 { font-family: var(--font-head); margin: 0; line-height: 1.4; }
h2 { font-size: 36px; font-weight: 800; }
.section-head { margin-bottom: 36px; }

/* Hero */
.hero { padding: 80px 0; }
.hero .container { display: flex; flex-wrap: wrap; align-items: center; gap: 32px; }
.hero-text { flex: 0 1 640px; min-width: 0; display: flex; flex-direction: column; gap: 28px; }
.hero h1 { font-size: 42px; font-weight: 800; letter-spacing: 0.01em; }
.hero-lead { margin: 0; font-size: 17px; color: var(--gray-text); max-width: 520px; }
.hero-actions { display: flex; gap: 16px; flex-wrap: wrap; padding-top: 8px; }
.hero-logo { flex: 1 1 300px; min-width: 0; display: flex; justify-content: center; }
.hero-logo img { width: 100%; max-width: 300px; }

.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 52px; padding: 0 32px; text-decoration: none; font-weight: 700; font-size: 15px; letter-spacing: 0.04em; }
.btn-primary { background: var(--navy); color: var(--white); border: 2px solid var(--navy); }
.btn-primary:hover { background: var(--red); border-color: var(--red); color: var(--white); }
.btn-outline { border: 2px solid var(--navy); color: var(--navy); }
.btn-outline:hover { border-color: var(--red); color: var(--red); }

/* Services */
.cards { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
.card { background: var(--white); padding: 40px 32px 44px; border-top: 4px solid var(--navy); display: flex; flex-direction: column; gap: 24px; min-width: 0; }
.card svg { display: block; }
.card h3 { font-size: 21px; font-weight: 700; line-height: 1.5; }
.card p { margin: 0; font-size: 15px; color: var(--gray-text); }

/* Strength */
.strength h2 { font-size: 40px; margin-bottom: 48px; }
.strength-list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 32px; }
.strength-list li { border-top: 1px solid #5A6172; padding-top: 28px; display: flex; flex-direction: column; gap: 20px; min-width: 0; }
.strength-list .num { font-family: var(--font-latin); font-size: 40px; font-weight: 800; line-height: 1; color: var(--red); }
.strength-list p { margin: 0; font-family: var(--font-head); font-size: 22px; font-weight: 700; line-height: 1.6; }

/* Company */
.company .container { display: flex; flex-wrap: wrap; gap: 56px; }
.company-head { flex: 1 1 280px; min-width: 0; }
.company-table-wrap { flex: 2 1 560px; min-width: 0; overflow-x: auto; }
.company-table { width: 100%; border-collapse: collapse; font-size: 15px; }
.company-table th, .company-table td { padding: 20px 0; border-top: 1px solid var(--gray-line); vertical-align: top; text-align: left; }
.company-table th { width: 140px; padding-right: 16px; font-weight: 700; color: var(--gray-text); white-space: nowrap; }
.company-table tr:last-child th, .company-table tr:last-child td { border-bottom: 1px solid var(--gray-line); }

/* Contact */
.contact .container { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 40px; }
.contact-text { flex: 1 1 400px; min-width: 0; }
.contact-text p { margin: 0; font-size: 16px; color: var(--gray-text); max-width: 520px; }
.btn-mail { display: inline-flex; align-items: center; gap: 14px; min-height: 64px; padding: 0 32px; background: var(--red); color: var(--white); text-decoration: none; font-family: var(--font-latin); font-size: 19px; font-weight: 600; letter-spacing: 0.02em; max-width: 100%; }
.btn-mail:hover { background: var(--navy); color: var(--white); }
.btn-mail span { overflow-wrap: anywhere; }

/* Footer */
.site-footer { padding: 40px 0; border-top: 1px solid var(--gray-line); font-size: 13px; color: var(--gray-text); }
.site-footer .container { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 16px; }
.site-footer p { margin: 0; }
.site-footer a { text-decoration: none; padding: 12px 0; }

/* Privacy page */
.policy { max-width: 800px; }
.policy h1 { font-size: 32px; font-weight: 800; margin-bottom: 8px; }
.policy .intro { color: var(--gray-text); margin: 0 0 40px; }
.policy h2 { font-size: 20px; font-weight: 700; margin: 40px 0 12px; padding-bottom: 8px; border-bottom: 2px solid var(--navy); }
.policy p, .policy li { font-size: 15px; }
.policy ul { padding-left: 1.4em; }
.policy .date { margin-top: 48px; color: var(--gray-text); font-size: 14px; }
.back-link { display: inline-block; margin-top: 40px; font-size: 14px; }

/* Responsive */
@media (max-width: 900px) {
  .cards, .strength-list { grid-template-columns: repeat(1, minmax(0, 1fr)); }
  .strength-list { gap: 24px; }
  .hero-text { flex-basis: 100%; }
  .hero-logo { order: -1; }
  .hero-logo img { max-width: 200px; }
}
@media (max-width: 640px) {
  .container { padding: 0 20px; }
  section { padding: 56px 0 64px; }
  .hero { padding: 48px 0 56px; }
  .hero h1 { font-size: 28px; }
  .hero h1 br { display: none; }
  h2 { font-size: 28px; }
  .strength h2 { font-size: 28px; margin-bottom: 32px; }
  .site-header .container { justify-content: center; }
  .site-nav { gap: 20px; justify-content: center; font-size: 13px; }
  .company-table th { width: 90px; white-space: normal; }
  .btn-mail { font-size: 16px; padding: 0 20px; width: 100%; justify-content: center; }
  .policy h1 { font-size: 26px; }
}
