@charset 'UTF-8';
body {
	font-family: Helvetica, 'Hiragino Kaku Gothic ProN', '游ゴシック', YuGothic, Meiryo, sans-serif; 
	color: #000;
	background: #fff url(../images/dot.gif) repeat left top;

	-webkit-text-size-adjust: 100%;
	    -ms-text-size-adjust: 100%;
	        text-size-adjust: 100%;
}

a {
	text-decoration: none;
}

* {
	box-sizing: border-box;
	outline: 0;
}

button {
	cursor: pointer;
}
button:focus {
	outline: 0;
}

/*-----------------------------------------------------
0:header
-----------------------------------------------------*/
header {
	position: relative;
	width: 100%; 
	padding: 1em 4em 1em;
}
header h1 {
	font-family: 'Lato', sans-serif;
	font-size: 2.5em;
	font-weight: 300;
	margin: 0; 
	padding: 0;
	color: #000;
}
header h1 a {
	transition: 0.25s; 
	color: #000;
}
header h1 a:hover {
	opacity: 0.5;

	-ms-filter: 'progid:DXImageTransform.Microsoft.Alpha(Opacity=50)';
}
header #link ul {
	position: absolute;
	right: 4em;
	bottom: 1em;
	margin: 0;
	padding: 0; 
	list-style: none;
}
header #link ul li {
	display: inline-block;
	margin: 0;
	padding: 0;
	vertical-align: middle;
}
header #link ul li a {
	display: block;
	width: 40px;
	height: 40px;
	transition: 0.25s; 
	text-indent: -9999px;
	border-radius: 50%;
	background-repeat: no-repeat;
	background-position: center center;
	background-size: 40px auto;
}
header #link ul li a.twitter {
	background-color: #55acee; 
	background-image: url(../images/icon_twitter.png);
}
header #link ul li a.facebook {
	background-color: #4862a3; 
	background-image: url(../images/icon_facebook.png);
}
header #link ul li a.gaupra {
	background-color: #c90048; 
	background-image: url(../images/icon_gaupra.png);
}
header #link ul li a:hover {
	opacity: 0.5;

	-ms-filter: 'progid:DXImageTransform.Microsoft.Alpha(Opacity=50)';
}
/*-----------------------------------------------------
1:contents
-----------------------------------------------------*/
#contents {
	overflow: auto; 
	box-sizing: border-box;
	width: 100%;
	margin: 0 auto 0;
	padding: 0 4em;
}
#contents article {
	margin: 0 0 1em;
	padding: 1em 2em;
	border-radius: 10px; 
	background: #fff;
}
#contents article h2 {
	font-family: 'Lato', sans-serif;
	font-size: 1.25em;
	font-weight: 300;
	float: left;
	margin: 0.75em 0; 
	padding: 0;
	letter-spacing: 0.02em;
	color: #000;
}
#contents article .note {
	font-size: 0.875em;
	line-height: 1.75; 
	margin-left: 150px;
}
#contents article .works-contents {
	margin: 0 0 0 150px;
}
#contents article .contact-contents {
	margin: 0 0 0 150px;
}

/*-----------------------------------------------------
2:Works
-----------------------------------------------------*/
.work {
	position: relative;
	overflow: hidden;
	max-height: 700px;
	transition: 0.5s;
}
.work.open .more-info {
	height: 90px;
	padding: 20px 0 0;
}
.work.open .more-info a {
	background-position: center top;
}

.more-info {
	position: absolute;
	bottom: 0;
	left: 0;
	width: 100%;
	height: 170px;
	padding: 100px 0 0;
	transition: 0.5s; 
	text-align: center;
	background: linear-gradient(to bottom, rgba(255, 255, 255, 0) 0%, white 40%, white 100%);
}
.more-info a {
	display: inline-block;
	width: 80px;
	height: 40px;
	margin: auto;
	padding: 0; 
	transition: background-position 0.5s 0.5s;
	text-indent: -9999px;
	background: #fff url(../images/more_arrow.png) no-repeat center bottom;
	background-size: 100% auto;

	background-: 50%;
}

.works-contents {
	overflow: hidden;
	padding-bottom: 90px !important;
}
.works-contents.loading {
	background: url(../images/loading.gif) no-repeat 40% 200px;
}
.works-contents.loading > div {
	visibility: hidden;
}
.works-contents > div {
	position: relative; 
	float: left;
	overflow: hidden;
	width: 150px;
	margin: 1em 0 0;
	padding: 0;
}
.works-contents a {
	line-height: 1.6; 
	transition: 1s;
	text-decoration: none;
}
.works-contents a:hover .works-image {
	border-color: #e8e8e8;
}

