@charset "UTF-8";

h4 {
	font-size: 16px;
}

section.apart-info,
section.apart-search,
section.apart-search-results,
section.apart-select,
section.apart-request,
section.apart-rpic,
section.apart-dital {
	background: linear-gradient(
		180deg,
		#5886c2 0%,
		#5886c2 30px,
		#e8f0f3 30px,
		#e8f0f3 100%
	);
	border-top: 5px solid #121212;
	padding: 40px 0 80px;
}
.container {
	width: 730px;
	margin: 0 auto;
}
@media only screen and (max-width: 499px) {
	h4 {
		font-size: 14px;
	}
	.container {
		width: 100%;
		padding: 0 20px;
	}
	section.apart-info,
	section.apart-search,
	section.apart-search-results,
	section.apart-select,
	section.apart-request,
	section.apart-rpic,
	section.apart-dital {
		padding: 40px 0 60px;
	}
}
.menu ul li:nth-child(4) {
	border-radius: 50px;
	background: #fff3c7;
}
.menu ul li:nth-child(4) a i {
	display: block;
}
.apart-info p,
.apart-search p {
	text-align: center;
}
.apart-info p span,
.apart-search p span {
	border-bottom: 2px solid #121212;
	padding: 5px 10px;
}
.apart-info textarea,
.apart-search textarea {
	resize: none;
	width: 100%;
	margin-top: 20px;
}

/*--------------------------------
　ボタン(カラフル)
---------------------------------*/
.apart-info a,
.apart-search input[type="submit"] {
	width: 400px;
	height: 64px;
	line-height: 56px;
	font-size: 15px;
	font-weight: bold;
	color: #fff;
	text-align: center;
	background: #5886c2;
	border: 3px solid #5886c2;
	border-radius: 50px;
	cursor: pointer;
	display: block;
	margin: 20px auto 50px;
	transition: all 0.3s ease;
}
.apart-info a:hover,
.apart-search input[type="submit"]:hover {
	color: #5886c2;
	background: #fff;
}
@media only screen and (max-width: 499px) {
	.apart-info a,
	.apart-search input[type="submit"] {
		width: 100%;
		height: 50px;
		line-height: 45px;
	}
}

/*--------------------------------
　ボタン(白黒)
---------------------------------*/
.apart-msg input[type="submit"],
.apart-msg input[type="button"],
.apart-msg button,
.apart-search a,
.apart-select input[type="submit"],
.apart-select input[type="button"],
.apart-request input[type="submit"],
.apart-request button,
.apart-request input[type="button"],
.apart-rpic input[type="button"],
.apart-dital input[type="button"] {
	color: #121212;
	font-weight: 700;
	line-height: 25px;
	letter-spacing: 1px;
	background: #ffffff;
	border: 1px solid #121212;
	padding: 5px 15px;
	transition: all 0.3s ease;
}
.apart-msg input[type="submit"]:hover,
.apart-msg input[type="button"]:hover,
.apart-msg button:hover,
.apart-search a:hover,
.apart-select input[type="submit"]:hover,
.apart-select input[type="button"]:hover,
.apart-request input[type="submit"]:hover,
.apart-request button:hover,
.apart-request input[type="button"]:hover,
.apart-rpic input[type="button"]:hover,
.apart-dital input[type="button"]:hover {
	opacity: 0.5;
}
/* search */
.apart-search a {
	width: 200px;
	display: block;
	margin: 0 auto;
	text-align: center;
}

/* search-results */
.apart-search-results h3 input {
	font-size: 15px;
	text-align: center;
	border-radius: 5px;
	cursor: pointer;
	padding: 5px 15px;
	transition: all 0.3s ease;
	display: block;
}
.apart-search-results h3 input:first-child {
	color: #121212;
	background: #ffffff;
	border: 2px solid #121212;
}
.apart-search-results h3 input:first-child:hover {
	opacity: 0.5;
}
.apart-search-results h3 input:last-child {
	color: #ffffff;
	background: #ec5300;
	border: 2px solid #ec5300;
}
.apart-search-results h3 input:last-child:hover {
	color: #ec5300;
	background: #ffffff;
}
@media only screen and (max-width: 499px) {
	.apart-search-results h3 input {
		font-size: 12px;
	}
}

/* item */
.apart-item a,
.apart-item input[type="submit"] {
	width: 100%;
	text-align: center;
	border-radius: 5px;
	cursor: pointer;
	display: block;
	padding: 2px 5px;
	transition: all 0.3s ease;
}
.apart-item table:nth-child(1) tr td:nth-child(6) a:nth-child(1) {
	color: #ffffff;
	background: #00a53d;
	border: 2px solid #00a53d;
}
.apart-item table:nth-child(1) tr td:nth-child(6) a:nth-child(1):hover {
	color: #00a53d;
	background: #ffffff;
}
.apart-item table:nth-child(1) tr td:nth-child(6) a:nth-child(2) {
	color: #ffffff;
	background: #006ba5;
	border: 2px solid #006ba5;
}
.apart-item table:nth-child(1) tr td:nth-child(6) a:nth-child(2):hover {
	color: #006ba5;
	background: #ffffff;
}
.apart-item table:nth-child(2) tr input[type="submit"] {
	color: #ffffff;
	background: #ec5300;
	border: 2px solid #ec5300;
}
.apart-item table:nth-child(2) tr input[type="submit"]:hover {
	color: #ec5300;
	background: #ffffff;
}
.apart-item table:nth-child(2) tr td:nth-child(6) a {
	background: #fff3c7;
	border: 2px solid #121212;
}

