/*
Theme Name: ことばディレクション
Theme URI: 
Description: beReady original wordpress theme
Version: 1.0
*/
.section {
	position: relative;
	display: flex;
}
p.center_txt {
	width: 100%;
	text-align: center;
	font-size: 45px;
	letter-spacing: 0.1em;
    line-height: 2.0;
}
p.center_txt span {
	background-color: #fff;
	padding-left: 10px;
}
p.bottom_txt {
	position: absolute;
	bottom: 20px;
	left: 20px;
	font-size: 18px;
	text-indent: 0.5em;
}
p.bottom_txt span {
	font-size: 12px;
}
.sec04 ul {
	width: 70%;
	margin: 30px auto 0 auto;
	position: relative;
}
.sec04 ul li {
	border-bottom: 1px dotted #000;
	padding-bottom: 10px;
	margin-bottom: 20px;
	width: 100%;
	font-size: 20px;
}
.sec04 ul:after {
	content: "";
	position: absolute;
	bottom: -60px;
	background-image: url(./images/dot.svg);
	background-size: contain;
	background-repeat: no-repeat;
	background-position: center center;
	width: 5px;
	height: 31px;
	left: 0;
	right: 0;
	margin: auto;
}
.sec05 p.center_txt {
	font-size: 26px;
	margin-bottom: 30px;
}
.sec05 p.center {
	left: 0;
	right: 0;
	text-align: center;
	bottom: 40px;
	font-size: 14px;
	line-height: 2.0;
}
p.last_txt {
	font-size: 26px;
	margin-bottom: 30px;
}
#videoTop{
	position: absolute;
	right: 0;
	bottom: 0;
	top:0;
	width: 100%;
	height: 100%;
	background-size: 100% 100%;
	background-color: black; /* in case the video doesn't fit the whole page*/
	background-image: /* our video */;
	background-position: center center;
	background-size: contain;
	object-fit: cover; /*cover video background */
	z-index:3;
}

.video-block:after {
	content: "";
	background-color: rgb(0,0,0,0.2);
	width: 100%;
	height: 100%;
	position: absolute;
	top: 0;
	left: 0;
	z-index: 5;
}
a.btn {
	position: relative;
	z-index: 10;
	color: #fff;
	text-align: center;
	border: 1px solid #fff;
	padding: 15px 0;
	width: 300px;
	margin: 0 auto;
	display: block;
}
.portfolio div.thumb {
	width: 100%;
	height: 400px;
	position: absolute;
	top: 0;
	bottom: 0;
	left: 0;
	right: 0;
	margin: auto;
	background-size: contain;
	background-position: center center;
	background-repeat: no-repeat;
}
.portfolio .slide {
	position: relative;
}
.portfolio ul {
	position: absolute;
	bottom: 40px;
	left: 60px;
}
.portfolio ul li {
	box-sizing: border-box;
	margin-bottom: 10px;
}
.portfolio ul li span {
	color: #000;
	font-style: italic;
}
.portfolio ul li.cliant_name_list span {
	font-size: 18px;
}
.portfolio > div {
	position: relative;
	height: 100vh;
}
.portfolio > div a {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100vh;
}
@media screen and (max-width: 767px) {
	p.center_txt {
		font-size: 26px;
	}
	p.bottom_txt {
		font-size: 14px;
	}
	p.bottom_txt span {
		font-size: 10px;
	}
	.sec03 p.center_txt {
		font-size: 20px;
	}
	.sec04 p.center_txt {
		font-size: 16px;

	}
	.sec05 p.center_txt {
		font-size: 16px;
	}
	.sec04 ul {
		width: 90%;
	}
	.sec04 ul li {
		font-size: 14px;
		padding-left: 1.2rem;
		text-indent: -1.2rem;
		box-sizing: border-box;
	}
	.sec05 p.center {
		font-size: 10px;
	}
	.sec06 p.center_txt {
		font-size: 24px;
	}
	.sec06 p.last_txt {
		font-size: 18px;
		margin-bottom: 10px;
	}
	.sec05 p.center {
		bottom: 10px;
	}
	#fp-nav ul, .fp-slidesNav ul {
		display: -webkit-flex;
	    display: -ms-flexbox;
	    flex-wrap:wrap;
	    justify-content: space-between;
	    align-items: center;
	}
}