﻿@media screen and (max-width: 667px){
	#cms_3-e .cate_title{
		margin-left: 0;
	}
	#cms_3-e .box_title2{
		/*border: none;*/
	}
}
/* 5-d */
#cms_5-d .box_title1:before, .cms_5-d .box_title1:before {
    content: '';
    position: absolute;
    display: block;
    z-index: 1;
    border-style: solid;
    border-color: var(--color1) transparent;
    border-width: 13px 13px 0 0;
    bottom: -13px;
    left: 50%;
    margin-left: -9px;
}

#cms_5-d .box_title1:after, .cms_5-d .box_title1:after {
    content: '';
    position: absolute;
    display: block;
    z-index: 0;
    border-style: solid;
    border-color: transparent;
    border-width: 15px 15px 0 0;
    bottom: -17px;
    left: 50%;
    margin-left: -11px;
}

#cms_5-d .circle,.cms_5-d .circle {
  position: relative;
  margin: 0px auto;
  width: 100px;
  height: 100px;
  display: flex;
  justify-content: center;
  align-items: center;
  border-radius: 50%;
}
#cms_5-d .inner,.cms_5-d .inner {
  position: relative;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  transform: rotate(-90deg);
}
#cms_5-d .cate_box:nth-of-type(even) .inner ,.cms_5-d .cate_box:nth-of-type(even) .inner{  
  transform: rotate(90deg);
}
#cms_5-d .text span, .cms_5-d .text span {
    position: absolute;
    inset: 0;
    font-size: 0.8em;
}
#cms_5-d,.cms_5-d{counter-reset: num;}

#cms_5-d .circle:before,.cms_5-d .circle:before  {
   	counter-increment: num;
    content: counter(num,decimal-leading-zero);
    font-family:Arial;
    font-weight: bold;
    position: absolute;
    top: 34px;
    left: 34%;
    color: currentColor;
    font-size: 1.8em;
}
#cms_5-d .circle:after,.cms_5-d .circle:after{
	content: '';
    position: absolute;
    bottom: 17px;
    left: 51%;
    transform: translateX(-50%);
    width: 33%;
    height: 2px;
	background-color:currentColor;
}
.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: 30px;
    width: 90px;
    background-color: transparent;
    color: var(--color1);
    font-size: 22px;
    font-weight: 700;
    text-align: center;
    font-family: var(--font-en);
    padding-top: 10px;
}
.BA_type1 .box_img1::after {content: "before";}
.BA_type1 .box_img2::after {content: "after";line-height: 1.2;}

@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: 20px;}
.BA_type1 .box_item::after {transform: translate(-50%,-60%) rotate( 90deg);border-width: 20px 0 20px 23px;}
}
#cms_7-a .cate_box:last-child,.cms_7-a .cate_box:last-child{border: none}