:root {
  --ink: #141313;
  --muted: #6d6760;
  --paper: #fbfaf7;
  --stone: #efede7;
  --line: #ded8cb;
  --gold: #b48745;
  --gold-dark: #8b642f;
  --charcoal: #20201f;
  --white: #ffffff;
  --shadow: 0 22px 60px rgba(20, 19, 19, 0.14);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: "Noto Sans JP", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.75;
}

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

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

.site-header {
  position: fixed;
  z-index: 20;
  top: 0;
  left: 0;
  right: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 18px clamp(18px, 4vw, 54px);
  color: var(--white);
  transition: background 0.25s ease, box-shadow 0.25s ease, color 0.25s ease;
}

.site-header.is-scrolled,
.site-header.is-open {
  color: var(--ink);
  background: rgba(251, 250, 247, 0.94);
  box-shadow: 0 12px 36px rgba(20, 19, 19, 0.08);
  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: 1px solid rgba(180, 135, 69, 0.75);
  border-radius: 50%;
  color: var(--gold);
  font-family: "Noto Serif JP", serif;
  font-weight: 700;
}

.brand strong,
.brand small {
  display: block;
}

.brand strong {
  font-size: 15px;
  letter-spacing: 0;
}

.brand small {
  font-size: 11px;
  opacity: 0.78;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 28px;
  font-size: 14px;
  font-weight: 700;
}

.site-nav a {
  position: relative;
  padding: 8px 0;
}

.site-nav a::after {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  height: 1px;
  background: var(--gold);
  content: "";
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.2s ease;
}

.site-nav a:hover::after {
  transform: scaleX(1);
  transform-origin: left;
}

.menu-toggle {
  display: none;
  width: 42px;
  height: 42px;
  place-items: center;
  border: 1px solid currentColor;
  border-radius: 50%;
  color: inherit;
  background: transparent;
}

.menu-toggle span {
  display: block;
  width: 17px;
  height: 1px;
  margin: 3px auto;
  background: currentColor;
}

.hero {
  position: relative;
  min-height: 94vh;
  display: grid;
  align-items: end;
  overflow: hidden;
  color: var(--white);
}

.hero-image,
.cta > img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(9, 11, 12, 0.86), rgba(9, 11, 12, 0.52) 43%, rgba(9, 11, 12, 0.08) 76%),
    linear-gradient(0deg, rgba(9, 11, 12, 0.58), transparent 45%);
}

.hero-content {
  position: relative;
  z-index: 1;
  width: min(1180px, calc(100% - 36px));
  margin: 0 auto;
  padding: 170px 0 42px;
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--gold);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

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

h1,
h2 {
  font-family: "Noto Serif JP", serif;
  line-height: 1.28;
  letter-spacing: 0;
}

h1 {
  width: min(780px, 100%);
  margin-bottom: 22px;
  font-size: clamp(38px, 6vw, 74px);
}

.hero-lead {
  width: min(680px, 100%);
  margin-bottom: 32px;
  color: rgba(255, 255, 255, 0.86);
  font-size: clamp(16px, 1.7vw, 19px);
}

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

.button {
  display: inline-flex;
  min-height: 50px;
  align-items: center;
  justify-content: center;
  padding: 12px 22px;
  border: 1px solid rgba(255, 255, 255, 0.5);
  border-radius: 999px;
  font-weight: 800;
}

