/* =========================================================
	Elegan_TIV｜Complete CSS
	Dark / Academic / Sophisticated
	========================================================= */

/* =========================================================
	1. ボックスモデル・リンク初期化
	========================================================= */
*, *::before, *::after {
	box-sizing: border-box;
}

a,
a:hover,
a:visited,
a:active {
	text-decoration: none !important;
}

/* =========================================================
	2. 基本レイアウト
	========================================================= */
body {
	background: #0d101c;
	width: 100%;
	margin: 0;
}

/* bodyの代わりにコンテナで幅を制御し中央寄せにする */
#container,
#main {
	width: 100%;
	max-width: 1375px;
	margin: 0 auto;
}

/* =========================================================
	3. プロフィール
	========================================================= */
#box2 {
	display: block;
	float: none;
	clear: both;
	width: 300px;
	max-width: 100%;
	margin: 60px 0 0;
	padding: 0;
	text-align: left;
}

#box2 .hatena-module:not(.hatena-module-profile) {
	display: none;
}

#box2 .hatena-module-profile {
	display: block;
	width: 100%;
	margin: 0;
	padding: 0;
	text-align: left;
}

#box2 .hatena-module-profile a {
	text-decoration: none !important;
}

#box2 .hatena-module-profile .profile-icon,
#box2 .hatena-module-profile img {
	display: block;
}

/* =========================================================
	4. 本文
	========================================================= */
.entry-content {
	font-size: 14.5px;
	font-family: "Times New Roman","Noto Serif JP","Hiragino Mincho ProN", "Yu Mincho", serif;
	line-height: 2;
	letter-spacing: 0.01em;
	padding: clamp(20px, 8vw, 150px);
	padding-bottom: 30px;
	font-weight: 400;
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
	color: #bcc4ef;
}

/* =========================================================
	5. 本文・アフィリエイトリンク
	========================================================= */
.entry-content a,
.entry-content .hatena-asin-detail a {
	color: #0088ff;
	font-weight: 600;
	text-decoration: none !important;
	transition: color 0.2s ease;
}

.entry-content a:hover,
.entry-content .hatena-asin-detail a:hover {
	color: #e0ebff;
	text-decoration: none !important;
}

/* =========================================================
	6. ドロップキャップ
	========================================================= */
.entry-content > p:nth-child(1 of p:not(.hatena-asin-detail-title))::first-letter {
	float: left;
	font-size: 2.5em;
	line-height: 1;
	padding-right: 10px;
	padding-top: 6px;
	color: #b8bfec;
	font-family:"Noto Serif JP","Shippori Mincho", "Hiragino Mincho ProN", "Yu Mincho", serif;
	font-weight: normal;
}

/* =========================================================
	7. 日付・カテゴリー
	========================================================= */
.date {
	margin: 0 0 4px;
	padding: 0;
}

.entry-categories {
	margin: 4px 0 8px;
	padding: 0;
}

/* =========================================================
	8. エントリータイトル
	========================================================= */
.entry-title {
	text-align: left;
	margin: 0;
	padding: 0;
}

.entry-title a {
	display: inline-block;
	position: relative;
	font-size: 37px;
	font-family: "Zen Old Mincho","Noto Serif JP","Hiragino Mincho ProN","Yu Mincho", serif;
	font-weight: 600;
	letter-spacing: 0.03em;
	line-height: 1.45;
	color: #e6e6fa;
	padding: 8px 0 8px 30px;
	text-decoration: none !important;
	transition: color 0.3s ease, text-shadow 0.3s ease;
}

.entry-title a:hover {
	color: #e6e6fa;
	text-shadow: 0 0 7px rgba(184,191,236,0.6);
}

/* =========================================================
	9. 記事・フッター
	========================================================= */
.entry-footer {
	margin-top: 0;
}

.entry {
	margin-bottom: 50px;
}

#blog-title {
	margin-bottom: 50px;
}

/* =========================================================
	10. 引用
	========================================================= */
blockquote {
	border-left: 1px solid #636c87;
	padding-left: 1.2em;
	padding-right: 3em;
	margin: 2em 0 2em 35px;
	line-height: 2;
}

/* =========================================================
	11. タブレット
	========================================================= */
@media screen and (max-width: 768px) {
	#box2 {
		float: none;
		clear: both;
		width: 280px;
		max-width: calc(100% - 30px);
		margin: 45px 0 0;
		padding: 0;
		text-align: left;
	}
	#box2 .hatena-module-profile {
		text-align: left;
	}
	.entry-content {
		font-size: 14px;
		line-height: 1.9;
		padding: 30px 24px 30px;
	}
	.entry-title a {
		font-size: 29px;
		letter-spacing: 0.035em;
		line-height: 1.45;
	}
	blockquote {
		margin-left: 15px;
		padding-left: 1em;
		padding-right: 1.5em;
	}
	.entry {
		margin-bottom: 40px;
	}
	#blog-title {
		margin-bottom: 35px;
	}
}

/* =========================================================
	12. 小型スマートフォン
	========================================================= */
@media screen and (max-width: 480px) {
	#box2 {
		float: none;
		clear: both;
		width: 260px;
		max-width: calc(100% - 20px);
		margin: 35px 0 0;
		padding: 0;
		text-align: left;
	}
	.entry-content {
		font-size: 14px;
		line-height: 1.85;
		padding: 24px 18px 30px;
	}
	.entry-title a {
		font-size: 25px;
		letter-spacing: 0.025em;
		line-height: 1.5;
	}
	blockquote {
		margin-left: 8px;
		padding-left: 0.9em;
		padding-right: 1em;
	}
}