@charset "UTF-8";
/* CSS Document */

body{
	background-color: #000;
}

#main_in{
	width: 100%;
	height: 200px;
	padding: 10px 0;
	clear: both;
    background: linear-gradient(to right, #000, #f00);
	margin-top: 155px;
}
.main_img{
	width: 100%;
	background: url("../img/com_bk.jpg")center no-repeat;
	margin: auto;
	height: 200px;
	background-color: #000;
	overflow: hidden;
}

.main_img h2{
	height: 200px;
	vertical-align: middle;
	color: #fff;
	font-size: 2.3em;
	width: 1000px;
	margin: auto;
	margin-top: 60px;
}

.main_img h2 span{
	color: red;
	font-size: 0.3em;
}


#gray_main{
	max-width: 878px;
	margin: 30px auto 50px auto;
	border: 1px solid #fff;
	background-color: #282828;
	padding: 30px 60px 70px 60px;
	overflow: hidden;
}

#gray_main p{
	color: #fff;
	line-height: 2;
	text-align: justify;
}

#gray_main h3{
	color: #fff;
	margin-bottom: 20px;
	font-size: 1.5em;
	margin-top: 50px;
}

/********************/
/*会社案内*/

table{
	width: 880px;
}

table td,table th{
	border-bottom: 1px solid #fff;
	padding: 10px;
	color: #fff;
}

#gray_main p.sengen{
	color: red;
	margin-bottom: 20px;
	font-size: 1.2em;
	font-weight: bold;
}
.president{
	text-align: right;
}
.rinen{
	margin-bottom: 20px;
}
.rinen::before{
	content:"・ ";
}
.map{
	margin-bottom: 20px;
}

/*事業内容*/

#gray_main h4{
	color: #fff;
	font-size: 1em!important;
	border-bottom: 1px solid #fff;
	margin-bottom: 2em;
}

#gray_main h4 span{
	color: #fff;
	font-size: 0.8em!important;
}

.works_box{
	clear: both;
	overflow: hidden;
	margin-bottom: 50px;
}

.works_box img{
	float: left;
	width: 460px;
}

.works_box p{
	float: right;
	width: 350px;
}

.works_box p a{
	display: block;
	background-color: #fff;
	margin: 20px 0;
	text-align: center;
	padding: 10px;
}
.works_box p a:hover{
	opacity: 0.8;
}

    .works_box2 {
		width: 880px;
        display: flex;
		flex-wrap:wrap;
		/*align-items: flex-start;*/
		align-content: space-between;
		margin-top: 30px;
}
     
    .works_flex {
        color:  #fff;
		margin-bottom: 30px;
		width: 25%;
    }

    .works_flex img{
		margin-bottom: 0.5em;
}




/*設備紹介*/

.white{
	background-color: #fff;
	color: #000;
	font-weight: bold;
}

    .flex_box {
		width: 880px;
		margin: 30px 0;
        display: flex;
		flex-flow: wrap;
        justify-content: space-between;
    }
     
    .flex_item {
        padding: 0px;
        color:  #fff; 
        width: 425px;
		margin-bottom: 30px;
    }

    .flex_item img{
		margin-bottom: 0.5em;
}
/*製品紹介*/

    .product_box {
		width: 880px;
        display: flex; 
		flex-flow: wrap;
        justify-content: space-between;
    }
     
    .product_flex {
        color:  #fff; 
        width: 275px;
		margin-bottom: 30px;
    }

    .product_flex img{
		margin-bottom: 0.5em;
}

.product_flex:nth-child(3n+2):last-child {
    margin-left: auto;
    margin-right: 33%;
}

.lb-data .lb-caption {
	color: #fff;
}

.insta img{
	margin-left: 140px;
}

/*div要素全体にリンクをつけるために必要な要素*/

.insta a:hover{/* マウスオーバー時に色変更*/
    opacity: 0.8;
}


/*SDGs*/

.flex{
	max-width: 880px;
	display: flex;
	justify-content: space-between;
	margin: 1em 0;
}

.flex img{
	width: 31%;
	height: 100%
}
p.sdgs_sengen{
	background: #fff;
	color: #000!important;
	display: block;
	padding: 0.8em;
	margin: 2em 0 1em 0;
	font-size: 120%;
}

.flex2{
	max-width: 880px;
	display: flex;
	justify-content: space-between;
	margin: 1em 0;
}
.flex2 > div{
	width: 48%;
	height: 100%
}
.flex2 > div img{
	width: 100%;
}

.flex2 p{
	text-align: center!important;
	margin-top: 0.5em;
}

/****************************************/


.tel{
	font-size: 2em;
	letter-spacing: 2px;
}

.tel a{
	color: #fff;
    text-decoration:none;
}

.hisu{
	color: red;
}
.input_area{
	width: 250px;
	margin: auto;
	border: none;
}

.formTable{
	margin-bottom: 10px;
}

.button,.button2{
	padding: 10px 20px;
	border-radius: 3px;
	font-size: 1em;
}

.pri_text{
	text-align: center;
	margin-bottom: 10px;
}

#privacy{
	background-color: #fff;
	height: 120px;
	overflow: scroll;
	padding: 30px;
	margin-bottom: 20px;
	background-color: #eaeaea;
}

#privacy dl dt,#privacy dl dd{
	font-size: 80%;
}

#privacy dl dt{
	font-weight: bold;
}

#privacy dl dd{
	margin-bottom: 20px;
}


/*電話番号リンク*/

.tel_n1 a{
	color: #fff;
    text-decoration:none;
}

/**/
.m30{
	margin-bottom: 30px;
}