/* ==========================================================================
   職人GO  —  Hi-Fi site stylesheet
   Theme: Forest (深めのグリーン + アイボリー背景) / 高齢者配慮
   ========================================================================== */

@import url("https://fonts.googleapis.com/css2?family=Noto+Sans+JP:wght@400;500;700;900&display=swap");

:root {
  /* Core palette — Forest + ivory */
  --brand: #2d6e46;
  --brand-strong: #1f5232;
  --brand-soft: #eaf3ed;
  --brand-tint: #f4f9f5;
  --accent: #c87a3a;        /* warm orange-brown accent */
  --accent-soft: #fbf0e4;
  --ink: #16201c;
  --muted: #43504a;
  --muted-2: #5b6862;
  --line: #e3e8e4;
  --line-strong: #cdd6cf;
  --bg: #fafaf5;            /* ivory-tinted white */
  --surface: #ffffff;
  --shadow-sm: 0 2px 8px rgba(22, 32, 28, 0.04);
  --shadow-md: 0 8px 24px rgba(22, 32, 28, 0.06);
  --shadow-lg: 0 16px 40px rgba(22, 32, 28, 0.08);
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 18px;
  --radius-xl: 24px;
  --content: min(1120px, calc(100vw - 40px));
}

* { box-sizing: border-box; }
*::before, *::after { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Noto Sans JP", "Hiragino Sans", "Hiragino Kaku Gothic ProN",
    system-ui, sans-serif;
  color: var(--ink);
  background: var(--bg);
  line-height: 1.85;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

@media (min-width: 720px) {
  body { font-size: 17px; }
}

body.menu-open { overflow: hidden; }

a { color: inherit; text-decoration: none; }
img, svg { max-width: 100%; display: block; }
button, input, textarea, select { font: inherit; color: inherit; }

/* ==========================================================================
   Layout utilities
   ========================================================================== */

.wrap {
  width: var(--content);
  margin: 0 auto;
}

.section {
  padding: 64px 0;
}

.section-sm { padding: 48px 0; }
.section-alt { background: var(--brand-tint); }
.section-white { background: var(--surface); }

.section-title {
  text-align: center;
  margin-bottom: 40px;
}
.section-title .kicker {
  display: inline-block;
  font-size: 0.78rem;
  letter-spacing: 0.16em;
  color: var(--brand);
  font-weight: 700;
  background: var(--brand-soft);
  padding: 6px 14px;
  border-radius: 999px;
  margin-bottom: 14px;
}
.section-title h2 {
  font-size: clamp(1.5rem, 3vw, 2rem);
  line-height: 1.5;
  margin: 0 0 10px;
  color: var(--ink);
  letter-spacing: 0.02em;
}
.section-title p {
  max-width: 58ch;
  margin: 0 auto;
  color: var(--muted);
  font-size: 0.98rem;
}

h1, h2, h3, h4 { font-weight: 700; letter-spacing: 0.01em; }
h1 { font-size: clamp(1.7rem, 4vw, 2.4rem); line-height: 1.55; margin: 0; }
h2 { margin: 0; }
h3 { font-size: 1.05rem; margin: 0; }
p  { margin: 0; }

.lead {
  font-size: 1.02rem;
  line-height: 1.9;
  color: var(--muted);
}

.kicker {
  display: inline-block;
  font-size: 0.78rem;
  letter-spacing: 0.16em;
  color: var(--brand);
  font-weight: 700;
  background: var(--brand-soft);
  padding: 6px 14px;
  border-radius: 999px;
}

/* ==========================================================================
   Buttons
   ========================================================================== */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 52px;
  padding: 12px 24px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 1rem;
  border: 1.5px solid transparent;
  cursor: pointer;
  text-decoration: none;
  transition: transform 160ms ease, background-color 160ms ease, box-shadow 160ms ease;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-1px); }
.btn:active { transform: translateY(0); }

.btn-primary {
  background: var(--brand);
  color: #fff;
  box-shadow: 0 6px 16px rgba(45, 110, 70, 0.2);
}
.btn-primary:hover { background: var(--brand-strong); }

.btn-outline {
  background: var(--surface);
  color: var(--ink);
  border-color: var(--line-strong);
}
.btn-outline:hover {
  border-color: var(--brand);
  color: var(--brand-strong);
}

.btn-ghost {
  background: transparent;
  color: var(--brand-strong);
}
.btn-ghost:hover { background: var(--brand-soft); }

.btn-lg { min-height: 60px; padding: 14px 32px; font-size: 1.05rem; }

/* ==========================================================================
   Header
   ========================================================================== */

.site-header {
  position: sticky;
  top: 0;
  z-index: 30;
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
}
.site-header .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 0;
  gap: 20px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
}
.brand-mark {
  width: 46px;
  height: 46px;
  border-radius: 12px;
  background: linear-gradient(135deg, var(--brand) 0%, var(--brand-strong) 100%);
  color: #fff;
  display: grid;
  place-items: center;
  font-family: "Noto Sans JP", sans-serif;
  font-weight: 700;
  font-size: 1.3rem;
  box-shadow: 0 4px 12px rgba(45, 110, 70, 0.25);
}
.brand-text strong {
  display: block;
  font-size: 0.98rem;
  line-height: 1.3;
  color: var(--ink);
}
.brand-text span {
  display: block;
  font-size: 0.75rem;
  color: var(--muted);
  letter-spacing: 0.02em;
  margin-top: 2px;
}

.menu-toggle {
  display: none;
  border: 0;
  background: var(--brand-soft);
  color: var(--brand-strong);
  border-radius: 10px;
  padding: 10px 14px;
  font-weight: 700;
  cursor: pointer;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 4px;
  font-size: 0.92rem;
}
.site-nav a {
  padding: 10px 14px;
  color: var(--ink);
  border-radius: 8px;
  white-space: nowrap;
  font-weight: 500;
}
.site-nav a:hover {
  background: var(--brand-soft);
  color: var(--brand-strong);
}
.site-nav a[aria-current="page"] {
  color: var(--brand-strong);
  font-weight: 700;
  background: var(--brand-soft);
}

.header-cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 18px;
  border-radius: 999px;
  background: var(--brand);
  color: #fff;
  font-weight: 700;
  box-shadow: 0 6px 14px rgba(45, 110, 70, 0.2);
  transition: background-color 160ms ease;
  white-space: nowrap;
  flex-shrink: 0;
}
.header-cta > span { white-space: nowrap; }
.header-cta:hover { background: var(--brand-strong); }
.header-cta small {
  display: block;
  font-size: 0.68rem;
  font-weight: 500;
  opacity: 0.88;
  margin-top: -2px;
}
.header-cta .phone-icon {
  width: 18px; height: 18px;
  flex-shrink: 0;
}

/* ==========================================================================
   Hero (home)
   ========================================================================== */

.hero {
  padding: 72px 0 56px;
  background:
    radial-gradient(circle at 90% 10%, rgba(200, 122, 58, 0.06), transparent 40%),
    radial-gradient(circle at 10% 80%, rgba(45, 110, 70, 0.05), transparent 45%),
    var(--surface);
  border-bottom: 1px solid var(--line);
  position: relative;
  overflow: hidden;
}
.hero-grid {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: 56px;
  align-items: center;
}
.hero .kicker { margin-bottom: 18px; }
.hero h1 {
  font-size: clamp(1.75rem, 4vw, 2.6rem);
  line-height: 1.55;
  margin: 0 0 18px;
  color: var(--ink);
}
.hero h1 .accent-text { color: var(--brand-strong); }
.hero .lead {
  font-size: 1.05rem;
  color: var(--muted);
  max-width: 46ch;
}

