@charset "utf-8";

/*
 * Fudo style css for unpc theme
 * Version: 6.8.0
*/


/* =共通レイアウト レスポンシブ
-------------------------------------------------------------- */


/* two-column */

.two-column header {
/*	max-width: 1200px; */
	width: 100%;
}

.two-column #main {
	max-width: 1210px;
	width: 100%;
	padding: 83px 5px 0 5px;
	box-sizing: border-box;
}

.two-column #colophon {
/*	max-width: 1200px; */
	width: 100%;
}

.two-column #secondary {
	width: 100%;
}

.two-column #container {
	width: 100%;
}


/* three-column */

.three-column header {
/*	max-width: 1200px; */
	width: 100%;
}

.three-column #main {
	max-width: 1210px;
	width: 100%;
	padding: 83px 5px 0 5px;
	box-sizing: border-box;
}

.three-column #colophon {
/*	max-width: 1200px; */
	width: 100%;
}

.three-column #container {
	width: 100%;
	margin: 0;
}

.three-column #secondary {
	width: 100%;
	margin: 0 20px 0 0;
}

.three-column #tertiary {
	width: 100%;
	margin: 0;
}

.two-column #tertiary .widget,
.two-column #secondary .widget,
.three-column #secondary .widget,
.three-column #tertiary .widget {
	width: calc(100% - 20px);
}


/* gmap row-sidebar */

.gmap-page #primary {
	clear: both;
	width: 100%;
}


/* footer widget area (<480) */

#footer-widget-area .widget-area {
	float: none;
	width: 100%;
	margin: 0;
}


/* full-width-page用
-------------------------------------------------------------- */


.single-fudo.fudou_pro.three-column .entry-content > *,
.fudo-template-single-full-fudo.three-column .entry-content > *,

.page-template-full-width-page.three-column .entry-content > *,
.post-template-full-width-page.three-column .entry-content > *{
	margin-right:auto !important;
	margin-left: auto !important;
	max-width: 650px;
}


.single-fudo.fudou_pro.two-column .entry-content > *,
.fudo-template-single-full-fudo.two-column .entry-content > *,
.page-template-full-width-page.two-column .entry-content > *,
.post-template-full-width-page.two-column .entry-content > *{
	margin-right:auto !important;
	margin-left: auto !important;
	max-width: 840px;
}


/* full-width-page用 alignfull */
.single-fudo.fudou_pro .entry-content > *.alignfull,
.fudo-template-single-full-fudo .entry-content > *.alignfull,

.page-template-full-width-page .entry-content > *.alignfull,
.post-template-full-width-page .entry-content > *.alignfull {
	margin-right: calc(50% - 50vw + 10px) !important;
	margin-left: calc(50% - 50vw + 10px) !important;
	width: calc(100vw - 20px) !important;
	max-width: none;
}


/* full-width-page用 alignwide */
.single-fudo.fudou_pro .entry-content > *.alignwide,
.fudo-template-single-full-fudo .entry-content > *.alignwide,

.page-template-full-width-page .entry-content > *.alignwide ,
.post-template-full-width-page .entry-content > *.alignwide {
	margin-right: 0 !important;
	margin-left: 0 !important;
	width: 100% !important;
	max-width: 1200px;
}




/* トップ物件表示 */

#content ul.grid-content {
	width: 100%;
	padding: 0;
}


/* single-fudo */

#main #content #list_simplepage2 .list_picsam {
	float: none;
	width: 100%;
	margin: 0 0 40px;
	text-align: center;
}

#main #content #list_simplepage2 .list_picsam:after {
	content: '';
	display: block;
	clear: both;
	height: 0;
}

#main #content #list_simplepage2 .list_picsam .other_img_content img {
	width: calc(25% - 10px);
	height: auto;
	margin: 5px;
	vertical-align: middle;
}


.two-column #main #container #content #list_simplepage2 .list_simple_box .list_detail {
	float: none;
	width: 100%;
}


/* archive-fudo */

#main #content .list_picsam {
	width: 110px;
}

#list_simplepage .list_detail {
	width: calc(100% - 120px);
}



/* 画像 */
.two-column #content .grid-content img,
.three-column #content .grid-content img {
	width: 100%;
	height: auto;
	margin: 0 0 5px;

	aspect-ratio: 1;
	object-fit: cover;
}

.fudo_kaiin_type_logo img {
	aspect-ratio: auto !important;
	object-fit: initial !important;
}

/* in-map */
/* three-column */
.three-column.gmap-page #primary {
	float: none;
}

.three-column.gmap-page #container {
	float: none;
	margin: 0;
	width: 100%;
}


/* for fudou_block */
.widget_block .fudou_block{
	margin: 0 !important;
	padding: 0 !important;
	border: 0 !important;
	width: 100% !important;
}

.widget_block .fudou_block h2{
	font-size: 1.2rem;
	border-left: 3px solid #666;
	margin: 0 0 10px;
	padding-left: 8px;
}