/* request */
.apart-request input[type="submit"] {
	margin: 30px auto 0;
}

/*--------------------------------
　アパート（トップページ）
---------------------------------*/
.apart-info-text,
.apart-info p {
	text-align: center;
}
.apart-info-text {
	margin: 25px 0 30px;
}
.apart-info p span {
	border-bottom: 2px solid #121212;
	padding: 5px 10px;
}
.apart-info-tel {
	margin: 45px auto 30px;
	font-weight: 700;
	letter-spacing: 3px;
	text-align: center;
}
.apart-info-tel div.title {
	width: 250px;
	font-size: 16px;
	background: #e6c220;
	border-radius: 50px;
	padding: 5px 10px;
	margin: -25px auto 0;
}
.apart-info-tel div.number {
	width: 350px;
	font-size: 30px;
	background: #ffffff;
	padding: 5px 25px;
	margin: 0 auto;
	border: 2px solid #121212;
}
@media only screen and (max-width: 499px) {
	.apart-info-tel div.title {
		width: 200px;
		font-size: 15px;
		border: none;
	}
	.apart-info-tel div.number {
		width: 300px;
		font-size: 25px;
	}
}

/*--------------------------------
　アパート（検索画面）
---------------------------------*/
.apart-search-box {
	width: 100%;
	margin: 50px auto;
	/*background: #F9F7F3;*/
	background: #ffffff;
	border: 1px solid #cccccc;
	padding: 20px;
}
.apart-search h4 {
	margin: 0 auto 10px;
}
.apart-search ul {
	width: 100%;
	display: flex;
	justify-content: space-between;
	align-items: center;
	flex-wrap: wrap;
	gap: 10px;
}
.apart-search ul li,
.apart-search-item {
	font-size: 14px;
}
.apart-search ul li {
	width: 339px;
	border: 1px solid #cccccc;
	display: flex;
	justify-content: left;
	align-items: center;
	gap: 10px;
}
.apart-search ul li div,
.apart-search-item div {
	width: 160px;
	text-align: right;
	background: #deedf1;
	border-left: 5px solid #abd2dc;
	padding: 5px 15px;
}
.apart-search-item {
	width: 100%;
	border: 1px solid #cccccc;
	margin: 10px 0 30px;
	display: flex;
	justify-content: left;
	align-items: center;
	gap: 10px;
}
.apart-search select,
.apart-search input[type="text"] {
	background: #fafafa;
	border: 1px solid #cccccc;
}
.apart-search input[type="text"] {
	width: 73%;
}
.apart-search-memo {
	width: 100%;
	font-size: 11px;
	background: #ffffff;
	border: 1px solid #cccccc;
	padding: 20px 15px;
}
.apart-search input[type="submit"] {
	margin: 50px auto;
}
.apart-search-count {
	color: #f2f2f2;
}

.apart-search .highlight,
.apart-search :placeholder-shown {
	background: #fff3c7 !important;
	border: 1px solid #e6c220 !important;
}
input:-webkit-autofill {
	box-shadow: 0 0 0 1000px rgb(255, 243, 199) inset !important;
	border: 1px solid #e6c220 !important;
}

/* 部屋条件と設備条件のセクション */
.condition {
	position: relative;
}

/* オーバーレイのスタイル */
.condition-overlay {
	display: none;
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background-color: #deedf19a;
	z-index: 10;
}
.condition-overlay p {
	display: flex;
	justify-content: center;
	align-items: center;
	width: 100%;
	height: 100%;
}
.condition-overlay p span {
	margin: 0;
	padding: 0 15px;
	border: 1px solid #121212;
	background: #ffffff;
}
@media only screen and (max-width: 499px) {
	.apart-search-box {
		margin: 25px auto;
	}
	.apart-search ul,
	.apart-search-item,
	.apart-search ul li div,
	.apart-search-item div,
	.apart-search input[type="text"],
	.apart-search select {
		font-size: 11px;
	}
	.apart-search ul li,
	.apart-search-item {
		flex-wrap: wrap;
		justify-content: center;
		align-items: center;
		gap: 6px;
		padding: 0 0 7px;
	}
	.apart-search ul li {
		width: calc(50% - 5px);
	}
	.apart-search-item {
		width: 100%;
		padding: 0 0 5px;
		margin-bottom: 20px;
	}
	.apart-search ul li div,
	.apart-search-item div {
		width: 100%;
		text-align: center;
		padding: 0 2px;
		letter-spacing: 0;
	}
	.apart-search ul li:nth-child(4n + 3) div,
	.apart-search ul li:nth-child(4n + 4) div {
		background: #dae5f2;
	}
	.apart-search input[type="text"] {
		width: 95%;
	}
	.apart-search input[type="submit"] {
		margin: 30px auto;
	}
	.condition-overlay {
		padding: 0 20px;
	}
}

/* レオパレス21 */
.leopalace21 a {
	width: auto;
	border: none;
	background: none;
	padding: 0;
	margin-bottom: 50px;
	display: inli;
}
.leopalace21 img {
	width: 350px;
	border: 2px solid #0b4792;
}
@media only screen and (max-width: 499px) {
	.leopalace21 img {
		width: 80%;
	}
}

/*--------------------------------
　アパート（検索結果）
---------------------------------*/
.apart-search-results h3 div {
	display: flex;
	justify-content: center;
	align-items: center;
	gap: 15px;
	margin-top: 15px;
}

