﻿/*
Theme Name: hsyoei2025_tpl
Theme URI: https://h-syoei.jp/
Author: Frida
Author URI: https://h-syoei.jp/
Description: 本坊松栄株式会社
Version: 1.0
*/

html{
	scroll-padding-top: 120px;
}

body {
	margin:0;
	padding:0;
	font-family: "Noto Sans JP", "Yu Gothic Medium", "游ゴシック Medium", YuGothic, "游ゴシック体", "ヒラギノ角ゴ Pro W3", "メイリオ", sans-serif;
	font-weight: 400;
	position:relative;
	height:100%;
	font-size: 1.0rem;
	line-height: 150%;
}

input,
option,
textarea{
	font-family: "Noto Sans JP", "Yu Gothic Medium", "游ゴシック Medium", YuGothic, "游ゴシック体", "ヒラギノ角ゴ Pro W3", "メイリオ", sans-serif;
	font-size: 1.0rem;
}

a{
	color:#1572B5;
	word-break: break-all;
	opacity: 1;
	transition: opacity 0.7s ease;
}

a img{
	opacity: 1;
	transition: opacity 0.7s ease;
}

a:hover,
a:hover img{
	opacity:0.7;
	transition: opacity 0.7s ease;
}

img{
	border:none;
	max-width:100%;
	height:auto;
	vertical-align: bottom;
}

.cntr img{
	margin:3px;
}

i{
	margin:0 3px;
}

p{
	margin:10px 10px 20px;
}

.min{
	font-family: "Zen Old Mincho", "Times New Roman", "YuMincho", "Hiragino Mincho ProN", "Yu Mincho", "MS PMincho", serif;
	font-weight: 700;
}

.gmap{
	margin:10px auto 60px;
	padding:0;
	max-width: 800px;
	height:600px;
}

#topcont5 iframe,
.gmap iframe{
	width:100%;
	/* height:100%; */
	vertical-align: bottom;
}

h1{
	margin:0;
	padding:0;
}

h1.editor-post-title__input{
	width:auto;
}

h2,
h1.editor-post-title__input{
	color:#0a5677;
	font-weight: 900;
    line-height: normal;
	font-size:2.5rem;
	padding:60px 0 0;
	margin:0;
    text-align: center;
    display:block;
}

#topcont4_r a h2{
	color:#0a5677;
	padding:0
}

#topcont4_l a h2,
#topcont4_l2 a h2{
	color:#767676;
	padding:0
}

h2#subheader{
	margin:0;
	padding:120px 0 40px;
	background:#F0F0F0;
}

h2 i{
	color:#96BFD5;
	margin:0 10px 0 0;
}

#topcont4_r a h2 i{
	color:#96BFD5;
}

#topcont4_l a h2 i,
#topcont4_l2 a h2 i{
	color:#007DB4;
}

.h2_cap{
	font-size:1.2rem;
	text-align: center;
	margin-bottom:20px;
}

@media only screen and (max-width:1077px){
	h2#subheader{
		padding:60px 0 30px;
	}
}

@media only screen and (max-width:765px){
	h2{
		padding:0;
	}
}

#topcont4 a .h2_cap{
	color:#000;
}

h3{
	font-size:1.8rem;
	text-align: center;
	color:#2d81a6;
	margin:50px 0 30px;
}

#topcont1 h3{
	border:none;
	text-align: center;
	color:#777A7B;
}

#topcont1 a h3{
	color:#777A7B;
	text-decoration: none;
	margin:20px 0 30px;
}

#topcont1 h3 i{
	margin:0 0 0 10px;
}

h4{
	margin:50px 0 10px;
	padding:20px;
	font-size:1.2rem;
	font-weight: 900;
    background:#dfecf2;
}

h5{
	margin:10px;
	padding:15px;
	font-size:1.2rem;
	font-weight: 900;
	border:#1572B5 solid 1px;
	border-radius:10px;
	background:#FFF;
}

