/*
Theme Name: E
*/

@media screen and (min-width: 769px){
html, body, div, span, applet, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
a, abbr, acronym, address, big, cite, code,
del, dfn, em, img, ins, kbd, q, s, samp,
small, strike, strong, sub, sup, tt, var,
b, u, i, center,
dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td,
article, aside, canvas, details, embed,
figure, figcaption, footer, header, hgroup,
menu, nav, output, ruby, section, summary,
time, mark, audio, video {
margin: 0px;
padding: 0px;
border: 0px none;
font-family: inherit;
font-style: inherit;
font-weight: inherit;
line-height: inherit;
vertical-align: baseline;
}


body,html{
line-height: 1.5;
height: auto;
}

body {
width: 100%;
margin: 0 auto;
font-family: "Yu Mincho", "YuMincho", serif;
font-weight: 600;
font-size:14px;
letter-spacing: 1px;
background: #000;
}

ol, ul{
list-style: none;
}


a{
text-decoration:none;
color: #6d71e6;
}

a:hover{
text-decoration:underline;
color: #999;

}

a:hover .imghover {
opacity:0.7;
filter: alpha(opacity=70);        /* ie lt 8 */
-ms-filter: "alpha(opacity=70)";  /* ie 8 */
-moz-opacity:0.7;                 /* FF lt 1.5, Netscape */
-khtml-opacity: 0.7;              /* Safari 1.x */
zoom:1;
-webkit-transition: 0.2s ease-in-out;
-moz-transition: 0.2s ease-in-out;
-o-transition: 0.2s ease-in-out;
transition: 0.2s ease-in-out;
}

.cf:after {
content: ".";
display: block;
clear: both;
height: 0;
visibility: hidden;
overflow: hidden;
font-size: 0.1em;
line-height: 0;
}

.cf {
min-height: 1px;
zoom:1;
clear: both;
}

* html .cf {
height: 1px;
/*\*//*/
height: auto;
overflow: hidden;
/**/
}

img{
vertical-align: bottom;   
}

.spnone {
display: none;
}

#page-top {
position: fixed;
bottom: 20px;
right: 20px;
font-size: 77%;
z-index: 999;
}

#page-top a {
text-decoration: none;
color: #fff;
width: 50px;
padding: 10px 0;
text-align: center;
display: block;
border-radius: 5px;
}
#page-top a:hover {
text-decoration: none;
}

/*　↑固定　　↑固定　　↑固定　　↑固定　　↑固定　*/

#all{
width: 100%;
height: auto;
position: relative;
}

#fixall{
position: absolute;
top:700px;
right: 0;
left: 0;
}
header{
width: 100%;
height: 100px;
float: left;
background: #fff;
box-shadow: 0px 0px 8px #636161;	
}
section{
width: 100%;
float: left;
}
#wap960{
width: 960px;
margin: 0 auto;
}




.logo{
width: 343px;
float: left;
margin-top: 30px;
}

#topwap960{
width: 960px;
margin: 0 auto;
background: #ededed;
padding: 50px;
box-sizing:border-box;
padding-bottom: 230px;

}


#mainclm{
background: #ededed;
}

.contentsbox{
width: 100%;
margin:20px 0;
}

h2{
font-size: 22px;
width: 100%;
border-left: 5px solid #000;
padding-left: 10px;
}

.companytext{
width: 520px;
float: left;
}

.companyimg{
width: 320px;
float: right;
}
	.companyimg li{
		width:100%;
		float:left;
		margin-bottom:15px;
	}
	
.news{
width: 520px;
float: left;
background: #fff;
padding: 20px;
box-sizing: border-box;
}
.news dt{
width: 100%;
font-size: 12px;
}

.news dd{
width: 100%;
font-size: 16px;
margin-bottom: 10px;
padding-bottom: 10px;
border-bottom: 1px dotted #ccc;
}

.more{
font-size: 10px;
padding: 3px 10px;
background: #ccc;
letter-spacing: 0;
margin-left: 5px;
}

.worksimgbox li{
position: relative;
width: 23%;
height: 325px;
margin: 0 1% 3%;
float: left;
background: #fff;

}
.pic{
position: relative;
width: 100%;/*　トリミングしたい枠の幅（固定にしたい場合はサイズを入力）　*/
padding-top: 75%;/*　トリミングしたい枠の高さ（固定にしたい場合はサイズを入力）　*/
overflow: hidden;/*　画像が枠からはみ出た部分はトリミング（非表示）する　*/
margin: 0 auto;
}

.pic img {
/* 画像を上下左右に中央配置する（絶対指定） */
position: absolute;
top: 50%;
left: 50%;
-webkit-transform: translate(-50%, -50%);
-ms-transform: translate(-50%, -50%);
transform: translate(-50%, -50%);
/* 画像の最大サイズは枠の1.5倍まで */
max-width: 150%;
max-height: 150%;
object-fit: cover;
}

.title{
display: block;
text-align: center;
padding: 3px 0;
background: #5d0f0f;
color: #fff;
}

