/* ============================================
   CSS Custom Properties — Deep Shinryoku Theme
   #357A44 / #6FB07C / #1B3A17  (calm, refined)
   ============================================ */
:root {
  --primary:        #1B3A17;   /* Deep green — text / subtle accents only */
  --primary-light:  #2A5A0A;
  --secondary:      #357A44;   /* Brand green — CTAs / labels (deep, calm) */
  --secondary-light:#6FB07C;   /* Hover / highlights */
  --secondary-pale: #CBE0CE;   /* Soft muted sage tint */
  --accent:         #EEF4EC;   /* Soft neutral green — hero / feature sections */
  --bg:             #FFFFFF;   /* Pure white base */
  --bg-alt:         #F6F9F4;   /* Very light neutral-green alternate */
  --text:           #1C1C2E;
  --text-muted:     #5A6B4E;
  --white:          #FFFFFF;
  --border:         rgba(53, 122, 68, 0.15);
  --shadow:         0 6px 24px rgba(26, 56, 6, 0.08);
  --shadow-lg:      0 18px 48px rgba(26, 56, 6, 0.16);
  --radius:         12px;
  --radius-lg:      20px;
  --transition:     0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --font-serif:     'Noto Serif JP', Georgia, serif;
  --font-sans:      'Noto Sans JP', system-ui, sans-serif;
  --font-display:   'Cormorant Garamond', Georgia, serif;
  --container:      1200px;
  --header-h:       72px;
}

/* ============================================
   Reset & Base
   ============================================ */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: var(--header-h);
}

body {
  font-family: var(--font-sans);
  font-size: 1rem;
  line-height: 1.75;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}

img   { max-width: 100%; height: auto; display: block; }
a     { color: inherit; text-decoration: none; }
ul,ol { list-style: none; }
button { cursor: pointer; font-family: inherit; }

/* ============================================
   Utility
   ============================================ */
.container {
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: clamp(1.25rem, 5vw, 2.5rem);
}

.section { padding: 6rem 0; }

.section-label {
  font-family: var(--font-display);
  font-size: 0.85rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--secondary);
  display: block;
  margin-bottom: 0.75rem;
}

.section-title {
  font-family: var(--font-serif);
  font-size: clamp(1.75rem, 4vw, 2.75rem);
  font-weight: 600;
  line-height: 1.35;
  color: var(--primary);
  margin-bottom: 1.25rem;
}

.section-desc {
  font-size: 1rem;
  color: var(--text-muted);
  line-height: 1.85;
}

.section-header {
  text-align: center;
  margin-bottom: 4rem;
}

/* ============================================
   Scroll Animations
   ============================================ */
.fade-up, .fade-left, .fade-right {
  opacity: 0;
  transition: opacity 0.75s ease, transform 0.75s ease;
}

.fade-up    { transform: translateY(28px); }
.fade-left  { transform: translateX(-36px); }
.fade-right { transform: translateX(36px); }

.fade-up.visible,
.fade-left.visible,
.fade-right.visible { opacity: 1; transform: none; }

.delay-1 { transition-delay: 0.12s; }
.delay-2 { transition-delay: 0.24s; }
.delay-3 { transition-delay: 0.36s; }

/* ============================================
   Buttons
   ============================================ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.875rem 2rem;
  border-radius: 50px;
  font-size: 0.95rem;
  font-weight: 500;
  letter-spacing: 0.05em;
  transition: var(--transition);
  border: 2px solid transparent;
  white-space: nowrap;
  cursor: pointer;
}

.btn--primary {
  background: var(--secondary);
  color: var(--white);
  border-color: var(--secondary);
}

.btn--primary:hover,
.btn--primary:focus-visible {
  background: #2C6638;
  border-color: #2C6638;
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(27, 58, 23, 0.28);
  outline: none;
}

/* Hero outline button — dark on light background */
.btn--outline {
  background: transparent;
  color: var(--primary);
  border-color: rgba(26, 56, 6, 0.4);
}

.btn--outline:hover,
.btn--outline:focus-visible {
  background: rgba(26, 56, 6, 0.05);
  border-color: var(--primary);
  outline: none;
}

.btn--map {
  display: inline-block;
  margin-top: 0.75rem;
  padding: 0.5rem 1.25rem;
  font-size: 0.8rem;
  border-radius: 50px;
  background: var(--secondary);
  color: var(--white) !important;
  border: none;
  transition: var(--transition);
}

.btn--map:hover { background: var(--secondary-light); color: var(--primary) !important; }

.btn--full { width: 100%; }

/* ============================================
   Header / Navigation  (light-theme aware)
   ============================================ */
.header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  height: var(--header-h);
  transition: background var(--transition), box-shadow var(--transition);
}

/* Scrolled: white nav with subtle shadow */
.header.scrolled {
  background: rgba(255, 255, 255, 0.97);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  box-shadow: 0 2px 20px rgba(26, 56, 6, 0.1);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
}

/* Logo */
.nav__logo {
  display: flex;
  align-items: center;
  gap: 0.6rem;
}

.nav__logo-icon {
  height: 44px;
  width: 44px;
  object-fit: contain;
  flex-shrink: 0;
  filter: drop-shadow(0 1px 4px rgba(26, 56, 6, 0.2));
}

.nav__logo-text {
  display: flex;
  flex-direction: column;
  line-height: 1.2;
}

.nav__logo-sub {
  font-size: 0.62rem;
  letter-spacing: 0.12em;
  color: var(--text-muted);
}

.nav__logo-name {
  font-family: var(--font-serif);
  font-size: 1.3rem;
  font-weight: 600;
  color: var(--primary);
  letter-spacing: 0.06em;
}

/* Nav links: dark on light background */
.nav__menu {
  display: flex;
  align-items: center;
  gap: 0.2rem;
}

.nav__link {
  display: block;
  padding: 0.5rem 0.85rem;
  font-size: 0.875rem;
  color: rgba(26, 56, 6, 0.75);
  border-radius: 6px;
  transition: var(--transition);
  letter-spacing: 0.03em;
}

.nav__link:hover { color: var(--primary); background: rgba(53, 122, 68, 0.07); }

.nav__link.active {
  color: var(--secondary);
  background: rgba(53, 122, 68, 0.08);
}

.nav__link--cta {
  background: var(--secondary) !important;
  color: var(--white) !important;
  padding: 0.5rem 1.2rem;
  border-radius: 50px;
  margin-left: 0.4rem;
}

.nav__link--cta:hover {
  background: #2C6638 !important;
  transform: translateY(-1px);
}

.nav__toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  padding: 6px;
  border-radius: 6px;
}

.nav__toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--primary);   /* Dark lines on light bg */
  border-radius: 2px;
  transition: var(--transition);
}

.nav__toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav__toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav__toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ============================================
   Hero  — LIGHT THEME
   ============================================ */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  /* Soft green gradient — calm, airy morning */
  background: linear-gradient(145deg, #DCE9D8 0%, #EDF3E8 45%, #FAFBF8 100%);
}

