:root {
  --navy: #10251e;
  --blue: #19745a;
  --cyan: #c6a461;
  --mint: #d9bd7a;
  --ink: #142033;
  --text: #435064;
  --muted: #728095;
  --line: #dbe5f2;
  --soft: #f4f8fc;
  --panel: #eaf2fb;
  --white: #fff;
  --max: 1180px;
  --wide: 1320px;
  --shadow: 0 24px 70px rgba(8, 30, 64, .12);
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  color: var(--ink);
  background: #fff;
  font-family: "Noto Sans JP", system-ui, sans-serif;
  font-size: 16px;
  line-height: 1.8;
  letter-spacing: 0;
}

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

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  border-bottom: 1px solid rgba(219, 229, 242, .85);
  background: rgba(255, 255, 255, .9);
  backdrop-filter: blur(18px);
}

.header-inner {
  width: min(var(--wide), calc(100% - 48px));
  height: 82px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
}

.logo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--navy);
  font-family: "Open Sans", sans-serif;
  font-size: 25px;
  font-weight: 700;
  line-height: 1;
  white-space: nowrap;
}

.logo::before {
  content: "";
  width: 34px;
  height: 34px;
  border-radius: 9px;
  background: linear-gradient(135deg, var(--blue), var(--cyan));
  box-shadow: 0 10px 24px rgba(25, 116, 90, .28);
}

.nav {
  display: flex;
  align-items: center;
  gap: 26px;
  color: #27364d;
  font-size: 14px;
  font-weight: 500;
  white-space: nowrap;
}

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

.nav a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 2px;
  width: 0;
  height: 2px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--blue), var(--cyan));
  transition: width .25s ease;
}

.nav a:hover::after { width: 100%; }

.hero {
  position: relative;
  min-height: 760px;
  overflow: hidden;
  color: #fff;
  background:
    linear-gradient(90deg, rgba(7, 22, 47, .94) 0%, rgba(7, 22, 47, .78) 43%, rgba(7, 22, 47, .18) 100%),
    url("../img/images/real-estate-hero.png") center right / cover no-repeat;
}

.hero::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 160px;
  background: linear-gradient(0deg, #fff 0%, rgba(255,255,255,0) 100%);
}

.hero-inner {
  position: relative;
  z-index: 1;
  width: min(var(--wide), calc(100% - 48px));
  min-height: 760px;
  margin: 0 auto;
  display: grid;
  align-content: center;
  padding: 76px 0 120px;
}

.eyebrow {
  display: inline-flex;
  width: fit-content;
  align-items: center;
  gap: 10px;
  margin-bottom: 22px;
  padding: 8px 14px;
  border: 1px solid rgba(255,255,255,.3);
  border-radius: 999px;
  background: rgba(255,255,255,.12);
  color: #dff9ff;
  font-family: "Open Sans", sans-serif;
  font-size: 13px;
  font-weight: 600;
}

.hero h1 {
  max-width: 790px;
  margin: 0;
  font-size: clamp(42px, 6vw, 76px);
  line-height: 1.12;
  font-weight: 700;
}

.hero p {
  max-width: 680px;
  margin: 28px 0 0;
  color: #e7f2ff;
  font-size: 18px;
}

.hero-actions,
.button-row {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  margin-top: 42px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 210px;
  min-height: 56px;
  padding: 14px 24px;
  border: 1px solid rgba(25, 116, 90, .22);
  border-radius: 6px;
  background: linear-gradient(135deg, var(--blue), var(--cyan));
  color: #fff;
  font-weight: 700;
  box-shadow: 0 14px 34px rgba(25, 116, 90, .25);
  transition: transform .22s ease, box-shadow .22s ease;
}

.button:hover {
  transform: translateY(-2px);
  box-shadow: 0 18px 42px rgba(25, 116, 90, .32);
}

.button.secondary {
  background: #fff;
  color: var(--blue);
  box-shadow: none;
}

.metrics {
  position: relative;
  z-index: 2;
  width: min(var(--max), calc(100% - 48px));
  margin: -78px auto 0;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  overflow: hidden;
  border: 1px solid rgba(219, 229, 242, .9);
  border-radius: 8px;
  background: #fff;
  box-shadow: var(--shadow);
}

.metric {
  padding: 30px;
  border-right: 1px solid var(--line);
}

.metric:last-child { border-right: 0; }

.metric strong {
  display: block;
  color: var(--blue);
  font-family: "Open Sans", sans-serif;
  font-size: 34px;
  line-height: 1.1;
}

.metric span {
  color: var(--muted);
  font-size: 13px;
}

