/*
Theme Name: Mowing Theme
Theme URI: https://example.com/
Author: Sun Kikaku
Description: 草刈りハナヤン用WordPressテーマ
Version: 3.0.0
*/

:root {
  --green-900: #183b2d;
  --green-700: #28714f;
  --green-500: #5e9f54;
  --lime-100: #edf7dc;
  --paper: #fffdf7;
  --white: #ffffff;
  --ink: #1f2a24;
  --muted: #66736d;
  --line: #dce5d8;
  --warning: #b87421;
  --shadow: 0 18px 45px rgba(24, 59, 45, 0.14);
  --shadow-soft: 0 8px 24px rgba(24, 59, 45, 0.08);
  --radius: 8px;
  --container: 1180px;

  --primary-green: var(--green-900);
  --secondary-green: var(--green-700);
  --accent-green: var(--green-500);
  --light-green: #a9d67b;
  --warm-white: var(--paper);
  --warm-beige: #f5f0e5;
  --soft-gray: #f4f8ec;
  --medium-gray: var(--muted);
  --dark-gray: var(--ink);
  --earth-brown: #8d7454;
  --gradient-primary: linear-gradient(135deg, var(--green-900), var(--green-700));
  --gradient-hero: linear-gradient(135deg, #f6f4e8 0%, #e8f5dd 100%);
  --gradient-soft: linear-gradient(135deg, #fffdf7 0%, #f4f8ec 100%);
  --shadow-sm: 0 2px 8px rgba(24, 59, 45, 0.08);
  --shadow-md: 0 8px 24px rgba(24, 59, 45, 0.12);
  --shadow-lg: 0 14px 34px rgba(24, 59, 45, 0.16);
  --shadow-xl: 0 20px 48px rgba(24, 59, 45, 0.2);
  --space-xs: 0.5rem;
  --space-sm: 0.875rem;
  --space-md: 1.25rem;
  --space-lg: 1.75rem;
  --space-xl: 2.5rem;
  --space-2xl: 4rem;
  --space-3xl: 5.5rem;
  --font-size-xs: 0.78rem;
  --font-size-sm: 0.9rem;
  --font-size-base: 1rem;
  --font-size-lg: 1.1rem;
  --font-size-xl: 1.35rem;
  --font-size-2xl: 1.7rem;
  --font-size-3xl: 2.15rem;
  --font-size-4xl: 3rem;
  --radius-sm: 6px;
  --radius-md: 8px;
  --radius-lg: 10px;
  --radius-xl: 12px;
  --radius-full: 9999px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

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

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

a {
  color: inherit;
}

.container {
  width: min(var(--container), calc(100% - 32px));
  margin-inline: auto;
}

.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin: 0;
  color: var(--muted);
  font-size: 0.92rem;
}

.breadcrumb a {
  color: var(--green-700);
  font-weight: 800;
  text-decoration: none;
}

.breadcrumb a::after {
  content: "/";
  margin-left: 8px;
  color: var(--muted);
  font-weight: 400;
}

.breadcrumb span {
  color: var(--muted);
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  border-bottom: 1px solid rgba(24, 59, 45, 0.1);
  background: rgba(255, 253, 247, 0.94);
  backdrop-filter: blur(14px);
}

.site-header + .works-archive,
.site-header + .work-detail {
  margin-top: 0;
}

.header-inner {
  width: min(var(--container), calc(100% - 32px));
  min-height: 76px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 28px;
}

.brand-link {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  flex-shrink: 0;
}

.brand-mark {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border-radius: var(--radius);
  background: var(--green-900);
  color: var(--white);
}

.brand-copy {
  display: grid;
  gap: 1px;
}

.brand-name {
  font-size: 1.12rem;
  font-weight: 800;
  line-height: 1.2;
}

.brand-tagline {
  color: var(--muted);
  font-size: 0.78rem;
  line-height: 1.2;
}

.site-nav {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 22px;
  color: var(--muted);
  font-size: 0.95rem;
  font-weight: 700;
}

.site-nav a {
  text-decoration: none;
}

.site-nav a:hover {
  color: var(--green-700);
}

.header-cta,
.button,
.calc-button,
.mobile-cta,
.cta-btn {
  min-height: 46px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  border-radius: var(--radius);
  border: 0;
  font-weight: 800;
  text-decoration: none;
  cursor: pointer;
  transition: transform 0.18s ease, box-shadow 0.18s ease, background 0.18s ease;
}

.header-cta {
  padding: 0 18px;
  background: var(--green-700);
  color: var(--white);
  box-shadow: var(--shadow-soft);
}

.button:hover,
.header-cta:hover,
.calc-button:hover,
.cta-btn:hover {
  transform: translateY(-2px);
}

.menu-toggle {
  width: 44px;
  height: 44px;
  display: none;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
}

.menu-toggle span {
  width: 18px;
  height: 2px;
  display: block;
  margin: 4px auto;
  background: var(--green-900);
}

.mobile-nav {
  width: min(var(--container), calc(100% - 32px));
  margin: 0 auto 16px;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
  box-shadow: var(--shadow-soft);
}

.mobile-nav a {
  display: block;
  padding: 13px 10px;
  border-bottom: 1px solid var(--line);
  font-weight: 800;
  text-decoration: none;
}

.mobile-nav a:last-child {
  border-bottom: 0;
}

.mobile-cta {
  margin-top: 10px;
  background: var(--green-700);
  color: var(--white);
}

.main-content {
  min-height: 100vh;
}

.works-archive,
.work-detail {
  background: var(--paper);
}

.works-archive .header-content,
.work-detail .header-content {
  min-width: 0;
}

.works-archive .page-title,
.work-detail .work-title {
  letter-spacing: 0;
}

.works-archive .work-card,
.work-detail .detail-card,
.work-detail .comment-card,
.work-detail .info-card,
.work-detail .cta-card,
.work-detail .related-card {
  border-radius: var(--radius);
}

.works-archive .card-images,
.work-detail .gallery-content,
.work-detail .details-grid,
.work-detail .related-grid,
.work-detail .nav-content {
  min-width: 0;
}

.works-archive img,
.work-detail img {
  height: auto;
}

.hero-section,
.services-section,
.pricing-section,
.notice-section,
.contact-section {
  padding: clamp(64px, 8vw, 110px) 0;
}

.hero-section {
  padding-top: clamp(48px, 6vw, 90px);
  background:
    linear-gradient(120deg, rgba(237, 247, 220, 0.94), rgba(255, 253, 247, 0.94)),
    url("https://images.unsplash.com/photo-1416879595882-3373a0480b5b?w=1800&h=1100&fit=crop") center/cover;
}

.hero-container,
.section-container {
  width: min(var(--container), calc(100% - 32px));
  margin: 0 auto;
}

.hero-container {
  display: grid;
  grid-template-columns: minmax(0, 1.02fr) minmax(360px, 0.98fr);
  gap: clamp(36px, 6vw, 78px);
  align-items: center;
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--green-700);
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

.hero-title {
  margin: 0;
  color: var(--green-900);
  font-size: clamp(2.35rem, 5vw, 4.5rem);
  line-height: 1.14;
  letter-spacing: 0;
}

.hero-subtitle {
  max-width: 660px;
  margin: 24px 0 0;
  color: #3d4a44;
  font-size: clamp(1rem, 1.6vw, 1.18rem);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 32px;
}

.button {
  padding: 13px 20px;
}

.button-primary {
  background: var(--green-900);
  color: var(--white);
  box-shadow: var(--shadow-soft);
}

.button-secondary {
  border: 1px solid rgba(24, 59, 45, 0.2);
  background: var(--white);
  color: var(--green-900);
}

.hero-facts {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  margin: 34px 0 0;
}

.hero-facts div {
  padding: 14px;
  border: 1px solid rgba(24, 59, 45, 0.12);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.82);
}

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

.hero-facts dd {
  margin: 3px 0 0;
  color: var(--green-900);
  font-weight: 800;
}

.hero-visual {
  position: relative;
}

.hero-img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.hero-note {
  position: absolute;
  right: 18px;
  bottom: 18px;
  max-width: min(320px, calc(100% - 36px));
  padding: 14px 16px;
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.94);
  box-shadow: var(--shadow-soft);
}

.hero-note span,
.hero-note strong {
  display: block;
}

.hero-note span {
  color: var(--muted);
  font-size: 0.82rem;
  font-weight: 700;
}

.hero-note strong {
  color: var(--green-900);
  font-size: 1rem;
}

.section-header {
  max-width: 780px;
  margin: 0 auto 40px;
  text-align: center;
}

.section-title {
  margin: 0;
  color: var(--green-900);
  font-size: clamp(1.8rem, 3.6vw, 3rem);
  line-height: 1.25;
  letter-spacing: 0;
}

.section-subtitle {
  margin: 16px auto 0;
  color: var(--muted);
  font-size: 1.02rem;
}

.service-grid,
.pricing-grid,
.notice-grid {
  display: grid;
  gap: 18px;
}

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

.service-card,
.pricing-card,
.notice-card,
.calculator-section,
.contact-form-wrapper {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
  box-shadow: var(--shadow-soft);
}

.service-card,
.notice-card {
  padding: 26px;
}

.service-card i,
.notice-card i {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  margin-bottom: 18px;
  border-radius: var(--radius);
  background: var(--lime-100);
  color: var(--green-700);
  font-size: 1.1rem;
}

.service-card h3,
.notice-card h3 {
  margin: 0 0 10px;
  color: var(--green-900);
  font-size: 1.18rem;
}

.service-card p,
.notice-card p {
  margin: 0;
  color: var(--muted);
}

.before-after-showcase {
  margin-top: 52px;
  display: grid;
  grid-template-columns: 0.72fr 1.28fr;
  gap: 28px;
  align-items: center;
}

.showcase-copy {
  padding-right: 16px;
}

.showcase-copy h3 {
  margin: 0;
  color: var(--green-900);
  font-size: clamp(1.55rem, 3vw, 2.4rem);
  line-height: 1.28;
}

.showcase-copy p:not(.eyebrow) {
  color: var(--muted);
}

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

.comparison-item {
  position: relative;
  margin: 0;
  overflow: hidden;
  border-radius: var(--radius);
  background: var(--green-900);
}

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

.comparison-item figcaption {
  position: absolute;
  left: 12px;
  top: 12px;
  padding: 5px 10px;
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.92);
  color: var(--green-900);
  font-weight: 800;
}

.pricing-section {
  background: #f4f8ec;
}

.pricing-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  align-items: stretch;
}

.pricing-card {
  padding: 30px;
}