h6{
	margin:10px;
	padding:15px;
	font-size:1.2rem;
	font-weight: 900;
	border-bottom:#EEE solid 2px;
}


/* Loading Block */
#loading {
  width: 100vw;
  height: 100vh;
  transition: all 1s;
  background-color: #FFF;
  position: fixed;
  top: 0;
  left: 0;
  z-index: 1000;
}

.spinner_wrap{
    position:relative;
    width: 100vw;
	height: 100vh;
}

.spinner {
    width: 20vw;
    height: auto;
    margin: 0 auto;
    animation: sk-scaleout 3.0s;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    -webkit-transform: translate(-50%, -50%);
    -ms-transform: translate(-50%, -50%);
    text-align: center;
}

@media only screen and (max-width:600px){
	.spinner {
		width:70vw;
	}
}

/* Loading Animation */
@keyframes sk-scaleout {
    0% {
        opacity:0;
    }
    100%{
        opacity:1;
    }
}

/* Hide Loading Block */
.loaded {
  opacity: 0;
  visibility: hidden;
}

header{
    margin:0;
    padding:0;
	position: relative;
	background:#156F96;
}

header#subheader_head{
	padding:30px 0 0;
}

#headm{
	display:flex;
	justify-content: space-between;
	padding:20px;
	align-items: center;
	position: fixed;
	top:0;
    width: calc(100% - 40px);
	z-index: 999;
	background:#0A5677;
}

.head_l{
	max-width: 260px;
}

.head_r{
	text-align: center;
	width:calc(100% - 300px);
	display:flex;
	justify-content: flex-end;
}

.navbg{
	margin:0;
	padding:0 20px;
	text-align: center;
	font-size:1.0rem;
	background:#FFF;
	box-shadow: 0px 3px 17px -7px rgba(0,0,0,.3);
	border-radius: 20px;
}

.navbg ul{
	margin:0;
	padding:0;
	list-style: none;
	display:flex;
	align-items: center;
	justify-content: flex-end;
}

.navbg li{
	display:inline-block;
	padding:0;
	margin:0 13px;
	position: relative;
}

.navbg li:before{
	display:none;
}

.navbg li a{
	display:block;
	margin:0;
	padding:15px 20px;
	text-decoration: none;
	color:#000;
}

.pc0,
.navbg li.pc0{
    display:none;
}

@media only screen and (max-width:1280px){
	.head_l{
		max-width: 300px;
	}
	
	.navbg{
		font-size:1rem;
	}
	
	.navbg li{
		margin:0 0 0 15px;
	}
}

@media only screen and (max-width:1077px){
	html{
		scroll-padding-top: 100px;
	}
	
	h1{
		width:260px;
	}

	.navbg{
		display:none;
	}
		
    .navbg {
		display:block;
		opacity:0;
        padding:60px 10px 100px;
        position: fixed;
        right: -320px;
        top: 0;
        height: calc(40% - 100px);
        width: 300px;
        float:none;
        background:#156F96;
        text-align: center;
        z-index: 300;
        transition: .35s ease-in-out;
        overflow: auto;
    }
	
	.navbg ul{
		display:block;
	}
	
    .navbg li {
        display:block;
        text-align: left;
        width:auto;
		cursor:pointer;
		color:#FFF;
		position:relative;
    }
	
	.navbg li a{
		color:#FFF;
		text-decoration: none;
		padding:5px;
	}

    /* nav-toggle */
    #nav-toggle {
        display: block;
        position: fixed;
        top: 16px;
        right: 20px;
        height: 30px;
        padding: 10px 10px 0;
        background: #156F96;
        border:#FFF solid 1px;
        cursor: pointer;
        box-shadow: 0px 3px 5px -2px rgb(0 0 0 / 30%);
		z-index: 1000;
    }

    #nav-toggle > div {
        position: relative;
        width: 20px;
    }

    #nav-toggle span {
        width: 100%;
        height: 1px;
        left: 0;
        display: block;
        background: #FFF;
        position: absolute;
        -webkit-transition: .35s ease-in-out;
        -moz-transition: .35s ease-in-out;
        transition: .35s ease-in-out;
    }

    #overlay {
        display: none;
        position: fixed;
        background: rgba(0,0,0,0.6);
        width: 100%;
        height: 100%;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        pointer-events:none;
        z-index: 250;
    }

    #nav-toggle span:nth-child(1) {
        top: 0;
    }
    #nav-toggle span:nth-child(2) {
        top: 9px;
    }
    #nav-toggle span:nth-child(3) {
        top: 19px;
    }

    /* nav open */
    .open {
        overflow: hidden;
    }
    .open #overlay {
        display: block;
    }
	.open .navbg{
		opacity:1;
        transform: translate3d(-300px,0,0);
    }

    /* #nav-toggle close */
    .open #nav-toggle span:nth-child(1) {
        top: 11px;
        transform: rotate(45deg);
    }
    .open #nav-toggle span:nth-child(2) {
        width: 0;
        left: 50%;
    }
    .open #nav-toggle span:nth-child(3) {
        top: 11px;
        transform: rotate(-45deg);
    }
    
    .pc0,
    .navbg li.pc0{
        display:block;
    }
	
	.navbg a {
		color:#000;
	}
}

