/**
 * Theme Name: dealer
 * Template: envince
 * Author: RITEWAY
 */

/* =header
----------------------------------------------- */
#header {
    padding: 23px 0;
    border-bottom: 3px #07a760 solid;
    background: #fff;
}
#header img {
	width: 200px;
}

/* =body
----------------------------------------------- */
a {
    word-break: break-all;
}
.search .archive-title {
    display: none;
}
.search .archive-header::before {
    content: 'すべての店舗';
    display: block;
    margin-top: 20px;
    line-height: 1.6em !important;
    font-size: 32px;
}
.taxonomy-post_tag .archive-title {
    display: none;
}
#sidebar-primary {
    float: right;
}
.error-404 #sidebar-primary {
    float: left;
	width: 100%;
	text-align: center;
}
.col-md-7 {
    width: 100% !important;
}
#comments-template {
    display: none;
}
.error-404 #content {
    display: none;
}
label {
    font-weight: 500;
}
.entry-content-wrapper .tag {
    display: block;
    margin: 6px 0 8px;
}
.entry-byline {
    display: none;
}
.archive-title.font-headlines,
h2.font-headlines {
    font-weight: bold;
}
@media screen and (max-width: 768px) {
	#sidebar-primary {
		float: none;
	}
	.archive-title.font-headlines {
		padding-left: 15px;
	}
	h2.font-headlines {
		padding-left: 15px;
		font-size: 22px;
	}
}

/* =footer
----------------------------------------------- */
#brand_pc,
#brand_sp {
	font-size: 0;
}
#brand_pc div {
	display: none;
}
#brand_sp div {
	display: block;
}
.brand1_pc {
    background: url(https://www.riteway-jp.com/img/top/brand01a_pc.png) no-repeat;
}
.brand2_pc {
    background: url(https://www.riteway-jp.com/img/top/brand02a_pc.png) no-repeat;
}
.brand3_pc {
    background: url(https://www.riteway-jp.com/img/top/brand03a_pc.png) no-repeat;
}
.brand4_pc {
    background: url(https://www.riteway-jp.com/img/top/brand04a_pc.png) no-repeat;
}
.brand5_pc {
    background: url(https://www.riteway-jp.com/img/top/brand05a_pc.png) no-repeat;
}
.brand6_pc {
    background: url(https://www.riteway-jp.com/img/top/brand06a_pc.png) no-repeat;
}
.brand7_pc {
    background: url(https://www.riteway-jp.com/img/top/brand07a_pc.png) no-repeat;
}
.brand1_pc,
.brand2_pc,
.brand3_pc,
.brand4_pc,
.brand5_pc,
.brand6_pc,
.brand7_pc {
    background-size: cover;
    width: 16.66%;
}
.brand1_sp {
    background: url(https://www.riteway-jp.com/img/top/brand01a_sp.png) no-repeat;
}
.brand2_sp {
    background: url(https://www.riteway-jp.com/img/top/brand02a_sp.png) no-repeat;
}
.brand3_sp {
    background: url(https://www.riteway-jp.com/img/top/brand03a_sp.png) no-repeat;
}
.brand4_sp {
    background: url(https://www.riteway-jp.com/img/top/brand04a_sp.png) no-repeat;
}
.brand5_sp {
    background: url(https://www.riteway-jp.com/img/top/brand05a_sp.png) no-repeat;
}
.brand6_sp {
    background: url(https://www.riteway-jp.com/img/top/brand06a_sp.png) no-repeat;
}
.brand7_sp {
    background: url(https://www.riteway-jp.com/img/top/brand07a_sp.png) no-repeat;
}
.brand1_sp,
.brand2_sp,
.brand3_sp,
.brand4_sp,
.brand5_sp,
.brand6_sp,
.brand7_sp {
    background-size: cover;
    width: 100%;
	border-top: 1px #fff solid;
}
.hover a {
    display: block;
}
.hover img {
	width:100%;
    border: none;
}
.hover a:hover {
    background: none;
}
.hover a:hover img {
    visibility: hidden;
}
#menu {
	padding: 21px 0 19px;
	background: rgb(242,242,242);
	border-top: 1px #fff solid;
	border-bottom: 1px #fff solid;
	text-align: left;
	font-size: 23px;
    line-height: 1.55;
}
#menu a {
	padding: 10px 30px;
	display: block;
	color: #555;
	text-decoration: none;
}
#menu a:hover {
	color: #999;
}
#menu a div {
	display: inline-block;
	padding-left: 15px;
	background: url(https://www.riteway-jp.com/img/top/arrow5.png) center left no-repeat;
}

.contents {
    margin-bottom: 30px;
}
.h2box_direct {
	width: inherit;
	max-width: 1000px;
	margin: 0 auto;
    background-image: none;
	font-size: 80%;
}
.h2box_direct .head {
	display: none;
}
.h2box_direct .foot {
	display: none;
}
#root_index .h1box h1.title,
#root_page .h1box h1.title {
	font-size: 80%;
}
#column6 .h2box_list .h2title .title {
    width: inherit;
    font-size: 70%;
}
#column6 .goods h1 {
	font-size: 80%;
}
#column6 .tab {
	font-size: 50%;
}
#column6 .tab .year_title  {
	display: none;
}
#column6 .bone_line h3.title_sp,
#column6 .bone_line h3.title {
	font-size: 80%;
}
#column6 .back_jp {
	font-size: 70%;
}
#column6 .list_news .title {
	background-image: none;
	font-size: 90%;
}
#column6 .list_news {
	font-size: 80%;
}
#column6 .list_news a {
	float: left;
    padding-left: 100px;
}
.list_news a {
	float: left;
    padding-left: 100px;
}
.site_news {
	display: none;
}
.newslink {
	margin-top: 15px;
	padding-right: 15px;
	background: url(https://www.riteway-jp.com/img/top/arrow.png) center right no-repeat;
	text-align: right;
}
.newslink a {
	text-decoration: none;
    color: #999;
}
.page_prev {
	font-size: 70%;
}
#footer {
	padding: 27px 0 8px;
	background: rgb(242,242,242);
	border-top: none;
	border-bottom: 3px #07a760 solid;
	text-align: left;
	font-size: 19.5px;
	line-height: 1.5;
}
#footer a {
	padding: 10px 30px;
	display: inline-block;
	color: #999;
	text-decoration: none;
}
#footer a:hover {
	color: #555;
}
#footer a div {
	display: inline-block;
	padding-left: 15px;
	background: url(https://www.riteway-jp.com/img/top/arrow9.png) center left no-repeat;
}
.copyright {
	max-width: 1000px;
	margin: 20px 30px 16px;
	padding: 26px 0 0;	
	border-top: 1px #999 solid;
	text-align: center;
	font-size: 70% !important;
	line-height: 1.2;
	color: #999;
}

