/*
Theme Name: WING-AFFINGER5 Child
Template: affinger5
Description: ver20180831以上対応
Version: 20180831
*/

/*====================================================

  『株式会社新潟不動産ファクトリー』サイト オリジナルCSS ここから

====================================================*/
/*===== 2階層以降のヘッダー下ライン表示 =====*/
body:not(.home) #content-w{border-top:1px dashed #ccc;}

/*===== h3デザイン変更 =====*/
.h3modoki, .post h3:not(.st-css-no):not(.st-matome):not(.rankh3):not(.post-card-title):not(#reply-title) {
border-bottom: 1px dotted #717171 !important;
}
/*===== SNSボタンの色 ====*/
.sns li a:hover {
color: #fff !important;
}
/*===== listスタイルをフォントアイコンにする =====*/
ul.list-sty-sq > li:before {
	content: "\f04d"; /* フォントの種類 */
    position: relative;
    font-family: FontAwesome;
    margin-right: .5em;
	 color: #717171; /* 文字色 */
}
ul.list-sty-sq {
	list-style-type: none !important;
}
/*listスタイルをフォントアイコンにする　ここまで*/

/*===== 少し大きい文字にする ====*/
.sukoshi-oomozi {
font-size: 1.1em;
}
/*===== 少し字間を空ける ====*/
.letter-spacing-1 {
letter-spacing: 1px;
}
/*----------
.my-framebox
----------*/
.my-framebox {
max-width: 460px;
margin: 10px auto;
}
/*----------
.my-graybox
----------*/
.my-graybox {
max-width: 460px;
margin: 10px auto;
}
.my-graybox a {
color: #0f0f0f;
text-decoration: none;
}
.my-graybox a:hover {
opacity: 0.7;
transition: 0.3s;
}


/*==========
TOPページ
==========*/

/*===== ヘッダー下にライン =====*/
#st-headerbox {
/*text-align: center;*/
border-bottom: 5px solid #e94709;
}

/*=== .lead ===*/
.lead h2.copy:not(.st-css-no):before {
display: none; /*左ボーダー非表示---*/
}
.lead h2.copy {
font-size: 1.2em;
}
.lead .my-framebox .st-mybox .st-in-mybox h3 {
margin-top: 0 !important;
padding-top: 0 !important;
}
.lead ul.list-sty-sq > li:before {
color: #aaa;
}
/*.my-framebox調整*/
.lead .my-framebox {
max-width: 520px;
}
@media print, screen and (max-width: 599px) {
.lead ul.list-sty-sq {
padding-left: 0 !important;
padding-right: 0 !important;
	}
}
	
/*=== .contents ===*/
div.free-soudan div.my-graybox div.st-in-mybox div.st-square-checkbox.st-square-checkbox-nobox ul li:before, div.free-soudan div.my-graybox div.st-in-mybox div.st-square-checkbox.st-square-checkbox-nobox ul li:after {
font-size: 200% !important;
}
.free-soudan .my-graybox .st-in-mybox .st-square-checkbox ul li {
border-bottom: 1px dotted #ccc !important;
padding-left: calc(1.5em + 30px);
}
.free-soudan .my-graybox .st-in-mybox .st-square-checkbox ul {
display: block;
margin: 0 auto;
max-width: 300px;
}
.my-graybox .st-mybox .st-in-mybox {
padding: 30px 0;
}

/*--- .infoのシンプルテキストボタン ---*/
.info .simple-text {
text-align: right;
}
@media print, screen and (max-width: 599px) {
	.info .simple-text {
text-align: center;
}
}

/*----------
シンプルテキストボタン
----------*/
.simple-text button {
color: #0f0f0f;
background: none;
border: none;
padding: 12px 30px;
letter-spacing: 1px;
font-weight: bold;
}
.simple-text a:hover button {
color: #e94709;
transition: 0.3s;
}
/*シンプルテキストボタン　ここまで----------*/


/*----------
白→黒ボタン
----------*/
.white-black button {
color: #0f0f0f;
background: #eee;
border: 1px solid #0f0f0f;
padding: 12px 30px;
letter-spacing: 1px;
}
.white-black a:hover button {
color: #eee;
background: #0f0f0f;
transition: 0.3s;
}
/*白→黒ボタンここまで----------*/

