@charset "utf-8";
/*=================================
1: setting
2: header
3: footer
4: common-content
5: top page
6: second page
=================================*/


/* ウィンドウ幅が～768pxの場合に適用するCSS */
@media only screen and (max-width: 768px) {

/* 1: setting
================================== */
body {
	width: 100%;
	min-width: 100%;
	font-size: 1.5rem;
}
.sp_none {
	display: none;
}
.sp_show {
	display: block !important;
}

/* 2: header
================================== */
#wrapper {
	overflow-x:hidden;
}
#header {
	height: 70px;
	box-sizing: border-box;
}

.header_fixed {
	position:fixed;
	width:100%;
	height:60px;
    background:url(../images/cmn/head_back.jpg) #070604 no-repeat center center;
    z-index:9999;
}

.title {
	margin-left:10px;
	padding-top:10px;
}

.title li:first-child img {
	width:40px;
	height:auto;
}


.title h1 {
	margin:0;
	float:left;
}

.title li:first-child {
	margin-right:10px;
}

	.title h1 img {
		max-height:40px;
		width:auto;
	}

.header_main {
	padding: 0;
	height: auto;
}

.title .flexbox_wap {
	float:left;
}

#main_back {
	height:auto;
	/*min-height:450px;*/
	min-height: 800px;
}

	.sec #main_back {
		min-height:70px;
	}

#main_back img {
	max-width:100%;
	height:auto;
}
 
#main_back:before {
    top: 0;
    right: 0;
    width: 100%;
    background: #070604;
}

.main_image {
	position:relative;
	width:100%;
	padding-top:60px;
	top:0;
	background:url(../images/cmn/main_image.jpg) no-repeat;
	background-position: center 60px;
	background-size:cover;
	min-height:450px;
}

.header_main .inr {
	margin:0;
	padding:0;
}

.catch {
	position:absolute;
	top:300px;
	color:white;
	padding-right:1em;
}

.lead {
	position:absolute;
	top:470px;
	max-width: 100%;
	padding: 0 24px;
}

/* -----gnav----- */

#menu {
	display: none;
	position: fixed;
	top: 60px;
	right: 0;
	left: 0;
	width: 100%;
	height: 100%;
	margin: 0 auto;
	padding: 0;
	z-index: 999;
	max-height: 200%;
}


.menu_bg {
    clear: both;
    display: block;
    margin: 0 -200%;
    padding: 0 200%;
    border-bottom: none;
    position: relative;
}

.menu > li a {
	position: relative;
	display: block;
	padding: 5px 20px;
}
.menu > li a:before {
	position: absolute;
	content: "";
	box-sizing: border-box;
	right: 16px;
	top: 40%;
	width: 4px;
	height: 4px;
	border: 4px solid transparent;
	border-left: 4px solid #000;
}


	.sec .menu > li a:before {
		border-left: 4px solid #fff;
	}

.menu > li > a::after {
	display: none;
}
/*.menu__second-level {
	display: none;
	position: static;
	visibility: visible;
	width: 100%;
	opacity: 1;
	background: #0076a5;
}
.menu__second-level li {
	border-top: none;
}
.menu__second-level li > a {
	padding-left: 40px;
	font-weight: bold;
}*/


.menu > li.lang {
	position:relative;
	top: 0;
	right: 0;
	margin-bottom:1em;
}

	.menu > li.lang a {
		background: #fff;
		color:#333;
	}

.menu_bg{
	position: static;
}

.dl-menu {
	display: block;
	height: 100%;
	background: #fff;
	overflow-y: auto;
	-webkit-overflow-scrolling: touch;
}

	.sec .dl-menu {
		background:#000;
	}

.dl-trigger {
	display: block;
	position: absolute;
	top: 10px;
	right: 14px;
	height: 36px;
	background: none;
	border: none;
	text-indent: -900em;
	overflow: hidden;
	cursor: pointer;
	outline: none;
	z-index: 999;
	-webkit-transition: .35s ease-in-out;
	-moz-transition: .35s ease-in-out;
	transition: .35s ease-in-out;
}
	.header_main_inr_sec .dl-trigger {
		top: 0;
		right: -10px;
	}
