@charset "utf-8";
@font-face {
	font-family: 'MyFont';
	src: url(../font/bokutachi.otf);
}

body {
	color: #333333;
	min-width: 1000px;
	letter-spacing: 2px;
	font-family: "MyFont", "メイリオ", "Meiryo", "ヒラギノ角ゴ　ProN", "Hiragino kaku Gothic ProN", sans-serif;
}

/* ページ */

#page {
	width: 100%;
	margin: 0 auto;
	min-height: 100vh;
	background-color: #fafafa;
    background-image: url(../img/b001.gif);
	
}

#myVideo {
	position: absolute;
	right: 0;
	bottom: 0;
	top: 0;
	right: 0;
	width: 100%;
	height: 100%;
	background-color: black; /* in case the video doesn't fit the whole page*/
	object-fit: cover; /*cover video background */
	z-index: 3;
}

h1 {
	font-size: 30px;
	line-height: 1.433;
	padding: 10px;
}

#siteTitle {
	position: absolute;
	top: 25%;
	left: 50%;
	transform: translate(-50%, 50%);
	z-index: 1;
	font-size: 36px;
	line-height: 1.433;
	padding: 5px 5px;
	letter-spacing: 10px;
	text-align: center;
	display: block;
	color: inherit;
	text-decoration: none;
	width: 700px;
	border-radius: 10px;
	color: #fff;
	background-color: rgb(255, 255, 255, 0.3);
	/* 文字の縁取り */
	text-shadow: black 1px 1px 0, black -1px -1px 0, black -1px 1px 0, black 1px -1px 0, black 0px 1px 0, black 0-1px 0,
		black -1px 0 0, black 1px 0 0; /*上、下*/
}

/* ーーーーー 1ページ目 ーーーーー */

.section {
	text-align: center;
	width: 100%;
	height: 100vh;
	overflow-y: hidden;
}

/* ーーーーー 2ページ目 ーーーーー */

#section2 {
	padding: 0;
	max-width: 880px;
	margin: 0 auto;
}

#section2 h2 {
	font-size: 30px;
	line-height: 1.433;
	padding: 10px;
}

#section2 p {
	font-size: 18px;
	line-height: 2;
}

.clear-box {
	width: 90%;
	margin: 30px auto 0;
}

.left-box {
	width: calc(100% - 350px);
	/* height: 225px; */
}

.right-box {
	padding: 40px 0;
}

/* ----- 配置場所 ----- */

/* --- clearfix --- */

.clearfix:after {
	clear: both;
	content: '';
	display: block;
}

.left {
	float: left;
}

.right {
	float: right;
}

/* ----- ボタン ----- */

/* aタグボタン定義 */

.btn-a {
	width: 100%;
	max-width: 500px;
	font-size: 20px;
	letter-spacing: 5px;
	text-align: center;
	color: inherit;
	display: block;
	padding: 20px 0;
	text-decoration: none;
}

/* --- ボタンの形 --- */

/* btn1 */

.btn1 {
	border: 1px solid;
	border-radius: 5px;
	margin: 30px auto;
	background-color: white;
	color: #666666;
}

.btn1:hover {
	color: #fff;
	background-color: #666666;
}

/* btn4 */

.btn4 {
	border: 1px solid #dcdcdc;
	border-radius: 5px;
	margin: 30px auto;
	background-color: white;
	color: #666666;
}
.btn4:hover {
	/* color: #fff; */
	background-color: #ffcc33;
}

a {
	margin: 0 auto;
	display: block;
}

#arrowdown img {
	position: fixed;
	z-index: 99;
	left: 50%;
	bottom: 0%;
	transform: translate(-50%, -50%);
	border: 0;
	display: inline;
}

.opacity-up {
	/* animation-name: opacity-up; */
	animation: opacity-up 8s ease 0s 1 normal;
	-webkit-animation: opacity-up 2s ease 0s 1 normal;
}
n .opacity-down {
	/* animation-name: opacity-down; */
	/* animation-duration: 2s; */
	/* animation-delay: 1s; */
	/* animation: opacity-down 2s ease 10s 1 alternate none running; */
	animation: opacity-down 2s ease 0s 1 normal;
	-webkit-animation: opacity-down 2s ease 0s 1 normal;
}

@keyframes opacity-up {
	0% {
		opacity: 0;
		/* 透明 */
	}
	20% {
		opacity: 0;
	}
	100% {
		opacity: 1;
		/* 不透明 */
	}
}

@keyframes opacity-down {
	0% {
		opacity: 1;
		/* 不透明 */
	}
	100% {
		opacity: 0;
		/* 透明 */
	}
}
