@charset "UTF-8";
/*
	Theme Name: ohirakogyo.com-sp
	Version: 1.0.0
*/

/****************************************
          General Setting
*****************************************/
.sp { display: inline-block; }
.pc { display: none; }
.spimgblock { float: none!important; display: block; margin: 0px auto 10px; }
.pr_br {
	display: inline;
}
.spbr {
	display: block;
}

html, body {
	margin: 0 auto!important;
}

body {
	text-align: center;
	font-size: 14px;
	background-position: bottom;
	background-repeat: repeat-x;
	min-width: 100%;
}

img {
    border-style:none;
	height: auto;
}
.subHeader { padding: 0px 0px 30px; text-align: center; background-size: cover; }


footer,
#header .wrapper,
#container,
.topwrapper,
.wrapper03,
.wrapper02,
.wrapper {
	padding-left: 0px !important;
	padding-right: 0px !important;
	margin-left: auto;
	margin-right: auto;
	width: 100%;
	overflow: hidden;
	min-width: 100%;
}
.kizi { padding: 0px 10px; }
#main,
#sidepage {
    width:100%;
    float:  none;
}
.spcenter { text-align: center; }

#maincon { padding-top: 0px; }
.top-concept-wrap .box01 { max-width: 94%;}
.top-concept-wrap { margin-left: auto; margin-right: auto;  display: block; max-width: 94%; }
.top-concept-wrap .txt { font-size: 14px; padding: 10px; }
.top-reason-wrap { display: block; padding: 10px 0px; }
.top-reason-wrap .box01  { max-width: 94%; margin-bottom: 20px; margin-left: auto; margin-right: auto; text-align: center; }
.top-reason-wrap .box01 ul { max-width: 15em; margin: 0px auto; text-align: left; }
#top-reason ul li { font-size: 18px; }
.topttl { font-size: 60px; display: block; text-align: center; }
.topttl02 { font-size: 20px; }
#archive-work-list li { display: block; width: 90%; margin: 0px auto 30px; }
.topttl03 { font-size: 16px; line-height: 1.5em; }
#gnavi {
	position: fixed;
    top: 70px;
    z-index: 999;
    width: 100%;
    float: none;
    display: block; }

#header { position: relative; height: 72px; background: rgba(255, 255, 255, 0.8); }
#headerL.fixed #header { position: fixed; }
#header h1 { display: none; }

#sp_menu_btn {
    position: absolute;
    display: block;
    cursor: pointer;
    width:55px;
    height:55px;
    right:0px;
    margin-top:0px;
    margin-right:5px;
	background: #fff;
	z-index: 100;
}
#toptel {
	display: none;
}
.menu {
	display: none;
	margin-top: 0px;
	margin-left: auto;
	margin-right: auto;
	padding: 0;
	width: 100%;
	height: 100%;
	box-sizing: border-box;
	background: #fff;
	padding-top: 20px;
}
.menu li.sp { display: block; }

.menu ul{
  list-style-type: none;
  margin: 0px 0px 20px 0px;
  padding: 0 2px;
  display: block;
	padding-bottom: 50px;
}

.menu ul li {
	width: 98%;
	text-indent: initial;
	height: auto;
	display: block;
	padding: 0px;
	margin: 0px;
}

.menu ul li a{
	overflow:visible;
	display: block;
	border-bottom: 1px #dddddd solid;
	padding: 10px 0px 10px 20px;
	margin: 0 0 0px 0;
	text-align: left;
	width:auto;
	height: auto;
	line-height: 2em;
	border-left: 0px;
	color: #000 !important;
	text-shadow: 0px 0px 0px #fff !important;
	font-size: 15px;
}
.menu a:hover{
  background-image: none;
  background-repeat: no-repeat;
  background-repeat: no-repeat;
  background-color: initial;
}
.menu a:before {
	content: " ";
	border: 0px;
	height: 0px;
	background: #fff;
}
.menu a:after{
	content: "＞";
	position: absolute;
	right: 20px;
	top: 10px;
	height: auto;
	background: #fff;
	opacity: 1;
	width: auto;
}

