﻿#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;
}

.btn_container a {
    padding: 5px 15px 3px;
    height: 60px;
    margin: 0 auto 0;
    border-radius: 10px;
    -webkit-box-shadow: 3px 3px 0px 1px #e8e8e8;
    -moz-box-shadow: 3px 3px 0px 1px #e8e8e8;
    box-shadow: 3px 3px 0px 1px #e8e8e8;
    -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;
    /* color: var(--black); */
}
#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;
	}
}
#cms_2-g .cate_img1 {
     max-height: 450px;
}
#cms_2-g .cate_img1 img{
    width: 100%!important;
    height: auto!important;
}
#cms_2-g .cate_title {
	line-height: 1;	 
	font-size: 2.5em;
}
#cms_2-g .cate_title_wrap{position: relative;z-index: 0;}
#cms_2-g .cate_title_wrap::before {
	content: '';
    position: absolute;
    display: inline-block;
    width: 1px;
    height: 100%;
	top: 20px;
    left: 0px;
    background-color: currentColor;
    opacity: 0.15;
    z-index: -1;
}

.cms_2-g .box_wrap{box-shadow: rgba(0, 0, 0, 0.15) 0px 5px 15px 0px;}
.cms_2-g .swiper-slide{height: auto!important;}
.cms_2-g .cate_box {height: 100%;min-height: 350px;}

.cms_2-g .box_item_img img{
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    object-fit: cover;
    border-radius: 0 0 5px 5px;   
}
.cms_2-g .box_txt1{
    color: #222!important;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 15;
	overflow: hidden;
}
.cms_2-g .swiper-pagination {
    bottom: -40px!important;
    z-index: 0;
    text-align: right;
    width: 80%!important;
    left: auto!important;
    right: 0;
}
.cms_2-g .swiper-pagination-bullet {
  border-radius: inherit;
  margin: 0!important;
  width: 45px;
  height: 3px;
  background:#6a6a6a;
  opacity: 0.19;	
}
.cms_2-g .swiper-pagination-bullet-active {
  background: #a9a9a9;
  opacity: 1;
}
.cms_2-g .swiper-button-prev,.cms_2-g .swiper-button-next{
	bottom: -60px;
    top: auto;    
    width: auto!important;
    height: auto!important;
    font-size: 30px;
}
.cms_2-g .swiper-button-prev{
	left: 10px;
}
.cms_2-g .swiper-button-next{
	left: 35px;
}

/* ---------- タブレット ---------- */
@media screen and (max-width: 768px){
#cms_2-g .cate_img1 {max-height: 300px;}

.cms_2-g .cate_box {min-height: 250px;}
.cms_2-g .box_txt1 {-webkit-line-clamp: 7;}
}
/* ---------- スマートフォン ---------- */
@media screen and (max-width: 667px){
#cms_2-g .cate_title {font-size: 1.8em;}

.cms_2-g .box_wrap {margin-bottom: 25%;}
.cms_2-g .swiper-pagination-bullet {width: 30px;}
.cms_2-g .box_item_img {border-radius: 5px 5px 0 0;padding-top: 63%;}
.cms_2-g .cate_box {min-height: 100%;}
.cms_2-g .box_txt1 {-webkit-line-clamp: 4;}
}
#cms_6-d .cate,.cms_6-d{counter-reset: num;}
#cms_6-d .cate_title{	
	color: #cfcfcf;	
	font-size: 2.75rem;
}
#cms_6-d .cate_box:after,.cms_6-d .cate_box:after{
	counter-increment: num;
	content: "#"counter(num,decimal-leading-zero);
	color: #f3f3f3;	
	font-size: 7.5em;
	line-height: 1;
	font-weight: 900;
	font-family: 'Josefin Sans', sans-serif;
	position: absolute;   
	top: -35px;
	padding: 0 20px;
	z-index: 1;
	pointer-events: none;
}
#cms_6-d .cate_box:nth-of-type(odd):after,.cms_6-d .cate_box:nth-of-type(odd):after{	 
	right: -45px;    
}
#cms_6-d .cate_box:nth-of-type(even):after,.cms_6-d .cate_box:nth-of-type(even):after{	 
	left: -40px;    
}
#cms_6-d .cate_box.noimg:after,.cms_6-d .cate_box.noimg:after{
	background-color: #fff;   
}

