#body_wrap.page:not(.page-id-142) {
  background: #f3eef7;
}

#body_wrap.page:not(.page-id-142) #breadcrumb,
#body_wrap.page:not(.page-id-142) .p-breadcrumb,
#body_wrap.page:not(.page-id-142) .c-breadcrumb,
#body_wrap.page:not(.page-id-142) .l-topTitleArea,
#body_wrap.page:not(.page-id-142) .c-pageTitle,
#body_wrap.page:not(.page-id-142) .c-prNotation {
  display: none !important;
}

#body_wrap.page:not(.page-id-142) .l-content,
#body_wrap.page:not(.page-id-142) .l-mainContent,
#body_wrap.page:not(.page-id-142) .l-mainContent__inner,
#body_wrap.page:not(.page-id-142) .post_content {
  background: #f3eef7 !important;
}

#body_wrap.page:not(.page-id-142) .l-content {
  max-width: 1040px;
  padding-top: clamp(28px, 5vw, 58px);
  padding-bottom: clamp(48px, 7vw, 86px);
}

#body_wrap.page:not(.page-id-142) .l-mainContent {
  margin-left: auto !important;
  margin-right: auto !important;
  max-width: 920px !important;
  width: 100% !important;
}

#body_wrap.page:not(.page-id-142) .post_content {
  color: #221733;
}

#body_wrap.page:not(.page-id-142) .post_content > .khb-policy,
#body_wrap.page:not(.page-id-142) .post_content > .khb-page,
#body_wrap.page:not(.page-id-142) .post_content > .wp-fortune-category-page,
#body_wrap.page:not(.page-id-142) .post_content > .wp-fortune-safe-use,
#body_wrap.page:not(.page-id-142) .post_content > .fortune-static-page {
  background: #fff !important;
  border: 1px solid #e4d8ec !important;
  border-radius: 8px !important;
  box-shadow: 0 18px 48px rgba(34, 23, 51, 0.07) !important;
  color: #221733 !important;
  margin: 0 auto !important;
  max-width: 920px !important;
  padding: clamp(28px, 5vw, 54px) !important;
}

#body_wrap.page:not(.page-id-142) .post_content h1 {
  color: #221733 !important;
  font-size: clamp(2rem, 5vw, 3rem) !important;
  letter-spacing: 0 !important;
  line-height: 1.35 !important;
  margin: 0 0 22px !important;
}

#body_wrap.page:not(.page-id-142) .post_content h2 {
  background: transparent !important;
  border-bottom: 1px solid #e4d8ec !important;
  color: #221733 !important;
  font-size: clamp(1.18rem, 3vw, 1.45rem) !important;
  line-height: 1.55 !important;
  margin: 34px 0 14px !important;
  padding: 0 0 10px !important;
}

#body_wrap.page:not(.page-id-142) .post_content h2::before,
#body_wrap.page:not(.page-id-142) .post_content h2::after,
#body_wrap.page:not(.page-id-142) .post_content h3::before,
#body_wrap.page:not(.page-id-142) .post_content h3::after {
  content: none !important;
  display: none !important;
}

#body_wrap.page:not(.page-id-142) .post_content h3 {
  border-left: 3px solid #a985c8 !important;
  color: #221733 !important;
  font-size: 1.08rem !important;
  margin: 26px 0 10px !important;
  padding: 0 0 0 12px !important;
}

#body_wrap.page:not(.page-id-142) .post_content p,
#body_wrap.page:not(.page-id-142) .post_content li {
  color: #4f4659 !important;
  line-height: 1.95 !important;
}

#body_wrap.page:not(.page-id-142) .post_content ul,
#body_wrap.page:not(.page-id-142) .post_content ol {
  padding-left: 1.35em;
}

#body_wrap.page:not(.page-id-142) .post_content a {
  color: #6f3f98;
  text-decoration: underline;
  text-underline-offset: 3px;
}

#body_wrap.page:not(.page-id-142) .khb-policy__note,
#body_wrap.page:not(.page-id-142) .fortune-static-page__note {
  background: #f8f4fb !important;
  border: 1px solid #e4d8ec !important;
  border-radius: 8px !important;
  color: #4f4659 !important;
  padding: 16px 18px !important;
}

#body_wrap.page:not(.page-id-142) .fortune-static-page__links {
  display: grid;
  gap: 10px;
  margin-top: 22px;
}

#body_wrap.page:not(.page-id-142) .fortune-static-page__button {
  align-items: center;
  background: #221733;
  border-radius: 6px;
  color: #fff !important;
  display: inline-flex;
  font-weight: 700;
  justify-content: center;
  min-height: 44px;
  padding: 11px 16px;
  text-decoration: none !important;
}

#body_wrap.page:not(.page-id-142) .fortune-static-hero__lead,
#body_wrap.page:not(.page-id-142) .fortune-static-hero p,
#body_wrap.page:not(.page-id-142) .fortune-contact-hero__lead,
#body_wrap.page:not(.page-id-142) .fortune-contact-hero p {
  color: rgba(255, 255, 255, 0.78) !important;
}

