/* メインフォント */
@font-face {
	font-family: 'NotoSansJP';
	src: url('../fonts/NotoSansJP/NotoSansJP-Regular.otf') format('truetype');
	font-weight: 400;
	font-style: normal;
	font-display: swap;
}

/* サブフォント */
@font-face {
	font-family: 'Bebas Neue';
	src: url('../fonts/BebasNeue/BebasNeue-Regular.ttf') format('truetype');
	font-weight: 400;
	font-style: normal;
	font-display: swap;
}

/* プログラムフォント */
@font-face {
	font-family: 'inconsolata';
	src: url('../fonts/inconsolata/inconsolata/static/Ligconsolata-Regular.ttf') format('truetype');
	font-weight: 400;
	font-style: normal;
	font-display: swap;
}


/* グローバル変数 */
:root {
	--main-font: 'Bebas Neue', sans-serif;
	--sub-font: 'NotoSansJP', cursive;
	--program-font: 'inconsolata', cursive;
	--accent-color: #1a527a;
	--sub-color: #7D99B1;
	--sub-color-2:#96B0BD;
	--sub-color-3:#9EA8B3;
	--radius-size: 7px;
}


/* 本文 */
body {
	caret-color: transparent;
	border-radius: var(--radius-size);
	z-index: 1;
	margin: 15px;
	padding-top: 56px;
}


/* テキスト */
h1 {
	font-size: 150%;
	padding-top: 0.5rem;
	padding-bottom: 0.5rem;
	background-color: var(--accent-color);
	border-radius: var(--radius-size);
	padding-left: 0.5rem;
	color: white;
}

/* サブタイトル */
h1.subtitle{
	color: white !important;
	font-family:var(--main-font);
}

/* サブタイトル */
h1#HeaderText{
	color: var(--accent-color);
	font-family: var(--main-font);
	border-radius: 0px !important;
}

h2 {
	font-size: 130%;
	padding-top: 0.5rem;
	padding-bottom: 0.5rem;
	background-color: var(--accent-color);
	border-radius: var(--radius-size);
	padding-left: 0.5rem;
	color: white !important;
}

h3 {
	font-size: 95%;
	padding-top: 0.5rem;
	padding-bottom: 0.5rem;
	background-color: var(--sub-color);
	border-radius: var(--radius-size);
	padding-left: 1rem;
	color: white !important;
}

h4 {
	font-size: 90%;
	padding-top: 0.5rem;;
	padding-bottom: 0.5rem;;
	background-color: var(--sub-color);
	border-radius: var(--radius-size);
	padding-left: 0.5rem;
	color: white !important;
}

h5 {
	font-size: 80%;
	padding-top: 0.5rem;
	padding-bottom: 0.5rem;
	background-color: var(---sub-color);
	border-radius: var(--radius-size);
	padding-left: 0.5rem;
	color: white !important;
}

h6 {
	font-size: 70%;
	padding-top: 0.5rem;
	padding-bottom: 0.5rem;
	background-color: var(--sub-color);
	border-radius: var(--radius-size);
	padding-left: 0.5rem;
	color: white !important;
}

a {
	color: var(--accent-color) !important;
}

p {
	font-family: 'NotoSansJP';
	font-size: 14px;
}

li {
	font-size: 14px;
}

nav {
	font-size: 14px;
}

/* コード表示部分 */
pre {
	background-color: #f5f5f5;
	padding: 10px;
	border-radius: var(--radius-size);
	overflow: auto;
	counter-reset: line;
}

pre code {
	display: block;
}

pre code::before {
	counter-increment: line;
	content: counter(line);
	display: inline-block;
	width: 20px;
	text-align: right;
	margin-right: 10px;
}


footer {
	text-align: center;
	color: var(--accent-color);
}


/* ラッパー */
#wrapper {
	width: 100%;
	overflow-x: hidden !important;
	margin-top: 2.5rem;
}


/* 最近の投稿リスト */
#RecentlyList {
	border: solid 1px rgba(0, 0, 0, .125);
	border-radius: var(--radius-size);
}


/* ヘッダーテキスト */
#HeaderText {
	background-color: var(--accent-color);
	color: white !important;
	width: 100%;
	padding-left: 2rem;
	font-size: 300%;
}


/* 記事画像 */
#wrapper img {
	border-radius: var(--radius-size);
	max-width: 300px;
	height: auto;
	border: solid 1px rgba(0, 0, 0, .125);
}


#Sidebar {
	background-color: var(--accent-color);
	border-radius: var(--radius-size);
	padding-bottom: 2rem;
}


/* 最近の記事サムネイル */
.Thumb {
	width: 100px;
	height: 50px;
	margin: 10px;
}


/* 記事 */
.paper {
	border: solid 1px rgba(0, 0, 0, .125);
	border-radius: var(--radius-size);
}


/* シェアボタン-------------------------- */
.share {
	border-radius: var(--radius-size);
	margin-left: 12px;
}


.share a {
	text-decoration: none;
	color: white !important;
}


/* Twitter-------------------------- */
#Twitter {
	background-color: #55acee;
}


/* FaceBook-------------------------- */
#Facebook {
	background-color: #3B5998;
}


/* Line-------------------------- */
#Line {
	background-color: #1dcd00;
}


/* 記事タイトル */
.title {
	font-size: 200%;
	padding-top: 10px;
	padding-bottom: 10px;
	background-color: var(--accent-color);
	color: white;
	border-radius: var(--radius-size);
	padding-left: 1rem;
}


/* 作成日時 */
.createdAt {
	font-size: 80%;
	padding-top: 10px;
	padding-bottom: 10px;
	color: #aaaaaa;
}


#loading.active {
	opacity: 1;
}

#loading.hidden {
	opacity: 0;
	pointer-events: none;
}
