﻿#cms_2-h .box_img1, #cms_2-h .box_img2{width: 48%!important;}
#cms_2-h .box_title1{position: relative;    }
#cms_2-h .box_title1:before{
  content: '';
  position: absolute;
  display: inline-block;
  width: 45px;
  height: 1px;
  bottom: -25px;
  left: 0;
  background-color: currentColor;
}

.cms_2-h .box_wrap{box-shadow: rgba(0, 0, 0, 0.15) 0px 5px 15px 0px;}
.cms_2-h .swiper-slide{height: auto!important;}
.cms_2-h .cate_box {height: 100%;min-height: 350px;}
.cms_2-h .box_img1{border-radius: 5px 0 0 5px;}
.cms_2-h .box_img1 img{
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    object-fit: cover;
}
.cms_2-h .box_txt1{
    color: #222!important;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 15;
	overflow: hidden;
}
.cms_2-h .swiper-pagination {
    bottom: -40px!important;
    z-index: 0;
    text-align: right;
    width: 80%!important;
    left: auto!important;
    right: 0;
}
.cms_2-h .swiper-pagination-bullet {
  border-radius: inherit;
  margin: 0!important;
  width: 45px;
  height: 3px;
  background:#6a6a6a;
  opacity: 0.19;	
}
.cms_2-h .swiper-pagination-bullet-active {
  background: #a9a9a9;
  opacity: 1;
}
.cms_2-h .swiper-button-prev,.cms_2-h .swiper-button-next{
	bottom: -60px;
    top: auto;    
    width: auto!important;
    height: auto!important;
    font-size: 30px;
}
.cms_2-h .swiper-button-prev{
	left: 10px;
}
.cms_2-h .swiper-button-next{
	left: 35px;
}

/* ---------- タブレット ---------- */
@media screen and (max-width: 768px){
.cms_2-h .cate_box {min-height: 250px;}
.cms_2-h .box_txt1 {-webkit-line-clamp: 7;}
}

/* ---------- スマートフォン ---------- */
@media screen and (max-width: 667px){
#cms_2-h .cate_box:first-of-type {margin-top: 60px;}
#cms_2-h .box_img1, #cms_2-h .box_img2{width: 100%!important;}

.cms_2-h .box_wrap {margin-bottom: 25%;}
.cms_2-h .swiper-pagination-bullet {width: 30px;}
.cms_2-h .box_img1 {border-radius: 5px 5px 0 0;padding-top: 63%;}
.cms_2-h .cate_box {min-height: 100%;}
.cms_2-h .box_txt1 {-webkit-line-clamp: 4;}
}
#cms_2-b .cate:last-of-type,
.cms_2-b .cate:last-of-type{
	margin-bottom:0px;
}
#cms_6-a .cate_box:last-of-type,
.cms_6-a .cate_box:last-of-type{
	border-bottom: none;
}

flow_type3 .cate{counter-reset: box;}
.flow_type3 .cate_box{counter-increment: box;}
.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: #ebebeb;
	left: 0;
	top: -70px;
	z-index: -1;
}
.flow_type3 .box_title1::after{
	width: 100%;
	height: 1px;
	bottom: 0;
	left: 0;
	background-color: #222
}
/*-------- スマートフォン --------*/
@media screen and (max-width: 667px){
.flow_type3 .box_title1::before{
	left: auto;
	right: 0;
	top: -50px
}
.flow_type3 .box_item {
    padding-top: 36px;
}
}
#cms_5-e,.cms_5-e{counter-reset: num;}
#cms_5-e .number:before,.cms_5-e .number:before{
	counter-increment: num;
	content: "Q."counter(num,decimal-leading-zero);
	font-family: Verdana;
}
#cms_5-e .cate_box:last-of-type,.cms_5-e .cate_box:last-of-type{
	border-bottom: none;
	margin-bottom: 5px;
}
@media screen and (max-width: 667px){
    #cms_5-e .number:before,.cms_5-e .number:before{
        left: 50%;
    }
}
#cms_7-a .cate_box:last-child,.cms_7-a .cate_box:last-child{border: none}