#contents {
	background-image: url('/common/img/top/back.gif');
	background-position: 100% 6%;
	background-size: auto auto;
}

a.portrait {
	color: #000;
}

.portrait-container {
	height: 725px;
}
.portrait-content {
	position: absolute;
	padding-top: 350px;
}
.portrait {
	position: relative;
	float: left;
	width: 31%;
	min-height: 22.5em;
	margin: 10px;
	padding: 1.2em;
	border: 10px solid white;
	background-color: transparent;
	outline: 1px solid #b1b1b1;
	transition-duration: .35s;
}
.portrait:hover {
	box-shadow: 0px 2px 28px rgba(0, 0, 0, .57);
	background-color: rgba(255, 255, 255, .7);
	/*
	background: #b4dbf2;
	background: -moz-linear-gradient(-45deg, #e5f3fb 0%, #afc5ec 100%);
	background: -webkit-linear-gradient(-45deg, #e5f3fb 0%,#afc5ec 100%);
	background: linear-gradient(135deg, #e5f3fb 0%,#afc5ec 100%);
	*/
	transition-duration: .35s;
}
.portrait:last-child {
	margin-right: 0;
}

.portrait .caption {
	text-align: center;
}
.portrait .caption img {
	margin: 0 auto 10px;
}
.portrait h2 {
	font-size: 22px;
	margin-top: 10px:
}
.portrait .ruby {
	display: block;
}

.portrait .description {
	line-height: 1.75em;
	font-size: 16px;
	text-align: center;
}
.portrait .detail {
	position: absolute;
	bottom: 18px;
	width: 92%;
	text-align: center;
}

.portrait .detail p {
	font-size: 1vw;
	font-weight: bold;
}

.content-news {
	clear: both;
	margin-top: 100px;
}
.content-news ul {
	padding: 0;
	list-style: none;
}
.content-news li {
	margin-bottom: .5em;
}
.content-news li span {
	display: inline-block;
}
.content-news li span:first-child {
	width: 5.5em;
	vertical-align: top;
}

.portrait.consultation {
	border-color: #599b65;
}

.portrait.system_development {
	border-color: #2c7ecd;
}

.portrait.web_contents {
	border-color: #f08a40;
}

.portrait.manapalette {
	border-color: #f39582;
}

.portrait.orizon-arc {
	border-color: #2c7ecd;
}

.portrait.saiyo {
	border-color: #f08a40;
}


.portrait:hover .btn-blue {
	color: #2c7ecd;
	background-color: white;
}

.portrait:hover .btn-green {
	color: #599b65;
	background-color: white;
}

.portrait:hover .btn-orange {
	color: #f08a40;
	background-color: white;
}


.portrait:hover .btn-gray {
	color: #7b7b7b;
	background-color: white;
}

.portrait:hover .btn-pink {
	color: #f39582;
	background-color: white;
}

.portrait:hover .btn-blue,
.portrait:hover .btn-green,
.portrait:hover .btn-orange,
.portrait:hover .btn-gray,
.portrait:hover .btn-pink {
	transition: all 0.5s ease-out;
}

.navi-footer {
	display: none;
}

#mainBg {
	position: absolute;
	z-index: -1;
}
#mainBg svg,
#mainBg canvas {
	overflow: hidden;
}

.nw-word {
	white-space: nowrap;
}

/** enable carousel **/

.slick-slider.portrait-content {
	position: relative;
}
.slick-slider .portrait {
	opacity: 0.75;
	width: 40vw;
}
.slick-slider .portrait.slick-center {
	opacity: 1;
}
@media(max-width: 1279px) {
	#contents {
		padding-left: 100px;
		background-size: 146vw;
		background-position: 100% 10%;
	}
	.content-news {
		padding-left: 270px;
	}
}
@media(max-width: 800px) {
	#contents {
		background-size: 180vw;
		background-position: right 9%;
		padding-left: 0;
	}
	.content-news {
		padding-left: 0;
	}
	.portrait {
		min-width: 280px;
		margin: 0 12px;
		transition-duration: .35s;
		min-height: 360px
	}
	.portrait:hover {
		margin-top: 0;
	}
	.portrait-content {
		padding-top: 240px;
	}
	.portrait .detail {
		display: block;
	}
	.portrait .description {
		display: block;
		font-size: 12px;
	}
	.portrait .caption img {
		margin: 0 auto 10px;
		width: 52px;
	}
	.portrait .ruby {
		margin-bottom: 6px;
		font-size: 11px;
	}
	.detail p {
		display: none;
	}
	.portrait:hover {
		box-shadow: inherit;
	}

	.content-news {
		margin: 0 2em 2em;
	}
	.content-news li span {
		display: block;
	}
	
	.navi-footer {
		display: block;
		margin: 1em 1em 0;
		border-top: 1px solid rgb(200, 200, 200);
		border-bottom: 1px solid rgb(200, 200, 200);
	}
	.navi-footer ul {
		margin: 0 0 .75em;
		list-style: none;
	}
	.navi-footer a {
		display: block;
		padding: .75em;
	}
	.navi-toggle {
		position: relative;
		padding: 1em;
		font-weight: bold;
	}
	.navi-toggle:nth-of-type(n+2) {
		border-top: 1px solid rgb(200, 200, 200);
	}
	.navi-toggle::after {
		position: absolute;
		display: block;
		top: 1em;
		right: 1em;
		content: '';
		height: 1em;
		width: 1em;
		border-right: 1px solid gray;
		border-bottom: 1px solid gray;
		transform: rotate(45deg);
		transition-duration: .2s;
	}
	.navi-toggle.open::after {
		top: 1.5em;
		transform: rotate(-135deg);
		transition-duration: .2s;
	}
	.navi-contact {
		margin-top: 0;
	}
	
	.slick-track {
		padding: 15px;
	}
	.slick-active.slick-center,
	.slick-active.slick-center:hover {
		box-shadow: 0 5px 20px rgba(0, 0, 0, .5);
		background-color: rgba(255, 255, 255, .8);
	}
}
@media(max-width: 420px) {
	#contents {
		background-size: 260vw;
		background-position: 82% 9%;
	}
}