@charset "Shift_JIS";

/*全体構造---------------------------------*/
body,div,ul,li,form,input,p {
	margin: 0;
	padding: 0;
}
div,p,dl,dt,dd,ol,ul,li,h1,h2,h3,h4,h5,h6,form,input,button,textarea,table,tr,th,td,article,aside,header,footer,section,nav,label{
-webkit-box-sizing: border-box;
-moz-box-sizing: border-box;
box-sizing: border-box;
}
html {
    overflow-y:scroll;
}
body {
	font-family: "游明朝", YuMincho, "Hiragino Mincho ProN", "Hiragino Mincho Pro", "ＭＳ 明朝", serif;
	color: #000;
    display: flex; /*フッタ固定用*/
    flex-direction: column; /*フッタ固定用*/
}
#wrapper_forie { /*フッタ固定用*/
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}
#wrapper { /*フッタ固定用*/
    flex: 1 1 auto;
}
img {
	vertical-align: bottom;
	border: none;
	margin: 0;
}
a {
	outline-width: 0;
    color: #333;
}
a:link {
	text-decoration: none;
	opacity: 1;
}
a:visited {
	opacity: 1;
    color: #333;
}
a:hover {
	opacity: 0.85;
}
a:active {
	opacity: 1;
}
p {
	color: black;
}
p.justify {
    text-align: justify;
	text-justify: inter-ideograph;
}
ul {
	list-style: none;
}
button {
	margin: 0;
	padding: 0;
	border: none;
	background: none;
	cursor: pointer;
	color: #fff;
}
button:hover {
	opacity: 0.8;
	transition: 0.1s;
}
#pagetop {
    position: fixed;
    bottom: 20px;
    right: 20px;
    width: 40px;
	height: 40px;
}
#pagetop img {
	width: 40px;
	height: 40px;
}
#pagetop a:hover {

}
.off {
    opacity: 0.3
}
/*wp-pagenavi*/
.wp-pagenavi {
clear: both;
text-align:center;
}
.wp-pagenavi a, .wp-pagenavi span {
color: #902146;
background-color: #FFFFFF;
padding: 8px 15px;
margin: 0 2px;
white-space: nowrap;
-webkit-transition: 0.2s ease-in-out;
-moz-transition: 0.2s ease-in-out;
-o-transition: 0.2s ease-in-out;
transition: 0.2s ease-in-out;
text-align: center;
text-decoration: none;
border: thin dotted #902146;
}
.wp-pagenavi a:hover{
color: #fff;
background-color: #902146;
}
.wp-pagenavi span.current{
color: #fff;
background-color: #902146;
}

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

}

@media screen and (max-width:768px) {
body {
	-webkit-text-size-adjust: 100%;
}
#wrapper {
	clear: both;
	margin: 0px auto 0px;
	width: 100%;
	padding: 0px;
}
.hidden {
    display: none;
}
}

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

header {
    width: 100%;
    background: #240e03;
}
#header_inner {
    width: 90%;
    margin: 0 auto 0;
    display: flex;
    justify-content: space-between;
}
#logo {
	margin: 0;
    padding: 15px 0;
	font-weight: normal;
	font-size: 1em;
    display: flex;
    justify-content: space-between;
}
#logo a {
	display: block;
	width: 200px;
	height: 64px;
	overflow: hidden;
	text-indent: 100%;
	white-space: nowrap;
	background: url(./img/logo_s.png) no-repeat;
    background-size: 200px 64px;
}
#header_right {

}
#header_right nav {
    margin-top: 22px;
}
#header_right nav ul {
    list-style: none;
}
#header_right nav li {
    display: inline-block;
    margin-right: 10px;
}
#header_right nav li a {
    display: block;
    padding: 10px;
    color: #fff;
    font-size: 0.85em;
}
#toph1 h1 {
	margin: 0;
    padding: 0;
	width: auto;
	font-weight: normal;
	font-size: 0.85em;
}
.pcoff {
    display: none;
}

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

a:hover {
	opacity: 1;
}
button { 

}
button:hover {
	opacity: 1;
}
#header_inner {
    width: 100%;
    margin: 0 auto 0;
    display: block;
}
#logo {
    width: 144px;
    padding: 10px;
    margin: 0;
    display: block;
}
#logo a {
	display: block;
	width: 144px;
	height: 46px;
    background-size: 144px 46px;
}
#toph1 h1 {
	width: 100%;
	font-size: 0.6em;
}
#header_right nav {
    display: none;
}
.pcoff {
    display: block;
}
}


/*トップコンテンツ--------------------------*/

#slidebox {
    position: relative;
}
#slidebox p img {
    display: block;
	position: absolute;
	top: 50%;
	left: 50%;
	transform: translate(-50%,-50%);
    z-index: 10;
}
.wrap{
	margin: 0 calc(50% - 50vw);
	max-width: 100vw;
	position: relative;
	overflow: hidden;
}
#slidebox div.swiper-slide img{
	object-fit: cover;
    width: 100vw;
    height: calc(100vh - 10px);
}
#slidebox div.swiper-slide picture{
	object-fit: cover;
    width: 100vw;
    height: calc(100vh - 10px);
}
.swiper-pagination-bullet-active {
    background: #fff!important;
}

#contentsbody {
    width: 100%;
    margin: 0 auto;
}
#contentsbody h1 {
    font-size: 2.2em;
    font-weight: normal;
    margin: 0px auto 0px;
    padding: 130px 0px;
    letter-spacing: 0.1em;
    text-align: center;
}
#firstarea {
    width: 100%;
    margin: 100px auto 100px;
}
#firstarea_wrap {
    width: 1000px;
    margin: 0 auto;
    text-align: center;
}
#firstarea h2 {
    font-size: 3em;
    font-weight: normal;
    margin: 0px auto 80px;
    line-height: 200%;
    letter-spacing: 0.05em;
}
#firstarea p {
    font-size: 1.05em;
    line-height: 230%;
    letter-spacing: 0.05em;
    padding: 30px 0 60px;
}

#conceptarea {
    background: #f9f9f9;
}
#conceptarea_wrap {
    width: 1000px;
    margin: 0 auto;
    padding-bottom: 60px;
}
h3.title {
    text-align: center;
    padding: 130px 0px;
    margin: 0px auto;
    font-size: 2.2em;
    font-weight: normal;
    letter-spacing: 0.1em;
}
.topconceptbox {
    margin-bottom: 150px;
}
h4.topictitle {
    font-size: 1.6em;
    color: #8d5709;
    letter-spacing: 0.1em;
    margin: 0 0 16px;
}

/*----- for Swiper -----*/

