.p-demolitionPage {
  background: #fafafa;
}

.p-demolitionPage .l-header {
  background: transparent;
  box-shadow: none;
}

.p-demolitionPage .l-header.is-scrolled,
.p-demolitionPage.is-open .l-header {
  background: #fff;
  box-shadow: 0 1px 10px rgba(0, 0, 0, 0.06);
}

.p-pageFv {
  position: relative;
  height: 419px;
  overflow: hidden;
  background: #d8d8d8;
}

.p-pageFv__bg,
.p-pageFv__bg img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.p-pageFv__bg img {
  max-width: none;
  object-fit: cover;
  object-position: center;
  filter: blur(1.5px);
  transform: scale(1.02);
}

.p-pageFv__bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.1);
}

.p-pageFv__title {
  position: absolute;
  z-index: 1;
  top: 176px;
  left: max(24px, calc(50% - 560px));
  color: #00102c;
}

.p-pageFv__title h1 {
  font-family: Montserrat, sans-serif;
  font-size: 77px;
  font-weight: 700;
  letter-spacing: 1.54px;
  line-height: 1;
}

.p-pageFv__title p {
  margin-top: 14px;
  font-family: "BIZ UDGothic", sans-serif;
  font-size: 24px;
  letter-spacing: 0.96px;
  line-height: 1;
}

.p-crumb {
  width: min(1120px, calc(100% - 48px));
  margin: 40px auto 0;
  color: #4c4c4c;
  font-family: "BIZ UDGothic", sans-serif;
  font-size: 16px;
  letter-spacing: 0.16px;
  line-height: 1.75;
}

.p-crumb a {
  color: #095aaf;
  font-weight: 700;
  text-decoration: underline;
}

.p-demolition {
  display: flex;
  flex-direction: column;
  gap: 80px;
  width: min(1120px, calc(100% - 48px));
  margin: 80px auto;
  color: #333;
  font-family: "BIZ UDGothic", sans-serif;
}

.p-block {
  display: flex;
  flex-direction: column;
  gap: 32px;
}

.p-point {
  align-self: center;
  margin: 0 0 -36px;
  line-height: 0;
}

.p-point img {
  display: block;
  width: 119px;
  height: auto;
}

.p-demolition > .p-block:nth-child(2) .p-point img {
  width: 124px;
}

.p-secHead {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 5px;
}

.p-secHead h2 {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 11px;
  width: 100%;
  min-height: 54px;
  color: #333;
  font-size: 24px;
  font-weight: 700;
  letter-spacing: 1.92px;
  line-height: 1.45;
  text-align: center;
}

.p-secHead h2::before {
  content: "";
  width: 4px;
  height: 30px;
  background: #73580d;
  flex: none;
}

.p-secHead--sub {
  gap: 8px;
}

.p-secHead--sub h2 {
  min-height: 0;
}

.p-secHead--sub h2::before {
  height: 23px;
}

.p-secHead::after {
  content: "";
  width: 100%;
  height: 4px;
  background: #73580d;
}

.p-eyebrow {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 13px;
  margin: 0;
  color: #333;
  font-size: 16px;
  font-weight: 700;
  letter-spacing: 1.28px;
  line-height: 1.45;
}

.p-eyebrow::before,
.p-eyebrow::after {
  content: "";
  width: 18px;
  height: 1px;
  background: #333;
  flex: none;
}

.p-eyebrow::before {
  transform: rotate(55deg);
}

.p-eyebrow::after {
  transform: rotate(-55deg);
}

.p-lead {
  display: flex;
  flex-direction: column;
  gap: 16px;
  font-size: 16px;
  letter-spacing: 1.28px;
  line-height: 1.45;
}

.p-lead__strong {
  margin: 0;
  font-size: 16px;
  font-weight: 700;
  letter-spacing: 1.28px;
  line-height: 1.45;
}

.p-lead p {
  margin: 0;
}

.p-photo {
  width: 100%;
  height: 401px;
  object-fit: cover;
}

