:root {
  --ink: #17201b;
  --muted: #5b665e;
  --green: #163d2d;
  --green-deep: #0f2c21;
  --green-soft: #e8eee8;
  --orange: #d96522;
  --orange-soft: #fff0e6;
  --water: #236b8e;
  --exterior: #6f7f2e;
  --garden: #387044;
  --paint: #8b5b35;
  --paper: #f6f7f3;
  --paper-2: #eef1ed;
  --line: #d8dfd7;
  --white: #ffffff;
  --shadow: 0 16px 36px rgba(24, 38, 30, 0.12);
}

/* Company overview: strong key words, controlled line breaks and a connected business flow. */
.page-about h1,
.page-about h2,
.page-about h3 {
  word-break: keep-all;
  overflow-wrap: normal;
}

.keep-text {
  display: inline-block;
  max-width: 100%;
  white-space: nowrap;
}

.has-page-bg .page-hero.company-hero {
  min-height: calc(100vh - 72px);
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  place-items: center;
  margin-top: 0;
  margin-bottom: 0;
  padding: 76px 20px 92px;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  text-align: center;
}

.company-hero .page-hero-copy {
  width: min(1040px, 100%);
  text-align: center;
}

.company-hero .region {
  margin-bottom: 22px;
  color: var(--green-deep);
  font-size: 14px;
  text-shadow: 0 2px 10px rgba(255, 255, 255, 0.96);
}

.company-hero h1 {
  margin: 0;
  font-size: 40px;
  line-height: 1;
  text-shadow: 0 3px 18px rgba(255, 255, 255, 0.92);
}

.hero-title-line {
  display: flex;
  justify-content: center;
  align-items: baseline;
  white-space: nowrap;
}

.hero-title-line + .hero-title-line {
  margin-top: 12px;
}

.hero-connector {
  color: var(--green-deep);
  font-size: clamp(30px, 3.5vw, 50px);
  font-weight: 900;
}

.hero-key {
  display: inline-block;
  font-size: clamp(70px, 7.4vw, 108px);
  line-height: 0.92;
  font-weight: 900;
}

.hero-key-land {
  color: var(--orange);
}

.hero-key-building {
  color: var(--green);
}

.hero-key-future {
  color: var(--water);
}

.company-hero-lead {
  max-width: 900px !important;
  margin: 32px auto 0;
  color: var(--green-deep) !important;
  font-size: 18px !important;
  line-height: 1.9;
  font-weight: 900;
  text-shadow: 0 2px 12px rgba(255, 255, 255, 0.98);
}

.page-about .section {
  background: rgba(255, 255, 255, 0.76);
}

.page-about .muted-section {
  background: rgba(246, 247, 243, 0.88);
}

.company-message {
  max-width: 1080px;
}

.company-message h2 {
  margin: 0 auto 34px;
  font-size: clamp(34px, 4.8vw, 58px);
  line-height: 1.32;
}

.direction-line {
  display: flex;
  justify-content: center;
  align-items: baseline;
  white-space: nowrap;
}

.section-key {
  display: inline-block;
  margin: 0 0.08em;
  font-size: 1.32em;
  line-height: 0.92;
  font-weight: 900;
}

.section-key-orange {
  color: var(--orange);
}

.section-key-green {
  color: var(--green);
}

.company-direction-copy {
  max-width: 900px;
  margin: 0 auto;
  padding-left: 26px;
  border-left: 5px solid var(--orange);
  text-align: left;
}

.company-direction-copy p {
  margin: 0;
  color: var(--green-deep);
  font-size: 17px;
  line-height: 2;
  font-weight: 750;
}

.company-direction-copy p + p {
  margin-top: 18px;
}

.company-direction-copy strong {
  color: var(--orange);
  font-size: 1.08em;
  font-weight: 900;
}

.business-section {
  background: rgba(232, 238, 232, 0.9) !important;
}

.business-flow-head {
  max-width: 920px;
  margin: 0 auto 42px;
  text-align: center;
}

.business-flow-head h2 {
  margin: 0;
  font-size: clamp(34px, 4.6vw, 55px);
  line-height: 1.28;
}

.business-flow-head > p:not(.small-label) {
  margin: 18px 0 0;
  color: var(--green-deep);
  font-size: 17px;
  font-weight: 800;
}

.construction-flow {
  display: grid;
  grid-template-columns: 188px minmax(0, 1fr) 250px;
  gap: 34px;
  align-items: stretch;
}

.flow-anchor,
.flow-destination {
  position: relative;
  display: flex;
  min-height: 218px;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.flow-anchor {
  aspect-ratio: 1;
  align-self: center;
  border: 2px solid rgba(217, 101, 34, 0.5);
  border-radius: 50%;
  color: var(--white);
  background: var(--orange);
  box-shadow: 0 16px 32px rgba(116, 55, 19, 0.2);
}

.flow-anchor::after,
.flow-trades::after {
  content: "→";
  position: absolute;
  top: 50%;
  right: -35px;
  z-index: 2;
  transform: translateY(-50%);
  color: var(--orange);
  font-size: 28px;
  font-weight: 900;
}

.flow-anchor span,
.flow-destination > span {
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0;
}

.flow-anchor strong {
  display: block;
  margin: 2px 0 8px;
  font-size: 48px;
  line-height: 1;
}

.flow-anchor small,
.flow-destination small {
  font-size: 13px;
  line-height: 1.65;
  font-weight: 800;
}

.flow-trades {
  position: relative;
  padding: 24px 0 0;
  border-top: 1px solid rgba(15, 44, 33, 0.26);
  border-bottom: 1px solid rgba(15, 44, 33, 0.26);
}

.flow-trades-label {
  margin: 0 0 18px;
  color: var(--green-deep);
  text-align: center;
  font-size: 14px;
  font-weight: 900;
}

.trade-list {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  height: calc(100% - 48px);
}

.trade-list > span {
  --trade-color: var(--green);
  display: flex;
  min-width: 0;
  padding: 20px 10px 18px;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  border-top: 5px solid var(--trade-color);
  border-right: 1px solid rgba(15, 44, 33, 0.16);
  text-align: center;
  background: rgba(255, 255, 255, 0.44);
}

.trade-list > span:last-child {
  border-right: 0;
}

.trade-list strong {
  color: var(--trade-color);
  font-size: 17px;
  line-height: 1.35;
  font-weight: 900;
}

.trade-list small {
  margin-top: 8px;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.5;
  font-weight: 800;
}

.trade-water { --trade-color: var(--water) !important; }
.trade-scaffold { --trade-color: #756146 !important; }
.trade-paint { --trade-color: var(--paint) !important; }
.trade-exterior { --trade-color: var(--exterior) !important; }
.trade-garden { --trade-color: var(--garden) !important; }

.flow-destination {
  padding: 26px 18px;
  border-top: 5px solid var(--green);
  border-bottom: 5px solid var(--green);
  color: var(--green-deep);
  background: rgba(255, 255, 255, 0.64);
}

.flow-destination > strong {
  display: flex;
  margin: 14px 0;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 3px 7px;
  font-size: 28px;
  line-height: 1.2;
}

.flow-destination em {
  color: var(--green);
  font-style: normal;
  font-weight: 900;
}

.flow-destination em:last-of-type {
  color: var(--water);
}

.flow-destination b {
  color: var(--orange);
  font-size: 17px;
}

.principle-section {
  background: rgba(255, 255, 255, 0.84) !important;
}

.principle-section-head {
  margin-bottom: 32px;
  text-align: center;
}

.principle-section-head h2 {
  margin: 0;
  color: var(--green-deep);
  font-size: clamp(30px, 4vw, 46px);
  line-height: 1.34;
}

.principle-section-head h2 strong {
  color: var(--orange);
  font-size: 1.2em;
}

.company-principles {
  gap: 22px;
}

.company-principles article {
  min-height: 286px;
  display: flex;
  padding: 28px 26px;
  flex-direction: column;
  justify-content: flex-start;
  border-radius: 8px;
}

.company-principles .principle-no {
  display: block;
  margin: 0 0 18px;
  color: var(--orange);
  font-size: 16px;
}

.company-principles article:nth-child(2) .principle-no {
  color: var(--green);
}

.company-principles article:nth-child(3) .principle-no {
  color: var(--water);
}

.company-principles h3 {
  margin: 0 0 18px;
  color: var(--green-deep);
  font-size: clamp(27px, 2.5vw, 35px);
  line-height: 1.2;
}

.company-principles h3 strong {
  color: var(--orange);
  font-size: 1.2em;
}

.company-principles article:nth-child(2) h3 strong {
  color: var(--green);
}

.company-principles article:nth-child(3) h3 strong {
  color: var(--water);
}

.company-principles p {
  margin: 0;
  color: var(--green-deep);
  font-size: 16px;
  line-height: 1.9;
  font-weight: 800;
}

.company-principles p .keep-text {
  display: inline-block;
  margin: 0;
  color: inherit;
  font-size: inherit;
  font-weight: inherit;
}

@media (max-width: 980px) {
  .construction-flow {
    grid-template-columns: 150px minmax(0, 1fr);
  }

  .flow-anchor {
    min-height: 150px;
  }

  .flow-anchor strong {
    font-size: 40px;
  }

  .flow-destination {
    grid-column: 1 / -1;
    min-height: 170px;
  }

  .flow-trades::after {
    content: "↓";
    top: auto;
    right: 50%;
    bottom: -42px;
    transform: translateX(50%);
  }
}

@media (max-width: 680px) {
  body.page-about {
    --page-bg-position: 55% center;
  }

  .has-page-bg .page-hero.company-hero {
    min-height: calc(100svh - 66px);
    width: calc(100% - 28px);
    padding: 54px 0 70px;
  }

  .company-hero .region {
    font-size: 12px;
  }

  .company-hero h1 {
    font-size: 24px;
  }

  .hero-title-line + .hero-title-line {
    margin-top: 10px;
  }

  .hero-connector {
    font-size: 24px;
  }

  .hero-key {
    font-size: 52px;
  }

  .company-hero-lead {
    margin-top: 26px;
    font-size: 15px !important;
    line-height: 1.85;
  }

  .company-message {
    text-align: center;
  }

  .company-message h2 {
    font-size: 30px;
  }

  .direction-line {
    justify-content: center;
  }

  .company-direction-copy {
    padding-left: 17px;
    border-left-width: 4px;
  }

  .company-direction-copy p,
  .business-flow-head > p:not(.small-label) {
    font-size: 15px;
    line-height: 1.9;
  }

  .business-flow-head {
    margin-bottom: 30px;
  }

  .business-flow-head h2 {
    font-size: 30px;
  }

  .construction-flow {
    grid-template-columns: 1fr;
    gap: 38px;
  }

  .flow-anchor {
    width: 168px;
    min-height: 168px;
    margin: 0 auto;
  }

  .flow-anchor::after {
    content: "↓";
    top: auto;
    right: 50%;
    bottom: -40px;
    transform: translateX(50%);
  }

  .flow-trades {
    padding-top: 18px;
  }

  .trade-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    height: auto;
  }

  .trade-list > span {
    min-height: 118px;
    border-bottom: 1px solid rgba(15, 44, 33, 0.16);
  }

  .trade-list > span:nth-child(2n) {
    border-right: 0;
  }

  .trade-list > span:last-child {
    grid-column: 1 / -1;
  }

  .flow-destination {
    grid-column: auto;
  }

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

  .principle-section-head h2 {
    font-size: 28px;
  }

  .company-principles {
    grid-template-columns: 1fr;
  }

  .company-principles article {
    min-height: 0;
    padding: 26px 22px 28px;
  }

  .company-principles h3 {
    font-size: 29px;
  }
}

@media (max-width: 380px) {
  .hero-connector {
    font-size: 21px;
  }

  .hero-key {
    font-size: 47px;
  }

  .company-message h2,
  .business-flow-head h2 {
    font-size: 27px;
  }
}

/* Search-facing FAQ and verified contact details */
.mail-link {
  display: inline-block;
  margin-top: 8px;
  color: var(--green-deep);
  font-size: clamp(18px, 2vw, 24px);
  font-weight: 900;
  text-decoration-thickness: 2px;
  text-underline-offset: 5px;
  overflow-wrap: anywhere;
}

.seo-faq-section {
  border-top: 1px solid rgba(29, 74, 59, 0.18);
  background: rgba(247, 249, 245, 0.94);
}

.seo-faq-inner {
  display: grid;
  grid-template-columns: minmax(250px, 0.72fr) minmax(0, 1.28fr);
  gap: clamp(38px, 6vw, 90px);
  align-items: start;
}

.seo-faq-head {
  position: sticky;
  top: 110px;
}

.seo-faq-head h2 {
  margin: 12px 0 20px;
  color: var(--green-deep);
  font-size: clamp(32px, 4vw, 56px);
  line-height: 1.25;
}

.seo-faq-head h2 strong {
  display: block;
  color: var(--orange);
  font-size: 1.12em;
}

.seo-faq-head > p:not(.small-label) {
  color: var(--muted);
  line-height: 1.9;
  font-weight: 750;
}

.seo-faq-list {
  border-top: 2px solid var(--green-deep);
}

.seo-faq-list details {
  border-bottom: 1px solid rgba(29, 74, 59, 0.24);
}

.seo-faq-list summary {
  position: relative;
  padding: 24px 54px 24px 0;
  color: var(--green-deep);
  font-size: clamp(18px, 2vw, 23px);
  line-height: 1.55;
  font-weight: 900;
  cursor: pointer;
  list-style: none;
}

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

.seo-faq-list summary::after {
  content: "+";
  position: absolute;
  top: 20px;
  right: 4px;
  color: var(--orange);
  font-size: 30px;
  line-height: 1;
}

.seo-faq-list details[open] summary::after {
  content: "−";
}

.seo-faq-list details p {
  margin: -4px 0 0;
  padding: 0 54px 26px 0;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.9;
  font-weight: 700;
}

@media (max-width: 760px) {
  .seo-faq-inner {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .seo-faq-head {
    position: static;
  }

  .seo-faq-list summary {
    padding: 20px 42px 20px 0;
  }

  .seo-faq-list details p {
    padding-right: 0;
  }
}

* {
  box-sizing: border-box;
  letter-spacing: 0;
}

html {
  scroll-behavior: smooth;
}

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

body.has-page-bg {
  --page-bg: url("images/home-future-land-desktop.webp");
  --page-bg-position: center center;
  position: relative;
  isolation: isolate;
  background: var(--green-deep);
}

body.has-page-bg::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -2;
  background-image: var(--page-bg);
  background-size: cover;
  background-position: var(--page-bg-position);
  background-repeat: no-repeat;
}

body.has-page-bg::after {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  display: none;
}

body.page-home {
  --page-bg: url("images/home-future-land-desktop.webp");
  --page-bg-position: center center;
}

body.page-estimate {
  --page-bg: url("images/estimate-land-change-desktop.webp");
  --page-bg-position: center center;
}

body.page-about {
  --page-bg: url("images/company-future-land-desktop.webp");
  --page-bg-position: center center;
}

body.page-works {
  --page-bg: url("images/site-confirmation-desktop.webp");
  --page-bg-position: center center;
}

body.page-contact {
  --page-bg: url("images/contact-green-view-desktop.webp");
  --page-bg-position: center center;
}

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

.reveal-item {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.62s ease var(--reveal-delay, 0ms), transform 0.62s cubic-bezier(0.22, 1, 0.36, 1) var(--reveal-delay, 0ms);
}

.reveal-item.is-visible {
  opacity: 1;
  transform: none;
}

@media (prefers-reduced-motion: reduce) {
  .reveal-item,
  .reveal-item.is-visible {
    opacity: 1;
    transform: none;
    transition: none;
  }
}

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

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.92);
  border-bottom: 1px solid var(--line);
}

