@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{
	display: flex;
	flex-direction: column;
	min-height: 100dvh;
	overflow-x: hidden;
}


i.decorationI {
    font-family: 'ヒラギノ角ゴ Pro W3', 'Hiragino Kaku Gothic Pro','游ゴシック', 'Yu Gothic', sans-serif;
    font-weight: 500;
}

small.decorationT {
    font-size: x-small;
}

.searchword {
    background: #bae8e8;
}

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

.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{
position: absolute;
    top: calc(50% - 4px);
    left: 3px;
    content: "";
    display: block;
    width: 8px;
    height: 8px;
    background-color: var(--secondary);
    border-radius: 50%;
    -webkit-border-radius: 50%;
}

q.decorationQ::before,
q.decorationQ::after{
	vertical-align: top;
	font-size: 0.9em;
	color: var(--highlight);
}

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

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

q.decorationQ {
    color: var(--highlight);
    font-family: 'ヒラギノ角ゴ Pro W3', 'Hiragino Kaku Gothic Pro', '游ゴシック', 'Yu Gothic', sans-serif;
    font-style: italic;
    font-weight: bolder;
}

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

@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, .nodata, .nolist {
    margin-top: 5rem;
}

article .comment{
    overflow-wrap: break-word;
}

article .comment img{
	max-width: 100%;
	max-height: 600px;
	width: auto;
	height: auto;
        margin: 0.5em 0;
        border: 1px solid var(--secondary);
        border-radius: 0.3em;
}


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

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


article em{
	font-weight: bolder;
        font-size: xxx-large;
        font-family: 'ヒラギノ角ゴ Pro W3', 'Hiragino Kaku Gothic Pro','游ゴシック', 'Yu Gothic', sans-serif;
}

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

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

article .comment a.readmorebutton{
        width: 100%;
        text-align: center;
        font-weight: bolder;
	padding: 1rem 0;
	font-size: 0.9em;
	line-height: 1.6;
	transform: translateY(-0.3rem);
}

article .comment a.readmorebutton,
input.passkeysubmit{
	display: inline-block;
	text-decoration: none;
	vertical-align: middle;
        /* border: 1.5px solid var(--heading); */
        margin: 1em 0;
        border-radius: 0.3em;
}

.readmorearea {
    background: var(--background);
    padding: 1rem;
}

.oneloginfo{
	display: flex;
	justify-content: flex-end;
}


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

.categories {
    margin-left: 5px;
}

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



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

.pagination{
	margin: 2em 0;
}

.pagenums{
	margin: 0 auto;
}

.pagenums{
	width: fit-content;
}

.pagenums a{
	display: inline-block;
	text-align: center;
	border-radius: 50%;
	font-weight: bold;
	margin: 0 0.5rem;
        text-decoration: none;
    color: var(--paragraph);
    padding: 0.5rem;

}

a.pagenumlink.pagenumhere {
    /* font-weight: initial; */
    background: var(--button);
    color: var(--white);
}

.pagelinks {
    text-align: center;
    font-weight: bolder;
    /* margin-bottom: 1.5em; */


}

.pagelinks a {
    background: var(--button);
    color: var(--white);
    border-radius: 0.3em;
    text-decoration: none;
padding: 0.75rem 1rem;
}

/*検索窓*/

.simplesearch {
    text-align: center;
}

.submitcover {
    padding: 1rem 1.5rem;
    border-radius: 0.3em;
    font-weight: bolder;
    background: #bae8e8;
    display: inline-block; /* インラインブロック要素にする */
    vertical-align: middle; /* 垂直方向に中央に配置 */
}

.queryinput {
    border: 1.5px solid #272343;
    border-radius: 0.3em;
    padding: 0.5rem 1rem;
    text-align: left;
    margin-right: 5px;
    vertical-align: middle; /* 垂直方向に中央に配置 */
}

/* ↓投稿フォーム */

.newpost{
	position: fixed;
	right: 90px;
	bottom: 30px;
	width: fit-content;
	z-index: 100;
        font-size: 22px;
}

.newpost button{
        width: 50px;
        height: 50px;
	display: block;
	text-align: center;
	border-radius:50%;
	border: 1.5px solid;
	background: #fff;
}

.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: block;
    color: #aaadaf;
}

p.poweredby {
    font-size: 12px;
}

p.footernav {
    margin: 0px auto 2em;
    font-size: 14px;
}


/* ↓clearfix */

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



/* ↓非表示 */

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

html {
  touch-action: manipulation;
}

