:root {
  color-scheme: light;
  --ink: #231815;
  --ink-soft: #6d625d;
  --paper: #fbfaf6;
  --porcelain: #fffdf9;
  --paper-warm: #edf2e8;
  --line: rgba(35, 24, 21, 0.14);
  --apricot: #587150;
  --terracotta: #587150;
  --milk: #f3f5ef;
  --mustard: #9dc286;
  --sage: #9dc286;
  --stone: #e8eee3;
  --shadow: 0 28px 88px rgba(35, 24, 21, 0.14);
  --chrome-surface: rgba(251, 250, 246, 0.92);
  --chrome-fg: var(--ink);
  --chrome-line: rgba(35, 24, 21, 0.14);
  --chrome-button: rgba(255, 253, 249, 0.9);
  --rail: 152px;
  --radius: 8px;
  --sage-wash: #e7eed9;
  --footer-bg: #2f3a2b;
  --footer-fg: #f3f2ec;
  font-family:
    "Yu Mincho", "Hiragino Mincho ProN", "Noto Serif JP", Georgia, serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  overflow-x: hidden;
  background: var(--paper);
  color: var(--ink);
  letter-spacing: 0;
}

body[data-chrome-theme="photo-dark"] {
  --chrome-surface: rgba(35, 24, 21, 0.82);
  --chrome-fg: #fffdf9;
  --chrome-line: rgba(255, 253, 249, 0.2);
  --chrome-button: rgba(35, 24, 21, 0.52);
}

body[data-chrome-theme="ink"] {
  --chrome-surface: rgba(48, 58, 43, 0.93);
  --chrome-fg: #fffdf9;
  --chrome-line: rgba(255, 253, 249, 0.2);
  --chrome-button: rgba(35, 24, 21, 0.34);
}

body[data-chrome-theme="oat"] {
  --chrome-surface: rgba(237, 242, 232, 0.94);
  --chrome-fg: var(--ink);
  --chrome-line: rgba(35, 24, 21, 0.12);
  --chrome-button: rgba(255, 253, 249, 0.76);
}

body[data-chrome-theme="paper"] {
  --chrome-surface: rgba(251, 250, 246, 0.94);
  --chrome-fg: var(--ink);
  --chrome-line: rgba(35, 24, 21, 0.12);
  --chrome-button: rgba(255, 253, 249, 0.88);
}

body[data-chrome-theme="porcelain"] {
  --chrome-surface: rgba(255, 253, 249, 0.95);
  --chrome-fg: var(--ink);
  --chrome-line: rgba(35, 24, 21, 0.1);
  --chrome-button: rgba(237, 242, 232, 0.86);
}

body[data-chrome-theme="milk"] {
  --chrome-surface: rgba(243, 245, 239, 0.95);
  --chrome-fg: var(--ink);
  --chrome-line: rgba(35, 24, 21, 0.1);
  --chrome-button: rgba(255, 253, 249, 0.86);
}

body.is-menu-open {
  overflow: hidden;
}

body.is-opening {
  overflow: hidden;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -3;
  background:
    linear-gradient(90deg, rgba(224, 165, 107, 0.08) 1px, transparent 1px),
    linear-gradient(rgba(74, 59, 46, 0.04) 1px, transparent 1px);
  background-size: 92px 92px;
}

.texture {
  position: fixed;
  inset: 0;
  z-index: -2;
  pointer-events: none;
  opacity: 0.46;
  background-image:
    repeating-linear-gradient(0deg, rgba(74, 59, 46, 0.025) 0 1px, transparent 1px 5px),
    linear-gradient(135deg, rgba(251, 246, 239, 0.62), rgba(243, 217, 190, 0.22));
}

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

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

button {
  font: inherit;
}

.skip-link {
  position: fixed;
  left: 16px;
  top: 16px;
  z-index: 130;
  transform: translateY(-140%);
  background: var(--ink);
  color: var(--paper);
  padding: 10px 14px;
  border-radius: 4px;
}

