/* ==========================================================================
   若杉商会株式会社 — 営業デモサイト
   ========================================================================== */

:root {
  --charcoal: #22262a;
  --charcoal-2: #1a1d20;
  --ink: #2b2f33;
  --offwhite: #f6f5f2;
  --stone-100: #efece5;
  --stone-200: #e1ddd3;
  --steel: #5b6670;
  --steel-light: #636d75;
  --green-700: #12622f;
  --green-600: #1f8a44;
  --green-500: #3aa350;
  --green-300: #a2cf58;
  --white: #ffffff;
  --line: rgba(34, 38, 42, 0.12);
  --shadow: 0 20px 50px rgba(20, 22, 24, 0.12);
  --radius: 4px;
  --header-h: 76px;
  --maxw: 1160px;
  --font: "Noto Sans JP", "Hiragino Sans", "Yu Gothic", sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { animation-duration: 0.001ms !important; animation-iteration-count: 1 !important; transition-duration: 0.001ms !important; }
}

body {
  margin: 0;
  font-family: var(--font);
  color: var(--ink);
  background: var(--offwhite);
  line-height: 1.8;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  padding-bottom: 64px; /* mobile fixed CTA clearance */
}
@media (min-width: 861px) {
  body { padding-bottom: 0; }
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { margin: 0; padding: 0; list-style: none; }
h1, h2, h3, h4, p { margin: 0; }
button { font-family: inherit; }

.container {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 16px;
}
@media (min-width: 641px) {
  .container { padding: 0 32px; }
}

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  background: var(--green-700);
  color: #fff;
  padding: 12px 20px;
  z-index: 1000;
  border-radius: 0 0 6px 0;
}
.skip-link:focus {
  left: 0;
}

:focus-visible {
  outline: 3px solid var(--green-600);
  outline-offset: 2px;
}

/* ---------- eyebrow / section heading ---------- */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.14em;
  color: var(--green-700);
  text-transform: uppercase;
}
.eyebrow::before {
  content: "";
  width: 22px;
  height: 2px;
  background: var(--green-600);
  display: inline-block;
}

.section-head {
  margin-bottom: 40px;
  max-width: 640px;
}
.section-head h2 {
  font-size: clamp(24px, 4vw, 34px);
  font-weight: 900;
  letter-spacing: 0.02em;
  margin-top: 10px;
  line-height: 1.5;
}
.section-head p {
  margin-top: 14px;
  color: var(--steel);
  font-size: 15px;
}
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.section-head.center .eyebrow { }
#services .section-head { max-width: 820px; }

section { padding: 72px 0; }
@media (min-width: 861px) { section { padding: 110px 0; } }

.bg-stone { background: var(--stone-100); }
.bg-dark { background: var(--charcoal); color: var(--offwhite); }
.bg-dark .steel-text { color: #b7bec3; }

/* ---------- header ---------- */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  height: var(--header-h);
  background: rgba(246, 245, 242, 0.92);
  backdrop-filter: saturate(140%) blur(10px);
  border-bottom: 1px solid var(--line);
  z-index: 500;
  display: flex;
  align-items: center;
}
.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  gap: 20px;
}
.brand {
  display: flex;
  align-items: center;
  height: 44px;
}
.brand img {
  width: clamp(190px, 50vw, 280px);
  height: auto;
}
.main-nav {
  display: none;
}
@media (min-width: 981px) {
  .main-nav {
    display: flex;
    align-items: center;
    gap: 26px;
    flex-shrink: 0;
  }
  .main-nav a {
    font-size: 14.5px;
    font-weight: 700;
    letter-spacing: 0.03em;
    padding: 8px 2px;
    position: relative;
    white-space: nowrap;
  }
  .main-nav a::after {
    content: "";
    position: absolute;
    left: 0; right: 0; bottom: 0;
    height: 2px;
    background: var(--green-600);
    transform: scaleX(0);
    transition: transform 0.25s ease;
  }
  .main-nav a:hover::after,
  .main-nav a:focus-visible::after { transform: scaleX(1); }
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-shrink: 0;
}
.brand {
  flex-shrink: 0;
}
.phone-cta {
  display: none;
  background: none;
  border: none;
  padding: 0;
  margin: 0;
  cursor: pointer;
  color: inherit;
}
@media (min-width: 1180px) {
  .phone-cta {
    display: flex;
    flex-direction: column;
    line-height: 1.3;
    text-align: right;
    white-space: nowrap;
  }
  .phone-cta small {
    font-size: 11px;
    color: var(--steel);
    font-weight: 500;
  }
  .phone-cta strong {
    font-size: 19px;
    font-weight: 900;
    letter-spacing: 0.02em;
  }
}
.btn-contact-header {
  display: none;
  align-items: center;
  gap: 6px;
  background: var(--charcoal);
  color: #fff;
  font-weight: 700;
  font-size: 13.5px;
  padding: 11px 18px;
  border-radius: var(--radius);
  white-space: nowrap;
}
@media (min-width: 641px) {
  .btn-contact-header { display: inline-flex; }
}
.btn-contact-header:hover { background: var(--green-700); }