.header-inner {
  width: min(1180px, calc(100% - 40px));
  min-height: 72px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 18px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-width: 190px;
  color: var(--green);
  font-weight: 900;
}

.brand-logo {
  display: block;
  width: 154px;
  height: 42px;
  object-fit: cover;
  object-position: center;
  flex: 0 0 auto;
}

.brand-mark {
  width: 36px;
  height: 36px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: #fffdf8;
  color: var(--green);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  font-size: 24px;
  font-weight: 1000;
  line-height: 1;
  letter-spacing: -0.08em;
  box-shadow: 0 6px 16px rgba(24, 38, 30, 0.08);
}

.brand-word {
  color: var(--green);
  font-size: 18px;
  font-weight: 1000;
  letter-spacing: 0.08em;
  line-height: 1;
  white-space: nowrap;
}

.brand-sub {
  padding-left: 10px;
  border-left: 1px solid var(--line);
  font-size: 13px;
  white-space: nowrap;
}

.site-nav {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 2px;
  flex: 1;
}

.site-nav a {
  padding: 9px 10px;
  border-radius: 6px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 800;
  white-space: nowrap;
}

.site-nav a:hover,
.site-nav a[aria-current="page"] {
  color: var(--green);
  background: var(--green-soft);
}

.header-cta,
.menu-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 9px 14px;
  border-radius: 6px;
  color: var(--white);
  background: var(--green);
  font-size: 13px;
  font-weight: 900;
  white-space: nowrap;
}

.menu-toggle {
  display: none;
  border: 0;
  cursor: pointer;
}

.language-switch {
  position: relative;
  flex: 0 0 auto;
}

.language-switch summary {
  min-height: 42px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 7px 10px;
  border: 1px solid rgba(15, 44, 33, 0.18);
  border-radius: 6px;
  color: var(--green-deep);
  background: rgba(255, 255, 255, 0.94);
  font-size: 13px;
  font-weight: 900;
  list-style: none;
  cursor: pointer;
}

.language-switch summary::-webkit-details-marker {
  display: none;
}

.language-switch summary small {
  font-size: 11px;
}

.language-menu {
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  z-index: 70;
  width: 148px;
  padding: 7px;
  border: 1px solid rgba(15, 44, 33, 0.18);
  border-radius: 6px;
  background: var(--white);
  box-shadow: 0 18px 38px rgba(6, 20, 14, 0.18);
}

.language-menu a {
  display: block;
  padding: 9px 10px;
  border-radius: 4px;
  color: var(--green-deep);
  font-size: 13px;
  font-weight: 800;
}

.language-menu a:hover {
  color: var(--green);
  background: var(--green-soft);
}

.hero {
  width: min(1220px, calc(100% - 40px));
  margin: 0 auto;
  padding: 52px 0 72px;
  display: grid;
  grid-template-columns: minmax(0, 0.93fr) minmax(440px, 1.07fr);
  gap: 42px;
  align-items: center;
}

.has-page-bg .hero {
  min-height: calc(100vh - 72px);
}

.page-home .hero {
  grid-template-columns: minmax(0, 980px);
  justify-content: center;
  align-items: center;
  text-align: center;
}

.hero-copy {
  padding: 28px 0;
}

.page-home .hero-copy {
  max-width: 980px;
  padding: 18px 0;
  border-left: 0;
  background: transparent;
  box-shadow: none;
}

.page-home .hero-photo {
  display: none;
}

.hero-brand-mark {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 20px;
  padding: 0;
  color: var(--white);
  background: transparent;
  border: 0;
  box-shadow: none;
  filter: drop-shadow(0 3px 1px rgba(255, 255, 255, 0.46)) drop-shadow(0 18px 28px rgba(6, 20, 14, 0.58));
}

.hero-brand-logo {
  display: block;
  width: min(286px, 52vw);
  height: 78px;
  object-fit: cover;
  object-position: center;
  border-radius: 0;
  background: transparent;
}

.hero-brand-icon {
  width: 58px;
  height: 58px;
  border-radius: 999px;
  background: rgba(255, 253, 248, 0.96);
  color: var(--green);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  font-size: 40px;
  font-weight: 1000;
  line-height: 1;
  letter-spacing: -0.08em;
  box-shadow: 0 10px 26px rgba(6, 20, 14, 0.22);
}

.hero-brand-word {
  color: var(--white);
  font-size: clamp(34px, 4vw, 54px);
  font-weight: 1000;
  letter-spacing: 0.08em;
  line-height: 1;
  text-shadow: 0 3px 16px rgba(6, 20, 14, 0.88);
  white-space: nowrap;
}

.hero-brand-mark strong {
  padding-left: 16px;
  border-left: 2px solid rgba(255, 255, 255, 0.62);
  color: var(--white);
  font-size: 20px;
  font-weight: 900;
  text-shadow: 0 3px 14px rgba(6, 20, 14, 0.82);
  white-space: nowrap;
}

.region,
.small-label {
  margin: 0 0 14px;
  color: var(--orange);
  font-size: 13px;
  font-weight: 900;
}

.region span {
  display: inline-block;
}

.region span + span::before {
  content: " / ";
}

.hero h1,
.page-hero h1 {
  margin: 0;
  color: var(--green-deep);
  font-size: 48px;
  line-height: 1.22;
  font-weight: 900;
}

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

.hero h1 .h1-line {
  display: block;
  word-break: keep-all;
  overflow-wrap: normal;
  white-space: nowrap;
}

.hero h1 .h1-line + .h1-line {
  color: var(--green-deep);
}

.page-home .region,
.page-home .hero h1,
.page-home .hero-lead {
  text-shadow: 0 3px 18px rgba(6, 20, 14, 0.72), 0 1px 2px rgba(6, 20, 14, 0.42);
}

.page-home .hero h1 {
  color: var(--white);
  font-size: 64px;
  line-height: 1.08;
}

.page-home .hero h1 span,
.page-home .hero h1 .h1-line + .h1-line {
  color: var(--white);
}

.page-home .hero h1 em {
  font-style: normal;
}

.page-home .hero h1 em:nth-child(1) {
  color: #fff7db;
}

.page-home .hero h1 em:nth-child(2) {
  color: #e8fff2;
}

.page-home .hero h1 .future-word {
  color: #ffb46f;
}

.page-home .hero-lead {
  max-width: 760px;
  margin-right: auto;
  margin-left: auto;
  color: rgba(255, 255, 255, 0.94);
  font-size: 17px;
  font-weight: 700;
}

.page-home .hero-lead strong {
  color: #ffcf9d;
  font-weight: 900;
}

.hero-lead,
.page-hero-copy p,
.intro-text p,
.service-lead p,
.works-copy p,
.about-layout p,
.statement p,
.business-layout p,
.final-cta p {
  color: var(--muted);
  font-size: 16px;
}

.hero-lead {
  max-width: 660px;
  margin: 22px 0 28px;
}

.hero-actions,
.final-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
}

.page-home .hero-actions {
  justify-content: center;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 12px 20px;
  border-radius: 6px;
  border: 1px solid transparent;
  font-size: 14px;
  font-weight: 900;
  transition: transform 0.16s ease, background 0.16s ease, border-color 0.16s ease;
}

.btn:hover {
  transform: translateY(-1px);
}

.btn-line {
  color: var(--white);
  background: var(--green);
}

.btn-outline {
  color: var(--green);
  background: rgba(255, 255, 255, 0.9);
  border-color: rgba(15, 44, 33, 0.18);
}

.btn-solid {
  color: var(--white);
  background: var(--orange);
}

.btn-photo {
  position: relative;
  padding-right: 44px;
  overflow: hidden;
}

.btn-photo::after {
  content: "";
  position: absolute;
  top: 50%;
  right: 18px;
  width: 10px;
  height: 10px;
  border-radius: 999px;
  background: #8cffb7;
  transform: translateY(-50%);
  box-shadow: 0 0 0 0 rgba(140, 255, 183, 0.52);
  animation: photoPing 1.9s ease-out infinite;
}

.btn-estimate {
  color: var(--green-deep);
  background: rgba(255, 255, 255, 0.92);
}

@keyframes photoPing {
  0% {
    box-shadow: 0 0 0 0 rgba(140, 255, 183, 0.52);
  }

  70% {
    box-shadow: 0 0 0 10px rgba(140, 255, 183, 0);
  }

  100% {
    box-shadow: 0 0 0 0 rgba(140, 255, 183, 0);
  }
}

.text-link {
  display: inline-flex;
  align-items: center;
  color: var(--green);
  font-weight: 900;
  border-bottom: 2px solid var(--orange);
}

.phone-link {
  color: var(--green);
  font-size: 22px;
  font-weight: 900;
}

.hero-facts {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  margin: 34px 0 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.hero-facts div {
  padding: 16px 18px;
  border-right: 1px solid var(--line);
}

.hero-facts div:last-child {
  border-right: 0;
}

.hero-facts dt {
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
}

.hero-facts dd {
  margin: 4px 0 0;
  color: var(--green-deep);
  font-size: 14px;
  font-weight: 900;
}

.hero-photo {
  margin: 0;
  position: relative;
}

.hero-photo picture {
  display: block;
}

.hero-photo img {
  width: 100%;
  height: 580px;
  object-fit: cover;
  object-position: center;
  border-radius: 8px;
}

.hero-photo figcaption {
  position: absolute;
  left: 22px;
  right: 22px;
  bottom: 22px;
  padding: 14px 16px;
  border-radius: 6px;
  color: var(--white);
  background: rgba(15, 44, 33, 0.86);
  font-size: 13px;
  font-weight: 800;
}

.section {
  position: relative;
  overflow: hidden;
  padding: 76px 0;
  background: rgba(255, 255, 255, 0.58);
}

.section::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    repeating-linear-gradient(135deg, rgba(15, 44, 33, 0.055) 0 1px, transparent 1px 18px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.18), rgba(255, 255, 255, 0));
  opacity: 0.8;
}

.section-inner {
  position: relative;
  z-index: 1;
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
}

.intro-band {
  background: rgba(246, 247, 243, 0.78);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.context-strip {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  margin: 0 0 44px;
  padding: 0;
  border-top: 1px solid rgba(15, 44, 33, 0.2);
  border-bottom: 1px solid rgba(15, 44, 33, 0.2);
}

.context-strip div {
  padding: 17px 22px;
  border-right: 1px solid rgba(15, 44, 33, 0.16);
}

.context-strip div:last-child {
  border-right: 0;
}

.context-strip dt {
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
}

.context-strip dd {
  margin: 4px 0 0;
  color: var(--green-deep);
  font-size: 15px;
  font-weight: 900;
}

.intro-grid {
  display: grid;
  grid-template-columns: 0.8fr 1fr;
  gap: 56px;
  align-items: start;
}

.intro-pitch h2 {
  font-size: 38px;
  line-height: 1.34;
}

.intro-hook {
  margin-top: 24px;
  padding: 20px 22px 20px 24px;
  border-left: 6px solid var(--orange);
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.82), rgba(255, 255, 255, 0.42)),
    repeating-linear-gradient(135deg, rgba(217, 101, 34, 0.1) 0 1px, transparent 1px 14px);
}

.intro-hook strong {
  display: block;
  color: var(--green-deep);
  font-size: 22px;
  line-height: 1.45;
  font-weight: 900;
}

.intro-hook p {
  margin: 10px 0 0;
  color: var(--muted);
  font-size: 15px;
  font-weight: 700;
}