.skip-link:focus {
  transform: translateY(0);
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.opening-gate {
  position: fixed;
  inset: 0;
  z-index: 120;
  display: grid;
  place-items: center;
  min-height: 100dvh;
  overflow: hidden;
  isolation: isolate;
  background:
    radial-gradient(circle at 50% 46%, rgba(157, 194, 134, 0.2), transparent 32%),
    linear-gradient(145deg, #fffdf9 0%, #f8f8f3 52%, #edf2e8 100%);
  pointer-events: none;
  animation: openingGateExit 2.8s cubic-bezier(0.76, 0, 0.24, 1) forwards;
}

.opening-gate::before,
.opening-gate::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  aspect-ratio: 1;
  border-radius: 50%;
  transform: translate(-50%, -50%);
  pointer-events: none;
}

.opening-gate::before {
  z-index: 0;
  width: min(56vmin, 620px);
  background: radial-gradient(circle, rgba(255, 253, 249, 0.94) 0 34%, rgba(157, 194, 134, 0.1) 58%, transparent 72%);
  filter: blur(1px);
  opacity: 0;
  animation: openingHalo 2.8s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}

.opening-gate::after {
  z-index: 3;
  width: min(30vmin, 300px);
  border: 1px solid rgba(88, 113, 80, 0.48);
  box-shadow: 0 0 0 1px rgba(255, 253, 249, 0.5), 0 0 70px rgba(157, 194, 134, 0.16);
  opacity: 0;
  animation: openingFinalWave 2.8s cubic-bezier(0.2, 0.75, 0.2, 1) forwards;
}

.opening-gate__stage {
  position: relative;
  z-index: 2;
  width: min(430px, calc(100vw - 48px));
  display: grid;
  justify-items: center;
  gap: 14px;
  animation: openingStageOut 2.8s ease forwards;
}

.opening-gate__emblem {
  position: relative;
  width: clamp(210px, 21vw, 270px);
  aspect-ratio: 1;
  display: grid;
  place-items: center;
  isolation: isolate;
}

.opening-gate__emblem::before {
  content: "";
  position: absolute;
  inset: 5%;
  border: 1px solid rgba(88, 113, 80, 0.28);
  border-radius: 50%;
  opacity: 0;
  transform: scale(0.72);
  animation: openingRingEcho 920ms 260ms cubic-bezier(0.22, 1, 0.36, 1) forwards;
}

.opening-gate__trace {
  position: absolute;
  inset: -6%;
  z-index: 2;
  width: 112%;
  height: 112%;
  overflow: visible;
  transform: rotate(-90deg);
}

.opening-gate__trace circle {
  fill: none;
  stroke: var(--terracotta);
  stroke-width: 1.2;
  stroke-linecap: round;
  stroke-dasharray: 1;
  stroke-dashoffset: 1;
  transform-origin: center;
  animation:
    openingCircleDraw 720ms 90ms cubic-bezier(0.22, 1, 0.36, 1) forwards,
    openingCirclePulse 560ms 2.02s cubic-bezier(0.2, 0.75, 0.2, 1) forwards;
}

.opening-gate__logo-mask {
  position: relative;
  z-index: 1;
  width: 84%;
  overflow: hidden;
  opacity: 0;
  clip-path: circle(0 at 50% 50%);
  transform: scale(0.8);
  animation: openingLogoBloom 820ms 360ms cubic-bezier(0.22, 1, 0.36, 1) forwards;
}

.opening-gate__logo-mask img {
  width: 100%;
  filter: blur(7px) saturate(0.7);
  transform: scale(0.94);
  animation: openingLogoResolve 720ms 420ms cubic-bezier(0.22, 1, 0.36, 1) forwards;
}

.opening-gate__identity {
  display: grid;
  justify-items: center;
  gap: 8px;
}

.opening-gate__name {
  display: flex;
  align-items: baseline;
  gap: 12px;
  margin: 0;
  color: var(--ink);
  opacity: 0;
  transform: translateY(10px);
  animation: openingIdentityIn 620ms 980ms cubic-bezier(0.22, 1, 0.36, 1) forwards;
}

.opening-gate__name span {
  font-size: 12px;
  letter-spacing: 0.22em;
}

.opening-gate__name strong {
  font-size: 24px;
  font-weight: 500;
  letter-spacing: 0.18em;
}

.opening-gate__promise {
  margin: 0;
  color: rgba(35, 24, 21, 0.68);
  font-size: 12px;
  letter-spacing: 0.2em;
  opacity: 0;
  transform: translateY(6px);
  animation: openingPromiseIn 560ms 1.26s ease-out forwards;
}

.opening-gate.is-skipped,
.opening-gate.is-complete {
  display: none;
}

@keyframes openingHalo {
  0% {
    opacity: 0;
    transform: translate(-50%, -50%) scale(0.72);
  }
  24%,
  72% {
    opacity: 1;
    transform: translate(-50%, -50%) scale(1);
  }
  100% {
    opacity: 0;
    transform: translate(-50%, -50%) scale(1.38);
  }
}

@keyframes openingRingEcho {
  0% {
    opacity: 0;
    transform: scale(0.72);
  }
  54% {
    opacity: 0.46;
  }
  100% {
    opacity: 0.16;
    transform: scale(1);
  }
}

@keyframes openingCircleDraw {
  to {
    stroke-dashoffset: 0;
  }
}

@keyframes openingCirclePulse {
  0% {
    opacity: 1;
    transform: scale(1);
  }
  100% {
    opacity: 0;
    transform: scale(1.26);
  }
}

@keyframes openingLogoBloom {
  to {
    opacity: 1;
    clip-path: circle(74% at 50% 50%);
    transform: scale(1);
  }
}

@keyframes openingLogoResolve {
  to {
    filter: none;
    transform: none;
  }
}

@keyframes openingIdentityIn {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes openingPromiseIn {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes openingStageOut {
  0%,
  72% {
    opacity: 1;
    transform: none;
  }
  100% {
    opacity: 0;
    transform: scale(0.92);
  }
}

@keyframes openingFinalWave {
  0%,
  71% {
    opacity: 0;
    transform: translate(-50%, -50%) scale(0.7);
  }
  75% {
    opacity: 0.58;
  }
  100% {
    opacity: 0;
    transform: translate(-50%, -50%) scale(10);
  }
}

@keyframes openingGateExit {
  0%,
  74% {
    visibility: visible;
    opacity: 1;
  }
  100% {
    visibility: hidden;
    opacity: 0;
  }
}

.site-header {
  position: fixed;
  inset: 0 0 auto auto;
  z-index: 30;
  width: var(--rail);
  height: 100svh;
  display: grid;
  place-items: center;
  border-left: 1px solid var(--chrome-line);
  background: var(--chrome-surface);
  color: var(--chrome-fg);
  backdrop-filter: blur(18px);
  transition:
    background 420ms cubic-bezier(0.22, 1, 0.36, 1),
    border-color 420ms cubic-bezier(0.22, 1, 0.36, 1),
    color 420ms cubic-bezier(0.22, 1, 0.36, 1);
}

.brand {
  display: grid;
  justify-items: center;
  gap: 14px;
}

.brand-mark {
  position: relative;
  width: 94px;
  aspect-ratio: 822 / 751;
}

.brand-logo {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
  transition: opacity 260ms ease;
}

.brand-logo--mono {
  opacity: 0;
}

.brand-name {
  color: currentColor;
  font-size: 13px;
  letter-spacing: 0.16em;
  writing-mode: vertical-rl;
  transition: color 420ms cubic-bezier(0.22, 1, 0.36, 1);
}

body[data-chrome-theme="photo-dark"] .brand-logo--color,
body[data-chrome-theme="ink"] .brand-logo--color {
  opacity: 0;
}

body[data-chrome-theme="photo-dark"] .brand-logo--mono,
body[data-chrome-theme="ink"] .brand-logo--mono {
  opacity: 1;
  filter: brightness(0) invert(1);
}

.menu-toggle {
  position: fixed;
  right: 34px;
  bottom: 34px;
  z-index: 60;
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  border: 1px solid var(--chrome-line);
  border-radius: 50%;
  background: var(--chrome-button);
  color: var(--chrome-fg);
  cursor: pointer;
  backdrop-filter: blur(16px);
  transition:
    background 420ms cubic-bezier(0.22, 1, 0.36, 1),
    border-color 420ms cubic-bezier(0.22, 1, 0.36, 1),
    color 420ms cubic-bezier(0.22, 1, 0.36, 1),
    transform 240ms cubic-bezier(0.22, 1, 0.36, 1),
    box-shadow 240ms ease;
  touch-action: manipulation;
  -webkit-tap-highlight-color: transparent;
}

.menu-toggle span:not(.menu-toggle__label) {
  position: absolute;
  width: 22px;
  height: 1px;
  background: currentColor;
  transition: transform 260ms ease;
}

.menu-toggle span:nth-child(1) {
  transform: translateY(-5px);
}

.menu-toggle span:nth-child(2) {
  transform: translateY(5px);
}

.menu-toggle[aria-expanded="true"] span:nth-child(1) {
  transform: rotate(38deg);
}

.menu-toggle[aria-expanded="true"] span:nth-child(2) {
  transform: rotate(-38deg);
}

.site-menu {
  position: fixed;
  inset: 0;
  z-index: 50;
  display: grid;
  place-items: end;
  padding: clamp(16px, 2.8vw, 30px);
  visibility: hidden;
  opacity: 0;
  background: rgba(35, 24, 21, 0.28);
  backdrop-filter: blur(3px);
  transition: opacity 240ms ease, visibility 240ms ease;
}

.site-menu.is-open {
  visibility: visible;
  opacity: 1;
}

.menu-panel {
  width: min(330px, calc(100vw - 32px));
  max-height: calc(100svh - 32px);
  display: grid;
  align-content: start;
  padding: 24px 26px 62px;
  border: 1px solid rgba(88, 113, 80, 0.2);
  background: linear-gradient(135deg, rgba(255, 253, 249, 0.98), rgba(237, 242, 232, 0.98));
  box-shadow: 0 24px 70px rgba(35, 24, 21, 0.2);
  overflow-y: auto;
  transform: translateY(18px) scale(0.98);
  transform-origin: right bottom;
  transition: transform 360ms cubic-bezier(0.22, 1, 0.36, 1);
}

.site-menu.is-open .menu-panel {
  transform: translateY(0) scale(1);
}

.menu-kicker,
.eyebrow {
  margin: 0;
  color: var(--terracotta);
  font-family: Georgia, serif;
  font-size: 12px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.menu-kicker {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  padding-bottom: 18px;
}

.menu-kicker span {
  color: var(--ink-soft);
  font-family: "Hiragino Kaku Gothic ProN", "Yu Gothic", sans-serif;
  font-size: 9px;
  letter-spacing: 0.14em;
}

.menu-panel a {
  width: 100%;
  min-height: 46px;
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 18px;
  padding: 8px 2px;
  border-top: 1px solid rgba(35, 24, 21, 0.12);
  font-size: clamp(22px, 3.1vw, 30px);
  line-height: 1.1;
  transition:
    color 220ms ease,
    padding 280ms cubic-bezier(0.22, 1, 0.36, 1),
    background 220ms ease;
  touch-action: manipulation;
  -webkit-tap-highlight-color: transparent;
}

.menu-panel a:last-child {
  border-bottom: 1px solid rgba(35, 24, 21, 0.12);
}

.menu-panel a small {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--terracotta);
  font-family: Georgia, serif;
  font-size: 10px;
  letter-spacing: 0.12em;
}

.menu-panel a small::after {
  content: "\2198";
  font-size: 15px;
  line-height: 1;
  transition: transform 240ms ease;
}

.side-rail {
  position: fixed;
  right: var(--rail);
  top: 0;
  z-index: 20;
  height: 100svh;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: center;
  padding: 26px 12px 96px;
  writing-mode: vertical-rl;
  pointer-events: none;
}

.side-rail span,
.side-rail a {
  pointer-events: auto;
  color: var(--chrome-fg);
  font-size: 12px;
  letter-spacing: 0.16em;
  text-shadow: 0 2px 18px var(--chrome-surface);
  transition:
    color 420ms cubic-bezier(0.22, 1, 0.36, 1),
    border-color 420ms cubic-bezier(0.22, 1, 0.36, 1),
    background 420ms cubic-bezier(0.22, 1, 0.36, 1);
}

.side-rail a {
  padding: 16px 8px;
  border: 1px solid var(--chrome-line);
  background: var(--chrome-button);
  backdrop-filter: blur(12px);
  transition:
    color 240ms ease,
    background 240ms ease,
    border-color 240ms ease,
    transform 240ms cubic-bezier(0.22, 1, 0.36, 1),
    box-shadow 240ms ease;
}

.menu-toggle:focus-visible,
.side-rail a:focus-visible,
.brand:focus-visible,
.button:focus-visible,
.hero-contact:focus-visible,
.scroll-cue:focus-visible,
.faq-list summary:focus-visible,
.site-menu a:focus-visible {
  outline: 3px solid #9dc286;
  outline-offset: 4px;
}

main,
.site-footer {
  margin-right: var(--rail);
}

.hero {
  position: relative;
  min-height: 430svh;
  display: block;
  overflow: clip;
  background: var(--ink);
  --hero-progress: 0;
}

.hero-stage {
  position: sticky;
  top: 0;
  min-height: 100svh;
  display: grid;
  place-items: center;
  overflow: clip;
}

.hero-media,
.video-slot,
.video-fallback {
  position: absolute;
  inset: 0;
}

.video-slot {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  z-index: 1;
  transition: opacity 800ms ease;
}

.video-slot.has-source {
  opacity: 1;
}

.video-fallback {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  filter: saturate(0.9);
  z-index: 0;
  transition: opacity 600ms ease;
}

.video-slot.has-source + .video-fallback {
  opacity: 0;
}

.video-fallback span {
  background-size: cover;
  background-position: center;
  animation: slowPan 16s ease-in-out infinite alternate;
}

.video-fallback span:nth-child(1) {
  background-image: linear-gradient(rgba(74, 59, 46, 0.34), rgba(74, 59, 46, 0.46)), url("./assets/images/service01.jpg");
}

.video-fallback span:nth-child(2) {
  background-image: linear-gradient(rgba(74, 59, 46, 0.22), rgba(74, 59, 46, 0.5)), url("./assets/images/house-care.png");
  animation-delay: -4s;
}

.video-fallback span:nth-child(3) {
  background-image: linear-gradient(rgba(74, 59, 46, 0.28), rgba(74, 59, 46, 0.48)), url("./assets/images/message02.jpg");
  animation-delay: -8s;
}

@keyframes slowPan {
  from {
    transform: scale(1.04) translateX(-1.4%);
  }
  to {
    transform: scale(1.12) translateX(1.4%);
  }
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 50% 46%, rgba(74, 59, 46, 0.2), transparent 34%),
    linear-gradient(90deg, rgba(74, 59, 46, 0.7), rgba(74, 59, 46, 0.18) 48%, rgba(74, 59, 46, 0.56)),
    linear-gradient(0deg, rgba(74, 59, 46, 0.74), transparent 38%);
}

.hero-copy {
  position: absolute;
  inset: 0;
  z-index: 2;
  width: min(100%, 900px);
  display: grid;
  justify-items: center;
  align-content: center;
  gap: 22px;
  color: var(--paper);
  text-align: center;
  padding: 72px 24px 98px;
  pointer-events: none;
}

.hero-copy .eyebrow {
  color: rgba(251, 246, 239, 0.96);
  font-family:
    "Hiragino Kaku Gothic ProN", "Yu Gothic", "Noto Sans JP", sans-serif;
  letter-spacing: 0.12em;
  text-transform: none;
  text-shadow: 0 2px 20px rgba(74, 59, 46, 0.72);
}

.hero-phrases {
  position: relative;
  width: min(620px, calc(100vw - 48px));
  min-height: calc(var(--hero-phrase-size) * 10);
  --hero-phrase-size: clamp(29px, min(3.6vw, calc((100svh - 262px) / 10)), 48px);
}

.hero-phrase {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: row-reverse;
  align-items: flex-start;
  justify-content: center;
  gap: clamp(18px, 3.6vw, 44px);
  margin: 0;
  font-size: var(--hero-phrase-size);
  line-height: 1.72;
  letter-spacing: 0.08em;
  font-weight: 500;
  color: rgba(251, 246, 239, 0.98);
  text-shadow:
    0 2px 22px rgba(74, 59, 46, 0.82),
    0 0 42px rgba(74, 59, 46, 0.54);
  opacity: var(--scene-opacity, 0);
  filter: blur(var(--scene-blur, 10px));
  transform: translateY(var(--scene-shift, 18px));
  transition: opacity 720ms ease, filter 720ms ease, transform 720ms ease;
}

.hero-phrase.is-active {
  opacity: 1;
  filter: blur(0);
  transform: translateY(0);
}

.hero-phrase span {
  display: block;
  align-self: flex-start;
  writing-mode: vertical-rl;
  text-orientation: upright;
  text-align: start;
  white-space: nowrap;
}

.hero-copy h1 {
  margin: 0;
}

.hero-lead {
  width: min(560px, calc(100vw - 56px));
  max-width: 560px;
  margin: 0;
  color: rgba(251, 246, 239, 0.96);
  font-size: clamp(13px, 1.3vw, 16px);
  line-height: 2;
  word-break: auto-phrase;
  opacity: 0.92;
  text-shadow: 0 2px 18px rgba(74, 59, 46, 0.7);
}

.hero-index {
  position: absolute;
  left: clamp(28px, 5vw, 72px);
  top: 50%;
  z-index: 3;
  display: grid;
  justify-items: center;
  gap: 12px;
  color: rgba(251, 246, 239, 0.7);
  font-family: Georgia, serif;
  font-size: 11px;
  letter-spacing: 0.16em;
}

.hero-index i {
  display: block;
  width: 1px;
  height: 96px;
  background:
    linear-gradient(
      to bottom,
      var(--apricot) calc(var(--hero-progress) * 100%),
      rgba(251, 246, 239, 0.32) 0
    );
}

.hero-contact {
  position: absolute;
  right: 18px;
  bottom: 86px;
  z-index: 4;
  display: none;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 10px 18px;
  border: 1px solid rgba(251, 246, 239, 0.46);
  border-radius: 999px;
  background: rgba(74, 59, 46, 0.42);
  color: rgba(251, 246, 239, 0.98);
  font-family:
    "Hiragino Kaku Gothic ProN", "Yu Gothic", "Noto Sans JP", sans-serif;
  font-size: 13px;
  letter-spacing: 0.08em;
  text-shadow: 0 2px 16px rgba(74, 59, 46, 0.7);
  backdrop-filter: blur(12px);
  transition:
    color 240ms ease,
    background 240ms ease,
    border-color 240ms ease,
    transform 240ms cubic-bezier(0.22, 1, 0.36, 1),
    box-shadow 240ms ease;
  touch-action: manipulation;
  -webkit-tap-highlight-color: transparent;
}

.scroll-cue {
  position: absolute;
  left: 36px;
  bottom: 34px;
  z-index: 3;
  color: rgba(251, 246, 239, 0.78);
  font-family: Georgia, serif;
  font-size: 11px;
  letter-spacing: 0.18em;
}

.scroll-cue::after {
  content: "";
  display: block;
  width: 1px;
  height: 72px;
  margin: 14px auto 0;
  background: currentColor;
  transform-origin: top;
  animation: scrollLine 1.8s ease-in-out infinite;
}

@keyframes scrollLine {
  0%,
  100% {
    transform: scaleY(0.35);
    opacity: 0.48;
  }
  45% {
    transform: scaleY(1);
    opacity: 1;
  }
}

.opening {
  min-height: 78svh;
  display: grid;
  grid-template-columns: minmax(120px, 0.52fr) minmax(0, 1fr);
  gap: clamp(34px, 7vw, 110px);
  align-items: center;
  padding: clamp(80px, 12vw, 170px) clamp(26px, 8vw, 120px);
  background: linear-gradient(135deg, var(--paper-warm), var(--porcelain));
}

.distance-line {
  display: grid;
  justify-items: center;
  gap: 22px;
  writing-mode: vertical-rl;
  color: var(--ink-soft);
  font-size: 13px;
  letter-spacing: 0.16em;
}

.distance-line i {
  display: block;
  width: 1px;
  height: 260px;
  background: linear-gradient(var(--sage), rgba(156, 168, 126, 0.08));
}

.opening-text {
  max-width: 820px;
}

.opening-text h2,
.section-heading h2,
.mission h2,
.pr-copy h2,
.message h2,
.contact h2 {
  margin: 16px 0 0;
  font-size: clamp(34px, 4.8vw, 70px);
  font-weight: 500;
  line-height: 1.35;
  word-break: auto-phrase;
}

.opening-text h2 span {
  display: block;
}

.opening-text p:not(.eyebrow),
.section-heading p,
.pr-copy p,
.message p,
.contact p,
.service-card p,
.value-grid p,
.process-list p {
  color: var(--ink-soft);
  font-family:
    "Hiragino Kaku Gothic ProN", "Yu Gothic", "Noto Sans JP", sans-serif;
  font-size: 15px;
  line-height: 2;
}

.opening-text p:not(.eyebrow) {
  max-width: 690px;
  margin-top: 32px;
}

.opening-text p:not(.eyebrow) + p {
  margin-top: 22px;
}

.scroll-story {
  position: relative;
  min-height: 330svh;
  overflow: clip;
  background: linear-gradient(135deg, var(--ink) 0%, #3b4935 100%);
  --story-progress: 0;
  --story-row-h: clamp(150px, 19vw, 280px);
  --story-row-gap: 0px;
  --story-float-size: clamp(92px, 11vw, 150px);
  --story-copy-size: clamp(21px, 1.9vw, 27px);
  --story-copy-gap: clamp(16px, 1.9vw, 27px);
  --story-copy-lh: 1.15;
}

.story-sticky {
  position: sticky;
  top: 0;
  z-index: 3;
  height: 100svh;
  overflow: hidden;
  display: grid;
  place-items: center;
  pointer-events: none;
}

.js:not(.scene-ready) .story-sticky {
  opacity: 0;
}

.js:not(.scene-ready) .hero-phrase,
.js:not(.scene-ready) .story-copy {
  transition: none;
}

.js:not(.scene-ready) .site-header,
.js:not(.scene-ready) .menu-toggle,
.js:not(.scene-ready) .side-rail {
  opacity: 0;
}

.js.scene-ready .story-sticky {
  opacity: 1;
  transition: opacity 220ms ease;
}

.story-copy-stack {
  position: relative;
  z-index: 5;
  width: min(520px, calc(100vw - 56px));
  min-height: calc(var(--story-copy-size) * 12);
}

.story-copy {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: row-reverse;
  align-items: flex-start;
  justify-content: center;
  gap: var(--story-copy-gap);
  margin: 0;
  color: var(--porcelain);
  font-size: var(--story-copy-size);
  font-weight: 400;
  line-height: var(--story-copy-lh);
  letter-spacing: 0.165em;
  text-shadow: none;
  opacity: var(--scene-opacity, 0);
  filter: blur(var(--scene-blur, 8px));
  transform: translateY(var(--scene-shift, 18px));
  transition: opacity 700ms ease, filter 700ms ease, transform 700ms ease;
}

.story-copy.is-active {
  opacity: 1;
  filter: blur(0);
  transform: translateY(0);
}

.story-copy span {
  display: block;
  align-self: flex-start;
  writing-mode: vertical-rl;
  text-orientation: upright;
  text-align: start;
}

.story-rows {
  position: absolute;
  inset: 0;
  z-index: 1;
  display: grid;
  align-content: center;
  gap: var(--story-row-gap);
}

.story-rows::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 4;
  background: linear-gradient(
    180deg,
    rgba(35, 24, 21, 0.36) 0%,
    rgba(35, 24, 21, 0.58) 42%,
    rgba(35, 24, 21, 0.58) 58%,
    rgba(35, 24, 21, 0.36) 100%
  );
}

.image-row {
  position: relative;
  display: flex;
  gap: clamp(14px, 1.8vw, 24px);
  width: max-content;
  will-change: transform;
}

.image-row img {
  width: clamp(270px, 34vw, 500px);
  height: var(--story-row-h);
  object-fit: cover;
  border-radius: 0;
  filter: saturate(0.74) contrast(0.94) brightness(0.8);
}

.row-a {
  z-index: 1;
  opacity: calc(0.84 - var(--story-progress) * 0.4);
  transform: translate3d(calc(6vw - var(--story-progress) * 34vw), 0, 0);
}

.row-b {
  z-index: 3;
  opacity: calc(0.62 + var(--story-progress) * 0.18);
  transform: translate3d(calc(-28vw + var(--story-progress) * 36vw), 0, 0);
}

.row-c {
  z-index: 2;
  opacity: calc(0.38 + var(--story-progress) * 0.6);
  transform: translate3d(calc(-8vw - var(--story-progress) * 42vw), 0, 0);
}

.story-float {
  position: absolute;
  z-index: 4;
  display: grid;
  place-items: center;
  width: var(--story-float-size);
  aspect-ratio: 1;
  margin-top: calc(var(--story-float-size) / -2);
  border: 1px solid rgba(255, 253, 249, 0.38);
  border-radius: 50%;
  background: rgba(35, 24, 21, 0.34);
  color: var(--porcelain);
  font-size: clamp(13px, 1.2vw, 16px);
  letter-spacing: 0.12em;
  writing-mode: vertical-rl;
  backdrop-filter: blur(10px);
  box-shadow: 0 20px 60px rgba(12, 9, 8, 0.34);
  pointer-events: auto;
}

.story-float-a {
  left: 10vw;
  top: max(
    calc(var(--story-float-size) / 2 + 12px),
    calc(50% - var(--story-row-h) - var(--story-row-gap))
  );
  transform: translateY(calc(var(--story-progress) * -64px));
}

.story-float-b {
  right: 14vw;
  top: 50%;
  transform: translateY(calc(var(--story-progress) * 72px));
}

.story-float-c {
  left: 12vw;
  top: min(
    calc(100% - var(--story-float-size) / 2 - 12px),
    calc(50% + var(--story-row-h) + var(--story-row-gap))
  );
  transform: translateY(calc(var(--story-progress) * -48px));
}

.section {
  padding: clamp(84px, 12vw, 168px) clamp(26px, 8vw, 120px);
}

.section-label {
  color: var(--terracotta);
  font-family: Georgia, serif;
  font-size: 12px;
  letter-spacing: 0.18em;
}

.keep-together {
  display: inline-block;
}

.mission {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  background: linear-gradient(155deg, var(--paper) 0%, var(--porcelain) 62%, var(--paper-warm) 140%);
}

.mission-body {
  max-width: 1120px;
  width: 100%;
  margin-inline: auto;
}

.mission-vision {
  display: flex;
  flex-wrap: wrap;
  gap: 14px 24px;
  align-items: baseline;
  margin: 28px 0 0;
  color: var(--ink-soft);
  font-size: clamp(18px, 2vw, 26px);
  line-height: 1.8;
}

.mission-vision span {
  color: var(--apricot);
  font-family: Georgia, serif;
  font-size: 12px;
  letter-spacing: 0.18em;
}

.value-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1px;
  margin-top: clamp(44px, 7vw, 78px);
  background: var(--line);
}

.value-grid article {
  display: grid;
  grid-template-rows: auto auto 1fr;
  align-content: start;
  min-height: 260px;
  padding: clamp(26px, 3vw, 40px);
  background: rgba(251, 246, 239, 0.86);
}

.value-grid article > span,
.service-card span,
.process-list span,
.video-caption span {
  color: var(--apricot);
  font-family: Georgia, serif;
  font-size: 13px;
  letter-spacing: 0.14em;
}

.value-grid h3,
.service-card h3,
.process-list h3 {
  margin: 18px 0 10px;
  font-size: clamp(22px, 2.2vw, 30px);
  font-weight: 500;
  line-height: 1.45;
}

.value-grid h3 {
  min-height: 4.35em;
  margin-bottom: 20px;
}

.value-title-line,
.heading-line,
.contact-copy-line {
  display: block;
}

.value-grid p,
.process-list p {
  margin: 0;
}

.section-heading {
  max-width: 760px;
  margin-bottom: clamp(42px, 6vw, 76px);
}

.section-heading p {
  margin-top: 20px;
}

.services {
  background: var(--porcelain);
}

.service-grid {
  display: grid;
  gap: clamp(28px, 4vw, 56px);
}

.service-card {
  display: grid;
  grid-template-columns: minmax(260px, 0.68fr) minmax(0, 1.22fr);
  gap: clamp(24px, 5vw, 72px);
  align-items: center;
  padding-bottom: clamp(28px, 4vw, 54px);
  border-bottom: 1px solid var(--line);
}

.service-card:nth-child(even) {
  grid-template-columns: minmax(0, 1.22fr) minmax(260px, 0.68fr);
}

.service-card:nth-child(even) img {
  order: 2;
}

.service-card img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  border-radius: var(--radius);
  transition: transform 800ms ease;
}

