/* /business/ セクション背景（PD装飾画像） */

.biz-page {
  --page-bg: #faf8f4;
}

.has-bg {
  position: relative;
  isolation: isolate;
  overflow: hidden;
}

.has-bg::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -2;
  background-image: var(--bg);
  background-size: cover;
  background-position: var(--bg-pos, center);
  background-repeat: no-repeat;
}

.has-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
}

/* スタック内セクションを画面幅いっぱいに */
.biz-web-stack .biz-section.has-bg,
.biz-web-stack .biz-ai-search-inset.has-bg {
  width: 100vw;
  max-width: 100vw;
  margin-left: calc(50% - 50vw);
  padding-inline: max(1.25rem, calc((100vw - 72rem) / 2 + 1.25rem));
  box-sizing: border-box;
}

.has-bg--strong {
  color: #fff;
}

/* CTA など（ヒーロー .biz-hero は下で別レイヤー） */
.has-bg--strong:not(.biz-hero)::after {
  background: linear-gradient(180deg, rgba(20, 18, 16, 0.55) 0%, rgba(20, 18, 16, 0.7) 100%);
}

.has-bg--strong a:not(.biz-btn):not(.biz-btn--ghost):not(.biz-btn--gold) {
  color: #fff;
}

.has-bg--strong .biz-section__title,
.has-bg--strong .biz-hero__title {
  color: #fff;
}

.has-bg--strong .biz-prose-narrow,
.has-bg--strong .biz-hero__lead,
.has-bg--strong .biz-hero__eyebrow,
.has-bg--strong .biz-founder-note,
.has-bg--strong .biz-signature {
  color: rgba(255, 255, 255, 0.92);
}

.has-bg--strong .biz-btn--ghost {
  color: #fff !important;
  border-color: rgba(255, 255, 255, 0.75);
}

.has-bg--strong .biz-hero .biz-btn--ghost {
  background: rgba(255, 255, 255, 0.08);
}

.has-bg--strong .bg-credit {
  color: rgba(255, 255, 255, 0.75);
}

@media (max-width: 768px) {
  .has-bg--strong::before {
    background-image: var(--bg-sp, var(--bg));
  }
}

.biz-hero.has-bg--strong {
  background: none;
  color: #2b221c;
}

/* ヒーロー：明るい紗（背景をぼかし、淡い和紙色＋織り目を重ねる） */
.biz-hero.has-bg--strong::before {
  filter: blur(2px) brightness(1.22) saturate(0.88) contrast(0.96);
  transform: scale(1.07);
}

.biz-hero.has-bg--strong::after {
  background-color: rgba(255, 252, 247, 0.62);
  background-image:
    linear-gradient(
      180deg,
      rgba(255, 254, 252, 0.35) 0%,
      rgba(255, 251, 246, 0.2) 100%
    ),
    repeating-linear-gradient(
      108deg,
      rgba(255, 255, 255, 0.2) 0 1px,
      transparent 1px 4px
    ),
    repeating-linear-gradient(
      -18deg,
      rgba(255, 255, 255, 0.08) 0 1px,
      transparent 1px 6px
    );
}

.biz-hero.has-bg--strong .biz-hero__panel {
  background: rgba(255, 253, 250, 0.32);
  border-color: rgba(201, 185, 143, 0.55);
  backdrop-filter: blur(10px) saturate(1.04);
  -webkit-backdrop-filter: blur(10px) saturate(1.04);
  box-shadow:
    inset 0 0 0 1px rgba(255, 255, 255, 0.45),
    0 12px 40px rgba(42, 34, 28, 0.06);
}

.biz-hero.has-bg--strong .biz-hero__title {
  color: #1a1714;
}

.biz-hero.has-bg--strong .biz-hero__lead {
  color: #5c5349;
}

.biz-hero.has-bg--strong .biz-hero__eyebrow {
  color: #6f7668;
}

.biz-hero.has-bg--strong .biz-btn--ghost {
  color: var(--biz-accent, #2e4a72) !important;
  border-color: var(--biz-accent, #2e4a72);
  background: transparent;
}

.biz-hero.has-bg--strong .bg-credit {
  color: #878078;
}

.has-bg--soft::before {
  opacity: var(--bg-opacity, 0.1);
}

.has-bg--soft::after {
  background: linear-gradient(
    180deg,
    var(--page-bg) 0%,
    transparent 18%,
    transparent 82%,
    var(--page-bg) 100%
  );
}

.bg-credit {
  position: absolute;
  right: 1rem;
  bottom: 0.6rem;
  left: auto;
  font-size: 0.7rem;
  opacity: 0.6;
  margin: 0;
  max-width: min(22rem, 70%);
  text-align: right;
  line-height: 1.45;
  z-index: 0;
}

.biz-ai-search-inset.has-bg {
  position: relative;
  padding-bottom: 2rem;
}

.biz-section.has-bg--soft {
  border-top-color: transparent;
}

.biz-ai-search-inset.has-bg--soft {
  border-top-color: transparent;
}