@charset "utf-8";

/* スキン「kozin」画像一覧モード配布用 */

*,*::before,*::after { box-sizing: inherit;}
html { box-sizing: border-box;}
details * { box-sizing: border-box;}
h1,h2,h3,h4,h5,img,p,ul,ol,li { margin: 0; padding: 0;}
img { border: none; max-width: 100%;}

/* -------------------- */
/* カスタム用色変更欄 */
/* -------------------- */
:root{
	--haikei-iro: #EFEBE9; /* 全体背景色 */
	--naiyou-iro: #e0dad7; /* 記事内背景色 */
	--koi-iro: #fb8585; /* 濃いアクセント色 */
	--usu-iro: #fb8585; /* 薄いアクセント色 */
	--mozi-iro: #333; /* メイン文字色 */
	--usu-mozi-iro: #809db4; /* ↑よりちょっと薄い文字色など */
	--siro-mozi: #e0dad7; /* 濃い背景に乗せる白文字 */
	--link-iro: #2571AF; /* リンク、カテゴリの色など */
	--link-hover-iro: #fb8585; /* リンクにマウス乗せたときの色と強調のマーカー色 */
	--iconfont: "Material Icons Round"; /* アイコンフォントの名前 */
}

/* 全体共通装飾 */
body {
	font-size: 0.9rem;
	line-height: 1;
	font-family: 'Noto Sans JP',sans-serif,"メイリオ",Meiryo,"Hiragino Kaku Gothic ProN","Hiragino Sans";
	margin: 0;
	padding: 0;
	background-color: var(--haikei-iro);
	color: var(--mozi-iro);
	overflow-wrap: break-word;
}

/* リンクの装飾 */
a { text-decoration: none; color: var(--link-iro); }
a:hover {
	text-decoration: none;
	color: var(--link-hover-iro);
}

/* URLが書かれた場合の装飾 */
.url { word-break:break-all;} /* 自動リンクのはみ出しを防ぐ */

/* 埋め込み画像 */
.imagebox { margin: 0; padding: 0; font-size: 0;} /* 画像の下の謎の空白を消す */

/* 画像ボックス(FIGオプション指定時) */
.embeddedpictbox { margin: 0; padding: 0;}

/* 画像ボックスに含まれる画像 */
.embeddedpictbox img { vertical-align: middle;}

/* 画像リンク */
.imagelink {
	display: inline-block;
	line-height: 1;				/* 表示形態によっては画像の下に余計な空白が出るのを防ぐ対策 */
/* vertical-align: inherit;	同上 */
	font-size: 0;
	vertical-align: top;
}

/* 画像そのもの */
.embeddedimage {
	max-width: 100%;	/* 横方向にはみ出ないようにする */
	height: auto;	/* 高さを固定したい場合を除いて、ここは auto のままにするのがお勧め */
}

/* フラグ付き画像 (※設定や採用記法によって出力パターンが複数あるため、あらゆるパターンに対応させるべく同じスタイルを2重に指定しています。) */
figure.nsfw {
	overflow: hidden;	/* ぼかし領域がfigureのボックスからはみ出ないようにする */
	position: relative;
}
.imagelink.nsfw {
	overflow: hidden;	/* ぼかし領域がfigureのボックスからはみ出ないようにする */
	position: relative;
}
img.nsfw {
	filter: blur(30px) brightness(0.5);	/* ぼかして暗くする */
	width: 200px;
	height: 200px;
	object-fit: cover;
}

/* NSFWマークを重ねる */
.imagelink.nsfw::after {
	content:"\f083";
	font-family: var(--iconfont);
	font-size: 60px;      
	position: absolute;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);
	color: #fff;
}

/* ヘッダーからフッターを囲むエリア */
.bodyarea {
	margin: 0 auto;
	padding: 2rem 0.8rem;
	width: 100%;
	max-width: 700px; /* 全体の横幅 */
}