.pr-section {
  display: grid;
  grid-template-columns: minmax(460px, 0.82fr) minmax(420px, 1fr);
  gap: clamp(32px, 5vw, 80px);
  align-items: center;
  padding: clamp(84px, 12vw, 164px) clamp(26px, 8vw, 120px);
  background: linear-gradient(135deg, var(--ink) 0%, #3b4935 100%);
  color: var(--paper);
}

.pr-copy {
  min-width: 0;
}

.pr-copy h2 {
  max-width: 760px;
  font-size: clamp(40px, 4.4vw, 68px);
  line-height: 1.24;
}

.phrase-line {
  display: block;
  white-space: nowrap;
}

.pr-copy p:not(.eyebrow) {
  max-width: 680px;
  color: rgba(251, 246, 239, 0.8);
}

.pr-video {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius);
  box-shadow: 0 30px 90px rgba(74, 59, 46, 0.34);
  background:
    linear-gradient(rgba(74, 59, 46, 0.18), rgba(74, 59, 46, 0.4)),
    url("./assets/images/message01.jpg") center / cover;
}

.pr-video::before {
  content: "";
  display: none;
}

.pr-video .video-slot {
  position: relative;
  inset: auto;
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 9;
  opacity: 1;
}

.video-caption {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  padding: 14px 16px;
  border: 1px solid rgba(251, 246, 239, 0.24);
  border-radius: 0;
  background: rgba(74, 59, 46, 0.46);
  color: var(--paper);
  backdrop-filter: blur(14px);
}

