:root {
  --bg: #f8f8f8;
  --surface: #ffffff;
  --text: #222222;
  --muted: #666666;
  --line: #dddddd;
  --accent: #2f3f59;
  --accent-soft: #eef1f5;
  --shadow: 0 8px 20px rgba(0, 0, 0, 0.04);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--text);
  background: var(--bg);
  font-family: "Zen Kaku Gothic New", sans-serif;
  line-height: 1.7;
}

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

.container {
  width: min(1080px, 92vw);
  margin-inline: auto;
}

.site-header {
  background: #fff;
  border-bottom: 1px solid var(--line);
}

.nav-wrap {
  min-height: 78px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0;
}

.brand-name {
  font-family: "Noto Serif JP", serif;
  font-weight: 700;
  font-size: 1.08rem;
  letter-spacing: 0.04em;
}

.brand-logo {
  height: 60px;
  width: auto;
  display: block;
}

.nav {
  display: flex;
  gap: 22px;
  font-size: 0.9rem;
}

.nav a {
  color: var(--muted);
  transition: color 0.2s ease, opacity 0.2s ease;
}

.nav a:hover {
  color: var(--text);
  opacity: 0.85;
}

.nav a.current {
  color: var(--text);
  font-weight: 700;
}

.hero {
  padding: 84px 0 64px;
  background: #fff;
  border-bottom: 1px solid var(--line);
}

.hero-inner {
  max-width: 700px;
}

.hero-sub {
  color: var(--accent);
  letter-spacing: 0.08em;
  font-size: 0.9rem;
  margin: 0 0 8px;
}

.hero h1 {
  margin: 0;
  font-family: "Noto Serif JP", serif;
  font-size: clamp(2rem, 4.2vw, 2.8rem);
  line-height: 1.45;
}

.hero-text {
  max-width: 62ch;
  color: #4f4a40;
  margin: 22px 0 32px;
}

.hero-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 24px;
  border-radius: 4px;
  background: var(--accent);
  color: #fff;
  font-weight: 500;
  transition: background 0.2s ease;
}

.hero-button:hover {
  background: #243349;
}

.page-hero {
  padding: 78px 0 42px;
}

.page-hero p {
  margin-top: 14px;
  color: #4f4a40;
  max-width: 65ch;
}

.section {
  padding: 56px 0;
}

.section-muted {
  background: #fff;
  border-block: 1px solid var(--line);
}

.section-label {
  color: var(--accent);
  letter-spacing: 0.08em;
  font-size: 0.8rem;
  text-transform: uppercase;
  margin: 0 0 8px;
}

h2 {
  font-family: "Noto Serif JP", serif;
  margin: 0;
  font-size: clamp(1.35rem, 3.2vw, 1.9rem);
  line-height: 1.4;
}

h1 {
  margin: 0;
  font-family: "Noto Serif JP", serif;
  font-size: clamp(1.8rem, 4vw, 2.3rem);
  line-height: 1.45;
}

.section-lead {
  color: #4f4a40;
  margin-top: 20px;
}

.two-column {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 30px;
  align-items: start;
}

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

.profile-card div + div {
  border-top: 1px solid var(--line);
  margin-top: 14px;
  padding-top: 14px;
}

.profile-card dt {
  font-weight: 700;
  margin-bottom: 6px;
}

.profile-card dd {
  margin: 0;
  color: #3d392f;
}

.profile-card a {
  color: var(--accent);
  font-weight: 700;
}

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

.message-card p {
  margin-top: 18px;
  color: #464237;
}