.hero-badges {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: 22px;
}
.hero-badges span {
  background: var(--brand-soft);
  color: var(--brand-strong);
  font-size: 0.85rem;
  font-weight: 700;
  padding: 7px 14px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.hero-badges span::before {
  content: "";
  width: 8px;
  height: 8px;
  background: var(--brand);
  border-radius: 50%;
}

.hero-actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  margin-top: 28px;
}

/* Hero visual — photo + decorative cards */
.hero-visual {
  position: relative;
  aspect-ratio: 4/3;
}
.hero-photo {
  position: absolute;
  inset: 0;
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  background: var(--brand-soft);
}
.hero-photo picture {
  display: block;
  width: 100%;
  height: 100%;
}

.hero-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 58% center;
  border-radius: var(--radius-xl);
}
.hero-stamp {
  position: absolute;
  right: -12px;
  bottom: -16px;
  background: var(--surface);
  border-radius: var(--radius-lg);
  padding: 16px 20px;
  box-shadow: var(--shadow-md);
  display: flex;
  align-items: center;
  gap: 12px;
  max-width: 240px;
  border: 1px solid var(--line);
}
.hero-stamp-icon {
  width: 44px;
  height: 44px;
  border-radius: 10px;
  background: var(--brand-soft);
  color: var(--brand-strong);
  display: grid;
  place-items: center;
  flex-shrink: 0;
}
.hero-stamp-text strong {
  display: block;
  font-size: 0.92rem;
  line-height: 1.4;
  color: var(--ink);
}
.hero-stamp-text span {
  display: block;
  font-size: 0.72rem;
  color: var(--muted);
  margin-top: 2px;
}

/* ==========================================================================
   Page hero (sub-pages)
   ========================================================================== */

.page-hero {
  padding: 56px 0 40px;
  background:
    radial-gradient(circle at 90% 20%, rgba(200, 122, 58, 0.05), transparent 40%),
    var(--brand-tint);
  border-bottom: 1px solid var(--line);
}
.page-hero .kicker { margin-bottom: 14px; }
.page-hero h1 {
  font-size: clamp(1.5rem, 3.5vw, 2.1rem);
  line-height: 1.55;
  margin-bottom: 12px;
}
.page-hero p {
  max-width: 60ch;
  color: var(--muted);
}
.breadcrumbs {
  font-size: 0.82rem;
  color: var(--muted-2);
  margin-bottom: 14px;
  display: flex;
  gap: 8px;
  align-items: center;
}
.breadcrumbs a:hover { color: var(--brand-strong); }
.breadcrumbs .sep { opacity: 0.5; }

/* ==========================================================================
   Cards & grids
   ========================================================================== */

.card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  padding: 24px;
  transition: border-color 160ms ease, transform 160ms ease, box-shadow 160ms ease;
}
.card:hover {
  border-color: var(--line-strong);
  box-shadow: var(--shadow-sm);
}

.card h3 {
  font-size: 1.1rem;
  margin-bottom: 10px;
  color: var(--ink);
}
.card p {
  color: var(--muted);
  font-size: 0.95rem;
  line-height: 1.8;
}

.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }

/* Service category cards (home + services) */
.svc-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  padding: 32px 26px;
  text-align: center;
  position: relative;
  transition: transform 160ms ease, box-shadow 160ms ease, border-color 160ms ease;
}
.svc-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
  border-color: var(--brand-soft);
}
.svc-card .svc-icon {
  width: 72px;
  height: 72px;
  margin: 0 auto 18px;
  border-radius: 20px;
  background: var(--brand-soft);
  color: var(--brand-strong);
  display: grid;
  place-items: center;
}
.svc-card h3 {
  font-size: 1.15rem;
  margin-bottom: 10px;
}
.svc-card p { color: var(--muted); font-size: 0.95rem; }
.svc-card .svc-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  justify-content: center;
  margin-top: 14px;
}
.svc-card .svc-tags span {
  font-size: 0.78rem;
  color: var(--brand-strong);
  background: var(--brand-soft);
  padding: 3px 10px;
  border-radius: 999px;
  font-weight: 500;
}

/* Reasons */
.reason-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}
.reason-card {
  text-align: center;
  padding: 24px 20px;
}
.reason-num {
  display: inline-grid;
  place-items: center;
  width: 54px;
  height: 54px;
  border-radius: 50%;
  background: var(--brand);
  color: #fff;
  font-weight: 900;
  font-size: 1.1rem;
  font-family: "Noto Sans JP", sans-serif;
  margin-bottom: 18px;
  box-shadow: 0 6px 14px rgba(45, 110, 70, 0.22);
}
.reason-card h3 { font-size: 1.15rem; margin-bottom: 10px; }
.reason-card p { color: var(--muted); font-size: 0.95rem; }

/* Flow (steps) */
.flow-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  position: relative;
}
.flow-step {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  padding: 24px 20px;
  text-align: center;
  position: relative;
}
.flow-step::after {
  content: "";
  position: absolute;
  top: 50%;
  right: -12px;
  width: 20px;
  height: 2px;
  background: var(--line-strong);
  z-index: 1;
}
.flow-step::before {
  content: "";
  position: absolute;
  top: calc(50% - 5px);
  right: -17px;
  width: 10px;
  height: 10px;
  border-top: 2px solid var(--line-strong);
  border-right: 2px solid var(--line-strong);
  transform: rotate(45deg);
  z-index: 1;
}
.flow-grid .flow-step:last-child::after,
.flow-grid .flow-step:last-child::before { display: none; }

.step-n {
  display: block;
  font-size: 0.72rem;
  letter-spacing: 0.16em;
  color: var(--brand);
  font-weight: 700;
  margin-bottom: 6px;
}
.flow-step h4 {
  font-size: 1.05rem;
  margin: 0 0 6px;
  color: var(--ink);
}
.flow-step p { font-size: 0.9rem; color: var(--muted); }

/* ==========================================================================
   CTA band
   ========================================================================== */

.cta-band {
  background: linear-gradient(135deg, var(--brand-strong) 0%, var(--brand) 100%);
  color: #fff;
  border-radius: var(--radius-xl);
  padding: 48px 40px;
  text-align: center;
  position: relative;
  overflow: hidden;
  box-shadow: 0 20px 40px rgba(31, 82, 50, 0.2);
}
.cta-band::before {
  content: "";
  position: absolute;
  top: -40%;
  right: -10%;
  width: 400px;
  height: 400px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255,255,255,0.08), transparent 70%);
  pointer-events: none;
}
.cta-band h2 {
  font-size: clamp(1.25rem, 2.4vw, 1.6rem);
  color: #fff;
  margin: 0 0 10px;
}
.cta-band p {
  color: rgba(255, 255, 255, 0.88);
  margin: 0 0 24px;
  max-width: 54ch;
  margin-left: auto;
  margin-right: auto;
}
.cta-band .actions {
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
  position: relative;
}
.cta-band .btn-outline {
  background: #fff;
  color: var(--brand-strong);
  border-color: #fff;
}
.cta-band .btn-outline:hover { background: var(--brand-soft); }

/* ==========================================================================
   Services page
   ========================================================================== */

