﻿.cms_1-g .box_txt1 {
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 3;
    overflow: hidden;
}
@media screen and (max-width: 768px){
.cms_1-g .box_txt1 {
    -webkit-line-clamp: 2;
}
}
@media screen and (max-width: 667px){
.cms_1-g .box_txt1 {
    -webkit-line-clamp: 3;
}
}#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_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_5-a .cate{
	margin-bottom: 50px;
}
#cms_5-a .cate .cate_title{
	cursor: pointer;
}
#cms_5-a .cate .cate_box:last-of-type{
	margin-bottom: 0;
}
#cms_5-a .cate_title.on_click i{
	transform: rotate(180deg);
}
.cms_5-a .cate_title i{
	transform: rotate(180deg);
}
.cms_5-a .cate_title.on_click i{
	transform: rotate(0deg);
}
.cms_5-a .cate .cate_box:last-of-type{
	margin-bottom: 0;
}

@media screen and (max-width: 667px){
	#cms_5-a .cate{
		margin-bottom: 30px;
	}
}#cms_1-b .cate_box{border-top:none;}

@media screen and (max-width: 667px){
	#cms_1-b .pager li:not(.prev){
		display: none;
	}
}#cms_2-b .cate:last-of-type,
.cms_2-b .cate:last-of-type{
	margin-bottom:0px;
}