.video-caption strong {
  font-size: 13px;
  font-weight: 400;
}

.process {
  background: var(--sage-wash);
}

.process-list {
  counter-reset: process;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1px;
  margin: 0;
  padding: 0;
  list-style: none;
  background: var(--line);
}

.process-list li {
  display: grid;
  grid-template-rows: auto auto 1fr;
  align-content: start;
  min-height: 300px;
  padding: clamp(24px, 3vw, 38px);
  background: rgba(251, 246, 239, 0.94);
}

.process-list h3 {
  min-height: 2.9em;
  margin-bottom: 20px;
}

.message {
  display: grid;
  grid-template-columns: minmax(260px, 440px) minmax(0, 680px);
  gap: clamp(34px, 6vw, 92px);
  align-items: center;
  padding: clamp(84px, 12vw, 160px) clamp(26px, 8vw, 120px);
  background: var(--porcelain);
}

/* process 移動後、media(paper)→faq(paper) の同色隣接を避けるため media を一段明るく */
.media-latest {
  background: var(--porcelain);
}

.message img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
  border-radius: 50%;
  box-shadow: var(--shadow);
}

.contact {
  min-height: 72svh;
  display: grid;
  align-content: center;
  justify-items: center;
  text-align: center;
  padding: clamp(82px, 12vw, 160px) 24px;
  background:
    linear-gradient(rgba(251, 246, 239, 0.84), rgba(251, 246, 239, 0.92)),
    url("./assets/images/house-care.png") center / cover;
}

