@charset "utf-8";
/* CSS Document */
/*=========================================
            style.css
==========================================*/
/* ヒーローイメージ */

#hero_image_container {
	height: 400px;
	background-image: url(../images/kv.jpg);
	background-position: center 70%;
	background-size: cover;
	position: relative;
	z-index: 1;
}

@media screen and (max-width:768px) {
	#hero_image_container {
		height: 60vh;

	}
}

#hero_image_container #hero_img {
	position: absolute;
	z-index: 2;
	top: 30%;
	left: 50%;
	-ms-transform: translate(-50%, -50%);
	-webkit-transform: translate(-50%, -50%);
	transform: translate(-50%, -50%);
	max-width: 750px;
	width: 100%;
}

#hero_image_container #hero_img img {
	width: 100%;
}

#hero_image_container h1 {
	display: none;
}

/* グローバルナビ */

#gnav {
	background-color: #0071c1;
	width: 100%;
}

@media screen and (max-width:768px) {
	#gnav {
		position: absolute;
		top: -400px;
		left: 0;
		right: 0;
		z-index: 10;
		transition: all 0.5s;
	}
}

@media screen and (max-width:768px) {
	#gnav.clicked {
		top: 115px;

	}
}

#gnav ul {
	list-style: none;
	display: flex;
	max-width: 1000px;
	margin: 0 auto;
}

@media screen and (max-width:768px) {
	#gnav ul {
		display: block;


	}
}

#gnav ul li {
	width: 20%;
}

@media screen and (max-width:768px) {
	#gnav ul li {
		width: 100%;
		border-bottom: 1px solid #000;
	}
}

#gnav ul li a {
	display: inline-block;
	width: 100%;
	padding: 30px 0;
	font-size: 18px;
	text-decoration: none;
	color: #FFF;
	text-align: center;
	position: relative;
	box-sizing: border-box;
}

@media screen and (max-width:768px) {
	#gnav ul li a {
		text-align: left;
		padding: 15px;
		font-size: 14px;
	}
}

#gnav ul li a::after {
	content: '';
	display: block;
	height: 0;
	width: 0;
	border: solid 5px transparent;
	border-top: solid 7px #fff;
	position: absolute;
	z-index: 2;
	bottom: 9px;
	left: 0;
	right: 0;
	margin: auto;
}

@media screen and (max-width:768px) {
	#gnav ul li a::after {
		display: none;
	}
}

/*代表挨拶*/
#representative {
	padding: 60px 0;
	margin: 0 0;
}

@media screen and (max-width:768px) {
	#representative {
		margin: 0;
	}
}

#representative_cotainer {
	width: 95%;
	margin: 0 auto;
}

#representative_cotainer h2 {
	font-size: 35px;
	text-align: center;
	color: #0071c1;
	padding: 0 0 5px;
	margin: 0 auto 30px;
	font-weight: bold;
}

@media screen and (max-width:768px) {
	#representative_cotainer h2 {
		font-size: 28px;
	}
}

#representative_cotainer h2 span {
	background: linear-gradient(transparent 96%, #0071c1 4%);
	padding: 0 0 5px;
}

#representative_cotainer p {
	font-size: 16px;
	text-align: center;
	padding: 0;
	margin: 0 0 30px;
	line-height: 2;
}

@media screen and (max-width:768px) {
	#representative_cotainer p {
		text-align: left;
		font-size: 14px;
	}
}

#representative_name {
	max-width: 400px;
	width: 100%;
	margin: 0 auto;
}

#representative_name img {
	width: 100%;
}

/*事業内容*/

#business {
	padding: 60px 0 0;
	margin: 0;
}

#business_cotainer {
	width: 100%;
}

#business_cotainer h2 {
	font-size: 35px;
	text-align: center;
	color: #0071c1;
	padding: 0 0 5px;
	margin: 0 auto 30px;
	font-weight: bold;
}

@media screen and (max-width:768px) {
	#business_cotainer h2 {
		font-size: 28px;
	}
}

#business_cotainer h2 span {
	background: linear-gradient(transparent 96%, #0071c1 4%);
	padding: 0 0 5px;
}




/* #business_cotainer ul {
	display: flex;
	list-style: none;
	flex-wrap: wrap;
} */

#business_cotainer ul {
	display: flex;
	list-style: none;
	flex-direction: column;
}

@media screen and (max-width:768px) {
	#business_cotainer ul {
		display: block;
	}
}

#business_cotainer ul li {
	width: 50%;
	min-height: 500px;
	border-top: solid 1px #e2e2c6;
	border-right: solid 1px #e2e2c6;
	box-sizing: border-box;
	display: flex;
	box-sizing: border-box;
	flex-direction: column;
	align-items: center;
}

@media screen and (max-width:768px) {
	#business_cotainer ul li {
		width: 100%;
		min-height: 260px;
	}
}

