﻿#cms_4-b .box_wrap{
	justify-content: flex-start;
}
#cms_4-b .cate_box{
	margin: 0 1%;
}
.cms_4-b .cate_box{
	margin: 0 1%;
}
@media screen and (max-width: 667px){
	#cms_4-b .cate_box{
		margin: 0 auto;
	}
	.cms_4-b .cate_box{
		margin: 0 auto;
	}
}
#cms_2-c .box_item{
	word-break: break-all;
}
.cms_2-c .cate_box{
    justify-content: flex-start;
}
@media screen and (max-width: 667px){
	#cms_2-c .cate_title{
		margin-left: 0;
	}
	#cms_2-c .box_item{
		border: none;
	}
	.cms_2-c .box_item{
		border: none;
	}
}

.link_type2 .cate_box a {
    color: #fff;
}
.link_type2 .cate_box a:before, .link_type2 .cate_box a:after {
    content: "";
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    background-color: rgba(0,0,0,0.5);
    z-index: 1;
}
.link_type2 .cate_box a:after {
    top: 100%;
    background-color: var(--color1);
    transition: 0.5s;
	z-index: 3;
}
.link_type2 .cate_box a:hover:after {
    top: 0;
}
.link_type2 .cate_box .txt_wrap {
    z-index: 2;
}
.link_type2 .more {
	letter-spacing: 3px;
    box-sizing: border-box;
	opacity: 0;
	transition: opacity .8s;
	z-index: 4;
}
.link_type2 .cate_box a:hover .more {
    opacity: 1;
}
#cms_2-a .cate{
	margin-bottom: 50px;
}
#cms_2-a .cate .cate_box:last-of-type{
	border-bottom: none;
}

.cms_2-a{
	position: relative;
}
.cms_2-a .swiper-button-prev,.cms_2-a .swiper-button-next{
	top: 50%;
	transform: translate(0,-50%);
	width: auto!important;
	height: auto!important;
	font-size: 30px;
}
.cms_2-a .swiper-button-prev{
	left: 10px;
}
.cms_2-a .swiper-button-next{
	right: 10px;
}
.cms_2-a .swiper-button-prev, .cms_2-a .swiper-button-next,.cms_2-a .swiper-button-prev,.cms_2-a .swiper-container-rtl .swiper-button-next{
	background-image:none;
}

.flow_type2 .cate_title {
    border-bottom: solid 3px #ccc;
    position: relative;
}
.flow_type2 .cate_title::after {
    content: '';
    display: block;
    background: #fe9c05;
    width: 30%;
    height: 3px;
    position: absolute;
    left: 0;
    bottom: -3px;
}
.flow_type2 .box_wrap {
	border: 3px solid var(--color1);
}
.flow_type2 .cate_box {
	padding: 30px;
	width: 100%!important;
}
.flow_type2 .box_txt1 {
    background-color: #f7f7f7;
    color: var(--color1);
    text-align: center;
}
.flow_type2 .cate_box:not(:last-child) {
	border-bottom: 3px solid var(--color1);
	position: relative;
}
.flow_type2 .cate_box:not(:last-child)::before,
.flow_type2 .cate_box:not(:last-child)::after {
	content: "";
	border: solid transparent;
	position: absolute;
	top: 100%;
	left: 17%;
	-webkit-transform: translateX(-50%);
	transform: translateX(-50%);
}
.flow_type2 .cate_box:not(:last-child)::before {
	border-width: 22px;
	border-top-color: var(--color1);
}
.flow_type2 .cate_box:not(:last-child)::after {
	border-width: 18px;
	border-top-color: #fff;
}

.flow_type2 .cate{counter-reset: number 0;}