.pricing-card.highlighted {
  border-color: rgba(40, 113, 79, 0.36);
  background: linear-gradient(180deg, #ffffff 0%, #f4fbec 100%);
}

.price-badge {
  display: inline-flex;
  margin-bottom: 16px;
  padding: 5px 10px;
  border-radius: var(--radius);
  background: var(--lime-100);
  color: var(--green-700);
  font-size: 0.82rem;
  font-weight: 800;
}

.price-amount {
  display: flex;
  align-items: baseline;
  gap: 8px;
  margin-bottom: 12px;
  color: var(--green-900);
}

.price-amount strong {
  font-size: clamp(2rem, 4vw, 3.2rem);
  line-height: 1;
}

.pricing-card p {
  color: var(--muted);
}

.pricing-card ul {
  margin: 18px 0 0;
  padding: 0;
  list-style: none;
}

.pricing-card li {
  padding: 10px 0;
  border-top: 1px solid var(--line);
  font-weight: 700;
}

.calculator-section {
  margin-top: 24px;
  padding: 30px;
}

.calculator-header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 24px;
}

.calculator-header h3 {
  margin: 0;
  color: var(--green-900);
  font-size: 1.35rem;
}

.calculator-header p {
  margin: 0;
  color: var(--muted);
}

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

.calc-field {
  display: grid;
  gap: 7px;
  color: var(--green-900);
  font-weight: 800;
}

.calc-field input,
.calc-field select {
  width: 100%;
  min-height: 48px;
  padding: 0 13px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--paper);
  color: var(--ink);
  font: inherit;
}

.calc-button {
  width: 100%;
  margin-top: 16px;
  background: var(--green-900);
  color: var(--white);
  font: inherit;
}

.calc-result,
.calc-error {
  margin-top: 16px;
  padding: 18px;
  border-radius: var(--radius);
}

.calc-result {
  border: 1px solid rgba(40, 113, 79, 0.25);
  background: #eef8e8;
}

.calc-result h4 {
  margin: 0 0 8px;
}

.result-price {
  margin: 0;
}

.price-value {
  display: block;
  color: var(--green-900);
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  font-weight: 800;
}

.price-details {
  display: grid;
  gap: 6px;
  margin-top: 10px;
  color: var(--muted);
}

.detail-item {
  display: flex;
  justify-content: space-between;
  gap: 14px;
}

.calc-error {
  border: 1px solid rgba(184, 116, 33, 0.28);
  background: #fff5e7;
  color: #835015;
  font-weight: 800;
}

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

.contact-section {
  background: var(--green-900);
  color: var(--white);
}

.contact-layout {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 36px;
  align-items: start;
}

.contact-section .eyebrow,
.contact-section .section-title {
  color: var(--white);
}

.contact-copy p:not(.eyebrow) {
  color: rgba(255, 255, 255, 0.78);
}

.contact-methods {
  display: grid;
  gap: 12px;
  margin-top: 28px;
}

.contact-method {
  display: flex;
  gap: 14px;
  align-items: center;
  padding: 16px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.08);
  text-decoration: none;
}

.contact-method i {
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.14);
}

.contact-method strong {
  display: block;
}

.contact-form-wrapper {
  padding: 28px;
  color: var(--ink);
}

.contact-form-wrapper input:not([type="checkbox"]):not([type="radio"]),
.contact-form-wrapper textarea,
.contact-form-wrapper select {
  width: 100%;
  min-height: 46px;
  padding: 10px 12px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  font: inherit;
}

.contact-form-wrapper textarea {
  min-height: 150px;
}

.contact-form-wrapper input[type="submit"] {
  border: 0;
  background: var(--green-700);
  color: var(--white);
  font-weight: 800;
  cursor: pointer;
}

.contact-form-wrapper .wpcf7-list-item {
  display: block;
  margin: 0;
}

.contact-form-wrapper .wpcf7-list-item label {
  display: inline-flex;
  align-items: flex-start;
  gap: 10px;
  cursor: pointer;
  line-height: 1.6;
}

.contact-form-wrapper input[type="checkbox"],
.contact-form-wrapper input[type="radio"] {
  width: 18px;
  height: 18px;
  min-height: 0;
  flex: 0 0 18px;
  margin: 0.22em 0 0;
  padding: 0;
  accent-color: var(--green-700);
}

.contact-form-wrapper .wpcf7-list-item-label {
  display: block;
}

.contact-form-wrapper .privacy-check {
  margin: 18px 0 8px;
  padding: 14px 16px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #f5f9ef;
}

.contact-form-wrapper .privacy-check p,
.contact-form-wrapper .privacy-check label {
  margin: 0;
}

.contact-form-wrapper .privacy-check > p > label > br,
.contact-form-wrapper .privacy-check .wpcf7-form-control-wrap + br {
  display: none;
}

.contact-form-wrapper .privacy-check .wpcf7-list-item-label span {
  display: inline;
}

.contact-form-wrapper .privacy-policy-content {
  color: var(--muted);
  font-size: 0.86rem;
}

.contact-form-wrapper .privacy-policy-scroll {
  max-height: 150px;
  overflow: auto;
  padding: 12px 14px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--paper);
}

.site-footer {
  background: #10271e;
  color: var(--white);
}

.footer-content {
  padding: 54px 0 24px;
}

.footer-container {
  width: min(var(--container), calc(100% - 32px));
  margin: 0 auto;
}

.footer-main {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 28px;
}

.footer-logo,
.contact-item,
.service-item {
  display: flex;
  gap: 12px;
  align-items: flex-start;
}

.footer-service-name,
.footer-heading {
  margin: 0 0 12px;
}

.footer-description,
.contact-label,
.footer-company {
  color: rgba(255, 255, 255, 0.7);
}

.service-list,
.link-list {
  margin: 0;
  padding: 0;
  list-style: none;
}

.service-list {
  display: grid;
  gap: 10px;
}

.footer-cta {
  margin-top: 34px;
  padding: 22px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.06);
}

.cta-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.cta-title,
.cta-subtitle {
  margin: 0;
}

.cta-subtitle {
  color: rgba(255, 255, 255, 0.72);
}

.cta-buttons,
.footer-bottom-content,
.link-list {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  align-items: center;
}

.cta-btn {
  padding: 12px 16px;
}

.cta-btn.primary {
  background: var(--white);
  color: var(--green-900);
}

.cta-btn.secondary {
  border: 1px solid rgba(255, 255, 255, 0.22);
}

.footer-bottom {
  padding: 18px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
}

.footer-bottom-content {
  justify-content: space-between;
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.92rem;
}

.link-list a {
  text-decoration: none;
}

@media (max-width: 980px) {
  .site-nav,
  .header-cta {
    display: none;
  }

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

  .hero-container,
  .before-after-showcase,
  .contact-layout,
  .footer-main {
    grid-template-columns: 1fr;
  }

  .hero-container {
    gap: 34px;
  }

  .service-grid,
  .notice-grid {
    grid-template-columns: 1fr;
  }

  .calculator-header {
    display: block;
  }
}

@media (max-width: 720px) {
  .header-inner {
    min-height: 66px;
  }

  .brand-mark {
    width: 38px;
    height: 38px;
  }

  .brand-name {
    font-size: 1rem;
  }

  .brand-tagline {
    font-size: 0.72rem;
  }

  .hero-section,
  .services-section,
  .pricing-section,
  .notice-section,
  .contact-section {
    padding: 52px 0;
  }

  .hero-facts,
  .pricing-grid,
  .comparison-container,
  .calc-row {
    grid-template-columns: 1fr;
  }

  .hero-actions .button {
    width: 100%;
  }

  .hero-note {
    position: static;
    margin-top: 12px;
  }

  .service-card,
  .pricing-card,
  .notice-card,
  .calculator-section,
  .contact-form-wrapper {
    padding: 20px;
  }

  .detail-item,
  .cta-content,
  .footer-bottom-content {
    display: block;
  }

  .cta-buttons {
    margin-top: 16px;
  }
}

/* Refined green visual system */
.site-header {
  border-bottom-color: rgba(24, 59, 45, 0.14);
  box-shadow: 0 6px 24px rgba(24, 59, 45, 0.05);
}

.brand-mark {
  position: relative;
  overflow: hidden;
  background: linear-gradient(145deg, var(--green-900), var(--green-700));
}

.brand-mark::after {
  content: "";
  position: absolute;
  width: 24px;
  height: 24px;
  right: -10px;
  bottom: -9px;
  border-radius: 50%;
  background: var(--light-green);
  opacity: 0.72;
}

.site-nav a {
  position: relative;
  padding-block: 8px;
}

.site-nav a::after {
  content: "";
  position: absolute;
  right: 0;
  bottom: 2px;
  left: 0;
  height: 2px;
  background: var(--green-500);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.2s ease;
}

.site-nav a:hover::after {
  transform: scaleX(1);
}

.section-header::before {
  content: "";
  width: 48px;
  height: 3px;
  display: block;
  margin: 0 auto 18px;
  background: var(--green-500);
}

.contact-section .section-header::before {
  background: var(--light-green);
}

.works-archive .works-header,
.work-detail .work-header {
  border-bottom: 1px solid rgba(24, 59, 45, 0.12);
}

.works-archive .header-badge,
.work-detail .work-badge {
  background: var(--green-900);
}

.site-footer {
  position: relative;
  overflow: hidden;
  background: #102b20;
  color: var(--white);
}

.site-footer::before {
  content: "";
  position: absolute;
  width: 540px;
  height: 540px;
  right: -260px;
  bottom: -300px;
  border: 1px solid rgba(180, 219, 133, 0.18);
  border-radius: 50%;
  box-shadow:
    0 0 0 70px rgba(180, 219, 133, 0.025),
    0 0 0 140px rgba(180, 219, 133, 0.018);
  pointer-events: none;
}

.footer-accent {
  height: 5px;
  background: linear-gradient(90deg, var(--light-green), var(--green-500), var(--green-700));
}

.footer-container {
  position: relative;
  width: min(var(--container), calc(100% - 32px));
  margin: 0 auto;
}

.footer-primary {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: clamp(44px, 8vw, 110px);
  padding: clamp(64px, 8vw, 104px) 0 52px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.13);
}

.footer-brand-link {
  display: inline-flex;
  align-items: center;
  gap: 13px;
  color: var(--white);
  text-decoration: none;
}

.footer-brand-link strong,
.footer-brand-link small {
  display: block;
}

.footer-brand-link strong {
  font-size: 1.25rem;
  line-height: 1.3;
}

.footer-brand-link small {
  margin-top: 3px;
  color: rgba(255, 255, 255, 0.58);
  font-size: 0.78rem;
}

.footer-brand-mark {
  width: 46px;
  height: 46px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(180, 219, 133, 0.48);
  border-radius: var(--radius);
  color: var(--light-green);
  font-family: Georgia, serif;
  font-size: 1.35rem;
  font-weight: 700;
}

.footer-description {
  max-width: 420px;
  margin: 26px 0 0;
  color: rgba(255, 255, 255, 0.68);
}

