/*
Theme Name: Sample
Author: Motoki Mabuchi
Description: 
Version: 1.0
*/

/**
 * 1.0 Reset
 *
 * Modified from Normalize.css to provide cross-browser consistency and a smart
 * default styling of HTML elements.
 *
 * @see http://git.io/normalize
 * ----------------------------------------------------------------------------
 */

* {
	-webkit-box-sizing: border-box;
	-moz-box-sizing:    border-box;
	box-sizing:         border-box;
}

article,
aside,
details,
figcaption,
figure,
footer,
header,
nav,
section,
summary {
	display: block;
}

audio,
canvas,
video {
	display: inline-block;
}

audio:not([controls]) {
	display: none;
	height: 0;
}

[hidden] {
	display: none;
}

html {
	font-size: 100%;
	overflow-y: scroll;
	-webkit-text-size-adjust: 100%;
	-ms-text-size-adjust: 100%;
}

html,
button,
input,
select,
textarea {
	font-family: Verdana, "Hiragino Kaku Gothic ProN", Meiryo, sans-serif;
}

body {
	color: #141412;
	line-height: 1.5;
	margin: 0;
}

a:focus {
	outline: thin dotted;
}

a:active {
	outline: 0;
}

a:hover {
	opacity: 0.6;
}

h1 {
	font-size: 48px;
	margin: 33px 0;
}

