html,body{
	height: fit-content;
	margin: 0;
}

#container{
	width: 100%;
	height: fit-content;
	margin: 0;
	display: flex;
	justify-content: center;
	align-items: start;
	background-color: var(--custom-background-color);
}

#wrap1{
	margin: 0;
	width: 100%;
	max-width: 1000px;
	display: grid;
	grid-auto-rows: auto;

	column-gap: 8px;
	row-gap: 20px;

	grid-template-columns: 1fr 4fr;
	grid-template-rows: 180px auto 1fr auto auto auto auto auto;
	grid-template-areas:
		"lowb lowb"
		"head head"
		"imag pnow"
		"wavp wavp"
		"trak trak"
		"info info"
		"foot foot"
		;
}@media screen and (min-width: 600px){
	#wrap1{
		margin: 0 5% 0 5%;
		gap: 20px;
		grid-template-columns: 1fr 6.4fr;
		grid-template-rows: 180px auto 1fr auto auto auto;
		grid-template-areas:
			"lowb lowb"
			"head head"
			"imag pnow"
			"imag wavp"
			"info trak"
			"foot foot"
			;
	}
}

#album_header{
	grid-area: head;
	height: fit-content;
	padding: 10px 30px 30px 30px;
	background-color: var(--custom-header-background);
	background-image: var(--custom-header-backimage);
	background-size: cover;
	display: grid;
	gap: 2px;
	grid-template-columns: 6.5em auto;
	grid-template-areas:
		"titl titl"
		"cdid date"
		"cmnt cmnt"
		;
}@media screen and (min-width: 600px){
	#album_header{
		grid-template-columns: 1fr;
		grid-template-rows: 3.2fr 1fr 1.3fr 4.3fr;
		grid-template-areas:
			"titl"
			"cdid"
			"date"
			"cmnt"
			;
	}
}

#album_title_here{
	grid-area: titl;
	width: 100%;
	padding-top: 7px;
	margin: 0;
	color: var(--custom-title-color);
	font-size: clamp(1em, 5vw, 2em);

}

#album_id_here{
	grid-area: cdid;
	max-height: 1em;
	padding-left: 5px;
	margin-top: 3px;
	text-align: right;
	display: flex;
	align-items: end;
	color: var(--custom-id-date-color);
	font-size: clamp(1.0em, 2.0vw, 1.0em);
}

#album_date_here{
	grid-area: date;
	min-width: 110px;
	max-height: 1em;
	margin-top: 3px;
	padding-left: 5px;
	text-align: right;
	display: flex;
	align-items: end;
	color: var(--custom-id-date-color);
	font-size: clamp(1.0em, 2.0vw, 1.0em);
}

#album_comment_here{
	grid-area: cmnt;
	padding: 8px 5px 0 5px;
	color: var(--custom-comment-color);
	font-size: clamp(1.0em, 1.5vw, 1.1em);
}

#album_image_area{
	grid-area: imag;
	width: 100%;
	height: 100%;
	max-width: 200px;
	min-width: 50px;
	margin: 0 auto;
	display: flex;
	justify-content: center;
	align-items: center;
}@media screen and (min-width: 600px){
	#album_image_area{
		width: 200px;
		align-items: start;
	}
}
.album_image_size{
	width: 85%;
	aspect-ratio: 1;
	box-shadow: 2px 10px 10px -5px rgba(0, 0, 0, 0.6);
}@media screen and (min-width: 600px){
	.album_image_size{
	width: 92%;
		box-shadow: 2px 10px 10px -5px rgba(0, 0, 0, 0.8);
	}
}

#info_area{
	grid-area: info;
	padding: 0 10px 0 10px;
	font-size: 4.0vw;
	display: grid;
	gap: 5px;
	grid-template-columns: 1fr;
	grid-template-areas:
		"infText"
		"banblock"
		;
	justify-items: center;
	align-items: center;
}@media screen and (min-width: 600px){
	#info_area{
		font-size: 0.9em;
		padding: 0;
		gap: 0;
		grid-template-columns: 1fr;
		grid-template-rows: 3.5vh 20vh auto;
		grid-template-areas:
			"infText"
			"banblock"
			;		
		justify-items: center;
		align-items: start;
	}
}
#info_area #info_text{
	grid-area: infText;
	width: fit-content;
	text-align: center;
	padding-top: 15px;
}@media screen and (min-width: 600px){
	#info_area #info_text{
		margin-top: 0;
		padding-top: 0;
		margin-bottom: 20px;
	}
}