.contact h2 {
  max-width: 900px;
}

.contact p {
  max-width: 980px;
}

@media (min-width: 641px) {
  .heading-line,
  .contact-copy-line {
    white-space: nowrap;
  }
}

@media (min-width: 981px) {
  .message h2 {
    font-size: clamp(30px, 2.7vw, 34px);
  }

  .service-card .service-title--garden {
    font-size: clamp(20px, 1.8vw, 24px);
    white-space: nowrap;
  }

  .process .section-heading {
    max-width: none;
  }

  .process .process-title {
    font-size: clamp(38px, 3.7vw, 52px);
    white-space: nowrap;
  }
}

@media (min-width: 981px) and (max-width: 1260px) {
  .message {
    grid-template-columns: 1fr;
  }

  .message img {
    width: min(100%, 440px);
    justify-self: center;
  }
}

.contact-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 14px;
  margin-top: 30px;
}

.button {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 12px 20px;
  border: 1px solid var(--terracotta);
  border-radius: 999px;
  font-family:
    "Hiragino Kaku Gothic ProN", "Yu Gothic", "Noto Sans JP", sans-serif;
  font-size: 14px;
  cursor: pointer;
  transition:
    color 240ms ease,
    background 240ms ease,
    border-color 240ms ease,
    transform 240ms cubic-bezier(0.22, 1, 0.36, 1),
    box-shadow 240ms ease;
  touch-action: manipulation;
  -webkit-tap-highlight-color: transparent;
}

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

.button.ghost {
  background: rgba(251, 246, 239, 0.72);
  color: var(--terracotta);
}

.button--line {
  border-color: #07853a;
  background: #07853a;
  color: var(--porcelain);
}

