﻿@media screen and (max-width: 667px){
	#cms_3-e .cate_title{
		margin-left: 0;
	}
	#cms_3-e .box_title2{
		/*border: none;*/
	}
}

.link_type1 .link_top .link_title {
    font-size: 20px;
    margin-bottom: 20px;
    text-align: center;
    padding-top: 50px!important;
    margin-bottom: 30px;
    color: #474521;
    font-weight: normal;
    background-image: url("../img/link_type1_icon.png");
    background-size: 50px;
    background-position: top center;
    background-repeat: no-repeat;
}
.link_type1 .link_top .link_title{
    font-size: 20px;
    margin-bottom: 20px;
}
.link_type1 .link_top a{
	padding-top: 40px;
	padding-bottom: 40px;
}
.link_type1 .link_top a:hover{
    background-color: #ededeb;
}
.link_type1 .link_top a:hover .link_img1{
    transform: translate(-50%, -50%) scale(1.1,1.1);
    opacity: 0.1;
}
@media screen and (max-width: 667px){
.link_type1 .link_top .link_title{
    font-size: 15px;
}
}
#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;	 
	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;}
}
/* 5-d */
#cms_5-d .box_title1:before ,.cms_5-d .box_title1:before {
    content: '';
    position: absolute;
    display: block;
    z-index: 1;
    border-style: solid;
    border-color: var(--color3) transparent;
    border-width: 13px 13px 0 0;
    bottom: -13px;
    left: 50%;
    margin-left: -9px;
}

#cms_5-d .box_title1:after,.cms_5-d .box_title1:after  {
    content: '';
    position: absolute;
    display: block;
    z-index: 0;
    border-style: solid;
    border-color: currentColor transparent;
    border-width: 15px 15px 0 0;
    bottom: -17px;
    left: 50%;
    margin-left: -11px;
}

#cms_5-d .circle,.cms_5-d .circle {
  position: relative;
  margin: 0px auto;
  width: 100px;
  height: 100px;
  display: flex;
  justify-content: center;
  align-items: center;
  border-radius: 50%;
}

#cms_5-d .inner,.cms_5-d .inner {
  position: relative;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  transform: rotate(-90deg);
}

#cms_5-d .cate_box:nth-of-type(even) .inner ,.cms_5-d .cate_box:nth-of-type(even) .inner{  
  transform: rotate(90deg);
}

#cms_5-d .text span, .cms_5-d .text span {
    position: absolute;
    inset: 0;
    font-size: 0.8em;
    font-family: var(--font-en2);
}

#cms_5-d,.cms_5-d{counter-reset: num;}

#cms_5-d .circle:before, .cms_5-d .circle:before {
    counter-increment: num;
    content: counter(num, decimal-leading-zero);
    font-family: var(--font-en);
    font-weight: bold;
    position: absolute;
    top: 34px;
    left: 34%;
    color: currentColor;
    font-size: 1.8em;
}

#cms_5-d .circle:after,.cms_5-d .circle:after{
	content: '';
    position: absolute;
    bottom: 17px;
    left: 51%;
    transform: translateX(-50%);
    width: 33%;
    height: 2px;
	background-color:currentColor;
}
.flow_type1 .cate_box{border-left:none;background-color: rgba(0,0,0,0);}

.flow_type1 .box_txt1,.flow_type1 .box_txt2{padding-left:130px;}

.flow_type1 .box_wrap{
    position: relative;
    padding-left: 30px;
}

.flow_type1 .box_wrap:before{
    content: "";
    display: inline-block;
    height: calc(100% - 0px);
    border-left: 14px solid rgb(255 255 255);
    position: absolute;
    top: -5px;
    left: 107px
}

.flow_type1 .box_txt1{position:relative;}

.flow_type1 .box_txt1::before,.flow_type1 .box_txt1::after {
	content: "";
	display: block;
	position: absolute;
	top: 18px;
}

.flow_type1 .box_txt1::before {
    width: 7px;
    height: 7px;
    margin-top: -3px;
    background: var(--color3);
    border-radius: 50%;
    left: 61.5px;
}

.flow_type1 .box_txt1::after {
	width: 50px;
	border-bottom: 1px dashed #999;
	position: absolute;
	left: 72px;
}

.flow_type1 .box_description2{
    position: relative;
    border-left: none;
    background-color: rgba(255, 255, 255, 0);
}

.flow_type1 .box_description2 span{
    position: absolute;
    display: inline-block;
    width: 90px;
    top: -23px;
    left: -50px;
}

/*--------タブレット--------*/
@media screen and (max-width: 768px){
.flow_type1 .flex_order2_tb{
    width: 78%!important;
    margin-left: auto;
}
}
/*--------スマートフォン--------*/
@media screen and (max-width: 667px){
.flow_type1 .box_description2 span {
    width: 70px;
}
.flow_type1 .box_wrap{
    padding-left: 23px;
}
.flow_type1 .box_wrap:before {
    left: 22px;
}
.flow_type1 .box_txt1::before, .flow_type1 .box_txt1::after {
    top: 58px;
}
.flow_type1 .box_txt1::before {
    margin-top: -3px;
    left: -17.5px;
}
.flow_type1 .box_txt1::after {
    width: 30px;
    left: -8px;
}
.flow_type1 .box_txt1, .flow_type1 .box_txt2 {
    padding-left: 30px;
}
.flow_type1 .box_txt1{
    padding-top: 46px;
}
.flow_type1 .flex_order2_tb {
    width: 87%!important;
}
}


.flow_type1 .btn_container a {
    padding: 5px 15px 3px;
    height: 60px;
    margin: 0 auto 0;
    border-radius: 10px;
    -webkit-box-shadow: 3px 3px 0px 1px #e8e8e8;
    -moz-box-shadow: 3px 3px 0px 1px #e8e8e8;
    box-shadow: 3px 3px 0px 1px #e8e8e8;
    -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;
    /* color: var(--black); */
}
#cms_7-a .cate_box:last-child,.cms_7-a .cate_box:last-child{border: none}