.svc-cat {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 30px;
  margin-bottom: 22px;
}
.svc-cat-head {
  display: flex;
  align-items: center;
  gap: 16px;
  padding-bottom: 20px;
  margin-bottom: 20px;
  border-bottom: 1px solid var(--line);
}
.svc-cat-head .svc-icon {
  width: 56px;
  height: 56px;
  border-radius: 14px;
  background: var(--brand-soft);
  color: var(--brand-strong);
  display: grid;
  place-items: center;
  flex-shrink: 0;
}
.svc-cat-head h2 {
  font-size: 1.2rem;
  margin: 0 0 4px;
}
.svc-cat-head p {
  font-size: 0.92rem;
  color: var(--muted);
}
.svc-cat-head .svc-price {
  margin-left: auto;
  font-family: "Noto Sans JP", sans-serif;
  color: var(--brand-strong);
  font-weight: 700;
  font-size: 0.98rem;
  white-space: nowrap;
}
.svc-items {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px 24px;
}
.svc-item {
  display: flex;
  gap: 10px;
  align-items: center;
  padding: 10px 0;
  font-size: 0.95rem;
  color: var(--ink);
  border-bottom: 1px dashed var(--line);
}
.svc-item::before {
  content: "";
  width: 20px;
  height: 20px;
  flex-shrink: 0;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'><circle cx='10' cy='10' r='9' fill='%23eaf3ed'/><path d='M6 10.5l2.5 2.5L14 7' stroke='%232d6e46' stroke-width='2' fill='none' stroke-linecap='round' stroke-linejoin='round'/></svg>");
  background-size: contain;
}

.note-card {
  background: var(--brand-soft);
  border: 1px solid var(--brand-soft);
  border-radius: var(--radius-md);
  padding: 22px 26px;
}
.note-card h3 {
  color: var(--brand-strong);
  margin-bottom: 8px;
}
.note-card p { color: var(--muted); }

/* ==========================================================================
   Pricing page
   ========================================================================== */

.price-table {
  width: 100%;
  border-collapse: collapse;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  overflow: hidden;
}
.price-table th,
.price-table td {
  padding: 16px 20px;
  text-align: left;
  border-bottom: 1px solid var(--line);
  font-size: 0.97rem;
  vertical-align: top;
}
.price-table th {
  background: var(--brand-soft);
  color: var(--brand-strong);
  font-weight: 700;
  font-size: 0.9rem;
}
.price-table tr:last-child td { border-bottom: 0; }
.price-table .val {
  font-family: "Noto Sans JP", sans-serif;
  font-weight: 700;
  color: var(--ink);
  white-space: nowrap;
  font-size: 1rem;
}

.price-example {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  padding: 24px;
}
.price-example .kicker { margin-bottom: 10px; }
.price-example h3 {
  font-size: 1.05rem;
  margin-bottom: 6px;
}
.price-example .price-value {
  font-family: "Noto Sans JP", sans-serif;
  color: var(--brand-strong);
  font-weight: 700;
  font-size: 1.4rem;
  margin-top: 8px;
}
.price-example .price-time {
  font-size: 0.88rem;
  color: var(--muted-2);
}

/* ==========================================================================
   Works page
   ========================================================================== */

.filter-bar {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 28px;
}
.filter-bar .chip {
  padding: 8px 18px;
  border-radius: 999px;
  background: var(--surface);
  border: 1.5px solid var(--line-strong);
  color: var(--ink);
  font-weight: 500;
  font-size: 0.92rem;
  cursor: pointer;
  transition: all 160ms ease;
}
.filter-bar .chip:hover {
  border-color: var(--brand);
  color: var(--brand-strong);
}
.filter-bar .chip.active {
  background: var(--brand);
  color: #fff;
  border-color: var(--brand);
}

.work-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}
.work-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  overflow: visible;
  transition: transform 160ms ease, box-shadow 160ms ease;
}
.work-card-summary {
  cursor: pointer;
  user-select: none;
  border-radius: var(--radius-md);
  overflow: hidden;
}
.work-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
}
.work-photo {
  aspect-ratio: 4/3;
  background: var(--brand-soft);
  overflow: hidden;
}
.work-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.work-body { padding: 18px 20px 22px; }
.work-tag {
  display: inline-block;
  font-size: 0.78rem;
  color: var(--brand-strong);
  background: var(--brand-soft);
  padding: 3px 10px;
  border-radius: 6px;
  font-weight: 700;
  margin-bottom: 8px;
}
.work-card h3 {
  font-size: 1.05rem;
  margin-bottom: 6px;
}
.work-card .region {
  font-size: 0.88rem;
  color: var(--muted);
  margin-bottom: 12px;
}
.work-meta {
  display: flex;
  gap: 14px;
  font-size: 0.85rem;
  color: var(--muted-2);
  padding-top: 12px;
  border-top: 1px dashed var(--line);
}
.work-meta .price {
  color: var(--brand-strong);
  font-weight: 700;
  font-family: "Noto Sans JP", sans-serif;
}

/* ==========================================================================
   About page
   ========================================================================== */

.about-intro {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 40px;
  align-items: center;
  margin-bottom: 48px;
}
.about-portrait {
  aspect-ratio: 4/5;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  background: var(--brand-soft);
}
.about-portrait img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.about-intro h2 {
  font-family: "Noto Sans JP", sans-serif;
  font-size: clamp(1.3rem, 2.6vw, 1.8rem);
  line-height: 1.6;
  color: var(--ink);
  margin: 14px 0 18px;
}
.about-intro p {
  margin-bottom: 14px;
  color: var(--muted);
  line-height: 1.95;
}
.about-intro p:last-child { margin-bottom: 0; }
.about-sign {
  margin-top: 20px;
  font-family: "Noto Sans JP", sans-serif;
  color: var(--brand-strong);
  font-weight: 700;
}

.about-table {
  width: 100%;
  border-collapse: collapse;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  overflow: hidden;
}
.about-table th,
.about-table td {
  padding: 16px 20px;
  text-align: left;
  border-bottom: 1px solid var(--line);
  font-size: 0.97rem;
  vertical-align: top;
}
.about-table th {
  width: 180px;
  color: var(--brand-strong);
  background: #fafbfa;
  font-weight: 700;
}
.about-table tr:last-child th,
.about-table tr:last-child td { border-bottom: 0; }

/* ==========================================================================
   Contact page
   ========================================================================== */

.contact-intro {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  margin-bottom: 40px;
}
.contact-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  padding: 32px 28px;
  text-align: center;
}
.contact-card.primary {
  background: var(--brand-soft);
  border-color: var(--brand-soft);
}
.contact-card .c-icon {
  width: 56px;
  height: 56px;
  margin: 0 auto 14px;
  border-radius: 14px;
  background: var(--surface);
  color: var(--brand-strong);
  display: grid;
  place-items: center;
  box-shadow: var(--shadow-sm);
}
.contact-card.primary .c-icon { background: var(--surface); }
.contact-card h3 {
  font-size: 1.1rem;
  margin-bottom: 8px;
}
.contact-card .phone-big {
  font-family: "Noto Sans JP", sans-serif;
  font-weight: 700;
  font-size: 1.7rem;
  color: var(--ink);
  margin: 10px 0 6px;
  display: block;
  letter-spacing: 0.02em;
}
.contact-card p {
  font-size: 0.9rem;
  color: var(--muted);
}

.form-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 36px;
  width: 100%;
  box-sizing: border-box;
  overflow: hidden;
}
.form-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  width: 100%;
  box-sizing: border-box;
}
.form-grid .field input,
.form-grid .field select,
.form-grid .field textarea {
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
}
.field { display: grid; gap: 8px; }
.field.full { grid-column: 1 / -1; }
.field label {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--ink);
  display: flex;
  align-items: center;
  gap: 8px;
}
.field label .req {
  background: var(--accent);
  color: #fff;
  font-size: 0.68rem;
  padding: 2px 8px;
  border-radius: 4px;
  font-weight: 700;
  letter-spacing: 0.04em;
}
.field label .opt {
  color: var(--muted-2);
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.04em;
}
.field input,
.field textarea,
.field select {
  border: 1.5px solid var(--line-strong);
  background: var(--surface);
  border-radius: 10px;
  padding: 14px 16px;
  font-size: 1rem;
  color: var(--ink);
  transition: border-color 160ms ease, box-shadow 160ms ease;
}
.field input:focus,
.field textarea:focus,
.field select:focus {
  outline: none;
  border-color: var(--brand);
  box-shadow: 0 0 0 3px rgba(45, 110, 70, 0.12);
}
.field textarea { min-height: 160px; resize: vertical; }

