@import url('./common.css');

/* セクションタイトル 

font-size: clamp(22px, calc(22px + 10 * var(--fluid)), 32px);
padding: 0 0 calc(30 / 1160 * 100%);
*/


#car {
  .inner{
        padding: calc( 100 / 1380 * 100%) 1.5rem;
        @media screen and (min-width: 769px) {
          padding: calc(100 / 1380 * 100%) 3rem;
        }

      }
      .inner-md{
        padding: calc(100 / 960 * 100%) 1.5rem;
        @media screen and (min-width: 769px) {
          padding: calc(100 / 960 * 100%) 3rem;
        }
      }
 .list-car{
  .lead{
   font-size: clamp(20px, calc(20px + 10 * var(--fluid)), 30px);
   color: var(--blue);
   font-weight: 900;
   display: table;
   margin: 0 auto;
   text-align: center;
   @media screen and (min-width: 769px) {
    text-align: justify;
    font-size: clamp(22px, calc(22px + 10 * var(--fluid)), 32px);
   }
  }
  .list{
      display: grid;
      grid-template-columns: repeat(1, 1fr);
      gap: 12px;
      align-items: stretch;
      @media screen and (min-width: 769px) {
        grid-template-columns: repeat(2, 1fr);
        gap: 24px;
      }
      @media screen and (min-width: 1024px) {
     grid-template-columns: repeat(3, 1fr);
        gap: 36px;
      }
      .name{
    font-size: clamp(20px, calc(20px + 4 * var(--fluid)), 24px);
    font-weight: 900;
    text-align: center;
    display: table;
    margin: 0 auto;
  min-height: 80px;
  margin-top: 1.5rem;
    @media screen and (min-width: 769px) {
    min-height: 120px;
    margin-top: 0;
    }
  }
  figure{
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100%;
    max-height:calc(194px + 30 * var(--fluid));
  }
  .price{
    font-weight: 900;
    text-align: center;
    margin: 16px 0;
    font-size: clamp(18px, calc(18px + 4 * var(--fluid)), 22px);
    strong{
      font-size: clamp(22px, calc(24px + 8 * var(--fluid)), 32px);
      color: var(--blue);
    }
  }
  .bonus{
    list-style: none;
    padding: 0;
    margin: 0;
  }
    }
 }
}