@media only screen and (max-width:420px){
	html{
		scroll-padding-top: 90px;
	}
	
	h1{
		width:70%;
	}
	
	header .w1,
	.head_l{
		justify-content: flex-start;
	}
	
}

#head_slider{
	position:relative;
	display:flex;
	justify-content: space-between;
	height:100vh;
}

#header_copy{
	width:calc(40% - 60px);
	height:calc(100vh - 60px);
	position:relative;
	background:#156F96;
	color:#FFF;
	margin:0;
	padding:20px;
	text-shadow: 2px 3px 3px rgba(0, 0, 0, 0.3);
}

#header_copy .min{
	font-size:4rem;
	line-height: 4.5rem;
	margin:0 0 80px;
}

#header_copy_inner{
	position: absolute;
	bottom:100px;
	width:calc(100% - 60px);
	font-size:1.7rem;
	line-height: 2.4rem;
}

#header_copy_inner span{
	display:block;
}

#slider {
  width: 60%;
  height:100vh;
  overflow: hidden;
  position: relative;
}

#slider img {
  height: 100vh;
  width: 100%;
  object-fit: cover;
  object-position: center center;
  display: block;
  margin: 0 auto;
}

@media only screen and (max-width:700px){
	#header_copy_inner{
	font-size:1.1rem;
	}
}



@media only screen and (max-width:1156px){
	#head_slider{
		display:block;
		position:relative;
	}
	
	#header_copy{
		width:50%;
		height:auto;
		position: absolute;
		bottom:30px;
		left:0;
		z-index: 100;
	}
	
	#header_copy_inner{
		position: static;
		width:auto;
	}
	
	#header_copy_inner span{
		display:inline;
	}
	
	#slider{
		width:100%;
	}
}

@media only screen and (max-width:800px){
	#header_copy .min{
		font-size:2.2rem;
		line-height: 3rem;
		margin:0 0 30px;
	}
}

@media only screen and (max-width:600px){
	#header_copy{
		width:54%;
		background:rgba(21,111,150,0.9);
		bottom:auto;
		top: 60%;
		transform: translateY(-70%);
	}
}

@media only screen and (max-width:400px){
	#header_copy .min{
		font-size:1.7rem;
		margin:0;
	}
	
	#header_copy_inner_txt{
		display:none;
	}
}

@media only screen and (max-width:352px){
	#header_copy .min{
		font-size:1.5rem;
		margin:0;
	}
}

main{
	margin:10px;
}

main#topmain{
	margin:0;
}

#topcont1{
	margin:0;
	padding:0;
}

@media only screen and (max-width: 765px){
	#topcont1{
		padding:40px 0 0;
	}
	
	#topcont1 p.cntr{
		text-align: left;
	}
}

