-/* Responsive Styles
================================================== */

/* All size smaller than 1301 */
@media only screen and (max-width: 1300px) {

	footer .container {
		margin: 0 auto;
		max-width: 1200px;
		padding: 0px;
		position: relative;
	}
	.container,
	.boxed-layout #page,
	.boxed-layout-small #page {
		max-width: 970px;
		width: 95%;
	}
	.boxed-layout .container,
	.boxed-layout-small .container {
		max-width: 904px;
	}
	.four-column-full-width {
		width: 33.33%;
	}
	footer.container {
		margin: 0 auto;
		width: 95%;
		padding: 0px;
		position: relative;
	}
	.site-info {
	    padding: 100px 0px 85px 0;
	    font-size: 14px;
	    line-height: 22px;
	    text-align: center;
	    background-position: center center;
	    background-size: cover;
	}
}
/* All size smaller than 1201
================================================== */
@media only screen and (max-width: 1200px) {
	.container,
	.boxed-layout #page,
	.boxed-layout-small #page {
		width: 95%;
	}
	.contact_form_wrap div.form_left {
	    width: 100%; 
	}
	.wpcf7-select {
	    width: 380px;
	}
}
/* All size smaller than 1024
================================================== */
@media only screen and (max-width: 1023px) {
	.container,
	.boxed-layout #page,
	.boxed-layout-small #page,
	#site-title a img {
		max-width: 970px;
	}
	.boxed-layout #page,
	.boxed-layout-small #page {
		overflow: hidden;
	}
	.boxed-layout .container,
	.boxed-layout-small .container,
	.boxed-layout #site-title a img {
		width: 668px;
	}
	.widget-title {
		font-size: 22px;
		line-height: 30px;	
	}
	.slider-content .slider-title a {
		font-size: 24px;
		line-height: 31px;
	}
	.slider-content .slider-text h3 {
		font-size: 15px;
		line-height: 22px;
	}
	#page_contents {
		max-width: 100%;
		padding: 0 10px;
	}

	#primary,
	#secondary {
		margin-bottom: 50px;
		padding: 0px;
		float: none;
		width: 100%;
		border: none;
	}
	.left-sidebar-layout #primary {
		float: none;
		padding-left: 0px;
	}
	.left-sidebar-layout #secondary {
		float: none;
		padding-right: 0px;
		border: none;
	}
	/* ----- Column ----- */
	.column {
		margin: 0 -15px;
	}
	.two-column,
	.three-column,
	.four-column {
		padding: 0  15px 40px;
	}
	.two-column,
	.four-column,
	.three-column,
	.four-column-full-width,
	.business-sidebar .three-column,
	.boxed-layout-small .four-column-full-width {
		width: 50%;
	}
	.widget_about_us .two-column,
	.widget_latest_blog .two-column {
		padding: 0 0 30px;
		width: 100%;
	}
	.three-column:nth-child(3n+4),
	.four-column:nth-child(4n+5),
	.column-2:nth-child(2n+3),
	.column-3:nth-child(3n+4),
	.column-4:nth-child(4n+5) {
 		clear: none;
	}
	.three-column:nth-child(2n+3),
	.four-column:nth-child(2n+3) {
 		clear: both;
	}

	#colophon .widget-area {
		margin: 0;
		display: block;
	}
	#colophon .column-1,
	#colophon .column-2,
	#colophon .column-3,
	#colophon .column-4 {
		border-right: none;
		width: 100%;
		float: none;
		padding: 0;
		display: block;
	}
}
/* All Mobile Screen ( smaller than 861px )
================================================== */
@media only screen and (max-width: 860px) {

	.footer_info_wrap div.footer_logo {
		padding: 0 0px 20px 0;
	}
	.footer_info_wrap div.footer_menu_wrap {
		  display: -webkit-box;
		  display: -webkit-flex;
		  display: -ms-flexbox;
		display: flex;
		  -webkit-flex-wrap: wrap;
		  -ms-flex-wrap: wrap;
		flex-wrap: wrap;
		width: 100%;
	}
	.footer_info_wrap div.footer_menu_wrap div.copyright {
		margin-top: 20px;
	}
}
/* All Mobile Screen ( smaller than 801px )
================================================== */
@media only screen and (max-width: 800px) {
	.top_main_wrap div.top_logo_box {
	    width: 100%;
	    float: none;
	}
	.top_main_text br.br {
	    display: none;
	}
	.top_main_wrap div.top_contents1_box,
	.top_main_wrap div.top_contents2_box,
	.top_main_wrap div.top_contents3_box {
	    width: 100%;
	}
	.top_main_wrap div.top_contents1_box {
	    float: none;
	    margin: 50px 0 0 0;
	}
	.top_main_wrap div.top_contents2_box {
	    float: none;
	    margin: 30px 0 0 0;
	}
	.top_main_wrap div.top_contents3_box {
	    float: none;
	    margin: 30px 0 0 0;
	}
	.top_main_wrap div.top_contents1_box a:hover .top_contents_title div,
	.top_main_wrap div.top_contents2_box a:hover .top_contents_title div,
	.top_main_wrap div.top_contents3_box a:hover .top_contents_title div {
	    display: inline-block;
	    content: url(https://www.8686group.jp/sys1/wp-content/themes/8686group/img/icon_arrow1.svg);
	    width: 60px;
	    position: relative;
	    bottom: 13px;
	    margin-right: 15px;
	}
	.top_worksitem_wrap {
	      -webkit-box-pack: justify;
	      -ms-flex-pack: justify;
	    justify-content: space-between;
	}
	.top_worksitem_wrap div.worksitem_inner {
	    width: 48%;
	    margin: 0 0% 4% 0;
	}
	.top_worksitem_wrap div.worksitem_inner:nth-of-type(3n) {
	    margin: 0 0% 4% 0;
	}

	.top_recruit_bnr a {
			-webkit-box-pack: start;
			-ms-flex-pack: start;
		justify-content: flex-start;
	      -webkit-flex-wrap: nowrap;
	      -ms-flex-wrap: nowrap;
	    flex-wrap: nowrap;
	    padding: 40px 35px;
	    width: 100%;
	    border-radius: 20px;
	}
	.top_recruit_bnr div.recruit_img {
	    width: 25%;
	    min-width: 130px;
	    margin: 0 0;
	    padding: 0 0px;
	}
	.top_recruit_bnr div {
	    width: 75%;
	    text-align: left;
	    margin: 15px 0 0 40px;
	}
	/*制作実績*/
	.works_list-all {
	      -webkit-box-pack: justify;
	      -ms-flex-pack: justify;
	    justify-content: space-between;
	}
	.works_list-all article {
	    width: 48%;
	    margin: 0 0 4% 0;
	}
	.works_list-all article:nth-of-type(3n) {
	    margin: 0 0 4% 0;
	}
	/*求人情報*/
	.recruit_app {
	    padding: 40px 40px 40px 20px;
	}
	.recruit_app_left {
	    min-width: 135px;
	}
	.recruit_app_right {
	    width: 80%;
	    padding: 0 0 0 30px;
	}
}
/* All Mobile Screen ( smaller than 768px )
================================================== */
@media only screen and (max-width: 767px) {

	.container,
	.boxed-layout #page,
	.boxed-layout-small #page {
		max-width: 95%;
	}
	.boxed-layout .container,
	.boxed-layout-small .container {
		width: 440px;
	}
	.comments-title,
	#respond h3#reply-title {
		font-size: 26px;
		line-height: 32px;
	}
	#main h1,
	#main h2,
	#main h3,
	#main h4,
	#main h5,
	#main h6 {
		padding-bottom: 10px;
	}
	hr {
		margin-bottom: 30px;
	}
	input[type="text"],
	input[type="email"],
	input[type="search"],
	input[type="password"],
	textarea,
	input[type="reset"],
	input[type="button"],
	input[type="submit"] {
		margin-bottom: 20px;
	}
	input.s {
		margin: 0;
	}	
	.boxed-layout #colophon,
	.boxed-layout-small #colophon {
		margin-bottom: 20px;
	}
	#site-branding {
		padding: 31px 0px 10px 20px;
	}

	.boxed-layout #site-branding,
	.boxed-layout #site-title a img,
	.boxed-layout-small #site-branding,
	.boxed-layout-small #site-title a img {
		max-width: 400px;
	}
	.header-search,
	.header-search-x {
		display: none;
	}
	.site-header {
		height: 90px;
	}
	/* ----- Responsive Navigation ----- */
	#sticky_header-sticky-wrapper {
		height: auto !important;
	}
	#sticky_header {
		position: relative !important;
		height: 90px;
	}
	.is-sticky #sticky_header {
		top: 0 !important;
	}
	.nav-site-title {
		display: none;
	}
	.toggle_btn {
	    margin: 14px 0 0 30px;
	    width: 44px;
	    height: 29px;
	}
	.toggle_btn span {
	  width: 44px;
	}
	.toggle_btn span:nth-child(2) {
	  top: 12px;
	}
	.open .toggle_btn span:nth-of-type(1) {
	  -webkit-transform: translateY(13px) rotate(-45deg);
	  transform: translateY(13px) rotate(-45deg);
	}
	.menu-toggle {
		background-color: #fff;
		border: 0 none;
		color: #666;
		cursor: pointer;
		display: block;
		font-size: 0;
		margin: 0 auto;
		padding: 10px 0;
		text-align: center;
		width: 32px;
	}
    .line-one, 
    .line-two, 
    .line-three {
		backface-visibility: hidden;
		display: block;
		height: 3px;
		margin: 5px auto;
		-webkit-transition: all 0.3s;
	    	-moz-transition: 	all 0.3s;
	    	-o-transition: 		all 0.3s;
    	transition: 		all 0.3s;
		width: 100%;
	}
	.menu-toggle.on .line-one {
			-moz-transform: rotate(-45deg) translate(-5px, 5px);
	        -o-transform: rotate(-45deg) translate(-5px, 5px);
	        -webkit-transform: rotate(-45deg) translate(-5px, 5px);
    	transform: rotate(-45deg) translate(-5px, 5px);
	}
	.menu-toggle.on .line-two {
		opacity: 0;
			-moz-opacity: 0;
			filter:alpha(opacity=0);
	}
	.menu-toggle.on .line-three {
			-moz-transform: rotate(45deg) translate(-6px, -6px);
	        -o-transform: rotate(45deg) translate(-6px, -6px);
	        -webkit-transform: rotate(45deg) translate(-6px, -6px);
    	transform: rotate(45deg) translate(-6px, -6px);
	}
	.menu {
		/*display: none;*/
		display: block;
	}
	.widget_nav_menu .menu {
		display: block;
	}
	.toggled-on .menu {
		display: block;
	}
	.main-navigation {
		float: none;
		padding: 0;
	}
	.main-navigation > ul > li {
		position: inherit;
		width: 100%;
		border-top: 1px solid rgba(0, 0, 0, 0.1);
		margin-left: 0;
	}
	.main-navigation > ul > li::before {
		visibility: hidden;
	}
	.main-navigation a {
		float: none;
		padding: 10px 0;
		height: inherit;
	}

	/* ----- Dropdown ----- */
	.main-navigation ul li:hover ul {
	  	top: auto;
	}
	.main-navigation ul li ul {
		background-color: transparent;
	  	top: auto;
	  	width: 100%;
	  	left: 40px;
	  	display: block;
		opacity: 1;
		-moz-opacity: 1;
		filter:alpha(opacity=100);
	  	visibility:visible;
	  	position: static;
	  	box-shadow: none;
	}
	.main-navigation ul li ul li {
		float: none;
		margin: 0;
		position: relative;
	    text-align: left;
	    width: 100%;
	    z-index: 1;
	    display: block;
		opacity: 1;
		-moz-opacity: 1;
		filter:alpha(opacity=100);
	  	visibility:visible;
	}
	.main-navigation ul li ul li {
    	border-top: 1px solid rgba(0, 0, 0, 0.1);
	}
	.main-navigation ul li ul li:before {
		position: static;
	}
	.main-navigation ul li ul li ul {
		left: 160px;
		display: block;
		opacity: 1;
		-moz-opacity: 1;
		filter:alpha(opacity=100);
	  	visibility:visible;
	}
	#site-navigation ul ul ul a {
		padding-left: 40px;
	}
	.main-navigation ul ul li:hover ul {
		top: 0;
		display: block;
	  	opacity: 1;
		-moz-opacity: 1;
		filter:alpha(opacity=100);
	  	visibility:visible;
	}
	.main-navigation li li.menu-item-has-children > a:after, 
	.main-navigation li li.page_item_has_children > a:after {
		content: "\f107";
	}
	.main-slider .image-slider {
		min-height: 400px;
	}
	.slider-content {
		width: 90%;
	}
	.slider-content .btn-default {
		font-size: 12px;
		margin: 10px 5px 20px;
		padding: 4px 12px;
	}
	#content {
		padding-top: 23px;
	}
	/* ----- Column ----- */
	.column {
		margin: 0;
	}
	.two-column,
	.three-column {
		padding: 0 0 30px;
		width: 100%;
	}
	.four-column-full-width,
	.boxed-layout-small .four-column-full-width,
	#primary .three-column, 
	#primary .four-column-full-width, 
	#primary .four-column {
		margin: 0;
		width: 100%;
	}
	.four-column {
		padding: 0 10px 30px;
		width: 50%;
	}
	.three-column:nth-child(2n+3) {
 		clear: none;
	}
	.three-column-post .post-container,
	.four-column-post .post-container {
		width: 50%;
	}
	#main .post {
		padding-bottom: 40px;
	}
	.small_image_blog .post-featured-image {
		width: 100%;
	}
	.header-social-block,
	.top-header .widget_contact {
		display: none;
	}
	#primary .post:not(:nth-child(1)) {
		padding: 0;
		width: 100%;
	}
	#main .sticky {
		padding: 20px 20px 30px;
	}
	#primary .post.sticky:not(:nth-child(1)) {
		margin: 0 0 50px;
		width: 100%;
	}
	#wp_page_numbers,
	.wp-pagenavi,
	#main ul.default-wp-page,
	.pagination {
		margin-bottom: 40px;
	}
	#wp_page_numbers ul li.page_info,
	.wp-pagenavi .pages {
		display: none;
	}
	.widget {
		margin-bottom: 40px;
	}
	.widget_custom-tagcloud {
		margin-bottom: 32px;
	}
	.widget_posts {
		margin-bottom: 20px;
	}
	#colophon .widget_posts {
		margin-bottom: 20px;
	}
	.site-info #site-branding {
		max-width: 100%;
	}


	.pc_on { display: none;}
	.sp_on { display: inline;}

	/*トップページ*/
	ul.category-posts-internal li span.cat-post-date {
		display: block;
		padding-right: 0;
	}


}
/* All Mobile Screen ( smaller than 601px )
================================================== */
@media only screen and (max-width: 600px) {
	.toggle_btn {
	    margin: 15px 0 0 30px;
	    width: 35px;
	    height: 28px;
	}
	.toggle_btn span {
	  width: 35px;
	  height: 4px;
	}
	.open .toggle_btn span:nth-of-type(1) {
	    -webkit-transform: translateY(12px) rotate(-45deg);
	    transform: translateY(12px) rotate(-45deg);
	}
	.contents_title {
		font-size: 44px;
	}
	.flow_box,
	.flow_box_white {
	    padding: 0px 20px;
	}
.contact_tel_wrap div.contact_tel_left {
    width: 100%;
}
.contact_tel_wrap div.contact_tel_left span {
    display: inline-block;
    position: relative;
    bottom: 2px;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background-color: #cb0000;
    margin-right: 20px;
}
.contact_tel_wrap div.contact_tel_left p {
    padding: 0 0 0 28px;
    margin: 0;
    font-weight: normal;
}
.contact_tel_wrap div.contact_tel_right {
    width: 100%;
    padding: 10px 0 0 30px;
}
}
/* All Mobile Screen ( smaller than 521px )
================================================== */
@media only screen and (max-width: 520px) {
	/*求人情報*/
	.recruit_app {
	      -webkit-flex-wrap: wrap;
	      -ms-flex-wrap: wrap;
	    flex-wrap: wrap; 
	    padding: 40px 40px 40px 20px;
	}
.recruit_app_left {
    width: 100%;
    border-right: none;
    border-bottom: 1px solid #999;
    padding: 0 0 20px 0;
}
.recruit_app_right {
    width: 100%;
    padding: 20px 0 0 0px;
}
	.footer_info_wrap div.footer_menu_wrap ul li {
		display: block;
		padding: 0px 40px 5px 0;
	}
	.footer_contact a {
		width: 100%;
	}
}
/* All Mobile Screen ( smaller than 481px )
================================================== */
@media only screen and (max-width: 480px) {
	.container,
	.boxed-layout #page,
	.boxed-layout-small #page {
		max-width: 95%;
	}
	.boxed-layout .container,
	.boxed-layout-small .container {
		width: 280px;
	}
	.boxed-layout #colophon,
	.boxed-layout-small #colophon {
		margin-bottom: 10px;
	}
	/*#site-branding {
		margin: 0 auto;
		max-width: 265px;
	}*/

	.boxed-layout #site-branding,
	.boxed-layout #site-title a img,
	.boxed-layout-small #site-branding,
	.boxed-layout-small #site-title a img {
		max-width: 240px;
	}

	/* ----- Column ----- */
	.column {
		margin: 0;
	}
	.four-column {
		padding: 0 0 30px;
		width: 100%;
	}
	.four-column:nth-child(2n+3) {
		clear: none;
	}
	.two-column-post .post-container,
	.three-column-post .post-container,
	.four-column-post .post-container {
		width: 100%;
	}
	.btn-default {
		padding: 6px 18px;
		font-size: 13px;
	}
	.top_recruit_bnr a {
	    padding: 25px 20px;
	}
	.top_recruit_bnr div.recruit_img {
	    min-width: 100px;
	}
	.top_recruit_bnr div {
	    margin: 5px 0 0 20px;
	}
	.wpcf7-select {
	    width: 100%;
	}
}

/* All Mobile ( smaller than 320px )
================================================== */
@media only screen and (max-width: 319px) {
	.container,
	.boxed-layout #page,
	.boxed-layout .container,
	.boxed-layout-small #page,
	.boxed-layout-small .container {
		width: 96%;
	}
}