.intro-quick-flow {
  counter-reset: intro-flow;
  list-style: none;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  margin: 22px 0 0;
  padding: 0;
  border-top: 1px solid rgba(15, 44, 33, 0.22);
  border-bottom: 1px solid rgba(15, 44, 33, 0.22);
}

.intro-quick-flow li {
  position: relative;
  padding: 18px 14px;
  text-align: center;
  border-right: 1px solid rgba(15, 44, 33, 0.16);
  background: rgba(255, 255, 255, 0.36);
}

.intro-quick-flow li:last-child {
  border-right: 0;
}

.intro-quick-flow span {
  display: block;
  margin-bottom: 8px;
  color: var(--orange);
  font-size: 12px;
  font-weight: 900;
}

.intro-quick-flow strong {
  color: var(--green-deep);
  font-size: 15px;
  line-height: 1.35;
  font-weight: 900;
}

.diagnosis-panel {
  margin-top: 28px;
  padding: 24px 0 0;
  border-top: 1px solid rgba(15, 44, 33, 0.22);
}

.diagnosis-head {
  display: grid;
  grid-template-columns: 120px 1fr;
  gap: 18px;
  align-items: start;
}

.diagnosis-head span {
  color: var(--orange);
  font-size: 13px;
  font-weight: 900;
}

.diagnosis-head strong {
  color: var(--green-deep);
  font-size: 21px;
  line-height: 1.45;
}

.diagnosis-tabs {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  margin-top: 22px;
  border-top: 1px solid rgba(15, 44, 33, 0.18);
  border-bottom: 1px solid rgba(15, 44, 33, 0.18);
}

.diagnosis-tabs a {
  min-height: 54px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-right: 1px solid rgba(15, 44, 33, 0.14);
  color: var(--topic, var(--green-deep));
  font-size: 16px;
  font-weight: 900;
  transition: color 0.16s ease, background 0.16s ease;
}

.diagnosis-tabs a:last-child {
  border-right: 0;
}

.diagnosis-tabs a:hover {
  color: var(--white);
  background: var(--topic, var(--green));
}

.topic-demolition {
  --topic: var(--orange);
}

.topic-akiya {
  --topic: var(--green);
}

.topic-exterior {
  --topic: var(--exterior);
}

.topic-water {
  --topic: var(--water);
}

.topic-docs {
  --topic: #7d5fb2;
}

.topic-unknown {
  --topic: #6d6f76;
}

.estimate-action-zone {
  position: relative;
  display: grid;
  place-items: center;
  gap: 7px;
  margin-top: 24px;
  padding: 24px 64px 24px 34px;
  overflow: hidden;
  border: 0;
  color: var(--white);
  text-align: center;
  background:
    linear-gradient(135deg, #f07a25 0%, #d96522 42%, #8f3514 100%);
  box-shadow:
    0 22px 42px rgba(143, 53, 20, 0.26),
    inset 0 -8px 0 rgba(6, 20, 14, 0.18);
  isolation: isolate;
}

.estimate-action-zone::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    repeating-linear-gradient(135deg, rgba(255, 255, 255, 0.24) 0 2px, transparent 2px 18px),
    radial-gradient(circle at 15% 50%, rgba(255, 255, 255, 0.28), transparent 32%);
  opacity: 0.58;
}

.estimate-action-zone::after {
  content: "→";
  position: absolute;
  right: 24px;
  top: 50%;
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border: 2px solid rgba(255, 255, 255, 0.72);
  border-radius: 999px;
  transform: translateY(-50%);
  font-size: 24px;
  font-weight: 900;
}

.estimate-action-zone span {
  font-size: 30px;
  line-height: 1.12;
  font-weight: 900;
}

.estimate-action-zone small {
  color: rgba(255, 255, 255, 0.84);
  font-size: 14px;
  font-weight: 800;
}

h2 {
  margin: 0;
  color: var(--green-deep);
  font-size: 34px;
  line-height: 1.42;
  font-weight: 900;
}

.text-accent {
  color: var(--orange);
}

.h2-line {
  display: block;
}

h3 {
  margin: 0;
  color: var(--green-deep);
  font-size: 18px;
  line-height: 1.45;
}

.split-head,
.section-head {
  margin-bottom: 30px;
}

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

.estimate-flow-map {
  display: grid;
  grid-template-columns: 0.74fr 1.26fr;
  gap: 32px;
  align-items: stretch;
  margin-bottom: 30px;
  padding: 0 0 30px;
  border-bottom: 1px solid rgba(15, 44, 33, 0.2);
}

.flow-copy {
  padding-right: 24px;
  border-right: 1px solid rgba(15, 44, 33, 0.18);
}

.flow-copy strong {
  display: block;
  color: var(--green-deep);
  font-size: 28px;
  line-height: 1.38;
  font-weight: 900;
}

.flow-copy p:not(.small-label) {
  margin: 14px 0 0;
  color: var(--muted);
  font-size: 15px;
}

.visual-flow-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}

.visual-flow-card {
  position: relative;
  min-height: 300px;
  display: flex;
  flex-direction: column;
  justify-content: end;
  overflow: hidden;
  color: var(--white);
  isolation: isolate;
  background: var(--green-deep);
  transition: transform 0.18s ease, filter 0.18s ease;
}

.visual-flow-card:hover {
  transform: translateY(-3px);
}

.visual-flow-card img {
  position: absolute;
  inset: 0;
  z-index: -2;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.visual-flow-card picture {
  display: contents;
}

.visual-flow-card::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(0deg, rgba(6, 20, 14, 0.86), rgba(6, 20, 14, 0.36) 54%, rgba(6, 20, 14, 0.04)),
    repeating-linear-gradient(135deg, rgba(255, 255, 255, 0.14) 0 1px, transparent 1px 16px);
}

.visual-flow-card span,
.visual-flow-card strong,
.visual-flow-card small {
  position: relative;
  margin-right: 18px;
  margin-left: 18px;
}

.visual-flow-card span {
  width: fit-content;
  margin-bottom: 10px;
  padding: 5px 10px;
  color: var(--white);
  background: var(--orange);
  font-size: 13px;
  font-weight: 900;
}

.visual-flow-card strong {
  font-size: 28px;
  line-height: 1.2;
  font-weight: 900;
}

.visual-flow-card small {
  margin-top: 10px;
  margin-bottom: 24px;
  color: rgba(255, 255, 255, 0.84);
  font-size: 14px;
  line-height: 1.5;
  font-weight: 800;
}

.flow-photo {
  animation: photoLift 3.2s ease-in-out infinite;
}

@keyframes photoLift {
  0%,
  100% {
    filter: brightness(1);
  }

  50% {
    filter: brightness(1.08);
  }
}

.flow-path {
  counter-reset: flow;
  list-style: none;
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  margin: 0;
  padding: 0;
  border-top: 1px solid rgba(15, 44, 33, 0.18);
  border-bottom: 1px solid rgba(15, 44, 33, 0.18);
  background: rgba(255, 255, 255, 0.62);
}

.flow-path li {
  --step: var(--orange);
  position: relative;
  padding: 28px 20px 26px;
  border-right: 1px solid rgba(15, 44, 33, 0.14);
  text-align: center;
}

.flow-path .step-photo {
  --step: var(--orange);
}

.flow-path .step-select {
  --step: var(--green);
}

.flow-path .step-price {
  --step: var(--water);
}

.flow-path .step-line {
  --step: #7d5fb2;
}

.flow-path li:last-child {
  border-right: 0;
}

.flow-path li:not(:last-child)::after {
  content: "→";
  position: absolute;
  right: -16px;
  top: 50%;
  z-index: 1;
  width: 32px;
  height: 32px;
  display: grid;
  place-items: center;
  transform: translateY(-50%);
  color: var(--step);
  background: rgba(255, 255, 255, 0.98);
  font-size: 18px;
  font-weight: 900;
}

.flow-path span {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  margin: 0 auto 14px;
  color: var(--white);
  background: var(--step);
  font-size: 13px;
  font-weight: 900;
}

.flow-path strong {
  display: block;
  color: var(--step);
  font-size: 28px;
  line-height: 1.15;
  font-weight: 900;
}

.flow-path small {
  display: block;
  margin-top: 10px;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.55;
  font-weight: 800;
}

.estimate-flow-map .estimate-action-zone {
  grid-column: 1 / -1;
  margin-top: 0;
}

.estimate-action-zone.is-wide {
  grid-template-columns: 1fr;
  min-height: 112px;
  justify-items: center;
}

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

.issue-tap-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0 28px;
  border-top: 1px solid rgba(15, 44, 33, 0.2);
}

.issue-tap-list .issue-card {
  min-height: 0;
  display: grid;
  grid-template-columns: 42px 1fr;
  gap: 8px 14px;
  padding: 18px 0;
  border: 0;
  border-bottom: 1px solid rgba(15, 44, 33, 0.18);
  border-left: 4px solid transparent;
  border-radius: 0;
  background: transparent;
  transition: color 0.16s ease, padding-left 0.16s ease, border-color 0.16s ease;
}

.issue-tap-list .issue-card:hover {
  padding-left: 10px;
  border-left-color: var(--topic, var(--orange));
  border-bottom-color: var(--topic, var(--orange));
  box-shadow: none;
}

.issue-tap-list .issue-card span {
  grid-row: span 2;
  margin: 0;
  color: var(--topic, var(--orange));
}

.issue-tap-list .issue-card strong {
  color: var(--topic, var(--green-deep));
  font-size: 16px;
}

.issue-tap-list .issue-card small {
  margin: 0;
}

.issue-card,
.estimate-card {
  display: block;
  min-height: 168px;
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
}

.issue-card span,
.estimate-card span,
.flow-list span,
.principle-list span {
  display: block;
  margin-bottom: 16px;
  color: var(--orange);
  font-size: 13px;
  font-weight: 900;
}

.issue-card strong,
.estimate-card strong {
  display: block;
  color: var(--green-deep);
  font-size: 18px;
  line-height: 1.45;
}

.issue-card small,
.estimate-card small {
  display: block;
  margin-top: 10px;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.6;
}

.issue-card:hover {
  border-color: var(--green);
  box-shadow: var(--shadow);
}

.estimate-boost {
  position: relative;
  min-height: 220px;
  margin-bottom: 22px;
  overflow: hidden;
  border-radius: 8px;
  background: var(--green-deep);
}

.estimate-boost img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.62;
}

.estimate-boost::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(15, 44, 33, 0.92), rgba(15, 44, 33, 0.62), rgba(15, 44, 33, 0.1));
}

.estimate-boost div {
  position: relative;
  z-index: 1;
  max-width: 560px;
  padding: 30px;
  color: var(--white);
}

.estimate-boost strong {
  display: block;
  font-size: 26px;
  line-height: 1.35;
  font-weight: 900;
}

.estimate-boost p {
  margin: 12px 0 0;
  color: rgba(255, 255, 255, 0.88);
  font-size: 15px;
}

.service-section {
  background: rgba(255, 255, 255, 0.72);
}

.service-layout {
  display: grid;
  grid-template-columns: 0.86fr 1.14fr;
  gap: 50px;
  align-items: start;
}

.service-lead {
  position: sticky;
  top: 104px;
}

.service-list {
  border-top: 1px solid var(--line);
}

.service-row {
  --service: var(--green);
  display: grid;
  grid-template-columns: 150px 1fr;
  gap: 22px;
  padding: 22px 0;
  border-bottom: 1px solid var(--line);
  border-left: 4px solid transparent;
  align-items: center;
  transition: background 0.16s ease, padding 0.16s ease;
}

.service-row:hover {
  padding-left: 12px;
  border-left-color: var(--service);
  background: var(--paper);
}

.service-demolition {
  --service: var(--orange);
}

.service-water {
  --service: var(--water);
}

.service-exterior {
  --service: var(--exterior);
}

.service-garden {
  --service: var(--garden);
}

.service-painting {
  --service: var(--paint);
}

.service-row img {
  width: 150px;
  height: 104px;
  object-fit: cover;
  border-radius: 6px;
}

.service-row p {
  margin: 7px 0 0;
  color: var(--muted);
  font-size: 14px;
}

.service-chip {
  display: inline-flex;
  margin: 0 0 8px;
  padding: 2px 8px;
  color: var(--white);
  background: var(--service);
  font-size: 12px;
  font-weight: 900;
}

.service-row h3 {
  color: var(--service);
}

.service-link {
  display: inline-flex;
  margin-top: 10px;
  color: var(--service);
  font-size: 13px;
  font-weight: 900;
}

.works-preview,
.muted-section {
  background: rgba(246, 247, 243, 0.8);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.works-layout {
  display: grid;
  grid-template-columns: 0.78fr 1.22fr;
  gap: 42px;
  align-items: center;
}

.works-copy .btn {
  margin-top: 18px;
}

.works-copy h2 {
  font-size: 38px;
  line-height: 1.34;
}

.works-proof-cards {
  display: grid;
  gap: 0;
  margin: 22px 0 4px;
  border-top: 1px solid rgba(15, 44, 33, 0.2);
  border-bottom: 1px solid rgba(15, 44, 33, 0.2);
}

.works-proof-cards p {
  display: grid;
  grid-template-columns: 72px 1fr;
  gap: 14px;
  align-items: center;
  margin: 0;
  padding: 14px 0;
  border-bottom: 1px solid rgba(15, 44, 33, 0.14);
}

.works-proof-cards p:last-child {
  border-bottom: 0;
}

.works-proof-cards strong {
  display: inline-grid;
  place-items: center;
  min-height: 36px;
  color: var(--white);
  background: var(--orange);
  font-size: 14px;
  font-weight: 900;
}

.works-proof-cards p:nth-child(2) strong {
  background: var(--green);
}

.works-proof-cards p:nth-child(3) strong {
  background: var(--water);
}

.works-proof-cards span {
  color: var(--green-deep);
  font-size: 16px;
  font-weight: 900;
}

.animated-works {
  position: relative;
  min-height: 392px;
  border-radius: 8px;
  overflow: hidden;
  background: var(--green-deep);
}

.work-slide {
  position: absolute;
  inset: 0;
  margin: 0;
  opacity: 0;
  animation: workFade 15s infinite;
}

.work-slide.is-two {
  animation-delay: 5s;
}

.work-slide.is-three {
  animation-delay: 10s;
}

.work-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.work-slide::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg, rgba(15, 44, 33, 0.82), rgba(15, 44, 33, 0.05) 52%);
}

