/* Container */

#content_area.engekifes {
	max-width: 820px;
	padding: 0 0 15px;
	//background: transparent url('./theme_img/content_back_enfes.gif') repeat;
	box-shadow: 0 1px 7px 1px rgba(0,0,0,0.3);
}
.enfes_content {
	padding: 0 20px;
	text-align: left;
}
.enfes_main_area {
	width: 620px;
	margin: 0;
}
.enfes_nav_area {
	width: 140px;
	margin: 0 0 0 20px;
}

/* Menu */

.menu-enfes_menu-container {
	width: 140px;
}
ul#menu-enfes_menu {
	position: relative;
	margin: 0;
	padding: 0;
	list-style: none;
	text-align: left;
}
ul#menu-enfes_menu li.menu-item {
	position: relative;
	margin-bottom: 2px;
}
ul#menu-enfes_menu li.menu-item h5 {
	font-weight: normal;
	width: 140px;
	height: 40px;
	margin: 0;
	padding: 2px 0 0 3px;
	background: transparent url('./theme_img/fes_menuback_2.jpg') no-repeat center -12px;
	-moz-background-size: cover;
	background-size: cover;
}
ul#menu-enfes_menu li:first-child h5 {
	height: 33px;
	background: transparent url('./theme_img/fes_menuback_1.jpg') no-repeat center -15px;
	-moz-background-size: cover;
	background-size: cover;
}
ul#menu-enfes_menu li:last-child h5 {
	background: transparent url('./theme_img/fes_menuback_3.jpg') no-repeat center -12px;
	-moz-background-size: cover;
	background-size: cover;
}
ul#menu-enfes_menu li.menu-item h5:before {
	position: absolute;
	top: 27px;
	left: 4px;
	width: 0;
	height: 0;
	padding: 0;
	content: '';
	border-top: 4px solid transparent;
	border-right: 4px solid transparent;
	border-left: 4px solid #ffffff;
	border-bottom: 4px solid #ffffff;
}
ul#menu-enfes_menu li:first-child h5:before {
	top: 20px;
}
ul#menu-enfes_menu li.menu-item h5 a {
	font-family: 'Noto Sans JP', sans-serif;
	font-weight: 500;
	font-size: 13px;
	display: block;
	width: 90px;
	margin-left: 11px;
	color: #ffffff;
	border-bottom: 1px solid #ffffff;
	letter-spacing: 0.2em;
	height: 20px;
}
ul#menu-enfes_menu li.menu-item:nth-child(4) h5 a,
ul#menu-enfes_menu li.menu-item:last-child h5 a {
	letter-spacing: 0;
	font-feature-settings: "palt";
}
ul#menu-enfes_menu li.menu-item:last-child h5 a {
	font-size: 12px;
	transform: scale(1, 1.1);
}
ul#menu-enfes_menu li.menu-item h5 a:after {
	font-family: 'Noto Sans JP', sans-serif;
	font-weight: 300;
	color: #e0d6b7;
	position: absolute;
	top: 21px;
	left: 15px;
	font-size: 10px;
	letter-spacing: 0;
}
ul#menu-enfes_menu li:first-child h5 a:after {
	content: " Home";
	position: static;
}
ul#menu-enfes_menu li:nth-child(2) h5 a:after {
	content: "Public Open Project";
}
ul#menu-enfes_menu li:nth-child(3) h5 a:after {
	content: "Special Project";
}
ul#menu-enfes_menu li:nth-child(4) h5 a:after {
	content: "History";
}
ul#menu-enfes_menu li:last-child h5 a:after {
	content: "Downlad";
	top: 17px;
	left: 1px;
}
ul#menu-enfes_menu li.menu-item h5 a:hover,
ul#menu-enfes_menu li.menu-item h5 a:active {
	color: #ffff25;
}

/* SNS */

