:root {
  --ink: #332f2b;
  --muted: #716b65;
  --accent: #8a6b4f;
  --paper: #fff;
  --soft: #f6f3ef;
  --line: #ddd6ce;
  --header: 76px;
}
* {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header) + 20px);
}
body.menu-open {
  overflow: hidden;
}
img,
svg,
iframe {
  max-width: 100%;
}
a {
  color: inherit;
  text-decoration: none;
}
button,
input,
textarea {
  font: inherit;
}
h1,
h2,
h3,
h4,
p {
  margin-top: 0;
}
h1,
h2,
h3 {
  font-family: "Noto Serif JP", serif;
  font-weight: 400;
  line-height: 1.5;
}
h1 {
  font-size: clamp(2rem, 4vw, 3.5rem);
}
h2 {
  font-size: clamp(1.55rem, 2.6vw, 2.3rem);
}
.inner {
  width: min(1120px, calc(100% - 48px));
  margin-inline: auto;
}
.narrow {
  max-width: 860px;
}
.center {
  text-align: center;
}
.section-compact {
  padding: 88px 0;
}
.eyebrow {
  margin-bottom: 8px;
  color: var(--accent);
  font-family: "Noto Serif JP", serif;
  font-size: 0.76rem;
  letter-spacing: 0.2em;
}
.section-title {
  margin-bottom: 40px;
  text-align: center;
}
.section-title > p:last-child {
  max-width: 680px;
  margin-inline: auto;
  color: var(--muted);
}
.works-notice {
  margin-top: 20px;
  color: #b00020 !important;
  font-size: clamp(1.2rem, 1.6vw, 1.65rem);
  font-weight: 700;
  line-height: 1.8;
  overflow-wrap: anywhere;
}
.section-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 35px;
}
.section-heading h2 {
  margin: 0;
}
.button {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  padding: 11px 26px;
  border: 1px solid var(--ink);
  background: var(--ink);
  color: #fff;
  font-weight: 400;
  letter-spacing: 0.04em;
  transition: 0.25s;
}
.button:hover,
.button:focus-visible {
  background: var(--accent);
  border-color: var(--accent);
}
.button-outline {
  background: transparent;
  color: var(--ink);
}
.text-link {
  display: inline-block;
  margin-top: 18px;
  border-bottom: 1px solid currentColor;
  font-weight: 400;
}
.text-link::after {
  content: " →";
}
.button-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}
.header {
  position: sticky;
  z-index: 50;
  top: 0;
  height: var(--header);
  border-bottom: 1px solid transparent;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  transition: 0.25s;
}
.header.is-scrolled {
  border-color: var(--line);
  box-shadow: 0 4px 20px rgba(45, 38, 32, 0.05);
}
.header-inner {
  display: flex;
  height: 100%;
  align-items: center;
  justify-content: space-between;
}
.logo-text {
  display: block;
}
.logo-image {
  display: block;
  width: 148px;
  max-width: 42vw;
  height: auto;
}
.nav ul {
  display: flex;
  align-items: center;
  gap: 24px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.nav a {
  position: relative;
  padding: 25px 0;
  font-size: 0.78rem;
  font-weight: 400;
}
.nav a::after {
  position: absolute;
  right: 0;
  bottom: 18px;
  left: 0;
  height: 1px;
  background: var(--accent);
  content: "";
  transform: scaleX(0);
  transition: 0.2s;
}
.nav a:hover::after,
.nav a.active::after {
  transform: scaleX(1);
}
.hamburger {
  display: none;
  width: 44px;
  height: 44px;
  padding: 10px;
  border: 0;
  background: transparent;
}
.hamburger span {
  display: block;
  width: 24px;
  height: 1px;
  margin: 6px auto;
  background: var(--ink);
  transition: 0.25s;
}
.hamburger.is-open span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}
.hamburger.is-open span:nth-child(2) {
  opacity: 0;
}
.hamburger.is-open span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}
.mobile-menu {
  position: fixed;
  z-index: 40;
  inset: var(--header) 0 0;
  visibility: hidden;
  background: rgba(255, 255, 255, 0.98);
  opacity: 0;
  transition: 0.25s;
}
.mobile-menu.is-open {
  visibility: visible;
  opacity: 1;
}
.mobile-menu-inner {
  display: grid;
  gap: 0;
  width: min(100% - 40px, 520px);
  margin: auto;
  padding-top: 28px;
}
.mobile-menu a {
  padding: 15px 8px;
  border-bottom: 1px solid var(--line);
  font-family: "Noto Serif JP", serif;
}
.mobile-menu a[aria-current="page"] {
  color: var(--accent);
}
.hero {
  display: flex;
  min-height: min(720px, calc(100vh - var(--header)));
  align-items: center;
  background: var(--soft);
}
.hero-content {
  padding-block: 90px;
}
.hero h1 {
  max-width: 720px;
  margin-bottom: 20px;
}
.hero .button {
  margin-top: 20px;
}
@media (max-width: 768px) {
  .intro-layout {
    display: block;
    text-align: center;
  }
  .intro-copy p:not(.eyebrow) {
    margin-inline: auto;
  }
  .intro-photo {
    margin: 30px auto 24px;
  }
  .intro-layout > .text-link {
    display: inline-block;
  }
}