/* Organic decorative elements */
.hero__bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 60% 55% at 80% 35%, rgba(111,176,124,0.20) 0%, transparent 65%),
    radial-gradient(ellipse 40% 45% at 5%  75%, rgba(203,224,206,0.22) 0%, transparent 55%);
}

/* Leaf-vein grid — very subtle */
.hero__bg::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(53,122,68,0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(53,122,68,0.035) 1px, transparent 1px);
  background-size: 64px 64px;
}

/* 蔦のリング — lighter, brand green */
.hero__bg::after {
  content: '';
  position: absolute;
  right: -100px;
  top: 50%;
  transform: translateY(-50%);
  width: 640px;
  height: 640px;
  border: 1.5px solid rgba(53,122,68,0.13);
  border-radius: 50%;
  box-shadow:
    0 0 0 100px rgba(111,176,124,0.06),
    0 0 0 200px rgba(203,224,206,0.05);
  pointer-events: none;
}

/* No dark overlay — the light bg speaks for itself */
.hero__overlay { display: none; }

.hero__content {
  position: relative;
  z-index: 1;
  padding-top: calc(var(--header-h) + 2rem);
  padding-bottom: 6rem;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
}

/* ── Left: text ── */
.hero__text { /* no extra rules needed — inherits grid cell */ }

/* ── Right: photo ── */
.hero__visual {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Offset outline frame behind the photo */
.hero__visual::before {
  content: '';
  position: absolute;
  top: 50%; left: 50%;
  width: min(100%, 560px);
  aspect-ratio: 4 / 3;
  transform: translate(calc(-50% + 22px), calc(-50% + 22px));
  border: 2px solid rgba(53, 122, 68, 0.28);
  border-radius: 36px 36px 96px 36px;
  pointer-events: none;
}

.hero__photo-frame {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 560px;
  aspect-ratio: 4 / 3;
  border-radius: 36px 36px 96px 36px;   /* organic shape */
  overflow: hidden;
  box-shadow:
    0 30px 70px rgba(26, 56, 6, 0.2),
    0 0 0 8px rgba(255, 255, 255, 0.65);
}

.hero__photo-badge {
  position: absolute;
  bottom: -0.9rem;
  left: 6%;
  z-index: 2;
  display: flex;
  align-items: baseline;
  gap: 0.5rem;
  background: var(--white);
  border-radius: 50px;
  padding: 0.65rem 1.5rem;
  font-size: 0.82rem;
  letter-spacing: 0.08em;
  color: var(--text-muted);
  box-shadow: var(--shadow-lg);
}

.hero__photo-badge strong {
  font-family: var(--font-serif);
  font-size: 1.25rem;
  color: var(--secondary);
}

.hero__photo {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 20%;
  display: block;
  transition: transform 0.6s ease;
}

.hero__photo-frame:hover .hero__photo {
  transform: scale(1.03);
}


.hero__label {
  font-family: var(--font-display);
  font-size: 0.9rem;
  letter-spacing: 0.22em;
  color: var(--secondary);
  margin-bottom: 1.5rem;
  opacity: 0;
  animation: fadeInUp 0.9s ease 0.2s forwards;
}

.hero__title {
  font-family: var(--font-serif);
  font-size: clamp(2.4rem, 6vw, 4.5rem);
  font-weight: 600;
  line-height: 1.25;
  color: var(--primary);     /* Dark green on light bg */
  margin-bottom: 1.5rem;
  opacity: 0;
  animation: fadeInUp 0.9s ease 0.4s forwards;
}

.hero__title-line {
  display: block;
  white-space: nowrap;
}

.hero__title--accent {
  color: var(--secondary);   /* Brand green accent */
  display: block;
  position: relative;
}

.hero__title--accent::after {
  content: '';
  position: absolute;
  bottom: -6px;
  left: 0;
  width: 55%;
  height: 2px;
  background: linear-gradient(to right, var(--secondary), var(--secondary-pale));
  opacity: 0.7;
}

.hero__title--accent:not(:last-child)::after { display: none; }

.hero__subtitle {
  font-size: 1.05rem;
  color: var(--text-muted);
  line-height: 2;
  margin-bottom: 2.5rem;
  opacity: 0;
  animation: fadeInUp 0.9s ease 0.6s forwards;
}

.hero__actions {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  margin-bottom: 1.25rem;
  opacity: 0;
  animation: fadeInUp 0.9s ease 0.8s forwards;
}

.hero__contact {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  flex-wrap: wrap;
  opacity: 0;
  animation: fadeInUp 0.9s ease 1s forwards;
}

.hero__tel {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--primary);
  letter-spacing: 0.04em;
  transition: color var(--transition);
}

.hero__tel svg { color: var(--secondary); flex-shrink: 0; }
.hero__tel:hover { color: var(--secondary); }

.hero__hours {
  font-size: 0.78rem;
  color: var(--text-muted);
  letter-spacing: 0.06em;
}

.hero__scroll {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.75rem;
  color: rgba(26,56,6,0.38);
  font-size: 0.6rem;
  letter-spacing: 0.35em;
  opacity: 0;
  animation: fadeIn 1s ease 1.6s forwards;
  z-index: 1;
}

.hero__scroll-line {
  width: 1px;
  height: 52px;
  background: linear-gradient(to bottom, rgba(53,122,68,0.5), transparent);
  animation: scrollPulse 2s ease-in-out infinite;
}

@keyframes scrollPulse {
  0%, 100% { transform: scaleY(1); opacity: 1; }
  50%       { transform: scaleY(0.55); opacity: 0.45; }
}

@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(22px); }
  to   { opacity: 1; transform: none; }
}

@keyframes fadeIn {
  from { opacity: 0; }
  to   { opacity: 1; }
}

/* ============================================
   Trust Strip — deep green band under hero
   ============================================ */
.trust {
  background: linear-gradient(150deg, #16300A 0%, var(--primary) 60%, #234D08 100%);
  padding: 1.9rem 0;
}

.trust__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 1.25rem 2rem;
}

.trust__item {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.2rem;
  text-align: center;
}

.trust__item + .trust__item::before {
  content: '';
  position: absolute;
  left: -1rem;
  top: 50%;
  transform: translateY(-50%);
  width: 1px;
  height: 62%;
  background: rgba(255, 255, 255, 0.16);
}

.trust__label {
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  color: var(--secondary-light);
}

.trust__label small {
  display: block;
  margin-top: 0.1rem;
  font-size: 0.6rem;
  letter-spacing: 0.04em;
}

.trust__value {
  font-family: var(--font-serif);
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--white);
}

.trust__item--reviews { transition: color var(--transition), opacity var(--transition); }
.trust__item--reviews:hover,
.trust__item--reviews:focus-visible { color: var(--secondary-pale); outline: none; }
.trust__item--reviews:hover .trust__value,
.trust__item--reviews:focus-visible .trust__value { text-decoration: underline; text-underline-offset: 4px; }

/* ============================================
   Latest News
   ============================================ */
