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


/* ウィンドウ幅が～950pxの場合に適用する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;
}

img {
	max-width:100%;
	height:auto;
	margin:0 auto;
}


/* 2: header
================================== */
#wrapper {
	overflow-x:hidden;
}

#header {
	height:60px;
	position: fixed;
	background: white;
	width: 100%;
	z-index:999999;
}

	#header .inr {
		padding:0;
	}

#header h1 {
	width:240px;
	margin:0 auto 0 60px;
}
	
	#header h1 img {
		width:100%;
		height:auto;
	}


#btn {
	display: block;
}

#gloval_nav {
	display:none;
}

.logo_link {
	display: block;
    width: 50px;
    height: 50px;
    background: url(../img/logo_jst_sp.svg) no-repeat;
    position: absolute;
    left: 5px;
    top: 5px;
	margin-top:0;
}

	.logo_link img {display:none;}

.header_menu .flexbox_wap.fR li.en {
	display:block;
	margin-right:40px;
	margin-top:12px;
}


.dl-trigger {
	display: block;
	top: 10px;
	right:5px;
	position:fixed;
	height: 50px;
	width:38px;
	background: none;
	border: none;
	text-indent: -900em;
	overflow: hidden;
	cursor: pointer;
	outline: none;
	z-index: 99999;
	-webkit-transition: .35s ease-in-out;
	-moz-transition: .35s ease-in-out;
	transition: .35s ease-in-out;
	margin-bottom:20px;
}
.dl-trigger img {
	width: 30px;
	height: auto;
	margin: 10px auto 0;
}
.dl-trigger span {
	position: absolute;
	left: 0;
	right: 0;
	display: inline-block;
	width: 30px;
	height: 2px;
	margin: 0 auto;
	transition: all .4s;
	background-color: #333;
}
.dl-trigger span:nth-of-type(1) {
	top: 7px;
}
.dl-trigger span:nth-of-type(2) {
	top: 15px;
}
.dl-trigger span:nth-of-type(3) {
	bottom: 25px;
}
.dl-trigger.active span:nth-of-type(1) {
	-webkit-transform: translateY(5px) rotate(-45deg);
	transform: translateY(5px) rotate(-45deg);
}
.dl-trigger.active span:nth-of-type(2) {
	opacity: 0;
}
.dl-trigger.active span:nth-of-type(3) {
	-webkit-transform: translateY(-10px) rotate(45deg);
	transform: translateY(-10px) rotate(45deg);
}
.fixbody {
	overflow: hidden;
	width: 100%;
	height: 100%;
}

.spnav_close {
	margin-top:20px;
    margin-bottom: 30px;
    cursor: pointer;
}

.spnav_close span {
    display: block;
    width: 30%;
    margin: 0 auto;
    padding: 10px;
    background: #FFF;
    text-align: center;
    color: #000;
    font-weight: bold;
}

	.spnav_close span:hover {
		background:#48c4b7;
		color:white;
	}

#gloval_nav {
	position:fixed;
	top:60px;
	left:0;
	width:100%;
	height:90%;
	z-index:999999;
	overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    margin-bottom:80px;
}

#gloval_nav .flexbox_sbwap {
	display:block;
	position:relative;
	z-index:999;
	background:#fabd00;
}

.header_subnav {
	position:relative;
	top:0;
	left:0;
}

.parentNav > li,
.header_subnav li {
	margin:0;
	padding:0;
	position:relative;
	width:100%;
}

.header_subnav li.search_box {
	padding: 20px;
}
.search {
	position: static;
}

#header .parentNav > li > a,
#header .header_subnav li a {
	display:block;
	width:100%;
	color:black;
	border-bottom:solid 1px #000;
	padding:10px;
	font-weight:bold;
	border-top:0;
}

.parentNav > li > a::after {
	border:0;
}

.header_subnav li a::before,
.header_subnav li a::after {
	border:0;
	background:none;
}

.nav_tit,
.megaNavClose {
	display:none;
}