.quick-links {
  background: var(--soft);
}
.quick-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
}
.quick-card {
  display: flex;
  min-height: 180px;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 24px 14px;
  border: 1px solid transparent;
  background: #fff;
  text-align: center;
  transition: 0.25s;
}
.quick-card:hover {
  border-color: var(--accent);
  transform: translateY(-3px);
}
.quick-card svg {
  width: 38px;
  height: 38px;
  margin-bottom: 15px;
  fill: none;
  stroke: var(--accent);
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.5;
}
.quick-card strong {
  font-family: "Noto Serif JP", serif;
  font-size: 1rem;
  font-weight: 400;
}
.quick-card span {
  color: var(--muted);
  font-size: 0.76rem;
}
.card-grid,
.works-grid,
.service-grid {
  display: grid;
  gap: 28px;
}
.card-grid-3,
.works-grid {
  grid-template-columns: repeat(3, 1fr);
}
.photo-placeholder {
  position: relative;
  display: grid;
  overflow: hidden;
  aspect-ratio: 4/3;
  place-items: center;
  background: linear-gradient(135deg, #e8e2dc, #f6f3ef);
  color: #928980;
  font-size: 0.76rem;
  letter-spacing: 0.08em;
}
.photo-placeholder::before {
  position: absolute;
  width: 44%;
  height: 1px;
  background: #cfc6bd;
  content: "";
  transform: rotate(-24deg);
}
.work-card {
  min-width: 0;
  background: #fff;
  box-shadow: 0 8px 32px rgba(54, 46, 39, 0.07);
  transition: 0.25s;
}
.work-card:hover {
  transform: translateY(-4px);
}
.card-body {
  padding: 22px;
}
.card-body small,
.category-label {
  color: var(--accent);
  font-size: 0.74rem;
  letter-spacing: 0.08em;
}
.card-body h2,
.card-body h3 {
  margin: 7px 0 8px;
  font-size: 1.06rem;
}
.card-body p {
  margin: 0;
  color: var(--muted);
  font-size: 0.86rem;
}
.contact-strip {
  padding: 70px 0;
  background: var(--ink);
  color: #fff;
}
.contact-strip > .inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
}
.contact-strip h2 {
  margin-bottom: 8px;
  font-size: clamp(1.35rem, 2.5vw, 2rem);
}
.contact-strip p:last-child {
  margin-bottom: 0;
}
.contact-strip .eyebrow {
  color: #cdbba9;
}
.contact-strip .button {
  border-color: #fff;
  background: #fff;
  color: var(--ink);
}
.contact-strip .button-outline {
  background: transparent;
  color: #fff;
}
.access-summary,
.access-layout {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 55px;
  align-items: start;
}
.simple-info {
  margin: 0 0 14px;
}
.simple-info > div {
  display: grid;
  grid-template-columns: 110px 1fr;
  gap: 16px;
  padding: 12px 0;
  border-bottom: 1px solid var(--line);
}
.simple-info dt {
  font-weight: 400;
}
.simple-info dd {
  margin: 0;
  color: var(--muted);
}
.simple-info a {
  text-decoration: underline;
  text-underline-offset: 3px;
}
.map-wrap {
  min-width: 0;
  overflow: hidden;
  border-radius: 3px;
}
.map-wrap iframe {
  display: block;
  width: 100%;
  height: 390px;
  border: 0;
}
.map-large iframe {
  height: 500px;
}
.page-hero {
  padding: 60px 0 70px;
  background: var(--soft);
}
.page-hero h1 {
  margin: 12px 0 10px;
}
.page-hero p:last-child {
  margin: 0;
  color: var(--muted);
}
.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 38px;
  color: var(--muted);
  font-size: 0.75rem;
}
.breadcrumb > * + *::before {
  margin-right: 8px;
  content: "/";
}
.service-grid {
  grid-template-columns: repeat(2, 1fr);
}
.service-card {
  display: grid;
  grid-template-columns: 42% 1fr;
  overflow: hidden;
  background: var(--soft);
}
.service-card .photo-placeholder {
  aspect-ratio: 1;
}
.service-card > div:last-child {
  padding: 28px;
}
.service-card h2 {
  margin-bottom: 10px;
  font-size: 1.2rem;
}
.service-card p {
  margin: 0;
  color: var(--muted);
  font-size: 0.88rem;
}
.estimate {
  background: var(--soft);
}
.estimate-form {
  padding: 42px;
  background: #fff;
}
.estimate-step {
  margin: 0 0 34px;
  padding: 0;
  border: 0;
}
.estimate-step legend {
  width: 100%;
  margin-bottom: 15px;
  font-family: "Noto Serif JP", serif;
  font-size: 1.1rem;
}
.estimate-step legend span {
  display: block;
  color: var(--accent);
  font-size: 0.7rem;
  letter-spacing: 0.12em;
}
.option-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 9px;
}
.option-grid-2 {
  grid-template-columns: repeat(2, 1fr);
}
.estimate-step label {
  position: relative;
}
.estimate-step input {
  position: absolute;
  opacity: 0;
}
.estimate-step label span {
  display: flex;
  min-height: 50px;
  align-items: center;
  justify-content: center;
  padding: 9px;
  border: 1px solid var(--line);
  font-size: 0.82rem;
  text-align: center;
  cursor: pointer;
}
.estimate-step input:checked + span {
  border-color: var(--accent);
  background: #f1ebe5;
  color: #614a37;
}
.estimate-step input:focus-visible + span {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}
.estimate-result {
  padding: 30px;
  background: var(--ink);
  color: #fff;
  text-align: center;
}
.estimate-result > p:first-child {
  margin-bottom: 4px;
}
.estimate-result strong {
  display: block;
  margin-bottom: 10px;
  font-family: "Noto Serif JP", serif;
  font-size: clamp(1.65rem, 4vw, 2.5rem);
  font-weight: 400;
}
.estimate-result small {
  display: block;
  margin: 12px auto 22px;
  color: #d4cdc7;
}
.estimate-result .button {
  border-color: #fff;
  background: #fff;
  color: var(--ink);
}
.flow-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 15px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.flow-grid li {
  padding: 28px 22px;
  background: var(--soft);
}
.flow-grid > li > span {
  color: var(--accent);
  font-family: "Noto Serif JP", serif;
  font-size: 1.8rem;
}
.flow-grid h3 {
  margin: 10px 0;
  font-size: 1.05rem;
}
.flow-grid p {
  margin: 0;
  color: var(--muted);
  font-size: 0.84rem;
}
.faq {
  background: var(--soft);
}
.faq-item {
  margin-bottom: 12px;
  padding: 22px 26px;
  background: #fff;
}
.faq-item summary {
  font-family: "Noto Serif JP", serif;
  font-weight: 400;
  cursor: pointer;
}
.faq-item p {
  margin: 15px 0 0;
  color: var(--muted);
}
.works-grid .photo-placeholder {
  aspect-ratio: 4/3;
}
.work-template-card {
  max-width: 760px;
  margin-inline: auto;
  background: var(--soft);
}
.work-template-photo {
  aspect-ratio: 16/9;
}
.work-template-card .card-body {
  padding: 28px;
}
.work-template-card h3 {
  margin: 12px 0 8px;
  font-size: 1.3rem;
}
.work-template-card p {
  margin-bottom: 0;
  color: var(--muted);
}
.case-hero-photo {
  aspect-ratio: 16/9;
  margin: 0 0 48px;
}
.case-intro {
  max-width: 760px;
  margin: 0 auto 32px;
}
.case-intro h1 {
  margin-bottom: 10px;
  font-size: clamp(1.8rem, 3.2vw, 2.8rem);
}
.case-intro p {
  margin: 0;
  color: var(--muted);
}
.case-hero-photo span,
.case-gallery-photo span {
  max-width: 80%;
  text-align: center;
}
.case-gallery-photo {
  aspect-ratio: 4/3;
  margin: 0;
}
.before-gallery {
  max-width: 560px;
  margin: 48px auto 0;
}
.before-gallery h2 {
  margin-bottom: 18px;
  color: var(--muted);
  font-size: 1.15rem;
}
.before-gallery .case-gallery-photo {
  aspect-ratio: 16/9;
}
.work-detail {
  padding: 45px 0 90px;
}
.detail-main-photo {
  aspect-ratio: 16/8;
}
.detail-header {
  padding: 45px 0 30px;
}
.detail-header h1 {
  margin: 4px 0 12px;
}
.category-label {
  display: inline-block;
  padding: 5px 12px;
  border: 1px solid var(--line);
}
.detail-meta {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  margin: 0 0 60px;
  border-top: 1px solid var(--line);
}
.detail-meta > div {
  display: grid;
  grid-template-columns: 120px 1fr;
  padding: 18px;
  border-bottom: 1px solid var(--line);
}
.detail-meta dt {
  font-weight: 400;
}
.detail-meta dd {
  margin: 0;
  color: var(--muted);
}
.detail-copy {
  max-width: 820px;
  margin-inline: auto;
}
.detail-copy section {
  margin-bottom: 55px;
}
.detail-copy h2,
.detail-gallery h2 {
  font-size: 1.45rem;
}
.detail-copy p {
  color: var(--muted);
}
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}
.detail-gallery {
  margin-top: 70px;
}
.detail-actions {
  display: flex;
  justify-content: center;
  gap: 12px;
  margin-top: 60px;
}
.privacy-note {
  margin-top: 25px;
  color: var(--muted);
  font-size: 0.75rem;
  text-align: center;
}
.store-gallery {
  padding-bottom: 96px;
}
.store-gallery .section-title {
  max-width: 700px;
  margin-inline: auto;
}
.store-gallery-list {
  display: grid;
  gap: 88px;
  max-width: 820px;
  margin-inline: auto;
}
.store-gallery-item {
  margin: 0;
}
.store-gallery-item img {
  display: block;
  width: 100%;
  height: auto;
}
.store-gallery-item figcaption {
  padding-top: 22px;
}
.store-gallery-item h3 {
  margin-bottom: 8px;
  font-size: 1.35rem;
}
.store-gallery-item p {
  margin: 0;
  color: var(--muted);
}
.about-guides {
  background: var(--soft);
}
.info-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.info-grid article {
  padding: 32px;
  background: #fff;
}
.info-grid h2 {
  font-size: 1.2rem;
}
.info-grid p {
  margin: 0;
  color: var(--muted);
  font-size: 0.88rem;
}
.tag-list {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.tag-list li {
  padding: 5px 9px;
  border: 1px solid var(--line);
  font-size: 0.8rem;
}
.store-card {
  padding: 35px;
  background: var(--soft);
}
.store-card h3 {
  font-size: 1.5rem;
}
.visit-note {
  margin-top: 25px;
  padding-top: 22px;
  border-top: 1px solid var(--line);
}
.visit-note h4 {
  margin-bottom: 7px;
}
.visit-note p,
.map-column > p {
  color: var(--muted);
  font-size: 0.86rem;
}
.map-column .button {
  width: 100%;
}
.contact {
  background: var(--soft);
}
.contact-phone {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-bottom: 30px;
  padding: 25px;
  background: #fff;
  text-align: center;
}
.contact-phone a {
  font-family: "Noto Serif JP", serif;
  font-size: 1.8rem;
}
.contact-phone small {
  color: var(--muted);
}
.contact-form {
  display: grid;
  gap: 20px;
  padding: 40px;
  background: #fff;
}
.contact-form label {
  font-weight: 400;
}
.contact-form input,
.contact-form textarea {
  display: block;
  width: 100%;
  margin-top: 7px;
  padding: 13px;
  border: 1px solid var(--line);
  border-radius: 0;
  background: #fff;
}
.contact-form label small {
  color: var(--muted);
  font-weight: 300;
}
.contact-form .button {
  justify-self: start;
  min-width: 220px;
}
.footer {
  padding: 55px 0 95px;
  border-top: 1px solid var(--line);
  background: #fff;
}
.footer-inner {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 30px;
  align-items: start;
}
.footer nav {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  font-size: 0.78rem;
}
.footer p {
  grid-column: 1/-1;
  margin: 0;
  color: var(--muted);
  font-size: 0.7rem;
}
.mobile-actions {
  display: none;
}
.scroll-reveal {
  opacity: 0;
  transform: translateY(22px);
  transition:
    opacity 0.7s,
    transform 0.7s;
}
.scroll-reveal.is-visible {
  opacity: 1;
  transform: none;
}
@media (max-width: 1024px) {
  .nav ul {
    gap: 15px;
  }
  .nav a {
    font-size: 0.72rem;
  }
  .quick-grid {
    grid-template-columns: repeat(3, 1fr);
  }
  .service-card {
    grid-template-columns: 1fr;
  }
  .service-card .photo-placeholder {
    aspect-ratio: 16/9;
  }
  .flow-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .access-summary,
  .access-layout {
    gap: 32px;
  }
  .info-grid {
    gap: 14px;
  }
  .info-grid article {
    padding: 25px;
  }
}
@media (max-width: 768px) {
  :root {
    --header: 68px;
  }
  .inner {
    width: min(100% - 32px, 1120px);
  }
  body {
    padding-bottom: 64px;
    font-size: 15px;
  }
  .section-compact {
    padding: 62px 0;
  }
  .nav {
    display: none;
  }
  .hamburger {
    display: block;
  }
  .hero {
    min-height: 560px;
    background: var(--soft);
  }
  .hero-content {
    padding-block: 70px;
  }
  .quick-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
  }
  .quick-card {
    min-height: 150px;
    padding: 18px 9px;
  }
  .quick-card svg {
    width: 32px;
    height: 32px;
  }
  .section-heading {
    align-items: start;
    flex-direction: column;
  }
  .work-process-list {
    gap: 56px;
  }
  .work-process-item figcaption {
    padding-top: 16px;
  }
  .work-process-item h3 {
    font-size: 1.15rem;
  }
  .work-process-note {
    margin-top: 56px;
    text-align: left;
  }
  .card-grid-3,
  .works-grid {
    grid-template-columns: 1fr;
  }
  .contact-strip {
    padding: 55px 0;
  }
  .contact-strip > .inner {
    align-items: stretch;
    flex-direction: column;
  }
  .contact-strip .button-row,
  .contact-strip .button {
    width: 100%;
  }
  .access-summary,
  .access-layout {
    grid-template-columns: 1fr;
  }
  .map-wrap iframe {
    height: 300px;
  }
  .page-hero {
    padding: 38px 0 52px;
  }
  .breadcrumb {
    margin-bottom: 26px;
  }
  .service-grid {
    grid-template-columns: 1fr;
  }
  .estimate-form {
    padding: 25px 18px;
  }
  .option-grid,
  .option-grid-3,
  .option-grid-2 {
    grid-template-columns: 1fr 1fr;
  }
  .estimate-step label span {
    min-height: 52px;
  }
  .flow-grid {
    grid-template-columns: 1fr;
  }
  .gallery-grid {
    grid-template-columns: 1fr;
  }
  .detail-main-photo {
    aspect-ratio: 4/3;
  }
  .detail-meta {
    grid-template-columns: 1fr;
  }
  .detail-meta > div {
    grid-template-columns: 100px 1fr;
  }
  .detail-actions {
    align-items: stretch;
    flex-direction: column;
  }
  .info-grid {
    grid-template-columns: 1fr;
  }
  .store-gallery {
    padding-bottom: 72px;
  }
  .store-gallery-list {
    gap: 64px;
  }
  .store-gallery-item figcaption {
    padding-top: 16px;
  }
  .store-gallery-item h3 {
    font-size: 1.15rem;
  }
  .store-card {
    padding: 26px 20px;
  }
  .simple-info > div {
    grid-template-columns: 1fr;
    gap: 3px;
  }
  .map-large iframe {
    height: 330px;
  }
  .contact-form {
    padding: 28px 20px;
  }
  .contact-form .button {
    width: 100%;
  }
  .footer {
    padding-bottom: 40px;
  }
  .footer-inner {
    grid-template-columns: 1fr;
  }
  .footer nav {
    gap: 12px 18px;
  }
  .footer p {
    grid-column: auto;
  }
  .mobile-actions {
    position: fixed;
    z-index: 35;
    right: 0;
    bottom: 0;
    left: 0;
    display: grid;
    grid-template-columns: 1fr 1fr;
    height: 64px;
    box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.12);
  }
  .mobile-actions a {
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--ink);
    color: #fff;
    font-size: 0.85rem;
    font-weight: 400;
  }
  .mobile-actions a + a {
    background: var(--accent);
  }
}
@media (max-width: 390px) {
  .quick-grid {
    grid-template-columns: 1fr;
  }
  .quick-card {
    min-height: 118px;
  }
  .option-grid,
  .option-grid-3,
  .option-grid-2 {
    grid-template-columns: 1fr;
  }
  .detail-meta > div {
    grid-template-columns: 1fr;
    gap: 4px;
  }
}
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  .scroll-reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }
}
body {
  overflow-x: hidden;
}
.logo-text {
  flex: 0 0 auto;
  white-space: nowrap;
}
h1,
h2,
h3,
h4,
p,
dd,
summary {
  overflow-wrap: anywhere;
}
main > * {
  min-width: 0;
}
.visually-hidden {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: -1px !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  white-space: nowrap !important;
  border: 0 !important;
}
.work-card-link {
  display: block;
  height: 100%;
}
.works-image,
.detail-main-image,
.detail-sub-image {
  margin: 0;
  overflow: hidden;
  background: var(--soft);
}
.works-image {
  aspect-ratio: 4/3;
}
.works-image img,
.detail-main-image img,
.detail-sub-image img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.detail-main-image {
  aspect-ratio: 8/5;
}
.detail-sub-image {
  aspect-ratio: 4/3;
}
@media (max-width: 768px) {
  .detail-main-image {
    aspect-ratio: 4/3;
  }
}
@media (min-width: 769px) and (max-width: 1024px) {
  .works-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
.representative-services {
  background: var(--soft);
}
.representative-services .info-grid article {
  box-shadow: 0 8px 28px rgba(54, 46, 39, 0.05);
}
.representative-services .info-grid h3 {
  margin-bottom: 10px;
  font-size: 1.15rem;
}
@media (max-width: 768px) {
  .inner {
    width: calc(100% - 32px);
  }
  .quick-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .quick-card {
    min-width: 0;
  }
}

/* Review mockup: remove review-note/sample-content-note rules after formal content replacement. */
.review-note,
.sample-content-note {
  padding: 12px 16px;
  border-left: 2px solid #c9b7a5;
  background: #f7f4f1;
  color: var(--muted);
  font-size: 0.8rem;
  line-height: 1.7;
}
.review-note {
  margin: 26px 0 38px;
}
.sample-content-note {
  max-width: 820px;
  margin: 0 auto 55px;
}
.service-image {
  min-width: 0;
  margin: 0;
  overflow: hidden;
  aspect-ratio: 4/3;
  background: var(--soft);
}
.service-image img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.work-card,
.work-card-link {
  display: flex;
  min-width: 0;
  flex-direction: column;
}
.work-card-link {
  flex: 1;
}
.card-body {
  display: flex;
  flex: 1;
  flex-direction: column;
}
.card-body .text-link,
.detail-pending {
  margin-top: auto;
  padding-top: 18px;
}
.detail-pending {
  display: block;
  color: var(--muted);
  font-size: 0.75rem;
  letter-spacing: 0.05em;
}
.work-detail .review-note {
  margin-top: -10px;
}
@media (max-width: 1024px) {
  .service-card {
    grid-template-columns: 1fr;
  }
  .service-image {
    aspect-ratio: 4/3;
  }
}
@media (max-width: 768px) {
  .review-note {
    margin: 20px 0 28px;
  }
  .work-detail .review-note {
    margin-top: 0;
  }
  .service-card > div:last-child {
    padding: 24px 22px;
  }
}

/* Home discovery, news and contact page */
.nav ul {
  gap: 18px;
}
.nav a {
  font-size: 0.74rem;
}
.featured-strong {
  background: var(--soft);
}
.home-work-feature {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(220px, 0.75fr);
  gap: 36px;
  max-width: 920px;
  margin: 0 auto;
  align-items: end;
}
.home-work-photos,
.case-photos {
  position: relative;
  min-width: 0;
}
.home-work-after,
.case-photo {
  position: relative;
  margin: 0;
  overflow: hidden;
  background: #e9e3dc;
}
.home-work-after {
  aspect-ratio: 4 / 3;
}
.home-work-before {
  position: absolute;
  right: -18px;
  bottom: -18px;
  z-index: 1;
  width: 36%;
  margin: 0;
  border: 5px solid var(--soft);
  aspect-ratio: 3 / 4;
  overflow: hidden;
  background: #e9e3dc;
}
.home-work-photos img,
.case-photo img {
  display: block;
  width: 100%;
  height: auto;
  object-fit: initial;
}
.home-work-after img,
.home-work-before img {
  object-position: center 42%;
}
.home-work-photos figcaption,
.case-photo figcaption {
  position: absolute;
  right: 0;
  bottom: 0;
  margin: 0;
  padding: 5px 9px;
  background: rgba(54, 46, 39, 0.82);
  color: #fff;
  font-size: 0.68rem;
  letter-spacing: 0.08em;
}
.case-photo figcaption {
  padding: 4px 7px;
  font-size: 0.62rem;
  letter-spacing: 0.06em;
}
.home-work-copy {
  padding: 8px 0 0;
}
.home-work-copy h3 {
  margin-bottom: 10px;
  font-size: 1.35rem;
}
.home-work-copy p {
  margin: 0;
  color: var(--muted);
}
.works-showcase {
  overflow: hidden;
}
.case-list {
  max-width: 1040px;
  margin: 0 auto;
}
.case-item {
  display: grid;
  grid-template-columns: minmax(190px, 0.38fr) minmax(0, 1fr);
  gap: 54px;
  align-items: start;
  padding: 64px 0;
  border-top: 1px solid var(--line);
}
.case-item:last-child {
  border-bottom: 1px solid var(--line);
}
.case-copy {
  padding-top: 8px;
}
.case-number {
  margin: 0 0 10px;
  color: var(--accent);
  font-size: 0.75rem;
  letter-spacing: 0.14em;
}
.case-copy h2 {
  margin-bottom: 14px;
  font-size: 1.45rem;
}
.case-copy > p:last-child {
  margin: 0;
  color: var(--muted);
  font-size: 0.88rem;
}
.case-photos-paired,
.case-photos-two {
  padding: 0 0 42px;
}
.case-photo-main {
  aspect-ratio: 16 / 10;
}
.case-photos-paired .case-photo-main img {
  object-position: center 42%;
}
.case-photo-sub {
  aspect-ratio: 4 / 3;
}
.case-photos-paired .case-photo-sub,
.case-photos-two .case-photo-sub {
  position: absolute;
  right: -20px;
  bottom: 0;
  width: 35%;
  border: 5px solid #fff;
  box-shadow: 0 10px 24px rgba(54, 46, 39, 0.14);
}
.case-photos-paired .case-photo-sub {
  aspect-ratio: 3 / 4;
}
.case-photos-single {
  max-width: 710px;
}
.case-photos-single .case-photo-main {
  aspect-ratio: 4 / 3;
}
.case-photos-process {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 32%;
  gap: 16px;
}
.case-photos-process .case-photo-main {
  aspect-ratio: 3 / 4;
}
.case-process-photos {
  display: grid;
  gap: 16px;
  align-content: end;
}
.case-process-photos .case-photo-sub {
  aspect-ratio: 3 / 4;
}
@media (max-width: 768px) {
  .home-work-feature {
    display: block;
    max-width: 430px;
    padding-right: 0;
  }
  .home-work-photos {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 32%;
    gap: 8px;
    align-items: end;
  }
  .home-work-before {
    position: relative;
    right: auto;
    bottom: auto;
    width: auto;
    border: 0;
    aspect-ratio: 3 / 4;
  }
  .home-work-copy {
    padding-top: 18px;
  }
  .home-work-copy h3 {
    font-size: 1.2rem;
  }
  .case-item {
    display: flex;
    flex-direction: column;
    gap: 24px;
    padding: 44px 0;
  }
  .case-copy {
    padding: 0;
  }
  .case-copy h2 {
    margin-bottom: 8px;
    font-size: 1.25rem;
  }
  .case-copy > p:last-child {
    font-size: 0.85rem;
    line-height: 1.9;
  }
  .case-photos {
    width: 100%;
    max-width: 100%;
  }
  .case-photos-paired,
  .case-photos-two {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 32%;
    gap: 8px;
    align-items: end;
    padding-bottom: 0;
  }
  .case-photo-main {
    aspect-ratio: 4 / 3;
  }
  .case-photos-paired .case-photo-sub,
  .case-photos-two .case-photo-sub {
    position: relative;
    right: auto;
    bottom: auto;
    width: auto;
    border: 0;
    box-shadow: none;
  }
  .case-photos-paired .case-photo-sub {
    aspect-ratio: 3 / 4;
  }
  .case-photos-single {
    width: 100%;
  }
  .case-photos-process {
    width: 100%;
    gap: 10px;
  }
  .case-process-photos {
    gap: 10px;
  }
}
@media (max-width: 420px) {
  .works-showcase .inner {
    width: calc(100% - 40px);
    max-width: 335px;
  }
}

/* Works photos: retain the original orientation and aspect ratio. */
.home-work-feature {
  grid-template-columns: minmax(0, 1.25fr) minmax(220px, 0.75fr);
}
.home-work-after {
  aspect-ratio: auto;
}
.home-work-after img,
.case-photo img {
  width: 100%;
  height: auto;
  object-fit: initial;
  object-position: initial;
}
.home-work-after img {
  max-height: 620px;
}
.home-work-photos figcaption {
  display: none;
}
.case-photos {
  display: flex;
  align-items: flex-end;
  gap: 20px;
  padding: 0;
}
.case-photo {
  flex: 0 0 auto;
  overflow: visible;
  background: transparent;
  aspect-ratio: auto;
}
.case-photo-main {
  width: 70%;
  aspect-ratio: auto;
}
.case-photo-sub {
  width: 26%;
  aspect-ratio: auto;
}
.case-photos-paired .case-photo-sub,
.case-photos-two .case-photo-sub {
  position: relative;
  right: auto;
  bottom: auto;
  border: 0;
  box-shadow: none;
}
.case-photos-paired .case-photo-sub {
  aspect-ratio: auto;
}
.case-photos-single {
  display: block;
  max-width: 100%;
}
.case-photos-single .case-photo-main {
  width: 70%;
  aspect-ratio: auto;
}
.case-photos-process {
  display: grid;
  grid-template-columns: minmax(0, 70fr) minmax(0, 26fr);
  gap: 20px;
  align-items: end;
}
.case-photos-process .case-photo-main {
  width: 100%;
  aspect-ratio: auto;
}
.case-process-photos {
  gap: 16px;
}
.case-process-photos .case-photo-sub {
  width: 100%;
  aspect-ratio: auto;
}
.case-photos-process-under {
  display: grid;
  gap: 20px;
}
.case-photos-process-under .case-photo-main {
  width: 100%;
}
.case-photos-process-under .case-process-photos {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
}
.case-photos-process-under .case-process-photos .case-photo {
  width: 100%;
}
@media (max-width: 768px) {
  .home-work-feature {
    display: block;
    max-width: 520px;
  }
  .home-work-photos {
    display: block;
  }
  .home-work-after {
    width: 100%;
  }
  .home-work-after img {
    max-height: none;
  }
  .case-photos,
  .case-photos-paired,
  .case-photos-two {
    display: flex;
    flex-direction: column;
    width: 100%;
    gap: 10px;
    align-items: flex-end;
  }
  .case-photo-main {
    width: 100%;
  }
  .case-photo-sub,
  .case-photos-paired .case-photo-sub,
  .case-photos-two .case-photo-sub {
    width: 38%;
  }
  .case-photos-single {
    width: 100%;
  }
  .case-photos-single .case-photo-main {
    width: 100%;
  }
  .case-photos-process {
    grid-template-columns: minmax(0, 70fr) minmax(0, 27fr);
    gap: 10px;
  }
  .case-process-photos {
    gap: 10px;
  }
}

/* Case 07: two construction photographs shown at equal size. */
.case-photos-two {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  align-items: end;
  gap: 20px;
}
.case-photos-two .case-photo-main,
.case-photos-two .case-photo-sub {
  width: 100%;
}
@media (max-width: 768px) {
  .case-photos-two {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 16px;
  }
  .case-photos-two .case-photo-main,
  .case-photos-two .case-photo-sub {
    width: 100%;
  }
}
.works-intro {
  display: grid;
  grid-template-columns: 0.7fr 1.3fr;
  gap: 48px;
  align-items: end;
  margin-bottom: 38px;
}
.works-intro h2,
.works-intro p {
  margin-bottom: 0;
}
.works-intro > p {
  color: var(--muted);
}
.works-primary-link {
  margin-top: 38px;
}
.button-arrow::after {
  content: " →";
  margin-left: 10px;
}
.service-works-link {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 26px;
  margin-top: 32px;
  padding: 22px;
  border-top: 1px solid var(--line);
}
.service-works-link p {
  margin: 0;
  color: var(--muted);
}
.service-works-link .text-link {
  margin-top: 0;
  white-space: nowrap;
}
.home-faq .faq-item summary {
  display: flex;
  min-height: 58px;
  align-items: center;
  padding-right: 24px;
  list-style: none;
}
.home-faq .faq-item summary::-webkit-details-marker {
  display: none;
}
.home-faq .faq-item summary::after {
  margin-left: auto;
  color: var(--accent);
  content: "＋";
  font-family: sans-serif;
  font-size: 1.2rem;
}
.home-faq .faq-item[open] summary::after {
  content: "−";
}
.news-list {
  border-top: 1px solid var(--line);
}
.news-list article {
  display: grid;
  grid-template-columns: 150px 1fr;
  gap: 28px;
  padding: 20px 4px;
  border-bottom: 1px solid var(--line);
}
.news-list time {
  color: var(--accent);
  font-size: 0.8rem;
  letter-spacing: 0.08em;
}
.news-list p {
  margin: 0;
}
.news .review-note {
  margin: 0 0 28px;
}
.contact-cta {
  background: var(--ink);
  color: #fff;
}
.contact-cta .eyebrow {
  color: #cdbba9;
}
.contact-cta > div > p:not(.eyebrow) {
  color: #ddd5ce;
}
.contact-cta-actions {
  justify-content: center;
  margin-top: 30px;
}
.contact-cta .button {
  border-color: #fff;
  background: #fff;
  color: var(--ink);
}
.contact-cta .button-outline {
  background: transparent;
  color: #fff;
}
.contact-cta .button small {
  font-size: 0.72rem;
}
.contact-page {
  background: var(--soft);
}
.contact-intro {
  margin-bottom: 28px;
  text-align: center;
}
.contact-intro p {
  margin: 0;
  color: var(--muted);
}
.contact-form-extended {
  gap: 0;
}
.form-field {
  min-width: 0;
  margin: 0;
  padding: 0 0 30px;
  border: 0;
}
.form-field > label,
.form-field > legend {
  display: block;
  margin-bottom: 9px;
  font-weight: 400;
}
.field-badge {
  display: inline-block;
  margin-left: 8px;
  padding: 2px 7px;
  background: #ece7e2;
  color: var(--muted);
  font-size: 0.68rem;
  font-weight: 400;
}
.field-badge.required {
  background: #806049;
  color: #fff;
}
.contact-form select,
.contact-form input,
.contact-form textarea {
  width: 100%;
  min-height: 52px;
  margin: 0;
  padding: 13px 14px;
  border: 1px solid var(--line);
  border-radius: 0;
  background: #fff;
  color: var(--ink);
}
.contact-form textarea {
  min-height: 170px;
  resize: vertical;
}
.contact-form select:focus,
.contact-form input:focus,
.contact-form textarea:focus {
  border-color: var(--accent);
  outline: 2px solid rgba(138, 107, 79, 0.18);
  outline-offset: 1px;
}
.contact-form input[type="radio"],
.contact-form input[type="checkbox"] {
  width: 20px;
  min-height: 20px;
  margin: 0;
  accent-color: var(--accent);
}
.contact-pair {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}
.contact-pair label {
  display: block;
  margin-bottom: 7px;
  font-size: 0.85rem;
}
.choice-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}
.choice-row label {
  display: flex;
  min-height: 48px;
  align-items: center;
  gap: 8px;
  padding: 10px 14px;
  border: 1px solid var(--line);
  background: #fff;
  cursor: pointer;
}
.form-field small {
  display: block;
  margin-top: 8px;
  color: var(--muted);
  font-size: 0.76rem;
}
.field-error {
  min-height: 1.4em;
  margin: 6px 0 0;
  color: #9b3327;
  font-size: 0.78rem;
}
.contact-form [aria-invalid="true"] {
  border-color: #9b3327;
}
.privacy-agreement > label {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  line-height: 1.7;
}
.privacy-agreement a {
  text-decoration: underline;
  text-underline-offset: 3px;
}
.contact-submit {
  min-width: 300px;
}
.form-status {
  margin: 14px 0 0;
  padding: 0;
  color: var(--accent);
  font-weight: 400;
}
.form-status.is-error {
  color: #9b3327;
}
.privacy-guide {
  margin-top: 48px;
  padding: 30px;
  border: 1px solid var(--line);
  background: #fff;
}
.privacy-guide h2 {
  font-size: 1.25rem;
}
.privacy-guide p {
  margin: 0;
  color: var(--muted);
  font-size: 0.86rem;
}
@media (max-width: 1024px) {
  .nav ul {
    gap: 12px;
  }
  .nav a {
    font-size: 0.68rem;
  }
}
@media (max-width: 768px) {
  .works-intro {
    grid-template-columns: 1fr;
    gap: 12px;
  }
  .service-works-link {
    align-items: flex-start;
    flex-direction: column;
    gap: 4px;
  }
  .news-list article {
    grid-template-columns: 1fr;
    gap: 5px;
    padding: 18px 2px;
  }
  .contact-pair {
    grid-template-columns: 1fr;
  }
  .contact-form-extended {
    padding: 28px 20px;
  }
  .contact-submit {
    width: 100%;
    min-width: 0;
  }
  .choice-row {
    display: grid;
    grid-template-columns: 1fr;
  }
  .privacy-guide {
    padding: 24px 20px;
  }
  .contact-cta-actions {
    align-items: stretch;
    flex-direction: column;
  }
  .contact-cta-actions .button {
    width: 100%;
  }
}

