@charset "UTF-8";

/*---------------グラントについて---------------*/

#about+section:before{
	position: absolute;
	display: block;
	content: "";
	width: 100%;
	height: 100%;
	top: 0;
	left: 0;
	background-image: url("/common/upload_data/grantnagoyacom/image/about_bg.png");
	background-repeat: no-repeat;
	background-position: bottom center;
	pointer-events: none;
}
@media screen and (min-width: 1921px){
	#about+section:before{
		background-size: cover;
	}
}
@media screen and (max-width: 480px){
	#about+section:before{
		background-size: 1200px;
	}
	#about+section .inner_item_img img{
		max-width: 200px !important;
	}
}

/*---------------私たちの喜びはみなさまの笑顔です---------------*/

#joy+section:before{
	position: absolute;
	display: block;
	content: "";
	width: 60%;
	height: 1px;
	top: 0;
	left: 0;
	background-image: linear-gradient(to right, #5a5a5a, #5a5a5a 3px, transparent 3px, transparent 7px);
	background-size: 10px 1px;
	pointer-events: none;
}
#joy+section .inner_item_txt{
	padding-left: 50px;
}
@media screen and (min-width: 1401px){
	#joy+section>.content_wrapper{
		margin-left: 10%;
	}
}

/*---------------MENU---------------*/

#menu+section:before{
	position: absolute;
	display: block;
	content: "";
	width: 60%;
	height: 1px;
	top: 0;
	right: 0;
	background-image: linear-gradient(to right, #5a5a5a, #5a5a5a 3px, transparent 3px, transparent 7px);
	background-size: 10px 1px;
	pointer-events: none;
}
#menu+section .heading.block_header_2{
	border-bottom: 0 !important;
	padding-bottom: 0;
}
#menu+section .heading.block_header_2:before{
	display: none;
}
#menu+section .heading.block_header_2 .h,
#menu+section .heading.block_header_2 p{
	padding-left: 0;
}
#menu+section .heading.block_header_2 .h{
	letter-spacing: 0.1rem;
	color: var(--i_main_color);
	font-size: 3.4rem !important;
	line-height: 1.4;
}
#menu+section .heading.block_header_2 p{
	font-size: 1.7rem;
	letter-spacing: 0.1rem;
}
#menu+section .inner_item_txt{
	padding-right: 50px;
}
@media screen and (min-width: 1401px){
	#menu+section>.content_wrapper{
		margin-right: 10%;
	}
}
@media screen and (max-width: 800px){
	#menu+section .heading.block_header_2 .h{
		font-size: 2.5rem !important;
	}
	#menu+section .heading.block_header_2 p{
		font-size: 1.5rem;
	}
}

/*---------------joy&menu---------------*/

@media screen and (min-width: 901px){
	#joy+section .contents_btn01 .content_wrapper,
	#menu+section .contents_btn01 .content_wrapper{
		padding-left: 0;
	}
}
@media screen and (max-width: 480px){
	#joy+section:before,
	#menu+section:before{
		width: 100%;
	}
}

/*---------------GALLERY---------------*/

#g_img+section{
	min-height: 300px;
}
#g_img+section+div{
	margin-top: -180px;
}
#g_img+section+div>.content_wrapper{
	background: #fff;
	width: calc(100% - 50px);
	padding: 80px 100px 0 !important;
	box-sizing: border-box;
}
@media screen and (max-width: 900px){
	#g_img + section{
		min-height: 200px;
	}
	#g_img+section+div{
		margin-top: -220px;
	}
	#g_img+section+div>.content_wrapper{
		padding: 30px 20px 0 !important;
	}
	#g_img+section+div>.content_wrapper .contents_btn01:last-child{
		padding: 0 !important;
	}
}

/*---------------リクルートバナー---------------*/

@media screen and (min-width: 900px){
	#r_bnr+section>.content_wrapper{
		display: flex;
		justify-content: center;
	}
	#r_bnr+section .wrapper_item{
		padding-bottom: 0px;
		padding-left: 100px;
	}
	#r_bnr+section .inner_item_img{
		max-width: 100%;
	}
	#r_bnr+section .heading.block_header_6{
		min-width: 300px;
		border-top: 3px solid #6fba2c;
		border-bottom: 3px solid #6fba2c;
		margin-bottom: 0;
	}	
}
@media screen and (max-width: 900px){
	#r_bnr+section>.content_wrapper{
		position: relative;
		padding-top: 30px !important;
		padding-bottom: 30px !important;
	}
	#r_bnr+section>.content_wrapper:before,
	#r_bnr+section>.content_wrapper:after{
		position: absolute;
		display: block;
		content: "";
		width: 80%;
		height: 100%;
		top: 0;
		left: 10%;
		pointer-events: none;
	}
	#r_bnr+section>.content_wrapper:before{
		border-top: 3px solid #6fba2c;
	}
	#r_bnr+section>.content_wrapper:after{
		border-bottom: 3px solid #6fba2c;
	}
}
@media screen and (max-width: 500px){
	#r_bnr+section>.content_wrapper{
		padding: 0;
	}
}

/*---------------NEWS---------------*/

#news+div:before{
	position: absolute;
	display: block;
	content: "";
	width: 100%;
	height: 100%;
	top: 0;
	left: 0;
	background-image: url("/common/upload_data/grantnagoyacom/image/news_bg_1.png");
	background-repeat: no-repeat;
	background-position: top center;
	pointer-events: none;
}
#news+div>.content_wrapper{
	padding-top: 50px;
}
@media screen and (min-width: 1921px){
	#news+div:before{
		background-size: cover;
	}
}

/*---------------バナーhover時の動き---------------*/

#r_bnr+section .inner_item_img{
	transition: .2s cubic-bezier(0.45, 0, 0.55, 1);
}
#r_bnr+section .inner_item_img:before{
	position: absolute;
	display: block;
	content: "";
	width: 100%;
	height: 100%;
	top: 0;
	left: 0;
	background: rgba(111, 186, 44, 0.3);
	opacity: 0;
	transition: .2s cubic-bezier(0.45, 0, 0.55, 1);
	pointer-events: none;
}
#r_bnr+section .inner_item_img:hover{
	transform: translateY(-5px);
}
#r_bnr+section .inner_item_img:hover:before{
	opacity: 1;
}

