:root {
  color-scheme: light;
  --ink: #111511;
  --ink-soft: #3d473f;
  --paper: #f6f3ea;
  --paper-strong: #fffdf7;
  --muted: #d9d2c2;
  --line: #d7cebb;
  --steel: #687780;
  --green: #2fa879;
  --green-deep: #0f5e46;
  --acid: #d7ff64;
  --amber: #d4892f;
  --blue: #416f91;
  --charcoal: #111412;
  --charcoal-2: #1c211d;
  --shadow: 0 18px 45px rgba(18, 21, 18, 0.18);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: Arial, "Noto Sans SC", "Microsoft YaHei", sans-serif;
  color: var(--ink);
  background: var(--paper);
  letter-spacing: 0;
}

body::selection {
  background: var(--acid);
  color: var(--ink);
}

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

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

button,
input,
select,
textarea {
  font: inherit;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: grid;
  grid-template-columns: minmax(190px, 1fr) auto auto;
  align-items: center;
  gap: 24px;
  padding: 14px 36px;
  color: #f7f3e8;
  background: rgba(17, 20, 18, 0.92);
  border-bottom: 1px solid rgba(246, 243, 234, 0.12);
  backdrop-filter: blur(16px);
}

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

.brand-mark {
  display: grid;
  width: 40px;
  height: 40px;
  place-items: center;
  flex: 0 0 auto;
  border-radius: 8px;
  color: var(--ink);
  background: var(--acid);
  font-size: 1.25rem;
  font-weight: 800;
}

.brand strong,
.brand small {
  display: block;
  white-space: nowrap;
}

.brand strong {
  font-size: 1rem;
}

.brand small {
  margin-top: 2px;
  color: rgba(247, 243, 232, 0.68);
  font-size: 0.78rem;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 8px;
}

.site-nav a {
  min-width: 58px;
  padding: 10px 12px;
  border-radius: 8px;
  color: rgba(247, 243, 232, 0.78);
  font-size: 0.93rem;
  text-align: center;
  transition: color 160ms ease, background-color 160ms ease;
}

.site-nav a:hover,
.site-nav a:focus-visible {
  color: #ffffff;
  background: rgba(255, 255, 255, 0.08);
}

.lang-toggle {
  display: inline-flex;
  gap: 4px;
  padding: 4px;
  border: 1px solid rgba(247, 243, 232, 0.2);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.08);
}

.lang-toggle button {
  min-width: 46px;
  height: 34px;
  border: 0;
  border-radius: 6px;
  color: rgba(247, 243, 232, 0.72);
  background: transparent;
  cursor: pointer;
}

.lang-toggle button[data-lang="ja"] {
  min-width: 68px;
}

.lang-toggle button.active {
  color: var(--ink);
  background: var(--acid);
  font-weight: 700;
}

.hero {
  position: relative;
  min-height: 650px;
  height: calc(100svh - 112px);
  max-height: 780px;
  overflow: hidden;
  color: #fffdf6;
  background: var(--charcoal);
}

.hero-media,
.hero-shade {
  position: absolute;
  inset: 0;
}

.hero-media {
  background-image: url("assets/gallery/8cff11aab9989612ac0e62d79765e04c.jpg");
  background-position: center 62%;
  background-size: cover;
  transform: scale(1.02);
}

.hero-shade {
  background:
    linear-gradient(90deg, rgba(12, 15, 12, 0.92) 0%, rgba(12, 15, 12, 0.62) 48%, rgba(12, 15, 12, 0.22) 100%),
    linear-gradient(0deg, rgba(12, 15, 12, 0.45), rgba(12, 15, 12, 0.18));
}

.hero-inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(300px, 420px);
  gap: 42px;
  align-items: end;
  width: min(1180px, calc(100% - 48px));
  height: 100%;
  margin: 0 auto;
  padding: 82px 0 56px;
}

.hero-copy {
  max-width: 770px;
}