/* Review-ready contact flow */
.contact-intro {
  max-width: 680px;
  margin: 0 auto 34px;
}
.contact-intro p {
  margin-bottom: 14px;
}
.contact-intro strong {
  display: block;
  color: var(--accent);
  font-family: "Noto Serif JP", serif;
  font-size: 1.1rem;
  font-weight: 400;
}
.consultation-examples {
  margin: 46px 0;
  padding: 36px;
  background: #fff;
}
.consultation-examples h2 {
  margin-bottom: 24px;
  font-size: 1.35rem;
}
.consultation-examples ul {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px 28px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.consultation-examples li {
  position: relative;
  padding-left: 20px;
  color: var(--muted);
}
.consultation-examples li::before {
  position: absolute;
  top: 0.75em;
  left: 2px;
  width: 7px;
  height: 7px;
  border: 1px solid var(--accent);
  content: "";
  transform: rotate(45deg);
}
.contact-phone h2 {
  margin-bottom: 8px;
  font-size: 1.35rem;
}
.contact-phone p {
  margin-bottom: 12px;
  color: var(--muted);
}
.visit-contact {
  padding: 36px;
  background: #fff;
}
.visit-contact h2 {
  margin-bottom: 10px;
  font-size: 1.35rem;
}
.visit-contact > p {
  color: var(--muted);
}
.service-grid-text .service-card {
  display: block;
}
.service-grid-text .service-card > div:last-child {
  padding: 28px;
}
.empty-works {
  padding: 38px;
  background: var(--soft);
  color: var(--muted);
  text-align: center;
}
.product-choice-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}
.product-choice-grid label {
  display: flex;
  min-height: 50px;
  align-items: center;
  gap: 9px;
  padding: 10px 13px;
  border: 1px solid var(--line);
  background: #fff;
  cursor: pointer;
}
.product-choice-grid input {
  flex: 0 0 auto;
}
.file-name {
  min-height: 1.4em;
  margin: 7px 0 0;
  color: var(--accent);
  font-size: 0.78rem;
}
.contact-form fieldset[aria-invalid="true"] {
  padding: 16px;
  border: 1px solid #9b3327;
}
.contact-review-panel {
  margin-top: 34px;
  padding: 42px;
  background: #fff;
  box-shadow: 0 8px 30px rgba(54, 46, 39, 0.06);
}
.contact-review-panel h2 {
  font-size: 1.65rem;
}
.contact-review-panel > p:not(.eyebrow) {
  color: var(--muted);
}
.confirmation-list {
  margin: 30px 0;
}
.confirmation-list > div {
  display: grid;
  grid-template-columns: 180px 1fr;
  border-top: 1px solid var(--line);
}
.confirmation-list > div:last-child {
  border-bottom: 1px solid var(--line);
}
.confirmation-list dt,
.confirmation-list dd {
  padding: 14px 12px;
}
.confirmation-list dt {
  font-weight: 400;
}
.confirmation-list dd {
  margin: 0;
  color: var(--muted);
  white-space: pre-wrap;
}
.contact-completion {
  text-align: center;
}
.contact-completion .button {
  margin-top: 18px;
}
@media (max-width: 768px) {
  .consultation-examples {
    padding: 28px 20px;
  }
  .consultation-examples ul,
  .product-choice-grid {
    grid-template-columns: 1fr;
  }
  .confirmation-list > div {
    grid-template-columns: 1fr;
  }
  .confirmation-list dt {
    padding-bottom: 2px;
  }
  .confirmation-list dd {
    padding-top: 2px;
  }
  .contact-review-panel {
    padding: 30px 20px;
  }
  .contact-review-panel .button-row,
  .contact-review-panel .button {
    width: 100%;
  }
}

