@charset "utf-8";
/*
Theme Name:mrp04-child
Template:mrp04
Version: 0.01
*/


/*------------------------------------------------
 body
------------------------------------------------*/
@import url('https://fonts.googleapis.com/css?family=Oswald:700');

body{
font-family: 'Oswald', 'Hiragino Kaku Gothic ProN', 'ヒラギノ角ゴ ProN W3', Meiryo, メイリオ, Verdana, sans-serif;
background: #f2f3f5;
}

body.home{
background: inherit;
}

/*------------------------------------------------
 共通設定
------------------------------------------------*/
.home .post {
    padding: inherit;
    box-sizing: inherit;
	border: inherit;
	background-color: rgba(255,255,255,0);
}

.post {
    border: 8px solid #0067c8;
    padding: 40px;
    box-sizing: border-box;
	background-color: rgb(235, 243, 251);
}

.post table th {
    color: #000000;
    background-color: #a7caec;
}

.post table, .post table th, .post table td {
    border: 3px solid #ebf3fb;
    margin-top: 17px;
}

.post .column2_25 {
    display: inline-block;
    margin: 5px 0;
    width: 24.6%;
    vertical-align: top;
}

@media only screen and (max-width: 799px) {
.post .column2_25 {
    width: 49.6%;
}
}

@media only screen and (max-width: 640px) {
.post .column2_25 {
     width: 100%;
}
.column2_25 p {
    text-align: center;
}
}

/*------------------------------------------------
 ヘッダー
------------------------------------------------*/

@media print, screen and (min-width: 1024px){
#header .inner {
    width: 1024px;
}
#header-layout {
    width: 100%;
}
}

#header p {
	font-family: 'Oswald', 'Hiragino Kaku Gothic ProN', 'ヒラギノ角ゴ ProN W3', Meiryo, メイリオ, Verdana, sans-serif;
	font-weight: bold;
}

#header .logo img {
    max-height: 56px;
    z-index: 300;
    position: relative;
}

#header .contact .tel {
    position: relative;
    z-index: 200;
}


/*------------------------------------------------
メインナビ
------------------------------------------------*/
nav#mainNav {
font-family: 'Oswald', 'Hiragino Kaku Gothic ProN', 'ヒラギノ角ゴ ProN W3', Meiryo, メイリオ, Verdana, sans-serif;
}

@media print, screen and (min-width: 1024px){
nav#mainNav {
    margin-top: -70px;
	background-color: rgba(255,255,255,0);
    position: relative;
    z-index: 100;
}
nav#mainNav ul li a b {
    font-size: 122%;
	margin-top: -10px;
}
nav#mainNav ul li a {
    padding: 8px 18px;
}
nav#mainNav ul ul {
    width: 150px;
}
}

/*------------------------------------------------
メインイメージ
------------------------------------------------*/

#mainImg {
    padding-bottom: 0;
}

@media only screen and (max-width: 1023px){
#mainImg {
    padding-top: 0 !important;
}
}


/*------------------------------------------------
見出し
------------------------------------------------*/

h1 b {
    font-size: 36%;
    display: block;
    border-bottom: 6px solid #0067c8;
    width: 11%;
    margin: 10px auto;
    border-radius: 2px;
    padding-bottom: 5px;
}

h1.title {
    margin-top: 3%;
    font-size: 275%;
}

h1.title.first.front-post {
    font-size: 196%;
}

.post h2 {
    background: #ffffff;
    border-bottom: 1px solid #a7caec;
    border-top: 1px solid #a7caec;
    border-right: 1px solid #a7caec;
    border-left: 10px solid #0067c8;
    margin-top: 40px;
    font-weight: bold;
    color: #000000;
}

.services-child .post h2,.page-services .post h2 {
    background: #ffffff;
    border-bottom: 1px solid #0067c8;
    border-top: none;
    border-right: none;
    border-left: none;
    margin-top: 0;
    font-weight: bold;
    color: #000000;
    text-align: center;
    padding: 20px 0;
}

.category .post h2 {
    margin-top: 0;
}

.post h3 {
    background: none;
    border-bottom: 2px dashed #a7caec;
    font-size: 133%;
    padding-bottom: 10px;
    margin-bottom: 20px;
    color: #03427d;
}

.single-works h1 {
    font-size: 220%;
    line-height: 112%;
}

@media only screen and (max-width: 750px){
h1 b {
    width: 24%;
}
h1.title {
    margin-top: 6%;
}
}
@media only screen and (max-width: 799px) {
.post4b li {
    width: 45%;
}

.post4b_text70 {
    width: 100%;
    float: inherit;
}
	}
