@charset "UTF-8";

/* single-column.css */
/* コラム記事表示（子カテゴリ含む）に適用 */

/* --------------------------------------------- */
/* ▼モバイルファースト (全環境に共通のデザイン) */
/* --------------------------------------------- */

/* 2カラム上下表示 */
#column_wrap{
	display:flex;
	flex-flow:column;
}

/* 2カラム上下表示（上：メインコンテンツ） */
#maincontents{
	padding:10px;
	border:solid 1px #A9A9A9;
	flex-basis:100%;
}

/* 2カラム上下表示（下：サイドバー） */
#sidebar{
	padding:10px;
	flex-basis:100%;
	border:solid 1px #A9A9A9;
	background-color:#f8f8f8;
}

/* 記事一覧 縦表示*/
.post_list{
	flex-direction:column;
}

/* 記事個別 表示 */
.post_box{
	margin-top:20px;
	margin-bottom:20px;
	padding:10px;
	border:solid 1px #A9A9A9;
	flex-basis:100%;
}

/* 画像の縦横比を維持 */
.contents figure{
	max-width:100%;
	height:auto;
	border-radius:5px;
	overflow:hidden;
}

/* 画像の縦横比を維持 */
.contents img{
	max-width:100%;
	height:auto;
	border-radius:5px;
	overflow:hidden;
	border:1px solid #d7d7d7;
}

/* 画像の説明 */
.contents figcaption{
	font-size:8px;
}

/* メディアップロード 動画 */
video{
	width:100%;
	height:auto;
	aspect-ratio:16/9;			/* アスペクト比 */
	background-color:#000000;
}

/* Youtubeの埋め込み レスポンシブ対応 */
iframe[src*="youtube.com"]{
	width:100%;
	height:auto;
	aspect-ratio:16/9;			/* アスペクト比 */
}

/* 見出し */
h2{
	font-size:14px;
	font-weight:normal;
	margin:0px;
	padding:5px;
	padding:0.4em 0.5em;			/* 文字の上下 左右の余白 */
	color:#494949;				/* 文字色 */
	background:#f4f4f4;			/* 背景色 */
	border-left:solid 5px #5BB431;		/* 左線 */
	border-bottom:solid 3px #d7d7d7;	/* 下線 */
	margin-bottom:10px;
	
	/* ジャギー対策 */
	transform: rotate(0.03deg);
	-moz-transform: rotate(0.03deg);
	-ms-transform: rotate(0.03deg);
	-o-transform: rotate(0.03deg);
	-webkit-transform: rotate(0.03deg);
}

/* 記事本文表示部 */
.article_content{
	padding:5px;
}

/* 記事本文表示部 amazon リンク */
.article_content iframe{
	margin-left:5px;
}

/* 読む時間 */
.readingtime{
	font-size:10px;
	background-color:#E0E0E0;
	line-height:1.8;
	padding:3px;
	display:inline;
}

/* 最終更新日から1年以上経過した記事 */
.old_info{
	padding:5px;
	color:#9F4A4C;
	background-color:#FAFAFA;
	border:solid 1px #9F4A4C;
	display:inline-block;
	margin-bottom:14px;
	width:100%;
}

.old_info p{
	margin-bottom:5px;
}

/* 記事本文 */
.article_content p{
	line-height:1.5;
}

/* 技術的な質問に関して */
.nocomment{
		font-size:80%;
}

/* ログインユーザーのみ表示 Start */
.page_info{
	margin-top:20px;
	margin-bottom:20px;
	padding:5px;
	background-color:#e6e6fa;
	border:1px solid #b0c4de;
}

/* 抜粋未入力 */
.excerpt_empty{
	color:red;
}
/* ログインユーザーのみ表示 End */

/* 投稿日時・記事カテゴリ表示部 */
.post_info{
	font-size:14px;
	color:#555555;
}

/* 投稿日時・記事カテゴリ */
.post_info p{
	margin:0;
	padding:0;
}

/* 掲載日時 */
.post_date{
	text-align:right;
	font-size:12px;
}

/* 記事カテゴリ */
.post_category{
	text-align:right;
	font-size:12px;
}

/* 記事閲覧数 */
.post_views{
	text-align:right;
	font-size:12px;
}

/* 投稿者名 */
.autohername{
	text-align:right;
	font-size:12px;
}

/* カテゴリー名表示 リンク色 Start */

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

.post_category a:link {
	color:#004d25;
}