.p-gallery {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.p-gallery img {
  display: block;
  width: 100%;
  aspect-ratio: 400 / 225;
  object-fit: cover;
}

.p-cards {
  display: flex;
  gap: 24px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.p-card {
  display: flex;
  flex: 1;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  min-width: 0;
  padding: 40px 16px;
  border-radius: 15px;
  text-align: center;
}

.p-card--worry {
  background: #dadada;
}

.p-card--promise {
  background: #e8e5de;
}

.p-card__icon {
  display: grid;
  place-items: center;
  width: 143px;
  height: 143px;
  border-radius: 50%;
  background: #fff;
}

.p-card__icon::before {
  content: "";
  width: 105px;
  height: 106px;
  background: #333;
  -webkit-mask-position: center;
  mask-position: center;
  -webkit-mask-size: contain;
  mask-size: contain;
  -webkit-mask-repeat: no-repeat;
  mask-repeat: no-repeat;
}

.p-card__icon--trust::before {
  -webkit-mask-image: url("../images/renewal/demolition/icon-trust.png");
  mask-image: url("../images/renewal/demolition/icon-trust.png");
}

.p-card__icon--cost::before {
  -webkit-mask-image: url("../images/renewal/demolition/icon-cost.png");
  mask-image: url("../images/renewal/demolition/icon-cost.png");
}

.p-card__icon--contact::before {
  -webkit-mask-image: url("../images/renewal/demolition/icon-contact.png");
  mask-image: url("../images/renewal/demolition/icon-contact.png");
}

.p-card__icon--schedule::before {
  -webkit-mask-image: url("../images/renewal/demolition/icon-schedule.png");
  mask-image: url("../images/renewal/demolition/icon-schedule.png");
}

.p-card__icon--gold::before {
  background: #a5915a;
}

.p-card h3 {
  font-size: 22px;
  font-weight: 700;
  line-height: 1.6;
}

.p-card--worry h3 {
  color: #ba534d;
}

.p-card--promise h3 {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  color: #503c06;
}

.p-card--promise h3::after {
  content: "";
  width: 222px;
  max-width: 100%;
  height: 6px;
  background: #e3ca7e;
}

.p-card p {
  width: min(309px, 100%);
  margin: 0;
  font-size: 16px;
  letter-spacing: 0.32px;
  line-height: 1.6;
  text-align: left;
}

.p-steps {
  display: flex;
  flex-direction: column;
  gap: 32px;
  width: 100%;
  margin: 0;
  padding: 0;
  list-style: none;
}

.p-step {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 20px;
  background: #fff;
  box-shadow: 0 0 6px rgba(0, 0, 0, 0.06);
}

.p-step__head {
  display: flex;
  align-items: center;
  gap: 12px;
}

.p-step__head span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 20px;
  border-radius: 27px;
  background: #a5915a;
  color: #fff;
  font-family: Montserrat, sans-serif;
  font-size: 20px;
  font-weight: 600;
  letter-spacing: 1.4px;
  line-height: 1.6;
}

.p-step__head h3 {
  color: #a5915a;
  font-size: 24px;
  font-weight: 700;
  line-height: 1.6;
}

.p-step p {
  margin: 0;
  font-size: 16px;
  letter-spacing: 0.32px;
  line-height: 1.6;
}

.p-cases {
  display: flex;
  gap: 32px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.p-cases li {
  display: flex;
  flex: 1;
  flex-direction: column;
  gap: 16px;
  min-width: 0;
}

.p-cases img {
  width: 100%;
  height: 194px;
  object-fit: cover;
}

.p-cases h3 {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  color: #333;
  font-size: 22px;
  font-weight: 700;
  line-height: 1.6;
  text-align: center;
}

.p-cases h3::after {
  content: "";
  width: 222px;
  max-width: 100%;
  height: 6px;
  background: #a5915a;
}

.p-cases h3.is-wide::after {
  width: 100%;
}

.p-cases p {
  margin: 0;
  font-size: 16px;
  letter-spacing: 0.32px;
  line-height: 1.6;
}

@media screen and (max-width: 1100px) {
  .p-cards,
  .p-cases {
    flex-direction: column;
  }

  .p-gallery {
    grid-template-columns: repeat(2, 1fr);
  }

  .p-secHead h2 {
    font-size: 20px;
    letter-spacing: 1px;
  }
}

@media screen and (max-width: 768px) {
  .p-pageFv {
    height: 280px;
  }

  .p-pageFv__bg img {
    object-position: right center;
  }

  .p-demolitionPage .l-header {
    background: #fff;
    box-shadow: 0 1px 8px rgba(0, 0, 0, 0.06);
  }

  .p-pageFv__title {
    top: auto;
    right: 20px;
    bottom: 36px;
    left: 24px;
  }

  .p-pageFv__title h1 {
    font-size: 30px;
    letter-spacing: 0.4px;
  }

  .p-pageFv__title p {
    margin-top: 8px;
    font-size: 18px;
  }

  .p-demolition {
    gap: 56px;
    margin-top: 48px;
    margin-bottom: 48px;
  }

  .p-photo {
    height: 220px;
  }

  .p-card {
    padding: 28px 16px;
  }

  .p-card__icon {
    width: 112px;
    height: 112px;
  }

  .p-card__icon::before {
    width: 80px;
    height: 80px;
  }

  .p-step__head {
    flex-wrap: wrap;
  }

  .p-step__head h3 {
    min-width: 0;
    font-size: 18px;
  }

  .p-cases h3 {
    font-size: 18px;
  }
}
