@charset "UTF-8";
:root {
  --color-ranking-acc: #B17E47;
	--font-weight-normal: 400;
	--font-weight-bold: 600;
	--font-weight-exbold: 700;
	--color-bg-beige: #FCF3EA;
}
.ranking a {
	text-decoration: none;
	transition:  opacity .3s ease;
}
.ranking ul {
  list-style: none;
  margin: 0;
  padding: 0;
}
.ranking img {
	display: block;
	vertical-align: bottom;
	height: auto;
}
.ranking > section {
  margin-block-start: 4rem;
}

.ranking .__lead-desc {
  font-size: 1rem;
  line-height: 2;
  text-align: center;
  margin-block-start: 2rem;
}
.ranking h2.section_heading {
	text-align: center;
	line-height: 1.4;
	margin-block-end: 2rem;
	display: flex;
	flex-direction: column;
}
.ranking h2.section_heading .title_main {
	display: block;
	color: var(--color-accent);
	font-size: 2rem;
	margin-block-end: .75rem;
}
.ranking h2.section_heading .title_sub {
	display: block;
	font-size: 1rem;
	font-weight: var(--font-weight-normal);
}
.ranking .section_heading::after {
  content: "";
  width: 150px;
  height: 5px;
  background: var(--color-ranking-acc);
  margin: auto;
}

.ranking .page-index {
  display: flex;
  gap: 35px;
  justify-content: space-between;
	margin-block: 2rem;
}
.ranking .page-index li {
	flex-grow: 1;
   background: var(--color-ranking-acc);
}
.ranking .page-index li a {
	color: var(--color-text-invert);
	font-size: 1.125rem;
	font-weight: var(--font-weight-bold);
	display: flex;
	justify-content: center;
	align-items: center;
	padding: 1rem;
	position: relative;
}
.ranking .page-index li a::after {
	content: "";
	width: 10px;
	height: 10px;
	border-top: 2px solid var(--color-text-invert);
	border-right: 2px solid var(--color-text-invert);
	-webkit-transform: rotate(135deg);
	transform: rotate(135deg);
	position: absolute;
	top: 0;
	bottom: 0;
	right: 1.2rem;
	margin: auto;
}

.ranking .itemBox {
	font-size: 1rem;
	display: flex;
}
.ranking .itemBox > div {
	display: flex;
	flex-direction: column;
	gap: 1.25rem;
}
.ranking .rank-1 .item-name,
.ranking .rank-higher .item-name {
	display: flex;
	align-items: center;
	gap: .625rem;
}
.ranking .item-name::before,
.ranking .rank-nomal > li::before {
	content: "";
	width: 70px;
	height: 56px;
	background-repeat: no-repeat;
	background-size: contain;
}

.ranking .description {
	line-height: 1.8;
}
.ranking .rank-1 .item-price span,
.ranking .rank-higher .item-price span {
	font-size: 1.75rem;
	font-weight: var(--font-weight-exbold);
	padding-inline-end: .2rem;
}

.ranking .linkBtn {
	color: var(--color-text-invert);
  font-size: 1.125rem;
  font-weight: var(--font-weight-bold);
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 1rem;
	background: var(--color-ranking-acc);
	border-radius: 2rem;
}