.swiper-button-next, .swiper-button-prev {
    color: #fff!important;
    text-shadow: #333 1px 0 10px;
    opacity: 0.6;
}
.swiper {
    margin-bottom: 40px;
}
.topconceptbox p {
    font-size: 0.9em;
    line-height: 200%;
    letter-spacing: 0.05em;
}


#planarea {
    width: 1000px;
    margin: 0 auto;
}
#planarea_wrap {
}
#planarea p {
    text-align: left;
    font-size: 0.9em;
    line-height: 200%;
    letter-spacing: 0em;
}
p#topplancopy {
    text-align: center;
    margin-bottom: 30px;
    margin-top: 0;
    font-size: 1.05em;
    line-height: 230%;
}
#planarea_wrap h5 {
    font-size: 1.1em;
    font-weight: normal;
    margin: 0 0 150px;
    text-align: center;
}
.topplanbox {
    margin-bottom: 130px;
}
.topplan_wrap {
    display: flex;
    justify-content: flex-start;
    margin-bottom: 150px;
}
.topplan_wrap img {
    display: block;
    width: 400px;
    height: auto;
}
.topplan_wrap p {
    text-align: left;
    margin-left: 30px;
    padding-top: 100px;
}
h4.topplantitle {
    font-size: 1.3em;
    color: #8d5709;
    letter-spacing: 0.1em;
    margin: 0 0 10px;
    text-align: center;
}
h6 {
    font-size: 0.85em;
    color: #000;
    letter-spacing: 0.1em;
    margin: 10px 0 10px;
    text-align: center;
}
#galleryarea {
    background: #f9f9f9;
    padding-bottom: 130px;
}
#galleryarea_wrap {
    width: 1000px;
    margin: 0 auto;
}
#followbox {
    background: #f9f9f9;
    padding: 50px 0 0;
    font-family: Verdana, Geneva, YuGothic, "Yu Gothic medium", "Hiragino Sans","sans-serif";
    text-align: center;
}
#followbox h5 {
    font-size: 1.4em;
    font-weight: normal;
    letter-spacing: 0.1em;
    margin-bottom: 30px;
}
#follow_wrap {
    display: block;
    width: 284px;
    border-radius: 50px;
    background: #fff;
    padding: 30px 70px;
    margin: 0 auto;
}
#follow_wrap_sp {
    display: none;
}
#follow_wrap ul {
    list-style: none;
    display: flex;
    justify-content: space-between;
}
#follow_wrap li {
    display: inline-block;
}
#follow_wrap li a {
    display: block;
    font-size: 1em;
    font-weight: bold;
    color: #000;
}
#follow_wrap li a:before {
    background: url("img/icon_ig_color.png") no-repeat left;
    background-size: 30px 30px;
    background-position: 0px -2px;
    content: "";
    display: inline-block;
    width: 30px;
    height: 30px;
    margin: 0px 0px 0 0;
    vertical-align: middle;
    padding-right: 10px;
}
#footerlink {
    text-align: center;
    margin-bottom: 130px;
    margin-top: 130px;
}
#footerlink img {
}
#footerlink a {
    display: block;
    padding: 0px;
    margin: 0 auto 50px;
    color: #000;
    width: 364px;
}


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

#contentsbody {
    width: 100%;
    margin: 0 auto;
}
.spoff {
    display: none;
}
#slidebox {

}
#slidebox img {
    width: 70%;
    height: auto;
    z-index: 10;
}
.wrap{

}
.wrap p img {
    width: 80%;
    height: auto;
}
#contentsbody h1 {
    font-size: 1.5em;
    margin: 80px auto;
    padding: 0;
    line-height: 200%;
    letter-spacing: 0.05em;
}
#firstarea {
    width: 100%;
    margin: 100px auto 80px;
}
#firstarea_wrap {
    width: 100%;
}
#firstarea h2 {
    font-size: 1.8em;
    margin: 0px 0 80px auto;
    line-height: 200%;
    letter-spacing: 0.05em;
    text-align: center;
}
#firstarea p {
    font-size: 0.85em;
    line-height: 200%;
    letter-spacing: 0em;
    padding: 0px 16px 40px;
    text-align: left;
}

#conceptarea_wrap {
    width: 100%;
    padding: 0 16px 40px;
}
h3.title {
    padding: 40px 0px 40px;
    margin: 0px auto;
    font-size: 1.5em;
    letter-spacing: 0.1em;
}
.topconceptbox {
    margin-bottom: 70px;
}
h4.topictitle {
    font-size: 1.3em;
    letter-spacing: 0.1em;
    margin: 0 0 10px;
}
.swiper {
    margin-bottom: 20px;
}
.topconceptbox p {
    font-size: 0.85em;
    line-height: 200%;
    letter-spacing: 0em;
}

#planarea {
    width: 100%;
    margin: 0 auto;
}
#planarea_wrap {
    padding: 70px 16px 0;
}
#planarea p {
    font-size: 0.85em;
    line-height: 200%;
    letter-spacing: 0em;
    padding: 0;
}
p#topplancopy {
    text-align: center;
    margin-bottom: 100px;
    font-size: 0.9em;
    line-height: 200%;
}
.topplanbox {
    margin-bottom: 100px;
}
.topplan_wrap {
    display: block;
    margin-bottom: 100px;
}
.topplan_wrap img {
    display: block;
    width: 100%;
    height: auto;
}
.topplan_wrap p {
    margin-left: 0px;
}
h4.topplantitle {
    font-size: 1.1em;
    letter-spacing: 0.1em;
    margin: 0px;
}
#galleryarea_wrap {
    width: 100%;
    margin: 0 auto;
    padding-bottom: 40px;
}
#galleryarea {
    padding-bottom: 60px;
}
#followbox {
    padding: 30px 0 0;
}
#followbox h5 {
    font-size: 1.4em;
    font-weight: normal;
    letter-spacing: 0.1em;
    margin-bottom: 30px;
}
#follow_wrap {
    display: none;
}
#follow_wrap_sp {
    width: 100%;
    display: block;
    text-align: center;
}
#follow_wrap_sp p {
    margin: 0 20px 20px;
}
#follow_wrap_sp p a {
    display: block;
    font-size: 1em;
    font-weight: bold;
    color: #000;
    width: 100%;
    border-radius: 30px;
    background: #fff;
    padding: 20px 0px;
    margin: 0 auto;
}
#follow_wrap_sp p a:before {
    background: url("img/icon_ig_color.png") no-repeat left;
    background-size: 30px 30px;
    background-position: 0px -2px;
    content: "";
    display: inline-block;
    width: 30px;
    height: 30px;
    margin: 0;
    vertical-align: middle;
    padding-right: 10px;
}
#footerlink {
    text-align: center;
    margin-bottom: 100px;
    margin-top: 100px;
}
#footerlink img {
}
#footerlink a {
    display: block;
    box-sizing: border-box;
    margin: 0 auto 30px;
    width: 100%;
}

}

