/* ==============================
  pest page
============================== */

.p-pest {
  color: #3b3028;
}

.p-pest img {
  max-width: 100%;
  height: auto;
}

.p-pest-visual {
  position: relative;
  padding: 120px 0 105px;
  background:
    linear-gradient(90deg, rgba(55, 43, 34, 0.9), rgba(55, 43, 34, 0.42)),
    url("/cms/wp-content/uploads/2026/04/pest-main.jpg") no-repeat center /
      cover;
  color: #fff;
  display: flex;
  justify-content: center;
}

.p-pest-visual__label {
  margin-bottom: 14px;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.18em;
  color: #d8c6a1;
}

.p-pest-visual h1 {
  margin-bottom: 20px;
  font-size: 46px;
  font-weight: 700;
  letter-spacing: 0.08em;
  line-height: 1.4;
}

.p-pest-visual__text {
  max-width: 760px;
  font-size: 18px;
  line-height: 2;
}

.p-pest-lead {
  padding: 85px 0;
  background: #fff;
  text-align: center;
}

.p-pest-lead .container {
  max-width: 100%;
}

.p-pest-lead h2 {
  position: relative;
  margin-bottom: 32px;
  padding-bottom: 20px;
  font-size: 32px;
  font-weight: 700;
  line-height: 1.7;
}

.p-pest-lead h2::after,
.p-pest-heading::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 50%;
  width: 64px;
  height: 3px;
  background: #9a7a48;
  transform: translateX(-50%);
}

.p-pest-lead p {
  font-size: 16px;
  line-height: 2.2;
}

.p-pest-section {
  padding: 85px 0;
}

.p-pest-section--beige {
  background: #f7f4ee;
}

.p-pest-heading {
  position: relative;
  margin-bottom: 44px;
  padding-bottom: 18px;
  font-size: 32px;
  font-weight: 700;
  text-align: center;
  line-height: 1.6;
}

.p-pest-trouble {
  max-width: 930px;
  margin: 0 auto;
  padding: 42px 48px;
  background: #fff;
  border: 1px solid #e5dece;
  border-radius: 18px;
  box-shadow: 0 12px 32px rgba(60, 45, 30, 0.08);
}

.p-pest-trouble ul {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px 32px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.p-pest-trouble li {
  position: relative;
  padding-left: 34px;
  font-weight: 600;
  line-height: 1.8;
}

.p-pest-trouble li::before {
  content: "\f00c";
  position: absolute;
  top: 1px;
  left: 0;
  font-family: "Font Awesome 5 Free";
  font-weight: 900;
  color: #9a7a48;
}

.p-pest-card-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.p-pest-card {
  overflow: hidden;
  background: #fff;
  border-radius: 18px;
  box-shadow: 0 10px 28px rgba(60, 45, 30, 0.08);
}

.p-pest-card figure {
  margin: 0;
}

.p-pest-card img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  display: block;
}

.p-pest-card__body {
  padding: 24px 22px 28px;
}

.p-pest-card__body h3 {
  margin-bottom: 12px;
  font-size: 21px;
  font-weight: 700;
}

.p-pest-card__body p {
  margin-bottom: 0;
  line-height: 1.9;
}

.p-pest-service {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 46px;
  align-items: center;
  margin-bottom: 64px;
  padding: 10px;
}

.p-pest-service:last-child {
  margin-bottom: 0;
}

.p-pest-service--reverse .p-pest-service__text {
  order: 2;
}

.p-pest-service--reverse .p-pest-service__image {
  order: 1;
}

.p-pest-service__text {
  padding: 44px;
  background: #fff;
  border-radius: 18px;
  box-shadow: 0 10px 28px rgba(60, 45, 30, 0.07);
}

.p-pest-service__text span {
  display: inline-block;
  margin-bottom: 12px;
  font-size: 34px;
  font-weight: 700;
  color: #9a7a48;
  line-height: 1;
}

.p-pest-service__text h3 {
  position: relative;
  margin-bottom: 18px;
  padding-left: 18px;
  font-size: 24px;
  font-weight: 700;
  line-height: 1.6;
}

.p-pest-service__text h3::before {
  content: "";
  position: absolute;
  top: 0.35em;
  left: 0;
  width: 4px;
  height: 1.4em;
  background: #9a7a48;
}

.p-pest-service__text p {
  margin-bottom: 0;
  line-height: 2;
}

