@charset "shift_jis";

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

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

  /*--- rikonここから ---*/
  .sale_rikon_wrap {

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

      .rikon_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;

      .nayami_group {
        position: relative;
        margin: 0px 0;

        ul {
          display: flex;
          justify-content: center;
          flex-wrap: wrap;
          padding: 0;
          margin: 0;

          li {
            width: 350px;
            height: 110px;
            font-size: 17px;
            font-weight: bold;
            line-height: 30px;
            border: 1px solid #bfbfbf;
            padding: 25px 0;
            box-sizing: border-box;
            list-style: none;
            border-radius: 10px;
            margin: 10px 8px;
            text-align: center;

            span {
              background: linear-gradient(transparent 60%, #ffdbde 0%);
            }
          }
        }
      }
    }

    /* 当社なら */
    .rik_strong {
      background-color: #e6f3fa;
      padding: 100px 0 80px;

      .rik_str_fhkidashi {
        text-align: center;
        margin-bottom: 60px;
      }

      .rik_str_txt {
        p {
          font-size: 30px;
          letter-spacing: 1.8px;
          line-height: 40px;
          font-weight: bold;
          text-align: center;
          margin: 0 0 80px;
        }
      }

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

          li {
            width: 530px;
            background-color: #fff;
            border: 1px solid #ccc;
            border-radius: 5px;
            margin-bottom: 40px;
            box-sizing: border-box;
            display: flex;
            align-items: center;
            padding: 20px;
            justify-content: space-between;

            .img {
              width: 150px;
              height: 158px;

              img {
                width: 100%;
              }
            }

            .txt {
              width: 300px;

              p {
                font-size: 18px;
                line-height: 30px;
                margin: 0;
                font-weight: bold;
              }
            }
          }
        }
      }
    }

    /* ご自宅を財産分与する方法 */
    .rik_property {
      padding: 130px 0 150px;

      .rik_pro_about {
        position: relative;
        width: 1100px;
        margin: 80px auto 60px;
        background-color: #f8fdff;
        border: 3px solid #0d73a2;
        border-radius: 10px;
        padding: 60px 70px;
        box-sizing: border-box;

        h3 {
          position: absolute;
          left: 0;
          right: 0;
          margin: 0 auto;
          font-size: 18px;
          text-align: center;
          line-height: 50px;
          display: inline-block;
          width: 170px;
          border-radius: 50px;
          background-color: #0d73a2;
          color: #fff;
          top: -25px;
        }

        p {
          font-size: 18px;
          color: #307fa9;
          line-height: 35px;
          margin: 0;

          span {
            color: #f00;
          }
        }
      }

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

          li {
            width: 530px;
            background-color: #f8fdff;
            border: 3px solid #0d73a2;
            border-radius: 10px;
            list-style-type: none;
            padding: 30px;
            margin-bottom: 60px;
            box-sizing: border-box;
            text-align: center;

            &:first-child h3:after {
              position: absolute;
              /* content: "おすすめ"; */
              content: "\304a\3059\3059\3081";
              background-color: #ffab32;
              width: 95px;
              line-height: 28px;
              color: #fff;
              font-size: 20px;
              top: -35px;
              left: 0;
              right: 0;
              margin: 0 auto;
              border-radius: 5px;
            }

            h3 {
              font-size: 24px;
              font-weight: bold;
              background: linear-gradient(transparent 70%, #ffdbde 0%);
              line-height: 1.3;
              color: #307fa9;
              display: inline-block;
              position: relative;
              margin: revert;
            }

            img {
              display: block;
              margin: 50px auto;
            }

            p {
              color: #647b8d;
              font-size: 18px;
              line-height: 30px;
              text-align: left;
            }
          }
        }
      }

      .rik_pro_txt {
        text-align: center;

        p {
          font-size: 23px;
          font-weight: bold;
          line-height: 45px;

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

    /* 離婚時の不動産の財産分与の流れ */
    .rik_flow {
      background-color: #e6f3fa;
      padding: 110px 0 150px;

      .rik_flow_block {
        background-color: #fff;
        border-radius: 30px;
        padding: 60px 50px;
        width: 1100px;
        margin: 70px auto 0;
        box-sizing: border-box;

        ul {
          padding: 0;
          margin: 0;

          li {
            display: flex;
            justify-content: space-between;
            list-style-type: none;
            margin-bottom: 70px;
            position: relative;

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

            &::after {
              position: absolute;
              content: "";
              bottom: -65px;
              left: 0px;
              right: 357px;
              margin: 0 auto;
              box-sizing: border-box;
              width: 4px;
              height: 4px;
              border: 20px solid transparent;
              border-left: 20px solid #307fa9;
              transform: rotate(90deg);
            }

            &:last-child::after {
              content: none;
            }

            .rik_fl_ti {
              width: 320px;
              border-right: 2px solid #307fa9;

              h3 {
                font-size: 20px;
                font-weight: bold;
                color: #307fa9;
                margin: 20px 0 0;
                line-height: normal;
              }
            }

            .rik_fl_txt {
              width: 630px;

              p {
                font-size: 17px;
                line-height: 35px;
                margin: 10px 0;
              }
            }
          }
        }
      }
    }

    /* 離婚の相談事例 */
    .salec_result_wrap {
      background-color: #eee;
      padding: 110px 0 90px;

      &.rik_result {
        background-color: #fff;
      }

      .salec_res_list {
        ul {
          width: 1100px;
          margin: 0 auto;
          padding: 0;

          li {
            list-style-type: none;
            background-color: #fff;
            border: 3px solid #307fa9;
            border-radius: 5px;
            box-sizing: border-box;
            padding: 40px;
            margin-bottom: 30px;

            .res_list_top {
              p {
                font-size: 26px;
                font-weight: bold;
                color: #307fa9;
                font-weight: bold;
                margin: 20px 0;

                .res_list_number {
                  display: inline-block;
                  background-color: #307fa9;
                  color: #fff;
                  padding: 10px 20px;
                  margin-right: 20px;
                  font-size: 18px;
                  line-height: normal;
                }

                .res_list_name {
                  font-size: 18px;
                }
              }
            }

            .res_list_btm {
              display: flex;

              .img {
                width: 340px;
                text-align: center;
              }

              .txt {
                width: 700px;

                p {
                  font-size: 16px;
                  line-height: 1.5;
                  margin: 20px 0;
                }
              }
            }
          }
        }
      }
    }

    /* よくある質問 */
    #sa_qa {
      padding: 0;

      .salec_qa_wrap {
        padding: 110px 0 80px;
      }
    }

    /* 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;
      }
    }
  }

  /*--- rikonここまで ---*/
}






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


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

  /*--- rikonここから ---*/
  .sale_rikon_wrap {

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

      .rikon_main_inner {
        width: 90%;
        margin: 0 auto;
        text-align: center;
        padding: 90px 0 77px;
        line-height: 10px;

        span {
          font-size: clamp(14px, 4.2vw, 16px);
          font-weight: bold;
          color: #fff;
          line-height: 16px;
          border-bottom: 1px solid #fff;
          display: inline-block;
          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: 16px;
          border-bottom: 1px solid #fff;
          display: inline-block;
          text-shadow: 0 0 10px rgba(54, 118, 142, 0.8);
        }
      }
    }

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

      h2 {
        margin: 30px 0;
      }

      .nayami_group {
        position: relative;
        margin: 0px 0;

        ul {
          display: block;
          padding: 0;
          width: 90%;
          margin: 0 auto;

          li {
            width: 100%;
            font-size: clamp(14px, 4.2vw, 16px);
            font-weight: bold;
            line-height: 180%;
            border: 1px solid #bfbfbf;
            padding: 20px 10px;
            box-sizing: border-box;
            list-style: none;
            border-radius: 10px;
            margin-bottom: 15px;
            text-align: center;

            span {
              background: linear-gradient(transparent 60%, #ffdbde 0%);
            }
          }
        }
      }
    }

    /* 当社なら */
    .rik_strong {
      background-color: #e6f3fa;
      padding: 80px 0 60px;
      margin-top: 60px;

      .rik_str_fhkidashi {
        text-align: center;
        margin: 0 auto 40px;
        width: 70%;

        img {
          width: 100%;
        }
      }

      .rik_str_txt {
        p {
          font-size: clamp(19px, 5.4vw, 22px);
          letter-spacing: 1.8px;
          line-height: 1.8;
          font-weight: bold;
          text-align: center;
          margin: 0 auto 40px;
          width: 85%;
        }
      }

      .rik_str_list {
        ul {
          display: flex;
          justify-content: space-between;
          flex-wrap: wrap;
          width: 90%;
          margin: 0 auto;
          padding: 0;

          li {
            width: 100%;
            background-color: #fff;
            border: 1px solid #ccc;
            border-radius: 5px;
            margin-bottom: 20px;
            box-sizing: border-box;
            display: flex;
            align-items: center;
            padding: 20px;
            justify-content: space-between;

            .img {
              width: 25%;

              img {
                width: 100%;
              }
            }

            .txt {
              width: 65%;

              p {
                font-size: clamp(14px, 4.2vw, 16px);
                line-height: 30px;
                margin: 0;
                font-weight: bold;
              }
            }
          }
        }
      }
    }

    /* ご自宅を財産分与する方法 */
    .rik_property {
      padding: 80px 0 80px;

      .rik_pro_about {
        position: relative;
        width: 90%;
        margin: 80px auto 60px;
        background-color: #f8fdff;
        border: 3px solid #0d73a2;
        border-radius: 10px;
        padding: 50px 30px 40px;
        box-sizing: border-box;

        h3 {
          position: absolute;
          left: 0;
          right: 0;
          margin: 0 auto;
          font-size: clamp(15px, 4.7vw, 18px);
          text-align: center;
          line-height: 50px;
          display: inline-block;
          width: 170px;
          border-radius: 50px;
          background-color: #0d73a2;
          color: #fff;
          top: -25px;
        }

        p {
          font-size: clamp(15px, 4.5vw, 17px);
          color: #307fa9;
          line-height: 30px;
          margin: 0;

          span {
            color: #f00;
          }
        }
      }

      .rik_pro_list {
        ul {
          width: 90%;
          margin: 0 auto;
          padding: 0;

          li {
            width: 100%;
            background-color: #f8fdff;
            border: 3px solid #0d73a2;
            border-radius: 10px;
            list-style-type: none;
            padding: 50px 30px 30px;
            margin-bottom: 20px;
            box-sizing: border-box;
            text-align: center;
            position: relative;

            &:first-child h3:after {
              position: absolute;
              /* content: "おすすめ"; */
              content: "\304a\3059\3059\3081";
              background-color: #ffab32;
              width: 95px;
              line-height: 28px;
              color: #fff;
              font-size: clamp(18px, 5.3vw, 20px);
              top: 10px;
              left: 0;
              right: 0;
              margin: 0 auto;
              border-radius: 5px;
            }

            h3 {
              font-size: clamp(20px, 5.8vw, 24px);
              font-weight: bold;
              background: linear-gradient(transparent 70%, #ffdbde 0%);
              line-height: 1.3;
              color: #307fa9;
              display: inline;
            }

            img {
              display: block;
              margin: 50px auto;
              width: 100%;
            }

            p {
              color: #647b8d;
              font-size: clamp(15px, 4.7vw, 18px);
              line-height: 30px;
              text-align: left;
            }
          }
        }
      }

      .rik_pro_txt {
        text-align: center;
        width: 85%;
        margin: 50px auto 0;

        p {
          font-size: clamp(18px, 5.3vw, 20px);
          font-weight: bold;
          line-height: 35px;

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

    /* 離婚時の不動産の財産分与の流れ */
    .rik_flow {
      background-color: #e6f3fa;
      padding: 80px 0 80px;

      .rik_flow_block {
        background-color: #fff;
        border-radius: 20px;
        padding: 40px 30px;
        width: 90%;
        margin: 50px auto 0;
        box-sizing: border-box;

        ul {
          padding: 0;
          margin: 0;

          li {
            list-style-type: none;
            margin-bottom: 70px;
            position: relative;
            border-bottom: solid 2px #307fa9;

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

            &::after {
              position: absolute;
              content: "";
              bottom: -65px;
              left: 0px;
              right: 0px;
              margin: 0 auto;
              box-sizing: border-box;
              width: 4px;
              height: 4px;
              border: 20px solid transparent;
              border-left: 20px solid #307fa9;
              transform: rotate(90deg);
            }

            &:last-child::after {
              content: none;
            }

            .rik_fl_ti {
              width: 100%;
              line-height: 21px;

              h3 {
                font-size: clamp(18px, 5.3vw, 20px);
                font-weight: bold;
                color: #307fa9;
                margin: 0px 0 0;
                line-height: 30px;
              }
            }

            .rik_fl_txt {
              width: 100%;

              p {
                font-size: clamp(14px, 4.2vw, 16px);
                line-height: 30px;
                margin: 20px 0;
              }
            }
          }
        }
      }
    }

    /* 離婚の相談事例 */
    .salec_result_wrap {
      background-color: #eee;
      padding: 80px 0 50px;

      &.rik_result {
        background-color: #fff;
      }

      .salec_res_list {
        ul {
          width: 90%;
          margin: 0 auto;
          padding: 0;

          li {
            list-style-type: none;
            background-color: #fff;
            border: 3px solid #307fa9;
            border-radius: 5px;
            box-sizing: border-box;
            padding: 30px;
            margin-bottom: 30px;

            .res_list_top {
              p {
                font-size: clamp(18px, 5.3vw, 20px);
                color: #307fa9;
                font-weight: bold;
                margin: 0 0 20px;
                line-height: normal;

                .res_list_number {
                  display: block;
                  background-color: #307fa9;
                  color: #fff;
                  padding: 10px 20px;
                  margin-bottom: 20px;
                  font-size: clamp(15px, 4.7vw, 18px);
                  text-align: center;
                  line-height: normal;
                }

                .res_list_name {
                  font-size: clamp(14px, 4.2vw, 16px);
                  display: block;
                }
              }
            }

            .res_list_btm {
              .img {
                text-align: center;
              }

              .txt {

                p {
                  font-size: clamp(14px, 4.2vw, 16px);
                  line-height: 1.5;
                  margin: 20px 0;
                }
              }
            }
          }
        }
      }
    }

    /* よくある質問 */
    #sa_qa {
      padding: 0;

      .salec_qa_wrap {
        padding: 80px 0 80px;
      }
    }

    /* 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;
      }
    }
  }

  /*--- rikonここまで ---*/
}