:root {
  --text: #273142;
  --heading: #111827;
  --muted: #667085;
  --border: #e4e7ec;
  --background: #ffffff;
  --background-soft: #f8fafc;
  --background-blue: #f4f8ff;
  --primary: #2563eb;
  --primary-dark: #1d4ed8;
  --white: #ffffff;
  --container: 1080px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family:
    -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    "Hiragino Sans",
    "Hiragino Kaku Gothic ProN",
    "Yu Gothic",
    Meiryo,
    sans-serif;
  color: var(--text);
  background: var(--background);
  font-size: 16px;
  line-height: 1.85;
  -webkit-font-smoothing: antialiased;
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  max-width: 100%;
}

.container {
  width: min(var(--container), calc(100% - 40px));
  margin: 0 auto;
}

/* Header */

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.96);
  border-bottom: 1px solid var(--border);
  backdrop-filter: blur(10px);
}

.header-inner {
  height: 74px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo a {
  font-size: 20px;
  font-weight: 700;
  color: var(--heading);
  letter-spacing: 0.03em;
}

.nav {
  display: flex;
  align-items: center;
  gap: 28px;
  font-size: 14px;
}

.nav a {
  color: #475467;
  transition: color 0.2s ease;
}

.nav a:hover,
.nav .active {
  color: var(--primary);
}

.nav .active {
  font-weight: 700;
}

/* Hero */

.hero {
  padding: 96px 0 88px;
  background:
    linear-gradient(
      120deg,
      #eef5ff 0%,
      #f8fbff 48%,
      #ffffff 100%
    );
}

.eyebrow,
.section-label {
  margin: 0 0 13px;
  color: var(--primary);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.12em;
}

h1 {
  max-width: 900px;
  margin: 0 0 28px;
  color: var(--heading);
  font-size: clamp(38px, 5vw, 58px);
  line-height: 1.25;
  letter-spacing: -0.025em;
}

.lead {
  max-width: 850px;
  margin: 0 0 18px;
  color: #344054;
  font-size: 19px;
  line-height: 1.9;
}

.note {
  max-width: 900px;
  margin: 0 0 32px;
  color: var(--muted);
  font-size: 15px;
}

.buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 11px 22px;
  border: 1px solid var(--primary);
  border-radius: 999px;
  background: var(--primary);
  color: var(--white);
  font-weight: 700;
  transition:
    background 0.2s ease,
    color 0.2s ease;
}

.button:hover {
  background: var(--primary-dark);
}

.button.secondary {
  background: var(--white);
  color: var(--primary);
}

.button.secondary:hover {
  background: #eff6ff;
}

/* Sections */

.section {
  padding: 82px 0;
}

.section.bg {
  background: var(--background-soft);
}

.section h2 {
  margin: 0 0 24px;
  color: var(--heading);
  font-size: 34px;
  line-height: 1.35;
}

.section-intro {
  max-width: 800px;
  margin: 0 0 34px;
  color: var(--muted);
}

/* Cards */

.cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin: 34px 0 36px;
}

.card {
  position: relative;
  padding: 28px;
  border: 1px solid var(--border);
  border-radius: 16px;
  background: var(--white);
  box-shadow:
    0 8px 28px
    rgba(15, 23, 42, 0.045);
}

.card-number {
  margin: 0 0 16px;
  color: var(--primary);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.12em;
}

.card h3,
.sub-box h3,
.info-box h3,
.privacy-container h3 {
  margin: 0 0 12px;
  color: var(--heading);
  font-size: 20px;
  line-height: 1.5;
}

.card p {
  margin: 0;
  color: #475467;
  font-size: 15px;
}

.card-link {
  display: inline-block;
  margin-top: 16px;
  color: var(--primary);
  font-size: 14px;
  font-weight: 700;
}

.card-link:hover {
  text-decoration: underline;
}

/* Info */

.info-box {
  padding: 28px;
  border: 1px solid #bfdbfe;
  border-radius: 16px;
  background: var(--background-blue);
}

.info-box p {
  margin: 0 0 10px;
  color: #475467;
}

.info-box p:last-child {
  margin-bottom: 0;
}

/* Products */

.product-list {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
  padding: 0;
  margin: 30px 0 38px;
  list-style: none;
}

.product-list li {
  padding: 15px 16px;
  border: 1px solid var(--border);
  border-radius: 10px;
  background: var(--white);
  color: #344054;
  text-align: center;
}

.two-column {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}

.sub-box {
  padding: 26px;
  border: 1px solid var(--border);
  border-radius: 14px;
  background: var(--white);
}

.sub-box p,
.sub-box li {
  color: #475467;
}

/* Company table */

.company-table {
  width: 100%;
  border-collapse: collapse;
  border-top: 1px solid var(--border);
  background: var(--white);
}

