@charset "utf-8";
/* CSS Document */
.legacy-yebis3 img{
    image-rendering: -webkit-optimize-contrast;
}
/* モーダル（nyroModal / colorbox）の要素はプラグインが <body> 直下に追加し .legacy-* の外に出るため、スコープを付けない */
.nyroModalBg{z-index: 2;}
.nyroModalCont{z-index: 3;}
.nyroModalCloseButton{z-index: 4;}

.legacy-yebis3 section{
	padding: 100px 0;
}
.legacy-yebis3 section .wrapper{
	width: 90%;
	max-width: 1400px;
	box-sizing: border-box;
	margin: 0 auto;
}
.legacy-yebis3 section#contact, .legacy-yebis3 section#tradmark{
	padding: 0;
}
.legacy-yebis3 h2{
	text-align: center;
	font-size: 36px;
	font-weight: normal;
	margin-bottom: 50px;
}
.legacy-yebis3 h2 span{
	color: #989b33;
} 

.legacy-yebis3 h3{
	font-size: 30px;
	font-weight: normal;
	line-height: 1.5;
}
.legacy-yebis3 h3 span{
	display: inline-block;
}

/* noTop */
.legacy-yebis3 .noTop h1{
	text-align: center;
	font-size:42px;	
	font-weight: normal;
}

.legacy-yebis3 .noTop h2{
  	font-size: 30px;
  	font-weight: normal;
}

.legacy-yebis3 .colTwo{
	display: flex;
}
.legacy-yebis3 .colTwo .colL{
	max-width: 50%;
	box-sizing: border-box;
}
.legacy-yebis3 .colTwo .colR{
	max-width: 50%;
	box-sizing: border-box;
}

.legacy-yebis3 .grid-colThree{
	display: grid;
  	grid-template-columns: repeat(3, 1fr);
}
.legacy-yebis3 .grid-colThree a{
	margin: 20px;
}
.legacy-yebis3 .gotoBtn{
	max-width: 400px;
    margin: 50px auto 0;
}
.legacy-yebis3 .gotoBtn a{
    display: block;
	box-sizing: border-box;
    color: #FFF;
    padding: 20px 20px;
    text-align: center;
    font-size: 18px;
    line-height: 1;
    background-color: #989b33;
    border: 2px solid #989b33;
    transition: all 0.3s ease-in-out;
}
.legacy-yebis3 .gotoBtn a:hover{
	background-color: #000;
    transition: all 0.3s ease-in-out;
}
.legacy-yebis3 .gotoBtn a span{	
	background-image: url(../../image/icon/arrow-r-w.svg);
	background-repeat: no-repeat;
	background-position: 98% center;
	background-size: 11px 17px;
	padding-right: 22px;
    transition: all 0.3s ease-in-out;
}
.legacy-yebis3 .gotoBtn a:hover span{
	background-position: 100% center;
    transition: all 0.3s ease-in-out;
}

/* case-study */
.legacy-yebis3 #case-study{
	color: #fff;
}
.legacy-yebis3 #case-study h3{
    color: #FFF;
    width: 95%;
    text-align: center;
    font-size: 18px;
    font-weight: bold;
    margin: 0 auto;
    padding: 10px 0;
}
.legacy-yebis3 #case-study .caseWrapper{
	background-color:#1a1a1a;
	padding-bottom: 10px;
    transition: all 0.3s ease-in-out;
}
.legacy-yebis3 #case-study a:hover .caseWrapper{
	background-color:#2a2a2a;
    transition: all 0.3s ease-in-out;
}
.legacy-yebis3 #case-study .caseCompany{
    color: #FFF;
    text-align: center;
    font-size: 14px;
    margin-bottom: 10px;
}
.legacy-yebis3 #case-study .caseMask{
	overflow: hidden;
}
.legacy-yebis3 #case-study img{
	width: 100%;
    transition: all 0.3s ease-in-out;
}
.legacy-yebis3 #case-study a:hover img{
    transform: scale(1.1,1.1);
    transition: all 0.3s ease-in-out;
}
.legacy-yebis3 #case-study .caseContent{
    color: #ccc;
    margin: 20px;
    height: 110px;
    line-height: 1.8 !important;
    font-size: 16px;
    display: -webkit-box;
    -webkit-line-clamp: 4;
    -webkit-box-orient: vertical;
    overflow: hidden;
    transition: all 0.3s ease-in-out;
}
.legacy-yebis3 #case-study a:hover .caseContent{
	color: #FFF;
    transition: all 0.3s ease-in-out;
}
.legacy-yebis3 #case-study .caseRead{
	font-size: 16px;
	text-align: right;
	background-image: url(../../image/icon/arrow-r-g.svg);
	background-repeat: no-repeat;
	background-position: 99% center;
	background-size: 11px 17px;
	padding-right: 20px;
	margin-right: 20px;
    transition: all 0.3s ease-in-out;
}
.legacy-yebis3 #case-study a:hover .caseRead{
	background-position: right center;
    transition: all 0.3s ease-in-out;
}
.legacy-yebis3 #case-study .caseCopy{
	margin-top: 10px;
	font-size: 11px;
	line-height: 1.5;
	color: #999;
}
/* END case-study */

@media only screen and (max-width: 1380px) {
	.legacy-yebis3 .grid-colThree a{
		margin: 15px;
	}
	.legacy-yebis3 #case-study h3{
		font-size: 16px;
		line-height: 1.2;
	}
}

@media only screen and (max-width: 1000px) {
	.legacy-yebis3 h2{font-size: 32px;}
	.legacy-yebis3 h3{font-size: 24px;}
}


@media only screen and (max-width: 960px) {
	.legacy-yebis3 .grid-colThree{
		grid-template-columns:repeat(2, 1fr);
	}
}


@media only screen and (max-width: 680px) {
	.legacy-yebis3 .colTwo{
		display: block;
	}
	.legacy-yebis3 .colTwo .colL, .legacy-yebis3 .colTwo .colR{
		max-width: 100%;
	}
	.legacy-yebis3 .colTwo .colR{
		margin-top: 30px;
	}
	
	.legacy-yebis3 .grid-colThree{
		display: block;
	}
	.legacy-yebis3 section{
		padding: 50px 0;
	}
	.legacy-yebis3 section.headTitle{
		padding: 20px 0 30px 0;
	}
	.legacy-yebis3 h2{
		font-size: 26px;
		margin-bottom: 20px;
	}
	.legacy-yebis3 .noTop h1{
		font-size: 30px;
	}
	.legacy-yebis3 .noTop h2{
		font-size: 24px;
	}
	
	.legacy-yebis3 #case-study .caseContent{
		height: auto;
		font-size: 15px;
	}
	.legacy-yebis3 .wrapper.toppage{
		margin-top: 0px;
	}
	.legacy-yebis3 .wrapper{
		margin-top: 50px;
	}
}