@charset "UTF-8";
/* 旭町ビル 詳細ページ用 (#asahi_detail 配下のみに作用)
   style.css に合わせて px 指定・ブレークポイント 640px */

#asahi_detail {
	box-sizing: border-box;
	margin: 0 auto;
	width: 1000px;
	color: #000;
}
#asahi_detail * { box-sizing: border-box; }

/* 建物情報 */
#asahi_detail .building {
	display: flex;
	gap: 40px;
	align-items: flex-start;
}
#asahi_detail .building_image {
	flex: 0 0 calc(50% - 20px);
	margin: 0;
}
#asahi_detail .building_image img {
	display: block;
	width: 100%;
	height: auto;
}
#asahi_detail .building_info { flex: 1; min-width: 0; }
/* 住所・竣工・階数・アクセスは、それぞれ上線つきの独立した行 */
#asahi_detail .building_info p,
#asahi_detail .building_spec li {
	margin: 0;
	padding: 14px 0;
	border-top: 1px solid #ddd;
	font-size: 16px;
	line-height: 1.6;
}
#asahi_detail .building_spec {
	list-style: none;
	margin: 0;
	padding: 0;
}

/* PC: タイトル帯の高さを半分に */
@media (min-width: 641px) {
	/* 情報欄の先頭(住所)の上線を消して、写真の上端と揃える */
	#asahi_detail .building_info > p:first-child { border-top: 0; padding-top: 0; }

	#page_title_contact #page_title_content { height: 125px; }
	#page_title_contact #page_title_text { top: 25px; }
}

/* 空室テーブル */
#asahi_detail .room_table {
	width: 100%;
	margin-top: 40px;
	border-collapse: collapse;
	text-align: center;
}
#asahi_detail .room_table thead th {
	padding: 16px 8px;
	background: #f1f1f1;
	font-weight: normal;
	font-size: 16px;
	line-height: 1.6;
}
#asahi_detail .room_table tbody td {
	padding: 22px 8px;
	border-bottom: 1px solid #ddd;
	font-size: 16px;
	line-height: 1.6;
	vertical-align: middle;
}
#asahi_detail .room_table .area strong,
#asahi_detail .room_table .rent strong {
	display: block;
	font-size: 24px;
	line-height: 1.3;
}
#asahi_detail .room_table .rent strong { color: #e8553d; }
#asahi_detail .room_table .deposit strong {
	display: block;
	font-size: 18px;
	line-height: 1.3;
}
#asahi_detail .room_table small {
	display: block;
	font-size: 14px;
	color: #555;
}

/* お問い合わせ */
#asahi_detail .room_contact {
	margin: 30px 0 0;
	font-size: 18px;
	line-height: 1.8;
}
#asahi_detail .room_contact span { display: inline-block; margin-right: 1.5em; }
#asahi_detail .room_contact a { color: inherit; }

/* スマホ */
@media (max-width: 640px) {
	#asahi_detail { width: 90%; margin-top: 30px; }

	#asahi_detail .building { display: block; }
	#asahi_detail .building_image { margin-bottom: 18px; }
	#asahi_detail .building_info p,
	#asahi_detail .building_spec li { padding: 10px 0; font-size: 15px; }

	/* テーブルをカード表示に */
	#asahi_detail .room_table,
	#asahi_detail .room_table tbody,
	#asahi_detail .room_table tr,
	#asahi_detail .room_table td { display: block; width: 100%; }
	#asahi_detail .room_table { margin-top: 24px; }
	#asahi_detail .room_table thead { display: none; }
	#asahi_detail .room_table tbody tr {
		margin-bottom: 16px;
		border: 1px solid #ddd;
		border-radius: 6px;
		overflow: hidden;
	}
	#asahi_detail .room_table tbody td {
		display: flex;
		justify-content: space-between;
		align-items: center;
		gap: 12px;
		padding: 12px 14px;
		text-align: right;
		font-size: 15px;
	}
	#asahi_detail .room_table tbody td:last-child { border-bottom: 0; }
	#asahi_detail .room_table tbody td::before {
		content: attr(data-label);
		flex: 0 0 auto;
		font-size: 14px;
		color: #666;
		text-align: left;
	}
	#asahi_detail .room_table .floor {
		background: #f1f1f1;
		font-weight: bold;
		font-size: 18px;
	}
	#asahi_detail .room_table .area strong,
	#asahi_detail .room_table .rent strong { font-size: 20px; }
	#asahi_detail .room_table .deposit strong { font-size: 17px; }

	#asahi_detail .room_contact { font-size: 16px; }
	#asahi_detail .room_contact span { display: block; margin-right: 0; }
}