.post_category a:visited {
	color:#004d25;
}

.post_category a:hover {
	color:#FF7F00;
}

.post_category a:active {
	color:#FF7F00;
}

/* カテゴリー名表示 リンク色 End */

/* タグリスト */
.tag ul{
	margin:0;
	padding:0;
}

/* タグ リンク 縦並び */
.tag{
	display:inline;
	clear:both;
	text-align:right;
}

.tag li:not(:last-child)::after{
	content:", ";	/* タグの区切り */
}

.tag li{
	display:inline-block;
	font-size:12px;
}

.tag li::before{
	font-family:'Font Awesome 6 Free';
	font-weight:900;
	content:'\f02b';
}

/* タグ表示 リンク色 Start */
.tag a {
	font-weight:bold;
	text-decoration:none;
}

.tag a:link {
	color:#004d25;
}

.tag a:visited {
	color:#004d25;
}

.tag a:hover {
	color:#FF7F00;
}

.tag a:active {
	color:#FF7F00;
}
/* タグ表示 リンク色 End */

/* 前後の記事 リンク */
.post_links{
	margin-top:20px;
	font-size:10px;
	font-weight:bold;
	width:100%;
}

/* より前の記事 */
.post_prev{
	text-align:center;
	border:solid 1px #A9A9A9;
	padding:3px;
	display:flex;
	justify-content:space-between;
	align-items:center;
}

/* より新しい記事 */
.post_next{
	text-align:center;
	border:solid 1px #A9A9A9;
	padding:3px;
	margin-top:5px;
	display:flex;
	justify-content:space-between;
	flex-direction: row-reverse;
	align-items:center;
}

/* 画像の縦横比を維持 */
.attachment-post-thumbnail{
	width:100%;
	height:100%;
	object-fit:cover;
	top:0;
	left:0;
}

/* より前の記事 アイキャッチ画像*/
.next_thumb{
	flex-basis:30%;
}

/* より新しい記事 タイトル */
.next_title{
	padding:3px;
	flex-basis:70%;
	text-align:right;
}

/* より前の記事 アイキャッチ画像*/
.prev_thumb{
	flex-basis:30%;
}

/* より新しい記事 タイトル*/
.prev_title{
	padding:3px;
	flex-basis:70%;
	text-align:left;
}

.next_thumb{
	display:block;
	width:100%;
	height:100px;
	object-fit:contain;
}

.prev_thumb{
	display:block;
	width:100%;
	height:100px;
	object-fit:contain;
}

/* より前の記事 アイキャッチ画像 オンマウスでアニメーション */
.prev_thumb img{
	transition:1s all;
}
.prev_thumb img:hover{
	transform:scale(1.02,1.02);
	transition:0.5s all;
}

/* より新しい記事 アイキャッチ画像 オンマウスでアニメーション */
.next_thumb img{
	transition:1s all;
}
.next_thumb img:hover{
	transform:scale(1.02,1.02);
	transition:0.5s all;
}

/* 前後の記事 リンク色 Start */

.post_links a {
	text-decoration:none;
}

.post_links a:link {
	color:#004d25;
}

.post_links a:visited {
	color:#004d25;
}

.post_links a:hover {
	color:#FF7F00;
}

.post_links a:active {
	color:#FF7F00;
}

/* 前後の記事 リンク色 End */

/* 区切り線 */
hr{
	border-top:1px dashed #bbb;
	margin:0;
	margin-top:12px;
	margin-bottom:5px;
	padding:0;
}

/* 記事のテーブル */
.article_content th,td{
	border:solid 1px;		/* 枠線指定 */
	padding:3px;
}

.article_content table {
	border-collapse:collapse;	/* セルの線を重ねる */
	table-layout: fixed;
	width: 100%;
	margin-top:5px;
	margin-bottom:5px;
}

/* サイドバーに適用 おすすめ記事 */
#sidebar li{
	list-style-type: none;
}

/* お知らせ アイコンの色 */
aside .fa-bell{
	color:#5BB431;
}

/* お知らせ */
.sidebar_title{
	padding:0.5em;				/* 文字周りの余白 */
	color:#494949;				/* 文字色 */
	background:#F4F4F4;			/* 背景色 */
	border-left:solid 5px #5BB431;		/* 左線（実線 太さ 色） */
	margin:0;
	font-weight:bold;
	font-size:14px;
}

/* 記事なし */
.notfound{
	min-height:300px;
}


