@import url("https://fonts.googleapis.com/css2?family=Noto+Sans+JP:wght@300;400;500;600;700&family=Noto+Serif+JP:wght@400;500;600;700&display=swap");

:root {
  --background: #f8fafc;
  --foreground: #111b31;
  --foreground-soft: #64748b;
  --border: #dbe4ef;
  --border-strong: rgba(17, 27, 49, 0.1);
  --brand: #c79f55;
  --brand-soft: rgba(199, 159, 85, 0.14);
  --hero-overlay-top: rgba(15, 23, 42, 0.68);
  --hero-overlay-mid: rgba(15, 23, 42, 0.28);
  --hero-overlay-bottom: rgba(15, 23, 42, 0.72);
  --footer-bg: #11192c;
  --footer-border: rgba(255, 255, 255, 0.1);
  --input-bg: rgba(255, 255, 255, 0.05);
  --input-border: rgba(255, 255, 255, 0.1);
  --shadow-soft: 0 16px 48px rgba(15, 23, 42, 0.06);
  --shell-width: 1320px;
  --shell-padding: 80px;
  --header-height: 72px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 88px;
  background: var(--background);
}

body {
  margin: 0;
  min-width: 320px;
  background: var(--background);
  color: var(--foreground);
  font-family: "Noto Sans JP", "Hiragino Sans", sans-serif;
  font-size: 16px;
  line-height: 1.75;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

body.menu-open {
  overflow: hidden;
}

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

button,
input,
textarea {
  font: inherit;
}

button {
  padding: 0;
  border: 0;
  background: transparent;
  color: inherit;
  cursor: pointer;
}

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

svg {
  display: block;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
}

/* ─── Layout ─────────────────────────────── */

.site-shell {
  width: min(var(--shell-width), 100%);
  margin: 0 auto;
  padding-inline: var(--shell-padding);
}

.section-space {
  padding-block: 96px;
}

/* ─── Decorative guides ──────────────────── */

.viewport-guides {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 90;
}

.viewport-guide,
.viewport-edge-rail,
.viewport-progress-rail,
.viewport-progress-fill {
  position: absolute;
  top: 0;
  bottom: 0;
}

.viewport-guide {
  width: 1px;
  background: rgba(148, 163, 184, 0.1);
}

.viewport-guide-left   { left: 14.55%; }
.viewport-guide-center { left: 40.35%; }
.viewport-guide-right  { right: 20.6%; }

.viewport-edge-rail,
.viewport-progress-rail,
.viewport-progress-fill {
  right: 0;
  width: 1px;
}

.viewport-edge-rail    { background: rgba(199, 159, 85, 0.8); }
.viewport-progress-rail { background: rgba(199, 159, 85, 0.12); }
.viewport-progress-fill {
  background: var(--brand);
  transform-origin: top;
  transform: scaleY(0);
}

/* ─── Header ─────────────────────────────── */

.site-header {
  position: fixed;
  top: 0;
  right: 0;
  left: 0;
  z-index: 80;
  color: #ffffff;
  transition: background-color 0.35s ease, backdrop-filter 0.35s ease,
              box-shadow 0.35s ease, border-color 0.35s ease;
}

.site-header.is-scrolled {
  color: var(--foreground);
  background: rgba(248, 250, 252, 0.94);
  backdrop-filter: blur(20px);
  box-shadow: 0 6px 16px rgba(15, 23, 42, 0.04);
  border-bottom: 1px solid rgba(219, 228, 239, 0.9);
}

.header-shell {
  min-height: var(--header-height);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.brand {
  display: flex;
  align-items: center;
  gap: 14px;
}

.brand-mark,
.footer-mark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--brand);
  color: var(--brand);
  font-family: "Noto Serif JP", "Hiragino Mincho ProN", serif;
  font-weight: 600;
  flex-shrink: 0;
}

.brand-mark {
  width: 60px;
  height: 60px;
  font-size: 21px;
}

.brand-copy {
  display: flex;
  flex-direction: column;
  gap: 5px;
}

.brand-name-ja {
  font-family: "Noto Serif JP", "Hiragino Mincho ProN", serif;
  font-size: 18px;
  font-weight: 600;
  line-height: 1;
}

.brand-name-en {
  color: rgba(248, 250, 252, 0.6);
  font-size: 11px;
  letter-spacing: 0.24em;
  line-height: 1;
}

