﻿#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_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);
	}
}
.flow_type3 .cate{counter-reset: box;}
.flow_type3 .cate_box{counter-increment: box;}
.flow_type3 .box_item{padding-top: 60px;}
.flow_type3 .box_title1{z-index: 0}
.flow_type3 .box_title1::before, .flow_type3 .box_title1::after{
	position: absolute;
	content: "";
	display: block;
	pointer-events: none
}
.flow_type3 .box_title1::before {
	content: "0"counter(box);
	font-size: 86px;
	color: #ebebeb;
	left: 0;
	top: -70px;
	z-index: -1;
}
.flow_type3 .box_title1::after{
	width: 100%;
	height: 1px;
	bottom: 0;
	left: 0;
	background-color: #222
}
/*-------- スマートフォン --------*/
@media screen and (max-width: 667px){
.flow_type3 .box_title1::before{
	left: auto;
	right: 0;
	top: -50px
}
.flow_type3 .box_item {
    padding-top: 36px;
}
}
html.modalset{
	overflow: hidden;
}
.v_type4 .box_item{
    box-shadow: 0 5px 10px rgba(0,0,0,0.1);
    border: solid 2px #d1be8f;
    border-radius: 20px;
	cursor: pointer;
}
.v_type4 .box_item:hover{
    box-shadow: none;
    border: solid 2px #265e3e;
}
.v_type4 .box_title2, .v_type4 .box_txt1{
    border-top: 1px solid #edede6;
}
.v_type4 .modal .box_title2{
	border-top: none;
}
.v_type4 .modal{
	display: none;
	width: 100%;
	height: 100vh;
	position: fixed;
	left: 0;
	top: 0;
	z-index: 9999;
	line-height: 1.7;
}
.v_type4 .modal-wrap {
	width: 100%;
	height: 100%;
	box-sizing: border-box;
	text-align: center;
	padding: 20px;
	overflow: hidden;
	-webkit-overflow-scrolling: touch;
	-ms-overflow-style: none;
	overflow: -moz-scrollbars-none;
}
.v_type4 .modal-wrap::-webkit-scrollbar {
	display: none;
}
.v_type4 .modal-wrap:after {
	content: '';
	display: inline-block;
	vertical-align: middle;
	width: 1px;
	height: 100%;
}
.v_type4 .modal-bg{
	position: absolute;
	left: 0;
	top: 0;
	background: rgba(0,0,0,0.3);
	width: 100%;
	height: 100%;
}
.v_type4 .modal-box {
    width: 90%;
    max-width: 900px;
    box-sizing: border-box;
    display: inline-block;
    vertical-align: middle;
    position: relative;
    padding: 10px;
    padding-bottom: 23px;
    background-color: #fff;
}
.v_type4 .modal-box .inner{
	max-height: 650px;
    overflow: auto;
	-ms-overflow-style: none;
}
.v_type4 .modal-box .inner::-webkit-scrollbar {
  width: 2px;
  height: 10px;
}
.v_type4 .modal-box .inner::-webkit-scrollbar-track {
  border-radius: 5px;
  box-shadow: 0 0 4px #aaa inset;
}
.v_type4 .modal-box .inner::-webkit-scrollbar-thumb {
  border-radius: 5px;
  background: #333;
}
.v_type4 .modal-box .modal-close{
	cursor: pointer;
	position: absolute;
    top: 19px;
    right: 25px;
}
.v_type4 .modal_img{
    max-width: 600px;
}
.v_type4 .modal_title1{
	padding-top: 60px;
}
.v_type4 .modal_title1:before{
	content: "";
	display: block;
	background-color: #666; 
	width: 1px;
	height: 50px;
	position: absolute;
	top: 0;
	left: 2px;
}
.v_type4 .modal_title1 span{
	transform: rotate(90deg);
	display: block;
	line-height: 1;
}
.v_type4 .modal-wrap {overflow: auto;padding-top: 100px;padding-bottom: 50px;}
.v_type4 .modal-box .inner{max-height: 100%!important;overflow: auto;.v_type4 .modal-wrap:after: display: none;}
/* ---------- スマートフォン ---------- */
@media screen and (max-width: 667px){
.v_type4 .modal-box .modal-close {
    top: 6px;
    right: 19px;
}
.v_type4 .modal-box .inner{
    max-height: 500px;
}
}
#cms_7-a .cate_box:last-child,.cms_7-a .cate_box:last-child{border: none}