.footer-kicker {
  margin: 0 0 10px;
  color: var(--light-green);
  font-size: 0.78rem;
  font-weight: 800;
  text-transform: uppercase;
}

.footer-consult h2 {
  max-width: 680px;
  margin: 0;
  color: var(--white);
  font-size: clamp(1.8rem, 3.4vw, 3.25rem);
  line-height: 1.35;
  letter-spacing: 0;
}

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

.footer-button {
  min-height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 11px 18px;
  border: 1px solid transparent;
  border-radius: var(--radius);
  font-weight: 800;
  text-decoration: none;
  transition: transform 0.2s ease, background 0.2s ease, border-color 0.2s ease;
}

.footer-button:hover {
  transform: translateY(-2px);
}

.footer-button.primary {
  background: var(--light-green);
  color: var(--green-900);
}

.footer-button.secondary {
  border-color: rgba(255, 255, 255, 0.28);
  color: var(--white);
}

.footer-button.secondary:hover {
  border-color: var(--light-green);
  background: rgba(180, 219, 133, 0.08);
}

.footer-meta {
  display: grid;
  grid-template-columns: 1.4fr 0.6fr;
  gap: 36px;
  padding: 34px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.13);
}

.footer-facts {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
  margin: 0;
}

.footer-facts div {
  padding-left: 14px;
  border-left: 2px solid rgba(180, 219, 133, 0.4);
}

.footer-facts dt {
  color: rgba(255, 255, 255, 0.5);
  font-size: 0.75rem;
  font-weight: 700;
}

.footer-facts dd {
  margin: 5px 0 0;
  color: rgba(255, 255, 255, 0.9);
  font-size: 0.9rem;
  font-weight: 700;
}

.footer-facts dd small {
  display: block;
  margin-top: 4px;
  color: rgba(255, 255, 255, 0.65);
  font-size: 0.75rem;
  font-weight: 500;
}

.footer-nav {
  display: grid;
  grid-template-columns: repeat(2, max-content);
  justify-content: end;
  gap: 8px 22px;
}

.footer-nav a {
  color: rgba(255, 255, 255, 0.68);
  font-size: 0.88rem;
  font-weight: 700;
  text-decoration: none;
}

.footer-nav a:hover {
  color: var(--light-green);
}

.site-footer .footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding: 20px 0 28px;
  border-top: 0;
  background: transparent;
  color: rgba(255, 255, 255, 0.4);
  font-size: 0.76rem;
}

.site-footer .footer-bottom p {
  margin: 0;
}

@media (max-width: 900px) {
  .footer-primary,
  .footer-meta {
    grid-template-columns: 1fr;
  }

  .footer-nav {
    justify-content: start;
  }
}

@media (max-width: 620px) {
  .footer-primary {
    padding-top: 54px;
  }

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

  .footer-nav {
    grid-template-columns: 1fr 1fr;
  }

  .footer-actions,
  .footer-button {
    width: 100%;
  }

  .site-footer .footer-bottom {
    display: grid;
  }
}

/* Photo-led home page */
.hero-section {
  position: relative;
  min-height: calc(100svh - 96px);
  padding: clamp(72px, 10vh, 118px) 0 124px;
  display: flex;
  align-items: center;
  isolation: isolate;
  overflow: hidden;
  background: var(--green-900);
  color: var(--white);
}