#main_sp {
	display: inherit;

}
#main_pc {
	display: none;
}
#main_sp li,
#main_pc li {
	list-style: none;
}
.bx-controls-direction {
	display: inherit;
}
.bx-wrapper div,
.bx-wrapper ul,
.bx-wrapper li,
.bx-wrapper a,
.bx-wrapper img {
    margin: 0;
    padding: 0;
    border: 0;
}
.bx-wrapper .bx-controls-direction a {
    width: 13px !important;
    height: 62px !important;
}
.bx-wrapper .bx-prev {
    background-position: 0 0 !important;
    background-size: 26px !important;
}
.bx-wrapper .bx-next {
    background-position: -13px 0 !important;
    background-size: 26px !important;
}
.bx-wrapper .bx-pager {
	display: none;
	width: 20% !important;
	text-align: center;
}
#main1,#main2,#main3,#main4,#main5 {
	display: none;
}

@media screen and (min-width: 750px) {
#main_sp {
	display: none;
}
#main_pc {
	display: inherit;
}
.bx-controls-direction {
	display: none;
}
.bx-wrapper .bx-pager {
	display: inherit;
}
}

/* Minimum width of 1080 pixels. */
@media screen and (min-width: 1000px) {
#c_box0 #column6 {
    font-size: 100%;
}
#header img {
	width: 290px;
}
#brand_pc div {
	display: inline-block;
}
#brand_sp div {
	display: none;
}
#menu {
	border-top: 2px #fff solid;
	border-bottom: 2px #fff solid;
	text-align: center;
	font-size: 16.1px;
}
#menu a {
	display: inline-block;
	padding: 2px 18px 5px;
}
.head_line {
	font-size: 80%;
}
#column6 .list_news {
	font-size: 100%;
}
#column6 .list_news a {
    padding-left: 70px;
}
#footer {
	text-align: center;
	font-size: 13.8px;
}
#footer a {
	padding: 2px 20px 5px;
}
.copyright {
	margin: 19px auto 16px  !important;
	font-size: 100%  !important;
}
}
@media screen and (min-width: 1170px) {
.site-content {
    width: 1170px !important;
}
}