/* ヘッダー */
header { margin: 0 auto; padding: 0;}

/* ヘッダー画像とタイトル部分 */
.headtitle { margin: 0 auto 1rem; text-align: center;}

/* ヘッダー画像 */
.headimg {
	width: 100%;/* 横幅(本文エリアに大きさを合わせたい場合は「100%」) */
	height: auto;
}
@media screen and (max-width:480px) {
	.headimg { width: 100px;} /* スマホのときのヘッダー画像の横幅(本文エリアに大きさを合わせたい場合は「100%」 */
}
/* ヘッダー画像を丸くする */
.maru {
	aspect-ratio: 1;
	border-radius: 50%;
	object-fit: cover;
}

/* ヘッダー画像リンクの調整 */
.headimglink { display: inline-block; font-size: 0;}

/* タイトル部分 */
h1.maintitle {
	margin-top: 0.8rem;
	font-size: 1.3rem;
	font-weight: bold;
	letter-spacing: 0.1rem;
	line-height: 1.3;
}
.maintitlelink { color: var(--mozi-iro);}
.subtitle { font-weight: bold;}
.subtitle,.mainguide {
	margin-top: 0.2rem;
	font-size: 0.8rem;
	line-height: 1.3;
	&:empty { display: none;}
}

/* メニュー */
.headmenu ul {
	margin: 0.8rem auto 1rem;
	padding: 0;
	list-style: none;
	display: flex;
	align-items: center;
	justify-content: center;
	flex-wrap: wrap;
	gap: 0.2rem;
}
.headmenu a {
  display: block;
  padding: 0 0.5rem;
  font-weight: bold;
}
.headmenu .material-icons-round {
	font-size: 20px;
	vertical-align: middle;
	margin-right: 0.2rem;
	color: var(--koi-iro);
}
.headmenu li { border-right: 1px solid var(--usu-mozi-iro);}
.headmenu li:last-child { border: none;}

/* サイトのHOMEへ戻るリンクの前にアイコンを入れる */
.homelink a::before {
	content: '\e88a';/* ホームアイコンのコード */
	font-family: var(--iconfont);
	font-size: 20px;
	color: var(--koi-iro);
	margin-right: 0.1rem;
	vertical-align: middle;
}

/* QUICKPOST装飾 */
.postform {
	border: 1px solid var(--usu-mozi-iro);
	border-radius: 0.3rem;
	margin-bottom: 1.5rem; padding: 1rem;
	line-height: 1.5;
}

/* 本文入力欄 */
textarea.tegalogpost {
	border: 1px var(--usu-mozi-iro) solid;	/* 枠線 */
	background-color: #fefefe;	/* 背景色 */
	color: #242424;/* 文字色 */
	padding: 0.5rem;				/* 内側の余白量 */
	box-sizing: border-box;		/* サイズ解釈方法 */
	width: 100%;				/* 横幅 */
	height: 4.3rem;				/* 高さ */
	overflow-wrap: break-word;	/* 折り返し方法 */
	overflow: auto;				/* はみ出した場合の処理 */
	font-size: 1rem;
	font-family: "メイリオ",Meiryo,"Hiragino Kaku Gothic ProN","Hiragino Sans",sans-serif;
	line-height: 1.5;
}

/* 投稿コントロール部分(ボタンや字数カウンタなど) */
/* 投稿ボタン */
.postbutton {
	display: inline-block;		/* インラインブロック化 */
	background: var(--koi-iro);
	color: var(--siro-mozi);
	font-size: 0.9rem;
	text-decoration: none;
	padding: 0.3rem 1rem;
	border: none;
	border-radius: 0.2rem;
	cursor: pointer;
}

/* 投稿ボタンにマウスが載ったとき */
.postbutton:hover { background-color: var(--usu-iro);}