/* 
#business_cotainer ul li:nth-child(4) {
	background: #f8f8e1;
}

#business_cotainer ul li:nth-child(5) {
	background: #f8f8e1;
}

@media screen and (max-width:768px) {
#business_cotainer ul li:nth-child(5) {
	background: #FFF;
}	
}

@media screen and (max-width:768px) {
#business_cotainer ul li:nth-child(3) {
	background: #f8f8e1;
}	
}
 */

#business_1 {
	background-image: url("../images/bg_works.jpg");
	background-position: center center;
	background-size: cover;
}

#business_2 {
	background-image: url("../images/bg_works2.jpg");
	background-position: center center;
	background-size: cover;
}

#business_3 {
	background-image: url("../images/bg_works3.jpg");
	background-position: center center;
	background-size: cover;
}

#business_4 {
	background-image: url("../images/bg_works4.jpg");
	background-position: center center;
	background-size: cover;
}

.flex_row {
	display: flex;
	flex-direction: row;
}

@media screen and (max-width:768px) {
	.flex_row {
		display: flex;
		flex-direction: column;
	}
}

.flex_row-reverse {
	display: flex;
	flex-direction: row-reverse;
}

@media screen and (max-width:768px) {
	.flex_row-reverse {
		display: flex;
		flex-direction: column;
	}
}

.business_item {
	width: 100%;
	padding: 60px;
	box-sizing: border-box;
}

@media screen and (max-width:768px) {
	.business_item {
		padding: 30px;
	}
}

.business_item .business_icon {
	background: #0071c1;
	border-radius: 50%;
	color: #fff;
	font-family: "times new roman", "游明朝", YuMincho, "Hiragino Mincho ProN", "Hiragino Mincho Pro", "HG明朝E", "ＭＳ 明朝", serif;
	font-style: italic;
	font-size: 50px;
	height: 90px;
	line-height: 90px;
	margin: 0 auto 35px;
	width: 90px;
	text-align: center;
}

@media screen and (max-width:768px) {
	.business_item .business_icon {
		height: 60px;
		width: 60px;
		line-height: 60px;
		font-size: 35px;
	}
}

.business_item h3 {
	font-family: "times new roman", "游明朝", YuMincho, "Hiragino Mincho ProN", "Hiragino Mincho Pro", "HG明朝E", "ＭＳ 明朝", serif;
	font-size: 38px;
	text-align: center;
	margin: 0 0 30px;
	font-weight: bold;
}

@media screen and (max-width:768px) {
	.business_item h3 {
		font-size: 30px;
	}
}

.business_item p {
	font-size: 16px;
	text-align: center;
	line-height: 1.7;
	margin: 0 0 15px;
}

.p__left {
	text-align: left !important;
}

@media screen and (max-width:768px) {
	.business_item p {
		font-size: 14px;
	}
}

#ceo_blog {
	display: block;
	width: 200px;
	margin: 15px auto 0;
}

#ceo_blog img {
	width: 100%;
}


/*会社概要*/

#company {
	padding: 55px 0 0;
	margin: 40px 0 0;
}

@media screen and (max-width:768px) {
	#company {
		padding: 60px 0 0;
		margin: 0;
	}
}

#company_container {
	width: 95%;
	margin: 0 auto 30px;
}

#company_container h2 {
	font-size: 35px;
	text-align: center;
	color: #0071c1;
	padding: 0 0 5px;
	margin: 0 auto 30px;
	font-weight: bold;
}

@media screen and (max-width:768px) {
	#company_container h2 {
		font-size: 28px;
	}
}

#company_container h2 span {
	background: linear-gradient(transparent 96%, #0071c1 4%);
	padding: 0 0 5px;
}

#company_container p {
	font-size: 16px;
	line-height: 1.7;
	text-align: center;
}

@media screen and (max-width:768px) {
	#company_container p {
		font-size: 14px;
		text-align: left;
		margin: 0 0 20px;
	}
}

#company_img {
	width: 95%;
	max-width: 615px;
	margin: 0 auto;
}

#company_img img {
	width: 100%;
}

#company_list {
	list-style: none;
	width: 100%;
	max-width: 815px;
	margin: 0 auto;
	padding: 40px 0;
}

#company_list li {
	display: flex;
	border-bottom: dotted 1px #0071c1;
}

@media screen and (max-width:768px) {
	#company_list li {
		display: block;
		border-bottom: dotted 0px #0071c1;
	}
}

#company_list li h3 {
	width: 30%;
	font-size: 15px;
	font-weight: bold;
	color: #0071c1;
	padding: 15px 0;
	line-height: 1.7;
	box-sizing: border-box;
}

@media screen and (max-width:768px) {
	#company_list li h3 {
		width: 100%;
		background-color: #0071c1;
		color: #FFF;
		font-size: 14px;
		padding: 8px 15px;

	}
}

#company_container #company_list li p {
	width: 70%;
	font-size: 15px;
	color: #510d1b;
	padding: 15px 0;
	text-align: left;
	line-height: 1.7;
	box-sizing: border-box;
}

