@media screen and (min-width: 768px) {
	:target {
		  scroll-margin-top: 150px;
	}
}
@media screen and (max-width: 767px) {
	:target {
		  scroll-margin-top: 20px;
	}
}
#pageheader{
	background-image: url('../../assets/images/pageheader_bg.jpg');
	background-size: cover;
	background-position: center;
	background-repeat: no-repeat;
	aspect-ratio: 128 / 35;
	position: relative;
	
}
.overlay{
	position: absolute;
	bottom: 0;
	right: 0;
	padding: 20px;
	padding-bottom:40px;
	
	color: #fff;
}
.overlay .page-title{
	font-size: 40px;
	font-family : 'Noto Sans JP', sans-serif;
	font-weight: 700;
	letter-spacing: 0.2rem;;
}

@media screen and (max-width: 768px) {
	.overlay .page-title{
		font-size: 20px;
	}
}
/*-------------------------------------------------------------------------*/
/*-------------------------------------------------------------------------*/
/* 共通パーツ */

.content{
	max-width: 1200px;
	margin-bottom: 5rem;;
}

.content h2{
	padding-top:8px;
	font-size: 35px;
	font-weight: bold;;
}
.content h3{
	font-size: 20px;
	font-weight: bold;;
	margin-bottom: 1rem;;
}
.round-box{
	border-radius: 30px;
	border:1px solid #000;
	padding: 3rem;;
}

.button-red{
	text-align: center;;
}
.button-red a{
	border:1px solid #E12307;
	border-radius: 50px;
	padding: 10px 20px;;
	text-align: center;
	margin-left:auto;
	margin-right:auto;
	display: inline-block;
	text-decoration: none;
	color:#E12307;
}
.button-red a:hover{
	background-color: #E12307;
	color:#fff;
	text-decoration: none;
}

th,td{
	padding-top:1rem!important;
	padding-bottom:1rem!important;
}

.wpcf7-form-control.wpcf7-submit.has-spinner {
	border: 1px solid #E12307;
	border-radius: 50px;
	padding: 10px 20px;
	text-align: center;
	display: inline-block;
	text-decoration: none;
	color: #E12307;
	background-color: transparent;
	cursor: pointer;
	transition: background-color 0.3s, color 0.3s;
	max-width: 300px;;
}

.wpcf7-form-control.wpcf7-submit.has-spinner:hover {
	background-color: #E12307;
	color: #fff;
}

@media screen and (max-width: 768px) {
	
	th, td {
		display: block;
		width: 100%;
	}
	th{
		padding-bottom:5px;
		font-size: 14px;
	}
	
}

/*-------------------------------------------------------------------------*/
/*-------------------------------------------------------------------------*/
/* 企業理念 */

.concept{
	display: flex;
	flex-direction: row;
	align-items: baseline;
	justify-content: flex-start;
	height: auto;
	margin-bottom: 40px;;
}
.concept .line{
	display: block;
	width: 100px;
	height: 1px;
	background-color: #000;
	margin: 20px 10px 20px 10px;
	align-self: center;;
}
.concept .t1{
	font-size: 50px;
	letter-spacing: 0.2rem;
}
.concept .t2{
	font-size: 50px;
	letter-spacing: 0.2rem;
}
.concept .t3{
	font-size: 18px;

	padding-left:20px;
	padding-top:10px;
}

.concept1-text{
	margin-bottom: 150px;
}
.concept1-text p{
	line-height: 200%;
}

.concept1-text .lines{
	display: flex;
	align-items: center;
	justify-content: flex-start;
}
.concept1-text span.line{
	width: 1px;
	height: 50px;
	display: inline-block;
	background-color: black;
	transform: rotate(25deg);
}

@media screen and (min-width: 1200px) {
	.concept1-text span:nth-child(1){
		margin-right: 30px;
	}
	.concept1-text span:nth-child(3){
		margin-left: 30px;
		margin-right: 30px;
	}
	.concept1-text span:nth-child(5){
		margin-left: 30px;
		margin-right: 30px;
	}
	.concept1-text span:nth-child(7){
		margin-left: 30px;
	}

}


.concept2-text{
	margin-bottom: 150px;
}

.concept2-text ul li {
	list-style: none;
	position: relative;
	padding-left: 30px;
	margin-bottom: 20px;
	
}

.concept2-text ul li::before {
	content: '';
	position: absolute;
	top: 50%;
	left: 0;
	width: 20px;
	height: 1px;
	background-color: black;
	transform: translateY(-50%);
}

/* 規定デザイン幅以下 */
@media screen and (max-width: 1199px) {

	.concept{
		flex-direction: column;
		align-items: center;
		justify-content: center;
	}
	.concept .line{
		width: 50px;
		rotate: 90deg;
	}
	.concept .t1{
		font-size: 30px;
		text-align: center;
		padding-bottom: 25px;
	}
	.concept .t2{
		font-size: 30px;
		text-align: center;
		padding-top: 25px;;
	}
	.concept .t3{
		font-size: 16px;
	
		padding-left:0px;
		padding-top:10px;
	}

	.concept1-text{
		text-align: center;;
	}
	.concept1-text .lines{
		text-align: center;;
		/*縦に並べたい*/
		display: flex;
		flex-direction: column;
		align-items: center;
	}

	.concept1-text span.line{
		width: 50px;
		height: 1px;
		display: inline-block;
		background-color: black;
		transform: none;
		margin-top:15px;
		margin-bottom:15px;
	}

}


/*-------------------------------------------------------------------------*/
/*-------------------------------------------------------------------------*/
/* 会社案内 */

#cpinfo{
	max-width: 1000px;
	margin-left:auto;
	margin-right:auto;
}

#cptable th{
	padding-left: 20px;
}

/*-------------------------------------------------------------------------*/
/*-------------------------------------------------------------------------*/
/* 事業案内 */

.imgPanels{
	display: flex;
	flex-wrap: wrap;
	justify-content: flex-start;
}
.imgPanels .item{
	flex: 1 1 33.3333%;
	max-width: 33.3333%;
	box-sizing: border-box;
	padding: 10px;
}

.business-gallery h3{
	border-bottom: #000 1px solid;
	padding-bottom: 8px;;
	font-size: 30px;
	font-weight:bold;
}
.business-gallery h3 span{
	padding-left: 10px;
}
.business-gallery h4{
	font-size:20px;
}

.business-gallery .businessHeader {
	display: flex;
	flex-wrap: wrap;
	gap: 20px;
	margin-bottom: 30px;
	background-color: #262626;
}
.business-gallery .businessHeader .image {
	flex: 1 1 300px;
}
.business-gallery .businessHeader .text {
	flex: 2 1 300px;
	align-self: center;
	font-size: 1.1rem;
	line-height: 1.8;
	color: #fff;
	padding: 2rem;
}
/*-------------------------------------------------------------------------*/
/*-------------------------------------------------------------------------*/
/* Form */

.contact-form table{
	width: 100%;
	border-collapse: collapse;
	margin-bottom: 20px;
}
.contact-form input{
	width: 100%;
	box-sizing: border-box;
	padding: 10px;
	margin-bottom: 20px;
	border: 1px solid #ccc;
	border-radius: 5px;
	font-size: 16px;
}
.contact-form textarea{
	width: 100%;
	box-sizing: border-box;
	padding: 10px;
	margin-bottom: 20px;
	border: 1px solid #ccc;
	border-radius: 5px;
	font-size: 16px;
	min-height: 150px;
	resize: vertical;
}
.contact-form .req{
	color:red;
}