.nav-toggle {
  display: inline-flex;
  width: 44px;
  height: 44px;
  align-items: center;
  justify-content: center;
  background: none;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  cursor: pointer;
}
@media (min-width: 981px) { .nav-toggle { display: none; } }
.nav-toggle span,
.nav-toggle span::before,
.nav-toggle span::after {
  content: "";
  display: block;
  width: 20px;
  height: 2px;
  background: var(--ink);
  position: relative;
  transition: transform 0.2s ease, opacity 0.2s ease;
}
.nav-toggle span::before { position: absolute; top: -7px; }
.nav-toggle span::after { position: absolute; top: 7px; }
.nav-toggle[aria-expanded="true"] span { background: transparent; }
.nav-toggle[aria-expanded="true"] span::before { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span::after { transform: translateY(-7px) rotate(-45deg); }

.mobile-nav {
  position: fixed;
  top: var(--header-h);
  left: 0; right: 0; bottom: 0;
  background: var(--offwhite);
  z-index: 490;
  padding: 10px 20px 40px;
  overflow-y: auto;
  transform: translateY(-8px);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s ease, transform 0.2s ease;
}
.mobile-nav.is-open {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}
@media (min-width: 981px) { .mobile-nav { display: none; } }
.mobile-nav a {
  display: block;
  padding: 18px 4px;
  font-size: 17px;
  font-weight: 700;
  border-bottom: 1px solid var(--line);
}
.mobile-nav .mobile-phone {
  width: 100%;
  border: none;
  cursor: pointer;
  margin-top: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  background: var(--green-700);
  color: #fff;
  padding: 16px;
  border-radius: var(--radius);
  font-weight: 800;
  font-size: 17px;
}

/* fixed mobile CTA bar */
.mobile-cta-bar {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  z-index: 480;
  display: grid;
  grid-template-columns: 1fr 1fr;
  padding-bottom: env(safe-area-inset-bottom, 0);
  box-shadow: 0 -6px 20px rgba(0,0,0,0.12);
}
@media (min-width: 861px) { .mobile-cta-bar { display: none; } }
.mobile-cta-bar a,
.mobile-cta-bar button {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  height: 64px;
  font-weight: 800;
  font-size: 14.5px;
  border: none;
  cursor: pointer;
  font-family: inherit;
}
.mobile-cta-bar .call { background: var(--charcoal); color: #fff; }
.mobile-cta-bar .lead { background: var(--green-700); color: #fff; }

/* ---------- hero ---------- */
.hero {
  position: relative;
  min-height: 100svh;
  min-height: 100vh;
  display: flex;
  align-items: flex-end;
  color: #fff;
  overflow: hidden;
}
.hero-media {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 42%;
}
.hero-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(15,17,19,0.55) 0%, rgba(15,17,19,0.18) 30%, rgba(15,17,19,0.35) 62%, rgba(12,14,15,0.92) 100%);
}
.hero-inner {
  position: relative;
  z-index: 1;
  width: 100%;
  padding: calc(var(--header-h) + 40px) 0 64px;
}
.hero .eyebrow {
  color: var(--green-300);
  background: rgba(15, 17, 19, 0.75);
  padding: 7px 14px 7px 12px;
  border-radius: 3px;
}
.hero .eyebrow::before { background: var(--green-300); }
.hero h1 {
  margin-top: 18px;
  font-size: clamp(30px, 6vw, 56px);
  font-weight: 900;
  line-height: 1.35;
  letter-spacing: 0.01em;
  text-wrap: balance;
}
.hero-sub {
  margin-top: 18px;
  font-size: clamp(14.5px, 2vw, 17px);
  max-width: 46em;
  color: #e7e5df;
  font-weight: 500;
}
.hero-ctas {
  margin-top: 34px;
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 16px 26px;
  font-weight: 800;
  font-size: 15px;
  border-radius: var(--radius);
  border: 2px solid transparent;
  min-height: 52px;
  transition: transform 0.15s ease, background 0.15s ease, border-color .15s ease, color .15s ease;
}
.btn:hover { transform: translateY(-2px); }
.btn-primary { background: var(--green-600); color: #fff; }
.btn-primary:hover { background: var(--green-700); }
.btn-outline { border-color: rgba(255,255,255,0.55); color: #fff; }
.btn-outline:hover { background: rgba(255,255,255,0.12); }
.btn-dark { background: var(--charcoal); color: #fff; }
.btn-dark:hover { background: #000; }

.hero-caption {
  position: absolute;
  z-index: 1;
  right: 20px;
  bottom: 18px;
  font-size: 12px;
  color: #d9d7cf;
  background: rgba(15,17,19,0.75);
  padding: 6px 12px;
  border-radius: 3px;
  letter-spacing: 0.03em;
}
@media (min-width: 641px) {
  .hero-caption { right: 32px; }
}

/* ---------- trust strip ---------- */
.trust-strip {
  background: var(--charcoal-2);
  color: #fff;
  padding: 0;
}
.trust-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
}
@media (min-width: 761px) {
  .trust-grid { grid-template-columns: repeat(4, 1fr); }
}
.trust-item {
  padding: 30px 20px;
  text-align: center;
  border-right: 1px solid rgba(255,255,255,0.08);
  border-bottom: 1px solid rgba(255,255,255,0.08);
}
.trust-grid .trust-item:nth-child(2n) { border-right: none; }
@media (min-width: 761px) {
  .trust-grid .trust-item:nth-child(2n) { border-right: 1px solid rgba(255,255,255,0.08); }
  .trust-grid .trust-item:last-child { border-right: none; }
  .trust-item { border-bottom: none; }
}
.trust-item .num {
  font-size: clamp(20px, 3vw, 27px);
  font-weight: 900;
  color: var(--green-300);
  letter-spacing: 0.02em;
}
.trust-item .label {
  margin-top: 8px;
  font-size: 13px;
  color: #d3d1c9;
  font-weight: 500;
  letter-spacing: 0.01em;
}

/* ---------- message ---------- */
.message {
  background: var(--charcoal);
  color: var(--offwhite);
}
.message-inner {
  max-width: 760px;
  margin: 0 auto;
  text-align: center;
}
.message .eyebrow { color: var(--green-300); }
.message .eyebrow::before { background: var(--green-300); }
.message h2 {
  margin-top: 18px;
  font-size: clamp(24px, 4.4vw, 36px);
  font-weight: 900;
  line-height: 1.6;
}
.message p.lead {
  margin-top: 28px;
  font-size: 16px;
  color: #d3d1c9;
  line-height: 2;
  text-align: left;
}
.message .attribution {
  margin-top: 28px;
  font-weight: 700;
  color: #fff;
  font-size: 14.5px;
  letter-spacing: 0.02em;
}

/* ---------- concerns ---------- */
.concerns-grid {
  display: grid;
  gap: 20px;
  grid-template-columns: 1fr;
}
@media (min-width: 641px) {
  .concerns-grid { grid-template-columns: repeat(2, 1fr); }
}
.concern-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 28px 26px;
}
.concern-card h3 {
  font-size: 17px;
  font-weight: 800;
  display: flex;
  align-items: center;
  gap: 10px;
}
.concern-card h3::before {
  content: "";
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--green-600);
  flex-shrink: 0;
}
.concern-card ul {
  margin-top: 16px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.concern-card li {
  font-size: 14.5px;
  color: var(--steel);
  padding-left: 18px;
  position: relative;
}
.concern-card li::before {
  content: "―";
  position: absolute;
  left: 0;
  color: var(--steel-light);
}

/* ---------- services ---------- */
.services-grid {
  display: grid;
  gap: 22px;
  grid-template-columns: 1fr;
}
@media (min-width: 641px) {
  .services-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 1000px) {
  .services-grid { grid-template-columns: repeat(4, 1fr); }
}
.service-card {
  background: #fff;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--line);
  display: flex;
  flex-direction: column;
}
.service-card .photo {
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: var(--stone-200);
}
.service-card .photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.service-card .body {
  padding: 22px 20px 26px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  flex: 1;
}
.service-card .idx {
  font-size: 12px;
  font-weight: 800;
  color: var(--green-700);
  letter-spacing: 0.08em;
}
.service-card h3 {
  font-size: 17px;
  font-weight: 800;
}
.service-card p {
  font-size: 13.8px;
  color: var(--steel);
  line-height: 1.75;
}

/* ---------- works (before/after) ---------- */
.work-case {
  border: 1px solid var(--line);
  background: #fff;
  border-radius: var(--radius);
  padding: 26px;
  margin-bottom: 26px;
}
@media (min-width: 861px) { .work-case { padding: 34px; } }
.work-case:last-of-type { margin-bottom: 0; }
.work-head {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 20px;
}
.work-head h3 {
  font-size: clamp(18px, 2.6vw, 22px);
  font-weight: 800;
}
.work-head .year-tag {
  font-size: 12.5px;
  font-weight: 700;
  color: var(--green-700);
  background: #eaf4ea;
  padding: 5px 12px;
  border-radius: 20px;
  white-space: nowrap;
}
.work-meta {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px 24px;
  margin-bottom: 22px;
  font-size: 13.5px;
}
@media (min-width: 641px) { .work-meta { grid-template-columns: repeat(4, 1fr); } }
.work-meta dt {
  color: var(--steel-light);
  font-weight: 700;
  font-size: 11.5px;
  letter-spacing: 0.05em;
}
.work-meta dd {
  margin: 4px 0 0;
  font-weight: 600;
}

.ba-slider {
  position: relative;
  aspect-ratio: 4 / 3;
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--stone-200);
  touch-action: pan-y;
  user-select: none;
  max-width: 640px;
}
.ba-slider img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  pointer-events: none;
}
.ba-slider .after-wrap {
  position: absolute;
  inset: 0;
  overflow: hidden;
  width: 50%;
}
.ba-slider .after-wrap img { width: var(--ba-w, 100vw); max-width: none; }
.ba-tag {
  position: absolute;
  top: 12px;
  font-size: 11.5px;
  font-weight: 800;
  letter-spacing: 0.06em;
  padding: 5px 11px;
  border-radius: 3px;
  background: rgba(15,17,19,0.62);
  color: #fff;
  z-index: 2;
}
.ba-tag.before { left: 12px; }
.ba-tag.after { right: 12px; }
.ba-handle {
  position: absolute;
  top: 0; bottom: 0;
  left: 50%;
  width: 0;
  z-index: 3;
  pointer-events: none;
}
.ba-handle::before {
  content: "";
  position: absolute;
  top: 0; bottom: 0; left: -1px;
  width: 2px;
  background: #fff;
  box-shadow: 0 0 0 1px rgba(0,0,0,0.15);
}
.ba-handle .grip {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 42px; height: 42px;
  border-radius: 50%;
  background: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 14px rgba(0,0,0,0.28);
  pointer-events: auto;
}
.ba-handle .grip::before {
  content: "◂ ▸";
  font-size: 12px;
  letter-spacing: 3px;
  color: var(--charcoal);
  font-weight: 900;
}
.ba-range {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  cursor: ew-resize;
  margin: 0;
  z-index: 4;
}
.ba-caption {
  margin-top: 14px;
  font-size: 12.5px;
  color: var(--steel);
}

.works-trust {
  margin-top: 56px;
  padding-top: 44px;
  border-top: 1px solid var(--line);
  display: grid;
  gap: 34px;
}
@media (min-width: 861px) { .works-trust { grid-template-columns: 1fr 1fr; } }
.works-trust h3 {
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.05em;
  color: var(--steel);
  text-transform: uppercase;
  margin-bottom: 14px;
}
.tag-list {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
}
.tag-list span {
  font-size: 13px;
  font-weight: 600;
  background: var(--stone-100);
  border: 1px solid var(--line);
  padding: 7px 13px;
  border-radius: 20px;
}
.other-works-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
  font-size: 13.5px;
  color: var(--steel);
}
.other-works-list li span.name { color: var(--ink); font-weight: 600; }

