iframe {
    max-width: 100%;
}
.onelogbox img {
    max-width: 100%;
    height: auto;
}
.postarea form {
    background: #f6f6f6;
    padding: 10px;
}
.postarea textarea.tegalogpost {
    width: 100%;
    border: 1px solid #ccc;
    padding: 8px;
    font-family: 'メイリオ', Meiryo,'ヒラギノ丸ゴ ProN','Hiragino Maru Gothic ProN','Hiragino Kaku Gothic ProN','ヒラギノ角ゴ ProN W3',sans-serif;
    line-height: 1.6em;
}
.postarea p.line-textarea {
    margin: 0;
}
.postarea p.line-control {
    margin: 10px 0 0;
}
.postarea input.postbutton {
    background: #5babfa;
    color: white;
    border: none;
    border-radius: 3px;
    padding: 6px 20px;
    cursor: pointer;
    transition: .3s;
}
.postarea input.postbutton:hover {
    background: #7cc8ff;
}
.decoBtns input[type=button] {
    border-radius: 3px;
    border: 1px solid #cccccc;
    background: white;
    margin: 0 2px 10px;
}
span.catChecks label {
    margin-right: 5px;
    font-size: 90%;
}
ul.cattree {
    display: flex;
    flex-wrap: wrap;
    list-style: none;
    border: 1px solid var(--grey);
    padding: 15px;
    margin: 20px 0;
}
ul.cattree li {
	margin-right: 10px;
	margin-left: 0;
    padding: 0;
    font-size: 90%;
}
ul.cattree li a {
  background: var(--accent);
  color: #ffffff;
  width: -webkit-fit-content;
  width: -moz-fit-content;
  width: fit-content;
  text-align: center;
  padding: 5px 10px;
  border-radius: 5px;
}

ul.cattree li a:hover {
  background: var(--accent2);
}

ul.hashtaglist {
    display: flex;
    flex-wrap: wrap;
    list-style: none;
    border: 1px solid var(--grey);
    padding: 15px;
    position: relative;
}
ul.hashtaglist li {
	font-size: 90%;
	margin-right: 10px;
    padding: 0;
    position: relative;
    z-index: 2;
}
div.onelogbox {
    margin: 70px auto;
}
div.onelogbox_memo {
	margin: 70px auto;
	padding: 18px 0;
    max-width: 650px;
}
@media (min-width: 768px) {
  div.comment,div.comment_memo{
    font-size: 16px;
  }
}
@media (max-width: 767px) {
  div.comment,div.comment_memo {
    font-size: 14px;
  }
}

div.onelogdate {
  font-size: 18px;
  font-weight: 500;
  font-family: var(--font);
  border-bottom: 1px solid var(--grey);
}

p.oneloginfo {
    text-align: right;
	padding: 0 20px;
	margin: 20px 0 0;
	border-top: 1px solid var(--grey);
	font-size: 90%;
}
p.oneloginfo a.categorylink {
    display: inline-block;
    text-decoration: none;
    color: var(--text-grey);
    border: 1px solid;
    padding: 1px 6px;
    margin: 0 3px;
}
p.situation {
    font-size: 90%;
    color: #ccc;
}
span.situation-postno {
    border: 1px solid;
    display: inline-block;
    padding: 3px 8px;
    border-radius: 3px;
    line-height: 1.6em;
}
p.dateseparator {
    display: none;
    font-size: 90%;
    color: white;
    background: #ccc;
    width: fit-content;
    padding: 3px 5px;
    line-height: 1.6em;
    margin: 0 auto -20px 0;
}
p.dateseparator.fixedseparator {
    display: block;
}
.pagenavi {
    text-align: center;
    margin: 20px 0;
}
p.pagenums {
    text-align: center;
}
a.pagenumlink {
    display: inline-block;
    text-decoration: none;
    background: var(--accent);
    color: #ffffff;
    width: 27px;
    height: 27px;
    line-height: 25px;
}
a.pagenumlink.pagenumhere {
    background: #cccccc;
}
a.pagenumlink:hover {
    background: var(--text-grey);
}
a.readmorebutton {
    border: 1px solid var(--text-grey);
    text-decoration: none;
    color: var(--text-main);
    background: #ebebeb;
    padding: 5px 10px;
}
a.readmorebutton.readmoreclose {
    padding: 1px 8px;
    font-size: 85%;
}
q.decorationQ {
    position: relative;
    z-index: 1;
    display: block;
    padding: 15px;
    background: #ebebeb;
}
.comment {
    padding: 18px 0;
    margin: auto;
    word-break: break-word;
    max-width: 700px;
}
.comment_memo {
    padding: 0 20px;
    word-break: break-word;
}

.hashtaglist .num,.cattree .num { display: none; }

p.poweredby {
    text-align: center;
    color: var(--text-grey);
    font-size: 12px;
}