/*.flow_type2 .box_txt1::before {
    counter-increment: number 1;
    content: "step." counter(number);
    background-color: var(--color1;
    padding: 5px 10px;
    font-weight: 700;
    color: #ffffff;
    display: block;
    margin: 0px auto 10px;
    width: 50%;
}*/
/*-------- スマートフォン --------*/
@media screen and (max-width: 667px){
.flow_type2 .cate_box:first-child {
    padding: 20px 20px 30px 20px;
}
.flow_type2 .cate_box:not(:first-child) {
    padding: 40px 20px 20px 20px;
}
.flow_type2 .cate_box:not(:last-child)::before, .flow_type2 .cate_box:not(:last-child)::after {
    left: 50%;
}
}
/*-------- FireFox --------*/
@-moz-document url-prefix() {
.flow_type2 .cate_box:not(:last-child)::before, .flow_type2 .cate_box:not(:last-child)::after {top: 98% !important;}
}
#cms_5-f .cate:before,.cms_5-f .cate:before{
	content: '';
	position: absolute;
	display: inline-block;
	width: 1px;
	height: 100%;
	top: 0;
	left: 1px;
	background-color: #ccc;
}
#cms_5-f .cate_box .box_item,.cms_5-f .cate_box .box_item{
	display: none;
	border: none; 
}
#cms_5-f .cate_box .open_bt .box_title1,.cms_5-f .cate_box .open_bt .box_title1{
	display: inline-block;
	position: relative;
	margin-left: 70px;
	letter-spacing: 1px;
	cursor: pointer;
}
#cms_5-f .cate_box .open_bt .box_title1::before,.cms_5-f .cate_box .open_bt .box_title1::before{
	content: "Q.";
	position: absolute;
	left: -26px;
	top: -1px;
	color: #363636;
	display: inline-block;
	vertical-align: baseline;
}
#cms_5-f .cate_box .box_txt1,.cms_5-f .cate_box .box_txt1{
	background-color: rgba(221, 221, 221, 0.3);
	padding-left: 34px;
}
#cms_5-f .cate_box .open_bt,.cms_5-f .cate_box .open_bt{
	position: relative;
	width: 100%;
	cursor: pointer;	
	padding: 3px 0;
}
#cms_5-f .cate_box .arrow,.cms_5-f .cate_box .arrow{
	position: absolute;
	left: 2px;
	top: 50%;
	transform: translate(0,-50%);
}
#cms_5-f .cate_box .open_bt .arrow::before,#cms_5-f .cate_box .open_bt .arrow::after,
.cms_5-f .cate_box .open_bt .arrow::before,.cms_5-f .cate_box .open_bt .arrow::after{
	position: absolute;
	content:'';
	width: 15px;
	height: 2px;
	background-color: #484848; 
}
#cms_5-f .cate_box .open_bt .arrow::before,.cms_5-f .cate_box .open_bt .arrow::before{
	top:48%;
	left: 15px;
	transform: rotate(180deg);    
	transition: all 0.5s;
}
#cms_5-f .cate_box .open_bt .arrow::after,.cms_5-f .cate_box .open_bt .arrow::after{    
	top:48%;
	left: 15px;
	transform: rotate(-90deg);
	transition: all 0.5s;
}
#cms_5-f .cate_box .open_bt .arrow.arrow_be::before,.cms_5-f .cate_box .open_bt .arrow.arrow_be::before{
	transform: rotate(0deg);
	transition: all 0.5s;
}
#cms_5-f .cate_box .open_bt .arrow.arrow_be::after,.cms_5-f .cate_box .open_bt .arrow.arrow_be::after{
	transform: rotate(0deg);
	transition: all 0.5s;
}
@media screen and (max-width: 667px){
    #cms_5-f .cate_box .open_bt, .cms_5-f .cate_box .open_bt {
        border-bottom: 1px solid #eee;
    }
    #cms_5-f .cate:before, .cms_5-f .cate:before{display: none;}
    #cms_5-f .cate_box .box_item, .cms_5-f .cate_box .box_item {
        padding-left: 0;
    }
    #cms_5-f .cate_box .box_txt1, .cms_5-f .cate_box .box_txt1 {
        background-color: rgba(221, 221, 221, 0.3);
        padding-left: 48px;
    }
}