.menu li.sns { display: inline-block; width: 21%; padding: 10px 0px; margin: 10px 0.8% 10px 1.5%; }
.menu li.sns img { background: #000; margin: 0px auto; }
.menu li.menu0 a img,
.menu.pagemenu li.sns a img {
    filter: brightness(1) invert(0);
}
.menu li.sns a{ border: 0px; }
.menu li.sns a:after {
	content: "";
	position: absolute;
	right: 0px;	
}
.menu ul:after {
    clear: both;
    display: block;
    content: "";
    margin-bottom: 10px;
}

body.home .menu li.menu0 a img {
	filter: brightness(1) invert(1);
}

/* ------- メニュー部分 ------- */



/******************* SP menu ***************/
.menu-trigger,
.menu-trigger span {
  display: inline-block;
  transition: all .4s;
  box-sizing: border-box;
}
.menu-trigger {
	position: fixed;
	right: 0px;
	top: 0px;
	width: 50px;
	height: 44px;
	background: #060606;
	z-index: 100050;
}
.menu-trigger span {
	position: absolute;
	left: 5px;
	width: 40px;
	height: 3px;
	background-color: #fff;
}
.menu-trigger span:nth-of-type(1) {
  top: 10px;
}
.menu-trigger span:nth-of-type(2) {
  top: 20px;
}
.menu-trigger span:nth-of-type(3) {
  top: 30px;
}

.menu-trigger.active span:nth-of-type(1) {
    -webkit-transform: rotate(45deg);
    -ms-transform: rotate(45deg);
    transform: rotate(45deg);
	top: 20px;
}
.menu-trigger.active span:nth-of-type(2) {
	opacity: 0;
}

.menu-trigger.active span:nth-of-type(3) {
    -webkit-transform: rotate(-45deg);
    -ms-transform: rotate(-45deg);
    transform: rotate(-45deg);
	top: 20px;
}
/******************* SP menu ***************/


/**************************** form  ****************************/
.contactform th,
.contactform td { display: block; width: auto; padding: 10px 0px 10px 10px; }
.wpcf7-form textarea { width: 95%; }
.contactform .spw { width: auto; padding-right: 0px !important; }
.contactform div { margin-left: 0px !important; }
span.wpcf7-list-item { margin-left: 0px !important; }


.contactform #books .wpcf7-list-item.first label:after {
	content: "　";
	display: inline-block;
	padding-bottom: 20px;
	max-width: 100%;
	background: url(/wp/wp-content/uploads/sassi-sumai-no-mori.png) no-repeat left center;
	background-size: contain;
	height: 106px;
	width: 300px;
	margin-bottom: 20px;
}
.contactform #books .wpcf7-list-item.last label:after {
	content: "　";
	display: inline-block;
	padding-bottom: 20px;
	max-width: 100%;
	background: url(/wp/wp-content/uploads/sassi-LIXIL-REFORM.png) no-repeat left center;
	background-size: contain;
	height: 106px;
	margin-bottom: 20px;
	width: 300px;
}
/**************************** form  ****************************/

.gaiyou {
margin:10px 0px 20px 0px;
border: solid 0px #c99269;
border-collapse:collapse;
text-align: left;
line-height: 1.5em;
width: 100%;
}

.gaiyou th,
.gaiyou td {
	width: auto;
	display: block;
}

.gaiyou th {
	border-bottom: 0px;
}

.history {
margin:10px 0px 20px 0px;
border: solid 0px #c99269;
border-collapse:collapse;
text-align: left;
line-height: 1.5em;
width: 100%;
}
.history th,
.history td {
	width: auto;
	display: block;
}

.history th {
	border-bottom: 0px;
}

/* top */
#tlogo { margin-left: 10px; width: auto; max-width: 200px; display: block; padding-top: 5px; }
h1.toph1 {
	position: absolute;
	top: 10px;
	left: 10px;
	z-index: 5;
	display: block;
	padding: 0px;
	margin: 0px;
	font-size: 12px;	
}
#tlogo a { left: 10px; font-size: 2em;}
.fixed #gnavi { z-index: 11; top: 70px; }
#gnavi.menu_open { height: 100%; }
#footer_fixed { z-index: 5; height: 60px; padding: 0px; }
.menu_bg { background: #fff; height: 100%; }

/* footer */
#footer02 .fbox01,
#footer02 .fbox02 { float: none; width: auto; font-size: 14px; margin-bottom: 30px; }
#footer02 .fbox02 { margin-left: 20px; }
#footer02 #flogo { max-width: 250px; }
#footer_link ul { 
	        display: table;
        width: 100%;
        text-align: center;
        table-layout: fixed;
}
#footer_link ul li { display: table-cell; width: 40%; vertical-align: middle; border: 1px solid #fff; }
#footer_link ul li#ft_sptop { width: 20%; }
#footer_link ul li a { display: block; line-height: 1.3em; font-size: 16px; background: #912A2A; color: #fff; height: 100%; height: 60px; }