.sns_smart {
	display: none;
}
.enfes_sns {
	width: 140px;
	margin: 20px 0;;
	padding: 0;
}
.enfes_sns ul {
	width: 100%;
	margin: 0 0 10px;
	padding: 0;
	list-style: none;
}
.enfes_sns ul li {
	width: 140px;
	height: 22px;
	text-align: left;
	margin: 0 0 10px;
}
.enfes_sns ul#sns_1 li:first-child,
.enfes_sns ul#sns_2 li:first-child {
	height: 22px;
	text-align: center;
}
.enfes_sns ul li span {
	font-size: 18px;
}
.enfes_sns ul li img {
	width: 18px;
	height: auto;
	position: relative;
	bottom: 2px;
}
.twitter-tweet {
	width: 280px !important;
	transform: scale(0.5) translate(-50%, -50%);
}

/* page */

.enfes_page_title {
	width: 100%;
	margin: 20px auto;
	text-align: center;
}
.enfes_page_title_sub {
	font-size:smaller;
}
.heading {
	color: #ffffff;
	background-color: #000000;
	font-size: 15px;
	padding: 3px 0 2px;
}
.subheading {
	font-size: 14px;
	text-align: left;
	margin: 5px 0;
}
.list_heading {
	font-size: 13px;
	text-align: left;
	font-weight: normal;
}
.before_title_area,
.before-content_area,
.after_content_area,
.enfes_children_area {
	width: 100%;
	margin: 0 auto 20px;;
	padding: 0;
	position: relative;
}
.enfes_content_text {
	text-align: left;
}

/* images */

.enfes_corner_photo_area {
	width: 100%;
	position: relative;
}
.enfes_photo {
	width: 100%;
	object-fit: cover;
}
.image_caption {
	font-size: 12px;
	line-height: 130%;
}
.caption_in-top-left {
	position: absolute;
	top: 2px;
	left: 3px;
	text-align: left;
}
.caption_in-top-right {
	position: absolute;
	top: 2px;
	right: 3px;
	text-align: right;
}
.caption_in-bottom-left {
	position: absolute;
	bottom: 2px;
	left: 3px;
	text-align: left;
}
.caption_in-bottom-right {
	position: absolute;
	bottom: 2px;
	right: 3px;
	text-align: right;
}
.caption_out-top {
	text-align: center;
	margin-bottom: 3px;
}
.caption_out-bottom {
	text-align: center;
	margin-top: 3px;
}
.enfes_gchildren_area {
	width: 100%;
	list-style: none;
	margin: 0 auto;
	padding: 0;
	display: -webkit-flex;
	display: flex;
	-webkit-justify-content: space-between;
	justify-content: space-between;
	-webkit-flex-wrap: wrap;
	flex-wrap: wrap;
}
.enfes_gchildren_area li {
	margin: 0;
	padding: 0;
	aspect-ratio: 15 / 9;
}
.enfes_gchildren_area.normal li {
	margin-bottom: 10px;
}
.enfes_gchildren_area.no-space li {
	aspect-ratio: 3 / 1.9;
}
.enfes_gchildren_area.normal.col_1 li,
.enfes_gchildren_area.no-space.col_1 li {
	width: 100%;
}
.enfes_gchildren_area.normal.col_2 li {
	width: calc((100% - 10px) / 2);
	overflow: hidden;
}
.enfes_gchildren_area.no-space.col_2 li {
	width: calc(100% / 2);
	overflow: hidden;
}
.enfes_gchildren_area.normal.col_3 li {
	width: calc((100% - 20px) / 3);
	overflow: hidden;
}
.enfes_gchildren_area.no-space.col_3 li {
	width: calc(100% / 3);
	overflow: hidden;
}
.enfes_gchildren_area.normal.col_4 li {
	width: calc((100% - 30px) / 4);
	overflow: hidden;
}
.enfes_gchildren_area.no-space.col_4 li {
	width: calc(100% / 4);
	height: calc(width / 4 * 3);
	overflow: hidden;
}
.enfes_gchildren_area.normal.col_5 li {
	width: calc((100% - 40px) / 5);
	overflow: hidden;
}
.enfes_gchildren_area.no-space.col_5 li {
	width: calc(100% / 5);
	overflow: hidden;
}

