@charset "UTF-8";

body {
	margin:0;padding:0;font-size:14px;font-family:sans-serif;}
p,h1,h2,h3,h4,dl {
	margin:0;padding:0;}
div {
	width:100%;} /* 消さない */
img {
	vertical-align:middle;}
table td {
	vertical-align:top;}
a {
	color:#ff2946;}
body#toppage {background:url('img/mainimg_top.jpg') no-repeat 0 125px #e9e9e9;background-size: cover;background-attachment: fixed;}
body#g1 {background:url('img/mainimg_g1.jpg') no-repeat 0 125px #e9e9e9;background-size: cover;background-attachment: fixed;}
body#g2 {background:url('img/mainimg_g2.jpg') no-repeat 0 125px #e9e9e9;background-size: cover;background-attachment: fixed;}
body#g3 {background:url('img/mainimg_g3.jpg') no-repeat 0 125px #e9e9e9;background-size: cover;background-attachment: fixed;}
body#case {background:url('img/mainimg_case.jpg') no-repeat 0 125px #e9e9e9;background-size: cover;background-attachment: fixed;}

#header {
	height:125px;position:fixed;z-index:9;
	background-color:#fff;min-width:760px;}
#logo {
	width:226px;float:left;position:relative;left:28px;top:41px;}
ul#header-navi {
	display:block;float:right;width:468px;height:82px;
	margin:22px 28px 0 0;padding:0;position:relative;
	background:url('img/navi.png') no-repeat;background-size:100%;}
ul#header-navi li {
	display:block;list-style:none;
	padding:0;overflow:hidden;text-indent:-9999px;}
ul#header-navi li a {
	display:block;position:absolute;}
ul#header-navi li:nth-of-type(1) a {
	left:10px;top:20px;width:120px;height:20px;}
ul#header-navi li:nth-of-type(2) a {
	left:10px;top:40px;width:120px;height:20px;}
ul#header-navi li:nth-of-type(3) a {
	left:10px;top:60px;width:80px;height:20px;}
ul#header-navi li:nth-of-type(4) a {
	left:134px;top:0px;width:80px;height:27px;}
ul#header-navi li:nth-of-type(5) a {
	left:245px;top:0px;width:80px;height:27px;}
ul#header-navi li:nth-of-type(6) a {
	left:360px;top:0px;width:106px;height:27px;}

#inquiry p {text-align:center;margin-top:40px;}
.btn_inquiry {
	margin:20px auto;text-align:center;
	font-size:1.2em;font-weight:bold;width:300px;}
.btn_inquiry a {
	display:block;padding:15px;background:#39f;border-radius:10px;
	color:#fff;text-decoration:none;}
.btn_inquiry a:hover {
	background-color:#6cf;}

#footer {
	background-image:url('img/footer.png'),url('img/footer_bg.png');background-color:transparent;
	background-repeat:no-repeat,repeat-x;clear:both;
	height:139px;
	background-position:0 -142px,0;
}
#contact {
	width:270px;height:65px;text-indent:-9999px;margin-bottom:45px;}
#contact a {
	display:block;width:270px;height:65px;}
/*
#contact a:hover,#contact a:active {
	background-image:url('img/footer.png');
	background-position:0 -141px;
	background-repeat:no-repeat;}
*/
#footer-navi {
	float:left;display:block;
	padding:0;margin:0 0 0 28px;color:#eee;}
#footer-navi li {
	display:inline-block;list-style:none;padding:0 10px;}
#footer-navi a {
	color:#fff;text-decoration:none;padding:0 2px 2px;}
#footer-navi a:hover {
	border-bottom:1px dashed #fff;}
#copy {
	float:right;color:#626262;margin-right:28px;width:150px;}
#footer-navi2 {display:none;}


