:root {
  --green: #0f4a3c;
  --green-dark: #073429;
  --gold: #b8923c;
  --gold-dark: #8c6925;
  --paper: #f8f5ee;
  --paper-2: #fffdf7;
  --ink: #2f2f2f;
  --muted: #66695f;
  --line: rgba(15, 74, 60, 0.15);
  --white: #ffffff;
  --shadow: 0 18px 50px rgba(15, 45, 35, 0.13);
  --container: min(1180px, calc(100% - 40px));
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

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

body.nav-open {
  overflow: hidden;
}

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

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

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

h1,
h2,
h3 {
  margin: 0;
  font-family: "Noto Serif JP", "Hiragino Mincho ProN", "Yu Mincho", serif;
  line-height: 1.32;
}

p {
  margin: 0;
}

.container {
  width: var(--container);
  margin-inline: auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 253, 247, 0.96);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(12px);
}

.top-strip {
  border-bottom: 1px solid rgba(15, 74, 60, 0.08);
  color: #4f574d;
  font-size: 12px;
}

.strip-inner,
.header-main,
.nav-inner {
  display: flex;
  align-items: center;
}

.strip-inner {
  justify-content: space-between;
  gap: 16px;
  padding: 6px 0;
}

.header-main {
  justify-content: space-between;
  gap: 20px;
  padding: 14px 0 12px;
}

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

.brand-emblem {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  flex: 0 0 44px;
  color: var(--green);
  border: 2px solid var(--green);
  border-radius: 8px;
  font-family: "Noto Serif JP", serif;
  font-size: 22px;
  font-weight: 800;
}

.brand-name {
  display: block;
  color: var(--green-dark);
  font-family: "Noto Serif JP", "Yu Mincho", serif;
  font-size: clamp(22px, 2.6vw, 34px);
  font-weight: 800;
  line-height: 1.05;
}

.brand-reading {
  display: block;
  color: var(--muted);
  font-size: 11px;
  font-weight: 700;
}

.header-contact {
  display: flex;
  align-items: center;
  gap: 16px;
}

.status-pill {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 8px 14px;
  color: var(--green);
  background: #eff9ef;
  border: 1px solid #76bd73;
  border-radius: 6px;
  font-weight: 800;
}

.status-pill::before {
  content: "";
  width: 10px;
  height: 10px;
  background: #23a33c;
  border-radius: 50%;
}

.header-tel {
  color: var(--green-dark);
  font-size: clamp(20px, 2.4vw, 30px);
  font-weight: 900;
  line-height: 1;
}

.line-button,
.button,
.wide-link,
.small-link,
.cta-line,
.cta-tel,
.cta-map {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  border-radius: 8px;
  font-weight: 900;
  transition: transform 0.18s ease, box-shadow 0.18s ease;
}

.line-button:hover,
.button:hover,
.wide-link:hover,
.small-link:hover,
.cta-line:hover,
.cta-tel:hover,
.cta-map:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow);
}

.line-button {
  padding: 10px 18px;
  color: var(--white);
  background: #06c755;
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
}

.nav-toggle span {
  display: block;
  width: 20px;
  height: 2px;
  margin: 5px auto;
  background: var(--green);
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.site-nav {
  border-top: 1px solid rgba(15, 74, 60, 0.08);
}

.nav-inner {
  justify-content: center;
  gap: 34px;
  min-height: 48px;
  font-size: 14px;
  font-weight: 800;
}

.nav-inner a {
  padding: 12px 0;
  border-bottom: 2px solid transparent;
}

.nav-inner a:hover {
  color: var(--green);
  border-bottom-color: var(--gold);
}

.hero {
  position: relative;
  min-height: 540px;
  overflow: hidden;
  background: #dfe5d9;
}

.hero-background {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(248, 245, 238, 0.96) 0%, rgba(248, 245, 238, 0.88) 36%, rgba(248, 245, 238, 0.36) 58%, rgba(248, 245, 238, 0.18) 100%),
    url("assets/hero-cemetery.png") center / cover no-repeat;
}

.hero-background::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 20% 20%, rgba(255, 255, 255, 0.88), transparent 19rem);
}

.hero-inner {
  position: relative;
  display: grid;
  grid-template-columns: 1fr minmax(300px, 440px);
  align-items: end;
  gap: 42px;
  min-height: 540px;
  padding-top: 42px;
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--gold-dark);
  font-size: 13px;
  font-weight: 900;
}

.hero h1 {
  color: var(--green-dark);
  font-size: clamp(44px, 6vw, 78px);
  font-weight: 700;
}

