:root {
  --jade: #2f8b7d;
  --jade-deep: #1f665d;
  --jade-soft: #e9f5f1;
  --green-deep: #153f3a;
  --navy: #173958;
  --ink: #1f2d34;
  --muted: #617078;
  --line: #dbe6e3;
  --bg: #f7faf9;
  --white: #fff;
  --shadow: 0 18px 40px rgba(22, 63, 58, 0.08);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

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

body.nav-open {
  overflow: hidden;
}

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

img,
svg {
  max-width: 100%;
}

.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 76px;
  padding: 0 clamp(20px, 4vw, 56px);
  border-bottom: 1px solid rgba(219, 230, 227, 0.82);
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(16px);
}

.brand {
  display: inline-flex;
  align-items: center;
  min-width: 260px;
}

.brand-logo {
  display: block;
  width: 250px;
  height: auto;
  object-fit: contain;
}

.global-nav {
  display: flex;
  align-items: center;
  gap: clamp(16px, 2.3vw, 34px);
  color: var(--navy);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.08em;
}

.global-nav a {
  position: relative;
  padding: 10px 0;
}

.global-nav a::after {
  position: absolute;
  left: 0;
  bottom: 5px;
  width: 100%;
  height: 1px;
  content: "";
  background: var(--jade);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.22s ease;
}

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

.nav-toggle {
  display: none;
}

.section-anchor,
.section {
  scroll-margin-top: 76px;
}

.hero {
  position: relative;
  display: flex;
  align-items: center;
  min-height: 100vh;
  padding: 128px clamp(20px, 5vw, 72px) 112px;
  overflow: hidden;
  background: var(--bg);
}

.hero::before {
  position: absolute;
  inset: 0 0 0 auto;
  width: 66%;
  content: "";
  background:
    linear-gradient(90deg, rgba(247, 250, 249, 0) 0%, rgba(247, 250, 249, 0.1) 100%),
    url("../img/furniture-cleaning.png") center / cover no-repeat;
  filter: blur(0.4px) saturate(0.98) contrast(1.08);
  opacity: 0.58;
  transform: scale(1.03);
}

.hero::after {
  position: absolute;
  inset: 0;
  content: "";
  background:
    linear-gradient(90deg, var(--bg) 0%, var(--bg) 35%, rgba(247, 250, 249, 0.88) 50%, rgba(247, 250, 249, 0.45) 70%, rgba(247, 250, 249, 0.04) 100%),
    radial-gradient(circle at 76% 28%, rgba(47, 139, 125, 0.12), transparent 34%);
}

.hero-inner {
  position: relative;
  z-index: 1;
  display: block;
  width: min(1220px, 100%);
  margin: 0 auto;
}

.hero-copy {
  max-width: 820px;
  margin-left: clamp(0px, 3vw, 42px);
}

.eyebrow,
.section-label {
  margin: 0 0 14px;
  color: var(--jade-deep);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.18em;
}

.hero h1,
.section h2 {
  margin: 0;
  color: var(--green-deep);
  font-family: "Yu Mincho", "Hiragino Mincho ProN", Georgia, serif;
  font-weight: 600;
  letter-spacing: 0;
}

.hero h1 {
  font-size: clamp(48px, 4.8vw, 68px);
  line-height: 1.24;
}

.hero h1 span {
  white-space: nowrap;
}

.hero-lead {
  max-width: 760px;
  margin: 28px 0 0;
  color: #405057;
  font-size: clamp(16px, 1.8vw, 20px);
}

.hero-mobile-photo {
  display: none;
}

.section {
  padding: clamp(72px, 9vw, 112px) clamp(20px, 5vw, 72px);
}

.section:nth-of-type(even) {
  background: var(--bg);
}

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

.contact-layout {
  display: grid;
  grid-template-columns: 0.82fr 1.18fr;
  gap: clamp(36px, 7vw, 88px);
}

.about .section-body {
  margin-top: 28px;
  max-width: 780px;
}

.section h2 {
  font-size: clamp(30px, 4vw, 44px);
  line-height: 1.35;
}

.section-body {
  display: grid;
  gap: 18px;
  color: #405057;
  font-size: 17px;
}

.section-body p,
.contact-note {
  margin: 0;
}

.section-heading {
  max-width: 720px;
  margin-bottom: 38px;
}

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

