/* ==========================================================================
   Parts module
   ========================================================================== */
/* mamafyMainVisual
   ========================================================================== */
.mamafyMainVisual {
  background: -webkit-gradient(linear, left bottom, left top, color-stop(70%, #fff), to(#DDECBF));
  background: -webkit-linear-gradient(bottom, #fff 70%, #DDECBF);
  background: linear-gradient(0deg, #fff 70%, #DDECBF); }
  .mamafyMainVisual .mamafyMainVisualWrap {
    background: #fff; }
  .mamafyMainVisual .mamafyMainVisualTitle {
    text-align: center;
    position: relative; }
    .mamafyMainVisual .mamafyMainVisualTitle h1 {
      border-bottom: 1px solid #000;
      font-size: 28px;
      line-height: 1.4;
      padding-bottom: 35px;
      padding-top: 30px; }
      .mamafyMainVisual .mamafyMainVisualTitle h1 span {
        display: block;
        font-size: 1.14em;
        font-weight: 400; }
      .mamafyMainVisual .mamafyMainVisualTitle h1 strong {
        display: inline-block;
        font-weight: 400;
        padding: 0 1em;
        position: relative; }
      .mamafyMainVisual .mamafyMainVisualTitle h1 strong img {
        max-width: 345px;
      }
        .mamafyMainVisual .mamafyMainVisualTitle h1 strong:after, .mamafyMainVisual .mamafyMainVisualTitle h1 strong:before {
          background: #000;
          content: "";
          height: 100%;
          width: 2px;
          position: absolute;
          top: 0; }
        .mamafyMainVisual .mamafyMainVisualTitle h1 strong:before {
          left: 0;
          -webkit-transform: rotate(-25deg);
              -ms-transform: rotate(-25deg);
                  transform: rotate(-25deg); }
        .mamafyMainVisual .mamafyMainVisualTitle h1 strong:after {
          right: 0;
          -webkit-transform: rotate(25deg);
              -ms-transform: rotate(25deg);
                  transform: rotate(25deg); }
    .mamafyMainVisual .mamafyMainVisualTitle h2 {
      background: #fff;
      display: inline-block;
      font-size: 28px;
      font-weight: 400;
      line-height: 1.1;
      padding-left: 1.5em;
      padding-right: 1.5em;
      position: absolute;
      bottom: 0;
      left: 50%;
      -webkit-transform: translate(-50%, 40%);
          -ms-transform: translate(-50%, 40%);
              transform: translate(-50%, 40%); }
  .mamafyMainVisual .mamafyMainVisualText {
    margin: 0 auto;
    max-width: 650px;
    padding: 30px 0 50px;
    text-align: left; }
    .mamafyMainVisual .mamafyMainVisualText p {
      font-size: 18px;
      line-height: 1.75; }
  @media screen and (max-width: 767px) {
    .mamafyMainVisual .mamafyMainVisualWrap .mamafyWrapInnerWrap {
      padding-left: 28px;
      padding-right: 28px; }
    .mamafyMainVisual .mamafyMainVisualTitle h1 {
      font-size: 16px;
      padding-top: 60px; }
      .mamafyMainVisual .mamafyMainVisualTitle h1 span {
        font-size: 1.4em;
        margin-top: 10px; }
      .mamafyMainVisual .mamafyMainVisualTitle h1 strong {
        padding: 0 1.5em; }
        .mamafyMainVisual .mamafyMainVisualTitle h1 strong img {
          max-width: 190px;
        }
        .mamafyMainVisual .mamafyMainVisualTitle h1 strong:after, .mamafyMainVisual .mamafyMainVisualTitle h1 strong:before {
          width: 1px; }
        .mamafyMainVisual .mamafyMainVisualTitle h1 strong:before {
          -webkit-transform: rotate(-20deg);
              -ms-transform: rotate(-20deg);
                  transform: rotate(-20deg); }
        .mamafyMainVisual .mamafyMainVisualTitle h1 strong:after {
          -webkit-transform: rotate(20deg);
              -ms-transform: rotate(20deg);
                  transform: rotate(20deg); }
    .mamafyMainVisual .mamafyMainVisualTitle h2 {
      font-size: 20px;
      padding: 0;
      left: 20%;
      right: 20%;
      -webkit-transform: translateY(50%);
          -ms-transform: translateY(50%);
              transform: translateY(50%); }
    .mamafyMainVisual .mamafyMainVisualText {
      padding: 30px 0 75px; }
      .mamafyMainVisual .mamafyMainVisualText p {
        font-size: 15px; } }

/* mamafyIndexBox
   ========================================================================== */
.mamafyIndexBox {
  background: rgba(158, 195, 83, 0.12);
  padding: 62px 0 70px;
}
.mamafyIndexBox .mamafyIndexBoxWrap {
  max-width: 993px;
  background-color: #fff;
  position: relative;
  padding: 46px 30px 46px 47px;
}
.mamafyIndexBox .mamafyIndexBoxWrap::before {
  content: "";
  position: absolute;
  background: url(../img/lp06_mama_decor.png) no-repeat center 100% / 100%;
  width: 244px;
  height: 247px;
  bottom: -50px;
  left: 50px;
  z-index: 1;
}
.mamafyIndexBox .mamafyIndexBoxWrap::after {
  content: "";
  position: absolute;
  left: 7px;
  top: 6px;
  right: -7px;
  bottom: -8px;
  background: url(../img/lp06_mama_line.png) no-repeat center center / contain;
  pointer-events: none;
}
.mamafyIndexBox .mamafyIndexBoxTitle {
  display: flex;
  flex-direction: column;
  align-items: center;
  color: #0c0c0c;
  text-align: center;
  font-weight: 400;
}
.mamafyIndexBox .mamafyIndexBoxTitleSmall {
  font-size: 24px;
  letter-spacing: -0.015em;
  line-height: calc(26 / 24);
  margin-bottom: 16px;
  position: relative;
  padding: 0 32px;
}
.mamafyIndexBox .mamafyIndexBoxTitleSmall::before,
.mamafyIndexBox .mamafyIndexBoxTitleSmall::after {
  content: "";
  background: #0c0c0c;
  height: 37px;
  width: 2px;
  position: absolute;
  top: -2px;
}
.mamafyIndexBox .mamafyIndexBoxTitleSmall::before {
  left: 0;
  -webkit-transform: rotate(-32deg);
      -ms-transform: rotate(-32deg);
          transform: rotate(-32deg);
}
.mamafyIndexBox .mamafyIndexBoxTitleSmall::after {
  right: 10px;
  -webkit-transform: rotate(32deg);
      -ms-transform: rotate(32deg);
          transform: rotate(32deg);
}
.mamafyIndexBox .mamafyIndexBoxTitleMain {
  text-align: left;
  font-size: 30px;
  line-height: calc(42 / 30);
  margin-left: 155px;
}
.mamafyIndexBox .mamafyIndexBoxTitleMain strong {
  color: #8cb33e;
  font-weight: 400;
}

@media screen and (max-width: 767px) {
  .mamafyIndexBox {
    padding: calc(60 / 750 * 100vw) calc(42 / 750 * 100vw) calc(122 / 750 * 100vw) calc(30 / 750 * 100vw);
  }
  .mamafyIndexBox .mamafyIndexBoxWrap {
    max-width: 100%;
    padding: calc(56 / 750 * 100vw) calc(30 / 750 * 100vw) calc(46 / 750 * 100vw) calc(47 / 750 * 100vw);
    min-height: calc(378 / 750 * 100vw);
  }
  .mamafyIndexBox .mamafyIndexBoxWrap::before {
    left: 54%;
    transform: translateX(-50%);
    bottom: calc(-106 / 750 * 100vw);
    background-image: url(../img/lp06_mama_decor-sp.png);
    width: calc(275 / 750 * 100vw);
    height: calc(279 / 750 * 100vw);
  }
  .mamafyIndexBox .mamafyIndexBoxWrap::after {
    background-image: url(../img/lp06_mama_line-sp.png);
    left: calc(12 / 750 * 100vw);
    top: calc(12 / 750 * 100vw);
    right: calc(-12 / 750 * 100vw);
    bottom: calc(-12 / 750 * 100vw);
  }
  .mamafyIndexBox .mamafyIndexBoxTitleSmall {
    font-size: calc(26 / 750 * 100vw);
    line-height: 1;
    margin-bottom: calc(16 / 750 * 100vw);
    padding: 0 calc(26 / 750 * 100vw);
  }
  .mamafyIndexBox .mamafyIndexBoxTitleSmall::before,
  .mamafyIndexBox .mamafyIndexBoxTitleSmall::after {
    height: calc(37 / 750 * 100vw);
    top: calc(-2 / 750 * 100vw);
  }
  .mamafyIndexBox .mamafyIndexBoxTitleSmall::after {
    right: calc(10 / 750 * 100vw);
  }
  .mamafyIndexBox .mamafyIndexBoxTitleMain {
    font-size: calc(32 / 750 * 100vw);
    line-height: calc(44.8 / 32);
    margin-left: 0;
    text-align: center;
  }
}

/* index-information
   ========================================================================== */

.mamafyIndexInfo {
  padding: 70px 0 25px;
}
.mamafyIndexInfo ul {
  max-width: 740px;
  margin: 0 auto;
  color: #0c0c0c;
  padding-right: 8px;
}
.mamafyIndexInfo li {
  width: 650px;
  margin-bottom: 56px;
  position: relative;
}
.mamafyIndexInfo li:nth-child(2n) {
  margin-left: auto;
}
.mamafyIndexInfo .mamafyIndexInfoTitle {
  font-weight: 400;
  font-size: 2rem;
  letter-spacing: 0.025em;
  line-height: calc(30 / 22);
  position: relative;
  display: inline-block;
  padding: 0 0 22px 50px;
  margin-bottom: 20px;
}
.mamafyIndexInfo .mamafyIndexInfoTitle::after {
  content: "";
  position: absolute;
  right: -25px;
  bottom: 0;
  background: url(../img/lp06_info_ttl.png) no-repeat center center / contain;
  width: 227px;
  height: 18px;
}
.mamafyIndexInfo .mamafyIndexInfoTitle span {
  font-size: 13px;
}
.mamafyIndexInfo li:nth-child(1) .mamafyIndexInfoTitle {
  font-size: 2.2rem;
}
.mamafyIndexInfo .mamafyIndexInfoContent {
  background-color: #eaf5d3;
  font-weight: 300;
  font-size: 1.7rem;
  line-height: calc(30 / 17);
  position: relative;
  padding: 34px 100px 27px 52px;
}
.mamafyIndexInfo .mamafyIndexInfoContent::before {
  content: "";
  pointer-events: none;
  position: absolute;
  left: 10px;
  right: -10px;
  top: 10px;
  bottom: -10px;
  border: 1px solid #9ec353;
}
.mamafyIndexInfo .mamafyIndexInfoContent p:not(:last-child) {
  margin-bottom: 30px;
}
.mamafyIndexInfo li:nth-child(2n) .mamafyIndexInfoContent {
  background-color: #f3f8ea;
  padding-left: 70px;
  padding-right: 44px;
}
.mamafyIndexInfo .mamafyIndexInfoImg {
  position: absolute;
  z-index: 1;
}
.mamafyIndexInfo li:nth-child(1) .mamafyIndexInfoImg {
  width: 153px;
  height: 189px;
  right: -90px;
  top: -30px;
}
.mamafyIndexInfo li:nth-child(2) .mamafyIndexInfoImg {
  width: 128px;
  height: 152px;
  left: -76px;
  bottom: 50px;
}
.mamafyIndexInfo li:nth-child(3) .mamafyIndexInfoImg {
  width: 112px;
  height: 76px;
  right: -56px;
  top: -26px;
}
.mamafyIndexInfo li:nth-child(4) .mamafyIndexInfoImg {
  width: 99px;
  height: 153px;
  left: -44px;
  bottom: -28px;
}
.mamafyIndexInfo li:nth-child(2n) .mamafyIndexInfoTitle {
  padding-left: 70px;
}

@media screen and (max-width: 767px) {
  .mamafyIndexInfo {
    padding: calc(75 / 750 * 100vw) calc(42 / 750 * 100vw) calc(7 / 750 * 100vw) calc(30 / 750 * 100vw);
  }
  .mamafyIndexInfo ul {
    max-width: 100%;
    padding-right: 0;
  }
  .mamafyIndexInfo li {
    width: 100%;
    margin-bottom: calc(106 / 750 * 100vw);
  }
  .mamafyIndexInfo .mamafyIndexInfoTitle {
    font-size: calc(30 / 750 * 100vw);
    line-height: calc(30 / 22);
    padding: 0 0 calc(25 / 750 * 100vw) calc(48 / 750 * 100vw);
    margin-bottom: calc(32 / 750 * 100vw);
  }
  .mamafyIndexInfo li:nth-child(2n) .mamafyIndexInfoTitle {
    padding-left: calc(50 / 750 * 100vw);
  }
  .mamafyIndexInfo .mamafyIndexInfoTitle::after {
    right: calc(-34 / 750 * 100vw);
    width: calc(272 / 750 * 100vw);
    height: calc(21 / 750 * 100vw);
    background-image: url(../img/lp06_info_ttl-sp.png);
  }
  .mamafyIndexInfo .mamafyIndexInfoTitle span {
    font-size: calc(20 / 750 * 100vw);
  }
  .mamafyIndexInfo .mamafyIndexInfoContent {
    font-size: calc(24 / 750 * 100vw);
    line-height: calc(48 / 24);
    letter-spacing: 0.02em;
    padding: calc(46 / 750 * 100vw) calc(40 / 750 * 100vw) calc(43 / 750 * 100vw) calc(50 / 750 * 100vw);
  }
  .mamafyIndexInfo li:nth-child(2n) .mamafyIndexInfoContent {
    padding-left: calc(50 / 750 * 100vw);
    padding-right: calc(40 / 750 * 100vw);
  }
  .mamafyIndexInfo .mamafyIndexInfoContent::before {
    border-width: calc(2 / 750 * 100vw);
    top: calc(12 / 750 * 100vw);
    left: calc(12 / 750 * 100vw);
    right: calc(-12 / 750 * 100vw);
    bottom: calc(-12 / 750 * 100vw);
  }
  .mamafyIndexInfo .mamafyIndexInfoContent p:not(:last-child) {
    margin-bottom: calc(47 / 750 * 100vw);
  }
  .mamafyIndexInfo .mamafyIndexInfoImg {
    position: relative;
    float: right;
  }
  .mamafyIndexInfo li:nth-child(1) .mamafyIndexInfoImg {
    width: calc(202 / 750 * 100vw);
    height: calc(251 / 750 * 100vw);
    margin-right: calc(-27 / 750 * 100vw);
    right: calc(-36 / 750 * 100vw);
    bottom: calc(32 / 750 * 100vw);
    top: unset;
  }
  .mamafyIndexInfo li:nth-child(2) .mamafyIndexInfoImg {
    width: calc(186 / 750 * 100vw);
    height: calc(220 / 750 * 100vw);
    margin-right: calc(-58 / 750 * 100vw);
    right: calc(36 / 750 * 100vw);
    top: calc(20 / 750 * 100vw);
    left: unset;
  }
  .mamafyIndexInfo li:nth-child(3) .mamafyIndexInfoImg {
    width: calc(165 / 750 * 100vw);
    height: calc(112 / 750 * 100vw);
    margin-right: calc(-27 / 750 * 100vw);
    right: calc(30 / 750 * 100vw);
    top: calc(40 / 750 * 100vw);
  }
  .mamafyIndexInfo li:nth-child(4) .mamafyIndexInfoImg {
    width: calc(142 / 750 * 100vw);
    height: calc(221 / 750 * 100vw);
    margin-right: calc(-16 / 750 * 100vw);
    right: calc(-16 / 750 * 100vw);
    top: 0;
    left: unset;
  }
}

.mamafyDoctorsLearn {
  background: #eaf5d3;
  padding: 30px 0;
}
.mamafyDoctorsLearn .mamafyDoctorsLearnWrap {
  padding: 54px 320px 56px 132px;
  max-width: 880px;
  margin: 0 auto;
  background: url(../img/lp06_learn_bg.png) no-repeat center center / cover;
  position: relative;
}
.mamafyDoctorsLearn .mamafyDoctorsLearnWrap::after {
  position: absolute;
  content: "";
  background: url(../img/lp06_learn_icon.png) no-repeat center center / cover;
  width: 127px;
  height: 191px;
  right: 140px;
  bottom: 4px;
}
.mamafyDoctorsLearn .mamafyDoctorsLearnText {
  font-size: 1.7rem;
  line-height: calc(30 / 17);
}

.mamafyDoctorsLearn .mamafyDoctorsLearnText a {
  display: inline-block;
  font-weight: 500;
  color: #ff9e64;
  text-decoration: underline;
  text-underline-offset: 10px;
}

@media screen and (max-width: 767px) {
  .mamafyDoctorsLearn {
    padding: calc(60 / 750 * 100vw) calc(31 / 750 * 100vw) calc(50 / 750 * 100vw);
  }
  .mamafyDoctorsLearn .mamafyDoctorsLearnWrap {
    padding: calc(242 / 750 * 100vw) calc(84 / 750 * 100vw) calc(62 / 750 * 100vw) calc(80 / 750 * 100vw);
    background-image: url(../img/lp06_learn_bg-sp.png);
  }
  .mamafyDoctorsLearn .mamafyDoctorsLearnWrap::after {
    top: calc(-20 / 750 * 100vw);
    bottom: unset;
    left: 50%;
    transform: translateX(-50%);
    width: calc(171 / 750 * 100vw);
    height: calc(258 / 750 * 100vw);
    background-image: url(../img/lp06_learn_icon-sp.png);
  }
  .mamafyDoctorsLearn .mamafyDoctorsLearnText {
    font-size: calc(24 / 750 * 100vw);
    line-height: calc(48 / 24);
  }
  .mamafyDoctorsLearn .mamafyDoctorsLearnText a {
    text-underline-offset: calc(14 / 750 * 100vw);
  }
}