@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;
}

h1,
h2,
.postdate,
.searchbox input.queryinput::placeholder,
a.rss,
.pagenums,
footer{
	font-family: 'Urbanist', 'Noto Sans JP';
}



/* ↓アイコンフォント */

.searchbox::after,
.cattree li::before,
.categories a:first-child::before,
.hashtaglist .taglink::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;
}

.searchbox::after{
	content:'\f002';
	position: absolute;
	right: 1rem;
	top: 0;
	bottom: 0;
	z-index: -1;
}

.cattree li::before,
.categories a:first-child::before{
	content:'\f07b';
	font-weight: normal;
}

.hashtaglist .taglink::before{
	content:'\23';
}

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;
}



/* ↓ヘッダー */

header{
	text-align: center;
}

header h1,
header h2{
	font-weight: bold;
}

#plof p{
	width: fit-content;
}

#icon{
	display: block;
	border-radius:10px;
	object-fit: cover;
}

/* ↓コンテンツエリア */

.contents{
	flex: 1;
}

.main{
	position: relative;
}

.side > *:first-child{
	margin-top: 0;
}



/* ↓外部リンク */

.link ul li a{
	display: block;
	text-align: center;
}

.link ul li:last-child a{
	margin-bottom: 0;
}



/* ↓検索窓 */

.searchbox{
	position: relative;
}

.searchinputs{
	display: block;
}

.searchbox input{
	vertical-align: top;
	display:inline-block;
}

.searchbox input:focus {
	outline: none;
}

.searchbox input.submitbutton{
	font-size: 0;
}



/* ↓カテゴリーリスト */

ul.cattree li{
	font-weight: 500;
}

ul.cattree li:first-child{
	padding-top: 0;
}



/* ↓ハッシュタグ */

ul.hashtaglist{
	display: flex;
	flex-wrap: wrap;
}

.hashtaglist li,
.taglink{
	font-weight: 500;
}



/* ↓RSSリンク */

a.rss{
	display: inline-block;
	width: fit-content;
	font-weight: bold;
}



/* ↓記事の表示 */

article{
	overflow: hidden;
}

.main > *:first-child,
.main > 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;
}

article .comment a.imagelink.nsfw img{
	height: 100%;
	margin: 0;
}


/* ↓キャプションをワンクッションに使いたくないという方はここから消す */
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;
}
/* ↑ここまで消す */


/* ↓ページネーション */

.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;
}



/* ↓非表示 */

.searchtarget,
.limitedsearch,
.dateseparator,
article.logstatus-fixed .oneloginfo,
.cattree .num,
.hashtag .num,
.utilitylinks{
	display: none;
}