/* log content */

.enfes_log_content {
	width: 100%;
	list-style : none;
	margin: 0 auto 15px;
	padding: 0;
	display: -webkit-flex;
	display: flex;
	-webkit-justify-content: space-between;
	justify-content: space-between;
}
.enfes_log_content_float {
	display: none;
}
.enfes_log_image_area {
	width: 130px;
}
.enfes_log_text {
	width: calc(100% - 130px - 1em);
}
.enfes_log_image {
	width: 100%;
	margin: 0;
	padding: 0;
	list-style : none;
}
.enfes_log_image li {
	height: 77px;
	margin-bottom: 5px;
	overflow: hidden;
	position: relative;
}
.enfes_log_image li img {
	width: 100%;
}
.enfes_log_image li iframe {
	transform: scale(0.35);
	transform-origin: 0 0;
}
a.fancybox-youtube.over_link {
	width: 130px;
	height: 77px;
	background-color: transparent;
	position: absolute;
	bottom: 0;
	left: 0;
}
.enfes_log_image li div.movie2_text_area {
	width: 100%;
	height: 100%;
	border: 1px solid #000000;
	background-color: #ffffff;
	display: -webkit-flex;
	display: flex;
	-webkit-justify-content: center;
	justify-content: center;
	-webkit-align-items: center;
	align-items: center;
}
.movie_play:before {
	font: var(--fa-font-solid);
	content: "\f144";
	font-size: 22px;
	color: #ffffff;
	position: absolute;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);}

/* history */

.enfes_history_area {
	list-style : none;
	margin: 0 auto;
	padding: 0;
	display: -webkit-flex;
	display: flex;
	-webkit-justify-content: space-between;
	justify-content: space-between;
}
.enfes_history_heading {
	width: 7em;
	margin: 0;
	padding: 0;
}
.enfes_history_text {
	width: calc(100% - 8em);
	margin: 0;
	padding: 0;
}
.enfes_history_text.longcell {
	width: 100%;
}

/* download */

.enfesdl {
	width: 100%;
	list-style : none;
	margin: 0 auto 15px;
	padding: 0;
	display: -webkit-flex;
	display: flex;
	-webkit-justify-content: flex-start;
	justify-content: flex-start;
}
.enfesdl.add_border {
	border-top: 1px solid #000000;
	margin-top: 10px;
	padding-top: 15px;
}
.enfesdl li:first-child {
	width: 11em;
}
.enfesdl li:last-child {
	text-align: left;
	width: (100% - 12em);
}

/* table */

.tablepress.enfes_overview td  {
	border-top: none !important;
}
.enfes_overview td {
	padding: 5px 0 !important;
}
.enfes_overview .column-1 {
	width: 5em;
	padding-right: 1em !important;
}
.enfes_overview .column-2 {
	width: cals(100% - 5.5em);
}
.tablepress.enfes_program {
	border-top: 1px solid #000000 !important;
	border-right: 1px solid #000000 !important;
}
.enfes_program td {
	border-left: 1px solid #000000 !important;
	border-bottom: 1px solid #000000 !important;
	padding: 5px !important;
	vertical-align: middle !important;
}
.enfes_program .column-1 {
	width: 8em !important;
	padding: 5px 1em;
	text-align: center;
}
.enfes_program .column-2 {
	width: calc(100% - 10em - 150px);
}
.enfes_program .column-3 {
	width: 150px;
}
.enfes_program .column-3 img {
	width:100%;
	object-fit: cover;
}

@media only screen and (orientation: landscape) {
	.enfes_nav_area {
		display: block;
	}
	.enfes_smart_nav_area {
		display: none;
	}
	.enfes_sns {
		display: block;
	}
	.enfes_sns_smart {
		display: none;
	}
	.enfes_log_content_float {
		display: none;
	}
}

