@charset "utf-8";
/* CSS Document */
main{
	margin: 70px 0 0;
}
.top .inner .box h2{
    position: absolute;
    left: 0;
    z-index: 5;
    padding: 1.5em 30px .5em;
    width: calc(100% - 45px);
    background: #fff;
    font-size: 2.4rem;
    line-height: 1.6875;
    font-weight: 700;
    transform: translateY(calc(-100% + 2px))
}
.top .inner .box p{
	padding: 30px;
	line-height: 2;
}
.services{
	margin: 100px 0 0;
}
.services h2{
	text-align: center;
	font-size: 3.0rem;
}
.services h2 span{
	display: block;
	font-size: 1.6rem;
}
.services .inner{
	margin: 50px 0 0;
}
.services .box .text {
	position: absolute;
	top: 50%;
	left: 50%;
	-ms-transform: translate(-50%,-50%);
	-webkit-transform: translate(-50%,-50%);
	transform: translate(-50%,-50%);
	margin:0;
	padding:0;
	color: #fff;
}
.services .box .mack{
	width: 100%;
	height: 100%;
	background: rgba(0,0,0,0.3);
	position: absolute;
	top: 0%;
	left: 0%;
}
.services .box img {
	width: 100%;
}
.services .box .text h3{
	text-align: center;	
	margin: 0 0 10px;
	font-size: 2.4rem;
}
.recruit{
	margin: 100px 0 0;
}
.recruit h2{
	text-align: center;
	font-size: 3.0rem;
}
.recruit h2 span{
	display: block;
	font-size: 1.6rem;
}
.recruit .text p{
	text-align: center;
	margin: 40px 0;
}
.recruit .img {
	margin: 80px 0 0;
    padding-bottom: 74.6%;	
}
.recruit .img img{
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: right center;	
}
.news{
	margin: 100px 0;
}
.news h2{
	text-align: center;
	font-size: 3.0rem;
}
.news h2 span{
	display: block;
	font-size: 1.6rem;
}
.news .newsbox{
	width: 100%;
	padding: 40px 0 0;
}
.news .news-post{
	width: 100%;
	margin: 0 0 60px;
}
.news .news-post .date{
 	margin: 0 20px 0 0;	
    width: 80px;
}
.news .news-post .cat{
	background: var(--primary-color);
    color: #fff;
    padding: .25em .5em;
    display: block;
    min-width: 133px;
    border-radius: 3em;
    text-align: center;	
    margin: 0 16px 0 0;
    font-size: 13px;	
}
.news .news-post h3{
		margin: 10px 0 0;
	}
.news .news-post h3{
    font-size: 1.6rem;
}
.news .news-post a:hover h3{
	text-decoration:underline;
}	
	
		
/* ===============================
   レスポンシブ：768px以上（タブレット）
================================== */
@media screen and  (min-width: 768px) {
	.top .inner .box h2{
		padding: 2.5em 4.8% 0.5em;
    	width: calc(100% - 50%);
		line-height: 2;
	}
	.top .inner .btn{
	    width: 100%;
	    max-width: 360px;
	    margin: auto;
	}


}
/* ===============================
   レスポンシブ：992px以上（ノートPC以上）
================================== */
@media screen and  (min-width: 992px) {
	.top .inner{
	    display:flex;
	    align-items: flex-end;
	    padding: 0 3%	
	}
	.top .inner .box {
		flex-basis:50%;	
		padding-right: 30px;
	}
	.top .inner .box h2{
	    font-size: 2.0rem;
		padding: 2.5em 3% 0.5em;
	}
	.top .inner .box p {
	    padding: 30px 0;
	    line-height: 2;
	}
	.services .inner{
		display: flex;
	}
	.services .box{
		width: 50%;
	}

	.recruit{
        padding-top:120px;
        padding-bottom: 120px;
        background: url(../img/top/bg_recruit.jpg) no-repeat center/cover;		
	}
	.recruit .img{
		display: none;
	}
	.recruit .text{
		width: fit-content;
	}
	.news .block{
		max-width: 900px;
		
	}
	.news .news-post a{
		display: flex;
		align-items: center;
	}
	.news .news-post h3 {
	    margin: 0;
	}
	
}
/* ===============================
   レスポンシブ：1200px以上（ノートPC以上）
================================== */
@media screen and  (min-width: 1200px) {
	.top .inner{
	    padding: 2.5em 3.8% 2.5em;
	}
	.top .inner .box {
		padding-right: 90px;
	}
	.top .inner .box h2{
		padding: 2.5em 3.8% 2.5em;
	    font-size: clamp(1.4rem, 5vw, 2.4rem);
	}
	.top .inner .box p {
	    padding: 0;
	    line-height: 2.5;
	}
}



@media screen and (max-width: 1270px) {

}