.service-card,
.contact-form,
.company-table-wrap {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  box-shadow: 0 12px 28px rgba(23, 57, 88, 0.05);
}

.service-card {
  overflow: hidden;
}

.service-media {
  position: relative;
  overflow: hidden;
}

.service-image {
  display: block;
  width: 100%;
  height: 190px;
  object-fit: cover;
  background: #edf4f2;
}

.service-copy {
  padding: 24px;
}

.service-copy span,
.case-category {
  display: inline-block;
  margin: 0 0 8px;
  color: var(--jade-deep);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.12em;
}

.service-card h3,
.service-card p {
  margin: 0;
  color: var(--muted);
  font-size: 15px;
}

.works {
  background: var(--white);
}

.case-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 26px;
}

.case-card {
  min-width: 0;
}

.case-photo {
  position: relative;
  aspect-ratio: 1.52 / 1;
  overflow: hidden;
  background: #e7f0ed;
}

.case-photo img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.case-photo span {
  position: absolute;
  left: 0;
  top: 0;
  padding: 11px 16px;
  color: #fff;
  background: #061416;
  font-weight: 800;
  line-height: 1;
}

.case-card h3 {
  margin: 18px 0 14px;
  color: #061416;
  font-size: clamp(20px, 2vw, 25px);
  line-height: 1.45;
  letter-spacing: 0;
}

.case-card dl {
  display: grid;
  gap: 10px;
  margin: 0;
}

.case-card div {
  min-width: 0;
}

.case-card dl div {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 8px;
  align-items: start;
}

.case-card dt {
  margin: 0;
  padding: 3px 8px;
  color: #fff;
  background: #061416;
  font-size: 14px;
  font-weight: 800;
  line-height: 1.25;
}

.case-card dd {
  margin: 0;
  color: #061416;
  font-size: 15px;
  font-weight: 700;
  line-height: 1.65;
}

.company-table-wrap {
  overflow: hidden;
}

.company-table {
  width: 100%;
  border-collapse: collapse;
}

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

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

.company-table th {
  width: 210px;
  color: var(--green-deep);
  background: #f8fbfa;
  font-weight: 700;
}

.company-table td {
  color: #405057;
}

.contact {
  background: var(--bg);
}

.contact-note {
  max-width: 420px;
  margin-top: 22px;
  color: var(--muted);
}

.contact-form {
  display: grid;
  gap: 18px;
  padding: clamp(24px, 4vw, 36px);
}

.contact-form label {
  display: grid;
  gap: 8px;
  color: var(--green-deep);
  font-size: 14px;
  font-weight: 700;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  border: 1px solid #cfdedb;
  border-radius: 6px;
  padding: 13px 14px;
  color: var(--ink);
  font: inherit;
  background: #fff;
}

.contact-form input:focus,
.contact-form textarea:focus {
  outline: 2px solid rgba(47, 139, 125, 0.2);
  border-color: var(--jade);
}

.contact-form button {
  justify-self: start;
  min-width: 132px;
  min-height: 46px;
  border: 0;
  border-radius: 6px;
  color: #fff;
  font: inherit;
  font-weight: 700;
  background: var(--green-deep);
  cursor: default;
}

.form-status {
  margin: -4px 0 0;
  color: var(--muted);
  font-size: 13px;
}

.line-contact-card {
  display: grid;
  gap: 24px;
  padding: clamp(26px, 4vw, 38px);
  border: 1px solid var(--line);
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(233, 245, 241, 0.72), rgba(255, 255, 255, 0.96)),
    #fff;
  box-shadow: 0 12px 28px rgba(23, 57, 88, 0.05);
}

.line-contact-head {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 18px;
  align-items: center;
}

.line-mark {
  display: grid;
  place-items: center;
  width: 64px;
  height: 64px;
  border-radius: 50%;
  color: #fff;
  background: #06c755;
  font-size: 13px;
  font-weight: 900;
  letter-spacing: 0;
}

.line-contact-head h3 {
  margin: 0 0 6px;
  color: var(--green-deep);
  font-size: 24px;
  line-height: 1.35;
}

.line-contact-head p {
  margin: 0;
  color: var(--muted);
  font-size: 15px;
}

.line-contact-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  width: min(100%, 320px);
  border-radius: 6px;
  color: #fff;
  background: #06c755;
  font-weight: 800;
  box-shadow: 0 12px 24px rgba(6, 199, 85, 0.18);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.line-contact-button:hover,