/*トップブログカラム--------------------------*/

.col3 {
    width: 100%;
    display: flex;
  -webkit-flex-wrap: wrap; /* Safari */
  flex-wrap:         wrap;
}
.col3 .thumbbox {
    width: 31.3%;
    margin: 0 3% 40px 0;
}
.col3 .thumbbox:nth-child(3n) {
    margin-right: 0;
}
.col3 img {
    width: 100%;
    height: auto;
}
.indexthumbwrap {
    display: flex;
    justify-content: space-between;
}
.thumbbox p {
    font-size: 0.8em;
    line-height: 170%;
}

@media screen and (max-width:768px) {
.col3 {
    width: 100%;
    display: block;
}
.col3 .thumbbox {
    width: 100%;
    margin: 0 0 34px 0;
    clear: both;
}
.thumbbox:after {
  content: "";
  clear: both;
  display: block;
}
.thumbbox h2 {
    font-size: 1em;
    margin: 7px 0 12px;
}
.thumbbox h3 {
    font-size: 0.7em;
    margin: 3px 0 7px;
}
.thumbbox p {
    font-size: 0.8em;
    line-height: 170%;
}
}

/*モデルハウス--------------------------*/

#mlfirst {
    width: 100%;
    margin: 0px auto 100px;
}
#mlfirst_wrap {
    width: 1000px;
    margin: 0 auto;
    text-align: center;
}
#mlfirst h1 {
    font-size: 2.2em;
    font-weight: normal;
    margin: 0px auto 0px;
    padding: 130px 0px;
    letter-spacing: 0.1em;
}
#modelhouse01 img {
    width: 100%;
    height: auto;
    margin-bottom: 50px;
}
#mlfirst p {
    font-size: 1.05em;
    line-height: 230%;
    letter-spacing: 0.05em;
    padding: 30px 0 60px;
}
#gallerybox {
    width: 1000px;
    margin: 0 auto;
}
#gallerybox_sp {
    display: none;
}
#specbox {
    width: 1000px;
    margin: 0 auto 100px;
    text-align: center;
}
#specbox img {
    width: 500px;
    height: auto;
    margin: 0 auto 20px;
}
#specbox p {
    line-height: 230%;
    font-size: 0.9em;
}
.youtube_wrap {
    width: 1000px;
    margin: 100px auto 0;
}
.youtubebox {
  position: relative;
  width: 100%;
  height: 0;
  padding-top: 56.25%
}
.youtubebox iframe {
  position:absolute;
  top:0;
  right:0;
  width:100%;
  height:100%;
}
#maparea {
    background: #fff;
}
#maparea_wrap {
    width: 100%;
    margin: 0 auto;
    padding: 0;
}
#maparea p {
    font-size: 0.85em;
    text-align: center;
    margin-bottom: 20px;
}
#map { /*レスポンシブ対応用*/
    position: relative;
    width: 100%;
    height: 0;
    padding-bottom: 500px;
    overflow: hidden;
    margin: 0px auto 0px;
}
#map iframe { /*レスポンシブ対応用*/
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 500px;
}
#contactarea {
    padding-bottom: 130px;
}
#contactarea_wrap {
    width: 800px;
    margin: 0 auto;
}
#caution_wrap {
    text-align: center;
    padding: 15px;
    border: 1px dotted #aaa;
    margin: 0 auto 70px;
}
#caution_wrap h3 {
    font-size: 1.1em;
    margin: 20px auto;
    padding-bottom: 0!important;
}
#cautionbox {
    width: 100%;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
}
#cautionbox img {
    width: 50px;
    height: auto;
}
#cautionbox h4 {
    font-size: 0.9em;
}
#cautionbox p {
    font-size: 0.8em;  
    margin-bottom: 10px!important;
}
#caution_l {
    padding: 40px;
}
#caution_r {
    padding: 40px;
}
#contactbanner {
    text-align: center;
    margin: 0 auto 130px;
    background: #d8a22c;
    border-radius: 50px;
    width: 800px;
}
#contactbanner a {
    display: block;
    padding: 20px 0;
    font-size: 1.6em;
    font-weight: bold;
    color: #fff;
}

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

#mlfirst {
    width: 100%;
    margin: 0px auto 50px;
}
#mlfirst_wrap {
    width: 100%;
}
#mlfirst h1 {
    font-size: 1.5em;
    margin: 80px 0 80px auto;
    padding: 0;
    line-height: 200%;
    letter-spacing: 0.05em;
    text-align: center;
}
#mlfirst p {
    font-size: 0.85em;
    line-height: 200%;
    letter-spacing: 0em;
    padding: 0px 16px 40px;
    text-align: left;
}
#gallerybox {
    display: none;
}
#gallerybox_sp {
    display: block;
    width: 100%;
    margin: 0 auto;
    padding: 0 10px;
}
#gallerybox_sp img {
    width: 100%;
    height: auto;
    margin-bottom: 10px;
}
#specbox {
    width: 100%;
    margin: 0 auto 50px;
    text-align: center;
}
#specbox img {
    width: 90%;
    height: auto;
    margin: 0 auto 20px;
}
#specbox p {
    line-height: 200%;
    font-size: 0.8em;
}
.youtube_wrap {
    width: 100%;
    margin: 30px auto;
    padding: 0 10px;
}
#maparea_wrap {
    padding-bottom: 0px;
}
#maparea p {
    font-size: 0.85em;
    margin-bottom: 20px;
}
#map { /*レスポンシブ対応用*/
    padding-bottom: 250px;
    margin: 30px auto 0px;
}
#map iframe { /*レスポンシブ対応用*/
    height: 250px;
}
#caution_wrap {
    padding: 15px;
    margin: 0 auto 40px;
    width: 90%;
}
#caution_wrap h3 {
    font-size: 1em;
    margin-bottom: 40px;
}
#cautionbox {
    display: block;
}
#cautionbox img {
    width: 50px;
    height: auto;
    text-align: center;
}
#caution_l {
    padding: 0px;
    margin-bottom: 20px;
}
#caution_r {
    padding: 0px;
}
#cautionbox h4 {
    font-size: 0.8em;
}
#cautionbox p {
    font-size: 0.75em;
}
#contactarea {
    padding-bottom: 60px;
}
#contactarea_wrap {
    width: 100%;
    margin: 0 auto;
}
#contactbanner {
    margin: 0 auto 80px;
    border-radius: 30px;
    width: 90%;
    box-sizing: border-box;
}
#contactbanner a {
    display: block;
    padding: 10px 0;
    font-size: 1.3em;
}
}

/*カスタムページ*/