.page-title {
  position: relative;
  overflow: hidden;
  background: linear-gradient(135deg, #07162f 0%, #245744 58%, #c6a461 100%);
  color: #fff;
}

.page-title::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 15% 20%, rgba(198,164,97,.25), transparent 28%),
    linear-gradient(90deg, rgba(255,255,255,.08) 1px, transparent 1px),
    linear-gradient(rgba(255,255,255,.08) 1px, transparent 1px);
  background-size: auto, 58px 58px, 58px 58px;
}

.page-title-inner {
  position: relative;
  width: min(var(--max), calc(100% - 48px));
  min-height: 300px;
  margin: 0 auto;
  display: grid;
  align-content: center;
}

.page-title .en {
  color: #b8efff;
  font-family: "Open Sans", sans-serif;
  font-weight: 700;
  text-transform: uppercase;
}

.page-title h1 {
  margin: 8px 0 0;
  font-size: clamp(34px, 5vw, 56px);
  line-height: 1.2;
}

.main {
  display: flex;
  flex-direction: column;
  gap: 110px;
  padding: 110px 0;
}

.main.home { padding-top: 90px; }

.section { width: 100%; }

.inner,
.wide {
  width: min(var(--max), calc(100% - 48px));
  margin: 0 auto;
}

.wide { width: min(var(--wide), calc(100% - 48px)); }

.section.soft {
  padding: 100px 0;
  background: var(--soft);
}

.heading {
  max-width: 780px;
  margin: 0 auto 56px;
  text-align: center;
}

.heading h2 {
  margin: 0;
  color: var(--navy);
  font-size: clamp(30px, 4vw, 44px);
  line-height: 1.25;
}

.heading .en {
  display: inline-flex;
  margin-top: 10px;
  color: var(--blue);
  font-family: "Open Sans", sans-serif;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.lead {
  max-width: 840px;
  margin: 0 auto;
  color: var(--text);
  text-align: center;
}

.feature-grid,
.services-strip,
.archive-grid,
.job-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.feature-card,
.service-card,
.article-card,
.job-card,
.mission,
.detail,
.form {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 12px 38px rgba(8, 30, 64, .07);
}

.feature-card,
.service-card,
.job-card,
.mission {
  padding: 34px;
}

.icon {
  width: 54px;
  height: 54px;
  margin-bottom: 24px;
  display: grid;
  place-items: center;
  border-radius: 8px;
  background: linear-gradient(135deg, rgba(19,104,216,.12), rgba(198,164,97,.18));
  color: var(--blue);
}

.icon svg {
  width: 28px;
  height: 28px;
  stroke: currentColor;
  stroke-width: 1.8;
  fill: none;
}

.feature-card h3,
.service-card h3,
.work-item h3,
.job-card h3 {
  margin: 0 0 14px;
  color: var(--navy);
  font-size: 22px;
  line-height: 1.45;
}

.feature-card p,
.service-card p,
.job-card p,
.work-item p,
.detail p {
  color: var(--text);
}

.service-card {
  min-height: 100%;
  position: relative;
  overflow: hidden;
}

.service-card::after {
  content: "";
  position: absolute;
  right: -38px;
  top: -38px;
  width: 120px;
  height: 120px;
  border-radius: 999px;
  background: rgba(198,164,97,.12);
}

.work-list {
  display: grid;
  gap: 28px;
}

.work-item {
  display: grid;
  grid-template-columns: 350px 1fr;
  gap: 44px;
  align-items: center;
  padding: 26px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 12px 36px rgba(8, 30, 64, .06);
}

.visual {
  min-height: 230px;
  border-radius: 6px;
  background:
    linear-gradient(135deg, rgba(19,104,216,.86), rgba(198,164,97,.72)),
    linear-gradient(90deg, rgba(255,255,255,.2) 1px, transparent 1px),
    linear-gradient(rgba(255,255,255,.18) 1px, transparent 1px);
  background-size: auto, 32px 32px, 32px 32px;
  position: relative;
  overflow: hidden;
}

.visual::before,
.visual::after {
  content: "";
  position: absolute;
  border-radius: 999px;
  background: rgba(255,255,255,.35);
}

.visual::before {
  width: 92px;
  height: 92px;
  right: 34px;
  top: 34px;
}

.visual::after {
  width: 150px;
  height: 150px;
  left: -40px;
  bottom: -54px;
}

.article-card {
  overflow: hidden;
  transition: transform .22s ease, box-shadow .22s ease;
}

.article-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 52px rgba(8, 30, 64, .12);
}

.thumb {
  min-height: 178px;
  background:
    linear-gradient(135deg, rgba(7,22,47,.7), rgba(19,104,216,.55)),
    url("../img/images/real-estate-hero.png") center / cover no-repeat;
}

.article-body {
  padding: 22px;
}

.tag,
.label {
  display: inline-flex;
  align-items: center;
  min-height: 26px;
  padding: 3px 10px;
  border-radius: 999px;
  background: #e7f4ff;
  color: var(--blue);
  font-size: 12px;
  font-weight: 700;
}

