main{
	margin:148px auto 48px;
	width:auto;
}

article{
	h1{
		margin:16px;
		font-size:32px;
		font-weight:normal;
	}

	h2{
		position:relative;
		margin:48px 0 36px;
		font-size:26px;
		border:none;
		text-align:center;

		&::before{
			content:'';
			position:absolute;
			bottom:-10px;
			left:50%;
			display:inline-block;
			width:40%;
			height:5px;
			border-radius:5px;
			background:linear-gradient(to right, #fa709a 0%, #fee140 100%);
			transform:translateX(-50%);
		}

		&::after{
			content:"";
			position:absolute;
			top:50%;
			left:50%;
			width:50px;
			height:50px;
			border-radius:50%;
			background:#f9f9f9;
			transform:translate(-50%, -50%);
			z-index:-1;
		}

		&+p{
			margin:16px auto;
			width:1000px;
			text-align:center;
		}
	}

	h3{
		margin:24px auto;
		padding-left:8px;
		font-size:18px;
		color:#333;
		border-left:8px solid #c06;
	}

	.genre-search{
		margin:16px auto 24px;
		width:560px;

		p{
			margin-bottom:8px;
			width:100%;
			font-size:18px;
			font-weight:bold;
			text-align:center;
		}

		form{
			position:relative;
			display:flex;
			border:1px solid var(--gray);
			border-radius:8px;
			flex-wrap:wrap;
			overflow:hidden;
		
			input[name='word']{
				padding-left:16px;
				height:38px;
				flex:1;
			}
	
			button{
				width:40px;
				height:38px;
				font-size:11px;
				color:var(--back);
				background:var(--accent);
				text-align:center;
	
				i{
					display:block;
					margin-bottom:4px;
					color:var(--back);
				}
			}
		}
	}

	section{
		margin:72px auto 0;
		width:1000px;

		&:not(#rank):not(#reco):not(#newitem){
			h2{
				line-height:1.6;

				&:first-line{
					font-size:12px;
					font-weight:normal;
				}
			}
		}

		&#pointset{
			&>div{
				display:flex;
				margin:auto;
				width:1000px;
				flex-wrap:wrap;
				justify-content:space-between;

				&>div{
					width:480px;
				}
			}
		}
	}
}

/*--------------------------------------1.1.0.0 ------------------BREAD CRUMB */
.breadcrumb{
	display:flex;
	margin:0 16px;

	li{
		margin-right:16px;

		&:not(:first-child) a{
			padding-right:4px;
			text-decoration:underline;
		}
	}
}

.breadcrumb li span{
	display:block;
	position:relative;
	padding:2px 4px;
	color:var(--accent);
	text-decoration:underline;
}

.breadcrumb li:first-child span{
	color:var(--back);
	background:var(--accent);
	text-decoration:none;
}

.breadcrumb li:first-child span:after{
	content:'';
	display:block;
	position:absolute;
	top:0;
	right:-18px;
	width:0;
	height:0;
	border:9px solid transparent;
	border-left:9px solid var(--accent);
}


/*--------------------------------------1.2.0.0 -----------------------SLIDER */
.slider-banner{
	width:100%;
	overflow:hidden;
}

.slider-banner ul{
	display:inline-flex;
}

.slider-banner li{
	margin:0 8px;
	width:40vw;
	max-width:500px;
	box-shadow:0 2px 3px rgba(0,0,0,0.2);
}

/* SLIDE PANEL ---------------------------------------------------------------*/
.slide-panel{
	display:flex;
	padding:8px 0;
	align-items:center;
	justify-content:center;
}

/* SLIDE BUTTON --------------------------------------------------------------*/
#panel-left,
#panel-right{
	padding:8px;
	width:30px;
	height:30px;
	background:var(--accent);
	border-radius:50%;
	cursor:pointer;
	transition:.3s ease-in-out all;
}

#panel-left:hover,
#panel-right:hover{
	transform:scale(1.3);
}

/* SLIDE POSITION ------------------------------------------------------------*/
.slide-mater{
	display:flex;
	padding:8px 16px;
	justify-content:center;

	div{
		margin-right:4px;
		width:4px;
		height:4px;
		background:#aaa;
		border:2px solid #fff;
		border-radius:50%;
		box-sizing:unset;

		&.current{
			background:#c67178;
		}
	}
}


.set_pickup_banner{
	display:flex;
	margin:16px auto;
	width:1000px;
	justify-content:center;

	li{
		width:400px;
		box-shadow:0 2px 2px rgba(0,0,0,0.2);
		border-radius:8px;
		overflow:hidden;
	
		&:last-child{
			margin-left:16px;
		}
	}
}