/**
 * 14.1 - >= 580px 以下
 */

@media screen and (max-width: 580px) {
	/* タイトルとヘッダ画像を重ねる 解除 */
	hgroup.has_header_image {
		position: inherit;
	}
}

/**
 * 14.1 - >= 580px 以下
 */

@media screen and (max-width: 580px) {

	#list_simplepage .list_picsam,
	#list_simplepage .list_detail{
		width: 100% !important;
	}

	#list_simplepage .list_picsam img{
		max-width: 150px !important;
		width: 100% !important;
		height: auto !important;
	}

	#main #content #list_simplepage2 .list_picsam .other_img_content img {
		width: calc(50% - 10px);
		height: auto;
		margin: 5px;
		vertical-align: middle;
	}


	/* Pro */
	.post_bukken_box .grid-content1 li,
	.post_bukken_box .grid-content2 li,
	.post_bukken_box .grid-content3 li,
	.post_bukken_box .grid-content li,
	#content .grid-content1 li,
	#content .grid-content2 li,
	#content .grid-content3 li,
	#content .grid-content li{
		max-width: 100% !important;
		width: 100% !important;
	}

	.two-column #secondary,
	.two-column #container,
	.three-column #container,
	.three-column #secondary,
	.three-column #tertiary {
		float: none;
	}

	.two-column #content .grid-content li,
	.three-column #content .grid-content li {
		margin: 0;
	}


	/* 物件詳細 表示 横 */
	.list_detail .widget_fudou_single_history li,
	#syousai_box ul.syousai-content li,
	/* トップ物件 表示 横 */
	#content .grid-content li {
		float: none !important;
		margin-bottom: 10px !important;
		padding: 10px !important;
		width: calc( 100% - 22px) !important;
		max-width: 100% !important;
	}
	/* after */
	.list_detail .widget_fudou_single_history li:after,
	#syousai_box ul.syousai-content li:after,
	#content .grid-content li:after {
		content: '';
		display: block;
		clear: both;
		height: 0;
	}

	/* トップスライダー 表示 幅 */
	.list_simple_box .widget_fudou_single_history .boxfudou_single_history,
	list_detail div.boxfudou_single_history,
	#syousai_box ul {
		width: 100%;
	}
	/* トップスライダー 表示 横 */
	.two-column #syousai_box ul.syousai-content .carousel li,
	.three-column #syousai_box ul.syousai-content .carousel li,
	.two-column #content .grid-content .carousel li,
	.three-column #content .grid-content .carousel li {
		margin: 0 10px 0 0 !important;
		width: 300px !important;
	}
	/* トップスライダー 表示 横 画像サイズ */
	.two-column #content .grid-content .carousel li .box1image,
	.three-column #content .grid-content .carousel li .box1image {
		float: left;
		height: auto;
		margin: 0 10px 0 0 !important;
		width: 100px !important;
		max-width: 100% !important;
	}

	/* 物件詳細 画像サイズ */
	.list_detail .widget_fudou_single_history li .box2image,
	#syousai_box ul.syousai-content li .box2image,
	.list_detail ul.cookie_fudou_single li .box1image,
	/* トップ物件 画像サイズ */
	#content .grid-content li .box1image {
		float: left;
		height: auto;
		margin: 0 10px 0 0 !important;
		width: 100px !important;
		max-width: 100% !important;
	}

	/* 物件詳細 */
	#list_other_table {
		overflow-x: auto;
		-webkit-overflow-scrolling: touch;
		margin: 0 0 30px 0;
	}

	/* トップスライダー 物件詳細 */
	#syousai_box ul.syousai-content .carousel_inner li {
		float: left !important;
		margin: 0 9px 9px 0;
		padding: 7px;
		width: 120px;
	}
	#syousai_box ul.syousai-content .carousel_inner li .box2image {
		height: auto;
		margin: 0 0 5px;
		width: 120px !important;
	}

	/* トップスライダー サイドバー */
	#colophon .carousel_box li,
	#secondary .carousel_box li,
	#tertiary .carousel_box li {
		margin: 0 20px 0 0 !important;
		width: 290px !important;
	}



	/* Navi Menu Button */
	.main-navigation ul.nav-menu.toggled-on,
	.menu-toggle {
		display: inline-block;
	}
	.main-navigation ul.nav-menu,
	.main-navigation div.nav-menu>ul {
		display: none;
	}
	#site-navigation .menu-header li,
	.nav-menu li,
	div.menu li{
		position: unset;
	}
	#site-navigation ul ul{
		top: unset;
	}

	#site-navigation ul ul li{
		white-space: normal;
	}

	.nav_fixed{
		position: unset;
	}
}



/**
 * 14.1 - >= 580px 以下
 */

@media screen and (max-width: 580px) {
	/* タイトルとヘッダ画像を重ねる 解除 */
	hgroup.has_header_image {
		position: inherit;
	}
}


/**
 * 14.1 - >= 580px 以上
 */

