:root {
  --ink: #203035;
  --muted: #607074;
  --line: #d8e1df;
  --paper: #ffffff;
  --mist: #f4f8f7;
  --teal: #126c64;
  --teal-dark: #0b4d49;
  --amber: #d4891c;
  --moss: #607447;
  --steel: #48626a;
  --danger: #9f3d2e;
  --shadow: 0 16px 40px rgba(32, 48, 53, 0.08);
  --radius: 8px;
  --container: 1120px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: "Noto Sans JP", "Hiragino Sans", "Yu Gothic", Meiryo, sans-serif;
  font-size: 16px;
  line-height: 1.8;
}

body.menu-open {
  overflow: hidden;
}

img,
svg {
  display: block;
  max-width: 100%;
}

a {
  color: var(--teal);
  text-decoration-thickness: 0.08em;
  text-underline-offset: 0.18em;
}

a:hover {
  color: var(--teal-dark);
}

p {
  margin: 0 0 1rem;
}

ul,
ol {
  margin: 0;
  padding-left: 1.35rem;
}

li + li {
  margin-top: 0.25rem;
}

table {
  width: 100%;
  border-collapse: collapse;
}

th,
td {
  border-bottom: 1px solid var(--line);
  padding: 0.95rem;
  text-align: left;
  vertical-align: top;
}

th {
  color: #34464b;
  background: #edf4f2;
  font-weight: 700;
}

td.price {
  white-space: nowrap;
  font-weight: 700;
  color: var(--teal-dark);
}

.skip-link {
  position: absolute;
  left: 1rem;
  top: -4rem;
  z-index: 100;
  padding: 0.6rem 0.9rem;
  color: #ffffff;
  background: var(--teal-dark);
  border-radius: var(--radius);
  transition: top 0.2s ease;
}

.skip-link:focus {
  top: 1rem;
}

.container {
  width: min(100% - 2rem, var(--container));
  margin-inline: auto;
}

.narrow {
  width: min(100% - 2rem, 860px);
  margin-inline: auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.96);
  border-bottom: 1px solid rgba(216, 225, 223, 0.85);
  backdrop-filter: blur(14px);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.25rem;
  width: min(100% - 2rem, 1180px);
  min-height: 74px;
  margin-inline: auto;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  color: var(--ink);
  text-decoration: none;
}

.brand img {
  width: 42px;
  height: 42px;
}

.brand strong {
  display: block;
  font-size: 1.02rem;
  line-height: 1.2;
  letter-spacing: 0;
}

.brand span {
  display: block;
  color: var(--muted);
  font-size: 0.74rem;
  line-height: 1.35;
}

.global-nav {
  display: flex;
  align-items: center;
  gap: 0.15rem;
}

.global-nav a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 0.45rem 0.7rem;
  color: #2c3e43;
  border-radius: var(--radius);
  font-size: 0.88rem;
  font-weight: 700;
  text-decoration: none;
  white-space: nowrap;
}

.global-nav a:hover,
.global-nav a.is-current {
  color: var(--teal-dark);
  background: #e8f3f1;
}

.global-nav .nav-cta {
  margin-left: 0.25rem;
  color: #ffffff;
  background: var(--teal);
}

.global-nav .nav-cta:hover,
.global-nav .nav-cta.is-current {
  color: #ffffff;
  background: var(--teal-dark);
}

