:root {
  color-scheme: light;
  --paper: #f5efe5;
  --paper-deep: #e9dfd0;
  --surface: #fffaf3;
  --ink: #151817;
  --muted: #5e6661;
  --green: #0f3a2b;
  --green-mid: #1e6747;
  --gold: #9a641c;
  --blue: #315666;
  --coral: #b85a42;
  --line: #d7cec2;
  --soft-line: rgba(215, 206, 194, .7);
  --white: #fff;
  --shadow: 0 20px 54px rgba(17, 24, 22, .14);
  --soft-shadow: 0 10px 28px rgba(17, 24, 22, .08);
}

/* 2026 brand renewal: warm, quiet, locally rooted */
:root {
  --paper: #f3eee4;
  --paper-deep: #e8dfd0;
  --surface: #fbf8f1;
  --ink: #1d2520;
  --muted: #5d655f;
  --green: #173f2c;
  --green-mid: #426448;
  --gold: #a6844f;
  --line: #d7cebf;
  --shadow: 0 22px 56px rgba(31, 43, 35, .12);
  --soft-shadow: 0 10px 30px rgba(31, 43, 35, .07);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  background: var(--paper);
  overflow-x: hidden;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  color: var(--ink);
  background:
    linear-gradient(180deg, #f8f0e5 0%, #fffaf3 24%, #f5efe5 100%);
  font-family: "Yu Gothic", "Hiragino Kaku Gothic ProN", Meiryo, system-ui, sans-serif;
  line-height: 1.75;
  letter-spacing: 0;
  overflow-wrap: break-word;
}

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

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

button {
  font: inherit;
}

a,
button,
input,
select,
textarea {
  touch-action: manipulation;
}

main > section {
  content-visibility: auto;
  contain-intrinsic-block-size: auto 720px;
}

.wrap,
.header-inner,
.hero-inner {
  width: min(1140px, calc(100% - 32px));
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  border-bottom: 1px solid rgba(215, 206, 194, .86);
  background: rgba(255, 250, 243, .94);
  box-shadow: 0 8px 28px rgba(17, 24, 22, .06);
  backdrop-filter: blur(16px);
}

.header-inner {
  min-height: 74px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}

.brand {
  min-width: 0;
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-weight: 900;
}

.brand-logo {
  width: 220px;
  max-width: 48vw;
  height: auto;
  flex: 0 1 auto;
}

.logo-mark {
  position: relative;
  width: 46px;
  height: 40px;
  flex: 0 0 auto;
}

.logo-mark::before,
.logo-mark::after {
  content: "";
  position: absolute;
  top: 3px;
  left: 3px;
  width: 32px;
  height: 9px;
  border-radius: 2px;
  background: var(--green);
  transform: rotate(-39deg);
  transform-origin: left center;
}

.logo-mark::after {
  left: 20px;
  width: 31px;
  background: var(--gold);
  transform: rotate(39deg);
}

.logo-house {
  position: absolute;
  left: 9px;
  right: 9px;
  bottom: 0;
  height: 25px;
  border-radius: 2px 2px 4px 4px;
  background: var(--green);
  clip-path: polygon(50% 0, 100% 33%, 100% 100%, 0 100%, 0 33%);
}

.logo-window {
  position: absolute;
  left: 50%;
  bottom: 7px;
  z-index: 1;
  width: 12px;
  height: 12px;
  border: 3px solid var(--surface);
  background: var(--gold);
  transform: translateX(-50%);
}

.brand-name {
  display: block;
  font-size: 1.34rem;
  line-height: 1.1;
  white-space: nowrap;
}

.brand-sub {
  display: block;
  margin-top: 2px;
  color: var(--muted);
  font-size: .72rem;
  font-weight: 900;
  line-height: 1.1;
  text-transform: uppercase;
}

.nav {
  display: flex;
  align-items: center;
  gap: 20px;
  color: var(--muted);
  font-size: .88rem;
  font-weight: 900;
}

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

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

.nav a:hover::after,
.nav a:focus-visible::after {
  transform: scaleX(1);
}

.nav-open-check {
  position: fixed;
  top: -100px;
  left: -100px;
  opacity: 0;
  pointer-events: none;
}

.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  width: 44px;
  height: 44px;
  flex: 0 0 auto;
  border-radius: 6px;
  border: 1px solid rgba(15, 58, 43, .22);
  background: var(--surface);
  cursor: pointer;
  box-shadow: var(--soft-shadow);
}

.nav-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--green);
  border-radius: 2px;
  transition: transform .22s ease, opacity .16s ease;
}

.mobile-nav {
  display: none;
  flex-direction: column;
  max-height: calc(100vh - 74px);
  max-height: calc(100dvh - 74px);
  overflow-y: auto;
  overscroll-behavior: contain;
  background: rgba(255, 250, 243, .98);
  border-top: 1px solid var(--line);
  backdrop-filter: blur(18px);
  box-shadow: 0 12px 28px rgba(17, 24, 22, .1);
}

.mobile-nav a {
  display: flex;
  align-items: center;
  min-height: 54px;
  padding: 0 22px;
  color: var(--ink);
  font-size: .96rem;
  font-weight: 900;
  border-bottom: 1px solid rgba(215, 206, 194, .5);
  transition: background .12s ease;
}

.mobile-nav a:active {
  background: rgba(15, 58, 43, .06);
}

.mobile-nav .mobile-nav-tel {
  color: var(--green);
  font-size: 1.08rem;
}

.button,
.call-button,
.line-button {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border-radius: 6px;
  border: 1px solid transparent;
  padding: 0 18px;
  font-weight: 900;
  line-height: 1.2;
  text-align: center;
  cursor: pointer;
  transition: transform .18s ease, box-shadow .18s ease, background .18s ease;
}

.button:hover,
.button:focus-visible,
.call-button:hover,
.call-button:focus-visible,
.line-button:hover,
.line-button:focus-visible {
  transform: translateY(-1px);
}

.call-button {
  color: var(--green);
  border-color: rgba(15, 58, 43, .32);
  background: var(--surface);
  box-shadow: var(--soft-shadow);
  white-space: nowrap;
}

.button.primary {
  color: var(--surface);
  background: var(--green);
  border-color: var(--green);
  box-shadow: 0 16px 34px rgba(15, 58, 43, .24);
}

.button.secondary {
  color: var(--surface);
  background: rgba(255, 250, 243, .14);
  border-color: rgba(255, 250, 243, .52);
}

.line-button {
  color: var(--white);
  background: #06c755;
  border-color: #06c755;
  box-shadow: 0 16px 34px rgba(6, 199, 85, .22);
}

.button.is-copied {
  color: var(--surface);
  border-color: var(--gold);
  background: var(--gold);
}

.button:disabled,
.call-button:disabled,
.line-button:disabled {
  opacity: .68;
  cursor: progress;
  transform: none;
}

.hero {
  position: relative;
  min-height: 78vh;
  min-height: 78svh;
  display: grid;
  align-items: center;
  overflow: hidden;
  color: var(--surface);
  background:
    linear-gradient(90deg, rgba(10, 24, 21, .94) 0%, rgba(10, 24, 21, .84) 42%, rgba(10, 24, 21, .25) 100%),
    url("goshiki-hero.jpg") center right / cover no-repeat;
}

.hero::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 8px;
  background: linear-gradient(90deg, var(--green), var(--gold), var(--blue), var(--coral));
}

.hero-inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 680px) minmax(260px, 360px);
  gap: 54px;
  align-items: end;
  padding: 78px 0 88px;
}

.hero-inner > *,
.section-head > *,
.contact-panel > *,
.finder-grid > *,
.ai-grid > *,
.form-grid > * {
  min-width: 0;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  margin: 0 0 18px;
  padding: 0 12px;
  border: 1px solid rgba(255, 250, 243, .42);
  border-radius: 999px;
  color: #f3d49e;
  background: rgba(255, 250, 243, .11);
  font-size: .86rem;
  font-weight: 900;
}