.apart-item {
	width: 980px;
	margin: 50px auto;
	/*background: #F9F7F3;*/
	background: #ffffff;
	border: 1px solid #cccccc;
	padding: 20px;
}
.apart-item h4 {
	margin: 0 0 20px;
	background: #f2eee7;
}
.apart-item table {
	margin: 0 auto;
	border-collapse: collapse;
}
.apart-item table th,
.apart-item table td {
	border: 1px solid #cccccc;
	padding: 5px 10px;
	font-size: 14px;
	text-align: center;
	line-height: 1.7em;
}
.apart-item table th {
	background: #f2eee7;
}
.apart-item table td {
	background: #ffffff;
}
.apart-item table img {
	width: 100%;
	height: 90px;
	object-fit: cover;
}
.apart-item table:nth-child(2) tr td:nth-child(6) a:hover {
	background: #ffffff;
}
.apart-item table:nth-child(1) {
	width: 100%;
}
.apart-item table:nth-child(2) {
	width: calc(100% - 220px);
	margin-left: 220px;
}
.apart-item table:nth-child(2) tr:first-child th {
	border-top: none;
}
.apart-item table:nth-child(1) tr:nth-child(1) th {
	font-size: 18px;
	text-align: left;
	background: #fff3c7;
}
.apart-item table:nth-child(1) tr th:nth-child(1),
.apart-item table tr th:nth-child(2),
.apart-item table:nth-child(2) tr th:nth-child(3),
.apart-item table tr th:nth-child(4) {
	width: 110px;
	min-width: 110px;
}
.apart-item table:nth-child(2) tr th:nth-child(1),
.apart-item table tr th:nth-child(5) {
	width: 130px;
	min-width: 130px;
}
.apart-item table:nth-child(1) tr th:nth-child(3) {
	width: 350px;
	min-width: 350px;
}
.apart-item table:nth-child(1) tr td:nth-child(1),
.apart-item table:nth-child(1) tr td:nth-child(2) {
	padding: 5px;
}
.apart-item table:nth-child(1) tr td:last-child a:nth-child(2) {
	margin-top: 7px;
}
.apart-item table:nth-child(2) tr td:nth-child(1) input[type="submit"] {
	margin-top: 3px;
}
.apart-item table:nth-child(2) tr td:nth-child(1) {
	padding: 7px;
}
.apart-item table:nth-child(2) tr td:nth-child(1) span,
.apart-item table:nth-child(2) tr td:nth-child(2) span {
	font-size: 16px;
}
.apart-item table:nth-child(2) tr td:nth-child(1) span {
	font-weight: 700;
}
.apart-item table:nth-child(2) tr td:nth-child(2) span {
	color: #ec5300;
}
@media only screen and (max-width: 499px) {
	.apart-item {
		width: 100%;
	}
	.apart-item table:nth-child(1),
	.apart-item table:nth-child(2) {
		width: 100%;
		table-layout: fixed;
		border-collapse: collapse;
	}
	.apart-item table th,
	.apart-item table td {
		border-bottom: none;
	}
	.apart-item table td {
		font-size: 12px;
	}
	.apart-item table td:last-child {
		border-bottom: 1px solid #cccccc;
	}
	.apart-item table:nth-child(1) tr:nth-child(1) th {
		width: 100%;
		min-width: 100%;
		display: block;
		font-size: 15px;
	}
	.apart-item table:nth-child(1) tr:nth-child(2) th {
		display: none;
	}
	.apart-item table:nth-child(1) tr:nth-child(3) {
		width: 100%;
		display: flex;
		flex-wrap: wrap;
	}
	.apart-item table:nth-child(1) tr:nth-child(3) td {
		width: 50%;
		display: block;
	}
	.apart-item table:nth-child(1) tr:nth-child(3) td:nth-child(3),
	.apart-item table:nth-child(1) tr:nth-child(3) td:nth-child(6) {
		width: 100%;
		display: block;
	}
	.apart-item table:nth-child(1) tr:nth-child(3) td:nth-child(1),
	.apart-item table:nth-child(1) tr:nth-child(3) td:nth-child(4) {
		border-right: none;
	}
	.apart-item table:nth-child(1) tr:nth-child(3) td:nth-child(6) {
		display: flex;
		justify-content: space-between;
		align-items: center;
		gap: 10px;
	}
	.apart-item table:nth-child(1) tr td:last-child a:nth-child(2) {
		margin-top: 0;
	}

	.apart-item table:nth-child(2) {
		margin-top: 20px;
		margin-left: 0;
	}
	.apart-item table:nth-child(2) tr:nth-child(1) th {
		display: none;
	}
	.apart-item table:nth-child(2) tr {
		width: 100%;
		display: flex;
		flex-wrap: wrap;
		margin-bottom: 20px;
	}
	.apart-item table:nth-child(2) tr:first-child,
	.apart-item table:nth-child(2) tr:last-child {
		margin-bottom: 0;
	}
	.apart-item table:nth-child(2) td:nth-child(2),
	.apart-item table:nth-child(2) td:nth-child(4) {
		border-right: none;
	}
	.apart-item table:nth-child(2) td {
		width: 50%;
		display: block;
	}
	.apart-item table:nth-child(2) td:nth-child(1),
	.apart-item table:nth-child(2) td:nth-child(6) {
		width: 100%;
		display: block;
	}
	.apart-item table:nth-child(2) tr td:nth-child(1) span {
		font-size: 14px;
	}
	.apart-item table:nth-child(2) tr td:nth-child(2) span {
		font-size: 13px;
		font-weight: 700;
	}
	.apart-item table:nth-child(2) td:nth-child(1) {
		background: #c2e2ea;
	}
	.apart-item table:nth-child(2) td:nth-child(1) form {
		display: none;
	}
	.apart-item table:nth-child(2) td:nth-child(6) {
		display: flex;
		justify-content: space-between;
		align-items: center;
		gap: 10px;
	}
	.apart-item table:nth-child(2) td:nth-child(6) form,
	.apart-item table:nth-child(2) td:nth-child(6) a {
		width: 50%;
	}
	.apart-item table:nth-child(2) td:nth-child(6) input[type="submit"] {
		height: 28.41px;
		font-weight: 700;
	}

	.apart-item table:nth-child(2) td:nth-child(2),
	.apart-item table:nth-child(2) td:nth-child(3),
	.apart-item table:nth-child(2) td:nth-child(4),
	.apart-item table:nth-child(2) td:nth-child(5) {
		position: relative;
		padding-top: 30px;
	}
	.apart-item table:nth-child(2) td:nth-child(2):before,
	.apart-item table:nth-child(2) td:nth-child(3):before,
	.apart-item table:nth-child(2) td:nth-child(4):before,
	.apart-item table:nth-child(2) td:nth-child(5):before {
		display: block;
		background-color: #f2f2f2;
		font-size: 12px;
		text-align: center;
		position: absolute;
		top: 0;
		left: 0;
		right: 0;
		border-bottom: 1px solid #ccc;
	}
	.apart-item table:nth-child(2) td:nth-child(2):before {
		content: "家賃・共益費";
	}
	.apart-item table:nth-child(2) td:nth-child(3):before {
		content: "敷金・礼金";
	}
	.apart-item table:nth-child(2) td:nth-child(4):before {
		content: "間取・占有面積";
	}
	.apart-item table:nth-child(2) td:nth-child(5):before {
		content: "様式・バス&トイレ";
	}
}

