@charset "utf-8";

/*
型落ち処分用CSS
*/

body {
  background-color: #b30000;
}
.font-notojp {
  font-family: "Noto Sans JP", sans-serif;
  font-weight: 400;
}
.cmn_main {
  .mv {
    position: relative;
    margin-bottom: -50px;
  }
  .notice {
    font-size: 14px;
    line-height: 1.5;
  }
  .pickup {
    margin-bottom: 32px;
    img {
      width: 100%;
    }
    .notice {
      display: flex;
      flex-direction: column;
      color: #fff;
      margin-top: 8px;
      li {
        padding-left: 1.5em;
        text-indent: -1.5em;
        &::before {
          content: "※";
          margin-right: 0.5em;
        }
      }
    }
  }
  .point {
    margin-top: 32px;
    img {
      width: 100%;
    }
    h2 {
      margin-bottom: 15px;
    }
  }
  .pay {
    margin-top: 50px;
    margin-bottom: 40px;
    background-color: #fff;
    border-radius: 8px;
    padding: 15px 16px;
    .notice {
      margin-top: 16px;
      padding-left: 1em;
      text-indent: -1em;
      & + .notice {
        margin-top: 8px;
      }
      &::before {
        content: "※";
        margin-right: 0em;
      }
      &.num01 {
        padding-left: 2em;
        text-indent: -2em;
      }
      &.num01::before {
        content: "※1";
        margin-right: 0.5em;
      }
    }
  }
  .sale {
    h2 {
      padding-left: 12px;
      padding-right: 12px;
    }
    .lead {
      margin-top: 14px;
      text-align: center;
      font-weight: 900;
      color: #fff;
      font-size: 20px;
      line-height: 1.3;
    }
    .item_list01 {
      display: flex;
      flex-wrap: wrap;
      gap: 20px 2%;
      margin-top: 30px;
    }
    .item {
      width: 49%;
      display: flex;
      flex-direction: column;
      border: 2px solid #d7bf4c;
      background-color: #fff;
      border-radius: 8px;
      position: relative;
      &.soldout {
        &::after {
          position: absolute;
          display: block;
          content: "";
          width: 100%;
          height: 100%;
          background-position: center;
          background-repeat: no-repeat;
          background-image: url(../img/sale/item_sold_out.png);
          background-size: 100%;
        }
      }
      .pic {
        padding: 20px 15px 7px;
        img {
          width: 100%;
        }
      }
      .type_maker {
        display: flex;
        justify-content: center;
        margin-bottom: 5px;
        gap: 5px;
        .type {
          display: flex;
          justify-content: center;
          align-items: center;
          font-size: 12px;
          color: #e63e00;
          border: 1px solid #e63e00;
          padding: 4px 3px;
          border-radius: 3px;
        }
        .maker {
          display: flex;
          justify-content: center;
          align-items: center;
          font-size: 16px;
          font-weight: bold;
        }
      }
      .model {
        text-align: center;
        font-size: 14px;
        font-weight: bold;
      }
      .tag {
        margin: 13px;
        flex-grow: 1;
        display: flex;
        flex-wrap: wrap;
        align-content: flex-start;
        gap: 5px;
        li {
          padding: 5px;
          border-radius: 3px;
          background-color: #ccc;
          font-size: 12px;
          font-weight: bold;
          color: #fff;
          line-height: 1;

          &.fuel {
            background-color: #5e98db;
          }
          &.capacity {
            background-color: #e5a23e;
          }
          &.ecojozu {
            background-color: #409d40;
          }
          &.location {
            background-color: #eb747e;
          }
          &.hotwater {
            background-color: #8c59b2;
          }
        }
      }
      .discount {
        margin: 0 13px;
        padding: 8px;
        background-color: #b30000;
        border-radius: 3px;
        font-size: 13px;
        color: #fff;
        font-weight: 700;
        text-align: center;
        span {
          margin-left: 9px;
          font-size: 20px;
          color: #dcc657;
          font-weight: 600;
        }
      }
      .price {
        padding: 6px 13px 17px;
        text-align: center;
        font-size: 16px;
        color: #b30000;
        font-weight: bold;
        span {
          font-size: 24px;
          &.tax {
            font-size: 12px;
          }
        }
      }
    }

    .item.soldoout {
    }
  }
}

@media (min-width: 768px) {
  .cmn_main {
    .mv {
      height: 550px;
      margin-bottom: -30px;
      text-align: center;
      background-position: center;
      background-repeat: no-repeat;
      background-image: url(../img/sale/mv_back_pc.jpg);
      background-size: cover;
    }
    .notice {
    }
    .pickup {
      margin-bottom: 64px;
      .notice {
        flex-direction: row;
        flex-wrap: wrap;
      }
    }
    .point {
      margin-top: 64px;
      h2 {
        text-align: center;
        margin-bottom: 20px;
        img {
          width: auto;
        }
      }
    }
    .pay {
      margin-top: 70px;
      margin-bottom: 60px;
      padding: 30px;
      .notice {
        & + .notice {
          margin-top: 0;
        }
      }
    }
    .sale {
      margin-top: 70px;
      h2 {
        text-align: center;
        img {
          width: auto;
        }
      }
      .lead {
        margin-top: 18px;
        font-size: 25px;
      }
      .item_list01 {
        gap: 30px calc(4% / 3);
        margin-top: 40px;
      }
      .item {
        max-width: 24%;
        .pic {
          padding: 18px 18px 7px;
        }
        .type_maker {
          .type {
            font-size: 16px;
          }
          .maker {
            font-size: 20px;
          }
        }
        .model {
          font-size: 20px;
        }
        .tag {
          margin-bottom: 15px;
          li {
            font-size: 14px;
          }
        }
        .discount {
          font-size: 20px;
          span {
            font-size: 25px;
          }
        }
        .price {
          font-size: 25px;
          span {
            font-size: 40px;
            &.tax {
            }
          }
        }
      }
    }
  }
}
