@charset "utf-8";

.fixed-background {
	min-height: 80vh;
	background-attachment: fixed;
	background-size: cover;
	background-position: center;
	position: relative;
  }
  .fixed-title{
	position: absolute;
	top: 50%;
  	left: 50%;
  	-webkit-transform : translate(-50%,-50%);
  	transform : translate(-50%,-50%);
	font-size: 5em;
	font-weight: 700;
	color: rgb(229, 229, 229);
	margin: 0;
	line-height: 2em;
  }
   
  .background-1 {
	background-image: url(../img/company5.jpg);
  }
  .background-2 {
	background-image: url(../img/businesscontent.jpg);
  }
  .background-3 {
	background-image: url(../img/businesspartner.jpg);
  }
  .background-4 {
	background-image: url(../img/recruit.jpg);
  }
  .background-5 {
	background-image: url(../img/companyinfo.jpg);
  }
  .background-6 {
	background-image: url(../img/contact.jpg);
  }

/*========= バー表示のためのCSS ===============*/

/*タイムライン全体の設定*/
.timeline{
	max-width: 500px;
	width:100%;
	margin:100px auto;
	padding:0 30px;
  }
  
  .timeline li{
	/*線の起点とするためrelativeを設定*/
	position: relative;
	list-style: none;
	padding:0 0 30px 0;
  }
  
  .timeline dl{
	margin:0 0 20px 3em;
  }

  .timeline dt{
	border-bottom: solid 2px black;
  }
  
  .timeline dd {
	margin:0 0 0 10px;
  }

  .timeline dd strong{
	display: block;
	padding:10px 0;
  }
  
  /*絶対配置で線を設定*/
  .border-line {
	  /*線の位置*/
	position: absolute;
	left:0.2em;
	top:6px;
	width:2px;/*線の太さ*/
	height:0;/*はじめは高さを0に*/
	background: #ccc;
  }
  
  /*タイムラインの見出し横の丸の位置と形状*/
  .timeline li::after{
	content:'';
	position: absolute;
	top:6px;
	left:0;
	width:10px;
	height: 10px;
	background:#666;
	border-radius: 50%;
  }
  
  
  /*========= レイアウトのためのCSS ===============*/
  
  header{
	background:rgb(215, 213, 213);

  }
  
  h1{
	font-size:1.5rem;
	text-align: center;
	text-transform: uppercase;
	padding: 20px;
	color: #fff;
  }
  
  h2{
	font-size:1.2rem;
	text-align: center;
	margin: 0 0 30px 0;
  }
  
  p,ul{
	margin-top:20px;  
  }
  
  a{
	color:#333;
  }
  
  small{
	background:#333;
	color:#fff;
	display: block;
	text-align: center;
	padding:20px;
  }
  
  
  section{
	padding: 50px;
	margin-bottom: 100px;
  }
  section:first-child{
	padding:100px 100px 0px;
  }
  
  section:nth-child(2n){
	background:#f3f3f3; 
  }
  
/*========= スクロール途中からヘッダーの高さが小さくなるためのCSS ===============*/
#header{
    /*はじめの高さを設定*/
	height: 200px;
	width:100%;
   /*以下はレイアウトのためのCSS*/
	display: flex;
	justify-content: space-between;
	align-items: center;
	background:#fff;
	color:#fff;
	text-align: center;
	background-image:url(../img/headerback.jpg);
	background-repeat: no-repeat;
	background-size:cover;
	width:100%;
}
.headerimg{
	margin-left: 5%;
	background-image:url(../img/logo.jpg);
	background-repeat: no-repeat;
	background-position:center center;
	background-size:contain; 
	width:270px;
	height: 300px;
}
/*HeightMinというクラス名がついたら高さを小さく、上部固定に*/
#header.HeightMin{
	position: fixed;
    z-index: 999;/*最前面へ*/
	height:70px;
	animation: DownAnime 0.5s forwards;
}

@keyframes DownAnime{
  from {
  	opacity: 0;
	transform: translateY(-170px);
  }
  to {
  	opacity: 1;
	transform: translateY(0);
  }
}


/*========= レイアウトのためのCSS ===============*/

h1{
	font-size:1.2rem;
}

h2{
	font-size:1.2rem;
	text-align: center;
	margin: 0 0 30px 0;
}

p{
	margin-top:50px;
	line-height: 3em;
}

small{
	background:#333;
	color:#fff;
	display: block;
	text-align: center;
	padding:20px;
}


nav ul{
	margin-top: 0px;
	margin-right: 20px;
	list-style: none;
	display: flex;
	justify-content: center;
	font-weight:600;
}

nav ul li a{
	display: block;
	text-decoration: none;
	color: rgb(207, 207, 207);
	padding:10px;
	transition:all 0.3s;
}

nav ul li.current a,
nav ul li a:hover{
	color:#fff;	
}

section:nth-child(2n){
	background:#f3f3f3;
}
.nomallist{
	width:100%;
	list-style: none;
	

}
.nomallist li{
	width: 70%;
	margin-left: auto;
	margin-right: auto;
	margin-bottom: 40px;
}
.nomallist div{
	width:100%;
	height: auto;
}
.nomallist p{
	margin-top:0px;
	line-height: 2em;
}

.imagelist{
	width:100%;
	list-style: none;
	margin: auto;

}
.imagelist li{
	/*線の起点とするためrelativeを設定*/
	height: 400px;
	margin: auto;
	position: relative;
	
}
.imagelist div{
	width:50%;
	position: absolute;
	top: 50%;
  	left: 50%;
  	-webkit-transform : translate(-50%,-50%);
  	transform : translate(-50%,-50%);
}
.imagelist p{
	margin-top:0px;
	line-height: 2em;
}


.imagelist li:nth-child(1){
	background: url(../img/si.png) left 0px top 3px no-repeat;
	background-color:rgba(255,255,255,0.5);
	background-blend-mode:lighten;
	background-size:cover;
	width:100%;
}

.imagelist li:nth-child(2){
	background: url(../img/dev.png) left 0px top 3px no-repeat;
	background-color:rgba(255,255,255,0.5);
	background-blend-mode:lighten;
	background-size:cover;
	width:100%;
}
.imagelist li:nth-child(3){
	background: url(../img/phone.png) left 0px top 3px no-repeat;
	background-color:rgba(255,255,255,0.5);
	background-blend-mode:lighten;
	background-size:cover;
	width:100%;
}

/*==================================================
ふわっ
===================================*/


/* fadeUp */

.fadeUp{
	animation-name:fadeUpAnime;
	animation-duration:0.5s;
	animation-fill-mode:forwards;
	opacity:0;
	}
	
	@keyframes fadeUpAnime{
	  from {
		opacity: 0;
	  transform: translateY(100px);
	  }
	
	  to {
		opacity: 1;
	  transform: translateY(0);
	  }
	}
	
	
	/* スクロールをしたら出現する要素にはじめに透過0を指定　*/
	 
	.fadeUpTrigger{
		opacity: 0;
	}