.hero h1 {
  margin: 0;
  font-size: 4.7rem;
  line-height: .96;
  font-weight: 900;
}

.hero-copy {
  max-width: 660px;
  margin: 24px 0 0;
  color: rgba(255, 250, 243, .9);
  font-size: 1.24rem;
  font-weight: 800;
  line-height: 1.75;
  overflow-wrap: anywhere;
}

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

.hero-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 28px;
}

.hero-tags a {
  min-height: 38px;
  display: inline-flex;
  align-items: center;
  border: 1px solid rgba(255, 250, 243, .28);
  border-radius: 999px;
  padding: 0 13px;
  color: rgba(255, 250, 243, .9);
  background: rgba(255, 250, 243, .09);
  font-size: .9rem;
  font-weight: 900;
}

.hero-tags a:hover,
.hero-tags a:focus-visible {
  border-color: rgba(243, 212, 158, .72);
  background: rgba(255, 250, 243, .16);
  outline: none;
}

.hero-proof {
  border-left: 1px solid rgba(255, 250, 243, .35);
  padding-left: 26px;
  color: rgba(255, 250, 243, .84);
  font-weight: 800;
}

.hero-proof b {
  display: block;
  margin-bottom: 12px;
  color: var(--surface);
  font-size: 1.2rem;
  line-height: 1.45;
  overflow-wrap: anywhere;
}

.hero-proof dl {
  display: grid;
  gap: 12px;
  margin: 22px 0 0;
}

.hero-proof div {
  display: grid;
  gap: 2px;
  border-top: 1px solid rgba(255, 250, 243, .22);
  padding-top: 12px;
}

.hero-proof dt {
  color: #f3d49e;
  font-size: .78rem;
  font-weight: 900;
}

.hero-proof dd {
  margin: 0;
  color: var(--surface);
  font-size: 1.04rem;
  font-weight: 900;
}

.trust-strip {
  border-bottom: 1px solid var(--line);
  background: var(--green);
  color: var(--surface);
}

.trust-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: rgba(255, 250, 243, .16);
}

.trust-item {
  min-height: 112px;
  padding: 22px 24px;
  background: var(--green);
}

.trust-item span {
  display: block;
  color: #f3d49e;
  font-size: .78rem;
  font-weight: 900;
}

.trust-item strong {
  display: block;
  margin-top: 4px;
  font-size: 1.16rem;
  line-height: 1.45;
}

.trust-strip .section-photo-card {
  margin-top: 20px;
  border-color: rgba(255, 250, 243, .24);
  background: rgba(255, 250, 243, .08);
}

.trust-strip .section-photo-card figcaption {
  color: rgba(255, 250, 243, .84);
}

.photo {
  background: var(--surface);
}

.staff-intro {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  background: var(--surface);
}

.staff-intro::before {
  content: "";
  position: absolute;
  inset: 0;
  /* Temporary staff background image. Replace this URL when the final photo is ready. */
  background: url("goshiki-hero.jpg") right 12% top 56px / min(1180px, 116vw) auto no-repeat;
  opacity: .48;
  pointer-events: none;
}

.staff-intro::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(255, 250, 243, .76), rgba(255, 250, 243, .68) 30%, rgba(255, 250, 243, .92) 78%),
    linear-gradient(90deg, rgba(255, 250, 243, .95), rgba(255, 250, 243, .62) 58%, rgba(255, 250, 243, .84));
  pointer-events: none;
}

.staff-intro > .wrap {
  position: relative;
  z-index: 1;
}

.photo-frame {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  box-shadow: var(--shadow);
}

.photo-frame img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
}

.photo-frame figcaption {
  margin: 0;
  padding: 18px 22px;
  color: var(--muted);
  font-weight: 800;
}

section {
  padding: 86px 0;
}

section[id],
.trust-strip {
  scroll-margin-top: 80px;
}

.section-head {
  display: grid;
  grid-template-columns: minmax(0, .92fr) minmax(300px, .8fr);
  gap: 42px;
  align-items: end;
  margin-bottom: 36px;
}

.section-kicker {
  margin: 0 0 10px;
  color: var(--gold);
  font-size: .82rem;
  font-weight: 900;
  text-transform: uppercase;
}

main h1,
h2 {
  margin: 0;
  font-size: 2.46rem;
  line-height: 1.25;
  font-weight: 900;
}

.section-head p,
.section-copy {
  margin: 0;
  color: var(--muted);
  font-weight: 800;
  overflow-wrap: anywhere;
}

.section-photo-card {
  margin: 0;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  box-shadow: var(--soft-shadow);
}

.section-photo-card img {
  width: 100%;
  min-height: 0;
  aspect-ratio: 16 / 9;
  object-fit: cover;
}

.section-photo-card figcaption {
  margin: 0;
  padding: 12px 16px;
  color: var(--muted);
  font-size: .88rem;
  font-weight: 800;
}

.section-head + .section-photo-card {
  margin-bottom: 24px;
}

.after-follow-photos {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  margin-bottom: 24px;
}

.after-follow-photos .section-photo-card img {
  min-height: 0;
  aspect-ratio: 3 / 4;
}

.after-follow-photos .section-photo-card figcaption {
  text-align: center;
}

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

.staff-profile {
  display: grid;
  grid-template-columns: minmax(230px, .38fr) minmax(0, 1fr);
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: linear-gradient(180deg, var(--white), var(--surface));
  box-shadow: var(--soft-shadow);
}

.staff-photo {
  align-self: start;
  width: 100%;
  min-width: 0;
  margin: 0;
  background: var(--paper-deep);
}

.staff-photo img {
  width: 100%;
  height: auto;
  min-height: 0;
  aspect-ratio: 1 / 1;
  object-fit: cover;
}

.staff-content {
  min-width: 0;
  display: grid;
  align-content: center;
  gap: 14px;
  padding: 28px;
}

.staff-content .section-kicker {
  margin-bottom: 0;
}

.staff-content h2 {
  color: var(--green);
  font-size: 1.8rem;
}

.staff-role {
  margin: 0;
  color: var(--ink);
  font-weight: 900;
}

.staff-message-grid {
  min-width: 0;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  border-top: 1px solid var(--line);
  padding-top: 18px;
}

.staff-message {
  min-width: 0;
}

.staff-message-grid.is-single {
  grid-template-columns: 1fr;
}

.staff-message h3 {
  margin: 0 0 8px;
  color: var(--gold);
  font-size: 1rem;
  line-height: 1.45;
}

.staff-message p {
  margin: 0;
  color: var(--muted);
  font-weight: 800;
  overflow-wrap: anywhere;
}

.staff-message p + p {
  margin-top: 8px;
}

.staff-values {
  display: grid;
  gap: 4px;
  margin: 8px 0 0;
  padding: 0;
  color: var(--green);
  font-weight: 900;
  list-style: none;
}

.process-step.has-photo {
  overflow: hidden;
  padding-top: 0;
}

.process-step.has-photo img {
  width: calc(100% + 44px);
  max-width: none;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  margin: 0 -22px 18px;
}

.work-ba-card {
  grid-column: 1 / -1;
  border: 1px solid var(--line);
  border-radius: 10px;
  overflow: hidden;
  background: var(--white);
  box-shadow: var(--soft-shadow);
}

.work-ba-header {
  padding: 16px 22px;
  border-bottom: 1px solid var(--line);
  background: var(--surface);
}

.work-ba-header span {
  color: var(--gold);
  font-size: .78rem;
  font-weight: 900;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.work-ba-header h3 {
  margin: 4px 0 4px;
  color: var(--green);
  font-size: 1.05rem;
  font-weight: 900;
}

.work-ba-header p {
  margin: 0;
  color: var(--muted);
  font-size: .88rem;
  font-weight: 800;
}

.work-ba-photos {
  display: grid;
  grid-template-columns: 1fr 1fr;
}

.work-ba-photo {
  position: relative;
}

.work-ba-photo img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  display: block;
}