.hero-background-image,
.hero-shade {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.hero-background-image {
  z-index: -3;
  object-fit: cover;
  object-position: center 54%;
}

.hero-shade {
  z-index: -2;
  background:
    linear-gradient(90deg, rgba(8, 30, 21, 0.9) 0%, rgba(8, 30, 21, 0.68) 43%, rgba(8, 30, 21, 0.1) 78%),
    linear-gradient(0deg, rgba(8, 30, 21, 0.74) 0%, transparent 42%);
}

.hero-section::after {
  content: "";
  position: absolute;
  z-index: -1;
  inset: 0;
  background: linear-gradient(110deg, rgba(169, 214, 123, 0.08), transparent 48%);
  pointer-events: none;
}

.hero-section .hero-container {
  display: block;
  width: min(var(--container), calc(100% - 32px));
}

.hero-content {
  max-width: 760px;
}

.hero-kicker {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 20px;
  margin: 0 0 22px;
  color: var(--light-green);
  font-size: 0.82rem;
  font-weight: 800;
}

.hero-kicker span + span {
  position: relative;
  padding-left: 22px;
}

.hero-kicker span + span::before {
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  width: 12px;
  height: 1px;
  background: currentColor;
}

.hero-section .hero-title {
  max-width: 760px;
  color: var(--white);
  font-size: clamp(3rem, 7vw, 6.4rem);
  font-weight: 800;
  line-height: 1.06;
  text-shadow: 0 3px 30px rgba(0, 0, 0, 0.18);
}

.hero-section .hero-subtitle {
  max-width: 620px;
  color: rgba(255, 255, 255, 0.84);
  font-size: clamp(1rem, 1.7vw, 1.22rem);
}

.hero-section .button-primary {
  background: var(--light-green);
  color: var(--green-900);
  box-shadow: 0 14px 32px rgba(7, 24, 17, 0.24);
}

.hero-section .button-secondary {
  border-color: rgba(255, 255, 255, 0.48);
  background: rgba(9, 38, 26, 0.28);
  color: var(--white);
  backdrop-filter: blur(8px);
}

.hero-section .hero-facts {
  position: absolute;
  right: max(16px, calc((100vw - var(--container)) / 2));
  bottom: 24px;
  left: max(16px, calc((100vw - var(--container)) / 2));
  margin: 0;
  gap: 0;
  border-top: 1px solid rgba(255, 255, 255, 0.3);
}

.hero-section .hero-facts div {
  padding: 18px 20px 0;
  border: 0;
  border-left: 1px solid rgba(255, 255, 255, 0.26);
  border-radius: 0;
  background: transparent;
}

.hero-section .hero-facts div:first-child {
  border-left: 0;
  padding-left: 0;
}

.hero-section .hero-facts dt {
  color: rgba(255, 255, 255, 0.58);
}

.hero-section .hero-facts dd {
  color: var(--white);
  font-size: 1.05rem;
}

.services-section {
  background: var(--paper);
}

.service-story {
  display: grid;
  grid-template-columns: minmax(300px, 0.9fr) minmax(0, 1.1fr);
  gap: clamp(36px, 7vw, 94px);
  align-items: center;
  margin-bottom: clamp(58px, 8vw, 100px);
}

.service-story-visual {
  position: relative;
  margin: 0;
}

.service-story-visual::before {
  content: "";
  position: absolute;
  z-index: -1;
  top: 22px;
  right: -22px;
  bottom: -22px;
  left: 22px;
  border: 1px solid rgba(40, 113, 79, 0.28);
}

.service-story-visual img {
  width: 100%;
  max-height: 660px;
  aspect-ratio: 3 / 4;
  object-fit: cover;
  object-position: center center;
}

.service-story-visual figcaption {
  position: absolute;
  left: -1px;
  bottom: -1px;
  padding: 9px 13px;
  background: var(--green-900);
  color: rgba(255, 255, 255, 0.78);
  font-size: 0.74rem;
  font-weight: 700;
}

.service-story-copy h3 {
  max-width: 650px;
  margin: 0;
  color: var(--green-900);
  font-size: clamp(2rem, 4.2vw, 4rem);
  line-height: 1.28;
}

.service-story-copy > p:not(.eyebrow) {
  max-width: 650px;
  margin: 24px 0 0;
  color: var(--muted);
  font-size: 1.05rem;
}

.service-points {
  margin: 30px 0 0;
  padding: 0;
  list-style: none;
}

.service-points li {
  display: grid;
  grid-template-columns: 44px 1fr;
  gap: 14px;
  padding: 14px 0;
  border-top: 1px solid var(--line);
  color: var(--green-900);
  font-weight: 800;
}

.service-points li:last-child {
  border-bottom: 1px solid var(--line);
}

.service-points span {
  color: var(--green-500);
  font-family: Georgia, serif;
  font-weight: 400;
}

.service-grid {
  gap: 28px;
}

.service-card {
  padding: 24px 0 0;
  border: 0;
  border-top: 2px solid var(--green-700);
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

.service-card i {
  width: auto;
  height: auto;
  display: block;
  margin-bottom: 16px;
  background: transparent;
  color: var(--green-500);
  font-size: 1.4rem;
}

@media (max-width: 900px) {
  .hero-section {
    min-height: 720px;
  }

  .hero-shade {
    background:
      linear-gradient(90deg, rgba(8, 30, 21, 0.88), rgba(8, 30, 21, 0.42)),
      linear-gradient(0deg, rgba(8, 30, 21, 0.76), transparent 54%);
  }

  .service-story {
    grid-template-columns: 1fr;
  }

  .service-story-visual {
    max-width: 620px;
  }
}

@media (max-width: 620px) {
  .hero-section {
    min-height: 690px;
    padding: 64px 0 142px;
    align-items: flex-start;
  }

  .hero-background-image {
    object-position: 62% center;
  }

  .hero-shade {
    background:
      linear-gradient(90deg, rgba(8, 30, 21, 0.88), rgba(8, 30, 21, 0.35)),
      linear-gradient(0deg, rgba(8, 30, 21, 0.86), rgba(8, 30, 21, 0.08) 64%);
  }

  .hero-section .hero-title {
    font-size: clamp(2.7rem, 15vw, 4.6rem);
  }

  .hero-section .hero-subtitle {
    margin-top: 18px;
  }

  .hero-section .hero-actions {
    display: grid;
  }

  .hero-section .hero-facts {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .hero-section .hero-facts div {
    padding: 12px 8px 0;
  }

  .hero-section .hero-facts dd {
    font-size: 0.78rem;
    line-height: 1.4;
  }

  .hero-section .hero-facts dt {
    font-size: 0.66rem;
  }

  .service-story-visual::before {
    top: 12px;
    right: -10px;
    bottom: -12px;
    left: 10px;
  }
}

/* Brand header */
.site-header {
  position: sticky;
  top: 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.13);
  background: #102b20;
  color: var(--white);
  box-shadow: none;
  backdrop-filter: none;
}

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

.brand-link {
  min-width: 210px;
}

.brand-copy {
  gap: 4px;
}

.brand-tagline {
  order: -1;
  color: var(--light-green);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 0.62rem;
  line-height: 1;
}

.brand-name {
  color: var(--white);
  font-size: 1.32rem;
  line-height: 1;
}

.brand-name small {
  margin-right: 3px;
  color: rgba(255, 255, 255, 0.58);
  font-size: 0.68rem;
  font-weight: 700;
}

.site-nav {
  counter-reset: header-nav;
  gap: clamp(14px, 2vw, 28px);
  color: rgba(255, 255, 255, 0.78);
}

.site-nav a {
  counter-increment: header-nav;
  display: grid;
  gap: 2px;
  padding: 0;
  color: inherit;
  font-size: 0.82rem;
}

.site-nav a::before {
  content: "0" counter(header-nav);
  color: var(--light-green);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 0.58rem;
  font-weight: 400;
}

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

.site-nav a:hover {
  color: var(--white);
}

.header-cta {
  min-height: 88px;
  align-self: stretch;
  padding: 0 24px;
  border-left: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 0;
  background: var(--light-green);
  color: var(--green-900);
  box-shadow: none;
}

.header-cta:hover {
  transform: none;
  background: #c2e697;
}

.mobile-nav {
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: #102b20;
  color: var(--white);
}

.mobile-nav a {
  border-bottom-color: rgba(255, 255, 255, 0.13);
}

.menu-toggle {
  border-color: rgba(255, 255, 255, 0.3);
  background: transparent;
}

.menu-toggle span {
  background: var(--white);
}

/* Hero message and field caption */
.hero-content {
  position: relative;
  padding-left: 24px;
}

.hero-content::before {
  content: "";
  position: absolute;
  top: 6px;
  bottom: 7px;
  left: 0;
  width: 3px;
  background: var(--light-green);
}

.hero-photo-caption {
  position: absolute;
  z-index: 2;
  top: 50%;
  right: 22px;
  margin: 0;
  color: rgba(255, 255, 255, 0.66);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 0.64rem;
  letter-spacing: 0;
  line-height: 1.4;
  text-transform: uppercase;
  writing-mode: vertical-rl;
  transform: translateY(-50%);
}

.hero-photo-caption span {
  margin-top: 14px;
  color: var(--light-green);
  font-family: "Noto Sans JP", sans-serif;
}

/* Construction records */
.works-journal {
  background: var(--paper);
}

.works-journal-hero {
  padding: 34px 0 clamp(68px, 9vw, 130px);
  border-bottom: 1px solid var(--line);
  background:
    linear-gradient(90deg, transparent 0 49.9%, rgba(40, 113, 79, 0.06) 50%, transparent 50.1%),
    var(--paper);
}

.works-journal-hero .breadcrumb {
  margin-bottom: clamp(60px, 8vw, 112px);
}

.works-journal-heading {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(300px, 0.8fr);
  gap: clamp(40px, 8vw, 120px);
  align-items: end;
}

.works-journal-kicker,
.works-record-meta p,
.works-record-area,
.works-journal-cta > .container > p {
  margin: 0;
  color: var(--green-700);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
}

.works-journal-heading h1 {
  max-width: 750px;
  margin: 20px 0 0;
  color: var(--green-900);
  font-size: clamp(3.1rem, 7.4vw, 7.4rem);
  line-height: 1.04;
  letter-spacing: 0;
}

.works-journal-intro > p {
  margin: 0;
  color: var(--muted);
  font-size: 1rem;
}

.works-journal-intro dl {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin: 32px 0 0;
  border-top: 1px solid var(--line);
}

.works-journal-intro dl div {
  padding: 14px 10px 0 0;
}

.works-journal-intro dt {
  color: var(--muted);
  font-size: 0.68rem;
  font-weight: 700;
}

.works-journal-intro dd {
  margin: 4px 0 0;
  color: var(--green-900);
  font-size: 0.9rem;
  font-weight: 800;
}

.works-journal-list {
  padding: clamp(56px, 8vw, 110px) 0;
}

.works-record {
  display: grid;
  grid-template-columns: 96px minmax(0, 1fr);
  gap: clamp(20px, 4vw, 54px);
  padding: clamp(34px, 5vw, 70px) 0;
  border-top: 1px solid var(--line);
}

.works-record:last-child {
  border-bottom: 1px solid var(--line);
}

.works-record-meta {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.works-record-number {
  color: var(--green-900);
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(2.5rem, 5vw, 5.4rem);
  line-height: 0.9;
}

.works-record-meta p {
  margin-top: 14px;
  color: var(--green-500);
}

.works-record-meta time {
  margin-top: auto;
  color: var(--muted);
  font-size: 0.72rem;
  writing-mode: vertical-rl;
}

.works-record-main {
  display: grid;
  grid-template-columns: minmax(0, 1.55fr) minmax(240px, 0.45fr);
  gap: clamp(24px, 4vw, 58px);
  color: inherit;
  text-decoration: none;
}

.works-record-images {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 3px;
  min-width: 0;
  overflow: hidden;
  background: var(--green-900);
}

.works-record-images.is-single {
  grid-template-columns: 1fr;
}

.works-record-images figure {
  position: relative;
  min-width: 0;
  margin: 0;
  overflow: hidden;
}

.works-record-images img {
  width: 100%;
  height: 100%;
  min-height: 310px;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  filter: saturate(0.88);
  transition: filter 0.35s ease, transform 0.35s ease;
}

.works-record-main:hover .works-record-images img {
  filter: saturate(1);
  transform: scale(1.015);
}

.works-record-images figcaption {
  position: absolute;
  bottom: 0;
  left: 0;
  padding: 7px 12px;
  background: var(--green-900);
  color: var(--white);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 0.62rem;
}

.works-record-images figure:last-child figcaption {
  background: var(--light-green);
  color: var(--green-900);
}

.works-record-copy {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 30px;
  padding: 8px 0;
}

.works-record-copy h2 {
  margin: 13px 0 0;
  color: var(--green-900);
  font-size: clamp(1.45rem, 2.7vw, 2.5rem);
  line-height: 1.35;
}

.works-record-excerpt {
  margin: 18px 0 0;
  color: var(--muted);
  font-size: 0.88rem;
}

.works-record-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding-top: 14px;
  border-top: 1px solid var(--line);
  color: var(--green-700);
  font-size: 0.82rem;
  font-weight: 800;
}

.works-pagination {
  display: flex;
  gap: 8px;
  justify-content: center;
  margin-top: 52px;
}

.works-pagination .page-numbers {
  min-width: 42px;
  min-height: 42px;
  display: grid;
  place-items: center;
  border: 1px solid var(--line);
  color: var(--green-900);
  text-decoration: none;
}

.works-pagination .current {
  border-color: var(--green-900);
  background: var(--green-900);
  color: var(--white);
}

.works-empty {
  padding: 70px 0;
  text-align: center;
}

.works-journal-cta {
  padding: clamp(70px, 10vw, 140px) 0;
  background: var(--green-900);
  color: var(--white);
  text-align: center;
}

.works-journal-cta > .container > p {
  color: var(--light-green);
}

.works-journal-cta h2 {
  margin: 18px auto 30px;
  color: var(--white);
  font-size: clamp(2rem, 4.7vw, 4.6rem);
  line-height: 1.25;
}

.works-journal-cta .button-primary {
  background: var(--light-green);
  color: var(--green-900);
}

/* Construction record detail */
.work-journal-detail {
  background: var(--paper);
}

.work-journal-hero {
  padding: 34px 0 clamp(64px, 8vw, 112px);
  border-bottom: 1px solid var(--line);
}

.work-journal-hero .breadcrumb {
  margin-bottom: clamp(58px, 8vw, 104px);
}

.work-journal-heading {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(260px, 0.75fr);
  gap: clamp(42px, 8vw, 120px);
  align-items: end;
}

.work-journal-heading h1 {
  max-width: 820px;
  margin: 18px 0 0;
  color: var(--green-900);
  font-size: clamp(2.8rem, 6.4vw, 6.5rem);
  line-height: 1.08;
}

.work-journal-heading dl {
  margin: 0;
  border-top: 1px solid var(--line);
}

.work-journal-heading dl div,
.work-note-facts div {
  display: grid;
  grid-template-columns: 90px 1fr;
  gap: 18px;
  padding: 13px 0;
  border-bottom: 1px solid var(--line);
}

.work-journal-heading dt,
.work-note-facts dt {
  color: var(--muted);
  font-size: 0.72rem;
  font-weight: 700;
}

.work-journal-heading dd,
.work-note-facts dd {
  margin: 0;
  color: var(--green-900);
  font-size: 0.86rem;
  font-weight: 800;
}

.work-pairs-section {
  padding: clamp(70px, 9vw, 130px) 0;
}

.work-pairs-intro {
  display: grid;
  grid-template-columns: 0.7fr 1fr 0.8fr;
  gap: 28px;
  align-items: end;
  margin-bottom: clamp(50px, 7vw, 92px);
}

.work-pairs-intro h2 {
  margin: 0;
  color: var(--green-900);
  font-size: clamp(2.2rem, 4.5vw, 4.5rem);
  line-height: 1.14;
}

.work-pairs-intro > p:last-child {
  margin: 0;
  color: var(--muted);
  font-size: 0.9rem;
}

.work-pair {
  display: grid;
  grid-template-columns: 110px minmax(0, 1fr);
  gap: clamp(22px, 4vw, 58px);
  padding: clamp(40px, 6vw, 82px) 0;
  border-top: 1px solid var(--line);
}

.work-pair:last-child {
  border-bottom: 1px solid var(--line);
}

.work-pair-index span {
  color: var(--green-900);
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(3rem, 5vw, 5.5rem);
  line-height: 1;
}

.work-pair-index p {
  margin: 12px 0 0;
  color: var(--green-500);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 0.62rem;
  line-height: 1.45;
}

.work-pair-images {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 3px;
  min-width: 0;
  background: var(--green-900);
}

.work-pair-images.is-single {
  grid-template-columns: 1fr;
}

.work-pair-images figure {
  position: relative;
  min-width: 0;
  margin: 0;
  overflow: hidden;
}

.work-pair-images img {
  width: 100%;
  height: 100%;
  min-height: 440px;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.work-pair-images figcaption {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 10px 14px;
  background: rgba(16, 43, 32, 0.9);
  color: rgba(255, 255, 255, 0.76);
  font-size: 0.72rem;
}

.work-pair-images figcaption span {
  color: var(--light-green);
  font-family: Georgia, "Times New Roman", serif;
}

.work-pair-images figure:last-child figcaption {
  background: rgba(169, 214, 123, 0.92);
  color: var(--green-900);
}

.work-pair-images figure:last-child figcaption span {
  color: var(--green-900);
}

.work-journal-notes {
  padding: clamp(70px, 9vw, 130px) 0;
  background: #f0f5e8;
}

.work-journal-notes > .container {
  display: grid;
  grid-template-columns: 0.65fr 1.35fr;
  gap: clamp(42px, 8vw, 120px);
}

.work-note-heading h2 {
  margin: 16px 0 0;
  color: var(--green-900);
  font-size: clamp(2rem, 4vw, 4rem);
  line-height: 1.2;
}

.work-note-body {
  display: grid;
  grid-template-columns: 1fr 0.75fr;
  gap: clamp(30px, 5vw, 68px);
}

.work-note-text > p {
  margin: 0;
  color: var(--ink);
  font-size: 1rem;
}

.work-note-text blockquote {
  margin: 30px 0 0;
  padding: 22px 0 0;
  border-top: 2px solid var(--green-700);
  color: var(--muted);
  font-size: 0.9rem;
}

.work-note-facts {
  margin: 0;
}

.work-journal-navigation {
  padding: 26px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  background: var(--green-900);
  color: var(--white);
}

.work-journal-navigation > .container {
  display: flex;
  justify-content: space-between;
  gap: 20px;
}

.work-journal-navigation a {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: var(--white);
  font-size: 0.82rem;
  font-weight: 800;
  text-decoration: none;
}

@media (max-width: 1050px) {
  .header-cta {
    margin-right: 0;
  }

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

  .work-journal-notes > .container,
  .work-note-body {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 980px) {
  .header-inner {
    min-height: 76px;
  }

  .brand-link {
    min-width: 0;
  }

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

  .work-journal-heading,
  .work-pairs-intro {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 720px) {
  .brand-tagline {
    font-size: 0.52rem;
  }

  .brand-name {
    font-size: 1.08rem;
  }

  .hero-content {
    padding-left: 16px;
  }

  .hero-photo-caption {
    top: auto;
    right: 16px;
    bottom: 106px;
    writing-mode: horizontal-tb;
    transform: none;
  }

  .hero-photo-caption span {
    display: none;
  }

  .works-journal-hero {
    padding-top: 22px;
  }

  .works-journal-hero .breadcrumb {
    margin-bottom: 54px;
  }

  .works-journal-heading h1 {
    font-size: clamp(2.7rem, 15vw, 4.6rem);
  }

  .works-journal-intro dl {
    grid-template-columns: 1fr;
  }

  .works-journal-intro dl div {
    padding: 10px 0;
    border-bottom: 1px solid var(--line);
  }

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

  .works-record-meta {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 5px 12px;
    align-items: end;
  }

  .works-record-meta p {
    margin: 0;
  }

  .works-record-meta time {
    grid-column: 2;
    margin: 0;
    writing-mode: horizontal-tb;
  }

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

  .works-record-images img {
    min-height: 240px;
  }

  .work-pair {
    grid-template-columns: 1fr;
  }

  .work-pair-index {
    display: flex;
    align-items: end;
    gap: 14px;
  }

  .work-pair-index p {
    margin-bottom: 6px;
  }

  .work-pair-images {
    grid-template-columns: 1fr;
  }

  .work-pair-images img {
    min-height: 260px;
  }

  .work-journal-navigation > .container {
    display: grid;
  }
}

/* Friendly Hanayan identity */
.site-header {
  border-bottom-color: rgba(24, 59, 45, 0.14);
  background: rgba(255, 253, 247, 0.97);
  color: var(--green-900);
  box-shadow: 0 5px 20px rgba(24, 59, 45, 0.07);
}

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

.brand-link {
  min-width: 235px;
  gap: 11px;
}

.brand-dog {
  width: 52px;
  height: 52px;
  flex: 0 0 52px;
  overflow: hidden;
  border: 3px solid var(--light-green);
  border-radius: 50%;
  background: #00a64f;
}

.brand-dog img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.08);
}

.brand-copy {
  gap: 5px;
}

.brand-name {
  color: var(--green-900);
  font-size: 1.28rem;
}

.brand-name small {
  color: var(--green-700);
}

.brand-tagline {
  order: initial;
  color: var(--green-700);
  font-family: "Noto Sans JP", sans-serif;
  font-size: 0.68rem;
  font-weight: 800;
}

.site-nav {
  gap: clamp(14px, 2vw, 25px);
  color: var(--green-900);
}

.site-nav a {
  display: block;
  color: inherit;
  font-size: 0.84rem;
}

.site-nav a::before {
  display: none;
}

.site-nav a:hover {
  color: var(--green-500);
}

.header-cta {
  min-height: 46px;
  align-self: auto;
  padding: 0 17px;
  border: 0;
  border-radius: var(--radius);
  background: var(--green-700);
  color: var(--white);
  box-shadow: 0 7px 18px rgba(40, 113, 79, 0.18);
}

.header-cta:hover {
  background: var(--green-900);
}

.menu-toggle {
  border-color: var(--line);
  background: var(--white);
}

.menu-toggle span {
  background: var(--green-900);
}

.mobile-nav {
  border-color: var(--line);
  background: var(--white);
  color: var(--green-900);
}

.mobile-nav a {
  border-bottom-color: var(--line);
}

.hero-photo-caption {
  top: 28px;
  right: max(18px, calc((100vw - var(--container)) / 2));
  bottom: auto;
  width: min(300px, calc(100% - 36px));
  display: flex;
  align-items: center;
  gap: 11px;
  padding: 9px 13px 9px 9px;
  border: 1px solid rgba(255, 255, 255, 0.35);
  border-radius: var(--radius);
  background: rgba(255, 253, 247, 0.92);
  color: var(--green-900);
  font-family: "Noto Sans JP", sans-serif;
  font-size: 0.7rem;
  line-height: 1.45;
  text-transform: none;
  writing-mode: horizontal-tb;
  transform: none;
  backdrop-filter: blur(8px);
}

.hero-photo-caption img {
  width: 42px;
  height: 42px;
  flex: 0 0 42px;
  padding: 3px;
  border-radius: 50%;
  background: #00a64f;
  object-fit: contain;
}

.hero-photo-caption span {
  display: grid;
  gap: 1px;
  margin: 0;
  color: var(--green-700);
  font-family: inherit;
}

.hero-photo-caption strong {
  color: var(--green-900);
  font-size: 0.78rem;
}

.works-journal-hero {
  background: #f4f8ec;
}

.works-journal-kicker,
.works-record-meta p,
.works-record-area,
.works-journal-cta > .container > p {
  font-family: "Noto Sans JP", sans-serif;
  font-weight: 800;
  text-transform: none;
}

.works-journal-heading h1 {
  font-size: clamp(3rem, 6.7vw, 6.4rem);
}

.works-record-number,
.work-pair-index span {
  width: 76px;
  height: 76px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--lime-100);
  color: var(--green-700);
  font-family: "Noto Sans JP", sans-serif;
  font-size: 2rem;
  font-weight: 800;
}

.work-pair-index p {
  color: var(--green-700);
  font-family: "Noto Sans JP", sans-serif;
  font-weight: 800;
}

.works-record-images,
.work-pair-images {
  border-radius: var(--radius);
}

.contact-form-wrapper .required {
  display: inline-block;
  margin-left: 7px;
  padding: 2px 6px;
  border-radius: 3px;
  background: #c73d35;
  color: var(--white);
  font-size: 0.68rem;
  font-weight: 800;
  line-height: 1.35;
  vertical-align: 0.12em;
}

@media (max-width: 980px) {
  .header-inner {
    min-height: 72px;
  }

  .brand-link {
    min-width: 0;
  }

  .brand-dog {
    width: 46px;
    height: 46px;
    flex-basis: 46px;
  }
}

@media (max-width: 720px) {
  .brand-dog {
    width: 42px;
    height: 42px;
    flex-basis: 42px;
  }

  .brand-name {
    font-size: 1.05rem;
  }

  .brand-tagline {
    font-size: 0.6rem;
  }

  .hero-photo-caption {
    display: none;
  }

  .works-record-number,
  .work-pair-index span {
    width: 60px;
    height: 60px;
    font-size: 1.5rem;
  }
}

/* Clear, approachable color balance */
:root {
  --accent-yellow: #e7b84b;
  --accent-yellow-soft: #fff3cf;
  --surface-soft: #f6f5f0;
}

body {
  background: #fffefa;
}

.brand-dog {
  border-color: var(--accent-yellow);
  background: var(--accent-yellow-soft);
}

.brand-dog img {
  transform: scale(1.18) translateY(1px);
}

.brand-tagline,
.site-nav a:hover,
.hero-photo-caption span,
.hero-photo-caption strong {
  color: #516159;
}

.header-cta {
  background: var(--accent-yellow);
  color: #283029;
  box-shadow: 0 7px 18px rgba(129, 96, 26, 0.18);
}

.header-cta:hover {
  background: #d6a63a;
  color: #202620;
}

.hero-photo-caption img {
  padding: 1px;
  background: var(--accent-yellow-soft);
}

.hero-content {
  max-width: 980px;
}

.hero-section .hero-title {
  max-width: 980px;
  font-size: clamp(3rem, 5vw, 4.8rem);
}

.hero-title span {
  display: block;
  white-space: nowrap;
}

.hero-content::before,
.section-header::before,
.contact-section .section-header::before,
.footer-accent {
  background: var(--accent-yellow);
}

.services-section,
.notice-section {
  background: #fffefa;
}

.pricing-section,
.works-journal-hero,
.work-journal-notes {
  background: var(--surface-soft);
}

.services-section .section-header {
  max-width: 1040px;
}

.services-section .section-title {
  font-size: clamp(1.8rem, 2.6vw, 2.75rem);
  white-space: nowrap;
}

.service-story-visual::before {
  border-color: rgba(205, 157, 49, 0.48);
}

.service-story-visual figcaption,
.comparison-item figcaption {
  background: var(--accent-yellow);
  color: #283029;
}

.service-points span,
.service-card i,
.notice-card i {
  color: #9a6c0b;
}

.service-card i,
.notice-card i,
.works-record-number,
.work-pair-index span {
  background: var(--accent-yellow-soft);
}

.service-card:nth-child(2) {
  border-top-color: var(--accent-yellow);
}

.works-journal-kicker,
.works-record-meta p,
.works-record-area,
.works-journal-cta > .container > p {
  color: #8b650f;
}

.works-record {
  grid-template-columns: 78px minmax(0, 1fr);
  gap: clamp(18px, 3vw, 38px);
  padding: clamp(28px, 4vw, 54px) 0;
}

.works-record-main {
  grid-template-columns: minmax(0, 1.55fr) minmax(260px, 0.45fr);
  gap: clamp(22px, 3vw, 42px);
  padding: 14px;
  border: 1px solid #deded7;
  border-radius: var(--radius);
  background: var(--white);
  box-shadow: 0 12px 34px rgba(40, 48, 41, 0.07);
}

.works-record-images {
  position: relative;
  gap: 2px;
  border-radius: 5px;
  background: #deded7;
}

.works-record-images figcaption {
  display: flex;
  align-items: center;
  gap: 7px;
  background: rgba(34, 42, 36, 0.88);
}

.works-record-images figcaption span {
  color: var(--accent-yellow);
  font-family: "Noto Sans JP", sans-serif;
  font-weight: 800;
}

.works-record-images figure:last-child figcaption {
  background: rgba(255, 255, 255, 0.94);
  color: #4e5a53;
}

.works-record-images figure:last-child figcaption span {
  color: #8b650f;
}

.works-change-arrow {
  position: absolute;
  z-index: 2;
  top: 50%;
  left: 50%;
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  border: 3px solid var(--white);
  border-radius: 50%;
  background: var(--accent-yellow);
  color: #283029;
  transform: translate(-50%, -50%);
}

.works-record-features {
  display: grid;
  gap: 6px;
  margin: 20px 0 0;
  padding: 0;
  list-style: none;
  color: #4e5a53;
  font-size: 0.8rem;
  font-weight: 700;
}

.works-record-features li {
  position: relative;
  padding-left: 17px;
}

.works-record-features li::before {
  content: "";
  position: absolute;
  top: 0.75em;
  left: 0;
  width: 8px;
  height: 2px;
  background: var(--accent-yellow);
}

.works-record-link {
  border-top-color: #deded7;
  color: #6e551b;
}

.works-journal-cta .button-primary,
.footer-button.primary {
  background: var(--accent-yellow);
  color: #283029;
}

.footer-kicker {
  color: var(--accent-yellow);
  text-transform: none;
}

.footer-brand-mark {
  border-color: rgba(231, 184, 75, 0.58);
  color: var(--accent-yellow);
}

.footer-brand-mark {
  overflow: hidden;
  border: 2px solid rgba(231, 184, 75, 0.7);
  border-radius: 50%;
  background: #fff8e4;
}

.footer-brand-mark img {
  width: 100%;
  height: 100%;
  padding: 2px;
  object-fit: contain;
  transform: scale(1.12) translateY(1px);
}

.site-footer::before {
  border-color: rgba(231, 184, 75, 0.16);
  box-shadow:
    0 0 0 70px rgba(231, 184, 75, 0.018),
    0 0 0 140px rgba(231, 184, 75, 0.012);
}

@media (max-width: 1050px) {
  .works-record-main {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 900px) {
  .hero-title span,
  .services-section .section-title {
    white-space: normal;
  }
}

@media (max-width: 720px) {
  .hero-section .hero-title {
    font-size: clamp(2.5rem, 12vw, 3.8rem);
  }

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

  .works-record-main {
    padding: 10px;
  }

  .works-change-arrow {
    top: 50%;
    transform: translate(-50%, -50%) rotate(90deg);
  }
}

/* Clear service guide panels */
.service-grid {
  gap: 14px;
}

.service-card {
  display: grid;
  grid-template-columns: 52px minmax(0, 1fr);
  grid-template-rows: auto 1fr;
  column-gap: 16px;
  row-gap: 7px;
  padding: 22px;
  border: 1px solid #deded7;
  border-top: 1px solid #deded7;
  border-radius: var(--radius);
  background: var(--white);
  box-shadow: 0 8px 22px rgba(40, 48, 41, 0.05);
}

.service-card:nth-child(2) {
  border-top-color: #deded7;
}

.service-card i {
  width: 48px;
  height: 48px;
  display: grid;
  grid-row: 1 / span 2;
  place-items: center;
  margin: 0;
  border: 1px solid #ead9ab;
  border-radius: 50%;
  background: var(--accent-yellow-soft);
  color: #87600b;
  font-size: 1.15rem;
}

.service-card h3 {
  align-self: end;
  margin: 0;
  font-size: 1.08rem;
}

.service-card p {
  grid-column: 2;
  font-size: 0.9rem;
  line-height: 1.7;
}

@media (max-width: 720px) {
  .service-card {
    padding: 18px;
  }
}

/* Hanayan signboard header */
.site-header {
  border-top: 5px solid var(--accent-yellow);
  border-bottom: 1px solid #e4e1d8;
  background: rgba(255, 254, 250, 0.98);
  box-shadow: 0 6px 18px rgba(40, 48, 41, 0.08);
}

.header-inner {
  width: min(1260px, calc(100% - 28px));
  min-height: 90px;
  gap: clamp(18px, 2.5vw, 34px);
}

.brand-link {
  position: relative;
  isolation: isolate;
  min-width: 280px;
  align-self: stretch;
  gap: 10px;
  padding: 9px 34px 9px 5px;
}

.brand-link::before {
  content: "";
  position: absolute;
  z-index: -1;
  inset: 8px 8px 8px -40vw;
  border-radius: 0 var(--radius) var(--radius) 0;
  background: var(--accent-yellow);
  transform: skewX(-8deg);
  transform-origin: right center;
}

.brand-link::after {
  content: "広い土地の草刈り専門";
  position: absolute;
  right: 22px;
  bottom: 8px;
  padding: 1px 7px 2px;
  border-radius: 3px;
  background: #fff9e9;
  color: #665226;
  font-size: 0.58rem;
  font-weight: 800;
  line-height: 1.4;
  transform: rotate(-2deg);
}

.brand-dog {
  width: 68px;
  height: 68px;
  flex: 0 0 68px;
  overflow: visible;
  border: 4px solid var(--white);
  background: #fff9e9;
  box-shadow: 0 5px 0 rgba(117, 87, 22, 0.16);
  transform: rotate(-3deg);
}

.brand-dog img {
  border-radius: 50%;
  transform: scale(1.17) translateY(1px);
}

.brand-copy {
  position: relative;
  z-index: 1;
  gap: 3px;
  padding-bottom: 13px;
}

.brand-name {
  color: #29352e;
  font-family: "Zen Maru Gothic", "Noto Sans JP", sans-serif;
  font-size: 1.48rem;
  font-weight: 900;
}

.brand-name small {
  color: #526157;
  font-family: "Noto Sans JP", sans-serif;
  font-size: 0.64rem;
}

.brand-tagline {
  color: #5a4b2b;
  font-size: 0.7rem;
}

.site-nav {
  gap: clamp(12px, 1.8vw, 23px);
}

.site-nav a {
  min-width: 50px;
  display: grid;
  justify-items: center;
  gap: 6px;
  color: #4b5a51;
  font-size: 0.8rem;
  line-height: 1.2;
  text-align: center;
}

.site-nav a i {
  width: 33px;
  height: 33px;
  display: grid;
  place-items: center;
  border: 1px solid #e5d6aa;
  border-radius: 50%;
  background: #fff8e4;
  color: #80601b;
  font-size: 0.84rem;
  transition: transform 0.18s ease, background 0.18s ease;
}

.site-nav a:hover i {
  background: var(--accent-yellow);
  transform: translateY(-2px) rotate(-4deg);
}

.header-cta {
  min-height: 60px;
  gap: 10px;
  padding: 9px 16px;
  border: 2px solid #29352e;
  border-radius: var(--radius);
  background: #29352e;
  color: var(--white);
  box-shadow: 4px 4px 0 var(--accent-yellow);
}

.header-cta:hover {
  background: #3f5046;
  box-shadow: 2px 2px 0 var(--accent-yellow);
  transform: translate(2px, 2px);
}

.header-cta > i {
  font-size: 1rem;
}

.header-cta span,
.header-cta small,
.header-cta strong {
  display: block;
}

.header-cta small {
  color: rgba(255, 255, 255, 0.68);
  font-size: 0.58rem;
  line-height: 1.2;
}

.header-cta strong {
  margin-top: 3px;
  font-size: 0.84rem;
  line-height: 1.2;
}

@media (max-width: 1120px) {
  .brand-link {
    min-width: 250px;
  }

  .brand-link::after {
    display: none;
  }

  .site-nav {
    gap: 12px;
  }

  .site-nav a {
    min-width: 42px;
  }
}

@media (max-width: 980px) {
  .site-header {
    border-top-width: 4px;
  }

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

  .brand-link {
    min-width: 0;
    padding-right: 22px;
  }

  .brand-link::before {
    inset-block: 6px;
  }

  .brand-dog {
    width: 54px;
    height: 54px;
    flex-basis: 54px;
  }

  .brand-copy {
    padding-bottom: 0;
  }

  .brand-name {
    font-size: 1.2rem;
  }
}

@media (max-width: 520px) {
  .header-inner {
    width: min(100% - 20px, var(--container));
  }

  .brand-link {
    gap: 7px;
    padding-left: 0;
    padding-right: 16px;
  }

  .brand-dog {
    width: 48px;
    height: 48px;
    flex-basis: 48px;
    border-width: 3px;
  }

  .brand-name {
    font-size: 1rem;
  }

  .brand-tagline {
    font-size: 0.57rem;
  }
}

/* Clear before-and-after construction cases */
.works-clear,
.case-detail-clear {
  background: #fffefa;
}

.works-clear-header,
.case-detail-header {
  padding: 24px 0 34px;
  border-bottom: 1px solid #deded7;
  background: var(--surface-soft);
}

.works-clear-header .breadcrumb,
.case-detail-header .breadcrumb {
  margin-bottom: 26px;
}

.works-clear-heading,
.case-detail-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 34px;
}

.works-clear-label,
.case-detail-heading > div > p {
  margin: 0 0 8px;
  color: #80601b;
  font-size: 0.78rem;
  font-weight: 800;
}

.works-clear-heading h1,
.case-detail-heading h1 {
  margin: 0;
  color: #29352e;
  font-size: clamp(2rem, 4vw, 3.6rem);
  line-height: 1.2;
}

.works-clear-heading > div > p:last-child {
  margin: 12px 0 0;
  color: #59665f;
  font-size: 0.98rem;
}

.works-clear-facts {
  min-width: 390px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  margin: 0;
  border: 1px solid #deded7;
  border-radius: var(--radius);
  background: var(--white);
}

.works-clear-facts div {
  padding: 12px 14px;
  border-left: 1px solid #deded7;
}

.works-clear-facts div:first-child {
  border-left: 0;
}

.works-clear-facts dt {
  color: #6b756f;
  font-size: 0.68rem;
  font-weight: 700;
}

.works-clear-facts dd {
  margin: 3px 0 0;
  color: #29352e;
  font-size: 0.88rem;
  font-weight: 800;
}

.works-clear-list,
.case-detail-comparisons {
  padding: clamp(30px, 4vw, 54px) 0;
}

.works-clear-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
  align-items: start;
}

.clear-case {
  overflow: hidden;
  border: 1px solid #d9d9d2;
  border-radius: var(--radius);
  background: var(--white);
  box-shadow: 0 9px 26px rgba(40, 48, 41, 0.06);
}

.clear-case-link {
  color: inherit;
  text-decoration: none;
}

.clear-comparison {
  position: relative;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 3px;
  background: #d7d7d0;
}

.clear-comparison.is-single {
  grid-template-columns: 1fr;
}

.clear-comparison figure {
  position: relative;
  min-width: 0;
  margin: 0;
  overflow: hidden;
  aspect-ratio: 4 / 3;
  background: #e8e8e2;
}

.clear-comparison img {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 0;
  object-fit: cover;
  transition: transform 0.25s ease;
}

.clear-case-link:hover .clear-comparison img {
  transform: scale(1.012);
}

.clear-photo-label {
  position: absolute;
  z-index: 2;
  top: 11px;
  left: 11px;
  min-width: 68px;
  padding: 6px 11px;
  border: 2px solid var(--white);
  border-radius: 4px;
  background: #3e4842;
  color: var(--white);
  font-size: 0.78rem;
  font-weight: 800;
  line-height: 1.2;
  text-align: center;
  box-shadow: 0 3px 8px rgba(0, 0, 0, 0.16);
}

.clear-comparison-after .clear-photo-label {
  background: var(--accent-yellow);
  color: #29352e;
}

.clear-comparison-arrow {
  position: absolute;
  z-index: 3;
  top: 50%;
  left: 50%;
  width: 46px;
  height: 46px;
  display: grid;
  place-items: center;
  border: 4px solid var(--white);
  border-radius: 50%;
  background: var(--accent-yellow);
  color: #29352e;
  font-size: 1rem;
  transform: translate(-50%, -50%);
  box-shadow: 0 4px 12px rgba(40, 48, 41, 0.18);
}

.clear-case-summary {
  padding: 18px 20px 20px;
}

.clear-case-heading {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 24px;
}

.clear-case-heading time {
  display: block;
  margin-bottom: 4px;
  color: #6b756f;
  font-size: 0.74rem;
  font-weight: 700;
}

.clear-case-heading h2 {
  margin: 0;
  color: #29352e;
  font-size: clamp(1.08rem, 1.8vw, 1.38rem);
  line-height: 1.35;
}

.clear-case-more {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 8px 12px;
  border-radius: var(--radius);
  background: #29352e;
  color: var(--white);
  font-size: 0.74rem;
  font-weight: 800;
}

.clear-case-points {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 18px;
  margin: 13px 0 0;
  padding: 0;
  list-style: none;
  color: #58655e;
  font-size: 0.82rem;
  font-weight: 700;
}

.clear-case-points i {
  margin-right: 5px;
  color: #9a700f;
}

.clear-case-summary > p {
  margin: 11px 0 0;
  color: #657069;
  font-size: 0.84rem;
}

.works-clear-empty {
  padding: 60px 0;
  text-align: center;
}

.works-clear-cta {
  padding: 38px 0;
  background: #29352e;
  color: var(--white);
}

.works-clear-cta > .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
}