.nav_menu {
	width:100%;
	padding:15px 15px 0 15px
}

.open_icn {
	display: block;
	position: absolute;
	top: 0;
	right: 0px;
	width: 48px;
	height: 48px;
	background: #006fb9;
	z-index: 999;
}
.open_icn:before,
.open_icn:after {
	display: block;
	content: '';
	width: 2px;
	height: 12px;
	background: #FFF;
	position: absolute;
	top: 18px;
	left: 24px;
	border:0;
	transform: rotate(0deg);
	-webkit-transform: rotate(0deg);
}
.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;
}

#gloval_nav ul > li > .meganav {
	position:relative;
	top:0;
}
.nav_menu > .flexbox_wap > li {
	width:100%;
	margin-bottom:10px;
}


/* -----google検索----- */
#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;
	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;
}

.link_banner li {
	height:auto;
}


/* 3: footer
================================== */
#footer .inr ul.f_menu {
	justify-content: center;
}

.f_bg li {
	width:100%;
	text-align:left;
	padding:0.2em;
}

.f_bg li a {
	display:block;
}

	#footer .f_menu li a {
		font-size: 1.2rem;
	}

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

#footer dd {
	display:none;
}

#footer dt {
	position:relative;
	display:block;
	padding:0.5em;
}

#footer dt::after {
    content: "";
    display: inline-block;
    width: 10px;
    height: 10px;
    margin-right: 5px;
    position: absolute;
    right: 0;
    top: 35%;
    content: "";
    width: 8px;
    height: 8px;
    border-top: 2px solid #fff;
    border-right: 2px solid #fff;
    -webkit-transform: rotate(135deg);
    transform: rotate(135deg);
}

#footer dd a {
	display:block;
	position:relative;
	padding:0.5em;
}

#footer dd a::after {
    content: "";
    display: inline-block;
    width: 10px;
    height: 10px;
    margin-right: 5px;
    position: absolute;
    right: 0;
    top: 35%;
    content: "";
    width: 8px;
    height: 8px;
    border-top: 2px solid #fff;
    border-right: 2px solid #fff;
    -webkit-transform: rotate(45deg);
    transform: rotate(45deg);
}




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

.inr {
	padding: 0 10px;
}
#breadcrumb {
	font-size: 1.2rem;
}

#breadcrumb ul {
	margin:0 5px;
}

#main {
	margin-top:30px;
}



/* 5: top page
================================== */
.catch {
	text-align:left;
	font-size:1.8rem;
	padding:10px;
}

#main_visual {
	border-radius:0;
}

	#main_visual::after {
		content:"";
		width:0;
		height:0;
	}

.newsContainer {
}
.newsContainer dl {
	display:block;
}

	.newsContainer dt {
		width:100%;
	}


.newsMore {
	right:5px;
}




/* : sec page
================================== */
.sec .inr {
}

.sec img {
	max-width:auto;
	height:auto;
	width:100%;
}

.sec #main_visual h1 {
	font-size:2.0rem;
	text-align:center;
}

.sec #main h2 {
	font-size:1.8rem;
}

h3,h4,h5,.heading {
	font-size:1.6rem;
}

.left_contents,
.right_contents {
	width:100%;
}
nav.sidebar {
	margin-bottom:2em;
}

.sidebarfixed {
	position:relative;
}

.table_scroll {
	overflow:auto;
}

th {
	white-space:break-spaces;
}
.member_table {
	width:100%;
}


.new_box dl{
display:block;
}
.new_box dt,.new_box dd{  width: 100%;
}


}


/* ウィンドウ幅が～450pxの場合に適用するCSS */
@media only screen and (max-width: 500px) {
#header h1 {
	width:240px;
}


.search {
	top:10px;
}
#header {
	height:60px;
}

#gloval_nav {
	top:60px;
}


#main {
	margin-top:0;
}

.catch {
	font-size:1.6rem;
}

.link_banner li {
	height:auto;
	width:100%;
}


}


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