/* features ---------------------------------------------------- */
.features{
  @media (max-width: 640px){
    padding: 0px 20px;
  }

  & .inner{
    max-width: 964px;
  }

  & .features_grid{
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 48px 48px;

    @media (max-width: 640px){
      grid-template-columns: 1fr;
      gap: 20px;
    }
  }

  & .feature_item{
    position: relative;

    @media (max-width: 640px){
      &:not(:last-of-type){
        margin-bottom: 14px;
      }
    }

    & > span{
      display: table;
      font-weight: 700;
      font-size: 12px;
      line-height: 1;
      color: #fff;
      background: var(--key-color);
      padding: 8px 24px 10px;
      border-radius: 8px 8px 0 0;
      margin: 0 auto;

      @media (max-width: 640px){
        display: none;
      }
    }

    & > h3{
      background: #FFF7D4;
      color: #111;
      font-weight: 800;
      font-size: 24px;
      line-height: 1.4;
      text-align: center;
      padding: 14px;
      margin: 0;
      border-radius: 20px 20px 0 0;

      @media (max-width: 640px){
        border-radius: 20px 20px 0 0;
        padding: 10px;
      }
    }

    & > p{
      border: 1px solid var(--key-color);
      border-radius: 0 0 18px 18px;
      border-bottom-right-radius: 22px;
      padding: 20px 24px;
      margin: 0;
      color: #333;
      line-height: 1.7;

      @media (max-width: 640px){
        text-align: justify;
        padding: 20px;
      }

    }
  }
}

/* flow ---------------------------------------------------- */
.flow{

  @media (max-width: 640px){
    padding: 0 20px;
  }

  & .inner{
    max-width: 863px;
  }

  & .flow_list{
    list-style: none;
    padding: 0;
    margin: 0;

    & .flow_item{
      position: relative;
      display: flex;
      align-items: center;
      gap: 24px;
      padding: 20px 16px;
      background: var(--key-color);

      @media (max-width: 640px){
        padding: 30px 16px;
      }

      &::after{
        content: "";
        position: absolute;
        left: 50%;
        bottom: -23px;
        transform: translateX(-50%);
        width: 0;
        height: 0;
        border-left: 25px solid transparent;
        border-right: 25px solid transparent;
        border-top: 23px solid var(--key-color);
        z-index: 10;
      }

      &:first-of-type{
        border-radius: 28px 28px 0 0;
      }

      &:nth-of-type(2){
        background: #FFF0AA;

        &::after{
          border-top-color: #FFF0AA;
        }
      }

      &:nth-of-type(3){
        background: #FFFBE6;

        &::after{
          border-top-color: #FFFBE6;
        }
      }

      &:nth-of-type(4){
        background: #FFFEFC;

        &::after{
          border-top-color: #FFFEFC;
        }
      }

      &:nth-of-type(5){
        background: #F4F4F4;

        &::after{
          border-top-color: #F4F4F4;
        }
      }

      &:nth-of-type(6){
        background: #eee;

        &::after{
          border-top-color: #eee;
        }
      }

      &:last-of-type{
        background: #ddd;
        border-radius: 0 0 28px 28px;

        &::after{
          content: none;
        }

      }


      & > div{
        position: relative;
        flex: 1 1 auto;
        padding: 0 0 0 60px;

        @media (max-width: 640px){
          padding: 0 8px;
        }

        & > span{
          position: absolute;
          top: 5px;
          left: 10px;
          display: inline-block;
          min-width: 30px;
          text-align: center;
          font-weight: 700;
          font-size: 14px;
          line-height: 1;
          color: var(--key-color);
          background: #fff;
          padding: 8px 6px;
          border-radius: 8px;
          z-index: 2;
          font-family: "Noto Sans JP", sans-serif;


          @media (max-width: 640px){
            top: 2px;
            left: 10px;
          }

          &.num_line{
            border: 1px solid var(--key-color);
          }
        }

        & > h3{
          font-size: 24px;
          font-weight: 800;
          line-height: 1.5;
          color: #111;
          position: relative;
          z-index: 2;

          @media (max-width: 640px){
            margin-left: 40px;
          }
        }

        & > p{
          margin: 0;
          color: #333;
          font-size: 16px;
          line-height: 1.7;
          position: relative;
          z-index: 2;

          @media (max-width: 640px){
            text-align: justify;
          }
        }
      }

      & > figure{
        max-width: 210px;
        margin: 0;
        border-radius: 12px;
        overflow: hidden;
        position: relative;
        z-index: 2;

        @media (max-width: 640px){
          display: none;
        }

        & > img{
          display: block;
          width: 100%;
          object-fit: cover;
        }
      }
    }
  }
}

/* goods ---------------------------------------------------- */
.goods{

  @media (max-width: 640px){
    padding: 0px 20px;
  }
}

/* form ---------------------------------------------------- */
.form{
  padding: 120px 0;
  background: #F5F5F5;

  @media (max-width: 640px){
    padding: 60px 20px;
    margin-bottom: 60px;
  }

  & .inner{

    & form{
     /* input, select の共通スタイル */
     & input[type="text"],
     & input[type="tel"],
     & input[type="url"],
     & input[type="checkbox"],
     & select,
     & textarea{
      border: none;
      background: #fff;
    }
  }
}
}


/* 売却事例 ---------------------------------------------------- */

.exsample{

  @media (max-width: 640px){
    padding: 0px 20px;
  }

  & .inner{
    max-width: 1000px;

    @media (max-width: 640px){
      max-width: 100%;
    }

    & .inner_intro_text{
      margin-bottom: 50px;

      @media (max-width: 640px){
        text-align: justify;
      }
    }


    & .exsample_list {
      max-width: 570px;
      list-style: none;
      margin: 0 auto;
      padding: 0;

      & > li {
        display: flex;
        align-items: center;
        border-radius: 12px;
        overflow: hidden;
        font-weight: 700;
        color: #111;
        background: #FFFBE6;
        margin-bottom: 20px;

        @media (max-width: 640px){
          display: block;
        }

        & > span:first-child {
          position: relative;
          padding: 14px 14px 14px 20px;
          font-size: 18px;
          flex: 1;

          @media (max-width: 640px){
            display: block;
            padding: 14px 40px;
            text-align: center;
          }

          /* ★マーク */
          &::before {
            content: "★";
            /* position: absolute;
            left: 20px;
            top: 50%;
            transform: translateY(-50%); */
            color: #F8D548;
            margin-right: 10px;
            font-size: 18px;

            @media (max-width: 640px){
              position: static;
              margin-right: 5px;
            }
          }

        }

        & > span:last-child {
          background: var(--key-color);
          font-size: 26px;
          font-weight: 800;
          padding: 14px 32px;
          white-space: nowrap;
          width: 50%;
          position: relative;
          text-align: center;

          @media (max-width: 640px){
            display: block;
            width: 100%;
            padding: 10px;
          }

          &::before {
            content: "";
            position: absolute;
            top: 0;
            left: 0px;
            width: 0;
            height: 0;
            border-top: 36px solid transparent;
            border-bottom: 36px solid transparent;
            border-left: 16px solid #FFFBE6;
            height: 70px;

            @media (max-width: 640px){
              left: auto;
              right: 30px;
              border-top: 8px solid #FFFBE6;
              border-bottom: 8px solid transparent;
              border-left: 12px solid #FFFBE6;
              border-right: 12px solid transparent;
              height: 16px;
            }
          }
        }
      }
    }
  }
}