#contentsbody_custom {
    width: 100%;
    margin: 0 auto;
}
#custompage {

}
#custompage h1 {
    font-size: 2.2em;
    font-weight: normal;
    margin: 0px auto 0px;
    padding: 130px 0px;
    letter-spacing: 0.1em;
    text-align: center;
}
#custom_thumbwrap {
    width: 1000px;
    margin: 70px auto;
    display: flex;
  -webkit-flex-wrap: wrap; /* Safari */
  flex-wrap:         wrap;
}
.customthumb {
    width: 288px;
    margin-bottom: 70px;
    margin-right: 64px;
}
.customthumb:nth-child(3n) {
    margin-right: 0;
}
.customthumb img {
    width: 288px;
    height: auto;
}
.customthumb h2 {
    font-size: 1.1em;
    margin: 0px 0 12px;
    padding: 0;
    line-height: 180%;
}
.customthumb p {
    font-size: 0.9em;
    line-height: 180%;
}

#custom_wrap {
    margin: 35px auto 0px;
    padding-top: 90px;
    border-top: 1px solid #ccc;
    max-width: 1300px;
}
#custom_detail {
    width: 760px;
    margin: 0 auto;
}
#custom_detail h1 {
    text-align: center;
    padding: 130px 0px;
    margin: 0px auto;
    font-size: 2.2em;
    font-weight: normal;
    letter-spacing: 0.1em;
}
#custom_detail h2 {
    margin: 70px 0 30px;
    padding: 10px 0 10px 20px;
    font-size: 1.5em;
    border-left: 5px solid #31788a;
    letter-spacing: 0.1em;
    font-weight: normal;
}
#custom_detail h1+img {
    text-align: center;
    display: block;
    margin: 0 auto 70px;
    width: 100%;
    height: auto;
}
#custom_wrap div.pagelink {
    width: 853px;
    margin: 0 auto 70px;
}
#custom_wrap div.pagelink a {
    text-decoration: underline;
}
#custom_detail img {
    margin: 0 auto 14px;
    display: block;
}
#custom_detail p {
    text-align: left;
    line-height: 200%;
    margin-bottom: 60px;
    margin-top: 30px;
    letter-spacing: 0em;
}

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

#contentsbody_custom {
    width: 93%;
    margin: 0 auto;
}
#custompage h1 {
    font-size:1.6em;
    padding: 80px 0px;
}
#custom_thumbwrap {
    width: 100%;
    margin: 0px auto;
    display: flex;
  -webkit-justify-content: space-between; /* Safari */
  justify-content:         space-between;
  -webkit-flex-wrap: wrap; /* Safari */
  flex-wrap:         wrap;
}
.customthumb {
    width: 100%;
    max-width: 400px;
    margin: 0 auto 55px;
}
.customthumb img {
    display: block;
    width: 100%;
    height: auto;
    margin: 0 auto;
}
.customthumb h2 {
    font-size: 0.95em;
    margin: 7px 0 12px;
}
.customthumb p {
    font-size: 0.8em;
    line-height: 170%;
}

#custom_wrap {
    margin: 30px auto 0px;
    padding-top: 0px;
    border-top: none;
    max-width: 100%;
}
#custom_detail {
    width: 100%;
    margin: 0 auto 80px;
}
#custom_detail h1 {
    padding: 80px 0px 40px;
    margin: 0px auto;
    font-size: 1.5em;
    letter-spacing: 0.1em;
}
#custom_detail h2 {
    margin: 50px 0 30px;
    padding: 5px 0 5px 10px;
    font-size: 1.2em;
}
#custom_detail img {
    width: 100%;
    height: auto;
    margin: 0 auto 10px;

}
#custom_wrap div.pagelink {
    width: 100%;
    margin: 0 auto 70px;
}
#custom_detail p {
    line-height: 200%;
    margin: 10px auto 40px 5px;
    letter-spacing: 0;
}
#custom_detail h1+img {
    margin: 0 auto 30px;
}
}

/*イベント-------------------------*/

#eventbox {
    width: 760px;
    margin: 0 auto 100px;
}
#eventbox h1 {
    text-align: center;
    padding: 130px 0px;
    margin: 0px auto;
    font-size: 2.2em;
    font-weight: normal;
    letter-spacing: 0.1em;
}
#eventbox h2 {
    padding: 0px 0px;
    margin: 0px auto 30px;
    font-size: 1.4em;
    font-weight: normal;
    letter-spacing: 0.05em;
}
#eventbox h1+img {
    text-align: center;
    display: block;
    margin: 0 auto 70px;
    width: 100%;
    height: auto;
}
#eventbox div.pagelink {
    width: 853px;
    margin: 0 auto 70px;
}
#eventbox div.pagelink a {
    text-decoration: underline;
}
#event_wrap {
    margin-bottom: 100px;
}
#eventbox img {
    margin: 0 auto 0px;
    display: block;
    width: 100%;
    height: auto;
}
#cautionbox img {
    width: 50px!important;
    height: auto;
}
#eventbox p {
    text-align: left;
    line-height: 200%;
    margin-bottom: 60px;
    margin-top: 10px;
    font-size: 0.9em;
}
#eventspec {
    width: 100%;
    text-align: center;
}
#eventspec p {
    text-align: center!important;
    margin-bottom: 20px!important;
}
#eventspec img {
    width: 500px!important;
    height: auto;
    margin: 0 auto 20px;
}
#eventbox h3 {
    padding-bottom: 60px;
}

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

#eventbox {
    width: 100%;
    margin: 0 auto 80px;
}
#eventbox h1 {
    padding: 40px 0px 40px;
    margin: 0px auto;
    font-size: 1.3em;
    letter-spacing: 0.1em;
}
#eventbox h2 {
    margin: 0px auto 20px;
    font-size: 1.1em;
}
#eventbox img {
    width: 100%;
    height: auto;
    margin: 0 auto 10px;

}
#eventbox div.pagelink {
    width: 100%;
    margin: 0 auto 70px;
}
#eventbox p {
    line-height: 200%;
    margin: 10px auto 50px;
    font-size: 0.8em;
}
#eventbox h1+img {
    margin: 0 auto 30px;
}
#eventspec p {
    text-left: center!important;
    margin-bottom: 20px!important;
}
#eventspec img {
    width: 100%!important;
    margin: 0 auto 20px;
}
#eventbox h3 {
    padding-bottom: 40px;
}

}


/*私たちについて--------------------*/

