@charset "UTF-8";

/*--------LINEお友達追加--------*/
#top_line_add + .contents_box01 .wrapper_item{
    display: flex !important;
    justify-content: center;
}
#top_line_add + .contents_box01 .wrapper_item .heading.block_header_2 .h{
    font-weight: 700;
    color: #fff;
    background: #05C756;
    display: inline-block;
    border-radius: 50px;
    padding: 4px 20px;
}
#top_line_add + .contents_box01.w40 .inner_item_img{
    flex-basis: 30%;
    max-width: 240px;
}
#top_line_add + .contents_box01 .inner_item_img img{
    min-width: 120px !important;
    width: 20vw  !important;
    max-width: 240px !important;
}
#top_line_add + .contents_box01.w40 .inner_item_txt{
    flex-basis: 70%;
    max-width: 70%;
}
@media screen and (max-width: 900px){
  #top_line_add + .contents_box01 .wrapper_item{
      flex-direction: column-reverse !important;
  }
  #top_line_add + .contents_box01.w40 .inner_item_img{
      margin: 0 auto;
  }
  #top_line_add + .contents_box01 .wrapper_item .heading.block_header_2 {
      text-align: center;
  }
  #top_line_add + .contents_box01.w40 .inner_item_txt{
    flex-basis: 100%;
    margin: 0 auto;
  }
}


/*------------------------こんなお悩みありませんか？--------------------------*/
#top_maru + section.contents_box01.block_image_text_3 .inner_item_txt {
    background: #FFFF99;
    color: #000;
    border-radius: 30px;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -ms-flex-wrap: wrap;
    justify-content: center;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    padding-right: 20px;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -ms-flex-direction: column;
    flex-direction: column;
    padding: 20px 0!important;
}

#top_maru + section.contents_box01 .inner_item_txt .heading {
    text-align: center;
    height: auto;
    margin-bottom: 0;
}

#top_maru + section.contents_box01 .heading.block_header_2 .h {
   padding: 0 10px;
   
}

#top_maru + section.contents_box01  .inner_item_txt p:nth-last-of-type(1) {
    width: fit-content;
    text-align: left;
    height: auto;
}
#top_table + section.contents_box01 table {
    border: none;
}
#top_table + section.contents_box01 table tr td {
    border: none;
}

#top_table + section.contents_box01 .inner_item_txt:nth-of-type(1):nth-last-of-type(1) {
    text-align: center;
    display:-webkit-box;
    display:-ms-flexbox;
    display:flex;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
}