.article-title {
  margin: 16px 0 10px;
  color: var(--navy);
  font-weight: 700;
  line-height: 1.55;
}

.date,
.detail-meta {
  color: var(--muted);
  font-size: 13px;
}

.news-list {
  display: grid;
  gap: 14px;
}

.news-row {
  display: grid;
  grid-template-columns: 120px 98px 1fr;
  gap: 20px;
  align-items: center;
  padding: 22px 26px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  transition: transform .2s ease, border-color .2s ease;
}

.news-row:hover {
  transform: translateX(4px);
  border-color: rgba(19,104,216,.35);
}

.contact-band {
  padding: 94px 0;
  color: #fff;
  background:
    linear-gradient(135deg, rgba(7,22,47,.96), rgba(15,76,144,.92)),
    url("../img/images/real-estate-hero.png") center / cover no-repeat;
}

.contact-band .heading h2,
.contact-band .lead,
.contact-band p { color: #fff; }

.contact-band .heading .en { color: #9eedff; }

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 48px;
}

.contact-card {
  padding: 34px;
  border: 1px solid rgba(255,255,255,.18);
  border-radius: 8px;
  background: rgba(255,255,255,.1);
  backdrop-filter: blur(10px);
}

.philosophy {
  color: var(--navy);
  font-family: "Noto Serif JP", serif;
  font-size: clamp(30px, 4.2vw, 46px);
  line-height: 1.45;
  text-align: center;
}

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

.mission {
  text-align: center;
  font-size: 19px;
  font-weight: 700;
}

.message-grid {
  display: grid;
  grid-template-columns: 1fr 420px;
  gap: 50px;
  align-items: center;
}

.signature {
  display: flex;
  gap: 24px;
  align-items: flex-end;
  margin-top: 28px;
}

.signature strong {
  color: var(--navy);
  font-family: "Noto Serif JP", serif;
  font-size: 30px;
  font-weight: 400;
}

.table {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
}

.table-row {
  display: grid;
  grid-template-columns: 240px 1fr;
}

.table-row + .table-row { border-top: 1px solid var(--line); }

.table-row div {
  padding: 24px 28px;
}

.table-row div:first-child {
  background: #f6f9fd;
  color: var(--navy);
  font-weight: 700;
}

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

.chip {
  padding: 9px 13px;
  border-radius: 999px;
  background: #edf6ff;
  color: var(--blue);
  font-weight: 700;
  font-size: 13px;
}

.map {
  display: grid;
  min-height: 360px;
  place-items: center;
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(19,104,216,.1), rgba(198,164,97,.14)),
    linear-gradient(90deg, #d6e4f2 1px, transparent 1px),
    linear-gradient(#d6e4f2 1px, transparent 1px);
  background-size: auto, 38px 38px, 38px 38px;
  color: var(--blue);
  font-family: "Open Sans", sans-serif;
  font-size: 42px;
  font-weight: 700;
}

.detail {
  width: min(900px, calc(100% - 48px));
  margin: 0 auto;
  padding: 44px;
}

.detail h2 {
  margin: 0 0 22px;
  color: var(--navy);
  font-size: clamp(28px, 4vw, 40px);
  line-height: 1.35;
}

.detail-meta {
  display: flex;
  gap: 14px;
  align-items: center;
  margin-bottom: 34px;
}

.detail .visual {
  min-height: 390px;
  margin-bottom: 34px;
}

.form {
  width: min(820px, 100%);
  margin: 0 auto;
  padding: 40px;
  display: grid;
  gap: 22px;
}

.field {
  display: grid;
  gap: 8px;
  color: var(--navy);
  font-weight: 700;
}

.field input,
.field textarea,
.field select {
  width: 100%;
  min-height: 54px;
  border: 1px solid var(--line);
  border-radius: 6px;
  padding: 12px 14px;
  background: #fff;
  color: var(--ink);
}

.field textarea {
  min-height: 170px;
  resize: vertical;
}

.site-footer {
  padding: 54px 0 24px;
  background: var(--navy);
  color: #d8e6f8;
}

.footer-inner {
  width: min(var(--wide), calc(100% - 48px));
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 28px;
  align-items: start;
}

.footer-info .logo {
  margin-bottom: 18px;
  color: #fff;
}

.footer-links {
  display: grid;
  justify-items: end;
  gap: 18px;
}

.sns {
  display: flex;
  gap: 12px;
}

.sns span {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--blue), var(--cyan));
}

.copy {
  width: min(var(--wide), calc(100% - 48px));
  margin: 34px auto 0;
  color: #93a9c4;
  text-align: center;
  font-size: 12px;
}

.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity .75s ease, transform .75s ease;
}

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

.float {
  animation: float 7s ease-in-out infinite;
}

