@charset "utf-8";
/*
Theme Name:mrp04-child
Template:mrp04
Version: 0.01
*/
@import url('https://fonts.googleapis.com/css?family=Volkhov:400,700');

/*--------------------------------------*/
.center { text-align:center !important;}
.left { text-align:left !important;}
.right { text-align:right !important;}
.middle { vertical-align:middle !important;}
.bottom { vertical-align:bottom !important;}
.mt10 { margin-top:10px !important;}
.mt20 { margin-top:20px !important;}
.mt30 { margin-top:30px !important;}
.mt40 { margin-top:40px !important;}
.mt50 { margin-top:50px !important;}
.mb10 { margin-bottom:10px !important;}
.mb20 { margin-bottom:20px !important;}
.mb30 { margin-bottom:30px !important;}
.mb50 { margin-bottom:50px !important;}
.pl20{padding-left:20px;}
/*--------------------------------------*/

span.right {
    display: block;
}

/* スマホで改行をなくす
----------------------------------*/
@media screen and (max-width: 640px) {
    .br-sp { display:none; }
}

/* スマホの時だけ改行（PCの時非表示）
----------------------------------*/
@media screen and (min-width:640px) {
    .br-pc { display:none; }
}

/* 画像表示順
----------------------------------*/
.f_Right {
float:right;
}

@media only screen and (max-width: 640px) {
.f_Right {
float: none;
}
}

/* 横幅100%
----------------------------------*/

body{
	overflow-x:hidden;
	}
#wrapper, #content, .post{
	overflow: visible;
	}

.bgfix { background-attachment:fixed !important;}
.ipod .bgfix { background-attachment:scroll !important; }
.iphone .bgfix { background-attachment:scroll !important; }
.ipad .bgfix { background-attachment:scroll !important; }


.CBlock-img {
    margin-right: calc(((100vw - 100%) / 2) * -1);
    margin-left: calc(((100vw - 100%) / 2) * -1);
    padding: 4em calc((100vw - 100%) / 2);
    position: relative;
}


/* ヘッダー
----------------------------------*/
.home #content {
    padding: 0;
}
#breadcrumb {
    padding: 10px;
}

#header .logo img {
	max-height: 60px;
}

@media only screen and (max-width: 1023px) {
#content.wide {
    width: 100%;
}
#header .inner {
    width: 100%;
}
}
/* フッター
----------------------------------*/
footer#footer {
    background: #c00;
}


/* グローバルメニュー
----------------------------------*/

@media print, screen and (min-width: 1024px){
#header .logo img {
    max-height: 45px;
}
nav#mainNav ul li a {
    font-size: 14px;
    background: none;
}
nav#mainNav ul li a b {
    font-weight: bold;
}
#header-layout {
    width: 100%;
    margin: 0 auto;
}
#header-layout {
	padding: 0;
    border-bottom: 5px solid #CC0000;
	position:relative;
}
nav#mainNav {
    background: #cc0000;
}
#header .logo img {
    max-width: 800px;
    width: auto;
    margin: 16px 60px 10px 20px !important;
}
#header .inner {
    width: 100%;
}
nav#mainNav ul li a {
    padding: 8px 10px 0px 10px;
}
#mainNav:before{
    content: " ";
    position: absolute;
	bottom: 0;
    left: -50px;
    width: 0;
    height: 0;
    border: none;
    border-left: solid 64px transparent;
    border-bottom: solid 130px rgb(204, 0, 0);
}
nav#mainNav ul li.current-menu-item a b, 
nav#mainNav ul li a:hover b, 
nav#mainNav ul li a:active b, 
nav#mainNav ul li.current-menu-parent a b {
    color: #FFEB3B;
}
}
@media only screen and (min-width: 1140px) {
nav#mainNav ul li a {
    font-size: 18px;
}
}
@media only screen and (min-width: 1300px) {
#header .logo img {
    max-height: 55px;
}
}

