.p-tabButton {
	display: flex;
	flex-wrap: wrap;
	gap: 12px 6px;
	margin-bottom: 18px;
}

.p-tabButton_item {
	display: flex;
	align-items: center;
	justify-content: center;
	text-align: center;
	padding: 12px 6px 24px;
	width: calc(33.333% - 4px);
	background-color: #f7f0e6;
	cursor: pointer;
	min-height: 78px;
	border-radius: 8px;
	position: relative;
}

.p-tabButton_item.is-active {
	font-weight: bold;
	background-color: #9b7332;
	color: #fff;
}

.p-tabButton_item::after {
	content: '';
	display: block;
	width: 30px;
	height: 30px;
	mask-size: 30px;
	mask-repeat: no-repeat;
	mask-image: url(/furusato/img/icn/icn_arrow_next.svg);
	transform: rotate(90deg);
	background-color: #333;
	position: absolute;
	bottom: 0;
	left: calc(50% - 15px);
}

.p-tabButton_item.is-active::after {
	background-color: #fff;
}

.p-tabContainer[aria-hidden='false'] {
	transition: opacity 0.3s;
}

.p-tabContainer[aria-hidden='true'] {
	opacity: 0;
	visibility: hidden;
	height: 0;
	transition: opacity 0.3s;
}

.p-rankingCard {
	display: flex;
	flex-direction: column;
	gap: 18px;
}

.p-rankingCard_item {
	position: relative;
}

.p-rankingCard_item::before {
	content: '';
	display: flex;
	align-items: center;
	justify-content: center;
	width: 42px;
	height: 42px;
	border-radius: 21px;
	position: absolute;
	top: -12px;
	left: -12px;
	background-color: #f5f1e3;
	color: #555;
	font-size: 16px;
	font-weight: bold;
	z-index: 1;
}

.p-rankingCard_item:first-child::before {
	background-color: #cec845;
}

.p-rankingCard_item:nth-child(2)::before {
	background-color: #b9b9b9;
}

.p-rankingCard_item:nth-child(3)::before {
	background-color: #c48f77;
}

.p-rankingCard_item:nth-child(4)::before {
	content: '4';
}

.p-rankingCard_item::after {
	content: '';
	display: block;
	width: 42px;
	height: 42px;
	position: absolute;
	top: -12px;
	left: -12px;
	z-index: 1;
}

.p-rankingCard_item:first-child::after,
.p-rankingCard_item:nth-child(2)::after,
.p-rankingCard_item:nth-child(3)::after {
	mask-size: 42px;
	mask-repeat: no-repeat;
	mask-image: url(/furusato/cp/img/icn_ranking_crown.svg);
	background-color: #fff;
}

.p-rankingCard_itemLink {
	display: flex;
	gap: 12px;
	line-height: 1.4;
	color: #333;
	text-decoration: none;
	border: 2px solid #b20000;
	border-radius: 8px;
	padding: 12px 24px 12px 12px;
	position: relative;
}

.p-rankingCard_item:first-child .p-rankingCard_itemLink {
	flex-direction: column;
}

.p-rankingCard_itemLink::after {
	content: '';
	display: block;
	width: 30px;
	height: 30px;
	mask-size: 30px;
	mask-repeat: no-repeat;
	mask-image: url(/furusato/img/icn/icn_arrow_next.svg);
	background-color: #b20000;
	position: absolute;
	top: calc(50% - 15px);
	right: 0;
}

.p-rankingCard_figure {
	width: 102px;
}

.p-rankingCard_item:first-child .p-rankingCard_figure {
	width: 100%;
}

.p-rankingCard_container {
	flex: 1;
	display: flex;
	flex-direction: column;
	gap: 12px;
}

.p-rankingCard_heading {
	font-weight: bold;
	font-size: 16px;
	display: flex;
	gap: 6px;
	flex-direction: column;
}

.p-rankingCard_location {
	font-size: 12px;
	font-weight: normal;
}

.p-rankingCard_price {
	margin-top: auto;
}

.p-rankingCard_priceContainer {
	font-size: 18px;
	font-weight: bold;
	color: #f00;
}

.p-moreButton {
	margin-top: 18px;
	text-align: center;
	display: flex;
	flex-direction: column;
	gap: 6px;
}

.p-moreButton_heading {
	font-size: 16px;
	line-height: 1.4;
	font-weight: bold;
}

.p-moreButton_container {
	font-size: 20px;
	font-weight: bold;
	line-height: 1.4;
	border: 2px solid #ff6200;
	border-radius: 8px;
	background-color: #ff6200;
	color: #fff;
	text-decoration: none;
	display: flex;
	align-items: center;
	justify-content: center;
	width: 330px;
	height: 90px;
	margin-right: auto;
	margin-left: auto;
	position: relative;
}

.p-moreButton_container::after {
	content: '';
	display: block;
	width: 30px;
	height: 30px;
	mask-size: 30px;
	mask-repeat: no-repeat;
	mask-image: url(/furusato/img/icn/icn_arrow_next.svg);
	background-color: #fff;
	position: absolute;
	top: calc(50% - 15px);
	right: 0;
}

.p-goodPanel {
	max-height: 720px;
	overflow: hidden;
	position: relative;
	transition: all 0.3s;
	margin-bottom: 42px;
}

.p-goodPanel.is-open {
	max-height: 10000px;
	transition: all 0.3s;
}

.p-goodPanel::before {
	content: '';
	display: block;
	opacity: 1;
	visibility: visible;
	transition: opacity 0.3s;
	position: absolute;
	z-index: 1;
	bottom: 0;
	left: 0;
	width: 100%;
	height: 90px;
	background: linear-gradient(180deg, rgba(255, 255, 255, 0) 0%, rgba(255, 255, 255, 0.8) 35%, rgba(255, 255, 255, 1) 100%);
}