.button.primary {
  border-color: var(--gold);
  color: #17130d;
  background: linear-gradient(135deg, #d9b16b, #b48745);
}

.button.secondary {
  color: var(--white);
  background: rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(8px);
}

.triple-actions .button {
  min-width: 180px;
}

.hero-facts {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  width: min(980px, 100%);
  margin: 80px 0 0;
  background: rgba(255, 255, 255, 0.2);
}

.hero-facts div {
  padding: 20px;
  background: rgba(10, 10, 10, 0.42);
  backdrop-filter: blur(12px);
}

.hero-facts dt {
  margin-bottom: 6px;
  color: var(--gold);
  font-size: 12px;
  font-weight: 800;
}

.hero-facts dd {
  margin: 0;
  font-weight: 700;
}

.section {
  width: min(1160px, calc(100% - 36px));
  margin: 0 auto;
  padding: 92px 0;
}

.section-heading {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: 44px;
  align-items: end;
  margin-bottom: 42px;
}

.section-heading.centered {
  display: block;
  width: min(760px, 100%);
  margin-right: auto;
  margin-left: auto;
  text-align: center;
}

h2 {
  margin-bottom: 18px;
  font-size: clamp(28px, 3.6vw, 46px);
}

h3 {
  margin-bottom: 10px;
  font-size: 20px;
  line-height: 1.45;
}

p {
  color: var(--muted);
}

.intro-grid,
.service-grid,
.price-grid {
  display: grid;
  gap: 18px;
}

.intro-grid {
  grid-template-columns: repeat(3, 1fr);
}

.intro-grid article,
.service-card,
.price-card {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  box-shadow: 0 12px 36px rgba(20, 19, 19, 0.04);
}

.intro-grid article {
  padding: 32px;
}

.intro-grid span {
  display: inline-block;
  margin-bottom: 24px;
  color: var(--gold);
  font-family: "Noto Serif JP", serif;
  font-size: 34px;
}

.dark-band {
  width: 100%;
  max-width: none;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 560px);
  gap: clamp(28px, 5vw, 72px);
  align-items: center;
  padding: 92px clamp(18px, 5vw, 72px);
  color: var(--white);
  background: var(--charcoal);
}

.split-media {
  min-height: 430px;
  overflow: hidden;
  border-radius: 8px;
}

.split-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.split-content p,
.dark-band p {
  color: rgba(255, 255, 255, 0.74);
}

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

.check-list li {
  position: relative;
  padding-left: 28px;
  font-weight: 700;
}

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

.service-grid {
  grid-template-columns: repeat(3, 1fr);
}

.service-card {
  padding: 30px;
}

.service-card h3::before {
  display: block;
  width: 34px;
  height: 2px;
  margin-bottom: 18px;
  background: var(--gold);
  content: "";
}

.business-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.business-card {
  display: block;
  min-height: 260px;
  padding: 30px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  box-shadow: 0 12px 36px rgba(20, 19, 19, 0.04);
  transition: border-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
}

.business-card:hover {
  border-color: rgba(180, 135, 69, 0.7);
  box-shadow: 0 18px 48px rgba(20, 19, 19, 0.09);
  transform: translateY(-2px);
}

.business-card span {
  display: inline-block;
  margin-bottom: 22px;
  color: var(--gold);
  font-family: "Noto Serif JP", serif;
  font-size: 34px;
}

.text-link {
  display: inline-flex;
  margin-top: 12px;
  color: var(--gold-dark);
  font-weight: 800;
}

.text-link::after {
  content: "→";
  margin-left: 8px;
}

.highlight-section {
  border-top: 1px solid var(--line);
}

.page-hero {
  position: relative;
  min-height: 520px;
  display: grid;
  align-items: end;
  overflow: hidden;
  color: var(--white);
}

.page-hero.compact {
  min-height: 460px;
}

.page-hero-content {
  position: relative;
  z-index: 1;
  width: min(1120px, calc(100% - 36px));
  margin: 0 auto;
  padding: 150px 0 72px;
}

.page-hero-content h1 {
  margin-bottom: 18px;
}

.page-hero-content p:not(.eyebrow) {
  width: min(720px, 100%);
  color: rgba(255, 255, 255, 0.82);
  font-size: 18px;
}

.service-detail-list {
  display: grid;
  gap: 18px;
}

.service-detail {
  padding: 36px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  box-shadow: 0 12px 36px rgba(20, 19, 19, 0.04);
}

.service-detail h2 {
  font-size: clamp(26px, 3vw, 38px);
}

.pill-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 22px;
}