.p-pest-service__image {
  margin: 0;
}

.p-pest-service__image img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: 18px;
  display: block;
}

.p-pest-flow {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 18px;
}

.p-pest-flow__item {
  position: relative;
  padding: 32px 22px 28px;
  background: #fff;
  border: 1px solid #eee7dc;
  border-radius: 18px;
  box-shadow: 0 10px 28px rgba(60, 45, 30, 0.07);
}

.p-pest-flow__item span {
  display: inline-block;
  margin-bottom: 16px;
  font-size: 34px;
  font-weight: 700;
  color: #9a7a48;
  line-height: 1;
}

.p-pest-flow__item h3 {
  margin-bottom: 10px;
  font-size: 19px;
  font-weight: 700;
}

.p-pest-flow__item p {
  margin-bottom: 0;
  line-height: 1.8;
}

.p-pest-contact {
  padding: 95px 0;
  background:
    linear-gradient(90deg, rgba(55, 43, 34, 0.94), rgba(55, 43, 34, 0.84)),
    url("/cms/wp-content/uploads/2026/04/pest-contact.jpg") no-repeat center /
      cover;
  color: #fff;
  text-align: center;
}

.p-pest-contact__label {
  margin-bottom: 12px;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.18em;
  color: #d8c6a1;
}

.p-pest-contact h2 {
  margin-bottom: 24px;
  font-size: 34px;
  font-weight: 700;
  line-height: 1.7;
}

.p-pest-contact p {
  line-height: 2;
}

.p-pest-contact__btn {
  display: inline-block;
  min-width: 280px;
  margin-top: 30px;
  padding: 18px 36px;
  background: #fff;
  color: #3b3028;
  border-radius: 999px;
  font-weight: 700;
  text-decoration: none;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.18);
}

.p-pest-contact__btn:hover {
  opacity: 0.85;
  color: #3b3028;
  text-decoration: none;
}

@media (max-width: 991px) {
  .p-pest-card-grid,
  .p-pest-flow {
    grid-template-columns: repeat(2, 1fr);
  }

  .p-pest-service,
  .p-pest-service--reverse {
    grid-template-columns: 1fr;
  }

  .p-pest-service--reverse .p-pest-service__text,
  .p-pest-service--reverse .p-pest-service__image {
    order: initial;
  }
}

@media (max-width: 767px) {
  .p-pest-visual {
    padding: 72px 0 64px;
  }

  .p-pest-visual h1 {
    font-size: 32px;
  }

  .p-pest-visual__text {
    font-size: 15px;
  }

  .p-pest-lead,
  .p-pest-section,
  .p-pest-contact {
    padding: 56px 0;
  }

  .p-pest-lead {
    text-align: left;
  }

  .p-pest-lead h2,
  .p-pest-heading,
  .p-pest-contact h2 {
    font-size: 20px;
    text-align: center;
  }

  .p-pest-lead h2::after,
  .p-pest-heading::after {
    left: 0;
    transform: none;
    right: 0;
    margin: auto;
  }

  .p-pest-trouble {
    padding: 26px 22px;
  }

  .p-pest-trouble ul,
  .p-pest-card-grid,
  .p-pest-flow {
    grid-template-columns: 1fr;
  }

  .p-pest-service {
    gap: 24px;
    margin-bottom: 42px;
  }

  .p-pest-service__text {
    padding: 28px 22px;
  }

  .p-pest-service__text span,
  .p-pest-flow__item span {
    font-size: 28px;
  }

  .p-pest-service__text h3 {
    font-size: 21px;
  }

  .p-pest-contact {
    text-align: center;
  }

  .p-pest-contact__btn {
    width: fit-content;
    min-width: auto;
    text-align: center;
  }
  .sp-center {
    text-align: center;
  }
}

/* ==============================
  pest page color adjustment
  内装センター既存デザイン寄せ
============================== */

.p-pest {
  color: #222;
  --pest-red: #d71920;
  --pest-blue: #005bac;
  --pest-navy: #003f7f;
  --pest-light-blue: #f0f7ff;
  --pest-light-red: #fff3f3;
  --pest-border: #dbe8f5;
}

/* FV */
.p-pest-visual {
  background:
    linear-gradient(90deg, rgba(0, 63, 127, 0.92), rgba(0, 91, 172, 0.48)),
    url("/cms/wp-content/uploads/2026/04/pest-main.jpg") no-repeat center /
      cover;
}

