@charset "utf-8";

/* ↓フォント関連 */

@import url('https://fonts.googleapis.com/css2?family=Noto+Sans+JP:wght@400;500;600;900&display=swap&subset=japanese');
@import url('https://fonts.googleapis.com/css2?family=Urbanist:wght@200;500;700;800&display=swap');
@import url('https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.3.0/css/all.min.css');

body{
	font-family: 'Noto Sans JP','Hiragino Kaku Gothic ProN', Meiryo,  sans-serif;
	display: flex;
	flex-direction: column;
	min-height: 100dvh;
	overflow-x: hidden;
}

.postdate,
.pagenums,
footer{
	font-family: 'Urbanist', 'Noto Sans JP';
}



/* ↓アイコンフォント */

.categories a:first-child::before,
ul.decorationL li::before,
q.decorationQ::before,
q.decorationQ::after,
a.nsfw::before{
	display: inline-block;
	font-family:'Font Awesome 6 Free';
	text-align: center;
	font-weight: 900;
}

.categories a:first-child::before{
	content:'\f07b';
	font-weight: normal;
}

ul.decorationL li::before{
	content:'\f058';
	margin-right: 0.3rem;
}

q.decorationQ::before,
q.decorationQ::after{
	vertical-align: top;
	font-size: 0.9em;
	color: #aaa;
}

q.decorationQ::before{
	content:'\f10d';
	margin-right: 0.3rem;
}

q.decorationQ::after{
	content:'\f10e';
	margin-left: 0.3rem;
}

/* ↓各デバイス用サイズ調整 */

@media screen and (min-width: 1180px) {
	html{ font-size:62.5%;}}
@media screen and (max-width: 1179px) {
	html{ font-size:50%;}}
@media screen and (max-width: 912px) {
	html{ font-size:90%;}}
@media screen and (max-width: 720px) {
	html{ font-size:50%;}}
@media screen and (max-width: 540px) {
	html{ font-size:62.5%;}}
@media screen and (max-width: 280px) {
	html{ font-size:40%;}}

html{
	scroll-behavior: smooth;
}

body{
	position: relative;
}



/* ↓コンテンツエリア */

.contents{
	flex: 1;
}



/* ↓記事の表示 */

article{
	overflow: hidden;
}

.contents > *:first-child,
.contents > article:first-of-type{
	margin-top: 0;	
}

article .comment img{
	max-width: 100%;
	height: auto;
}

article .comment a.imagelink{
	display: block;
}

article .comment a{
	text-decoration: underline;
	font-weight: 500;
}

article .comment a.taglink{
	text-decoration: none;
}

article em{
	font-weight: 500;
}

ul.decorationL li{
	position: relative;
	padding-left: 1.4em;
}

ul.decorationL li::before{
	position: absolute;
	top: 0;
	left: 0;
}

article .comment a.readmorebutton,
input.passkeysubmit{
	display: inline-block;
	text-decoration: none;
	vertical-align: middle;
}

.oneloginfo{
	display: flex;
	justify-content: space-between;
}

.oneloginfo span:last-of-type{
	margin-right: 0;
}

iframe.embeddedmovie{
	display: block;
	max-width: 100%;
	height: auto;
	aspect-ratio: 16 / 9;
}



/* ↓NSFW画像 */

article .comment a.imagelink.nsfw{
	position: relative;
}

article .comment a.imagelink.nsfw::before{
	content:'\f071';
	display: block;
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	display: flex;
	flex-direction: column;
	justify-content: center;
	align-items: center;
}


/* ↓キャプションをワンクッションに使いたくないという方はここから消す */
figure.nsfw{
	position: relative;
	width: fit-content;
	height: fit-content;
}

.nsfw figcaption{
	content:'';
	display: block;
	position: absolute;
	top: 0;
	bottom: 0;
	left: 0;
	right: 0;
	margin: auto;
	width: fit-content;
	height:  fit-content;
	font-size: 0.8em;
}
/* ↑ここまで消す */

article .comment a.imagelink.nsfw img{
	height: 100%;
	margin: 0;
}



/* ↓ページネーション */

.pagenums{
	width: fit-content;
}

.pagenums a{
	display: inline-block;
	text-align: center;
	border-radius: 50%;
	font-weight: bold;
}



/* ↓投稿フォーム */

.newpost{
	position: sticky;
	left: 100%;
	width: fit-content;
	z-index: 100;
}

.newpost button{
	display: block;
	text-align: center;
	border-radius:50%;
}

.postarea{
	display: none;
}

.pagenumhere{
	pointer-events: none;
}

form.postform textarea{
	resize: none;
}

form.postform textarea:focus {
    outline: none;
}

.changelink{
	display: inline-block;
}

.line-control input[type=checkbox]{
	background-color: #fff;
	appearance: auto;
}

.catChecks label{
	display: inline-block;
	vertical-align: top;
}

.line-control input.postbutton{
	font-weight: bold;
}

input[name="upload_file"]{
	background-color: transparent !important;
	padding: 0 !important;
}

span.decoBtns{
	display: block !important;
}

select.hashtagEasyInput{
	background-color: #fff;
	vertical-align: top;
}



/* ↓フッター */

footer{
	margin-top: auto;
	text-align: center;
}

footer p{
	display: inline-block;
}



/* ↓clearfix */

article .comment::after {
   content: "";
   display: block;
   clear: both;
}



/* ↓非表示 */

article.logstatus-fixed .oneloginfo,
.utilitylinks{
	display: none;
}