summary.foldswitch {
   padding: 5px;
   margin: 10px 0;
   border: 1px solid var(--text-grey);
   background: #ebebeb;
   color: var(--text-main);
   text-align: center;
   cursor: pointer;
}
a.nsfw {
  position: relative;
  overflow: hidden;
  display: block;
  max-width: 400px;
}
a.nsfw img {
  filter: blur(20px) brightness(0.7);
  aspect-ratio: 1/1;
  object-fit: cover;
}
a.nsfw::before {
  content: "！";
  font-weight: 900;
  vertical-align: middle;
  position: absolute;
  z-index: 2;
  color: #fff;
  margin: auto;
  right: 0;
  left: 0;
  top: 0;
  bottom: 0;
  width: -moz-fit-content;
  width: fit-content;
  height: -moz-fit-content;
  height: fit-content;
  font-size: 50px;
}
@media (min-width: 768px) {
  a.nsfw::before {
    font-size: 70px;
  }
 }

div.decorationH {
	margin-top: 20px;
	}
.decorationB {
	font-weight: 500;
	}
.decorationE {
	font-style: normal;
	font-weight: bold;
	background: linear-gradient(transparent 70%, var(--accent) 70%);
	
	}
.nodata,.nolist {
	margin: 30px;
    font-size: 14px;
    }

.decorationQ {
	border-left: 5px double var(--accent);
	color: var(--text-grey);
	margin: 1em 0.3em 1em 1em;
	padding: 0.75em 0.5em;
	font-size: 0.95em;
	display: block;					/* ※Ver 2.2.0以降必須の記述 */
	}
.decorationQ::before,
.decorationQ::after {
	content: '';			/* 標準で付加されてしまう引用符を無効にする */
	}
.decorationQ + br {
	display: none;	/* 引用直後の改行を無効化する */
	}

	/* --------------- */
	/* ▼埋め込みTweet */	/* これはツイートが埋め込まれる処理「前」用の装飾です。実際に埋め込まれるツイートはTwitter側のiframeで装飾されますので、てがろぐ側では指定できません。(ただし横幅を制限することはできます。→後述) */
	/* --------------- */
	blockquote.twitter-tweet {
		background-color: #f8f8f8;
		border: 1px dashed #ddd;
		border-radius: 9px;
		margin: 0.3em 0;
		padding: 1em;
		font-size: 0.95em;
		color: #999;
		text-shadow: 1px 1px 1px #fff;
	}

	/* ▼埋め込みツイートの横幅を強制的に制限 */
	div.twitter-tweet {
		max-width: 500px !important;
	}