.set_menu{
	display:flex;
	margin:48px auto;
	width:1000px;
	justify-content:center;

	li{
		display:flex;
		margin-left:16px;
		width:150px;
		justify-content:center;

		&:first-child{
			margin-left:0;
		}

		img{
			border-radius:50%;
			overflow:hidden;
		}

		p{
			margin-top:8px;
			text-align:center;
		}
	}

	&.fixed{
		position:fixed;
		bottom:0;
		margin:0;
		padding:24px;
		width:100%;
		background:#fff;
		z-index:9999;
		transition:transform 0.5s ease-in-out;
		transform:translateY(100%); /* 初期は画面下に隠す */

		&.active{
			transform: translateY(0); /* エフェクトで表示 */
		}
	}
}

/* RECOMMEND ITEM ---------------------------------------------*/
.recomend-item{
	display:flex;
	margin:auto;
	padding:8px;
	width:1000px;
	overflow-x:auto;

	li{
		position:relative;
		margin-right:8px;
		border-radius:4px;
		box-shadow:0px 3px 1px -2px rgba(0,0,0,.2), 0px 2px 2px 0px rgba(0,0,0,.14), 0px 1px 5px 0px rgba(0,0,0,.12);
		flex:0 0 170px;

		img{
			width:100%;
		}

		.name{
			display:-webkit-box;
			margin:4px 8px 0;
			height:24px;
			font-size:12px;
			color:#363540;
			overflow:hidden;
			text-align:left;
			text-overflow:ellipsis;
			-webkit-line-clamp:2;
		}

		.price{
			margin:8px;
			font-size:12px;
			color:#d00;
			text-align:right;

			s{
				font-size:10px;

				&::after{
					content:'→';
					margin:0 4px;
					font-size:10px;
				}
			}
		}

		&::after{
			display:flex;
			position:absolute;
			top:-5px;
			left:-5px;
			width:35px;
			height:35px;
			font-size:11px;
			color:#fff;
			border-radius:50%;
			align-items:center;
			justify-content:center;
			text-align:center;
		}

		&.pickup::after{
			content:'イチ\A押し';
			background:#fa744f;
		}

		&.newrelease::after{
			content:'新作';
			background:#40bad5;
		}

		&.restock::after{
			content:'再入荷';
			background:#61b15a;
		}

		&.recommend::after{
			/* content:'イチ\A押し';
			background:#fa744f; */
			line-height:1;
			font-size:12px;
			font-weight:bold;
		}

		&.hot::after{
			content:'人気';
			background:#d8345f;
		}

		&.trend::after{
			content:'急上昇';
			background:#e0144c;
		}

		&.sale::after{
			content:'お得';
			background:#d8345f;
		}
	}
}

/* RANKING LIST -----------------------------------------------*/
.ranking-list{
	display:grid;
	margin:auto;
	padding:8px 4px;
	width:1000px;
	flex-wrap:wrap;
	grid-template-columns: repeat(auto-fill, calc((100% - 32px) / 24));

	li{
		position:relative;
		margin:4px;
		border-radius:4px;
		box-shadow:0px 3px 1px -2px rgba(0,0,0,.2), 0px 2px 2px 0px rgba(0,0,0,.14), 0px 1px 5px 0px rgba(0,0,0,.12);
		counter-increment:ranking;
		grid-column:span 6;
		grid-row:span 1;

		&:first-child{
			grid-column:1 / 11;
			grid-row:1 / 3;
		}

		&:nth-child(2){
			grid-column:11 / 25;
			grid-row:1 / 2;
		}

		&:nth-child(3){
			grid-column:11 / 25;
			grid-row:2 / 3;
		}

		&:nth-child(4){
			grid-column:1 / 9;
		}

		&:nth-child(5){
			grid-column:9 / 17;
		}

		&:nth-child(6){
			grid-column:17 / 25;
		}

		&:nth-child(2),
		&:nth-child(3){
			a{
				display:flex !important;
			}

			div:first-child{
				width:50%;
			}
		}

		&::after{
			content:counter(ranking);
			display:flex;
			position:absolute;
			top:5px;
			left:0;
			width:20px;
			height:20px;
			font-size:10px;
			color:#fff;
			background:#58727F;
			border-radius:50%;
			align-items:center;
			justify-content:center;
		}
	}
}

.ranking-list img{
	display:block;
	width:100%;
}

.ranking-list li:nth-child(2) .contents,
.ranking-list li:nth-child(3) .contents{
	display:flex;
	flex-direction:column;
	justify-content:end;
}

.ranking-list .name{
	display:-webkit-box;
	margin:16px 16px 0;
	height:41px;
	line-height:1.3;
	font-size:16px;
	color:#393e46;
	overflow:hidden;
	text-align:left;
	text-overflow:ellipsis;
	-webkit-box-orient:vertical;
	-webkit-line-clamp:2;
}