@media only screen and (max-width: 468px) {
.post4b li {
    width: 96%;
		margin: 0 auto;
	}	
}

/*------------------------------------------------
フロントページ
------------------------------------------------*/
.home #wrapper{
    width: 100%;
}

.home #content.wide {
    margin-bottom: 0;
}

.wide .c2thumbWrap ul.thumb li {
    width: 50%;
    padding: 0;
}

.greetingBox {
    background: url(/struct/wp-content/uploads/bg_greeting-1.png) no-repeat;
	padding: 36px 0 42px;
    margin-top: -5%;
	background-size: cover;
}

.home .post4b,.home .postlist {
    border: inherit;
	background-color: rgba(255,255,255,0);
}

.greetingBox .post {
    width: 66%;
    margin: 0 auto;
}
ul.post4b h2 {
    border: none;
    text-align: center;
    background: none;
    padding: 15px 0 5px 0;
}
.post-type-archive .post {
    border: 8px solid #0067c8;
    padding: 3%;
    box-sizing: border-box;
    background-color: rgb(235, 243, 251);
}
.post4b li{
	    margin: 0 1% 2% 1%;
}
.post4b {
    border: 0;
    background-color: rgba(1,1,1,0);
		padding: 0;
	}
.post4b_link a {
    color: #0067c8;
}
.post4b .time{
	display: block;
}
.post4b .post_link{
	float: inherit;
	text-align: center;
}
.button{
	height: 40px;
}
.btn9{
	line-height: 35px;
	border-radius: 5px;
}
.newsBox {
    background: #e5f1fd;
    padding: 7px 0 18px;
}

.newsBox ul.postlist {
    width: 940px;
    margin: 0 auto;
}

ul.post4b {
	width: 100%;
	margin: 0 auto 22px;
	box-sizing: border-box;
	text-align: center;
	display: block;
}
.post4b li {
    margin: 0 0.8% 2% 0.8%;
}

span.wordBox {
    font-size: 135%;
    color: #000000;
    font-weight: bold;
    line-height: 155%;
}


@media only screen and (max-width: 1023px){
.home #content.wide {
    width: 100%;
}
.newsBox ul.postlist {
    width: 90%;
}
}





/*------------------------------------------------
下層ページ
------------------------------------------------*/
#content.wide {
    margin-bottom: 20px;
}

#breadcrumb {
    margin-top: 12px;
}

.post .linkBtn {
    background: #1821a5;
}

.post .linkBtn:hover {
    background: #242b8a;
}

.wpcf7-form .must {
    background: #ff0537;
}

.dateLabel {
    border-left: inherit;
    border-right: inherit;
}

.page-services #gallery-1 .gallery-item, .page-services #gallery-2 .gallery-item, .page-services #gallery-3 .gallery-item, .page-services #gallery-4 .gallery-item, .page-services #gallery-5 .gallery-item {
    width: 98% !important;
    padding: 16px 0 0 !important;
    margin: -6px !important;
}

.gallery-caption {
    margin: 4px auto 21px !important;
    max-width: 21%;
    font-size: 120%;
    border-bottom: 1px solid #0067c8;
}

.renovationBox {
    background: #034380;
    padding: 20px 20px 4px;
    box-sizing: border-box;
    color: #ffffff;
    margin-top: -1%;
}

.servicename{
	margin: -20px auto 0;
    width: 96%;
    padding-bottom: 0px !important;
    font-weight: bold;
    border-bottom: 1px dotted #0067c8;
    background: #a9cef1;
    text-align: center;
}

p.servicetxt {
    width: 96%;
    background: #0067c8;
    margin: 0 auto;
    padding: 10px 20px 20px;
    box-sizing: border-box;
    color: #ffffff;
	height: 50%;
}

.serviceswrap {
    display: inline-flex;
}

.servicesBox.column2_50 {
    display: flex;
    margin: 7px auto;
    width: 95.5%;
    vertical-align: top;
    flex-direction: column;
}

p.servicetxt a {
    float: right;
    color: #ffffff;
}

p.comment {
    background: #c9e3f5;
    padding: 16px 30px 20px;
    box-sizing: border-box;
    margin-bottom: 30px;
    border-radius: 6px;
}

.page-sitemap .post {
    max-width: 640px;
    margin: 0 auto;
    width: 96%;
}