.work-slide figcaption {
  position: absolute;
  left: 18px;
  right: 18px;
  bottom: 18px;
  z-index: 1;
  padding: 14px 16px;
  border-radius: 6px;
  color: var(--white);
  background: rgba(15, 44, 33, 0.74);
  font-size: 14px;
  font-weight: 900;
}

@keyframes workFade {
  0%,
  33% {
    opacity: 1;
  }

  40%,
  100% {
    opacity: 0;
  }
}

@media (prefers-reduced-motion: reduce) {
  .btn-photo::after,
  .estimate-action-zone,
  .flow-photo {
    animation: none;
  }

  .work-slide {
    animation: none;
  }

  .work-slide.is-one {
    opacity: 1;
  }
}

.before-after {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.before-after figure {
  margin: 0;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 8px;
  overflow: hidden;
}

.before-after img {
  width: 100%;
  height: 270px;
  object-fit: cover;
}

.before-after figcaption {
  padding: 12px 14px;
  color: var(--green-deep);
  font-size: 13px;
  font-weight: 800;
}

.about-strip {
  background: rgba(255, 255, 255, 0.72);
}

.about-layout,
.business-layout {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: 46px;
  align-items: center;
}

.about-layout figure,
.business-layout figure,
.page-hero-image {
  margin: 0;
}

.about-layout img,
.business-layout img,
.page-hero-image img {
  width: 100%;
  height: 420px;
  object-fit: cover;
  border-radius: 8px;
}

.proof-list {
  display: grid;
  gap: 12px;
  margin: 24px 0;
  border-top: 0;
}

.proof-list p {
  display: grid;
  grid-template-columns: 150px 1fr;
  gap: 18px;
  align-items: center;
  margin: 0;
  padding: 18px 20px;
  border-left: 5px solid var(--green);
  border-bottom: 0;
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.86), rgba(255, 255, 255, 0.48)),
    repeating-linear-gradient(135deg, rgba(15, 44, 33, 0.06) 0 1px, transparent 1px 16px);
  color: var(--muted);
  font-size: 14px;
  font-weight: 700;
}

.proof-list strong {
  color: var(--green-deep);
  font-size: 18px;
  line-height: 1.32;
  font-weight: 900;
}

.flow-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid var(--line);
}

.flow-section .section-head {
  text-align: center;
}

.flow-section .section-head h2 {
  max-width: 800px;
  margin: 0 auto;
}

.flow-section .flow-list {
  gap: 0;
  border-top: 0;
  border-bottom: 1px solid rgba(15, 44, 33, 0.18);
}

.flow-section .flow-list li {
  padding: 26px 24px 28px;
  border-top: 1px solid rgba(15, 44, 33, 0.18);
  border-right: 1px solid rgba(15, 44, 33, 0.14);
  background: rgba(255, 255, 255, 0.62);
}

.flow-section .flow-list li:nth-child(1) {
  --flow-color: var(--orange);
}

.flow-section .flow-list li:nth-child(2) {
  --flow-color: var(--green);
}

.flow-section .flow-list li:nth-child(3) {
  --flow-color: var(--water);
}

.flow-list li:last-child {
  border-right: 0;
}

.flow-section .flow-list span {
  display: inline-grid;
  place-items: center;
  min-width: 46px;
  height: 46px;
  margin-bottom: 18px;
  color: var(--white);
  background: var(--flow-color, var(--orange));
  font-size: 14px;
  font-weight: 900;
}

.flow-section .flow-list h3 {
  color: var(--flow-color, var(--green-deep));
  font-size: 24px;
  line-height: 1.28;
}

.flow-section .flow-list p {
  margin: 12px 0 0;
  font-size: 15px;
  font-weight: 700;
}

.flow-list p,
.principle-list p,
.case-item p,
.work-note dd,
.policy p,
.method-row p,
.method-primary p,
.form-note {
  color: var(--muted);
  font-size: 14px;
}

.flow-list img {
  width: calc(100% - 26px);
  height: 150px;
  margin-bottom: 18px;
  object-fit: cover;
  border-radius: 8px;
}

.final-cta {
  background:
    repeating-linear-gradient(135deg, rgba(255, 255, 255, 0.08) 0 1px, transparent 1px 18px),
    linear-gradient(90deg, rgba(15, 44, 33, 0.94), rgba(15, 44, 33, 0.76));
  color: var(--white);
}

.final-cta h2,
.final-cta p,
.final-cta .small-label,
.final-cta .phone-link {
  color: var(--white);
}

.final-cta-inner {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 32px;
  align-items: center;
}

.final-cta .btn-outline {
  color: var(--white);
  background: transparent;
  border-color: rgba(255, 255, 255, 0.42);
}

.final-cta .btn-line {
  background: var(--orange);
}

.site-footer {
  padding: 34px 0;
  background: #101814;
  color: var(--white);
}

.footer-inner {
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
  display: flex;
  align-items: start;
  justify-content: space-between;
  gap: 28px;
}

.footer-inner p {
  margin: 8px 0 0;
  color: rgba(255, 255, 255, 0.72);
  font-size: 13px;
}

.footer-inner nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 12px 18px;
}

.footer-inner a {
  color: rgba(255, 255, 255, 0.82);
  font-size: 13px;
  font-weight: 800;
}

.page-hero {
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
  padding: 56px 0 70px;
  display: grid;
  grid-template-columns: 1fr 0.85fr;
  gap: 42px;
  align-items: center;
}

.has-page-bg .page-hero {
  margin-top: 34px;
  margin-bottom: 34px;
  padding: 34px;
  border-left: 5px solid var(--orange);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.78);
  box-shadow: 0 18px 50px rgba(18, 33, 26, 0.16);
}

.page-hero.compact {
  display: block;
  max-width: 940px;
  padding-bottom: 52px;
}

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

.estimator-section {
  background: rgba(246, 247, 243, 0.8);
  border-top: 1px solid var(--line);
}

.estimator-layout {
  display: grid;
  grid-template-columns: 1fr 380px;
  gap: 34px;
  align-items: start;
}

.estimate-card-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
}

.estimate-card {
  width: 100%;
  text-align: left;
  cursor: pointer;
}

.estimate-card.is-selected {
  border-color: var(--green);
  background: var(--green-soft);
  box-shadow: var(--shadow);
}

.estimate-result {
  position: sticky;
  top: 98px;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
}

.estimate-result h2 {
  font-size: 27px;
}

.price-range {
  margin: 14px 0 20px;
  color: var(--orange);
  font-size: 25px;
  font-weight: 900;
}

.result-block,
.line-draft {
  padding-top: 18px;
  margin-top: 18px;
  border-top: 1px solid var(--line);
}

.result-block h3,
.line-draft h3 {
  font-size: 15px;
}

.result-block p,
.line-draft p {
  margin: 8px 0 0;
  color: var(--muted);
  font-size: 14px;
}

.estimate-result .btn {
  width: 100%;
  margin-top: 20px;
}

.game-estimator {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.74), rgba(246, 247, 243, 0.82)),
    radial-gradient(circle at 14% 18%, rgba(217, 101, 34, 0.14), transparent 28%),
    radial-gradient(circle at 86% 22%, rgba(35, 107, 142, 0.12), transparent 32%);
}

.page-estimate .page-hero {
  text-align: center;
}

.page-estimate .page-hero-copy p {
  margin-inline: auto;
}

.page-estimate .hero-count,
.quest-count {
  display: inline-block;
  color: var(--orange);
  font-size: 1.18em;
  font-weight: 900;
  line-height: 1;
}

.page-estimate .hero-action {
  color: var(--green-deep);
  text-decoration: underline;
  text-decoration-color: rgba(217, 101, 34, 0.42);
  text-decoration-thickness: 0.18em;
  text-underline-offset: -0.08em;
}

.quest-count {
  padding: 0 0.14em;
  color: var(--water);
  background: linear-gradient(180deg, transparent 58%, rgba(35, 107, 142, 0.16) 58%);
}

.game-head {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 22px;
  align-items: end;
  margin-bottom: 22px;
}

.game-head h2 {
  max-width: 760px;
  font-size: 46px;
  line-height: 1.24;
}

.game-score {
  width: 108px;
  height: 108px;
  display: grid;
  place-items: center;
  color: var(--white);
  background:
    repeating-linear-gradient(135deg, rgba(255, 255, 255, 0.16) 0 2px, transparent 2px 14px),
    linear-gradient(135deg, var(--orange), #9b3b18);
  box-shadow: 0 18px 36px rgba(143, 53, 20, 0.24);
}

.game-score span {
  font-size: 40px;
  line-height: 1;
  font-weight: 900;
}

.game-score small {
  margin-top: -28px;
  font-size: 14px;
  font-weight: 900;
}

.game-progress {
  height: 14px;
  margin-bottom: 30px;
  overflow: hidden;
  background: rgba(15, 44, 33, 0.12);
  border: 1px solid rgba(15, 44, 33, 0.14);
}

.game-progress span {
  display: block;
  width: 0;
  height: 100%;
  background:
    repeating-linear-gradient(135deg, rgba(255, 255, 255, 0.32) 0 2px, transparent 2px 12px),
    linear-gradient(90deg, var(--orange), var(--green), var(--water));
  transition: width 0.26s ease;
}

.question-shell {
  position: relative;
}

.question-card {
  display: none;
  padding: 32px;
  border: 1px solid rgba(15, 44, 33, 0.16);
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.92), rgba(255, 255, 255, 0.64)),
    repeating-linear-gradient(135deg, rgba(15, 44, 33, 0.05) 0 1px, transparent 1px 18px);
  box-shadow: 0 24px 60px rgba(6, 20, 14, 0.1);
}

.question-card.is-active {
  display: block;
}

.question-kicker {
  margin: 0 0 8px;
  color: var(--orange);
  font-size: 13px;
  font-weight: 900;
}

.question-help {
  max-width: 760px;
  margin: 12px 0 0;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.75;
  font-weight: 800;
}

.question-card h3 {
  font-size: 32px;
  line-height: 1.32;
}

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

.answer-grid button {
  --answer: var(--green);
  position: relative;
  min-height: 154px;
  display: grid;
  align-content: center;
  justify-items: center;
  gap: 8px;
  padding: 30px 20px 22px;
  border: 2px solid rgba(15, 44, 33, 0.12);
  border-radius: 8px;
  color: var(--green-deep);
  background: rgba(255, 255, 255, 0.84);
  text-align: center;
  cursor: pointer;
  transition: transform 0.16s ease, border-color 0.16s ease, background 0.16s ease, box-shadow 0.16s ease;
}

.answer-grid button::before {
  content: "複数選択OK";
  position: absolute;
  top: 10px;
  left: 12px;
  padding: 3px 7px;
  color: var(--answer);
  background: color-mix(in srgb, var(--answer) 12%, white);
  font-size: 11px;
  line-height: 1;
  font-weight: 900;
}

.answer-grid button::after {
  content: "";
  position: absolute;
  top: 10px;
  right: 10px;
  width: 24px;
  height: 24px;
  border: 2px solid rgba(15, 44, 33, 0.2);
  background: rgba(255, 255, 255, 0.7);
  opacity: 0;
  transform: scale(0.84);
  transition: opacity 0.16s ease, transform 0.16s ease;
}

.answer-grid button:nth-child(1) {
  --answer: var(--orange);
}

.answer-grid button:nth-child(2) {
  --answer: var(--green);
}

.answer-grid button:nth-child(3) {
  --answer: var(--water);
}

.answer-grid button:nth-child(4) {
  --answer: var(--exterior);
}

.answer-grid button:nth-child(5) {
  --answer: var(--paint);
}

.answer-grid button:nth-child(6) {
  --answer: #7d5fb2;
}

.answer-grid button:hover {
  transform: translateY(-3px);
  border-color: var(--answer);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(255, 255, 255, 0.74)),
    linear-gradient(135deg, color-mix(in srgb, var(--answer) 18%, transparent), transparent);
  box-shadow: 0 18px 34px rgba(6, 20, 14, 0.14);
}

.answer-grid button.is-selected {
  transform: translateY(-3px);
  border-color: #3bd58a;
  color: var(--white);
  background:
    repeating-linear-gradient(135deg, rgba(255, 255, 255, 0.12) 0 2px, transparent 2px 14px),
    linear-gradient(135deg, #124532, var(--water));
  box-shadow: 0 22px 42px rgba(18, 69, 50, 0.24);
}

.answer-grid button.is-selected::before {
  content: "選択中";
  color: var(--white);
  background: rgba(255, 255, 255, 0.18);
}

.answer-grid button.is-selected::after {
  content: "✓";
  display: grid;
  place-items: center;
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.9);
  background: #1dbf73;
  font-size: 15px;
  font-weight: 900;
  opacity: 1;
  transform: scale(1);
}

.answer-grid strong {
  display: block;
  max-width: 12em;
  color: var(--answer);
  font-size: 21px;
  line-height: 1.32;
  font-weight: 900;
}