.work-ba-photo + .work-ba-photo {
  border-left: 3px solid var(--white);
}

.work-ba-label {
  position: absolute;
  top: 10px;
  left: 10px;
  padding: 3px 10px;
  border-radius: 4px;
  font-size: .76rem;
  font-weight: 900;
  letter-spacing: .06em;
}

.work-ba-label.is-before {
  background: rgba(0, 0, 0, .62);
  color: #fff;
}

.work-ba-label.is-after {
  background: var(--green);
  color: var(--surface);
}

.finder {
  background: var(--surface);
}

.finder-grid {
  display: grid;
  grid-template-columns: minmax(250px, .68fr) minmax(0, 1fr);
  gap: 20px;
  align-items: stretch;
}

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

.service-tab {
  min-height: 58px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 0 16px;
  color: var(--ink);
  background: var(--white);
  cursor: pointer;
  font-weight: 900;
  text-align: left;
  box-shadow: var(--soft-shadow);
  transition: transform .18s ease, border-color .18s ease, background .18s ease;
}

.service-tab::after {
  content: "選ぶ";
  flex: 0 0 auto;
  color: var(--muted);
  font-size: .78rem;
  font-weight: 900;
}

.service-tab:hover,
.service-tab:focus-visible {
  transform: translateY(-1px);
  border-color: rgba(15, 58, 43, .44);
  outline: none;
}

.service-tab[aria-selected="true"] {
  color: var(--surface);
  border-color: var(--green);
  background: var(--green);
}

.service-tab[aria-selected="true"]::after {
  color: #f3d49e;
  content: "表示中";
}

.service-panel {
  display: grid;
  gap: 22px;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 28px;
  background: linear-gradient(180deg, var(--white), var(--surface));
  box-shadow: var(--shadow);
}

.service-panel h3 {
  margin: 0;
  color: var(--green);
  font-size: 1.82rem;
  line-height: 1.25;
  font-weight: 900;
}

.service-panel p {
  margin: 0;
  color: var(--muted);
  font-weight: 800;
}

.service-panel dl {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  margin: 0;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--line);
}

.service-panel div {
  min-height: 150px;
  padding: 18px;
  background: var(--white);
}

.service-panel dt {
  color: var(--gold);
  font-size: .82rem;
  font-weight: 900;
}

.service-panel dd {
  margin: 8px 0 0;
  color: var(--ink);
  font-weight: 900;
  line-height: 1.6;
}

.service-panel .representative-message {
  display: grid;
  gap: 14px;
}

.representative-message p {
  line-height: 1.9;
}

.representative-message .section-kicker {
  margin-bottom: 0;
}

.representative-signature {
  color: var(--ink);
  font-weight: 900;
}

.panel-points {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.panel-points li {
  min-height: 76px;
  border: 1px solid var(--soft-line);
  border-radius: 8px;
  padding: 12px 14px;
  background: rgba(245, 239, 229, .52);
  color: var(--ink);
  font-size: .94rem;
  font-weight: 900;
}

.ai-assist {
  border-block: 1px solid var(--line);
  background:
    linear-gradient(180deg, var(--paper), var(--surface));
}

.ai-grid {
  display: grid;
  grid-template-columns: minmax(310px, .82fr) minmax(0, 1fr);
  gap: 20px;
  align-items: stretch;
}

.ai-panel,
.ai-output {
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 28px;
  background: var(--surface);
  box-shadow: var(--soft-shadow);
}

.ai-panel {
  display: grid;
  gap: 20px;
}

.ai-field,
.ai-group {
  display: grid;
  gap: 10px;
}

.ai-field label,
.ai-group-title {
  color: var(--green);
  font-weight: 900;
  line-height: 1.45;
}

.ai-field select,
.ai-field textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 12px 14px;
  color: var(--ink);
  background: var(--white);
  font: inherit;
  font-weight: 800;
}

.ai-field textarea {
  min-height: 118px;
  resize: vertical;
  line-height: 1.7;
}

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

.ai-option {
  min-height: 62px;
  display: flex;
  align-items: flex-start;
  gap: 10px;
  border: 1px solid var(--soft-line);
  border-radius: 8px;
  padding: 12px;
  background: var(--white);
  cursor: pointer;
  color: var(--ink);
  font-size: .92rem;
  font-weight: 900;
  line-height: 1.55;
}

.ai-option input {
  width: 18px;
  height: 18px;
  flex: 0 0 auto;
  margin-top: 3px;
  accent-color: var(--green);
}

.ai-note,
.ai-status {
  margin: 0;
  color: var(--muted);
  font-size: .9rem;
  font-weight: 800;
}

.ai-output {
  display: grid;
  gap: 18px;
  background: linear-gradient(180deg, var(--white), var(--surface));
}

.ai-result-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--line);
}

.ai-result-grid div {
  min-height: 126px;
  padding: 16px;
  background: var(--white);
}

.ai-result-grid span {
  display: block;
  color: var(--gold);
  font-size: .78rem;
  font-weight: 900;
  text-transform: uppercase;
}

.ai-result-grid strong {
  display: block;
  margin-top: 8px;
  color: var(--green);
  font-size: 1.04rem;
  line-height: 1.55;
  overflow-wrap: anywhere;
}

.ai-message {
  min-height: 190px;
  margin: 0;
  white-space: pre-wrap;
  overflow-wrap: anywhere;
  border: 1px solid var(--soft-line);
  border-radius: 8px;
  padding: 18px;
  color: var(--ink);
  background: rgba(245, 239, 229, .58);
  font-family: inherit;
  font-weight: 800;
  line-height: 1.7;
}

.ai-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.ai-actions .button,
.ai-actions .line-button {
  min-width: 188px;
}

.ai-status {
  min-height: 1.5em;
  color: var(--green);
  font-weight: 900;
}

.commitments {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 1px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--line);
  box-shadow: var(--shadow);
}

.commitment {
  min-height: 238px;
  padding: 24px 20px;
  background: var(--surface);
}

.commitment span {
  display: inline-flex;
  width: 42px;
  height: 42px;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
  border-radius: 50%;
  color: var(--surface);
  background: var(--green);
  font-size: .84rem;
  font-weight: 900;
}

.commitment:nth-child(even) span {
  background: var(--blue);
}

.commitment h3 {
  margin: 0 0 10px;
  font-size: 1.14rem;
  line-height: 1.45;
  font-weight: 900;
}

.commitment p {
  margin: 0;
  color: var(--muted);
  font-size: .92rem;
  font-weight: 800;
}

.process {
  border-block: 1px solid var(--line);
  background: var(--paper-deep);
}

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

.process-step {
  min-height: 194px;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 22px;
  background: var(--surface);
  box-shadow: var(--soft-shadow);
}

.process-step span {
  color: var(--gold);
  font-size: .82rem;
  font-weight: 900;
}

.process-step h3 {
  margin: 8px 0 8px;
  font-size: 1.2rem;
  line-height: 1.4;
}

.location-sub {
  margin-top: 6px;
  color: var(--muted);
  font-size: .82rem;
}

.process-step p {
  margin: 0;
  color: var(--muted);
  font-size: .94rem;
  font-weight: 800;
}

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

details {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
  box-shadow: var(--soft-shadow);
}

summary {
  min-height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 18px;
  cursor: pointer;
  color: var(--green);
  font-weight: 900;
  list-style: none;
}

summary::-webkit-details-marker {
  display: none;
}

summary::after {
  content: "+";
  display: inline-flex;
  width: 28px;
  height: 28px;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  color: var(--surface);
  background: var(--green);
  font-weight: 900;
  flex: 0 0 auto;
}

