@charset "utf-8";
/* CSS Document */

/*------------------------------
 ▼共通デザイン（モバイル向け）
 -------------------------------*/

body {
	font-family: "YuGothic","Yu Gothic Medium",sans-serif;
	font-size: 16px;
	color: #424e64;
	line-height:1.8;
}

.bg {
	width: 100%;
	position: fixed;
	height: 100%;
}

.main__inner {
	position: relative;
	z-index: 1;
}

.main-logo {
	width: 100%;
	max-width: 600px;
	display: block;
	margin: 0 auto;
	padding: 50px 16px 0 16px;
}

.top__txt {
	max-width: 800px;
	margin: 24px 16px 24px 16px;
	color: #fff;
	font-weight: bold;
}

.ranking {
	padding: 0 16px 24px 16px;
	max-width: 800px;
	margin: 0 auto;
}

.ranking__title,.contents__title {
	color: #ffffff;
	font-family: 'Jost', sans-serif;
	font-style: italic;
	font-size: 40px;
}

.top-rank,.middle-rank {
	margin: 0 0 24px 0;
}

.ranking__card {
	display: flex;
	position: relative;
	box-shadow: rgba(87, 110, 129, 0.4) 0px 4px 20px;
	cursor: pointer;
	background: #ffffff;
	margin: 0 0 16px 0;
}

.top-rank__number {
	position:absolute;
	top: -14px;
	left: -13px;
	width: 50px;
}

.number {
	position:absolute;
	top: -2px;
	left: 4px;
	color: #ffffff;
	font-size: 18px;
	font-weight: bold;
	font-family: 'Jost', sans-serif;
	font-style: italic;
}

/*順位の三角*/
.ranking__card_middle-rank::before {
	content: "";
	position: absolute;
	top: 0;
	left: 0;
	border: solid 26px #e80;
	border-right-color: transparent;
	border-bottom-color: transparent;
}

.ranking__card_low-rank::before {
	content: "";
	position: absolute;
	top: 0;
	left: 0;
	border: solid 26px #e80;
	border-right-color: transparent;
	border-bottom-color: transparent;
}

.card__img {
	min-width: 100px;
	max-width: 100px;
}

.card__img_medium {
	min-width: 100px;
	max-width: 100px;
}

.card__img_small {
	min-width: 100px;
	max-width: 100px;
}

.thumbnail {
	width: 100%;
	/* height: 105px; */
	vertical-align: bottom;
	object-fit: cover;
}

.thumbnail__medium {
	width: 100%;
	/* height: 78px; */
	vertical-align: bottom;
	object-fit: cover;
}

.thumbnail__small {
	width: 100%;
	/* height: 70px; */
	vertical-align: bottom;
	object-fit: cover;
}

.card__txt {
	position: relative;
	width: 60%;
	min-width: 0;
	padding: 8px 56px 8px 8px;
	white-space: nowrap;
	flex-grow: 1;
}

.song-neme {
	color: #c70000;
	letter-spacing: 0.5px;
	overflow: hidden;
	text-overflow: ellipsis;
	font-weight: bold;
}

.artist-neme {
	overflow: hidden;
	text-overflow: ellipsis;
	font-size: 14px;
	color: #A6A6A6;
}

.card__btn {
	background: #8AB4C8;
}

.btn {
	position: absolute;
	top: 50%;
	right: 16px;
	transform: translateY(-50%);
	width: 30px;
}

.contents {
	padding: 0 16px 24px 16px;
}

.contents__item {
	display: flex;
	flex-wrap: wrap;
}

.contents__img {
	width: 100%;
	border-radius: 6px;
	box-shadow: rgba(87, 110, 129, 0.4) 0px 4px 20px;
}

/*-------------------------------
 ▼大型画面向けデザイン（PCなど）
 --------------------------------*/
@media screen and (min-width: 769px){
	.top__txt_wrap {
		text-align: center;
	}
	
	.top__txt {
		display: inline-block;
		padding: 0 16px;
		text-align: left;
	}
	.bg {
		width: 100%;
	}
	
	.pc {
		display: flex;
		justify-content: center;
		margin: 0 40px;
	}
	.ranking {
		width: 75%;
		margin: 0;
	}
	
	.card__img {
		min-width: 150px;
		max-width: 150px;
	}
	
	.card__img_medium {
		min-width: 120px;
		max-width: 120px;
	}
	
	.card__img_small {
		min-width: 100px;
		max-width: 100px;
	}

	.song-neme {
		font-size: 20px;
	}

	.artist-neme {
		font-size: 16px;
	}

	.contents {
		position: sticky;
		top: 0;
		height: fit-content;
		width: 25%;
	}
	
	.contents__title {
		font-size:min(3.4vw,40px);
		line-height: 72px;
	}
}