.latest-news {
  padding: 2.25rem 0;
  background: var(--bg);
  border-bottom: 1px solid var(--border);
}

.latest-news__inner {
  display: grid;
  grid-template-columns: 170px minmax(0, 1fr) auto;
  align-items: center;
  gap: 2rem;
}

.latest-news__heading .section-label { margin: 0 0 0.2rem; }
.latest-news__heading h2 { font-family: var(--font-serif); font-size: 1.3rem; color: var(--primary); }

.latest-news__item {
  display: grid;
  grid-template-columns: 6.6rem 5rem minmax(0, 1fr) auto;
  align-items: center;
  gap: 1rem;
  padding: 1.15rem 0;
  border-bottom: 1px solid var(--border);
  transition: color var(--transition);
}

.latest-news__item:hover,
.latest-news__item:focus-visible { color: var(--secondary); outline: none; }
.latest-news__item time { font-size: 0.8rem; color: var(--text-muted); letter-spacing: 0.04em; }
.latest-news__category,
.news-card__category { display: inline-flex; align-items: center; justify-content: center; padding: 0.2rem 0.55rem; font-size: 0.68rem; color: var(--secondary); background: var(--accent); border-radius: 50px; }
.latest-news__title { font-size: 0.95rem; font-weight: 500; color: var(--primary); }
.latest-news__arrow { color: var(--secondary); font-size: 1.1rem; transition: transform var(--transition); }
.latest-news__item:hover .latest-news__arrow { transform: translateX(4px); }
.latest-news__more { font-size: 0.82rem; color: var(--secondary); white-space: nowrap; }

/* ============================================
   Features
   ============================================ */
.features { background: var(--bg); }

.features__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 1.5rem;
}

.feature-card {
  padding: 2.5rem 2rem;
  border-radius: var(--radius-lg);
  border: 1px solid rgba(53, 122, 68, 0.1);
  background: var(--white);
  box-shadow: var(--shadow);
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}

.feature-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(to right, var(--secondary), var(--secondary-light));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--transition);
}

.feature-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
  border-color: var(--border);
}

.feature-card:hover::before { transform: scaleX(1); }

.feature-card__icon {
  width: 56px; height: 56px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(203, 224, 206, 0.5);
  border-radius: 14px;
  margin-bottom: 1.5rem;
}

.feature-card__icon svg {
  width: 26px; height: 26px;
  color: var(--secondary);
}

.feature-card__title {
  font-family: var(--font-serif);
  font-size: 1.3rem;
  font-weight: 600;
  color: var(--primary);
  margin-bottom: 0.75rem;
}

.feature-card__text {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.85;
}

/* ============================================
   Credo
   ============================================ */
.credo {
  background: var(--accent);
  overflow: hidden;
}

.credo__diagram {
  display: grid;
  grid-template-columns: minmax(250px, 0.8fr) minmax(0, 2fr);
  align-items: center;
  gap: clamp(2rem, 5vw, 5rem);
  max-width: 1080px;
  margin-inline: auto;
}

.credo__core {
  position: relative;
  display: grid;
  place-content: center;
  width: min(100%, 300px);
  aspect-ratio: 1;
  margin-inline: auto;
  padding: 2rem;
  text-align: center;
  color: var(--white);
  background: var(--primary);
  border-radius: 50%;
  box-shadow: 0 18px 36px rgba(27, 58, 23, 0.2);
}

.credo__core::before,
.credo__core::after {
  content: '';
  position: absolute;
  inset: 12px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: inherit;
}

.credo__core::after {
  inset: -12px;
  border-color: rgba(53, 122, 68, 0.2);
}

.credo__eyebrow {
  position: relative;
  z-index: 1;
  display: block;
  margin-bottom: 0.85rem;
  font-family: var(--font-display);
  font-size: 0.72rem;
  letter-spacing: 0.2em;
  color: var(--secondary-light);
}

.credo__core p {
  position: relative;
  z-index: 1;
  font-family: var(--font-serif);
  font-size: clamp(1rem, 1.8vw, 1.25rem);
  line-height: 1.75;
}

.credo__core strong { color: #D7E9D8; }

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

.credo-card {
  position: relative;
  min-height: 150px;
  padding: 1.5rem 1.5rem 1.4rem 4.25rem;
  background: var(--white);
  border: 1px solid rgba(53, 122, 68, 0.13);
  border-radius: var(--radius-lg);
  box-shadow: 0 6px 18px rgba(26, 56, 6, 0.06);
}

.credo-card:last-child { grid-column: 1 / -1; }

.credo-card__number {
  position: absolute;
  top: 1.5rem;
  left: 1.4rem;
  font-family: var(--font-display);
  font-size: 1.1rem;
  letter-spacing: 0.04em;
  color: var(--secondary);
}

.credo-card__number small {
  display: block;
  margin-bottom: -0.15rem;
  font-family: var(--font-sans);
  font-size: 0.46rem;
  font-weight: 600;
  letter-spacing: 0.08em;
}

.credo-card__number::after {
  content: '';
  display: block;
  width: 22px;
  height: 2px;
  margin-top: 0.25rem;
  background: var(--secondary-light);
}

.credo-card h3 {
  margin-bottom: 0.45rem;
  font-family: var(--font-serif);
  font-size: 1.08rem;
  line-height: 1.5;
  color: var(--primary);
}

.credo-card p {
  font-size: 0.84rem;
  line-height: 1.75;
  color: var(--text-muted);
}

/* ============================================
   Services
   ============================================ */
.services { background: var(--bg-alt); }

.services__concerns {
  max-width: 1040px;
  margin: -1.25rem auto 3rem;
  padding: 1.75rem;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
}

.services__concerns-title {
  margin-bottom: 1.1rem;
  font-family: var(--font-serif);
  font-size: 1.2rem;
  font-weight: 600;
  text-align: center;
  color: var(--primary);
}

.services__concerns-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.8rem;
}

.concern-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  min-height: 76px;
  padding: 1rem 1.1rem;
  color: var(--primary);
  background: var(--accent);
  border: 1px solid rgba(53, 122, 68, 0.1);
  border-radius: var(--radius);
  font-size: 0.9rem;
  font-weight: 500;
  line-height: 1.55;
  transition: var(--transition);
}

.concern-link b {
  flex: 0 0 auto;
  color: var(--secondary);
  font-size: 1.25rem;
  font-weight: 400;
  transition: transform var(--transition);
}

.concern-link:hover,
.concern-link:focus-visible {
  color: var(--white);
  background: var(--secondary);
  border-color: var(--secondary);
  outline: none;
}

.concern-link:hover b,
.concern-link:focus-visible b { color: var(--white); transform: translateX(3px); }

.services__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 1.5rem;
}

.service-card {
  background: var(--bg);
  border-radius: var(--radius-lg);
  padding: 2rem;
  border: 1px solid rgba(53, 122, 68, 0.08);
  box-shadow: var(--shadow);
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}

.service-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(to right, var(--secondary), var(--secondary-light));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--transition);
}