.answer-grid small {
  display: block;
  max-width: 18em;
  margin: 0 auto;
  color: var(--muted);
  font-size: 13.5px;
  line-height: 1.58;
  font-weight: 800;
}

.answer-grid button.is-selected strong,
.answer-grid button.is-selected small {
  color: var(--white);
}

.game-controls {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin-top: 24px;
  padding: 16px;
  border: 1px solid rgba(15, 44, 33, 0.12);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.92);
  box-shadow: 0 18px 40px rgba(6, 20, 14, 0.1);
}

.game-controls button {
  min-height: 48px;
  padding: 12px 20px;
  border-radius: 6px;
  border: 1px solid rgba(15, 44, 33, 0.18);
  color: var(--green-deep);
  background: var(--white);
  font-weight: 900;
  cursor: pointer;
}

.game-controls .game-next {
  grid-column: 1 / -1;
  width: 100%;
  min-width: 0;
  min-height: 56px;
  color: var(--white);
  border-color: var(--green);
  background:
    repeating-linear-gradient(135deg, rgba(255, 255, 255, 0.12) 0 2px, transparent 2px 12px),
    linear-gradient(135deg, var(--green), var(--water));
  box-shadow: 0 16px 28px rgba(15, 44, 33, 0.22);
}

.game-controls .game-next:not(:disabled) {
  border-color: #1dbf73;
  background:
    repeating-linear-gradient(135deg, rgba(255, 255, 255, 0.16) 0 2px, transparent 2px 12px),
    linear-gradient(135deg, #18a864, #236b8e);
  transform: translateY(-1px);
}

.game-controls .game-next:disabled {
  color: rgba(15, 44, 33, 0.56);
  border-color: rgba(15, 44, 33, 0.14);
  background: #eef1ed;
  box-shadow: none;
  transform: none;
}

.game-controls button:disabled {
  opacity: 0.42;
  cursor: not-allowed;
}

.game-result {
  position: relative;
  max-width: 860px;
  margin: 34px auto 0;
  text-align: center;
  border: 0;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.94), rgba(255, 255, 255, 0.82)),
    repeating-linear-gradient(135deg, rgba(217, 101, 34, 0.12) 0 2px, transparent 2px 16px);
  box-shadow: 0 28px 64px rgba(6, 20, 14, 0.18);
}

.game-result.is-locked {
  display: none;
}

.result-unlock {
  display: grid;
  justify-items: center;
  gap: 12px;
  align-items: center;
  margin-bottom: 18px;
  padding-bottom: 18px;
  border-bottom: 1px solid rgba(15, 44, 33, 0.16);
}

.result-unlock span {
  display: grid;
  place-items: center;
  width: fit-content;
  min-height: 54px;
  padding: 0 18px;
  color: var(--white);
  background: linear-gradient(135deg, var(--orange), #a4481c);
  font-size: 13px;
  font-weight: 900;
}

.result-unlock strong {
  color: var(--green-deep);
  font-size: 24px;
  line-height: 1.35;
  font-weight: 900;
}

.game-result .small-label {
  color: var(--water);
}

.game-result h2 {
  max-width: 680px;
  margin: 4px auto 0;
  color: var(--green-deep);
  font-size: 34px;
  line-height: 1.32;
}

.game-result .price-range {
  width: fit-content;
  margin: 18px auto 24px;
  padding: 8px 18px 10px;
  color: var(--white);
  background:
    repeating-linear-gradient(135deg, rgba(255, 255, 255, 0.12) 0 2px, transparent 2px 14px),
    linear-gradient(135deg, var(--orange), #9b3b18);
  font-size: clamp(30px, 5vw, 48px);
  line-height: 1.15;
  font-weight: 900;
  box-shadow: 0 20px 42px rgba(143, 53, 20, 0.22);
}

.game-result .result-block,
.game-result .line-draft {
  max-width: 720px;
  margin: 18px auto 0;
  padding: 18px 20px;
  border: 1px solid rgba(15, 44, 33, 0.12);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.72);
}

.game-result .result-block h3,
.game-result .line-draft h3 {
  color: var(--water);
  font-size: 17px;
}

.game-result .result-block p,
.game-result .line-draft p {
  color: var(--green-deep);
  font-size: 15px;
  font-weight: 800;
}

.game-result .line-draft {
  border-color: rgba(6, 199, 85, 0.24);
  background: rgba(6, 199, 85, 0.08);
}

.game-result .line-draft h3 {
  color: #06c755;
}

.game-result .btn-line {
  max-width: 420px;
  margin-inline: auto;
  background: #06c755;
  box-shadow: 0 18px 34px rgba(6, 199, 85, 0.22);
}

.statement {
  max-width: 870px;
}

.company-hero .page-hero-copy {
  align-self: center;
}

.company-hero h1 {
  font-size: clamp(42px, 6vw, 72px);
  line-height: 1.15;
}

.headline-mark {
  display: inline-block;
  color: var(--orange);
  font-size: 1.12em;
  font-weight: 900;
  text-decoration: underline;
  text-decoration-color: rgba(217, 101, 34, 0.36);
  text-decoration-thickness: 0.16em;
  text-underline-offset: -0.06em;
}

.highlight-line {
  display: inline;
  color: var(--green-deep);
  background: linear-gradient(180deg, transparent 58%, rgba(217, 101, 34, 0.24) 58%);
  font-weight: 900;
}

.company-message {
  max-width: 940px;
  text-align: center;
}

.company-message h2 {
  font-size: clamp(34px, 5vw, 54px);
  line-height: 1.26;
}

.company-message p:not(.small-label) {
  max-width: 820px;
  margin-inline: auto;
  color: var(--green-deep);
  font-size: 17px;
  font-weight: 800;
}

.company-profile {
  display: grid;
  grid-template-columns: 0.75fr 1.25fr;
  gap: 44px;
  align-items: start;
}

.company-profile-head h2 {
  font-size: clamp(34px, 5vw, 52px);
}

.company-profile-head p:not(.small-label) {
  color: var(--muted);
  font-weight: 800;
}

.profile-table {
  margin: 0;
  border-top: 1px solid rgba(15, 44, 33, 0.2);
  background: rgba(255, 255, 255, 0.72);
}

.profile-table div {
  display: grid;
  grid-template-columns: 132px 1fr;
  gap: 22px;
  padding: 17px 20px;
  border-bottom: 1px solid rgba(15, 44, 33, 0.16);
}

.profile-table dt {
  color: var(--orange);
  font-size: 14px;
  font-weight: 900;
}

.profile-table dd {
  margin: 0;
  color: var(--green-deep);
  font-weight: 850;
}

.profile-table a {
  color: var(--water);
  font-weight: 900;
}

.company-principles article {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.78), rgba(255, 255, 255, 0.54)),
    repeating-linear-gradient(135deg, rgba(15, 44, 33, 0.05) 0 1px, transparent 1px 16px);
  padding: 24px 22px;
  border-top: 5px solid var(--orange);
}

.company-principles article:nth-child(2) {
  border-top-color: var(--green);
}

.company-principles article:nth-child(3) {
  border-top-color: var(--water);
}

.company-principles span {
  color: var(--orange);
  font-size: 13px;
  font-weight: 900;
}

.company-principles h3 {
  margin-top: 8px;
  font-size: 27px;
}

.principle-list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.principle-list article {
  padding-top: 22px;
  border-top: 2px solid var(--green);
}

.line-list {
  margin-top: 22px;
  border-top: 1px solid var(--line);
}

.line-list p {
  display: grid;
  grid-template-columns: 150px 1fr;
  gap: 18px;
  margin: 0;
  padding: 18px 0;
  border-bottom: 1px solid var(--line);
}

.line-list strong {
  color: var(--green-deep);
}

.featured-work {
  padding-top: 32px;
}

.work-detail {
  display: grid;
  grid-template-columns: 1fr 340px;
  gap: 28px;
  align-items: stretch;
}

.before-after.large img {
  height: 390px;
}

.work-note {
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
}

.work-note dl {
  margin: 0;
}

.work-note div {
  padding: 14px 0;
  border-bottom: 1px solid var(--line);
}

.work-note div:last-child {
  border-bottom: 0;
}

.work-note dt {
  color: var(--green);
  font-size: 12px;
  font-weight: 900;
}

.work-note dd {
  margin: 4px 0 0;
}

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

.case-item {
  display: grid;
  grid-template-columns: 190px 1fr;
  gap: 22px;
  padding: 18px 0;
  border-top: 1px solid var(--line);
}

.case-item img {
  width: 190px;
  height: 126px;
  object-fit: cover;
  border-radius: 6px;
}

.case-item span {
  color: var(--orange);
  font-size: 12px;
  font-weight: 900;
}

.case-item a {
  color: var(--green);
  font-weight: 900;
}

.news-layout {
  display: grid;
  grid-template-columns: 0.7fr 1fr;
  gap: 48px;
}

.news-list {
  border-top: 1px solid var(--line);
}

.news-list article {
  display: grid;
  grid-template-columns: 120px 1fr;
  gap: 18px;
  padding: 18px 0;
  border-bottom: 1px solid var(--line);
}

.news-list time {
  color: var(--muted);
  font-size: 13px;
  font-weight: 800;
}

.news-list a {
  color: var(--green-deep);
  font-weight: 800;
}

.contact-layout {
  display: grid;
  grid-template-columns: 0.78fr 1.22fr;
  gap: 40px;
  align-items: start;
}

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

.contact-method {
  min-width: 0;
  min-height: 142px;
  display: flex;
  padding: 17px 14px;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 9px;
  border: 1px solid rgba(15, 44, 33, 0.16);
  border-radius: 7px;
  color: var(--green-deep);
  background: rgba(255, 255, 255, 0.82);
  text-align: center;
}

.contact-method strong {
  font-size: 17px;
  line-height: 1.4;
  font-weight: 900;
}

.contact-method small {
  max-width: 100%;
  color: inherit;
  font-size: 11px;
  font-weight: 800;
  overflow-wrap: anywhere;
}

.contact-method-icon {
  min-width: 42px;
  min-height: 32px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 5px 8px;
  border-radius: 999px;
  color: var(--white);
  background: var(--green);
  font-size: 11px;
  font-weight: 900;
}

.contact-method-line {
  color: var(--white);
  background: #06c755;
  border-color: #06c755;
}

.contact-method-line .contact-method-icon {
  color: #06c755;
  background: var(--white);
}

.contact-method-phone {
  border-top: 5px solid var(--green);
}

.contact-method-mail {
  border-top: 5px solid var(--water);
}

.contact-method-mail .contact-method-icon {
  background: var(--water);
}

.contact-method-form {
  border-top: 5px solid var(--orange);
}

.contact-method-form .contact-method-icon {
  background: var(--orange);
}

.sdgs-band {
  padding: 68px 0;
  color: var(--white);
  background:
    repeating-linear-gradient(135deg, rgba(255, 255, 255, 0.06) 0 1px, transparent 1px 18px),
    #174f3a;
}

.sdgs-inner {
  text-align: center;
}

.sdgs-inner .small-label {
  color: #a9e4c3;
}

.sdgs-inner h2 {
  margin: 0;
  color: var(--white);
  font-size: clamp(34px, 4vw, 52px);
  line-height: 1.3;
}

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

.sdgs-inner h2 strong {
  color: #b8f0ce;
  font-size: 1.12em;
}

.sdgs-inner > p:not(.small-label) {
  width: min(760px, 100%);
  margin: 24px auto 0;
  color: rgba(255, 255, 255, 0.88);
  font-size: 15px;
  line-height: 1.9;
  font-weight: 750;
}

.sdgs-goals {
  display: flex;
  margin-top: 28px;
  justify-content: center;
  flex-wrap: wrap;
  gap: 12px 24px;
}

.sdgs-goals span {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-size: 13px;
  font-weight: 900;
}

.sdgs-goals b {
  width: 38px;
  height: 38px;
  display: inline-grid;
  place-items: center;
  border: 2px solid rgba(255, 255, 255, 0.76);
  font-size: 15px;
}

.contact-form {
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--paper);
}

.form-row {
  margin-bottom: 18px;
}

.form-row label {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 8px;
  color: var(--green-deep);
  font-size: 14px;
  font-weight: 900;
}

.form-row label span {
  color: var(--orange);
  font-size: 12px;
}

.form-row input,
.form-row select,
.form-row textarea {
  width: 100%;
  min-height: 48px;
  padding: 10px 12px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: var(--white);
  color: var(--ink);
}

.form-row textarea {
  resize: vertical;
}

.form-note {
  margin: 0 0 18px;
}

.form-honeypot {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}

.thanks-hero .hero-actions {
  margin-top: 28px;
}

.policy {
  max-width: 860px;
}

.policy h2 {
  margin-top: 34px;
  font-size: 24px;
}

.policy h2:first-child {
  margin-top: 0;
}

.policy .btn {
  margin-top: 22px;
}