.works-clear-cta p,
.works-clear-cta h2 {
  margin: 0;
}

.works-clear-cta p {
  color: var(--accent-yellow);
  font-size: 0.78rem;
  font-weight: 800;
}

.works-clear-cta h2 {
  margin-top: 5px;
  color: var(--white);
  font-size: clamp(1.25rem, 2.5vw, 2rem);
}

.works-clear-cta .button-primary {
  flex: 0 0 auto;
  background: var(--accent-yellow);
  color: #29352e;
}

.case-detail-heading a,
.case-detail-nav a {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  color: #47554d;
  font-size: 0.82rem;
  font-weight: 800;
  text-decoration: none;
}

.case-detail-lead {
  margin-bottom: 22px;
}

.case-detail-lead h2,
.case-detail-info h2 {
  margin: 0;
  color: #29352e;
  font-size: clamp(1.5rem, 3vw, 2.4rem);
}

.case-detail-lead p {
  margin: 7px 0 0;
  color: #657069;
}

.detail-comparison-block + .detail-comparison-block {
  margin-top: 36px;
}

.detail-comparison-block > h3 {
  margin: 0 0 10px;
  color: #47554d;
  font-size: 1rem;
}

.detail-clear-comparison {
  overflow: hidden;
  border: 1px solid #d9d9d2;
  border-radius: var(--radius);
  background: #d7d7d0;
  box-shadow: 0 9px 26px rgba(40, 48, 41, 0.07);
}