.site-header.is-scrolled .brand-name-en {
  color: var(--foreground-soft);
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 56px;
  font-size: 15px;
  font-weight: 600;
}

.site-nav a {
  transition: color 0.2s ease;
}

.site-nav a:hover,
.site-nav a:focus-visible,
.footer-top-link:hover,
.footer-top-link:focus-visible,
.hero-link:hover,
.hero-link:focus-visible {
  color: var(--brand);
}

.nav-dropdown {
  position: relative;
  display: flex;
  align-items: center;
}

.nav-dropdown-menu {
  position: absolute;
  top: 100%;
  left: 50%;
  padding-top: 16px;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translate(-50%, 8px);
  transition: opacity 0.18s ease, transform 0.18s ease, visibility 0.18s ease;
}

.nav-dropdown:hover .nav-dropdown-menu,
.nav-dropdown:focus-within .nav-dropdown-menu {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translate(-50%, 0);
}

.nav-dropdown-link {
  min-width: 168px;
  padding: 14px 20px;
  display: flex;
  align-items: center;
  gap: 12px;
  border-top: 2px solid var(--brand);
  background: var(--foreground);
  color: rgba(248, 250, 252, 0.76);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.02em;
  white-space: nowrap;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.28);
}

.nav-dropdown-link::before {
  content: "";
  width: 16px;
  height: 1px;
  background: var(--brand);
  flex-shrink: 0;
}

.site-header.is-scrolled .nav-dropdown-link {
  background: #ffffff;
  color: var(--foreground);
  box-shadow: 0 8px 24px rgba(15, 23, 42, 0.1);
}

.nav-dropdown-link[aria-current="page"],
.mobile-sub-link[aria-current="page"] {
  color: var(--brand);
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
}

.nav-toggle svg,
.mobile-menu-close svg,
.hero-link svg,
.footer-top-link svg {
  width: 20px;
  height: 20px;
  stroke-width: 1.8;
}

/* ─── Mobile menu ────────────────────────── */

.mobile-menu {
  position: fixed;
  inset: 0;
  z-index: 85;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.25s ease, visibility 0.25s ease;
}

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

.mobile-menu-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(15, 23, 42, 0.44);
  backdrop-filter: blur(6px);
}

.mobile-menu-panel {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  width: min(100%, 340px);
  padding: 28px 28px 36px;
  display: flex;
  flex-direction: column;
  background: var(--foreground);
  color: #f8fafc;
  transform: translateX(100%);
  transition: transform 0.3s ease;
}

.mobile-menu.is-open .mobile-menu-panel {
  transform: translateX(0);
}

.mobile-menu-close {
  align-self: flex-end;
  width: 40px;
  height: 40px;
  color: rgba(248, 250, 252, 0.6);
}

.mobile-menu-nav {
  margin-top: 40px;
  display: flex;
  flex-direction: column;
}

.mobile-menu-nav a {
  padding: 16px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  font-size: 20px;
}

