/* ===================================================
   NMP株式会社 コーポレートサイト
   Stylesheet
   =================================================== */

/* ---------- Design Tokens ---------- */
:root {
  --navy: #0B1F3A;
  --navy-sub: #1E3A6F;
  --ink: #1a1a1a;
  --ink-sub: #555;
  --ink-mute: #888;
  --line: #E5E8ED;
  --bg: #FFFFFF;
  --bg-alt: #F7F8FA;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

html, body {
  margin: 0;
  padding: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: "Noto Sans JP", -apple-system, BlinkMacSystemFont, sans-serif;
  font-weight: 400;
  line-height: 1.8;
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; text-decoration: none; }

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

/* ---------- Header ---------- */
.site-header {
  border-bottom: 1px solid var(--line);
  background: #fff;
}
.site-header .inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 72px;
}
.logo {
  font-size: 20px;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: var(--navy);
}
.logo .co {
  font-size: 13px;
  font-weight: 400;
  color: var(--ink-sub);
  margin-left: 8px;
  letter-spacing: 0.04em;
}
.nav {
  display: flex;
  gap: 32px;
}
.nav a {
  font-size: 14px;
  color: var(--ink-sub);
  font-weight: 500;
  transition: color .2s;
}
.nav a:hover { color: var(--navy); }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  min-height: 520px;
  background-image: url('../assets/hero.jpg');
  background-size: cover;
  background-position: center;
  border-bottom: 1px solid var(--line);
  display: flex;
  align-items: center;
}
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg,
    rgba(255,255,255,0.05) 0%,
    rgba(255,255,255,0.35) 40%,
    rgba(255,255,255,0.85) 68%,
    rgba(255,255,255,0.95) 100%);
}
.hero .container {
  position: relative;
  z-index: 1;
  width: 100%;
}
.hero .inner {
  padding: 100px 0;
  max-width: 460px;
  margin-left: auto;
}
.hero h1 {
  font-size: clamp(30px, 3.6vw, 42px);
  line-height: 1.6;
  font-weight: 500;
  color: var(--navy);
  letter-spacing: 0.14em;
  margin: 0 0 24px 0;
}
.hero p {
  font-size: 14px;
  line-height: 2.0;
  color: var(--ink-sub);
  margin: 0;
}

/* ---------- Block Section ---------- */
section.block {
  padding: 80px 0;
  border-bottom: 1px solid var(--line);
}
section.block:last-of-type { border-bottom: none; }

.section-title {
  font-size: 22px;
  font-weight: 500;
  color: var(--navy);
  letter-spacing: 0.08em;
  margin: 0 0 40px 0;
  padding-left: 16px;
  border-left: 3px solid var(--navy);
  line-height: 1.4;
}

/* ---------- Business List ---------- */
.biz-list {
  margin: 0;
  padding: 0;
  list-style: none;
  border-top: 1px solid var(--line);
}
.biz-list li {
  display: flex;
  gap: 24px;
  padding: 20px 8px;
  border-bottom: 1px solid var(--line);
  font-size: 15px;
  line-height: 1.8;
  color: var(--ink);
}
.biz-list li .num {
  color: var(--navy-sub);
  font-weight: 500;
  min-width: 32px;
  flex-shrink: 0;
}

/* ---------- Company Info Table ---------- */
.info-table {
  width: 100%;
  border-collapse: collapse;
  border-top: 1px solid var(--line);
}
.info-table th,
.info-table td {
  text-align: left;
  padding: 20px 8px;
  border-bottom: 1px solid var(--line);
  font-size: 15px;
  line-height: 1.9;
  vertical-align: top;
}
.info-table th {
  width: 200px;
  color: var(--ink-sub);
  font-weight: 500;
  background: var(--bg-alt);
  padding-left: 24px;
}
.info-table td {
  color: var(--ink);
  padding-left: 32px;
}

/* ---------- Footer ---------- */
.site-footer {
  background: var(--navy);
  color: rgba(255,255,255,0.7);
  padding: 32px 0;
}
.site-footer .inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
  font-size: 13px;
}
.site-footer .logo {
  color: #fff;
  font-size: 16px;
}
.site-footer .copy {
  color: rgba(255,255,255,0.5);
  font-size: 12px;
  letter-spacing: 0.06em;
}

/* ---------- Responsive ---------- */
@media (max-width: 720px) {
  .hero { min-height: 420px; }
  .hero::before {
    background: linear-gradient(180deg,
      rgba(255,255,255,0.1) 0%,
      rgba(255,255,255,0.75) 50%,
      rgba(255,255,255,0.95) 100%);
  }
  .hero .inner {
    max-width: 100%;
    margin-left: 0;
    padding: 60px 0 40px;
  }

  .nav { display: none; }

  .info-table th,
  .info-table td {
    display: block;
    width: 100%;
    padding-left: 8px;
  }
  .info-table th {
    border-bottom: none;
    padding-bottom: 4px;
  }
  .info-table td {
    padding-top: 4px;
    padding-bottom: 20px;
  }
}