.menu-toggle {
  display: none;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  padding: 0;
  color: var(--ink);
  background: #f3f7f6;
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.menu-toggle span,
.menu-toggle::before,
.menu-toggle::after {
  display: block;
  width: 20px;
  height: 2px;
  background: currentColor;
  border-radius: 1px;
  content: "";
}

.menu-toggle {
  flex-direction: column;
  gap: 5px;
}

.hero {
  position: relative;
  overflow: hidden;
  background:
    linear-gradient(120deg, rgba(18, 108, 100, 0.1), rgba(212, 137, 28, 0.09)),
    var(--mist);
}

.hero::after {
  position: absolute;
  inset: auto 0 0 0;
  height: 1px;
  background: var(--line);
  content: "";
}

.hero-inner {
  display: grid;
  grid-template-columns: minmax(0, 1.04fr) minmax(320px, 0.86fr);
  gap: clamp(2rem, 5vw, 4rem);
  align-items: center;
  padding: clamp(3.2rem, 8vw, 6rem) 0;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  margin: 0 0 1rem;
  color: var(--teal-dark);
  font-size: 0.88rem;
  font-weight: 800;
}

.eyebrow::before {
  width: 0.65rem;
  height: 0.65rem;
  background: var(--amber);
  border-radius: 50%;
  content: "";
}

h1,
h2,
h3,
h4 {
  margin: 0;
  color: var(--ink);
  line-height: 1.35;
  letter-spacing: 0;
  overflow-wrap: anywhere;
}

h1 {
  max-width: 13.5em;
  font-size: clamp(2rem, 4.5vw, 3.4rem);
  font-weight: 800;
}

.subhead {
  max-width: 44rem;
  margin-top: 1.35rem;
  color: #42545a;
  font-size: clamp(1rem, 1.7vw, 1.16rem);
}

.hero-actions,
.section-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  margin-top: 1.7rem;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  min-height: 48px;
  padding: 0.72rem 1.05rem;
  color: var(--teal-dark);
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: 0 7px 20px rgba(32, 48, 53, 0.07);
  font-weight: 800;
  line-height: 1.35;
  text-decoration: none;
  overflow-wrap: anywhere;
}

.button:hover {
  color: var(--teal-dark);
  border-color: #b8d0cb;
  background: #f7fbfa;
}

.button.primary {
  color: #ffffff;
  background: var(--teal);
  border-color: var(--teal);
}

.button.primary:hover {
  color: #ffffff;
  background: var(--teal-dark);
}

.button.phone {
  color: #ffffff;
  background: var(--danger);
  border-color: var(--danger);
}

.button.phone:hover {
  color: #ffffff;
  background: #7d2f24;
}

.button.small {
  min-height: 40px;
  padding: 0.5rem 0.8rem;
  font-size: 0.92rem;
}

.hero-proof {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.7rem;
  margin-top: 2rem;
  padding: 0;
  list-style: none;
}

.hero-proof li {
  min-height: 76px;
  padding: 0.85rem;
  background: rgba(255, 255, 255, 0.76);
  border: 1px solid rgba(216, 225, 223, 0.9);
  border-radius: var(--radius);
  font-size: 0.9rem;
  font-weight: 700;
}

.hero-proof span {
  display: block;
  color: var(--teal-dark);
  font-size: 1.05rem;
}

.hero-media {
  position: relative;
}

.media-frame {
  overflow: hidden;
  border: 1px solid #cfdcda;
  border-radius: var(--radius);
  background: #ffffff;
  box-shadow: var(--shadow);
}

.media-frame img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.caption-note {
  margin-top: 0.8rem;
  color: var(--muted);
  font-size: 0.88rem;
}

.section {
  padding: clamp(3rem, 7vw, 5rem) 0;
}

.section.alt {
  background: var(--mist);
  border-block: 1px solid var(--line);
}

.section.tight {
  padding: clamp(2rem, 5vw, 3rem) 0;
}

.section-header {
  display: grid;
  grid-template-columns: minmax(0, 0.82fr) minmax(280px, 0.58fr);
  gap: 2rem;
  align-items: end;
  margin-bottom: 2rem;
}

.section-header h2 {
  font-size: clamp(1.55rem, 3vw, 2.25rem);
}

.section-header p {
  margin: 0;
  color: var(--muted);
}

.section-kicker {
  margin-bottom: 0.45rem;
  color: var(--teal-dark);
  font-size: 0.86rem;
  font-weight: 800;
}

.lead {
  color: #44575d;
  font-size: 1.08rem;
}

.grid {
  display: grid;
  gap: 1rem;
}

