:root {
  --text: #111827;
  --muted: #5f6b7a;
  --line: #e5e7eb;
  --soft: #f7f8fa;
  --accent: #1d4ed8;
  --max-width: 1040px;
  --content-width: 860px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: #ffffff;
  color: var(--text);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "Noto Sans JP", "Hiragino Kaku Gothic ProN", "Yu Gothic", sans-serif;
  line-height: 1.8;
  -webkit-font-smoothing: antialiased;
}

a {
  color: inherit;
}

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

.container.narrow {
  width: min(calc(100% - 40px), var(--content-width));
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  background: rgba(255, 255, 255, 0.94);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(12px);
}

.header-inner {
  min-height: 68px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
}

.site-name {
  font-size: 14px;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-decoration: none;
}

nav {
  display: flex;
  align-items: center;
  gap: 24px;
}

nav a {
  color: var(--muted);
  font-size: 14px;
  text-decoration: none;
}

nav a:hover,
.service-link:hover,
.site-footer a:hover {
  color: var(--accent);
}

.intro {
  padding: 112px 0 96px;
  border-bottom: 1px solid var(--line);
}


h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  margin-bottom: 28px;
  font-size: clamp(40px, 7vw, 68px);
  line-height: 1.18;
  letter-spacing: -0.04em;
}

.lead {
  max-width: 700px;
  margin-bottom: 0;
  color: var(--muted);
  font-size: 18px;
}

.section {
  padding: 88px 0;
  border-bottom: 1px solid var(--line);
}

.section-muted {
  background: var(--soft);
}

.section-heading h2 {
  margin-bottom: 0;
  font-size: 28px;
  line-height: 1.35;
  letter-spacing: -0.02em;
}

.service-list {
  margin-top: 42px;
  border-top: 1px solid var(--line);
}

.service-item {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: end;
  gap: 40px;
  padding: 34px 0;
  border-bottom: 1px solid var(--line);
}

.service-type {
  margin-bottom: 8px;
  color: var(--muted);
  font-size: 13px;
}

.service-item h3,
.content-block h3,
.support-list h3 {
  margin-bottom: 10px;
  font-size: 21px;
  line-height: 1.45;
}

.service-item p,
.content-block p,
.support-list p {
  margin-bottom: 0;
  color: var(--muted);
}

.service-link {
  flex-shrink: 0;
  color: var(--accent);
  font-size: 14px;
  font-weight: 700;
  text-decoration: none;
  white-space: nowrap;
}

.two-column {
  display: grid;
  grid-template-columns: 220px minmax(0, 1fr);
  gap: 64px;
}

.content-block {
  max-width: 600px;
}

.support-list {
  display: grid;
  gap: 30px;
}

.support-list > div {
  padding-bottom: 30px;
  border-bottom: 1px solid var(--line);
}

.support-list > div:last-child {
  padding-bottom: 0;
  border-bottom: 0;
}

.contact-section {
  border-bottom: 0;
}

.contact-heading {
  max-width: 720px;
  margin-bottom: 32px;
}

.contact-heading h2 {
  margin-bottom: 14px;
}

.contact-heading p {
  margin-bottom: 0;
  color: var(--muted);
}

.form-embed {
  width: 100%;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #ffffff;
}

.form-embed iframe {
  display: block;
  width: 100%;
  height: 760px;
  border: 0;
}

.site-footer {
  padding: 30px 0;
  border-top: 1px solid var(--line);
}

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.footer-inner p,
.footer-inner a {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
  text-decoration: none;
}

@media (max-width: 760px) {
  .site-header {
    position: static;
  }

  .header-inner {
    min-height: auto;
    padding: 18px 0;
    align-items: flex-start;
  }

  nav {
    display: none;
  }

  .intro {
    padding: 76px 0 68px;
  }

  h1 {
    font-size: 42px;
  }

  .lead {
    font-size: 16px;
  }

  .section {
    padding: 64px 0;
  }

  .service-item,
  .two-column {
    grid-template-columns: 1fr;
  }

  .service-item {
    align-items: start;
    gap: 20px;
  }

  .two-column {
    gap: 32px;
  }

  .form-embed iframe {
    height: 820px;
  }

  .footer-inner {
    align-items: flex-start;
    flex-direction: column;
  }
}

.footer-note {
  margin-top: 6px !important;
  max-width: 620px;
  line-height: 1.7;
}
