@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,
.main_visual_pc {
	display: none;
}
.sp_show,
.main_visual_sp {
	display: block !important;
}

img {
	max-width:100%;
	height:auto;
	margin:0 auto;
}


/* 2: header
================================== */
#wrapper {
	overflow-x:hidden;
}
#header {
	height: 60px;
	box-sizing: border-box;
	padding-top:0;
}

.header_fixed {
	position:fixed;
	left:0;
	top:0;
	width:100%;
	height:60px;
    z-index:9999;
	background:white;
	padding-left:10px;
	padding-top:5px;
}

h1 {
	width:300px;
	padding:5px 0 0 55px;
	position:relative;
}

	h1 img {
		width:100%;
		height:auto;
	}

.jst_logo {
	display:block;
	width:50px;
	height:50px;
	background:url(../images/cmn/logo_jst_sp.svg) no-repeat;
	position:absolute;
	left:5px;
	top:5px;
}

.jst_logo img{
	display:none;
}

.main_visual_inr {
	min-width:auto;
}


/* -----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%;
	padding-bottom:60px;
}


.menu_bg {
    clear: both;
    display: block;
    margin: 0 -200%;
    padding: 0 200%;
    border-bottom: none;
    position: relative;
}

.menu li.menu__single {
	width:100%;
}

.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;
}


.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: 5px;
	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: #FABD00  ;
}
.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: 5px;
	right: 10px;
	width: 48px;
	height: 48px;
	background: #fff;
	z-index: 999;
}
.open_icn:before,
.open_icn:after {
	display: block;
	content: '';
	width: 2px;
	height: 12px;
	background: #000;
	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;
}

.menu > li.header_subnav {
	position:relative;
	top:0;
	left:0;
}

.menu > li.header_subnav .flexbox_wap {
	display:block;
}

.menu > li.header_subnav li a::before {
	background:none;
	right: 16px!important;
}


/* -----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;
}


.menu__second-level {
	display: none;
	position: static;
	visibility: visible;
	width: 100%;
	opacity: 1;
	background:white;
}
.menu__second-level li {
	border-top: none;
}
.menu__second-level li > a {
	padding-left: 40px;
	font-weight: bold;
}


/* 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 10px;
}
#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
================================== */
#information {
	font-size:1.4rem;
}

#information dt::after {
    border-width: 19px 0 19px 19px;
}

.new_box {
	width:100%;
	position:relative;
	padding:10px;
}



#news .inr {
	padding:0;
}

#news dt {
	float:none;
	width:100%;
}

#news dd {
	margin-left:1em;
}

.new {
	padding:0 0.5em;
}

.new::before {
	border:0;
}


/*関連リンク*/
.link_list dt {
    width: 100%;
}
.link_list dt img {
   margin:0 auto;
   max-width:100%;
}

.link_list dd {
    width: 100%;
}

.link_list dd .site-title {
    font-weight: bold;
}

.research .fL {
	float:none!important;
	margin-bottom:10px;
}

.prof {
	padding:0;
}


.name {margin-left:120px; display:block; float:none;}
.rm-affiliation,
.rm-other-affiliation,
.rm-section,
.rm-job,
.rm-other-job {margin-left:120px; display:block;}
.panel {margin-left:120px; display:block;}


/*研究課題*/

.mokuji li {
	margin-bottom:5px;
}

ul.mokuji,
.accordionlist .pd.last {
	position:initial;
}




}


@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;
}


}


/* ieハック */
@media all and (-ms-high-contrast:none){
	*::-ms-backdrop, .dl-trigger img { margin: 0 auto; } /* IE11 */
}
