@charset "utf-8";
/*------------------------------------------------------
 	説明
/*------------------------------------------------------
	全CSS共通の情報を記述する。

	memo:
		・ブレイクポイントは、ブートストラップ（https://getbootstrap.jp/docs/5.0/layout/breakpoints/）を参考に決定。

		・メディアクエリで「未満/より大きい」の表し方
			max-width: 1200px --> widthが1200px以下
			max-width: 1199.98px --> widthが1200px未満
			min-width: 1200px --> widthが1200px以上
			min-width: 1200.002px --> widthが1200pxより大きい

			例えば「max-width: 1199.98px」は、1200px未満という意味。1200から0.02を差し引いた数を指定することで未満を実現できる。

		IE
		@media all and (-ms-high-contrast: none) {}

		Chrome
		@media screen and (-webkit-min-device-pixel-ratio:0) {}

		Firefox
		@-moz-document url-prefix() {}

		Safari
		::-webkit-full-page-media, :future, :root{}
*/

:root {

	/* フォントサイズ基準(rem)*/
	font-size: 16px; 			/* 1rem = 16px */
	
	/* 色 */
	--sns-twitter-color: #1da1f2;
	--sns-hatenabookmark-color: #00a4de;
	--sns-line-color: #06c755;
	--magenta: #da50fa;
	--turquoise: #00afcc;
	--sky: #9dd4ff;
	--aqua: #afd;
	--gold: #d3aa44;
	--wall-color: #efefff;
	--wall-color-2: #fdfbff;
	--wall-color-3: #e8e8ee;
	--theme-color: #041428;
	--subtheme-color: #05395f;
	--character-color: #333;
	--character-color-2: #666;
	--character-color-3: #999;
	--color-disabled: #ddd;
	--color-disabled-2: #f9f9f9;
	--shadow: rgba(90, 110, 121, 0.4);

	/* サイジング */
	--platinum-ratio: 1.732;	/* 白金比 */
	--golden-ratio: 1.618;		/* 黄金比 */
	--silver-ratio: 1.414;		/* 白銀比 */
	--amp: 1.910;				/* google推奨サイズ */
	--aspect-16_9: 1.778;		/* アスペクト比(16:9) */

	/* ホバー演出 */
	--hover-color: #4969fd;
	--hover-background-color: #bbf; 
	--hover-brightness: 125%;
	--hover-transition: 400ms;

	/* ボタン演出 */
	--push-brightness: 180%;
	--push-transition: 150ms;
	--slide-transition: 500ms;

	/* 全ての width ------------------------------------------------------- */
	--inner-width: 95%;
	--inner-margin: 2.5%;				/* (100 - inner-width) / 2 */

	/* width >= 1200 ------------------------------------------------------- */
	--main-width: 1150px;
	--content-width: 750px;
	--sidebar-width: 380px;				/* + margin-left: 20px */
	
	/* 992 <= width < 1200 ------------------------------------------------------- */
	--main-width-992_1200: 950px;
	--content-width-992_1200: 620px;
	--sidebar-width-992_1200: 310px;	/* + margin-left: 20px */
}

* {
	-webkit-appearance: none;
	appearance: none;
	-webkit-text-size-adjust: 100%;		/* safari の文字サイズ自動調整を無効（デフォルト: auto） */
}

body {
	display: flex;
	justify-content: center;
	height: auto;
	width: 100%;
	background-color: #fff;
	margin: 0;
	padding: 0;
	font-family: sans-serif;
	overflow: overlay;					/* スクロールバーを内側に表示 */
}

a {
	text-decoration: none;
	font-weight: bold;
}

article {
	color: var(--character-color);
}

p {
	display: block;
	margin-bottom: 1.5rem;
}

nav {
	margin: 0;
	padding: 0;
}

time {
	color: var(--character-color-3);
}

img {
	display: block;
}

table {
	border-collapse: collapse;
}

input[type=checkbox] {
	display: none;
}

input,
textarea {
	box-sizing: border-box;
	-moz-box-sizing: border-box;
  	-webkit-box-sizing: border-box;
}

.thumbnail-container {
	display: flex;
	justify-content: center;
	height: auto;
	width: 100%;
}

.thumbnails {
	display: block;
	width: 100%;
	aspect-ratio: var(--aspect-16_9) / 1;
}

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

	article {
		font-size: 1rem;
	}

	p {
		line-height: 1.8;
	}

	svg.icons {
		height: 1rem;
		width:  1rem;
	}

	.thumbnails {
		margin-top: 5px;
		margin-bottom: 5px;
	}
}

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

	article {
		font-size: 0.8rem;
	}

	p {
		line-height: 1.8;
	}

	.thumbnails {
		margin-top: 5px;
		margin-bottom: 5px;
	}
}

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

	article {
		font-size: 1rem;
	}

	p {
		line-height: 2.2;
	}

	.thumbnails {
		margin-top: 5px;
		margin-bottom: 5px;
	}
}

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

	article {
		font-size: 1rem;
	}

	p {
		line-height: 2.2;
	}

	.thumbnails {
		margin-top: 3px;
		margin-bottom: 3px;
	}
}

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

	article {
		font-size: 0.9rem;
	}

	p {
		line-height: 2;
	}
	
	.thumbnails {
		margin-top: 3px;
		margin-bottom: 3px;
	}
}

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