.comment{
width: 100%;
height: auto;
display: block;
text-align: left;
padding: 5px;
box-sizing:border-box;
font-size: 12px;
font-family: "Hiragino Kaku Gothic ProN","メイリオ", sans-serif;
font-weight:normal;
color:#333;
}

.company dt{
width: 20%;
float: left;
line-height: 2;
font-size: 16px;
background: #ccc;
padding: 5px;
box-sizing:border-box;
text-align: center;
margin-bottom: 2px;
}

.company dd{
width: 80%;
float: left;
line-height: 2;
font-size: 16px;
padding: 5px;
box-sizing:border-box;
margin-bottom: 2px;
padding-left: 20px;
background: #fff;
}

.contents{
width: 80%;
float: right;
margin-top: 20px;
}

.thumbnail{
width: 20%;
float: left;
margin-top: 20px;
}

.entry-content{
width: 100%;
float: left;
margin-top: 20px;
}

.large_thumbnail{
width: 100%;
float: left;
margin-bottom:20px;
}

.large_thumbnail img{
width: 100%;
height:auto;
}

#footer{
width: 100%;
height: 150px;
padding-top: 30px;
background: #000;
color: #fff;
text-align: center;
position: absolute;
bottom: 0;
font-size: 12px;
box-sizing:border-box;
}

/*mainnavmainnavmainnavmainnavmainnavmainnavmainnav*/

.grobalnav{
float: right;
margin-top: 45px;
}


.menu {
position: relative;
width: 100%;
height: 30px;
margin: 0 auto;
float: right;

}

.menu > li:last-child{border: none;}

.menu > li {

float: left;
height: 30px;
line-height: 30px;
text-align: center;
box-sizing: border-box;
font-size: 13px;
margin-left: 40px;
font-weight: 600;
}


/*.menu > li a:after{
content: "\f078";
font-family: FontAwesome;
margin-left: 3px;
font-size:9px;
}*/

.menu > li.menu__single:hover > a{
color: #b7d442;
}
.menu > li a {
display: block;
color: #000;
font-weight: 400;
}

.menu > li a:hover {
color: #b7d442;
text-decoration: none;

}

ul.menu__second-level {
visibility: hidden;
opacity: 0.6;
z-index: 1;
}

.menu > li:hover {
-webkit-transition: all .5s;
transition: all .5s;

}

.menu__second-level li {

border-bottom: none;
background: #fff;
width: 120px;
}

.menu__second-level li a{
color:#555;
border: 1px solid #ccc;
border-bottom:none;
}

.menu__second-level li:last-child a{border-bottom:1px solid #ccc!important;}


.menu__second-level li a:hover{
color:#b7d442;
}

/* 下矢印
.init-bottom:after {
content: '';
display: inline-block;
width: 4px;
height: 4px;
margin: 0px 0 2px 5px;
border-right: 1px solid #fff;
border-bottom: 1px solid #fff;
-webkit-transform: rotate(45deg);
-ms-transform: rotate(45deg);
transform: rotate(45deg);
} */

a.init-bottom{pointer-events:none;}

/* floatクリア */
.menu:before,
.menu:after {
content: " ";
display: table;
}

.menu:after {
clear: both;
}

.menu {
*zoom: 1;
}

.menu > li.menu__single {
position: relative;
}


li.menu__single ul.menu__second-level {
position: absolute;
top: 30px;
right: 12px;
width: 100%;
-webkit-transition: all .2s ease;
transition: all .2s ease;

}

li.menu__single ul.menu__second-level.right{
right: 33px;
}

li.menu__single ul.menu__second-level.right2{
right: 27px;
}

li.menu__single:hover ul.menu__second-level {
top: 30px;
visibility: visible;
opacity: 1;
}

/*メールフォームCSS*/
input[type="text"],textarea,select {
padding: 0.3em;
border: 1px solid #888;
-webkit-border-radius: 3px;
-moz-border-radius: 3px;
border-radius: 3px;
font-size: 16px;
}

input[type="text"]:focus,
texture:focus {
box-shadow: 0 0 7px #3498db;
border: 1px solid #3498db;
}

textarea:focus {
box-shadow: 0 0 7px #3498db;
border: 1px solid #3498db;
}

input.sys {
border-radius: 0;   
background: -moz-linear-gradient(top, #FFF 0%, #EEE);
background: -webkit-gradient(linear, left top, left bottom, from(#FFF), to(#EEE));
border: 1px solid #DDD;
color: #111;
padding: 10px 30px;
-webkit-border-radius: 3px;
-moz-border-radius: 3px;
border-radius: 3px;
margin-left: 5px;
margin-top: 10px;
}

input.sys:hover {
background: -moz-linear-gradient(top, #EFEFEF 0%, #EEE);
background: -webkit-gradient(linear, left top, left bottom, from(#EFEFEF), to(#EEE));
}

	.mail{
		width:100%;
		float:left;
		margin-top:20px;
	}
	
.mail dt{
width:20%;
float:left;
font-size:16px;
line-height:2.5;
box-sizing:border-box;
margin-bottom: 20px;
margin-right:1%;
}

.mail dd{
width:79%;
float:left;
line-height:2.5;
font-size: 16px;
box-sizing:border-box;
margin-bottom: 20px;
}

}