.mobile-menu-group {
  display: flex;
  flex-direction: column;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.mobile-menu-group > a {
  border-bottom: 0;
}

.mobile-menu-group > a:first-child {
  padding-bottom: 16px;
}

.mobile-menu-group > .mobile-sub-link {
  padding: 14px 0 16px 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  color: rgba(248, 250, 252, 0.6);
  font-size: 16px;
}

.mobile-menu-copy {
  margin-top: auto;
  color: rgba(248, 250, 252, 0.3);
  font-size: 12px;
  letter-spacing: 0.18em;
}

/* ─── Shared section elements ────────────── */

.hero,
.philosophy,
.services,
.company,
.contact-footer {
  position: relative;
}

.hero,
.philosophy,
.services,
.company {
  scroll-margin-top: 88px;
}

.eyebrow,
.section-label,
.timeline-label {
  text-transform: uppercase;
  letter-spacing: 0.2em;
}

.eyebrow,
.section-label {
  font-size: 12px;
  font-weight: 600;
}

.eyebrow {
  margin: 0 0 20px;
  color: var(--brand);
}

.section-title-block {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.section-title-block h2,
.contact-copy h2 {
  margin: 0;
  font-family: "Noto Serif JP", "Hiragino Mincho ProN", serif;
  font-size: 56px;
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: 0.02em;
}

.section-label {
  margin: 0;
  color: var(--brand);
}

.section-rule,
.service-rule,
.hero-line {
  display: inline-block;
  height: 1px;
  background: var(--brand);
}

.section-rule { width: 80px; }
.hero-line {
  width: 120px;
  margin-bottom: 48px;
}

/* ─── Hero ───────────────────────────────── */

.hero {
  min-height: max(100svh, 580px);
  overflow: hidden;
  background: #11192c;
}

.hero-image,
.hero-overlay,
.hero-fade {
  position: absolute;
  inset: 0;
}

.hero-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
}

.hero-overlay {
  background: linear-gradient(
    180deg,
    var(--hero-overlay-top) 0%,
    var(--hero-overlay-mid) 42%,
    rgba(15, 23, 42, 0.18) 65%,
    var(--hero-overlay-bottom) 100%
  );
}

.hero-shell {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  min-height: max(100svh, 580px);
  padding-top: 40px;
}

.hero-copy {
  max-width: 680px;
  padding-top: 48px;
}

.hero h1 {
  margin: 0;
  color: #ffffff;
  font-family: "Noto Serif JP", "Hiragino Mincho ProN", serif;
  font-size: clamp(3.2rem, 5.5vw, 5rem);
  font-weight: 700;
  line-height: 1.0;
  letter-spacing: 0.02em;
}

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

.hero-text {
  max-width: 520px;
  margin: 32px 0 0;
  color: rgba(248, 250, 252, 0.72);
  font-size: 16px;
  font-weight: 400;
  line-height: 1.75;
}

.hero-link {
  margin-top: 56px;
  display: inline-flex;
  align-items: center;
  gap: 16px;
  color: rgba(248, 250, 252, 0.8);
  font-size: 15px;
  font-weight: 500;
}

.hero-fade {
  top: auto;
  height: 200px;
  background: linear-gradient(
    180deg,
    rgba(248, 250, 252, 0) 0%,
    rgba(248, 250, 252, 0.84) 60%,
    var(--background) 100%
  );
}

/* ─── Philosophy ─────────────────────────── */

.philosophy-shell {
  display: grid;
  grid-template-columns: minmax(320px, 0.95fr) minmax(480px, 1.2fr);
  align-items: end;
  column-gap: 80px;
  row-gap: 48px;
}

.philosophy-copy {
  color: var(--foreground-soft);
  font-size: 16px;
  line-height: 1.75;
}

.philosophy-copy p {
  margin: 0;
}

.philosophy-copy p + p {
  margin-top: 32px;
}

.metrics-row {
  margin-top: 64px;
  padding-top: 48px;
  border-top: 1px solid var(--border);
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}

.metric-item {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.metric-item strong {
  color: var(--brand);
  font-family: "Noto Serif JP", "Hiragino Mincho ProN", serif;
  font-size: 48px;
  line-height: 1;
  font-weight: 600;
}

.metric-item span {
  color: var(--foreground-soft);
  font-size: 14px;
}

/* ─── Services ───────────────────────────── */

.services-title-block {
  margin-bottom: 64px;
}

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

.service-card {
  overflow: hidden;
  border: 1px solid var(--border);
  background: #ffffff;
  box-shadow: 0 1px 0 rgba(219, 228, 239, 0.6);
}

.service-card-link {
  display: block;
  transition: border-color 0.28s ease, box-shadow 0.28s ease;
}

.service-card-link:hover,
.service-card-link:focus-visible {
  border-color: rgba(199, 159, 85, 0.55);
  box-shadow: 0 6px 24px rgba(17, 27, 49, 0.09);
}

.service-image-wrap {
  position: relative;
  aspect-ratio: 1 / 0.752;
  overflow: hidden;
  background: #d5dde8;
}

.service-image-wrap::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(17, 27, 49, 0.04) 0%,
    rgba(17, 27, 49, 0.1) 55%,
    rgba(17, 27, 49, 0.58) 100%
  );
}

.service-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.35s ease;
}

.service-card:hover .service-image,
.service-card:focus-within .service-image {
  transform: scale(1.02);
}

.service-number {
  position: absolute;
  top: 28px;
  left: 32px;
  z-index: 1;
  color: rgba(199, 159, 85, 0.88);
  font-size: 18px;
  letter-spacing: 0.28em;
  text-transform: uppercase;
}


.service-copy {
  padding: 32px 32px 40px;
}