.detail-clear-comparison img {
  min-height: 450px;
  aspect-ratio: 4 / 3;
}

.case-detail-info {
  padding: clamp(44px, 7vw, 82px) 0;
  background: var(--surface-soft);
}

.case-detail-info > .container {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(300px, 0.8fr);
  gap: clamp(34px, 6vw, 80px);
  align-items: start;
}

.case-detail-description > p {
  margin: 18px 0 0;
  color: #4f5c55;
}

.case-detail-comment {
  margin-top: 28px;
  padding: 20px 22px;
  border-left: 5px solid var(--accent-yellow);
  background: var(--white);
}

.case-detail-comment h3,
.case-detail-comment p {
  margin: 0;
}

.case-detail-comment h3 {
  color: #29352e;
  font-size: 1rem;
}

.case-detail-comment p {
  margin-top: 8px;
  color: #5b6760;
}

.case-detail-summary {
  padding: 24px;
  border: 1px solid #d9d9d2;
  border-radius: var(--radius);
  background: var(--white);
}

.case-detail-summary h2 {
  font-size: 1.35rem;
}

.case-detail-summary dl {
  margin: 18px 0 22px;
  border-top: 1px solid #deded7;
}

.case-detail-summary dl div {
  display: grid;
  grid-template-columns: 90px 1fr;
  gap: 15px;
  padding: 11px 0;
  border-bottom: 1px solid #deded7;
}