.pill-list span {
  display: inline-flex;
  min-height: 40px;
  align-items: center;
  padding: 8px 14px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--gold-dark);
  background: #fffaf1;
  font-size: 14px;
  font-weight: 800;
}

.notice-box {
  margin-bottom: 24px;
  padding: 30px;
  border: 1px solid rgba(180, 135, 69, 0.45);
  border-radius: 8px;
  background: #fffaf1;
}

.notice-box h2 {
  margin-bottom: 10px;
  font-size: clamp(24px, 3vw, 34px);
}

.fee-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}

.fee-grid article {
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  box-shadow: 0 12px 36px rgba(20, 19, 19, 0.04);
}

.fee {
  margin: 18px 0 14px;
  color: var(--ink);
  font-family: "Noto Serif JP", serif;
  font-size: 30px;
  font-weight: 700;
  line-height: 1.25;
}

.contact-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(320px, 1.1fr);
  gap: 44px;
  align-items: start;
}

.contact-panel {
  display: grid;
  gap: 12px;
  padding: 30px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  box-shadow: var(--shadow);
}

.contact-row {
  display: grid;
  gap: 4px;
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--paper);
}

.contact-row small {
  color: var(--gold-dark);
  font-weight: 800;
}

.contact-row strong {
  overflow-wrap: anywhere;
}

.image-band {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(320px, 0.9fr);
  gap: clamp(28px, 5vw, 74px);
  align-items: center;
  padding: 0 clamp(18px, 5vw, 72px) 92px;
}

.image-band img {
  width: 100%;
  min-height: 380px;
  max-height: 560px;
  object-fit: cover;
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.results-section {
  background: var(--stone);
}

.results-inner {
  padding-top: 88px;
  padding-bottom: 88px;
}

.results-stats {
  display: flex;
  flex-wrap: wrap;
  gap: 0;
  margin-top: 24px;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.results-stats span {
  padding: 12px 22px 12px 0;
  color: var(--muted);
  font-size: 14px;
  font-weight: 700;
}

.results-stats span + span {
  padding-left: 22px;
  border-left: 1px solid var(--line);
}

.results-stats strong {
  margin-right: 4px;
  color: var(--gold-dark);
  font-family: "Noto Serif JP", serif;
  font-size: 26px;
}

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

.result-card {
  min-width: 0;
  padding: 0;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  color: var(--ink);
  background: var(--white);
  box-shadow: 0 12px 34px rgba(20, 19, 19, 0.06);
  font: inherit;
  text-align: left;
  cursor: zoom-in;
  transition: border-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
}

.result-card:hover,
.result-card:focus-visible {
  border-color: rgba(180, 135, 69, 0.72);
  box-shadow: 0 18px 42px rgba(20, 19, 19, 0.12);
  transform: translateY(-2px);
}

.result-card > img {
  width: 100%;
  aspect-ratio: 1055 / 1200;
  object-fit: cover;
  object-position: top center;
  border-bottom: 1px solid var(--line);
  background: #f5f4f1;
}

.result-card-body {
  display: grid;
  gap: 6px;
  padding: 18px;
}

.result-card-body small {
  color: var(--gold-dark);
  font-weight: 800;
}

.result-card-body strong {
  font-size: 16px;
  line-height: 1.45;
}

.result-card-body span {
  color: var(--muted);
  font-size: 12px;
}

.results-note {
  margin: 24px 0 0;
  font-size: 12px;
}

.result-dialog {
  width: min(760px, calc(100% - 28px));
  max-height: calc(100vh - 28px);
  padding: 14px;
  overflow: auto;
  border: 0;
  border-radius: 8px;
  background: var(--white);
  box-shadow: 0 28px 90px rgba(0, 0, 0, 0.36);
}

.result-dialog::backdrop {
  background: rgba(12, 12, 12, 0.82);
  backdrop-filter: blur(5px);
}

.result-dialog figure {
  margin: 0;
}

.result-dialog img {
  width: 100%;
  height: auto;
  border: 1px solid var(--line);
  border-radius: 4px;
}

.result-dialog figcaption {
  padding: 12px 4px 2px;
  color: var(--muted);
  font-size: 14px;
  font-weight: 700;
  text-align: center;
}

.result-dialog-close {
  position: sticky;
  z-index: 2;
  top: 0;
  display: grid;
  width: 42px;
  height: 42px;
  margin: 0 0 -42px auto;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.45);
  border-radius: 50%;
  color: var(--white);
  background: rgba(20, 19, 19, 0.86);
  font-size: 27px;
  line-height: 1;
  cursor: pointer;
}

.price-section {
  border-top: 1px solid var(--line);
}

.price-grid {
  grid-template-columns: repeat(3, 1fr);
  align-items: stretch;
}

.price-card {
  position: relative;
  padding: 34px;
}

.price-card.featured {
  border-color: rgba(180, 135, 69, 0.7);
  box-shadow: 0 20px 58px rgba(180, 135, 69, 0.18);
}

.tag {
  display: inline-flex;
  margin-bottom: 16px;
  padding: 5px 10px;
  border-radius: 999px;
  color: #21170d;
  background: #ecd8b9;
  font-size: 12px;
  font-weight: 800;
}

.price {
  margin: 20px 0 18px;
  color: var(--ink);
  font-weight: 800;
}

.price span {
  font-family: "Noto Serif JP", serif;
  font-size: clamp(38px, 4vw, 52px);
  line-height: 1;
}

.precheck-section {
  padding-top: 72px;
  border-top: 1px solid var(--line);
}

.download-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
}