.works-image {
	display: relative;
	margin: 0;
	padding: 0;
	transition: 0.25s; 
	text-align: center;
}
.works-image img {
	max-width: 100%;
	height: auto;
	vertical-align: middle; 
	border-radius: 5px;
}

.works-info {
	font-size: 0.8125em;
	line-height: 1.5;
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	margin: 0;
	padding: 1em;
	transition: 0.25s;
	text-align: left;
	opacity: 0;
	border: 1px solid #e8e8e8; 
	border-radius: 5px;
	background: #fff url(../images/dot.gif) repeat left top;

	-ms-filter: 'progid:DXImageTransform.Microsoft.Alpha(Opacity=0)';
}
.works-info p {
	margin: 0 0 0.5em;
	padding: 0; 
	color: #000;
}
.works-info p.work-category {
	display: inline-block;
	margin: 0 0 0.5em; 
	padding: 0.5em 0.5em 0;
	color: #fff;
	border-bottom: none;
	border-radius: 2px;
	background: #999;
}
.works-info p.work-client {
	color: #999;
}
.works-info p:first-child {
	margin-top: 0;
	padding-top: 0;
}
.works-info p:last-child {
	border-bottom: none;
}

.works-contents section:hover {
	border-radius: 5px;
}
.works-contents section:hover .works-image {
	opacity: 0;

	-ms-filter: 'progid:DXImageTransform.Microsoft.Alpha(Opacity=0)';
}
.works-contents section:hover .works-info {
	opacity: 1;

	-ms-filter: 'progid:DXImageTransform.Microsoft.Alpha(Opacity=100)';
}
/*-----------------------------------------------------
03:メールフォーム
-----------------------------------------------------*/
.contact-contents {
	font-family: Helvetica, 'Hiragino Kaku Gothic ProN', '游ゴシック', YuGothic, Meiryo, sans-serif; 
	padding-top: 1em;
}
.contact-contents dl,
.contact-contents dt,
.contact-contents dd {
	margin: 0;
	padding: 0;
}
.contact-contents dt {
	font-size: 0.875em;
	color: #999;
}
.contact-contents dd {
	font-size: 0.875em; 
	padding: 0 0 0.5em;
}
.contact-contents label {
	display: block;
	width: 8em;
	padding: 0.5em 0;
}
.contact-contents input,
.contact-contents textarea {
	font-size: 0.875em;
	margin: 0;
	padding: 0.5em;
	transition: 0.25s; 
	vertical-align: top;
	border: 1px solid #e8e8e8;
	border-radius: 3px;

	-webkit-appearance: none;
}
.contact-contents input:focus,
.contact-contents textarea:focus {
	border-color: #ff6400;
}
.contact-contents input {
	width: 50%;
}
.contact-contents textarea {
	width: 100%;
	height: 10em;
}
.contact-contents .form-confirm dt {
	padding: 0 0 0.5em;
}
.contact-contents .form-confirm dd {
	line-height: 1.75; 
	margin-bottom: 2em;
	padding: 0 0 2em 0;
	border-bottom: 1px solid #e8e8e8;
}

.buttonArea {
	position: relative;
	padding: 1.5em 0; 
	text-align: center;
}
.buttonArea .reguler-btn {
	font-size: 0.9375em;
	display: inline-block;
	width: 200px;
	margin: 0;
	margin: 0 0.5em; 
	padding: 0.5em 1.5em;
	transition: 0.25s;
	opacity: 1;
	color: #000;
	border: none;
	border: 1px solid #000;
	border-radius: 5px;
	background: transparent;

	-ms-filter: 'progid:DXImageTransform.Microsoft.Alpha(Opacity=100)';
}
.buttonArea .reguler-btn:hover {
	color: #ff6400; 
	border-color: #ff6400;
}
.buttonArea .text-btn {
	font-size: 0.9375em;
	position: absolute;
	left: 0.5em;
	display: inline-block;
	padding: 0.5em 0 0.5em 30px;
	transition: 0.25s;
	color: #000;
	border: none; 
	background: url(../images/arrow_prev.png) no-repeat left center;
	background-size: 20px auto;
}
.buttonArea .text-btn:hover {
	color: #ff6400;
}