#body_wrap.page:not(.page-id-142) .fortune-static-hero__eyebrow,
#body_wrap.page:not(.page-id-142) .fortune-contact-hero__eyebrow,
#body_wrap.page:not(.page-id-142) .fortune-contact-guide .fortune-section-eyebrow {
  color: #d8b7f0 !important;
}

#body_wrap.page:not(.page-id-142) .fortune-static-hero .fortune-static-hero__eyebrow,
#body_wrap.page:not(.page-id-142) .fortune-static-hero p.fortune-static-hero__eyebrow {
  color: #d8b7f0 !important;
}

#body_wrap.page:not(.page-id-142) .fortune-static-hero__title,
#body_wrap.page:not(.page-id-142) .fortune-static-hero__title em,
#body_wrap.page:not(.page-id-142) .fortune-contact-hero__title,
#body_wrap.page:not(.page-id-142) .fortune-contact-hero__title em {
  color: #ffffff !important;
}

#body_wrap.page:not(.page-id-142) .fortune-guide-box,
#body_wrap.page:not(.page-id-142) .fortune-contact-guide,
#body_wrap.page:not(.page-id-142) .fortune-static-contact-box {
  color: #ffffff !important;
}

#body_wrap.page:not(.page-id-142) .fortune-guide-box p,
#body_wrap.page:not(.page-id-142) .fortune-guide-text,
#body_wrap.page:not(.page-id-142) .fortune-contact-guide__text,
#body_wrap.page:not(.page-id-142) .fortune-contact-guide__item,
#body_wrap.page:not(.page-id-142) .fortune-static-contact-box p,
#body_wrap.page:not(.page-id-142) .fortune-static-contact-box__text {
  color: rgba(255, 255, 255, 0.78) !important;
}

#body_wrap.page:not(.page-id-142) .fortune-guide-box strong,
#body_wrap.page:not(.page-id-142) .fortune-contact-guide__item strong,
#body_wrap.page:not(.page-id-142) .fortune-static-contact-box strong,
#body_wrap.page:not(.page-id-142) .fortune-guide-title,
#body_wrap.page:not(.page-id-142) .fortune-contact-guide__title,
#body_wrap.page:not(.page-id-142) .fortune-static-contact-box__title {
  color: #ffffff !important;
}

#body_wrap.page:not(.page-id-142) .fortune-guide-box .fortune-section-eyebrow,
#body_wrap.page:not(.page-id-142) .fortune-contact-guide .fortune-section-eyebrow,
#body_wrap.page:not(.page-id-142) .fortune-static-contact-box__label {
  color: #d8b7f0 !important;
}

#body_wrap.page:not(.page-id-142) .fortune-contact-hero .fortune-contact-hero__eyebrow {
  color: #d8b7f0 !important;
}

#body_wrap.page:not(.page-id-142) .fortune-contact-guide .fortune-contact-guide__text,
#body_wrap.page:not(.page-id-142) .fortune-contact-guide p.fortune-contact-guide__text {
  color: rgba(255, 255, 255, 0.78) !important;
}

#body_wrap.page:not(.page-id-142) .fortune-contact-hero {
  min-height: 54vh !important;
}

#body_wrap.page:not(.page-id-142) .fortune-contact-hero__title {
  font-size: clamp(38px, 5.2vw, 72px) !important;
  letter-spacing: -0.035em !important;
  line-height: 1.18 !important;
}

.l-footer,
.l-footer__inner,
.p-footer,
.footer,
#footer {
  background: #221733 !important;
  color: rgba(255, 255, 255, 0.72) !important;
}

.l-footer a,
.p-footer a,
.footer a,
#footer a {
  color: rgba(255, 255, 255, 0.74) !important;
  text-decoration: none !important;
}

.l-footer a:hover,
.p-footer a:hover,
.footer a:hover,
#footer a:hover {
  color: #d8b7f0 !important;
}

.l-footer .copyright,
.p-footer__copy,
.copyright {
  color: rgba(255, 255, 255, 0.4) !important;
}

@media (max-width: 640px) {
  #body_wrap.page:not(.page-id-142) .l-content {
    padding-left: 16px;
    padding-right: 16px;
  }

  #body_wrap.page:not(.page-id-142) .post_content > .khb-policy,
  #body_wrap.page:not(.page-id-142) .post_content > .khb-page,
  #body_wrap.page:not(.page-id-142) .post_content > .wp-fortune-category-page,
  #body_wrap.page:not(.page-id-142) .post_content > .wp-fortune-safe-use,
  #body_wrap.page:not(.page-id-142) .post_content > .fortune-static-page {
    padding: 24px 18px !important;
  }
}

@media (max-width: 768px) {
  #body_wrap.page:not(.page-id-142) .fortune-contact-hero {
    min-height: auto !important;
    padding-top: 76px !important;
    padding-bottom: 78px !important;
  }

  #body_wrap.page:not(.page-id-142) .fortune-contact-hero__title {
    font-size: clamp(34px, 10vw, 52px) !important;
    line-height: 1.22 !important;
  }
}