.service-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
  border-color: var(--border);
}

.service-card:hover::before { transform: scaleX(1); }

.service-card__number {
  font-family: var(--font-display);
  font-size: 3rem;
  font-weight: 600;
  color: rgba(53, 122, 68, 0.28);
  line-height: 1;
  margin-bottom: 0.4rem;
  display: block;
}

.service-card__icon {
  width: 48px; height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1rem;
}

.service-card__icon svg {
  width: 28px; height: 28px;
  color: var(--secondary);
}

.service-card__title {
  font-family: var(--font-serif);
  font-size: 1.2rem;
  font-weight: 600;
  color: var(--primary);
  margin-bottom: 0.75rem;
}

.service-card__text {
  font-size: 0.875rem;
  color: var(--text-muted);
  line-height: 1.85;
  margin-bottom: 1.25rem;
}

.service-card__list {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

.service-card__list li {
  font-size: 0.8rem;
  color: var(--text-muted);
  padding-left: 1rem;
  position: relative;
}

.service-card__list li::before {
  content: '';
  position: absolute;
  left: 0; top: 50%;
  transform: translateY(-50%);
  width: 6px; height: 1.5px;
  background: var(--secondary-light);
}

/* ============================================
   Related Site Banner（赤羽相続相談窓口）
   ============================================ */
.site-banner {
  margin-top: 3rem;
  background: linear-gradient(135deg, #16300A 0%, var(--primary) 55%, #2A5A0A 100%);
  border-radius: var(--radius-lg);
  padding: 2.25rem 2.5rem;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 190px auto;
  grid-template-areas: "body photo button";
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  box-shadow: var(--shadow-lg);
  position: relative;
  overflow: hidden;
}

.site-banner::after {
  content: '';
  position: absolute;
  right: -60px; top: 50%;
  transform: translateY(-50%);
  width: 260px; height: 260px;
  border: 1.5px solid rgba(255, 255, 255, 0.1);
  border-radius: 50%;
  box-shadow: 0 0 0 50px rgba(255, 255, 255, 0.04);
  pointer-events: none;
}

.site-banner__body {
  grid-area: body;
  position: relative;
  z-index: 1;
}

.site-banner__label {
  display: inline-block;
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  color: var(--secondary-light);
  border: 1px solid rgba(111, 176, 124, 0.45);
  border-radius: 50px;
  padding: 0.15rem 0.85rem;
  margin-bottom: 0.7rem;
}

.site-banner__title {
  font-family: var(--font-serif);
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--white);
  margin-bottom: 0.4rem;
}

.site-banner__text {
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.75);
  line-height: 1.8;
}

.site-banner__photo {
  grid-area: photo;
  position: relative;
  z-index: 1;
  width: 190px;
  height: 122px;
  margin: 0;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.38);
  border-radius: 10px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.22);
}

.site-banner__photo img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.site-banner__btn {
  grid-area: button;
  position: relative;
  z-index: 1;
  flex-shrink: 0;
  background: var(--white);
  color: var(--primary);
  border-color: var(--white);
  font-weight: 600;
}

.site-banner__btn:hover,
.site-banner__btn:focus-visible {
  background: var(--secondary-light);
  border-color: var(--secondary-light);
  color: var(--primary);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.25);
  outline: none;
}

/* ============================================
   About
   ============================================ */
.about { background: var(--bg); }

.about__inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 250px;
  gap: 4rem;
  align-items: center;
}

.about__visual {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.about__image-frame {
  width: 100%;
  border-radius: var(--radius-lg);
  overflow: hidden;
  aspect-ratio: 3 / 4;
  max-width: 250px;
  background: linear-gradient(140deg, var(--secondary-pale) 0%, var(--accent) 100%);
  border: 1px solid var(--border);
}

.about__image-placeholder {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  height: 100%;
  gap: 0.75rem;
  color: var(--text-muted);
  font-size: 0.85rem;
}

.about__photo {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 9%;
  display: block;
}

.about__badge {
  position: static;
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  margin-top: 1rem;
  background: var(--primary);
  color: var(--white);
  border-radius: var(--radius);
  padding: 1.25rem 1.5rem;
  text-align: center;
  box-shadow: var(--shadow-lg);
}

.about__badge-num {
  display: block;
  font-family: var(--font-display);
  font-size: 2.5rem;
  font-weight: 600;
  color: var(--secondary-light);
  line-height: 1;
}

.about__badge-num em { font-style: normal; font-size: 1.2rem; }

.about__badge-text {
  font-size: 0.68rem;
  letter-spacing: 0.1em;
  opacity: 0.65;
  display: block;
  margin-top: 0.25rem;
}

.about__quote {
  font-family: var(--font-serif);
  font-size: 1.05rem;
  color: var(--primary);
  line-height: 1.85;
  border-left: 3px solid var(--secondary-light);
  padding-left: 1.5rem;
  margin-bottom: 1.5rem;
  font-style: normal;
}

.about__text {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.95;
  margin-bottom: 2rem;
}

.about__credentials { display: flex; flex-direction: column; gap: 0.8rem; }

.credential { display: flex; gap: 1rem; font-size: 0.875rem; align-items: flex-start; }

.credential__label {
  font-weight: 600;
  color: var(--secondary);
  min-width: 3rem;
  flex-shrink: 0;
}

.about__history {
  margin-top: 2.25rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--border);
}

.about__history h3 {
  margin-bottom: 1rem;
  font-family: var(--font-serif);
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--primary);
}

.history-list { display: flex; flex-direction: column; gap: 0.55rem; }

.history-list li {
  display: grid;
  grid-template-columns: 7rem minmax(0, 1fr);
  gap: 0.75rem;
  align-items: baseline;
  font-size: 0.84rem;
  color: var(--text-muted);
  line-height: 1.65;
}

.history-list time {
  color: var(--secondary);
  font-weight: 600;
  letter-spacing: 0.03em;
}

/* ============================================
   Process  — DEEP GREEN BAND
   ============================================ */
.process {
  background: linear-gradient(160deg, #16300A 0%, var(--primary) 55%, #234D08 100%);
  position: relative;
  overflow: hidden;
}

/* Leaf vein on bright bg */
.process::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.06) 1px, transparent 1px);
  background-size: 64px 64px;
  pointer-events: none;
}

.process::after {
  content: '';
  position: absolute;
  right: -80px; bottom: -80px;
  width: 360px; height: 360px;
  border: 1.5px solid rgba(255,255,255,0.12);
  border-radius: 50%;
  box-shadow: 0 0 0 70px rgba(255,255,255,0.04);
  pointer-events: none;
}

.process .section-label { color: rgba(255,255,255,0.75); }
.process .section-title { color: var(--white); }
.process .section-desc  { color: rgba(255,255,255,0.75); }

.process__steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
  position: relative;
}

