/*
Theme Name: AFFINGER Child best lead
Template: affinger
Description: AFFINGER6 対応
Version: 20210719
*/

/* checkbox カスタマイズ */
input[type="checkbox"] {
  display: none;
}
input[type="checkbox"] + label {
  position: relative;
  display: block;
  padding: 4px 0 4px 25px !important;
  vertical-align: middle;
  cursor: pointer;
}
input[type="checkbox"] + label:before {
  display: block;
  position: absolute;
  top: 20px;
  left: 7px;
  margin-top: -9px;
  width: 4px;
  height: 8px;
  border-right: 3px solid #fff;
  border-bottom: 3px solid #fff;
  content: "";
  -webkit-transform: rotate(45deg);
  -ms-transform: rotate(45deg);
  transform: rotate(45deg);
  z-index: 1;
}
input[type="checkbox"] + label:after {
  display: block;
  position: absolute;
  top: 19px;
  left: 0;
  margin-top: -12px;
  width: 16px;
  height: 16px;
  border: 2px solid #e6e6e6;
  border-radius: 3px;
  content: "";
}
input[type="checkbox"]:checked + label:after {
  background-color: rgb(56, 128, 255);
}
.ad select {
  width: 43%;
  height: 2.8em;
  padding: 5px;
  border: 1px solid #ccc;
  border-radius: 3px;
  font-size: 12px;
  background-size: 7px auto;
  cursor: pointer;
}

/* search&filiter段数切り替え用css */
.searchandfilter h4 {
	margin: 0 !important;
}
.searchandfilter ul li ul li {
  border: none;
}
.searchandfilter ul .sf-field-submit {
  width: 100% !important;
  text-align: center;
}
.searchandfilter ul .sf-field-submit input {
  max-width: 500px;
  width: 100%;
  background: #3880ff;
  -webkit-border-radius: 2px !important;
  -webkit-appearance: none;
  height: 45px;
  line-height: 1;
  color: #fff;
  cursor: pointer;
  padding: 10px !important;
  box-sizing: border-box;
  transition: 0.5s;
  margin-top: 10px !important;
	border: none;
}
.searchandfilter > ul > li {
	position: relative;
	padding: 10px 0 !important;
	border-bottom: 1px solid #ddd;
}
.searchandfilter > ul > li:last-of-type {
	border: none;
}
.searchandfilter ul li ul li::after,
.searchandfilter ul li:nth-last-child(2)::after,
.searchandfilter .sf-field-submit::after {
  content: normal;
}
.searchandfilter .sf-field-submit input:hover {
  opacity: 0.7;
  transition: 0.5s;
}
.choice_threeRows {
	margin-bottom: 50px;
}
.choice_twoRows .searchandfilter ul li ul,
.choice_threeRows .searchandfilter ul li ul,
.choice_fourRowsPC_threeRowsSP ul li ul,
.item_twoRows .searchandfilter > ul,
.item_threeRows .searchandfilter > ul {
  display: flex;
  flex-wrap: wrap;
}
.item_twoRows .searchandfilter ul li ul li,
.item_threeRows .searchandfilter ul li ul li {
  width: 100%;
}
.choice_twoRows .searchandfilter ul li ul li,
.item_twoRows .searchandfilter ul li {
  width: 50%;
}
.choice_threeRows .searchandfilter ul li ul li,
.item_threeRows .searchandfilter ul li {
  width: 50%;
}
.choice_fourRowsPC_threeRowsSP ul li ul li {
  width: 25%;
}
@media screen and (max-width: 480px) {
  .choice_fourRowsPC_threeRowsSP ul li ul li {
    width: 33.33%;
  }
}
.searchandfilter select.sf-input-select {
  min-width: 140px !important;
	border: 1px solid #ccc;
	border-radius: 3px;
	-webkit-appearance: none;
	-moz-appearance: none;
	appearance: none;
	padding: 7px 10px;
}
.searchandfilter label:has(select.sf-input-select) {
	position: relative;
}
.searchandfilter label:has(select.sf-input-select):after {
  	content: "";
    position: absolute;
    right: 20px;
    top: 19px;
    width: 4px;
    height: 4px;
    border-top: 2px solid #bbb;
    border-left: 2px solid #bbb;
    transform: translateY(-50%) rotate(-135deg);
	font-size: 20px;
	pointer-events: none;
}
.searchandfilter label {
  margin-bottom: 10px;
	padding-right: 10px;
}
/* search&filiter　検索結果　clearfix　css　打ち消し等 */
.h3modoki,
.post
  h3:not(.st-css-no):not(.st-matome):not(.rankh3):not(.post-card-title):not(#reply-title) {
  background: none !important;
}
.h3modoki::before,
.post
  h3:not(.st-css-no):not(.st-matome):not(.rankh3):not(.post-card-title):not(#reply-title)::before {
  content: none !important;
}
.clearfix .st-excerpt .smanone {
  padding-left: 10px;
  padding-right: 10px;
}
#st-page .clearfix dd p {
  font-size: 16px !important;
}
.clearfix .search-words {
  border-bottom: 3px solid #039be5;
  color: initial;
  padding-bottom: .5em;
}
.search-words dl {
	display: flex;
	align-items: flex-start;
	margin-bottom: 0.5em;
}
.search-words .result-item {
    border: 1px solid #4a4a4a;
    border-radius: 6px;
    padding: 0.3em 1em;
    margin-right: 1em;
	flex-basis: 4em;
	line-height: 1;
	text-align: center;
}
.search-words .result-text {
	flex: 1;
}
.search-no-result {
	text-align: center;
	margin-top: 2em;
}