@media (max-width: 980px) {
  .hero h1,
  .page-hero h1 {
    font-size: 40px;
    line-height: 1.34;
  }

  h2 {
    font-size: 30px;
  }

  .header-inner {
    min-height: 66px;
  }

  .header-cta {
    display: none;
  }

  .menu-toggle {
    display: inline-flex;
    margin-left: auto;
  }

  .site-nav {
    position: absolute;
    top: 66px;
    left: 0;
    right: 0;
    display: none;
    padding: 12px 20px 18px;
    flex-direction: column;
    align-items: stretch;
    background: var(--white);
    border-bottom: 1px solid var(--line);
  }

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

  .site-nav a {
    padding: 12px 8px;
  }

  .hero,
  .page-hero,
  .intro-grid,
  .estimate-flow-map,
  .service-layout,
  .works-layout,
  .about-layout,
  .business-layout,
  .company-profile,
  .estimator-layout,
  .work-detail,
  .news-layout,
  .contact-layout,
  .final-cta-inner {
    grid-template-columns: 1fr;
  }

  .service-lead,
  .estimate-result {
    position: static;
  }

  .issue-grid,
  .issue-tap-list,
  .principle-list,
  .flow-list {
    grid-template-columns: 1fr 1fr;
  }

  .flow-copy {
    padding-right: 0;
    border-right: 0;
  }

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

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

  .flow-list {
    border-top: 0;
    gap: 18px;
  }

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

  .flow-list img {
    width: 100%;
  }

  .game-head {
    grid-template-columns: 1fr;
  }

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

  .flow-section .flow-list {
    gap: 0;
    border-bottom: 1px solid rgba(15, 44, 33, 0.18);
  }

  .flow-section .flow-list li {
    border-radius: 0;
    border: 0;
    border-top: 1px solid rgba(15, 44, 33, 0.18);
    border-right: 1px solid rgba(15, 44, 33, 0.14);
  }
}