h2 {
    font-size: 20px;
    margin: 25px 0 10px;
    position: relative;
    background: linear-gradient(to right, #5aa500, transparent);
    background-size: 100% 3px;
    background-repeat: no-repeat;
    background-position: bottom;
    padding-bottom: 10px;
    padding-left: 32px;
}

h3 {
	font-size: 18px;
    margin: 0 0 5px 0;
}

h4 {
    font-size: 20px;
    margin: 15px 0;
    display: inline-block;
    border-bottom: 2px solid #5aa500;
    color: #484848;
    padding: 0 5px;
}

h5 {
	font-size: 18px;
	margin: 10px 0;
}

h6 {
	font-size: 16px;
	margin: 36px 0;
}

address {
	font-style: italic;
	margin: 0 0 24px;
}

abbr[title] {
	border-bottom: 1px dotted;
}

b,
strong {
	font-weight: bold;
}

dfn {
	font-style: italic;
}

mark {
	background: #ff0;
	color: #000;
}

p {
	margin: 0 0 20px;
}

code,
kbd,
pre,
samp {
	font-family: monospace, serif;
	font-size: 14px;
	-webkit-hyphens: none;
	-moz-hyphens:    none;
	-ms-hyphens:     none;
	hyphens:         none;
}

pre {
	background: #f5f5f5;
	color: #666;
	font-family: monospace;
	font-size: 14px;
	margin: 20px 0;
	overflow: auto;
	padding: 20px;
	white-space: pre;
	white-space: pre-wrap;
	word-wrap: break-word;
}

blockquote,
q {
	-webkit-hyphens: none;
	-moz-hyphens:    none;
	-ms-hyphens:     none;
	hyphens:         none;
	quotes: none;
}

blockquote:before,
blockquote:after,
q:before,
q:after {
	content: "";
	content: none;
}

blockquote {
	font-size: 18px;
	font-style: italic;
	font-weight: 300;
	margin: 24px 40px;
}

blockquote blockquote {
	margin-right: 0;
}

blockquote cite,
blockquote small {
	font-size: 14px;
	font-weight: normal;
	text-transform: uppercase;
}

blockquote em,
blockquote i {
	font-style: normal;
	font-weight: 300;
}

blockquote strong,
blockquote b {
	font-weight: 400;
}

small {
	font-size: smaller;
}

sub,
sup {
	font-size: 75%;
	line-height: 0;
	position: relative;
	vertical-align: baseline;
}

sup {
	top: -0.5em;
}

sub {
	bottom: -0.25em;
}

dl {
	margin: 0 20px;
}

dt {
	font-weight: bold;
}

dd {
	margin: 0 0 20px;
}

menu,
ol,
ul {
	margin: 16px 0;
	padding: 0 0 0 40px;
}

ul {
	list-style-type: square;
}

nav ul,
nav ol {
	list-style: none;
	list-style-image: none;
}

li > ul,
li > ol {
	margin: 0;
}

img {
	-ms-interpolation-mode: bicubic;
	border: 0;
	vertical-align: middle;
	max-width: 100%;
	height: auto;
}

svg:not(:root) {
	overflow: hidden;
}

figure {
	margin: 0;
}

form {
	margin: 0;
}

fieldset {
	border: 1px solid #c0c0c0;
	margin: 0 2px;
	min-width: inherit;
	padding: 0.35em 0.625em 0.75em;
}

legend {
	border: 0;
	padding: 0;
	white-space: normal;
}

button,
input,
select,
textarea {
	font-size: 100%;
	margin: 0;
	max-width: 100%;
	vertical-align: baseline;
}

button,
input {
	line-height: normal;
	cursor: pointer;
}

button,
html input[type="button"],
input[type="reset"],
input[type="submit"] {
	-webkit-appearance: button;
	cursor: pointer;
}

button[disabled],
input[disabled] {
	cursor: default;
}

input[type="checkbox"],
input[type="radio"] {
	padding: 0;
}

input[type="search"] {
	-webkit-appearance: textfield;
	padding-right: 2px; /* Don't cut off the webkit search cancel button */
	width: 270px;
}

input[type="search"]::-webkit-search-decoration {
	-webkit-appearance: none;
}

button::-moz-focus-inner,
input::-moz-focus-inner {
	border: 0;
	padding: 0;
}

textarea {
	overflow: auto;
	vertical-align: top;
}


caption,
th,
td {
	font-weight: normal;
	text-align: left;
}

caption {
	font-size: 16px;
	margin: 20px 0;
}

th {
	font-weight: bold;
	text-transform: uppercase;
}

td {
    border-top: 1px solid #ccc;
    border-bottom: 1px solid #ccc;
    padding: 6px;
}

del {
	color: #333;
}

ins {
	background: #fff9c0;
	text-decoration: none;
}

hr {
	background: url(images/dotted-line.png) repeat center top;
	background-size: 4px 4px;
	border: 0;
	height: 1px;
	margin: 0 0 24px;
}

a {
	color: #0024ff;
}

a:focus {
	outline: none;
}

a:active,
a:hover {
	outline: 0;
}


/**
 * ALL
 * ----------------------------------------------------------------------------
 */
.s10{
	margin-bottom: 10px;
}

.s20{
	margin-bottom: 20px;
}

.s30{
	margin-bottom: 30px;
}

.s40{
	margin-bottom: 40px;
}

.s50{
	margin-bottom: 50px;
}

.logo {
    display: inline-block;
    margin: 0;
    line-height: 1;
	max-width: 40%;
	width: 250px;
	margin: 5px;
}

h2:before {
    z-index: -1;
    content: "";
    position: absolute;
    top: 2px;
    left: 13px;
    height: 12px;
    width: 12px;
    border-radius: 12px;
    background-color: #5aa500;
}

h2:after {
    content: "";
    position: absolute;
    background: #5aa500;
    top: 18px;
    left: 8px;
    height: 8px;
    width: 8px;
    border-radius: 8px;
}

header {
    border-top: 3px solid #5aa500;
    border-bottom: 1px solid #ccc;
	margin-bottom: 20px;
}

#header-inner {
    max-width: 1000px;
    margin: 10px auto;
	position: relative;
}

ul.menu {
    display: inline-block;
    vertical-align: top;
    list-style-type: none;
    position: absolute;
    right: 0;
	bottom: 0;
    margin: 5px 0;
}

ul.menu li {
    display: inline-block;
}