.service-notice {
  margin: -12px auto 36px;
  padding: 16px 20px;
  border-left: 2px solid #c9b7a5;
  background: #f7f4f1;
  color: var(--muted);
  font-size: 0.82rem;
  line-height: 1.8;
}
.service-notice p {
  margin: 0;
}
.service-notice p + p {
  margin-top: 4px;
}
.brand-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.brand-grid li {
  display: flex;
  align-items: center;
  min-width: 0;
  min-height: 58px;
  padding: 14px 16px;
  overflow-wrap: anywhere;
  background: var(--soft);
}
.brand-note {
  margin: 24px 0 0;
  color: var(--muted);
  text-align: center;
}
.service-grid-image {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 28px;
}
.service-grid-image .service-card {
  display: block;
  min-width: 0;
  background: var(--soft);
}
.service-grid-image .service-card-no-image {
  display: flex;
  align-items: center;
}
.service-image {
  display: grid;
  min-width: 0;
  aspect-ratio: 4/3;
  place-items: center;
  padding: 20px;
  overflow: hidden;
  background: #e9e3dc;
  color: #928980;
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  text-align: center;
}
.service-copy {
  padding: 22px 24px 26px;
}
.service-copy h2 {
  margin-bottom: 9px;
  font-size: 1.2rem;
}
.service-copy p {
  margin: 0;
  color: var(--muted);
  font-size: 0.88rem;
}

