@charset "utf-8";
/*
 * =====================================================
 *
 * [MelsPlan TOP]
 *
 * =====================================================
 */
/**
 * ---------------------------------------------------
 * Setting
 * ---------------------------------------------------
 */
.mels.top .ft_wrap {
  margin-bottom: 110px !important;
}
.breadcrumb_container {
  background-color: #fff;
}
/**
 * ---------------------------------------------------
 * Contents
 * ---------------------------------------------------
 */
.melsPlanWrapper {
  position: relative;
  &::before {
    display: block;
    content: '';
    width: 100%;
    height: 100vh;
    /* padding-top: 59.027%; */
    background: url('/assets/images/mels/bg.jpg') no-repeat center bottom / cover;
    position: fixed;
    top: 0;
    left: 0;
    z-index: -1;
  }
  .planConceptArea {
    padding: 95px 20px 52px 20px;
    background: #fff url('/assets/images/mels/bg01.png') no-repeat center bottom / 100% auto;
    .inner {
      display: grid;
      justify-content: space-between;
      align-items: center;
      align-content: center;
      grid-template-columns: calc((650 / 1070) * 100%) calc((288 / 1070) * 100%);
      width: 100%;
      max-width: var(--maxWidthNarrow);
      padding: 0 55px 0 75px;
      margin: 0 auto;
      > .copy {
        grid-row: 1 / 2;
        grid-column: 1 / 2;
        color: var(--baseColorDark);
        font-size: 2.8rem;
        font-weight: bold;
        margin-top: auto;
        margin-bottom: 32px;
        > span {
          display: inline;
          font-size: 3.2rem;
          margin-top: 2px;
          padding: 0 8px;
          margin-right: 5px;
          background-color: #dff0f4;
          -webkit-box-decoration-break: clone;
          box-decoration-break: clone;
        }
      }
      > .txt {
        grid-row: 2 / 3;
        grid-column: 1 / 2;
        font-size: 2rem;
        margin-bottom: auto;
      }
      > .img {
        grid-row: 1 / 3;
        grid-column: 2 / 3;
      }
    }
  }
  .typeArea {
    padding: 124px 50px;
    .voxStyle02 {
      &:not(:last-child) {
        margin-bottom: 124px;
      }
      .voxStyle02Inner {
        padding-top: 100px;
      }
    }
    .inner {
      max-width: var(--maxWidthNarrow2);
      margin: 0 auto;
    }
    .typeVox {
      max-width: 800px;
      margin: 0 auto;
      .typeContents {
        display: flex;
        justify-content: space-between;
        align-items: center;
        align-content: center;
        flex-wrap: wrap;
        &:not(:last-child) {
          padding-bottom: 32px;
          margin-bottom: 32px;
          border-bottom: 1px dashed #97a1b6;
        }
        > .txt {
          width: calc((480 / 800) * 100%);
          .copy {
            color: var(--baseColorDark);
            font-size: 2.8rem;
            font-weight: bold;
            &:not(:last-child) {
              margin-bottom: 28px;
            }
            > span {
              display: inline;
              font-size: 3.2rem;
              padding: 0 8px;
              margin-right: 5px;
              background-color: #dff0f4;
              -webkit-box-decoration-break: clone;
              box-decoration-break: clone;
            }
          }
          p:not(.copy):not(:last-child) {
            margin-bottom: 0.5em;
          }
        }
        > .img {
          width: calc((280 / 800) * 100%);
        }
      }
      .voxStyle01 {
        width: 100%;
        &:not(:first-child) {
          margin-top: 24px;
        }
      }
      .noteList {
        display: flex;
        justify-content: center;
        flex-wrap: wrap;
        list-style-type: none;
        padding: 0;
        margin: 0;
        > li {
          color: var(--baseColorDark);
          font-weight: 500;
          text-align: center;
          width: 220px;
          p {
            letter-spacing: 0.04em;
            line-height: 1.6;
          }
          img {
            width: 170px;
            margin-bottom: 16px;
          }
        }
      }
      .typeList {
        display: flex;
        justify-content: space-between;
        &:not(:first-child) {
          margin-top: 40px;
        }
        > .item {
          text-align: left;
          width: 50%;
          &:nth-child(odd) {
            padding-right: 24px;
            border-right: 1px dashed var(--baseColorDark);
          }
          &:nth-child(even) {
            padding-left: 24px;
          }
        }
      }
    }
  }
  .serviceArea {
    padding: 100px 50px;
    background-color: var(--bgColor2);
    .serviceList {
      max-width: var(--maxWidthNarrow2);
      margin: 0 auto;
      > .item {
        padding: 40px;
        margin-bottom: 16px;
        background-color: #fff;
        .itemInner {
          display: flex;
          justify-content: space-between;
          align-items: center;
          flex-wrap: wrap;
          gap: 16px;
          max-width: 800px;
          margin: 0 auto;
          > .img {
            width: calc((174 / 800) * 100%);
          }
          > .txt {
            width: calc((540 / 800) * 100%);
            p {
              &:not(:last-child) {
                margin-bottom: 0.8em;
              }
            }
          }
          > .btns {
            width: 100%;
          }
        }
      }
    }
  }
  .systemArea {
    padding: 100px 50px 0 50px;
    background-color: #fff;
    .description {
      text-align: center;
      margin-bottom: 40px;
    }
    .systemVox {
      text-align: center;
      &:not(:last-child) {
        padding-bottom: 40px;
        margin-bottom: 40px;
        border-bottom: 1px dashed #97a1b6;
      }
      .headStyle02 {
        margin-top: -10px;
      }
      p:not(:last-child) {
        margin-bottom: 0.5em;
      }
      figure {
        &:not(:first-child) {
          margin-top: 24px;
        }
      }
    }
  }
  .cautionArea {
    padding: 80px 50px;
    background-color: #fff;
    .voxStyle03 {
      max-width: 950px;
      margin: 0 auto;
    }
  }
  .otherArea {
    padding: 100px 50px 40px 50px;
    background-color: #fff;
    > header,
    > .inner {
      max-width: var(--maxWidthNarrow);
      margin: 0 auto;
    }
    .debutVox {
      display: flex;
      justify-content: space-between;
      align-items: center;
      flex-direction: row-reverse;
      max-width: 800px;
      margin: 0 auto 40px auto;
      > .img {
        width: calc((160 / 800) * 100%);
      }
      > .txt {
        width: calc((600 / 800) * 100%);
      }
    }
    .kodomokaiVox {
      display: flex;
      justify-content: space-between;
      flex-wrap: wrap;
      padding-left: 100px;
      padding-right: 100px;
      margin-bottom: 40px;
      > .img {
        width: calc((160 / 900) * 100%);
      }
      > .txt {
        text-align: left;
        width: calc((700 / 900) * 100%);
      }
      .btns {
        width: 100%;
        margin-top: 32px;
      }
    }
    .otherCautionVox {
      text-align: center;
      max-width: 940px;
      margin: 0 auto;
      p:not([class]) {
        display: inline-block;
        text-align: left;
      }
    }
  }
  footer {
    width: fit-content;
    margin: 40px auto 0 auto;
    .btnStyle01 {
      &:not(:last-child) {
        margin-bottom: 40px;
      }
      a {
        width: 100%;
      }
    }
  }
}
/**
 ****************************************************
 *
 * PC-only
 *
 ****************************************************
 */