/*--------------------------------
　アパート(物件詳細)
---------------------------------*/
.apart-dital div {
	width: 870px;
	margin: 35px auto 0;
	/*background: #F9F7F3;*/
	background: #ffffff;
	border: 1px solid #cccccc;
	padding: 20px;
}
.apart-dital h4 {
	background: #e3edfa;
	border-left: 7px solid #5886c2;
	margin: 30px auto 0;
}
.apart-dital table {
	width: 100%;
	margin: 0 auto;
	border-collapse: collapse;
}
.apart-dital table th,
.apart-dital table td {
	border: 1px solid #cccccc;
	padding: 5px 10px;
	font-size: 14px;
	text-align: center;
	line-height: 1.7em;
}
.apart-dital table th {
	background: #f2eee7;
}
.apart-dital table td {
	background: #ffffff;
}
.apart-dital table.table-apart tr:nth-child(1) th {
	font-size: 18px;
	text-align: left;
	background: #fff3c7;
}
.apart-dital table tr:nth-child(2) th:nth-child(2) {
	width: 110px;
	min-width: 110px;
}
.apart-dital table.table-room th:nth-child(2) {
	width: 180px;
	min-width: 180px;
}
.apart-dital table.table-room tr:nth-child(2) td:nth-child(2) {
	font-size: 15px;
	font-weight: 700;
	color: #ec5300;
}
.apart-dital table.table-room th:nth-child(4),
.apart-dital table.table-room th:nth-child(5) {
	width: 130px;
	min-width: 130px;
}