.representative-services .info-grid article {
  border-bottom: 1px solid var(--line);
  box-shadow: none;
}
.representative-services .info-grid h3 {
  margin-bottom: 4px;
}
.representative-services .info-grid p {
  font-size: 0.84rem;
}
.representative-product-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}
.representative-product-grid .service-card {
  background: transparent;
}
.representative-product-grid .service-image {
  aspect-ratio: 4 / 3;
  padding: 0;
}
.representative-product-grid .service-copy {
  padding: 18px 0 0;
}
.representative-product-grid .service-copy h3 {
  margin-bottom: 6px;
  font-size: 1.2rem;
}
.representative-product-grid .service-copy p {
  margin: 0;
  color: var(--muted);
  font-size: 0.88rem;
}
.representative-product-link {
  display: flex;
  align-items: center;
  flex-direction: column;
  justify-content: center;
  gap: 8px;
  margin-top: 36px;
  padding-top: 22px;
  border-top: 1px solid var(--line);
}
.representative-product-link > div {
  max-width: 720px;
  text-align: center;
}
.representative-product-link p {
  margin: 0;
  color: var(--muted);
}
.representative-product-link p + p {
  margin-top: 5px;
  font-size: 0.88rem;
}
.representative-product-link .text-link {
  margin-top: 0;
  white-space: nowrap;
}
.work-template-card {
  box-shadow: none;
}
.work-template-card .photo-placeholder,
.case-hero-photo,
.case-gallery-photo {
  background: var(--soft);
}
@media (max-width: 1024px) {
  .service-grid-image {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
@media (max-width: 768px) {
  .intro-layout {
    display: flex;
    flex-direction: column;
    gap: 24px;
  }
  .intro-photo {
    order: -1;
    margin: 0;
  }
  .intro-copy h2 {
    margin-bottom: 12px;
  }
  .representative-services .info-grid {
    gap: 0;
  }
  .representative-services .info-grid article {
    padding: 18px 0;
  }
  .representative-product-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .representative-product-grid .service-copy {
    padding-top: 14px;
  }
  .representative-product-link {
    align-items: flex-start;
    gap: 4px;
    margin-top: 32px;
  }
  .representative-product-link > div {
    text-align: left;
  }
  .service-grid-image {
    gap: 36px;
  }
  .service-grid-image .service-card {
    background: transparent;
  }
  .service-grid-image .service-image {
    aspect-ratio: 4 / 3;
    padding: 0;
  }
  .service-grid-image .service-copy {
    padding: 16px 0 0;
  }
  .service-grid-image .service-copy h2 {
    margin-bottom: 4px;
  }
  .service-grid-image {
    grid-template-columns: 1fr;
  }
  .service-notice {
    margin-top: -4px;
    padding: 14px 16px;
  }
}

@media (max-width: 768px) {
  .work-template-card .card-body {
    padding: 24px 20px 26px;
  }
  .work-template-card h3 {
    font-size: 1.2rem;
  }
  .case-hero-photo {
    aspect-ratio: 4/3;
    margin-bottom: 32px;
  }
  .case-intro {
    margin-bottom: 28px;
  }
  .case-intro h1 {
    font-size: 1.75rem;
  }
  .case-gallery-photo {
    aspect-ratio: 4/3;
  }
  .before-gallery {
    margin-top: 40px;
  }
}

/* Mobile-first reading and touch targets */
@media (max-width: 768px) {
  html {
    scroll-padding-top: calc(var(--header) + 16px);
  }
  body {
    padding-bottom: 72px;
    font-size: 16px;
    line-height: 1.85;
  }
  .inner {
    width: calc(100% - 40px);
  }
  .section-compact {
    padding: 72px 0;
  }
  .section-title {
    margin-bottom: 32px;
  }
  .section-title > p:last-child,
  .intro p:not(.eyebrow) {
    max-width: none;
  }
  .section-heading {
    gap: 16px;
    margin-bottom: 28px;
  }
  .page-hero {
    padding: 44px 0 56px;
  }
  .page-hero h1 {
    margin-bottom: 14px;
    font-size: 2.15rem;
  }
  .eyebrow {
    font-size: 0.78rem;
    letter-spacing: 0.16em;
  }
  .button {
    min-height: 52px;
    padding: 12px 20px;
  }
  .button-row {
    gap: 12px;
  }
  .mobile-menu a {
    padding: 17px 8px;
    font-size: 1rem;
  }
  .quick-grid,
  .info-grid,
  .service-grid-image,
  .flow-grid,
  .gallery-grid {
    gap: 16px;
  }
  .quick-card {
    min-height: 152px;
    padding: 20px 12px;
  }
  .info-grid article {
    padding: 24px 20px;
  }
  .service-copy,
  .card-body {
    padding: 20px;
  }
  .contact-phone,
  .visit-contact,
  .consultation-examples,
  .contact-review-panel,
  .estimate-form,
  .contact-form-extended {
    padding: 28px 20px;
  }
  .contact-form input,
  .contact-form textarea,
  .contact-form select,
  .contact-form-extended input,
  .contact-form-extended textarea,
  .contact-form-extended select {
    min-height: 52px;
  }
  .detail-actions .button,
  .contact-form .button,
  .contact-submit {
    width: 100%;
  }
  .mobile-actions {
    height: 72px;
  }
  .mobile-actions a {
    min-height: 72px;
    padding: 10px 8px;
    font-size: 0.9rem;
    line-height: 1.4;
    text-align: center;
  }
  .mobile-actions a + a {
    border-left: 1px solid rgba(255, 255, 255, 0.28);
  }
}
/* Top page works: keep the original photo aspect ratio */
@media (min-width: 769px) {
  .home-work-feature {
    display: block;
    max-width: 760px;
    margin: 0 auto;
    text-align: center;
  }

  .home-work-photos {
    max-width: 760px;
    margin: 0 auto;
  }

  .home-work-after {
    width: 100%;
    height: auto;
    aspect-ratio: auto;
    overflow: visible;
    margin: 0 auto;
  }

  .home-work-after img {
    display: block;
    width: 100%;
    height: auto;
    max-height: none;
    object-fit: initial;
    object-position: initial;
  }

  .home-work-copy {
    max-width: 680px;
    margin: 28px auto 0;
    padding: 0;
  }

  .home-work-copy h3 {
    margin-bottom: 10px;
    font-size: 1.35rem;
  }

  .home-work-copy p {
    margin: 0 auto;
    color: var(--muted);
  }
}

/* Works description: centered above the link */
.works-description {
  max-width: 680px;
  margin: 24px auto 0;
  text-align: center;
  color: var(--muted);
}