.case-detail-summary dt {
  color: #6b756f;
  font-size: 0.76rem;
  font-weight: 700;
}

.case-detail-summary dd {
  margin: 0;
  color: #29352e;
  font-size: 0.84rem;
  font-weight: 800;
}

.case-detail-summary .button {
  width: 100%;
  background: var(--accent-yellow);
  color: #29352e;
}

.case-detail-nav {
  padding: 22px 0;
  border-top: 1px solid #deded7;
  background: var(--white);
}

@media (max-width: 900px) {
  .works-clear-heading,
  .case-detail-heading,
  .works-clear-cta > .container {
    display: grid;
  }

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

  .works-clear-facts {
    min-width: 0;
  }

  .case-detail-info > .container {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 720px) {
  .works-clear-header,
  .case-detail-header {
    padding: 18px 0 25px;
  }

  .works-clear-header .breadcrumb,
  .case-detail-header .breadcrumb {
    margin-bottom: 18px;
  }

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

  .works-clear-facts div,
  .works-clear-facts div:first-child {
    display: flex;
    justify-content: space-between;
    gap: 15px;
    padding: 9px 12px;
    border-top: 1px solid #deded7;
    border-left: 0;
  }

  .works-clear-facts div:first-child {
    border-top: 0;
  }

  .clear-comparison {
    grid-template-columns: 1fr;
  }

  .clear-comparison img,
  .detail-clear-comparison img {
    min-height: 220px;
    aspect-ratio: 4 / 3;
  }

  .clear-comparison-arrow {
    transform: translate(-50%, -50%) rotate(90deg);
  }

  .clear-case-summary {
    padding: 18px;
  }

  .clear-case-heading {
    display: grid;
  }

  .clear-case-more {
    justify-self: start;
  }

  .works-clear-cta .button {
    width: 100%;
  }
}

/* Hanayan's mowing letters */
.hero-photo-caption {
  text-decoration: none;
  transition: transform 0.18s ease, box-shadow 0.18s ease;
}

.hero-photo-caption > i {
  margin-left: auto;
  color: #8b650f;
}

.hero-letter-mark {
  width: 42px;
  height: 42px;
  flex: 0 0 42px;
  display: grid;
  place-items: center;
  border: 1px solid #d8c486;
  border-radius: 50%;
  background: var(--accent-yellow-soft);
  transform: rotate(-3deg);
}

.hero-letter-mark img {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  object-fit: contain;
}

.hero-photo-caption:hover {
  box-shadow: 4px 4px 0 var(--accent-yellow);
  transform: rotate(-1deg);
}

.tayori-home-section {
  padding: clamp(58px, 8vw, 100px) 0;
  border-block: 1px solid #e6ddc4;
  background: #fff9e9;
}

.tayori-home-heading {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  gap: 20px;
  align-items: center;
  margin-bottom: 32px;
}

.tayori-home-heading .section-title {
  font-family: "Zen Maru Gothic", "Noto Sans JP", sans-serif;
  font-size: clamp(1.75rem, 3vw, 2.7rem);
}

.tayori-home-heading p:last-child {
  max-width: 700px;
  margin: 8px 0 0;
  color: #68736c;
}

.tayori-home-icon {
  position: relative;
  width: 82px;
  height: 82px;
  display: grid;
  place-items: center;
  border: 3px solid var(--accent-yellow);
  border-radius: 50%;
  background: var(--white);
  transform: rotate(-4deg);
}

.tayori-home-icon img {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  object-fit: contain;
}

.tayori-home-icon i {
  position: absolute;
  right: -8px;
  bottom: -5px;
  width: 31px;
  height: 31px;
  display: grid;
  place-items: center;
  border: 2px solid var(--white);
  border-radius: 50%;
  background: var(--accent-yellow);
  color: #423717;
  font-size: 0.78rem;
}

.tayori-home-all,
.tayori-read-more {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #5c4a20;
  font-size: 0.82rem;
  font-weight: 800;
  text-decoration: none;
}

.tayori-home-all {
  padding: 10px 13px;
  border: 1px solid #d8c486;
  border-radius: var(--radius);
  background: var(--white);
}

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

.tayori-home-card {
  min-width: 0;
  border: 1px solid #e2d7b6;
  border-radius: var(--radius);
  background: var(--white);
  box-shadow: 4px 4px 0 #eedda8;
}

.tayori-home-card:only-child {
  max-width: 480px;
}

.tayori-home-card > a {
  height: 100%;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  gap: 13px;
  align-items: start;
  padding: 18px;
  color: inherit;
  text-decoration: none;
}

.tayori-home-number {
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--accent-yellow-soft);
  color: #8b650f;
}

.tayori-home-card time,
.tayori-card time {
  color: #8b650f;
  font-size: 0.68rem;
  font-weight: 800;
}

.tayori-home-card h3 {
  margin: 5px 0 0;
  color: #29352e;
  font-size: 1rem;
  line-height: 1.45;
}

.tayori-home-card p {
  margin: 7px 0 0;
  color: #68736c;
  font-size: 0.78rem;
  line-height: 1.65;
}

.tayori-home-card > a > i {
  margin-top: 8px;
  color: #8b650f;
  font-size: 0.72rem;
}

.tayori-home-card:hover {
  border-color: var(--accent-yellow);
  transform: translateY(-2px) rotate(-0.4deg);
}

.tayori-home-empty,
.tayori-empty {
  padding: 28px;
  border: 1px dashed #d5be7d;
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.68);
  color: #68736c;
  text-align: center;
}

.tayori-page,
.tayori-detail {
  background: #f8f7f1;
}

.tayori-page-header,
.tayori-detail-header {
  padding: 30px 0 clamp(44px, 7vw, 78px);
  border-bottom: 1px solid #e3dcc8;
  background: #fff9e9;
}

