@charset "UTF-8";

@media screen and (max-width:640px) {
/* base */
img {
	max-width: 100%;
}
#wrapper {
	min-width: 0;
}
#nav a {
	font-size: 30px;
}
.sec {
	height: auto;
}
#about.sec{
	height: auto;
}
.sec-inner {
	display: block;
	padding: 30px 0;
}
.sec-inner-inner {
	display: block;
}
.sec-inner-inner1 {
	top:5%;
	margin:0 auto;
}
.sec-inner-inner2 {
	bottom: 1%;
	text-align: center;
}

.sec-box {
	width: auto!important;
	margin: 20px;
}
#kv .sec-inner {
	padding: 200px 0;
	text-align: center;
}

#kv .sec-inner-inner1 {
	position: absolute;
	text-align: center;
	top: 30%;
	z-index: 10;
	width: 100%;
}
#kv .sec-inner-inner2 {
	position: absolute;
	text-align: center;
	bottom: 10%;
	z-index: 20;
	width: 100%;
	/*height:50px;*/
}
#kv .sec-inner svg, #kv .sec-inner img, #kv .sec-inner .sec-inner-inner1 img {
	width: 200px;
	height: auto;
}

#kv .sec-inner .sec-inner-inner2 img {
	width:100px;
}

#vision .sec-box:last-child {
	/*display: none;*/
	width:80%!important;
	margin:0 20px ;
}
.vision-nav {
	text-align: center;
}
.brand-item {
	position: relative;
	top: auto;
	left: auto!important;
	width: 100%;
	height: auto;
}
.brand-item:nth-child(1) {
	background-position: 30% 50%;
}
.brand-item:nth-child(3) {
	background-position: 40% 50%;
}
.brand-close {
	margin-top: 0;
	margin-left: 0;
	z-index: 0;
}
.brand-item-box {
	width: auto;
	padding: 40px 20px;
}
.brand-item-active .brand-item-box {
	width: auto;
	min-height: 400px;
}
.brand-item-active .brand-item-inner {
	background: rgba(0,0,0,0.5);
	-webkit-transition: all .5s;
	transition: all .5s;
}
.brand-item-logo {
	display: block;
	width: auto;
	margin-bottom: 20px;
}
.brand-item-txt {
	display: block;
	width: auto;
}
.brand-item-txt p img{
	/*width:100%;*/
	text-align:center;
}

#about .sec-box:nth-child(1) {
	margin-bottom: 0;
}

#about th {
	display: block;
	color: #ddd;
	font-size: 13px;
	padding-bottom: 0;
	border: none;
}
#about td {
	display: block;
}
#profile {
	background-position: 60% 50%;
}
#profile .sec-inner {
	background: rgba(0,0,0,0.3);
}
#map {
	position: relative;
	height: 1050px;
}
#map-tab {
	display: block;
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
}
#map-tab a {
	display: block;
	float: left;
	color: #999;
	width: 50%;
	height: 50px;
	line-height: 50px;
	background: #000;
	text-decoration: none;
	text-align: center;
}
#map-tab a.active {
	color: #fff;
	background: #292929;
	cursor: default;
}
#map-kokura, #map-yahata {
	position: absolute!important;
	float: none;
	top: 50px;
	left: 0;
	width: 100%;
	height: 250px;
	border: none
}
#map-kokura1, #map-yahata1 {
	
	float: none;
	top: 50px;
	left: 0;
	width: 100%;
	height: 350px;
	border: none
}
.vision-item-PC {
	display: none;
	visibility: hidden;
}
.vision-item-MB {
	display:block;
	visibility: visible;
}
}