.dl-trigger img {
	width: 24px;
	height: auto;
	margin: 10px auto 0;
}
.dl-trigger span {
	position: absolute;
	left: 0;
	right: 0;
	display: inline-block;
	width: 24px;
	height: 2px;
	margin: 0 auto;
	transition: all .4s;
	background-color: #fff  ;
}
.dl-trigger span:nth-of-type(1) {
	top: 7px;
}
.dl-trigger span:nth-of-type(2) {
	top: 21px;
}
.dl-trigger span:nth-of-type(3) {
	bottom: 20px;
}
.dl-trigger.active span:nth-of-type(1) {
	-webkit-transform: translateY(7px) rotate(-45deg);
	transform: translateY(7px) rotate(-45deg);
}
.dl-trigger.active span:nth-of-type(2) {
	opacity: 0;
}
.dl-trigger.active span:nth-of-type(3) {
	-webkit-transform: translateY(0px) rotate(45deg);
	transform: translateY(0px) rotate(45deg);
}
.fixbody {
	overflow: hidden;
	width: 100%;
	height: 100%;
}
.open_icn {
	display: block;
	position: absolute;
	top: 0;
	right: 0px;
	width: 48px;
	height: 48px;
	background: #666;
	z-index: 999;
}
.open_icn:before,
.open_icn:after {
	display: block;
	content: '';
	width: 2px;
	height: 12px;
	background: #FFF;
	position: absolute;
	top: 18px;
	left: 24px;
}
.open_icn:before{
	width: 12px;
	height: 2px;
	top: 23px;
	left: 19px;
}
.open_icn:after,
.open_icn:before {
	transition: all .4s;
}
.open_icn.open_icnactive:after {
	-webkit-transform: rotate(-90deg);
	transform: rotate(-90deg);
}
.open_icn.open_icnactive:before {
	opacity: 0;
}


ul.dl-menu > li a{
    border-bottom: dashed 1px #dfdfdf;
    height: auto;
    padding-top: 10px;
    padding-bottom: 10px;
    text-align: left;
    margin:0 10px;
}


ul.dl-menu > li .splang a {
    border-bottom: none;
}

.menu > li .splang a::before{
    position: relative;
    content: none;
    box-sizing: border-box;
    right: 0;
    top: 0;
    width: 0;
    height: 0;
    border: none;
    border-left: 0px solid #000;
}



.spnav_close {
	margin-bottom: 50px;
	padding-bottom: 50px;
}
.spnav_close span {
	display: block;
	width: 80%;
	margin: 0 auto;
	padding: 10px;
	background: url(../images/icon_link.png) no-repeat #FFF;
	background-position: bottom 1px right 1px;
	text-align: center;
	box-shadow : 0px 1px 1px rgba(0, 0, 0, 0.2);
	color: #000;
	font-weight: bold;
}

/* -----google検索----- */
.search_box {
	padding: 20px;
}
.search {
	position: static;
}
#g-k-w-search .gsc-search-box {
	position: relative;
}
#g-k-w-search .gsc-search-box .gsc-search-button {
	position:absolute;
	top: 0px;
	right: 10px;
}


#g-k-w-search .gsc-search-box .gsc-search-button-v2{
		background: none;
}


#g-k-w-search .gsc-search-box .gsc-search-button.gsc-search-button-v2 {
	right: 0;
	top: -5px;
}
/* テキストボックスの親要素。width指定しつつfloatで左寄せ */
#g-k-w-search .gsc-search-box td.gsc-input,
#g-k-w-search .gsc-search-box td.gsc-input .gstl_50,
#g-k-w-search .gsc-search-box .gsib_a {
	width: 100% !important;
}
/* テキストボックスのデザイン設定 */
#g-k-w-search .gsc-search-box input#gsc-i-id1 {
	box-sizing: border-box;
	height: 40px !important;
	border-radius: 40px;
	box-shadow: none;

}

body #g-k-w-search .gsc-search-box input#gsc-i-id1{
    background-color: #efefef!important;
}

/* テキストボックスに文字入力したときに出る「×」マークの位置調整 */
#g-k-w-search .gsc-search-box .gsib_b {
	position: absolute;
	width: 20px;
	top: -1px;
	left: 10px;
}


#g-k-w-search .gsc-search-box input#gsc-i-id1 {
	box-sizing: border-box;
	height: 30px !important;
	padding: 5px 50px !important;
	border-radius: 20px;
	-webkit-box-shadow: 30px 30px 30px 0 rgba(200,200,200,0.4) inset;
	-moz-box-shadow: 30px 30px 30px 0 rgba(200,200,200,0.4) inset;
	box-shadow: 30px 30px 30px 0 rgba(200,200,200,0.4) inset;
	background-position: 15px center !important;
}


.menu > li.search_box {
    position: static;
}


