/*
Author: aATS
*/

/******************************
 * top page
 ******************************/
#fixed-bg {
	position: relative;
	width: 100%;
	background:rgba(255,0,0,0);
	top: -112px;
}
#fixed-bg>div {/* backgroundを指定してから記述 */
	position: absolute;
	width: 100%;
	height: 512px;
	background-size: 1024px 512px;
	background-attachment: fixed;
	background-repeat: no-repeat;
	background-position: top -50px right -90px;
}
#fixed-bg>div.header1 {
	background-image: url(../img/topback-1-mb.png);
	background-size: 767px 404px;
	background-position: top 58px right 0px;
}
.header2 {
	background-image: url(../img/topback-2.png);
}
.header3 {
	background-image: url(../img/topback-3-mb.png);
	opacity: 0.5;
}
.header3 h1 {
	display: flex;
	justify-content: center;
	align-items: center;
	max-width: 1024px;
	margin: 0 auto;
	padding: 0 20px;
	height: 100%;
	font-size: 200%;
	color: black;
	position: absolute;
	top: 24px;
	line-height: 1.5;
}
.hd-tomei {
	height:100%;
	background:linear-gradient(to bottom, transparent 90%, rgba(255,255,255,1) 100%);
}
.hd3-tomei {
	height:100%;
	background: linear-gradient(to bottom, rgba(255,255,255,0.7) 0%, rgba(255,255,255,1) 40% 70%, rgba(255,255,255,0.7) 85%, rgba(255,255,255,1) 100%);
}
#spacer {
	height: 400px;
}

/* Fixed display at the top */
.notice {
	display: flex;
	max-width: 1024px;
	width: 100%;
	margin:1em auto 3em;
	z-index: 1;
	font-size: 14px;
	background-color: #FFE3EB;
	background-color: #FEF7D5;
}
.notice span {
	min-width: max-content;
	padding: 12px 16px;
	color: #BF1E56;
	color: #DA5019;
}
.notice ul {
	padding: 12px 16px 12px 0;
	list-style: none;
}
.notice a {
	color: #333;
}
.notice a:hover {
	opacity: 0.5;
}

.contents {
	contain:content;
	position:relative;
	margin: 0 auto;
	padding: 56px 16px 0;
	max-width: 920px;
	top: -54px;	/* menuからの移動時のエリアタイトル分の高さ */
	background: linear-gradient(rgba(0,0,0,0),rgba(255,255,255,1));
}
.contents h2 {
	font-size: 1.6em;
	font-weight: normal;
	text-align: center;
}
section ul {
	list-style: none;
}
#jobs h2 {
	margin-top: 0;
}

.service {
	font-size: 1.5rem;
}

