﻿#cms_3-g .cate_item,.cms_3-g .box_wrap{box-shadow: rgba(0, 0, 0, 0.24) 0px 3px 8px;}
#cms_3-g .cate_img1 {
    max-height: 380px;
}
#cms_3-g .cate_img1 img {
    width: 100%!important;
    height: auto!important;
}
#cms_3-g .box_title1,.cms_3-g .box_title1{
  display: flex;
  align-items: center;
  white-space: normal;
}
#cms_3-g .box_title1 .title_item,.cms_3-g .box_title1 .title_item{
    max-width:90%;
}
#cms_3-g .box_title1 .border,.cms_3-g .box_title1 .border{
    background: linear-gradient(90deg, currentColor 45%,rgba(255,255,255,0) 20% ,rgba(255,255,255,0) 100%) repeat-x left top/6px 100%;
    background-size: 7px 2px;
    height: 1px;
    margin-left: 20px;
    margin-right: -25px;
}
#cms_3-g .box_txt1,.cms_3-g .box_txt1{
    margin-left: auto;
}
#cms_3-g .box_img1{margin-left: auto;}

/** スマホ用 **/
@media screen and (max-width: 667px){
#cms_3-g .box_title1 .border,.cms_3-g .box_title1 .border{
    display: none;
}
#cms_3-g .cate_box:last-of-type,.cms_3-g .cate_box:last-of-type{
	border-bottom:none;
}    
}
#cms_2-f .cate_img1 {
    max-height: 370px;
}
#cms_2-f .cate_img1 img{
    width: 100%!important;
    height: auto!important;
}
#cms_2-f .cate_title {
    line-height: 1.2;
}
#cms_2-f .box_title1{
    position: relative;
    padding-left: 54px;
}
#cms_2-f .box_title1::after {
  content: '';
  position: absolute;
  display: inline-block;
  width: 45px;
  height: 1px;
  top: 15px;
  left: 0;
  background-color: currentColor;
}

.cms_2-f .box_wrap{box-shadow: rgba(0, 0, 0, 0.15) 0px 5px 15px 0px;}
.cms_2-f .swiper-slide{height: auto!important;}
.cms_2-f .cate_box {height: 100%;min-height: 350px;}
.cms_2-f .box_item_img{border-radius: 5px 0 0 5px;}
.cms_2-f .box_item_img img{
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    object-fit: cover;
}
.cms_2-f .box_txt1{
    color: #222!important;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 15;
	overflow: hidden;
}
.cms_2-f .swiper-pagination {
    bottom: -40px!important;
    z-index: 0;
    text-align: right;
    width: 80%!important;
    left: auto!important;
    right: 0;
}
.cms_2-f .swiper-pagination-bullet {
  border-radius: inherit;
  margin: 0!important;
  width: 45px;
  height: 3px;
  background:#6a6a6a;
  opacity: 0.19;	
}
.cms_2-f .swiper-pagination-bullet-active {
  background: #a9a9a9;
  opacity: 1;
}
.cms_2-f .swiper-button-prev, .cms_2-f .swiper-button-next{
	bottom: -60px;
    top: auto;    
    width: auto!important;
    height: auto!important;
    font-size: 30px;
}
.cms_2-f .swiper-button-prev{
	left: 10px;
}
.cms_2-f .swiper-button-next{
	left: 35px;
}

/* ---------- タブレット ---------- */
@media screen and (max-width: 768px){
#cms_2-f .cate_img1 {max-height: 250px;}

.cms_2-f .cate_box {min-height: 250px;}
.cms_2-f .box_txt1 {-webkit-line-clamp: 7;}
}

/* ---------- スマートフォン ---------- */
@media screen and (max-width: 667px){
#cms_2-f .cate_img1 {max-height: 150px;}

.cms_2-f .box_wrap {margin-bottom: 25%;}
.cms_2-f .swiper-pagination-bullet {width: 30px;}
.cms_2-f .box_item_img {border-radius: 5px 5px 0 0;padding-top: 63%;}
.cms_2-f .cate_box {min-height: 100%;}
.cms_2-f .box_txt1 {-webkit-line-clamp: 4;}
}
#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;}
}
#cms_7-a .cate_box:last-child,.cms_7-a .cate_box:last-child{border: none}