.process__steps::before {
  content: '';
  position: absolute;
  top: 2.4rem;
  left: calc(12.5% + 1rem);
  right: calc(12.5% + 1rem);
  height: 1px;
  background: linear-gradient(to right, rgba(255,255,255,0.4), rgba(255,255,255,0.05));
  pointer-events: none;
}

.process-step { text-align: center; padding: 0 1rem; }

.process-step__num {
  font-family: var(--font-display);
  font-size: 3rem;
  font-weight: 600;
  color: var(--secondary-light);
  opacity: 0.85;
  line-height: 1;
  margin-bottom: 1rem;
  display: block;
  position: relative;
}

.process-step__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  margin-bottom: 0.9rem;
  border: 1px solid rgba(203, 224, 206, 0.5);
  border-radius: 50%;
  color: var(--secondary-light);
  background: rgba(255, 255, 255, 0.05);
}

.process-step__icon svg { width: 21px; height: 21px; }

.process-step__num::after {
  content: '';
  position: absolute;
  bottom: -0.6rem;
  left: 50%;
  transform: translateX(-50%);
  width: 8px; height: 8px;
  background: var(--secondary-light);
  border-radius: 50%;
  opacity: 0.7;
}

.process-step__content h3 {
  font-family: var(--font-serif);
  font-size: 1.1rem;
  color: var(--white);
  margin-bottom: 0.75rem;
}

.process-step__content p {
  font-size: 0.85rem;
  color: rgba(255,255,255,0.75);
  line-height: 1.85;
}

/* ============================================
   FAQ
   ============================================ */
.faq { background: var(--bg); }

.faq__list {
  max-width: 800px;
  margin-inline: auto;
  border-top: 1px solid rgba(53, 122, 68, 0.15);
}

.faq-item { border-bottom: 1px solid rgba(53, 122, 68, 0.15); }

.faq-item__q {
  list-style: none;
  cursor: pointer;
  display: flex;
  align-items: baseline;
  gap: 1rem;
  padding: 1.5rem 3rem 1.5rem 0.5rem;
  font-family: var(--font-serif);
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--primary);
  position: relative;
  transition: color var(--transition);
}

.faq-item__q::-webkit-details-marker { display: none; }

.faq-item__q:hover { color: var(--secondary); }

.faq-item__q::before {
  content: 'Q.';
  font-family: var(--font-display);
  font-size: 1.3rem;
  color: var(--secondary);
  flex-shrink: 0;
}

.faq-item__q::after {
  content: '';
  position: absolute;
  right: 1rem;
  top: 50%;
  width: 9px; height: 9px;
  border-right: 2px solid var(--secondary);
  border-bottom: 2px solid var(--secondary);
  transform: translateY(-70%) rotate(45deg);
  transition: transform var(--transition);
}

.faq-item[open] .faq-item__q::after {
  transform: translateY(-30%) rotate(-135deg);
}

.faq-item__a {
  display: flex;
  gap: 1rem;
  padding: 0 3rem 1.75rem 0.5rem;
}

.faq-item__a::before {
  content: 'A.';
  font-family: var(--font-display);
  font-size: 1.3rem;
  line-height: 1.5;
  color: rgba(26, 56, 6, 0.45);
  flex-shrink: 0;
}

.faq-item__a p {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.95;
}

/* ============================================
   Company
   ============================================ */
.company { background: var(--bg-alt); }

.company__inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: start;
}

.company__nameplate {
  margin: 0 0 1.5rem;
  overflow: hidden;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--white);
}

.company__nameplate img {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  object-position: center;
}

.company__table table {
  width: 100%;
  border-collapse: collapse;
}

.company__table th,
.company__table td {
  padding: 1rem 1.25rem;
  font-size: 0.9rem;
  border-bottom: 1px solid rgba(53, 122, 68, 0.08);
  text-align: left;
  vertical-align: top;
}

.company__table th {
  color: var(--secondary);
  font-weight: 600;
  width: 8.5rem;
  white-space: nowrap;
}

.company__table td { color: var(--text); }

.company__table td a {
  color: var(--secondary);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.company__table small { font-size: 0.78rem; color: var(--text-muted); }

.company__map-frame {
  border-radius: var(--radius-lg);
  overflow: hidden;
  aspect-ratio: 4 / 3;
  background: linear-gradient(140deg, var(--secondary-pale), var(--bg));
  border: 1px solid var(--border);
}

.company__map-frame iframe {
  display: block;
  width: 100%;
  height: 100%;
  border: 0;
}

.company__map .btn--map { margin-top: 1rem; }

.company__map-placeholder {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  height: 100%;
  gap: 0.6rem;
  color: var(--text-muted);
  text-align: center;
  padding: 2rem;
}

.company__map-placeholder svg {
  width: 44px; height: 44px;
  color: var(--secondary);
  opacity: 0.65;
}

.company__map-placeholder strong {
  font-size: 1rem;
  color: var(--primary);
}

.company__map-placeholder small { font-size: 0.8rem; }

/* ============================================
   Contact
   ============================================ */
.contact {
  background:
    linear-gradient(90deg, rgba(248, 251, 246, 0.95) 0%, rgba(248, 251, 246, 0.88) 55%, rgba(248, 251, 246, 0.78) 100%),
    url('../assets/waiting-area.jpg') center / cover no-repeat;
}

.contact__inner {
  display: grid;
  grid-template-columns: 1fr 1.7fr;
  gap: 5rem;
  align-items: start;
}

.contact-method {
  display: flex;
  gap: 1.25rem;
  align-items: flex-start;
  padding: 1.5rem;
  border-radius: var(--radius);
  border: 1px solid rgba(53, 122, 68, 0.1);
  margin-bottom: 1.25rem;
  transition: var(--transition);
  background: var(--bg-alt);
}

.contact-method:hover {
  border-color: var(--border);
  box-shadow: var(--shadow);
  background: var(--bg);
}

.contact-method__icon {
  width: 44px; height: 44px;
  display: flex; align-items: center; justify-content: center;
  background: rgba(203, 224, 206, 0.5);
  border-radius: 10px;
  flex-shrink: 0;
}

.contact-method__icon svg {
  width: 20px; height: 20px;
  color: var(--secondary);
}

.contact-method__label { font-size: 0.78rem; color: var(--text-muted); margin-bottom: 0.25rem; }

.contact-method__value {
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--primary);
  display: block;
  margin-bottom: 0.2rem;
}

a.contact-method__value { color: var(--secondary); }
.contact-method__note { font-size: 0.78rem; color: var(--text-muted); }

.contact__room {
  margin: 1.5rem 0 0;
  overflow: hidden;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--bg-alt);
}

.contact__room img {
  display: block;
  width: 100%;
  aspect-ratio: 3 / 2;
  object-fit: cover;
  object-position: center;
}

.contact__room figcaption { padding: 1rem 1.15rem 1.1rem; }

.contact__room-label {
  display: block;
  margin-bottom: 0.3rem;
  color: var(--secondary);
  font-size: 0.72rem;
  letter-spacing: 0.12em;
}

