@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;
}

img {
	max-width:100%;
	height:auto;
	margin:0 auto;
}

section .inr {
	padding-top:30px;
}


/* 2: header
================================== */
#wrapper {
	overflow-x:hidden;
}

#header {
	height:80px;
	position: fixed;
	background: white;
	width: 100%;
	z-index:999999;
}

	#header .inr {
		padding:0;
	}

#header h1 {
	position:absolute;
	width:100%;
	top:5px;
	left:0;
	margin:0 auto;
}
	
	#header h1 img {
		max-width:370px;
	}

#title {
	height:auto;
}

#title .inr {
	padding: 20px 10px;
}

#title h1 {
	font-size:2.5rem;
	padding:0;
}

h2 {
	font-size:2.2rem;
}

#btn {
	display: block;
}

#gloval_nav,
.rois {
	display:none;
}

.search {
	z-index:999;
	position:absolute;
	top:20px;
	left:10px;
}

#breadcrumb ul {
	margin:5px;
}

.dl-trigger {
	display: block;
	top: 10px;
	right:15px;
	position:fixed;
	height: 50px;
	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:80px;
	left:0;
	width:100%;
	height:90%;
	z-index:999999;
	overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    margin-bottom:80px;
}

#gloval_nav .flexbox_wap {
	display:block;
	position:relative;
	z-index:999;
	background:#006fb9;
}

.parentNav.fL,
.parentNav.fR {
	float:none!important;
}

.parentNav > li {
	margin:0;
	position:relative;
}

.parentNav > li > a {
	display:block;
	width:100%;
	color:white;
	border-bottom:solid 1px #fff;
}

.parentNav > li > a::after {
	border:0;
}

.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;
}
.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 > .sub-menu > li,
.parentNav li:nth-child(2) .nav_menu > .sub-menu > li {
	width:100%;
	margin-bottom:10px;
}

.parentNav > li.en a {
	padding:1em;
	text-align:center;
}

#main {
	padding-top:80px;
}

/* 3: footer
================================== */
#footer .inr ul.f_menu {
	justify-content: center;
}

.f_bg li {
	width:100%;
	text-align:left;
}

.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;
}




/* 5: top page
================================== */
.catch {
	top: 25%;
	left:0;
	right:0;
	text-align:center;
	font-size:2.3rem;
}

.english .catch {
	display:none;
}

.slider {
	min-height:auto;
}

.header_news,
#news_contents,
.header_news2,
#news_contents2 {
	margin:20px auto;
	width:90%;
	height:auto;
	float:none;
}


#soshiki .flexbox_sbwap {
	margin:0 20px;
}

#news_contents li {
}

#soshiki li {
	width: 100%;
	margin-right:0;
}

#soshiki li > a {
	min-height:auto;
}

#soshiki li:last-child {
	margin-left:0;
}


/* : sec page
================================== */
.sec .inr {
	padding:2em;
}
.photo {
    float: none;
    width: 100%;
    position: relative;
    padding: 1em;
    background-color: #f6f6f6;
    margin: 1em auto;
}

.w3eden .media {
	display:block!important;
}

.sub_menu li {
	font-size:1.6rem;
}

.home_link a {
	background:#666;
	padding:5px;
	display:block;
	text-align:center;
	width:100%
}

.left_column,
.right_column {
	width:100%;
}




}


/* ウィンドウ幅が～450pxの場合に適用するCSS */
@media only screen and (max-width: 500px) {
#header h1 img {
	width: 230px;
	margin-top:5px;
}
.search {
	top:10px;
}
#header {
	height:60px;
}

#gloval_nav {
	top:60px;
}

#main {
	padding-top:60px;
}

.catch {
	font-size:1.8rem;
}


	#news dt {
		width:100%;
		float:none;
	}
	
	#news dd {
		padding:0.5em;
		border-bottom:solid 1px #dfdfdf;
		margin-left:0;
		margin-bottom:0.5em;
	}

#news_contents li {
	width: 100%;
}
.update {
	margin-top:0.5em;
}

}


/* ieハック */
@media all and (-ms-high-contrast:none){
	*::-ms-backdrop, .dl-trigger img { margin: 0 auto; } /* IE11 */
}
