/*------------------------------------------------------
 	説明
/*------------------------------------------------------
*/

/* 共通 */
.sidebar {
	height: auto;
	width: 100%;
	margin-top: 8px;
	margin-bottom: 8px;
}

#sidebar-container {
	display: inline-block;
	height: auto;
	background-color: #fff;
}

#profile-container,
#latest-container, 
#category-container, 
#popular-container, 
#archive-container,
.profile-text {
	width: var(--inner-width);
	margin-left: var(--inner-margin);
}

h5.sidebar-title {
	padding-left: var(--inner-margin);
}

/* プロフィールtableのデザイン ------------------------------------------------------- */
table.member-profiles-sb td {
	border: none;
}

td#profile-name-sb {
	width: auto;
	color: var(--character-color-2);
	font-weight: bold;
	vertical-align: bottom;
}

a.profile-anchors {
	color: var(--character-color);
	transition: var(--hover-transition);
}

/* PC */
@media (min-width: 1200px) {

	#sidebar-container {
		width: var(--sidebar-width);
		max-height: 2960px;
		margin-left: 20px; 
		margin-bottom: 120px;
		border-radius: 4px 4px 4px 4px;
		box-shadow: 1px 2px 10px 0 rgba(90, 110, 121, 0.4);
	}

	#profile-container,
	#latest-container, 
	#category-container, 
	#popular-container, 
	#archive-container {
		margin-top: 15px;
		margin-bottom: 15px;
	}

	h5.sidebar-title {
		font-size: 1rem;
	}
	
	#category,
	#archive {
		height: 270px;
		width: 100%;
		overflow-y: scroll;
		white-space: nowrap;
	}

	/* プロフィールtableのデザイン ------------------------------------------------------- */
	.profile-text {
		height: 200px;
		font-size: 1rem;
	}

	a.profile-anchors {
		font-size: 1rem;
	}

	a.profile-anchors:hover {
		color: var(--hover-color);
		filter: brightness(var(--hover-brightness));
		transition: var(--hover-transition);
	}

	td#profile-image-sb {
		height: 100px;
		width: 100px;
		line-height: 0;
	}

	td#profile-image-sb img {
		height: 100px;
		width: 100px;
	}

	td#profile-name-sb {
		height: 40px;
		line-height: 2;
		padding-left: 15px;
		font-size: 1.25rem;
	}
	
	td#profile-details-sb {
		height: 30px;
		line-height: 1.8;
		padding-left: 15px;
	}

	td#profile-follow-button-sb {
		height: 30px;
		line-height: 0.7;
		padding-left: 15px;
	}

	td#profile-text-sb {
		height: 100px;
		padding: 5px 0 5px 0;
	}
}

/* (992px <= width < 1200px) */
@media (min-width: 992px) and (max-width: 1199.98px) {

	#sidebar-container {
		width: var(--sidebar-width-992_1200);
		max-height: 2430px;
		margin-left: 20px; 
		margin-bottom: 96px;
		border-radius: 4px 4px 4px 4px;
		box-shadow: 1px 2px 10px 0 rgba(90, 110, 121, 0.4);
	}

	#profile-container,
	#latest-container, 
	#category-container, 
	#popular-container, 
	#archive-container {
		margin-top: 15px;
		margin-bottom: 15px;
	}

	h5.sidebar-title {
		font-size: 0.9rem;
	}
	
	#category,
	#archive {
		height: 230px;
		width: 100%;
		overflow-y: scroll;
		white-space: nowrap;
	}

	/* プロフィールtableのデザイン ------------------------------------------------------- */
	.profile-text {
		height: 160px;
		font-size: 0.8rem;
	}

	a.profile-anchors {
		font-size: 0.8rem;
	}

	a.profile-anchors:hover {
		color: var(--hover-color);
		filter: brightness(var(--hover-brightness));
		transition: var(--hover-transition);
	}

	td#profile-image-sb {
		height: 80px;
		width: 80px;
		line-height: 0;
	}

	td#profile-image-sb img {
		height: 80px;
		width: 80px;
	}

	td#profile-name-sb {
		height: 32px;
		line-height: 2;
		padding-left: 12px;
		font-size: 1rem;
	}
	
	td#profile-details-sb {
		height: 24px;
		line-height: 1.8;
		padding-left: 12px;
	}

	td#profile-follow-button-sb {
		height: 24px;
		line-height: 0.7;
		padding-left: 12px;
	}

	td#profile-text-sb {
		height: 80px;
		padding: 4px 0 4px 0;
	}

}

