:root {
  --navy: #16294d;
  --navy-2: #22406e;
  --accent: #5b9bd5;
  --accent-light: #8fc0ec;
  --text: #2b3648;
  --text-muted: #3c485c;
  --text-soft: #4a5568;
  --text-faint: #8a93a5;
  --text-faint-2: #aab2c0;
  --text-faint-3: #9aa3b2;
  --border: #e6eaf1;
  --border-soft: #eef1f6;
  --bg: #ffffff;
  --bg-soft: #f7f9fc;
  --bg-soft-2: #fafbfd;
  --footer-bg: #16294d;
  --footer-text: #c3cede;
  --footer-text-muted: #8497b5;
  --footer-border: #2c4472;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Noto Sans JP", "Hiragino Sans", "Yu Gothic", "Helvetica Neue", Arial, sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.75;
  -webkit-font-smoothing: antialiased;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

main {
  flex: 1;
}

a {
  color: var(--navy-2);
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

::selection {
  background: var(--navy);
  color: #fff;
}

.wrap {
  max-width: 1080px;
  margin: 0 auto;
  padding: 0 24px;
}

/* Header */
header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--border);
}

.header-inner {
  max-width: 1080px;
  margin: 0 auto;
  padding: 0 24px;
  height: 68px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 11px;
}

.logo svg {
  width: 30px;
  height: 30px;
  display: block;
  flex-shrink: 0;
}

.logo .logo-text {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  line-height: 1.15;
}

.logo .logo-text .en {
  font-size: 17px;
  font-weight: 700;
  color: var(--navy);
  letter-spacing: 0.02em;
}

.logo .logo-text .jp {
  font-size: 10.5px;
  font-weight: 500;
  color: var(--text-faint);
  letter-spacing: 0.14em;
}

nav ul {
  list-style: none;
  display: flex;
  align-items: center;
  gap: 4px;
  margin: 0;
  padding: 0;
  flex-wrap: wrap;
}

nav a {
  display: inline-block;
  background: transparent;
  padding: 8px 15px;
  border-radius: 7px;
  font-size: 13.5px;
  font-weight: 500;
  color: #5a6478;
}

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

nav a.active {
  background: #eef2f8;
  color: var(--navy);
  font-weight: 700;
}

nav a.lang-switch {
  margin-left: 8px;
  padding-left: 16px;
  border-left: 1px solid var(--border);
  border-radius: 0;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.05em;
  color: var(--text-faint);
}

nav a.lang-switch:hover {
  color: var(--navy);
  background: transparent;
}

/* Hero */
.hero {
  position: relative;
  overflow: hidden;
  background:
    linear-gradient(90deg, var(--bg-soft) 0%, var(--bg-soft) 32%, rgba(247, 249, 252, 0.88) 46%, rgba(247, 249, 252, 0) 68%),
    url('images/hero.webp');
  background-size: auto, cover;
  background-position: left top, center 30%;
  background-repeat: no-repeat, no-repeat;
  border-bottom: 1px solid var(--border-soft);
  min-height: 460px;
  display: flex;
  align-items: center;
}