/* お問い合わせ欄 */
.contact-area {
	padding: 20px;
	text-align: center;
}
.simplefavorite-button {
	margin: 0 auto 30px;
}

/* 物件情報 */
.buk-info__table {
	width: 100%;
	border-collapse: collapse;
	border-color: #dcdcdc !important;
	margin: 20px auto;
}
.buk-info-head {
	width: 20%;
	background-color: #bbe2f1;
	border-color: #d4d4d4 ;
	vertical-align: middle;
	color: #333;
	font-weight: bold;
	box-sizing: border-box;
}
.buk-info-data {
	width: 30%;
	border-color: #dcdcdc;
	box-sizing: border-box;
}

/* サムネイルスライダー */
.buk-gallery {
	margin: 3vw auto;
  }
  .buk-gallery-slider {
	max-width: 500px;
	margin: 0 auto !important;
	padding: 0 !important;
	list-style: none !important;
  }
	.buk-gallery-slider .slick-prev {
	  left: -40px;
	}
	.buk-gallery-slider .slick-next {
	  right: -40px;
	}
	.buk-gallery-slider .slick-track {
	  display: -webkit-box;
	  display: -ms-flexbox;
	  display: flex;
	  -webkit-box-pack: center;
	      -ms-flex-pack: center;
	          justify-content: center;
	  -webkit-box-align: center;
	      -ms-flex-align: center;
	          align-items: center;
	}
	.buk-slider-item {
	  margin: 0;
	}
	.buk-slider-item > img {
	  margin: 0 auto;
	}
  .buk-gallery-thumb {
	max-width: 500px;
	margin: 0 auto;
	padding: 10px 0 !important;
	display: -webkit-box;
	display: -ms-flexbox;
	display: flex;
	-ms-flex-wrap: wrap;
	    flex-wrap: wrap;
	-webkit-box-pack: center;
	    -ms-flex-pack: center;
	        justify-content: center;
	-webkit-box-align: center;
	    -ms-flex-align: center;
	        align-items: center;
  }
	.buk-gallery-thumb .slick-track {
	  -webkit-transform: unset !important;
	      -ms-transform: unset !important;
	          transform: unset !important;
	  max-width: 500px;
	  display: -webkit-box;
	  display: -ms-flexbox;
	  display: flex;
	  -webkit-box-align: center;
	      -ms-flex-align: center;
	          align-items: center;
	}
	.buk-thumb-item {
	  margin: 0 5px;
	}
	.buk-thumb-item:hover {
	  opacity: .8;
	  cursor: pointer;
	}
/* 物件一覧追加 */
.kanren a {
	text-decoration: none;
}
.post h5,
.kanren h3 {
	font-weight: bold;
	margin-bottom: 5px;
	font-size: 15px;
}
.kanren .archive-buk-info-list {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
}
.kanren .archive-buk-info-item {
	border: none !important;
	padding: 0 !important;
	margin: .2em 0 !important;
}
	.kanren .archive-buk-info-name {
		background-color: #ffb74d;
		color: #fff;
		display: inline-block;
		width: 90px;
		text-align: center;
		font-size: .92em;
		margin-right: .8em;
		border-radius: 20px;
		float: none;
		padding: .2em;
		letter-spacing: .05em;
	}
	.kanren .archive-buk-info-text {
		font-size: 16px !important;
		color: #b22222;
		font-weight: bold;
		padding: 0;
		display: inline-block;
		margin-right: 1em;
		width: 100px;
	}
.kanren .archive-address-list {
	display: flex;
	flex-direction: column;
	color: #000;
	margin-top: 1em;
	border: none;
	padding: 0;
}
	.kanren .archive-address-name {
		float: none;
		width: auto;
		background-color: #708090;
		color: #fff;
		font-weight: bold;
		padding: .5em 1em;
	}
	.kanren .archive-address-text {
		padding: 0;
		border-color: #dcdcdc;
		border-width: 0 1px 1px 1px;
		border-style: solid;
		padding: .5em 1em;
	}
.kanren dt:hover {
	opacity: 1;
}



/*media Queries スマートフォンとタブレットサイズ（959px以下）で適応したいCSS - スマホ・タブレット
---------------------------------------------------------------------------------------------------*/
@media only screen and (max-width: 959px) {


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


	/*-- ここまで --*/
}	
	
/*media Queries タブレット（600px）以上で適応したいCSS -タブレット・PC
---------------------------------------------------------------------------------------------------*/
@media only screen and (min-width: 600px) {


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

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


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

/*media Queries スマホサイズ（599px）以下で適応したいCSS - スマホのみ
---------------------------------------------------------------------------------------------------*/
@media print, screen and (max-width: 599px) {
	.buk-info-head,
	.buk-info-data {
		display: block;
		width: 100%;
		text-align: center;
	}
	.buk-gallery-slider .slick-prev {
		left: 0;
	}
	.buk-gallery-slider .slick-next {
		right: 0;
	}
	.kanren .archive-buk-info-list {
		-webkit-box-orient: vertical;
		-webkit-box-direction: normal;
			-ms-flex-direction: column;
				flex-direction: column;
	}
	.kanren .archive-buk-info-text {
		margin-right: 0;
	}

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