:root {
  --ink: #283431;
  --muted: #68756f;
  --brand: #587a77;
  --brand-dark: #3f6463;
  --paper: #fbfaf4;
  --paper-strong: #f1ede4;
  --sage: #eef3ea;
  --accent: #9a8a6d;
  --line: rgba(40, 52, 49, 0.14);
  --white: #ffffff;
  --shadow: 0 18px 46px rgba(40, 52, 49, 0.1);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: "Hiragino Sans", "Yu Gothic", "YuGothic", "Noto Sans JP", system-ui, sans-serif;
  line-height: 1.8;
}

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

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

.site-header {
  position: fixed;
  z-index: 50;
  top: 0;
  left: 0;
  right: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 12px clamp(18px, 4vw, 56px);
  color: var(--ink);
  background: rgba(251, 250, 244, 0.88);
  border-bottom: 1px solid rgba(40, 52, 49, 0.08);
  backdrop-filter: blur(14px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
  font-weight: 700;
  letter-spacing: 0;
}

.brand img {
  width: 66px;
  height: 66px;
  object-fit: cover;
  border-radius: 8px;
}

.brand span {
  white-space: nowrap;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: clamp(16px, 2.4vw, 30px);
  font-size: 14px;
  font-weight: 700;
}

.site-nav a {
  position: relative;
}

.site-nav a::after {
  position: absolute;
  right: 0;
  bottom: -6px;
  left: 0;
  height: 2px;
  content: "";
  background: var(--accent);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 180ms ease;
}

.site-nav a:hover::after,
.site-nav a:focus-visible::after {
  transform: scaleX(1);
}

.nav-sns {
  color: var(--brand-dark);
}

.nav-toggle {
  display: none;
}

.hero {
  position: relative;
  min-height: 94vh;
  padding: 148px clamp(20px, 6vw, 76px) 82px;
  overflow: hidden;
  display: grid;
  align-items: center;
  grid-template-columns: minmax(0, 1fr);
  isolation: isolate;
}

.hero-backdrop {
  position: absolute;
  inset: 0;
  z-index: -2;
  background:
    linear-gradient(90deg, rgba(251, 250, 244, 0.92) 0%, rgba(251, 250, 244, 0.72) 35%, rgba(251, 250, 244, 0.12) 70%),
    linear-gradient(180deg, rgba(251, 250, 244, 0.18) 0%, rgba(251, 250, 244, 0.34) 100%),
    url("../images/hero-desk.png") center / cover no-repeat;
}

.hero-content {
  width: min(880px, 100%);
}

.eyebrow,
.section-kicker {
  margin: 0 0 14px;
  color: var(--brand-dark);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  overflow-wrap: anywhere;
}

h1,
h2,
h3 {
  margin: 0;
  line-height: 1.3;
  letter-spacing: 0;
}

h1 {
  font-size: clamp(46px, 7vw, 86px);
  font-weight: 800;
}

h2 {
  font-size: clamp(30px, 4vw, 54px);
  font-weight: 800;
}

h3 {
  font-size: 21px;
}

.hero-copy {
  max-width: 640px;
  margin: 24px 0 0;
  color: #395052;
  font-size: clamp(16px, 1.8vw, 19px);
}

.hero-actions,
.contact-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 34px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 12px 24px;
  border: 1px solid transparent;
  border-radius: 999px;
  font-weight: 800;
  line-height: 1.35;
  transition: transform 180ms ease, box-shadow 180ms ease, background 180ms ease;
}

.button:hover,
.button:focus-visible {
  transform: translateY(-2px);
}

.button.primary {
  color: var(--white);
  background: var(--brand-dark);
  box-shadow: 0 14px 32px rgba(63, 100, 99, 0.22);
}

.button.secondary {
  color: var(--brand-dark);
  background: rgba(255, 255, 255, 0.72);
  border-color: rgba(52, 95, 115, 0.24);
}

.section,
.section-band,
.contact-section {
  padding: clamp(72px, 10vw, 128px) 0;
}

.section-inner {
  width: min(1120px, calc(100% - 40px));
  margin: 0 auto;
}

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

.intro-grid,
.concept-layout,
.contact-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: clamp(28px, 6vw, 72px);
  align-items: start;
}

.intro-grid p,
.concept-copy p,
.price-head p,
.contact-layout p {
  margin: 0;
  color: var(--muted);
}

.concept-notes {
  display: grid;
  gap: 14px;
}

.concept-notes div,
.service-card,
.flow-list li {
  border-top: 1px solid var(--line);
}

.concept-notes div {
  padding: 22px 0 0;
}

.concept-notes span,
.flow-list span {
  display: block;
  margin-bottom: 12px;
  color: var(--brand);
  font-size: 13px;
  font-weight: 800;
}

