@charset "utf-8";

/*---------------------------------------------*
/* company.html
============================================== */
#Page-company section {
	padding: 30px 0;
}

.cp-topBox {
	display: flex;
	flex-direction: row;
	justify-content: space-between;
	flex-wrap: wrap;
	margin-top: 30px; 
}

.cp-topBox .cp-top-inner {
	width: calc(( 100% - 40px) /3);
	margin-bottom: 20px;
	text-align: center;
	background-color: #f2f2f2;
}
.cp-topBox .cp-top-inner a {
	width: 100%;
	display: block;
	background-color: #f2f2f2;
	line-height: 1em;
	padding: 20px 0;
}
.cp-topBox .cp-top-inner a:hover {
	opacity: 0.5;
}

@media screen and (max-width:767.98px) {
	.cp-topBox .cp-top-inner {
		width: calc(( 100% - 10px) /2);
		margin-bottom: 10px;
		text-align: center;
		background-color: #f2f2f2;
	}
	.cp-topBox .cp-top-inner a {
		width: 100%;
		display: block;
		background-color: #f2f2f2;
		line-height: 1em;
		padding: 20px 5px;
	}
} 

.aisatsuBox {
	display: flex;
	flex-direction: row;
	justify-content: space-between;
	width: 100%;
    max-width: 800px;
	flex-wrap: wrap;
    margin: 40px auto 180px auto;
	height: 100%;
}

.aisatsuBox .inner-text p,.aisatsuBox .inner-text p strong {
	flex-grow: 1;
    font-size: 1.3rem;
}


.aisatsuBox {
	display: flex;
	flex-direction: row;
	justify-content: space-between;
	width: 100%;
	flex-wrap: wrap;
	gap: 40px;
}

.aisatsuBox .inner-img {
	width: 350px;
}
.aisatsuBox .inner-img img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.aisatsuBox .inner-text {
	width: calc( 100% - 390px );
	display: flex;
	flex-direction: column;
	align-content:space-between;
}

.aisatsuBox .inner-text p {
	flex-grow: 1;
}


@media screen and (min-width: 992px) and (max-width:1199.98px) {
	.aisatsuBox {
		margin: 40px auto 50px auto;
	}

	.aisatsuBox .inner-img {
		width: 300px;
	}
	.aisatsuBox .inner-img img {
		width: 300px;
		height: 300px;
		object-fit: cover;
	}

	.aisatsuBox .inner-text {
		width: calc( 100% - 340px );
		display: flex;
		flex-direction: column;
		align-content:space-between;
	}
}
@media screen and (max-width:991.98px) {
	.aisatsuBox {
		margin: 40px auto 50px auto;
	}
	
	.aisatsuBox .inner-img {
		width: 80%;
		margin: 0 auto;
	}
	.aisatsuBox .inner-img img {
		width: 100%;
		height: 400px;
		object-fit: cover;
	}

	.aisatsuBox .inner-text {
		width: 100%;
		display: flex;
		flex-direction: column;
		align-content:space-between;
		height: 100%;
	}
}



.top-aisatsu-table, .company-line {
	display: flex;
	flex-direction: row;
	flex-wrap: wrap;
	justify-content: space-between;
}

.top-aisatsu-table .left {
	width: calc( 100% - 360px);
}

.top-aisatsu-table .right {
	width: 330px;
}

.top-aisatsu-table .right img {
	width: 330px;
	height: 100%;
	object-fit: cover;
}

.company-info .company-line {
	border-top: 0.5px solid #aaa;
	border-collapse: collapse;
	padding: 1rem 0.5em;
	line-height: 1.8rem;
    max-width: 770px;
    margin: 0 auto;
}
.company-line div.ccc {
	width: 77%;
    font-size: 1.3rem;
}
.company-line div.ccc p {
		margin: 0;
	}
.company-line div.ccc img {
	width: 100%;
	max-width:600px;
}
.company-midashi {
	color: #0653b2;
	font-weight: bolder;
	padding-left: 1em;
	width: 23%;
	display: flex;
    font-size: 1.3rem;
	align-items: center;
}

.company-info .company-line:last-child {
	border-bottom: 0.5px solid #aaa;
}
 

@media screen and (max-width:767.98px) {
	.top-aisatsu { padding: 10px;}
	.top-aisatsu-table {
		display: flex;
		flex-direction: column;
		flex-wrap: wrap;
		justify-content: space-between;
	}
	.top-aisatsu-table .left, .top-aisatsu-table .right {
		width: 100%;
	}
	
	.top-aisatsu-table .right img {
	width: 100%;
	height: 400px;
		padding-top: 10px;
	object-fit: cover;
}
	
	.company-line div:nth-child(2n) {
		width: 100%;
	}
	.company-line div:nth-child(2n) p {
		margin: 0;
	}
	.company-midashi {
		color: #0653b2;
		font-weight: bolder;
		padding-left: 0em;
		padding-bottom: 0.5em;
		width: 100%;
	}
}

.company-images {
	display: flex;
	flex-direction: row;
	justify-content: space-between;
	flex-wrap:wrap;
}
.company-images .course-box {
	width: calc( 50% - 10px );
		margin-bottom: 20px;
}



@media screen and (min-width:768px) {
	.company-images .course-box {
	width: calc( 25% - 10px );
}
}