@media only screen and (min-width: 1630px) {
nav#mainNav ul li a {
    font-size: 20px;
}
#header .logo img {
    max-height: 60px;
}
}

@media screen and (min-width:641px) { 
#header-layout:after {
    content: 'BINTEN CO.,LTD';
    right: 1%;
    bottom: -3px;
    position: absolute;
    z-index: 2020;
    color: #ffffff;
	/*font-family: "游明朝", YuMincho, "Cardo", "ヒラギノ明朝 ProN W3", "Hiragino Mincho ProN", "HG明朝E", "ＭＳ Ｐ明朝", "ＭＳ 明朝",Meiryo, serif;*/
	font-weight: bold;
	font-size: 22px;
	font-family: 'Volkhov', serif;
}
}



@media print, screen and (min-width: 1024px){
nav div.panel {
    float: none;
}
#header .inner {
    background-color: transparent;
}
nav#mainNav ul {
    display: flex;
    justify-content: space-between;
}
}

/* 見出し
----------------------------------*/
.home h1.title.first {
    margin-right: calc(((100vw - 100%) / 2) * -1);
    margin-left: calc(((100vw - 100%) / 2) * -1);
    padding-top: 0;
}
.home h1.title {
    background: none;
    border-top: 5px solid #cc0000;
}
.home h1.title span {
    background: #CC0000;
}

.home h2.title.first.front-post {
    margin-right: calc(((100vw - 100%) / 2) * -1);
    margin-left: calc(((100vw - 100%) / 2) * -1);
    text-align: center;
    color: #fff;
    border-top: 5px solid #cc0000;
    padding-top: 0;
}

h1.title.first.front-post span,h2.title.first.front-post span {
    color: #ffffff;
    line-height: 20px;
    position: relative;
    background: #cc0000;
    display: inline-block;
    padding: 20px;
    margin-left: 10px;
}

h1.title.first.front-post span:before,h2.title.first.front-post span:before {
    content: " ";
    position: absolute;
    top: 0;
    left: -30px;
    width: 0;
    height: 0;
    border-width: 0 30px 60px 0;
    border-style: solid;
    border-color: transparent;
    border-right-color: #cc0000;
}

h1.title.first.front-post span:after,h2.title.first.front-post span:after {
    content: " ";
    position: absolute;
    top: 0;
    left: 100%;
    width: 0;
    height: 0;
    border-width: inherit;
    border-style: solid;
    border-left: solid 30px #cc0000;
border-bottom: solid 60px transparent;
}

h1.title.bottom-loop {
    border: none;
    margin: 5% auto 8%;
    color: #cc0000;
}
h1.title.bottom-loop span {
    background: none;
}

h1.title, .post h1 {
    line-height: 1em;
}

/* 下層ページ */
body:not(.home) h1.title.first {
    margin-right: calc(((100vw - 100%) / 2) * -1);
    margin-left: calc(((100vw - 100%) / 2) * -1);
    padding: 3em calc((100vw - 100%) / 2);
    border-bottom: 5px solid #c00;
    border-top: 5px solid #c00;
    margin-bottom: 5%;
	text-shadow: 0 0 8px #5d4e37;
	font-weight: bold;
}

.page-about h1.title.first {
    background-image: url(/struct/wp-content/uploads/catch_about_img-2.jpg);
}
.page-contact h1.title.first,.page-thanks h1.title.first {
    background-image: url(/struct/wp-content/uploads/catch_contact_img.jpg);
    background-position: right top;
}
.page-company h1.title.first {
    background-image: url(/struct/wp-content/uploads/catch_company_img-1.jpg);
}
.page-works h1.title.first {
    background-image: url(/struct/wp-content/uploads/catch_works_img-1.jpg);
	background-position:center;
}

.page-recruit h1.title.first {
    background-image: url(/struct/wp-content/uploads/catch_recruit_img.jpg);
}

body:not(.home) .post h2 {
    border-bottom: 3px solid #333;
}

/* 枠線
----------------------------------*/

