/* screens smaller than 1120---------------------------------------------------------- */
@media only screen and (min-width:641px) and (max-width:1119px) {

/*mainimg*/
/*------------------------------------------------------------------------------*/
.flexslider {
    width: 100%;
}
#mainimage .main_img {
	height: 53.57vw;
}
.slider-controls {
    display: none;
}
.mainimage_in {
	width: 95%;
	height: 53.57vw;
}

/*top_bnr01*/
/*------------------------------------------------------------------------------*/
#top_bnr01 ul {
	margin: 0;
}
#top_bnr01 li {
	width: 49%;
}
#top_bnr01 li:before {
	width: 40px;
	height: 40px;
}
#top_bnr01 li a .sub {
	width: 40%;
	padding: 4%;
	font-size: 18px;
	letter-spacing: 0;
}

/*top_box03*/
/*------------------------------------------------------------------------------*/
#top_box03 dl {
	max-width: auto;
	max-width: initial;
	width: 96%;
	margin: 0 2%;
}

/*top_bnr02*/
/*------------------------------------------------------------------------------*/
#top_bnr02 ul {
	margin: 0;
}
#top_bnr02 li {
	width: 48%;
	max-width: 330px;
	margin: 0 15px;
}
#top_bnr02 li:nth-child(1),
#top_bnr02 li:nth-child(2) {
	margin: 0 15px 20px;
}
#top_bnr02 li:nth-child(3),
#top_bnr02 li:nth-child(4) {
	margin: 0 15px 20px;
}


/*top_bnr03*/
/*------------------------------------------------------------------------------*/
#top_bnr03 li {
	margin: 0 15px 20px;
}


/*top_box05*/
/*------------------------------------------------------------------------------*/
#top_box05 ul {
	margin: 0;
}


/*------------------------------------------------------------------------------*/
}
/*------------------------------------------------------------------------------*/

/* screens smaller than 1025---------------------------------------------------------- */
@media only screen and (min-width:641px) and (max-width:1024px) {

/*top_box01*/
/*------------------------------------------------------------------------------*/
.top_box01_in {
	width: -webkit-calc((100% - 40px) / 3);
	width: calc((100% - 40px) / 3);
	margin-bottom: 40px;
}
#top_box01:after {
	content: '';
	display: block;
	width: -webkit-calc((100% - 40px) / 3);
	width: calc((100% - 40px) / 3);
}
.top_box01_in:before {
	content: none;
}
.top_box01_in p {
	display: none;
}
.top_box01_in:hover .img100 img {
    -webkit-transform: scale(1);
    transform: scale(1);
}

/*top_box02*/
/*------------------------------------------------------------------------------*/
#top_box02 {
	background: url(../image/top_box02_bg.jpg) no-repeat center top;
	background-size: cover;
}

/*top_box03*/
/*------------------------------------------------------------------------------*/
#top_box03 .blog_container {
	margin-bottom: 60px;
}
#top_box03 dl {
	border-bottom: none;
}
#top_box03 dl:hover {
	box-shadow: none;
	border-bottom: none;
}
#top_box03 dt:before {
	content: none;
}
#top_box03 dl:hover img {
    -webkit-transform: scale(1);
    transform: scale(1);
}

/*top_box04*/
/*------------------------------------------------------------------------------*/
#top_box04 {
	flex-direction: column;
}
#top_rss_box {
	width: 100%;
	margin-bottom: 30px;
}
#top_recruit_bnr {
	width: 100%;
	max-width: 600px;
	margin: 0 auto;
}
#top_recruit_bnr .rec_pc {
	display: none;
}
#top_recruit_bnr .rec_sp {
	display: block;
}

/*------------------------------------------------------------------------------*/
}
/*------------------------------------------------------------------------------*/


/* screens smaller than 820---------------------------------------------------------- */
@media only screen and (min-width:641px) and (max-width:819px) {

/*top_box01*/
/*------------------------------------------------------------------------------*/
.top_box01_in h4 {
	padding: 10px;
	font-size: 15px;
}

/*top_box02*/
/*------------------------------------------------------------------------------*/
#top_box02_in {
	width: 80%;
	margin: 0 auto;
	padding: 40px;
}



/*------------------------------------------------------------------------------*/
}
/*------------------------------------------------------------------------------*/