#topcont2{
	margin:0;
	padding:30px 0 60px;
	background:#EDF6F7;
}

#topcont3{
	background:#EEE;
	margin:0;
	padding:60px 0 100px;
}

#topcont1 p span{
	display:block;
}

@media only screen and (max-width: 615px){
	#topcont1 p span{
		display:inline;
	}
}

#about_cont{
	display:flex;
}

#about_cont > a{
	display:block;
	width:calc(100% / 3);
	color:#000;
	text-decoration: none;
}

#about_cont > a+a{
	border-left: #C1C1C1 solid 1px;
}

.about_img{
	/*height:240px;*/
	overflow: hidden;
	position: relative;
	background:#156F96;
}

.about_img img,
a .about_img img{
	width:auto;
	object-fit: cover;
    object-position: center;
	display:block;
	margin:0 auto;
	transition: none;
	transition: transform 0.4s ease;
}

a:hover .about_img img {
	transform: scale(1.1);
}

.about_txt{
	margin:0;
	padding:10px 10px 30px;
}

@media only screen and (max-width:720px){
.about_img img,
a .about_img img{
	height:264px;
}
}
@media only screen and (max-width:810px){
	#about_cont{
		display:block;
	}
	
	#about_cont > a{
		width:auto;
		display:flex;
		border-top: 1px #ccc solid;
	}
	
	#about_cont a:nth-child(2){
		flex-direction: row-reverse;
	}
	
	#about_cont > a+a{
		border-left: none;
	}
	
	.about_img{
		width:40%;
		/*height: 200px;*/
	}
	
	.about_img img{
		height:auto;
	}
	
	.about_txt{
		width:calc(60% - 40px);
	}
}

@media only screen and (max-width:470px){
	#about_cont > a{
		display:block;
		border-top:none;
	}
	
	.about_img,
	.about_txt{
		width:auto;
		height:auto;
	}
}

#property_list{
	list-style: none;
	margin:10px 0 50px;
	padding:0;
	text-align: center;
}

#property_list li{
	display:inline-block;
	width:310px;
	margin:10px;
	padding:0;
	background:#FFF;
	box-shadow: 0px 3px 17px -7px rgba(0,0,0,.3);
	text-align: left;
}

#property_list li:before{
	display:none;
}

#property_list li a{
	display:block;
	text-decoration: none;
	color:#000;
}

.property_img{
	position: relative;
	height:250px;
	overflow: hidden;
}

.property_img img{
	height:100%;
	width:auto;
	object-fit: cover;
    object-position: center;
	display:block;
	margin:0 auto;
}

.property_name{
	margin:0;
	padding:20px;
	border-bottom:#C1C1C1 solid 1px;
}

.property_cat{
	display:inline-block;
	font-size:0.8rem;
	margin:0 10px 0 0;
	padding:0 10px;
	border:#000 solid 1px;
	border-radius:20px;
}

.property_txt{
	padding:20px;
}

#topcont4{
	display:flex;
	flex-wrap: wrap;
}

#topcont4_l,
#topcont4_l2{
	width:50%;
	background:url("img/bg2.webp");
	background-size:cover;
	background-position: center center;
	margin:0;
	padding:90px 0;
	text-align: center;
}

#topcont4_l2{
	width:100%;
}

#topcont4_r{
	width:50%;
	background:url("img/bg1.webp");
	background-size:cover;
	background-position: center center;
	margin:0;
	padding:90px 0;
	text-align: center;
}

#topcont4 a{
	display:inline-block;
	background: rgba(255, 255, 255, 0.93);
	margin:10px;
	padding:20px 0;
	width: 400px;
	border-radius: 13px;
	text-decoration: none;
	position:relative;
}

#topcont4 a:after{
	content: "\f105";
	font-family: "Font Awesome 6 Free";
	font-weight: 900;
	position:absolute;
	top:50%;
	right:20px;
	margin-top:-14px;
	color:#96BFD5;
	font-size:2.5rem;
}

