/*------------------------------------------------------
 	説明
/*------------------------------------------------------
	サイトの骨格（ヘッダー、記事部分、またはサイドバーの位置関係等）となるタグのデザインを記述する。
*/

/* 共通 */
#body-wrapper {
	height: 100%;
	width: 100%;
	margin: 0;
	padding: 0;
}

#main-wrapper {
	height: auto;
	margin: 0;
	padding: 0;
	opacity: 0.95;
}

#content-container,
ul#date-container,
#recommend-container {
	width: var(--inner-width);
	margin-left: var(--inner-margin);
}

#main-container {
	display: inline-block;
	height: 100%;
	overflow: hidden;
	background-color: #fff;
}

#date-container {
	display: flex;
	justify-content: left;
	margin-top: 0;
	margin-bottom: 0;
	padding: 0;
	list-style-type: none;
}

#date-container li {
	display: flex;	
	width: auto;
}

#icon-clock,
#icon-undo {
	position: relative;
	fill: var(--character-color-3);	/* fill == color*/
}

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

	#body-wrapper {
		background-color: var(--wall-color);
	}
	
	#main-wrapper {
		display: flex;
		justify-content: center;
		width: 100%;
		min-width: var(--main-width);
	}

	#main-container {
		width: var(--content-width);
		min-height: 500px;
		padding-bottom: 50px;
		vertical-align: top;
		border-radius: 4px 4px 4px 4px;
		box-shadow: 1px 2px 10px 0 var(--shadow);
	}

	#content-container {	/* 実際にページの主要(文章が記される)領域 */
		min-height: 500px;
	}

	.date-item-wrapper {
		height: 30px;
		line-height: 2.2;
		padding-right: 1rem;
		font-size: 1rem;
	}

	#icon-clock,
	#icon-undo {
		top: 2px;
		left: 1px;
		height: 1rem;
		width: 1rem;
	}

	#recommend-container {
		min-height: 500px;
	}
}

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

	#body-wrapper {
		background-color: var(--wall-color);
	}

	#main-wrapper {
		display: flex;
		justify-content: center;
		width: 100%;
		min-width: var(--main-width-992_1200);
	}

	#main-container {
		width: var(--content-width-992_1200);
		min-height: 500px;
		padding-bottom: 50px;
		vertical-align: top;
		border-radius: 4px 4px 4px 4px;
		box-shadow: 1px 2px 10px 0 var(--shadow);
	}

	#content-container {
		min-height: 500px;
	}

	.date-item-wrapper {
		height: 24px;
		line-height: 2;
		padding-right: 0.8rem;
		font-size: 0.8rem;
	}

	#icon-clock,
	#icon-undo {
		top: 1px;
		height: 0.8rem;
		width: 0.8rem;
	}

	#recommend-container {
		min-height: 500px;
	}
}

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

	#body-wrapper {
		background-color: #fff;
	}

	#main-wrapper {
		display: flex;
		flex-flow: column;
		align-items: center;
		width: 94%;
		margin-left: 3%;
		background-color: #fff;
	}

	#main-container {
		width: 100%;
		padding-bottom: 50px;
		vertical-align: top;
	}

	#content-container {
		min-height: 500px;
	}

	.date-item-wrapper {
		height: 30px;
		line-height: 2.2;
		padding-right: 20px;
		font-size: 1rem;
	}

	#icon-clock,
	#icon-undo {
		top: 2px;
		height: 1rem;
		width: 1rem;
	}

	#recommend-container {
		min-height: 500px;
	}
}

/* (576px <= width < 768px) */
@media (min-width: 576px) and (max-width: 767.98px) {

	#main-wrapper {
		width: 100%;
	}

	#main-container {
		width: 100%;
		padding-bottom: 10px;
		vertical-align: top;
	}

	.date-item-wrapper {
		height: 30px;
		line-height: 2.2;
		padding-right: 20px;
		font-size: 1rem;
	}

	#icon-clock,
	#icon-undo {
		top: 2px;
		height: 1rem;
		width: 1rem;
	}
}

/* (320px <= width < 576px) */
@media (min-width: 320px) and (max-width: 575.98px) {

	#main-wrapper {
		width: 100%;
	}

	#main-container {
		width: 100%;
		padding-bottom: 10px;
		vertical-align: top;
	}

	.date-item-wrapper {
		height: 30px;
		line-height: 2.2;
		padding-right: 20px;
		font-size: 0.9rem;
	}

	#icon-clock,
	#icon-undo {
		top: 1.5px;
		height: 0.8rem;
		width: 0.8rem;
	}
}

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