/* トップページ 読み込み時の整え用 */
body.home {
	background: #000000;
}

@media (max-width: 720px) {
	.pc_only {
		display: none;
	}
}


/* ヘッダー バグ修正 */
#site-header-main {
	height: auto;
}


/* スマホ 各種調整 */
@media (max-width: 720px) {
	/* スマホ ヘッダー 高さ調整 */
	#site-header-main {
		height: 60px;
	}
	#nav-toggle {
		height: 60px;
		line-height: 60px;
	}
	#mobile-menu a {
		color: #FFFFFF;
		font-weight: bold;
	}
	#mobile-menu > div {
		margin: 30px auto;
	}
	nav#mobile-menu #nav-cancel {
		margin-top: 10px;
	}
	/* スマホ 画像幅100%固定 */
	div.entry-content img {
		width: 100% !important;
	}
	/* スマホ 投稿タイトル バグ修正 */
	#header-page-title-inside {
		padding-bottom: 60px;
	}
}


#prime_nav li.menu-item span {
	text-shadow: 0px 0px 1px;
}


/* トップページ タイトル */
div.staticslider-caption h2 {
	font-size: 1.8em;
}

div.staticslider-caption h2,
div.staticslider-caption .staticslider-caption-text {
	color: #FFF;
	font-weight: bold;
	letter-spacing: 0.15em;
}

@media (max-width: 720px) {
	.staticslider-caption-container div.staticslider-caption {
		font-size: 0.9em;
		line-height: 7vh;
		min-height: calc( 80vh - 240px);
		padding: 0 30px;
	}
}

@media (max-width: 320px) {
	.staticslider-caption-container div.staticslider-caption {
		padding: 0;
	}
	div.staticslider-caption h2 {
		letter-spacing: 0.1em;
	}
}

.main .lp-text-title {
	font-size: 2.1em;
}

@media (max-width: 720px) {
	.main .lp-text-title {
		font-size: 1.6em;
	}
}


/* スマホ トップページ トップ画像 */
@media (max-width: 720px) {
	.lp-staticslider .lp-staticslider-image {
		width: 100%;
	}
	.lp-block > i {
		float: none;
		width: 90px;
		height: 90px;
		left: calc( 50% - 45px);
		position: relative;
		margin: 0px 0px 25px 0px;
	}
}



/* トップページ スライダー */
.lp-staticslider img,
.seriousslider-inner {
	min-height: 36vw;
}

.seriousslider-inner .item-image {
	border-radius: 1em 1em 0 0;
}

@media (max-width: 720px) {
	.lp-staticslider,
	.lp-dynamic-slider {
		padding: 0;
	}
}



/* トップページ フェードイン */
#for_members_only,
body.home #prime_nav > li.menu-item,
body.home #nav-toggle,
.staticslider-caption,
.lp-staticslider,
.lp-dynamic-slider {
	-moz-animation: fadeInLoading 2.5s ease-in-out;
	-ms-animation: fadeInLoading 2.5s ease-in-out;
	-o-animation: fadeInLoading 2.5s ease-in-out;
	-webkit-animation: fadeInLoading 2.5s ease-in-out;
	animation: fadeInLoading 2.5s ease-in-out;
}

@-moz-keyframes fadeInLoading {
	0% {
		filter: blur(40px)
	}
	to {
		filter: blur(0)
	}
}

@-webkit-keyframes fadeInLoading {
	0% {
		filter: blur(40px)
	}
	to {
		filter: blur(0)
	}
}

@-o-keyframes fadeInLoading {
	0% {
		filter: blur(40px)
	}
	to {
		filter: blur(0)
	}
}

@keyframes fadeInLoading {
	0% {
		filter: blur(40px)
	}
	to {
		filter: blur(0)
	}
}



/* トップページ リスト左寄せ */
div.lp-text-content ul {
	text-align: left;
}



/* トップページ テキストボックス */
#lp-text-one {
	background-color: #bdc5cc;
	color: #fff;
	font-size: 80%;
}

#lp-text-one .lp-text-content {
	max-width: 1000px;
	margin: auto;
}

@media (max-width: 720px) {
	#lp-text-one li {
		line-height: 1.5em;
		margin-bottom: 0.4em;
	}
}

#lp-text-two {
	background-color: #f8f8f8;
	padding-bottom: 0px;
	font-size: 90%;
}

#lp-text-three .lp-text-inside {
	max-width: 1000px;
}

#lp-text-three .video-box {
	height: 400px;
}

@media (max-width: 720px) {
	#lp-text-three .video-box {
		height: auto;
	}
}

#lp-text-three .video-caption {
	color: #FFFFFF;
	font-size: 14px;
}

#lp-text-three li {
	font-size: 80%;
}

#lp-text-three ul > li > ul > li {
	list-style: none;
}

.ogatalab-landing-page .lp-blocks-inside {
	max-width: 1000px;
}

.lp-text li,
.lp-block li {
	text-indent: -1em;
	padding-left: 1em;
}

@media (max-width: 720px) {
	.lp-text,
	.lp-block {
		padding: 30px 10px 10px 10px;
	}
}


/* トップページ メンバー */
.lp-member-container {
	max-width: 600px;
	margin: auto;
}




/* 投稿タイトル */
#header-page-title i.icon-bread-arrow,
#header-page-title span.current,
#header-page-title .entry-meta em,
#header-page-title .entry-meta span,
#header-page-title .entry-meta time {
	color: #f1f1f1;
}



/* 投稿ヘッダー画像サイズ */
.ogatalab-cropped-headerimage #masthead #header-image-main-inside {
	height: 320px;
}

#masthead .header-image {
	background-position: center top;
	background-attachment: unset;
}