#cms_6-d .cate_box:before,.cms_6-d .cate_box:before{
	content: '';
	position: absolute;
	display: inline-block;
	width: 100%;
	height: 1px;
	top: 0;
	right: 0;
	background-color: #333;
	z-index: 1;
	pointer-events: none;
}
#cms_6-d .cate_box:last-of-type,.cms_6-d .cate_box:last-of-type{
	border-bottom: 1px solid;
}
#cms_6-d .cate_box:nth-of-type(even) .box_description1,.cms_6-d .cate_box:nth-of-type(even) .box_description1{	
	flex-direction: row-reverse;
}
#cms_6-d .cate_box .box_description1:before,.cms_6-d .cate_box .box_description1:before{
	content: '';
	position: absolute;
	display: inline-block;
	width: 1px;
	height: 100%;
	top: 0;
	background-color: #333;
	z-index: 1;
	pointer-events: none;
}
#cms_6-d .cate_box:nth-of-type(odd) .box_description1:before,.cms_6-d .cate_box:nth-of-type(odd) .box_description1:before{
	right: 0;
}
#cms_6-d .cate_box:nth-of-type(even) .box_description1:before,.cms_6-d .cate_box:nth-of-type(even) .box_description1:before{
	left: 0;
}
#cms_6-d .cate_box:nth-of-type(odd) .box_img_wrap,.cms_6-d .cate_box:nth-of-type(odd) .box_img_wrap{  
	transform: translate(40px,-45px);
}
#cms_6-d .cate_box:nth-of-type(even) .box_img_wrap,.cms_6-d .cate_box:nth-of-type(even) .box_img_wrap{  
	transform: translate(-40px,-45px);
}
@media screen and (max-width: 1100px){
	#cms_6-d .cate_title,#cms_6-d .box_wrap{padding:0 50px;}
}
@media screen and (max-width: 768px){
	#cms_6-d .cate_title,#cms_6-d .box_wrap{padding:0 30px;}
    #cms_6-d .cate_box:after, .cms_6-d .cate_box:after{
        font-size: 5em;
        top: -32px;
    }
    #cms_6-d .cate_box:nth-of-type(odd):after,.cms_6-d .cate_box:nth-of-type(odd):after{	 
	right: -60px;    
    }
    #cms_6-d .cate_box:nth-of-type(even):after,.cms_6-d .cate_box:nth-of-type(even):after{	 
	left: -60px;    
    }
    #cms_6-d .cate_box:nth-of-type(odd) .box_img_wrap,.cms_6-d .cate_box:nth-of-type(odd) .box_img_wrap{  
    	transform: translate(130px,-45px);
    }
    #cms_6-d .cate_box:nth-of-type(even) .box_img_wrap,.cms_6-d .cate_box:nth-of-type(even) .box_img_wrap{  
    	transform: translate(-130px,-45px);
    }
    #cms_6-d .cate_box.noimg .box_description2,.cms_6-d .cate_box.noimg .box_description2{padding-top: 50px;}
}
@media screen and (max-width: 667px){
    #cms_6-d .cate_title{font-size: 2.5rem;}
    #cms_6-d .cate_title,#cms_6-d .box_wrap{padding: 0;}
    #cms_6-d .cate_box:after,.cms_6-d .cate_box:after{
	font-size: 4rem;
	padding: 0 5px;
    }
    #cms_6-d .cate_box:nth-of-type(odd):after,.cms_6-d .cate_box:nth-of-type(odd):after{
	right: -18px;
	top: -15px;
    }
    #cms_6-d .cate_box:nth-of-type(even):after,.cms_6-d .cate_box:nth-of-type(even):after{
	left: -18px;
	top: -15px;
    }
    #cms_6-d .cate_box:nth-of-type(odd) .box_img_wrap,.cms_6-d .cate_box:nth-of-type(odd) .box_img_wrap{  
	transform: translate(30px,-30px);
    }
    #cms_6-d .cate_box:nth-of-type(even) .box_img_wrap,.cms_6-d .cate_box:nth-of-type(even) .box_img_wrap{  
	transform: translate(-30px,-30px);
    }
}

#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%, rgba(255,255,255,1) 100%);
	background: -webkit-linear-gradient(left,  rgba(255,255,255,0) 0%,rgba(255,255,255,1) 100%);
	background: linear-gradient(to right,  rgba(255,255,255,0) 0%,rgba(255,255,255,1) 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);}
}