@media only screen and (max-width:840px){
	#topcont4_l,
	#topcont4_r{
		width:100%;
	}
}

@media only screen and (max-width:470px){
	#topcont4 a{
		display:block;
		width:auto;
		margin:10px 30px;
	}
}

#topcont5{
	margin:0;
	padding:30px 0 0;
	height:auto;
}

.slider-for img {
  width: 100%;
  height: auto;
  display: block;
}

.slider-nav {
  margin-top: 10px;
}

.slider-nav .slick-slide {
  margin: 0 5px;
}

.slider-nav img {
  width: 100%;
  height: auto;
  display: block;
  cursor: pointer;
}

.slider-nav .slick-current img {
  outline: 3px solid #FFF;
  outline-offset: -6px;
}

.box1{
	background:#F8F8F8;
	margin:30px 10px;
	padding:40px;
	border-radius: 20px;
}

.ls_news{
	margin:0 20px 50px;
	padding:0;
	list-style: none;
}

.ls_news li{
	display:flex;
	margin:0;
	padding:20px 0 6px;
	width:auto;
	border-bottom: 1px #0a5677 dotted;
}

.ls_news li+li{
	border-top:#D0D0D0 solid 1px;
}

.ls_news li:before{
	display:none;
}

.ls_news li a{
	color:#0a5677;
	text-decoration:none;
}

#topcont2 .ls_news div,
.ls_news div{
	display:inline-block;
	vertical-align: top;
}

#topcont2 .ls_news div:nth-child(1),
.ls_news div:nth-child(1){
	width:125px;
	color:#848484;
}

#topcont2 .ls_news div:nth-child(2),
.ls_news div:nth-child(2){
	width:calc(100% - 125px);
}

@media only screen and (max-width:700px){
	.ls_news li{
		display:block;
	}
	
	.ls_news div:nth-child(1),
	.ls_news div:nth-child(2){
		width:auto;
		display: block;
    }
}

.pagetop{
    display: none;
    position: fixed;
    bottom: 10px;
    right: 10px;
    z-index: 999;
	font-size:3rem;
}

.pagetop a {
    display: block;
    width:50px;
	color:#000;
	text-decoration: none;
}

.pagetop span{
	font-size:0.6rem;
	font-weight: bold;
	display:block;
	text-align: center;
}

.cont{
	padding:0 20px 60px;
}

#pmap{
	font-size:70%;
	color:#8A8A7B;
	margin:10px auto;
	padding:0 ;
	text-align:left;
    width:1200px;
}

#pmap a{
	color:#8A8A7B;
}

@media only screen and (max-width:1280px){
	#pmap{
		margin:10px 20px;
		width:calc(100% - 40px);
	}
}

footer{
	margin:0;
	padding:60px 30px 30px;
	text-align: center;
}

footer a{
	max-width:230px;
	margin:0 auto;
	display: block;
}

footer span{
	display:inline-block;
	margin:10px 5px;
	padding:0 20px;
	background:#2d81a6;
	color:#FFF;
	border-radius:20px;
	font-size:0.8rem;
}

#copyr{
    font-size:0.8rem;
    margin:10px;
    padding:5px;
	display: inline-block;
	color:#CBCBCB;
	font-weight: 600;
}

#pagination {
clear:both;
padding:20px 0;
text-align: center;
font-size: 80%;
}

#pagination span, #pagination a {
margin: 2px 2px 2px 0;
padding:6px 9px 5px 9px;
text-decoration:none;
width:auto;
color:#fff;
background:#156F96;
}

#pagination a:hover{
background:#2094C6;
}

#pagination .current{
padding:6px 9px 5px 9px;
background:#2094C6;
}

fieldset{
	border:none;
}

.wp-block-embed__wrapper{
	width: 100%;
	aspect-ratio: 16 / 9;
}

.wp-block-embed__wrapper iframe{
	width:100%;
	height:100%;
}

.wp-block-buttons{
	padding:10px 0;
}