.form-submit {
  margin-top: 28px;
  text-align: center;
}
.form-note {
  margin-top: 12px;
  font-size: 0.82rem;
  color: var(--muted-2);
}
.form-message {
  margin-top: 16px;
  padding: 14px;
  background: var(--brand-soft);
  color: var(--brand-strong);
  border-radius: 10px;
  font-weight: 700;
  text-align: center;
  display: none;
}
.form-message.show { display: block; }

/* ==========================================================================
   Footer
   ========================================================================== */

.site-footer {
  background: #1a2420;
  color: rgba(255, 255, 255, 0.78);
  padding: 56px 0 24px;
  font-size: 0.92rem;
  margin-top: 40px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 32px;
  border-bottom: 1px solid rgba(255,255,255,0.1);
  margin-bottom: 20px;
}
.site-footer .brand-text strong { color: #fff; }
.site-footer .brand-text span { color: rgba(255,255,255,0.5); }
.site-footer p {
  color: rgba(255,255,255,0.65);
  margin-top: 14px;
  max-width: 36ch;
  line-height: 1.85;
  font-size: 0.88rem;
}
.site-footer h4 {
  color: #fff;
  font-size: 0.92rem;
  margin: 0 0 14px;
  letter-spacing: 0.04em;
}
.footer-links {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.footer-links a {
  color: rgba(255,255,255,0.72);
}
.footer-links a:hover { color: #fff; }
.footer-contact {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.footer-contact .phone {
  font-family: "Noto Sans JP", sans-serif;
  font-weight: 700;
  font-size: 1.3rem;
  color: #fff;
}
.footer-contact small { color: rgba(255,255,255,0.5); }
.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  font-size: 0.78rem;
  color: rgba(255,255,255,0.45);
  flex-wrap: wrap;
}

/* ==========================================================================
   Sticky mobile CTA bar
   ========================================================================== */

.sticky-bar {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 28;
  display: none;
  padding: 10px 12px;
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(12px);
  border-top: 1px solid var(--line);
  gap: 10px;
}
.sticky-bar a {
  flex: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 0.95rem;
  min-height: 52px;
}
.sticky-bar .phone {
  background: var(--brand);
  color: #fff;
}
.sticky-bar .form {
  background: var(--surface);
  color: var(--ink);
  border: 1.5px solid var(--line-strong);
}

/* ==========================================================================
   Reveal animation
   ========================================================================== */

.reveal {
  opacity: 0;
  transform: translateY(14px);
  transition: opacity 700ms ease, transform 700ms ease;
}
.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (prefers-reduced-motion: reduce) {
  * {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
  .reveal { opacity: 1; transform: none; }
}

/* ==========================================================================
   Responsive
   ========================================================================== */

@media (max-width: 1024px) {
  .hero-grid,
  .about-intro { grid-template-columns: 1fr; gap: 36px; }
  .grid-3, .reason-grid,
  .work-grid { grid-template-columns: repeat(2, 1fr); }
  .flow-grid { grid-template-columns: repeat(2, 1fr); }
  .flow-step::after, .flow-step::before { display: none; }
  .svc-items { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }

  /* Switch to mobile nav from tablet width */
  .site-header .wrap { flex-wrap: wrap; gap: 10px; padding: 12px 0; }
  .menu-toggle { display: inline-flex; align-items: center; gap: 6px; order: 2; }
  .header-cta { order: 3; min-height: 48px; }
  .header-cta small { display: block; font-size: 0.64rem; opacity: 0.9; }
  .site-nav {
    order: 4;
    width: 100%;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 4px;
    padding-top: 10px;
    border-top: 1px solid var(--line);
  }
  .site-nav.is-open { display: flex; }
  .site-nav a {
    padding: 14px 12px;
    border-radius: 8px;
    min-height: 48px;
  }
}

@media (max-width: 720px) {
  .section { padding: 48px 0; }
  .brand-text span { display: none; }
  .header-cta { padding: 10px 14px; font-size: 0.92rem; }
  .header-cta small { display: none; }

  .grid-2, .grid-3, .grid-4,
  .reason-grid, .work-grid,
  .svc-items, .form-grid,
  .contact-intro,
  .flow-grid,
  .footer-grid { grid-template-columns: 1fr; }

  .svc-cat-head {
    flex-wrap: wrap;
  }
  .svc-cat-head .svc-price { margin-left: 0; width: 100%; }

  .about-table th,
  .about-table td,
  .price-table th,
  .price-table td {
    display: block;
    width: 100%;
    padding: 10px 16px;
    border: 0;
  }
  .about-table th,
  .price-table th {
    background: var(--brand-soft);
    padding-top: 14px;
  }
  .about-table tr,
  .price-table tr {
    display: block;
    border-bottom: 1px solid var(--line);
  }
  .about-table tr:last-child,
  .price-table tr:last-child { border-bottom: 0; }

  .hero { padding: 48px 0 40px; }
  .page-hero { padding: 40px 0 32px; }
  .hero-stamp { right: 0; bottom: -10px; }
  .cta-band { padding: 36px 24px; }
  .form-card { padding: 24px 20px; }
  .sticky-bar { display: flex; }
  .page-bottom-pad { padding-bottom: 96px; }
}

@media (max-width: 640px) {
  .hero-photo img {
    object-position: 62% center;
  }
  .hero h1 {
    font-size: clamp(1.5rem, 5.2vw, 1.8rem);
    line-height: 1.6;
  }
  .section-title h2 {
    font-size: 1.2rem;
    word-break: keep-all;
    overflow-wrap: break-word;
  }
  .section-title p {
    font-size: 0.88rem;
    text-align: left;
    max-width: 100%;
  }
}

/* ==========================================================================
   Works — アコーディオン展開
   ========================================================================== */

.work-expand-hint {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-top: 12px;
  font-size: 0.85rem;
  color: var(--brand-strong);
  font-weight: 700;
}
.work-expand-hint::after {
  content: "∨";
  transition: transform 200ms ease;
  display: inline-block;
}
.work-card.is-open .work-expand-hint::after {
  transform: rotate(180deg);
}
.work-expand-hint-text::after {
  content: "詳しく見る";
}
.work-card.is-open .work-expand-hint-text::after {
  content: "閉じる";
}

.work-card-detail {
  max-height: 0;
  overflow: hidden;
  transition: max-height 300ms ease;
  border-top: 0 solid var(--line);
}
.work-card.is-open .work-card-detail {
  max-height: 600px;
  border-top-width: 1px;
}

.work-detail-inner {
  padding: 18px 20px 22px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.work-detail-photos {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  border-radius: var(--radius-sm);
  overflow: hidden;
}
.work-detail-photos.single {
  grid-template-columns: 1fr;
}
.work-detail-photo {
  position: relative;
  aspect-ratio: 4/3;
  overflow: hidden;
  background: var(--brand-soft);
}
.work-detail-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.work-detail-photo .photo-label {
  position: absolute;
  bottom: 8px;
  left: 8px;
  background: rgba(0,0,0,0.55);
  color: #fff;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  padding: 3px 8px;
  border-radius: 999px;
  text-transform: uppercase;
}

.work-detail-desc {
  font-size: 0.92rem;
  color: var(--muted);
  line-height: 1.8;
}

.work-detail-voice {
  margin: 0;
  padding: 12px 16px;
  border-left: 3px solid var(--brand-soft);
  font-size: 0.88rem;
  color: var(--muted);
  line-height: 1.7;
  font-style: normal;
  background: var(--brand-tint);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
}

/* ==========================================================================
   Works — ページネーション
   ========================================================================== */

.pagination {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 6px;
  margin-top: 36px;
  flex-wrap: wrap;
}
.pagination-btn {
  min-width: 40px;
  height: 40px;
  padding: 0 12px;
  border-radius: var(--radius-sm);
  border: 1.5px solid var(--line-strong);
  background: var(--surface);
  color: var(--ink);
  font-size: 0.92rem;
  font-weight: 500;
  cursor: pointer;
  transition: all 160ms ease;
  font-family: inherit;
}
.pagination-btn:hover {
  border-color: var(--brand);
  color: var(--brand-strong);
}
.pagination-btn.active {
  background: var(--brand);
  color: #fff;
  border-color: var(--brand);
}
.pagination-btn:disabled {
  opacity: 0.35;
  cursor: default;
  pointer-events: none;
}

@media (max-width: 640px) {
  .work-detail-photos {
    grid-template-columns: 1fr;
  }
}

/* お知らせ（News） */
.news-list {
  border-top: 1px solid var(--line);
  margin-top: 8px;
}
.news-item {
  display: flex;
  gap: 20px;
  padding: 20px 4px;
  border-bottom: 1px solid var(--line);
  align-items: flex-start;
}
.news-date {
  flex-shrink: 0;
  min-width: 96px;
  font-weight: 700;
  font-size: 0.9rem;
  color: var(--brand-strong);
  padding-top: 2px;
}
.news-cat {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 700;
  color: #fff;
  background: var(--brand);
  padding: 2px 10px;
  border-radius: 999px;
  margin-bottom: 6px;
}
.news-body h2 {
  font-size: 1.05rem;
  margin: 2px 0 6px;
}
.news-body p {
  color: var(--muted);
  font-size: 0.92rem;
  line-height: 1.8;
}
@media (max-width: 560px) {
  .news-item { flex-direction: column; gap: 6px; }
  .news-date { min-width: 0; }
}

/* トップ 紹介文（ヒーロー直下） */
.intro-lead {
  max-width: 760px;
  margin: 0 auto;
  text-align: center;
}
.intro-lead h2 {
  font-size: clamp(1.4rem, 2.6vw, 1.9rem);
  line-height: 1.6;
  color: var(--ink);
  margin: 0 0 14px;
}
.intro-lead p {
  color: var(--muted);
  font-size: 1.02rem;
  line-height: 1.95;
}

/* ==========================================================================
   トップページ再構成（12セクション）追加分
   ========================================================================== */

/* 2. 相談導線CTA（帯） */
.consult-band {
  background: var(--brand-soft);
  border: 1px solid var(--brand-soft);
  border-radius: var(--radius-xl);
  padding: 32px 38px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  flex-wrap: wrap;
}
.consult-band .kicker { background: var(--surface); margin-bottom: 12px; }
.consult-band-text { flex: 1 1 320px; }
.consult-band-text h2 {
  font-size: clamp(1.2rem, 2.4vw, 1.55rem);
  margin: 0 0 8px;
  color: var(--ink);
  line-height: 1.5;
}
.consult-band-text p { color: var(--muted); font-size: 0.98rem; margin: 0; }
.consult-band-actions { display: flex; gap: 12px; flex-wrap: wrap; flex-shrink: 0; }
@media (max-width: 720px) {
  .consult-band { padding: 26px 22px; }
  .consult-band-actions { width: 100%; }
  .consult-band-actions .btn { flex: 1 1 auto; }
}

/* 4. お知らせ（トップ：リンク化） */
a.news-item { transition: background-color 160ms ease; border-radius: 8px; }
a.news-item:hover { background: var(--brand-tint); }
.news-body h3.news-title { font-size: 1.05rem; margin: 2px 0 0; color: var(--ink); }
a.news-item:hover .news-title { color: var(--brand-strong); }

/* 5. 地域密着の安心感 */
.lt-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  padding: 28px 24px;
  text-align: center;
}
.lt-card .lt-icon {
  width: 52px;
  height: 52px;
  margin: 0 auto 16px;
  border-radius: 50%;
  background: var(--brand-soft);
  color: var(--brand-strong);
  display: grid;
  place-items: center;
}
.lt-card h3 { font-size: 1.1rem; margin-bottom: 8px; color: var(--ink); }
.lt-card p { color: var(--muted); font-size: 0.95rem; }

/* 6. 人気のご相談3つ */
.popular-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  padding: 28px 26px;
}
.popular-card .popular-rank {
  display: block;
  font-family: "Noto Sans JP", sans-serif;
  font-weight: 900;
  font-size: 1.9rem;
  line-height: 1;
  color: var(--accent);
  margin-bottom: 12px;
  letter-spacing: 0.02em;
}
.popular-card h3 { font-size: 1.1rem; margin-bottom: 10px; color: var(--ink); }
.popular-card p { color: var(--muted); font-size: 0.95rem; }

/* 7. 事例紹介（トップ：アコーディオンなしのカード） */
.home-cases {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}
.home-case-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: transform 160ms ease, box-shadow 160ms ease;
}
.home-case-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); }
.home-case-body { padding: 18px 20px 22px; }
.home-case-body h3 { font-size: 1.05rem; margin-bottom: 6px; color: var(--ink); }
.home-case-body .region { font-size: 0.88rem; color: var(--muted); margin-bottom: 12px; }
@media (max-width: 1024px) { .home-cases { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 720px) { .home-cases { grid-template-columns: 1fr; } }

/* 10. よくある質問（アコーディオン） */
.faq-list {
  max-width: 820px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.faq-item {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  overflow: hidden;
}
.faq-q {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  text-align: left;
  padding: 20px 22px;
  background: transparent;
  border: 0;
  cursor: pointer;
  font-size: 1.02rem;
  font-weight: 700;
  color: var(--ink);
  line-height: 1.6;
}
.faq-q > span { display: flex; gap: 10px; align-items: baseline; }
.faq-q > span::before {
  content: "Q";
  color: var(--brand);
  font-weight: 900;
  font-family: "Noto Sans JP", sans-serif;
  flex-shrink: 0;
}
.faq-q::after {
  content: "＋";
  flex-shrink: 0;
  font-size: 1.3rem;
  color: var(--brand-strong);
  line-height: 1;
}
.faq-item.is-open .faq-q::after { content: "−"; }
.faq-q:focus-visible { outline: 2px solid var(--brand); outline-offset: -2px; }
.faq-a {
  max-height: 0;
  overflow: hidden;
  transition: max-height 280ms ease;
}
.faq-item.is-open .faq-a { max-height: 800px; }
.faq-a p {
  padding: 0 22px 22px;
  color: var(--muted);
  font-size: 0.97rem;
  line-height: 1.9;
}

/* 最終CTAの2次ボタン（電話を主役にするため、フォームは枠線のみで控えめに） */
.cta-band .btn-cta-secondary {
  background: transparent;
  color: #fff;
  border-color: rgba(255, 255, 255, 0.65);
}
.cta-band .btn-cta-secondary:hover {
  background: rgba(255, 255, 255, 0.14);
  color: #fff;
}

/* トップ事例カードのメタ文字は高齢者配慮でコントラストを上げる */
.home-case-card .work-meta { color: var(--muted); }

/* ==========================================================================
   トップページ ブラッシュアップ（PR: design/top-hero-services-cta）
   既存ルールを壊さず、追記/上書き（カスケード後勝ち）で
   視認性・CTA優先度・カードの質感・スマホ操作性を磨く。
   確定コピー・home.js の ID/クラス・data-page・電話/フォームの2導線・
   既存パレット（緑×アイボリー＋オレンジ）は一切変更しない。
   ========================================================================== */

/* C10: グローバルナビの可読性（PC） */
.site-nav { font-size: 0.95rem; }
.site-nav a { font-weight: 600; }

/* C03: ヒーローの信頼バッジ（受付時間・基本料金）を拡大・強調 */
.hero-badges span {
  font-size: 0.92rem;
  padding: 9px 16px;
  border: 1px solid rgba(45, 110, 70, 0.16);
}

/* C16: ヒーロー写真に内側1pxリング＋下端のごく淡い額装（::after 一枚で角丸ズレ・画像被りを回避） */
.hero-photo::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: var(--radius-xl);
  box-shadow: inset 0 0 0 1px rgba(31, 82, 50, 0.12), inset 0 -34px 56px -34px rgba(22, 32, 28, 0.16);
  pointer-events: none;
}

/* C08: サービスカード本文・相談例タグの可読性を強化 */
.svc-card p { font-size: 0.96rem; line-height: 1.85; }
.svc-card .svc-tags { gap: 8px; }
.svc-card .svc-tags span { font-weight: 600; padding: 4px 11px; }

/* C09: サービスアイコンにホバーで温かみの差し色（既存 --accent を点で活用） */
.svc-card .svc-icon { transition: background-color 160ms ease, color 160ms ease; }
.svc-card:hover .svc-icon { background: var(--accent); color: #fff; }

/* C13: CTA補助の安心マイクロコピー（緑チェック＋安心の一言） */
.cta-assurance {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 14px;
  font-size: 0.92rem;
  font-weight: 700;
  color: var(--brand-strong);
}
.cta-assurance::before {
  content: "";
  width: 18px;
  height: 18px;
  flex-shrink: 0;
  border-radius: 50%;
  background: var(--brand-soft) url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%231f5232' stroke-width='2.6' stroke-linecap='round' stroke-linejoin='round'><polyline points='20 6 9 17 4 12'/></svg>") no-repeat center / 12px;
}
/* 中間相談帯（brand-soft 背景）ではチェックの台座を白にして視認性を確保 */
.consult-band .cta-assurance::before { background-color: var(--surface); }

/* C15: 最終CTA（緑帯）で電話ボタンを主役に（白地・brand-strong 文字は維持） */
.cta-band .btn-outline { box-shadow: 0 8px 20px rgba(0, 0, 0, 0.18); font-weight: 700; }

/* C17: 代表メッセージの温度感（本文不変・装飾のみ。会社概要ページにも適用） */
.about-portrait { border: 1px solid rgba(31, 82, 50, 0.10); }
.about-intro h2 { position: relative; padding-left: 16px; }
.about-intro h2::before {
  content: "";
  position: absolute;
  left: 0;
  top: 6px;
  bottom: 6px;
  width: 4px;
  border-radius: 2px;
  background: linear-gradient(var(--brand), var(--accent));
}

/* C11: カードリンクのキーボードフォーカス可視化（操作可能要素のみ） */
a.news-item:focus-visible {
  outline: 2px solid var(--brand);
  outline-offset: 2px;
  border-radius: 8px;
}

/* C03: スマホのファーストビュー（信頼バッジを縦積みにして折返しの窮屈さを解消）
   ※ 主見出し(C02)の下限引き上げは重複回避のため既存 @media(640) 側を更新 */
@media (max-width: 640px) {
  .hero-badges { flex-direction: column; align-items: stretch; }
  .hero-badges span { width: 100%; }
}

/* C05: スマホ固定CTA（電話を主役化＋上端の境界影で本文と分離）
   ※ env(safe-area-inset-bottom) は viewport-fit=cover 未採用では常に0で無効のため不採用。
     iOS 既定のセーフビューポートにより固定バーはホームバーと重ならない。 */
.sticky-bar { box-shadow: 0 -4px 16px rgba(22, 32, 28, 0.08); }
.sticky-bar a { font-size: 1rem; }
.sticky-bar .phone { flex: 1.4; box-shadow: 0 4px 12px rgba(45, 110, 70, 0.25); }

/* ==========================================================================
   トップLP再構成（PR: design/home-layout-match-reference）
   セクション順・2カラム化・濃い緑の情報バー・サービス6カード横並びを追加。
   home.js が生成する .svc-card/.news-item/.lt-card/.popular-card/.home-case-card/
   .faq-item 等はホーム専用ラッパー（.svc-grid6 / .home-split / .home-localcard /
   .home-message）配下でのみ調整し、ID・クラス契約・他ページのスタイルは壊さない。
   確定コピー・data-page・パレットは不変。
   ========================================================================== */

/* 情報バー（濃い緑：対応エリア・受付時間・電話） */
.info-bar {
  background: linear-gradient(180deg, var(--brand-strong) 0%, #18412a 100%);
  color: #fff;
}
.info-bar-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px 28px;
  padding: 18px 0;
}
.info-bar-item { display: flex; align-items: center; gap: 12px; min-width: 0; }
.info-bar-icon { width: 26px; height: 26px; flex-shrink: 0; color: #bfe3cd; }
.info-bar-text { display: flex; flex-direction: column; line-height: 1.4; min-width: 0; }
.info-bar-label { font-size: 0.72rem; letter-spacing: 0.06em; color: rgba(255, 255, 255, 0.72); }
.info-bar-text strong { font-size: 0.95rem; font-weight: 700; color: #fff; }
.info-bar-tel {
  display: inline-flex;
  align-items: center;
  min-height: 48px;
  font-size: 1.15rem;
  font-weight: 700;
  color: #fff;
  font-family: "Noto Sans JP", sans-serif;
  letter-spacing: 0.02em;
}
.info-bar-tel:hover { color: #d9f0e2; }
@media (max-width: 900px) {
  .info-bar-inner { flex-direction: column; align-items: flex-start; gap: 14px; }
  .info-bar-item { width: 100%; }
}

/* 2カラム構成（お知らせ｜地域／人気｜事例／代表｜FAQ） */
.home-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 36px;
  align-items: start;
}
.home-split-col { min-width: 0; }
.block-head { margin-bottom: 18px; }
.block-head .kicker { margin-bottom: 10px; }
.block-head h2 { font-size: clamp(1.3rem, 2.4vw, 1.7rem); line-height: 1.5; color: var(--ink); }
.block-lead { color: var(--muted); font-size: 0.96rem; line-height: 1.85; margin-bottom: 18px; }
.block-more { margin-top: 22px; }

/* 「地域に根ざした」右カラムを淡いカードに */
.home-localcard {
  background: var(--brand-tint);
  border: 1px solid var(--brand-soft);
  border-radius: var(--radius-lg);
  padding: 28px 26px;
}
.home-split .news-list { margin-top: 0; }

/* 地域密着の3ポイント（縦並び・横レイアウトの帯カード） */
.lt-grid { display: grid; grid-template-columns: 1fr; gap: 12px; }
.home-localcard .lt-card {
  display: grid;
  grid-template-columns: 48px 1fr;
  gap: 2px 16px;
  align-items: center;
  text-align: left;
  padding: 16px 18px;
}
.home-localcard .lt-card .lt-icon { grid-row: 1 / 3; align-self: center; margin: 0; width: 48px; height: 48px; }
.home-localcard .lt-card h3 { grid-column: 2; align-self: end; margin: 0; font-size: 1rem; }
.home-localcard .lt-card p { grid-column: 2; align-self: start; margin: 0; font-size: 0.88rem; }

/* 人気のご相談（縦並び） */
.popular-list { display: grid; grid-template-columns: 1fr; gap: 14px; }

/* 事例（2カラム内では1列）。写真左・本文右の横型コンパクトカード（理想形を復元）。
   写真が縦に大きいと右カラムが突出するため横型にして高さを抑え、左の
   「人気のご相談」と高さ・密度を揃える。縦型(固定150px)方針は取りやめ。
   事例一覧（.work-card）・詳細表示には一切影響しない（.home-split スコープ）。 */
.home-split .home-cases { grid-template-columns: 1fr; gap: 14px; }
.home-split .home-case-card {
  display: grid;
  grid-template-columns: 124px 1fr;   /* 写真(左) / 本文(右) */
  align-items: stretch;
}
.home-split .home-case-card .work-photo {
  aspect-ratio: auto;                 /* 4/3 をやめてカード高さに追従させる */
  height: 100%;
  min-height: 128px;
}
.home-split .home-case-body {
  padding: 14px 18px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.home-split .home-case-body .work-tag { margin-bottom: 6px; }
.home-split .home-case-body h3 {
  font-size: 1rem;
  margin-bottom: 4px;
  /* 長いタイトルは2行で省略しカード高さを安定化（崩れ防止） */
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  overflow: hidden;
}
.home-split .home-case-body .region { margin-bottom: 8px; }
.home-split .home-case-card .work-meta { padding-top: 8px; gap: 12px; }
/* トップ事例カードのプレースホルダ「PHOTO」ラベル（.ph-work-N の ::after）だけを非表示。
   写真エリア・アイコン（::before）は残す。「事例をもっと見る」ボタンへの重なりを回避。
   works一覧（.work-card）・詳細（.work-detail-photo .photo-label）には影響しない。 */
.home-split .home-cases .work-photo::after { content: none; display: none; }

/* 人気のご相談：横型事例カード（約140px）に高さ・密度を合わせてコンパクトに。
   min-height は付けず（大きくしすぎない）、番号・余白を詰めて自然な高さで事例3件分に
   近づける。本文の文字サイズは変えず読みやすさを保つ。.home-split 限定。 */
.home-split .popular-card { padding: 16px 20px; }
.home-split .popular-card .popular-rank { font-size: 1.4rem; margin-bottom: 4px; }
.home-split .popular-card h3 { margin-bottom: 4px; }

/* PC（2カラム時）のみ、左右のカード高さを 165px に揃える。
   - 人気カード：min-height で 165px（内容は 165px 以内のため実寸も 165px）。中身は縦中央寄せ。
   - 事例カード：実寸を完全一致させるため height:165px で固定（min-height だと内容量で
     約166〜167px に膨らみ左右が揃わなかったため）。写真は height:100% で追従、本文は
     justify-content:center で中央寄せ。固定高に収めるため本文の上下パディングを 14px→12px に
     微調整し、ラベル・タイトル・場所・時間/料金が窮屈・見切れにならないようにする。
   スマホ（≤860px は1カラム）では固定高さを付けず、自然な高さを維持する。 */
@media (min-width: 861px) {
  .home-split .popular-card {
    min-height: 165px;
    display: flex;
    flex-direction: column;
    justify-content: center;
  }
  .home-split .home-case-card {
    height: 165px;
  }
  .home-split .home-case-body {
    padding-top: 12px;
    padding-bottom: 12px;
  }
}

/* スマホ最狭幅では写真をやや小さくして本文の横幅を確保（横型の窮屈さ回避） */
@media (max-width: 400px) {
  .home-split .home-case-card { grid-template-columns: 96px 1fr; }
  .home-split .home-case-body { padding: 12px 14px; }
}

/* 代表メッセージ（確定コピー・本文不変。会社概要ページに影響しないよう .home-message で限定） */
.home-message-head { display: flex; align-items: center; gap: 18px; margin-bottom: 18px; }
.home-message-head .about-portrait { width: 96px; flex-shrink: 0; aspect-ratio: 1; border-radius: 50%; }
.home-message-head h2 { font-size: clamp(1.2rem, 2.2vw, 1.5rem); line-height: 1.5; margin-top: 6px; }
.home-message p { color: var(--muted); line-height: 1.95; margin-bottom: 12px; }

/* レスポンシブ：2カラムは1カラムへ（タブレット幅） */
@media (max-width: 860px) {
  .home-split { grid-template-columns: 1fr; gap: 28px; }
}

/* サービス6カード（PCは3列×2段→タブレット2列→スマホ1列）。
   カードを広く・余白多め・各段の高さを揃え、高齢者にも読みやすい可読性優先のレイアウト。
   カード内（アイコン・見出し・本文）は左揃えにして本文の可読性を上げる。
   角丸・影・枠線は基底 .svc-card の既存トーンを維持。 */
.svc-grid6 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  counter-reset: svc;
  align-items: stretch;
}
.svc-grid6 .svc-card { padding: 32px 30px 28px; counter-increment: svc; height: 100%; text-align: left; }
.svc-grid6 .svc-card::before {
  content: counter(svc, decimal-leading-zero);
  position: absolute;
  top: 14px;
  right: 18px;
  font-family: "Noto Sans JP", sans-serif;
  font-weight: 900;
  font-size: 0.9rem;
  color: rgba(31, 82, 50, 0.20);
}
.svc-grid6 .svc-icon { width: 64px; height: 64px; margin: 0 0 16px; border-radius: 18px; }
.svc-grid6 .svc-card h3 { font-size: 1.18rem; margin-bottom: 10px; }
.svc-grid6 .svc-card p { font-size: 0.98rem; line-height: 1.85; }
.svc-grid6 .svc-tags { display: none; }
@media (max-width: 1024px) { .svc-grid6 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .svc-grid6 { grid-template-columns: 1fr; } }

/* 濃い緑フッターへ寄せる（全ページ共通・色のみ）。
   背景暗色化に合わせ、薄字の不透明度を底上げして AA(4.5:1) を確保する。 */
.site-footer { background: #163a26; }
.site-footer .footer-bottom { color: rgba(255, 255, 255, 0.62); }
.site-footer .footer-contact small { color: rgba(255, 255, 255, 0.64); }

/* ==========================================================================
   イラスト反映（feature/add-illustrations）
   透過PNG。home.js が .svc-icon / .flow-step に <img> を挿入する。
   表示ボックスを固定して CLS を抑制。地色を出さず透過を活かす。
   確定コピー・問い合わせ導線・他ページのスタイルは変更しない。
   ========================================================================== */

/* サービス6カード：抽象SVGアイコンの枠を流用し、透過イラストへ差し替える */
.svc-card .svc-icon--illust {
  background: none;
  border-radius: 0;
  width: 84px;
  height: 84px;
}
.svc-card .svc-illust,
.flow-step .flow-illust {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
}
.svc-grid6 .svc-card .svc-icon--illust { width: 84px; height: 84px; margin-bottom: 14px; }

/* ご利用の流れ：各ステップ上部にイラスト（順序＝アイコン→Step→見出し→説明） */
.flow-step .flow-illust {
  width: 88px;
  height: 88px;
  margin: 0 auto 10px;
}

/* 最終CTA：PCは本文＋イラストの横並び、SPは本文の下。電話・フォーム導線は阻害しない。
   濃い緑のCTA背景にネイビー作業着のイラストが沈むため、白〜薄グリーンのカードに載せて
   背景から分離させる（画像自体は無加工。透過PNGの背後にカードのグラデが透ける）。 */
.cta-illust-card {
  width: 100%;
  max-width: 240px;
  margin: 22px auto 0;
  padding: 16px;
  /* レイアウト用ラッパーのみ。見た目の背景効果（地色・淡い光・枠・影・角丸）は一切持たせず、
     イラストPNGをCTAの濃緑背景上にそのまま置く。サイズ・余白は現状維持。 */
  background: none;
  border: none;
  border-radius: 0;
  box-shadow: none;
}
.cta-illust {
  display: block;
  width: 100%;
  height: auto;
  border-radius: var(--radius-md);
}
@media (min-width: 861px) {
  .cta-band { display: flex; align-items: center; gap: 32px; text-align: left; }
  .cta-band-body { flex: 1 1 auto; min-width: 0; }
  .cta-band-body p { margin-left: 0; margin-right: 0; }
  .cta-band-body .actions { justify-content: flex-start; }
  .cta-illust-card { flex: 0 0 auto; width: 340px; max-width: 340px; margin: 0; padding: 20px; }
}

/* 代表メッセージ：案内役イラストを控えめに添える（確定コピー不変・主役感を損なわない） */
.home-message { position: relative; }
.home-message-illust {
  display: block;
  width: 140px;
  height: auto;
  margin: 12px 0 0 auto;
}
@media (max-width: 860px) {
  .home-message-illust { margin: 12px auto 0; }
}

/* お問い合わせページのページヒーロー：案内役イラスト（contact ページ限定） */
.contact-hero-inner { display: flex; align-items: flex-end; gap: 28px; }
.contact-hero-text { flex: 1 1 auto; min-width: 0; }
.contact-hero-illust { flex: 0 0 auto; width: 180px; max-width: 34%; height: auto; }
@media (max-width: 640px) {
  .contact-hero-inner { flex-direction: column; align-items: flex-start; }
  .contact-hero-illust { width: 120px; max-width: 50%; align-self: center; margin-top: 8px; }
}

/* ==========================================================================
   PR#16: 下層ページ・FAQ への補助イラスト（透過PNG。HTML/CSS最小差分・既存文言不変）
   ========================================================================== */

/* サービス紹介ページ：導入のスタッフイラスト（page-hero） */
.services-hero-inner { display: flex; align-items: flex-end; gap: 28px; }
.services-hero-text { flex: 1 1 auto; min-width: 0; }
.services-hero-illust { flex: 0 0 auto; width: 170px; max-width: 32%; height: auto; }
@media (max-width: 640px) {
  .services-hero-inner { flex-direction: column; align-items: flex-start; }
  .services-hero-illust { width: 130px; max-width: 46%; align-self: center; margin-top: 6px; }
}

/* サービス紹介ページ：各カテゴリのアイコン枠を透過イラストへ差し替え（地色・角丸を無効化） */
.svc-cat .svc-icon--illust { background: none; border-radius: 0; width: 64px; height: 64px; }
.svc-cat .svc-illust { display: block; width: 100%; height: 100%; object-fit: contain; }

/* お問い合わせページ：フォーム見出し横の補助イラスト（注意書き削除後の配置・控えめ・フォーム機能に非干渉） */
.contact-form-head { display: flex; align-items: center; justify-content: space-between; gap: 24px; margin-bottom: 18px; }
.contact-form-head h2 { margin-bottom: 0; }
.contact-form-illust { flex: 0 0 auto; width: 170px; max-width: 36%; height: auto; }
@media (max-width: 640px) {
  .contact-form-head { gap: 16px; }
  .contact-form-illust { width: 120px; max-width: 32%; }
}

/* トップFAQ：見出し横の補助イラスト（home.js非改修・faq.json不変） */
.block-head--faq { display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.faq-head-illust { flex: 0 0 auto; width: 140px; height: auto; }
@media (max-width: 860px) {
  .faq-head-illust { width: 112px; }
}

/* ==========================================================================
   PR#17: 下層ページ共通の page-hero 右イラスト（pricing/works/about/news 共通）
   PR#15/16 の services/contact パターンを1組の共通クラスへ集約しCSS増を抑制。
   ========================================================================== */
.page-hero-inner { display: flex; align-items: flex-end; gap: 28px; }
.page-hero-text { flex: 1 1 auto; min-width: 0; }
.page-hero-illust { flex: 0 0 auto; width: 170px; max-width: 32%; height: auto; }
/* 会社概要は代表メッセージ(home-message)と同じ staff-standing-front を使うため控えめに */
.page-hero-illust--sm { width: 150px; }
@media (max-width: 640px) {
  .page-hero-inner { flex-direction: column; align-items: flex-start; }
  .page-hero-illust { width: 130px; max-width: 46%; align-self: center; margin-top: 6px; }
  .page-hero-illust--sm { width: 116px; }
}

/* ==========================================================================
   PR#17: トップヒーロー B案（既存の信州写真を全面背景＋左側に読みやすい半透明パネル）
   実トップ site/index.html 用。.hero に .hero-photo-bg を付与して全面背景化する。
   文字色・ボタン色は現状維持（パネルで可読性を確保）。見出しは行間広め＋最大幅で読みやすく。
   ========================================================================== */
.hero.hero-photo-bg { padding: 0; background: none; }
.hero-photo-bg .hero-bg-photo { position: absolute; inset: 0; z-index: 0; display: block; }
.hero-photo-bg .hero-bg-photo img { width: 100%; height: 100%; object-fit: cover; object-position: 58% center; }
.hero-photo-bg .hero-bg-overlay { position: absolute; inset: 0; z-index: 1; background: rgba(0, 0, 0, 0.12); pointer-events: none; }
.hero-photo-bg .wrap { position: relative; z-index: 2; padding-top: 72px; padding-bottom: 80px; }
.hero-photo-bg .hero-panel {
  max-width: 640px;
  background: rgba(255, 250, 240, 0.92);
  border: 1px solid rgba(255, 255, 255, 0.65);
  border-radius: var(--radius-xl);
  padding: 34px 38px;
  box-shadow: 0 16px 42px rgba(0, 0, 0, 0.22);
}
/* 見出し：高齢者にも読みやすく（行間広め・最大幅で3行に収める。文言・色は現状維持） */
.hero-photo-bg .hero-panel h1 { line-height: 1.7; max-width: 20em; margin-bottom: 16px; }
.hero-photo-bg .hero-panel .lead { line-height: 1.95; }
/* 信頼バッジ（見積無料・明朗会計）は写真上の右下に。狭い画面では省略（同趣旨はパネル内の文に有り） */
.hero-photo-bg .hero-stamp { position: absolute; right: 0; bottom: 24px; z-index: 3; }
@media (max-width: 1024px) {
  .hero-photo-bg .wrap { padding-top: 56px; padding-bottom: 64px; }
  .hero-photo-bg .hero-stamp { display: none; }
}
@media (max-width: 640px) {
  .hero-photo-bg .wrap { padding-top: 40px; padding-bottom: 44px; }
  .hero-photo-bg .hero-panel { padding: 24px 22px; max-width: 100%; }
  .hero-photo-bg .hero-panel h1 { line-height: 1.65; }
}

/* ==========================================================================
   ヘッダー左上のロゴ画像（横長ロゴ。フッターはテキストブランドのまま維持）
   ヘッダー高さが不自然に大きくならないよう、既存 brand-mark(46px) と近い高さにする。
   ========================================================================== */
.brand-logo { display: block; width: auto; height: 44px; max-width: 220px; }
@media (max-width: 720px) {
  .brand-logo { height: 36px; max-width: 180px; }
}
