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

/* セクションタイトル 

font-size: clamp(22px, 1.27vw + 17.22px, 32px);
padding: 0 0 calc(30 / 1160 * 100%);
*/
#home {
 .mv{
              @media screen and (min-width: 769px) {
                padding: 0;
            }
            .inner{ padding-top:0;
              padding-left: 0;
              padding-right: 0;
                    max-width: 100%;
                             @media screen and (min-width: 769px) {
                   
                }
            }
 }
 .about{
  .text{
    font-size: clamp(24px, 0.8vw + 21.01px, 32px);
    font-weight: 900;
    line-height: 1.4;
    strong{
        font-size:clamp(28px, 1.1vw + 23.86px, 48px);
display: inline-block;
width: auto;
position: relative;
z-index: 1;
&::before{
    content: "";
    position: absolute;
    bottom: 10px;
    left: 0;
    width: 100%;
    height: 30px;
    z-index: -1;
    background-color: var(--yellow);
    background-size: 100% 50%;
    background-repeat: no-repeat;
}
}
  }
  .features{
    display: grid;
     gap: 12px;
      grid-template-columns: repeat(1, 1fr);
      margin-bottom: 12px;
    @media screen and (min-width: 769px) {
        gap: 24px;
      grid-template-columns: repeat(2, 1fr);
        margin-bottom: 0;
    }
    @media screen and (min-width: 1024px) {
    gap: 24px;
      grid-template-columns: repeat(4, 1fr);
    
    }
    li{
        background-color:#FFFDF2;
        border: 5px solid #BFC7D5;
       padding: 18px;
        border-radius: 10px;
        position: relative;
        .icon{
            position: absolute;
                              top: -10px;
                    left: -10px;
           width: 60px;
            height: 70px;
            display: inline-block;
            text-align: center;
        font-style: normal;
        display: flex;
        align-items: center;
        justify-content: center;
        background:url(../img/icon-ponit.svg) no-repeat center center;
        background-size: contain;
        font-weight: 700;
        line-height: 1.2;
        @media screen and (min-width: 769px) {
          position: absolute;
                              top: -20px;
                    left: -10px;
           width: 70px;
            height: 80px;
        }
        @media screen and (min-width: 1024px) {
          position: absolute;
                              top: -20px;
                    left: -10px;
           width: 80px;
            height: 90px;
    gap: 24px;
      grid-template-columns: repeat(4, 1fr);
    
    }
        span{
            color: var(--white);
           font-size: clamp(14px, 0.22vw + 13.17px, 16px);
            b{
               font-size:clamp(16px, 0.22vw + 13.17px, 18px);
                 font-weight: 700;
            }
            @media screen and (min-width: 1024px) {
          font-size: clamp(16px, 0.22vw + 15.17px, 18px);
            b{
                font-size:clamp(20px, 1.1vw + 15.86px, 30px);
                 font-weight: 700;
            }
            }
        }

        }
        img{
            height: 100%;
            max-height: 124px;
            object-fit: contain;
        }
        h3{
            font-size:clamp(18px, 0.44vw + 16.34px, 22px);
            font-weight: 900;
            margin: 16px 0 8px;
            color: var(--blue);
            text-align: center;
        }
        p{
            font-size: clamp(14px, 0.46vw + 12.71px, 18px);
    }
  }
}
}
.car{
  .inner{
    .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;
  }
    }
  }
}
.recommend{
  .features{
    display: grid;
    grid-template-columns: repeat(1, 1fr);
    gap: 12px;
   @media screen and (min-width: 769px) {
      grid-template-columns: repeat(2, 1fr);
      gap: 12px;
    }
    @media screen and (min-width: 1024px) {
      grid-template-columns: repeat(3, 1fr);
      gap: 24px;
    }
    li{
        border: 5px solid #BFC7D5;
       padding: 18px;
        border-radius: 10px;
        position: relative;
        .img{
          display: grid;
          grid-template-columns:80px 1fr;
          align-items: center;
          justify-content:center;
          text-align: justify;
        margin-bottom: 1rem;
        @media screen and (min-width: 769px) {
       grid-template-columns:120px 1fr;
        }
        @media screen and (min-width: 1024px) {
      
        }
        }
        .icon{
            position: absolute;
            bottom: -6px;
                    right: 5px;
            width: calc(42px + 60 * var(--fluid));
            display:none;
            @media screen and (min-width: 769px) {
                  display: inline-block;
            }
        }
        img{
            height: 100%;
            max-height: 124px;
            object-fit: contain;
        }
        h3{
            font-size:clamp(18px, 0.44vw + 16.34px, 22px);
            font-weight: 900;
            color: var(--blue);
        }
        p{
            font-size: clamp(14px, 0.46vw + 12.71px, 18px);
            padding: 1.5rem;
            background-color: #FEFCE8;
            border-radius: 10px;
            margin-right: 0;
            @media screen and (min-width: 769px) {
            margin-right: 22%;
            }
            .line{
              font-weight: 900;
              background-color: var(--yellow);
            }
    }
  }
}
}
.voice{
  .inner{
    .list{
   
      li{
           display: grid;
      grid-template-columns:1fr;
      gap: 24px;
      align-items: center;
      background-color: var(--white);
      border-radius: 1.5rem;
      position: relative;
      margin-bottom: 2rem;
      @media screen and (min-width: 769px) {
    grid-template-columns:30% 1fr;
      gap: 12px;
      }
      @media screen and (min-width: 1024px) {
    grid-template-columns:40% 1fr;
      gap: 24px;
      }
      &:last-child{
        margin-bottom: 0;
      }
      img{
        border-radius: 1.5rem;
        border-top-right-radius: 0;
      }
      .text{
        padding-right: 0;
        @media screen and (min-width: 769px) {
            padding-right: 4.8%;

        }
        h3{
          font-size: clamp(24px, calc(24px + 8 * var(--fluid)), 32px);
          font-weight: 900;
          margin-bottom: 1rem;
          padding: 0 1rem;
          @media screen and (min-width: 769px) {
            padding:0;
          }
        }
        p{
           padding: 0 1rem 1rem;
          font-size: clamp(14px, 0.46vw + 12.71px, 18px);
           @media screen and (min-width: 769px) {
            padding:0;
          }
        }
      }
      }
    }
  }
}
.flow{
  .inner-md{
    .list{
      li{
        align-items: center;
        background-color:#F2F8FF;
        border-radius: 1.5rem;
        margin-bottom: 2rem;
        padding: 1rem;
        position: relative;
        @media screen and (min-width: 769px) {
    
        display: grid;
        grid-template-columns: 80px 1fr;
        gap: 24px;
        }
        @media screen and (min-width: 1024px) {
        } 
    .icon{
      width: 60px;
      height: 60px;
      display: inline-block;
      text-align: center;
      background-color: var(--blue);
       border-radius: 1.5rem;
       color: var(--white);
       display: flex;
       align-items: center;
       justify-content: center;
       position: absolute;
       top: -10px;
       left: -10px;
       @media screen and (min-width: 769px) {
        top: 0;
        left: 0;
       }
       @media screen and (min-width: 769px) {
        position: relative;
        width: 80px;
        height: 80px;
       }
      span{
       font-size: clamp(12px, calc(12px + 2 * var(--fluid)), 14px);
        font-weight: 700;
        line-height: 1.2;
        strong{
          font-size: clamp(20px, calc(20px + 4 * var(--fluid)), 24px);
          font-weight: 900;
        }
      }
    }
    .text{
      font-size: clamp(18px, calc(18px + 2 * var(--fluid)), 20px);
      font-weight: 700;
      text-align: justify;
           padding-left: 5rem;
      @media screen and (min-width: 769px) {
        padding-left: 0;
        text-align: center;
      }
    }
      }
    }
    }
  }
  .faq{
    .inner-md{
     
    }
  }
}