@charset "shift_jis";

:root {
  --main-color: #2d86af;
  --btn-color: #ff9c00;
  --bg-blue-color: #e6f3fa;
}

@media screen and (min-width: 769px) {

  /*--- sumikaeここから ---*/
  .sale_sumikae_wrap {

    /* メイン画像 */
    .sumikae_main_wrap {
      height: 550px;
      background: url(../img/main_bg.webp);
      background-size: cover;
      background-position: center;

      .sumikae_main_inner {
        width: 1200px;
        margin: 0 auto;
        padding-top: 175px;
        line-height: 25.6px;

        span {
          font-size: 50px;
          font-weight: bold;
          color: #fff;
          line-height: 92px;
          border-bottom: 1px solid #fff;
          display: inline;
          text-shadow: 0 0 10px rgba(54, 118, 142, 0.8);

          b {
            font-size: 70px;
          }
        }

        p {
          font-size: 30px;
          font-weight: bold;
          color: #fff;
          line-height: 50px;
          letter-spacing: 0.05em;
          border-bottom: 1px solid #fff;
          display: inline;
          text-shadow: 0 0 10px rgba(54, 118, 142, 0.8);
        }
      }
    }

    /* 悩み */
    .nayami {
      width: 1100px;
      margin: 100px auto 120px;

      .sumi_nayami_img {
        height: 300px;

        .sumi_nayami_img_pc {
          display: flex;
          justify-content: space-between;

          img {
            position: relative;

            &:nth-of-type(1),
            &:nth-of-type(3) {
              top: 40px;
            }
          }
        }
      }
    }

    /* ライフスタイルに合わせた暮らし */
    .sumi_life_wrap {
      h2 {
        line-height: 50px;
      }

      .sumi_life_block {
        display: flex;
        justify-content: center;
        align-items: center;
        margin-bottom: 60px;

        .sumi_life_graph {
          margin-right: 90px;
        }

        .sumi_life_txt {
          text-align: center;
          font-weight: bold;

          .fukidashi {
            position: relative;
            font-size: 20px;
            color: #0d73a2;
            line-height: 28px;
            margin: 0 0 50px;
            position: relative;

            &::before {
              content: "";
              width: 50px;
              display: block;
              height: 2px;
              background-color: #0d73a2;
              transform: rotate(70deg);
              position: absolute;
              left: -50px;
              bottom: 20px;
            }

            &::after {
              content: "";
              width: 50px;
              display: block;
              height: 2px;
              background-color: #0d73a2;
              transform: rotate(-70deg);
              position: absolute;
              right: -50px;
              bottom: 20px;
            }
          }

          .big_txt {
            font-size: 30px;
            line-height: 40px;

            span {
              color: #ff7815;
            }
          }

          .annotation {
            font-size: 10px;
            line-height: 15px;
          }
        }
      }

      .sumi_q {
        margin-bottom: 100px;

        .sumi_q_block {
          width: 1100px;
          margin: 0 auto 50px;
          display: flex;
          justify-content: space-between;
          align-items: center;

          &:nth-child(2) {
            flex-flow: row-reverse;
          }

          .sumi_q_txt {
            width: 680px;

            h3 {
              font-size: 30px;
              line-height: 1;
              font-weight: bold;
              margin: 0 0 40px;
            }

            p {
              font-size: 18px;
              line-height: 1.8;
            }
          }

          .sumi_q_img {
            width: 360px;
          }
        }
      }
    }

    /* 住み替えタイプから選ぶ */
    .sumi_type_wrap {
      background-color: #0d73a2;
      padding: 80px 0;

      h2 {
        color: #fff;

        &.sa_conts_tit_line::after {
          background-color: #fff;
        }
      }

      .sumi_type_txt {
        p {
          font-size: 18px;
          text-align: center;
          line-height: 30px;
          color: #fff;
          margin: 50px 0 60px;
        }
      }

      .sumi_tp_block_wrap {
        width: 1100px;
        margin: 0 auto;
        display: flex;
        justify-content: space-between;

        .sumi_tp_block {
          width: 540px;
          padding: 40px 30px;
          box-sizing: border-box;
          background-color: #fff;

          .sumi_tp_ti {
            text-align: center;

            h3 {
              font-size: 35px;
              color: #0d73a2;
              background: linear-gradient(transparent 70%, #ffdbde 0%);
              line-height: 1.3;
              display: inline-block;
              margin: 0px;
            }

            p {
              font-size: 18px;
              color: #0d73a2;
              margin: 20px 0 30px;
              font-weight: bold;
              line-height: normal;
            }
          }

          .sumi_tp_merit {
            border: 2px solid #ff7c56;
            box-sizing: border-box;
            padding: 20px;
            height: 195px;

            p {
              font-size: 18px;
              color: #ff7c56;
              margin: 0 0 10px;
              line-height: 1;
              font-weight: bold;
            }

            ul {
              padding: 0 0 0 30px;
              margin: 0;

              li {
                font-size: 18px;
                line-height: 1.4;
                margin-bottom: 20px;
                position: relative;
                list-style-type: none;
                font-weight: bold;

                &::before {
                  content: "";
                  position: absolute;
                  top: 8px;
                  left: -25px;
                  display: block;
                  width: 10px;
                  height: 10px;
                  border-radius: 50px;
                  background-color: #ff7e56;
                }
              }
            }

            &.demerit {
              border: 2px solid #0d73a2;
              margin-top: 20px;
              height: 180px;

              p {
                color: #0d73a2;
              }

              ul {
                li::before {
                  background-color: #0d73a2;
                }
              }
            }
          }
        }
      }
    }

    /* 住み替えの成功の秘訣とは？ */
    .sumi_point_wrap {
      padding: 100px 0;

      .sumi_pt_komoku {
        width: 1100px;
        margin: 0 auto;
        display: flex;
        justify-content: flex-end;
        font-weight: bold;

        p {
          line-height: 50px;
          font-size: 20px;
          width: 330px;
          text-align: center;
          border-radius: 50px;
          background-color: #ebebeb;
          margin: 20px 80px;

          &:nth-child(2) {
            background-color: #0d73a2;
            color: #fff;
          }
        }
      }

      .sumi_pt_list {
        width: 1100px;
        margin: 0 auto;

        ul {
          margin: 0;
          padding: 0;
          display: flex;
          font-weight: bold;

          li {
            list-style-type: none;

            &:nth-child(1) {
              width: 95px;
              display: flex;
              align-items: center;
            }

            &:nth-child(2) {
              width: 500px;
              margin: 0 5px 5px 0;
              background-color: #ebebeb;
              padding: 25px;
              box-sizing: border-box;
            }

            &:nth-child(3) {
              width: 500px;
              margin: 0 0px 5px 0;
              background-color: #e9f4f9;
              color: #0d73a2;
              padding: 25px;
              box-sizing: border-box;
            }

            p {
              margin: 0;
              font-size: 18px;
              line-height: 28.8px;
            }

            span {
              display: none;
            }
          }
        }
      }

      .sumi_pt_img {
        text-align: center;
        margin: 40px 0 80px;
      }

      .sumi_pt_txt {
        p {
          text-align: center;
          font-size: 40px;
          line-height: 60px;
          font-weight: bold;

          span {
            background: linear-gradient(transparent 70%, #ffdbde 0%);
            line-height: 1.3;
            font-weight: bold;
          }
        }
      }
    }

    /* 住み替え事例 */
    .sumi_result_wrap {
      padding: 100px 0 0;

      .sumi_re_block {
        width: 1100px;
        margin: 0 auto;

        .sumi_re_bl_ti {
          font-size: 30px;
          line-height: 1;
          font-weight: bold;
          margin: 0 0 50px;
          text-align: center;
          letter-spacing: 3px;

          span {
            background: linear-gradient(transparent 70%, #ffdbde 0%);
            line-height: 1.3;
            font-size: 40px;
          }
        }

        .sumi_re_bl_komoku {
          text-align: center;
          height: 57px;
        }

        .sumi_re_list_wrap {
          display: flex;
          justify-content: space-around;
          margin-bottom: 100px;

          .sumi_re_list {
            width: 490px;

            .sumi_re_list_img {
              text-align: center;
              height: 170px;
              position: relative;
              margin-top: 40px;

              img {
                position: absolute;
                bottom: 0;
                left: 0;
                right: 0;
                margin: 0 auto;
              }
            }

            ul {
              margin: 0;
              padding: 0;
              border: 2px solid #0d73a2;
              border-radius: 10px;
              box-sizing: border-box;
              padding: 40px;

              li {
                list-style-type: none;
                font-size: 18px;
                color: #0d73a2;
                margin-bottom: 25px;
                line-height: 1;
                position: relative;
                padding-left: 40px;
                font-weight: bold;

                &:last-child {
                  margin-bottom: 0px;
                }

                &::before {
                  position: absolute;
                  content: url(../img/sumi_re_moya.webp);
                  top: -5px;
                  left: 0;
                }
              }
            }

            &:nth-child(2) ul {
              border: 2px solid #ff5050;

              li {
                color: #ff5050;

                &::before {
                  content: url(../img/sumi_re_check.webp);
                }
              }
            }
          }
        }
      }
    }

    /* title */
    h2 {
      font-size: 40px;
      line-height: 40px;
      font-weight: bold;
      text-align: center;
      color: #000;
      margin: 0 0 40px;
      display: block;

      &.sa_conts_tit_line::after {
        content: "";
        display: block;
        width: 70px;
        height: 5px;
        background-color: #0e6e98;
        margin: 30px auto 0;
      }
    }

    /* svg */
    svg {
      margin: 0 auto;
      display: block;

      .cls-1 {
        fill: var(--main-color);
      }
    }

    /* btn */
    .btn_link {
      display: block;
      width: 80%;
      line-height: 60px;
      background-color: var(--btn-color);
      color: #fff;
      text-align: center;
      position: relative;
      margin: 0 auto 00px;
      border-radius: 5px;
      font-weight: bold;
      font-size: 18px;

      &:hover {
        opacity: .8;
      }
    }

    /* fadein（下から上） */
    .fadein {
      opacity: 0;
      transform: translateY(30px);
      transition: all 0.8s ease-out;

      &.show {
        opacity: 1;
        transform: translateY(0);
      }

      &.fadein-1 {
        transition-delay: 0.2s;
      }

      &.fadein-2 {
        transition-delay: 0.4s;
      }

      &.fadein-3 {
        transition-delay: 0.6s;
      }

      &.fadein-4 {
        transition-delay: 0.8s;
      }

      &.fadein-5 {
        transition-delay: 1.0s;
      }

      &.fadein-6 {
        transition-delay: 1.2s;
      }
    }
  }

  /*--- sumikaeここまで ---*/
}








/*-------------------------------
sp
--------------------------------*/


@media screen and (max-width: 768px) {

  /*--- sumikaeここから ---*/
  .sale_sumikae_wrap {

    /* メイン画像 */
    .sumikae_main_wrap {
      background: url(../img/main_bg.webp);
      background-size: cover;
      background-position: center;

      .sumikae_main_inner {
        width: 90%;
        margin: 0 auto;
        text-align: center;
        padding: 80px 0;

        span {
          font-size: clamp(14px, 4.2vw, 16px);
          font-weight: bold;
          color: #fff;
          line-height: 30px;
          border-bottom: 1px solid #fff;
          display: inline;
          text-shadow: 0 0 10px rgba(54, 118, 142, 0.8);

          b {
            font-size: clamp(28px, 8vw, 35px);
          }
        }

        p {
          font-size: clamp(14px, 4.2vw, 16px);
          font-weight: 500;
          color: #fff;
          line-height: 30px;
          border-bottom: 1px solid #fff;
          display: inline;
          text-shadow: 0 0 10px rgba(54, 118, 142, 0.8);
        }
      }
    }

    /* 悩み */
    .nayami {
      width: 96%;
      margin: 0 auto;

      h2 {
        margin: 30px 0;
      }

      .sumi_nayami_img {
        .sumi_nayami_img_sp {
          display: block;
          margin: 0 auto;
          text-align: center;

          img {
            width: 48%;
            margin-bottom: 5px;
          }

          .flex {
            display: flex;
            justify-content: space-between;
          }
        }
      }
    }

    /* ライフスタイルに合わせた暮らし */
    .sumi_life_wrap {
      h2 {
        margin: 40px auto;
      }

      .sumi_life_block {
        display: flex;
        flex-direction: column;
        margin: 0 auto 60px;
        width: 85%;

        .sumi_life_graph {
          order: 2;
          margin: 30px auto 0;

          img {
            width: 100%;
          }
        }

        .sumi_life_txt {
          order: 1;
          text-align: center;
          font-weight: bold;

          .fukidashi {
            position: relative;
            font-size: clamp(14px, 4.2vw, 16px);
            color: #0d73a2;
            line-height: 28px;
            margin: 0 auto 30px;
            position: relative;
            width: 100%;

            &::before {
              content: "";
              width: 50px;
              display: block;
              height: 2px;
              background-color: #0d73a2;
              transform: rotate(70deg);
              position: absolute;
              left: -30px;
              bottom: 20px;
            }

            &::after {
              content: "";
              width: 50px;
              display: block;
              height: 2px;
              background-color: #0d73a2;
              transform: rotate(-70deg);
              position: absolute;
              right: -30px;
              bottom: 20px;
            }
          }

          .big_txt {
            font-size: clamp(21px, 6vw, 25px);
            line-height: 40px;
            margin: 20px 0;

            span {
              color: #ff7815;
              font-size: clamp(24px, 7vw, 30px);
            }
          }

          .annotation {
            font-size: clamp(8px, 2vw, 10px);
            line-height: 15px;
          }
        }
      }

      .sumi_q {
        margin-bottom: 100px;

        .sumi_q_block {
          width: 90%;
          margin: 0 auto 50px;

          .sumi_q_txt {
            h3 {
              font-size: clamp(21px, 6vw, 25px);
              line-height: 1.5;
              font-weight: bold;
              margin: 0 0 20px;
            }

            p {
              font-size: clamp(15px, 4.5vw, 17px);
              line-height: 1.8;
              margin: 0 0 30px;
            }
          }

          .sumi_q_img {
            img {
              width: 100%;
            }
          }
        }
      }
    }

    /* 住み替えタイプから選ぶ */
    .sumi_type_wrap {
      background-color: #0d73a2;
      padding: 80px 0 40px;

      h2 {
        color: #fff;

        &.sa_conts_tit_line::after {
          background-color: #fff;
        }
      }

      .sumi_type_txt {
        p {
          font-size: clamp(15px, 4.5vw, 17px);
          text-align: left;
          line-height: 1.8;
          color: #fff;
          margin: 50px auto 50px;
          width: 85%;
        }
      }

      .sumi_tp_block_wrap {
        width: 90%;
        margin: 0 auto;

        .sumi_tp_block {
          padding: 40px 20px;
          box-sizing: border-box;
          background-color: #fff;
          margin-bottom: 20px;

          .sumi_tp_ti {
            text-align: center;

            h3 {
              font-size: clamp(28px, 8vw, 35px);
              color: #0d73a2;
              background: linear-gradient(transparent 70%, #ffdbde 0%);
              line-height: 1.3;
              display: inline-block;
              margin: 0px;
            }

            p {
              font-size: clamp(15px, 4.7vw, 18px);
              color: #0d73a2;
              margin: 20px 0 30px;
              font-weight: bold;
            }
          }

          .sumi_tp_merit {
            border: 2px solid #ff7c56;
            box-sizing: border-box;
            padding: 20px 20px 10px;

            p {
              font-size: clamp(15px, 4.7vw, 18px);
              color: #ff7c56;
              margin: 0 0 10px;
              line-height: 1;
              font-weight: bold;
            }

            ul {
              padding: 0 0 0 30px;
              margin: 0;

              li {
                font-size: clamp(15px, 4.5vw, 17px);
                line-height: 1.4;
                margin-bottom: 20px;
                position: relative;
                list-style-type: none;
                font-weight: bold;

                &::before {
                  content: "";
                  position: absolute;
                  top: 8px;
                  left: -25px;
                  display: block;
                  width: 10px;
                  height: 10px;
                  border-radius: 50px;
                  background-color: #ff7e56;
                }
              }
            }

            &.demerit {
              border: 2px solid #0d73a2;
              margin-top: 20px;

              p {
                color: #0d73a2;
              }

              ul {
                li::before {
                  background-color: #0d73a2;
                }
              }
            }
          }
        }
      }
    }

    /* 住み替えの成功の秘訣とは？ */
    .sumi_point_wrap {
      padding: 100px 0 60px;

      .sumi_pt_komoku {
        display: none;

        p {
          line-height: 50px;
          font-size: clamp(18px, 5.3vw, 20px);
          width: 330px;
          text-align: center;
          border-radius: 50px;
          background-color: #ebebeb;
          margin: 20px 80px;

          &:nth-child(2) {
            background-color: #0d73a2;
            color: #fff;
          }
        }
      }

      .sumi_pt_list {
        width: 90%;
        margin: 0 auto;

        ul {
          margin: 0 0 20px;
          padding: 0;
          font-weight: bold;

          li {
            list-style-type: none;

            &:nth-child(1) {
              width: 100%;
              display: flex;
              align-items: center;
              background-color: #0d73a2;
              color: #fff;
              text-align: center;
              justify-content: center;
              line-height: 50px;
            }

            &:nth-child(2) {
              margin: 0 0px 5px 0;
              background-color: #ebebeb;
              padding: 20px;
              box-sizing: border-box;
              display: flex;
            }

            &:nth-child(3) {
              margin: 0 0px 5px 0;
              background-color: #e9f4f9;
              color: #0d73a2;
              padding: 20px;
              box-sizing: border-box;
              display: flex;
            }

            &:nth-child(1) {
              p {
                line-height: 50px;
              }
            }

            p {
              margin: 0;
              font-size: clamp(15px, 4.5vw, 17px);
              width: 80%;
              line-height: normal;
            }

            span {
              width: 20%;
              font-size: clamp(13px, 3.8vw, 15px);
            }
          }
        }
      }

      .sumi_pt_img {
        text-align: center;
        margin: 40px auto 50px;
        width: 75%;

        img {
          width: 100%;
        }
      }

      .sumi_pt_txt {
        p {
          text-align: center;
          font-size: clamp(21px, 6vw, 25px);
          line-height: 40px;
          font-weight: bold;

          span {
            background: linear-gradient(transparent 70%, #ffdbde 0%);
            line-height: 1.3;
            font-weight: bold;
          }
        }
      }
    }

    /* 住み替え事例 */
    .sumi_result_wrap {
      padding: 100px 0 0;

      .sumi_re_block {
        width: 90%;
        margin: 0 auto;

        .sumi_re_bl_ti {
          font-size: clamp(18px, 5.3vw, 20px);
          line-height: 1;
          font-weight: bold;
          margin: 0 0 50px;
          text-align: center;
          letter-spacing: 3px;

          span {
            background: linear-gradient(transparent 70%, #ffdbde 0%);
            line-height: 1.3;
            font-size: clamp(24px, 7vw, 30px);
          }
        }

        .sumi_re_bl_komoku {
          text-align: center;

          img {
            width: 100%;
          }
        }

        .sumi_re_list_wrap {
          margin-bottom: 100px;

          .sumi_re_list {
            width: 100%;

            .sumi_re_list_img {
              text-align: center;
              margin-top: 40px;

              img {
                margin: 0 auto;
                width: 80%;
              }
            }

            ul {
              margin: 0;
              padding: 0;
              border: 2px solid #0d73a2;
              border-radius: 10px;
              box-sizing: border-box;
              padding: 40px;

              li {
                list-style-type: none;
                font-size: clamp(15px, 4.7vw, 18px);
                color: #0d73a2;
                margin-bottom: 25px;
                line-height: 1.4;
                position: relative;
                padding-left: 40px;
                font-weight: bold;

                &:last-child {
                  margin-bottom: 0px;
                }

                &::before {
                  position: absolute;
                  content: url(../img/sumi_re_moya.webp);
                  top: 0px;
                  left: 0;
                }
              }
            }

            &:nth-child(2) ul {
              border: 2px solid #ff5050;

              li {
                color: #ff5050;

                &::before {
                  content: url(../img/sumi_re_check.webp);
                }
              }
            }
          }
        }
      }
    }

    /* CV */
    #sa_inq {
      .sa_inq_txt {
        width: 96%;
        margin: 0 auto;
        letter-spacing: normal !important;
      }

      h2 {
        margin: 10px auto 30px;
        ;
        line-height: 1.3;
      }
    }

    /* title */
    h2 {
      font-size: clamp(14px, 6vw, 24px);
      line-height: 1.8;
      font-weight: bold;
      text-align: center;
      color: #000;
      margin: 0 0 30px;

      &.sa_conts_tit_line::after {
        content: "";
        display: block;
        width: 70px;
        height: 5px;
        background-color: #0e6e98;
        margin: 20px auto 0;
      }
    }

    /* svg */
    svg {
      margin: 0 auto;
      display: block;

      .cls-1 {
        fill: var(--main-color);
      }
    }

    /* btn */
    .btn_link {
      display: block;
      width: 80%;
      line-height: 60px;
      background-color: var(--btn-color);
      color: #fff;
      text-align: center;
      position: relative;
      margin: 0 auto 00px;
      border-radius: 5px;
      font-weight: bold;
      font-size: clamp(15px, 4.7vw, 18px);

      &:hover {
        opacity: .8;
      }
    }

    /* fadein（下から上） */
    .fadein {
      opacity: 0;
      transform: translateY(30px);
      transition: all 0.8s ease-out;

      &.show {
        opacity: 1;
        transform: translateY(0);
      }

      &.fadein-1 {
        transition-delay: 0.2s;
      }

      &.fadein-2 {
        transition-delay: 0.4s;
      }

      &.fadein-3 {
        transition-delay: 0.6s;
      }

      &.fadein-4 {
        transition-delay: 0.8s;
      }

      &.fadein-5 {
        transition-delay: 1.0s;
      }

      &.fadein-6 {
        transition-delay: 1.2s;
      }
    }
  }

  /*--- sumikaeここまで ---*/
}