#about {
    width: 880px;
    margin: 0 auto 140px;
}
.aboutus {
    margin-bottom: 100px;
}
.aboutphoto {
    display: flex;
    justify-content: space-between;
    margin-bottom: 30px;
}
.aboutphoto img {
    width: 300px;
    height: auto;
    display: block;
}
.aboutwrap {
    margin-left: 40px;
}
#about p.abouttitle {
    font-size: 0.9em;
}
#about p.aboutname {
    font-size: 1.4em;
    margin-bottom: 16px;
}
#about p.cap {
    font-size: 0.85em;
}
#about p.abouttxt {
    padding: 20px;
    font-size: 0.9em;
    line-height: 200%;
  position: relative;
  background-color: #f1f1f1;
}
/* beforeで三角を表現 */
#about p.abouttxt::before{
  content: '';
  position: absolute;
  left: 20px;
  top: -14px;
  display: block;
  width: 0;
  height: 0;
  border-right: 15px solid transparent;
  border-bottom: 15px solid #f1f1f1;
  border-left: 15px solid transparent;
}
div#companybox h3.title {
    padding-top: 40px;
}
#about p.companyinfo {
    margin: 0;
    padding: 14px 10px;
    font-size: 14px;
    text-align: left;
    border-bottom: 1px solid #ccc;
    display: flex;
    align-items: center;
}
span.title {
    font-weight: 600;
    width: 10em;
}
span.info {

}
#areabox {
    margin-bottom: 100px;
}
#areabox h3.title {
    padding-top: 40px;
}
#areabox h4 {
    font-size: 1.2em;
    margin: 30px 0 15px;
}
#areabox p {
    text-align: center;
    margin-bottom: 90px;
}
#areabox ul {
    list-style: none;
    line-height: 250%;
}
#areabox li {
    font-size: 0.9em;
    padding: 0 0 0 15px;
    border-bottom: 1px solid #999;
    text-align: left;
}
.fontbold {
    font-weight: bold;
}

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

#about {
    width: 100%;
    margin: 0 auto 100px;
    padding: 0 16px;
}
.aboutus {
    margin-bottom: 100px;
}
.aboutphoto {
    display: block;
    margin-bottom: 20px;
}
.aboutphoto img {
    width: 100%;
    height: auto;
    margin-bottom: 15px;
}
.aboutwrap {
    margin-left: 0px;
    margin-bottom: 25px;
}
#about p.abouttitle {
    font-size: 0.85em;
}
#about p.aboutname {
    font-size: 1.2em;
    margin-bottom: 10px;
}
#about p.cap {
    font-size: 0.8em;
}
#about p.abouttxt {
    padding: 15px;
    font-size: 0.85em;
}
div#companybox h3.title {
    padding-top: 0px;
}
#about p.companyinfo {
    padding: 14px 10px;
    font-size: 14px;
    text-align: left;
    border-bottom: 1px solid #ccc;
    display: block;
}
span.title {
    width: 100%;
    display: inline-block;
}
span.info {

}
#areabox {
    margin-bottom: 100px;
}
#areabox h3.title {
    padding-top: 0px;
}
#areabox h4 {
    font-size: 1em;
    margin: 20px 0 10px;
}
#areabox p {
    margin-bottom: 60px;
    text-align: left;
}
#areabox ul {
    line-height: 250%;
}
#areabox li {
    font-size: 0.85em;
    padding: 10px;
    line-height: 150%;
    border: none;
    border-radius: 4px;
    background: #d8d1c1;
    margin: 10px;
}
}

/*新築と古民家のメリットとは -------------------------*/

#newold {
    width: 100%;
    margin: 0px auto 100px;
}
#newold_wrap {
    width: 1000px;
    margin: 0 auto 130px;
    text-align: center;
}
#newold h1 {
    font-size: 2.2em;
    font-weight: normal;
    margin: 0px auto 0px;
    padding: 130px 0px;
    letter-spacing: 0.1em;
}
#newold h2 {
    font-size: 1.5em;
    padding: 0px;
    letter-spacing: 0.1em;
}
#newold img {
    width: 100%;
    height: auto;
    margin-bottom: 30px;
}
#newold p {
    font-size: 0.9em;
    line-height: 230%;
    letter-spacing: 0.05em;
    padding: 0;
}
#newold01 img {
    margin-bottom: 60px;
}
.newoldbox_g {
    background: #f9f9f9;
}
.newold_inner {
    width: 1000px;
    margin: 0 auto;
    padding: 110px 0;
}
#toplink {
    text-align: center;
    width: 1000px;
    margin: 40px auto 0px;
}
#toplink a {
    display: block;
    color: #000;
    font-weight: bold;
    padding: 30px;
    background: #e1a22c;
    font-size: 1.3rem;
}


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

#newold {
    width: 100%;
    margin: 0px auto 25px;
}
#newold_wrap {
    width: 100%;
    text-align: center;
    margin: 0 auto 60px;
    padding: 0 10px;
}
#newold h1 {
    font-size: 1.5em;
    margin: 0px auto;
    padding: 70px 0px;
    line-height: 200%;
    letter-spacing: 0.05em;
    text-align: center;
}
#newold h2 {
    font-size: 1.1em;
}
#newold p {
    font-size: 0.85em;
    line-height: 200%;
    letter-spacing: 0em;
    text-align: left;
}
#newold01 img {
    margin-bottom: 30px;
}
.newold_inner {
    width: 100%;
    margin: 0 auto;
    padding: 50px 10px;
}
#toplink {
    width: 100%;
    margin: 30px auto 0px;
}
#toplink a {
    padding: 10px;
    font-size: 1rem;
}
}


/*ブログ---------------------------*/

#blogbox {
    width: 100%;
    margin: 80px auto;
    padding: 0 100px;
    display: flex;
    justify-content: space-between;
}
#categorytitle h1 {
    padding: 50px 0;
    font-size: 1.4em;
}
.thumbbox img {

}
.indexthumbwrap {
    display: flex;
    justify-content: space-between;
    margin-bottom: 5px;
}
.indexthumbwrap2 {
    padding: 22px;
}
.thumbbox p {
    font-size: 0.9em;
    line-height: 180%;
}
p.catetitle {
    margin-top: 3px;
    color: #555;
    padding-left: 5px;
    border-left: 10px solid #8fc31f;
}

.thumbbox h2 {
    font-size: 1.1em;
    margin: 0px 0 12px;
    padding: 0;
    line-height: 180%;
}
.thumbbox h3 {
    font-size: 0.75em;
    margin: 3px 0 0;
    padding: 0;
    color: #999;
    font-weight: normal;
}
p.orangemorebtn2 a {
    display: block;
    background: #eb6729;
    padding: 12px 26px;
    font-size: 0.9em;
    color: #fff;
    width: 400px;
    text-align: center;
    box-sizing: border-box;
    margin: 0 auto 150px;
}

.col4 {
    width: 76.5%;
    display: flex;
  -webkit-flex-wrap: wrap; /* Safari */
  flex-wrap:         wrap;
}
.col4 .thumbbox {
    width: 30%;
    margin: 0 3.3333% 60px 0;
    padding: 0;
}
.col4 img {
    display: block;
    width: 100%;
    height: auto;
    margin: 0 auto;
    text-align: center;
}