@media (hover: hover) and (pointer: fine) {
  .menu-panel a:hover {
    padding-right: 8px;
    padding-left: 8px;
    background: rgba(157, 194, 134, 0.14);
    color: var(--terracotta);
  }

  .menu-panel a:hover small::after {
    transform: translate(2px, 2px);
  }

  .button:hover {
    transform: translateY(-3px);
    box-shadow: 0 14px 34px rgba(35, 24, 21, 0.16);
  }

  .button.primary:hover {
    border-color: var(--ink);
    background: var(--ink);
    color: var(--porcelain);
  }

  .button.ghost:hover {
    border-color: var(--terracotta);
    background: var(--terracotta);
    color: var(--porcelain);
  }

  .button--line:hover {
    border-color: #056f33;
    background: #056f33;
    color: var(--porcelain);
  }

  .menu-toggle:hover {
    border-color: var(--chrome-fg);
    background: var(--chrome-fg);
    color: var(--chrome-surface);
    transform: rotate(8deg) scale(1.05);
    box-shadow: 0 14px 34px rgba(35, 24, 21, 0.2);
  }

  .side-rail a:hover {
    border-color: var(--chrome-fg);
    background: var(--chrome-fg);
    color: var(--chrome-surface);
    transform: translateX(-3px);
    box-shadow: 0 12px 30px rgba(35, 24, 21, 0.16);
  }

  .hero-contact:hover {
    border-color: rgba(255, 253, 249, 0.92);
    background: rgba(255, 253, 249, 0.94);
    color: var(--ink);
    text-shadow: none;
    transform: translateX(-50%) translateY(-3px);
    box-shadow: 0 14px 34px rgba(35, 24, 21, 0.22);
  }

  .service-card:hover img {
    transform: scale(1.025);
  }
}

.button:active,
.menu-toggle:active {
  transform: scale(0.97);
  transition-duration: 80ms;
}

.hero-contact:active {
  transform: translateX(-50%) scale(0.97);
  transition-duration: 80ms;
}

.side-rail a:active {
  opacity: 0.72;
  transition-duration: 80ms;
}

.site-footer {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  grid-template-areas:
    "brand nav"
    "nap   nav"
    "tag   nav"
    "copy  copy";
  column-gap: clamp(32px, 6vw, 96px);
  row-gap: 24px;
  align-items: start;
  padding: clamp(46px, 6vw, 66px) clamp(26px, 8vw, 120px);
  border-top: 1px solid rgba(255, 253, 249, 0.12);
  background: var(--footer-bg);
}

.footer-brand {
  grid-area: brand;
  display: inline-flex;
  align-items: center;
  gap: 14px;
  color: var(--footer-fg);
  font-size: 18px;
  letter-spacing: 0.08em;
}

.site-footer > p {
  grid-area: tag;
}

.site-footer > small {
  grid-area: copy;
  padding-top: 22px;
  border-top: 1px solid rgba(255, 253, 249, 0.1);
}

.footer-brand img {
  width: 76px;
  aspect-ratio: 822 / 751;
  object-fit: contain;
  filter: brightness(0) invert(1);
}

.site-footer p,
.site-footer small {
  margin: 0;
  color: rgba(243, 242, 236, 0.7);
  font-family:
    "Hiragino Kaku Gothic ProN", "Yu Gothic", "Noto Sans JP", sans-serif;
  font-size: 13px;
}

[data-reveal] {
  transform: translateY(18px);
  opacity: 0;
  transition: transform 700ms ease, opacity 700ms ease;
}

[data-reveal].is-visible {
  transform: translateY(0);
  opacity: 1;
}

@media (max-width: 1180px) {
  .pr-section {
    grid-template-columns: 1fr;
  }

  .pr-copy {
    max-width: 780px;
  }
}

@media (max-width: 980px) {
  :root {
    --rail: 0px;
  }

  .site-header {
    width: 100%;
    height: 82px;
    place-items: center start;
    padding: 0 22px;
    border-left: 0;
    border-bottom: 1px solid var(--chrome-line);
  }

  .brand {
    writing-mode: horizontal-tb;
    grid-auto-flow: column;
    align-items: center;
    justify-items: start;
    gap: 12px;
  }

  .brand-mark {
    width: 58px;
  }

  .brand-name {
    font-size: 14px;
    letter-spacing: 0.12em;
    writing-mode: horizontal-tb;
  }

  .side-rail {
    display: none;
  }

  .hero-contact {
    display: inline-flex;
    right: auto;
    left: 50%;
    bottom: 64px;
    transform: translateX(-50%);
  }

  main,
  .site-footer {
    margin-right: 0;
  }

  .hero {
    min-height: 370svh;
  }

  .hero-copy {
    padding: 90px 24px 140px;
  }

  .hero-phrases {
    --hero-phrase-size: clamp(29px, min(4.8vw, calc((100svh - 316px) / 10)), 38px);
  }

  .menu-toggle {
    right: 18px;
    bottom: 18px;
  }

  .site-menu {
    padding: 16px;
  }

  .menu-panel {
    width: min(300px, calc(100vw - 32px));
    max-height: calc(100svh - 32px);
    padding: 22px 22px 58px;
  }

  .opening,
  .mission,
  .pr-section,
  .message {
    grid-template-columns: 1fr;
  }

  .distance-line {
    writing-mode: horizontal-tb;
    grid-auto-flow: column;
    justify-content: start;
  }

  .distance-line i {
    width: min(42vw, 220px);
    height: 1px;
  }

  .value-grid,
  .process-list {
    grid-template-columns: 1fr 1fr;
  }

  .service-card,
  .service-card:nth-child(even) {
    grid-template-columns: 1fr;
  }

  .service-card:nth-child(even) img {
    order: 0;
  }
}

@media (max-width: 640px) {
  .site-footer {
    grid-template-columns: 1fr;
    grid-template-areas:
      "brand"
      "nav"
      "nap"
      "tag"
      "copy";
    row-gap: 22px;
  }

  .site-footer .footer-nav {
    align-items: flex-start;
  }

  .opening-gate__stage {
    width: calc(100vw - 36px);
    gap: 14px;
  }

  .opening-gate__emblem {
    width: clamp(164px, 48vw, 190px);
  }

  .opening-gate__name strong {
    font-size: 22px;
  }

  .opening-gate__promise {
    font-size: 11px;
    letter-spacing: 0.16em;
  }

  .brand {
    gap: 10px;
  }

  .brand-mark {
    width: 52px;
  }

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

  .hero-copy {
    gap: 16px;
    padding: 90px 20px 128px;
  }

  .hero-phrases {
    --hero-phrase-size: clamp(20px, min(8.5vw, calc((100svh - 290px) / 10)), 35px);
  }

  .hero-phrase {
    gap: 18px;
    line-height: 1.75;
  }

  .hero-lead {
    width: min(280px, calc(100vw - 56px));
    font-size: 13px;
    line-height: 1.85;
  }

  .hero-index {
    left: 18px;
    transform: translateY(-50%);
  }

  .scroll-cue {
    left: 20px;
    bottom: 22px;
  }

  .video-fallback {
    grid-template-columns: 1fr;
  }

  .video-fallback span:nth-child(2),
  .video-fallback span:nth-child(3) {
    display: none;
  }

  .opening,
  .section,
  .pr-section,
  .message {
    padding-left: 20px;
    padding-right: 20px;
  }

  .value-grid,
  .process-list {
    grid-template-columns: 1fr;
  }

  .value-grid h3,
  .process-list h3 {
    min-height: 0;
  }

  .heading-line,
  .contact-copy-line {
    white-space: normal;
  }

  .message h2,
  .contact h2 {
    font-size: clamp(26px, 7.2vw, 34px);
  }

  .image-row img {
    width: 74vw;
  }

  .scroll-story {
    --story-row-h: clamp(150px, 27svh, 240px);
    --story-float-size: 94px;
    --story-copy-size: clamp(19px, 5.4vw, 22px);
    --story-copy-gap: 16px;
    --story-copy-lh: 1.2;
  }

  .pr-copy h2 {
    font-size: clamp(32px, 9.2vw, 42px);
    line-height: 1.28;
  }

  .story-float {
    font-size: 12px;
  }

  .story-float-a {
    left: 4vw;
  }

  .story-float-b {
    right: 4vw;
  }

  .story-float-c {
    left: 4vw;
  }

  .video-caption {
    position: static;
    border-radius: 0;
  }

  .contact-actions {
    flex-direction: column;
    width: min(100%, 320px);
  }

  .button {
    width: 100%;
    min-height: 52px;
    padding-inline: 22px;
  }
}

