@media screen and (max-width: 767px) {
	.hc-sort-wrap {
		text-align: right;
		height: 82px;
		position: relative;
	}
}

@media screen and (min-width: 768px) {
	.hc-sort-switch {
		display: flex;
		align-items: center;
		justify-content: flex-end;
		margin: 64px 0 40px;
	}
}

@media screen and (max-width: 767px) {
	.hc-sort-switch {
		display: inline-block;
		margin: 0 0 16px;
		padding: 8px 16px;
		border: 1px solid var(--border-color);
		border-radius: 30px;
		margin-left: auto;
		position: absolute;
		top: 24px;
		right: 0;
		background: #fff;
		z-index: 10;
	}

	.hc-sort-switch.is-open {
		padding: 16px 0 0;
		border-radius: 6px;
		text-align: center;
		box-shadow: 0 0 10px 0 rgba(0, 0, 0, 0.16);
	}
}

.hc-sort-switch__text {
	color: var(--text-color);
	font-size: 14px;
	margin-block-start: 0;
	margin-block-end: 0;
}

@media screen and (max-width: 767px) {
	.hc-sort-switch__text {
		display: inline-block;
	}

	.is-open .hc-sort-switch__text {
		text-align: center;
		margin-bottom: 16px;
		font-size: 13px;
	}
}

@media screen and (max-width: 767px) {
	.hc-sort-switch__text-current::before {
		display: inline-block;
		content: '：';
		color: var(--text-color);
		font-size: 1em;
		position: relative;
	}
}

.hc-sort-switch__list {
	margin: 0 0 0 24px !important;
}

@media screen and (min-width: 768px) {
	.hc-sort-switch__list {
		display: flex;
		align-items: center;
	}
}

@media screen and (max-width: 767px) {
	.hc-sort-switch__list {
		display: block;
		margin: 0 !important;
	}
}

.hc-sort-switch__list-item {
	color: var(--text-color);
	font-size: 16px;
	line-height: 1.4;
	position: relative;
}

@media screen and (min-width: 768px) {
	.hc-sort-switch__list-item {
		padding: 0 24px;
		border-left: 1px solid var(--border-color);
		cursor: pointer;
	}
}

.hc-sort-switch__list-item a {
	color: var(--text-color) !important;
}

@media screen and (max-width: 767px) {
	.hc-sort-switch__list-item a {
		font-size: 14px;
		padding: 16px 10px 16px 35px;
		border-top: 1px solid #EDEDED;
		display: block;
		width: 100%;
		box-sizing: border-box;
	}
}

@media screen and (max-width: 767px) {
	.hc-sort-switch__list-item a::before {
		width: 15px;
		height: 15px;
		border: 1px solid #CECECE;
		border-radius: 50%;
		top: 50%;
		left: 10px;
		margin-top: 0;
		transform: translateY(-50%);
	}

	.hc-sort-switch__list-item.is-active a::before {
		display: none;
	}

	.hc-sort-switch__list-item.is-active a::after {
		width: 15px;
		height: 15px;
		top: 50%;
		left: 10px;
		margin-top: 0;
		transform: translateY(-50%);
		background: url(/company/images/select_icon.svg) no-repeat center center / contain;;
	}
}

.hc-sort-switch__list-item.is-active a {
	color: var(--link-color) !important;
	font-weight: bold;
}

@media screen and (min-width: 768px) {
	.hc-sort-switch__list-item.is-active {
		padding-left: 36px;
		pointer-events: none;
	}
}

@media screen and (max-width: 767px) {
	.hc-sort-switch__list {
		display: none;
	}

	.is-open .hc-sort-switch__list {
		display: block;
		text-align: left;
	}
}

@media screen and (min-width: 768px) {
	.hc-sort-switch__list-item:hover {
		color: var(--link-color) !important;
		text-decoration: underline !important;
	}
}

@media screen and (min-width: 768px) {
	.hc-sort-switch__list-item:hover a {
		color: var(--link-color) !important;
	}
}

@media screen and (min-width: 768px) {
	.hc-sort-switch__list-item a:hover {
		color: var(--link-color) !important;
	}
}

@media screen and (max-width: 767px) {
	.hc-sort-switch__list-item a:hover {
		text-decoration: none !important;
	}
}

.hc-sort-switch__list-item a::before,
.hc-sort-switch__list-item.is-active a::after {
	content: '';
	position: absolute;
}

@media screen and (min-width: 768px) {
	.is-active.hc-sort-switch__list-item a::before {
		width: 14px;
		height: 17px;
		top: 50%;
		left: 18px;
		transform: translateY(-50%);
		background: url(/common/rwd/images/rn/icon_arrow_bottom.svg) no-repeat bottom right / contain;
	}
}

.hc-sort-switch__text-current {
	display: none;
}

@media screen and (max-width: 767px) {
	.hc-sort-switch__text-current {
		display: inline-block;
	}
	.is-open .hc-sort-switch__text-current {
		display: none;
	}
	.hc-sort-switch__text-current {
		position: relative;
		padding-right: 18px;
		color: var(--link-color);
		font-weight: bold;
	}
	.hc-sort-switch__text-current::after {
		content: '';
		position: absolute;
		width: 0;
		height: 0;
		border-style: solid;
		border-width: 8.7px 5px 0 5px;
		border-color: var(--main-color) transparent transparent transparent;
		position: absolute;
		top: 50%;
		right: 0;
		transform: translateY(-50%);
	}
}
