﻿.flow_type3 .cate{counter-reset: box;}
.flow_type3 .cate_box{counter-increment: box;}
.flow_type3 .box_item{padding-top: 60px;}
.flow_type3 .box_title1{z-index: 0}
.flow_type3 .box_title1::before, .flow_type3 .box_title1::after{
	position: absolute;
	content: "";
	display: block;
	pointer-events: none
}
.flow_type3 .box_title1::before {
	content: "0"counter(box);
	font-size: 86px;
	color: var(--color5);
	left: 0;
	top: -70px;
	z-index: -1;
	font-family: var(--font-en);
}
.flow_type3 .box_title1::after{
	width: 100%;
	height: 1px;
	bottom: 0;
	left: 0;
	background-color: #222
}

.flow_type3 .btn_container a {
    padding: 5px 15px 3px;
    height: 60px;
    margin: 0 auto 0;
    -webkit-transition: all 0.3s ease, transform 0.3s ease;
    -moz-transition: all 0.3s ease,transform 0.3s ease;
    -o-transition: all 0.3s ease,transform 0.3s ease;
    transition: all 0.3s ease, transform 0.3s ease;
    position: relative;
    box-sizing: border-box;
    vertical-align: middle;
    font-size: 20px;
}

.flow_type3 .btn_container a:hover {
    transform: scale(1.1);
}
/*-------- スマートフォン --------*/
@media screen and (max-width: 667px){
.flow_type3 .box_title1::before{
	left: auto;
	right: 0;
	top: -60px;
}
.flow_type3 .box_item {
    padding-top: 36px;
}
}
.BA_type1 .box_item, .BA_type1 .box_img1, .BA_type1 .box_img2 {position: relative;}
.BA_type1 .box_item::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50.3%;
    transform: translate(-50%,-50%);
    width: 0;
    height: 0;
    border-style: solid;
    border-width: 17px 0 17px 40px;
    border-color: transparent transparent transparent var(--color2);
}
.BA_type1 .box_img1 {margin-right: 40px;}
.BA_type1 .box_img2 {margin-left: 40px;}
.BA_type1 .box_img1::after, .BA_type1 .box_img2::after {
    position: absolute;
    height: 40px;
    width: 97px;
    background-color: var(--color1);
    color: var(--color6);
    font-size: 18px;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    font-family: var(--font-en);
}

.BA_type1 .box_img1::after {content: "BEFORE";}
.BA_type1 .box_img2::after {content: "AFTER";}

@media screen and (max-width: 667px){
.BA_type1 .box_img1 {margin-right: 5%;margin-bottom: 50px;}
.BA_type1 .box_img2 {margin-left: 5%;}
.BA_type1 .box_img1::after, .BA_type1 .box_img2::after {height: 30px;font-size: 15px;}
.BA_type1 .box_item::after {transform: translate(-50%,-60%) rotate( 90deg);border-width: 20px 0 20px 23px;}
}
#cms_5-c .box_title1{
	border-color: rgba(0,0,0,0.05)
}
#cms_5-c .box_title1::before{
	content: "Q.";
	font-weight: bold;
	position: absolute;
	top: 6px;
	left: 13px;
	font-size:-webkit-calc(1rem + 8px);font-size : calc(1rem + 8px);
}
#cms_5-c .box_txt1::before{
	content: "A.";
	font-weight: bold;
	position: absolute;
	color: rgba(0,0,0,0.3);
	top: 8px;
	left: 13px;
	font-size:-webkit-calc(1rem + 8px);font-size : calc(1rem + 8px);
}
.cms_5-c .box_title1{
	border-color: rgba(0,0,0,0.05)
}
.cms_5-c .box_title1::before{
	content: "Q.";
	font-weight: bold;
	position: absolute;
	top: 6px;
	left: 13px;
	font-size:-webkit-calc(1rem + 8px);font-size : calc(1rem + 8px);
}
.cms_5-c .box_txt1::before{
	content: "A.";
	font-weight: bold;
	position: absolute;
	color: rgba(0,0,0,0.3);
	top: 8px;
	left: 13px;
	font-size:-webkit-calc(1rem + 8px);font-size : calc(1rem + 8px);
}

@media screen and (max-width: 768px){
	#cms_5-c .box_title1::before{
		top: 6px;
		font-size:-webkit-calc(1rem + 6px);font-size : calc(1rem + 6px);
	}
	#cms_5-c .box_txt1::before{
		top: 9px;
		font-size:-webkit-calc(1rem + 6px);font-size : calc(1rem + 6px);
	}
	.cms_5-c .box_title1::before{
		top: 6px;
		font-size:-webkit-calc(1rem + 6px);font-size : calc(1rem + 6px);
	}
	.cms_5-c .box_txt1::before{
		top: 9px;
		font-size:-webkit-calc(1rem + 6px);font-size : calc(1rem + 6px);
	}
}
@media screen and (max-width: 667px){
	#cms_5-c .box_title1::before{
		top: 5px;
		left: 0;
		font-size:-webkit-calc(1rem + 4px);font-size : calc(1rem + 4px);
	}
	#cms_5-c .box_txt1::before{
		top: 10px;
		left: 0;
		font-size:-webkit-calc(1rem + 4px);font-size : calc(1rem + 4px);
	}
	.cms_5-c .box_title1::before{
		top: 5px;
		left: 0;
		font-size:-webkit-calc(1rem + 4px);font-size : calc(1rem + 4px);
	}
	.cms_5-c .box_txt1::before{
		top: 10px;
		left: 0;
		font-size:-webkit-calc(1rem + 4px);font-size : calc(1rem + 4px);
	}
}
#cms_6-b .cate_box, #cms_6-b .cate_box .box_txt1, #cms_6-b .cate_box .box_txt2{
	border-color: #cccccc;
	word-break: break-all;
}
#cms_6-b .cate_box:first-of-type{
	border-top: 1px solid #cccccc;
}
.cms_6-b .cate_box, .cms_6-b .cate_box .box_txt1, .cms_6-b .cate_box .box_txt2{
	border-color: #cccccc;
	word-break: break-all;
}
.cms_6-b .cate_box:first-of-type{
	border-top: 1px solid #cccccc;
}
@media screen and (max-width: 667px){
	#cms_6-b .cate_title{
		margin-left: 0;
		margin-right: 0;
	}
}

#cms_6-b .btn_container a {
    padding: 5px 15px 3px;
    height: 60px;
    margin: 0 auto 0;
    -webkit-transition: all 0.3s ease, transform 0.3s ease;
    -moz-transition: all 0.3s ease,transform 0.3s ease;
    -o-transition: all 0.3s ease,transform 0.3s ease;
    transition: all 0.3s ease, transform 0.3s ease;
    position: relative;
    box-sizing: border-box;
    vertical-align: middle;
    font-size: 20px;
}

.line_bnr a {
    height: 60px;
    box-shadow: rgb(232, 232, 232) 3px 3px 0px 1px;
    position: relative;
    box-sizing: border-box;
    vertical-align: middle;
    background-color: rgb(6, 192, 82);
    padding: 5px -5px 3px;
    margin: 0px auto;
    border-radius: 10px;
    transition: 0.3s, transform 0.3s;
}