@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-12px); }
}

@media (max-width: 1100px) {
  .header-inner {
    height: auto;
    padding: 22px 0;
    align-items: flex-start;
    flex-direction: column;
  }
  .nav {
    gap: 14px 22px;
    flex-wrap: wrap;
    white-space: normal;
  }
  .hero,
  .hero-inner { min-height: 650px; }
  .metrics,
  .feature-grid,
  .services-strip,
  .archive-grid,
  .job-grid,
  .mission-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .metric:nth-child(2) { border-right: 0; }
  .metric:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
  .work-item,
  .contact-grid,
  .message-grid,
  .footer-inner {
    grid-template-columns: 1fr;
  }
  .footer-links { justify-items: start; }
}

@media (max-width: 680px) {
  .header-inner,
  .inner,
  .wide,
  .page-title-inner,
  .hero-inner,
  .metrics,
  .footer-inner,
  .copy {
    width: calc(100% - 32px);
  }
  .hero,
  .hero-inner { min-height: 620px; }
  .main {
    gap: 76px;
    padding: 76px 0;
  }
  .metrics,
  .feature-grid,
  .services-strip,
  .archive-grid,
  .job-grid,
  .mission-grid {
    grid-template-columns: 1fr;
  }
  .metric {
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }
  .metric:last-child { border-bottom: 0; }
  .news-row {
    grid-template-columns: 1fr;
    gap: 8px;
  }
  .table-row {
    grid-template-columns: 1fr;
  }
  .button {
    width: 100%;
    min-width: 0;
  }
  .detail,
  .form {
    padding: 28px;
  }
}

/* Static HTML refinements. Source Sass: assets/styles.scss */
main > section {
  padding: 96px 0;
}

main > section.hero,
main > section.page-title,
main > section.metrics-section {
  padding: 0;
}

.logo span,
.logo small {
  display: block;
}

.logo small {
  margin-top: 4px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 700;
}

.page-title > .inner {
  position: relative;
  width: min(var(--max), calc(100% - 48px));
  min-height: 300px;
  margin: 0 auto;
  display: grid;
  align-content: center;
}

.page-title > .inner > .en {
  color: #b8efff;
  font-family: "Open Sans", sans-serif;
  font-weight: 700;
  text-transform: uppercase;
}

.page-title > .inner > h1 {
  margin: 8px 0 0;
  font-size: clamp(34px, 5vw, 56px);
  line-height: 1.2;
}

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

.icon {
  position: relative;
}

.icon::before,
.icon::after {
  content: "";
  position: absolute;
  border: 2px solid currentColor;
  border-radius: 4px;
}

.icon::before {
  width: 22px;
  height: 16px;
}

.icon::after {
  width: 8px;
  height: 8px;
  border-left: 0;
  border-bottom: 0;
  transform: translate(8px, -8px);
}

.icon-people::before {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  transform: translateY(-7px);
}

.icon-people::after {
  width: 28px;
  height: 14px;
  border-radius: 14px 14px 4px 4px;
  border-top: 2px solid currentColor;
  transform: translateY(10px);
}

.icon-cloud::before {
  width: 30px;
  height: 18px;
  border-radius: 999px;
}

.icon-cloud::after {
  width: 14px;
  height: 14px;
  border-radius: 50%;
  transform: translate(-6px, -8px);
}

.icon-shield::before {
  width: 24px;
  height: 28px;
  border-radius: 14px 14px 8px 8px;
}

.icon-shield::after {
  width: 10px;
  height: 6px;
  border-top: 0;
  border-left: 0;
  transform: rotate(45deg);
}

.icon-chart::before {
  width: 28px;
  height: 24px;
}

.icon-chart::after {
  width: 20px;
  height: 10px;
  border-top: 0;
  border-left: 0;
  transform: rotate(-35deg);
}

.icon-handshake::before {
  width: 28px;
  height: 16px;
  transform: rotate(-12deg);
}

.icon-handshake::after {
  width: 28px;
  height: 16px;
  transform: rotate(12deg);
}

.article-body h3 {
  margin: 16px 0 10px;
  color: var(--navy);
  font-size: 17px;
  line-height: 1.55;
}

.site-footer .logo,
.site-footer .logo small,
.footer-nav,
.footer-nav a {
  color: #fff;
}

.footer-nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 16px 24px;
  font-size: 14px;
  font-weight: 700;
}

.footer-icons {
  display: flex;
  justify-content: flex-end;
  gap: 12px;
}

.footer-icon {
  display: grid;
  width: 38px;
  height: 38px;
  place-items: center;
  border: 1px solid rgba(255,255,255,.35);
  border-radius: 50%;
  background: rgba(255,255,255,.1);
  color: #fff;
  font-family: "Open Sans", sans-serif;
  font-weight: 700;
  transition: background .2s ease, transform .2s ease;
}