.hero h1 span {
  color: var(--gold);
}

.hero-text {
  max-width: 590px;
  margin-top: 22px;
  color: #27352f;
  font-family: "Noto Serif JP", "Yu Mincho", serif;
  font-size: 18px;
  font-weight: 700;
}

.google-badge {
  display: grid;
  grid-template-columns: auto 1fr;
  align-items: center;
  width: min(500px, 100%);
  gap: 3px 18px;
  margin-top: 26px;
  color: var(--green);
}

.google-badge strong {
  grid-row: span 2;
  color: #4285f4;
  font-family: Arial, sans-serif;
  font-size: 22px;
}

.google-badge strong::before,
.google-badge strong::after {
  content: "★";
  color: var(--gold);
  margin: 0 4px;
}

.google-badge span {
  color: var(--ink);
  font-size: 22px;
  font-weight: 900;
}

.google-badge small {
  color: #4f584e;
}

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

.button {
  padding: 13px 22px;
}

.button.primary {
  color: var(--white);
  background: #06c755;
}

.button.secondary {
  color: var(--green);
  background: var(--white);
  border: 1px solid var(--line);
}

.representative-card {
  align-self: stretch;
  display: grid;
  align-content: end;
  justify-items: center;
  min-height: 500px;
}

.representative-card img {
  width: min(430px, 100%);
  max-height: 500px;
  object-fit: contain;
  object-position: bottom center;
  filter: drop-shadow(0 22px 22px rgba(20, 34, 29, 0.2));
}

.representative-card div {
  position: absolute;
  right: max(20px, calc((100vw - 1180px) / 2));
  bottom: 20px;
  padding: 10px 16px;
  color: var(--green-dark);
  background: rgba(255, 255, 255, 0.88);
  border: 1px solid rgba(184, 146, 60, 0.35);
  border-radius: 8px;
}

.representative-card span,
.representative-card strong {
  display: block;
}

.representative-card span {
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
}

.representative-card strong {
  font-family: "Noto Serif JP", serif;
  font-size: 18px;
}

.section {
  padding: 76px 0;
}

.service-overview {
  padding-top: 0;
  margin-top: -1px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.75), var(--paper));
}

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

.overview-card {
  padding: 30px;
  background: rgba(255, 253, 247, 0.94);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 14px 36px rgba(15, 45, 35, 0.08);
}

.card-title {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  color: var(--green);
  text-align: center;
}

.card-title h2 {
  font-size: clamp(25px, 3vw, 34px);
}

.card-title small {
  color: var(--ink);
  font-family: inherit;
  font-size: 15px;
}

.card-icon {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  color: var(--white);
  background: var(--green);
  border-radius: 50%;
  font-weight: 900;
}

.overview-card p {
  margin: 16px auto 22px;
  max-width: 520px;
  text-align: center;
}

.mini-menu {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
  margin-bottom: 22px;
  text-align: center;
}

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

.mini-menu span {
  display: grid;
  place-items: center;
  min-height: 46px;
  padding: 8px;
  color: var(--green-dark);
  background: #fbfaf4;
  border: 1px solid rgba(184, 146, 60, 0.22);
  border-radius: 8px;
  font-size: 13px;
  font-weight: 800;
}

.wide-link {
  width: 100%;
  color: var(--white);
  background: linear-gradient(180deg, #116043, var(--green));
}

.gold-link {
  background: linear-gradient(180deg, #a17b31, #85631f);
}

.reasons {
  padding: 30px 0 52px;
  background: var(--paper-2);
}

.reasons h2,
.section-head.center {
  text-align: center;
}

.reasons h2 {
  color: var(--green);
  font-size: clamp(25px, 3vw, 36px);
}

.reason-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 16px;
  margin-top: 24px;
}

.reason-grid article {
  display: grid;
  justify-items: center;
  gap: 10px;
  text-align: center;
}

.reason-grid span {
  display: grid;
  place-items: center;
  width: 72px;
  height: 72px;
  color: var(--green);
  background: var(--white);
  border: 1px solid rgba(184, 146, 60, 0.18);
  border-radius: 50%;
  box-shadow: 0 8px 24px rgba(15, 45, 35, 0.08);
  font-family: "Noto Serif JP", serif;
  font-size: 22px;
  font-weight: 900;
}

.reason-grid strong {
  color: var(--green-dark);
  line-height: 1.45;
}

.section-head {
  margin-bottom: 24px;
}

.section-head h2 {
  color: var(--green);
  font-size: clamp(28px, 3.5vw, 42px);
}

.row-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 16px;
}