.p-pest-visual__label {
  color: #fff;
  background: var(--pest-red);
  display: inline-block;
  padding: 6px 14px;
  border-radius: 999px;
}

/* 見出し下線 */
.p-pest-lead h2::after,
.p-pest-heading::after {
  background: linear-gradient(
    90deg,
    var(--pest-red) 0%,
    var(--pest-red) 45%,
    var(--pest-blue) 45%,
    var(--pest-blue) 100%
  );
}

/* セクション背景 */
.p-pest-section--beige {
  background: var(--pest-light-blue);
}

/* お悩み */
.p-pest-trouble {
  border: 2px solid var(--pest-border);
  box-shadow: 0 12px 32px rgba(0, 91, 172, 0.08);
}

.p-pest-trouble li::before {
  color: var(--pest-red);
}

/* カード */
.p-pest-card {
  border: 1px solid var(--pest-border);
  box-shadow: 0 10px 28px rgba(0, 91, 172, 0.08);
}

.p-pest-card__body h3 {
  color: var(--pest-blue);
}

/* 内装センターの害獣対策 */
.p-pest-service__text {
  border: 1px solid var(--pest-border);
  box-shadow: 0 10px 28px rgba(0, 91, 172, 0.08);
}

.p-pest-service__text span {
  color: var(--pest-red);
}

.p-pest-service__text h3 {
  color: var(--pest-blue);
}

.p-pest-service__text h3::before {
  background: var(--pest-red);
}

/* 流れ */
.p-pest-flow__item {
  border: 1px solid var(--pest-border);
  box-shadow: 0 10px 28px rgba(0, 91, 172, 0.08);
}

.p-pest-flow__item span {
  color: var(--pest-red);
}

.p-pest-flow__item h3 {
  color: var(--pest-blue);
}

/* CTA */
.p-pest-contact {
  background:
    linear-gradient(90deg, rgba(0, 63, 127, 0.94), rgba(0, 91, 172, 0.86)),
    url("/cms/wp-content/uploads/2026/04/pest-contact.jpg") no-repeat center /
      cover;
}

.p-pest-contact__label {
  color: #fff;
  background: var(--pest-red);
  display: inline-block;
  padding: 6px 14px;
  border-radius: 999px;
}

.p-pest-contact__btn {
  background: var(--pest-red);
  color: #fff;
  box-shadow: 0 8px 20px rgba(215, 25, 32, 0.25);
}

.p-pest-contact__btn:hover {
  color: #fff;
  opacity: 0.85;
}

/* ==============================
  estate cleaning page
============================== */

.p-cleaning {
  color: #222;
  --cleaning-red: #d71920;
  --cleaning-blue: #005bac;
  --cleaning-navy: #003f7f;
  --cleaning-light-blue: #f0f7ff;
  --cleaning-border: #dbe8f5;
}

.p-cleaning img {
  max-width: 100%;
  height: auto;
}

.p-cleaning-visual {
  position: relative;
  padding: 120px 0 105px;
  background:
    linear-gradient(90deg, rgba(0, 63, 127, 0.92), rgba(0, 91, 172, 0.48)),
    url("/cms/wp-content/uploads/2026/04/cleaning-main.jpg") no-repeat center /
      cover;
  color: #fff;
  display: flex;
  justify-content: center;
}

.p-cleaning-visual__label {
  display: inline-block;
  margin-bottom: 14px;
  padding: 6px 14px;
  background: var(--cleaning-red);
  border-radius: 999px;
  color: #fff;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.18em;
}

.p-cleaning-visual h1 {
  margin-bottom: 20px;
  font-size: 46px;
  font-weight: 700;
  letter-spacing: 0.08em;
  line-height: 1.4;
}

.p-cleaning-visual__text {
  max-width: 760px;
  font-size: 18px;
  line-height: 2;
}

.p-cleaning-lead {
  padding: 85px 0;
  background: #fff;
  text-align: center;
}

.p-cleaning-lead .container {
  max-width: 100%;
}

.p-cleaning-lead h2 {
  position: relative;
  margin-bottom: 32px;
  padding-bottom: 20px;
  font-size: 32px;
  font-weight: 700;
  line-height: 1.7;
}