.menu > li.search_box a::before {
	content: none;
}


ul.dl-menu > li.search_box a{
    padding: 0;
	padding-top: 0px;
	padding-bottom: 0px;
}




/* 3: footer
================================== */
#footer .f_menu li {
	width:45%;
	text-align:left;
}

	#footer .f_menu li a {
		padding: 0 10px;
		font-size: 1.2rem;
	}

	#footer .f_menu li::before {
    margin-right: 0;
	}



/* 4: common-content
================================== */

.inr {
	padding: 0 20px;
}
#breadcrumb {
	font-size: 1.2rem;
}
.link_blank {
	background:url(../images/cmn/icn_blank.svg) no-repeat right center;
	background-size: 10px;
	margin-right: 12px;
}




/* 5: top page
================================== */
#news > .flexbox_sbwap,
#sdgs > .flexbox_wap {
	display:block;
}

#news::before {
	background:none;
}

.new_box,
.link_box {
	width:100%;
	position:relative;
}

.new_box {
	background:#C4C4C4;
}

	.sec .new_box {
		background:#fff;
		padding:30px 0;
	}
	
	.sec .new_box .inr {
		padding:0;
	}

.top .new_box .slider_brochure li {
	max-width:500px;
}

	.new_box .slider_brochure li img {
		width:100%;
		max-width:auto;
	}

.slider_brochure .slick-prev {
	left: 0;
}
.slider_brochure .slick-next {
	right: 0;
}


.link_box::before {
    top: 0;
    right: 0;
    width: 100%;
    height: 100%;
    content: '';
    position: absolute;
    background: #374149;
    z-index:-1;
	margin:0 -200%;
	padding:0 200%;
}

#news .inr {
	padding:0;
}


.link_box img,
#sdgs img {
	margin:0 auto;
	max-width:100%;
	height:auto;
}

	#sdgs .flexbox_wap li:first-child,
	#sdgs .flexbox_wap li:last-child {
		width:100%;
	}

#sec .field {
	margin-top:1em;
}

#sec .field tr:nth-child(n+2) {
    display: block;
    margin-bottom: 1em;
    border: 1px solid #999;
    border-radius: 3px;
    box-shadow: 0px 1px 2px rgba(25, 25, 25, 0.2);
    padding:5px;
}

#sec .field th,
#sec .field td.bunya {
	display:none;
}

#sec .field td.kadai,
#sec .field td.country {
	display:block;
	width:100%;
	border:0;
}

#sec .field td.name,
#sec .field td.syozoku1,
#sec .field td.syozoku2 {
	display:inline;
	border:0;
}

.bunya1:before {
	content:"環境・エネルギー分野";
	display:block;
	width:100%;
	background:#eee;
	padding:0.2em;
	margin-bottom:0.2em;
}

.bunya2:before {
	content:"生物資源分野";
	display:block;
	width:100%;
	background:#eee;
	padding:0.2em;
	margin-bottom:0.2em;
}

.bunya3:before {
	content:"防災分野";
	display:block;
	width:100%;
	background:#eee;
	padding:0.2em;
	margin-bottom:0.2em;
}

.sec .detail th,
.sec .detail td {
	display:block;
	width:100%;
}




}


@media only screen and (max-width: 500px) {
	.main_image,
	#main_back {
		/*min-height:400px;*/
	}
	
	.main_image {
		background-position: center 60px;
	}
	
	.catch {
		top:200px;
	}
	
	.new_box li {
		width:100%;
		margin-bottom:20px;
	}
	
	#footer .inr {
		padding:0;
		text-align:center;
	}
	
	#footer table {
		width:100%;
	}
	
	#footer td {
		display:block;
		width:100%;
		text-align:center;
	}
	
	#footer img {
		margin:0 auto;
	}
	
#relation .flexbox_cwap li {
	margin-bottom:20px;
	margin-right:0;
}

.iden_img {
	display:none;
}
.iden_balloon1,
.iden_balloon2 {
	width:100%;
}



}


/* ieハック */
@media all and (-ms-high-contrast:none){
	*::-ms-backdrop, .dl-trigger img { margin: 0 auto; } /* IE11 */
}

/* メインビジュアル横にテキスト追加。スマホ調整のため個別メディアクエリ設置 */
@media only screen and (max-width: 540px) {
	#main_back {
		min-height: 1000px;
	}
}
@media only screen and (max-width: 370px) {
	#main_back {
		min-height: 1140px;
	}
}