.service-grid {
  margin-top: 28px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.page-grid {
  margin-top: 28px;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.page-link-card {
  background: var(--surface);
  border-radius: 4px;
  border: 1px solid var(--line);
  padding: 24px;
  box-shadow: none;
  transition: border-color 0.2s ease;
}

.page-link-card h3 {
  margin: 0;
  font-size: 1.08rem;
  font-family: "Noto Serif JP", serif;
}

.page-link-card p {
  margin: 12px 0 0;
  color: #4e493f;
}

.page-link-card:hover {
  border-color: #bcc7d6;
}

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

.service-card h3 {
  margin: 0;
  font-size: 1.12rem;
  font-family: "Noto Serif JP", serif;
}

.service-card p {
  color: #4e493f;
  margin: 12px 0 0;
}

.section-contact {
  background: #fff;
}

.contact-inner {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 26px;
  align-items: center;
}

.contact-stack {
  grid-template-columns: 1fr;
}

.contact-box {
  background: #fff;
  border-radius: 4px;
  border: 1px solid var(--line);
  padding: 28px;
  box-shadow: none;
}

.tel-link {
  display: inline-block;
  font-size: clamp(1.4rem, 4vw, 2rem);
  font-family: "Noto Serif JP", serif;
  color: var(--text);
  line-height: 1.2;
}

.contact-box p {
  margin: 8px 0 0;
  color: #5f584d;
}

.contact-form {
  margin-top: 24px;
  display: grid;
  gap: 14px;
}

.contact-form label {
  display: grid;
  gap: 6px;
  font-weight: 500;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 4px;
  padding: 12px 14px;
  font: inherit;
  background: #fff;
}

.contact-form textarea {
  min-height: 140px;
  resize: vertical;
}

.contact-form button {
  width: fit-content;
  min-height: 44px;
  border: none;
  border-radius: 4px;
  padding: 0 24px;
  background: var(--accent);
  color: #fff;
  font: inherit;
  font-weight: 500;
  cursor: pointer;
}

.contact-note {
  font-size: 0.88rem;
  color: #5f584d;
}

.site-footer {
  background: #2d2d2d;
  color: #f4f4f4;
}

.footer-inner {
  padding: 28px 0;
  text-align: center;
  font-size: 0.92rem;
}

.footer-logo {
  margin: 0;
}

.footer-logo img {
  width: min(300px, 72vw);
  height: auto;
  display: inline-block;
}

.footer-sitemap {
  margin: 12px 0;
}

.footer-sitemap-title {
  margin: 0 0 8px;
  font-size: 0.82rem;
  letter-spacing: 0.06em;
  color: #d8d8d8;
  font-weight: 700;
}

.footer-links {
  list-style: none;
  display: flex;
  justify-content: center;
  gap: 14px;
  margin: 0;
  padding: 0;
  flex-wrap: wrap;
}

.footer-links a {
  color: #f4f4f4;
  border-bottom: 1px solid transparent;
  font-size: 0.88rem;
  font-weight: 700;
}

.footer-links a:hover {
  border-bottom-color: #f4f4f4;
}

.footer-inner p {
  margin: 0;
}

.footer-inner small {
  display: inline-block;
  margin-top: 8px;
  color: #cfcfcf;
}

.info-table {
  width: 100%;
  border-collapse: collapse;
  border-top: 1px solid var(--line);
}

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

.info-table th {
  width: 140px;
  font-weight: 700;
  color: #3a3a3a;
}

.map-frame {
  margin-top: 18px;
  border: 1px solid var(--line);
  background: #fff;
}

.map-frame iframe {
  display: block;
  width: 100%;
  min-height: 280px;
  border: 0;
}

@media (max-width: 900px) {
  .nav {
    gap: 12px;
    flex-wrap: wrap;
    justify-content: flex-end;
    font-size: 0.83rem;
  }

  .brand-logo {
    height: 48px;
  }

  .section {
    padding: 48px 0;
  }

  .two-column,
  .contact-inner,
  .page-grid,
  .service-grid {
    grid-template-columns: 1fr;
  }

  .message-card,
  .profile-card,
  .service-card,
  .contact-box {
    box-shadow: none;
  }

  .hero {
    padding: 68px 0 52px;
  }

  .info-table th,
  .info-table td {
    display: block;
    width: 100%;
    padding: 10px 0;
  }

  .info-table th {
    border-bottom: none;
    padding-bottom: 0;
  }
}