.sol-list {
	margin: 0;
	padding: 0;
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
}
.sol-list li {
	margin-bottom: 2px;
}
.sol-list a {
	display: table-cell;
	vertical-align: middle;
	width: 234px;
	height: 132px;
	padding: 0 31px;
	color:#fff;
	text-decoration: none;
	text-align: center;
	border: solid 1px #ccc;

	position: relative;
	background-size: cover;
	text-shadow: 1px 1px 4px #333, -1px 1px 4px #333, 1px -1px 4px #333, -1px -1px 4px #333, 0 0 20px #333, 0 0 40px #333;
}
.sol-list a::after {
	content: '';
	width: 8px;
	height: 8px;
	border: 0;
	border-top: solid 2px #333;
	border-right: solid 2px #333;
	position: absolute;
	border-color: #fff;
	top: 50%;
	right: 16px;
	margin-top: -7px;
	transform: rotate(45deg);
	filter: drop-shadow(1px 1px 2px black) drop-shadow(-1px -1px 2px #333);
}
.sol-list .link-card {
	display: block;
	line-height: normal;
}
/* 文字を一番上に表示 */
.sol-list span {
	position: relative;
	transition: 0.5s;
	z-index: 1;
}
.bistitle {
	display: block;
	padding: 24px 0 4px;
}
.bissub {
	display: block;
	text-align: left;
}
a.bis1 {
	background-image: url(../img/aply592_395.jpg);
}
a.bis2 {
	background-image: url(../img/network592_260.jpg);
}
a.bis3 {
	background-image: url(../img/ibmi592_397.jpg);
	background-position: center;
}
a.bis4 {
	background-image: url(../img/hanbai588_283.jpg);
	background-position: center
}
a.bis6 {
	background-image: url(../img/ansin.jpg);
	background-position: bottom;
}
a.bis7 {
	background-image: url(../img/product588_260.jpg);
}
a.bis8 {
	background-image: url(../img/bn-ebi.png);
}
a.bis14 {
	background-image: url(../img/solr640_427.jpg);
}
a.bis15 {
	background-image: url(../img/webdesign480_270.jpg);
	background-position: center 60%;
}
a.bis16 {
	background: no-repeat center/contain;
	background-image: url(../img/hpsupport255_161.jpg);
}
a.sdW {
	color: #000;
	text-shadow: 1px 1px 4px #fff, -1px 1px 4px #fff, 1px -1px 4px #fff, -1px -1px 4px #fff, 0 0 10px #fff, 0 0 20px #fff;
}
a.sdW:after {
	border-color: #000;
	filter: drop-shadow(1px 1px 2px white) drop-shadow(-1px -1px 2px white);
}

.infomation ul {
	height: 100%;
	width: 100%;
	margin: 0;
	padding: 0;
	font-size: 1.4rem;
}
.infomation a {
	display: block;
	color: #111;
	text-decoration: none;
	border-top: 1px dashed gray;
	padding: 18px 0;
}
.infomation p {
	margin-top: 0.7em;
	margin-bottom: 0;
}
.info-title {
	display: flex;
	justify-content: space-between;
}
.info-title h3 {
	margin: 0;
	font-weight: normal;
}
.info-title h3:before {
	content:"❖";
	margin-right: 1ex;
}
.info-title h3.info:before {
	color: #FF9339;
}
.info-title h3.products:before {
	color: #00CC00;
}
.info-title .info-dt {
	display: block;
	padding: 2px 0 0 16px;
}
.archive .comment {
	font-size: 1.4rem;
}

@media screen and (min-width:768px){
	#fixed-bg {
		top: unset;
	}
	#fixed-bg>div {
		height: 512px;
		background-position: top 62px center;
	}
	#fixed-bg>div.header1 {
		background-image: url(../img/topback-1.png);
		background-size: 1024px 512px;
		background-position: top 62px center;
	}
	#fixed-bg div.hd3-tomei {
		background:linear-gradient(to bottom, rgba(255,255,255,0.7) 0%, rgba(255,255,255,1) 30% 70%, rgba(255,255,255,0.7) 85%, rgba(255,255,255,1) 100%);
	}
	.header2 {
		opacity: 0;
		/* forwardsアニメーション終了時に状態を維持 */
		animation: fadeIn2 4.4s 0.8s forwards;
	}
	@keyframes fadeIn2 {
		0% {
			opacity: 0;
		}
		100% {
			opacity: 1;
		}
	}
	.header3 {
		background-image: url(../img/topback-3.png);
		opacity: 0.2;
		/* forwardsアニメーション終了時に状態を維持 */
		animation: fadeIn3 5.4s 0s forwards;
	}
	@keyframes fadeIn3 {
		0% {
			opacity: 0.2;
		}
		100% {
			opacity: 0.5;
		}
	}
	.header3 h1 {
		position: unset;
		top: unset;
	}
	#spacer {
		height: 512px;
	}

	.service {
		font-size: revert;
	}

	.sol-list li {
		margin-bottom: unset;
	}
	.sol-list a {
		border-color: #fff;
	}
	.sol-list a::before {
		content: '';
		position: absolute;
		top: 0; left: 0; width: 100%; height: 100%;
		background-color: rgba(0, 0, 0, 0.44); /* 黒色で透過50% */
		transition: all 0.5s ease;
	}
	.sol-list a:hover::before {
		background-color: rgba(0, 0, 0, 0);
	}
	.sol-list a::after {
		display:none;
	}
	a.sdW {
		color: #fff;
		text-shadow: 1px 1px 2px #333, 0 0 4px #333, 0 0 10px #333;
	}
	a.sdW:hover {
		color: #000;
		text-shadow: 2px 2px 2px #fff, 2px -2px 2px #fff, -2px 2px 2px #fff, -2px -2px 2px #fff, 0 2px 2px #fff, 0 -2px 2px #fff, -2px 0 2px #fff, 2px 0 2px #fff, 0 0 4px #fff, 0 0 10px #fff, 0 0 20px #fff, 0 0 40px #fff;
		transition: 0.5s;
		border-color: #ccc;
	}
	a.bis14 {;
		text-shadow: 1px 1px 2px #033, 0 0 10px #033;
	}
	a.bis14:hover {
		text-shadow: 1px 1px 3px #fff, 1px -1px 3px #fff, -1px 1px 3px #fff, -1px -1px 3px #fff, 0 1px 3px #fff, 0 -1px 3px #fff, -1px 0 3px #fff, 1px 0 3px #fff;
	}

	.infomation ul,
	.archive .comment {
		font-size: 1.6rem;
	}
	.infomation p {
		padding-left: 30px;
	}
}

@media screen and (min-width:943px){
	.sol-list {
		justify-content: space-between;
	}
	.sol-list li:nth-of-type(3n) {
		margin-bottom: 14px;
	}
}