.eyebrow,
.panel-kicker {
  margin: 0 0 14px;
  color: var(--amber);
  font-size: 0.78rem;
  font-weight: 800;
  text-transform: uppercase;
}

.hero h1 {
  margin: 0;
  color: #ffffff;
  font-size: 4.8rem;
  line-height: 0.94;
}

.hero-lede {
  max-width: 680px;
  margin: 24px 0 0;
  color: rgba(255, 253, 246, 0.86);
  font-size: 1.22rem;
  line-height: 1.75;
}

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

.button {
  display: inline-flex;
  min-height: 46px;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 18px;
  border: 1px solid transparent;
  border-radius: 8px;
  font-weight: 800;
  cursor: pointer;
  transition: transform 160ms ease, background-color 160ms ease, border-color 160ms ease;
}

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

.button.primary {
  color: var(--ink);
  background: var(--acid);
}

.button.secondary {
  color: var(--ink);
  background: #ffffff;
  border-color: var(--line);
}

.button.ghost {
  color: #fffdf6;
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 255, 255, 0.22);
}

.quote-panel {
  padding: 26px;
  border: 1px solid rgba(246, 243, 234, 0.18);
  border-radius: 8px;
  background: rgba(17, 20, 18, 0.74);
  box-shadow: var(--shadow);
  backdrop-filter: blur(12px);
}

.quote-panel h2 {
  margin: 0;
  font-size: 1.7rem;
  line-height: 1.24;
}

.check-list {
  display: grid;
  gap: 12px;
  margin: 22px 0 0;
  padding: 0;
  list-style: none;
}

.check-list li {
  position: relative;
  padding-left: 24px;
  color: rgba(255, 253, 246, 0.82);
  line-height: 1.5;
}

.check-list li::before {
  position: absolute;
  left: 0;
  top: 0.48em;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--acid);
  content: "";
}

.panel-link {
  display: inline-flex;
  margin-top: 24px;
  color: var(--acid);
  font-weight: 800;
}

.ticker-band {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
  justify-content: center;
  padding: 18px 24px;
  color: #fffdf6;
  background: var(--green-deep);
  border-top: 1px solid rgba(255, 255, 255, 0.12);
}

.ticker-band span {
  display: inline-flex;
  min-height: 34px;
  align-items: center;
  padding: 7px 12px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.08);
  font-size: 0.92rem;
}

.section {
  width: min(1180px, calc(100% - 48px));
  margin: 0 auto;
  padding: 84px 0;
}

.split-section {
  display: grid;
  grid-template-columns: 0.72fr 1.28fr;
  gap: 52px;
  align-items: start;
}

.section-heading {
  position: sticky;
  top: 96px;
}

.section-heading.compact {
  position: static;
  max-width: 740px;
  margin-bottom: 30px;
}

.section-heading h2,
.quote-copy h2 {
  margin: 0;
  font-size: 2.35rem;
  line-height: 1.15;
}

.section-heading p:not(.eyebrow),
.quote-copy > p {
  margin: 18px 0 0;
  color: var(--ink-soft);
  font-size: 1rem;
  line-height: 1.75;
}

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

.material-card,
.step-card,
.contact-board,
.trust-item {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--paper-strong);
  box-shadow: 0 10px 28px rgba(18, 21, 18, 0.08);
}

.material-card {
  overflow: hidden;
  min-height: 360px;
  padding: 0 0 22px;
}

.material-card > img {
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  background: #d9d2c2;
}

.material-code {
  display: inline-grid;
  min-width: 46px;
  height: 34px;
  place-items: center;
  justify-self: start;
  margin: 20px 22px 0;
  border-radius: 6px;
  color: #fffdf6;
  background: var(--charcoal-2);
  font-weight: 800;
}

.material-card:nth-child(2n) .material-code {
  background: var(--blue);
}

.material-card:nth-child(3n) .material-code {
  background: var(--green);
}