.contact__room strong {
  display: block;
  color: var(--primary);
  font-family: var(--font-serif);
  font-size: 0.98rem;
  font-weight: 600;
  line-height: 1.65;
}

.contact__room--waiting { margin-top: 0; }
.contact__room--waiting img { aspect-ratio: 16 / 9; }
.contact__room--waiting figcaption { padding-top: 0.85rem; padding-bottom: 0.9rem; }

/* Form */
.contact-form { display: flex; flex-direction: column; gap: 1.25rem; }
.form-group { display: flex; flex-direction: column; gap: 0.4rem; }

.form-label {
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--text);
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.required {
  font-size: 0.68rem;
  background: var(--secondary);
  color: var(--white);
  padding: 0.1rem 0.45rem;
  border-radius: 3px;
}

.form-input,
.form-select,
.form-textarea {
  padding: 0.875rem 1rem;
  border: 1.5px solid rgba(53, 122, 68, 0.15);
  border-radius: var(--radius);
  font-family: var(--font-sans);
  font-size: 0.9rem;
  color: var(--text);
  background: var(--bg-alt);
  transition: border-color var(--transition), box-shadow var(--transition);
  outline: none;
  width: 100%;
}

.form-input:focus,
.form-select:focus,
.form-textarea:focus {
  border-color: var(--secondary);
  box-shadow: 0 0 0 3px rgba(111, 176, 124, 0.22);
  background: var(--bg);
}

.form-input.error,
.form-select.error,
.form-textarea.error {
  border-color: #ef4444;
  box-shadow: 0 0 0 3px rgba(239,68,68,0.1);
}

.form-textarea { resize: vertical; min-height: 140px; }
.form-select { appearance: none; cursor: pointer; }

.form-checkbox {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  cursor: pointer;
  font-size: 0.85rem;
  color: var(--text-muted);
  user-select: none;
}

.form-checkbox input[type="checkbox"] {
  width: 18px; height: 18px;
  accent-color: var(--secondary);
  cursor: pointer;
  flex-shrink: 0;
}