@media screen and (max-width:768px) {
	#company_container #company_list li p {
		width: 100%;
		padding: 8px 15px;
		margin: 0;
		font-size: 14px;
	}
}

#company_container #company_list li p a {
	text-decoration: none;
	color: #510d1b;
}

#cwp_banner {
	width: 95%;
	max-width: 460px;
	margin: 0 auto;
}

#cwp_banner a {
	display: inline-block;
	width: 100%;
}

#cwp_banner a img {
	width: 100%;
}

/* パートナーズ */
#partners {
	padding: 45px 0 0;
	margin: 0 auto;
}

@media screen and (max-width:768px) {
	#partners {
		margin: 0;
	}
}

#partners_container {
	width: 95%;
	margin: 0 auto;
}

#partners_container h2 {
	font-size: 35px;
	text-align: center;
	color: #9b1d36;
	margin: 0 auto;
	font-weight: bold;
	line-height: 25px;
}

@media screen and (max-width:768px) {
	#partners_container h2 {
		font-size: 28px;
	}
}

#partners_container h2 span {
	padding: 0 0 5px;
}

span.small {
	font-size: 20px;
}

#partners_container ul {
	list-style: none;
	display: flex;
	max-width: 700px;
	margin: 0 auto;
	padding: 15px 0;
	justify-content: center;
	gap: 30px;
}

@media screen and (max-width:768px) {
	#partners_container ul {
		display: block;

	}
}

#partners_container ul li {
	width: 50%;
	text-align: center;
}

@media screen and (max-width:768px) {
	#partners_container ul li {
		width: 100%;
		margin: 0 auto 15px;
		max-width: 350px;
		text-align: center;
	}
}

#partners_container ul li p {
	font-size: 14px;
	margin: 0 0 5px;
}

#partners_container ul li a {
	display: inline-block;
	width: 100%;
}

#partners_container ul li a img {
	width: 100%;
}

#group_banner {
	width: 100%;
	max-width: 500px;
	margin: 30px auto;

}

#group_banner p {
	font-size: 16px;
	color: #0071c1;
	font-weight: bold;
	text-align: center;
	margin: 0 0 10px;

}

#group_banner a {
	display: inline-block;
	width: 100%;
}

#group_banner a img {
	width: 100%;
}


/* アクセス */
#access {
	margin: 60px 0 50px;
	padding: 55px 0 0;
}


#access_container h2 {
	display: block;
	font-size: 35px;
	text-align: center;
	color: #0071c1;
	padding: 0 0 5px;
	margin: 0 auto 45px;
	font-weight: bold;
}

@media screen and (max-width:768px) {
	#access_container h2 {
		font-size: 28px;
		margin: 0 auto 60px;
	}
}

#access_container h2 span {
	background: linear-gradient(transparent 96%, #0071c1 4%);
	padding: 0 0 5px;
}

#access_map_box {
	display: flex;
	max-width: 1000px;
	width: 95%;
	margin: 0 auto;
	border: 6px solid #DDD;
}

@media screen and (max-width:768px) {
	#access_map_box {
		display: block;
	}
}

#access_map {
	width: 50%;
	min-height: 400px;
}

@media screen and (max-width:768px) {
	#access_map {
		width: 100%;
		min-height: 300px;
	}
}

#access_map iframe {
	width: 100%;
	height: 100%;
}

@media screen and (max-width:768px) {
	#access_map iframe {
		width: 100%;
		height: 300px;
	}
}

#access_text {
	width: 50%;
	padding: 10px;
	box-sizing: border-box;
}

@media screen and (max-width:768px) {
	#access_text {
		width: 100%;
	}
}

#access_text ul {
	width: 100%;
	list-style: none;
}

#access_text ul li {
	width: 100%;
	color: #510d1b;
	border-bottom: #0071c1 dotted 1px;
	padding: 10px 0;
	text-align: center;
	line-height: 1.4;
	font-size: 14px;
}

@media screen and (max-width:768px) {
	#access_text ul li {
		border-bottom: #0071c1 dotted 0px;
		padding: 0 0 10px
	}
}

/*トップに戻る*/
#page_top {
	position: fixed;
	bottom: 90px;
	right: 15px;
	z-index: 100;
	display: none;
}

@media screen and (max-width:768px) {
	#page_top {
		bottom: 85px;
	}
}

#top_up {
	width: 45px;
	margin: 15px 0 0 auto;
}

@media screen and (max-width:768px) {
	#top_up {
		width: 35px;
		margin: 10px 0 0 auto;
	}
}

#top_up a {
	display: inline-block;
	width: 100%;
}

#top_up a img {
	width: 100%;
}

/*お問い合わせ*/
#contant_banner {
	width: 195px;
}

@media screen and (max-width:768px) {
	#contant_banner {
		width: 120px;
	}
}

#contant_banner a {
	display: inline-block;
	width: 100%;
}

#contant_banner a img {
	width: 100%
}