.property_ov{
	display:flex;
	flex-wrap: wrap;
	gap:10px;
}

.property_ov_ch{
	width:calc(50% - 50px);
	border:#CCC solid 1px;
	border-radius: 15px;
	margin:0;
	padding:20px;
}

.property_ov_ch h4{
	margin:0 0 10px;
}

.property_ov_ch table{
	margin:0;
}

.property_ov_ch td:first-child{
	width:auto;
}

.property_ov_ch h5{
	margin:0 0 10px;
	padding:5px;
}

.property_img{
	text-align: center;
}

.property_img a{
	display:inline-block;
	vertical-align: top;
	width:30%;
	margin:5px;
}

/*--- list -------*/
ul{
	margin:0 20px;
	padding:0;
	list-style: none;
}

ul ul{
	margin-left:30px;
}

ul li{
	margin:0;
	padding:10px 20px;
	position: relative;
}

ul li:before{
	content: "\f138";
    font-family: "Font Awesome 6 Free";
    font-weight: bold;
    color:#1572B5;
    margin:0;
	position:absolute;
	top:10px;
	left:0;
}

ul.ls1 li{
	padding:10px;
}

ul.ls1 li:before{
	display:none;
}

ul.ls2 li{
	display:inline-block;
	margin:5px 10px;
}

.ls_check li:before{
	content:"\f058";
	color:#6F9D34;
}

ul.ls_btn_col2,
ul.ls_btn_col3{
	margin:0 0 80px;
	padding:0;
	list-style:none;
}

.box1 ul.ls_btn_col3{
	margin:0;
}

.ls_btn_col2 li,
.ls_btn_col3 li{
	display:inline-block;
	width:48%;
	background:#FAFAFA;
	border:#DEDEDE solid 1px;
	-webkit-border-radius: 4;
	-moz-border-radius: 4;
	border-radius: 4px;
	vertical-align: top;
	margin:3px;
	padding:0;
	text-align:left;
	position:relative;
	font-weight: normal;
}

.ls_btn_col3 li{
	width:30%;
	background:#FFF;
}

.ls_btn_col2 li a,
.ls_btn_col3 li a{
	color:#000;
	display:block;
	text-decoration: none;
	padding:10px;
}

.ls_btn_col2 li:before,
.ls_btn_col3 li:before{
	display:none;
}

.ls_btn_col2 li:after,
.ls_btn_col3 li:after{
	content: "\f105";
	font-family: "Font Awesome 6 Free";
	font-weight: 900;
	position:absolute;
	top:50%;
	right:10px;
	margin-top:-14px;
	color:#0085B2;
}

ol li{
	margin:0 0 10px;
}


@media only screen and (max-width:453px){
.ls_btn_col3 li{
	width:80%;
}
}


/*--- table -------*/
table{
    max-width: 800px;
    margin:0 auto 40px;
    padding:0;
    border-collapse: collapse;
}

.w3 table{
	max-width: none;
	width:100%;
}

tr:first-child,
.wp-block-table tr:first-child{
	border-top:#E3E3E3 solid 1px;
}

tr,
.wp-block-table tr{
	border-bottom:#E3E3E3 solid 1px;
}

td:first-child{
	text-align: center;
	font-weight: 600;
	width:300px;
}

th,
td,
.wp-block-table td,
.wp-block-table th{
    padding:20px;
	border:none;
}

th p,
td p{
	padding:0;
	margin:0;
}

table table tr{
	border:none;
}

th+td,
td+td{
    font-weight: normal;
}

legend.none,
label.none{
	display:none;
}

@media only screen and (max-width:630px){
	tr{
		display:block;
		padding:10px 0;
	}
	
	th,
	td,
	.wp-block-table td,
	.wp-block-table th{
		display:block;
		padding:5px;
		text-align: left;
	}
}

/*--- common -------*/
.w1{
	width:1200px;
	margin:0 auto;
}

.w2{
	max-width:600px;
	margin:0 auto;
}

