/*
 * Reversible title treatment for photo-background sections.
 * Remove this stylesheet link from index.php to restore the previous glow style.
 */
:is(#search, #strengths, .contact) .head {
  position: relative;
  overflow: hidden;
  width: min(860px, calc(100% - 32px));
  margin: 0 auto 48px;
  padding: 26px 34px 28px;
  border: 1px solid rgba(255, 255, 255, .9);
  border-radius: 18px;
  background: rgba(255, 255, 255, .82);
  box-shadow: 0 12px 34px rgba(38, 29, 31, .14), inset 0 1px 0 rgba(255, 255, 255, .72);
  -webkit-backdrop-filter: blur(7px) saturate(.9);
  backdrop-filter: blur(7px) saturate(.9);
}

:is(#search, #strengths, .contact) .head::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 108px;
  height: 108px;
  background: #b51f2b;
  clip-path: polygon(0 0, 100% 0, 0 100%);
  pointer-events: none;
}

:is(#search, #strengths, .contact) .head .en {
  display: inline-block;
  padding: 4px 10px;
  border-radius: 999px;
  background: rgba(181, 31, 43, .09);
  text-shadow: none;
}

:is(#search, #strengths, .contact) .head h2 {
  color: #25272b;
  -webkit-text-stroke: 0;
  text-shadow: 0 1px 0 #fff;
}

:is(#search, #strengths, .contact) .head > p {
  color: #4b4d52;
  font-weight: 600;
  text-shadow: none;
}

.contact .business-notice {
  width: min(860px, calc(100% - 32px));
  margin: 32px auto 0;
}

@media (max-width: 600px) {
  :is(#search, #strengths, .contact) .head {
    width: 100%;
    padding: 21px 18px 23px;
    border-radius: 14px;
  }
  .contact .business-notice {
    width: 100%;
  }
  :is(#search, #strengths, .contact) .head::before {
    width: 82px;
    height: 82px;
  }
}

@media (prefers-reduced-transparency: reduce) {
  :is(#search, #strengths, .contact) .head {
    background: #fff;
    -webkit-backdrop-filter: none;
    backdrop-filter: none;
  }
}
