@charset "UTF-8";

body{
	font-family: 游ゴシック体, 'Yu Gothic', YuGothic, 'ヒラギノ角ゴシック Pro', 'Hiragino Kaku Gothic Pro';
	color: #444444;
	background: #fbfbfb;
	line-height: 1.5;
	word-wrap : break-word;
}

.en {
	font-family: 'Josefin Sans', sans-serif;
	font-weight: 300;
}

.blue{
	color: #0096e4;
}

a{
	color: #444444;
}

img{
	max-width: 100%;
	height: auto;
}

.modal-box{
	max-width: 800px;
	background: #fff;
	margin: 50px auto;
	padding: 50px 100px;
	position: relative;
}

.popup-modal-dismiss{
	margin: 50px auto 0 auto;
	text-align: center;
	width: 6em;
	position: relative;
}

.popup-modal-dismiss:hover{
	background: #bbbbbb;
}


.popup-modal-dismiss a{
	border: solid #bbbbbb 1px;
	padding: 0.2em;
	text-decoration: none;
	display: block;
}

.popup-modal-dismiss a:hover{
	color: #fff;
	border: solid #bbbbbb 1px;
}

.popup-modal-dismiss a:after{
	content:'×'; 
	position: absolute;
	right: 0.8em;
	}
	
.mfp-close{
	font-family: 'Josefin Sans', sans-serif;
	font-weight: 300;
}


.modal_img_wrapper{
	display: flex;
}

.modal_img_pc{
	margin-right: 10%;
	margin-top: 20px;
	max-width: 400px
}

.modal_img_pc.pconly{
	margin-right: 0;	
}

.modal_img_pc img{
	border: solid 1px #e3e3e3;
}

.modal_img_sp{
	margin-top: 20px;
	max-width: 150px

}

.modal_img_sp img{
	border: solid 1px #e3e3e3;
}

.modal_siteworks{
	margin: 10px 0;
}

.header{
	background: #fbfbfb;
}

.bg1{
	background: url(../img/bg01.gif);
}

.bg2{
	background: url(../img/bg02.png) no-repeat center top;
}

.bg3{
	background: url(../img/bg03.png) no-repeat center top;
}

.header .header_inner{
	max-width: 940px;
	margin: 0 auto;
	padding: 60px 0;
	text-align: center;
}

.header .name{
	font-size: 250%;
	line-height: 1;
}

.header .job{
	line-height: 1;	
}

.contents{
	background: #fbfbfb;
	margin-top: 240px;
}

.contents_inner{
	max-width: 940px;
	padding: 0 10px;
	margin: 0 auto;
	overflow: hidden;
}

.contents_ttl{
	text-align: center;
	line-height: 1;
	font-size: 180%;
	margin: 50px 0;

}

.box{
	width: 50%;
	-webkit-box-sizing: border-box;
	-moz-box-sizing: border-box;
	box-sizing: border-box;
	float: left;
	border-right: solid 1px #dadada;
	border-bottom: solid 1px #dadada;
	position: relative;
}

.box.first-child{
	border-top: solid 1px #dadada;
}

.box.l-column{
	border-left: solid 1px #dadada;
}

.box:before {
	content:"";
	display: block;
	padding-top: 100%;
}

.box >* {
	position: absolute;
	top: 0;
	left: 0;
	bottom: 0;
	right: 0;
}

.box_inner{
	text-align: center;
}

.box_inner .caption{
	font-size: 87.5%;
	padding:20px 10%;
	background: #eeeeee;
	position: absolute;
	bottom: 0;
	left: 0;
	right: 0;
}


.footer{
	text-align: center;
	font-size: 70%;
	color: #fff;
	background: #000;
	padding: 5px 0;
	margin-top: 30px;
}
	
#page-top {
	position: fixed;
	opacity: 0.6;
	right: 20px;
	bottom: 20px;
}

@media only screen and (max-width: 767px) {
	.modal-box{
		padding: 15% 5%;
	}
	.box_inner .caption{
		padding: 10px 10%;
		font-size: 75%;
	}
}


@media only screen and (max-width: 479px) {
	.box{
		width: 100%;
	}
	.contents{
	margin-top: 40%;
	}
	.box.r-column{
		border-left: solid 1px #dadada;
	}

	.box.r-column.first-child{
		border-top: none;
	}

	.box_inner .caption{
	padding:10px 10%;
	}

	.bg2, .bg3{
		background-size: 120%;
	}
}