.download-card {
  display: grid;
  min-height: 310px;
  align-content: space-between;
  gap: 28px;
  padding: 34px;
  border: 1px solid rgba(180, 135, 69, 0.38);
  border-radius: 8px;
  background:
    linear-gradient(145deg, rgba(255, 250, 241, 0.95), rgba(255, 255, 255, 0.98)),
    var(--white);
  box-shadow: 0 16px 42px rgba(20, 19, 19, 0.06);
}

.download-label {
  margin-bottom: 12px;
  color: var(--gold-dark);
  font-size: 13px;
  font-weight: 800;
}

.download-button {
  display: inline-flex;
  width: fit-content;
  min-height: 50px;
  align-items: center;
  justify-content: center;
  padding: 12px 18px;
  border-radius: 999px;
  color: var(--white);
  background: var(--charcoal);
  font-weight: 800;
  transition: background 0.2s ease, transform 0.2s ease;
}

.download-button:hover {
  background: var(--gold-dark);
  transform: translateY(-1px);
}

.flow-section {
  width: 100%;
  max-width: none;
  padding-right: clamp(18px, 5vw, 72px);
  padding-left: clamp(18px, 5vw, 72px);
  background: var(--stone);
}

.flow-list {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 1px;
  width: min(1180px, 100%);
  margin: 0 auto;
  padding: 0;
  list-style: none;
  background: var(--line);
}

.flow-list li {
  min-height: 250px;
  padding: 28px;
  background: var(--paper);
}

.flow-list span {
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  margin-bottom: 28px;
  border-radius: 50%;
  color: var(--white);
  background: var(--charcoal);
  font-family: "Noto Serif JP", serif;
  font-weight: 700;
}

.area {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(320px, 1.1fr);
  gap: 44px;
  align-items: center;
}

.area-panel {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  padding: 34px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
}

.area-panel span {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  padding: 9px 16px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--gold-dark);
  font-weight: 800;
  background: #fffaf1;
}

.cta {
  position: relative;
  min-height: 620px;
  display: grid;
  align-items: center;
  overflow: hidden;
  color: var(--white);
}

.cta-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(17, 16, 15, 0.86), rgba(17, 16, 15, 0.5) 54%, rgba(17, 16, 15, 0.22)),
    linear-gradient(0deg, rgba(17, 16, 15, 0.44), rgba(17, 16, 15, 0.1));
}