.material-card h3,
.step-card h3,
.contact-board h3 {
  margin: 18px 0 0;
  font-size: 1.15rem;
  line-height: 1.35;
}

.material-card h3 {
  margin: 16px 22px 0;
}

.material-card p,
.step-card p,
.fine-print {
  margin: 12px 0 0;
  color: var(--ink-soft);
  font-size: 0.96rem;
  line-height: 1.7;
}

.material-card p {
  margin: 10px 22px 0;
}

.gallery-section {
  padding: 82px max(24px, calc((100% - 1180px) / 2));
  background: var(--charcoal);
  color: #fffdf6;
}

.gallery-heading {
  max-width: 760px;
  margin-bottom: 28px;
}

.gallery-heading h2 {
  margin: 0;
  color: #ffffff;
  font-size: 2.35rem;
  line-height: 1.15;
}

.gallery-heading p:not(.eyebrow) {
  margin: 16px 0 0;
  color: rgba(255, 253, 246, 0.72);
  line-height: 1.75;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  grid-auto-rows: 250px;
  gap: 12px;
}

.gallery-card {
  position: relative;
  min-width: 0;
  margin: 0;
  overflow: hidden;
  border: 1px solid rgba(246, 243, 234, 0.14);
  border-radius: 8px;
  background: #222720;
}

.gallery-card.span-wide {
  grid-column: span 2;
}

.gallery-card img {
  height: 100%;
  object-fit: cover;
  filter: saturate(0.86) contrast(1.06);
  transition: transform 420ms ease;
}

.gallery-card:hover img {
  transform: scale(1.035);
}

.gallery-card figcaption {
  position: absolute;
  left: 18px;
  bottom: 18px;
  display: inline-flex;
  max-width: calc(100% - 36px);
  min-height: 36px;
  align-items: center;
  padding: 8px 12px;
  border-radius: 8px;
  color: #fffdf6;
  background: rgba(17, 20, 18, 0.72);
  font-weight: 800;
}

.process-section {
  padding-top: 96px;
}

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

.step-card {
  padding: 26px;
}

.step-card span {
  display: inline-flex;
  color: var(--green-deep);
  font-size: 0.8rem;
  font-weight: 900;
}

.contact-section {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 430px);
  gap: 44px;
  align-items: stretch;
  padding-top: 36px;
}

.quote-copy {
  padding: 44px;
  border-left: 8px solid var(--green);
  background: #ebe4d4;
}

.service-map {
  display: grid;
  gap: 8px;
  margin-top: 28px;
  padding-top: 22px;
  border-top: 1px solid rgba(17, 21, 17, 0.16);
}

.service-map strong {
  color: var(--green-deep);
}

.service-map span {
  color: var(--ink-soft);
  line-height: 1.65;
}

.contact-board {
  padding: 28px;
}

.contact-board h3 {
  margin-top: 0;
  font-size: 1.45rem;
}

.contact-board dl {
  display: grid;
  gap: 16px;
  margin: 22px 0;
}

.contact-board dl div {
  padding-bottom: 14px;
  border-bottom: 1px solid var(--line);
}

.contact-board dt {
  color: var(--steel);
  font-size: 0.82rem;
  font-weight: 800;
  text-transform: uppercase;
}

.contact-board dd {
  margin: 6px 0 0;
  color: var(--ink);
  font-weight: 800;
  overflow-wrap: anywhere;
}

.qr-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin: 4px 0 22px;
}

.qr-card {
  display: grid;
  gap: 8px;
  margin: 0;
  padding: 12px;
  border: 1px solid var(--line);
  background: #fffdf7;
  text-align: center;
}

.qr-card img {
  width: 100%;
  max-width: 180px;
  aspect-ratio: 1;
  justify-self: center;
  object-fit: contain;
  background: #ffffff;
}

.qr-card figcaption {
  color: var(--green-deep);
  font-size: 0.82rem;
  font-weight: 900;
  letter-spacing: 0;
}

