@charset "utf-8";
@import url('https://fonts.googleapis.com/css2?family=DotGothic16&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Noto+Color+Emoji&family=Pixelify+Sans:wght@400..700&display=swap');


div.box {
	max-width: 70rem;
	margin: 0 auto 0.3rem;
    padding: 2rem 0 2rem;
    background-color: var(--color-light);
    border-radius: 6px;
	display: grid;
	justify-content: center;
} 

footer {
	max-width: 70rem;
	margin: 0 auto;
}

p.control-links{
	text-align: left;
	font-size: 10px;
}
p.control-links a{
	cursor: default;
}
p.poweredby {
	text-align: center;
	font-size: 0.9em;
	line-height: 1.2;
}


.mainarea {
	display: inline-flex;
	vertical-align: middle;
	flex-wrap: wrap;
	justify-content: center;
	margin: 0;
}

.situation:empty { display: none; }	/* 限定表示がない場合は存在自体を消す */

.onelogbox {
	display: inline-grid;
	vertical-align: middle;
	position: relative;
	margin-bottom: 1em;
	font-size: 0.95em;
	justify-content: center;
	align-items: start;
}

.pictcount {
	font-size: 0.8em;
}


/* ▼投稿画像＋本文抜粋 */
.onelogmain {
	margin: 0;
	min-height: 220px;
}

/* ▼先頭画像掲載部分 */
.imagebox {
	margin: 0;
}

figcaption{
	display: none;
}

/* ▽画像リンク */
.imagelink {
	display: inline-block;
	line-height: 1;				/* 表示形態によっては画像の下に余計な空白が出るのを防ぐ対策 */
	vertical-align: inherit;	/* 同上 */
}

/* ▽画像そのもの */
.embeddedimage {
	width: 20vw !important;
	max-width: 150px !important;
	min-width: 130px;
	height: 20vw !important;
	max-height: 150px !important;
	min-height: 130px;
	object-fit: cover;
	margin: 4px;
	border-radius: 10px;
	vertical-align: middle;
}

/* ▽フラグ付き画像 (※設定や採用記法によって出力パターンが複数あるため、あらゆるパターンに対応させるべく同じスタイルを2重に指定しています。) */
figure.nsfw {
	overflow: hidden;	/* ぼかし領域がfigureのボックスからはみ出ないようにする */
}
.imagelink.nsfw {
	overflow: hidden;	/* ぼかし領域がfigureのボックスからはみ出ないようにする */
}
img.nsfw {
	filter: blur(9px);	/* ぼかす */
}

/* ▼投稿本文抜粋部分 */
.onelogtext {
	line-height: 1;
	font-size: 10px;
	overflow: hidden;
	width: fit-content;
	max-width: 200px;
	margin: 0 auto;
	color: var(--color-main);
}

.pagenavi { 
	margin: 0;
	text-align: center;
}
.pagelinks,.pagehome { 
	margin: 0;
}

.pagewrap {
	animation: fadein 0.5s forwards;
}

.pagewrap2 {
	animation: fadein 0.25s forwards;
}

@keyframes fadein {
	0% {opacity: 0}
	100% {opacity: 1}
}

.onepict{
	position: relative;
}

.overlay {
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	z-index: 10;
}