﻿@charset "utf-8";

/* =======================================

	CommonElements

======================================= */
body {
/*
	font-size: 100%;
	line-height: 160%;
	font-family: "メイリオ", "Meiryo", "ヒラギノ角ゴ Pro W3", "Hiragino Kaku Gothic Pro", "Osaka", "ＭＳ Ｐゴシック", "MS P Gothic", Verdana, Arial, Helvetica, sans-serif;
	color: #000;
	text-align: center;
	background: #fff;
*/
	overflow-y: scroll;
}
*html body {overflow-y: auto;} /* IE6 */
*:first-child+html body {overflow-y: auto;} /* IE7 */

a:link { text-decoration:none; color: #000;}
a:visited { text-decoration:none; color: #000;}
a:active { text-decoration:none; color: #000;}
a:hover { text-decoration:none; color: #000;}

#container {
	width: 100%;
	text-align: center;
}

#content {
	width: 1024px;
}

/* .listCover
------------------------- */
.listCover {
	margin: 0 auto;
	text-align: left;
	max-width: 820px;
}

/* .listItem
------------------------- */
.listCover .listItem {
	padding: 10px 5px;
	text-align: center;
	display: inline-block;
	*display: inline;
	*zoom: 1;
	cursor: pointer;
	box-sizing: border-box;
}
.listCover .listItem img {
	width: 150px;
}
.listCover .active {
	background: url(../images/works/activeArrow.gif) no-repeat bottom center;
}
.listCover .listItem .selfRep {
	display: none;
}

/* .expandField
------------------------- */
.expandField {
	padding: 10px 0;
	width: 100%;
	text-align: left;
	display: block;
	background: #222;
	float: left;
	position: relative;
	overflow: hidden;
	margin-bottom: 20px;
}
.expandField .btnClose {
	top: 0;
	right: 0;
	width: 60px;
	height: 60px;
	display: block;
	background: url(../images/works/btnClose.gif) no-repeat top left;
	position: absolute;
	overflow: hidden;
	cursor: pointer;
}
.expandField .btnPrev {
	top: 120px;
	left: 0;
	width: 60px;
	height: 60px;
	display: block;
	background: url(../images/works/btnPrev.gif) no-repeat top left;
	position: absolute;
	overflow: hidden;
	cursor: pointer;
}
.expandField .btnNext {
	top: 120px;
	right: 0;
	width: 60px;
	height: 60px;
	display: block;
	background: url(../images/works/btnNext.gif) no-repeat top left;
	position: absolute;
	overflow: hidden;
	cursor: pointer;
}
.expandField .selfRepInner {
	padding: 50px 80px;
	text-align: center;
	position: relative;
}
.expandField .selfRepInner .secLeft {
	width: 70%;
	float: left;
}
.expandField .selfRepInner .secLeft img {
	max-height: 400px;
}
.expandField .selfRepInner .secRight {
	width: 30%;
	float: left;
}
.expandField .selfRepInner .secLeft {
	text-align: center;
}
.expandField .selfRepInner .secRight {
	text-align: left;
	color: #fff;
}

/* ===========================================
	SizeAdjustment
=========================================== */
@media screen and (max-width: 600px) {
	.expandField .selfRepInner .secLeft img {
		width: 80%;
	}
}
@media screen and (max-width: 480px) {
	.expandField .selfRepInner .secLeft {
		display: none;
	}
	.expandField .selfRepInner .secRight {
		width: 100%;
		float: none;
	}
}

/* =======================================
	ClearFix
======================================= */
.listCover:before,
.listCover:after,
.expandField .selfRepInner:before,
.expandField .selfRepInner:after {
	content: " ";
	display: table;
}
.listCover:after,
.expandField .selfRepInner:after {clear: both;}
.listCover,
.expandField .selfRepInner {*zoom: 1;}

/*-----------------------------
レスポンシブ対応（Works）
-----------------------------*/

/* タブレット (768px以下) */
@media screen and (max-width: 768px) {
	#content {
		width: 100%;
		padding: 0 15px;
		box-sizing: border-box;
	}

	.listCover {
		max-width: 100%;
	}

	.listCover .listItem {
		width: calc(33.33% - 10px);
		padding: 5px;
	}

	.listCover .listItem img {
		width: 100%;
		height: auto;
	}

	.expandField .selfRepInner {
		padding: 30px 50px;
	}

	.expandField .btnPrev,
	.expandField .btnNext {
		top: 80px;
		width: 40px;
		height: 40px;
		background-size: contain;
	}
}

/* スマートフォン (480px以下) */
@media screen and (max-width: 480px) {
	.listCover .listItem {
		width: calc(50% - 10px);
	}

	.expandField .selfRepInner {
		padding: 20px 30px;
	}

	.expandField .btnClose {
		width: 40px;
		height: 40px;
		background-size: contain;
	}

	.expandField .btnPrev,
	.expandField .btnNext {
		top: 60px;
		width: 30px;
		height: 30px;
	}
}