@media screen and (max-width: 479px) {

	#footer {
		background:url('img/footer_bg.png') repeat-x;
		clear:both;height:113px;padding-top:28px;
		font-size:smaller;
	}
	#contact,
	#footer-navi {
		display:none;
	}

	#footer-navi2 {
		display:block;color:#63b4c9;margin:0;float:left;width:200px;}
	#footer-navi2 a {
		color:#ddd;text-decoration:none;}
	#copy {
		float:none;
		padding-right:3%;width:97%;text-align:right;
	}

}



/* top */
body#toppage h1 {
	padding:0 5% 18px;}
body#toppage #top_main p {
	text-align:center;padding-top:308px;margin-bottom:30px;
	line-height:1.4;
	font-size:25px;font-weight:bold;letter-spacing:0.1ex;
	color:#354955;-moz-text-shadow:0px 0px 8px #fff;
	-webkit-text-shadow:0px 0px 8px #fff;
	text-shadow:0px 0px 8px #fff; }
body#toppage #top_main span {
	display:block;margin:1ex 5%;font-size:16px;font-weight:normal;
	letter-spacing:0.1ex;line-height:1.4;}
body#toppage #top_works_wrapper {
	background:#63b4c9;height:420px;min-width:768px;
	padding:30px 0;color:#fff;}
body#toppage #top_works {
	width:90%;max-width:1000px;margin:0 auto;}
body#toppage #top_works div {
	float:left;width:31%;min-width:206px;
	text-align:center;margin:0 1%;}
body#toppage #top_works h2 {
	height:216px;}
body#toppage #top_works p {
	line-height:1.4;font-size:110%;}
body#toppage #top_works div#caseBtn {
	clear:both;margin:30px auto;width:100%;
	}
body#toppage #top_works div#caseBtn a {
	display:block;padding:10px;width:260px;margin:0 auto;
	background:#ff2946;color:#fff;font-size:140%;
	text-decoration:none;border-radius:5px;}

body#toppage #company_wrapper {
	background:#e9e9e9;
	padding:30px 0;
	font-size:12px;
}
body#toppage #company {
	max-width:1000px;
	margin:0 auto;
	display: flex;
	justify-content:space-between;
	padding: 0 30px;
	box-sizing: border-box;
}

body#toppage .profilePhoto{
	display: flex;
	justify-content:space-between;
	max-width: 600px;
}
body#toppage #company #profile {
	width:75%;
	font-size:11px;
}
body#toppage #company #office {
	width:330px;
}
body#toppage #company #office th {
	text-align:left;
	vertical-align:top;
	font-weight:normal;
	width:75px;
}
body#toppage #company #photo {
	width:110px;
}
body#toppage #company #photo img{
	width:100%;
}


@media screen and (max-width: 660px) {

	body#toppage #company {display: block;}
	.forSP{display:none;}
}
@media screen and (max-width: 479px) {

	body#toppage #company #office,
	body#toppage #company #profile {width:auto;}
	body#toppage .profilePhoto {display: block;}
	body#toppage #company #photo {margin:0 auto;}
	.forSP{display:block;}
}




/* g1 g2 g3  case */ 
section#read {
	max-width:1000px;margin:0 auto;}
body#g1 h1, body#g2 h1, body#g3 h1, body#case h1 {
	padding:190px 0 10px 5%;color:#fff;line-height:1.2;
	letter-spacing:0.3ex;font-size:34px;
	-moz-text-shadow:0px 0px 5px #222;
	-webkit-text-shadow:0px 0px 5px #222;
	text-shadow:0px 0px 5px #222;}

/* g1 g2 g3 */ 
body#g1 h1 span,body#g2 h1 span,body#g3 h1 span {
	font-size:18px;font-weight:normal;letter-spacing:0.2ex;}
body#g1 h1 + p, body#g2 h1 + p, body#g3 h1 + p {
	padding:0 5% 10px 5%;color:#fff;line-height:1.4;
	-moz-text-shadow:0px 0px 5px #222;
	-webkit-text-shadow:0px 0px 5px #222;
	text-shadow:0px 0px 5px #222;}

