@charset "UTF-8";
/* =========================================================
   ハウジングプラザ トップページ 追加分
   ---------------------------------------------------------
   ・top_m_r 内 3段2列グリッド
   ・新規バナー（ご入居中のお問い合わせ／退去のご連絡）
   ・こだわり条件グリッド（旧 .like の置き換え）

   style_index9.css / wok3.css には一切手を加えていません。
   本ファイルは style_index9.css の「後」に読み込んでください。
   ========================================================= */

/* ---------- top_m_r 内 3段2列グリッド ---------- */

.top_r_grid {
	width: 95%;
	max-width: 1950px;
	margin: 0 auto;
	margin-top: 1em;
	display: grid;
	grid-template-columns: repeat(2, 1fr);
	column-gap: 3%;
	row-gap: 0.8em;
	align-items: stretch;
	/* 3段すべてを同じ高さに揃える（全画面幅で適用） */
	grid-auto-rows: 1fr;
}
.top_r_cell {
	display: block;
	min-width: 0;
}
.top_r_cell a {
	display: block;
	line-height: 0;
}
.top_r_cell img {
	width: 100%;
	height: auto;
	vertical-align: bottom;
}

/* ---------- 新規バナー（ご入居中のお問い合わせ／退去のご連絡） ---------- */
/* 画像バナーへ差し替える場合は <a class="tr_bn ..."> の中身を
   <img> に置き換えるだけで済む構造にしています。 */

.tr_bn {
	display: -webkit-box;
	display: -ms-flexbox;
	display: flex;
	-webkit-box-orient: vertical;
	-webkit-box-direction: normal;
	-ms-flex-direction: column;
	flex-direction: column;
	-webkit-box-align: center;
	-ms-flex-align: center;
	align-items: center;
	-webkit-box-pack: center;
	-ms-flex-pack: center;
	justify-content: center;
	width: 100%;
	height: 100%;
	box-sizing: border-box;
	padding: 0.9em 0.7em;
	border-radius: 6px;
	color: #FFFFFF;
	text-align: center;
	text-decoration: none;
	line-height: 1.45em;
	font-size: 0.85em;
	box-shadow: none;
	-webkit-transition: box-shadow .2s ease, -webkit-filter .2s ease;
	transition: box-shadow .2s ease, filter .2s ease;
}
.tr_bn:hover {
	color: #FFFFFF;
	-webkit-filter: brightness(1.09);
	filter: brightness(1.09);
	box-shadow: 0 3px 9px rgba(0,0,0,0.28);
}
.tr_bn_ico {
	-webkit-box-flex: 0;
	-ms-flex: 0 0 auto;
	flex: 0 0 auto;
	display: -webkit-box;
	display: -ms-flexbox;
	display: flex;
	-webkit-box-align: center;
	-ms-flex-align: center;
	align-items: center;
	-webkit-box-pack: center;
	-ms-flex-pack: center;
	justify-content: center;
	width: 2.5em;
	height: 2.5em;
	margin-bottom: 0.5em;
	border-radius: 50%;
	background-color: rgba(255,255,255,0.17);
	font-size: 1.15em;
	line-height: 1;
}
/* アイコンごとの字形差を吸収 */
.tr_bn_ico .fa-instagram { font-size: 1.12em; }
.tr_bn_ico .fa-comment   { font-size: 0.95em; }
.tr_bn_ico .fa-building  { font-size: 0.95em; }
.tr_bn_txt {
	display: block;
	min-width: 0;
}
.tr_bn_ttl {
	display: block;
	font-size: 1.12em;
	font-weight: bold;
	letter-spacing: 0.02em;
}
.tr_bn_sub {
	display: block;
	margin-top: 0.35em;
	font-size: 0.82em;
	font-weight: normal;
	line-height: 1.5em;
	opacity: 0.85;
}
.tr_bn_ar {
	display: none;
}