/* wp-pagenaviスマホ対応 */
.wp-pagenavi {
width: 100%;
}
.wp-pagenavi a, .wp-pagenavi span {
display: inline-block;
}
#paging_sp {
	display: none;
}
#paging {
    text-align: center;
    margin: 0 auto;
}
#paging a, #paging span {
	padding: 6px 10px 6px;
	margin-left: 5px;
	border-radius: 2px;
    border: 1px solid #ddd;
}
#paging span {
    background: #eee;
}

.col4_right {
    width: 22%;
    float: right;
}
.col4_right .thumbbox {
    width: 100%;
    margin: 0 0 60px;
}
.col4_right img {
    width: 100%;
    height: auto;
}
/*トップのバナーエリア*/
#bannerarea {
    width: 1000px;
    margin: 50px auto;
}
#bannerarea a {
    margin-bottom: 20px;
}
#bannerarea img {
    width: 100%;
    height: auto;
}

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

#blogbox {
    margin: 40px auto;
    padding: 0 50px;
    display: block;
}
.col4 {
    width: 65%;
    float: left;
    display: block;
}
.col4 .thumbbox {
    width: 100%;
    margin: 0 0% 60px 0;
}
div.col4 img {
    display: block;
    width: 100%;
    height: auto;
    margin: 0 auto;
    text-align: center;
}
.col4_right {
    width: 26%;
    float: right;
}
.col4_right .thumbbox {
    width: 100%;
    margin: 0 0 60px;
}
}

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

#blogbox {
    padding: 0px;
    display: block;
}
.col3 {
    width: 93%;
    display: block;
    margin: 0 auto;
}
.col3 .thumbbox {
    width: 100%;
    margin: 0 0 34px 0;
    clear: both;
}
.thumbbox:after {
  content: "";
  clear: both;
  display: block;
}
.thumbbox h2 {
    font-size: 0.95em;
    margin: 7px 0 12px;
}
.thumbbox h3 {
    font-size: 0.7em;
    margin: 3px 0 7px;
}
.thumbbox p {
    font-size: 0.8em;
    line-height: 170%;
}
.indexthumbwrap a {
    top: 10px;
    left: -6px;
    margin-bottom: 5px;
}
.indexthumbwrap2 {
    padding: 0px;
}
p.orangemorebtn2 a {
    margin: 0 auto 100px;
    width: 93%;
}

.col4 {
    width: 100%;
    float: none;
}
.col4 .thumbbox {
    width: 100%;
    margin: 0 0% 60px 0;
    padding: 0 3%;
}
#paging {
    display: none;
}
#paging_sp {
	display: block;
    text-align: center;
    margin: 0 auto 30px;
}
#paging_sp a, #paging_sp span {
	padding: 6px 10px 6px;
	border-radius: 2px;
}
.col4_right {
    width: 100%;
    float: none;
}
.col4_right .thumbbox {
    width: 100%;
    margin: 0 0 40px;
}
br.bron {
	display: none;	
}
}

/*category --------------------------*/

#category_wrap {
    width: 1000px;
    margin: 0 auto 50px;
    display: flex;
    flex-wrap: wrap;
}
#categorytitle {
    margin: 70px auto 35px;
}
#categorytitle:after {
  content: "";
  clear: both;
  display: block;
}
#categorytitle h2 {

}
.searchbox {
    float: right;
    margin: 0;
    width: 225px;
}
.searchbox input[type="text"] {
	border: 1px solid #ccc;
	background: #fff;
	padding: 5px;
	width: 180px;
}
.searchbox input[type="submit"] {
    margin-right: 10px;
	width: 31px;
	height: 26px;
	text-indent: -9999px;
	border: none;
	cursor: pointer;
	background: url("./img/icon_search.png") no-repeat top 0 left 5px;
    background-size: 26px 26px;
}

@media screen and (max-width:1000px) {
#category_wrap {
    width: 96%;
    margin: 0 auto 50px;
}
}
@media screen and (max-width:768px) {

#category_wrap {
    margin: 0 auto 30px;
}
#categorytitle {
    margin: 25px auto 35px;
}
#categorytitle h2 {
    float: none;
    margin-bottom: 40px;
    font-size: 1em;
}
.searchbox {
    float: none;
    margin: 0;
    width: 100%;
}
.searchbox input[type="text"] {
	padding: 5px;
	width: 80%;
	font-size: 16px;
}
.searchbox input[type="submit"] {

}
}

/*single ---------------------------*/

#single_wrap {
    width: 100%;
    max-width: 1000px;
    margin: 100px auto 0;
}
#single_wrap:after {
    content: "";
    clear: both;
    display: block;
}
#singletitle h1 {
    margin: 55px auto 80px;
    font-size: 1.4em;
    letter-spacing: 0.1em;
    text-align: center;
    padding: 0;
}
.post {
    float: left;
    width: 70%;
    max-width: 700px;
    margin-bottom: 80px;
    word-break: break-all;
}
#single_wrap .post p a {
    text-decoration: underline;
}
.postbody {

}
.post img {
    margin: 0 auto 14px;
    display: block;
    width: 100%;
    height: auto;
}
.post p {
    font-size: 0.95em;
    line-height: 190%;
    margin-bottom: 70px;
    margin-top: 70px;
}
.post p img {
    display: inline-block;
    margin-top: 20px;
}
p.caption {
    margin-bottom: 14px;
}
.post a {
    font-weight: bold;
}
.post ul {
    list-style: decimal;
}
.post li {
    font-size: 0.9em;
    padding-left: 5px;
    margin-left: 20px;
}
#catename {
    display: flex;
    justify-content: space-between;
}
#catename p {
    margin-bottom: 5px;
    margin-top: 0;
    padding: 3px 10px 0;
    border: 1px solid #aaa;
}
#catename a {
    text-decoration: none;
    font-weight: normal;
}
#postinfobox {
    margin: 50px 0 20px;
    font-size: 0.9em;
    text-align: right;
}
#col4_nobanner h2 {
    font-size: 0.8em;
}
.pagelink {
 margin: 25px 0;
 clear: both;
 display: flex;
}
.pagelink p {
    font-size: 0.9em;
}
p.pageprev {
    text-align: left;
    width: 50%;
    padding-right: 10px;
}
p.pagenext {
    text-align: right;
    width: 50%;
    padding-left: 10px;
}
.fontbig {
    font-size: 1.6em;
    letter-spacing: 0.1em;
    line-height: 200%;
}
.colred {
    color: #BF1517;
    font-size: 1.2em;
}

