@charset "UTF-8";

.contents-area section:not([class]) {
	padding-bottom: 3.5rem;
}
.contents-area :not(.section1) h2 {
	font-size: 2rem;
	padding: 1.1em 0.2em 0.8em;
	margin: 0 0.7em 1em 0.8em;
	border-bottom: 1px solid #B9B9B8;
}

.section1 h2 {
	padding: 0.72em 1.5em 1.1em;
	font-size: 1.55rem;
	line-height: 1.2;
	font-weight: 500;
	text-align: center;
}
.kosatsu {
	padding: 7.9% 0 3%;
}
.kosatsu h3 {
	width: 35%;
	min-width: 150px;
}
.kosatsu-txt {
	display: flex;
	flex-flow: row wrap;
	justify-content: center;
	align-items: center;
	padding: 1.6% 2.35% 0;
}
.kosatsu-txt p {
	padding: 0;
	margin: 0;
}
.kosatsu-txt figcaption {
	width: fit-content;
	line-height: 1.2;
	color: #000;
}

.company-profile dt, .company-profile dd {
	line-height: 1.2;
}
.company-profile dt {
	font-size: 1.028rem;
	font-weight: 700;
	background-color: #EBEBEB;
}
.company-profile dd {
	font-size: 1rem;
	font-weight: 500;
	background-color: #FFF;
}

.staff2 {
	position: relative;
	z-index: 0;
}
.nobori {
	position: absolute;
	z-index: -1;
}

/* mobile */
@media screen and (max-width:768px) {
	.kosatsu-txt figure {
		display: flex;
		justify-content: center;
		align-items: center;
	}
	.kosatsu-txt figure img {
		width: 44%;
		min-width: 130px;
	}

	.company-profile {
		margin: 0 2em 2em;
	}
	.company-profile div {
		margin-bottom: 0.8em;
	}
	.company-profile dt {
		padding: 0.3em 0.5em 0.2em;
	}
	.company-profile dd {
		padding: 0.3em 1em 0.2em 1.5em;
	}
	.staff img {
		width: 100%;
		max-width: 420px;
	}
	.staff li:nth-of-type(2n) {
		text-align: right;
	}
	.staff2 {
		padding-right: calc(5% + 10px);
	}
	img.nobori {
		bottom: 0;
		right: 0;
		width: 20%;
		max-width: 108px;
	}
}

/* PC */
@media not all and (max-width:768px) {
	.kosatsu-txt figure {
		width: 23.8%;
	}
	.kosatsu-txt figcaption {
		margin: -3% auto 0;
	}
	.kosatsu-txt p {
		width: 70.7%;
		padding: 1.25% 4.5% 0 1%;
	}

	.company-profile {
		display: table;
		border-collapse: collapse;
		margin: 0 3.4vw;
	}
	.company-profile>div {
		display: table-row;
	}
	.company-profile dt, .company-profile dd {
		display: table-cell;
		border: 1px solid #CCC;
		vertical-align: middle;
	}
	.company-profile dt {
		padding: 0.594em 1.135em 0.54em;
		text-align: justify;
		text-align-last: justify;
	}
	.company-profile dd {
		padding: 0.666em 1em 0.527em;
	}

	.staff {
		display: flex;
		flex-flow: row wrap;
		column-gap: 7.01%;
		row-gap: 1.75vw;
		padding: 3.84% 3.416%;
	}
	.staff li {
		width: 42.42%;
	}
	.nobori {
		bottom: 0;
		right: -22.9%;
		width: 37.3%;
	}
}
