/*--------lp2-------------*/
.mv_lower {
    background: url(/wp/wp-content/uploads/mv_pc.png) no-repeat center center / cover;
    max-width: 100%;
    padding: 12rem 0 6rem;    
}
.mv_lower::after {
    content: none;
}
.mv_lower .h1_wrap::after {
    background: none;
    box-shadow: unset;
}
.mv_lower h1,.mv_lower .operation {
    text-shadow: 0 0 6px #ffffff;
}
.mv_lower h1 {
    margin-bottom: 2rem;
}
.h1_wrap p {
    display: inline;
    background: #003894;
    color: #fff;
    padding: 0.2rem 0.65rem;
    margin-bottom: 0.5rem;
    line-height: 2.0;
    box-decoration-break: clone;
    -webkit-box-decoration-break: clone;
}
.mv_lower .h1_wrap {
    padding-bottom: 1rem;
}
.befaf ul {
    margin: 3rem 2rem;
}
.befaf ul li:before {
    content: "";
    background: url(/wp/wp-content/uploads/bef1.png) no-repeat center center / contain;
    width: 5rem;
    height: 5rem;
    position: unset;
	flex-shrink: 0;
	position:absolute;
    left: 1rem;
    top: 0;
    bottom: 0;
	margin: auto;
}
.befaf .bef ul li:nth-of-type(2):before {
    background: url(/wp/wp-content/uploads/bef2.png) no-repeat center center / contain;
}
.befaf .bef ul li:nth-of-type(3):before {
    background: url(/wp/wp-content/uploads/bef3.png) no-repeat center center / contain;
}
.befaf .bef ul li:nth-of-type(4):before {
    background: url(/wp/wp-content/uploads/bef4.png) no-repeat center center / contain;
}
.befaf .af ul li:nth-of-type(1):before {
    background: url(/wp/wp-content/uploads/af1.png) no-repeat center center / contain;
}
.befaf .af ul li:nth-of-type(2):before {
    background: url(/wp/wp-content/uploads/af2.png) no-repeat center center / contain;
}
.befaf .af ul li:nth-of-type(3):before {
    background: url(/wp/wp-content/uploads/af3.png) no-repeat center center / contain;
}
.befaf .af ul li:nth-of-type(4):before {
    background: url(/wp/wp-content/uploads/af4.png) no-repeat center center / contain;
}
.befaf ul li {
    display: flex;
    align-items: center;
    font-size: 2.4rem;
    padding-left: 7rem;
    position: relative;	
    min-height: 7rem;	
}
.af span.txt_bold {
    font-size: 3rem;
    line-height: 1.25;
}
.lp2 .contents ul li:last-child span.txt_bold {
    font-size: 2.4rem;
}
span.txt_bold {
    position: relative;
    display: inline-block;
    z-index: 2;
}
span.txt_bold:after {
    padding: 2px 0;
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;
    z-index: -1;
    width: 100%;
    height: 8px;
    background-color: #fff8bf;
    border-radius: 2px;
}
p.tit {
    text-align: center;
    font-size: 2.5rem;
    font-weight: bold;
    color: #003894;
    margin-top: 3rem;
}
p.mid {
	font-weight: 900;
    font-size: 3rem;
    letter-spacing: 2px;
    text-align: center;
    position: relative;
    z-index: 1;
    text-shadow:
    1px  1px 0 #fff,
   -1px  1px 0 #fff,
    1px -1px 0 #fff,
   -1px -1px 0 #fff,
    0px  1px 0 #fff,
    0px -1px 0 #fff,
    1px  0px 0 #fff,
   -1px  0px 0 #fff;
}
.af p.mid {
    background: #ddeefe;
    margin-top: 0;
    border-radius: 1rem 1rem 0 0;
    border-bottom: 0;
    color: unset;
    padding: 1rem;
}
.bef p.mid {
    background: #e7e9eb;
    margin-top: 0;
    border-radius: 1rem 1rem 0 0;
    border-bottom: 0;
    color: unset;
    padding: 1rem;	
}
.af, bef {
    border: none;
    background: #fff;
    padding: 0;
    box-shadow: 0 0 30px rgba(78, 157, 235, 0.2);
    border-radius: 1rem;
}
p.mid:after {
    z-index: -1;
    content: "";
    background: url(https://www.medi-nowa.com/wp/wp-content/uploads/After.png) no-repeat center center / contain;
    width: 180px;
    height: 100px;
    display: block;
    position: absolute;
    right: 0;
    bottom: -3rem;
}
.bef p.mid:after {
    background: url(https://www.medi-nowa.com/wp/wp-content/uploads/Before.png) no-repeat center center / contain;
}
.befaf ul li {
    line-height: 1.3;
    display: flex;
    align-items: center;
    font-size: 2.4rem;
    border-bottom: 1px solid #eee;
    margin-bottom: 1.5rem;
    padding-bottom: 0.5rem;
}
.befaf {
    background: linear-gradient(90deg, #c0f6fc, #73c8f9);
    padding: 1rem;
    display: flex;
    justify-content: center;
    gap: 1rem;
}
.befaf div {
    width: calc(100% / 2 - 1rem);
    background: #fff;
    border-radius: 1rem;
}


/*--------lp1-------------*/
body.lp1 h1 {
    margin-left: -2rem;
}
.lp1 .bef {
    position: relative;
}
.lp1 .bef:after {
    content: "";
    background: url(/wp/wp-content/uploads/befaf_allow.png) no-repeat center center / contain;
    width: 10rem;
    height: 8rem;
    position: absolute;
    right: -6rem;
    top: 0;
    bottom: 0;
    margin: auto;
}
.lp1 .befaf {
    justify-content: space-around;
}
.befaf .af {
    border: solid 4px #1f5ed4;
}
.lp1 .af span.txt_bold {
    font-size: 2.55rem;
}
.lp1 .befaf .bef ul li:nth-of-type(1):before {
    background: url(/wp/wp-content/uploads/bef4.png) no-repeat center center / contain;
}
.lp1 .befaf .bef ul li:nth-of-type(2):before {
    background: url(/wp/wp-content/uploads/bef5.png) no-repeat center center / contain;
}
.lp1 .befaf .bef ul li:nth-of-type(3):before {
    background: url(/wp/wp-content/uploads/bef6.png) no-repeat center center / contain;
}
.lp1 .befaf .af ul li:nth-of-type(1):before {
    background: url(/wp/wp-content/uploads/af5.png) no-repeat center center / contain;
}
.lp1 .befaf .af ul li:nth-of-type(2):before {
    background: url(/wp/wp-content/uploads/af6.png) no-repeat center center / contain;
}
.lp1 .befaf .af ul li:nth-of-type(3):before {
    background: url(/wp/wp-content/uploads/af7.png) no-repeat center center / contain;
}
.lp1 .mv_lower {
    background: url(/wp/wp-content/uploads/lp1.png) no-repeat center center / cover;
}
/*----------------------------------------------------
    SPサイトcss
----------------------------------------------------*/
@media screen and (max-width: 768px) {
  /*/////////////SP用のCSSをここに作成してください。/////////////*/
  /*/////////////必ず中括弧の中に作成してください。/////////////*/
.mv_lower {
    background: url(/wp/wp-content/uploads/mv_sp.png) no-repeat bottom center / cover;
    padding: 6rem 0 6rem;
	}
.mv_lower h1 {
        font-size: 2.2rem;
        margin-bottom: 2rem;
    }

.mv_lower .h1_wrap {
        padding: 1.5rem 1rem 0rem 1.5rem;

    }
p.operation {
    padding: 1rem 1rem 1rem 1.5rem;
}
.befaf {
    flex-direction: column;
}
.befaf div {
    width: 100%;
}
p.mid {
    font-size: 2rem;
}
.befaf ul li {
        font-size: 1.8rem;
        padding-left: 6.5rem;
}
.befaf ul li:before {
    left: 0rem;
}
p.mid:after {
    width: 130px;
}
p.tit {
    font-size: 2.2rem;
    line-height: 1.4;
}
.af span.txt_bold {
    font-size: 2.15rem;
    line-height: 1.25;
}
.befaf .af ul li:last-child {
        display: flex;
        flex-wrap: wrap;
    }
/*--------lp2-end------------*/
/*--------lp1-------------*/	
.lp1 .mv_lower {
        background: url(/wp/wp-content/uploads/lp1sp.png) no-repeat center bottom -4rem / cover;
    }
body.lp1 h1{
    font-size: 2.4rem;
}
	.lp1 .bef:after {
    width: 7rem;
    height: 5rem;
    right: 0;
    left: 0;
    top: unset;
    bottom: -4rem;
    margin: auto;
    z-index: 1;
    transform: rotate(90deg);
}
.lp1 .befaf .af {
    position: relative;
    z-index: 0;
}
.lp1 .befaf {
    gap: 4rem;
}
.lp1 .af span.txt_bold {
    font-size: 2rem;
    line-height: 1.4;
	}
.lp1 .befaf li br {
    display: none;
}
.lp1 .befaf .mid {
    line-height: 1.4;
}
/*--------lp1-end------------*/
	}
@media screen and (max-width: 375px) {
.lp1 .mv_lower {	
        background: url(/wp/wp-content/uploads/lp1sp.png) no-repeat -7.5rem -9rem / 125%;
}	
body.lp1 h1 {
    margin-left: -2rem;
    font-size: 2rem;
}
}