.ranking .itemBox.rank-1 {
	padding: 30px;
	border: 2px solid var(--color-accent);
	border-radius: 1.25rem;
	gap: 3rem;
}
.ranking .itemBox.rank-1 > * {
	width: calc((100% - 3rem)/2);
}
.ranking .itemBox.rank-1 .item-name {
	color: var(--color-accent);
	font-size: 1.375rem;
	font-weight: var(--font-weight-bold);
}
.ranking .itemBox.rank-1 .item-name::before {
	background-image: url(https://gigaplus.makeshop.jp/yamagaki/renewal2024/page/ranking/icon_rank1.svg);
}

.ranking .rank-higher {
	display: flex;
	flex-wrap: wrap;
	gap: 4rem 2.5rem;
	margin-block-start: 4rem;
}
.ranking .rank-higher > li {
	width: calc((100% - 2.5rem)/2);
	display: flex;
	flex-direction: column;
	gap: 1.25rem;
}
.ranking .rank-higher .item-name {
	color: var(--color-ranking-acc);
	font-size: 1.375rem;
	font-weight: var(--font-weight-bold);
	width: 100%;
}
.ranking .rank-higher .itemBox {
	flex-wrap: wrap;
	gap: 1.25rem;
}
.ranking .rank-higher .itemBox figure {
	width: 55%;
	flex-shrink: 0;
}
.ranking .rank-higher .itemBox > div {
	width: calc(100% - (55% + 1.25rem));
}
.ranking .rank-higher .linkBtn {
	width: 100%;
	max-width: 360px;
	margin: .5rem auto 0;
}

.ranking .rank-higher .rank-2 .item-name::before,
.ranking .rank-nomal .rank-2::before  {
	background-image: url(https://gigaplus.makeshop.jp/yamagaki/renewal2024/page/ranking/icon_rank2.svg);
}
.ranking .rank-higher .rank-3 .item-name::before,
.ranking .rank-nomal .rank-3::before {
	background-image: url(https://gigaplus.makeshop.jp/yamagaki/renewal2024/page/ranking/icon_rank3.svg);
}
.ranking .rank-higher .rank-4 .item-name::before,
.ranking .rank-nomal .rank-4::before {
	background-image: url(https://gigaplus.makeshop.jp/yamagaki/renewal2024/page/ranking/icon_rank4.svg);
}
.ranking .rank-higher .rank-5 .item-name::before,
.ranking .rank-nomal .rank-5::before {
	background-image: url(https://gigaplus.makeshop.jp/yamagaki/renewal2024/page/ranking/icon_rank5.svg);
}
.ranking .rank-nomal .rank-6::before {
	background-image: url(https://gigaplus.makeshop.jp/yamagaki/renewal2024/page/ranking/icon_rank6.svg);
}
.ranking .rank-nomal .rank-7::before {
	background-image: url(https://gigaplus.makeshop.jp/yamagaki/renewal2024/page/ranking/icon_rank7.svg);
}
.ranking .rank-nomal .rank-8::before {
	background-image: url(https://gigaplus.makeshop.jp/yamagaki/renewal2024/page/ranking/icon_rank8.svg);
}
.ranking .rank-nomal .rank-9::before {
	background-image: url(https://gigaplus.makeshop.jp/yamagaki/renewal2024/page/ranking/icon_rank9.svg);
}

.ranking .rank-nomal {
	display: flex;
	gap: 1rem;
	margin-block-start: 4rem;
}
.ranking .rank-nomal > li {
	width: calc((100% - 3rem)/4);
	display: flex;
	flex-direction: column;
	gap: .625rem;
	position: relative;
}
.ranking .rank-nomal > li::before {
	margin: 0 auto;
}
.ranking .rank-nomal figure {
	margin-block-end: 5px;
}
.ranking .rank-nomal .item-name {
	line-height: 1.6;
}
.ranking .rank-nomal .item-price span {
	font-size: 1.375rem;
	font-weight: var(--font-weight-exbold);
	padding-inline-end: .2rem;
}


ul.voice {
  display: flex;
  flex-wrap: wrap;
  gap: 2.5rem;
  list-style: none;
  padding: 0;
  margin: 2rem 0;
}
ul.voice li {
  width: calc((100% - 2.5rem) / 2);
  padding: 1.5rem;
  border: 1px solid var(--color-ranking-acc);
  border-radius: 1.25rem;
  background: var(--color-bg-beige);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: .75rem;
}
ul.voice li::before {
  content: "";
  width: clamp(38px, 36%, 74px);
  aspect-ratio: 1 / 1;
  background-size: contain;
  background-position: center;
}
.voice-item:first-child::before {
  background-image: url(https://gigaplus.makeshop.jp/yamagaki/renewal2024/page/ranking/voice-woman.svg);
}
.voice-item:last-child::before {
  background-image: url(https://gigaplus.makeshop.jp/yamagaki/renewal2024/page/ranking/voice-man.svg);
}
.voice-item__inner {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: .75rem;
}
.voice-item__title {
	color: var(--color-text-invert);
  text-align: center;
  font-feature-settings: "palt";
  width: 100%;
  padding: 0.2rem;
  background: var(--color-ranking-acc);
    
    border-radius: 4px;
}
.voice-item__text {
  line-height: 1.8;
  margin-block-end: auto;
  width: 100%;
}


@media screen and (max-width:768px) {

	.ranking > section {
		margin-block-start: 3rem;
	}
	.ranking .__lead-desc {
		line-height: 1.6;
	}
	.ranking h2.section_heading .title_main {
		font-size: 1.75rem;
	}

	.ranking .page-index {
		flex-direction: column;
		gap: .625rem;
	}
	.ranking .page-index li {
		flex-grow: 1;
		background: var(--color-ranking-acc);
	}

	.ranking .itemBox {
		flex-direction: column;
	}
	.ranking .item-name::before,
	.ranking .rank-nomal > li::before {
		width: 50px;
		height: 40px;
	}

	.ranking .linkBtn {
		font-size: 1rem;
		padding: .5rem;
	}

	.ranking .itemBox.rank-1 {
		padding: 20px;
		gap: 1rem;
	}	
	.ranking .itemBox.rank-1 > * {
		width: 100%;
	}

	.ranking .itemBox.rank-1 .item-name {
		font-size: 1.125rem;
	}

	.ranking .rank-higher {
		gap: 2rem 1rem;
		margin-block-start: 1rem;
	}
	.ranking .rank-higher > li {
		width: calc((100% - 1rem)/2);
		gap: 1rem;
	}
	.ranking .rank-higher .item-name {
		font-size: 1.125rem;
		flex-direction: column;
		gap: .3rem;
	}
	.ranking .rank-higher .rank-5 .item-name {
		height: calc(2em + 60px);
	}
	.ranking .rank-higher .itemBox {
		gap: .5rem;
	}
	.ranking .rank-higher .itemBox figure {
		width: 100%;
	}
	.ranking .rank-higher .itemBox > div {
		width: 100%;
		gap: 1rem;
	}	
	.ranking .rank-higher .description {
		line-height: 1.4;
	}
	.ranking .rank-higher .linkBtn {
		margin:0;
	}

	.ranking .rank-nomal {
		flex-wrap: wrap;
		margin-block-start: 2rem;
	}	
	.ranking .rank-nomal > li {
			width: calc((100% - 1rem)/2);
			display: flex;
	}

	ul.voice {
		gap: 1rem;
		margin: 1rem 0;
	}
	ul.voice li {
		padding: 1rem;
		width: calc((100% - 1rem) / 2);
	}
	.voice-item__text {
		line-height: 1.4;
	}
}