.w3{
	max-width: 1000px;
	margin:0 auto;
}

.w4{
	max-width:800px;
	margin:0 auto;
}

@media only screen and (max-width:1200px){
	.w1{
		width:auto;
		margin:10px;
	}
	
	#topmain .w1{
		margin:0;
	}
}

@media only screen and (max-width:1020px){
	.w3{
		margin:10px;
	}
}

@media only screen and (max-width:820px){
	.w4{
		margin:10px;
	}
}

@media only screen and (max-width:620px){
	.w2{
		margin:10px;
	}
}

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

.clearfix {
	zoom: 1;
}

.btn_more a,
a.btn_more,
a .btn_more,
div.btn_more,
a.btn_submit{
	display:inline-block;
	margin:3px;
	padding:10px 50px 10px 40px;
	text-decoration: none;
	font-weight: 500;
	background:#2d81a6;
	border-radius: 30px;
	color:#FFF;
	position:relative;
}

a.btn_submit{
	background:#000000;
}

.btn_more a:after,
a.btn_more:after,
a .btn_more:after,
div.btn_more:after{
	content: "\f105";
	font-family: 'Font Awesome 6 Free';
	font-weight: 900;
	position:absolute;
	top: 50%;
    right: 13px;
    transform: translateY(-50%);
    -webkit-transform: translateY(-50%);
    -ms-transform: translateY(-50%);
}

.btn_more2{
	text-align: right;
}

.btn_more2 a,
a.btn_more2{
	font-weight: 700;
	color:#000;
	text-decoration: none;
}

.tr{
text-align:right;
}

.cntr,
.tr > .cntr,
.cntr2,
.tbl1 th.cntr,
.tbl1 td.cntr{
text-align:center;
}

label.i_block{
	display:inline-block;
}

input,
select,
textarea{
	border: solid 1px #CCC;
	border-radius:8px;
}

input[type="text"],
input[type="email"],
input[type="tel"]{
width:calc(100% - 20px);
padding:10px;
}

select{
	width:100%;
	padding:10px;
}

input[type="number"]{
padding:10px 0;
width:50px;
}

textarea{
width:calc(100% - 20px);
height:150px;
padding:10px;
}

input[type="submit"],
input[type="button"]{
	margin:0 auto;
	padding:13px 30px;
	background:#000;
	color:#FFFFFF;
	border:none;
	border-bottom:#D0D0D0 solid 3px;
	cursor: pointer;
	border-radius: 30px;
}

input[type="submit"]:disabled,
input[type="button"]:disabled{
	background:#CCCCCC;
}

.strg{
    font-weight: 700;
}

.required{
	display: inline-block;
	background:#B22C00;
	color:#FFF;
	font-size:0.8rem;
	padding:2px 8px;
	border-radius: 15px;
	margin:0 0 0 10px;
}

.red,
.red a,
a.red{
	color:#B22C00;
	font-weight:bold;
}

.gry{
	color:#8B8B8B;
	font-weight: bold;
}

.mb80{
	margin-bottom:80px;
}

.pc0{
display:none;
}

.cntr100{
text-align:center;
margin:100px 0;
padding:0;
}

.wpcf7-spinner{
	display:block;
}

@media only screen and (max-width:1000px){
    .w1{
        width:auto;
    }
}

@media only screen and (max-width:700px){
	.fl,
	.fr{
	float:none;
	}

	.imgl,
	.imgr,
	.alignright,
	img.alignright,
	.alignleft,
	img.alignleft{
	float:none;
	margin:10px auto;
	display:block;
	}
    
    .cont{
        padding:0 0 60px;
    }
}

@media only screen and (max-width:470px){
	h3,
	.h2_cap{
		font-size:1.2rem;
		line-height: 1.8rem;
	}
	h2{
		font-size:1.6rem;
	}
	
	.h2_cap{
		padding:0 0 10px;
	}
	
	#topcont4 a .h2_cap{
		padding:0;
	}
	
	h4{
		font-size:1.0rem;
		margin:10px 0;
	}
}