.p-cleaning-lead h2::after,
.p-cleaning-heading::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 50%;
  width: 64px;
  height: 3px;
  background: linear-gradient(
    90deg,
    var(--cleaning-red) 0%,
    var(--cleaning-red) 45%,
    var(--cleaning-blue) 45%,
    var(--cleaning-blue) 100%
  );
  transform: translateX(-50%);
}

.p-cleaning-lead p {
  font-size: 16px;
  line-height: 2.2;
}

.p-cleaning-section {
  padding: 85px 0;
}

.p-cleaning-section--blue {
  background: var(--cleaning-light-blue);
}

.p-cleaning-heading {
  position: relative;
  margin-bottom: 44px;
  padding-bottom: 18px;
  font-size: 32px;
  font-weight: 700;
  text-align: center;
  line-height: 1.6;
}

.p-cleaning-trouble {
  max-width: 930px;
  margin: 0 auto;
  padding: 42px 48px;
  background: #fff;
  border: 2px solid var(--cleaning-border);
  border-radius: 18px;
  box-shadow: 0 12px 32px rgba(0, 91, 172, 0.08);
}

.p-cleaning-trouble ul {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px 32px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.p-cleaning-trouble li {
  position: relative;
  padding-left: 34px;
  font-weight: 600;
  line-height: 1.8;
}

.p-cleaning-trouble li::before {
  content: "\f00c";
  position: absolute;
  top: 1px;
  left: 0;
  font-family: "Font Awesome 5 Free";
  font-weight: 900;
  color: var(--cleaning-red);
}

.p-cleaning-card-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.p-cleaning-card {
  overflow: hidden;
  background: #fff;
  border: 1px solid var(--cleaning-border);
  border-radius: 18px;
  box-shadow: 0 10px 28px rgba(0, 91, 172, 0.08);
}

.p-cleaning-card figure {
  margin: 0;
}

.p-cleaning-card img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  display: block;
}

.p-cleaning-card__body {
  padding: 24px 22px 28px;
}

.p-cleaning-card__body h3 {
  margin-bottom: 12px;
  color: var(--cleaning-blue);
  font-size: 21px;
  font-weight: 700;
}

.p-cleaning-card__body p {
  margin-bottom: 0;
  line-height: 1.9;
}

.p-cleaning-service {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 46px;
  align-items: center;
  margin-bottom: 64px;
  padding: 10px;
}

.p-cleaning-service:last-child {
  margin-bottom: 0;
}

.p-cleaning-service--reverse .p-cleaning-service__text {
  order: 2;
}

.p-cleaning-service--reverse .p-cleaning-service__image {
  order: 1;
}

.p-cleaning-service__text {
  padding: 44px;
  background: #fff;
  border: 1px solid var(--cleaning-border);
  border-radius: 18px;
  box-shadow: 0 10px 28px rgba(0, 91, 172, 0.08);
}

.p-cleaning-service__text span {
  display: inline-block;
  margin-bottom: 12px;
  color: var(--cleaning-red);
  font-size: 34px;
  font-weight: 700;
  line-height: 1;
}

.p-cleaning-service__text h3 {
  position: relative;
  margin-bottom: 18px;
  padding-left: 18px;
  color: var(--cleaning-blue);
  font-size: 24px;
  font-weight: 700;
  line-height: 1.6;
}

.p-cleaning-service__text h3::before {
  content: "";
  position: absolute;
  top: 0.35em;
  left: 0;
  width: 4px;
  height: 1.4em;
  background: var(--cleaning-red);
}

.p-cleaning-service__text p {
  margin-bottom: 0;
  line-height: 2;
}

.p-cleaning-service__image {
  margin: 0;
}

.p-cleaning-service__image img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: 18px;
  display: block;
}

.p-cleaning-flow {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 18px;
}

.p-cleaning-flow__item {
  position: relative;
  padding: 32px 22px 28px;
  background: #fff;
  border: 1px solid var(--cleaning-border);
  border-radius: 18px;
  box-shadow: 0 10px 28px rgba(0, 91, 172, 0.08);
}

.p-cleaning-flow__item span {
  display: inline-block;
  margin-bottom: 16px;
  color: var(--cleaning-red);
  font-size: 34px;
  font-weight: 700;
  line-height: 1;
}

.p-cleaning-flow__item h3 {
  margin-bottom: 10px;
  color: var(--cleaning-blue);
  font-size: 19px;
  font-weight: 700;
}