div#frame_box {
    border-left: 5px solid #CC0000;
    border-right: 5px solid #CC0000;
	overflow: hidden;
}


/* TOP:
----------------------------------*/
.top_about_txt {
    font-size: 20px;
}

.CBlock-img.bgfix.top_about_box {
    background: url(/struct/wp-content/uploads/top_bout_bgimg.jpg);
    background-repeat: no-repeat;
    background-position: top;
    background-size: cover;
}

@media screen and (min-width:641px) {
.sp_img { display:none; }
}

@media screen and (max-width: 640px) {
.pc_img {    display: none;}
p.center.mt50.mb50.top_about_txt {
    text-align: left !important;
}
}


/* 下層ページ
----------------------------------*/
#thumbImg {
    border-bottom: 5px solid #c00;
}
body:not(.home) #content {
    padding: 0 0 20px;
}


/* 下層ページ：会社概要
----------------------------------*/
.page-company .post {
    padding: 0 10px 10px;
}
.message_box_jp,.message_box_en {
    border: 1px solid #999;
    padding: 5% 2%;
    margin: 0 auto;
    width: 90%;
    margin-bottom: 3%;
}

.h2_box {
    border-bottom: double 4px #c00;
    margin-bottom: 3%;
    margin-top: 5%;
}
.page-company h2 {
    border-bottom: double 4px #c00 !important;
	color: #c00;
    font-weight: bold;
	margin-bottom: 5px;
}
.page-company h2 span.right {
    display: inline-block;
    float: right;
	font-size:80%;
}
/*
.page-company h2:before {
    content: "";
    background-image: URL(/struct/wp-content/uploads/logo_img.png);
    top: -4px;
    left: -17px;
    width: 200px;
    height: 100px;
    background-position: top;
    background-repeat: no-repeat;
    background-size: 150px;
}
.page-company h2 span.center {
    padding-left: 40%;
}
*/
.message_bg p {
    text-shadow: 0 0 1px #fff, 0 0 1px #fff, 0 0 1px #fff, 0 0 1px #fff, 0 0 1px #fff, 0 0 5px #fff, 0 0 5px #fff, 0 0 5px #fff, 0 0 5px #fff;
}
.message_bg {
    background-image: url(/struct/wp-content/uploads/company_bg_img.jpg);
    background-repeat: no-repeat;
    background-position: center;
    background-size: 60%;
}

@media print, screen and (max-width:640px) {
.h2_box {
    margin-top: 25%;
}
.page-company h2 span.center {
    display: block;
	padding: 0;
}
.page-company h2 span.right {
    display: block;
    float: none;
    font-size: 80%;
    text-align: center !important;
}
.page-company h2:before {
    content: "";
    background-image: URL(/struct/wp-content/uploads/logo_img.png);
    top: -60px;
    left: 0;
    width: 100%;
    height: 100px;
    background-position: top;
    background-repeat: no-repeat;
    background-size: 150px;
}
.message_bg {
    background-image: url(/struct/wp-content/uploads/company_bg_img.jpg);
    background-repeat: no-repeat;
    background-position: center;
    background-size: 100%;
}
}

@media screen and (min-width:1024px) { 
/*.company_bgimg_box {
    background-image: url(/struct/wp-content/uploads/company_bg_img.jpg);
    background-position: top right;
    background-repeat: no-repeat;
    background-size: 28%;
}*/
.company_img_box {
    display: none;
}
}
@media screen and (min-width:640px) and ( max-width:1024px) {
.company_img_box {
	width:30%;
	margin:0 auto;
}
}
@media print, screen and (max-width:640px) {
.company_img_box {
	width:80%;
	margin:0 auto;
}
}

/*
@media print, screen and (max-width:640px) { 
.company_bgimg_box:before {
    content: "";
    background-image: url(/struct/wp-content/uploads/company_bg_img.jpg);
    background-repeat: no-repeat;
    border: none !important;
    top: 0;
    width: 100%;
    height: 500px;
    background-size: 100%;
    display: block;
}
}
@media print, screen and (max-width:360x) { 
.company_bgimg_box:before {
    height: 300px;
}
}*/