.service-heading-row {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 20px;
}

.service-heading-row h3 {
  margin: 0;
  font-family: "Noto Serif JP", "Hiragino Mincho ProN", serif;
  font-size: 22px;
  line-height: 1.2;
}

.service-heading-row p {
  margin: 0 0 4px;
  color: var(--foreground-soft);
  font-size: 13px;
  letter-spacing: 0.24em;
  text-transform: uppercase;
}

.service-rule {
  width: 56px;
  margin: 24px 0 20px;
}

.service-copy > p {
  margin: 0;
  color: var(--foreground-soft);
  font-size: 15px;
  line-height: 1.65;
}

.service-link {
  margin-top: 20px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--brand);
  font-size: 13px;
  font-weight: 600;
}

.service-link svg {
  width: 14px;
  height: 14px;
  stroke-width: 2;
}

.page-hero {
  position: relative;
  min-height: 520px;
  overflow: hidden;
  background: #11192c;
  scroll-margin-top: 88px;
}

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

.page-hero-media {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.page-hero-overlay {
  background: linear-gradient(
    180deg,
    rgba(15, 23, 42, 0.72) 0%,
    rgba(15, 23, 42, 0.38) 48%,
    rgba(15, 23, 42, 0.78) 100%
  );
}

.page-hero-shell {
  position: relative;
  z-index: 1;
  min-height: 520px;
  padding-top: 124px;
  padding-bottom: 72px;
  display: flex;
  align-items: flex-end;
}

.page-hero-copy {
  max-width: 720px;
}

.breadcrumb {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 32px;
  color: rgba(248, 250, 252, 0.48);
  font-size: 12px;
  letter-spacing: 0.1em;
}

.breadcrumb a {
  transition: color 0.2s ease;
}

.breadcrumb a:hover,
.breadcrumb a:focus-visible {
  color: var(--brand);
}

.breadcrumb-separator {
  color: rgba(255, 255, 255, 0.18);
}

.breadcrumb-current {
  color: rgba(248, 250, 252, 0.85);
}

.page-title-rule {
  display: inline-block;
  width: 80px;
  height: 1px;
  margin-bottom: 20px;
  background: var(--brand);
}

.page-title-label {
  margin: 0 0 12px;
  color: var(--brand);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
}

.page-title {
  margin: 0;
  color: #ffffff;
  font-family: "Noto Serif JP", "Hiragino Mincho ProN", serif;
  font-size: clamp(2.8rem, 4.4vw, 4rem);
  font-weight: 700;
  line-height: 1.08;
  letter-spacing: 0.02em;
}

.page-lead {
  max-width: 560px;
  margin: 24px 0 0;
  color: rgba(248, 250, 252, 0.64);
  font-size: 15px;
  line-height: 1.8;
}

.page-section-soft {
  background: var(--background);
}

.page-section-white {
  background: #ffffff;
}

.overview-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  gap: 80px;
  align-items: center;
}

.overview-copy {
  color: var(--foreground-soft);
  font-size: 16px;
  line-height: 1.85;
}

.overview-copy p {
  margin: 0;
}

.overview-copy p + p {
  margin-top: 24px;
}

.overview-stats {
  margin-top: 48px;
  padding-top: 40px;
  border-top: 1px solid var(--border);
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
}

.overview-stat {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.overview-stat strong {
  color: var(--brand);
  font-family: "Noto Serif JP", "Hiragino Mincho ProN", serif;
  font-size: 28px;
  line-height: 1.1;
  font-weight: 600;
}

.overview-stat span {
  color: var(--foreground-soft);
  font-size: 14px;
}

.overview-media-card {
  overflow: hidden;
  border: 1px solid var(--border);
  background: #eef2f7;
  box-shadow: var(--shadow-soft);
}

.overview-media-card img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.overview-media-copy {
  padding: 24px 28px;
  background: #ffffff;
  border-top: 1px solid var(--border);
}

.overview-media-copy p {
  margin: 0;
  color: var(--foreground-soft);
  font-size: 14px;
  line-height: 1.75;
}

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

.estate-service-card {
  padding: 32px;
  border: 1px solid var(--border);
  background: #ffffff;
}

.estate-service-number {
  color: var(--brand);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.28em;
  text-transform: uppercase;
}

.estate-service-card h3 {
  margin: 20px 0 0;
  color: var(--foreground);
  font-family: "Noto Serif JP", "Hiragino Mincho ProN", serif;
  font-size: 22px;
  line-height: 1.3;
}

.estate-service-card .service-rule {
  margin-top: 18px;
  margin-bottom: 18px;
}

.estate-service-card p {
  margin: 0;
  color: var(--foreground-soft);
  font-size: 15px;
  line-height: 1.75;
}

.estate-service-card .estate-service-en {
  margin-top: 20px;
  color: rgba(199, 159, 85, 0.6);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.24em;
  text-transform: uppercase;
}

.estate-gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 20px;
}

