﻿#cms_2-e .cate .cate_title span::after{
	width: 100%;
	height: 1px;
	position: absolute;
	content: "";
	top: 100%;
	z-index: 99;
	left: 0;
}
#cms_2-e .cate:last-of-type{
	margin-bottom: 0;
	background-image: none;
}
#cms_2-e .box_title{
	position: relative;
}
#cms_2-e .box_title span{
	position: relative;
	z-index: 1;
}
#cms_2-e .box_title::after{
	content: "";
	position: absolute;
	width: 100%;
	height: 1px;
	background-color: #ccc;
	top: 12px;
	left: 0;
	z-index: 0;
}
.cms_2-e .box_title{
	position: relative;
}
.cms_2-e .box_title span{
	position: relative;
	z-index: 1;
}
.cms_2-e .box_title::after{
	content: "";
	position: absolute;
	width: 100%;
	height: 1px;
	background-color: #ccc;
	top: 12px;
	left: 0;
	z-index: 0;
}
@media screen and (max-width: 667px){
	#cms_2-e .box_title::after{
		content: "";
		position: absolute;
		width: 1px;
		height: 40px;
		background-color: #ccc;
		top:100%;
		left: 50%;
		transform: translate(0,-100%);
		z-index: 0;
	}
	.cms_2-e .box_title::after{
		content: "";
		position: absolute;
		width: 1px;
		height: 40px;
		background-color: #ccc;
		top:100%;
		left: 50%;
		transform: translate(0,-100%);
		z-index: 0;
	}
}
#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_item_img{border-radius: 5px 0 0 5px;}
.cms_2-h .box_item_img 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_item_img {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;}
}
/* 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: #FFF 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: currentColor 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;
    font-family: var(--font-en2);
}
#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;
}
#cms_7-d .box_wrap .box,.cms_7-d .box_wrap .box{position: relative;opacity: 0;}
#cms_7-d .box_wrap .box::after,.cms_7-d .box_wrap .box::after{
	content: "";
	width: 100%;
	height: 2px;
	position: absolute;
	left: 0;
}
#cms_7-d .box_wrap .box::after,.cms_7-d .box_wrap .box::after{
	top: 100%;
	background: -moz-linear-gradient(left,  rgba(255,255,255,0) 0%, #f2ede7 100%);
	background: -webkit-linear-gradient(left,  rgba(255,255,255,0) 0%,#f2ede7 100%);
	background: linear-gradient(to right, rgba(255, 255, 255, 0) 0%, #f2ede7 100%);
}
#cms_7-d .box_wrap .box.active,
.cms_7-d .box_wrap .box.active{
	animation-name: rightin;
	animation-duration: 1.0s;
	animation-timing-function: ease;
	animation-fill-mode: forwards;
}
@keyframes rightin {
	0% {opacity:0;transform: translateX(50px);}
	100% {opacity:1;transform: translateX(0);}
}