.apart-dital ul {
	width: 100%;
	margin: 20px auto 0;
	display: flex;
	justify-content: space-between;
	flex-wrap: wrap;
	gap: 20px;
}
.apart-dital ul li {
	background: #ffffff;
	border: 1px solid #cccccc;
	padding: 10px;
}
.apart-dital input[type="button"] {
	display: block;
	margin: 30px auto 0;
}
@media only screen and (max-width: 499px) {
	.apart-dital div {
		width: 100%;
	}
	.apart-dital table {
		width: 100%;
		table-layout: fixed;
		border-collapse: collapse;
	}
	.apart-dital table th {
		display: none;
	}
	.apart-dital table td {
		border-bottom: none;
		font-size: 12px;
		display: block;
	}
	.apart-dital table td:last-child {
		border-bottom: 1px solid #cccccc;
	}

	/*-- アパート情報 --*/
	.apart-dital table.table-apart tr:nth-child(1) th {
		font-size: 15px;
		width: 100%;
		display: block;
	}
	.apart-dital table.table-apart tr {
		display: flex;
		flex-wrap: wrap;
	}
	.apart-dital table.table-apart td {
		width: 100%;
	}
	.apart-dital table.table-apart tr:nth-child(3) td {
		border-bottom: none;
	}
	.apart-dital table.table-apart tr:nth-child(3) td:nth-child(2) br {
		display: none;
	}
	.apart-dital table.table-apart tr:nth-child(5) td:nth-child(1),
	.apart-dital table.table-apart tr:nth-child(5) td:nth-child(2),
	.apart-dital table.table-apart tr:nth-child(5) td:nth-child(3) {
		width: 33.333%;
	}
	.apart-dital table.table-apart tr:nth-child(5) td:nth-child(1),
	.apart-dital table.table-apart tr:nth-child(5) td:nth-child(2) {
		border-right: none;
	}
	.apart-dital table.table-apart tr:nth-child(5) td:nth-child(1),
	.apart-dital table.table-apart tr:nth-child(5) td:nth-child(2),
	.apart-dital table.table-apart tr:nth-child(5) td:nth-child(3),
	.apart-dital table.table-apart tr:nth-child(5) td:nth-child(4),
	.apart-dital table.table-apart tr:nth-child(5) td:nth-child(5) {
		position: relative;
		padding-top: 27px;
	}
	.apart-dital table.table-apart tr:nth-child(5) td:nth-child(1)::before,
	.apart-dital table.table-apart tr:nth-child(5) td:nth-child(2)::before,
	.apart-dital table.table-apart tr:nth-child(5) td:nth-child(3)::before,
	.apart-dital table.table-apart tr:nth-child(5) td:nth-child(4)::before,
	.apart-dital table.table-apart tr:nth-child(5) td:nth-child(5)::before {
		display: block;
		background-color: #f2f2f2;
		font-size: 12px;
		text-align: center;
		position: absolute;
		top: 0;
		left: 0;
		right: 0;
		border-bottom: 1px solid #cccccc;
	}
	.apart-dital table.table-apart tr:nth-child(5) td:nth-child(1)::before {
		content: "構造";
	}
	.apart-dital table.table-apart tr:nth-child(5) td:nth-child(2)::before {
		content: "総戸数";
	}
	.apart-dital table.table-apart tr:nth-child(5) td:nth-child(3)::before {
		content: "建築年度";
	}
	.apart-dital table.table-apart tr:nth-child(5) td:nth-child(4)::before {
		content: "種類";
	}
	.apart-dital table.table-apart tr:nth-child(5) td:nth-child(5)::before {
		content: "環境";
	}

	/*-- 部屋情報 --*/
	.apart-dital table.table-room tr {
		display: flex;
		flex-wrap: wrap;
	}
	.apart-dital table.table-room td {
		width: 100%;
		position: relative;
		padding-top: 27px;
	}
	.apart-dital table.table-room td::before {
		display: block;
		background-color: #f2f2f2;
		font-size: 12px;
		text-align: center;
		position: absolute;
		top: 0;
		left: 0;
		right: 0;
		border-bottom: 1px solid #ccc;
	}
	.apart-dital table.table-room tr:nth-child(2) td:nth-child(2),
	.apart-dital table.table-room tr:nth-child(2) td:nth-child(3),
	.apart-dital table.table-room tr:nth-child(2) td:nth-child(4),
	.apart-dital table.table-room tr:nth-child(2) td:nth-child(5) {
		width: 25%;
	}
	.apart-dital table.table-room tr:nth-child(2) td:nth-child(2),
	.apart-dital table.table-room tr:nth-child(2) td:nth-child(3),
	.apart-dital table.table-room tr:nth-child(2) td:nth-child(4) {
		border-right: none;
	}
	.apart-dital table.table-room tr:nth-child(2) td:nth-child(1)::before {
		content: "番号";
	}
	.apart-dital table.table-room tr:nth-child(2) td:nth-child(2) {
		font-size: 12px;
		font-weight: 700;
	}
	.apart-dital table.table-room tr:nth-child(2) td:nth-child(2)::before {
		content: "家賃";
		color: #121212;
		font-weight: 500;
	}
	.apart-dital table.table-room tr:nth-child(2) td:nth-child(3)::before {
		content: "共益費";
	}
	.apart-dital table.table-room tr:nth-child(2) td:nth-child(4)::before {
		content: "敷金";
	}
	.apart-dital table.table-room tr:nth-child(2) td:nth-child(5)::before {
		content: "礼金";
	}

	.apart-dital table.table-room tr:nth-child(4) td:nth-child(1),
	.apart-dital table.table-room tr:nth-child(4) td:nth-child(2),
	.apart-dital table.table-room tr:nth-child(4) td:nth-child(3),
	.apart-dital table.table-room tr:nth-child(4) td:nth-child(4) {
		width: 50%;
	}
	.apart-dital table.table-room tr:nth-child(4) td:nth-child(1),
	.apart-dital table.table-room tr:nth-child(4) td:nth-child(3) {
		border-right: none;
	}
	.apart-dital table.table-room tr:nth-child(4) td:nth-child(3) {
		border-bottom: 1px solid #cccccc;
	}
	.apart-dital table.table-room tr:nth-child(4) td:nth-child(1)::before {
		content: "間取り";
	}
	.apart-dital table.table-room tr:nth-child(4) td:nth-child(2)::before {
		content: "専有面積";
	}
	.apart-dital table.table-room tr:nth-child(4) td:nth-child(3)::before {
		content: "備付家電家具";
	}
	.apart-dital table.table-room tr:nth-child(4) td:nth-child(4)::before {
		content: "入居可能時期";
	}

	/*-- 設備情報 --*/
	.apart-dital table.table-setsubi tr {
		display: flex;
		flex-wrap: wrap;
	}
	.apart-dital table.table-setsubi td {
		width: 50%;
		position: relative;
		padding-top: 27px;
	}
	.apart-dital table.table-setsubi td::before {
		display: block;
		background-color: #f2f2f2;
		font-size: 12px;
		text-align: center;
		position: absolute;
		top: 0;
		left: 0;
		right: 0;
		border-bottom: 1px solid #ccc;
	}
	.apart-dital table.table-setsubi tr:nth-child(6) td {
		width: 100%;
	}
	.apart-dital table.table-setsubi tr:nth-child(2) td:nth-child(1),
	.apart-dital table.table-setsubi tr:nth-child(2) td:nth-child(3),
	.apart-dital table.table-setsubi tr:nth-child(4) td:nth-child(1),
	.apart-dital table.table-setsubi tr:nth-child(4) td:nth-child(3) {
		border-right: none;
	}
	.apart-dital table.table-setsubi tr:nth-child(2) td:last-child,
	.apart-dital table.table-setsubi tr:nth-child(4) td:last-child {
		border-bottom: none;
	}
	.apart-dital table.table-setsubi tr:nth-child(2) td:nth-child(1)::before {
		content: "ロフト";
	}
	.apart-dital table.table-setsubi tr:nth-child(2) td:nth-child(2)::before {
		content: "バス・トイレ";
	}
	.apart-dital table.table-setsubi tr:nth-child(2) td:nth-child(3)::before {
		content: "ウォッシュレット";
	}
	.apart-dital table.table-setsubi tr:nth-child(2) td:nth-child(4)::before {
		content: "独立洗面台";
	}

	.apart-dital table.table-setsubi tr:nth-child(4) td:nth-child(1)::before {
		content: "インターネット";
	}
	.apart-dital table.table-setsubi tr:nth-child(4) td:nth-child(2)::before {
		content: "テレビドアホン";
	}
	.apart-dital table.table-setsubi tr:nth-child(4) td:nth-child(3)::before {
		content: "エアコン";
	}
	.apart-dital table.table-setsubi tr:nth-child(4) td:nth-child(4)::before {
		content: "コンロ";
	}

	.apart-dital table.table-setsubi tr:nth-child(6) td:nth-child(1)::before {
		content: "駐車場";
	}
	.apart-dital table.table-setsubi tr:nth-child(6) td:nth-child(2)::before {
		content: "その他の設備";
	}

	/*-- 契約情報 --*/
	.apart-dital table.table-keiyaku tr {
		display: flex;
		flex-wrap: wrap;
	}
	.apart-dital table.table-keiyaku td {
		width: 50%;
		position: relative;
		padding-top: 27px;
	}
	.apart-dital table.table-keiyaku td::before {
		display: block;
		background-color: #f2f2f2;
		font-size: 12px;
		text-align: center;
		position: absolute;
		top: 0;
		left: 0;
		right: 0;
		border-bottom: 1px solid #ccc;
	}
	.apart-dital table.table-keiyaku tr:nth-child(2) td:nth-child(3),
	.apart-dital table.table-keiyaku tr:nth-child(4) td:nth-child(1) {
		width: 100%;
	}
	.apart-dital table.table-keiyaku tr:nth-child(2) td:nth-child(1) {
		border-right: none;
	}
	.apart-dital table.table-keiyaku tr:nth-child(2) td:last-child {
		border-bottom: none;
	}
	.apart-dital table.table-keiyaku tr:nth-child(2) td:nth-child(1)::before {
		content: "契約期間";
	}
	.apart-dital table.table-keiyaku tr:nth-child(2) td:nth-child(2)::before {
		content: "更新料";
	}
	.apart-dital table.table-keiyaku tr:nth-child(2) td:nth-child(3)::before {
		content: "契約条件";
	}

	.apart-dital table.table-keiyaku tr:nth-child(4) td:nth-child(1)::before {
		content: "備考";
	}

	.apart-dital ul {
		gap: 10px 5px;
		align-items: self-start;
	}
	.apart-dital ul li {
		width: calc(50% - 5px);
		padding: 5px;
	}
	.apart-dital ul li img {
		width: 100%;
	}
}

