@charset "utf-8";

:root {
	--d_red: #CC0000;
	--d_yellow: #FFE210;
	--s50: #80AF19;
}
main {
	background-color: var(--d_red);
	border-radius: 10px;
	padding: 80px 20px 20px;
	position: relative;
	margin-top: 40px;
}
/* h1
====================================================================================================*/
h1 {
	width: calc(100% - 40px);
	display: flex;
	justify-content: center;
	position: absolute;
	top: -60px;
	padding: 0;
	margin: 0;
	border: none;
}
h1 picture:nth-of-type(1) img {
	width: 200px;
	height: 200px;
}
h1 picture:nth-of-type(2) img {
	width: 750px;
	height: 120px;
	margin-top: 20px;
}
h1 picture:nth-of-type(3) img {
	width: 300px;
	height: 60px;
	margin-top: 70px;
}
/* article
====================================================================================================*/
main article {
	background-color: var(--white);
	padding: 30px 10px 20px;
}
main article > p {
	margin-left: 205px;
}
main article > p span:first-child {
	font-weight: bold;
	background: linear-gradient(transparent 50%, var(--d_yellow) 50%);
	display: inline-block;
	padding: 0 3px 0;
}
/* discount_itemBox
==============================*/
#discount_itemBox {
	display: flex;
	justify-content: space-between;
	margin: 30px 0 50px;
}
#discount_itemBox li {
	width: 240px;
}
#discount_itemBox li:nth-of-type(4) {
	display: none;
}
#discount_itemBox li a {
	display: block;
	border-radius: 5px;
	box-shadow: 1px 1px 2px rgb(0, 0, 0, 0.2);
	transition: 0.2s;
}
#discount_itemBox li a:hover {
	transform: translateY(2px);
	box-shadow: none;
	transition: 0.2s;
	opacity: 1;
}
#discount_itemBox li span {
	display: block;
	text-align: center;
	color: var(--white);
	font-size: 16px;
	font-weight: bold;
	padding: 6px 0;
	border-radius: 5px 5px 0 0;
}
#discount_itemBox li:nth-of-type(1) span {
	background-color: var(--d_red);
}
#discount_itemBox li:nth-of-type(2) span {
	background-color: var(--s50);
}
#discount_itemBox li:nth-of-type(3) span {
	background-color: var(--s60);
}
#discount_itemBox li:nth-of-type(4) span {
	background-color: var(--s80);
}
#discount_itemBox li:nth-of-type(5) span {
	background-color: var(--s100);
}
#discount_itemBox li:nth-of-type(6) span {
	background-color: var(--s120);
}
#discount_itemBox li div {
	padding: 10px;
	background-color: var(--white);
	border: solid 1px var(--gray);
	border-radius: 0 0 5px 5px;
	position: relative;
	height: 240px;
}
#discount_itemBox li picture:first-child img {
	width: 220px;
	height: 220px;
}
#discount_itemBox li picture:last-child img {
	width: 80px;
	height: 80px;
	position: absolute;
	top: 1px;
	left: 1px;
}
/* discount_category
==============================*/
#discount_category {
	display: grid;
	gap: 10px;
	grid-template-columns: repeat(6, 1fr);
}
#discount_category li a {
	display: block;
	height: 50px;
	line-height: 50px;
	color: var(--gray_d);
	font-size: 16px;
	padding-left: 50px;
	background-color: var(--white);
	border: solid 1px var(--gray);
	border-radius: 5px;
	box-shadow: 1px 1px 2px rgb(0, 0, 0, 0.2);
	transition: 0.2s;
	position: relative;
}
#discount_category li a::before {
	content: "";
	width: 40px;
	height: 40px;
	background-position: center;
	background-repeat: no-repeat;
	background-size: contain;
	position: absolute;
	top: 5px;
	left: 5px;
}
#discount_category li:nth-of-type(-n+6) a::before {
	background-image: url(/img/icon/50-box.png);
}
#discount_category li:nth-of-type(1) a::before {
	background-size: 50%;
}
#discount_category li:nth-of-type(2) a::before {
	background-size: 60%;
}
#discount_category li:nth-of-type(3) a::before {
	background-size: 70%;
}
#discount_category li:nth-of-type(4) a::before {
	background-size: 80%;
}
#discount_category li:nth-of-type(5) a::before {
	background-size: 90%;
}
#discount_category li:nth-of-type(6) a::before {
	background-size: 100%;
}
#discount_category li:nth-of-type(n+7):nth-of-type(-n+8) a::before {
	background-image: url(/img/icon/50-track-yamato.png);
}
#discount_category li:nth-of-type(n+9):nth-of-type(-n+11) a::before {
	background-image: url(/img/icon/50-track-post.png);
}
#discount_category li:nth-of-type(12) a::before {
	background-image: url(/img/icon/50-kansyo.png);
}
#discount_category li:nth-of-type(13) a::before {
	background-image: url(/img/icon/50-ad.png);
}
#discount_category li:nth-of-type(14) a::before {
	background-image: url(/img/icon/50-track.png);
}
#discount_category li a span {
	font-size: 20px;
	font-weight: bold;
}
#discount_category li:nth-of-type(1) a span {
	color: var(--s50);
}
#discount_category li:nth-of-type(2) a span {
	color: var(--s60);
}
#discount_category li:nth-of-type(3) a span {
	color: var(--s80);
}
#discount_category li:nth-of-type(4) a span {
	color: var(--s100);
}
#discount_category li:nth-of-type(5) a span {
	color: var(--s120);
}
#discount_category li:nth-of-type(6) a span {
	color: var(--s140);
}
#discount_category li a:hover {
	transform: translateY(2px);
	box-shadow: none;
	transition: 0.2s;
	opacity: 1;
}
#discount_category .arrow-gray::after {
	transform: rotate(90deg);
}
/* discount_Block
==============================*/
.discount_Block {
	margin: 50px 20px 0;
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
}
.discount_Block h2 {
	width: 100%;
	padding: 0 0 0 10px;
	border-bottom: none;
}
.discount_Block:nth-of-type(1) h2 {
	border-left: solid 15px var(--s50);
}
.discount_Block:nth-of-type(2) h2 {
	border-left: solid 15px var(--s60);
}
.discount_Block:nth-of-type(3) h2 {
	border-left: solid 15px var(--s80);
}
.discount_Block:nth-of-type(4) h2 {
	border-left: solid 15px var(--s100);
}
.discount_Block:nth-of-type(5) h2 {
	border-left: solid 15px var(--s120);
}
.discount_Block:nth-of-type(6) h2 {
	border-left: solid 15px var(--s140);
}
.discount_Block:nth-of-type(7) h2 {
	border-left: solid 15px var(--yamato);
}
.discount_Block:nth-of-type(n+8):nth-of-type(-n+11) h2 {
	border-left: solid 15px var(--post);
}
.discount_Block:nth-of-type(12) h2 {
	border-left: solid 15px var(--gray);
}
.discount_Block:nth-of-type(n+13):nth-of-type(-n+14) h2 {
	border-left: solid 15px var(--d_red);
}
.discount_l_btn {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 50px;
}
.discount_l_btn img {
	width: 400px;
	height: 220px;
}
.discount_l_ranking {
	display: flex;
	gap: 20px;
	margin-top: 45px;
}
.discount_l_ranking .product_rank {
	top: -45px;
	left: 10px;
}
.discount_l_ranking .appeal {
	width: 140px;
	height: 34px;
	line-height: 34px;
	text-align: center;
	color: var(--white);
	font-size: 16px;
	font-weight: bold;
	background-color: var(--d_red);
	border-radius: 5px 5px 0 0;
	position: absolute;
	top: -34px;
	right: 10px;
}
.discount_l_ranking .appeal span {
	font-size: 20px;
	font-weight: bold;
}
/* discount_inquiry
====================================================================================================*/
#discount_inquiry {
	margin-top: 100px;
}
#discount_inquiry h2 {
	text-align: center;
	padding: 0;
	border: none;
}
#discount_inquiry details {
	border: solid 1px var(--gray);
	border-radius: 5px;
	box-shadow: 1px 1px 2px rgb(0, 0, 0, 0.2);
	transition: 0.2s;
}
#discount_inquiry details:hover {
	transform: translateY(2px);
	box-shadow: none;
	transition: 0.2s;
	opacity: 1;
}
#discount_inquiry details[open] {
	transform: translateY(2px);
	box-shadow: none;
}
#discount_inquiry details + details {
	margin-top: 20px;
}
#discount_inquiry summary {
	list-style: none;
	padding-left: 40px;
	position: relative;
	font-size: 16px;
	padding: 20px 40px 20px 60px;
}
#discount_inquiry summary span, #discount_inquiry summary + p span {
	display: inline-block;
	width: 30px;
	line-height: 30px;
	text-align: center;
	font-size: 18px;
	color: var(--white);
	font-weight: bold;
	border-radius: 50%;
	margin-right: 10px;
	position: absolute;
	left: 20px;
}
#discount_inquiry summary span {
	background-color: var(--orange_d);
	top: 15px;
}
#discount_inquiry .arrow-gray::after {
	transform: rotate(90deg);
}
#discount_inquiry details[open] .arrow-gray::after {
	transform: rotate(-90deg);
}
#discount_inquiry summary + p {
	padding: 0 20px 20px 60px;
	position: relative;
	font-size: 16px;
}
#discount_inquiry summary + p span {
	background-color: var(--blue_d);
	top: -4px;
}
#discount_inquiry .button-brown {
	margin-top: 30px;
}