/*----------
What's New Generator
----------*/
div.whatsnew .newmark {
background-color: #0f0f0f;
padding: 2px 5px;
border-radius: 0;
}
div.whatsnew a {
color: #0f0f0f;
}
div.whatsnew a:hover {
background-color: #eee;
color: #808080;
}

/*--- 物件一覧（バナー風ボックス） ---*/
p.st-header-flextitle {
letter-spacing: 0.1em;
}
div.st-header-flexbox {
width: 95%;
}

/*----------
ページ下ウィジェット　バナーボックス
----------*/
.bnr-box {
display: flex;
flex-wrap: wrap;
justify-content: center;
}
.bnr-box img {
margin: 10px;
}
@media print, screen and (min-width: 1040px) {
.bnr-box img {
margin: 0 10px;
max-width: 280px;
}
}
@media only screen and (min-width: 600px) and (max-width: 1039px) {
.bnr-box img {
max-width: 253px;
	}
}
@media print, screen and (max-width: 599px) {
.bnr-box img {
margin: 10px auto;
padding: 0 10px;
max-width: 100%
}
}

/*----------
ヘッダー右上ウィジェット　TEL・営業時間
----------*/
.header-r p.tel {
font-size: 2em;
font-weight: bold;
line-height: 1.5em;
}
.header-r p.tel a {
color: #0f0f0f;
}
.header-r p.open {
font-size: 1.2em;
text-align: left;
line-height: 1.5em;
}
.header-r {
padding-left: 10px;
border-left: 5px solid #e94709;
}

/*----------
フッター
----------*/
#footer a:hover {
color: #e94709 !important;
}
#footer .footermenust a:hover {
color: #e94709 !important;
}
#footer .footerlogo img {
	max-width: 200px;
}
	#footer .access p{
		font-size: 14px !important;
		line-height: 1.5;
        margin-bottom: 10px;
}
footer .footer-2row-menu ul {
padding-left: 0;
list-style: none;
font-weight: bold;
line-height: 2.2em;
}

/*----------
スマホ用ミドルメニュー
----------*/
@media print, screen and (max-width: 599px) {
li#menu-item-39, li#menu-item-35, li#menu-item-36 {
line-height: 2em;
	}
}

/*===================
物件ページ（投稿ページ）
====================*/
/* 物件データ用テーブル ----------------------------------------------------*/
table.law {
	border-collapse: collapse;
	text-align: left;
	width: 100%;
	margin-bottom:10px;
}

table.law td {
	padding: 5px 10px;
	border: 1px solid #999;
	line-height: 125% !important;
	font-size:14px;
	vertical-align: text-top;
}

table.law th {
		padding: 5px 10px;
	border: 1px solid #999;
	line-height: 125%;
	width: 100px;
	background-color:#e6e6e6;
	vertical-align: text-top;
	font-size:14px;
}


/*media Queries スマートフォンとタブレットサイズ（959px以下）で適応したいCSS - スマホ・タブレット
---------------------------------------------------------------------------------------------------*/
@media only screen and (max-width: 959px) {
/*ナビボタン*/	
	#s-navi{float:left;}
	.acordion_tree ul.menu li a{font-size:16px;padding:10px 20px;}
/*--- スマホ・タブレットで非表示 ---*/
	.sptab-none {
		display: none;
	}

	/*-- ここまで --*/
}
	
/*media Queries タブレットサイズ（600px～959px）のみで適応したいCSS -タブレットのみ
---------------------------------------------------------------------------------------------------*/
@media only screen and (min-width: 600px) and (max-width: 959px) {

/*--- ヘッダー ---*/
/*ヘッダーロゴのサイズ調整*/
	.sitename img {
		max-width: 220px;
	}

/*--- フッター 2列目ウィジェット ---*/
.footer-2row-menu {
padding-left: 30px;
	}
.footer-contact-button {
margin-left: 30px;
margin-bottom: 10px;
	}
	
	/*-- ここまで --*/
}	
	