.grid.two {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.grid.three {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.grid.four {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.panel,
.card,
.case-card,
.service-row,
.faq-list details,
.notice {
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.panel {
  padding: clamp(1.2rem, 3vw, 1.6rem);
}

.card,
.case-card {
  padding: 1.2rem;
}

.card h3,
.case-card h3,
.service-row h3 {
  margin-bottom: 0.55rem;
  font-size: 1.08rem;
}

.card p,
.case-card p,
.service-row p {
  color: #53656a;
}

.icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  margin-bottom: 0.75rem;
  color: var(--teal-dark);
  background: #e8f3f1;
  border-radius: var(--radius);
}

.icon svg {
  width: 21px;
  height: 21px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.check-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.75rem;
  padding: 0;
  list-style: none;
}

.check-list li {
  position: relative;
  min-height: 54px;
  margin: 0;
  padding: 0.85rem 0.9rem 0.85rem 2.35rem;
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.check-list li::before {
  position: absolute;
  top: 0.95rem;
  left: 0.9rem;
  width: 0.85rem;
  height: 0.85rem;
  background: var(--teal);
  border-radius: 50%;
  box-shadow: inset 0 0 0 3px #ffffff;
  content: "";
}

.tag-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  padding: 0;
  list-style: none;
}

.tag-list li {
  margin: 0;
  padding: 0.38rem 0.62rem;
  color: #33464b;
  background: #edf4f2;
  border: 1px solid #cfe0dc;
  border-radius: 999px;
  font-size: 0.9rem;
  font-weight: 700;
}

.split {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(320px, 1fr);
  gap: clamp(1.5rem, 4vw, 3rem);
  align-items: center;
}

.split.reverse {
  grid-template-columns: minmax(320px, 1fr) minmax(0, 0.9fr);
}

.callout {
  padding: clamp(1.35rem, 3vw, 2rem);
  color: #ffffff;
  background: var(--teal-dark);
  border-radius: var(--radius);
}

.callout h2,
.callout h3,
.callout p {
  color: #ffffff;
}

.callout p {
  opacity: 0.9;
}

.flow {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 0.65rem;
  padding: 0;
  list-style: none;
}

.flow li {
  position: relative;
  min-height: 136px;
  margin: 0;
  padding: 1rem;
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.flow strong {
  display: block;
  margin-bottom: 0.35rem;
  color: var(--teal-dark);
}

.flow span {
  color: var(--muted);
  font-size: 0.9rem;
}

.price-table-wrapper {
  overflow-x: auto;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #ffffff;
}

.price-table-wrapper table {
  min-width: 720px;
}

.service-row {
  display: grid;
  grid-template-columns: 52px minmax(0, 1fr) minmax(260px, 0.65fr);
  gap: 1rem;
  align-items: start;
  padding: 1.2rem;
}

.service-row + .service-row {
  margin-top: 0.9rem;
}

.service-row ul {
  color: #4e6268;
}

.case-list {
  display: grid;
  gap: 1rem;
}

.case-card {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(0, 1fr);
  gap: 1.25rem;
}

.case-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  margin-bottom: 0.8rem;
  padding: 0;
  list-style: none;
}

.case-meta li {
  margin: 0;
  padding: 0.22rem 0.5rem;
  color: var(--teal-dark);
  background: #e8f3f1;
  border-radius: 999px;
  font-size: 0.82rem;
  font-weight: 800;
}

.case-steps {
  display: grid;
  gap: 0.7rem;
}

.case-steps div {
  padding-left: 0.85rem;
  border-left: 3px solid #c9dcda;
}

.case-steps strong {
  display: block;
  color: #34464b;
}

.area-list {
  columns: 2;
  column-gap: 2rem;
}

.area-list li {
  break-inside: avoid;
}

.info-table th {
  width: 32%;
}

.faq-list {
  display: grid;
  gap: 0.75rem;
}

.faq-list details {
  overflow: hidden;
}

.faq-list summary {
  cursor: pointer;
  padding: 1rem 1.1rem;
  color: var(--ink);
  font-weight: 800;
}

.faq-list summary::marker {
  color: var(--teal);
}

.faq-list details div {
  padding: 0 1.1rem 1.1rem;
  color: #4e6268;
}

.contact-strip {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 1.5rem;
  align-items: center;
  padding: clamp(1.2rem, 3vw, 1.8rem);
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.contact-methods {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}

.contact-method {
  padding: 1.2rem;
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.contact-method strong {
  display: block;
  margin-bottom: 0.25rem;
  color: var(--muted);
  font-size: 0.88rem;
}

.contact-method a {
  font-size: 1.2rem;
  font-weight: 800;
}

.contact-form {
  display: grid;
  gap: 1rem;
}

.form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}

.field {
  display: grid;
  gap: 0.35rem;
}

.field.full {
  grid-column: 1 / -1;
}

.field label {
  font-weight: 800;
}

.field input,
.field select,
.field textarea {
  width: 100%;
  min-height: 46px;
  padding: 0.65rem 0.75rem;
  color: var(--ink);
  background: #ffffff;
  border: 1px solid #cbd8d6;
  border-radius: var(--radius);
  font: inherit;
}

.field textarea {
  min-height: 170px;
  resize: vertical;
}

.field input:focus,
.field select:focus,
.field textarea:focus {
  border-color: var(--teal);
  outline: 3px solid rgba(18, 108, 100, 0.16);
}

.required {
  color: var(--danger);
}

.notice {
  padding: 1rem;
  color: #44575d;
  background: #fbfcfc;
}

.site-footer {
  color: #dce7e5;
  background: #223237;
}

.footer-inner {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(180px, 0.55fr) minmax(250px, 0.75fr);
  gap: 2rem;
  padding: 3rem 0;
}

.footer-brand {
  display: flex;
  gap: 0.8rem;
  align-items: center;
  margin-bottom: 1rem;
}

.footer-brand img {
  width: 44px;
  height: 44px;
}

.site-footer h2,
.site-footer h3,
.site-footer strong {
  color: #ffffff;
}

.site-footer p,
.site-footer li {
  color: #c9d6d4;
}

.site-footer ul {
  padding: 0;
  list-style: none;
}

.site-footer li + li {
  margin-top: 0.45rem;
}

.site-footer a {
  color: #ffffff;
}

.footer-bottom {
  padding: 1rem 0;
  color: #aebfbc;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  font-size: 0.9rem;
}

.floating-contact {
  position: fixed;
  right: 1rem;
  bottom: 1rem;
  z-index: 45;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0.65rem 0.9rem;
  color: #ffffff;
  background: var(--danger);
  border-radius: var(--radius);
  box-shadow: 0 10px 25px rgba(32, 48, 53, 0.22);
  font-weight: 800;
  text-decoration: none;
}

.floating-contact:hover {
  color: #ffffff;
  background: #7d2f24;
}

@media (max-width: 1060px) {
  .global-nav {
    position: fixed;
    inset: 74px 0 auto 0;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0.25rem;
    max-height: calc(100vh - 74px);
    padding: 1rem;
    overflow-y: auto;
    background: #ffffff;
    border-bottom: 1px solid var(--line);
    box-shadow: var(--shadow);
  }

  body.menu-open .global-nav {
    display: flex;
  }

  .global-nav a {
    justify-content: flex-start;
    min-height: 48px;
    padding: 0.7rem 0.8rem;
  }

  .global-nav .nav-cta {
    margin-left: 0;
  }

  .menu-toggle {
    display: inline-flex;
  }

  .hero-inner,
  .split,
  .split.reverse {
    grid-template-columns: 1fr;
  }

  .hero-media {
    max-width: 620px;
  }

  .hero-proof,
  .grid.four {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .flow {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .service-row,
  .case-card {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 760px) {
  body {
    font-size: 15px;
  }

  h1 {
    max-width: 100%;
    font-size: clamp(1.8rem, 8vw, 2.25rem);
    line-height: 1.42;
    line-break: anywhere;
    word-break: break-all;
  }

  h2 {
    font-size: clamp(1.35rem, 6vw, 1.85rem);
    line-break: anywhere;
    word-break: break-all;
  }

  .hero p,
  .subhead {
    max-width: 100%;
    line-break: anywhere;
    word-break: break-all;
  }

  .brand span {
    display: none;
  }

  .hero-inner {
    padding: 2.6rem 0;
  }

  .hero-proof,
  .section-header,
  .grid.two,
  .grid.three,
  .check-list,
  .contact-strip,
  .contact-methods,
  .form-grid,
  .footer-inner {
    grid-template-columns: 1fr;
  }

  .flow {
    grid-template-columns: 1fr;
  }

  .flow li {
    min-height: auto;
  }

  .area-list {
    columns: 1;
  }

  .contact-strip {
    align-items: stretch;
  }

  .floating-contact {
    right: 0.75rem;
    left: 0.75rem;
    bottom: 0.75rem;
    width: auto;
    max-width: none;
    padding: 0.58rem 0.7rem;
    font-size: 0.9rem;
    text-align: center;
  }
}

@media (max-width: 430px) {
  .header-inner {
    width: min(100% - 1rem, 1180px);
  }

  .container,
  .narrow {
    width: min(100% - 1rem, var(--container));
  }

  .button {
    width: 100%;
  }

  .hero-actions,
  .section-actions {
    width: 100%;
  }
}
