﻿#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.3;
	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_3-f .box_wrap{
	justify-content: flex-start;
}
#cms_3-f .cate_box {
	width: 46%;
	margin: 2%;
	padding: 0 5px;
	box-sizing: border-box;
}
#cms_3-f .cate_box:empty{
	border-bottom: none;
}
.cms_3-f .box_wrap{
	justify-content: flex-start;
}
.cms_3-f .cate_box {
	width: 46%;
	margin: 2%;
	padding: 0 5px;
	box-sizing: border-box;
}
.cms_3-f .cate_box:empty{
	border-bottom: none;
}
@media screen and (max-width: 667px){
	#cms_3-f .cate_box {
		margin: 5px;
	}
}

.flow_type4 .box_description2{
	border-left: dotted 4px #1e2b38;
	background-color: rgba(204, 204, 204, .35);
}
.flow_type4 .box_txt1,
.flow_type4 .box_txt2{
	padding-left:20px;
}
.flow_type4 .box_wrap{
    position: relative;
    padding-left: 30px;
}
.flow_type4 .box_wrap:before{
    content: "";
    display: inline-block;
    height: calc(100% - 30px);
    border-left: 4px dotted #1e2b38;
    position: absolute;
    top: 30px;
    left: 26px;
}
.flow_type4 .cate_box:last-of-type{
	padding-bottom: 0;
}
.flow_type4 .box_description2 {
    position: relative;
    border-left: none;
    background-color: rgba(255, 255, 255, 0);
    padding-bottom: 0;
}
.flow_type4 .box_description2 span{
	position: absolute;
    display: inline-block;
    width: 68px;
    top: 5px;
    left: -38px;
}
/*--------タブレット--------*/
@media screen and (max-width: 768px){
.flow_type4 .cate_box{
	flex-direction: column-reverse;
}
.flow_type4 .box_description2 span {
	width: 61px;
	left: -34px;
}
}
/*--------スマートフォン--------*/
@media screen and (max-width: 667px){
.flow_type4 .box_wrap{
    padding-left: 23px;
}
.flow_type4 .box_wrap:before {
    left: 19px;
}
}
#cms_6-b .cate_box, #cms_6-b .cate_box .box_txt1, #cms_6-b .cate_box .box_txt2{
	border-color: #cccccc;
	word-break: break-all;
}
#cms_6-b .cate_box:first-of-type{
	border-top: 1px solid #cccccc;
}
.cms_6-b .cate_box, .cms_6-b .cate_box .box_txt1, .cms_6-b .cate_box .box_txt2{
	border-color: #cccccc;
	word-break: break-all;
}
.cms_6-b .cate_box:first-of-type{
	border-top: 1px solid #cccccc;
}
@media screen and (max-width: 667px){
	#cms_6-b .cate_title{
		margin-left: 0;
		margin-right: 0;
	}
}

#cms_6-b .btn_container a {
    padding: 10px 35px 13px;
    height: 50px;
    margin: 0 auto 0;
    -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;
    overflow: hidden;
    display: inline-block;
}
#cms_5-c .box_title1{
	border-color: rgba(0,0,0,0.05)
}
#cms_5-c .box_title1::before{
	content: "Q.";
	font-weight: bold;
	position: absolute;
	top: 6px;
	left: 13px;
	font-size:-webkit-calc(1rem + 8px);font-size : calc(1rem + 8px);
}
#cms_5-c .box_txt1::before{
	content: "A.";
	font-weight: bold;
	position: absolute;
	color: rgba(0,0,0,0.3);
	top: 8px;
	left: 13px;
	font-size:-webkit-calc(1rem + 8px);font-size : calc(1rem + 8px);
}
.cms_5-c .box_title1{
	border-color: rgba(0,0,0,0.05)
}
.cms_5-c .box_title1::before{
	content: "Q.";
	font-weight: bold;
	position: absolute;
	top: 6px;
	left: 13px;
	font-size:-webkit-calc(1rem + 8px);font-size : calc(1rem + 8px);
}
.cms_5-c .box_txt1::before{
	content: "A.";
	font-weight: bold;
	position: absolute;
	color: rgba(0,0,0,0.3);
	top: 8px;
	left: 13px;
	font-size:-webkit-calc(1rem + 8px);font-size : calc(1rem + 8px);
}

@media screen and (max-width: 768px){
	#cms_5-c .box_title1::before{
		top: 6px;
		font-size:-webkit-calc(1rem + 6px);font-size : calc(1rem + 6px);
	}
	#cms_5-c .box_txt1::before{
		top: 9px;
		font-size:-webkit-calc(1rem + 6px);font-size : calc(1rem + 6px);
	}
	.cms_5-c .box_title1::before{
		top: 6px;
		font-size:-webkit-calc(1rem + 6px);font-size : calc(1rem + 6px);
	}
	.cms_5-c .box_txt1::before{
		top: 9px;
		font-size:-webkit-calc(1rem + 6px);font-size : calc(1rem + 6px);
	}
}
@media screen and (max-width: 667px){
	#cms_5-c .box_title1::before{
		top: 5px;
		left: 0;
		font-size:-webkit-calc(1rem + 4px);font-size : calc(1rem + 4px);
	}
	#cms_5-c .box_txt1::before{
		top: 10px;
		left: 0;
		font-size:-webkit-calc(1rem + 4px);font-size : calc(1rem + 4px);
	}
	.cms_5-c .box_title1::before{
		top: 5px;
		left: 0;
		font-size:-webkit-calc(1rem + 4px);font-size : calc(1rem + 4px);
	}
	.cms_5-c .box_txt1::before{
		top: 10px;
		left: 0;
		font-size:-webkit-calc(1rem + 4px);font-size : calc(1rem + 4px);
	}
}