ul.menu a {
    display: inline-block;
    position: relative;
    text-decoration: none;
    color: #5f5f5f;
    border: 1px solid #828282;
    min-width: 120px;
    padding: 0 5px;
    height: 40px;
    line-height: 40px;
    border-radius: 5px;
    text-align: center;
    vertical-align: middle;
    overflow: hidden;
    font-weight: bold;
    background-image: -webkit-linear-gradient(#ffffff 0%, #bcbcbc 100%);
    background-image: linear-gradient(#ffffff 0%, #bcbcbc 100%);
    text-shadow: 1px 1px 1px rgba(255, 255, 255, 0.66);
    box-shadow: 0 1px 1px rgba(0, 0, 0, 0.28);
}

#content {
    max-width: 1000px;
    margin: auto;
}

.top-image {
    margin-top: 30px;
}

.bg-glay {
    background-color: #e9e9e9;
    padding: 10px;
}

.bg-glay p:last-of-type {
	margin-bottom: 0;
}

.new-article {
    border: 1px solid #a5a5a5;
    padding: 15px 20px;
}

.article {
    font-size: 0;
    border-bottom: 1px dashed #ccc;
    padding-bottom: 10px;
    margin-bottom: 10px;
}

.article-thumb {
    width: 20%;
    display: inline-block;
}

.article-disc {
    font-size: 18px;
    display: inline-block;
    padding-left: 15px;
    vertical-align: middle;
	width: 80%;
}

footer {
    margin-top: 30px;
    border-top: 1px solid #ccc;
    padding-top: 10px;
}

#footer-inner {
    max-width: 1000px;
    margin: auto;
    padding-bottom: 10px;
	position: relative;
}

#copyright {
	text-align: center;
    background-color: #c6d8af;
    padding: 5px 0;
}

.scroll {
    max-height: 250px;
    overflow: auto;
    border: 1px solid #a5a5a5;
    padding: 3px 10px;
}

.scroll p:last-of-type {
    margin-bottom: 0;
}

table {
    width: 100%;
    border-collapse: collapse;
}