/* =Original
----------------------------------------------- */

body {
    color: #333;
    word-wrap: break-word;
    line-height: 1.6em;
    font-size: 16px;
    font-family: 'hiragino kaku gothic pro', meiryo, 'ms pgothic', sans-serif;
}
p {
    margin: 0;
}
#content {
	outline: none;
	position: relative;
	padding-bottom: 100px;
}
.site-content {
    margin: 50px auto;
    width: 100%;
}
.pagination {
	position: absolute;
	bottom: 0;
	z-index: 1;
	width: 96%;
}
.pagination a:hover {
    background-color: rgba(23,157,106,0.25) !important;
}
.h1, .h2, .h3, .h4, .h5, .h6, h1, h2, h3, h4, h5, h6 {
    line-height: 1.6em !important;
}
.search-form {
    padding: 0 0 0 12px;
}
.search-menu a {
    padding: 5.5px !important;
}
.search-field {
    width: 100px;
    height: auto;
}
.search-submit {
    margin-bottom: 3px;
    padding: 0;
    width: 40px;
    height: 29px;
}
.form-control {
    color: #333 !important;
}
.widget_felt h3 {
    border-bottom-color: #ff0000 !important;
}
.widget_felt .wrap {
    background: #ff0000 !important;
}
.widget_gt h3 {
    border-bottom-color: #c4b44c !important;
}
.widget_gt .wrap {
    background: #c4b44c !important;
}
.widget_rw h3 {
}
.widget_rw .wrap {
}
.widget_charge h3 {
    border-bottom-color: #d11919 !important;
}
.widget_charge .wrap {
    background: #d11919 !important;
}
img.emoji {
    width: 18px;
    vertical-align: top;
}
#menu-sub-terms-items li {
    margin-right: 27px;
    float: left;
}
#menu-sub-terms li a {
    background-color: #fff !important;
}
.entry {
    display: table;
    width: 100%;
}
.post-cate {
    display: none;
}
.post-cate {
    padding: 13px 15px;
    background-color: #ffffff;
    border: 1px solid #eee;
    border-top: 2px solid rgba(23,157,106,0.85);
    margin: 15px 0 0;
    line-height: 14px;
	font-size: 12px;
}
.entry-title {
    margin-bottom: 3px;
}
@media screen and (max-width: 768px) and (min-width: 480px) {
	.search-field {
		width: 75%;
		margin: 10px 0 0 4%;
		display: inline-block;
	}
	.search-submit {
		width: 16%;
		display: inline-block;
	}
	iframe.twitter-timeline-rendered {
		width: 430px !important;
	}
}

@media screen and (max-width: 480px) {
	.search-field {
		width: 75%;
		margin: 10px 0 0 4%;
		display: inline-block;
	}
	.search-submit {
		width: 16%;
		display: inline-block;
	}
	iframe.twitter-timeline-rendered {
		width: 255px !important;
	}
}
@media (min-width: 1200px) {
	.container, #container {
		width: 100% !important;
	}
}



/* =Search & Filter
----------------------------------------------- */

#menu-sub-terms-items {
    display: inline-block;
}
.error-404 #sidebar-primary ul li {
	text-align: left;
}
.error-404 #sidebar-primary::before {
    content: 'ライトウェイプロダクツジャパン\A製品取扱店舗検索';
	display: block;
	margin-bottom: 40px;
	width: 100%;
    font-size: 30px;
    font-weight: bold;
	line-height: 1.2;
	white-space: pre;
}
.searchandfilter h4 {
    margin: 25px 0 10px !important;
}
.searchandfilter ul {
    padding: 0 0 20px;
}
.searchandfilter li {
    display: block !important;
}
.form-control {
    display: inline-block;
    width: auto;
	height: auto;
	-webkit-box-shadow: none;
    box-shadow: none;
	vertical-align: 2px;
}
select#ofcategory {
    height: 34px;
}
@media screen and (max-width: 768px) {
	.error-404 #sidebar-primary::before {
		content: 'ライトウェイプロダクツ\Aジャパン製品取扱店舗検索';
		font-size: 23px;
	}
	#custom_html-2 {
		padding-left: 15px !important;
	}
}
