/* template-machine-lp.css
 * 対象テンプレート: template-machine-lp.php（ウルセラ LP / page ID:13362）
 * 追加日: 2026.04.15
 * ---------------------------------------------------------------- */

/* ウルセラの歴史 */
/* #feature .content-body h5 {
  color: #333333;
  font-size: 24px;
  margin: 40px 0 24px;
} */

.wrapper.lp.topics #feature .content-body h4 {
  color: #333333;
  font-size: 24px;
  margin: 40px 0 24px;
  line-height: 1.5;
  position: static;
}
@media screen and (max-width: 1200px) {
  .wrapper.lp.topics #feature .content-body h4 {
    color: #333333;
    font-size: 5.333vw;
    margin: 40px 0 24px;
  }
}

/* ウルセラリフトが選ばれる理由 */
.wrapper.lp.topics #feature .content-body .heading-sub {
  font-size: 28px;
}
@media screen and (max-width: 768px) {
  .wrapper.lp.topics #feature .content-body .heading-sub {
    font-size: 5.333vw;
  }
}

/* 症例写真 */
.wrapper.lp.topics .content-machine.content-lp .main article h4 {
  margin-top: 0;
  color: #fa657a;
}
@media screen and (max-width: 1200px) {
  .wrapper.lp.topics .content-machine.content-lp .main article h4,
  .wrapper.lp.topics .content-machine.content-lp .main__caseDes h4 {
    margin-top: 0;
    color: #fa657a;
  }
}

/* [追加 2026.04.15] QAエリア内h5→h4補完（content2.css L1821の漏れ） */
.wrapper.lp.topics .content-machine.content-lp .main article .p-qa-item h4 {
  margin-top: 0;
  color: #333333;
}

/* メカニズム */
.wrapper.lp.topics #mechanism .img-text .text h4 {
  font-size: 24px;
  margin-bottom: 1em;
}
@media screen and (max-width: 1200px) {
  .wrapper.lp.topics #mechanism .img-text .text h4 {
    font-size: 4.266vw;
    margin-top: 1em;
    margin-bottom: 1em;
  }
}

.wrapper.lp.topics #feature .inner .main__section4:has(.compare-heading-ulthera) > h3.heading4 {
  color: #fa657a;
  text-align: center;
  font-size: 24px;
  font-weight: 700;
  line-height: 30px;
  width: fit-content;
  margin: 64px auto 20px;
  padding: 0;
  position: relative;
}
.wrapper.lp.topics #feature .inner .main__section4:has(.compare-heading-ulthera) > h3.heading4::before {
  content: "";
  width: 25px;
  height: 38px;
  position: absolute;
  left: -32px;
  bottom: -2px;
  background: url(../../assets/img/operation/icon-viceline-left.png) no-repeat top / cover;
}
.wrapper.lp.topics #feature .inner .main__section4:has(.compare-heading-ulthera) > h3.heading4::after {
  content: "";
  width: 25px;
  height: 38px;
  position: absolute;
  right: -32px;
  bottom: -2px;
  background: url(../../assets/img/operation/icon-viceline-right.png) no-repeat top / cover;
}

@media (min-width: 769px) {
  .wrapper.lp.topics #feature .inner .main__section4:has(.compare-heading-ulthera) > h3.heading4 .sp {
    display: none;
  }
}

.wrapper.lp.topics #feature .inner .main__section4 h4.compare-heading-ulthera {
  color: #fa657a;
  text-align: center;
  font-size: 24px;
  font-weight: 700;
  line-height: 30px;
  width: fit-content;
  margin: 64px auto 20px;
  padding: 0;
  position: relative;
}

.wrapper.lp.topics #mechanism .inner .main__section4 h4 {
  padding-right: 0;
  line-height: 1.5;
}

@media screen and (max-width: 1200px) {
  .wrapper.lp.topics #mechanism .inner .main__section4 h4:after {
    display: none;
  }
}

/* [追加 2026.04.16] content2.css L4870と同等の挙動をh4にも適用 */
@media screen and (max-width: 1200px) {
  .wrapper.lp.topics #mechanism .img-text.block-half .text h4 br {
    display: none;
  }
  .wrapper.lp.topics #mechanism .img-text.block-half .text h4 br + br {
    display: block;
  }
}