@media (max-width: 820px) {
  .hero {
    background: linear-gradient(180deg, var(--bg-soft) 0%, #ffffff 100%);
  }
}

.hero-inner {
  position: relative;
  max-width: 1080px;
  margin: 0 auto;
  padding: clamp(60px, 10vw, 96px) 24px clamp(64px, 11vw, 104px);
}

.hero .eyebrow {
  display: inline-block;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.18em;
  color: var(--accent);
  margin-bottom: 22px;
}

.hero h1 {
  font-family: "Noto Serif JP", serif;
  font-size: clamp(23px, 4.6vw, 34px);
  font-weight: 600;
  line-height: 1.7;
  color: var(--navy);
  margin: 0;
  max-width: 780px;
  letter-spacing: 0.01em;
}

.hero p {
  font-size: 1.05rem;
  color: var(--text-soft);
  max-width: 620px;
  margin: 16px 0 0;
}

/* Page hero (company / contact) */
.page-hero {
  background: var(--bg-soft);
  border-bottom: 1px solid var(--border-soft);
}

.page-hero .wrap {
  padding: 56px 24px;
}

.page-hero .eyebrow {
  display: inline-block;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.16em;
  color: var(--accent);
  margin-bottom: 10px;
}

.page-hero h1 {
  font-family: "Noto Serif JP", serif;
  font-size: 28px;
  font-weight: 600;
  color: var(--navy);
  margin: 0;
}

/* Section */
section {
  padding: 56px 0;
}

.section-narrow {
  max-width: 860px;
  margin: 0 auto;
  padding: 0 24px;
}

/* About-product blocks */
.about-blocks {
  display: flex;
  flex-direction: column;
  gap: 40px;
}

.about-blocks .block p {
  margin: 0;
  font-size: 15px;
  color: var(--text-muted);
  line-height: 1.9;
}

.source-note {
  margin: 14px 0 0;
  font-size: 12px;
  color: var(--text-faint-3);
  line-height: 1.7;
}

.source-note a {
  color: var(--text-faint-3);
  text-decoration: underline;
}

.source-note a:hover {
  color: var(--navy-2);
}

.section-heading {
  display: flex;
  align-items: baseline;
  gap: 14px;
  margin-bottom: 34px;
}

.section-heading h2 {
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0.16em;
  color: var(--navy);
  margin: 0;
}

.section-heading .rule {
  flex: 1;
  height: 1px;
  background: var(--border);
}

.section-heading .tag {
  font-size: 12px;
  letter-spacing: 0.14em;
  color: var(--text-faint-2);
}

.lead {
  font-size: 15px;
  color: var(--text-soft);
  max-width: 640px;
  margin: 0 0 34px;
}

/* Product card */
.product-card {
  display: flex;
  flex-wrap: wrap;
  border: 1px solid var(--border);
  border-radius: 14px;
  overflow: hidden;
  background: #fff;
}

.product-card .panel-brand {
  flex: 1 1 260px;
  background: linear-gradient(155deg, var(--navy) 0%, var(--navy-2) 100%);
  padding: 44px 36px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-height: 240px;
}

.product-card .panel-brand svg {
  margin-bottom: 22px;
}

.product-card .panel-brand .kicker {
  font-size: 12px;
  letter-spacing: 0.16em;
  color: #8fb4de;
  margin-bottom: 8px;
}

.product-card .panel-brand .name {
  font-size: 24px;
  font-weight: 700;
  color: #ffffff;
  line-height: 1.4;
}

.product-card .panel-brand .sub {
  font-size: 15px;
  font-weight: 500;
  color: #b9cbe4;
  letter-spacing: 0.03em;
  margin-top: 2px;
}

.product-card .panel-desc {
  flex: 2 1 320px;
  padding: 40px;
  display: flex;
  align-items: center;
}

.product-card .panel-desc p {
  margin: 0;
  font-size: 15.5px;
  color: var(--text-muted);
  line-height: 2;
}

/* CTA band */
.cta-band {
  border: 1px solid var(--border);
  border-radius: 14px;
  background: var(--bg-soft);
  padding: 34px 40px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
}

.cta-band p {
  margin: 0;
  font-size: 14.5px;
  color: var(--text-soft);
}

.cta-band .buttons {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.btn {
  display: inline-block;
  padding: 12px 22px;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 500;
  text-decoration: none;
}

.btn:hover {
  text-decoration: none;
}

.btn-primary {
  background: var(--navy);
  color: #fff;
  border: none;
}

.btn-outline {
  background: #fff;
  color: var(--navy);
  border: 1px solid #cdd6e4;
}

/* Info grid (company / contact rows) */
.info-grid {
  border-top: 2px solid var(--navy);
}

.info-grid .row {
  display: grid;
  grid-template-columns: clamp(96px, 30%, 180px) 1fr;
  border-bottom: 1px solid var(--border);
}

.info-grid .row .label {
  padding: 20px 16px 20px 4px;
  font-size: 14px;
  font-weight: 700;
  color: var(--navy);
  background: var(--bg-soft-2);
}

.info-grid .row .value {
  padding: 20px 8px;
  font-size: 14.5px;
  color: var(--text-muted);
  line-height: 1.8;
}

/* Contact card variant */
.contact-card {
  border: 1px solid var(--border);
  border-radius: 14px;
  overflow: hidden;
}

.contact-card .row {
  display: grid;
  grid-template-columns: clamp(84px, 28%, 150px) 1fr;
  border-bottom: 1px solid var(--border-soft);
  align-items: center;
}

.contact-card .row:last-child {
  border-bottom: none;
}

.contact-card .row .label {
  padding: 24px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: var(--navy);
  background: var(--bg-soft-2);
  display: flex;
  align-items: center;
}

.contact-card .row .value {
  padding: 24px;
  font-size: 15px;
  color: var(--text-muted);
}

.contact-card .row .value a {
  color: var(--navy-2);
  font-weight: 500;
  text-decoration: none;
}

.contact-card .row .value a:hover {
  text-decoration: underline;
}

.contact-note {
  margin: 28px 4px 0;
  font-size: 12.5px;
  color: var(--text-faint-3);
  line-height: 1.9;
}

/* History timeline */
.history {
  list-style: none;
  margin: 0;
  padding: 0 0 0 8px;
}

.history li {
  display: grid;
  grid-template-columns: clamp(60px, 18%, 96px) 1fr;
  gap: clamp(12px, 3vw, 20px);
  position: relative;
  padding-bottom: 30px;
}

.history .year {
  font-size: 16px;
  font-weight: 700;
  color: var(--navy);
  text-align: right;
  padding-top: 1px;
}

.history .desc-wrap {
  position: relative;
  padding-left: 26px;
  border-left: 2px solid #e0e7f1;
  padding-bottom: 4px;
}

.history .desc-wrap::before {
  content: "";
  position: absolute;
  left: -6px;
  top: 6px;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--accent);
  border: 2px solid #fff;
  box-shadow: 0 0 0 1px #cdd9e8;
}

.history .desc {
  margin: 0;
  font-size: 14.5px;
  color: var(--text-muted);
  line-height: 1.85;
}

/* Footer */
footer {
  background: var(--footer-bg);
  color: var(--footer-text);
}

footer .wrap {
  padding: 44px 24px 34px;
}

.footer-logo {
  display: flex;
  align-items: center;
  gap: 11px;
  margin-bottom: 18px;
}

.footer-logo span {
  font-size: 15px;
  font-weight: 700;
  color: #fff;
  letter-spacing: 0.02em;
}

.footer-nav {
  display: flex;
  gap: 22px;
  flex-wrap: wrap;
  margin-bottom: 26px;
}

.footer-nav a {
  font-size: 13px;
  color: var(--footer-text);
}

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

.footer-bottom {
  border-top: 1px solid var(--footer-border);
  padding-top: 20px;
  font-size: 12px;
  color: var(--footer-text-muted);
  letter-spacing: 0.02em;
}

@media (max-width: 600px) {
  .header-inner {
    height: auto;
    padding: 14px 24px;
  }

  nav ul {
    gap: 2px;
  }

  .product-card .panel-brand,
  .product-card .panel-desc {
    padding: 32px 24px;
  }

  .cta-band {
    padding: 28px 24px;
  }

  .info-grid .row,
  .contact-card .row {
    grid-template-columns: 1fr;
  }

  .info-grid .row .label,
  .contact-card .row .label {
    padding-bottom: 8px;
  }
}