/* SP */
/* (768px <= width < 992px) */
@media (min-width: 768px) and (max-width: 991.98px) {

	#sidebar-container {
		width: var(--inner-width);
	}

	#profile-container,
	#latest-container, 
	#category-container, 
	#popular-container, 
	#archive-container {
		margin-top: 20px;
		margin-bottom: 20px;
	}

	#latest-container {
		display: none;
	}

	h5.sidebar-title {
		font-size: 1rem;
	}

	#category,
	#archive {
		height: auto;
		width: 100%;
	}

	/* プロフィールtableのデザイン ------------------------------------------------------- */
	.profile-text {
		height: 240px;
		font-size: 1rem;
	}

	a.profile-anchors {
		font-size: 1rem;
	}

	td#profile-image-sb {
		height: 120px;
		width: 120px;
		line-height: 0;
	}

	td#profile-image-sb img {
		height: 120px;
		width: 120px;
	}

	td#profile-name-sb {
		height: 48px;
		line-height: 2;
		padding-left: 18px;
		font-size: 1.4rem;
	}
	
	td#profile-details-sb {
		height: 36px;
		line-height: 1.8;
		padding-left: 18px;
	}

	td#profile-follow-button-sb {
		height: 36px;
		line-height: 0.7;
		padding-left: 18px;
	}

	td#profile-text-sb {
		height: 120px;
		padding: 6px 0 6px 0;
	}
}

/* (576px <= width < 768px) */
@media (min-width: 576px) and (max-width: 767.98px) {
	
	#sidebar-container {
		width: 100%;
	}

	#profile-container,
	#latest-container, 
	#category-container, 
	#popular-container, 
	#archive-container {
		margin-top: 20px;
		margin-bottom: 20px;
	}

	#latest-container {
		display: none;
	}

	h5.sidebar-title {
		font-size: 1rem;
	}

	#category,
	#archive {
		height: auto;
		width: 100%;
	}

	/* プロフィールtableのデザイン ------------------------------------------------------- */
	.profile-text {
		height: 240px;
		font-size: 1rem;
	}

	a.profile-anchors {
		font-size: 1rem;
	}

	td#profile-image-sb {
		height: 120px;
		width: 120px;
		line-height: 0;
	}

	td#profile-image-sb img {
		height: 120px;
		width: 120px;
	}

	td#profile-name-sb {
		height: 48px;
		line-height: 2;
		padding-left: 18px;
		font-size: 1.4rem;
	}
	
	td#profile-details-sb {
		height: 36px;
		line-height: 1.8;
		padding-left: 18px;
	}

	td#profile-follow-button-sb {
		height: 36px;
		line-height: 0.7;
		padding-left: 18px;
	}

	td#profile-text-sb {
		height: 120px;
		padding: 6px 0 6px 0;
	}
}

/* (320px <= width < 576px) */
@media (min-width: 320px) and (max-width: 575.98px) {
		
	#sidebar-container {
		width: 100%;
	}

	#profile-container,
	#latest-container, 
	#category-container, 
	#popular-container, 
	#archive-container {
		margin-top: 20px;
		margin-bottom: 20px;
	}

	#latest-container {
		display: none;
	}

	h5.sidebar-title {
		font-size: 1rem;
	}

	#category,
	#archive {
		height: auto;
		width: 100%;
	}

	/* プロフィールtableのデザイン ------------------------------------------------------- */
	.profile-text {
		height: 200px;
		font-size: 0.9rem;
	}

	a.profile-anchors {
		font-size: 0.9rem;
	}

	td#profile-image-sb {
		height: 100px;
		width: 100px;
		line-height: 0;
	}

	td#profile-image-sb img {
		height: 100px;
		width: 100px;
	}

	td#profile-name-sb {
		height: 40px;
		line-height: 2;
		padding-left: 18px;
		font-size: 1.25rem;
	}
	
	td#profile-details-sb,
	td#profile-follow-button-sb {
		height: 30px;
		line-height: 1.8;
	}

	td#profile-details-sb {
		height: 30px;
		line-height: 1.8;
		padding-left: 18px;
	}

	td#profile-follow-button-sb {
		height: 36px;
		line-height: 0.7;
		padding-left: 18px;
	}

	td#profile-text-sb {
		height: 100px;
		padding: 4px 0 4px 0;
	}
}

/* (width < 320px) */
@media (max-width: 319.98px) {
	/* TODO */
}