@media (max-width: 680px) {
  html,
  body {
    overflow-x: hidden;
  }

  .header-inner,
  .section-inner,
  .hero,
  .page-hero,
  .footer-inner {
    width: min(100% - 28px, 1180px);
  }

  .header-inner {
    gap: 6px;
  }

  .brand {
    min-width: 0;
    flex: 1 1 auto;
    gap: 6px;
  }

  .brand-logo {
    width: 132px;
    height: 36px;
  }

  .brand-mark {
    width: 30px;
    height: 30px;
    font-size: 20px;
  }

  .brand-word {
    font-size: 15px;
    letter-spacing: 0.06em;
  }

  .brand-sub {
    display: none;
  }

  .language-switch {
    display: none;
  }

  .menu-toggle {
    width: 42px;
    min-width: 42px;
    padding: 0;
    font-size: 0;
  }

  .menu-toggle::before {
    content: "☰";
    font-size: 20px;
    line-height: 1;
  }

  .menu-toggle {
    margin-left: 0;
    padding-right: 11px;
    padding-left: 11px;
  }

  .hero {
    padding: 28px 0 52px;
    gap: 22px;
  }

  .page-home .hero {
    min-height: calc(100vh - 66px);
    align-items: end;
    padding-bottom: 68px;
    text-align: left;
  }

  .hero-brand-mark {
    gap: 10px;
    margin-bottom: 14px;
    padding: 0;
    max-width: 100%;
    flex-wrap: wrap;
  }

  .hero-brand-logo {
    width: min(220px, 66vw);
    height: 60px;
  }

  .hero-brand-icon {
    width: 42px;
    height: 42px;
    font-size: 30px;
  }

  .hero-brand-word {
    font-size: clamp(25px, 7vw, 28px);
    letter-spacing: 0.04em;
  }

  .hero-brand-mark strong {
    display: none;
  }

  .hero-copy {
    padding: 0;
    text-align: left;
  }

  .hero h1,
  .page-hero h1 {
    font-size: 31px;
    line-height: 1.38;
  }

  .page-home .hero h1 {
    font-size: 28px;
    line-height: 1.34;
  }

  .page-home .hero h1 .h1-line + .h1-line {
    font-size: 0.9em;
    margin-top: 4px;
  }

  .region {
    line-height: 1.65;
  }

  .region span {
    display: block;
  }

  .region span + span::before {
    content: "";
  }

  h2 {
    font-size: 25px;
    line-height: 1.48;
  }

  .intro-pitch h2,
  .works-copy h2 {
    font-size: 27px;
  }

  .intro-hook {
    padding: 16px 16px 16px 18px;
  }

  .intro-hook strong {
    font-size: 18px;
  }

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

  .intro-quick-flow li {
    display: grid;
    grid-template-columns: 42px 1fr;
    gap: 10px;
    align-items: center;
    text-align: left;
    border-right: 0;
    border-bottom: 1px solid rgba(15, 44, 33, 0.14);
  }

  .intro-quick-flow li:last-child {
    border-bottom: 0;
  }

  .intro-quick-flow span {
    margin: 0;
  }

  .hero-lead,
  .page-hero-copy p,
  .intro-text p,
  .service-lead p,
  .works-copy p,
  .about-layout p,
  .statement p,
  .business-layout p,
  .final-cta p {
    font-size: 15px;
  }

  .hero-actions .btn,
  .final-actions .btn,
  .estimate-action-zone,
  .estimate-result .btn {
    width: 100%;
  }

  .estimate-action-zone {
    padding: 22px 58px 22px 22px;
  }

  .estimate-action-zone span {
    font-size: 25px;
  }

  .estimate-action-zone small {
    font-size: 13px;
  }

  .context-strip {
    grid-template-columns: 1fr;
    margin-bottom: 34px;
  }

  .context-strip div {
    padding: 14px 0;
    border-right: 0;
    border-bottom: 1px solid rgba(15, 44, 33, 0.16);
  }

  .context-strip div:last-child {
    border-bottom: 0;
  }

  .diagnosis-head {
    grid-template-columns: 1fr;
    gap: 8px;
  }

  .diagnosis-tabs,
  .flow-path {
    grid-template-columns: 1fr;
  }

  .diagnosis-tabs a,
  .flow-path li {
    border-right: 0;
    border-bottom: 1px solid rgba(15, 44, 33, 0.14);
  }

  .diagnosis-tabs a:last-child,
  .flow-path li:last-child {
    border-bottom: 0;
  }

  .flow-path li:not(:last-child)::after {
    content: "↓";
    right: 18px;
    top: auto;
    bottom: -11px;
    transform: none;
  }

  .estimate-flow-map .estimate-action-zone,
  .estimate-action-zone.is-wide {
    grid-template-columns: 1fr;
  }

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

  .visual-flow-card {
    min-height: 220px;
  }

  .visual-flow-card strong {
    font-size: 25px;
  }

  .flow-path strong {
    font-size: 26px;
  }

  .company-hero h1 {
    font-size: 38px;
    line-height: 1.24;
  }

  .company-message {
    text-align: left;
  }

  .company-message h2 {
    font-size: 30px;
  }

  .profile-table div {
    grid-template-columns: 1fr;
    gap: 4px;
    padding: 15px 16px;
  }

  .company-principles h3 {
    font-size: 24px;
  }

  .works-proof-cards p {
    grid-template-columns: 64px 1fr;
  }

  .game-head h2 {
    font-size: 31px;
  }

  .game-score {
    width: 82px;
    height: 82px;
  }

  .game-score span {
    font-size: 32px;
  }

  .question-card {
    padding: 22px;
  }

  .question-card h3 {
    font-size: 24px;
  }

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

  .answer-grid button {
    min-height: 132px;
    padding: 32px 18px 22px;
  }

  .answer-grid strong {
    font-size: 19px;
  }

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

  .game-controls button,
  .game-controls .game-next {
    width: 100%;
    min-width: 0;
  }

  .game-result h2 {
    font-size: 27px;
  }

  .result-unlock {
    grid-template-columns: 1fr;
  }

  .result-unlock span {
    width: fit-content;
    min-height: 40px;
    padding: 0 14px;
  }

  .hero-facts {
    grid-template-columns: 1fr;
  }

  .hero-facts div {
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .hero-facts div:last-child {
    border-bottom: 0;
  }

  .hero-photo {
    order: -1;
  }

  .hero-photo img {
    height: 230px;
  }

  .hero-photo figcaption {
    position: static;
    border-radius: 0 0 8px 8px;
    background: var(--green-deep);
  }

  .section {
    padding: 54px 0;
  }

  .page-hero {
    padding: 34px 0 46px;
  }

  .split-head {
    display: block;
  }

  .split-head .text-link,
  .split-head .btn {
    margin-top: 16px;
  }

  .issue-grid,
  .issue-tap-list,
  .estimate-card-grid,
  .principle-list,
  .flow-list,
  .before-after {
    grid-template-columns: 1fr;
  }

  .issue-card,
  .estimate-card {
    min-height: auto;
    padding: 18px;
  }

  .service-row,
  .case-item,
  .news-list article,
  .line-list p {
    grid-template-columns: 1fr;
  }

  .service-row img,
  .case-item img {
    width: 100%;
    height: 150px;
  }

  .before-after img,
  .before-after.large img {
    height: 210px;
  }

  .animated-works {
    min-height: 260px;
  }

  .estimate-boost {
    min-height: 280px;
  }

  .estimate-boost::after {
    background: linear-gradient(0deg, rgba(15, 44, 33, 0.92), rgba(15, 44, 33, 0.68), rgba(15, 44, 33, 0.22));
  }

  .estimate-boost div {
    padding: 22px;
  }

  .estimate-boost strong {
    font-size: 22px;
  }

  .about-layout img,
  .business-layout img,
  .page-hero-image img {
    height: 230px;
  }

  .proof-list p {
    grid-template-columns: 1fr;
    gap: 4px;
  }

  .footer-inner {
    display: block;
  }

  .footer-inner nav {
    justify-content: flex-start;
    margin-top: 20px;
  }

  .contact-form,
  .method-primary,
  .estimate-result,
  .work-note {
    padding: 18px;
  }

  .phone-link {
    font-size: 20px;
  }
}

/* Keep the company-page refinements last in the cascade. */
.page-about .company-message h2 {
  font-size: clamp(34px, 4.8vw, 58px);
}

.page-about .company-principles article {
  min-height: 286px;
  padding: 28px 26px;
}

.page-about .company-principles h3 {
  margin: 0 0 18px;
  font-size: clamp(27px, 2.5vw, 35px);
}

@media (max-width: 680px) {
  body.page-about {
    --page-bg-position: 55% center;
  }

  .page-about .company-message {
    text-align: center;
  }

  .page-about .company-message h2 {
    font-size: 30px;
  }

  .page-about .company-principles {
    grid-template-columns: 1fr;
  }

  .page-about .company-principles article {
    min-height: 0;
    padding: 26px 22px 28px;
  }

  .page-about .company-principles h3 {
    font-size: 29px;
  }
}

@media (max-width: 380px) {
  .page-about .company-message h2 {
    font-size: 27px;
  }
}

/* Keep mobile action bars inside the viewport, including long Japanese labels. */
@media (max-width: 680px) {
  .hero-actions,
  .final-actions {
    width: 100%;
    min-width: 0;
    max-width: 100%;
  }

  .final-cta-inner {
    width: calc(100% - 28px);
    min-width: 0;
    max-width: 1180px;
    grid-template-columns: minmax(0, 1fr);
  }

  .hero-actions,
  .final-actions {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
  }

  .hero-actions .btn,
  .final-actions .btn,
  .estimate-action-zone,
  .estimate-result .btn {
    width: 100%;
    min-width: 0;
    max-width: 100%;
    padding-right: 16px;
    padding-left: 16px;
    white-space: normal;
    overflow-wrap: anywhere;
    text-align: center;
  }

  .hero-actions .btn-photo {
    padding-right: 40px;
  }
}

/* About-page final callout: keep dark text readable on its light translucent band. */
.page-about .final-cta {
  color: var(--green-deep);
}

.page-about .final-cta h2,
.page-about .final-cta p {
  color: var(--green-deep);
}

.page-about .final-cta .small-label {
  color: var(--orange);
}

.page-about .final-cta .btn-outline {
  color: var(--green);
  background: rgba(255, 255, 255, 0.92);
  border-color: rgba(15, 44, 33, 0.24);
}

/* Home-page typography: make the decision words carry the visual weight. */
.page-home h1,
.page-home h2,
.page-home h3 {
  word-break: keep-all;
  overflow-wrap: normal;
}

.page-home .home-hero-title {
  font-size: 40px;
  line-height: 1;
}

.home-hero-line {
  display: flex !important;
  align-items: baseline;
  justify-content: center;
  white-space: nowrap;
}

.home-concept-line {
  gap: 0 12px;
}

.home-concept-line .home-hero-key {
  display: inline-block;
  font-size: clamp(68px, 7vw, 94px);
  line-height: 0.92;
  font-weight: 900;
}

.page-home .home-key-land {
  color: #fff3c9;
}

.page-home .home-key-building {
  color: #ddffea;
}

.page-home .home-key-future {
  color: #ffad66;
}

.home-concept-line b,
.home-concept-line i {
  color: rgba(255, 255, 255, 0.92);
  font-size: clamp(24px, 3vw, 38px);
  font-style: normal;
  font-weight: 900;
}

.home-promise-line {
  margin-top: 15px;
  color: var(--white);
  font-size: clamp(34px, 4.2vw, 54px);
  line-height: 1.15;
}

.home-promise-line strong {
  display: inline-block;
  margin-right: 0.08em;
  color: #ffad66;
  font-size: 1.3em;
  line-height: 0.9;
}

.hero-lead-key {
  display: inline-block;
  margin: 0 0.1em;
  color: #ffca95;
  font-size: 1.18em;
  line-height: 1.2;
  font-weight: 900;
  white-space: nowrap;
}

.page-home .home-display-heading {
  font-size: clamp(34px, 3.4vw, 44px);
  line-height: 1.34;
}

.home-heading-line {
  display: block;
}

.home-keyword {
  display: inline-block;
  margin: 0 0.04em;
  font-size: 1.2em;
  line-height: 0.94;
  font-style: normal;
  font-weight: 900;
  white-space: nowrap;
}

.home-keyword-orange {
  color: var(--orange);
}

.home-keyword-green {
  color: var(--green);
}

.home-keyword-blue {
  color: var(--water);
}

.home-action-words {
  display: flex;
  align-items: baseline;
  flex-wrap: nowrap;
  gap: 0 0.08em;
  white-space: nowrap;
}

.home-action-words strong {
  font-size: 1.24em;
  line-height: 0.94;
}

.home-action-words b,
.home-action-words i {
  color: var(--green-deep);
  font-style: normal;
  font-size: 0.78em;
}

.home-action-words .action-send { color: var(--orange); }
.home-action-words .action-select { color: var(--green); }
.home-action-words .action-see { color: var(--water); }
.home-action-words .action-talk { color: #7d5fb2; }

.page-home .flow-copy > strong .home-keyword {
  font-size: 1.22em;
}

.page-home .intro-quick-flow strong {
  font-size: 17px;
}

.page-home .service-row h3 {
  font-size: 21px;
}

.page-home .proof-list strong {
  font-size: 20px;
}

.home-final-heading strong {
  display: inline-block;
  color: #ffbf86;
  font-size: 1.16em;
  line-height: 0.98;
  white-space: nowrap;
}

.home-final-heading em {
  display: inline-block;
  color: #8cffb7;
  font-size: 1.38em;
  line-height: 0.9;
  font-style: normal;
  font-weight: 900;
}

@media (max-width: 680px) {
  .page-home .keep-text {
    display: inline;
    white-space: normal;
  }

  .page-home .home-hero-title {
    width: 100%;
    font-size: 21px;
  }

  .home-hero-line {
    justify-content: flex-start;
  }

  .home-concept-line {
    gap: 0 4px;
  }

  .home-concept-line .home-hero-key {
    font-size: clamp(30px, 8.4vw, 33px);
  }

  .home-concept-line b,
  .home-concept-line i {
    font-size: 14px;
  }

  .home-promise-line {
    margin-top: 10px;
    flex-wrap: wrap;
    white-space: normal;
    font-size: 20px;
  }

  .home-promise-line strong {
    font-size: 1.45em;
  }

  .page-home .hero-lead {
    line-height: 1.82;
  }

  .hero-lead-key {
    font-size: 1.1em;
  }

  .page-home .home-display-heading {
    font-size: 24px;
    line-height: 1.42;
    word-break: normal;
    overflow-wrap: anywhere;
  }

  .page-home .home-heading-line {
    white-space: normal;
  }

  .page-home .home-display-heading .home-keyword,
  .page-home .flow-copy strong {
    white-space: normal;
    overflow-wrap: anywhere;
  }

  .home-keyword {
    font-size: 1.16em;
  }

  .home-action-words strong {
    font-size: 1.05em;
  }

  .home-action-words b,
  .home-action-words i {
    font-size: 0.68em;
  }

  .page-home .intro-quick-flow strong {
    font-size: 19px;
  }

  .page-home .service-row h3 {
    font-size: 20px;
  }

  .home-final-heading strong {
    font-size: 1.08em;
  }
}

@media (max-width: 380px) {
  .home-concept-line .home-hero-key {
    font-size: 29px;
  }

  .home-concept-line b,
  .home-concept-line i {
    font-size: 13px;
  }

  .page-home .home-display-heading {
    font-size: 23px;
  }
}

/* Works and news: modal-first updates and paired project photography. */
.page-works h1,
.page-works h2,
.page-works h3 {
  word-break: keep-all;
  overflow-wrap: normal;
}

.has-page-bg .page-hero.works-hero {
  min-height: calc(82vh - 72px);
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  place-items: center;
  margin-top: 0;
  margin-bottom: 0;
  padding: 78px 20px 92px;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  text-align: center;
}

.works-hero .page-hero-copy {
  width: min(1040px, 100%);
  text-align: center;
}

.works-hero .region {
  margin-bottom: 22px;
  color: var(--green-deep);
  font-size: 14px;
  text-shadow: 0 2px 12px rgba(255, 255, 255, 0.98);
}

.works-hero h1 {
  margin: 0;
  font-size: 40px;
  line-height: 1;
  text-shadow: 0 3px 18px rgba(255, 255, 255, 0.96);
}

.works-title-line {
  display: flex;
  justify-content: center;
  align-items: baseline;
  white-space: nowrap;
}

.works-title-line + .works-title-line {
  margin-top: 14px;
}

.works-title-line > span {
  color: var(--green-deep);
  font-size: clamp(30px, 3.5vw, 50px);
  font-weight: 900;
}

.works-title-key {
  display: inline-block;
  margin: 0 0.04em;
  font-size: clamp(68px, 7vw, 104px);
  line-height: 0.9;
  font-weight: 900;
}

.works-key-orange {
  color: var(--orange);
}

.works-key-blue {
  color: var(--water);
}

.works-key-green {
  color: var(--green);
}

.works-hero-lead {
  max-width: 900px !important;
  margin: 32px auto 0;
  color: var(--green-deep) !important;
  font-size: 17px !important;
  line-height: 1.9;
  font-weight: 900;
  text-shadow: 0 2px 12px rgba(255, 255, 255, 0.98);
}

.works-news-section {
  background: rgba(246, 247, 243, 0.9) !important;
}

.works-gallery-section {
  background: rgba(255, 255, 255, 0.82) !important;
}

.works-section-head {
  max-width: 850px;
  margin: 0 auto 36px;
  text-align: center;
}

.works-section-head-wide {
  max-width: 980px;
}

.works-section-head h2 {
  margin: 0;
  color: var(--green-deep);
  font-size: clamp(36px, 4.8vw, 58px);
  line-height: 1.28;
}

.works-heading-key {
  display: inline-block;
  margin: 0 0.04em;
  font-size: 1.28em;
  line-height: 0.9;
  font-weight: 900;
  white-space: nowrap;
}

.works-section-head > p:not(.small-label) {
  margin: 20px 0 0;
  color: var(--green-deep);
  font-size: 16px;
  line-height: 1.85;
  font-weight: 800;
}

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

.news-card {
  --news-color: var(--orange);
  position: relative;
  min-height: 320px;
  display: flex;
  padding: 30px 26px 26px;
  flex-direction: column;
  align-items: flex-start;
  border: 1px solid rgba(15, 44, 33, 0.16);
  border-top: 6px solid var(--news-color);
  border-radius: 8px;
  color: var(--green-deep);
  background: rgba(255, 255, 255, 0.76);
  text-align: left;
  cursor: pointer;
  transition: transform 0.18s ease, border-color 0.18s ease, background 0.18s ease;
}

.news-card:hover {
  transform: translateY(-3px);
  border-color: var(--news-color);
  background: rgba(255, 255, 255, 0.96);
}

.news-card-green {
  --news-color: var(--green);
}

.news-card-blue {
  --news-color: var(--water);
}

.news-date {
  color: var(--muted);
  font-size: 13px;
  font-weight: 900;
}

.news-category {
  display: inline-flex;
  margin-top: 18px;
  padding: 4px 10px;
  color: var(--white);
  background: var(--news-color);
  font-size: 12px;
  font-weight: 900;
}

.news-card > strong {
  display: block;
  margin-top: 20px;
  color: var(--green-deep);
  font-size: 25px;
  line-height: 1.42;
  font-weight: 900;
}

.news-card > small {
  margin-top: 13px;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.65;
  font-weight: 750;
}

.news-open {
  margin-top: auto;
  padding-top: 22px;
  color: var(--news-color);
  font-size: 14px;
  font-weight: 900;
}

.news-open::after {
  content: " →";
}

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

.work-gallery-card {
  --work-color: var(--green);
  min-width: 0;
  padding: 0;
  overflow: hidden;
  border: 1px solid rgba(15, 44, 33, 0.18);
  border-radius: 8px;
  color: var(--green-deep);
  background: rgba(255, 255, 255, 0.82);
  text-align: left;
  cursor: pointer;
  transition: transform 0.18s ease, border-color 0.18s ease, box-shadow 0.18s ease;
}

.work-gallery-card:hover {
  transform: translateY(-3px);
  border-color: var(--work-color);
  box-shadow: 0 16px 34px rgba(24, 38, 30, 0.12);
}

.work-other { --work-color: #6d6f76; }
.work-exterior { --work-color: var(--exterior); }
.work-scaffold { --work-color: #756146; }
.work-demolition { --work-color: var(--orange); }
.work-water { --work-color: var(--water); }
.work-paint { --work-color: var(--paint); }
.work-garden { --work-color: var(--garden); }

.work-thumb-fade {
  position: relative;
  display: block;
  width: 100%;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: var(--green-deep);
}

.work-thumb-fade::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  z-index: 2;
  height: 34%;
  pointer-events: none;
  background: linear-gradient(0deg, rgba(6, 20, 14, 0.35), transparent);
}

.work-thumb-fade img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  animation: pairedPhotoFade 10s ease-in-out infinite;
}

.work-thumb-fade img:first-child {
  opacity: 1;
}

.work-thumb-fade img:nth-child(2) {
  animation-delay: 5s;
}

@keyframes pairedPhotoFade {
  0%,
  45% {
    opacity: 1;
  }

  50%,
  95% {
    opacity: 0;
  }

  100% {
    opacity: 1;
  }
}

.work-gallery-copy {
  display: flex;
  min-height: 238px;
  padding: 20px 18px 18px;
  flex-direction: column;
  align-items: flex-start;
  border-top: 5px solid var(--work-color);
}

.work-gallery-copy > small {
  color: var(--work-color);
  font-size: 12px;
  font-weight: 900;
}

.work-gallery-copy > strong {
  display: block;
  margin-top: 11px;
  color: var(--green-deep);
  font-size: 20px;
  line-height: 1.42;
  font-weight: 900;
}

.work-gallery-copy > em {
  margin-top: 12px;
  color: var(--muted);
  font-size: 13px;
  font-style: normal;
  font-weight: 800;
}

.work-gallery-copy > span {
  margin-top: auto;
  padding-top: 18px;
  color: var(--work-color);
  font-size: 14px;
  font-weight: 900;
}

.work-gallery-copy > span::after {
  content: " ＋";
  font-size: 18px;
}

.works-final-cta h2 strong {
  color: #ffbc80;
  font-size: 1.2em;
}

body.modal-open {
  overflow: hidden;
}

.detail-modal {
  position: fixed;
  inset: 0;
  z-index: 100;
  width: 100%;
  max-width: none;
  height: 100%;
  max-height: none;
  display: grid;
  place-items: center;
  padding: 20px;
  overflow: auto;
  border: 0;
  border-radius: 0;
  background: rgba(6, 20, 14, 0.78);
  backdrop-filter: blur(3px);
}

.detail-modal[hidden] {
  display: none;
}

.detail-modal-shell {
  position: relative;
  width: min(960px, 100%);
  display: grid;
  grid-template-columns: minmax(0, 1.12fr) minmax(320px, 0.88fr);
  max-height: calc(100vh - 40px);
  overflow-x: hidden;
  overflow-y: auto;
  border-radius: 8px;
  background: var(--white);
}

.detail-modal-close {
  position: absolute;
  top: 12px;
  right: 12px;
  z-index: 5;
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  padding: 0;
  border: 1px solid rgba(255, 255, 255, 0.56);
  border-radius: 50%;
  color: var(--white);
  background: rgba(15, 44, 33, 0.9);
  font-size: 25px;
  line-height: 1;
  cursor: pointer;
}

.detail-modal-media {
  position: relative;
  min-height: 560px;
  overflow: hidden;
  background: #101814;
}

.detail-modal-media img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
  opacity: 0;
}

.detail-modal-media img:first-child {
  opacity: 1;
}

.detail-modal-media.has-pair img {
  animation: modalPhotoFade 10s ease-in-out infinite;
}

.detail-modal-media.has-pair img:nth-child(2) {
  animation-delay: 5s;
}

@keyframes modalPhotoFade {
  0%,
  45% {
    opacity: 1;
  }

  50%,
  95% {
    opacity: 0;
  }

  100% {
    opacity: 1;
  }
}

.detail-modal-copy {
  min-width: 0;
  display: flex;
  padding: 52px 34px 32px;
  flex-direction: column;
}

.detail-modal-meta {
  margin: 0;
  color: var(--orange);
  font-size: 13px;
  font-weight: 900;
}

.detail-modal-copy h2 {
  margin: 15px 0 0;
  color: var(--green-deep);
  font-size: 32px;
  line-height: 1.34;
  word-break: normal;
  overflow-wrap: anywhere;
}

.detail-modal-body {
  margin: 22px 0 0;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.9;
  font-weight: 750;
}

.detail-modal-foot {
  display: flex;
  margin-top: auto;
  padding-top: 28px;
  flex-direction: column;
  gap: 16px;
}

.detail-modal-foot > span {
  color: var(--water);
  font-size: 13px;
  font-weight: 900;
}

@media (prefers-reduced-motion: reduce) {
  .work-thumb-fade img,
  .detail-modal-media.has-pair img {
    animation: none;
  }

  .work-thumb-fade img:not(:first-child),
  .detail-modal-media img:not(:first-child) {
    display: none;
  }
}

@media (max-width: 980px) {
  .news-card-grid {
    grid-template-columns: 1fr;
  }

  .news-card {
    min-height: 0;
  }

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

  .detail-modal-shell {
    grid-template-columns: 1fr;
  }

  .detail-modal-media {
    min-height: 420px;
  }
}

@media (max-width: 680px) {
  body.page-works {
    --page-bg-position: 52% center;
  }

  .has-page-bg .page-hero.works-hero {
    min-height: calc(82svh - 66px);
    width: calc(100% - 28px);
    padding: 58px 0 70px;
  }

  .works-hero .region {
    font-size: 12px;
  }

  .works-title-line + .works-title-line {
    margin-top: 10px;
  }

  .works-title-line > span {
    font-size: 23px;
  }

  .works-title-key {
    font-size: 50px;
  }

  .works-hero-lead {
    margin-top: 26px;
    font-size: 15px !important;
    line-height: 1.85;
  }

  .works-section-head {
    margin-bottom: 28px;
  }

  .works-section-head h2 {
    font-size: 30px;
    line-height: 1.38;
  }

  .works-heading-key {
    font-size: 1.2em;
  }

  .works-section-head > p:not(.small-label) {
    font-size: 15px;
  }

  .news-card {
    padding: 24px 22px;
  }

  .news-card > strong {
    font-size: 24px;
  }

  .works-gallery-grid {
    grid-template-columns: 1fr;
  }

  .work-gallery-copy {
    min-height: 0;
  }

  .work-gallery-copy > strong {
    font-size: 22px;
  }

  .detail-modal {
    width: 100%;
    max-height: none;
    padding: 10px;
  }

  .detail-modal-shell {
    max-height: calc(100svh - 20px);
  }

  .detail-modal-media {
    min-height: 300px;
  }

  .detail-modal-copy {
    padding: 28px 22px 24px;
  }

  .detail-modal-copy h2 {
    padding-right: 28px;
    font-size: 28px;
  }

  .detail-modal-close {
    width: 40px;
    height: 40px;
  }
}

@media (max-width: 380px) {
  .works-title-line > span {
    font-size: 21px;
  }

  .works-title-key {
    font-size: 46px;
  }

  .works-section-head h2 {
    font-size: 28px;
  }
}

/* Mobile density pass: phrase-safe headings and two-column card systems. */
@media (max-width: 680px) {
  .page-home h1,
  .page-home h2,
  .page-home h3,
  .page-estimate h1,
  .page-estimate h2,
  .page-estimate h3,
  .page-about h1,
  .page-about h2,
  .page-about h3,
  .page-works h1,
  .page-works h2,
  .page-works h3,
  .page-contact h1,
  .page-contact h2,
  .page-contact h3,
  .seo-faq-list summary {
    word-break: keep-all;
    word-break: auto-phrase;
    line-break: strict;
    overflow-wrap: normal;
  }

  .page-estimate .page-hero h1,
  .page-contact .page-hero h1 {
    font-size: 29px;
    line-height: 1.42;
  }

  .context-strip,
  .intro-quick-flow,
  .diagnosis-tabs,
  .flow-path,
  .visual-flow-cards,
  .issue-tap-list,
  .service-list,
  .works-proof-cards,
  .principle-list,
  .page-about .company-principles,
  .answer-grid,
  .news-card-grid,
  .works-gallery-grid,
  .flow-list,
  .contact-methods {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
  }

  .context-strip {
    align-items: stretch;
  }

  .context-strip div {
    min-width: 0;
    padding: 14px 12px;
    border: 1px solid rgba(15, 44, 33, 0.16);
  }

  .context-strip dt,
  .context-strip dd {
    word-break: auto-phrase;
  }

  .intro-quick-flow li {
    min-width: 0;
    grid-template-columns: 32px minmax(0, 1fr);
    padding: 12px 10px;
    border: 1px solid rgba(15, 44, 33, 0.14);
    text-align: left;
  }

  .intro-quick-flow strong {
    font-size: 15px !important;
    word-break: auto-phrase;
  }

  .diagnosis-tabs a,
  .flow-path li {
    min-width: 0;
    border: 1px solid rgba(15, 44, 33, 0.14);
  }

  .flow-path li:not(:last-child)::after {
    content: none;
  }

  .visual-flow-card {
    min-height: 250px;
  }

  .visual-flow-card img {
    object-position: center center;
  }

  .visual-flow-card.flow-photo img {
    object-position: 50% 54%;
  }

  .visual-flow-card.flow-check img {
    object-position: 42% 50%;
  }

  .visual-flow-card.flow-docs img {
    object-position: 52% 48%;
  }

  .visual-flow-card span {
    font-size: 12px;
  }

  .visual-flow-card strong {
    font-size: 19px;
    line-height: 1.28;
    word-break: auto-phrase;
  }

  .visual-flow-card small {
    font-size: 11px;
    line-height: 1.55;
  }

  .issue-tap-list .issue-card {
    min-width: 0;
    display: block;
    padding: 15px 13px;
  }

  .issue-tap-list .issue-card span {
    display: block;
    margin-bottom: 8px;
    font-size: 12px;
  }

  .issue-tap-list .issue-card strong {
    display: block;
    font-size: 15px;
    line-height: 1.45;
    word-break: auto-phrase;
  }

  .issue-tap-list .issue-card small {
    display: block;
    margin-top: 7px;
    font-size: 11px;
    line-height: 1.55;
  }

  .service-list {
    border-top: 0;
  }

  .service-row {
    min-width: 0;
    display: block;
    padding: 0;
    overflow: hidden;
    border: 1px solid rgba(15, 44, 33, 0.16);
    border-radius: 6px;
    background: rgba(255, 255, 255, 0.82);
  }

  .service-row img {
    width: 100%;
    height: auto;
    aspect-ratio: 4 / 3;
    object-fit: cover;
  }

  .service-row > div {
    padding: 13px 12px 15px;
  }

  .service-row h3 {
    margin-top: 8px;
    font-size: 16px !important;
    line-height: 1.4;
    word-break: auto-phrase;
  }

  .service-row p {
    display: -webkit-box;
    margin-top: 8px;
    overflow: hidden;
    font-size: 11px;
    line-height: 1.58;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 4;
  }

  .service-link {
    margin-top: 10px;
    font-size: 11px;
  }

  .works-proof-cards p {
    min-width: 0;
    grid-template-columns: 1fr;
    gap: 5px;
    padding: 13px 11px;
    border: 1px solid rgba(15, 44, 33, 0.15);
  }

  .works-proof-cards strong {
    width: 48px;
    height: 48px;
    font-size: 13px;
  }

  .works-proof-cards span {
    font-size: 11px;
    line-height: 1.5;
  }

  .flow-list li {
    min-width: 0;
    padding: 16px 13px;
    border: 1px solid rgba(15, 44, 33, 0.16) !important;
  }

  .flow-list li h3 {
    font-size: 17px;
    line-height: 1.42;
    word-break: auto-phrase;
  }

  .flow-list li p {
    font-size: 11px;
    line-height: 1.6;
  }

  .page-about .company-principles article {
    min-width: 0;
    min-height: 0;
    padding: 19px 15px 20px;
  }

  .page-about .company-principles h3 {
    margin-bottom: 11px;
    font-size: 19px;
    line-height: 1.35;
    word-break: auto-phrase;
  }

  .page-about .company-principles p {
    font-size: 12px;
    line-height: 1.65;
  }

  .question-card {
    padding: 18px 14px;
  }

  .question-card h3 {
    font-size: 22px;
  }

  .answer-grid button {
    min-width: 0;
    min-height: 150px;
    padding: 31px 10px 16px;
  }

  .answer-grid strong {
    font-size: 16px;
    line-height: 1.38;
    word-break: auto-phrase;
  }

  .answer-grid small {
    font-size: 11px;
    line-height: 1.48;
  }

  .news-card {
    min-width: 0;
    min-height: 285px;
    padding: 18px 14px 16px;
  }

  .news-category {
    margin-top: 12px;
    padding: 3px 7px;
    font-size: 10px;
  }

  .news-card > strong {
    margin-top: 14px;
    font-size: 17px;
    line-height: 1.42;
    word-break: normal;
    overflow-wrap: anywhere;
  }

  .news-card > small {
    font-size: 11px;
    line-height: 1.55;
  }

  .news-open {
    padding-top: 14px;
    font-size: 11px;
  }

  .work-thumb-fade {
    aspect-ratio: 4 / 3;
  }

  .work-gallery-copy {
    min-height: 205px;
    padding: 14px 12px 13px;
  }

  .work-gallery-copy > strong {
    font-size: 16px;
    line-height: 1.4;
    word-break: auto-phrase;
  }

  .work-gallery-copy > em,
  .work-gallery-copy > span {
    font-size: 11px;
  }

  .contact-method {
    min-height: 124px;
    padding: 14px 9px;
  }

  .contact-method strong {
    font-size: 15px;
    word-break: auto-phrase;
  }
}

@media (max-width: 360px) {
  .page-estimate .page-hero h1,
  .page-contact .page-hero h1 {
    font-size: 27px;
  }

  .visual-flow-card {
    min-height: 230px;
  }

  .answer-grid button {
    min-height: 144px;
  }
}

@media (max-width: 680px) {
  .page-privacy .page-hero h1 {
    font-size: clamp(22px, 6.5vw, 26px);
    white-space: nowrap;
  }

  body.has-page-bg,
  body.page-home {
    --page-bg: url("images/home-future-land-mobile.webp");
  }

  body.page-estimate {
    --page-bg: url("images/estimate-land-change-mobile.webp");
  }

  body.page-about {
    --page-bg: url("images/company-future-land-mobile.webp");
  }

  body.page-works {
    --page-bg: url("images/site-confirmation-mobile.webp");
  }

  body.page-contact {
    --page-bg: url("images/contact-green-view-mobile.webp");
  }
}

/* Keep every repeated tap/card group compact on phones and small tablets. */
@media (max-width: 820px) {
  .diagnosis-tabs,
  .visual-flow-cards,
  .flow-path,
  .issue-tap-list,
  .service-list,
  .works-proof-cards,
  .flow-list,
  .answer-grid,
  .news-card-grid,
  .works-gallery-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
  }
}

