@import url('https://fonts.googleapis.com/css2?family=Noto+Color+Emoji&family=Oswald:wght@200..700&family=Pixelify+Sans:wght@400..700&display=swap');

div.box {
	max-width: 70rem;
	width: 100%;
	margin: 0 auto;
    padding: 3rem;
    background-color: var(--color-light);
    border-radius: 6px;
} 

section.tegalog {
	max-width: 70rem;
	margin: 0 auto;
}
iframe {
    max-width: 100%;
}


p.oneloginfo {
    text-align: center;
    font-size: 90%;
	color: var(--color-main);
}
p.oneloginfo a.categorylink {
    display: inline-block;
    text-decoration: none;
    color: var(--color-main);
    margin-right: 8px;
}

p.situation {
    font-size: 90%;
    color: var(--color-main);
}
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;
}
p.pagenums {
    text-align: center;
    margin: 5px auto;
}
p.pagehome{
    text-align: center;
}
a.pagenumlink {
    display: inline-block;
	color: var(--color-main);
	border: 1px solid var(--color-main);
    background-color: var(--color-light);
	width: 25px;
	height: 25px;
	line-height: 25px;
	margin-top: 0.3rem;
}

/* 現在のページ番号とマウスオーバー時の装飾 */	
a.pagenumhere,.pagenumlink:hover {
	color: var(--color-light);
	background-color: var(--color-main);
}
div.comment {
    word-break: break-word;
    margin: 1em;
}
a.readmorebutton {
    margin: 5px auto;
    border: 1px solid;
    text-decoration: none;
    color: var(--color-main);
    text-align: center;
    padding: 2px 10px;
    border-radius: 3px;
}
a.readmorebutton.readmoreclose {
    padding: 2px 10px;
    font-size: 85%;
    margin-left: 5px;
    white-space: nowrap;
}

/* ============================================================ */
/* ■鍵付き(パスワード保護)投稿に表示される鍵入力フォームの装飾 */
/* ============================================================ */
.passkeyform {
	display: inline-block;
	margin: 0;
	padding: 0.6em;
	background-color: rgb(242, 245, 247);
	border: 1px solid rgb(211, 221, 238);
	border-radius: 0.25em;
}

	/* ▼鍵違いエラーの表示 */
	.passkeyerror {
		display: block;
		color: white;
		background-color: rgb(230, 171, 183);
		font-weight: bold;
		line-height: 1;
		margin: 0 0 0.5em 0;
		padding: 0.33em 0.25em;
	}

	/* ▼入力フォーム枠 */
	.passkeybox {
		display: block;
	}

		/* ▼入力欄前のガイド文 */
		.passkeyguide {
			margin-right: 0.1em;
		}
		/* ▼鍵入力欄 */
		.passkeyinput {
			width: 10em;
			margin: 0 0.25em 3px 0;
		}
		/* ▼送信ボタン */
		.passkeysubmit {
		}


a.nsfw {
    position: relative;
    overflow: hidden;
    display: block;
  }
  a.nsfw img {
    filter: blur(15px);
  }
  a.nsfw:before {
    font-family: 'Line Awesome Free';
    font-weight: 900;
    content: "\f071";
    vertical-align: middle;
    margin-right: 5px;
    color: var(--color-light)fff;
    display: block;
    width: 100%;
    height: 100%;
    background: #0000003a;
    position: absolute;
    z-index: 1;
    text-align: center;
    font-size: 50px;
    margin: auto;
    top: 0;
    padding: 20% 0 0;
  }
  @media (min-width: 768px) {
    a.nsfw:before {
      font-size: 70px;
    }
  }
        


/* リンクの装飾 */
a.labeledlink::before {
	font-family: "Font Awesome 6 Free";
	content: "\f08e";
	color: var(--color-accent);
	font-weight: 900;
	margin-right: 1px;
}

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: right;
}

/* 埋め込みTweet */	/* これはツイートが埋め込まれる処理「前」用の装飾です。実際に埋め込まれるツイートはTwitter側のiframeで装飾されますので、てがろぐ側では指定できません。 */
blockquote.twitter-tweet {
	background-color: #f8f8f8;
	border: 1px dashed #ddd;
	border-radius: 9px;
	margin: 0.3rem 0;
	padding: 1rem;
	font-size: 0.8rem;
	color: #999;
	text-shadow: 1px 1px 1px var(--color-light);
}

/* 埋め込みツイートの横幅を強制的に制限 追加　*/
div.twitter-tweet { 
	max-width: 400px !important;
	width: 100%;
	max-height: 400px;
	overflow-y: scroll;
}

.embeddedpictbox {
	position: relative;
	display: block;
	margin: 0 auto;
}

.embeddedimage {
	max-width: 100%;
	display: block;
	margin: 0 auto;
	-webkit-user-select:none; /* テキスト選択不可　無くてもいいかも */
	user-select: none; /* 同上 */
	pointer-events:none; /* クリック無効 */
	-webkit-touch-callout:none; /* ロングタップ無効 */
}

/* .embeddedpictbox::after {
	content: "klensch.net"; 
	position: absolute;
	bottom: 2%;
	left: 50%;
	transform: translateX(-50%);
	color: #cccccc88;
	font-size: 1em;
	mix-blend-mode: difference;
	pointer-events: none;
	font-family: "Oswald", sans-serif;
	font-weight: 600;
	text-shadow: 0 0 3px rgba(245,245,245,0.5);
}
*/



/* 追加241007 */


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

.onelogbox img {
    max-width: 100%; /* 画像の幅を親要素に対して最大幅で表示 */
    height: auto;
}

.btnarea {
	width: 100%;
	max-width: 700px;
    right: calc(50% - 35rem);
	position: fixed;
	z-index: 101;
	bottom: 0;
	pointer-events:none;
}

.ue_btn {
	margin-left: auto;
	display: grid;
	place-items: center;
	width: 30px;
	height: 30px;
	background: var(--color-accent);
	pointer-events:auto;
	&:hover{ background-color: var(--color-main);}
}
@media screen and (max-width: 700px) {
    .btnarea {
        right: 0; /* 画面幅が700px未満の場合、画面右下に配置 */
        width: 100%;
    }
}

ul.hashtaglist .taglink::before { content: '\23';}/* 先頭の＃ */

.iinearea{
	display: flex;
	justify-content: center;
}

.postheader{
	display: flex;
	align-items: center;
	justify-content: flex-start;
}
.phicon img.icon{
	display: inline-block;
	margin-right: 0.5em;
	height: 60px;
	width: 60px;
	background: var(--color-light);
	border-radius: 50%;
	border: solid 6px var(--color-light);
	z-index: 1;
}
.phtext{
	display: inline-block;
}
.phtext h2{
	font-size: 1.1em;
	font-weight: 600;
}

.postdate{
	text-align: center;
}

.pagewrap {
	animation: fadein 0.5s forwards;
}

.pagewrap2 {
	animation: fadein 0.25s forwards;
}

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

.postfooter{
	display: flex;
	flex-wrap: nowrap;
	justify-content: space-between;
	position: relative;
	margin-top: 1.5em;
}

.pagehome{
	position: absolute;
	left: 50%;
	transform: translateX(-50%);
}

p.donotrepost{
	text-align: center;
	color: var(--color-main);
}

span.nowrap {
	display: inline-block;
}