#contents_wrap {
	max-width:1000px;margin:0 auto;
}
.contents {
	width:90%;margin:0 5% 15px;
	-moz-box-shadow:0px 0px 5px rgba(0,0,0,0.15);
	-webkit-box-shadow:0px 0px 5px rgba(0,0,0,0.15);
	box-shadow:0px 0px 5px rgba(0,0,0,0.15);
}
.contents h2 {
	background:#fff;font-size:18px;text-align:center;
	padding:12px 10px 10px;letter-spacing:0.2ex;line-height:1.3;
}
.contents h2 span {font-size:smaller;font-weight:normal;}

.contents_detail {
	color:#000f7a;background:rgba(255,255,255,0.8);
	padding:15px 0 30px 0;min-height:204px;}
.contents_detail dt {
	font-size:120%;font-weight:bold;}
.contents_detail dd {
	margin-bottom:15px;margin-left:2ex;}
.contents_detail dd span {
	font-size:85%;margin-left:15px;display:block;}
.contents_detail p {margin-left:20px;}

.right {width:200px;float:right;margin-right:25px;
	margin-left:10px;}

/* g2 */
body#g2 h3 {
	background:url('img/g2_h3.png') no-repeat 0 50%;
	color:#4d000b;padding-left:50px;margin-bottom:5px;}
body#g2 table {margin-right:2.5%;}
body#g2 td {padding-left:2.5%;width:30%;}
body#g2 table p {color:#333;margin-left:0}

/* g3 */
body#g3 .contents_detail {text-align:center;}
body#g3 h3 {margin-bottom:5px;}
body#g3 .entry {
	width:60%;margin:8px auto;
	border-radius:50px;padding:10px;color:#fff;}
body#g3 .entry p,
body#g3 .entry2 p {text-indent:0;padding:0;margin:0;}
body#g3 .entry2 {width:75%;margin:0 auto;}
body#g3 .entry2 td {
	width:30%;background-color:#82aabb;
	border-radius:10px;padding:10px;color:#fff;}
body#g3 .entry2 td ul {
	text-align:left;margin-left:2%;margin-top:0;}

/* case */
#case_wrap {
	max-width:1000px;margin:0 auto;
}
.case {
	max-width:80%;margin:0 5% 15px;
	background:#d0e9e9;border-radius:5px;
	padding:30px 5% !important;
	-moz-box-shadow:0px 0px 5px rgba(0,0,0,0.15);
	-webkit-box-shadow:0px 0px 5px rgba(0,0,0,0.15);
	box-shadow:0px 0px 5px rgba(0,0,0,0.15);}
.case:after {
	content: "";display: block;clear: both;}
.case span {
	clear:both;
	font-weight:bold;display:block;}
.case h3 {
	font-size:1.5em;color:#003;margin-bottom:25px;
	padding-bottom:3px;
	border-bottom:3px dashed #fff;}
.case .right {
	width:30%;float:right;margin-right:30px;}
.case .right img {
	width:100% !important;height:auto !important;
	margin-bottom:30px;}
.case p {
	width:57%;}
.case table {
	border-spacing:6px;margin-top:5px;font-size:smaller;
	margin-bottom:30px;}
.case th {
	font-weight:normal;
	color:#666;vertical-align:top;
	white-space:nowrap;text-align:right;}
.case table ul {
	padding-left:1em;margin-top:0;margin-bottom:0;}


/* inquily */
body.inquily h1 {padding-top:130px !important;}
body.inquily .case {background:#f0f0f0;margin-bottom:145px;}
body.inquily table {margin:10px 20px;}
body.inquily table th{padding:6px;}
body.inquily input {width:200px;padding:5px;}
body.inquily textarea{padding:5px;width:100%;}
body.inquily .submit input{display:block;margin:10px auto;}
body.inquily #footer {position: fixed;bottom: 0;}

@media screen and (max-width: 479px) {
	body.inquily table *{
		display:block;
	}
	body.inquily table th{
		text-align:left;
	}

	body.inquily input,
	body.inquily textarea{
		width:95%;
	}

}