#mainv {
	background: url("../../img/subdir_mainv2.png") no-repeat center;
	/* position: relative; */
}

#sub-dirconents {
	padding-bottom: 200px;
}

#mainv .main-text img {
	width: 100%;
	max-width: 420px;
	z-index: 2;
	position: absolute;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);

	@media all and (max-width: 700px) {
    max-width: 215px;
	top: 73%;
}
}

#main-content_vision .policy-box {
	position: relative;
	/* margin-bottom: 35px; */
	text-align: center;
	background-image: url("../../img/vision_top.jpg");
	background-size: cover;
	background-position: center;
	background-attachment: fixed;
	background-repeat: no-repeat;
	padding: 72px 0;

	@media all and (max-width: 639px) {
		background-attachment: unset;
	}
}

#main-content_vision .policy-box::before {
	background: rgba(0, 0, 0, 55%);
	content: "";
	height: 100%;
	left: 0;
	pointer-events: none;
	position: absolute;
	top: 0;
	width: 100%;
	z-index: 0;
}

#main-content_vision .policy-box img {
	width: 100%;
	max-width: 420px;
	position: relative;
	z-index: 2;
}

#main-content_vision .bg {
	padding: 42px 0 160px;
	position: relative;
}

#main-content_vision .bg::before {
	content: "";
	position: absolute;
	inset: 0;
	background: url("../../img/bg.jpg") center/cover no-repeat;
	opacity: 0.2;
	z-index: 0;
}

/*******************************************************************/
#main-content_vision .message-box {
	display: flex;
	flex-direction: column;
	gap: 80px;
	margin-top: 120px;
}

/* 共通レイアウト */
.policy-detail {
	display: flex;
	align-items: center;
	gap: 2%;
	background: none;
	border: none;
	box-shadow: none;
	padding: 0;
	width: 100%;
	max-width: 1000px;
	margin: 0 auto;
	position: relative;

	@media (max-width: 777px) {
		flex-direction: column;
	}
}

/* テキストボックス */
.policy-text-box {
	flex: 1 1 50%;
	background-color: #fff;
	box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
	padding: 30px;
	overflow: hidden;
	position: relative;

	@media (max-width: 777px) {
		width: 100%;
	}
}

.policy-text-box::before {
	content: "";
	background-repeat: no-repeat;
	background-position: center;
	background-image: url("../../img/bg-logo.png");
	background-size: contain;
	position: absolute;
	bottom: -63px;
	right: -63px;
	width: 200px;
	height: 200px;
}

/* 画像ボックス */
.policy-img-box {
	flex: 1 1 45%;
}

.policy-img-box img {
	width: 100%;
	height: 350px;
	object-fit: cover;

	@media (max-width: 430px) {
		height: 250px;
	}
}

/* Speedだけ左右反転（reverseクラス追加） */
.policy-detail.reverse {
	flex-direction: row-reverse;

	@media all and (max-width: 777px) {
		flex-direction: column;
	}
}

/* タイトル・本文スタイル */
.policy-detail dt {
	font-size: 2.8rem;
	color: #236703;
	margin-bottom: 10px;
	font-weight: bold;
}

.policy-detail dt .size {
	font-size: 48px;

	@media all and (max-width: 639px) {
		font-size: 43px;
	}
}

.policy-detail dt .color {
	color: #43b30f;
	font-size: 19px;
}

.policy-detail .sub-detail {
	font-size: 1.6rem;
	font-weight: normal;
	line-height: 2.4;
	margin-bottom: 10px;
}

.policy-detail dd {
	font-size: 1.8rem;
	font-weight: bold;
	line-height: 2.4;
	margin-bottom: 0;
}

/* #sub-dirconents .policy-detail {
	width: 400px;
	margin-bottom: 40px;
	font-weight: bold;
	background-position: bottom right;
	background-repeat: no-repeat;
	line-height: 1.8;
}

#sub-dirconents .policy-detail dt {
	font-size: 3rem;
	color: #236703;
}

#sub-dirconents .policy-detail .sub-detail {
	font-size: 1.6rem;
	font-weight: normal;
	line-height: 2.4;
}

#sub-dirconents .policy-detail dd {
	margin-bottom: 30px;
	font-size: 2rem;
	line-height: 2.4;
}

#sub-dirconents #main-content_vision .message-box {
	display: flex;
	justify-content: center;
	gap: 20px 4%;
	margin-top: 120px;

	@media all and (max-width: 890px) {
		flex-direction: column;
	}
}

#sub-dirconents .policy-detail.challenge {
	text-align: center;
	box-shadow: 0 0 0 2px #fff, 0 0 0 4px #549535;
	border: 1px solid #549535;
	padding: 15px;
	background-repeat: no-repeat;
	background-position: center;
	background-image: url("../../img/bg-logo.png");
}

#sub-dirconents .policy-detail.speed {
	text-align: center;
	box-shadow: 0 0 0 2px #fff, 0 0 0 4px #549535;
	border: 1px solid #549535;
	padding: 15px;
	background-repeat: no-repeat;
	background-position: center;
	background-image: url("../../img/bg-logo.png");
}

#sub-dirconents .policy-maintxt {
	width: 100%;
}

#sub-dirconents .policy-pic {
	float: right;
}

#sub-dirconents .credo-box {
	text-align: center;
	padding: 20px 0;
	border-top: 1px solid #ececec;
	border-bottom: 1px solid #ececec;
}

#sub-dirconents #sidebar .sidebar-list-heading {
	background: url("../../img/icon-side-company.png") no-repeat 18px bottom;
	padding-left: 70px;
	margin-bottom: 20px;
	padding-top: 20px;
} */

@media screen and (max-width: 890px) {
	/* .contents {
		padding-left: 15px;
		padding-right: 15px;
	} */
	.policy-box ._heading-var5 {
		margin-left: 0;
		text-align: center;
	}

	.policy-detail.challenge {
	}

	.clear-box {
		clear: both;
	}

	._heading-var5 .main-text {
		float: none;
	}

	.policy-box ._heading-var5 .text2 {
		margin-top: 10px;
		font-size: 2rem;
	}

	.pic-box {
		display: block;
		text-align: center;
	}

	.pic-box .policy-pic {
		width: 290px;
		position: static;
	}

	.policy-detail {
		width: auto;
	}

	.policy-detail dt {
		font-size: 2.5rem;
	}

	.policy-detail dd {
		line-height: 1.8;
		margin-top: 5px;
	}

	/* #sidebar {
		clear: both;
	}

	#sidebar .sidebar-list-heading {
		margin-top: 15px;
		margin-left: 15px;
		padding-left: 50px;
		background-position: left center;
	} */
}

@media screen and (max-width: 768px) {
	.policy-detail.challenge,
	.policy-detail.speed {
		float: none;
	}

	.pic-box .policy-pic {
		float: none;
		width: 100%;
	}
}

@media screen and (max-width: 580px) {
	.policy-box ._heading-var5 .text2 {
		font-size: 1.8rem;
	}

	.policy-detail.challenge,
	.policy-detail.speed {
		float: none;
	}

	.policy-detail dd {
		font-size: 1.7rem;
	}
}

@media screen and (max-width: 320px) {
	.policy-box ._heading-var5 .text2 {
		font-size: 2rem;
	}

	.policy-detail.challenge,
	.policy-detail.speed {
		float: none;
	}

	.policy-detail dt {
		font-size: 2rem;
	}

	.policy-detail dd {
		font-size: 1.4rem;
	}
}
