/* ---------- Base ---------- */
:root {
  --bg: #fafafa;
  --bg-muted: #f3f3f3;
  --surface: #ffffff;

  --text: #111111;
  --text-muted: #444444;

  --line: #eaeaea;

  --radius: 12px;

  --container: 1080px;

  --shadow: 0 8px 24px rgba(0,0,0,0.06);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}

body {
  margin: 0;
  font-family: "Noto Sans JP", system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.75;
}

img { max-width: 100%; height: auto; display: block; }

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

.container {
  width: min(var(--container), calc(100% - 48px));
  margin: 0 auto;
}

/* ---------- Accessibility ---------- */
.skip-link {
  position: absolute;
  left: -9999px;
  top: 8px;
  padding: 10px 12px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 10px;
  z-index: 9999;
}
.skip-link:focus {
  left: 16px;
}

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(250,250,250,0.85);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 14px 0;
}

.brand-link {
  font-weight: 700;
  letter-spacing: 0.02em;
  text-decoration: none;
}

.nav {
  display: flex;
  gap: 18px;
}

.nav-link {
  color: var(--text-muted);
  font-weight: 500;
  font-size: 14px;
}
.nav-link:hover {
  color: var(--text);
  text-decoration: none;
}

/* ---------- Hero (background image style) ---------- */
.hero {
  position: relative;
  padding: 96px 0 72px;
  background-image: url("../assets/hero.svg");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  border-bottom: 1px solid var(--line);
}

.hero::before {
  /* Readability overlay (subtle, monochrome) */
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg,
      rgba(250,250,250,0.72) 0%,
      rgba(250,250,250,0.62) 55%,
      rgba(250,250,250,0.78) 100%
    );
  pointer-events: none;
}

.hero-inner {
  position: relative; /* sit above overlay */
  display: block;
}

.hero-copy {
  max-width: 64ch;
}

.eyebrow {
  margin: 0 0 10px;
  color: var(--text-muted);
  font-size: 14px;
  letter-spacing: 0.08em;
}

.hero-title {
  margin: 0 0 12px;
  font-size: clamp(28px, 3.6vw, 52px);
  line-height: 1.15;
  letter-spacing: -0.02em;
}

.hero-lead {
  margin: 0;
  color: var(--text-muted);
  font-size: 16px;
}

.only-desktop { display: inline; }

/* ---------- Sections ---------- */
.section {
  padding: 88px 0;
}

.section-muted {
  background: var(--bg-muted);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.section-head {
  margin-bottom: 28px;
}

.section-title {
  margin: 0 0 10px;
  font-size: 26px;
  letter-spacing: -0.01em;
}

.section-lead {
  margin: 0;
  color: var(--text-muted);
  max-width: 64ch;
}

/* ---------- Cards ---------- */
.cards {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 22px;
}

.card-title {
  margin: 0 0 10px;
  font-size: 18px;
}

.card-text {
  margin: 0 0 12px;
  color: var(--text-muted);
}

.card-list {
  margin: 0;
  padding-left: 18px;
  color: var(--text);
}

.card-list li {
  margin: 6px 0;
}

/* ---------- Company ---------- */
.company-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 16px;
  align-items: start;
}

.company-card, .map-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  overflow: hidden;
}

.company-card { padding: 10px 18px; }

.company-table {
  width: 100%;
  border-collapse: collapse;
}

.company-table th, .company-table td {
  padding: 14px 0;
  border-bottom: 1px solid var(--line);
  vertical-align: top;
}

.company-table tr:last-child th,
.company-table tr:last-child td {
  border-bottom: none;
}

.company-table th {
  width: 28%;
  color: var(--text-muted);
  font-weight: 500;
  text-align: left;
  padding-right: 18px;
}

.company-table td {
  color: var(--text);
}

.map-card iframe {
  width: 100%;
  height: 320px;
  border: 0;
  display: block;
}

.map-note {
  margin: 0;
  padding: 12px 14px;
  border-top: 1px solid var(--line);
  color: var(--text-muted);
  font-size: 14px;
}

/* ---------- Footer ---------- */
.site-footer {
  padding: 22px 0;
}

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: var(--text-muted);
  font-size: 14px;
}

.to-top {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--surface);
  box-shadow: var(--shadow);
  text-decoration: none;
}
.to-top:hover { text-decoration: none; }

/* ---------- Responsive ---------- */
@media (max-width: 900px) {
  .hero { padding: 72px 0 56px; }
  .cards { grid-template-columns: 1fr; }
  .company-grid { grid-template-columns: 1fr; }
  .section { padding: 64px 0; }
  .only-desktop { display: none; }
}

@media (max-width: 520px) {
  .nav { gap: 12px; }
  .nav-link { font-size: 13px; }
  .header-inner { padding: 12px 0; }
}