details[open] summary::after {
  content: "-";
  background: var(--gold);
}

details p {
  margin: 0;
  border-top: 1px solid var(--line);
  padding: 16px 18px 18px;
  color: var(--muted);
  font-weight: 800;
}

.security {
  background: var(--green);
  color: var(--surface);
}

.security .section-kicker {
  color: #f3d49e;
}

.security .section-head p {
  color: rgba(255, 250, 243, .82);
}

.security-card {
  min-height: 150px;
  border: 1px solid rgba(255, 250, 243, .24);
  border-radius: 8px;
  padding: 20px;
  background: rgba(255, 250, 243, .08);
}

.security-card strong {
  display: block;
  color: #f3d49e;
  font-size: 1.08rem;
  line-height: 1.45;
}

.security-card p {
  margin: 10px 0 0;
  color: rgba(255, 250, 243, .84);
  font-weight: 800;
}

.contact {
  padding-bottom: 112px;
  background:
    linear-gradient(180deg, rgba(245, 239, 229, 0) 0%, rgba(236, 227, 214, .95) 100%);
}

.contact-panel {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, .82fr);
  gap: 44px;
  align-items: center;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 48px;
  background: var(--surface);
  box-shadow: var(--shadow);
}

.contact-panel p {
  margin: 16px 0 0;
  color: var(--muted);
  font-weight: 800;
}

.contact-lines {
  display: grid;
  gap: 14px;
  font-weight: 900;
}

.phone-link {
  color: var(--green);
  font-size: 2.72rem;
  line-height: 1;
}

.contact-actions {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  margin: 4px 0 8px;
}

.contact-meta {
  display: grid;
  gap: 8px;
  color: var(--muted);
  font-size: .96rem;
  font-weight: 800;
}

.contact-meta span {
  border-top: 1px dotted rgba(21, 24, 23, .34);
  padding-top: 10px;
}

.contact-meta a {
  overflow-wrap: anywhere;
}

.contact-form {
  grid-column: 1 / -1;
  display: grid;
  gap: 18px;
  border-top: 1px solid var(--line);
  padding-top: 30px;
}

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

.form-field {
  display: grid;
  gap: 8px;
}

.form-field.full {
  grid-column: 1 / -1;
}

.form-field label,
.form-consent {
  color: var(--green);
  font-weight: 900;
  line-height: 1.45;
}

.form-field input,
.form-field select,
.form-field textarea {
  width: 100%;
  min-width: 0;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 12px 14px;
  color: var(--ink);
  background: var(--white);
  font: inherit;
  font-weight: 800;
}

.form-field textarea {
  min-height: 148px;
  resize: vertical;
  line-height: 1.7;
}

.hidden-field {
  display: none;
}

.clipboard-fallback {
  position: fixed;
  top: 0;
  left: -9999px;
  opacity: 0;
  pointer-events: none;
}

.form-consent {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  color: var(--muted);
  font-size: .92rem;
}

.form-consent input {
  width: 18px;
  height: 18px;
  flex: 0 0 auto;
  margin-top: 4px;
  accent-color: var(--green);
}

.form-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
}

.section-actions {
  margin-top: 28px;
}

.form-actions .button,
.form-actions .line-button {
  min-width: 188px;
}

.form-status {
  min-height: 1.5em;
  margin: 0;
  color: var(--green);
  font-weight: 900;
}

.form-status.is-error {
  color: var(--coral);
}

footer {
  border-top: 1px solid var(--line);
  padding: 30px 0;
  color: var(--muted);
  background: var(--paper-deep);
  font-size: .84rem;
  font-weight: 800;
}

.mobile-call {
  display: none;
  position: fixed;
  left: 12px;
  right: 12px;
  bottom: 12px;
  z-index: 30;
  min-height: 56px;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  color: var(--surface);
  background: var(--green);
  font-weight: 900;
  box-shadow: 0 16px 38px rgba(17, 24, 22, .28);
}

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

.paint-phases {
  display: grid;
  gap: 44px;
}

.paint-phase-header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 18px;
  padding: 14px 20px;
  border-radius: 8px;
  background: var(--green);
  color: var(--surface);
}

.paint-phase-badge {
  display: inline-flex;
  min-width: 76px;
  min-height: 28px;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  border: 1px solid rgba(255, 250, 243, .38);
  background: rgba(255, 250, 243, .14);
  color: #f3d49e;
  font-size: .78rem;
  font-weight: 900;
  white-space: nowrap;
}

.paint-phase-name {
  font-size: 1.1rem;
  font-weight: 900;
}

.paint-phase-range {
  margin-left: auto;
  color: rgba(255, 250, 243, .68);
  font-size: .82rem;
  font-weight: 800;
  white-space: nowrap;
}

.paint-phase-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 12px;
}

.paint-step {
  display: grid;
  grid-template-columns: 46px 1fr;
  gap: 14px;
  align-items: start;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 18px;
  background: linear-gradient(180deg, var(--white), var(--surface));
  box-shadow: var(--soft-shadow);
}

.paint-step-num {
  display: flex;
  justify-content: center;
  padding-top: 2px;
}

.paint-step-num span {
  display: flex;
  width: 38px;
  height: 38px;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: var(--green);
  color: var(--surface);
  font-size: .96rem;
  font-weight: 900;
  flex-shrink: 0;
}

.paint-step-body h3 {
  margin: 5px 0 8px;
  color: var(--green);
  font-size: 1.02rem;
  font-weight: 900;
  line-height: 1.35;
}

.paint-step-body > p {
  margin: 0 0 6px;
  color: var(--muted);
  font-size: .9rem;
  font-weight: 800;
  line-height: 1.65;
}

.paint-phase-grid .paint-step.has-photos {
  grid-column: 1 / -1;
}

.paint-step-photo-strip {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
  gap: 8px;
  margin-top: 16px;
  border-radius: 8px;
  overflow: hidden;
}

.paint-step-photo-strip img {
  width: 100%;
  aspect-ratio: 3 / 2;
  object-fit: cover;
  display: block;
}

.step-list {
  margin: 10px 0 0;
  padding: 0 0 0 18px;
  color: var(--muted);
  font-size: .92rem;
  font-weight: 800;
  line-height: 1.7;
}

.step-purpose {
  margin: 12px 0 0;
  padding: 9px 12px;
  background: rgba(184, 120, 34, .07);
  border-left: 3px solid var(--gold);
  border-radius: 0 4px 4px 0;
  color: var(--ink);
  font-size: .86rem;
  font-weight: 800;
  line-height: 1.6;
}

.step-purpose strong {
  color: var(--gold);
  font-weight: 900;
}

.works-summary {
  margin-top: 28px;
  padding: 26px 30px;
  border-radius: 8px;
  background: var(--green);
  color: rgba(255, 250, 243, .9);
  font-weight: 800;
  line-height: 1.85;
  box-shadow: var(--shadow);
}

.works-summary strong {
  display: block;
  margin-bottom: 10px;
  color: #f3d49e;
  font-size: 1.06rem;
  font-weight: 900;
}

@media (max-width: 1040px) {
  .nav {
    display: none;
  }

  .nav-toggle {
    display: flex;
  }

  .nav-open-check:checked ~ .header-inner .nav-toggle span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
  }

  .nav-open-check:checked ~ .header-inner .nav-toggle span:nth-child(2) {
    opacity: 0;
    transform: scaleX(0);
  }

  .nav-open-check:checked ~ .header-inner .nav-toggle span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
  }

  .nav-open-check:checked ~ .mobile-nav {
    display: flex;
  }

  .hero-inner,
  .section-head,
  .finder-grid,
  .ai-grid,
  .contact-panel,
  .staff-profile {
    grid-template-columns: 1fr;
  }

  .staff-photo img {
    aspect-ratio: 1 / 1;
  }

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

  .hero-proof {
    max-width: 620px;
  }

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

  .service-panel dl,
  .panel-points,
  .ai-result-grid,
  .faq-grid,
  .security-grid {
    grid-template-columns: repeat(2, 1fr);
  }

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

