@charset "UTF-8";

.contents_box01 {
	counter-increment: selectnum 1 selectnum2 +1;
}
.hp{
    counter-reset:  selectnum selectnum2;
}
.block_image_text_7 .inner_item_txt .heading,
.block_image_text_8 .inner_item_txt .heading{
    background: var(--i_main_color);
    color: #FFF;
   border-radius: 5px;
    padding: 10px 20px;
}
.block_image_text_7 .inner_item_txt .heading h3,
.block_image_text_8 .inner_item_txt .heading h3{
    padding-left:0;
}
.block_image_text_7 .inner_item_txt .heading h3::before,
.block_image_text_8 .inner_item_txt .heading h3::before{
    display: inline-block;
    margin-right: 10px;
    background: #FFF;
    color: var(--i_main_color);
   padding: 5px 7px;
    border-radius: 5px;
    width: auto;
    height: auto;
    position: relative;
    border: none;
}
.block_image_text_7 .inner_item_txt .heading h3::before{
    content: "理由" counter(selectnum);
}
.block_image_text_8 .inner_item_txt .heading h3::before{
    content: "理由" counter(selectnum2);
}

@media screen and (max-width: 900px){
.block_image_text_7 .inner_item_txt .heading h3::before,
.block_image_text_8 .inner_item_txt .heading h3::before{
    display: block;
    margin-right: 0px;
    text-align: center;
    margin-bottom:10px;
}
}


/*-----------------------------調整---------------------------------*/
#midasi + section .heading.block_header_2 .h {
    font-weight: bold;
}

@media screen and (max-width: 900px) {
#midasi + section .heading.block_header_2 .h {
    width: 100%;
}
}