.cta-content {
  position: relative;
  z-index: 1;
  width: min(1100px, calc(100% - 36px));
  margin: 0 auto;
}

.cta-content h2,
.cta-content p {
  width: min(760px, 100%);
}

.cta-content p {
  color: rgba(255, 255, 255, 0.78);
}

.contact-actions {
  margin-top: 34px;
}

.contact-card {
  display: grid;
  min-width: min(100%, 300px);
  gap: 4px;
  padding: 20px 22px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(10px);
}

.contact-card small {
  color: var(--gold);
  font-weight: 800;
}

.contact-card strong {
  overflow-wrap: anywhere;
}

.site-footer {
  padding: 34px 18px;
  text-align: center;
  background: #111;
}

.site-footer p {
  margin-bottom: 6px;
  color: rgba(255, 255, 255, 0.72);
}

.site-footer strong {
  color: var(--white);
}

.fine-print {
  font-size: 12px;
}

@media (max-width: 980px) {
  .section-heading,
  .dark-band,
  .image-band,
  .area {
    grid-template-columns: 1fr;
  }

  .intro-grid,
  .service-grid,
  .business-grid,
  .download-grid,
  .price-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .fee-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .results-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

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

  .flow-list li {
    min-height: 0;
  }
}

@media (max-width: 760px) {
  .site-header {
    padding: 14px 18px;
  }

  .brand small {
    display: none;
  }

  .menu-toggle {
    display: block;
  }

  .site-nav {
    position: absolute;
    top: calc(100% + 8px);
    right: 18px;
    left: 18px;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 10px;
    border: 1px solid var(--line);
    border-radius: 8px;
    color: var(--ink);
    background: rgba(251, 250, 247, 0.98);
    box-shadow: var(--shadow);
  }

  .site-nav.is-open {
    display: flex;
  }

  .site-nav a {
    padding: 14px 10px;
  }

  .hero {
    min-height: 760px;
  }

  .hero-overlay {
    background:
      linear-gradient(90deg, rgba(9, 11, 12, 0.86), rgba(9, 11, 12, 0.5)),
      linear-gradient(0deg, rgba(9, 11, 12, 0.7), transparent 60%);
  }

  .hero-content {
    padding-top: 132px;
  }

  .hero-facts,
  .intro-grid,
  .service-grid,
  .business-grid,
  .download-grid,
  .price-grid {
    grid-template-columns: 1fr;
  }

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

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

  .business-card,
  .service-detail {
    min-height: 0;
    padding: 28px;
  }

  .page-hero,
  .page-hero.compact {
    min-height: 420px;
  }

  .page-hero-content {
    padding-top: 120px;
    padding-bottom: 54px;
  }

  .section {
    padding: 66px 0;
  }

  .dark-band {
    padding-top: 66px;
    padding-bottom: 66px;
  }

  .split-media {
    min-height: 270px;
  }

  .image-band {
    padding-bottom: 66px;
  }

  .image-band img {
    min-height: 280px;
  }

  .results-inner {
    padding-top: 64px;
    padding-bottom: 64px;
  }

  .result-card-body {
    padding: 15px;
  }

  .result-dialog {
    padding: 8px;
  }

  .download-card {
    min-height: 0;
    padding: 28px;
  }

  .download-button {
    width: 100%;
    border-radius: 8px;
    text-align: center;
  }

  .cta {
    min-height: 720px;
  }

  .contact-card {
    min-width: 100%;
  }
}

@media (max-width: 430px) {
  .results-grid {
    grid-template-columns: 1fr;
  }

  .result-card {
    display: grid;
    grid-template-columns: minmax(110px, 0.72fr) minmax(0, 1.28fr);
  }

  .result-card > img {
    height: 100%;
    min-height: 180px;
    aspect-ratio: auto;
    border-right: 1px solid var(--line);
    border-bottom: 0;
  }

  .result-card-body {
    align-content: center;
  }
}
