@charset "utf-8";
/**************************************************
nav
**************************************************/

.header-menu li a {
	background-color: var(--color-lightgray);
}

.header-menu li.__buy a {
	background-color: var(--color-orange);
	color: var(--color-white);
}

.header-menu li.__rent a {
	background-color: var(--color-purple);
	color: var(--color-white);
}

.header-menu li.__sell a {
	background-color: var(--color-green);
	color: var(--color-white);
}

.header-menu li.__manage a {
	background-color: var(--color-blue);
	color: var(--color-white);
}

.header-menu li a span {
	font-size: 12px;
}

.header-contact a span {
	vertical-align: text-bottom;
	margin-right: 5px;
}

.header-contact .__tel a {
	background-color: var(--color-red);
}

.header-contact a {
	display: inline-block;
	width: 100%;
	padding: 15px 30px;
	background-color: var(--color-black);
	color: var(--color-white);
	font-size: clamp(14px, 1.8vw, 18px);
	line-height: 1;
}

@media (min-width: 921px) {

	.header-menu {
		display: flex;
		width: calc(100% - 180px);
		margin-left: auto;
		margin-top: -10px;
		position: unset;
	}

	.header-menu ul {
		list-style: none;
	}

	.header-menu li a {
		display: block;
		padding: 10px 0;
		background-color: var(--color-lightgray);
		text-align: center;
		font-size: clamp(14px, 1.8vw, 18px);
		font-weight: bold;
		border-radius: var(--radius) var(--radius) 0 0;
		transition: 0.1s;
	}

	.header-menu li a:hover {
		padding-bottom: 20px;
		margin-top: -10px;
	}


	/* ヘッダーお問い合わせ */
	.header-contact {
		display: flex;
		gap: 10px;
		list-style: none;
		position: fixed;
		top: 0;
		right: 20px;
		z-index: 1000;
	}

	.header-contact a {
		border-radius: 0 0 var(--radius) var(--radius);
	}

	.header-contact a:hover {
		filter: opacity(70%);
	}
}

@media (max-width: 1300px) {
	.header-menu li a {
		display: flex;
		align-items: center;
		justify-content: center;
		flex-direction: column;
		line-height: 1;
		height: calc(1em + 12px);
	}

	.header-menu li a span {
		display: block;
	}
}

@media (max-width: 920px) {
	.header-content {
		position: fixed;
		top: 10px;
		right: 15px;
	}

	.menu-trigger summary,
	.menu-trigger summary > ::before,
	.menu-trigger summary > ::after,
	.menu-trigger summary > div > span {
		border-radius: 4px;
	}

	.header-content nav {
		display: flex;
		flex-direction: column;
		align-items: center;
		justify-content: center;
		background:var(--color-white);
		text-align: center;
	}

	/* メニュー */
	.header-content nav ul {
		width: 80%;
	}

	ul.header-menu li a {
		line-height: unset;
		margin-bottom: 10px;
		border-radius: var(--radius);
	}

	ul.header-menu li a span {
		display: inline-block;
	}

	/* お問い合わせ */
	ul.header-contact {
		display: flex;
		flex-direction: row;
		gap: 0;
		width: 100%;
		margin-inline-start: 0;
		list-style: none;
		position: fixed;
		bottom: 0;
		left: 0;
		z-index: 1;
	}

	.header-contact li {
		flex: 1;
	}

	.header-contact a {
		padding: 15px 0;
		text-align: center;
		font-size: clamp(14px, 1.8vw, 18px);
	}

	.header-contact a span {
		vertical-align: -5px;
	}
}