/*--------------------------------
　周辺写真
---------------------------------*/
.apart-rpic div {
	width: 870px;
	margin: 35px auto 0;
	/*background: #F9F7F3;*/
	background: #ffffff;
	border: 1px solid #cccccc;
	padding: 20px;
}
.apart-rpic table {
	width: 100%;
	margin: 0 auto;
	border-collapse: collapse;
}
.apart-rpic table th,
.apart-rpic table td {
	border: 1px solid #cccccc;
	padding: 5px 10px;
	font-size: 14px;
	text-align: center;
	line-height: 1.7em;
}
.apart-rpic table th {
	background: #f2eee7;
}
.apart-rpic table td {
	background: #ffffff;
}
.apart-rpic table tr:nth-child(1) th {
	font-size: 18px;
	text-align: left;
	background: #fff3c7;
}
.apart-rpic table tr:nth-child(2) th:nth-child(2) {
	width: 110px;
	min-width: 110px;
}

.apart-rpic ul {
	width: 100%;
	margin: 20px auto 0;
	display: flex;
	justify-content: space-between;
	flex-wrap: wrap;
	gap: 20px;
}
.apart-rpic ul li {
	background: #ffffff;
	border: 1px solid #cccccc;
	padding: 10px;
}
.apart-rpic input[type="button"] {
	display: block;
	margin: 30px auto 0;
}
@media only screen and (max-width: 499px) {
	.apart-rpic div {
		width: 100%;
	}
	.apart-rpic table {
		width: 100%;
		table-layout: fixed;
		border-collapse: collapse;
	}
	.apart-rpic table th {
		display: none;
	}
	.apart-rpic table td {
		border-bottom: none;
		font-size: 12px;
		display: block;
	}
	.apart-rpic table td:last-child {
		border-bottom: 1px solid #cccccc;
	}

	/*-- アパート情報 --*/
	.apart-rpic table tr:nth-child(1) th {
		font-size: 15px;
		width: 100%;
		display: block;
	}
	.apart-rpic table tr {
		display: flex;
		flex-wrap: wrap;
	}
	.apart-rpic table td {
		width: 100%;
	}
	.apart-rpic table tr:nth-child(3) td {
		border-bottom: none;
	}
	.apart-rpic table tr:nth-child(3) td:nth-child(2) br {
		display: none;
	}
	.apart-rpic table tr:nth-child(5) td:nth-child(1),
	.apart-rpic table tr:nth-child(5) td:nth-child(2),
	.apart-rpic table tr:nth-child(5) td:nth-child(3) {
		width: 33.333%;
	}
	.apart-rpic table tr:nth-child(5) td:nth-child(1),
	.apart-rpic table tr:nth-child(5) td:nth-child(2) {
		border-right: none;
	}
	.apart-rpic table tr:nth-child(5) td:nth-child(1),
	.apart-rpic table tr:nth-child(5) td:nth-child(2),
	.apart-rpic table tr:nth-child(5) td:nth-child(3),
	.apart-rpic table tr:nth-child(5) td:nth-child(4),
	.apart-rpic table tr:nth-child(5) td:nth-child(5) {
		position: relative;
		padding-top: 27px;
	}
	.apart-rpic table tr:nth-child(5) td:nth-child(1)::before,
	.apart-rpic table tr:nth-child(5) td:nth-child(2)::before,
	.apart-rpic table tr:nth-child(5) td:nth-child(3)::before,
	.apart-rpic table tr:nth-child(5) td:nth-child(4)::before,
	.apart-rpic table tr:nth-child(5) td:nth-child(5)::before {
		display: block;
		background-color: #f2f2f2;
		font-size: 12px;
		text-align: center;
		position: absolute;
		top: 0;
		left: 0;
		right: 0;
		border-bottom: 1px solid #cccccc;
	}
	.apart-rpic table tr:nth-child(5) td:nth-child(1)::before {
		content: "構造";
	}
	.apart-rpic table tr:nth-child(5) td:nth-child(2)::before {
		content: "総戸数";
	}
	.apart-rpic table tr:nth-child(5) td:nth-child(3)::before {
		content: "建築年度";
	}
	.apart-rpic table tr:nth-child(5) td:nth-child(4)::before {
		content: "種類";
	}
	.apart-rpic table tr:nth-child(5) td:nth-child(5)::before {
		content: "環境";
	}

	.apart-rpic ul {
		gap: 10px 5px;
		align-items: self-start;
	}
	.apart-rpic ul li {
		width: calc(50% - 5px);
		padding: 5px;
	}
	.apart-rpic ul li img {
		width: 100%;
	}
}