.pagerbox {
    margin: 30px auto;
}
span.pagernum {
    border: 1px solid #999;
    background: #000;
    padding: 5px 10px;
    margin-right: 5px;
    color: #fff;
}
a span.pagernum {
    background: #fff;
    color: #999;
}
span.caution {
    font-size: 0.8em;
    display: inline-block;
    margin-bottom: 24px;
}
span.utikeshi {
    text-decoration: line-through;
}

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

#single_wrap {
    width: 93%;
    max-width: 93%;
    margin: 50px auto 0;
}
.post {
    float: left;
    width: 63%;
    margin-bottom: 80px;
}
.post img {
    width: 100%;
    height: auto;
    margin: 0 auto 14px;
    display: inline;
    max-width: 100%;
}
}

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

#singletitle h1 {
    margin: 30px auto 30px;
    font-size: 1.1em;
}
.post {
    float: none;
    width: 100%;
    max-width: 100%;
    margin-bottom: 40px;
    margin-top: 30px;
    padding-bottom: 40px;
    border-bottom: 1px solid #ccc;
    font-size: 0.9em;
}
.postbody {

}
.post img {

}
.post p {
    font-size: 0.9em;
    margin-bottom: 40px;
    margin-top: 40px;
}
.post li {
    font-size: 0.8em;
}
#single_wrap .col4_right {
    margin-bottom: 80px;
}
.col4_nobanner .thumbbox {
    float: none;
    width: 100%;
    margin: 0 0 40px 0;
}
p.pageprev {
    text-align: center;
    float: none;
    padding-bottom: 20px;
}
p.pageprev a,p.pagenext a {
    padding: 10px;
}
p.pagenext {
    text-align: center;
    float: none;
    padding-bottom: 20px;
}
span.caution {
    font-size: 0.75em;
}
}


/*固定ページ--------------------------*/

#hanyobox {
    width: 800px;
    margin: 80px auto 80px;
}
#hanyobox h1,#policybox h1,#aboutbox h1 {
    text-align: center;
    font-weight: normal;
    font-size: 1.4em;
    letter-spacing: 0.1em;
    margin: 100px auto 100px;  
    padding: 0;
}
#policybox {
    font-size: 0.8em;
    margin: 0 auto 80px;
    width: 800px;
}
#policybox p {
    margin-bottom: 40px;
}
#policybox dl {

}
#policybox dt,#policybox dd {
    padding: 10px;
}
#policybox dt {
}

span.wpcf7-radio span label {
    display: inline-block;
    padding: 10px;
    border-radius: 5px;
    background: #f1f1f1;
    margin-bottom: 15px;
    margin-right: 15px;
}
span.wpcf7-list-item {
    margin: 0!important;
}

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

span.wpcf7-radio span label {
    display: inline-block;
    padding: 7px;
    border-radius: 5px;
    background: #f1f1f1;
    margin-bottom: 5px;
    margin-right: 10px;
}
#policybox {
    width: 100%;
    margin: 0 auto 40px;
    padding: 0 16px;
}
#policybox p {
    margin-bottom: 30px;
}
}

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

#hanyobox {
    width: 100%;
    margin: 0 auto;
    padding: 0 18px;
}
#hanyobox h1,#policybox h1,#aboutbox h1 {
    font-weight: normal;
    font-size: 1.2em;
    letter-spacing: 0.1em;
    margin: 80px auto 60px;  
}
}


/*お問い合わせ-------------------------*/
/* iOSでのデフォルトスタイルをリセット */
input[type="submit"],
input[type="button"] {
  border-radius: 0;
  -webkit-box-sizing: content-box;
  -webkit-appearance: button;
  appearance: button;
  border: none;
  box-sizing: border-box;
  cursor: pointer;
}
input[type="submit"]::-webkit-search-decoration,
input[type="button"]::-webkit-search-decoration {
  display: none;
}
input[type="submit"]::focus,
input[type="button"]::focus {
  outline-offset: -2px;
}

#contactform {

}
#contactform h4 {
    margin-bottom: 30px;
}
#yoyakulink {
    margin: 0px auto;
    text-align: center;
    border: 1px solid #ccc;
    padding: 10px;
}
#yoyakulink p {
    font-size: 1em;
    font-weight: bold;
    margin: 0;
}
#yoyakulink p a {
    padding: 20px;
    color: #D31114;
}
#yoyakucaution {
    margin: 30px auto;
    text-align: left;
    border: 1px solid #ccc;
    padding: 20px;
}
#yoyakucaution p {
    font-size: 0.9em;
    font-weight: bold;
    color: #D31114;
    margin: 0;
}
#yoyakucaution p a {
    padding: 20px;
    color: #D31114;
}
.inputbox {
    margin-bottom: 15px;
}
.inputbox th {
	padding: 16px 8px;
	text-align: left;
	font-weight: normal;
    width: 15em;
}
.inputbox td {
	padding: 8px 0px;
}
.inputbox input[type="text"],.inputbox input[type="email"],.inputbox input[type="tel"] {
    width: 600px;
    border: none;
	background: #f1f1f1;
    padding: 8px 5px;
}
.inputbox input#address {
	width: 600px;
}
.inputbox select {
    border: none;
	background: #f1f1f1;
    padding: 8px;
}
.inputbox textarea {
    height: 220px;
    width: 600px;
    border: none;
	background: #f1f1f1;
	border-radius: 5px;
    padding: 8px 5px;
}
.landingbox h3 {
    margin-bottom: 40px;
    text-align: center;
}
.input_wrap {
    margin-bottom: 40px;
}
.inputbox h4 {

}
.inputbox p {

}
.contacttxt {
    font-size: 0.8em;
    margin-left: 0px;
}
.wpcf7-form-control {
    padding: 0;
    font-size: 16px;
    color: #000;
}
.inputbox label {
    display: inline-block;
    padding: 10px;
    margin-right: 10px;
}
.must {
    font-size: 11px;
    padding: 5px;
    background: #d2c4a9;
    color: #fff;
    border-radius: 2px;
    margin-right: 5px;
    position: relative;
    bottom: 1px;
    font-weight: bold;
}
.nini {
    font-size: 11px;
    padding: 5px;
    background: #666;
    color: #fff;
    border-radius: 2px;
    margin-right: 5px;
    position: relative;
    bottom: 1px;
}
#submitbtn {
    margin: 20px auto 8px;
	width: 200px;
}
input[type="submit"] {
	clear: both;
	width: 200px;
	height: 56px;
    border-radius: 36px;
	font-weight: normal;
	letter-spacing: 0.1em;
	background: #d8a22c;
	vertical-align: middle;
	padding-top: 3px;
    color: #fff;
    font-size: 1em;
	font-family: "游明朝", YuMincho, "Hiragino Mincho ProN", "Hiragino Mincho Pro", "ＭＳ 明朝", serif;
}
p#caution {
    font-size: 0.9em;
    text-align: center;
    margin: 20px auto 0;
    color: #94090C;
    font-weight: bold;
    line-height: 150%;
}
span.wpcf7-not-valid-tip {
    font-size: 0.9em;
}
div.wpcf7-response-output, div.wpcf7-validation-errors, div.wpcf7-acceptance-missing {
    border: 2px solid #dc3232 !important;
    font-weight: bold;
    background: transparent;
    padding: 8px 10px;
    text-align: center;
    color: #dc3232;
}
.wpcf7 form.sent .wpcf7-response-output {
    border: none!important;
    font-weight: bold;
    background: #ddd;
    padding: 8px 16px;
    text-align: center;
    color: #000;
}
div.wpcf7-mail-sent-ok {
    border: none;
    font-weight: bold;
    background: #ddd;
    padding: 8px 16px;
    text-align: center;
    color: #000;
}
.displayatsp {
    display: none;
}

