@charset "utf-8";

/*bodyの直接の子要素のh1タグ（ページ最上段にあるh1）設定
---------------------------------------------------------------------------*/
body > h1 {
	display: none;
}

/*コンテナー（HPを囲むブロック）
---------------------------------------------------------------------------*/
#container {
	width: auto;
	margin-right: 6px;
	margin-left: 6px;
}

/*ヘッダー（サイト名ロゴが入ったブロック）
---------------------------------------------------------------------------*/
header {
	height: auto;
	position: static;
	text-align: center;
}

/*ヘッダーロゴの設定*/
header p.img {
	position: absolute;
	left: 0px;	/*ヘッダーブロックに対して左から0pxの位置に配置*/
	top: 30px;	/*ヘッダーブロックに対して上から35pxの位置に配置*/
}

/*h1ロゴの設定*/
header h1 {
	padding-top: 15px;
	text-align: center;
	position: static;
}
/*電話番号のボックス設定*/
header p.toiawase {
	position: relative; /*absolute;*/
    top: 155px;
}

/*上部のメインメニュー
---------------------------------------------------------------------------*/

nav#menu {
    margin-top: 105px;
}

/*メニュー１個ごとの設定*/
nav#menu ul li {
	margin-right: 0;
	margin-bottom: 5px;
	width: 49%;
}

nav#menu ul li a {
    margin: 0px;
}




/*奇数番目のメニューの設定*/
nav#menu ul li:nth-child(odd) {
	margin-right:1%;
	width: 50%;
}
/*最後のメニューの設定*/
nav#menu ul li:last-child a {
	margin-bottom: 10px;
}
/*英語表記の設定*/
nav#menu ul li a span {
	display: none;
}




/*コンテンツ（main,subを囲むブロック）
---------------------------------------------------------------------------*/
#contents {
	width: auto;

}

/*メイン（mainを囲むブロック）
---------------------------------------------------------------------------*/
#main {
	float: none;
	width: auto;
	position: relative;
	top: 155px;
}

/*main,subコンテンツ
---------------------------------------------------------------------------*/
#sub {
	float: none;
	width: auto;
	position: relative;
	top: 0px;
}

/*トップページのメイン画像
---------------------------------------------------------------------------*/
#mainimg {
	height: auto;
	width: 100%;

}
#slide_image {
	height: auto;
	width: 100%;
	position: relative;
}
#slide_image2 {
	height: auto;
	width: 100%;
	position: absolute;
	left:0px;
	top:0px;
}

/*サブコンテンツ　物件ボックス
---------------------------------------------------------------------------*/
/*ボックス１個あたりの設定*/
#sub article.box1 {
	font-size: 12px;	/*文字サイズ*/
	width: 100%;		/*ボックスの幅*/
	line-height: 1.6;	/*行間*/
	-moz-box-sizing:border-box;
	box-sizing:border-box;
}

/*item.html（item詳細ページ）
---------------------------------------------------------------------------*/
/*詳細ページではサブコンテンツを表示させない設定*/
#item #sub {
	display: none;
}
/*写真の設定*/
#item #main figure > img {
	width: 100%;
	height: auto;
}

/*contact.html（お問い合わせページ）
---------------------------------------------------------------------------*/
/*お問い合わせページではサブコンテンツを表示させない設定*/
#contact #sub {
	display: none;
}




/*フッターお問い合わせ
---------------------------------------------------------------------------*/
.footer-mail img {
    max-width: 100%;
}







/*その他
---------------------------------------------------------------------------*/
/*写真の設定*/
#main img.wa {
	width: 100%;
	height: auto;
}



/*詳細ページではサブコンテンツを表示させない設定
---------------------------------------------------------------------------*/
#main-under,
#main-menu {
	display: none;
}


/* タブレットに適用するCSS */
@media screen and (max-width:799px){

.new-post {
    display: block ;     /* 表示にする */
}

#toggle-s {
    display: none ;		/* 非表示にする */
	}

}