#info_area img{
	width: 120px;
	aspect-retio: 1;
}@media screen and (min-width: 600px){
	#info_area img{
		width: 150px;
		aspect-retio: 1;
	}
}

#info_area #banBlock{
	grid-area: banblock;
	width: fit-content;
	display: flex;
	flex-direction: row;
//	border: 1px solid;
}@media screen and (min-width: 600px){
	#info_area #banBlock{
		flex-direction: column;
	}
}

#playnow {
	grid-area: pnow;
	margin: 0;
	background-color: var(--custom-waveform-background);
}

#playnow #music_title{
	height:3em;
	margin-right: 0;
	display: flex;
	align-items: center;
	font-size: 1.5em;
}

/*再生中の曲名表示部分*/
#playing_title{
	margin-left: 10px;
}

#waveplay{
	grid-area: wavp;
	margin: 0;
	background-color:  var(--custom-waveform-background);
}

#album_tracks{
	grid-area: trak;
	max-height: 40em;
	overflow: auto;
	padding-top: 10px;
	background-color: var(--custom-track-background-alt);
}

#each_tracks{
	height: fit-content;
	margin: 0 0 0.7em 0;
	background-color: var(--custom-track-background);
}

.trackText{
	text-align: left;
}

#lowWrap{
	grid-area: lowb;
	width: 100%;
	display: grid;
	gap: 0;
	grid-template-areas: "ArrL AlbmSel ArrR";
	grid-template-columns: 20px auto 20px;
}

#arrowLeft{
	grid-area: ArrL;
	width: 20px;
	display: flex;
	position: relative;
	justify-items:center;
}
#arrowRight{
	grid-area: ArrR;
	width: 20px;
	display: flex;
	position: relative;
	justify-items:center;
}

#arrowLeft img{
	width: 100%;
	height: 50%;
	margin: auto;
}
#arrowRight img{
	width: 100%;
	height: 50%;
	margin: auto;
	transform: scale(-1, 1);
}

#low_block{
	grid-area: AlbmSel;
	width: 97%;
	margin: auto;
	background-color: var(--custom-low_block-background);
	overflow-x: auto;
	overflow-y: hidden;
	white-space: nowrap;
	scroll-behavior: initial;
	display: flex;
	flex-direction: row;
	position: relative;
	align-items: center;
	justify-items:center;
}

#low_block img{
	width: 150px;
	height: 150px;
	aspect-ratio: 1;
	object-fit: cover;
	cursor: pointer;
}

img.hover-brightness {
	transition: 0.3s;
	filter: brightness(0.5);
}

img.hover-brightness:hover {
	filter: brightness(1.0);
}

img.jacketImg{
}

#footer{
	grid-area: foot;
	background-color: var(--custom-footer-background);
	height: 150px;
	display: flex;
	gap: 20px;
	flex-direction: column;
	align-items: center;
	justify-content: start;
}

.foottext{
}

/*再生・停止ボタンのサイズ*/
.start_stop_icon{
	width: 40px;
	height: 40px;
}

.start_stop_icon_tr{
	width: 25px;
	height: 25px;
	margin-right: 1em;
}

#playnow button,
#album_tracks button{
	background-color: transparent;
	cursor : pointer;
	display: flex;
	align-items: center;
	border: none;
	font-family : inherit;
	font-size: inherit;
}

#waveplay button{
}

#album_tracks button{
	color: var(--custom-track-color);
	font-size: 1.2em;
	position: relative;
	top: 3px;
}

.vol-box{
	height: 1em;
	/*このフォントは固定*/
	font-family: var(--font-biz);
	font-weight: var(--font-biz-bold);
}

.volume-label{
	position: relative;
	top: 0px;
}

/*==================
Sliderのデザイン調整
==================*/
#volume{
	appearance:none;
	height:0.7em;
	background-color:#fff;
	width:200px;
	border:none;
}

/*Chrome トラック*/
#volume::-webkit-slider-runnable-track {
	background-color:#999;
	height:3px;
	margin:10%;
}
    
/*Firefox トラック*/
#volume::-moz-range-track {
	background-color:#999;
	height:3px;
	margin:10%;
}

/*Chrome ボタン*/
#volume::-webkit-slider-thumb {
	appearance:none;
	background-color:#000;
	height:5px;
	width:5px;
	border-radius: 50%;
	transform:scale(3);
}

/*Firefox ボタン*/
#volume::-moz-range-thumb {
	background-color:#999;
	height:5px;
	width:0.5px;
	border-radius: 50%;
	transform:scale(3);
}

