/*----------------------------------------------------
** WEB COMBO / exsample.css *ページに合わせてファイル名を変更する
** Ver.1.0.0
** copyright 2020 GRANTEST Inc.
**----------------------------------------------------
** Common settings
**----------------------------------------------------*/

/*共通のスタイルをここに記載*/

@media only screen and (-webkit-min-device-pixel-ratio:2), (min-resolution: 2dppx){
	
	/*レティーナディスプレイ用のスタイルをここに記載*/
	
}
@media screen and (max-width:767px){
	
	/*スマートフォン用のスタイルをここに記載*/
	div.childinner{
		width:100%;
		padding:1em;
		box-sizing:border-box;
	}
	section.topmessage_wrap{
		padding:0 0 50px 0;
	}
	section.topmessage_wrap h2{
		font-size:18px;
		color:#444;
		text-align:left;
		margin-bottom:1em;
		font-weight:700;
	}
	div.top_message{
		margin-bottom:50px;
	}
	div.top_message figure{
		width:100%;
	}
	div.top_message div{
		color:#444;
		font-size:14px;
		line-height:2em;
		padding:1em;
		box-sizing:border-box;
	}
	div.top_message div h3{
		font-size:18px;
		font-weight:700;
		margin-bottom:1em;
	}
	div.top_message:nth-of-type(2){
		position:relative;
		z-index:1;
		padding-top:80%;
	}
	div.top_message:nth-of-type(2) figure{
		position:absolute;
		top:0;
		left:0;
	}
	div.top_message figure img{
		width:100%;
		object-fit:cover;
	}
	section.topmessage_wrap p.name{
		margin:0 0 0 auto;
		color:#444;
		display:table;
	}
	div.recruit{
		position:relative;
		z-index:1;
		height:300px;
	}
	div.recruit figure{
		position:absolute;
		top:0;
		left:0;
		right:0;
		bottom:0;
	}
	div.recruit figure img{
		width:100%;
		object-fit:cover;
		height:300px;
	}
	div.recruit h3{
		position:absolute;
		top:30%;
		width:100%;
		text-align:center;
		color:#fff;
		font-size:18px;
	}
	div.recruit div.btnarea{
		position:absolute;
		top:55%;
		left:50%;
		transform:translateX(-50%);
		width:100%;
	}
	div.recruit div.btnarea a{
		font-size:15px;
	}
	
}
@media screen and (max-width:320px){
	
	/*小さいサイズのスマートフォン用のスタイルをここに記載*/
	
}
@media screen and (min-width:768px) and (max-width:1099px){
	
	/*タブレット用のスタイルをここに記載*/
	div.childinner{
		width:100%;
		padding:6vw;
		box-sizing:border-box;
	}
	section.topmessage_wrap{
		padding:70px 0 70px 0;
	}
	section.topmessage_wrap h2{
		font-size:24px;
		color:#444;
		text-align:center;
		margin-bottom:50px;
	}
	div.top_message{
		display:flex;
		margin-bottom:70px;
	}
	div.top_message figure{
		width:35%;
	}
	div.top_message div{
		width:calc(100% - 35%);
		color:#444;
		font-size:16px;
		line-height:2em;
		padding-left:50px;
		box-sizing:border-box;
	}
	div.top_message div h3{
		font-size:24px;
		font-weight:700;
		margin-bottom:20px;
	}
	div.top_message:nth-of-type(2) div{
		padding-right:50px;
		padding-left:0;
		box-sizing:border-box;
	}
	div.top_message figure img{
		width:100%;
		object-fit:cover;
	}
	section.topmessage_wrap p.name{
		margin:0 0 0 auto;
		color:#444;
		display:table;
	}
	div.recruit{
		position:relative;
		z-index:1;
		height:350px;
	}
	div.recruit figure{
		position:absolute;
		top:0;
		left:0;
		right:0;
		bottom:0;
	}
	div.recruit figure img{
		width:100%;
		object-fit:cover;
		height:350px;
	}
	div.recruit h3{
		position:absolute;
		top:30%;
		left:50%;
		transform:translateX(-50%);
		color:#fff;
		font-size:24px;
	}
	div.recruit div.btnarea{
		position:absolute;
		top:50%;
		left:50%;
		transform:translateX(-50%);
	}
	
}
@media (orientation: landscape) and (max-width:568px){
	
	/*小さいサイズのスマートフォン用横向きのスタイルをここに記載*/
	
}
@media (orientation: landscape) and (min-width:569px) and (max-width:724px){
	
	/*大きいサイズのスマートフォン用横向きのスタイルをここに記載*/
	
}
@media (orientation: landscape) and (min-width:725px) and (max-width:1099px){
	
	/*タブレット用横向きのスタイルをここに記載*/
	
}
@media screen and (min-width:1100px){
	
	/*PC用のスタイルをここに記載*/
	div.childinner{
		width:1100px;
		margin:0 auto;
	}
	section.topmessage_wrap{
		padding:100px 0 100px 0;
	}
	section.topmessage_wrap h2{
		font-size:24px;
		color:#444;
		text-align:center;
		font-weight:700;
	}
	div.top_message{
		display:flex;
		margin-bottom:100px;
	}
	div.top_message figure{
		width:35%;
	}
	div.top_message div{
		width:calc(100% - 35%);
		color:#444;
		font-size:16px;
		line-height:2em;
		padding-left:50px;
		box-sizing:border-box;
	}
	div.top_message div h3{
		font-size:24px;
		font-weight:700;
		margin-bottom:20px;
	}
	div.top_message:nth-of-type(2) div{
		padding-right:50px;
		padding-left:0;
		box-sizing:border-box;
	}
	div.top_message figure img{
		width:100%;
		object-fit:cover;
	}
	section.topmessage_wrap p.name{
		margin:0 0 0 auto;
		color:#444;
		display:table;
	}
	div.recruit{
		position:relative;
		z-index:1;
		height:400px;
	}
	div.recruit figure{
		position:absolute;
		top:0;
		left:0;
		right:0;
		bottom:0;
	}
	div.recruit figure img{
		width:100%;
		object-fit:cover;
		height:400px;
	}
	div.recruit h3{
		position:absolute;
		top:30%;
		left:50%;
		transform:translateX(-50%);
		color:#fff;
		font-size:24px;
	}
	div.recruit div.btnarea{
		position:absolute;
		top:50%;
		left:50%;
		transform:translateX(-50%);
	}
}