/* アイキャッチ画像 */
.thumbnail{
	width:30%;
	padding:5px;
}

/* 画像の縦横比を維持 */
.articleimage{
	display:block;
	width:100%;
	height:100px;
	object-fit:contain;
}

/* 記事内容 概要 */
.overview{
	width:70%;
	padding:5px;
	margin-left:5px;
}

/* アイキャッチ画像・テキスト 段組表示 */
.post_columns{
	display: flex;
	justify-content:flex-start;
	flex-direction:row;
	align-items:flex-start;
}

/* おすすめ記事 5件表示(横スクロール) */
.recomend_list{
	display:flex;
	width:100%;
	overflow-y:hidden;
	overflow-x:auto;
	-ms-overflow-style:-ms-autohiding-scrollbar;
	-webkit-overflow-scrolling:touch;
	margin-bottom:10px;
}

/* おすすめ記事 個別表示 */
.recommend_box{
	padding:5px;
	width:60%;
	flex-shrink:0;
}

.recommend_postdate p{
	font-weight:bold;
	font-size:10px;
	margin:0;
	padding:0;
}

/* おすすめ記事 アイキャッチ画像 */
.recommend_thumbnail{
	position:relative;
	width:100%;			/* 上下のpaddingと同じにする */
	height:0;
	padding-top:100%;		/* widthと同じにする */
	overflow:hidden;
}

/* 記事投稿日・カテゴリー */
.recommend_postdate{
	margin:0;
	padding:0;
	position:absolute;
	top:0px;
	left:5px;
	text-shadow:
		1px  1px 1px #777,
		-1px  1px 1px #777,
		1px -1px 1px #777,
		-1px -1px 1px #777;
}

/* 記事タイトル 配置*/
.recommend_title{
	position:absolute;
	bottom:5px;
	left:5px;
	padding-right:10px;
	width:100%;
}

/* 記事タイトル */
.recommend_title h3{
	margin:0;
	padding:0;
	font-size:12px;
	text-shadow:
		1px  1px 1px #777,
		-1px  1px 1px #777,
		1px -1px 1px #777,
		-1px -1px 1px #777;
	width:100%;
	
	/* ジャギー対策 */
	transform: rotate(0.03deg);
	-moz-transform: rotate(0.03deg);
	-ms-transform: rotate(0.03deg);
	-o-transform: rotate(0.03deg);
	-webkit-transform: rotate(0.03deg);
	
	/* 最大3行まで表示 */
	display:-webkit-box;
	-webkit-box-orient:vertical;
	-webkit-line-clamp:3;		/* 制限したい行数が3の場合 */
	overflow:hidden;
	text-overflow: ellipsis;
}

/* アイキャッチ画像 オンマウスでアニメーション */
.recommend_box img{
	transition:1s all;
}
.recommend_box img:hover{
	transform:scale(1.02,1.02);
	transition:0.5s all;
}

/* 画像の縦横比を維持 */
.recommend_articleimage{
	width:100%;
	height:100%;
	object-fit:cover;
	position: absolute;
	top:0;
	left:0;
	filter:brightness(70%);
}

.recommend_thumbnail{
	color:snow;
}

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

.recommend_thumbnail a:link {
	color:snow;
}

.recommend_thumbnail a:visited {
	color:snow;
}

.recommend_thumbnail a:hover {
	color:snow;
}

.recommend_thumbnail a:active {
	color:snow;
}

/* タグクラウド */
.tagcloud a{
	background:#2B1103;
	color:snow;
	padding:5px;
	line-height:3;
	white-space:nowrap;	/* 改行させない */
	border:1px solid #2B1103;
}

/* タグクラウド マウスホバー時の挙動 */
.tagcloud a:hover{
	background:snow;
	color:#2B1103;
	border:1px solid #2B1103;
}

/* タグ一覧 */
.tag_list{
	margin:5px;
}

/* タグクラウド アイコン */
.tagcloud a::before{
	font-family:'Font Awesome 6 Free';
	font-weight:900;
	content:'\f02b';
	margin-right:2px;
}

/* タグリスト */
.tagcloud ul{
	margin:0;
	padding:0;
}

/* タグクラウド リスト 横並び */
.tagcloud li{
	display:inline-block;
}

/* カテゴリー一覧 リストタグ 左余白をなくす */
.category_list{
	margin:0;
	padding-left:0px;
	padding:5px;
}

.category_list ul{
	margin:0px;
	padding-left:16px;
}