.more-link {
    display: inline-block;
    position: relative;
    text-decoration: none;
    color: #5f5f5f;
    border: 1px solid #828282;
    padding: 3px 7px;
    border-radius: 5px;
    text-align: center;
    vertical-align: middle;
    overflow: hidden;
    font-weight: bold;
    background-image: -webkit-linear-gradient(#ffffff 0%, #bcbcbc 100%);
    background-image: linear-gradient(#ffffff 0%, #bcbcbc 100%);
    text-shadow: 1px 1px 1px rgba(255, 255, 255, 0.66);
    box-shadow: 0 1px 1px rgba(0, 0, 0, 0.28);
}

.more-link:before {
    content: "\f0a9";
    font-family: fontawesome;
    margin-right: 5px;
    font-weight: normal;
}

ul.breadcrumb {
    list-style-type: none;
    margin: 0 0 10px 0;
    padding: 0;
}

ul.breadcrumb li {
    display: inline-block;
    margin-right: 5px;
}

ul.breadcrumb li a {
    margin-right: 5px;
}

.wp-pagenavi {
    margin: 10px 0;
}

label {
    margin-left: 5px;
    margin-bottom: 5px;
    display: inline-block;
	cursor: pointer;
}

label.status {
    margin-left: 0;
}

input[type="submit"] {
    display: inline-block;
    padding: 3px 7px;
    text-decoration: none;
    background: #fd9535;
    color: #FFF;
    border-radius: 3px;
    font-weight: bold;
    border: 0;
    box-shadow: 1px 1px 1px #808080;
	min-width: 100px;
}

input[type="checkbox"] {
    margin-right: 2px;
}

.contact-heading:before {
    content: "\f10c";
    font-family: fontawesome;
    color: #5aa500;
    margin-right: 5px;
}

.wpcf7-form label {
    margin: 0;
}

.wpcf7-form {
    max-width: 390px;
    margin: auto;
}

.no-pointer {
    cursor: default;
}

input[readonly="readonly"] {
    cursor: default;
    background-color: #e5e5e5;
}

.required {
    color: #dc0000;
    font-weight: bold;
    margin-left: 3px;
}

/**
 * トップページ
 * ----------------------------------------------------------------------------
 */
.topics {
    max-height: 150px;
    overflow: auto;
    border: 1px solid #a5a5a5;
    padding: 3px 10px;
}

.topics p {
    margin: 5px 0px;
    border-bottom: 1px dashed #ccc;
}

.topics p:before {
    content: "\f10c";
    font-family: fontawesome;
    color: #5aa500;
    margin-right: 5px;
}

/**
 * 検索
 * ----------------------------------------------------------------------------
 */
.result_type ul {
    list-style-type: none;
    margin: 0;
    padding: 0;
}

.result_type ul li {
    display: inline-block;
    background-color: #ccc;
    color: #fff;
    border: 1px solid #7a7a7a;
    font-weight: bold;
    padding: 3px 5px;
    margin-bottom: 5px;
    border-radius: 3px;
    font-size: 14px;
    text-shadow: 1px 1px 1px #4e4e4e;
    width: 68px;
    text-align: center;
}

.result_type ul li.active {
    background-color: #5aa500;
}

td.result_thumb {
    width: 20%;
}

.result_address {
    display: block;
    font-size: 14px;
    color: #717171;
}

td.result_type {
    width: 16%;
}

td.result_status {
    text-align: center;
    width: 15%;
}

.result_status span {
    display: inline-block;
    font-weight: bold;
    color: #fff;
    font-size: 14px;
    padding: 3px;
}

.seiyaku {
    background-color: #da9b9b;
}

.boshuu {
    background-color: #64a8d9;
}

.searchform {
	margin-bottom: 15px;
    background-color: #e5e5e5;
    padding: 10px;
}

.yachin {
    font-size: 14px;
    margin-bottom: 5px;
    font-weight: bold;
}

label.yachin_min {
    position: relative;
    margin-bottom: 28px;
}

label.yachin_min:after {
    content: "～";
    position: absolute;
    left: 49%;
    top: 105%;
    -moz-transform: rotate(90deg);
    -webkit-transform: rotate(90deg);
    -o-transform: rotate(90deg);
    -ms-transform: rotate(90deg);
    transform: rotate(90deg);
}

.house_type {
	max-width: 450px;
    text-align: left;
    margin: 0 auto 10px auto;
}

table.house_type td {
    border: 0;
}

td.type_description {
    font-size: 14px;
    vertical-align: top;
    font-weight: bold;
    padding-left: 30px;
}

/**
 * 詳細
 * ----------------------------------------------------------------------------
 */
.metaslider {
    max-width: 100%!important;
}

#slider {
    max-width: 50%;
    display: inline-block;
	position: relative;
}

#carousel {
    display: inline-block;
    width: 50%;
    vertical-align: top;
    font-size: 0;
    padding: 5px;
}

#carousel li {
    width: 32.3%!important;
    float: none!important;
    display: inline-block!important;
    margin: 0 0 1% 1%!important;
    opacity: 1!important;
}

.flex-control-nav {
    position: relative!important;
}

ol.flex-control-nav.flex-control-paging {
    margin-top: 5px;
}

.article-header {
    border-bottom: 1px solid #9b9b9b;
    margin-bottom: 5px;
    border-left: 3px solid #5aa500;
    padding: 5px 10px;
}

.article-title {
    display: inline-block;
    margin-right: 10px;
}

.article-status {
    color: #fff;
    font-weight: bold;
    padding: 3px;
}

.article-catch {
    font-size: 14px;
    color: #717171;
}

.article-img p {
    display: inline-block;
    width: 50%;
    margin: 20px 0 0 0;
	text-align:center;
}

.article-img p img {
    max-height: 300px;
    width: auto;
}

ul.article-type {
    display: inline-block;
    width: 50%;
    list-style: none;
    margin: 20px 0 0 0;
    padding: 0;
    vertical-align: top;
}