/* ================================================================ */
/* てがろぐVer 4.5.5β以降で使える、カード型リンク用CSSの抜粋です。 */
/* お使いのスキンのCSSに追記するなどしてご活用下さい。              */
/* ================================================================ */

	/* ---------------------- */
	/* ▼カード型リンクの装飾 */
	/* ---------------------- */
	.cardlink {
		display: inline-block;
		width: 100%;
		max-width: 500px;               /* 最大幅 (※横幅を制限したくない場合はこれを削除して下さい) */
		padding: 0 0.25em 0.5em 0;      /* 内側の余白量 */
		font-size: 0.8rem;              /* 文字サイズ */
		text-decoration: none;          /* リンク文字の下線を消す */
		vertical-align: middle;         /* 行内の上下方向では中央配置 */
	}

		/* ------------------------------------- */
		/* リンクカードの装飾(サイズS/L共通部分) */		/* ※後述の「サイズS用の追記」や「サイズL用の追記」と合わせて、1つのカードデザインになります。 */
		/* ------------------------------------- */
		/* カード外枠 */
		.cardlinkbox {
			border: 1px solid #ccc;    /* 枠線 */
			border-radius: 7px;        /* 角丸 */
			background-color: white;   /* 背景色 */
			display: flex;             /* 内部レイアウトのFlexbox化 */
		}
		/* (マウスが載ったとき) */
		.cardlinkbox:hover {
			background-color: #f5f5f5; /* 背景色 */
			transition: .3s;
		}
			/* ▽リンクカード内の画像枠 (※読み込まれたog:imageは、この枠に《背景画像として》描画されます) */
			.cardlinkimage {
				background-image: linear-gradient(-30deg, #8a8, #e0f0e0);  /* プレースホルダ的な背景グラデーション(※og:imageの画像指定が読み込まれたら、この値は上書きされます) */
				background-size: cover;             /* 背景画像で枠を埋める */
				background-position: center center; /* 背景画像を中央に寄せる */
				background-repeat: no-repeat;       /* 背景画像を繰り返さない */
			}
			/* ▽リンクカード内のテキスト枠 */
			.cardlinktextbox {
				display: flex;          /* Flexbox化 */
				flex-direction: column; /* 子要素を縦方向に並べる */
				padding: 0.5em 1em;     /* 内側の余白量 */
			}
				/* ▽リンクカードのテキスト枠内の3要素共通 */
				.cardlinktitle,
				.cardlinkdescription,
				.cardlinkurl {
					/* ↓表示行数を制限するための準備 (※システム側では文字数は制限せずに「記述されている全文字」をHTMLに出力しますので、表示分量を制限したい場合はCSSで制御する必要があります。) */
					display: -webkit-box;          /* -webkit-line-clampを使うために必要な記述1 ※A */
					-webkit-box-orient: vertical;  /* -webkit-line-clampを使うために必要な記述2 ※A */
					overflow: hidden;              /* 表示量を制限する場合に必須の記述 */
					/* ↓制限の仕様 */
					line-clamp: 1;                 /* 1行だけ見せる (将来的にはこれだけで実現可能かも) */
					-webkit-line-clamp: 1;         /* 1行だけ見せる (今のブラウザにはこちらが必要で、そのためには上記「※A」も必要) */
					text-overflow: ellipsis;       /* 省略記号(三点リーダー) */
				}
				/* リンクタイトル */
				.cardlinktitle {
					padding-bottom: 0.25em;        /* 内側下端の余白量 */
				}
				/* リンク概要文 */
				.cardlinkdescription {
					line-height:1.3;               /* 行の高さ */
					color:#555;                    /* 文字色 */
					line-clamp: 2;                 /* (既存指定の上書き) 最大2行まで見せる */
					-webkit-line-clamp: 2;         /* (既存指定の上書き) 最大2行まで見せる */
				}
				/* リンクドメイン */
				.cardlinkurl {
					color: #999;                   /* 文字色 */
				}

		/* ----------------------------------- */
		/* リンクカードの装飾(サイズS用の追記) */		/* 前述の「サイズS/L共通部分」と合わせて、1つのカードデザインになります。 */
		/* ----------------------------------- */
		.cardsize-S {
			flex-direction: row;                /* 画像とテキストは横に並べる(Flexbox) */
		}
			/* ▽リンクカード内の画像枠 */
			.cardsize-S .cardlinkimage {
				min-width: 100px;           /* 最小の横幅 */
				min-height: 100px;          /* 最小の高さ */
				border-radius: 6px 0 0 6px; /* 左側だけ角丸 */
				flex-shrink: 0;             /* 枠サイズを自動縮小させない */
			}
			/* ▽リンクカード内のテキスト枠 */
			.cardsize-S .cardlinktextbox {
				border-left: 1px solid #ccc; /* 左側の枠線 */
				justify-content:center;      /* Flexboxの上下方向での中央寄せ */
			}
				/* ▽リンクカードのテキスト枠内の3要素 */
				.cardsize-S .cardlinktitle { font-weight: bold;color: #444444; }        /* 太字 */
				.cardsize-S .cardlinktitle { order: 2; }        /* タイトルは、2番目に表示 */
				.cardsize-S .cardlinkdescription { order: 3; }  /* 概要文　は、3番目に表示 */
				.cardsize-S .cardlinkurl { order: 1; }          /* ドメインは、1番上に表示 */

		/* ----------------------------------- */
		/* リンクカードの装飾(サイズL用の追記) */		/* 前述の「サイズS/L共通部分」と合わせて、1つのカードデザインになります。 */
		/* ----------------------------------- */
		.cardsize-L {
			flex-direction: column;             /* 画像とテキストは縦に並べる(Flexbox) */
		}
			/* ▽リンクカード内の画像枠 */
			.cardsize-L .cardlinkimage {
				aspect-ratio: 1.91 / 1;     /* 画像枠の縦横比を指定= (横)1.91：(縦)1 */
				width: 100%;                /* 横幅は枠最大に拡げる */
				height: auto;               /* 高さは自動計算 */
				border-radius: 6px 6px 0 0; /* 上側だけ角丸 */
			}
			/* ▽リンクカード内のテキスト枠 */
			.cardsize-L .cardlinktextbox {
				border-top: 1px solid #ccc; /* 上側の枠線 */
			}
				/* ▽リンクカードのテキスト枠内の3要素 */
				.cardsize-L .cardlinktitle { font-weight: bold;color: #444444; }        /* 太字 */
				.cardsize-L .cardlinkdescription { min-height: 2.5em; }  /* 内容量が少ない場合でも一定の高さを確保 */
				.cardsize-L .cardlinkurl {
					border-top: 1px solid #ddd;  /* 上側の枠線 */
					margin-top:0.5em;            /* 上側の枠線より上の余白量 */
					padding-top:0.5em;           /* 上側の枠線より下の余白量 */
					font-size:0.75rem;           /* 文字サイズ(小さめ) */
				}