.small-link {
  min-height: 34px;
  padding: 6px 14px;
  color: var(--green);
  background: #f1eadb;
  border: 1px solid rgba(15, 74, 60, 0.22);
  font-size: 13px;
}

.works-section {
  background: linear-gradient(180deg, var(--paper), #f2eadb);
}

.proof-section {
  background: linear-gradient(135deg, #fffdf7, #f4ecdb);
}

.proof-grid {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  align-items: center;
  gap: 34px;
}

.proof-grid h2 {
  color: var(--green);
  font-size: clamp(28px, 3.5vw, 42px);
}

.proof-grid p {
  margin-top: 16px;
  color: var(--muted);
}

.proof-grid img {
  width: min(540px, 100%);
  justify-self: end;
  border: 1px solid rgba(15, 74, 60, 0.14);
  border-radius: 8px;
  box-shadow: var(--shadow);
}

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

.work-card {
  overflow: hidden;
  background: var(--white);
  border: 1px solid rgba(15, 74, 60, 0.13);
  border-radius: 8px;
  box-shadow: 0 10px 28px rgba(15, 45, 35, 0.08);
}

.work-card img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
}

.work-card div {
  padding: 16px 18px 18px;
}

.work-card strong {
  color: var(--green-dark);
  font-size: 17px;
}

.work-card p {
  color: var(--muted);
  font-size: 14px;
}

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

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

.price-grid article {
  position: relative;
  min-height: 178px;
  padding: 26px 16px 22px;
  text-align: center;
  background: var(--white);
  border: 1px solid rgba(15, 74, 60, 0.15);
  border-radius: 8px;
}

.price-grid article.featured {
  border-color: rgba(184, 146, 60, 0.6);
  box-shadow: 0 18px 40px rgba(15, 45, 35, 0.11);
}

.recommend {
  position: absolute;
  top: -13px;
  left: 50%;
  transform: translateX(-50%);
  padding: 3px 12px;
  color: var(--white);
  background: var(--gold);
  border-radius: 999px;
  font-size: 12px;
  font-weight: 900;
}

.price-grid h3 {
  color: var(--green-dark);
  font-size: 21px;
}

.price-grid p {
  min-height: 45px;
  margin: 10px 0;
  color: var(--muted);
  font-size: 13px;
}

.price-grid strong {
  display: block;
  color: #8d231f;
  font-family: "Noto Serif JP", serif;
  font-size: clamp(26px, 3vw, 36px);
  font-weight: 900;
  line-height: 1.2;
}

.price-grid small,
.price-note {
  color: var(--muted);
  font-size: 13px;
}

.option-card ul {
  display: grid;
  gap: 7px;
  padding: 0;
  margin: 12px 0 8px;
  list-style: none;
  text-align: left;
}

.option-card li {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 7px 0;
  border-bottom: 1px solid rgba(15, 74, 60, 0.1);
  color: var(--muted);
  font-size: 13px;
}

.option-card li strong {
  flex: 0 0 auto;
  color: #8d231f;
  font-family: inherit;
  font-size: 15px;
  white-space: nowrap;
}

.price-note {
  margin-top: 16px;
  text-align: center;
}

.helper-detail {
  background: linear-gradient(135deg, #f7f0df, #fffdf8);
}

.helper-detail-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  align-items: center;
  gap: 34px;
}

.helper-detail h2 {
  color: var(--green);
  font-size: clamp(28px, 3.6vw, 42px);
}

.helper-detail p {
  margin-top: 16px;
  color: var(--muted);
}

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

.check-list li {
  padding: 12px 14px;
  color: var(--green-dark);
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid var(--line);
  border-radius: 8px;
  font-weight: 800;
}

.helper-detail img {
  width: 100%;
  border-radius: 8px;
  box-shadow: var(--shadow);
}

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

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

.flow-list li {
  padding: 24px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 8px;
}

.flow-list span {
  display: inline-block;
  margin-bottom: 14px;
  color: var(--gold);
  font-weight: 900;
}

.flow-list strong {
  display: block;
  color: var(--green-dark);
  font-size: 17px;
}

.flow-list p {
  margin-top: 8px;
  color: var(--muted);
  font-size: 14px;
}

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

.faq-layout {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 40px;
}

.faq-layout h2 {
  color: var(--green);
  font-size: clamp(28px, 3.2vw, 40px);
}

.faq-layout > div > p {
  margin-top: 12px;
  color: var(--muted);
}

.faq-list {
  display: grid;
  gap: 12px;
}

details {
  padding: 18px 20px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 8px;
}

summary {
  cursor: pointer;
  color: var(--green-dark);
  font-weight: 900;
}

summary::marker {
  color: var(--gold);
}

details p {
  margin-top: 10px;
  color: var(--muted);
}

.final-cta {
  padding: 52px 0 46px;
  color: var(--white);
  background:
    radial-gradient(circle at 16% 0%, rgba(184, 146, 60, 0.34), transparent 18rem),
    linear-gradient(180deg, #0f4a3c, #073429);
  text-align: center;
}

.final-cta h2 {
  font-size: clamp(28px, 4vw, 44px);
}

.final-cta p {
  margin-top: 6px;
  color: rgba(255, 255, 255, 0.86);
}

.cta-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 26px;
}

.cta-line,
.cta-tel,
.cta-map {
  min-height: 74px;
  padding: 14px 18px;
  border-radius: 8px;
}

.cta-line {
  background: #06c755;
}

.cta-tel,
.cta-map {
  color: var(--green-dark);
  background: var(--white);
}

.cta-tel {
  flex-direction: column;
  font-size: 26px;
}

.cta-tel small {
  color: var(--muted);
  font-size: 12px;
}

.mail a {
  text-decoration: underline;
  text-underline-offset: 3px;
}

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

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}