.p-cleaning-flow__item p {
  margin-bottom: 0;
  line-height: 1.8;
}

.p-cleaning-note {
  padding: 70px 0;
  background: var(--cleaning-light-blue);
}

.p-cleaning-note__inner {
  max-width: 980px;
  margin: 0 auto;
  padding: 42px 48px;
  background: #fff;
  border-left: 6px solid var(--cleaning-red);
  border-radius: 18px;
  box-shadow: 0 12px 32px rgba(0, 91, 172, 0.08);
}

.p-cleaning-note__inner h2 {
  margin-bottom: 18px;
  color: var(--cleaning-blue);
  font-size: 26px;
  font-weight: 700;
  line-height: 1.6;
}

.p-cleaning-note__inner p {
  margin-bottom: 0;
  line-height: 2;
}

.p-cleaning-contact {
  padding: 95px 0;
  background:
    linear-gradient(90deg, rgba(0, 63, 127, 0.94), rgba(0, 91, 172, 0.86)),
    url("/cms/wp-content/uploads/2026/04/cleaning-contact.jpg") no-repeat
      center / cover;
  color: #fff;
  text-align: center;
}

.p-cleaning-contact__label {
  display: inline-block;
  margin-bottom: 12px;
  padding: 6px 14px;
  background: var(--cleaning-red);
  border-radius: 999px;
  color: #fff;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.18em;
}

.p-cleaning-contact h2 {
  margin-bottom: 24px;
  font-size: 34px;
  font-weight: 700;
  line-height: 1.7;
}

.p-cleaning-contact p {
  line-height: 2;
}

.p-cleaning-contact__btn {
  display: inline-block;
  min-width: 280px;
  margin-top: 30px;
  padding: 18px 36px;
  background: var(--cleaning-red);
  color: #fff;
  border-radius: 999px;
  font-weight: 700;
  text-decoration: none;
  box-shadow: 0 8px 20px rgba(215, 25, 32, 0.25);
}

.p-cleaning-contact__btn:hover {
  color: #fff;
  opacity: 0.85;
  text-decoration: none;
}

@media (max-width: 991px) {
  .p-cleaning-card-grid,
  .p-cleaning-flow {
    grid-template-columns: repeat(2, 1fr);
  }

  .p-cleaning-service,
  .p-cleaning-service--reverse {
    grid-template-columns: 1fr;
  }

  .p-cleaning-service--reverse .p-cleaning-service__text,
  .p-cleaning-service--reverse .p-cleaning-service__image {
    order: initial;
  }
}

@media (max-width: 767px) {
  .p-cleaning-visual {
    padding: 72px 0 64px;
  }

  .p-cleaning-visual h1 {
    font-size: 32px;
  }

  .p-cleaning-visual__text {
    font-size: 15px;
  }

  .p-cleaning-lead,
  .p-cleaning-section,
  .p-cleaning-contact {
    padding: 56px 0;
  }

  .p-cleaning-lead {
    text-align: left;
  }

  .p-cleaning-lead h2,
  .p-cleaning-heading,
  .p-cleaning-contact h2 {
    font-size: 24px;
    text-align: left;
  }

  .p-cleaning-lead h2::after,
  .p-cleaning-heading::after {
    left: 0;
    transform: none;
  }

  .p-cleaning-trouble {
    padding: 26px 22px;
  }

  .p-cleaning-trouble ul,
  .p-cleaning-card-grid,
  .p-cleaning-flow {
    grid-template-columns: 1fr;
  }

  .p-cleaning-service {
    gap: 24px;
    margin-bottom: 42px;
    padding: 0;
  }

  .p-cleaning-service__text {
    padding: 28px 22px;
  }

  .p-cleaning-service__text span,
  .p-cleaning-flow__item span {
    font-size: 28px;
  }

  .p-cleaning-service__text h3 {
    font-size: 21px;
  }

  .p-cleaning-note {
    padding: 56px 0;
  }

  .p-cleaning-note__inner {
    padding: 28px 22px;
  }

  .p-cleaning-note__inner h2 {
    font-size: 22px;
  }

  .p-cleaning-contact {
    text-align: left;
  }

  .p-cleaning-contact__btn {
    width: 100%;
    min-width: auto;
    text-align: center;
  }
}