@media screen and (min-width: 580px) {

	/* archive-fudo */
	#main #content .list_picsam {
		width: 216px;
	}
	#list_simplepage .list_detail {
		width: calc(100% - 240px);
	}

	/* 全 段落ち masonry */
	.two-column #secondary .widget,
	.three-column #secondary .widget,
	.three-column #tertiary .widget {
		float: left;
		clear: none;
		margin: 0 5px 10px 10px;
		width: calc(33% - 15px);
	}

	/* スライダー (220ox)*/
	#secondary .carousel_box li,
	#tertiary .carousel_box li {
		margin: 0 10px 0 0 !important;
		width: 195px;
	}

	/* footer widget area 2列*/
	#footer-widget-area .widget-area {
		float: left;
		box-sizing: border-box;
		width: calc( 50% - 20px);
		margin: 0 10px;
	}

	/* footer widget area 1列*/
	#footer-widget-area.widget-area-count1 .widget-area {
		float: left;
		box-sizing: border-box;
		width: 100%;
		margin: 0 50px 0 0;
	}

}


/**
 * 14.4 - >= 840px 以上
 */

@media screen and (min-width: 840px) {

	/* two-column */
	.two-column #secondary {
		width: 25%;
		max-width: 300px;
	}
	.two-column #container {
		width: 70%;
	}

	/* three-column */
	.three-column #container {
		width: calc(100% - 490px);
		float: left;
		margin: 0 250px 0 240px;
	}
	.three-column #secondary {
		float: left;
		width: 220px;
		margin: 0 0 0 -100%;
	}
	.three-column #tertiary {
		float: right;
		width: 220px;
		margin: 0 0 0 -220px;
	}

	/* gmap sidebar */
	.gmap-page #primary {
		clear: none;
		width: 25%;
		max-width: 300px;
	}

	/* スライダー (240ox)*/
	#secondary .carousel_box li,
	#tertiary .carousel_box li {
		width: 220px;
	}
	/* #tertiary段落ち */
	.three-column #container {
		float: right;
		margin: 0;
		width: calc(100% - 270px);
	}
	.three-column #secondary {
		float: left;
		margin: 0;
		width: 240px;
	}
	.three-column #tertiary {
		float: none;
		margin: 0;
		width: 100%;
		clear: both;
	}
	/* three-column #secondary 非段落ち */
	.three-column #secondary .widget {
		margin: 0 0 30px 0;
	/*	width: calc(100% - 27px); */
		width: 100%;

	}
	/* three-column #tertiary 段落ち masonry */
	.three-column #tertiary .widget {
		float: left;
		clear: none;
		margin: 0 5px 10px 10px;
		width: calc(33% - 15px);
	}
	/* two-column #secondary 非段落ち */
	.two-column #secondary .widget {
		float: none;
		clear: both;
		margin: 0 0 30px;
		box-sizing: border-box;
		padding: 10px;
		width: 100%;
	}

	/* footer widget area 4列*/
	#footer-widget-area .widget-area {
		float: left;
		box-sizing: border-box;
		width: calc(25% - 38px);
		margin: 0 50px 0 0;
	}

	/* footer widget area 3列*/
	#footer-widget-area.widget-area-count3 .widget-area {
		float: left;
		box-sizing: border-box;
		width: calc(33% - 31px);
		margin: 0 50px 0 0;
	}

	/* footer widget area 2列*/
	#footer-widget-area.widget-area-count2 .widget-area {
		float: left;
		box-sizing: border-box;
		width: calc(50% - 25px);
		margin: 0 50px 0 0;
	}

	/* footer widget area 1列*/
	#footer-widget-area.widget-area-count1 .widget-area {
		float: left;
		box-sizing: border-box;
		width: 100%;
		margin: 0 50px 0 0;
	}


	/* in-map */
	.three-column.gmap-page #primary {
		float: right;
		width: 25%;
		max-width: 300px;

	}
	.three-column.gmap-page #container {
		float: left;
		margin: 0;
		max-width: 840px;
		width: 70%;
	}
}


/**
 * 14.3 - >= 1024px 以上 2カラム
 */
@media screen and (min-width: 1024px) {
	/* two-column */
	.two-column #secondary {
		width: 25%;
		max-width: 300px;

	}
	.two-column #container {
		max-width: 840px;
	}
}

/**
 * 14.3 - >= 1080px 以上 3カラム
 */
@media screen and (min-width: 1080px) {

	/* three-column */
	.three-column #container {
		max-width: 650px;
		width: calc(100% - 550px);
		float: left;
		margin: 0 275px;
	}
	.three-column #secondary {
		width: 240px;
		margin: 0 0 0 -100%;
	}
	.three-column #tertiary {
		float: right;
		width: 240px;
		margin: 0 0 0 -240px;
		clear: none;
	}
	.three-column #tertiary .widget {
		float: none;
		clear: both;
		margin: 0 0 30px;
		padding: 10px;
	/*	width: calc( 100% - 22px ); */
		width: 100%;
	}
}

/* */