/* カテゴリーのリストタグ 先頭にアイコン */
.cat-item:before{
	font-family: "Font Awesome 6 Free";
	content:'\f07c';
	margin-right:2px;
	font-weight: 900;
}

/* カテゴリー一覧 リンク色 Start */
.category a{
	text-decoration:none;
}

.category a:link {
	color:#004d25;
}

.category a:visited {
	color:#004d25;
}

.category a:hover {
	color:#FF7F00;
}

.category a:active {
	color:#FF7F00;
}
/* カテゴリー一覧 リンク色 End */

/* サイドバーの内容 End */

/* for mobile design END */

/* ------------------------------------ */
/* ▼タブレット用デザインとして付け足すデザイン */
/* ------------------------------------ */
@media print, screen and (min-width: 600px) {

/* 見出し */
h2{
	font-size:16px;
}

/* 2カラム左右表示（左：メインコンテンツ） */
#maincontents{
	flex-basis:74%;
	margin:0;
}

/* 2カラム左右表示（右：サイドバー） */
#sidebar{
	flex-basis:25%;
	margin:0;
}

/* お知らせ タイトル */
.widgettitle{
	font-size:15px;
}

/* 記事本文 */
.article_content{
	padding:10px;
}

/* 画像 */
.contents figure{
	border-radius:10px;
}

/* 画像 */
.contents img{
	border-radius:10px;
}

/* ログインユーザーのみ表示 Start */
.page_info{
	display:flex;
	flex-direction:row;
	align-items:flex-start;
}

/* アイキャッチ画像 */
.page_thumbnai{
	padding:5px;
	flex-basis:30%;
}

/* 抜粋 */
.excerpt{
	padding:5px;
	flex-basis:70%;
}

/* ログインユーザーのみ表示 End */

/* 前後の記事 リンク */
.post_links{
	display: flex;
	justify-content:space-between;
}

/* より前の記事 */
.post_prev{
	flex-basis:49%;
}

/* より新しい記事 */
.post_next{
	flex-basis:49%;
	margin-top:0px;
}

/* サイドバーの内容 Start */


/* おすすめ記事 5件表示 */
.recommend_box{
	width:30%;
}

/* 記事タイトル */
.recommend_title h3{;
	font-size:16px;
}

/* カテゴリー・タグ 2列表示 */
.category_tag{
	display:flex;
	justify-content:space-between;
}

.category{
	flex-basis:39%;
}

.tagcloud{
	flex-basis:59%;
}

/* サイドバーの内容 End */


}/* for Tablet design END */

/* ------------------------------------ */
/* ▼PC用デザインとして付け足すデザイン */
/* ------------------------------------ */
@media print, screen and (min-width: 1024px) {


/* サイドバーの内容 Start */

/* おすすめ記事 5件表示 */
.recommend_box{
	width:25%;
}

/* 画像 */
.contents figure{
	border-radius:15px;
}

/* 画像 */
.contents img{
	border-radius:15px;
}

/* サイドバーの内容 End */

}

/* ------------------------------------------------ */
/* ▼PC用として付け足すデザイン（ワイドモニタ対応） */
/* ------------------------------------------------ */
@media print, screen and (min-width:1366px){

/* 見出し */
h2{
	font-size:18px;
}

/* 2カラム 左右表示 */
#column_wrap{
	max-width:1280px;
	margin-left:auto;			/* 左側マージンを自動的に空ける */
	margin-right:auto;			/* 右側マージンを自動的に空ける */
	text-align:left;			/* 中身を左側表示に戻す */
	display:flex;
	flex-flow:wrap;
	justify-content:space-between;
}

/* 2カラム左右表示（左：メインコンテンツ） */
#contents{
	flex-basis:74%;
	margin:0;
}

/* 2カラム左右表示（右：サイドバー） */
#sidebar{
	flex-basis:25%;
	margin:0;
}

/* サイドバーの内容 Start */

/* お知らせ */
.sidebar_title{
	font-size:16px;
}

/* おすすめ記事一覧 5件縦表示 */
.recomend_list{
	display: flex;
	flex-direction: column;
}

/* おすすめ記事 個別表示 */
.recommend_box{
	width:100%;
}

/* カテゴリー・タグ 1列表示 */
.category_tag{
	flex-flow:column;
}

.category{
	flex-basis:100%;
}

.tagcloud{
	flex-basis:100%;
}

/* サイドバーの内容 End */

}/* for PC design END */