.ranking-list li:nth-child(1) .name{
	height:48px;
	font-size:20px;
}

.ranking-list li:nth-child(2) .name,
.ranking-list li:nth-child(3) .name{
	height:45px;
	font-size:18px;
}

.ranking-list .eval{
	display:flex;
	margin:16px 16px 0;
	align-items:end;
	justify-content:flex-end;
}

.ranking-list p[data-rate='0']{
	display:none;
}

.ranking-list .eval span:first-child{
	display:block;
    font-family:'Material Symbols Outlined';
	font-variation-settings:'FILL' 1,
	'wght' 400,
	'GRAD' 0;
    font-size:24px;
    color:transparent;
    background:linear-gradient(90deg, #ddd);
    background-clip:text;
}

.ranking-list li:first-child .eval span:first-child{
	font-size:36px;
}

.ranking-list li:nth-child(2) .eval span:first-child,
.ranking-list li:nth-child(3) .eval span:first-child{
	font-size:28px;
}

.ranking-list .eval span:last-child{
	margin-left:8px;
	font-size:14px;
	color:#393e46;
}

.ranking-list li:first-child .eval span:last-child{
	font-size:18px;
}

.ranking-list li:nth-child(2) .eval span:last-child,
.ranking-list li:nth-child(3) .eval span:last-child{
	font-size:16px;
}

.ranking-list .tag{
	display:flex;
	margin:16px 16px 0;
	flex-wrap:wrap;
}

.ranking-list .tag span{
	display:flex;
	margin-right:8px;
	padding:4px;
	font-size:12px;
	background:#f9f9f9;
	border:1px solid #ddd;
	border-radius:2px;
	align-items:center;
	justify-content:center;
}

.ranking-list .tag span:nth-child(n+3){
	display:none;
}

.ranking-list li:first-child .tag span:nth-child(2){
	display:flex;
}

.ranking-list .tag span.movie_tag{
	color:#fff;
	background:#d61c4e;
	border:1px solid #d61c4e;
}

.ranking-list .price{
	margin:16px;
	font-size:18px;
	color:#d00;
	text-align:right;
}

.ranking-list .price s{
	font-size:12px;
	color:#555;
}

.ranking-list .price s::after{
	content:'→';
	margin:0 2px;
	font-size:12px;
	color:#555;
}

.link_button{
	margin:auto;
	text-align;center;

	a{
		display:block !important;
	}
}

.list-short{
	display:flex;
	margin:32px auto;
	flex-wrap:wrap;
	justify-content:center;

	li{
		margin-right:4px;
		width:143.6px;
		border-top:4px solid var(--surface);

		&:last-child{
			margin-right:0;
		}
	}
}

/* NORMAL SHORT LIST ---------------------------------------------------------*/
.list-short .thumb img{
	margin:auto;
	width:auto;
	height:143.6px;
}

.list-short .descript{
	padding:8px;
	background:var(--surface);
}

.list-short .name{
	display:-webkit-box;
	height:34px;
	line-height:1.4;
	font-size:12px;
	-webkit-box-orient:vertical;
	-webkit-line-clamp:2;
	overflow:hidden;
}

.list-short .price{
	margin-top:8px;
	font-size:16px;
	color:#d00;
}

.list-short .price s{
	display:block;
	margin-bottom:8px;
	font-size:12px;
	color:#555;
	text-decoration:line-through;
}

.choose_point ul{
	display:flex;
	margin:10px 0;
	background:rgba(255,255,255,0.9);
	z-index:9999;
	white-space: nowrap;
	overflow-x: auto;
}

.choose_point ul li{
	border-right:1px solid #ddd;
	border-bottom:2px solid #eee;
}

.choose_point ul li:last-child{
	border-right:none;
}

.choose_point ul li a{
	display:block;
	width:100%;
	padding:15px;
	font-size:13px;
	color:#363540;
	text-align:center;
}

.choose_point ul li.current{
	border-bottom:2px solid #0cc;
	font-weight:bold;
}
/* TAG NAVIGATION ---------------------------------------------*/
.tag-nav{
	position:sticky;
	top:112px;
	bottom:0;
	display:flex;
	margin:0 auto 30px;
	width:1000px;
	background:rgba(255,255,255,0.9);
	z-index:99;
	white-space:nowrap;
	overflow-x:auto;
	justify-content:center;
}

.tag-nav li{
	border-right:1px solid #ddd;
	border-bottom:2px solid #eee;
}

.tag-nav li:last-child{
	border-right:none;
}

.tag-nav li a{
	display:block !important;
	width:100%;
	padding:15px;
	font-size:13px;
	color:#363540;
	text-align:center;
}

.tag-nav li.current{
	border-bottom:2px solid #0cc;
	font-weight:bold;
}