.form-checkbox__link {
  color: var(--secondary);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.form-checkbox__link:hover { color: var(--primary); }

.form-notice {
  text-align: center;
  font-size: 0.875rem;
  padding: 0.875rem;
  border-radius: var(--radius);
  display: none;
}

.form-notice.success { display: block; background: #ecfdf5; color: #059669; border: 1px solid #a7f3d0; }
.form-notice.error   { display: block; background: #fef2f2; color: #dc2626; border: 1px solid #fecaca; }

/* ============================================
   Sub Page (privacy 等)
   ============================================ */
.page-hero {
  background: linear-gradient(145deg, #DCE9D8 0%, #EDF3E8 60%, #FAFBF8 100%);
  padding: calc(var(--header-h) + 4rem) 0 3.5rem;
}

.page-hero__title {
  font-family: var(--font-serif);
  font-size: clamp(1.6rem, 4vw, 2.4rem);
  font-weight: 600;
  color: var(--primary);
  line-height: 1.4;
}

.legal__inner { max-width: 800px; }

.legal p {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 2;
  margin-bottom: 1rem;
}

.legal h2 {
  font-family: var(--font-serif);
  font-size: 1.15rem;
  font-weight: 600;
  color: var(--primary);
  margin: 2.5rem 0 0.9rem;
  padding-left: 0.9rem;
  border-left: 3px solid var(--secondary);
}

.legal ul {
  margin: 0 0 1rem;
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.legal ul li {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.9;
  padding-left: 1.1rem;
  position: relative;
}

.legal ul li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.85em;
  width: 6px; height: 1.5px;
  background: var(--secondary);
}

.legal a {
  color: var(--secondary);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.legal__date {
  text-align: right;
  font-size: 0.85rem;
  margin-top: 3rem;
}

.legal__back {
  margin-top: 2.5rem;
  text-align: center;
}

/* ============================================
   News
   ============================================ */
.news { background: var(--bg-alt); min-height: 50vh; }
.news__inner { max-width: 860px; }
.news-card { padding: clamp(1.75rem, 5vw, 3.5rem); background: var(--white); border: 1px solid var(--border); border-radius: var(--radius-lg); box-shadow: var(--shadow); }
.news-card__header { padding-bottom: 1.75rem; margin-bottom: 1.75rem; border-bottom: 1px solid var(--border); }
.news-card__header time { display: inline-block; margin-right: 0.8rem; font-size: 0.82rem; color: var(--text-muted); letter-spacing: 0.04em; }
.news-card__header h2 { margin-top: 1.25rem; font-family: var(--font-serif); font-size: clamp(1.35rem, 3vw, 1.85rem); font-weight: 600; line-height: 1.55; color: var(--primary); }
.news-card__body p { margin-bottom: 1.2rem; color: var(--text-muted); font-size: 0.94rem; line-height: 2; }
.news-card__body p:last-child { margin-bottom: 0; }
.news-card__footer { margin-top: 2.25rem; }

/* ============================================
   Recruit
   ============================================ */
.recruit { background: var(--bg-alt); }
.recruit__intro {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 0.9fr);
  gap: clamp(2rem, 7vw, 7rem);
  align-items: center;
  max-width: 960px;
}
.recruit__message h2 {
  margin-bottom: 1.25rem;
  font-family: var(--font-serif);
  font-size: clamp(1.55rem, 3vw, 2.2rem);
  font-weight: 600;
  line-height: 1.55;
  color: var(--primary);
}
.recruit__message > p:not(.section-label) { color: var(--text-muted); line-height: 2; }
.recruit__image {
  margin: 1.75rem 0 0;
  overflow: hidden;
  border-radius: var(--radius-lg);
  background: var(--white);
}
.recruit__image img {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 8;
  object-fit: cover;
  object-position: center;
}
.recruit__image img[src$="recruit-team.jpg"] { object-position: center top; }
.recruit__notice {
  padding: clamp(1.8rem, 4vw, 2.8rem);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  background: var(--white);
  box-shadow: var(--shadow);
}
.recruit__notice-label {
  display: block;
  margin-bottom: 1rem;
  color: var(--secondary);
  font-family: var(--font-display);
  font-size: 0.72rem;
  letter-spacing: 0.18em;
}
.recruit__notice h2 {
  margin-bottom: 1rem;
  font-family: var(--font-serif);
  font-size: clamp(1.25rem, 2.5vw, 1.6rem);
  font-weight: 600;
  line-height: 1.6;
  color: var(--primary);
}
.recruit__notice p { color: var(--text-muted); font-size: 0.9rem; line-height: 1.9; }
.recruit__content { max-width: 960px; margin: clamp(4rem, 8vw, 7rem) auto 0; }
.recruit__block { padding-top: 3rem; margin-top: 3rem; border-top: 1px solid var(--border); }
.recruit__block--environment {
  padding: 3rem 0 0;
  border-top: 1px solid var(--border);
}
.recruit-environment { align-self: center; justify-self: end; width: min(100%, 220px); margin: 1.4rem 0; }
.recruit-environment img { display: block; width: 100%; aspect-ratio: 16 / 7; border-radius: var(--radius); object-fit: cover; object-position: center top; }
.recruit-environment figcaption { margin-top: 0.35rem; color: var(--text-muted); font-size: 0.72rem; text-align: right; }
.recruit__block-heading { display: flex; align-items: baseline; justify-content: space-between; gap: 1rem; margin-bottom: 1.75rem; }
.recruit__block-heading .section-label { margin: 0; }
.recruit__block-heading h2, .recruit__apply h2 { font-family: var(--font-serif); font-size: clamp(1.4rem, 2.5vw, 1.8rem); color: var(--primary); }
.recruit__jobs { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.25rem; }
.recruit-job { padding: 1.75rem; background: var(--white); border: 1px solid var(--border); border-radius: var(--radius-lg); }
.recruit-job__type { display: inline-block; margin-bottom: 0.8rem; color: var(--secondary); font-size: 0.75rem; font-weight: 700; letter-spacing: 0.08em; }
.recruit-job h3 { margin-bottom: 0.8rem; font-family: var(--font-serif); font-size: 1.2rem; color: var(--primary); }
.recruit-job p, .recruit__work > p { color: var(--text-muted); font-size: 0.92rem; line-height: 1.9; }
.recruit-job__conditions { margin-top: 1.25rem; padding-top: 1rem; border-top: 1px solid var(--border); }
.recruit-job__conditions dt { margin-bottom: 0.35rem; color: var(--primary); font-size: 0.78rem; font-weight: 700; }
.recruit-job__conditions dd { margin: 0; color: var(--text-muted); font-size: 0.88rem; line-height: 1.85; }
.recruit-job__conditions strong { color: var(--text); font-weight: 600; }
.recruit__work-intro { max-width: 720px; color: var(--text-muted); line-height: 2; }
.recruit__work-list { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1rem; margin-top: 1.75rem; }
.recruit__work-list article { padding: 1.4rem 1.25rem; border: 1px solid var(--border); border-radius: var(--radius); background: var(--white); }
.recruit__work-list h3 { margin-bottom: 0.65rem; color: var(--primary); font-family: var(--font-serif); font-size: 1.08rem; }
.recruit__work-list p { color: var(--text-muted); font-size: 0.86rem; line-height: 1.85; }
.recruit__work-note { margin-top: 1.4rem; color: var(--text-muted); font-size: 0.92rem; line-height: 1.9; }
.recruit__conditions { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 2.5rem; background: var(--white); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 0 1.75rem; }
.recruit__conditions dl { padding: 1.4rem 0; border-bottom: 1px solid var(--border); }
.recruit__conditions dl:nth-last-child(-n + 2) { border-bottom: 0; }
.recruit__conditions dt { margin-bottom: 0.55rem; font-weight: 700; color: var(--primary); }
.recruit__conditions dd { margin: 0; color: var(--text-muted); font-size: 0.88rem; line-height: 1.85; }
.recruit__conditions strong { color: var(--text); font-weight: 600; }
.recruit__conditions small { font-size: 0.78rem; }
.recruit__apply { margin-top: 3.5rem; padding: clamp(2rem, 5vw, 3.5rem); text-align: center; background: var(--primary); border-radius: var(--radius-lg); color: var(--white); }
.recruit__apply .section-label { color: var(--secondary-light); }
.recruit__apply h2 { margin-bottom: 1rem; color: var(--white); }
.recruit__apply > p { max-width: 560px; margin: 0 auto 1.75rem; color: rgba(255,255,255,0.8); font-size: 0.92rem; line-height: 1.9; }
.recruit__apply .btn { background: var(--white); color: var(--primary); }
.recruit__apply .btn:hover { background: var(--accent); }
.recruit__apply-note { margin-top: 1.3rem !important; margin-bottom: 0 !important; font-size: 0.8rem !important; color: rgba(255,255,255,0.62) !important; }

/* ============================================
   Footer  — keep deep green as bookend
   ============================================ */
.footer {
  background: var(--primary);
  padding: 4rem 0 2rem;
}

.footer__inner {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 3rem;
  margin-bottom: 3rem;
  padding-bottom: 3rem;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}

.footer__logo {
  height: 90px;
  width: auto;
  object-fit: contain;
  filter: brightness(0) invert(1);
  opacity: 0.9;
  margin-bottom: 1rem;
  display: block;
}

.footer__tagline {
  font-size: 0.8rem;
  color: rgba(255,255,255,0.5);
  line-height: 1.65;
}

.footer__nav ul {
  display: flex;
  flex-wrap: wrap;
  gap: 0.25rem 1.5rem;
  justify-content: flex-end;
}

.footer__nav a {
  font-size: 0.85rem;
  color: rgba(255,255,255,0.55);
  transition: color var(--transition);
}

.footer__nav a:hover { color: var(--secondary-light); }

.footer__bottom {
  text-align: center;
  font-size: 0.75rem;
  color: rgba(255,255,255,0.3);
}

/* ============================================
   Floating CTA
   ============================================ */
.floating-cta {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  background: var(--secondary);
  color: var(--white);
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.875rem 1.5rem;
  border-radius: 50px;
  font-size: 0.875rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  box-shadow: 0 4px 22px rgba(53, 122, 68, 0.4);
  transition: var(--transition);
  transform: translateY(120px);
  opacity: 0;
  z-index: 999;
  pointer-events: none;
}

.floating-cta.visible {
  transform: translateY(0);
  opacity: 1;
  pointer-events: auto;
}

.floating-cta:hover {
  background: #2C6638;
  transform: translateY(-2px);
  box-shadow: 0 8px 28px rgba(27, 58, 23, 0.4);
}

.floating-cta svg { width: 18px; height: 18px; }

/* ============================================
   Mobile Helper
   ============================================ */
.br-pc { display: inline; }
.br-process { display: inline; }

/* ============================================
   Responsive — Tablet (≤ 1024px)
   ============================================ */
@media (max-width: 1024px) {
  .br-process { display: none; }

  .about__inner,
  .company__inner,
  .contact__inner { grid-template-columns: 1fr; gap: 3rem; }

  .about__visual {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
  }
  .about__badge {
    position: static;
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    margin-top: 1rem;
  }
  .about__image-frame { aspect-ratio: 4 / 3; max-width: none; }

  .process__steps { grid-template-columns: repeat(2, 1fr); gap: 3rem 2rem; }
  .process__steps::before { display: none; }

  .footer__nav ul { justify-content: flex-start; }
}

@media (min-width: 1025px) {
  .about__content { order: 1; }
  .about__visual { order: 2; }
}

/* Header: prevent navigation links from becoming crowded on tablets */
@media (min-width: 769px) and (max-width: 1100px) {
  .nav__toggle { display: flex; }

  .nav__menu {
    position: fixed;
    top: var(--header-h);
    left: 0;
    right: 0;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(14px);
    flex-direction: column;
    padding: 1.5rem 1.5rem 2.5rem;
    gap: 0;
    transform: translateY(-110%);
    transition: transform var(--transition);
    border-top: 1px solid rgba(53, 122, 68, 0.12);
    box-shadow: 0 8px 24px rgba(26, 56, 6, 0.1);
    z-index: 999;
  }

  .nav__menu.open { transform: translateY(0); }

  .nav__link {
    padding: 0.875rem 1rem;
    border-radius: 0;
    border-bottom: 1px solid rgba(53, 122, 68, 0.07);
  }

  .nav__link--cta {
    margin: 1rem 0 0;
    border-radius: 50px;
    text-align: center;
    border-bottom: none;
  }
}

/* ============================================
   Responsive — Mobile (≤ 768px)
   ============================================ */
@media (max-width: 768px) {
  .recruit__intro, .recruit__jobs, .recruit__work-list, .recruit__conditions { grid-template-columns: 1fr; }
  .recruit__intro { gap: 2.5rem; }
  .recruit__conditions { padding: 0 1.25rem; }
  .recruit-environment { justify-self: start; }
  .recruit__desktop-break { display: none; }
  .recruit__conditions dl:nth-last-child(2) { border-bottom: 1px solid var(--border); }
  .contact { background: var(--bg); }
  :root { --header-h: 60px; }

  .br-pc { display: none; }
  .nav__toggle { display: flex; }

  /* Mobile menu — white, light theme */
  .nav__menu {
    position: fixed;
    top: var(--header-h);
    left: 0; right: 0;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(14px);
    flex-direction: column;
    padding: 1.5rem 1.5rem 2.5rem;
    gap: 0;
    transform: translateY(-110%);
    transition: transform var(--transition);
    border-top: 1px solid rgba(53, 122, 68, 0.12);
    box-shadow: 0 8px 24px rgba(26, 56, 6, 0.1);
    z-index: 999;
  }

  .nav__menu.open { transform: translateY(0); }

  .nav__link {
    padding: 0.875rem 1rem;
    border-radius: 0;
    border-bottom: 1px solid rgba(53, 122, 68, 0.07);
  }

  .nav__link--cta {
    margin: 1rem 0 0;
    border-radius: 50px;
    text-align: center;
    border-bottom: none;
  }

  .hero__content { grid-template-columns: 1fr; gap: 2.5rem; }
  .hero__visual { order: -1; }   /* photo above text on mobile */
  .hero__visual::before { display: none; }
  .hero__photo-frame { max-width: 100%; border-radius: 24px; aspect-ratio: 16/9; }
  .hero__photo-badge { bottom: -0.75rem; left: 0.75rem; padding: 0.7rem 1rem; }
  .hero__title { font-size: clamp(1.65rem, 7.4vw, 2.7rem); }
  .hero__actions { flex-direction: column; align-items: flex-start; }
  .hero__actions .btn { width: 100%; justify-content: center; }
  /* 電話案内を優先し、狭い画面では装飾的なスクロール案内を非表示にする */
  .hero__scroll { display: none; }

  .trust__grid { grid-template-columns: repeat(2, 1fr); }
  .trust__item:nth-child(3)::before,
  .trust__item:nth-child(5)::before { display: none; }

  .latest-news__inner { grid-template-columns: 1fr; gap: 0.7rem; }
  .latest-news__item { grid-template-columns: 6.3rem 4.5rem minmax(0, 1fr) auto; }
  .latest-news__more { justify-self: start; }

  .faq-item__q { padding-right: 2.25rem; font-size: 0.98rem; }
  .faq-item__a { padding-right: 1rem; }

  /* Profile: compact photo beside heading, full-width text below */
  .about__inner {
    grid-template-columns: minmax(0, 1fr) 112px;
    grid-template-areas:
      "heading visual"
      "quote quote"
      "text text"
      "credentials credentials"
      "history history";
    column-gap: 1rem;
    row-gap: 1.25rem;
    align-items: start;
  }
  .about__content { display: contents; }
  .about__heading { grid-area: heading; }
  .about__visual { grid-area: visual; width: 112px; }
  .about__image-frame {
    width: 112px;
    max-width: 112px;
    aspect-ratio: 3 / 4;
  }
  .about__badge {
    width: 112px;
    box-sizing: border-box;
    flex-direction: column;
    gap: 0.1rem;
    margin-top: 0.5rem;
    padding: 0.6rem 0.35rem;
  }
  .about__badge-num { font-size: 1.5rem; }
  .about__badge-num em { font-size: 0.8rem; }
  .about__badge-text { font-size: 0.5rem; margin-top: 0; }
  .about__quote { grid-area: quote; margin: 0; }
  .about__text { grid-area: text; margin: 0; }
  .about__credentials { grid-area: credentials; margin: 0; }
  .about__history { grid-area: history; margin: 0; }

  .site-banner {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 185px;
    grid-template-areas:
      "body photo"
      "button button";
    align-items: center;
    padding: 2rem 1.5rem;
    gap: 1.25rem;
  }
  .site-banner__photo { width: 185px; height: 118px; }
  .site-banner__btn { width: 100%; }

  .credo__diagram { grid-template-columns: 1fr; gap: 2.5rem; }
  .credo__core { width: min(100%, 260px); }

  .services__concerns-grid { grid-template-columns: 1fr; }

  .services__grid { grid-template-columns: 1fr; }
  .process__steps { grid-template-columns: 1fr; gap: 2rem; }
  .process-step { text-align: left; }
  .process-step__num { text-align: left; }

  .footer__inner { flex-direction: column; }
  .footer__nav ul { justify-content: flex-start; }

  .floating-cta { bottom: 1rem; right: 1rem; padding: 0.75rem 1.25rem; font-size: 0.8rem; }
}

/* ============================================
   Responsive — Small (≤ 480px)
   ============================================ */
@media (max-width: 480px) {
  .site-banner {
    grid-template-columns: 1fr;
    grid-template-areas:
      "body"
      "photo"
      "button";
    align-items: flex-start;
  }
  .site-banner__photo { width: 100%; height: 150px; }

  .features__grid { grid-template-columns: 1fr; }
  .latest-news__item { grid-template-columns: 1fr auto; gap: 0.55rem 0.75rem; }
  .latest-news__item time { grid-column: 1; }
  .latest-news__category { grid-column: 1; justify-self: start; }
  .latest-news__title { grid-column: 1; grid-row: 3; }
  .latest-news__arrow { grid-column: 2; grid-row: 1 / 4; }
  .credo__list { grid-template-columns: 1fr; }
  .credo-card:last-child { grid-column: auto; }
  .credo-card { min-height: auto; padding: 1.35rem 1.25rem 1.25rem 4rem; }
  .credo-card__number { top: 1.35rem; left: 1.15rem; }
  .contact__inner { gap: 2rem; }
  .about__badge { border-radius: var(--radius); }
}

/* ============================================
   Focus Visible
   ============================================ */
:focus-visible {
  outline: 2px solid var(--secondary);
  outline-offset: 3px;
}