@media only screen and (max-width: 480px) {
	#content_area.engekifes,
	.enfes_main_area {
		width: 100%;
	}
	.enfes_smart_nav_area nav {
		width: 6em;
		position: fixed;
		bottom: 145px;
		right: 0;
		z-index: 1000;
	}
	.enfes_smart_nav_area .enfes_sns {
		display: none;
	}
	.enfes_smart_nav_area .enfes_sns_smart {
		width: 3em;
		position: fixed;
		bottom: 60px;
		right: 0;
		z-index: 1100;
	}
	.enfes_smart_nav_area .menu-enfes_menu-container {
		width: 100%;
	}
	ul#menu-enfes_menu-1,
	ul#sns_smart {
		width: 100%;
		margin: 0;
		padding: 5px 0;
		list-style: none;
		text-align: left;
	}
	ul#menu-enfes_menu-1 li.menu-item,
	ul#sns_smart li {
		width: 100%;
	}
	ul#sns_smart li {
		height: 40px;
	}
	ul#menu-enfes_menu-1 li.menu-item h5,
	ul#sns_smart li h5 {
		width: 100%;
		height: 40px;
		background-color: #000000;
		opacity: 0.8;
		font-weight: normal;
		margin: 0;
		padding: 5px 7px;
		border-left: 1px solid #ffffff;
		border-bottom: 1px solid #ffffff;
		border-radius: 5px 0 0 5px;
		display: -webkit-flex;
		display: flex;
		-webkit-align-items: center;
		align-items: center;
	}
	ul#menu-enfes_menu-1 li.menu-item:first-child h5,
	ul#sns_smart li:first-child h5 {
		border-top: 1px solid #ffffff;
	}
	ul#sns_smart li h5 {
		height: 40px;
		font-size: 20px;
		-webkit-justify-content: center;
		justify-content: center;
	}
	ul#menu-enfes_menu-1 li.menu-item h5 a,
	ul#sns_smart li h5 {
		color: #ffffff;
	}
	.enfes_gchildren_area.normal li {
		margin-bottom: 5px;
	}
	.enfes_log_content {
		display: none;
	}
	.enfes_log_content_float {
		display: block;
		width: 100%;
		margin: 0 auto 15px;
		padding: 0;
	}
	.enfes_log_content_float:after {
		content: ""; 
		display: block; 
		clear: both;
	}
	.enfes_log_image {
		float: left;
		width: 130px;
		margin: 0 1em 0.5em 0;
	}
	.enfes_gchildren_area.normal.col_2 li {
		width: calc((100% - 5px) / 2);
		overflow: hidden;
	}
	.enfes_gchildren_area.normal.col_3 li {
		width: calc((100% - 10px) / 3);
		overflow: hidden;
	}
	.enfes_gchildren_area.normal.col_4 li {
		width: calc((100% - 15px) / 4);
		overflow: hidden;
	}
	.enfes_gchildren_area.normal.col_5 li {
		width: calc((100% - 20px) / 5);
		overflow: hidden;
	}
	/*.enfes_gchildren_area.normal {
		display: block;
	}
	.enfes_gchildren_area.normal li {
		width: 100% !important;
	}*/
	.enfes_program .column-1 {
		width: 6em !important;
		padding: 5px 0.5em;
		text-align: center;
	}
	.enfes_program .column-2 {
		width: calc(100% - 7em - 100px);
		vertical-align: middle;
	}
	.enfes_program .column-3 {
		width: 100px;
	}
	.enfesdl li:first-child {
		width: 6.5em;
		white-space: nowrap;
	}
	.enfesdl li:last-child {
		text-align: left;
		width: (100% - 7.5em);
	}
	.enfes_history_heading {
		width: 6.5em;
	}
	.enfes_history_text {
		width: calc(100% - 7em);
	}
	.enfes_program .column-1 {
		line-height: 140%;
	}
}