.form-alert {
	margin: 0 0 0 150px;
	padding: 0; 
	list-style: none;
	color: #ff6400;
}
.form-alert li {
	font-size: 0.875em;
	margin: 0;
	padding: 2px 0 2px 22px; 
	background: url(../images/icon_alert.png) no-repeat left center;
	background-size: 18px auto;
}
/*-----------------------------------------------------
4:Footer
-----------------------------------------------------*/
footer {
	margin: 0 1em 1em;
	padding: 0;
}
footer .credit {
	font-family: 'Lato', sans-serif; 
	font-size: 0.75em;
	margin: 0;
	padding: 0;
	text-align: center;
	color: #999;
}
@media screen and (max-width: 768px) {
	header {
		padding: 1em 1em 1em;
	}
	header h1 {
		font-size: 3em; 
		text-align: center;
	}
	header #link ul {
		position: static;
		width: 100%; 
		margin: 0.5em 0 0;
		text-align: center;
	}
	header #link ul li {
		display: inline-block;
	}
	header #link ul li a:hover {
		opacity: 1;

		-ms-filter: 'progid:DXImageTransform.Microsoft.Alpha(Opacity=100)';
	}
	#contents {
		padding: 0 0.5em;
	}
	#contents article {
		padding: 1em;
	}
	#contents article h2 {
		font-size: 1.75em;
		float: none;
		margin: 0.25em 0 0.5em 0; 
		padding: 0;
	}
	#contents article .note {
		font-size: 0.9375em; 
		margin-left: 0;
	}
	#contents article .works-contents {
		margin-left: 0;
	}
	#contents article .works-contents section {
		width: 100%;
	}
	#contents article .contact-contents {
		font-size: 0.9375em; 
		margin-left: 0;
	}

	.work {
		max-height: 1200px;
	}

	.works-contents {
		padding-bottom: 70px !important;
	}
	.works-contents section {
		width: 100%;
		border-bottom: 1px solid #e8e8e8;
	}
	.works-contents section:last-child {
		border-bottom: none;
	}

	.works-image {
		width: 160px;
		margin: 0 auto;
	}

	.works-info {
		position: static;
		text-align: center;
		opacity: 1;
		border: none;
		border-radius: 0;
		background: none; 

		-ms-filter: 'progid:DXImageTransform.Microsoft.Alpha(Opacity=100)';
	}
	.works-info.book-title {
		font-size: 0.875em;
	}
	.works-info.book-publisher {
		font-size: 0.875em;
	}

	.works-contents section:hover .works-image {
		opacity: 1;

		-ms-filter: 'progid:DXImageTransform.Microsoft.Alpha(Opacity=100)';
	}
	.works-contents section:hover .works-info {
		opacity: 1;

		-ms-filter: 'progid:DXImageTransform.Microsoft.Alpha(Opacity=100)';
	}
	.contact-contents {
		padding-top: 0.5em;
	}
	.contact-contents form {
		margin: 0;
		padding: 0;
	}
	.contact-contents dt,
	.contact-contents dd {
		font-size: 0.9375em;
		margin-bottom: 0.5em; 
		padding: 0;
	}
	.contact-contents label {
		display: block;
		width: auto;
		margin: 1em 0 0;
		padding: 0;
	}
	.contact-contents input,
	.contact-contents textarea {
		font-size: 0.9375em;
		font-size: 100%;
		width: 100%; 
		padding: 0.5em;
		vertical-align: top;
		border: 1px solid #e8e8e8;
		border-radius: 3px;
	}
	.contact-contents textarea {
		height: 15em;
	}
	.contact-contents .form-confirm dt,
	.contact-contents .form-confirm dd {
		font-size: 0.9375em;
	}
	.contact-contents .form-confirm dt {
		margin: 0;
		padding: 0;
	}
	.contact-contents .form-confirm dd {
		margin: 0 0 1em 0;
		padding: 0 0 1em 0;
	}

	.buttonArea {
		text-align: center;
	}
	.buttonArea .reguler-btn {
		font-size: 1em;
		margin: 0.5em;
	}
	.buttonArea .reguler-btn:hover {
		color: inherit; 
		border-color: inherit;
	}
	.buttonArea .text-btn {
		font-size: 0.875em;
		position: static;
		right: auto;
		display: inline-block;
		margin: 0;
		padding: 0.5em 30px 0.5em 30px;
		transition: 0.25s; 
		background: url(../images/arrow_prev.png) no-repeat left center;
		background-size: 20px auto;
	}
	.buttonArea .text-btn:hover {
		color: inherit;
	}
	.buttonArea .reguler-btn ~ .text-btn {
		margin: 1em 0 0;
	}

	.form-alert {
		margin: 0 0 0 0;
		padding: 0; 
		list-style: none;
		color: #ff6400;
	}
	.form-alert li {
		font-size: 0.9375em;
		margin: 0;
		padding: 2px 0 2px 22px; 
		background: url(../images/icon_alert.png) no-repeat left 4px;
		background-size: 18px auto;
	}
	footer .credit {
		font-size: 0.75em;
	}
}
@media screen and (min-width: 1180px) {
	header {
		width: 1180px;
		margin: auto;
	}
	#contents {
		width: 1180px;
		margin: auto;
	}
}