@media (max-width: 720px) {
  body {
    padding-bottom: calc(76px + env(safe-area-inset-bottom));
  }

  .wrap,
  .header-inner,
  .hero-inner {
    width: calc(100% - 24px);
  }

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

  .mobile-nav {
    max-height: calc(100dvh - 72px);
  }

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

  .brand-logo {
    width: 216px;
    max-width: 66vw;
  }

  .brand-sub,
  .site-header .call-button {
    display: none;
  }

  .hero {
    min-height: auto;
    background:
      linear-gradient(180deg, rgba(10, 24, 21, .94) 0%, rgba(10, 24, 21, .74) 54%, rgba(10, 24, 21, .42) 100%),
      url("goshiki-hero-960.jpg") center center / cover no-repeat;
  }

  .staff-intro::before {
    background-image: url("goshiki-hero-960.jpg");
  }

  .hero-inner {
    gap: 34px;
    padding: 34px 0 40px;
  }

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

  .hero-copy {
    margin-top: 18px;
    color: rgba(255, 250, 243, .94);
    font-size: 1.06rem;
    font-weight: 900;
    line-height: 1.7;
  }

  .hero-actions {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
    margin-top: 26px;
  }

  .hero-actions .button,
  .hero-actions .line-button {
    width: 100%;
    min-height: 54px;
    border-radius: 8px;
    font-size: 1.04rem;
  }

  .hero-tags {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
    margin-top: 20px;
  }

  .hero-tags a {
    min-height: 44px;
    justify-content: center;
    min-width: 0;
    padding: 0 12px;
    font-size: .92rem;
  }

  .hero-proof {
    display: none;
  }

  .trust-grid,
  .commitments,
  .service-panel dl,
  .panel-points,
  .ai-options,
  .staff-message-grid,
  .ai-result-grid,
  .process-grid,
  .faq-grid,
  .security-grid,
  .form-grid {
    grid-template-columns: 1fr;
  }

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

  .form-field input,
  .form-field select,
  .form-field textarea {
    font-size: 16px;
  }

  .trust-item,
  .commitment,
  .service-panel div,
  .panel-points li,
  .ai-option,
  .ai-result-grid div,
  .process-step,
  .security-card {
    min-height: auto;
  }

  section {
    padding: 62px 0;
  }

  .section-head {
    gap: 20px;
  }

  .section-head p,
  .section-copy,
  .staff-message p {
    overflow-wrap: anywhere;
  }

  main h1,
  h2 {
    font-size: 2rem;
  }

  .service-panel {
    padding: 22px 18px;
  }

  .staff-content {
    padding: 22px 18px;
  }

  .ai-panel,
  .ai-output {
    padding: 22px 18px;
  }

  .ai-actions .button,
  .ai-actions .line-button,
  .form-actions .button,
  .form-actions .line-button {
    width: 100%;
  }

  .contact-panel {
    padding: 28px 20px;
  }

  .phone-link {
    font-size: 2rem;
  }

  .section-photo-card img {
    min-height: 0;
  }

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

  .works-summary {
    padding: 20px;
  }

  .paint-phase-range {
    display: none;
  }

  .paint-phase-grid {
    grid-template-columns: 1fr;
  }

  .paint-phase-header {
    flex-wrap: wrap;
    padding: 12px 14px;
  }

  .paint-step {
    grid-template-columns: 40px minmax(0, 1fr);
    gap: 10px;
    padding: 16px 14px;
  }

  .paint-step-photo-strip {
    grid-template-columns: repeat(auto-fill, minmax(130px, 1fr));
  }

  .work-ba-header {
    padding: 14px 16px;
  }

  .work-ba-header h3 {
    font-size: .96rem;
  }

  .mobile-call {
    display: flex;
    bottom: calc(12px + env(safe-area-inset-bottom));
  }
}

@media (max-width: 480px) {
  .hero h1 {
    font-size: 2.8rem;
  }

  main h1,
  h2 {
    font-size: 1.72rem;
  }

  section {
    padding: 48px 0;
  }

  .hero-inner {
    padding: 26px 0 32px;
  }

  .hero-copy {
    font-size: .98rem;
  }

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

  .phone-link {
    font-size: 1.72rem;
  }

  .contact-panel {
    padding: 22px 16px;
  }

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

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

  .work-ba-photo + .work-ba-photo {
    border-top: 3px solid var(--white);
    border-left: 0;
  }

  .paint-step-photo-strip {
    grid-template-columns: 1fr;
  }

  .service-panel {
    padding: 18px 14px;
  }
}

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

  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: .01ms !important;
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
  }
}

/* --- Goshiki editorial home layout --- */
.site-header { background: rgba(251, 248, 241, .97); }
.header-inner { width: min(1440px, calc(100% - 40px)); min-height: 88px; gap: 26px; }
.brand-logo { width: 238px; max-width: 34vw; }
.nav { margin-left: auto; gap: clamp(12px, 1.5vw, 26px); color: var(--ink); font-size: .82rem; }
.header-contact { display: flex; align-items: center; gap: 12px; }
.header-phone { display: grid; line-height: 1.1; text-align: right; white-space: nowrap; }
.header-phone small { color: var(--muted); font-size: .65rem; font-weight: 800; }
.header-phone strong { margin-top: 5px; color: var(--green); font-family: Georgia, serif; font-size: 1.2rem; letter-spacing: .04em; }
.header-cta { min-height: 52px; padding-inline: 20px; border-radius: 4px; font-size: .82rem; }