.gallery-card {
  position: relative;
  overflow: hidden;
  background: #11192c;
  aspect-ratio: 4 / 3;
}

.gallery-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(17, 27, 49, 0.06) 0%,
    rgba(17, 27, 49, 0.18) 56%,
    rgba(17, 27, 49, 0.78) 100%
  );
}

.gallery-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.42s ease;
}

.gallery-card:hover img,
.gallery-card:focus-within img {
  transform: scale(1.03);
}

.gallery-card-copy {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  z-index: 1;
  padding: 20px;
}

.gallery-card-copy p {
  margin: 0;
  color: var(--brand);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.28em;
  text-transform: uppercase;
}

.gallery-card-copy h3 {
  margin: 8px 0 0;
  color: #ffffff;
  font-family: "Noto Serif JP", "Hiragino Mincho ProN", serif;
  font-size: 15px;
  line-height: 1.3;
}

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

.process-card {
  padding: 28px 24px;
  border: 1px solid var(--border);
  border-top: 2px solid var(--brand);
  background: #ffffff;
}

.process-number {
  color: var(--brand);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.24em;
  text-transform: uppercase;
}

.process-card h3 {
  margin: 18px 0 0;
  color: var(--foreground);
  font-family: "Noto Serif JP", "Hiragino Mincho ProN", serif;
  font-size: 20px;
  line-height: 1.3;
}

.process-card p {
  margin: 16px 0 0;
  color: var(--foreground-soft);
  font-size: 14px;
  line-height: 1.75;
}

/* ─── Company ────────────────────────────── */

.company-title-block {
  margin-bottom: 64px;
}

.company-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.03fr) minmax(0, 0.97fr);
  gap: 80px;
  align-items: start;
}

.company-table {
  background: transparent;
}

.company-row {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 24px 0;
  border-bottom: 1px solid var(--border);
}

.company-row:first-child {
  border-top: 1px solid var(--border);
}

.company-label {
  color: var(--brand);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.company-value {
  display: flex;
  flex-direction: column;
  gap: 4px;
  margin-top: 2px;
}

.company-value strong {
  font-size: 15px;
  font-weight: 400;
  line-height: 1.65;
  color: var(--foreground);
}

.company-value span {
  color: var(--foreground-soft);
  font-size: 13px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.company-list {
  gap: 4px;
}

.timeline-label {
  margin: 8px 0 32px;
  color: var(--foreground-soft);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.timeline-list {
  display: flex;
  flex-direction: column;
}

.timeline-item {
  display: flex;
  gap: 20px;
}

.timeline-connector {
  display: flex;
  flex-direction: column;
  align-items: center;
  flex-shrink: 0;
  width: 20px;
}

.timeline-dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--brand);
  border: 2px solid var(--brand);
  flex-shrink: 0;
  margin-top: 5px;
}

.timeline-line {
  width: 1px;
  flex: 1;
  background: var(--border);
  margin-top: 6px;
}

.timeline-copy {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding-bottom: 40px;
}

.timeline-item:last-child .timeline-copy {
  padding-bottom: 0;
}

.timeline-date {
  margin: 0;
  color: var(--brand);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.timeline-date span {
  margin-left: 8px;
}

.timeline-copy h3 {
  margin: 6px 0 0;
  font-family: "Noto Serif JP", "Hiragino Mincho ProN", serif;
  font-size: 18px;
  line-height: 1.3;
}

.timeline-copy p:last-child {
  margin: 4px 0 0;
  color: var(--foreground-soft);
  font-size: 13px;
  line-height: 1.65;
}

.map-card {
  margin-top: 56px;
  overflow: hidden;
  border: 1px solid var(--border);
  background: #eef2f7;
}

.map-card-head {
  height: 48px;
  padding: 0 20px;
  display: flex;
  align-items: center;
  gap: 10px;
  background: #ffffff;
  border-bottom: 1px solid var(--border);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--foreground-soft);
}

.map-card-head svg {
  width: 15px;
  height: 15px;
  stroke-width: 2;
  color: var(--brand);
}

.contact-info-item svg {
  width: 24px;
  height: 24px;
  stroke-width: 1.8;
}

.map-card img,
.map-card iframe {
  width: 100%;
  height: 200px;
  object-fit: cover;
  border: 0;
}

/* ─── Contact / Footer ───────────────────── */

.contact-footer {
  background: var(--footer-bg);
  color: #f8fafc;
}

.contact-shell {
  padding-top: 96px;
  padding-bottom: 80px;
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.08fr);
  gap: 80px;
}