#cautionbottom {
    margin: 50px auto;
    padding: 20px;
    border: 1px dotted #666;
}
#cautionbottom p {
    margin-bottom: 0!important;
}
p#recaptcha {
    font-size: 0.6em;
    text-align: center;
    margin-bottom: 70px;
}
p#recaptcha a {
    color: #333;
}
.backtotop {
    text-align: center;
    margin: 0 auto 130px;
    background: #000;
    border-radius: 50px;
    width: 600px;
}
.backtotop a {
    display: block;
    padding: 8px 0;
    font-size: 1em;
    font-weight: bold;
    color: #fff;
}
.grecaptcha-badge { visibility: hidden; }

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

#contactform {

}
#contactform h4 {
    margin-bottom: 20px;
}

.inputbox {
    margin-bottom: 15px;
    margin-top: 15px;
    padding: 0 10px;
}
.inputbox table {
    width: 100%;
}
.inputbox th,.inputbox td {
    display: block;
    width: 100%;
    text-align: left;
}
.inputbox th {
	font-size: 0.9em;
    margin-left: 0;
    padding: 10px 8px 0;
    width: auto;
}
.inputbox td {
    margin: 0;
}
.inputbox input[type="text"],.inputbox input[type="email"],.inputbox input[type="tel"] {
	width: 100%;
    padding: 8px 5px;
	font-size: 16px;
}
input[type="date"] {
    font-size: 1.4rem;
}
.inputbox select {
    border: none;
	background: #f1f1f1;
    padding: 8px;
    font-size: 1rem;
}
.inputbox textarea {
    height: 180px;
	width: 100%;
    padding: 8px 5px;
	font-size: 16px;
}
.input_wrap input,textarea {
    box-sizing: border-box;
    max-width: 100%;
  }
.inputbox label {
    display: block;
    padding: 10px;
    margin-right: 0px;
}
#submitbtn {
    margin: 14px auto 0px;
	width: 100%;
}
input[type="submit"] {
	width: 100%;
	height: auto;
	font-size: 0.8em;
	padding: 11px 0 10px;
}
p#caution {
    margin: 0 auto;
}
#contactbox div.wpcf7-response-output {
    margin: 15px 0 0;
}
span.wpcf7-not-valid-tip {
    font-size: 0.8em;
}
div.wpcf7-validation-errors, div.wpcf7-acceptance-missing {
    padding: 8px 10px;
    font-size: 0.9em;
}
div.wpcf7-mail-sent-ok {
    padding: 8px 10px;
    font-size: 0.9em;
}
.displayatsp {
    display: inline;
}
.backtotop {
    margin: 0 auto 80px;
    border-radius: 30px;
    width: 90%;
    box-sizing: border-box;
}
.backtotop a {
    display: block;
    font-size: 0.8em;
}
p#recaptcha {
    margin-bottom: 40px;
}
}

/*サイドバー--------------------------*/

#sidebar {

}
#sidebar input[type="text"] {
	border: 1px solid #ccc;
	background: #fff;
	padding: 5px;
	width: 75%;
}
#sidebar input[type="submit"] {
    margin-right: 10px;
	width: 31px;
	height: 26px;
	text-indent: -9999px;
	border: none;
	cursor: pointer;
	background: url("./img/icon_search.png") no-repeat top 0 left 5px;
    background-size: 26px 26px;
}
#sidebar h3 {
    font-size: 0.9em;
    margin: 0 0 10px 0;
    font-weight: normal;
    background: #f1f1f1;
    padding: 8px 15px;
    color: #999;
}
#sidebar p {
    font-size: 0.75em;
}
#sidebar li {
    font-size: 0.9em;
    line-height: 170%;
}
#sidebar li a {
    display: block;
    width: 100%;
    padding: 6px 0 6px 3px;
    border-bottom: 1px dotted #999;
}
#tags li a {
    border: none;
}
#sidebar li.cat-item {

}
#tags li {
    display: inline-block;
    margin-right: 8px;
}
.sidebox {
    margin-bottom: 30px;
}

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

#sidebar {
    text-align: center;
}
#sidebar input[type="text"] {
	padding: 5px;
	width: 80%;
	font-size: 16px;
}
#sidebar h3 {
    font-size: 0.9em;
    margin: 0 0 10px 0;
    font-weight: bold;
}
#sidebar p {
    font-size: 0.75em;
}
#sidebar li {
    font-size: 0.9em;
    padding: 5px 0;
}
#sidebar ul.children {
    margin-top: 5px;
}
.sidebox {
    margin-bottom: 40px;
}
}

/*フッタ------------------------------*/

footer {
    width: 100%;
    margin: 0 auto 0;
    padding:30px 0 30px;
    background: #240e03;
    color: #fff;
}
#footer_wrap {
    margin: 0 auto;
    width: 1000px;
    text-align: left;
    display: flex;
    justify-content: space-between;
}
#footerlogo {
    width: 210px;
}
#footerlogo img {
    width: 100%;
    height: auto;
}
footer address {
    display: block;
    width: 500px;
    font-size: 0.9em;
    line-height: 190%;
    text-align: right;
    margin-bottom: 50px;
    margin-top: 20px;
    font-style: normal;
}
p#copyright {
    clear: both;
    font-size: 0.7em;
    text-align: center;
    color: #fff;
    margin-top: 40px;
}


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

footer {
    padding: 20px;
}
#footer_wrap {
    width: 100%;
}
#footerlogo img {
    width: 105px;
    height: auto;
}
footer address {
    display: block;
    width: 100%;
    font-size: 0.8em;
    line-height: 180%;
    margin: 0 0 30px;
}
footer address a {
    color: #fff;
    text-decoration: underline;
}
p#copyright {
    clear: both;
    font-size: 0.6em;
    margin-top: 30px;
}

}