ul.article-type li {
    width: 48%;
    display: inline-block;
    background-color: #ccc;
    color: #fff;
    border: 1px solid #7a7a7a;
    font-weight: bold;
    padding: 50px 0;
    margin: 1%;
    border-radius: 3px;
    font-size: 20px;
    text-align: center;
}

ul.article-type li.active {
    background-color: #5aa500;
    text-shadow: 1px 1px 1px #4e4e4e;
}

ul.article-type li.active:before {
    content: "\f05d";
    font-family: fontawesome;
    font-weight: normal;
    margin-right: 2px;
}

.article-img {
    font-size: 0;
}

table.atricle-info {
    table-layout: fixed;
    font-size: 14px;
    margin-top: 20px;
    word-break: break-all;
}

table.atricle-info th {
    background-color: #ececec;
    padding: 6px;
    border: 1px solid #acacac;
}

table.atricle-info td {
    padding: 6px;
    border: 1px solid #acacac;
}

.article-contact {
    text-align: right;
    margin-bottom: 5px;
    margin-top: 5px;
}

.btn1 {
    display: inline-block;
    padding: 3px 7px;
    text-decoration: none;
    background: #fd9535;
    color: #FFF;
    border-radius: 3px;
    font-weight: bold;
    border: 0;
    box-shadow: 1px 1px 1px #808080;
}

/**
 * 固定ページ
 * ----------------------------------------------------------------------------
 */
.service {
    margin-bottom: 10px;
    background-color: #f1f1f1;
    padding: 5px;
    border: 1px solid #ccc;
}

.service-header {
    background-image: -webkit-linear-gradient(#e3e3e3 0%, #c4c4c4 100%);
    background-image: linear-gradient(#e3e3e3 0%, #c4c4c4 100%);
    padding: 3px 20px 3px 3px;
    font-weight: bold;
    position: relative;
    cursor: pointer;
    border: 1px solid #bbbbbb;
}

.service-header:after {
    content: "\f13a";
    font-family: fontawesome;
    font-weight: normal;
    position: absolute;
    right: 5px;
    color: #5a5a5a;
}

.service-description {
    margin-top: 5px;
    display: none;
}

.free {
    font-weight: normal;
    margin-left: 5px;
    color: #dc0000;
}

ul.works-list {
    list-style: none;
    margin: 0;
    padding: 0;
    font-size: 0;
}

ul.works-list li {
    font-size: 16px;
    display: inline-block;
    width: 24%;
    text-align: center;
    background-color: #63b500;
    margin: 0 0.5%;
    padding: 3px;
    border-radius: 3px;
}

ul.works-list a {
    border: 2px solid;
    display: block;
    color: #fff;
    font-weight: bold;
    text-decoration: none;
    padding: 30px 0;
    border-radius: 3px;
}

/**
 * 仮
 * ----------------------------------------------------------------------------
 */

.banner50 {
    display: inline-block;
    width: 47%;
    margin: 0 1%;
    text-align: center;
    background-color: #ccc;
    font-size: 20px;
    font-weight: bold;
}

.banner30 {
    display: inline-block;
    width: 30%;
    margin: 0 1%;
    text-align: center;
    font-size: 20px;
    font-weight: bold;
}

@media screen and ( max-width:700px ){
	ul.menu {
		margin: 0;
		text-align: right;
		padding: 0 5px 0 0;
		display: block;
		position: relative;
	}
	ul.menu a {
		min-width: 0;
		padding: 5px;
		line-height: 1.2;
		height: auto;
		font-size: 10px;
	}
	#header-inner {
		margin: 5px 0;
	}
	.article-img p {
		width: 100%;
	}
	.article-img p img {
		max-height: none;
	}
	ul.article-type {
		width: 100%;
	}
	ul.article-type li {
		font-size: 12px;
		padding: 5px 0;
	}
	#slider {
		width: 100%;
		max-width: none;
	}
	#carousel {
		width: 100%;
	}
	.logo {
		height: auto;
		font-size: 28px;
	}
	#primary {
		padding: 0 5px;
	}
}