/*--------------------------------
　アパート（内見予約）
---------------------------------*/
.apart-select .container,
.apart-request .container {
	text-align: center;
}
.apart-select table,
.apart-request table {
	width: 100%;
	margin: 0 auto;
	table-layout: fixed;
	border-collapse: collapse;
}
.apart-select table th,
.apart-select table td,
.apart-request table th,
.apart-request table td {
	padding: 10px;
	text-align: center;
	border: 1px solid #121212;
}
.apart-select table th,
.apart-request table th {
	background: #c2e2ea;
}
.apart-select table td,
.apart-request table td {
	background: #ffffff;
}
.apart-select p {
	margin-bottom: 30px;
}
.apart-select p span {
	border-bottom: 2px solid #121212;
	padding: 0 5px 5px;
}

table.panel {
	width: 500px;
	margin: 50px auto 30px;
}
table.panel td:nth-child(2),
table.panel td:nth-child(4) {
	border-top: none;
	border-bottom: none;
	background: none;
}

/* 内見予約一覧 */
@media only screen and (max-width: 499px) {
	.apart-select div {
		width: 100%;
	}
	.apart-select table {
		width: 100%;
		table-layout: fixed;
		border-collapse: collapse;
	}
	.apart-select table th {
		display: none;
	}
	.apart-select table td {
		width: 100%;
		font-size: 12px;
		display: block;
		position: relative;
		padding: 3px;
		padding-top: 27px;
	}
	.apart-select table td::before {
		display: block;
		background-color: #c2e2ea;
		font-size: 12px;
		text-align: center;
		position: absolute;
		top: 0;
		left: 0;
		right: 0;
		border-bottom: 1px solid #121212;
	}
	.apart-select table tr {
		display: grid;
		grid-template-columns: 1fr 1fr;
		grid-template-rows: auto auto auto;
		align-items: stretch;
		margin-bottom: 30px;
	}
	.apart-select table tr:first-child,
	.apart-select table tr:last-child {
		margin-bottom: 0;
	}
	.apart-select table td:nth-child(1) {
		border-right: none;
		grid-row: 2 / 3;
		grid-column: 1 / 2;
	}
	.apart-select table td:nth-child(2) {
		border-bottom: none;
		grid-row: 1 / 2;
		grid-column: 1 / 3;
	}
	.apart-select table td:nth-child(3) {
		grid-row: 2 / 3;
		grid-column: 2 / 3;
	}
	.apart-select table td:nth-child(4) {
		grid-row: 3 / 4;
		grid-column: 1 / 3;
		border: none;
		background: none;
		padding-top: 10px;
	}
	.apart-select table td:nth-child(1)::before {
		content: "物件No";
	}
	.apart-select table td:nth-child(2)::before {
		content: "物件名";
	}
	.apart-select table td:nth-child(3)::before {
		content: "部屋番号";
	}
}

/* メンテナンス中 */
.apart-select-stop {
	padding: 50px 0 40px !important;
}