.tayori-page-header .breadcrumb,
.tayori-detail-header .breadcrumb {
  margin-bottom: clamp(34px, 6vw, 68px);
}

.tayori-page-intro {
  display: grid;
  grid-template-columns: minmax(180px, 270px) minmax(0, 1fr);
  gap: clamp(28px, 6vw, 80px);
  align-items: center;
}

.tayori-page-symbol {
  width: min(100%, 270px);
  aspect-ratio: 1;
  display: grid;
  place-items: center;
  border: 4px solid var(--accent-yellow);
  border-radius: 50%;
  background: var(--white);
  box-shadow: 10px 10px 0 #eedda8;
  transform: rotate(-4deg);
}

.tayori-page-symbol img {
  width: calc(100% - 12px);
  height: calc(100% - 12px);
  border-radius: 50%;
  object-fit: contain;
}

.tayori-label {
  margin: 0 0 10px;
  color: #8b650f;
  font-size: 0.78rem;
  font-weight: 800;
}

.tayori-page-intro h1 {
  margin: 0;
  color: #29352e;
  font-family: "Zen Maru Gothic", "Noto Sans JP", sans-serif;
  font-size: clamp(2.7rem, 7vw, 6.5rem);
  line-height: 1.08;
}

.tayori-page-intro > div > p:last-child {
  max-width: 620px;
  margin: 20px 0 0;
  color: #68736c;
  font-size: 1rem;
}

.tayori-list {
  padding: clamp(48px, 8vw, 100px) 0;
}

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

.tayori-card {
  min-width: 0;
  border: 1px solid #ded9ca;
  border-radius: var(--radius);
  background: var(--white);
  box-shadow: 6px 6px 0 #ebe4cf;
}

.tayori-card:nth-child(3n + 2) {
  transform: rotate(0.6deg);
}

.tayori-card:nth-child(3n + 3) {
  transform: rotate(-0.5deg);
}

.tayori-card > a {
  height: 100%;
  display: block;
  color: inherit;
  text-decoration: none;
}

.tayori-card-visual {
  position: relative;
  min-height: 190px;
  display: grid;
  place-items: center;
  overflow: hidden;
  border-bottom: 1px solid #e7e0cc;
  background: #f4efd9;
}

.tayori-card-visual > img {
  width: 100%;
  height: 100%;
  min-height: 190px;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.tayori-card-icon {
  width: 132px;
  height: 98px;
  display: grid;
  place-items: center;
  border: 3px solid var(--accent-yellow);
  border-radius: var(--radius);
  background: var(--white);
  color: #80601b;
  font-size: 3.2rem;
  box-shadow: 5px 5px 0 #eedda8;
  transform: rotate(-4deg);
}

.tayori-stamp {
  position: absolute;
  right: 10px;
  bottom: 10px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 9px;
  border: 1px solid #8b650f;
  border-radius: 3px;
  background: #fff9e9;
  color: #76550c;
  font-size: 0.68rem;
  font-weight: 800;
  transform: rotate(-3deg);
}

.tayori-card-copy {
  padding: 19px 20px 22px;
}

.tayori-card h2 {
  margin: 7px 0 0;
  color: #29352e;
  font-family: "Zen Maru Gothic", "Noto Sans JP", sans-serif;
  font-size: 1.18rem;
  line-height: 1.5;
}

.tayori-card p {
  margin: 10px 0 16px;
  color: #68736c;
  font-size: 0.82rem;
  line-height: 1.75;
}

.tayori-card:hover {
  border-color: var(--accent-yellow);
  transform: translateY(-3px) rotate(-0.4deg);
}

.tayori-card:nth-child(3n + 2):hover,
.tayori-card:nth-child(3n + 3):hover {
  transform: translateY(-3px) rotate(0deg);
}

.tayori-empty {
  max-width: 680px;
  margin-inline: auto;
}

.tayori-empty-icon {
  width: 82px;
  height: 62px;
  display: grid;
  place-items: center;
  margin: 0 auto 15px;
  border: 2px solid var(--accent-yellow);
  border-radius: var(--radius);
  background: var(--white);
  color: #80601b;
  font-size: 2rem;
  transform: rotate(-4deg);
}

.tayori-empty h2,
.tayori-empty p {
  margin: 0;
}

.tayori-empty p {
  margin-top: 7px;
}

.tayori-detail-heading {
  max-width: 900px;
  display: grid;
  grid-template-columns: 100px minmax(0, 1fr);
  gap: 22px;
  align-items: center;
}

.tayori-detail-mark {
  position: relative;
  width: 96px;
  height: 72px;
  display: grid;
  place-items: center;
  border: 3px solid var(--accent-yellow);
  border-radius: var(--radius);
  background: var(--white);
  color: #80601b;
  font-size: 2.35rem;
  box-shadow: 4px 4px 0 #eedda8;
  transform: rotate(-4deg);
}

.tayori-detail-mark .fa-leaf {
  position: absolute;
  right: -9px;
  bottom: -8px;
  width: 28px;
  height: 28px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--green-700);
  color: var(--white);
  font-size: 0.68rem;
  transform: rotate(14deg);
}

.tayori-detail-heading h1 {
  margin: 0;
  color: #29352e;
  font-family: "Zen Maru Gothic", "Noto Sans JP", sans-serif;
  font-size: clamp(2rem, 5vw, 4.4rem);
  line-height: 1.2;
}

.tayori-detail-heading time {
  display: block;
  margin-top: 12px;
  color: #7a817c;
  font-size: 0.78rem;
  font-weight: 700;
}

.tayori-detail-body {
  padding: clamp(42px, 8vw, 90px) 16px;
}

.tayori-paper {
  width: min(820px, 100%);
  margin-inline: auto;
  overflow: hidden;
  border: 1px solid #ded7c3;
  border-radius: var(--radius);
  background: var(--white);
  box-shadow: 10px 10px 0 #ebe4cf;
}

.tayori-detail-photo {
  margin: 0;
  border-bottom: 1px solid #ded7c3;
}

.tayori-detail-photo img {
  width: 100%;
  max-height: 560px;
  object-fit: cover;
}

.tayori-content {
  padding: clamp(28px, 6vw, 64px);
  color: #404c45;
  font-size: 1rem;
  line-height: 2;
}

.tayori-content > :first-child {
  margin-top: 0;
}

.tayori-content > :last-child {
  margin-bottom: 0;
}

.tayori-content h2,
.tayori-content h3 {
  margin-top: 2em;
  color: #29352e;
  font-family: "Zen Maru Gothic", "Noto Sans JP", sans-serif;
  line-height: 1.5;
}

.tayori-content h2 {
  padding-bottom: 8px;
  border-bottom: 3px solid var(--accent-yellow);
  font-size: 1.45rem;
}

.tayori-content a {
  color: var(--green-700);
  font-weight: 800;
}

.tayori-signoff {
  display: flex;
  align-items: center;
  gap: 13px;
  padding: 20px clamp(28px, 6vw, 64px);
  border-top: 1px dashed #d8c486;
  background: #fff9e9;
}

.tayori-signoff img {
  width: 58px;
  height: 58px;
  border-radius: 50%;
  object-fit: contain;
}

.tayori-signoff p,
.tayori-signoff span,
.tayori-signoff strong {
  display: block;
  margin: 0;
}

.tayori-signoff span {
  color: #68736c;
  font-size: 0.76rem;
}

.tayori-signoff strong {
  color: #29352e;
  font-family: "Zen Maru Gothic", "Noto Sans JP", sans-serif;
}

.tayori-detail-nav {
  padding: 24px 0;
  border-top: 1px solid #e3dcc8;
  background: var(--white);
}

.tayori-detail-nav .container {
  display: flex;
  justify-content: space-between;
  gap: 16px;
}

.tayori-detail-nav a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #4b5a51;
  font-size: 0.82rem;
  font-weight: 800;
  text-decoration: none;
}

@media (max-width: 980px) {
  .tayori-home-heading {
    grid-template-columns: auto minmax(0, 1fr);
  }

  .tayori-home-all {
    grid-column: 2;
    justify-self: start;
  }

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

@media (max-width: 720px) {
  .tayori-home-heading {
    grid-template-columns: 56px minmax(0, 1fr);
    gap: 12px;
  }

  .tayori-home-icon {
    width: 56px;
    height: 56px;
  }

  .tayori-home-icon img {
    width: 49px;
    height: 49px;
  }

  .tayori-home-icon i {
    right: -7px;
    bottom: -5px;
    width: 26px;
    height: 26px;
    font-size: 0.68rem;
  }

  .tayori-home-heading .section-title {
    font-size: clamp(1.45rem, 6.2vw, 1.62rem);
    line-height: 1.28;
  }

  .tayori-home-heading p:last-child {
    font-size: 0.86rem;
    line-height: 1.7;
  }

  .tayori-home-all {
    grid-column: 1 / -1;
    width: 100%;
    justify-content: center;
  }

  .tayori-home-grid,
  .tayori-grid {
    grid-template-columns: 1fr;
  }

  .tayori-home-card:only-child {
    max-width: none;
  }

  .tayori-home-card > a {
    grid-template-columns: 30px minmax(0, 1fr);
    gap: 11px;
    padding: 16px;
  }

  .tayori-home-number {
    width: 30px;
    height: 30px;
  }

  .tayori-home-card > a > i {
    display: none;
  }

  .tayori-page-header,
  .tayori-detail-header {
    padding-top: 18px;
  }

  .tayori-page-header .breadcrumb,
  .tayori-detail-header .breadcrumb {
    margin-bottom: 26px;
  }

  .tayori-page-intro {
    grid-template-columns: 1fr;
    gap: 14px;
    justify-items: center;
    text-align: center;
  }

  .tayori-page-symbol {
    width: 104px;
    box-shadow: 5px 5px 0 #eedda8;
  }

  .tayori-page-intro > div {
    min-width: 0;
  }

  .tayori-page-intro h1 {
    font-size: clamp(2.15rem, 10vw, 3rem);
  }

  .tayori-page-intro > div > p:last-child {
    max-width: 22em;
    margin-top: 14px;
    font-size: 0.86rem;
  }

  .tayori-detail-heading {
    grid-template-columns: 54px minmax(0, 1fr);
    gap: 12px;
  }

  .tayori-detail-mark {
    width: 52px;
    height: 40px;
    font-size: 1.25rem;
  }

  .tayori-detail-mark .fa-leaf {
    right: -7px;
    bottom: -7px;
    width: 21px;
    height: 21px;
    font-size: 0.5rem;
  }

  .tayori-detail-heading h1 {
    font-size: clamp(1.65rem, 7.2vw, 2.35rem);
    line-height: 1.28;
  }

  .tayori-content {
    padding: 26px 20px;
    font-size: 0.92rem;
  }

  .tayori-signoff {
    padding: 18px 20px;
  }

  .tayori-detail-nav .container {
    display: grid;
  }
}
