/*
Theme Name: 上馬渡夢農場
Version: 1.1
*/

html,
body {
    width: 100%;
}

body {
   font-family: "Hiragino Kaku Gothic ProN", Meiryo, sans-serif;
    font-size: 16px;
    line-height: 2em;
    color: #000;
    margin: 0;
    -webkit-text-size-adjust: none;
}

.clearfix:after {
    visibility: hidden;
    display: block;
    font-size: 0;
    content: " ";
    clear: both;
    height: 0;
}

.clearfix {
    display: inline-block;
}

.clearfix {
    display: block;
}

div.clear {
    clear: both;
}

div.clear hr {
    display: none;
}

.breadcrumbs {
    padding: 2em 0 1em 0;
}

img{
	vertical-align:top;
}

a {
	color: #0056b5;
}

a:hover {
	text-decoration: none;
}


span.wpcf7-list-item { display: block; }


#pnavi {
	display: block;
	width: 100%;
	margin: 2em auto;
	padding-bottom: 3em;
}
.nav-previous a,.nav-next a { width:120px; background: #08690b; color: #fff; display: block; padding: .5em 1em; text-decoration: none; -webkit-transition: 0.5s; transition: 0.5s; text-align: center;}
.nav-previous a:hover,.nav-next a:hover { background: #2da631; color: #fff;}

#page-navi {
    width: 100%;
    margin: 3em 0;
    display: block;
    clear: both;
}

.wp-pagenavi {
    font-size: 14px;
}

.wp-pagenavi span.pages {
    width: 100px;
    display: block;
    margin: 0 auto 1em auto;
    padding: text-align: center;
    border: none;
}

.wp-pagenavi {
    display: block;
    text-align: center;
}

.smaller,
.larger {
    background:  #08690b;
}

.wp-pagenavi a {
    color: #fff;
    border: none;
    padding: 1em;
    text-decoration: none;
}

.wp-pagenavi a:hover {
    background: #2da631;
    color: #fff;
}

.current {
    background: #08690b;
    color: #fff;
    border: none;
 border: solid 1px #fff;
}

.previouspostslink,
.nextpostslink,
.wp-pagenavi .first,
.wp-pagenavi .last {
    background: #08690b;
border: solid 1px #fff;    
}

.wp-pagenavi a,
.wp-pagenavi span {
    padding: 12px;
}

.cont-menu-wp {
	margin: 3em 0 4em 0;
}


input[type="text"],
textarea {
    vertical-align: middle;
    max-width: 90%;
    line-height: 30px;
    height: 30px;
    padding: 1px 5px;
    border: 1px solid #d4d4d7;
    border-radius: 3px;
    -webkit-border-radius: 3px;
    -moz-border-radius: 3px;
    font-size: 100%;
    color: #555;
    background: #fcfcfc;
}

input[type="text"].readonly {
    font-weight: bold;
    vertical-align: middle;
    width: 100%;
    line-height: 20px;
    height: 20px;
    padding: 1px 0;
    border: none;
    font-size: 100%;
    color: #555;
    background: #fff;
}

input[type="tel"],
textarea {
    vertical-align: middle;
    max-width: 90%;
    line-height: 30px;
    height: 30px;
    padding: 1px 5px;
    border: 1px solid #d4d4d7;
    border-radius: 3px;
    -webkit-border-radius: 3px;
    -moz-border-radius: 3px;
    font-size: 100%;
    color: #555;
    background: #fcfcfc;
}

input[type="email"],
textarea {
    vertical-align: middle;
    max-width: 90%;
    line-height: 30px;
    height: 30px;
    padding: 1px 5px;
    border: 1px solid #d4d4d7;
    border-radius: 3px;
    -webkit-border-radius: 3px;
    -moz-border-radius: 3px;
    font-size: 100%;
    color: #555;
    background: #fcfcfc;
}

textarea {
    height: auto;
    line-height: 1.5;
}

input[type="submit"],
input[type="reset"],
input[type="button"] {
    padding: .5em 3em;
    background: #007c1a;
    background: -moz-linear-gradient(top, #1549aa 0%, #1549aa 100%);
    background: -webkit-gradient(linear, left top, left bottom, color-stop(0%, #1549aa), color-stop(100%, #1549aa));
    background: -webkit-linear-gradient(top, #1549aa7 0%, #1549aa 100%);
    background: -o-linear-gradient(top, #1549aa 0%, #1549aa 100%);
    background: linear-gradient(to bottom, #1549aa 0%, #1549aa 100%);
    filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#1549aa', endColorstr='#1549aa', GradientType=0);
    border: 0;
    border-radius: 3px;
    -webkit-border-radius: 3px;
    -moz-border-radius: 3px;
    line-height: 1.5;
    font-size: 16px;
    color: #fff;
}

input[type="submit"]:hover,
input[type="reset"]:hover,
input[type="button"]:hover {
    background: #212121;
    background: -moz-linear-gradient(top, #212121 0%, #212121 100%);
    background: -webkit-gradient(linear, left top, left bottom, color-stop(0%, #212121), color-stop(100%, #212121));
    background: -webkit-linear-gradient(top, #212121 0%, #212121 100%);
    background: -o-linear-gradient(top, #212121 0%, #212121 100%);
    background: linear-gradient(to bottom, #212121 0%, #212121 100%);
    filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#212121', endColorstr='#212121', GradientType=0);
    cursor: pointer;
    -webkit-transition: all .8s;
    transition: all .8s;
}


*:first-child+html input[type="submit"] {
    padding: 3px;
}

#search {
    background: #e2e2e2;
    margin: 0;
    padding: 1em .5em;
    text-align: center;
}
#top-wrap { position: absolute; z-index: 10; width: 100%;}
#top-wrap-inner {position: relative; padding-top: 1.5em;}
#tel { font-size: 30px; font-weight:bold; line-height: 1;}
#tel::before { content: url(images/telmk.svg); display: inline-block; width: 30px; height: 30px; vertical-align: middle; position: relative; top:-.2em; margin-right: .1em;}
#vi { display: block;top:0; z-index: 1;}
#vi-inner { position: relative; }
#main-copy { max-width: 1100px; width: 95%; display: block; margin: 0 auto 4em auto; padding: 2em 0;}
#main-copy-innre {display: flex; justify-content: space-between; align-items: center;}
#main-copy-innre section.cplead {flex-basis: 60%;}
#main-copy-innre section.cpimg {flex-basis: 35%;}
#copy {font-size: 26px; font-weight: bold; margin-bottom: .5em;}
#profile { background:#9ed556; width: 100%; display: block; }
#profile img { width: 100%; height: auto;}
#profile-inner {max-width: 1100px; width: 95%; display: block; margin: auto; padding: 3em 0 6em 0; text-align: center;}
#profile-inner h1 { display: inline-block; background: #fff; border-radius: 6em; padding: .5em 3em;}
#profile-inner dl {text-align: left; font-size: 24px; font-weight: bold; line-height: 3;}
#profile-inner dt {text-indent: 1em;}
#profile-inner dd {margin: -3em 0 0 0; padding-left: 12em; border-bottom: dotted 2px #713005;}
#profile-inner dd:first-of-type {border-top: dotted 2px #713005;}
p {
    margin-bottom: 1.5em;
}

#content ul {
    margin: 0 0 3em 1em;
    padding: 0;
}

#content ul li {
    margin: 0 0 1em 0;
    padding: 0;
    list-style-position: outside;
}


#content ol {
    margin: 0 0 3em 0;
    padding: 0 0 0 1em;
}

#content ol li {
    list-style: decimal;
    margin: 0 0 2em 0;
    padding: 0;
}

blockquote {
    clear: both;
    padding: 10px 0 10px 15px;
    margin: 10px 0 25px 30px;
    border-left: 5px solid #ccc;
}

blockquote p {
    padding: 5px 0;
}

table {
    border: 1px #dddddd solid;
    border-collapse: collapse;
    border-spacing: 0;
    margin: 10px 0 4em 0;
    width: 100%;
}

table th {
    padding: 1em;
    border: 1px #dddddd solid;
    border-width: 0 0 1px 1px;
    font-weight: normal;
    background: #f2f2f2;
    vertical-align: middle;
}

table th:first-child {
	width: 30%;
}

table th span {
    color: red;
}

table td {
    padding: 1em;
    border: 1px #dddddd solid;
    border-width: 0 0 1px 1px;
    background: #fff;
    vertical-align: middle;
}

table td.txc {
	text-align: center;
}

table p {
    margin: 0;
    padding: 0;
}


img {
    max-width: 100%;
    height: auto;
    margin: 0;
    padding: 0;
}

img.aligncenter {
    display: block;
    margin: 0 auto 1em auto;
}

img.alignright {
    margin: 0 0 1em 1em;
    display: inline;
}

img.alignleft {
    margin: 0 1em 1em 0;
}

.alignright {
	margin: 0 0 1em 1em;
    float: right;
}

.alignleft {
	margin: 0 1em 1em 0;
    float: left;
}

.red {
    color: #ff0000;
}

.shadow {
	box-shadow: 0 0 15px 0 rgba(0,  0,  0, 0.13);
}

@media only screen and (max-width: 1000px) {
   #main-copy-innre {align-items: flex-start;}
   #main-copy-innre section.cplead {flex-basis:50%;}
   #main-copy-innre section.cpimg {flex-basis: 45%;}
   #copy {font-size: 26px; font-weight: bold; margin-bottom: .5em;}
}



@media only screen and (max-width: 900px) {
   #main-copy-innre {display: block; }
   #main-copy-innre section.cplead {margin-bottom: 1em;}
   #main-copy-innre section.cpimg {text-align: center;}
}



@media only screen and (max-width: 800px) {

}


@media only screen and (max-width: 644px) {
#top-wrap { position: relative; z-index: 10; width: 100%;}
#tel { display: none;}
.alignright {
	margin: 0 0 1em 0;
    float: none;
}

.alignleft {
	margin: 0 0 1em 0;
    float: none;
}
    span.wpcf7-list-item {
        display: block;
        padding: .6em 0;
    }
    textarea {
        height: auto;
        line-height: 1.5;
        width: 70%;
    }
    input[type="text"],
    textarea {
        width: 70%;
    }
    input[type="tel"],
    textarea {
        width: 70%;
    }
    input[type="email"],
    textarea {
        width: 70%;
    }
    input[type="url"],
    textarea {
        width: 70%;
    }
}