@media (max-width: 680px) {
  .page-home .hero {
    min-height: auto;
    align-items: flex-start;
    padding-top: 22px;
    padding-bottom: 30px;
  }

  .page-home .hero-copy {
    padding: 0;
  }

  .page-home .hero-brand-mark {
    margin-bottom: 9px;
  }

  .page-home .region {
    margin-bottom: 8px;
  }

  .page-home .hero-actions {
    margin-top: 12px;
    gap: 8px;
  }

  .page-home .hero-actions .btn-photo {
    color: var(--white);
    background: #06c755;
    border-color: #06c755;
  }

  .page-home .estimate-entry .split-head {
    align-items: center;
    gap: 16px;
  }

  .page-home .estimate-entry .split-head > div {
    width: 100%;
  }

  .page-home .estimate-entry .split-head > .text-link {
    width: 100%;
    min-height: 58px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 14px 18px;
    border-radius: 8px;
    color: var(--white);
    background:
      repeating-linear-gradient(135deg, rgba(255, 255, 255, 0.13) 0 2px, transparent 2px 14px),
      #06c755;
    box-shadow: 0 12px 24px rgba(6, 199, 85, 0.22);
    font-size: 16px;
    font-weight: 900;
    text-align: center;
  }

  .page-home .home-display-heading {
    text-align: center;
  }

  .page-home .home-action-words {
    justify-content: center;
  }

  .page-home .hero-copy,
  .page-home .section-head,
  .page-home .service-lead,
  .page-home .works-copy,
  .page-home .about-layout > div,
  .page-home .flow-section .section-head {
    text-align: center;
  }

  .page-home .hero-brand-mark {
    justify-content: center;
  }

  .page-home .home-hero-line {
    justify-content: center;
  }

  .page-home .hero-lead {
    display: none;
  }

  .page-home .hero-actions,
  .page-home .service-lead,
  .page-home .works-copy,
  .page-home .about-layout > div {
    align-items: center;
  }

  .page-home .text-link {
    margin-right: auto;
    margin-left: auto;
  }

  .sdgs-band {
    padding: 54px 0;
  }

  .sdgs-inner h2 {
    font-size: 29px;
  }

  .sdgs-inner > p:not(.small-label) {
    font-size: 13px;
    line-height: 1.8;
  }

  .language-switch summary {
    width: 50px;
    min-height: 42px;
    padding: 5px;
    flex-direction: column;
    gap: 0;
    line-height: 1.05;
  }

  .language-switch summary small {
    font-size: 9px;
  }
}

/* Final mobile overflow guard: prioritize readable wrapping over dense layout. */
@media (max-width: 680px) {
  .page-home .home-display-heading,
  .page-home .home-display-heading *,
  .page-home .flow-copy,
  .page-home .flow-copy *,
  .page-home .section-head,
  .page-home .section-head * {
    word-break: normal !important;
    line-break: auto !important;
    overflow-wrap: anywhere !important;
  }

  .page-home .home-heading-line {
    display: block;
    max-width: 100%;
    white-space: normal !important;
  }

  .page-home .keep-text {
    display: inline !important;
    white-space: normal !important;
  }

  .page-home .home-display-heading,
  .page-home .flow-copy {
    max-width: min(100%, 310px);
    margin-right: auto;
    margin-left: auto;
  }

  .page-home .home-display-heading {
    font-size: 20px !important;
  }

  .page-home .flow-copy > strong {
    display: block;
    max-width: 100%;
    font-size: 16px;
    line-height: 1.7;
  }

  .page-home .intro-hook {
    max-width: min(100%, 310px);
    margin-right: auto;
    margin-left: auto;
    padding: 18px 18px 18px 20px;
    text-align: left;
  }

  .page-home .intro-hook strong,
  .page-home .intro-hook p {
    word-break: normal !important;
    line-break: auto !important;
    overflow-wrap: anywhere !important;
  }

  .page-home .intro-hook strong {
    font-size: 16px !important;
  }

  .page-home .intro-hook p {
    font-size: 13px;
    line-height: 1.8;
  }
}

@media (max-width: 680px) {
  .page-home .context-strip,
  .page-home .intro-quick-flow {
    grid-template-columns: 1fr;
  }
}
