/* ------------------------------------------------------------------
Project: Semantic
Place here your custom CSS styles
------------------------------------------------------------------ */
/*service */
.btn-line{
	margin-top: 2em;
	width:13em;
}

.btn-line .btn-safety.btn-std{
	font-weight:normal;
	color:#333;
	padding: 9px 20px;
}

.btn-line .btn-safety.btn-std i{
	color:#333;
	top:13px;
}

.btn-line .btn-safety.btn-std:hover,
.btn-line .btn-safety.btn-std:hover i{
	color:#fff;
}

.sub-grid{
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    width: 100%;
    padding: 10px 10px 0;
		margin-top:2.5em;
    background: #f1f1f1;
}

.sub-grid li{
	list-style-type:none;
	width: 23.5%;
	margin:0 0 10px;
}

li.menu-title{
    text-align: center;
    font-size: 16px;
    color: #333;
    padding: 9px 20px;
}

.sub-grid .btn-safety{
		font-weight:normal;
		background:#fff;
		padding: 9px 20px;
}

.sub-grid .btn-safety i {
    color: #333;
		top:13px;
}

.sub-grid .btn-safety:hover i {
    color: #fff;
}

/**************
result
*****************************/
.result h1{
	white-space:nowrap;
}

.box-child-item{
   margin: 40px 20px 60px;
   border: 3px solid #014099;
   display: flex;
   align-items: stretch;
}

.ttl-child-item{
   background: #014099;
   color: #fff;
   font-size: 24px;
   writing-mode: vertical-lr;
   padding: 20px 7px;
}

@-moz-document url-prefix(){
  .ttl-child-item{
    width: 46px;
    text-align: center;
   padding: 20px 0;
  }
}

@media all and (-ms-high-contrast: none){
  .ttl-child-item{
    width: 38px;
    text-align: center;
  }
}


.content-child-item{
	padding:30px;
	width:100%;
}

.content-child-item .btn-line{
	margin:0;
}

.content-child-item .btn-line .btn-safety.btn-inv{
	top:0;
}

.btn-line .btn-safety.btn-inv{
	font-weight:normal;
	border-radius:0;
	color:#014099;
	background:#fff;
	border:1px solid #014099;
	padding:9px 20px;
}

.btn-line .btn-safety.btn-inv i{
	color:#014099;
}

.btn-line .btn-safety.btn-inv:hover{
	color:#fff;
	background:#014099;
}

.btn-line .btn-safety.btn-inv:hover i{
	color:#fff;
}

.list-project{
	color:#333;
	font-size:13px;
}

.list-project th{
		vartical-align:middle;
		padding-left:1em;
    background: #f1f1f1;
    border-style: solid;
    border-width: 1px 0;
    border-color: #eee;
}

.list-project td{
		vartical-align:middle;
		padding-left:1em;
    border-style: solid;
    border-width: 1px 0;
    border-color: #eee;
}

.list-project .project{
	width:65%;
}

.sub-img{
	margin-top:2em;
}


@media (max-width: 768px) {
	.btn-line{
		width:11em;
	}

	li.menu-title,
	.sub-grid .btn-safety{
		font-size:10px;
		padding: 9px 0;
	}

	.sub-grid .btn-safety i{
		top:12px;
		right:6px;
	}

	.result h1{
		white-space: normal;
	}

	.box-child-item{
		margin: 40px 0 60px;
		display:block;
	}

	.ttl-child-item {
    writing-mode: initial;
    font-size: 17px;
    padding: 10px 7px;
	}

	.content-child-item {
    padding: 10px;
	}

	.list-project{
		margin:2em 0;
	}

 	.list-project tr{
		border-bottom:1px solid #eee;
    padding: .5em 0;
    display: block;
	}

	.list-project th,
	.list-project td{
		display:list-item;
		list-style-type:none;
		padding:0 1em!important;
		width:100%!important;
		border-width:0!important;
	}

	.ordere{
		text-align:right;
		border-top-width:0!important;
	}

}

/**************
works
*****************************/
.pict-before,
.pict-after{
	position:relative;
	width:100%;
	height:0;
	padding-top:75%;
	background-size:cover!important;
	background-repeat:no-repeat!important;
	background-position:center center!important;
}

.pict-before p.caption,
.pict-after p.caption{
    background-color: #014099;
    color: #fff;
    font-weight: bold;
    display: inline-block;
    margin: 0;
    padding: .2em 0 0;
    width: 112px;
    text-align: center;
    position: absolute;
    bottom: 0;
    right: 0;
}


.case-pict .arrow{
		height:28px;
		background:url(../images/arrow-works.png) no-repeat center center;
}

/*
@media (min-width: 769px) {
	.result .box .body{
		max-height: 597px;
	}
}

@media (max-width: 768px) {
	.result .box .body{
		max-height: 560px;
	}
	.case-pict{
		margin-bottom:32px;
	}
}
*/