@media only screen and (max-width: 899px){
.serviceswrap {
    display: inherit;
}
.servicesBox.column2_50 {
    width: 100%;
    text-align: left;
	margin-bottom: 5%;
}
.servicename {
    width: 100%;
}
p.servicetxt {
    width: 100%;
    padding: 10px 20px 40px;
}
.post .column2_50 img {
    max-width: 100%;
}
}

p.announce {
    text-align: center;
    font-size: 122%;
    background: #ffd400;
    margin-top: 20px;
    padding: 20px;
    box-sizing: border-box;
    border: 3px solid #f9ec52;
    font-weight: bold;
}

@media only screen and (max-width: 640px){
.page-services .gallery-columns-1 .gallery-item, .page-services .gallery-columns-2 .gallery-item, .page-services .gallery-columns-3 .gallery-item, .page-services .gallery-columns-4 .gallery-item, .page-services .gallery-columns-5 .gallery-item {
    width: 98% !important;
    margin: 0 auto !important;
}
.page-services #gallery-1 .gallery-item, .page-services #gallery-2 .gallery-item, .page-services #gallery-3 .gallery-item, .page-services #gallery-4 .gallery-item, .page-services #gallery-5 .gallery-item {
    width: 98% !important;
}
}

/*------------------------------------------------
フッター
------------------------------------------------*/
#footer {
    margin-top: -1%;
}

#footer ul {
    padding: 14px 0 0 0;
}


@media only screen and (max-width: 899px){
#footer {
    margin-top: -3%;
}
}

.post_img img{
	float: inherit;
}
.post .post_img {
    width: auto;
    max-width: 400px;
    text-align: center;
    display: block;
    margin: 0 auto;
}

/* 投稿一覧＆詳細（カスタムフィールド）
-------------------------------------------------------------- */
#item_thumb {
	overflow: hidden;
	margin: 0 auto 30px;
	display: inline-block;
    width: 39%;
	vertical-align: top;
}
#item_thumb ul {
    margin: 0 20px;
}
#item_thumb li{
    width: 33%;
    float: left;
    background: none;
    margin: 0;
	height: 0;
    padding-bottom: 25%;
}
#item_thumb li a{
    display:block;
}
#item_thumb li a:link    {}
#item_thumb li a:visited {}
#item_thumb li a:hover, #item_thumb li a:active {
	opacity:0.8;
}
#item_thumb li a:hover img {/* IE用 */
	filter:alpha(opacity=80);
}
#item_thumb li img {
	padding: 0;
	vertical-align: bottom;
}
#item_mainphoto{
	height: 400px !important;
	text-align: center;
	position: relative;
	background: #eaeaea;
    padding: 20px 0;
    box-sizing: border-box;
	margin-bottom: 20px;
	display: inline-block;
    width: 60%;
}
#item_mainphoto img {
	width: auto;
	height: auto;
	max-height: 100%;
	position: absolute;
    margin: auto auto;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
	padding: 0;
	border: none !important;
}
@media only screen and (max-width: 799px) {
	#item_mainphoto, #item_thumb {
		width: 100%;
	}
}
@media only screen and (max-width: 640px) {
	#item_mainphoto{
		height: 300px !important;
	}
}
@media only screen and (max-width: 420px) {
	#item_thumb li {
		width: 50%;
		padding-bottom: 33%;
	}
	#item_mainphoto{
		height: 200px !important;
	}
}


/*front-works-list*/
.home .post .post_img{
	float: none;
}
.post.tops-list {
    display: flex;
    align-content: center;
    justify-content: center;
}
.top_works ul.post2b {
    margin: 0 0 20px 0;
    padding-top: 20px;
}
.column2_50.top_works {
    width: 48%;
    padding: 2%;
    box-sizing: border-box;
    margin: 0;
}
.home .post2b_link{
	float:inherit;
}
.home .post2b_link .button{
	width: 100%;
}
.post.tops-list .top_works h2 {
    border-left: 0;
    box-sizing: border-box;
    border-top: 0;
    border-right: 0;
    font-size: 190%;
    padding-left: 0;
    text-align: center;
		margin: 0 0 15px 0;
}
.post.tops-list .top_works h2 span {
    padding-left: 0;
}
.post.tops-list .top_works h2 b {
    display: block;
    font-size: 14px;
}
@media only screen and (max-width: 1024px){
.post.tops-list {
	flex-direction: column;
	}
	.column2_50.top_works{
		width: 96%;
		margin: 0 auto;
	}
}
@media only screen and (max-width: 799px){
	.post2b li{
		margin: 2%;
	}
}

/*新HOLOCF7送信テキストずれ対応*/
.wpcf7-spinner {
	margin: 0 auto!important;
}