/* 文字装飾ボタン群 */
/* 掲載領域全体 */ .decoBtns { display: inline-block; margin-top: 5px; }
/* 全ボタン装飾 */ 
.decoBtns input {
	min-width: 32px;
	min-height: 28px;
	margin:1px;
	color: #242424;
	background-color: #fefefe;
	border: 1px solid var(--usu-mozi-iro);
	cursor: pointer;
	border-radius: 0.2rem;
	font-size: 0.8rem;
	vertical-align: middle;
}
/* マウス載る際 */ .decoBtns input:hover{ border: 1px solid var(--usu-mozi-iro);}
/* 太字  :B */ .decoBtnB { font-weight: bold; }
/* 取消線:D */ .decoBtnD { text-decoration: line-through;}
/* 強調  :E */ .decoBtnE { font-weight: bold; background: linear-gradient(transparent 60%, var(--link-hover-iro) 60%); }
/* 斜体  :I */ .decoBtnI { font-style: italic; font-family: 'Hiragino Kaku Gothic ProN','游ゴシック';}
/* 極小  :T */ .decoBtnT { font-size: 11px !important; }
/* 下線  :U */ .decoBtnU { text-decoration: underline;}
/* 文字色:C */ .decoBtnC { color: red !important; }
/* 背景色:M */ .decoBtnM { background-color: greenyellow !important; }

/* カテゴリ選択チェックボックス群 */
.catChecks { font-size:0.9rem; padding-top: 0.5rem; }
.catChecks label { display:inline-block; cursor:pointer; margin:0 0.75rem 0 0; }
.catChecks label:hover { text-decoration:underline; }
.catChecks input { min-width:0; min-height:0; margin-right:0.2rem; }

/* 投稿欄下部：「鍵付き」チェックボックスと「個別鍵」ボタンの間を詰める一時的なスタイル */
.funcUIs .catChecks { margin:0 0.75rem 0 0; }
.funcUIs .catChecks label { margin: 0; }

/*プルダウンの装飾*/
select {
	border:1px solid var(--usu-mozi-iro);
	border-radius: 0.2rem;
	padding: 0.3rem;
	background: #fefefe;
	color: #242424;
	box-shadow: none;
	cursor: pointer;
}

/*検索窓*/
.searchboxarea { margin-bottom: 1.5rem; text-align: right;}
.searchinputs {
	background-color: var(--naiyou-iro);
	border: 1px solid var(--usu-mozi-iro);
	padding: 0.3rem 0.8rem;
	border-radius: 2rem;
	overflow: hidden;
	box-sizing: border-box;
}
.queryinput {
	border: 0;
	outline: none;
	font-size: 16px;
	/* margin: 2em 0; */
	background-color: var(--naiyou-iro);
	color: var(--mozi-iro);	
	line-height: 1.2;
	box-sizing: border-box;
	padding: 0;
}

/* 検索アイコン */
.searchinputs::before {
	content:"\e8b6";
	font-family: var(--iconfont);
	font-size: 20px;
	vertical-align: middle;
	color: var(--mozi-iro);
}

/* 検索ボタン */
.searchbox .submitbutton {
	margin: 0 0 0 0.3rem;
	padding: 0.2rem 0.4rem;
	border: 0;
	border-radius: 0.2rem;
	background-color: var(--koi-iro);
	color: var(--siro-mozi);
	cursor: pointer;
	&:hover { background-color: var(--usu-iro);}
}

/* 検索オプション行 */
.searchtarget.limitedsearch {
	font-size: 0.8rem;
	color: var(--usu-mozi-iro);
	margin-top: 0.3rem;
}
.searchtarget.limitedsearch input { vertical-align: middle;}

/* 表示対象の限定時などの「限定条件」表示行 */
.situation {
	margin: 0 0 1rem 0;
	font-size: 0.8rem;
	color: var(--usu-mozi-iro);
	line-height: 1.5;
}
.situation:empty { display: none; }

/* データがなかったときの文章 */
.nodata { line-height: 1.5;}