@media (hover: none) {
  .service-card img {
    transform: none;
  }

  .button:active {
    filter: brightness(0.94);
  }

  .menu-toggle:active,
  .hero-contact:active {
    filter: brightness(1.08);
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }

  .opening-gate {
    display: none;
  }

  .js .story-sticky {
    opacity: 1 !important;
    transition: none !important;
  }

  .image-row {
    transform: none !important;
  }

  .hero-phrase:not(:first-child),
  .story-copy:not(:first-child) {
    display: none;
  }

  .hero-phrase:first-child,
  .story-copy:first-child,
  [data-reveal] {
    opacity: 1 !important;
    filter: none !important;
    transform: none !important;
  }
}

/* ===== Subpages（サービスページ・共通追加部品） ===== */

.page-hero {
  padding: clamp(140px, 18vw, 220px) clamp(26px, 8vw, 120px) clamp(40px, 6vw, 72px);
  background: var(--paper);
}

.page-hero h1 {
  margin: 16px 0 0;
  font-size: clamp(34px, 4.8vw, 64px);
  font-weight: 500;
  line-height: 1.35;
}

.page-hero__sub {
  margin: 14px 0 0;
  font-size: clamp(16px, 1.6vw, 20px);
  color: var(--ink);
}

.page-hero__lead {
  max-width: 640px;
  margin: 22px 0 0;
  color: var(--ink-soft);
  font-family:
    "Hiragino Kaku Gothic ProN", "Yu Gothic", "Noto Sans JP", sans-serif;
  font-size: 15px;
  line-height: 2;
}

.breadcrumb {
  font-family:
    "Hiragino Kaku Gothic ProN", "Yu Gothic", "Noto Sans JP", sans-serif;
  font-size: 12px;
  color: var(--ink-soft);
}

.breadcrumb ol {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin: 0 0 26px;
  padding: 0;
  list-style: none;
}

.breadcrumb li:not(:last-child)::after {
  content: "/";
  margin-left: 6px;
  color: var(--line);
}

.breadcrumb a {
  color: var(--ink-soft);
  text-decoration: none;
}

.breadcrumb a:hover {
  color: var(--ink);
  text-decoration: underline;
}

/* 3項目の value-grid は最後の項目を全幅にして空白セルを出さない */
.value-grid article:nth-child(odd):last-child {
  grid-column: 1 / -1;
}

/* サービスカードの全面リンク化 */
.service-card {
  position: relative;
}

.card-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 16px;
  color: var(--terracotta);
  font-family:
    "Hiragino Kaku Gothic ProN", "Yu Gothic", "Noto Sans JP", sans-serif;
  font-size: 14px;
  letter-spacing: 0.06em;
  text-decoration: none;
}

.card-link::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
}

.card-link::after {
  content: "→";
  transition: transform 400ms ease;
}

.card-link.is-external::after {
  content: "↗";
}

.service-card:hover .card-link::after {
  transform: translateX(4px);
}

.service-card:hover img {
  transform: scale(1.02);
}

.card-link:focus-visible {
  outline: 2px solid var(--terracotta);
  outline-offset: 4px;
}

/* フッターナビ */
.footer-nav {
  grid-area: nav;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 13px;
}

.footer-nav a {
  color: rgba(243, 242, 236, 0.78);
  font-family:
    "Hiragino Kaku Gothic ProN", "Yu Gothic", "Noto Sans JP", sans-serif;
  font-size: 13px;
  text-decoration: none;
}

.footer-nav a:hover {
  color: var(--footer-fg);
  text-decoration: underline;
}

/* セクション末尾の CTA（「一輪ができること」の読了直後） */
.section-cta {
  margin: 48px 0 0;
  text-align: center;
}

/* よくある質問。回答は初期 HTML に実在させる（details の折りたたみのみ） */
.faq-list {
  max-width: 820px;
  margin: 44px 0 0;
  border-top: 1px solid var(--line);
}

.faq-list details {
  border-bottom: 1px solid var(--line);
}

.faq-list summary {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  padding: 22px 2px;
  cursor: pointer;
  list-style: none;
  color: var(--ink);
  font-size: clamp(16px, 1.6vw, 19px);
  font-weight: 500;
  line-height: 1.7;
  word-break: auto-phrase;
}

.faq-list summary::-webkit-details-marker {
  display: none;
}

.faq-list summary::after {
  content: "";
  flex: none;
  width: 10px;
  height: 10px;
  margin: 8px 0 0 auto;
  border-right: 1px solid var(--ink-soft);
  border-bottom: 1px solid var(--ink-soft);
  transform: rotate(45deg);
  transition: transform 240ms cubic-bezier(0.22, 1, 0.36, 1);
}

.faq-list details[open] summary::after {
  transform: rotate(-135deg);
}

.faq-answer {
  margin: 0;
  padding: 0 26px 26px 2px;
  color: var(--ink-soft);
  font-family:
    "Hiragino Kaku Gothic ProN", "Yu Gothic", "Noto Sans JP", sans-serif;
  font-size: 15px;
  line-height: 2;
}

/* 相談セクションの CTA 直前に置く事業者情報 */
.contact-credential {
  margin: 26px 0 0;
  color: var(--ink-soft);
  font-family:
    "Hiragino Kaku Gothic ProN", "Yu Gothic", "Noto Sans JP", sans-serif;
  font-size: 12px;
  letter-spacing: 0.04em;
}

/* フッター NAP（社名・住所・電話。JSON-LD の値と1文字単位で一致させる） */
.footer-nap {
  grid-area: nap;
  display: flex;
  flex-direction: column;
  gap: 5px;
  margin: 0;
  font-style: normal;
  color: rgba(243, 242, 236, 0.7);
  font-family:
    "Hiragino Kaku Gothic ProN", "Yu Gothic", "Noto Sans JP", sans-serif;
  font-size: 13px;
  line-height: 1.9;
}

.footer-nap b {
  color: var(--footer-fg);
  font-weight: 500;
}

.footer-nap a {
  color: inherit;
  text-decoration: none;
}

.footer-nap a:hover {
  color: var(--footer-fg);
  text-decoration: underline;
}

/* 写真帯（墓まもり 作業ギャラリー） */
.photo-band {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: clamp(10px, 1.6vw, 20px);
  margin-top: clamp(44px, 7vw, 78px);
}

.photo-band figure {
  margin: 0;
}

.photo-band img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  border-radius: var(--radius);
}

.photo-band figcaption {
  margin-top: 10px;
  color: var(--ink-soft);
  font-family:
    "Hiragino Kaku Gothic ProN", "Yu Gothic", "Noto Sans JP", sans-serif;
  font-size: 13px;
}

/* 対比ブロック（空き家やさん: 放置する / まもる） */
.contrast-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(16px, 2.4vw, 28px);
  margin-top: clamp(44px, 7vw, 78px);
}

.contrast-grid article {
  padding: clamp(24px, 3vw, 40px);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--porcelain);
}

.contrast-grid article.is-mamori {
  background: var(--paper-warm);
  border-color: var(--sage);
}

.contrast-grid h3 {
  margin: 0 0 12px;
  font-size: clamp(18px, 1.8vw, 24px);
  font-weight: 500;
}

.contrast-grid p,
.contrast-grid li {
  color: var(--ink-soft);
  font-family:
    "Hiragino Kaku Gothic ProN", "Yu Gothic", "Noto Sans JP", sans-serif;
  font-size: 15px;
  line-height: 2;
}