.footer-icon:hover {
  background: var(--blue);
  transform: translateY(-2px);
}

@media (max-width: 1100px) {
  .footer-nav,
  .footer-icons {
    justify-content: flex-start;
  }
}

/* Creative real estate design pattern */
:root {
  --navy: #17251d;
  --blue: #2f6b4f;
  --cyan: #c79f5b;
  --ink: #1f261f;
  --text: #555f55;
  --muted: #8a9388;
  --line: #e4ddcf;
  --soft: #f7f2e8;
  --panel: #efe4d3;
  --shadow: 0 28px 80px rgba(52, 42, 27, .14);
}

body {
  background:
    linear-gradient(90deg, rgba(23, 37, 29, .035) 1px, transparent 1px),
    #fbf8f1;
  background-size: 80px 80px;
}

.site-header {
  border-bottom: 0;
  background: rgba(251, 248, 241, .82);
  box-shadow: 0 18px 50px rgba(23, 37, 29, .08);
}

.header-inner {
  height: 92px;
}

.logo {
  align-items: flex-start;
  font-family: "Noto Serif JP", serif;
  font-size: 22px;
  letter-spacing: 0;
}

.logo::before {
  width: 42px;
  height: 42px;
  border-radius: 50% 50% 50% 8px;
  background: linear-gradient(135deg, #173528, #c79f5b);
  transform: rotate(-45deg);
}

.nav {
  gap: 12px;
  padding: 8px;
  border: 1px solid rgba(199, 159, 91, .22);
  border-radius: 999px;
  background: rgba(255, 255, 255, .65);
}

.nav a {
  padding: 9px 13px;
  border-radius: 999px;
  transition: color .2s ease, background .2s ease;
}

.nav a::after {
  display: none;
}

.nav a:hover {
  color: #fff;
  background: var(--navy);
}

.hero {
  min-height: 820px;
  color: var(--navy);
  background: var(--soft);
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0 0 0 auto;
  width: min(58vw, 980px);
  background:
    linear-gradient(90deg, rgba(247, 242, 232, .12), rgba(247, 242, 232, 0)),
    url("../img/images/real-estate-hero.png") center / cover no-repeat;
  clip-path: polygon(18% 0, 100% 0, 100% 100%, 0 100%);
}

.hero::after {
  inset: 8% auto auto 7%;
  width: 190px;
  height: 190px;
  border: 1px solid rgba(199, 159, 91, .42);
  border-radius: 50%;
  background: transparent;
}

.hero-inner {
  min-height: 820px;
  display: grid;
  align-content: center;
}

.hero-copy {
  position: relative;
  z-index: 2;
  max-width: 610px;
  padding: 58px 56px;
  border: 1px solid rgba(199, 159, 91, .26);
  border-radius: 0 88px 0 0;
  background: rgba(251, 248, 241, .9);
  box-shadow: var(--shadow);
  backdrop-filter: blur(14px);
}

.hero-copy::after {
  content: "ESTATE";
  position: absolute;
  right: -28px;
  bottom: -50px;
  color: rgba(199, 159, 91, .22);
  font-family: "Open Sans", sans-serif;
  font-size: clamp(64px, 10vw, 130px);
  font-weight: 700;
  line-height: 1;
  pointer-events: none;
}

.eyebrow {
  border-color: rgba(47, 107, 79, .18);
  background: #fff;
  color: var(--blue);
}

.hero h1 {
  color: var(--navy);
  font-family: "Noto Serif JP", serif;
  font-size: clamp(44px, 6vw, 82px);
  font-weight: 600;
  line-height: 1.08;
}

.hero p {
  color: var(--text);
}

.button {
  border: 0;
  border-radius: 999px;
  background: var(--navy);
  box-shadow: 0 18px 42px rgba(23, 37, 29, .2);
}

.button.secondary {
  border: 1px solid rgba(47, 107, 79, .28);
  background: #fff;
  color: var(--navy);
}

.metrics {
  margin-top: -50px;
  grid-template-columns: repeat(4, 1fr);
  border: 0;
  border-radius: 0 42px 0 42px;
  background: var(--navy);
  color: #fff;
}

.metric {
  border-right: 1px solid rgba(255, 255, 255, .16);
}

.metric strong {
  color: var(--cyan);
}

.metric span {
  color: rgba(255, 255, 255, .72);
}

.page-title {
  background:
    linear-gradient(135deg, rgba(23, 37, 29, .92), rgba(47, 107, 79, .82)),
    url("../img/images/real-estate-hero.png") center / cover no-repeat;
}

.page-title::before {
  background:
    linear-gradient(90deg, rgba(199, 159, 91, .18) 1px, transparent 1px),
    linear-gradient(rgba(199, 159, 91, .15) 1px, transparent 1px);
  background-size: 72px 72px;
}

.heading {
  position: relative;
  text-align: left;
  margin-left: 0;
}

.heading::before {
  content: "";
  display: block;
  width: 74px;
  height: 2px;
  margin-bottom: 18px;
  background: var(--cyan);
}

.heading h2 {
  font-family: "Noto Serif JP", serif;
  font-weight: 600;
}

.lead {
  margin-left: 0;
  text-align: left;
}

.feature-grid {
  grid-template-columns: 1.15fr .92fr .92fr;
  align-items: stretch;
}

.feature-card,
.service-card,
.job-card {
  border: 0;
  border-radius: 0;
  background: #fff;
  box-shadow: none;
  position: relative;
  overflow: hidden;
}

.feature-card {
  min-height: 310px;
  padding: 42px;
  border-left: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.feature-card:first-child {
  background: var(--navy);
  color: #fff;
  border-radius: 0 80px 0 0;
}

.feature-card:first-child h3,
.feature-card:first-child p {
  color: #fff;
}

.services-strip {
  grid-template-columns: repeat(6, minmax(230px, 1fr));
  gap: 0;
  overflow-x: auto;
  padding-bottom: 12px;
}

.service-card {
  min-width: 230px;
  padding: 34px 26px;
  border-right: 1px solid var(--line);
  background: rgba(255, 255, 255, .74);
}

.service-card:nth-child(even) {
  margin-top: 44px;
  background: #fff;
}

.service-card::after {
  right: -56px;
  top: auto;
  bottom: -56px;
  border-radius: 50%;
  background: rgba(199, 159, 91, .14);
}

.work-item {
  grid-template-columns: .78fr 1fr;
  gap: 0;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: #fff;
  box-shadow: var(--shadow);
}

.work-item:nth-child(even) {
  grid-template-columns: 1fr .78fr;
}

.work-item:nth-child(even) .visual {
  order: 2;
}

.work-content {
  padding: 54px;
}

.visual {
  min-height: 360px;
  border-radius: 0;
  background:
    linear-gradient(135deg, rgba(23, 37, 29, .52), rgba(199, 159, 91, .22)),
    url("../img/images/real-estate-hero.png") center / cover no-repeat;
}

.archive-grid {
  grid-template-columns: 1.15fr .9fr .9fr;
  gap: 22px;
}

.article-card {
  border: 0;
  border-radius: 0 54px 0 0;
  background: #fff;
  box-shadow: none;
}

.article-card:first-child {
  grid-row: span 2;
}

.article-card:first-child .thumb {
  min-height: 420px;
}

.thumb {
  min-height: 230px;
  background:
    linear-gradient(135deg, rgba(23, 37, 29, .28), rgba(199, 159, 91, .12)),
    url("../img/images/real-estate-hero.png") center / cover no-repeat;
}

.article-body {
  padding: 28px 0 10px;
}

.tag,
.label,
.chip {
  border-radius: 0;
  background: rgba(199, 159, 91, .16);
  color: var(--navy);
}

.news-row {
  grid-template-columns: 130px 96px 1fr;
  border: 0;
  border-bottom: 1px solid var(--line);
  border-radius: 0;
  background: transparent;
}

.contact-band {
  background:
    linear-gradient(90deg, rgba(23, 37, 29, .94), rgba(23, 37, 29, .74)),
    url("../img/images/real-estate-hero.png") center / cover no-repeat;
}

.contact-band .heading {
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}

.contact-band .heading::before {
  margin-left: auto;
  margin-right: auto;
}

.contact-band .lead {
  margin-left: auto;
  text-align: center;
}

.mission {
  border-radius: 999px;
  background: #fff;
  box-shadow: none;
}

.table,
.detail,
.form {
  border: 0;
  border-radius: 0 54px 0 0;
  box-shadow: var(--shadow);
}

.table-row div:first-child {
  background: var(--soft);
}

.map {
  border-radius: 0 80px 0 80px;
  background:
    linear-gradient(135deg, rgba(47,107,79,.16), rgba(199,159,91,.24)),
    linear-gradient(90deg, rgba(23,37,29,.12) 1px, transparent 1px),
    linear-gradient(rgba(23,37,29,.12) 1px, transparent 1px);
  background-size: auto, 42px 42px, 42px 42px;
}

.site-footer {
  background:
    linear-gradient(135deg, #10251e, #1d3d31);
}

@media (max-width: 1100px) {
  .hero::before {
    width: 100%;
    opacity: .24;
    clip-path: none;
  }

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

  .feature-grid,
  .archive-grid,
  .work-item,
  .work-item:nth-child(even) {
    grid-template-columns: 1fr;
  }

  .work-item:nth-child(even) .visual {
    order: 0;
  }
}

@media (max-width: 680px) {
  .hero-copy {
    padding: 36px 26px;
    border-radius: 0 48px 0 0;
  }

  .metrics {
    border-radius: 0 28px 0 28px;
  }

  .services-strip {
    grid-template-columns: 1fr;
    overflow: visible;
  }

  .service-card:nth-child(even) {
    margin-top: 0;
  }

  .work-content {
    padding: 30px;
  }
}
/* Responsive hardening */
html,
body {
  overflow-x: hidden;
}

img,
svg,
video {
  max-width: 100%;
  height: auto;
}

.inner,
.wide,
.header-inner,
.footer-inner,
.copy {
  max-width: calc(100% - 32px);
}

.nav,
.footer-nav,
.hero-actions,
.button-row,
.chips,
.detail-meta {
  min-width: 0;
}

.site-header {
  width: 100%;
}

.logo {
  min-width: 0;
}

.logo span {
  overflow-wrap: anywhere;
}

.nav a,
.footer-nav a,
.button,
.tag,
.label,
.chip {
  white-space: normal;
}

.hero h1,
.page-title h1,
.heading h2,
.detail h2,
.feature-card h3,
.service-card h3,
.work-item h3,
.job-card h3,
.article-body h3 {
  overflow-wrap: anywhere;
  line-break: strict;
}

.lead,
.hero p,
.detail p,
.feature-card p,
.service-card p,
.work-item p,
.job-card p {
  overflow-wrap: anywhere;
}

.archive-grid,
.feature-grid,
.services-strip,
.job-grid,
.mission-grid,
.work-list,
.news-list {
  min-width: 0;
}

.article-card,
.feature-card,
.service-card,
.job-card,
.work-item,
.detail,
.form,
.table,
.contact-card {
  min-width: 0;
}

@media (max-width: 1180px) {
  .header-inner {
    height: auto;
    padding: 18px 0;
    align-items: flex-start;
    flex-direction: column;
  }

  .nav {
    width: 100%;
    padding-bottom: 6px;
    overflow-x: auto;
    justify-content: flex-start;
    -webkit-overflow-scrolling: touch;
  }

  .nav a {
    flex: 0 0 auto;
  }

  .hero,
  .hero-inner {
    min-height: auto;
  }

  .hero-inner {
    padding: 96px 0;
  }

  .metrics,
  .feature-grid,
  .services-strip,
  .archive-grid,
  .job-grid,
  .mission-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .work-item,
  .work-item:nth-child(even),
  .contact-grid,
  .message-grid,
  .footer-inner {
    grid-template-columns: 1fr;
  }

  .work-item:nth-child(even) .visual {
    order: 0;
  }

  .footer-nav,
  .footer-icons {
    justify-content: flex-start;
  }
}

@media (max-width: 760px) {
  main > section {
    padding: 68px 0;
  }

  main > section.hero,
  main > section.page-title,
  main > section.metrics-section {
    padding: 0;
  }

  .inner,
  .wide,
  .header-inner,
  .footer-inner,
  .copy {
    width: calc(100% - 32px);
    max-width: calc(100% - 32px);
  }

  .logo {
    font-size: 20px;
  }

  .logo::before {
    flex: 0 0 auto;
  }

  .nav {
    gap: 8px;
    font-size: 13px;
  }

  .nav a {
    padding: 8px 10px;
  }

  .hero {
    background-position: center;
  }

  .hero::before {
    width: 100%;
    opacity: .22;
    clip-path: none;
  }

  .hero::after {
    display: none;
  }

  .hero-inner {
    padding: 72px 0;
  }

  .hero-copy {
    width: 100%;
    max-width: none;
    padding: 34px 24px;
  }

  .hero-copy::after {
    right: 8px;
    bottom: -24px;
    font-size: 56px;
  }

  .eyebrow {
    max-width: 100%;
    white-space: normal;
  }

  .hero h1 {
    font-size: clamp(34px, 12vw, 48px);
  }

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

  .hero-actions,
  .button-row {
    flex-direction: column;
    align-items: stretch;
  }

  .button {
    width: 100%;
    min-width: 0;
  }

  .metrics,
  .feature-grid,
  .services-strip,
  .archive-grid,
  .job-grid,
  .mission-grid {
    grid-template-columns: 1fr;
  }

  .metrics {
    margin-top: 0;
  }

  .metric {
    border-right: 0;
    border-bottom: 1px solid rgba(255,255,255,.16);
  }

  .metric:last-child {
    border-bottom: 0;
  }

  .feature-card,
  .service-card,
  .job-card {
    padding: 28px;
  }

  .services-strip {
    overflow: visible;
  }

  .service-card {
    min-width: 0;
  }

  .service-card:nth-child(even) {
    margin-top: 0;
  }

  .work-content,
  .detail,
  .form {
    padding: 28px;
  }

  .visual,
  .detail .visual {
    min-height: 240px;
  }

  .article-card:first-child {
    grid-row: auto;
  }

  .article-card:first-child .thumb,
  .thumb {
    min-height: 220px;
  }

  .news-row {
    grid-template-columns: 1fr;
    gap: 8px;
    padding: 18px 0;
  }

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

  .table {
    overflow: visible;
  }

  .table-row {
    grid-template-columns: 1fr;
  }

  .table-row div {
    padding: 18px;
  }

  .footer-inner {
    gap: 28px;
  }

  .footer-nav {
    width: 100%;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
  }

  .footer-icons {
    justify-content: flex-start;
  }
}

@media (max-width: 420px) {
  .inner,
  .wide,
  .header-inner,
  .footer-inner,
  .copy {
    width: calc(100% - 24px);
    max-width: calc(100% - 24px);
  }

  .hero-copy,
  .feature-card,
  .service-card,
  .job-card,
  .detail,
  .form {
    padding: 22px;
  }

  .footer-nav {
    grid-template-columns: 1fr;
  }
}
/* SP/tablet navigation and magazine controls */
.nav-toggle {
  display: none;
  position: relative;
  z-index: 1001;
  width: 52px;
  height: 52px;
  border: 1px solid rgba(255,255,255,.24);
  border-radius: 999px;
  background: var(--navy);
  color: #fff;
  cursor: pointer;
}

.nav-toggle span:not(.nav-toggle-text) {
  position: absolute;
  left: 15px;
  width: 22px;
  height: 2px;
  border-radius: 999px;
  background: currentColor;
  transition: transform .24s ease, opacity .24s ease, top .24s ease;
}

.nav-toggle span:nth-child(1) { top: 17px; }
.nav-toggle span:nth-child(2) { top: 25px; }
.nav-toggle span:nth-child(3) { top: 33px; }

.nav-toggle-text {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
}

.pagination {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  margin-top: 48px;
}

.pagination a,
.pagination span {
  display: grid;
  min-width: 42px;
  height: 42px;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: #fff;
  color: var(--navy);
  font-weight: 700;
}

.pagination a[aria-current="page"] {
  background: var(--navy);
  color: #fff;
}

@media (max-width: 1180px) {
  .site-header {
    position: sticky;
  }

  .header-inner {
    height: 74px;
    padding: 0;
    align-items: center;
    flex-direction: row;
  }

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

  .site-header .nav {
    position: fixed;
    z-index: 1000;
    inset: 0 0 0 auto;
    width: min(86vw, 390px);
    height: 100dvh;
    padding: 96px 28px 32px;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    justify-content: flex-start;
    gap: 10px;
    overflow-y: auto;
    border: 0;
    border-radius: 0;
    background: var(--navy);
    color: #fff;
    box-shadow: -24px 0 60px rgba(0,0,0,.22);
    transform: translateX(108%);
    transition: transform .28s ease;
    -webkit-overflow-scrolling: touch;
  }

  .site-header .nav a {
    width: 100%;
    padding: 15px 2px;
    border-bottom: 1px solid rgba(255,255,255,.13);
    color: #fff;
    font-size: 16px;
  }

  body.nav-open {
    overflow: hidden;
  }

  body.nav-open .site-header .nav {
    transform: translateX(0);
  }

  body.nav-open .nav-toggle span:nth-child(1) {
    top: 25px;
    transform: rotate(45deg);
  }

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

  body.nav-open .nav-toggle span:nth-child(3) {
    top: 25px;
    transform: rotate(-45deg);
  }
}

@media (max-width: 760px) {
  .case-summary .mobile-slider,
  .blog-summary .mobile-slider,
  .service-summary .mobile-slider {
    display: flex;
    gap: 18px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    padding: 4px 0 18px;
    margin-right: calc((100vw - 100%) / -2);
    padding-right: 16px;
    -webkit-overflow-scrolling: touch;
  }

  .case-summary .mobile-slider > *,
  .blog-summary .mobile-slider > *,
  .service-summary .mobile-slider > * {
    flex: 0 0 min(82vw, 340px);
    scroll-snap-align: start;
  }

  .case-summary .mobile-slider::after,
  .blog-summary .mobile-slider::after,
  .service-summary .mobile-slider::after {
    content: "";
    flex: 0 0 1px;
  }

  .case-list-section .archive-grid,
  .blog-list-section .archive-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 28px;
    overflow: visible;
  }

  .news-list-section .news-list {
    display: grid;
    gap: 0;
  }

  .pagination {
    justify-content: flex-start;
    overflow-x: auto;
    padding-bottom: 8px;
    -webkit-overflow-scrolling: touch;
  }

  .pagination a,
  .pagination span {
    flex: 0 0 auto;
  }
}