/* メイン表示欄の装飾 */
.imagesmainbox {
	margin: 0 auto 1rem auto;
	padding: 1.3rem;
	border: none;
	background-color: var(--naiyou-iro);
	border-radius: 0.3rem;
	width: auto;
}

/* 日付境界バー非表示 */
.dateseparator { display: none;}

/* 画像一覧をグリッド表示 */
.imagesmainbox {
	margin-bottom: 3rem;
	display: grid;
	grid-template-columns: repeat(3, 1fr);/* 画像を3列にする */
	gap: 0.5rem;
}
/* 画面幅499px以下で画像を2列にする */
@media screen and (max-width:499px) {
	.imagesmainbox { grid-template-columns: repeat(2 , 1fr);}}

/* 一覧時のキャプションをサムネに重ねる */
.imagebox .embeddedpictbox { position: relative;}
.imagebox .embeddedpictbox figcaption {
	font-size: 0.8rem;
	text-align: center;
	padding: 0.3rem;
	line-height: 1.3;
	background-color: rgb(0, 0, 0,0.6);
	color: var(--siro-mozi);
	width: 100%;
	position: absolute;
	bottom: 0;
	left: 0;
	pointer-events: none;
}

/* キャプションがない場合は、キャプション枠自体を非表示にする */
.embeddedpictbox figcaption:empty { display: none;}

/* 画像そのものの大きさ */
.imagebox {
.embeddedimage,.imagelink,.embeddedpictbox {
	width: 100%;
	height: auto;
	aspect-ratio: 1;
	object-fit: cover;
}}

/* 画像が使われている投稿検索アイコンをサムネに重ねる */
.imagebox { position: relative;}
.pictsearch {
	display: inline-block;
	position: absolute;
	top: 0;
	left: 0;
	margin: 0;
	padding: 0.3rem;
}
.pictsearch .material-icons-round {
	font-size: 1.8rem;
	color: var(--siro-mozi);
	text-shadow: 0 0 3px rgb(0, 0, 0);
	&:hover { color: var(--link-hover-iro);}
}

/* ページナビゲーション領域 */
.pagenavi { margin-bottom: 3rem; text-align: center; }
.pagelinks,.pagehome { margin-top: 1.5rem;}
.pagenums { margin: 0.8rem;}

/* ページ番号リンクの数字 */
a.pagenumlink {
	display: inline-block;
	width: 25px;
	height: 25px;
	text-decoration: none;
	color: var(--siro-mozi);
	background-color: var(--koi-iro);
	border-radius: 50%;
	line-height: 25px;
	margin-top: 0.3rem;
}

/* 現在のページ番号とマウスオーバー時の装飾 */	
a.pagenumhere,.pagenumlink:hover { background-color: var(--usu-iro); }

/* フリースペース */
.freespacearea { margin: 0 1rem 1.5rem;}
.fstitle { font-weight: bold; line-height: 1.3;}
.fscont { line-height: 1.5;}
.fstitle,.fscont { &:empty { display: none;}}

/* フッター */
footer { margin: 1rem 1rem 3rem; text-align: right;}
.poweredby { font-size: 0.8rem; }
.kanri .material-icons-round { font-size: 20px; vertical-align: middle;}

/*上に戻るボタン・管理ボタンの装飾*/
.kanri_btn,.ue_btn {
	position: fixed;
	border-radius: 50%;
	width: 40px;
	height: 40px;
	background: var(--koi-iro);
	display: grid;
	place-items: center;
&:hover{ background-color: var(--usu-iro); text-decoration: none;}
}
.kanri_btn { z-index: 100; top: 10px; right: 10px;
	.material-icons-round { color: var(--siro-mozi); font-size: 20px;}}
.ue_btn { z-index: 101; bottom: 10px; right: 10px;
	.material-icons-round { color: var(--siro-mozi); font-size: 30px;}}