.works-residential {
  margin-top: 56px;
  padding-top: 44px;
  border-top: 1px solid var(--line);
}

/* ---------- expertise ---------- */
.expertise-lead {
  font-size: 16px;
  font-weight: 700;
  max-width: 640px;
  margin-bottom: 30px;
  line-height: 1.9;
}
.qual-grid {
  display: grid;
  gap: 12px;
  grid-template-columns: repeat(2, 1fr);
}
@media (min-width: 641px) { .qual-grid { grid-template-columns: repeat(3, 1fr); } }
.qual-chip {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 16px 16px;
  font-size: 13.8px;
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 10px;
}
.qual-chip::before {
  content: "";
  width: 6px; height: 6px;
  background: var(--green-600);
  border-radius: 50%;
  flex-shrink: 0;
}
.license-note {
  margin-top: 26px;
  font-size: 13.5px;
  color: var(--steel);
  border-left: 3px solid var(--green-300);
  padding-left: 14px;
}

/* ---------- about ---------- */
.about-grid {
  display: grid;
  gap: 50px;
}
@media (min-width: 941px) {
  .about-grid { grid-template-columns: 1.1fr 0.9fr; align-items: start; }
}
.profile-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 13.8px;
}
.profile-table th,
.profile-table td {
  text-align: left;
  padding: 13px 0;
  border-bottom: 1px solid var(--line);
  vertical-align: top;
}
.profile-table th {
  width: 30%;
  color: var(--steel);
  font-weight: 700;
  padding-right: 16px;
}
.profile-table td { font-weight: 500; }

