@charset "utf-8";
html,body {
	min-height: 100%;
	width: 100%;
}
a {
	color: rgb(0,0,238);
}
a:hover {
	color: #f06;
}
.wrap {
	display: flex;
	min-height: 100vh;
}
.wrap .sidebar {
	width: 140px;
	min-height: 100vh;
	padding: 10px;
	margin: 0px;
}
.wrap .contents__wrap {
	width: calc(100% - 140px);
}



/* #sidebar */
#sidebar {
	background-image: -webkit-linear-gradient(180deg,rgba(51,102,153,0.00) 0%,rgba(51,102,153,0.50) 100%);
	background-image: -moz-linear-gradient(180deg,rgba(51,102,153,0.00) 0%,rgba(51,102,153,0.50) 100%);
	background-image: -o-linear-gradient(180deg,rgba(51,102,153,0.00) 0%,rgba(51,102,153,0.50) 100%);
	background-image: linear-gradient(270deg,rgba(51,102,153,0.00) 0%,rgba(51,102,153,0.50) 100%);
}
#sidebar ul {
	display: flex;
	flex-wrap: wrap;
	width: 120px;
}
#sidebar .hr {
	background-color: #fff;
	width: 100%;
	height: 2px;
	margin: 10px 0;
}
#sidebar a {
	background-repeat: no-repeat;
	margin: 0px;
	padding: 0px;
	width: 120px;
	display: block;
	position: relative;
}
#sidebar a.works {
	height: 100px;
}
#sidebar a.common {
	height: 80px;
}
#sidebar a::after {
	content: '';
	display: block;
	width: 100%;
	height: 100%;
	position: absolute;
	left: 0;
	top: 0;
	z-index: -1;
	background-repeat: no-repeat;
	background-position: center center;
	background-size: contain;
	opacity: 0;
	transition: .3s all;
}
#sidebar a:hover::after {
	opacity: 1;
}
#sidebar a.works::after {
	background-image: url("../img/sidebar/btn_bg_works.png");
}
#sidebar a.common::after {
	background-image: url("../img/sidebar/btn_bg_common.png");
}


.contents {
	width: 850px;
	min-height: 100%;
	background-color: #fff;
	display: flex;
	flex-direction: column;
	justify-content: space-between;
	margin: 0 auto;
	box-shadow: 0 0 10px 0 rgba(0,0,0,.7);
	overflow: hidden;
}


#footer {
	/*フッタのカラー指定は各コンコンテンツのrayout.cssで*/
	/*color: #fff;
	background-color: #339999;
	background-color: #9dcdcd;*/
	padding: 30px 0 15px;
	font-size: 90%;
}
#footer a {
	color: #186F6B;
}
#footer p {
	text-align: center;
}
#footer ul {
	display: flex;
	justify-content: center;
	padding: 15px 0;
}
#footer ul li {
	padding: 0 15px;
}
#footer ul li:first-child::after {
	content: '｜';
	margin-left: 15px;
}