.p-goodPanel.is-open::before {
	display: none;
}

.p-goodPanel_button {
	position: absolute;
	bottom: 0;
	left: calc(50% - 165px);
	z-index: 2;
	height: 42px;
	width: 330px;
	cursor: pointer;
}

.is-open .p-goodPanel_button {
	position: static;
	margin-right: auto;
	margin-left: auto;
	margin-top: 18px;
}

.p-goodPanel_buttonInner {
	display: block;
	font-size: 16px;
	border: 2px solid #ff6200;
	color: #ff6200;
	background-color: #fff;
	border-radius: 8px;
	width: 100%;
	height: 100%;
	line-height: 42px;
	text-align: center;
	position: relative;
	transition: all 0.3s;
}

.p-goodPanel_buttonInner::after {
	content: '';
	display: block;
	width: 30px;
	height: 30px;
	mask-size: 30px;
	mask-repeat: no-repeat;
	mask-image: url(/furusato/img/icn/icn_arrow_next.svg);
	background-color: #ff6200;
	position: absolute;
	top: calc(50% - 15px);
	right: 0;
	transform: rotate(90deg);
}

.p-goodPanel_buttonInner.-open {
	display: none;
}

.is-open .p-goodPanel_buttonInner.-open {
	display: block;
}

.is-open .p-goodPanel_buttonInner.-close {
	display: none;
}

.is-open .p-goodPanel_buttonInner.-open::after {
	transform: rotate(-90deg);
}

.p-goodList {
	display: flex;
	flex-direction: column;
	gap: 18px;
}

.p-goodList_itemLink {
	display: flex;
	flex-direction: column;
	gap: 12px;
	border: 2px solid #b20000;
	border-radius: 8px;
	padding: 12px 24px 12px 12px;
	position: relative;
	color: #333;
	text-decoration: none;
	font-size: 12px;
	line-height: 1.4;
}

.p-goodList_itemLink::after {
	content: '';
	display: block;
	width: 30px;
	height: 30px;
	mask-size: 30px;
	mask-repeat: no-repeat;
	mask-image: url(/furusato/img/icn/icn_arrow_next.svg);
	background-color: #b20000;
	position: absolute;
	top: calc(50% - 15px);
	right: 0;
}

.p-goodList_container {
	position: relative;
	padding-left: 108px;
	min-height: 96px;
}

.p-goodList_figure {
	position: absolute;
	top: 0;
	left: 0;
	width: 96px;
}

.p-goodList_heading {
	font-size: 14px;
	font-weight: bold;
	margin-bottom: 6px;
}

.p-goodList_location {
	margin-bottom: 6px;
}

.p-goodList_body {
	font-size: 14px;
}

.p-goodList_priceContainer {
	font-size: 20px;
	font-weight: bold;
	color: #f00;
}

@media screen and (min-width: 768px) {
	.p-goodPanel {
		max-height: 780px;
	}

	.p-goodPanel_buttonInner:hover {
		background-color: #ff6200;
		color: #fff;
	}

	.p-goodPanel_buttonInner:hover::after {
		background-color: #fff;
	}

	.p-tabButton_item {
		width: calc(12.5% - 5.25px);
		margin-bottom: 30px;
		transition: all 0.3s;
	}

	.p-tabButton_item:hover {
		background-color: #9b7332;
		color: #fff;
		font-weight: bold;
	}

	.p-tabButton_item:hover::after {
		background-color: #fff;
	}

	.p-rankingCard {
		gap: 12px;
		flex-direction: row;
	}

	.p-rankingCard_item {
		width: calc(25% - 9px);
	}

	.p-rankingCard_itemLink {
		padding: 12px;
		height: 100%;
		flex-direction: column;
		transition: all 0.3s;
	}

	.p-rankingCard_itemLink::after {
		display: none;
	}

	.p-rankingCard_itemLink:hover {
		background-color: #b20000;
		color: #fff;
	}

	.p-rankingCard_figure {
		width: 100%;
	}

	.p-rankingCard_price {
		display: flex;
		flex-direction: column;
	}

	.p-rankingCard_priceContainer {
		font-size: 23px;
		margin-left: auto;
	}

	.p-rankingCard_itemLink:hover .p-rankingCard_priceContainer {
		color: #fff;
	}

	.p-moreButton {
		margin-top: 30px;
	}

	.p-moreButton_container {
		width: 576px;
		height: 72px;
		transition: all 0.3s;
	}

	.p-moreButton_container:hover {
		color: #ff6200;
		background-color: #fff;
	}

	.p-moreButton_container:hover::after {
		background-color: #ff6200;
	}

	.p-moreButton_container br {
		display: none;
	}

	.p-goodList_itemLink {
		gap: 6px;
		padding: 18px 18px 18px 196px;
		min-height: 196px;
		font-size: 16px;
		transition: all 0.3s;
	}

	.p-goodList_itemLink::after {
		display: none;
	}

	.p-goodList_itemLink:hover {
		opacity: 0.7;
	}

	.p-goodList_container {
		position: static;
		padding-left: 0;
	}

	.p-goodList_figure {
		top: 18px;
		left: 18px;
		width: 160px;
	}

	.p-goodList_heading {
		font-size: 20px;
	}

	.p-goodList_priceContainer {
		font-size: 24px;
	}

	.p-goodList_body {
		font-size: 16px;
	}
}

@media screen and (min-width: 992px) {
	.p-rankingCard {
		gap: 18px;
	}

	.p-rankingCard_item {
		width: calc(25% - 13.5px);
	}

	.p-rankingCard_itemLink {
		padding: 18px;
	}

	.p-rankingCard_price {
		flex-direction: row;
		align-items: center;
		justify-content: space-between;
	}
}