/*media Queries タブレット（600px）以上で適応したいCSS -タブレット・PC
---------------------------------------------------------------------------------------------------*/
@media only screen and (min-width: 600px) {

/*--- PC・タブレットで非表示 ---*/
	.pctab-none {
		display: none;
	}
/* 会社概要の社長の写真 */
.migiwaki{width:190px;padding:0px 0px 10px 10px;float:right;text-align:left;}
.migiwaki img{width:100%;}
.migiwaki p{font-family:sans-serif;font-size:12px;color:#666;line-height:125%;font-weight:400;}
/* 沿革等の表示 */
.enkaku{
width:100%;
margin:0;
margin-bottom:20px;
padding:0;
border-top:1px dotted #ccc;
box-sizing:border-box;
}

.enkaku dl{
text-align:left;
	width:100%;
	margin:0px 0px 0px 0px;
	padding:0;
	overflow:hidden;
	border-bottom:1px dotted #ccc;
box-sizing:border-box;
clear:both;
}

.enkaku dt{
	width:22%;
	text-align:right;
	float:left;
	padding:10px;
margin:0;
	font-family:"ヒラギノ角ゴ Pro W3", "Hiragino Kaku Gothic Pro", "メイリオ", Meiryo, Osaka, "ＭＳ Ｐゴシック", "MS PGothic", sans-serif;
	font-size:14px;
	font-weight:500;
	color:#000;
line-height:160%;
box-sizing:border-box;
}
.enkaku dd{
	text-align:left;
	padding:10px;
margin:0;
	font-family:"ヒラギノ角ゴ Pro W3", "Hiragino Kaku Gothic Pro", "メイリオ", Meiryo, Osaka, "ＭＳ Ｐゴシック", "MS PGothic", sans-serif;
	font-size:14px;
	font-weight:500;
	color:#000;
line-height:160%;
border-left:1px dotted #ccc;
float:right;
width:75%;
box-sizing:border-box;
}


	/*-- ここまで --*/
}
/*media Queries PCサイズ（770px）以上で適応したいCSS - PCのみ
---------------------------------------------------------------------------------------------------*/
@media print, screen and (min-width: 770px) {

/*===================
物件ページ（投稿ページ）
====================*/
/* 2カラム上段 ----------------------------------------------------*/
.b-box{width:100%;display:flex;}
.b-hidari{width:60%;padding:0px 10px 10px 0px;box-sizing:border-box;}
.b-migi{width:40%;padding:0px 0px 10px 10px;box-sizing:border-box;}
/* 2カラム下段 ----------------------------------------------------*/
.b2-box{width:100%;display:flex;}
.b2-hidari{width:50%;padding:0px 10px 10px 0px;box-sizing:border-box;}
.b2-migi{width:50%;padding:0px 0px 10px 10px;box-sizing:border-box;}
	
		/*-- ここまで --*/
}

/*media Queries PCサイズ（960px）以上で適応したいCSS - PCのみ
---------------------------------------------------------------------------------------------------*/
@media print, screen and (min-width: 960px) {

/*--- ヘッダー ---*/
/*ヘッダーロゴのサイズ調整*/
#header-l {
	min-width: 200px;
	margin-left: 10px;
}
	
/*----------
フッター
----------*/
.footer-l {
min-width: 220px;
	}
.footer-r-2 {
    width: 30%;
}
.footer-r-3 {
    width: 70%;
}

	/*-- ここまで --*/
}

