@charset "UTF-8";

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);
    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%;
}

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

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

}


@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%;
}
}

@media screen and (max-width: 500px){
	#spbtn+.contents_btn01 .content_wrapper{
		display: flex;
		flex-wrap: wrap;
		justify-content: center;
	}
	#spbtn+.contents_btn01 a{
		min-width: 100px;
		width: 40%;
	}
	#spbtn+.contents_btn01{
		padding-top: 0;
		padding-bottom: 0;
	}
}
@media screen and (max-width: 365px){
	#spbtn+.contents_btn01 a{
		align-self: center;
	}
}