@charset "UTF-8";
/* CSS Document */

body{
	background: #fefefe;
	margin:0;
	padding: 0;
	font-family: 'Montserrat', sans-serif;
	font-family: source-sans-pro, sans-serif;
	line-height: 1.8em;
}
a{
	color: #535353;
}

h1 {
	font-size: 20px;
	margin:20px 0;
	text-align: center;
}
h1 img{
	max-width: 200px;
}
h2 {
	letter-spacing:0.6em;
	font-size: 18px;
	line-height: 24px;
	margin-top:60px;
	margin-bottom:20px;
	clear: both;
}
h3{
	font-size: 16px;
	color:#C8C8C8;
	padding: 5px;
	letter-spacing:0.4em;
	border-bottom: solid 1px #929292;
	margin-top:30px;
	clear: both;
	
}
.width{
	max-width: 1000px;
	margin:0 auto;
}
#menu  {
	padding: 0 0 1.5px 0;
	background: #D1D1D1;
	height: 50px;
	font-family:Verdana, Geneva, "sans-serif";
	font-size: 11px;
}
#menu ul{
	max-width: 1000px;
	margin: 0 auto;
}
#menu li{
	float:left;
	height:80px;
	line-height: 50px;
	width: 100px;
	text-align: center;
	margin:0 10px 0 0;
	list-style: none;
	/*background: #D1D1D1;*/
}
#menu a{
	text-decoration: none;
	width:90px;
	height: 50px;
	display: block;
	color: black;
	position: relative; /*アンダーラインの位置を決めるための基準 */
}

#menu a::after {
position: absolute; /*親要素であるaタグを基準に位置を指定*/
left: 0;            /*アンダーラインを各メニュー（aタグ）の左端に指定*/
content: '';        /*本来は、擬似要素に入るテキストなどを’’内に指定。アンダーラインなので何も記載しない*/
width: 100%;        /*アンダーラインを各aタグの幅に合わせる*/
height: 2px;        /*アンダーラインの高さ（太さ）*/
background: #000;/*アンダーラインの色*/
bottom: -1px;
transform: scale(0, 1);
transform-origin: center top; /*変形（アンダーラインの伸長）の原点がaタグ（各メニュー）の右端*/
transition: transform 0.3s;   /*変形の時間*/
}

#menu a:hover::after {
transform: scale(1, 1); /*ホバー後、x軸方向に1（相対値）伸長*/
}

#main{
	clear: both;
	/*border-top: solid 1px #eee;*/
	padding:0 20px;
	max-width: 1024px;
	margin: auto;
	font-size: 14px;
}
.worksBox{
	padding-bottom: 20px;
	font-size: small;
	margin-left:10px;
	/* float:left; */
}
.works{
	background: #FFF;
	border: #e7e7e7 solid 1px;
	padding:10px;
	width: 500px;
	font-size: small;
	margin-bottom:20px;
	/* float:left; */
	text-align: center;
}
.txt{text-align: left;}
.clear{
	clear: both;
}
.works img{
	margin: auto;
	max-width: 96%;
	box-shadow: 3px 3px 3px rgba(185, 185, 185, 0.495);
}

footer{
	background: #BDC5C8;
	margin: 60px 0 0 0;
	padding: 40px 0;
	font-size: small;
	text-align: center;
}