.contact-copy h2 {
  color: #ffffff;
}

.contact-intro {
  max-width: 600px;
  margin: 48px 0 0;
  color: rgba(248, 250, 252, 0.5);
  font-size: 16px;
  line-height: 1.75;
}

.contact-info-list {
  margin-top: 64px;
  display: flex;
  flex-direction: column;
  gap: 40px;
}

.contact-info-item {
  display: flex;
  align-items: flex-start;
  gap: 20px;
}

.contact-info-item svg {
  flex: 0 0 auto;
  color: var(--brand);
}

.contact-info-item div {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.contact-info-item strong {
  font-size: 16px;
  font-weight: 500;
  line-height: 1.6;
}

.contact-info-item span {
  color: rgba(248, 250, 252, 0.38);
  font-size: 14px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

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

.field {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.field span {
  color: rgba(248, 250, 252, 0.48);
  font-size: 14px;
}

.field em {
  color: var(--brand);
  font-style: normal;
}

.field input,
.field textarea {
  width: 100%;
  border: 1px solid var(--input-border);
  background: var(--input-bg);
  color: #ffffff;
  outline: none;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.field input::placeholder,
.field textarea::placeholder {
  color: rgba(248, 250, 252, 0.2);
}

.field input {
  height: 56px;
  padding: 0 20px;
  font-size: 16px;
}

.field textarea {
  min-height: 200px;
  padding: 18px 20px;
  resize: vertical;
  font-size: 16px;
  line-height: 1.7;
}

.field input:focus,
.field textarea:focus {
  border-color: rgba(199, 159, 85, 0.68);
  box-shadow: 0 0 0 1px rgba(199, 159, 85, 0.38);
}

.form-actions {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 14px;
  margin-top: 8px;
}

.submit-button {
  min-width: 240px;
  height: 64px;
  padding: 0 32px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  background: var(--brand);
  color: var(--foreground);
  font-size: 18px;
  font-weight: 700;
  transition: transform 0.2s ease, filter 0.2s ease;
}

.submit-button svg {
  width: 22px;
  height: 22px;
  stroke-width: 1.75;
}

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

.form-status {
  min-height: 24px;
  margin: 0;
  color: rgba(248, 250, 252, 0.5);
  font-size: 15px;
}

.form-status.is-error   { color: #fca5a5; }
.form-status.is-success { color: #cce4b6; }

.footer-bar {
  border-top: 1px solid var(--footer-border);
}

.footer-shell {
  min-height: 96px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 20px;
  color: rgba(248, 250, 252, 0.3);
  font-size: 14px;
}

.footer-mark {
  width: 44px;
  height: 44px;
  font-size: 15px;
}

.footer-top-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: rgba(248, 250, 252, 0.28);
  font-size: 14px;
  transition: color 0.2s ease;
}

.footer-top-link svg {
  width: 16px;
  height: 16px;
  stroke-width: 1.7;
}

/* ─── Breakpoint: 1200px ─────────────────── */

@media (max-width: 1200px) {
  :root {
    --shell-padding: 48px;
  }

  .section-title-block h2,
  .contact-copy h2 {
    font-size: 44px;
  }

  .service-heading-row h3,
  .timeline-copy h3,
  .estate-service-card h3,
  .process-card h3 {
    font-size: 20px;
  }

  .metric-item strong {
    font-size: 40px;
  }
}

/* ─── Breakpoint: 960px ──────────────────── */

@media (max-width: 960px) {
  :root {
    --shell-padding: 24px;
  }

  .viewport-guides {
    display: none;
  }

  .site-nav {
    display: none;
  }

  .nav-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
  }

  .nav-toggle svg {
    width: 24px;
    height: 24px;
    stroke-width: 1.8;
  }

  .hero {
    min-height: 680px;
  }

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

  .hero-shell {
    min-height: 680px;
    padding-top: 64px;
  }

  .page-hero-shell {
    min-height: 460px;
    padding-top: 112px;
    padding-bottom: 56px;
  }

  .hero-copy {
    max-width: 100%;
  }

  .hero-line {
    margin-bottom: 32px;
  }

  .hero h1 {
    font-size: clamp(2.8rem, 9vw, 4rem);
  }

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

  .philosophy-shell,
  .company-grid,
  .contact-shell,
  .service-grid,
  .field-grid,
  .overview-grid,
  .estate-service-grid,
  .process-grid {
    grid-template-columns: 1fr;
  }

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

  .section-space,
  .contact-shell {
    padding-block: 72px;
  }

  .services-title-block,
  .company-title-block {
    margin-bottom: 56px;
  }

  .service-copy {
    padding: 24px 24px 32px;
  }

  .overview-stats {
    gap: 20px;
  }

  .overview-media-copy,
  .estate-service-card,
  .process-card {
    padding: 24px;
  }

  .service-number {
    top: 20px;
    left: 24px;
  }

  .service-icon-box {
    left: 24px;
    bottom: 20px;
    width: 60px;
    height: 60px;
  }

  .service-heading-row {
    flex-direction: column;
    align-items: flex-start;
    gap: 4px;
  }

  .company-row {
    grid-template-columns: 1fr;
    gap: 12px;
    padding: 24px 0;
  }

  .timeline-list {
    padding-left: 28px;
  }

  .timeline-item {
    padding-left: 28px;
  }

  .timeline-dot {
    width: 20px;
    height: 20px;
  }

  .timeline-dot::after {
    inset: 5px;
  }

  .map-card {
    margin-top: 48px;
  }

  .contact-info-list {
    margin-top: 48px;
    gap: 32px;
  }

  .footer-shell {
    min-height: 88px;
    flex-direction: column;
    justify-content: center;
  }
}

/* ─── Breakpoint: 640px ──────────────────── */

@media (max-width: 640px) {
  .brand-mark {
    width: 52px;
    height: 52px;
    font-size: 19px;
  }

  .brand-name-ja {
    font-size: 16px;
  }

  .section-title-block h2,
  .contact-copy h2 {
    font-size: 34px;
  }

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

  .page-title {
    font-size: 2.5rem;
  }

  .eyebrow,
  .section-label,
  .timeline-label {
    font-size: 11px;
  }

  .hero-text,
  .philosophy-copy,
  .contact-intro,
  .overview-copy,
  .page-lead {
    font-size: 15px;
  }

  .service-copy > p,
  .timeline-copy p:last-child,
  .estate-service-card p,
  .process-card p {
    font-size: 14px;
  }

  .metric-item strong {
    font-size: 32px;
  }

  .metric-item span {
    font-size: 13px;
  }

  .breadcrumb {
    flex-wrap: wrap;
    row-gap: 6px;
    margin-bottom: 24px;
  }

  .overview-stats,
  .estate-gallery-grid {
    grid-template-columns: 1fr;
  }

  .field span {
    font-size: 13px;
  }

  .submit-button {
    width: 100%;
    min-width: 0;
    height: 56px;
    font-size: 17px;
  }

  .field input {
    height: 52px;
    font-size: 16px;
  }

  .field textarea {
    min-height: 180px;
    font-size: 16px;
  }

  .footer-brand,
  .footer-top-link {
    font-size: 13px;
  }
}

/* ─── Scroll reveal ──────────────────────── */

[data-reveal] {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.65s ease, transform 0.65s ease;
}

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

[data-reveal][data-delay="1"] { transition-delay: 0.1s; }
[data-reveal][data-delay="2"] { transition-delay: 0.2s; }
[data-reveal][data-delay="3"] { transition-delay: 0.3s; }
[data-reveal][data-delay="4"] { transition-delay: 0.4s; }

/* ─── Reduced motion ─────────────────────── */

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  [data-reveal] {
    opacity: 1;
    transform: none;
    transition: none;
  }

  *,
  *::before,
  *::after {
    transition: none !important;
    animation: none !important;
  }
}
