﻿.topcms_about_type1 {counter-reset: box 0;padding-top: 35px;}
.topcms_about_type1 .cate_box {
	width: 31%!important;
	padding: 55px 25px 25px;
	background-color: #f5f5f5;
	border-radius: 10px;
	box-sizing: border-box;
}
.topcms_about_type1 .number {
	top: 0;
	left: 0;
	right: 0;
	margin: auto;
	width: 90px;
}
.topcms_about_type1 .number::before {
	counter-increment: box 1;
	content: "0"counter(box);
	font-size: 67px;
	line-height: 1;
	text-align: center;
	color: #ffbe51;
	display: inline-block;
	position: absolute;
	right: 0;
	left: 0;
	top: -42px;
	margin: auto;
	z-index: 0;
}
.topcms_about_type1 .number::after {
	content: "";
	position: absolute;
	display: block;
	width: 73%;
	height: 2px;
	background: #ffbe51;
	left: 0;
	right: 0;
	margin: auto;
	top: 22px;
}
.topcms_about_type1 .cate_box .box_title1{font-size: 18px;line-height: 1.6;z-index: 1}

/* ---------- タブレット ---------- */
@media screen and (max-width: 768px){
.topcms_about_type1 .cate_box {
	margin: 0 auto 80px;
	width: 80%!important;
}
.topcms_about_type1 .cate_box:last-of-type {
	margin-bottom: 0;
}
}
/* ---------- スマートフォン ---------- */
@media screen and (max-width: 667px){
.topcms_about_type1 .cate_box {
	width: 90%!important;
	padding: 50px 25px 25px;
}
.topcms_about_type1 .number::before{
	font-size: 59px;
	top: -34px;
}
.topcms_about_type1 .number::after{
	width: 72%;
}
}

#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.25;	 
	font-size: 2em;
}
#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.1em;}

.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_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.25;
    font-size: 2em;
}
#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 .cate_title {
    line-height: 1.25;
    font-size: 1em;
}
#cms_2-f .box_title1 {
    padding-left: 24px;
}

#cms_2-f .box_title1::after {
    width: 15px;
    height: 1px;
    top: 15px;
}

.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;}
}


.topcms_about_type1 {counter-reset: box 0;padding-top: 35px;}
.topcms_about_type1 .cate_box {
	width: 31%!important;
	padding: 55px 25px 25px;
	background-color: var(--white);
	border-radius: 10px;
	box-sizing: border-box;
}
.topcms_about_type1 .number {
	top: 0;
	left: 0;
	right: 0;
	margin: auto;
	width: 90px;
}
.topcms_about_type1 .number::before {
	counter-increment: box 1;
	content: "0"counter(box);
	font-size: 67px;
	line-height: 1;
	text-align: center;
	color: var(--color3);
	display: inline-block;
	position: absolute;
	right: 0;
	left: 0;
	top: -42px;
	margin: auto;
	z-index: 0;
	font-family: var(--font-en);
}
.topcms_about_type1 .number::after {
	content: "";
	position: absolute;
	display: block;
	width: 73%;
	height: 2px;
	background: var(--color3);
	left: 0;
	right: 0;
	margin: auto;
	top: 22px;
}

.topcms_about_type1 .cate_box .box_title1 {
    font-size: 24px;
    line-height: 1.6;
    z-index: 1;
}
/* ---------- タブレット ---------- */
@media screen and (max-width: 768px){
.topcms_about_type1 .cate_box {
	margin: 0 auto 80px;
	width: 80%!important;
}
.topcms_about_type1 .cate_box:last-of-type {
	margin-bottom: 0;
}
}
/* ---------- スマートフォン ---------- */
@media screen and (max-width: 667px){
.topcms_about_type1 .cate_box {
	width: 90%!important;
	padding: 50px 25px 25px;
}

.topcms_about_type1 .cate_box .box_title1 {
    font-size: 20px;
    line-height: 1.6;
}

.topcms_about_type1 .number::before{
	font-size: 59px;
	top: -34px;
}
.topcms_about_type1 .number::after{
	width: 72%;
}
}
.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: var(--color5);
    left: 0;
    top: -60px;
    z-index: -1;
    font-family: var(--font-jp);
}
.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;
}
}

.flow_type3 .btn_container a {
    padding: 10px 15px 3px;
    height: 60px;
    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;
    border-radius: 50px;
}

.flow_type3 .btn_container a:hover {
    transform: scale(1.1);
}
.BA_type1 .box_item, .BA_type1 .box_img1, .BA_type1 .box_img2 {position: relative;}
.BA_type1 .box_item::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50.3%;
    transform: translate(-50%,-50%);
    width: 0;
    height: 0;
    border-style: solid;
    border-width: 17px 0 17px 40px;
    border-color: transparent transparent transparent var(--color2);
}
/*.BA_type1 .box_img1 {margin-right: 40px;}
.BA_type1 .box_img2 {margin-left: 40px;}*/
.BA_type1 .box_img1, .BA_type1 .box_img2 {
    flex: 1;
}
.BA_type1 .box_img1::after, .BA_type1 .box_img2::after {
    position: absolute;
    height: 33px;
    width: 87px;
    background-color: #fff;
    color: #434343;
    font-size: 18px;
    font-weight: 700;
    text-align: center;
}
.BA_type1 .box_img1::after {content: "before";}
.BA_type1 .box_img2::after {content: "after";}

@media screen and (max-width: 667px){
/*.BA_type1 .box_img1 {margin-right: 5%;margin-bottom: 50px;}
.BA_type1 .box_img2 {margin-left: 5%;}*/
.BA_type1 .box_img1, .BA_type1 .box_img2 {
    flex: auto;
}
.BA_type1 .box_img1::after, .BA_type1 .box_img2::after {height: 30px;font-size: 15px;}
.BA_type1 .box_item::after {transform: translate(-50%,-60%) rotate( 90deg);border-width: 20px 0 20px 23px;}
}