.footer-inner strong,
.footer-inner span {
  display: block;
}

.floating-cta {
  position: fixed;
  right: 18px;
  bottom: 18px;
  z-index: 45;
  display: none;
  padding: 13px 18px;
  color: var(--white);
  background: #06c755;
  border-radius: 999px;
  font-weight: 900;
  box-shadow: 0 14px 34px rgba(6, 199, 85, 0.32);
}

@media (max-width: 980px) {
  .header-contact {
    display: none;
  }

  .nav-toggle {
    display: block;
  }

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

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

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

  .site-nav {
    display: none;
  }

  .site-nav.is-open {
    position: fixed;
    inset: 78px 14px auto;
    display: block;
    padding: 12px;
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: 8px;
    box-shadow: var(--shadow);
  }

  .nav-inner {
    display: grid;
    gap: 0;
    min-height: 0;
  }

  .nav-inner a {
    padding: 11px 8px;
  }

  .hero-inner,
  .overview-grid,
  .proof-grid,
  .helper-detail-grid,
  .faq-layout {
    grid-template-columns: 1fr;
  }

  .hero-inner {
    align-items: center;
    padding-bottom: 0;
  }

  .representative-card {
    min-height: auto;
    align-content: center;
    padding-bottom: 24px;
  }

  .representative-card img {
    max-height: 380px;
    margin-bottom: 12px;
  }

  .representative-card div {
    position: static;
    width: min(260px, 100%);
    margin: 0 auto;
    text-align: center;
  }

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

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

@media (max-width: 640px) {
  :root {
    --container: min(100% - 28px, 1180px);
  }

  .strip-inner {
    align-items: flex-start;
    flex-direction: column;
    gap: 2px;
  }

  .brand-emblem {
    width: 38px;
    height: 38px;
    flex-basis: 38px;
    font-size: 19px;
  }

  .brand-name {
    font-size: 22px;
  }

  .brand-reading {
    display: none;
  }

  .hero {
    min-height: auto;
  }

  .hero-inner {
    min-height: auto;
    padding: 34px 0 0;
    gap: 22px;
  }

  .hero h1 {
    font-size: 44px;
  }

  .hero-text {
    font-size: 16px;
  }

  .hero-actions {
    display: grid;
  }

  .button {
    width: 100%;
  }

  .google-badge {
    grid-template-columns: 1fr;
  }

  .overview-card {
    padding: 22px;
  }

  .card-title {
    align-items: flex-start;
    justify-content: flex-start;
    text-align: left;
  }

  .overview-card p {
    text-align: left;
  }

  .mini-menu,
  .gold .mini-menu,
  .reason-grid,
  .price-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .section {
    padding: 58px 0;
  }

  .row-head {
    align-items: flex-start;
    flex-direction: column;
  }

  .cta-tel {
    font-size: 22px;
  }

  .footer-inner {
    align-items: flex-start;
    flex-direction: column;
  }

  .floating-cta {
    display: inline-flex;
  }
}

@media (max-width: 430px) {
  .mini-menu,
  .gold .mini-menu,
  .reason-grid,
  .price-grid {
    grid-template-columns: 1fr;
  }
}