.timeline {
  margin-top: 30px;
  display: flex;
  flex-direction: column;
}
.timeline li {
  display: grid;
  grid-template-columns: 108px 1fr;
  gap: 16px;
  padding: 12px 0;
  border-bottom: 1px dashed var(--line);
  font-size: 13.8px;
}
.timeline li:last-child { border-bottom: none; }
.timeline .when { color: var(--green-700); font-weight: 800; }

.community-block {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
}
.community-block img {
  width: 100%;
  aspect-ratio: 4/3;
  object-fit: cover;
}
.community-block .body {
  padding: 22px 24px 26px;
}
.community-block h3 {
  font-size: 16.5px;
  font-weight: 800;
  margin-bottom: 12px;
}
.community-block p {
  font-size: 13.8px;
  color: var(--steel);
  line-height: 1.85;
}
.community-block p + p { margin-top: 10px; }

/* ---------- residential ---------- */
.residential {
  display: grid;
  gap: 40px;
  align-items: center;
}
@media (min-width: 861px) {
  .residential { grid-template-columns: 0.95fr 1.05fr; }
}
.residential .copy h2 {
  font-size: clamp(22px, 3.4vw, 30px);
  font-weight: 900;
  line-height: 1.6;
}
.residential .copy p {
  margin-top: 18px;
  color: var(--steel);
  font-size: 14.5px;
  line-height: 1.9;
}
.residential .copy .btn { margin-top: 26px; }