/* 下層ページ：取引実績
----------------------------------*/
.works_box {
    margin: 5%;
	padding-bottom: 20px !important;
    border-bottom: 3px solid #cc0000;
}
.works_box .tittle {
    display: block;
    font-weight: bold;
    font-size: 130%;
    margin-bottom: 5px;
}
.red_rine_box {
    border-left: 3px solid #cc0000;
    border-right: 3px solid #cc0000;
}

h2.red_line,h3.red_line{
    overflow: hidden;
    border: none !important;
}
h2.red_line span,h3.red_line span{
    display: inline-block;
    padding: 0 0.5em;
    position: relative;
	padding-left: 1.5em;
}
h2.red_line span:before,h3.red_line span:before{
    content: "◆";
    position: absolute;
    color: #cc0000;
    top: 0;
    left: 0;
}
h2.red_line span:after,h3.red_line span:after{
	border-top: 3px solid #cc0000;
	border-radius: 1.5px;
    content: "";
    position: absolute;
    top: 50%;
    width: 99em;
}

.red_line span:before {
    right: 100%;
}

.red_line span:after {
    left: 100%;
}

@media print, screen and (max-width:640px) { 
h2.red_line, h3.red_line {
    padding-left: 0 !important;
    font-size: 20px;
    font-weight: bold;
}
.red_rine_box {
    border: none;
}
.works_box {
    border-bottom: 0px;
    margin: 0 auto;
}
h3.red_line {
    text-align: left;
}
}

/* 下層ページ：事業内容
----------------------------------*/
.gallery p {
    text-align: left;
}
.gallery span.tittle {
    display: block;
    margin: 5px auto 15px;
    font-weight: bold;
    font-size: 150%;
    text-align: center;
}

.gallery p.btn {
    text-align: center;
    background: #cc0000;
    border-radius: 11px;
    width: 70%;
    margin: 0 auto;
    padding: 5px 0;
    margin-bottom: 15px;
    height: auto !important;
}
.gallery p.btn a {
    color: #fff;
}

@media screen and (min-width:1260px) { 
.page-about dd.gallery-caption p {
    height: 10em;
}
}
@media screen and (min-width:1024px) and ( max-width:10259px) {
dd.gallery-caption p {
    height: 12em;
}
}
@media screen and (min-width:769px) and ( max-width:1023px) {
dd.gallery-caption p {
    height: 15em;
}
}
@media screen and (min-width:641px) and ( max-width:768px) {
dd.gallery-caption p {
    height: 21em;
}
}

/* 下層ページ：採用情報
----------------------------------*/
.contact_box {
    margin-top: 5%;
}


.tel_box span,.mail_box span {
    display: block;
}
.tel_box,.mail_box {
    width: 80%;
    border: 3px solid #cc0000;
    padding: 5% 2% 3%;
    text-align: center;
	font-weight: bold;
	margin: 0 auto;
	border-radius: 15px;
background: #cc0000;
}
.tel_box:hover,
.mail_box:hover {
    border: 3px solid #cc0000;
	background: #fff;
}

.contact_box a {
    color: #fff;
}
.contact_box a:hover {
    color: #333;
}
h2.red_db_line {
    border: none !important;
    padding-left: 0;
}
h2.red_db_line span {
    border-bottom: 10px double #cc0000;
    padding: 0 15px;
}

/* 下層ページ：お問い合わせ
----------------------------------*/
.wpcf7-form .must {
    background: #655759;
}


/* 下層ページ：会社概要：写真サイズ調整IE
----------------------------------*/
.page-company table img {
	width: 100% !important;
	max-width: 100% !important;
	height: auto !important;
}

/*新HOLOCF7送信ボタンずれ対応*/
.wpcf7-spinner {
    display: block!important;
	margin: 0 auto!important;
}