.concept-notes strong {
  display: block;
  margin-bottom: 6px;
  font-size: 20px;
}

.concept-notes p,
.service-card p,
.flow-list p {
  margin: 0;
  color: var(--muted);
}

.service-section {
  background: linear-gradient(180deg, var(--sage), var(--paper));
}

.section-heading {
  display: grid;
  gap: 10px;
  margin-bottom: 36px;
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}

.service-card {
  min-height: 220px;
  padding: 22px 0 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.service-icon {
  display: block;
  color: var(--brand-dark);
  font-size: 13px;
  font-weight: 800;
}

.price-section {
  background: var(--paper);
}

.price-head {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(0, 1fr);
  gap: clamp(24px, 6vw, 72px);
  align-items: end;
  margin-bottom: 32px;
}

.price-table-wrap {
  overflow-x: auto;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 18px 42px rgba(39, 56, 58, 0.08);
}

.price-table {
  width: 100%;
  min-width: 760px;
  border-collapse: collapse;
}

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

.price-table thead th {
  color: var(--brand-dark);
  background: #eef2ed;
  font-size: 14px;
}

.price-table tbody th {
  width: 24%;
  font-size: 16px;
}

.price-table tbody td:nth-child(2) {
  width: 20%;
  color: var(--accent);
  font-weight: 900;
  white-space: nowrap;
}

.price-table tr:last-child th,
.price-table tr:last-child td {
  border-bottom: 0;
}

.flow-section {
  background: var(--white);
}

.flow-list {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
  padding: 0;
  margin: 0;
  list-style: none;
}

.flow-list li {
  padding: 22px 0 0;
}

.flow-list strong {
  display: block;
  margin-bottom: 8px;
  font-size: 19px;
}

.contact-section {
  color: var(--white);
  background: var(--brand-dark);
}

.contact-section .section-kicker,
.contact-section p {
  color: rgba(255, 255, 255, 0.78);
}

.contact-section .button.primary {
  color: var(--brand-dark);
  background: var(--white);
  box-shadow: none;
}

.contact-section .button.secondary {
  color: var(--white);
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.32);
}

.contact-note {
  grid-column: 2;
  font-size: 13px;
}

.site-footer {
  padding: 24px 0;
  color: rgba(255, 255, 255, 0.72);
  background: #243734;
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  font-size: 13px;
}

.footer-inner p {
  margin: 0;
}

@media (max-width: 920px) {
  .site-nav {
    position: fixed;
    top: 95px;
    right: 16px;
    left: 16px;
    display: none;
    padding: 18px;
    background: rgba(251, 250, 245, 0.98);
    border: 1px solid var(--line);
    border-radius: 8px;
    box-shadow: var(--shadow);
  }

  .site-nav.is-open {
    display: grid;
    gap: 14px;
  }

  .nav-toggle {
    display: inline-grid;
    place-items: center;
    width: 44px;
    height: 44px;
    padding: 0;
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: 50%;
  }

  .nav-toggle span {
    width: 18px;
    height: 2px;
    background: var(--ink);
  }

  .hero {
    min-height: 820px;
    padding-top: 132px;
  }

  .hero-backdrop {
    background:
      linear-gradient(180deg, rgba(251, 250, 244, 0.98) 0%, rgba(251, 250, 244, 0.8) 48%, rgba(251, 250, 244, 0.22) 100%),
      url("../images/hero-desk.png") center / cover no-repeat;
  }

  .intro-grid,
  .concept-layout,
  .price-head,
  .contact-layout {
    grid-template-columns: 1fr;
  }

  .service-grid,
  .flow-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .contact-note {
    grid-column: auto;
  }
}

@media (max-width: 620px) {
  .site-header {
    padding: 12px 16px;
  }

  .brand {
    gap: 10px;
  }

  .brand img {
    width: 54px;
    height: 54px;
  }

  .brand span {
    max-width: 180px;
    overflow: hidden;
    text-overflow: ellipsis;
  }

  .hero {
    min-height: 760px;
    padding: 108px 20px 48px;
  }

  h1 {
    font-size: clamp(42px, 15vw, 64px);
  }

  .hero-actions,
  .contact-actions {
    display: grid;
  }

  .button {
    width: 100%;
  }

  .section-inner {
    width: min(100% - 32px, 1120px);
  }

  .section,
  .section-band,
  .contact-section {
    padding: 64px 0;
  }

  .service-grid,
  .flow-list {
    grid-template-columns: 1fr;
  }

  .service-card {
    min-height: 0;
  }

  .price-table {
    min-width: 680px;
  }

  .footer-inner {
    display: grid;
  }
}
