
@charset "UTF-8";

#service01 + section .heading.block_header_2 h3.h,
#service02 + section .heading.block_header_2 h3.h,
#service03 + section .heading.block_header_2 h3.h,
#service04 + section .heading.block_header_2 h3.h,
#service05 + section .heading.block_header_2 h3.h,
#service06 + section .heading.block_header_2 h3.h,
#service07 + section .heading.block_header_2 h3.h,
#service08 + section .heading.block_header_2 h3.h {
	font-size: 1.55rem!important;
	font-weight: 400;
	font-family: "Open Sans" , "Helvetica Neue" , Helvetica , Arial , Verdana , "游ゴシック" , "Yu Gothic" , "游ゴシック体" , "YuGothic" , "ヒラギノ角ゴ Pro W3" , "Hiragino Kaku Gothic Pro" , "Meiryo UI" , "メイリオ" , Meiryo , "ＭＳ Ｐゴシック" , "MS PGothic" , sans-serif;
}

section .content_wrapper > .heading.block_header_4 {
  position: relative;
  margin-left: 50px;
  margin-bottom: 40px;
  padding-left: 20px;
  border-left: 8px solid #2F4D73;
  line-height: 1;
}

section .content_wrapper > .heading.block_header_4 h2::before {
  content: "";
  position: absolute;
  width: calc(100% + 58px);
  height: 1px;
  background: #aaa;
  top: 37px;
  left: -58px;
}

section .content_wrapper > .heading.block_header_4 h2 + p {
  position: relative;
  color: inherit;
  padding-top: 8px;
}

.block_html ul.btn_list li {
    list-style: none;
}

.btn_list {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
}

.block_html .btn_list li {
   /* width: calc(93% / 8); */
    width: calc(93% / 9);
    padding-left: 0;
}

.block_html .btn_list li a {
    position: relative;
    display: block;
    background: #2F4D73;
    color: #fff;
    padding-top: 100%;
}

.block_html .btn_list li a .text_wrap {
    position: absolute;
    top: 35px;
    left: 0;
    right: 0;
    display: flex;
    justify-content: flex-start;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.block_html .btn_list li a::before {
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    -webkit-transform: translate(-50%, -50%);
    transform: translate(-50%, -50%);
    width: 92%;
    height: 92%;
    border: 1px solid #fff;
    transition: all ease .3s;
}

.block_html .btn_list li a::after {
    content: "";
    position: absolute;
    bottom: 5px;
    left: 50%;
    -webkit-transform: translate(-50%, 0);
    transform: translate(-50%, 0);
    width: 0;
    height: 0;
    border: 7px solid transparent;
    border-top: 6px solid #fff;
}

.block_html .btn_list li .sub_text {
    font-size: 12px;
    line-height: 1;
}

.block_html .btn_list li .main_text {
    letter-spacing: 0;
    margin-bottom: 5px;
}

.block_html .btn_list li a:hover::before {
    width: 100%;
    height: 100%;
}



@media screen and (max-width: 900px){
 .block_html .btn_list li {
   /* width: 23.5%;  */
    width: 32.5%;
}

/*--------------------------------------
.block_html .btn_list li:nth-child(n + 5) {
    margin-top: 2%;
}
--------------------------------------*/

/*--------20250421追加---------*/
.block_html .btn_list li:nth-child(n + 4) {
    margin-top: 2%;
}

.block_html .btn_list li a .text_wrap {
    top: 50%;
    transform: translate(0, -50%);
}

section .content_wrapper > .heading.block_header_4 {
    margin-left: 20px;
    padding-top: 5px;
    padding-bottom: 3px;
}

.heading.block_header_4 .h {
    margin-bottom: 10px;
}

section .content_wrapper > .heading.block_header_4 h2::before {
    width: calc(100% + 28px);
    left: -28px;
}
}

/*-------------------------------------------------
@media screen and (max-width: 400px){

.block_html .btn_list li {
   width: 49%;
} 

.block_html .btn_list li:nth-child(n + 3) {
    margin-top: 1%;
}
}
-------------------------------------------------*/

/*-------20250421追加----------*/
/*--------9カラムテキストサイズ-------*/
@media screen and (min-width: 901px) {
    .block_html .btn_list li .main_text {
        font-size: 1.4rem;
    }
    
    .block_html .btn_list li .sub_text {
        font-size: 10px;
    }
}

@media screen and (min-width: 901px) and (max-width: 1100px) {
    .block_html .btn_list li a .text_wrap {
        top: 25px;
    }

    .block_html .btn_list li .main_text {
        font-size: 1.2rem;
    }

    .block_html .btn_list li .sub_text {
        font-size: 8.5px;
    }
}

@media screen and (max-width: 400px){
.block_html .btn_list li .sub_text {
    font-size: 11px;
}
}