/* 配色（サイト既存のダークレッド／チャコール系に合わせています） */
.tr_bn_tenant {
	background-color: #8B0F12;
	background-image: -webkit-linear-gradient(315deg, #9E1114 0%, #5E0002 100%);
	background-image: linear-gradient(135deg, #9E1114 0%, #5E0002 100%);
}
.tr_bn_moveout {
	background-color: #3B4650;
	background-image: -webkit-linear-gradient(315deg, #4C5A66 0%, #252C33 100%);
	background-image: linear-gradient(135deg, #4C5A66 0%, #252C33 100%);
}
.tr_bn_line {
	background-color: #05A44A;
	background-image: -webkit-linear-gradient(315deg, #0BBE5B 0%, #037A37 100%);
	background-image: linear-gradient(135deg, #0BBE5B 0%, #037A37 100%);
}
.tr_bn_insta {
	background-color: #C13584;
	background-image: -webkit-linear-gradient(315deg, #F0791E 0%, #D42A6E 45%, #8134AF 75%, #4F5BD5 100%);
	background-image: linear-gradient(135deg, #F0791E 0%, #D42A6E 45%, #8134AF 75%, #4F5BD5 100%);
}
.tr_bn_movie {
	background-color: #D9670A;
	background-image: -webkit-linear-gradient(315deg, #F2871C 0%, #B94F07 100%);
	background-image: linear-gradient(135deg, #F2871C 0%, #B94F07 100%);
}
.tr_bn_sha {
	background-color: #4A0F0D;
	background-image: -webkit-linear-gradient(315deg, #6B1512 0%, #2E0201 100%);
	background-image: linear-gradient(135deg, #6B1512 0%, #2E0201 100%);
}

/* ---------- こだわり条件バナー（旧 .like の置き換え） ---------- */

.like2_wp {
	clear: both;
	width: 95%;
	max-width: 1480px;
	margin: 0 auto;
	margin-bottom: 0.5em;
	/* clear:both を使っているため margin-top は clearance に吸収される。
	   上の余白は padding-top で確保すること */
	padding-top: 1.5em;
}
.like2 {
	display: grid;
	grid-template-columns: repeat(2, 1fr);
	gap: 8px;
	font-size: 0.8em;
	font-weight: bold;
	line-height: 1.5em;
}
.like2_in {
	display: -webkit-box;
	display: -ms-flexbox;
	display: flex;
	-webkit-box-orient: vertical;
	-webkit-box-direction: normal;
	-ms-flex-direction: column;
	flex-direction: column;
	-webkit-box-align: center;
	-ms-flex-align: center;
	align-items: center;
	-webkit-box-pack: center;
	-ms-flex-pack: center;
	justify-content: center;
	box-sizing: border-box;
	min-height: 4.2em;
	padding: 0.8em 0.4em;
	background-color: #FFFFFF;
	border: 1px solid #DCDCDC;
	border-radius: 5px;
	color: #121212;
	text-align: center;
	text-decoration: none;
	-webkit-transition: background-color .2s ease, border-color .2s ease;
	transition: background-color .2s ease, border-color .2s ease;
}
.like2_in span {
	display: block;
}
.like2_in:hover {
	background-color: #FFE6E6;
	border-color: #E7B9B9;
	color: #121212;
}

/* ---------- 480px以上：新規バナーを横並び（アイコン左）に ---------- */
@media only screen and (min-width : 480px ){
.tr_bn {
	-webkit-box-orient: horizontal;
	-webkit-box-direction: normal;
	-ms-flex-direction: row;
	flex-direction: row;
	text-align: left;
	padding: 1em;
}
.tr_bn_ico {
	margin-bottom: 0;
	margin-right: 0.75em;
}
.tr_bn_txt {
	-webkit-box-flex: 1;
	-ms-flex: 1 1 auto;
	flex: 1 1 auto;
}
.tr_bn_ar {
	-webkit-box-flex: 0;
	-ms-flex: 0 0 auto;
	flex: 0 0 auto;
	display: block;
	width: 7px;
	height: 7px;
	margin-left: 0.6em;
	border-top: 2px solid rgba(255,255,255,0.8);
	border-right: 2px solid rgba(255,255,255,0.8);
	-webkit-transform: rotate(45deg);
	transform: rotate(45deg);
}
}

/* ---------- 768px以上：SNSも2列／こだわり条件は4列（現状どおり） ---------- */
@media only screen and (min-width : 768px ){
.tr_bn {
	font-size: 0.92em;
}
.like2 {
	grid-template-columns: repeat(4, 1fr);
	gap: 9px;
}
.like2_in {
	min-height: 4.6em;
}
}

/* ---------- 1240px以上：左右2カラム。こだわり条件は6列2行 ---------- */
@media only screen and (min-width : 1240px ){
.top_r_grid {
	width: 100%;
	margin-top: 0;
	column-gap: 2.5%;
	row-gap: 0.9em;
	/* ↓ 左のスライダーと高さを合わせる調整値。
	   3段を均等割りするので、1段あたり5px変えたい場合は15px単位で増減 */
	min-height: 375px;
}
.tr_bn {
	font-size: 1em;
	padding: 1.1em 1em;
}
.like2_wp {
	padding-top: 2em;
	padding-bottom: 1em;
}
.like2 {
	grid-template-columns: repeat(6, 1fr);
	gap: 10px;
	font-size: 0.85em;
}
.like2_in {
	min-height: 5em;
	padding: 0.9em 0.5em;
}
}

/* ---------- 1480px以上 ---------- */
@media only screen and (min-width : 1480px ){
.like2 {
	font-size: 0.9em;
}
.like2_in {
	min-height: 5.4em;
}
}

/* ---------- 1500px以上：バナーの縦幅を通常の高さに戻す ---------- */
@media only screen and (min-width : 1500px ){
.top_r_grid {
	min-height: 405px;
}
}