/* 内見予約フォーム */
.moushikomi-back {
	margin-bottom: 30px;
}
.apart-request h4 {
	text-align: left;
}
.apart-request-text {
	background: #ffffff;
	border: 1px solid #121212;
	padding: 15px;
	margin-top: 30px;
}
.apart-request table.panel td.panel-active {
	color: #ffffff;
	background: #ec5300;
}
.apart-request table.form th {
	width: 200px;
	white-space: nowrap;
}
.apart-request table.form th,
.apart-request table.form td {
	text-align: left;
	padding-left: 15px;
}
.apart-request table.form input,
.apart-request table.form select,
.apart-request table.form textarea,
.apart-request table.form button {
	font-size: 15px;
	border: 1px solid #cccccc;
}
.apart-request table.form textarea {
	display: block;
	width: 100%;
}
.apart-request table.form .on,
.apart-request table.form .off {
	color: #121212;
	font-size: 13px;
	padding: 5px;
	margin-right: 10px;
	border-radius: 5px;
	border: 1px solid #cccccc;
}
.apart-request table.form .on {
	background: #fcc7c4;
}
.apart-request table.form .off {
	background: #ffffff;
}
.apart-request table.form input[name="name"],
.apart-request table.form input[name="kana"],
.apart-request table.form input[name="email"],
.apart-request table.form input[name="addr2"],
.apart-request table.form input[name="addr3"] {
	width: 100%;
}
.err-text {
	color: red;
	white-space: normal !important;
}
@media print, screen and (min-width: 500px) {
	.err-text {
		font-size: 14px;
	}
}

/*-- 確認画面 --*/
.kakunin table.bukken {
	margin: 30px auto;
}
.apart-request table.okyaku td {
	text-align: left;
	padding-left: 15px;
}
.apart-request table.okyaku tr th {
	background: #fff3c7;
}
.apart-request table.okyaku tr td:first-child {
	background: #c2e2ea;
}

/*-- 完了画面 --*/
.apart-request-send {
	background: #ffffff;
	border: 1px solid #121212;
	padding: 15px;
	margin: 50px auto;
}
.apart-request-send p {
	font-size: 20px;
	font-weight: 700;
	margin-bottom: 15px;
}
@media only screen and (max-width: 499px) {
	.apart-request h4 {
		margin-top: 0;
	}

	/*-- パネル --*/
	.apart-request table.panel {
		display: none;
	}

	/*-- 物件一覧 --*/
	.apart-request table.bukken {
		width: 100%;
		table-layout: fixed;
		border-collapse: collapse;
		margin-bottom: 0;
	}
	.apart-request table.bukken th {
		display: none;
	}
	.apart-request table.bukken td {
		width: 100%;
		font-size: 12px;
		display: block;
		position: relative;
		padding: 3px;
		padding-top: 27px;
	}
	.apart-request table.bukken td::before {
		display: block;
		background-color: #c2e2ea;
		font-size: 12px;
		text-align: center;
		position: absolute;
		top: 0;
		left: 0;
		right: 0;
		border-bottom: 1px solid #121212;
	}
	.apart-request table.bukken tr {
		display: grid;
		grid-template-columns: 1fr 1fr;
		grid-template-rows: auto auto;
		align-items: stretch;
		margin-bottom: 30px;
	}
	.apart-request table.bukken tr:first-child,
	.apart-request table.bukken tr:last-child {
		margin-bottom: 0;
	}
	.apart-request table.bukken td:nth-child(1) {
		border-right: none;
		grid-row: 2 / 3;
		grid-column: 1 / 2;
	}
	.apart-request table.bukken td:nth-child(2) {
		border-bottom: none;
		grid-row: 1 / 2;
		grid-column: 1 / 3;
	}
	.apart-request table.bukken td:nth-child(3) {
		grid-row: 2 / 3;
		grid-column: 2 / 3;
	}
	.apart-request table.bukken td:nth-child(1)::before {
		content: "物件No";
	}
	.apart-request table.bukken td:nth-child(2)::before {
		content: "物件名";
	}
	.apart-request table.bukken td:nth-child(3)::before {
		content: "部屋番号";
	}

	/*-- フォーム --*/
	.apart-request table.form {
		width: 100%;
		table-layout: fixed;
		border-collapse: collapse;
	}
	.apart-request table.form,
	.apart-request table.form input,
	.apart-request table.form select,
	.apart-request table.form textarea,
	.apart-request table.form button {
		font-size: 13px;
	}
	.apart-request table.form th,
	.apart-request table.form td {
		width: 100%;
		display: block;
	}
	.apart-request table.form td {
		border-top: 0;
		border-bottom: 0;
		padding: 10px;
	}
	.apart-request table.form tr:last-child td:last-child {
		border-bottom: 1px solid #121212;
	}

	/*-- 確認画面 --*/
	.apart-request table.okyaku {
		margin-bottom: 0;
		font-size: 12px;
	}
	.apart-request table.okyaku tr {
		display: block;
		margin-bottom: 15px;
	}
	.apart-request table.okyaku tr:last-child {
		margin-bottom: 0;
	}
	.apart-request table.okyaku th {
		display: none;
	}
	.apart-request table.okyaku td {
		width: 100%;
		display: block;
		padding: 3px 3px 3px 15px;
		min-height: 20px;
	}
	.apart-request table.okyaku td:nth-child(2n) {
		border-top: 0;
	}
	.apart-request table.okyaku tr td:first-child {
		background: #c2e2ea;
	}
	.apart-request table.okyaku tr:nth-child(2n + 1) td:first-child {
		background: #dae5f2;
	}

	/*-- 完了画面 --*/
	.apart-request-send {
		margin: 30px auto;
	}
	.apart-request-send p {
		font-size: 16px;
		margin-bottom: 10px;
	}
	.apart-request-send-button {
		margin-bottom: 30px;
	}
}

/*--------------------------------
　メッセージ・エラー画面
---------------------------------*/
.apart-msg {
	width: 730px;
	margin: 50px auto 70px;
	text-align: center;
}
.apart-msg p {
	margin-bottom: 50px;
	padding: 30px;
	border-top: 1px solid #121212;
	border-bottom: 1px solid #121212;
	text-align: center;
}
@media only screen and (max-width: 499px) {
	.apart-msg {
		width: 100%;
		padding: 0 20px;
	}
}