.contrast-grid ul {
  margin: 0;
  padding-left: 1.2em;
}

/* 料金表（空き家やさん） */
.price-group {
  margin-top: clamp(36px, 5vw, 56px);
}

.price-group h3 {
  margin: 0 0 14px;
  font-size: clamp(18px, 1.8vw, 24px);
  font-weight: 500;
}

.table-scroll {
  overflow-x: auto;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--porcelain);
}

.table-scroll:focus-visible {
  outline: 2px solid var(--terracotta);
  outline-offset: 2px;
}

.price-table {
  width: 100%;
  min-width: 480px;
  border-collapse: collapse;
  font-family:
    "Hiragino Kaku Gothic ProN", "Yu Gothic", "Noto Sans JP", sans-serif;
  font-size: 14px;
  line-height: 1.8;
}

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

.price-table thead th {
  color: var(--terracotta);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.12em;
}

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

.price-table td.price-value {
  white-space: nowrap;
  font-variant-numeric: tabular-nums;
}

.price-note {
  margin-top: 16px;
  color: var(--ink-soft);
  font-family:
    "Hiragino Kaku Gothic ProN", "Yu Gothic", "Noto Sans JP", sans-serif;
  font-size: 13px;
}

@media (max-width: 980px) {
  .photo-band {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 640px) {
  .contrast-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .page-hero {
    padding-top: 130px;
  }
}

/* ===== Subpages v2（回遊導線: 記事カード共通化・MENUラベル・演出リンク） ===== */

/* 記事カード（トップ最新記事・/media/ 一覧・関連記事・ほかのまもり で共用） */
.media-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: clamp(16px, 2.4vw, 28px);
}

.media-card {
  display: block;
  padding: clamp(24px, 3vw, 36px);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--porcelain);
  color: var(--ink);
  text-decoration: none;
  transition: border-color 400ms ease, transform 400ms ease;
}

.media-card:hover {
  border-color: var(--sage);
  transform: translateY(-2px);
}

.media-card:focus-visible {
  outline: 2px solid var(--terracotta);
  outline-offset: 2px;
}

.media-card__date {
  margin: 0 0 10px;
  color: var(--terracotta);
  font-family: Georgia, serif;
  font-size: 12px;
  letter-spacing: 0.12em;
}

.media-card h2,
.media-card h3 {
  margin: 0 0 10px;
  font-size: clamp(17px, 1.8vw, 21px);
  font-weight: 500;
  line-height: 1.6;
}

.media-card p {
  margin: 0;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
  color: var(--ink-soft);
  font-family:
    "Hiragino Kaku Gothic ProN", "Yu Gothic", "Noto Sans JP", sans-serif;
  font-size: 14px;
  line-height: 1.9;
}

.media-card__tags {
  margin-top: 12px !important;
  color: var(--terracotta) !important;
  font-size: 12px !important;
}

/* トップの最新記事セクション */
.media-latest .media-grid {
  margin-top: clamp(36px, 5vw, 56px);
}

.media-latest__more {
  margin: clamp(28px, 4vw, 44px) 0 0;
}

/* ハンバーガーの MENU ラベル（円の中心軸にセンタリング） */
.menu-toggle__label {
  position: absolute;
  top: calc(100% + 7px);
  left: 50%;
  transform: translateX(-50%);
  color: var(--chrome-fg);
  font-family: Georgia, serif;
  font-size: 12px;
  line-height: 1;
  letter-spacing: 0.18em;
  text-indent: 0.18em;
  pointer-events: none;
}

/* スクロール演出のフロート文字をリンク化 */
a.story-float {
  text-decoration: none;
  transition: border-color 400ms ease, background 400ms ease;
}

a.story-float:hover {
  border-color: rgba(255, 253, 249, 0.82);
  background: rgba(35, 24, 21, 0.56);
}

a.story-float:focus-visible {
  outline: 2px solid var(--porcelain);
  outline-offset: 3px;
}

/* ===== ご相談フォーム（フォームページ共通） ===== */

.contact-form {
  display: grid;
  gap: clamp(18px, 2.4vw, 26px);
  width: min(100%, 42rem);
  margin: 0 auto;
  text-align: left;
}

.form-field {
  display: grid;
  gap: 8px;
}

.form-field label {
  color: var(--ink);
  font-family:
    "Hiragino Kaku Gothic ProN", "Yu Gothic", "Noto Sans JP", sans-serif;
  font-size: 14px;
  letter-spacing: 0.08em;
}

.form-field--required label::after {
  content: "必須";
  display: inline-block;
  margin-left: 10px;
  padding: 2px 9px;
  border-radius: 999px;
  background: var(--stone);
  color: var(--terracotta);
  font-size: 11px;
  letter-spacing: 0.12em;
  vertical-align: 1px;
}

.form-field input,
.form-field textarea,
.form-field select {
  width: 100%;
  min-height: 52px;
  padding: 13px 16px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--porcelain);
  color: var(--ink);
  font-family:
    "Hiragino Kaku Gothic ProN", "Yu Gothic", "Noto Sans JP", sans-serif;
  font-size: 16px;
  line-height: 1.7;
  transition: border-color 240ms ease, box-shadow 240ms ease;
}

.form-field textarea {
  min-height: 168px;
  line-height: 1.9;
  resize: vertical;
}

.form-field select {
  padding-right: 44px;
  background-image:
    linear-gradient(45deg, transparent 50%, var(--ink-soft) 50%),
    linear-gradient(135deg, var(--ink-soft) 50%, transparent 50%);
  background-position: calc(100% - 21px) center, calc(100% - 16px) center;
  background-size: 6px 6px;
  background-repeat: no-repeat;
  appearance: none;
}

.form-field input::placeholder,
.form-field textarea::placeholder {
  color: rgba(109, 98, 93, 0.78);
}

.form-field input:focus,
.form-field textarea:focus,
.form-field select:focus {
  border-color: var(--terracotta);
  outline: none;
  box-shadow: 0 0 0 3px rgba(88, 113, 80, 0.16);
}

.form-field input:focus-visible,
.form-field textarea:focus-visible,
.form-field select:focus-visible {
  outline: 3px solid var(--terracotta);
  outline-offset: 2px;
}

.form-field input[aria-invalid="true"],
.form-field textarea[aria-invalid="true"],
.form-field select[aria-invalid="true"] {
  border-color: #9c2f26;
}

.form-note {
  margin: 0;
  color: var(--ink-soft);
  font-family:
    "Hiragino Kaku Gothic ProN", "Yu Gothic", "Noto Sans JP", sans-serif;
  font-size: 13px;
  line-height: 1.9;
}

.form-note a {
  border-bottom: 1px solid var(--line);
  color: var(--terracotta);
}

.form-error {
  margin: 0;
  color: #9c2f26;
  font-family:
    "Hiragino Kaku Gothic ProN", "Yu Gothic", "Noto Sans JP", sans-serif;
  font-size: 13px;
  line-height: 1.8;
}

.form-status {
  margin: 0;
  padding: 16px 18px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--stone);
  color: var(--ink);
  font-family:
    "Hiragino Kaku Gothic ProN", "Yu Gothic", "Noto Sans JP", sans-serif;
  font-size: 14px;
  line-height: 1.9;
}

.form-status:empty {
  display: none;
}

.form-status.is-success {
  border-color: rgba(88, 113, 80, 0.42);
  background: rgba(157, 194, 134, 0.18);
}

.form-status.is-error {
  border-color: rgba(156, 47, 38, 0.34);
  background: rgba(156, 47, 38, 0.07);
}

.form-honeypot {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
  visibility: hidden;
}

.contact-form .button {
  justify-self: start;
}
