@import url("header.css");
@import url("footer.css");
@import url("button.css");


#main-banner-wrapper{
  width: 96%;
  margin: 0 2%;
}
#main-banner-wrapper img{
  width: 100%;
  height: auto;
  display: block;
  margin: 0 auto;
  border-radius: 20px;
}

#rescue-menu_title{
  width: 90%;
  margin: 1em auto 0;
}
#rescue-menu_title img{
  width: 100%;
  height: auto;
  display: block;
  margin: 0 auto;
}

/*--------------------------------------
  カード型_01
--------------------------------------*/
.wp-block-columns{
    list-style: none;
    width: 96%;
    padding: 0 2%;
    /*display: flex;*/
}



.l-wrapper_01 {
    margin: 1rem auto;
    width: 95%;
  }
  
  .l-wrapper_01:hover {
    transform: translateY(-3px);
    box-shadow: 0 7px 14px rgba(50,50,93,.1), 0 3px 6px rgba(0,0,0,.08);
    transition: all .5s;
  }
  
  .card_01 {
    background-color: #fff;
    box-shadow: 0 0 8px rgba(0, 0, 0, .16);
    color: #212121;
    text-decoration: none;
  }
  
  .card__header_01 {
    /*display: flex;
    flex-wrap: wrap;*/
  }
  
  .card__title_01 {
    padding: 1.5rem 1.5rem 1rem;
    font-size: 1.6rem;
    order: 1;
    margin-bottom: 0.6rem;
    font-weight: bold;
    text-decoration: none;
    text-align: center;
    font-size: 2rem;
  }
  
  .card__thumbnail_01 {
    margin: 0;
    order: 0;
  }
  
  .card__image_01 {
    width: 100%;
    height: 10rem;
    object-fit: cover;
  }
  
  .card__body_01 {
    padding: 0 1.5rem;
  }
  
  .card__text_01 {
    /*font-size: .8rem;*/
    text-align:center;
    text-decoration: none;
      padding-bottom: 0;
  }
  
  .card__text2_01 {
    font-size: 1.2rem;
    line-height: 1.8rem;
    margin-top: 0;
    margin-bottom: 2rem;
    text-align: left;
    padding: 0;
  }
  
  .card__text_01 + .card__text_01 {
    margin-top: .5rem;
  }
  
  .card__footer_01 {
    padding: 0 0 3rem;
    /*border-top: 1px solid #ddd;*/
  }
  
  .button_01 {
    display: inline-block;
    text-decoration: none;
    transition: background-color .3s ease-in-out;
    text-align: center;
  }
  
  .button_01 a {
    text-decoration: none;
  }
  
  .button_01.-compact {
    padding: 1rem 4rem;
    border-radius: .25rem;
    background-color: #4f96f6;
    color: #fff;
    font-weight: bold;
      text-decoration: none;
  }
  
  .button_01.-compact:hover,
  .button_01.-compact:focus {
    background-color: #6bb6ff;
  }
h3{
  font-size: 2rem;
  text-align: center;
  margin-top: 4rem;
}
p{
  font-size: 1.2rem;
  text-align: center;
  margin: 0 auto;
  padding: 0 1.5rem;
  line-height: 1.9rem;
}
  /*注意事項*/
  .precautions{
    font-size: 0.7rem;
    margin: 0 auto;
    text-align: center;
    background-color:#fffff0;
    border-radius: 20px;
    padding: 1em 1em;
  }
  .precautions h6{
    font-size: 1.5rem;
    margin: 0 auto;
    padding: 0 1.5rem 1.5rem;
    text-align: center;
  }
  .precautions ol{}
  .precautions li{
    font-size: 1rem;
    margin: 0 auto 1rem;
    padding: 0 0.5rem;
    text-align: left;
  }
  /*契約の流れ*/
  .step-wrapper{}
  ol.step-wrapper{
    list-style-type: none;
    padding-inline-start: 0px;
  }
  ol.step-wrapper p{
    font-size: 1rem;
  }
  .step-wrapper li{margin-bottom: 3em;}
  .step-wrapper li p{word-break: keep-all;}
  .step-wrapper li img{width: 90%;}



  @media screen and (min-width: 768px) {
    /*.wp-block-columns{
      display: flex;
  }*/
  #rescue-menu_title{
    width: 58%;
    margin: 2em auto 0;
  }
  .precautions{
    font-size: 0.8rem;
    margin: 0 auto;
    text-align: center;
    background-color:#fffff0;
    border-radius: 20px;
    padding: 2em 2em;
    width: 90%;
  }
  ol.step-wrapper p{
    font-size: 1.2rem;
  }
  .card__text2_01 {
    font-size: 1.2rem;
    line-height: 1.8rem;
    margin-top: 0;
    margin-bottom: 2rem;
    text-align: left;
    padding: 0 1em;
  }
  }