@media only screen and (min-width: 769px) {
} /*  @media END */
/**
 ****************************************************
 *
 * SP-TAB-only
 *
 ****************************************************
 */
@media only screen and (max-width: 768px) {
  /**
  * ---------------------------------------------------
  * Contents
  * ---------------------------------------------------
  */
  .melsPlanWrapper {
    &::before {
      background-image: url('/assets/images/mels/bg-sp.jpg');
    }
    .planConceptArea {
      padding: 40px 20px 88px 20px;
      background-image: url('/assets/images/mels/bg01-sp.png');
      .inner {
        display: block;
        padding: 0;
        .copy {
          font-size: 2.2rem;
          margin-bottom: 16px;
          > span {
            font-size: 2.4rem;
            margin-top: 5px;
          }
        }
        > .img {
          width: 210px;
          margin: 0 auto;
        }
        > .txt {
          font-size: 1.8rem;
          margin-top: 32px;
        }
      }
    }
    .typeArea {
      padding: 80px 20px;
      .voxStyle02 {
        &:not(:last-child) {
          margin-bottom: 124px;
        }
        .voxStyle02Inner {
          padding-top: 80px;
        }
      }
      .typeVox {
        .typeContents {
          display: block;
          > .txt {
            width: auto;
            .copy {
              font-size: 2.2rem;
              > span {
                font-size: 2.4rem;
                margin: 0;
              }
            }
          }
          > .img {
            width: 210px;
            margin: 20px auto 0 auto;
          }
        }
        .voxStyle01 {
          padding-left: 20px;
          padding-right: 20px;
        }
        .noteList {
          gap: 24px 0;
          width: 100%;
          > li {
            font-size: 1.4rem;
            line-height: 1.6;
            width: 130px;
            img {
              width: 108px;
              margin-bottom: 5px;
            }
          }
        }
        .typeList {
          display: block;
          > .item {
            width: auto;
            &:nth-child(odd) {
              padding-right: 0;
              border-right: none;
            }
            &:nth-child(even) {
              padding-left: 0;
            }
            &:not(:last-child) {
              margin-bottom: 26px;
            }
          }
        }
      }
    }
    .serviceArea {
      padding: 100px 20px;
      .serviceList {
        > .item {
          padding: 32px 40px;
          .itemInner {
            display: block;
            > .img {
              width: 150px;
              margin: 0 auto 16px auto;
            }
            > .txt {
              width: auto;
              p {
                &:not(:last-child) {
                  margin-bottom: 0.5em;
                }
              }
            }
            > .btns {
              margin-top: 24px;
            }
          }
        }
      }
    }
    .systemArea {
      padding: 100px 20px 0 20px;
      .description {
        margin-bottom: 32px;
      }
      .systemVox {
        img {
          width: 220px;
        }
      }
    }
    .cautionArea {
      padding: 80px 20px;
    }
    .otherArea {
      padding: 100px 20px 110px 20px;
      > header,
      > .inner {
        max-width: var(--maxWidthNarrow);
        margin: 0 auto;
      }
      .debutVox {
        display: block;
        > .img {
          width: 130px;
          margin: 0 auto 32px auto;
        }
        > .txt {
          width: auto;
        }
      }
      .kodomokaiVox {
        display: block;
        width: auto;
        padding-left: 20px;
        padding-right: 20px;
        > .img {
          width: 130px;
          margin: 0 auto 40px auto;
        }
        > .txt {
          text-align: center;
          width: auto;
          p {
            text-align: left;
          }
        }
        .btns {
          width: 100%;
          margin-top: 32px;
        }
      }
      .otherCautionVox {
        text-align: center;
        max-width: 940px;
        margin: 0 auto 40px auto;
        p:not([class]) {
          display: inline-block;
          text-align: left;
        }
      }
      footer {
        width: auto;
      }
    }
  }
} /*  @media END */