.company-table th,
.company-table td {
  padding: 20px 18px;
  border-bottom: 1px solid var(--border);
  vertical-align: top;
}

.company-table th {
  width: 230px;
  color: var(--heading);
  background: #fafafa;
  font-weight: 600;
  text-align: left;
}

.company-table td {
  color: #344054;
}

.sub-text {
  margin-top: 4px;
  color: var(--muted);
  font-size: 13px;
}

.business-detail p {
  margin: 0 0 5px;
}

.business-detail p:last-child {
  margin-bottom: 0;
}

.text-link {
  color: var(--primary);
  word-break: break-all;
}

.text-link:hover {
  text-decoration: underline;
}

/* Contact */

.contact-section {
  background:
    linear-gradient(
      120deg,
      #f4f8ff 0%,
      #ffffff 100%
    );
}

.contact-box {
  max-width: 760px;
  padding: 42px;
  border: 1px solid var(--border);
  border-radius: 20px;
  background: var(--white);
  box-shadow:
    0 12px 35px
    rgba(15, 23, 42, 0.05);
}

.contact-mail {
  display: inline-block;
  margin: 12px 0;
  color: var(--primary);
  font-size: 24px;
  font-weight: 700;
}

.contact-hours {
  margin: 10px 0;
}

.small {
  color: var(--muted);
  font-size: 13px;
}

/* Legal */

.legal-note {
  margin: 0 0 30px;
  padding: 18px 20px;
  border-left: 4px solid var(--primary);
  background: var(--background-blue);
  color: #475467;
}

/* Privacy */

.privacy-container {
  max-width: 900px;
}

.privacy-container h3 {
  margin-top: 30px;
}

.privacy-container ol {
  padding-left: 24px;
}

/* Multi-page */

.page-hero {
  padding: 72px 0 58px;
  background:
    linear-gradient(
      120deg,
      #eef5ff 0%,
      #f8fbff 55%,
      #ffffff 100%
    );
}

.page-title {
  margin: 0 0 16px;
  color: var(--heading);
  font-size: clamp(36px, 5vw, 52px);
  line-height: 1.25;
}

.page-lead {
  max-width: 760px;
  margin: 0;
  color: var(--muted);
  font-size: 17px;
}

.business-block {
  display: grid;
  grid-template-columns: 80px 1fr;
  gap: 28px;
  padding: 34px 0;
  border-bottom: 1px solid var(--border);
}

.business-number {
  color: var(--primary);
  font-size: 20px;
  font-weight: 700;
}

.business-block h2 {
  margin: 0 0 14px;
  font-size: 27px;
}

.business-block p {
  margin: 0 0 10px;
  color: #475467;
}

/* Footer */

.footer {
  padding: 48px 0 22px;
  background: #111827;
  color: #ffffff;
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  gap: 40px;
}

.footer strong {
  display: block;
  margin-bottom: 12px;
  font-size: 18px;
}

.footer-address {
  margin: 0;
  color: #cbd5e1;
  font-size: 13px;
  line-height: 1.8;
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 8px;
  color: #cbd5e1;
  font-size: 13px;
}

.footer-links a:hover {
  color: #ffffff;
}

.copyright {
  margin-top: 38px;
  padding-top: 20px;
  border-top: 1px solid #334155;
  color: #94a3b8;
  font-size: 12px;
}

/* Responsive */

@media (max-width: 850px) {

  .header-inner {
    height: auto;
    padding: 17px 0;
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
  }

  .nav {
    gap: 10px 18px;
    flex-wrap: wrap;
  }

  .hero {
    padding: 66px 0;
  }

  h1 {
    font-size: 40px;
  }

  .cards {
    grid-template-columns: 1fr;
  }

  .product-list {
    grid-template-columns: repeat(2, 1fr);
  }

  .two-column {
    grid-template-columns: 1fr;
  }

  .company-table th,
  .company-table td {
    display: block;
    width: 100%;
  }

  .company-table th {
    padding-bottom: 6px;
    border-bottom: none;
  }

  .company-table td {
    padding-top: 6px;
  }

  .contact-box {
    padding: 28px;
  }

  .footer-inner {
    flex-direction: column;
  }
}

@media (max-width: 700px) {
  .business-block {
    grid-template-columns: 1fr;
    gap: 8px;
  }
}

@media (max-width: 520px) {

  .container {
    width: min(100% - 28px, var(--container));
  }

  h1 {
    font-size: 34px;
  }

  .section h2 {
    font-size: 28px;
  }

  .lead {
    font-size: 17px;
  }

  .product-list {
    grid-template-columns: 1fr;
  }

  .button {
    width: 100%;
  }

  .contact-mail {
    font-size: 20px;
  }

  .mobile-break {
    display: none;
  }
}