/*media Queries スマホサイズ（599px）以下で適応したいCSS - スマホのみ
---------------------------------------------------------------------------------------------------*/
@media print, screen and (max-width: 599px) {

/*--- スマホで非表示 ---*/
	.sp-none {
		display: none;
	}
	
/*--- ヘッダー ---*/
/*ヘッダーのキャッチフレーズを非表示*/
	header .descr.sitenametop{
		display: none;
	}
/*ヘッダーロゴのサイズ調整*/
	.sitename img {
		max-width: 150px;
	}

/*--- フッター 2列目ウィジェット ---*/
.footer-2row-menu {
padding-left: 20px;
	}
.footer-contact-button {
margin-bottom: 10px;
	}
/* 会社概要の社長の写真 */
.migiwaki{width:140px;padding:0px 0px 10px 10px;float:right;text-align:left;}
.migiwaki img{width:100%;}
.migiwaki p{font-family:sans-serif;font-size:10px;color:#666;line-height:105%;font-weight:400;}
	
/* 沿革等の表示 */
.enkaku{
width:100%;
margin:0;
margin-bottom:20px;
padding:0;
box-sizing:border-box;
}

.enkaku dl{
text-align:left;
	width:100%;
	margin:10px 0px 5px 0px;
	padding:0;
	overflow:hidden;
	border:1px solid #ccc;
box-sizing:border-box;
clear:both;
}

.enkaku dt{
	width:100%;
	text-align:left;
	float:none;
	padding:10px;
margin:0;
	font-family:"ヒラギノ角ゴ Pro W3", "Hiragino Kaku Gothic Pro", "メイリオ", Meiryo, Osaka, "ＭＳ Ｐゴシック", "MS PGothic", sans-serif;
	font-size:14px;
	font-weight:500;
	color:#000;
line-height:160%;
border-bottom:1px dotted #ccc;
box-sizing:border-box;
}
.enkaku dd{
	text-align:left;
	padding:10px;
margin:0;
	font-family:"ヒラギノ角ゴ Pro W3", "Hiragino Kaku Gothic Pro", "メイリオ", Meiryo, Osaka, "ＭＳ Ｐゴシック", "MS PGothic", sans-serif;
	font-size:14px;
	font-weight:500;
	color:#000;
line-height:160%;
float:none;
width:100%;
box-sizing:border-box;
}

	
	/*-- ここまで --*/
}

/*media Queries スマホサイズ（769px）以下で適応したいCSS - スマホのみ
---------------------------------------------------------------------------------------------------*/
@media print, screen and (max-width: 769px) {

/*===================
物件ページ（投稿ページ）
====================*/
/* 2カラム上段----------------------------------------------------*/
.b-box{width:100%;display:block;}
.b-hidari{width:100%;padding:0px 10px 10px 0px;box-sizing:border-box;}
.b-migi{width:100%;padding:0px 0px 10px 10px;box-sizing:border-box;}
/* 2カラム下段 ----------------------------------------------------*/
.b2-box{width:100%;display:block;}
.b2-hidari{width:100%;padding:0px 0px 10px 0px;box-sizing:border-box;}
.b2-migi{width:100%;padding:0px 0px 10px 0px;box-sizing:border-box;}
	/*-- ここまで --*/
}

/*=============
 * カテゴリー一覧カスタムページ 
 * ====================*/
.category .kanren {
display: flex;
flex-wrap: wrap;
align-items: flex-start;
}
.category .kanren dl {
    width: 23%;
    margin-right: 2%;
}
.category .kanren dl:nth-child(4n) {
margin-right: 0;
}
.category .kanren dt {
float: none;
width: 100%;
position: relative;
margin-bottom: 5px;
}
.category .kanren dt::before {
content: "";
    display: block;
    padding-top: 90%;
}
.category .kanren .thumbnail_inner {
position: absolute;
top: 0;
left: 0;
width: 100%;
height: 100%;
overflow: hidden;
}
.category .kanren dt img {
width: 100%;
height: auto;
object-fit: cover;
}
.category .kanren dd {
padding-left: 0;
}
.category .kanren .kanren_icon img {
height: auto;
max-width: 70px;
}
.category .kanren .st_description {
font-size: 12px;
line-height: 150%;
}

/* タブレット */
@media only screen and (min-width: 600px) and (max-width: 959px) {
    .category .kanren dl {
        width: 32%;
        margin-right: 2%;
    }
    .category .kanren dl:nth-child(3n) {
        margin-right: 0;
    }
}

/* スマホ */
@media print, screen and (max-width: 599px) {
    .category .kanren dl {
        width: 48%;
        margin-right: 4%;
    }
    .category .kanren dl:nth-child(2n) {
        margin-right: 0;
    }
}

/*-- カテゴリ一覧カスタムここまで --*/