@media only screen and (max-width:600px){
    p{
        margin:10px;
    }
	
	h3{
		margin:10px;
		padding:10px;
	}

	h1.editor-post-title__input{
		padding:10px;
	}
	
	h5,
	h6,
	.cat_tit{
		padding:10px;
	}
}

@media only screen and (max-width:500px){
    th{
        text-align: left;
    }
}

@media only screen and (max-width:330px){
	body{
		font-size:1.0rem;
	}
}

@media only screen and (max-width:1079px){
	#headm {
	padding: 4px 20px;
	}
}
@media only screen and (max-width:420px){
	#nav-toggle{
	top: 8px;
	}
}

	#foot_ad{
	font-size:1rem;
}

@media only screen and (max-width:370px){
	#foot_ad{
	font-size:0.8rem;
}
}

.mb30{
	margin-bottom:30px;
}
.mb40{
	margin-bottom:40px;
}
.mt40{
	margin-top:40px;
}
.sub_txt {
    display: block;
	text-align:center;
	line-height:2;
}
.sub_txt span{
    display: block;
}

.group_txt span{
    display: inline-block;
}

@media only screen and (max-width:600px){
.group_txt span{
    display: block;
}
}


@media only screen and (max-width:600px){
.sub_txt {
	text-align:left;
	margin-bottom:30px;
}
.sub_txt span {
    display: inline;
}
}

@media only screen and (max-width:810px){
#topcont1 a h3{
	margin:10px auto 0;		
	}
}

.saiyo_btn{
	font-size: 1.2rem;
    text-align: center;
    margin-bottom:10px;
	color:#000;
}

.enkaku_box{
	width:100%;
	margin:50px auto;
}
.enkaku_tbl table{
	width:90%;
	padding:0;
	margin:0 auto 30px;
	border-collapse:collapse;
	background:#FFFFFF;
	border:none;
}
.enkaku_tbl tr{
	border:none;
}
.enkaku_tbl th{
	padding:0;
}
.enkaku_date{
	width:100px;
	margin:0 auto;
	border-radius:30px;
	background:#156F96;
	padding:8px 20px;
	color:#FFFFFF;
	text-align:center;
}
.enkaku_td_l{
	width:50%;
	padding:30px 70px;
	text-align:left!important;
	font-weight:normal !important;
}
.enkaku_td_r{
	width:50%;
	padding:10px 0 10px 90px;
	border-left:2px solid #156F96 !important;
	text-align:left !important;
	font-weight:normal !important;
}
.blu{
	color:#156F96;
	font-weight:bold;
}

@media only screen and (max-width:630px){
.enkaku_box{
	font-size:80%;
	margin:30px auto 50px;
	}
.enkaku_tbl td{
	display:inline-block !important;
	vertical-align: top;
	}
.enkaku_td_l{
	width:48% !important;
	padding:10px 2px 0px;
	}
.enkaku_td_r{
	width:46% !important;
	padding:10px 0 10px 5px;
	}
.enkaku_tbl tr{
	padding:0 2px;
	}
.h80{
	height:80px;	
	}
.h100{
	height: 100px;	
	}
.h120{
	height: 120px;	
	}
.h140{
	height: 140px;	
	}
}

.status_ps_ng,
.status_ps_ok{
	background:#ACDBFD;
	display: inline-block;
	margin:0 5px 0 0;
	padding:0 10px;
	border-radius: 8px;
	font-weight: bold;
	font-size:0.8rem;
}

.status_ps_ng{
	background:#EFEFEF;
	color:#898989;
}
@media only screen and (max-width:544px){
.status_ps_ng,
.status_ps_ok{
	display: inline-block;
	text-align: center;
	}
.property_ov_ch h5{
	margin:0 0 10px;
	padding:5px;
	font-size: 1.0rem;
}
}
@media only screen and (max-width:430px){
.property_ov_ch{
	width:100%;		
	}
}