.hero { min-height: min(720px, calc(100svh - 88px)); color: var(--ink); background: url("goshiki-hero.jpg") center / cover no-repeat; }
.hero::before { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(251, 248, 241, .98) 0%, rgba(251, 248, 241, .91) 33%, rgba(251, 248, 241, .24) 62%, rgba(251, 248, 241, 0) 100%); }
.hero::after { height: 0; }
.hero-inner { width: min(1440px, calc(100% - 80px)); grid-template-columns: minmax(0, 680px); align-items: center; padding: 88px 0 104px; }
.hero-message { position: relative; }
.hero-eyebrow { margin: 0 0 22px; color: var(--green-mid); font-size: .78rem; font-weight: 900; letter-spacing: .16em; }
.hero h1 { margin: 0; color: var(--green); font-family: "Yu Mincho", "Hiragino Mincho ProN", serif; font-size: clamp(2.9rem, 4.7vw, 4.2rem); font-weight: 600; line-height: 1.34; letter-spacing: .07em; text-shadow: none; }
.hero-copy { max-width: 480px; margin: 26px 0 0; color: #28332c; font-size: 1rem; font-weight: 700; line-height: 2; }
.hero-actions { margin-top: 30px; gap: 10px; }
.hero .button { min-height: 54px; border-radius: 3px; }
.hero .button.secondary { color: var(--green); border-color: rgba(23, 63, 44, .42); background: rgba(251, 248, 241, .86); }
.hero-scroll { position: absolute; right: 32px; bottom: 24px; z-index: 1; margin: 0; color: var(--surface); font-family: Georgia, serif; font-size: .65rem; letter-spacing: .22em; writing-mode: vertical-rl; text-shadow: 0 1px 10px rgba(0,0,0,.4); }

.home-services, .home-about, .home-reasons, .home-staff, .home-works { padding: 92px 0; }
.home-services { background: var(--surface); }
.finder { border-block: 1px solid var(--line); background: #eee7da; }
.home-about { background: var(--surface); }
.home-reasons { color: var(--surface); background: var(--green); }
.home-reasons .home-section-head h2, .home-reasons .section-kicker { color: var(--surface); }
.home-reasons .home-section-head > p { color: rgba(251, 248, 241, .76); }
.home-reasons .trust-grid { overflow: hidden; border: 1px solid rgba(251, 248, 241, .2); border-radius: 5px; }
.home-reasons .trust-item { background: rgba(251, 248, 241, .035); }
.home-staff { background: var(--surface); }
.home-works { background: #eee7da; }
.home-section-head { display: grid; grid-template-columns: minmax(220px, .8fr) minmax(260px, 1.2fr) auto; gap: 34px; align-items: end; margin-bottom: 38px; }
.home-section-head h2, .about-copy h2 { margin: 5px 0 0; color: var(--green); font-family: "Yu Mincho", "Hiragino Mincho ProN", serif; font-size: clamp(2rem, 3.3vw, 3.2rem); font-weight: 600; line-height: 1.45; letter-spacing: .08em; }
.home-section-head > p { max-width: 520px; margin: 0; color: var(--muted); font-size: .92rem; font-weight: 700; }
.text-link { display: inline-flex; min-height: 44px; align-items: center; gap: 18px; padding: 0 4px 7px; border-bottom: 1px solid var(--green); color: var(--green); font-size: .82rem; font-weight: 900; white-space: nowrap; }

.service-card-grid { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 12px; }
.service-card { position: relative; min-height: 285px; padding: 34px 24px 26px; overflow: hidden; border: 1px solid #e1dacd; border-radius: 5px; background: #fffdf8; box-shadow: 0 3px 16px rgba(31,43,35,.04); transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease; }
.service-card:hover, .service-card:focus-visible { transform: translateY(-5px); border-color: rgba(23,63,44,.42); box-shadow: var(--soft-shadow); }
.service-icon { display: grid; width: 72px; height: 72px; place-items: center; margin: 0 auto 28px; color: var(--green); font-family: "Yu Mincho", serif; font-size: 2.5rem; border: 1px solid rgba(23,63,44,.24); border-radius: 50%; background: #f4f0e6; }
.service-number { position: absolute; top: 15px; right: 17px; color: #b4aa9a; font-family: Georgia, serif; font-size: .72rem; letter-spacing: .1em; }
.service-card h3 { margin: 0 0 12px; color: var(--ink); font-size: 1.05rem; text-align: center; }
.service-card p { margin: 0; color: var(--muted); font-size: .79rem; font-weight: 700; line-height: 1.8; }

.about-grid { display: grid; grid-template-columns: minmax(0, .9fr) minmax(280px, .8fr) minmax(280px, 1fr); gap: clamp(34px, 5vw, 72px); align-items: center; }
.about-copy > p:not(.section-kicker) { margin: 20px 0 0; color: var(--muted); font-size: .92rem; font-weight: 700; line-height: 2; }
.about-copy .button { margin-top: 28px; }
.about-photo { position: relative; margin: 0; }
.about-photo::before { content: ""; position: absolute; inset: -14px 14px 14px -14px; border: 1px solid rgba(23,63,44,.28); }
.about-photo img { position: relative; width: 100%; aspect-ratio: 4 / 5; object-fit: cover; }
.about-photo figcaption { position: relative; padding: 12px 4px 0; color: var(--muted); font-size: .75rem; font-weight: 800; letter-spacing: .08em; }
.about-values h3 { margin: 5px 0 18px; color: var(--green); font-family: "Yu Mincho", serif; font-size: 1.5rem; font-weight: 600; }
.about-values ol { margin: 0; padding: 0; list-style: none; border-top: 1px solid var(--line); }
.about-values li { display: grid; grid-template-columns: 42px 1fr; gap: 14px; align-items: center; min-height: 64px; border-bottom: 1px solid var(--line); }
.about-values li > span { color: var(--gold); font-family: Georgia, serif; font-size: .78rem; }
.about-values li div { display: flex; gap: 14px; align-items: baseline; }
.about-values strong { min-width: 74px; color: var(--ink); font-family: "Yu Mincho", serif; font-size: 1.05rem; }
.about-values small { color: var(--muted); font-size: .72rem; font-weight: 700; }

.home-staff-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.home-staff-card { overflow: hidden; border: 1px solid var(--line); border-radius: 5px; background: #fffdf8; box-shadow: var(--soft-shadow); transition: transform .25s ease, box-shadow .25s ease; }
.home-staff-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.home-staff-card img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; object-position: center 25%; }
.home-staff-card > div { padding: 22px 24px 25px; }
.home-staff-card .staff-role { margin: 0 0 7px; color: var(--green-mid); font-size: .72rem; font-weight: 900; letter-spacing: .06em; }
.home-staff-card h3 { margin: 0 0 12px; color: var(--ink); font-family: "Yu Mincho", serif; font-size: 1.4rem; }
.home-staff-card > div > p:last-child { margin: 0; color: var(--muted); font-size: .82rem; font-weight: 700; line-height: 1.8; }

.home-work-scroll { display: grid; grid-auto-columns: minmax(360px, 1fr); grid-auto-flow: column; gap: 18px; overflow-x: auto; padding: 4px 4px 24px; scroll-snap-type: x mandatory; scrollbar-color: var(--green) rgba(23,63,44,.12); }
.home-work-card { overflow: hidden; border: 1px solid var(--line); border-radius: 5px; background: #fffdf8; box-shadow: var(--soft-shadow); scroll-snap-align: start; }
.work-pair { display: grid; grid-template-columns: 1fr 1fr; }
.work-pair figure { position: relative; margin: 0; overflow: hidden; }
.work-pair img { width: 100%; height: 250px; object-fit: cover; transition: transform .35s ease; }
.home-work-card:hover .work-pair img { transform: scale(1.02); }
.work-pair span { position: absolute; left: 10px; bottom: 10px; padding: 4px 9px; color: var(--surface); background: rgba(23,63,44,.88); font-family: Georgia, serif; font-size: .68rem; letter-spacing: .08em; }
.work-card-copy { padding: 20px 22px 24px; }
.work-card-copy > p { margin: 0 0 4px; color: var(--green-mid); font-size: .7rem; font-weight: 900; letter-spacing: .1em; }
.work-card-copy h3 { margin: 0 0 8px; font-family: "Yu Mincho", serif; font-size: 1.25rem; }
.work-card-copy small { color: var(--muted); font-size: .78rem; font-weight: 700; line-height: 1.7; }

.trust-strip { background: var(--surface); }
.contact { padding: 88px 0; background: var(--green); }
.contact-panel { border-color: rgba(255,255,255,.15); background: #f9f5ec; }
footer { background: #102d20; }

/* Editorial page introductions */
.staff-intro, body > main > .process:first-child { padding-top: 86px; }
.staff-intro::before, body > main > .process:first-child::before { content: ""; display: block; width: 54px; height: 1px; margin-bottom: 26px; background: var(--gold); }

@media (max-width: 1240px) {
  .header-inner { min-height: 80px; }
  .nav { display: none; }
  .nav-toggle { display: flex; order: 3; }
  .header-contact { margin-left: auto; }
  .service-card-grid { grid-template-columns: repeat(3, 1fr); }
  .about-grid { grid-template-columns: 1fr 1fr; }
  .about-values { grid-column: 1 / -1; }
  .about-values ol { display: grid; grid-template-columns: repeat(5, 1fr); border-top: 0; gap: 8px; }
  .about-values li { grid-template-columns: 1fr; align-content: start; padding: 16px; border: 1px solid var(--line); }
  .about-values li div { display: grid; gap: 6px; }
}

@media (max-width: 720px) {
  body { padding-bottom: 68px; }
  .header-inner { width: calc(100% - 24px); min-height: 68px; gap: 10px; }
  .brand-logo { width: 172px; max-width: 48vw; }
  .header-contact { display: none; }
  .nav-toggle { margin-left: auto; }
  .mobile-nav { max-height: calc(100dvh - 68px); }
  .hero { min-height: 650px; background-position: 62% center; }
  .hero::before { background: linear-gradient(180deg, rgba(251,248,241,.96) 0%, rgba(251,248,241,.9) 55%, rgba(251,248,241,.34) 100%); }
  .hero-inner { width: calc(100% - 32px); padding: 58px 0 112px; align-items: start; }
  .hero h1 { max-width: 100%; font-size: clamp(2.05rem, 9.6vw, 2.65rem); line-height: 1.42; letter-spacing: .04em; overflow-wrap: normal; }
  .hero-copy { margin-top: 20px; font-size: .9rem; line-height: 1.85; }
  .hero-actions { display: grid; grid-template-columns: 1fr; }
  .hero .button { width: 100%; }
  .hero-scroll { display: none; }
  .home-services, .home-about, .home-reasons, .home-staff, .home-works { padding: 64px 0; }
  .home-section-head { grid-template-columns: 1fr; gap: 12px; margin-bottom: 28px; }
  .home-section-head > p { font-size: .86rem; }
  .text-link { width: max-content; margin-top: 8px; }
  .service-card-grid { grid-template-columns: 1fr; gap: 10px; }
  .service-card { min-height: 0; display: grid; grid-template-columns: 60px 1fr; column-gap: 16px; padding: 20px; }
  .service-icon { grid-row: 1 / 3; width: 58px; height: 58px; margin: 0; font-size: 2rem; }
  .service-number { top: 10px; right: 12px; }
  .service-card h3 { align-self: end; margin: 0; padding-right: 20px; text-align: left; }
  .service-card p { margin-top: 5px; }
  .about-grid { grid-template-columns: 1fr; gap: 42px; }
  .about-values { grid-column: auto; }
  .about-values ol { display: block; border-top: 1px solid var(--line); }
  .about-values li { grid-template-columns: 36px 1fr; min-height: 60px; padding: 0; border-width: 0 0 1px; }
  .about-values li div { display: flex; gap: 10px; }
  .about-values small { font-size: .68rem; }
  .home-staff-grid { grid-template-columns: 1fr; }
  .home-staff-card { display: grid; grid-template-columns: 42% 1fr; }
  .home-staff-card img { height: 100%; aspect-ratio: auto; }
  .home-staff-card > div { padding: 18px; }
  .home-staff-card h3 { font-size: 1.12rem; }
  .home-work-scroll { grid-auto-columns: 88%; margin-right: -16px; }
  .work-pair img { height: 180px; }
}

@media (max-width: 360px) {
  .header-inner { width: calc(100% - 20px); }
  .brand-logo { width: 150px; max-width: calc(100vw - 76px); }
  .hero-inner { width: calc(100% - 24px); padding-top: 46px; }
  .hero h1 { font-size: 1.95rem; letter-spacing: .025em; }
  .hero-copy { font-size: .84rem; }
  .about-values li div { display: grid; gap: 2px; }
  .home-staff-card { grid-template-columns: 38% 1fr; }
  .home-staff-card > div { padding: 15px; }
  .compact-contact { padding-inline: 20px; }
  .compact-contact-note { gap: 6px; }
  .compact-contact-note span { min-width: 58px; min-height: 58px; font-size: .63rem; }
  .direct-contact-card { grid-template-columns: 40px minmax(0, 1fr) auto; padding-inline: 12px; }
  .direct-contact-card > span { width: 40px; height: 40px; }
}

@media (prefers-reduced-motion: reduce) {
  .service-card, .home-staff-card, .work-pair img { transition: none; }
}

.photo-frame.is-contain img,
.section-photo-card.is-contain img {
  height: auto;
  min-height: 0;
  object-fit: contain;
}

.is-landscape img {
  aspect-ratio: 3 / 2;
}

.is-promo img {
  aspect-ratio: 408 / 241;
}

.section-photo-card.is-portrait {
  width: min(100%, 560px);
  margin-inline: auto;
}

.section-photo-card.is-portrait img {
  height: auto;
  min-height: 0;
  aspect-ratio: 1 / 1;
  object-fit: cover;
}

.nav-toggle:focus-visible {
  outline: 3px solid var(--gold);
  outline-offset: 3px;
}

footer a {
  text-decoration: underline;
  text-underline-offset: 3px;
}

.form-consent a,
.legal-card a:not(.button) {
  color: var(--green);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.legal-page {
  background: var(--surface);
}

.legal-page .wrap {
  width: min(860px, calc(100% - 32px));
}

.legal-card {
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: clamp(24px, 5vw, 48px);
  background: var(--white);
  box-shadow: var(--soft-shadow);
}

.legal-card h1 {
  margin: 0;
  color: var(--green);
  font-size: clamp(2rem, 6vw, 3rem);
  line-height: 1.25;
}

.legal-card h2 {
  margin: 36px 0 10px;
  color: var(--green);
  font-size: 1.35rem;
}

.legal-card p,
.legal-card li {
  color: var(--muted);
  font-weight: 700;
  line-height: 1.85;
}

.legal-card ul {
  padding-left: 1.4em;
}

/* Staff directory: 3 / 2 / 1 responsive card grid */
.staff-intro {
  --staff-item-color: var(--green);
  --staff-body-color: var(--ink);
}
.staff-intro .section-kicker,
.staff-intro .staff-content h2,
.staff-intro .staff-role,
.staff-intro .staff-message h3,
.staff-intro .staff-values,
.staff-intro .representative-signature { color: var(--staff-item-color); }
.staff-intro .staff-message p { color: var(--staff-body-color); }
.staff-intro .staff-list { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; align-items: start; }
.staff-intro .staff-profile { display: block; overflow: hidden; border-radius: 5px; background: #fffdf8; box-shadow: var(--soft-shadow); }
.staff-intro .staff-photo img { width: 100%; aspect-ratio: 1 / 1; object-fit: cover; object-position: center 24%; }
.staff-intro .staff-content { padding: 22px; }
.staff-intro .staff-content h2 { font-family: "Yu Mincho", "Hiragino Mincho ProN", serif; font-size: 1.35rem; }
.staff-intro .staff-message-grid, .staff-intro .staff-message { display: block; }
.staff-intro .staff-message { padding: 0; border: 0; background: transparent; box-shadow: none; }
.staff-intro .staff-message h3 { margin-top: 20px; font-size: .88rem; }
.staff-intro .staff-message p, .staff-intro .staff-values { font-size: .78rem; line-height: 1.85; }

@media (max-width: 1040px) {
  .staff-intro .staff-list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 640px) {
  .staff-intro .staff-list { grid-template-columns: 1fr; }
  .staff-intro .staff-profile { display: block; }
}

/* Reference-led compact composition */
@media (min-width: 721px) {
  .header-inner { min-height: 82px; }
  .hero { min-height: 560px; }
  .hero-inner { grid-template-columns: minmax(0, 610px); padding: 56px 0 64px; }
  .hero h1 { font-size: clamp(3rem, 4vw, 3.75rem); line-height: 1.38; }
  .hero-copy { max-width: 430px; margin-top: 18px; font-size: .9rem; line-height: 1.85; }
  .hero-actions { margin-top: 22px; }

  .home-services, .home-about, .home-works, .home-closing { padding: 58px 0; }
  .home-section-head { grid-template-columns: minmax(220px, .9fr) minmax(260px, 1.2fr) auto; margin-bottom: 24px; }
  .home-section-head h2, .about-copy h2 { font-size: clamp(1.9rem, 2.5vw, 2.6rem); }
  .service-card { min-height: 218px; padding: 24px 20px 20px; }
  .service-icon { width: 58px; height: 58px; margin-bottom: 17px; font-size: 2rem; }
  .service-card h3 { margin-bottom: 8px; font-size: .96rem; }
  .service-card p { font-size: .72rem; line-height: 1.7; }

  .about-grid { grid-template-columns: minmax(0, .9fr) minmax(260px, .78fr) minmax(300px, 1fr); gap: clamp(30px, 4vw, 58px); }
  .about-copy > p:not(.section-kicker) { margin-top: 13px; font-size: .82rem; line-height: 1.85; }
  .about-copy .button { margin-top: 20px; }
  .about-photo { max-width: 360px; }
  .about-photo img { aspect-ratio: 1 / 1; }
  .about-values h3 { margin-bottom: 10px; font-size: 1.3rem; }
  .about-values li { min-height: 52px; }
  .about-values strong { font-size: .95rem; }

  .home-works { padding-bottom: 52px; }
  .home-work-scroll { grid-auto-columns: minmax(310px, 1fr); padding-bottom: 12px; }
  .work-pair img { height: 165px; }
  .work-card-copy { padding: 14px 17px 16px; }
  .work-card-copy h3 { margin-bottom: 4px; font-size: 1.08rem; }
  .work-card-copy small { font-size: .7rem; }
}

.home-section-head h2::after,
.compact-section-head h2::after {
  content: "";
  display: block;
  width: 72px;
  height: 1px;
  margin-top: 7px;
  background: var(--green-mid);
  transform: rotate(-1deg);
  transform-origin: left;
}

.home-closing { border-top: 1px solid var(--line); background: var(--surface); }
.home-closing-grid { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(360px, .8fr); gap: 20px; align-items: stretch; }
.staff-preview { padding: 26px 28px 28px; border: 1px solid var(--line); border-radius: 5px; background: #fffdf8; }
.compact-section-head { display: flex; justify-content: space-between; gap: 20px; align-items: end; margin-bottom: 20px; }
.compact-section-head h2 { margin: 3px 0 0; color: var(--green); font-family: "Yu Mincho", "Hiragino Mincho ProN", serif; font-size: 2rem; font-weight: 600; letter-spacing: .08em; }
.compact-staff-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.compact-staff-grid article { overflow: hidden; border: 1px solid #e3dccf; border-radius: 4px; background: var(--surface); }
.compact-staff-grid img { width: 100%; height: 112px; object-fit: cover; object-position: center 22%; }
.compact-staff-grid article > div { padding: 12px 13px 14px; }
.compact-staff-grid small { color: var(--green-mid); font-size: .65rem; font-weight: 900; }
.compact-staff-grid h3 { margin: 2px 0 7px; font-family: "Yu Mincho", serif; font-size: 1rem; }
.compact-staff-grid p { margin: 0; color: var(--muted); font-size: .68rem; font-weight: 700; line-height: 1.65; }

.compact-contact { position: relative; overflow: hidden; padding: 30px 34px; border-radius: 5px; color: var(--surface); background: linear-gradient(135deg, #244f34, #3e613b); box-shadow: var(--soft-shadow); }
.compact-contact::after { content: "⌂"; position: absolute; right: 24px; top: 6px; color: rgba(255,255,255,.08); font-family: serif; font-size: 8rem; }
.compact-contact .section-kicker { color: #e8d3a8; }
.compact-contact h2 { position: relative; z-index: 1; margin: 4px 0 10px; font-family: "Yu Mincho", serif; font-size: 1.65rem; font-weight: 600; line-height: 1.45; letter-spacing: .07em; }
.compact-contact > p { position: relative; z-index: 1; margin: 0; color: rgba(255,255,255,.8); font-size: .76rem; font-weight: 700; }
.compact-contact-note { display: flex; flex-wrap: wrap; gap: 8px; margin: 18px 0; }
.compact-contact-note span { display: grid; min-width: 62px; min-height: 62px; place-items: center; padding: 6px; border-radius: 50%; color: var(--green); background: #efe3c8; font-size: .68rem; font-weight: 900; line-height: 1.25; text-align: center; }
.compact-contact-note small { font-size: .58rem; }
.compact-phone { display: inline-grid; margin-right: 12px; vertical-align: middle; line-height: 1.05; }
.compact-phone small { color: rgba(255,255,255,.72); font-size: .6rem; }
.compact-phone strong { margin-top: 4px; font-family: Georgia, serif; font-size: 1.55rem; letter-spacing: .04em; }
.compact-contact-button { min-height: 44px; border-color: #eadfc9; color: var(--green); background: #f7f0e3; font-size: .73rem; }
.compact-caution { display: block; margin-top: 12px; color: rgba(255,255,255,.65); font-size: .58rem; }

@media (max-width: 900px) {
  .home-closing-grid { grid-template-columns: 1fr; }
}

@media (max-width: 720px) {
  .home-closing { padding: 56px 0; }
  .staff-preview { padding: 22px 18px; }
  .compact-section-head { align-items: start; }
  .compact-section-head h2 { font-size: 1.7rem; }
  .compact-staff-grid { grid-template-columns: 1fr; }
  .compact-staff-grid article { display: grid; grid-template-columns: 104px 1fr; }
  .compact-staff-grid img { width: 104px; height: 100%; min-height: 104px; }
  .compact-contact { padding: 28px 24px; }
  .compact-phone { display: grid; margin: 0 0 16px; }
  .compact-contact-button { width: 100%; }
}

/* Direct email / phone contact (form-free) */
.direct-contact { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.direct-contact-card { display: grid; grid-template-columns: 42px minmax(0, 1fr) auto; gap: 12px; align-items: center; min-height: 88px; padding: 14px 16px; border: 1px solid var(--line); border-radius: 5px; color: var(--ink); background: #fffdf8; transition: transform .2s ease, border-color .2s ease, box-shadow .2s ease; }
.direct-contact-card:hover, .direct-contact-card:focus-visible { transform: translateY(-2px); border-color: rgba(23,63,44,.45); box-shadow: var(--soft-shadow); }
.direct-contact-card > span { display: grid; width: 42px; height: 42px; place-items: center; border-radius: 50%; color: var(--surface); background: var(--green); font-family: Georgia, serif; font-size: 1.05rem; font-weight: 900; }
.direct-contact-card.is-gmail > span { background: #b94b3d; }
.direct-contact-card.is-line > span { background: #248b4b; }
.direct-contact-card.is-online { grid-column: 1 / -1; }
.direct-contact-card.is-online > span { font-size: .62rem; letter-spacing: .03em; }
.direct-contact-card strong, .direct-contact-card small { display: block; }
.direct-contact-card strong { color: var(--green); font-size: .88rem; }
.direct-contact-card small { margin-top: 4px; color: var(--muted); font-size: .65rem; font-weight: 700; line-height: 1.5; }
.direct-contact-card > b { color: var(--green); font-weight: 500; }
.contact-guide { padding: 22px 24px; border-radius: 5px; background: #eee7da; }
.contact-guide h3 { margin: 0 0 12px; color: var(--green); font-family: "Yu Mincho", serif; font-size: 1.08rem; }
.contact-guide ul { display: grid; grid-template-columns: repeat(2, 1fr); gap: 7px 18px; margin: 0; padding: 0; list-style: none; }
.contact-guide li { position: relative; padding-left: 16px; color: var(--ink); font-size: .76rem; font-weight: 800; }
.contact-guide li::before { content: "・"; position: absolute; left: 0; color: var(--gold); }
.contact-guide p { margin-top: 13px; font-size: .69rem; line-height: 1.7; }
.contact-guide a { color: var(--green); text-decoration: underline; text-underline-offset: 3px; }
.contact-panel > .contact-meta { align-self: stretch; align-content: center; padding: 18px 22px; border: 1px solid var(--line); border-radius: 5px; background: #fffdf8; }

@media (max-width: 1040px) {
  .contact-panel { grid-template-columns: 1fr; }
}

@media (max-width: 640px) {
  .direct-contact { grid-template-columns: 1fr; }
  .direct-contact-card { min-height: 80px; }
  .contact-guide ul { grid-template-columns: 1fr; }
}