.trust-section {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  padding-top: 0;
}

.trust-item {
  display: grid;
  gap: 8px;
  padding: 22px;
}

.trust-item strong {
  color: var(--green-deep);
  font-size: 1rem;
}

.trust-item span {
  color: var(--ink-soft);
  line-height: 1.55;
}

.site-footer {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, auto);
  gap: 36px;
  padding: 52px max(24px, calc((100% - 1180px) / 2));
  color: #fffdf6;
  background: var(--charcoal);
}

.site-footer h2 {
  margin: 0;
  font-size: 1.8rem;
}

.site-footer p {
  max-width: 640px;
  margin: 14px 0 0;
  color: rgba(255, 253, 246, 0.72);
  line-height: 1.75;
}

.site-footer address {
  display: grid;
  gap: 10px;
  align-content: start;
  font-style: normal;
  color: rgba(255, 253, 246, 0.82);
}

@media (max-width: 940px) {
  .site-header {
    grid-template-columns: 1fr auto;
    gap: 12px;
    padding: 12px 18px;
  }

  .site-nav {
    grid-column: 1 / -1;
    justify-content: flex-start;
    overflow-x: auto;
    padding-bottom: 2px;
  }

  .site-nav a {
    flex: 0 0 auto;
  }

  .hero {
    min-height: 0;
    height: auto;
  }

  .hero-inner {
    grid-template-columns: 1fr;
    width: min(100% - 32px, 720px);
    min-height: 690px;
    padding: 76px 0 34px;
    align-items: end;
  }

  .hero h1 {
    font-size: 3.25rem;
    line-height: 1;
  }

  .hero-lede {
    font-size: 1.05rem;
  }

  .section-heading h2,
  .quote-copy h2 {
    font-size: 2rem;
  }

  .quote-panel {
    max-width: 520px;
  }

  .split-section,
  .contact-section,
  .site-footer {
    grid-template-columns: 1fr;
  }

  .section-heading {
    position: static;
  }

  .material-grid,
  .step-grid,
  .trust-section {
    grid-template-columns: 1fr;
  }

  .gallery-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    grid-auto-rows: 230px;
  }

  .gallery-card.span-wide {
    grid-column: span 2;
  }
}

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

  .site-nav {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 4px;
    overflow: visible;
  }

  .site-nav a {
    min-width: 0;
    padding: 8px 4px;
    font-size: 0.82rem;
  }

  .brand-mark {
    width: 36px;
    height: 36px;
  }

  .brand strong {
    font-size: 0.92rem;
  }

  .brand small {
    font-size: 0.72rem;
  }

  .lang-toggle button {
    min-width: 40px;
    height: 32px;
  }

  .lang-toggle button[data-lang="ja"] {
    min-width: 62px;
  }

  .hero-inner,
  .section {
    width: calc(100% - 28px);
  }

  .hero-inner {
    min-height: 660px;
    padding-top: 52px;
  }

  .hero h1 {
    font-size: 2.75rem;
  }

  .hero-actions {
    flex-direction: column;
  }

  .button {
    width: 100%;
  }

  .quote-panel,
  .quote-copy,
  .step-card,
  .contact-board {
    padding: 20px;
  }

  .section {
    padding: 62px 0;
  }

  .section-heading h2,
  .quote-copy h2 {
    font-size: 1.85rem;
    line-height: 1.22;
  }

  .ticker-band {
    justify-content: flex-start;
    padding: 14px;
  }

  .ticker-band span {
    font-size: 0.84rem;
  }

  .gallery-section {
    padding: 62px 14px;
  }

  .gallery-heading h2 {
    font-size: 1.85rem;
    line-height: 1.22;
  }

  .gallery-grid {
    grid-template-columns: 1fr;
    grid-auto-rows: 310px;
  }

  .gallery-card.span-wide {
    grid-column: span 1;
  }

  .site-footer {
    padding: 42px 18px;
  }
}