.line-contact-button:focus-visible {
  transform: translateY(-2px);
  box-shadow: 0 16px 30px rgba(6, 199, 85, 0.24);
}

.line-contact-info {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  margin: 0;
}

.line-contact-info div {
  padding: 14px 16px;
  border: 1px solid rgba(219, 230, 227, 0.9);
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.72);
}

.line-contact-info dt {
  margin: 0 0 4px;
  color: var(--jade-deep);
  font-size: 12px;
  font-weight: 800;
}

.line-contact-info dd {
  margin: 0;
  color: var(--navy);
  font-weight: 700;
}

.site-footer {
  padding: 32px clamp(20px, 5vw, 72px);
  color: rgba(255, 255, 255, 0.82);
  background: var(--green-deep);
}

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  width: min(1120px, 100%);
  margin: 0 auto;
}

.footer-brand {
  font-family: "Yu Mincho", "Hiragino Mincho ProN", Georgia, serif;
  font-size: 19px;
  color: #fff;
}

.site-footer p {
  margin: 0;
}

@media (max-width: 900px) {
  .site-header {
    min-height: 68px;
  }

  .nav-toggle {
    display: inline-grid;
    place-items: center;
    gap: 5px;
    width: 42px;
    height: 42px;
    border: 1px solid var(--line);
    border-radius: 6px;
    background: #fff;
  }

  .nav-toggle span {
    width: 18px;
    height: 2px;
    background: var(--green-deep);
    transition: transform 0.22s ease, opacity 0.22s ease;
  }

  body.nav-open .nav-toggle span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
  }

  body.nav-open .nav-toggle span:nth-child(2) {
    opacity: 0;
  }

  body.nav-open .nav-toggle span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
  }

  .global-nav {
    position: fixed;
    left: 20px;
    right: 20px;
    top: 82px;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 10px 20px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.98);
    box-shadow: var(--shadow);
  }

  body.nav-open .global-nav {
    display: flex;
  }

  .global-nav a {
    padding: 14px 0;
    border-bottom: 1px solid var(--line);
  }

  .global-nav a:last-child {
    border-bottom: 0;
  }

  .hero {
    min-height: auto;
    padding-top: 118px;
    padding-bottom: 84px;
  }

  .hero-copy {
    margin-left: 0;
  }

  .hero::before {
    width: 100%;
    opacity: 0.18;
  }

  .hero::after {
    background:
      linear-gradient(180deg, rgba(247, 250, 249, 0.97) 0%, rgba(247, 250, 249, 0.94) 58%, rgba(247, 250, 249, 0.8) 100%),
      radial-gradient(circle at 82% 24%, rgba(47, 139, 125, 0.12), transparent 34%);
  }

  .hero-mobile-photo {
    display: block;
    margin-top: 32px;
    overflow: hidden;
    border: 1px solid rgba(219, 230, 227, 0.9);
    border-radius: 8px;
    box-shadow: 0 14px 32px rgba(23, 57, 88, 0.08);
  }

  .hero-mobile-photo img {
    display: block;
    width: 100%;
    aspect-ratio: 16 / 9;
    object-fit: cover;
  }

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

  .line-contact-button {
    width: 100%;
  }

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

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

  .case-list {
    grid-template-columns: 1fr;
    gap: 34px;
  }
}

@media (max-width: 620px) {
  .brand {
    min-width: 0;
  }

  .brand-logo {
    width: 190px;
  }

  .hero {
    padding-inline: 18px;
    padding-bottom: 76px;
  }

  .hero h1 {
    font-size: clamp(32px, 10vw, 38px);
  }

  .section {
    padding: 64px 18px;
  }

  .section-body {
    font-size: 16px;
  }

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

  .service-copy {
    padding: 24px;
  }

  .company-table,
  .company-table tbody,
  .company-table tr,
  .company-table th,
  .company-table td {
    display: block;
    width: 100%;
  }

  .company-table th {
    padding: 16px 18px 8px;
    border-bottom: 0;
    background: #fff;
  }

  .company-table td {
    padding: 0 18px 18px;
  }

  .company-table tr {
    border-bottom: 1px solid var(--line);
  }

  .company-table tr:last-child {
    border-bottom: 0;
  }

  .footer-inner {
    display: grid;
  }
}
