@charset "utf-8";
* {
	box-sizing: border-box;
}
body {
	margin: 0;
	padding: 0;
	height: 100%;
	font-family: "Hiragino Kaku Gothic Pro", "ヒラギノ角ゴ Pro W3", メイリオ, Meiryo, "ＭＳ Ｐゴシック", "Helvetica Neue", Helvetica, Arial, sans-serif;
	background-color: #fff;
	letter-spacing : 0.2em;
}
a {	
	text-decoration: none;
	color: white;
	text-shadow    : 
       2px  2px 1px #000000,
      -2px  2px 1px #000000,
       2px -2px 1px #000000,
      -2px -2px 1px #000000,
       2px  0px 1px #000000,
       0px  2px 1px #000000,
      -2px  0px 1px #000000,
       0px -2px 1px #000000;
}

.main-visual {
	display: flex;
	justify-content: center;
	align-items: flex-start;
	/* margin-top: 40px; */
	height: 100vh;
	/*background: url('main_visual.jpg') top center / cover no-repeat;*/
	/*background: url('../img/fadein/damufree.png') top center / cover no-repeat;*/
	 background: url('../img/fadein/N-14.JPG') top center / cover no-repeat; 
/*	background: url('../img/fadein/080新技術に挑戦中(UAVレーザー編).JPG') top center / cover no-repeat;*/
}
.main-visual h2 {
	margin: 0 0 40px 0;
	font-size: 43px;
	font-weight: normal;
	color: white;
	text-shadow    : 
       2px  2px 1px #000000,
      -2px  2px 1px #000000,
       2px -2px 1px #000000,
      -2px -2px 1px #000000,
       2px  0px 1px #000000,
       0px  2px 1px #000000,
      -2px  0px 1px #000000,
       0px -2px 1px #000000;
}
.main-visual-noscript h2 {
	margin: 0 0 40px 0;
	font-size: 30px;
	font-weight: normal;
	color: #fff;
	position: relative;
	left: -18vw;	
}

.slide-bottom{
	opacity: 1;
	transform: translate(0, 0);
	margin-top: 20px;
}

.sp-nav {
	display: none;
}

/*リンクボタン*/
a.button, a.top-inline-button {
	display: block;
	width: 20%;
	margin: 0 auto;
	padding: 15px 30px;
	text-align: center;
	border: 7px solid #000000;
	transition: all .3s ease-out;
}
a.top-inline-button {
	display: block;
	width: 20%;
	margin: 0 auto;
	padding: 15px 30px;
	text-align: center;
	border: 3px solid rgb(0, 0, 0);
	transition: all .3s ease-out;
	width: 45%;
	border-radius: 30px;	
}
a.top-inline-button-noscript {
/*	width: 40%;*/
	display: block;
	width: 56%;
	margin: 0 auto;
	padding: 15px 30px;
	text-align: center;
	border: 1px solid #fff;
	position: relative;
	left: -18vw;
}

a.button:hover, a.top-inline-button:hover {
	color: #505050;
	background-color: #000000;
	text-shadow: none;
}


/* フェードイン用のCSS */

/* 上からフェードイン */
.slide-top {
	opacity: 0;
	transform: translate(0, -20px);
	transition: all 1s ease-out;
 }

/* 下からフェードイン */
.slide-bottom {
	opacity: 0;
	transform: translate(0, 20px);
	transition: all 1s ease-out;
 }

 /* 左からフェードイン */
.slide-left {
	opacity: 0;
	transform: translate(-20px, 0);
	transition: all 1s ease-out;
 }

/* 右からフェードイン */
.slide-right {
	opacity: 0;
	transform: translate(20px, 0);
	transition: all 1s ease-out;
 }


@media (max-width: 768px) {

	.main-visual {
	    align-items: flex-start;
	    background-size: 100%;
	    font-size: 1em;
	    /* padding-top: 1em; */
	}

   .main-visual h2 {
   		font-size: 25px;
   }

   a.top-inline-button {
	display: block;
	width: 20%;
	margin: 0 auto;
	padding: 5px 10px;
	text-align: center;
	border: 3px solid rgb(0, 0, 0);
	transition: all .3s ease-out;
	width: 45%;
	border-radius: 30px;	
	margin-top: -30px;
	}
}

@media (max-width: 576px) {

	.main-visual {
	    align-items: flex-start;
	    background-size: 100%;
	    font-size: 0.6em;
	    /* padding-top: 1em; */
	}

   .main-visual h2 {
   		font-size: 18px;
   }

   a.top-inline-button {
	    display: block;
	    width: 20%;
	    margin: 0 auto;
	    padding: 3px 7px;
	    text-align: center;
	    border: 1px solid rgb(0, 0, 0);
	    transition: all .3s ease-out;
	    width: 45%;
	    border-radius: 20px;
		margin-top: -30px;
	}
}