﻿#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;}
}
.link_type1 .link_top .link_title {
    font-size: 20px;
    margin-bottom: 20px;
    text-align: center;
	margin-bottom: 30px;
    color: #474521;
    font-weight: normal;
}
.link_type1 .link_top .link_title{
    font-size: 20px;
    margin-bottom: 20px;
}
.link_type1 .link_top a{
	padding-top: 80px;
    padding-bottom: 60px;
    border-radius: 20px;
}
.link_type1 .link_top a:hover{
    background-color: #ededeb;
}
.link_type1 .link_top a:hover .link_img1{
    transform: translate(-50%, -50%) scale(1.1,1.1);
    opacity: 0.1;
}
@media screen and (max-width: 667px){
.link_type1 .link_top .link_title{
    font-size: 15px;
}
}
#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;
}
/* ---------- loopSlider ---------- */
#topcms_gallery_type1 .loopSliderWrap{
    top: 0;
    left: 0;
    height: 450px;
}
#topcms_gallery_type1 .loopSlider {
    margin: 0 auto;
    height: 450px;
    text-align: left;
    position: relative;
    overflow: hidden;
}
#topcms_gallery_type1 .loopSlider .ul {
    height:450px;
    float: left;
    overflow: hidden;
}
#topcms_gallery_type1 .loopSlider .ul .li {
    width: 450px;
    height: 450px;
    float: left;
    display: inline;
    overflow: hidden;
	position: relative;
	box-sizing: border-box;
	padding: 0;
}
#topcms_gallery_type1 .loopSlider .ul .li img{
    border-radius: 0;
}
#topcms_gallery_type1 .loopSliderWrap:after {
    content: "";
    display: none;
    clear: none;
}

/*リンクボタン*/
#topcms_gallery_type1 .btn{z-index: 3;}
#topcms_gallery_type1 .btn a:hover:before {
    scale: .90;
    transition-property: scale;
    transition-duration: .3s;
    transition-timing-function: ease;
}
#topcms_gallery_type1 .btn a::before {
    content: "";
    position: absolute;
    z-index: -1;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border-radius: 100vmax;
    background: var(--color1);
    transition-property: scale;
    transition-duration: 1s;
    transition-timing-function: linear(0,.012,.047 1.2%,.192 2.5%,.946 7%,1.194,1.343 10.4%,1.384,1.403 12.1% 12.7%,1.393 13.4%,1.336 14.8%,1.017 19.4%,.917,.86 22.8%,.845,.837,.837,.841 25.7%,.864 27.2%,.993 31.9%,1.034,1.056,1.066 36.8%,1.065 37.9%,1.058 39.2%,.991 45.5%,.979,.973 49.1%,.976 51.6%,1.004 57.9%,1.011 61.4%,1.01 64%,.999 70.2%,.996 73.5%,1.002 85.8%,.999);
}
/* #topcms_gallery_type1 .btn a::before {
    content: '';
    position: absolute;
    bottom: 55px;
    right: 27%;
    width: 42%;
    height: 1px;
    background: #333;
    transition: all .3s;
} */
/* #topcms_gallery_type1 .btn a::after {
    content: '';
    position: absolute;
    bottom: 60px;
    right: 27%;
    width: 15px;
    height: 1px;
    background: #333;
    transform: rotate(35deg);
    transition: all .3s;
} */
/* #topcms_gallery_type1 .btn a:hover::before {
    right: 16%;
    background: #fff;
}
#topcms_gallery_type1 .btn a:hover::after {
    right: 15%;
    background: #fff;
} */
#topcms_gallery_type1 .btn {
    display: block;
}
#topcms_gallery_type1 .btn a {
    color: #fff;
    width: 200px;
    height: 200px;
    display: flex;
    align-content: center;
    justify-content: center;
    border-radius: 50%;
    flex-wrap: wrap;
    transition: all 0.4s;
}
#topcms_gallery_type1 .btn a:hover {
    outline-width: 0;
}
#topcms_gallery_type1 .btn a span, .btn a strong {
    text-align: center;
}
@media(max-width: 768px) {
#topcms_gallery_type1,#topcms_gallery_type1 .loopSliderWrap,#topcms_gallery_type1 .loopSlider,#topcms_gallery_type1 .loopSlider ul,#topcms_gallery_type1 .loopSlider .ul .li{
	height: 280px;
}
#topcms_gallery_type1 .loopSlider .ul .li{
    width: 280px;
}
#topcms_gallery_type1 {
    padding-bottom: 0;
    padding-top: 0;
}
}
@media(max-width: 667px) {
#topcms_gallery_type1,.loopSliderWrap,.loopSlider,.loopSlider .ul,.loopSlider .ul .li{
	height: 179px!important;
}
#topcms_gallery_type1 .loopSlider .ul .li{
    width: 179px;
}
#topcms_gallery_type1 .btn a::after {
    bottom: 35px;
    right: 27%;
}
#topcms_gallery_type1 .btn a::before {
    bottom: 30px;
    right: 27%;
}
#topcms_gallery_type1 .btn a {
    width: 140px;
    height: 140px;
    line-height: 1.7;
}
}