#top-work ul { display: block;}
#top-work ul li span.img img { height: auto; }
#top-work ul li {
	width: 90%;
	display: block;
	margin: 0px auto 30px;
}

.menuf ul { display: block; }
.menuf ul li { display: inline-block; width: 47%; }
.menuf a {margin-bottom: 2px; }
.midashi { font-size: 18px; }

.mB,
h1.mBttl { font-size: 18px; letter-spacing: 0px; }
.mBttl:after {
	left: 10%;
	width: 80%;
}
.right_exit {
    border: 1px solid #333;
    margin: 20px 0px 0px 0px;
    padding: 10px;
    text-align: right;
}
.kanren .list li { display: block; float: none; height: auto; width: auto; margin-bottom: 10px; }
.kanren .list li img { width: 80px; float: left; margin-right: 10px; }
.kanren .list li:after {
	content: "";
	display: block;
	clear: both;
}
.kanren .list li h3 a {
    display: -webkit-box;
    text-overflow: ellipsis;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    height: 3em;
    line-height: 1.5em;
    overflow: hidden;
}
.photos li img.halfleft.before { width: 30%; }
.photos li img.beforeafter-yaji {
    width: 10%;
    padding-left: 10px;
    margin-top: 0px;
}
.event_list li { display: block; width: auto; }
.font28 { font-size: 18px; }
#staffList { text-align: center; }
#staffList li { display: inline-block; width: 48%; text-align: center; margin: 0px 1% 20px; border: 0px; padding-bottom: 20px; }
#staffList li img {width: 100%; float: none; margin: 0px 0px 10px; }
#staffList li p.staffp1 { padding-top: 0px; font-size: 15px;}
#staffList li p.staffp2 { font-size: 18px; }
#staffDedail .box1 { width: 130px; margin-right: 10px; float: left; }
#staffDedail .box2 { width: auto; display: block;  }
#staffDedail .staffProfile th,
#staffDedail .staffProfile td { display: block; width: auto; border: 0px; }
#staffDedail .staffProfile th { border-bottom: 1px solid #eee;}
#staffDedail .en_name { padding-left: 0px; }
#staffDedail .boxsp { padding-top: 0px; }
#staffDedail .position { font-size: 15px; }
#staffDedail .boxsp h1 { font-size: 20px; margin: 10px 0px; }
.top-scroll01 { display: none; }

.bukendata { width: 100%; margin-left: 0px; }

.bukendata dl {
	border-bottom: 1px dashed #999;
	display: table;
	width: 100%;
	padding-bottom: 5px;
}

.bukendata dl dd,
.bukendata dl dt {
	float: none;
	padding: 5px 10px;
	display: table-cell;
}
.bukendata dl dt {
	font-weight: 400;
	width: 8em;
	background: #fefefe;
	font-weight: bold;
}

.tags a { margin-bottom: 5px;}
.worktags li a { padding: 5px; margin: 5px; }
.bloglist img.blog-thumbnail { width: 120px; float:left; margin-right: 15px; }
#top-company .ttl01 { font-size: 50px;}
#top-company .company-name { font-size: 24px;}
#top-company .company-address,
#top-company .company-time { font-size: 12px;}
#top-company .message-text{ font-size: 16px; margin-bottom: 0px; }
#top-contact .contact-lead  { font-size: 14px;}
.fbox02 .fbox0201 .item01 { font-size: 11px; display: block; }
#top-reason .txt { font-size: 14px; }
.morebottun {
    position: relative;
    display: inline-block;
    padding: 1.7em 4.5em 1.7em 2.5em;
}