:root {
  --ink: #1f2a37;
  --ink-sub: #4b5563;
  --line: #ddd8cf;
  --bg: #f7f5f1;
  --surface: #ffffff;
  --accent: #3e5c76;
  --accent-soft: #e7edf2;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  font-family: "Noto Sans JP", "Hiragino Kaku Gothic ProN", "Yu Gothic", sans-serif;
  color: var(--ink);
  background: var(--bg);
  line-height: 1.9;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
}

a { color: var(--accent); }

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

/* Header */
header.site {
  position: sticky; top: 0; z-index: 10;
  background: rgba(247, 245, 241, 0.94);
  backdrop-filter: blur(6px);
  border-bottom: 1px solid var(--line);
}
header.site .wrap {
  display: flex; align-items: center; justify-content: space-between;
  height: 64px;
}
.logo {
  font-family: "Inter", sans-serif;
  font-weight: 600; font-size: 20px; letter-spacing: 0.28em;
  color: var(--ink); text-decoration: none;
}
nav a {
  color: var(--ink-sub); text-decoration: none;
  font-size: 14px; margin-left: 24px;
}
nav a:hover { color: var(--ink); }

/* Hero */
.hero { padding: 120px 0 104px; }
.hero h1 {
  font-size: clamp(30px, 5.2vw, 48px);
  font-weight: 700; line-height: 1.5; letter-spacing: 0.02em;
}
.nb { display: inline-block; }
.hero p {
  margin-top: 28px; max-width: 620px;
  color: var(--ink-sub); font-size: 17px;
}

/* Sections */
section.block { padding: 88px 0; border-top: 1px solid var(--line); }
.block h2 {
  font-size: 14px; font-weight: 500; letter-spacing: 0.12em;
  color: var(--accent); margin-bottom: 36px;
}
.lead { font-size: 22px; font-weight: 700; line-height: 1.7; margin-bottom: 24px; }

/* Services */
.services { display: grid; gap: 20px; grid-template-columns: repeat(3, 1fr); }
.card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 6px;
  padding: 32px 28px;
}
.card .num {
  font-family: "Inter", sans-serif;
  font-size: 13px; color: var(--accent); letter-spacing: 0.1em;
}
.card h3 { font-size: 18px; margin: 10px 0 14px; line-height: 1.6; }
.card p { font-size: 14.5px; color: var(--ink-sub); }

/* Profile */
.profile { display: grid; grid-template-columns: 220px 1fr; gap: 48px; }
.profile .name { font-size: 22px; font-weight: 700; }
.profile .role { font-size: 14px; color: var(--ink-sub); margin-top: 4px; }
.profile .name-en {
  font-family: "Inter", sans-serif; font-size: 13px;
  letter-spacing: 0.12em; color: var(--ink-sub); margin-top: 8px;
}
.profile p + p { margin-top: 16px; }
.facts { list-style: none; margin-top: 28px; border-top: 1px solid var(--line); }
.facts li {
  padding: 12px 0; border-bottom: 1px solid var(--line);
  font-size: 15px;
}

/* Company table */
table.company { width: 100%; border-collapse: collapse; background: var(--surface); }
table.company th, table.company td {
  text-align: left; vertical-align: top;
  padding: 18px 24px; border: 1px solid var(--line); font-size: 15px;
}
table.company th { width: 180px; font-weight: 500; background: var(--accent-soft); }

/* Contact */
.contact-box {
  background: var(--surface); border: 1px solid var(--line);
  border-radius: 6px; padding: 40px; text-align: center;
}
.contact-box a.mail {
  display: inline-block; margin-top: 16px;
  font-family: "Inter", sans-serif; font-size: 22px; font-weight: 500;
  letter-spacing: 0.04em; text-decoration: none;
  border-bottom: 1px solid var(--accent); padding-bottom: 2px;
}
.contact-box .note { margin-top: 16px; font-size: 13.5px; color: var(--ink-sub); }

/* Notice page */
.notice-list { background: var(--surface); border: 1px solid var(--line); }
.notice-list .empty { padding: 40px 24px; text-align: center; color: var(--ink-sub); }
.page-title { padding: 80px 0 40px; }
.page-title h1 { font-size: 30px; }
.page-title p { color: var(--ink-sub); margin-top: 12px; font-size: 15px; }

/* Footer */
footer.site { border-top: 1px solid var(--line); padding: 40px 0; font-size: 13px; color: var(--ink-sub); }
footer.site .wrap { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px; }
footer.site a { color: var(--ink-sub); }

@media (max-width: 760px) {
  body { font-size: 15px; }
  .wrap { padding: 0 16px; }
  nav a { margin-left: 14px; font-size: 13px; }
  nav a.hide-sp { display: none; }
  .hero { padding: 72px 0 64px; }
  section.block { padding: 64px 0; }
  .services { grid-template-columns: 1fr; }
  .profile { grid-template-columns: 1fr; gap: 20px; }
  table.company th, table.company td { display: block; width: 100%; padding: 12px 16px; }
  table.company th { border-bottom: none; }
  .contact-box { padding: 28px 16px; }
  .contact-box a.mail { font-size: 18px; }
}

.profile p.motto {
  margin-top: 20px; padding-left: 14px;
  border-left: 2px solid var(--accent);
  font-weight: 500; color: var(--ink);
}