/* ---------- contact ---------- */
.contact-section {
  background: var(--charcoal-2);
  color: #fff;
}
.contact-grid {
  display: grid;
  gap: 44px;
}
@media (min-width: 921px) {
  .contact-grid { grid-template-columns: 0.9fr 1.1fr; }
}
.contact-info h2 {
  font-size: clamp(24px, 4vw, 32px);
  font-weight: 900;
  line-height: 1.5;
}
.contact-info p.desc {
  margin-top: 16px;
  color: #cfcdc5;
  font-size: 14.5px;
  line-height: 1.9;
}
.contact-detail {
  margin-top: 30px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.contact-detail .row {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  font-size: 14.5px;
  color: #e5e3dc;
}
.contact-detail .row .k {
  width: 70px;
  flex-shrink: 0;
  color: #9ba2a8;
  font-weight: 700;
  font-size: 12.5px;
  padding-top: 3px;
}
.contact-detail .tel-link {
  background: none;
  border: none;
  padding: 0;
  margin: 0;
  cursor: pointer;
  font-family: inherit;
  font-size: 26px;
  font-weight: 900;
  color: #fff;
  letter-spacing: 0.02em;
}
.contact-note {
  margin-top: 26px;
  font-size: 12.5px;
  color: #9ba2a8;
  border: 1px solid rgba(255,255,255,0.15);
  padding: 14px 16px;
  border-radius: var(--radius);
  line-height: 1.8;
}

.demo-form {
  background: #fff;
  color: var(--ink);
  border-radius: var(--radius);
  padding: 28px;
}
@media (min-width: 641px) { .demo-form { padding: 34px; } }
.demo-form .field {
  margin-bottom: 18px;
}
.demo-form label {
  display: block;
  font-size: 13px;
  font-weight: 700;
  margin-bottom: 7px;
}
.demo-form label .req { color: #c0392b; margin-left: 4px; }
.demo-form input,
.demo-form textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 13px 14px;
  font-size: 15px;
  font-family: inherit;
  background: var(--offwhite);
}
.demo-form input:focus,
.demo-form textarea:focus {
  outline: none;
  border-color: var(--green-600);
  background: #fff;
}
.demo-form textarea { min-height: 110px; resize: vertical; }
.demo-form .row2 {
  display: grid;
  gap: 18px;
}
@media (min-width: 561px) { .demo-form .row2 { grid-template-columns: 1fr 1fr; } }
.demo-form button {
  width: 100%;
  border: none;
  cursor: pointer;
}
.form-feedback {
  margin-top: 16px;
  font-size: 13.5px;
  font-weight: 700;
  color: var(--green-700);
  background: #eaf4ea;
  padding: 12px 14px;
  border-radius: var(--radius);
  display: none;
}
.form-feedback.is-visible { display: block; }

/* ---------- footer ---------- */
.site-footer {
  background: var(--charcoal-2);
  color: #b7bec3;
  padding: 40px 0 30px;
  border-top: 1px solid rgba(255,255,255,0.08);
}
.footer-top {
  display: flex;
  flex-wrap: wrap;
  gap: 30px;
  justify-content: space-between;
  padding-bottom: 26px;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}
.footer-brand strong {
  color: #fff;
  font-size: 15.5px;
  font-weight: 800;
  display: block;
}
.footer-brand p {
  margin-top: 10px;
  font-size: 13px;
  line-height: 1.9;
}
.footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 14px 22px;
}
.footer-nav a { font-size: 13.5px; font-weight: 600; }
.footer-bottom {
  margin-top: 22px;
  display: flex;
  flex-wrap: wrap;
  gap: 10px 20px;
  justify-content: space-between;
  font-size: 12px;
  color: #7f878d;
}

/* utility */
.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
}

/* demo call-notice toast (営業デモ用：発信無効化の案内) */
.demo-toast {
  position: fixed;
  left: 50%;
  bottom: 82px;
  transform: translate(-50%, 12px);
  max-width: calc(100% - 32px);
  width: max-content;
  background: var(--charcoal-2);
  color: #fff;
  font-size: 13.5px;
  font-weight: 600;
  line-height: 1.6;
  padding: 12px 18px;
  border-radius: var(--radius);
  box-shadow: 0 12px 30px rgba(0,0,0,0.35);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s ease, transform 0.25s ease;
  z-index: 600;
  text-align: center;
}
.demo-toast.is-visible {
  opacity: 1;
  transform: translate(-50%, 0);
}
@media (min-width: 861px) {
  .demo-toast { bottom: 24px; }
}
@media (prefers-reduced-motion: reduce) {
  .demo-toast { transition: opacity 0.01ms; }
}