@media (max-width: 720px) {
	.ogatalab-cropped-headerimage #masthead #header-image-main-inside {
		height: 250px;
	}
}

h1,
h2,
h3,
h4,
h5 {
	font-family: "メイリオ", Meiryo, "Helvetica Neue", "ヒラギノ角ゴ ProN W3", Hiragino Kaku Gothic ProN, Arial, sans-serif;
	font-weight: bold;
}



/* 引用バグ修正 */
.entry-content blockquote::before {
	display: none;
}

.entry-content blockquote {
	padding: 2em;
}



/* 動画調整 */
.video-box {
	float: left;
	height: 460px;
	width: 50%;
	margin: 0;
	padding: 0;
}

.video-box::after {
	clear: both;
}

.video-box .video-wrapper {
	position: relative;
	width: 100%;
}

.video-box .video-wrapper::before {
	content: '';
	display: block;
	padding-top: 56.25%;
	/* 高さと幅の比を16:9に固定。9/16*100=56.25 */
}

.video-box .video-wrapper iframe {
	position: absolute;
	top: 5%;
	left: 5%;
	width: 90%;
	height: 90%;
}

.video-box > p {
	display: none;
}

@media (max-width: 720px) {
	.video-box {
		height: auto;
		width: 100%;
		margin-bottom: 20px;
	}
}

.video-caption {
	padding: 0 5%;
}



/* 研究内容 */
.project-box {
	float: left;
	height: auto;
	width: 31%;
	margin: 30px 1%;
	padding: 15px;
	border-radius: 7px;
	/*border: 1px solid #aaa;*/
}
@media (max-width: 900px) {
	.project-box {
		width: 48%;
		margin: 30px 1%;
	}
}
@media (max-width: 420px) {
	.project-box {
		width: 100%;
		margin: 20px 0px;
	}
}

.project-box::after {
	clear: both;
}

.project-box .project-image {
	position: relative;
	width: 100%;
	overflow: hidden;
	border-radius: 7px;
	-webkit-transform: translateZ(0);
	-webkit-mask-image: -webkit-radial-gradient(circle, white 100%, black 100%);
}

.project-box .project-image::before {
	content: '';
	display: block;
	padding-top: 56.25%;
	/* 高さと幅の比を16:9に固定。9/16*100=56.25 */
}

.project-box .project-image img {
	position: absolute;
	top: 0;
	left: 0;
	object-fit: cover;
	width: 100%;
	height: 100%;
	-webkit-transition: all .25s ease-in-out;
	-moz-transition: all .25s ease-in-out;
	transition: all .25s ease-in-out;
	-webkit-transform: scale(1);
	-moz-transform: scale(1);
	-ms-transform: scale(1);
	-o-transform: scale(1);
	transform: scale(1);
}

.project-image:hover img {
	-webkit-transform: scale(1.1);
	-moz-transform: scale(1.1);
	-ms-transform: scale(1.1);
	-o-transform: scale(1.1);
	transform: scale(1.1);
	opacity: 0.75;
}

.project-box > p {
	display: none;
}

.project-caption {
	padding: 10px 5%;
	height: 100px;
	line-height: 28px;
	font-weight: bold;
	overflow: hidden;
}

@media (max-width: 720px) {
	.project-caption {
		height: 70px;
	}
}

.product-flow-buton .product-flow-button-wrapper .btn {
	position: absolute;
	z-index: 5;
	width: 200px;
}


/* READ MORE ボタン */
.readmore-btn-container {
	position: relative;
	height: 50px;
	margin: 10px 0px;
}

.readmore-btn {
	position: absolute;
	z-index: 5;
	height: 50px;
	width: 80%;
	left: 10%;
	border-radius: 10px;
	display: block;
	line-height: 16px;
	text-align: center;
	font-weight: bold;
	text-decoration: none;
	overflow: hidden;
	border: 2px solid #D4332F;
	color: #FFFFFF;
}

.readmore-btn:hover {
	color: #D4332F;
}

.readmore-btn:hover::after {
	transform-origin: right top;
	transform: skewX(-30deg) scale(0, 1);
}

.readmore-btn::after {
	content: '';
	position: absolute;
	z-index: -1;
	top: 0;
	left: 0;
	width: 130%;
	height: 100%;
	background: #D4332F;
	transition: transform 0.3s;
	transform-origin: left top;
	transform: skewX(-30deg) scale(1, 1);
}

.readmore-btn span {
	z-index: 10;
	top: 0;
	left: 0;
	position: absolute;
	line-height: 47px;
	width: 100%;
}



/* フッターメニュー */
#footer_nav {
	text-align: center;
}

#footer_nav li {
	display: inline-block;
}

#footer_nav li.menu-item-type-custom {
	display: none;
}

#footer_nav li a {
	color: #ffffff;
	display: block;
	padding: 0 1.6em;
	text-decoration: none;
	line-height: 85px;
	font-family: Raleway;
	font-size: 100%;
	font-weight: 300;
}

@media (max-width: 720px) {
	#footer-inside {
		margin-bottom: 20px;
	}
	.cryout #footer-inside > #site-copyright {
		margin: -15px auto 30px auto;
	}
	#footer_nav li {
		width: 40%;
	}
	#footer_nav li a {
		padding: 0;
		line-height: 50px;
		font-size: 110%;
		font-weight: bold;
	}
}


/* フェードアップイン */
.fade_in {
	transition-delay: 3s;
	transition: 1s;
}

.fade_in_before {
	opacity: 0;
	transform: translateY(25px) scale(1);
	height: auto;
}

.fade_in_after {
	opacity: 1;
	transform: translateY(0px) scale(1);
	height: auto;
}