@charset "utf-8";
/*  **********************
skin-_Xmodki2 for てがろぐ ver.4.5.0～
Ver. 2025/01/31
https://10prs.com
 ************************ */
:root {
	/* メイン文字色 */
	--main-text-color: #333;
	/* 明るめの文字色 */
	--light-text-color: #536471;
	/* リンクやその他アクセントカラー */
	--a-color: #1d9bf0;
	/* 全体の背景色 */
	--main-bg-color: #fff;
	/* 細かいパーツの背景色 */
	--light-bg-color: #efefef;
	/* ↑よりさらに明るめの色 */
	--lighter-color: #eff3f4;
	/* アイコンフォント */
	--icon-font: 'Line Awesome Free', 'Line Awesome Brands';
	/* ヘッダ画像の高さ */
	--Xmodoki-header-img: 200px;
}

body {
	line-height: 1.6;
	color: var(--main-text-color);
	background-color: var(--main-bg-color);
	font-family: 'Noto Sans JP', sans-serif;
	font-size: clamp(10px, 3.75vw, 16px);
}

a {
	color: var(--a-color);
	text-decoration: none;
	transition: .3s all;
}
a:hover {
	text-decoration: underline;
}

/* 段組み用 */
.wrapper {
	container-type: inline-size;
}
@media (520px < width) {
	.wrapper {
		margin: 0 auto;
		max-width: 1000px;
		position: relative;
		display: flex;
		flex-direction: row-reverse;
		align-items: flex-start;
		gap: 1em;
	}
}
.container {
	flex: 1;
	border-color: var(--lighter-color);
	border-style: solid;
	border-width: 0 1px 1px 1px;
}

/* グローバルヘッダー */
.global_header {
	h1 {
		padding: 6px 16px;
		line-height: 1;
		border-bottom: 1px solid var(--lighter-color);
		background-color: rgba(255, 255, 255, .6);
		font-size: 20px;
	}
	h1 a {
		color: var(--main-text-color);
	}
	h1 a:hover {
		text-decoration: none;
	}
	h1 a::before {
		content: '←';
	}
	h1 small {
		margin-top: 3px;
		display: block;
		color: var(--light-text-color);
		font-size: 10px;
		font-weight: 400;
	}
	h2 {
		margin-bottom: -40px;
		height: var(--Xmodoki-header-img);
		background-color: rgb(207, 217, 222);
		background-image: url(../images/X-header.jpg);
		background-position: center;
		background-repeat: no-repeat;
		background-size: cover;
	}
	h2 span {
		display: none;
	}
}
/* 表示対象が限定されていない状況時ヘッダー */
body.nofiltering:not(.mode-gallery) .global_header {
	h1 a {
		pointer-events: none;
	}
	h1 a:before {
		content: none;
	}
}
/* ギャラリーモード時ヘッダー */
body.mode-gallery .global_header {
	h2,
	.mini_prof {
		display: none;
	}
}
/* グローバルヘッダー内アイコンやユーザー名など */
.mini_prof {
	padding: 0 16px;
	position: relative;
	line-height: 1.3;
	/* ユーザーアイコン */
	.icon {
		width: 20%;
		min-width: 48px;
	}
	.usericon {
		border: 3px solid #fff;
		width: 100%;
		height: auto;
		border-radius: 100vmax;
	}
	/*  ユーザー名・ユーザーID */
	:where(.username, .postuserid) {
		width: fit-content;
		display: block;
	}
	:where(.username, .postuserid):hover {
		text-decoration: none;
	}
	.username {
		color: var(--main-text-color);
		font-size: 1.2em;
		font-weight: bold;
	}
	.postuserid {
		color: var(--light-text-color);
	}
	/*  紹介文 */
	.userintro {
		display: inline-block;
		font-size: .9em;
	}
	/* 副タイトルと管理画面へのリンク */
	.userintro+div {
		margin-left: auto;
		padding: .5em 1em;
		border: 1px solid;
		position: absolute;
		top: 52px;
		right: .5em;
		width: fit-content;
		max-width: calc(100% - (20% + 2em));
		display: flex;
		border-radius: 1.5em;
		.description {
			max-width: 100%;
			white-space: nowrap;
			text-overflow: ellipsis;
			overflow: hidden;
		}
	}
	.home_link {
		margin-top: .5em;
		color: var(--light-text-color);
		font-size: .9em;
	}
	.home_link :where(a, span) {
		display: block;
		max-width: 20em;
		overflow: hidden;
		white-space: nowrap;
		text-overflow: ellipsis;
	}
	.home_link a::before {
		content: '\f0c1';
		color: var(--light-text-color);
		font-family: var(--icon-font);
		font-weight: 900;
	}
	.home_link a[href=""] {
		display: none;
	}
}
@media (520px < width) {
	.global_header .icon {
		width: 15%;
	}
	.mini_prof .home_link {
		:where(a, span) {
			display: inline-block;
		}
		a {
			margin-right: 1em;
		}
	}
}

/* メインコンテンツ表示部分 */
.contents {
	display: flex;
	flex-wrap: wrap;
	max-width: initial;
	/* タブ切り替え */
	label[for*="tab"] {
		width: 100%;
		position: relative;
		flex: 1;
		order: -1;
		color: var(--light-text-color);
		text-align: center;
	}
	input[type="radio"][id*="tab"] {
		display: none;
	}
	.tab_content {
		width: 100%;
		display: none;
	}
	input[type="radio"]:checked+.tab_content {
		display: block;
	}
	label[for*="tab"]:hover {
		background: var(--light-bg-color);
	}
	label[for*="tab"] a {
		padding-block: 16px;
		display: block;
		width: 100%;
		height: 100%;
		color: var(--light-text-color);
		text-decoration: none;
	}
	input[type="radio"]:checked+label,
	label[for*="tab"] a:hover {
		color: currentColor;
	}
}
body:not(.mode-gallery, .onelog) label[for="tab1"] a {
	pointer-events: none!important;
}
/* 切り替えタブの下線 */
body:not(.mode-gallery):has(input[type="radio"][id="tab1"]:checked) label[for="tab1"]::after,
body.mode-gallery label[for="tab999"]::after {
	content: '';
	display: block;
	width: 50%;
	height: 4px;
	position: absolute;
	left: 50%;
	bottom: 0;
	background-color: var(--a-color);
	border-radius: 2px;
	transform: translateX(-50%);
}

/* 記事表示部分共通 */
.onelogbox,
.categoryTree,
.hashtag,
.archives {
	padding: 12px 16px;
	border-color: var(--lighter-color);
	border-style: solid;
	border-width: 1px 0 1px 0;
}

/* 記事部分 */
.onelogbox {
	display: flex;
	flex-wrap: wrap;
	gap: 12px;
	position: relative;
	/* ユーザーアイコン */
	.icon {
		width: 50px;
		height: 100%;
		position: sticky;
		top: 0;
		img {
			width: 50px;
			height: 50px;
			border-radius: 100vmax;
		}
	}
	/* .post_infoを含む記事本文部分 */
	.post_body {
		flex: 1;
	}
}
/* 表示幅520px未満の時 */
@media (width < 520px) {
.onelogbox {
		.icon {
			width: 40px;
			img {
				width: 40px;
				height: 40px;
			}
		}
	}
}
/* 投稿者名・ID・投稿日付・カテゴリリンク */
.post_info {
	margin-bottom: 4px;
	a {
		text-decoration: none;
	}
	.username {
		color: #0f1419;
		font-weight: bold;
	}
	:where(.postuserid, .postdate a) {
		color: var(--light-text-color);
	}
	:where(.postuserid, .postdate, .categories) {
		font-size: .8em;
	}
	.userintro {
		display:none;
	}
	.categories {
		display: block;
		text-align: right;
	}
}

/* 記事ボックスにマウスホバーした時 */
.onelogbox:hover {
	background-color: color-mix(in srgb, var(--a-color) 2%, transparent);
}

/* 記事タイトル */
.post_title {
	display: none;
}

/* 固定記事 */
.onelogbox.logstatus-fixed::before {
	margin-left: 20px;
	content: "📌固定";
	display: block;
	width: 100%;
	color: var(--light-text-color);
	font-size: .8em;
	font-weight: bold;
}
/* 記事本文内 */
.post_content {
	/* 各種リスト */
	>ul,
	>ol {
		margin: 1em 0;
		padding-left: 2em;
	}
	ul,
	ol {
		padding-left: 1.5em;
	}
	dl {
		margin: .5em 0 .5em .5em;
		padding-left: .5em;
	}
	dt {
		font-weight: bold;
	}
	dd {
		padding-left: 1em;
	}
	:where(ul,ol,dl)+br {
		display: none;
	}
	/* 装飾のない画像 */
	a.imagelink:not(.embeddedpictbox a, .deco-twimage a) {
		border: 1px solid #e0e0e0;
		border-radius: 1em;
	}
}
/* もっと読む・畳むボタン */
.decorationH {
}
.readmorebutton {
	padding: 2px .5em;
	border: 1px solid;
	display: block !important;
	background-color: #fff;
	font-size: .8em;
	text-align: center;
}
.readmorearea { 
	padding: .5em .5em 2em .5em;
	position: relative;
	display: block !important;
	overflow: hidden;
	background-color: color-mix(in srgb, var(--a-color) 5%, transparent);
	animation: accordion .4s linear;
	box-sizing: border-box;
}
.readmorebutton.readmoreclose {
	position: absolute;
	bottom: -.2em;
	left: 0;
	width: calc(100% - 1px);
}
.readmorebutton.readmoreopen[style="display: none;"],
.readmorearea[style="display: none;"],
.readmorebutton.readmoreclose[style="display: none;"] {
	display: none !important;
}
/* 鍵つき */
.passkeyform {
}
.passkeybox {
	margin: .5em 0;
	padding: 1em 0;
	display: block;
	background-color: color-mix(in srgb, var(--a-color) 10%, #fff);
	text-align: center;
	.passkeyguide {
		font-size: .9em;
	}
	input {
		border: solid 1px color-mix(in srgb, var(--light-text-color) 50%, #fff);
		-webkit-appearance: none;
		appearance: none;
	}
	.passkeyinput {
		padding: 4px .2em;
		border-right: 0;
		line-height: 1.45;
		max-width: 10em;
		background-color: #fff;
		border-radius: 5px 0 0 5px;
	}
	.submitcover {
	}
	.passkeysubmit {
		padding: 4px 1em;
		border-left: 0;
		line-height: 1.45;
		background-color: var(--light-bg-color);
		border-radius: 0 5px 5px 0;
	}
}
.passkeyerror {
	margin: 6px;
	padding: 3px 6px;
	border: 1px solid var(--light-text-color);
	width: fit-content;
	display: block;
	color: var(--light-text-color);
	background-color: var(--light-bg-color);
	border-radius: 3px;
}

/* 汎用装飾(てがろぐ専用記法で書かれた場合のみ) */
.decorationQ {
	margin: 10px 0;
	padding: 16px;
	border: 1px solid #e0e0e0;
	font-size: .9em;
	border-radius: 1em;
	.postidlink {
		display: block;
	}
}
.decorationE {
	text-decoration: underline red 2px;
}
.decorationT {
	font-size: .5em;
}

/* 記事内フッター */
.post_footer {
	width: 100%;
	position: relative;
	.reaction-counts {
		justify-content: center;
	}
	>ul {
		padding-left: 0;
		display: flex;
		align-items: center;
		list-style: none;
		>li {
			width: 100%;
			color: var(--light-text-color);
			text-align: center;
		}
	}
	.reply a {
	font-size: 1.4em;
	filter: grayscale(1) drop-shadow(0 0 1px #ccc);
	transition: .8s;
	}
	.reply a:hover {
	filter: grayscale(0);
	}
	details summary {
		margin: 0 auto;
		width: 1.6em;
		height: 1.6em;
		line-height: 1.75;
		color: var(--light-text-color);
		font-size: 1.2em;
		text-align: center;
		border-radius: 100vmax;
		transition: .8s;
	}
	details ul {
		padding-left: 0;
		border: 1px solid var(--lighter-color);
		min-width: 10em;
		position: absolute;
		bottom: 2em;
		background-color: var(--main-bg-color);
		box-shadow: 0 0 3px #eee;
	}
	details ul li {
		text-align: left;
		list-style: none;
	}
	details ul li :where(button, a) {
		margin-inline: 0;
		padding: 3px 8px;
		display: block;
		color: var(--main-text-color);
		font-size: .9em;
		text-align: left;
	}
	.copy {
		width: 100%;
	}
	.reaction-buttons {
		margin: 10px;
		gap: .5em;
		button {
			padding: 0 .5em;
			height: 1.6em;
			line-height: 1;
		}
	}
}
:is(.reply, .edit) summary:hover {
	color: rgb(29, 155, 240);
	background-color: rgba(29, 155, 240, .1);
}

.share summary:hover {
	color: rgb(0, 186, 124);
	background-color: rgba(0, 186, 124, .1);
}

.favorite summary:hover {
	color: rgb(249, 24, 128);
	background-color: rgba(249, 24, 128, .1);
}

/* 境界バー */
.dateseparator {
	display: none;
}
/* 先頭固定専用の日付境界バー */
.fixedseparator {
	display: none;
}

/* 検索タブ（検索ボックス・カテゴリ・ハッシュタグ一覧）・アーカイブタブ（カレンダー・年月リスト）共通スタイル */
:where(.cattree, .datelimitlist) li {
	list-style: none;
}
.depth2,
.datelimitsublist {
	margin-left: 1em;
}
:where(.depth2, .hashtaglist, .datelimitsublist) li {
	display: inline;
}
:where(.depth1, .datelimitlist) > li > a {
	font-weight: bold;
}
:where(.cattree, .hashtaglist, .datelimitlist) .num {
	margin: 0 2px;
	color: var(--light-text-color);
	font-size: .8em;
}

/* 検索タブ（検索ボックス・カテゴリ・ハッシュタグ一覧） */
.categoryTree {
/* 検索ボックス */
	.searchbox {
		padding: 6px;
		background-color: var(--lighter-color);
		border-radius: 6px;
	}
	.searchinputs {
		display: flex;
		flex-direction: row-reverse;
	}
	.queryinput {
		padding: 6px;
		max-width: calc(100% - 60px);
		flex: 1;
	}
	.submitbutton {
		padding: 6px 16px;
		color: var(--light-text-color);
	}
/* カテゴリツリーは3階層以下を非表示にしています */
	.depth3 {
		display: none;
	}
}
/* カレンダー */
.tab_content .archives {
	display: flex;
	gap: 16px;
	justify-content: center;
	align-items: center;
}
/* calender CSS via たこつぼくらぶ さま https://takotubo.10rino.net/ */
.calendar {
	width: 100%;
	line-height: 2.5;
	border-collapse: collapse;
	font-size: 12px;
	text-align: center;
	a {
		position: relative;
		display: inline-block;
		width: 100%;
		background-color: rgba(29, 155, 240, .1);
		font-weight: bold;
		text-decoration: none;
	}
	caption {
		text-align: center;
		font-weight: bold;
		font-size: 1.4em;
	}
	tr.daysofweek th {
		border-bottom: 2px solid var(--light-text-color);
		text-align: center;
		font-size: 1.2em;
		line-height: 2.3;
	}
	tr {
		border-bottom: 1px solid var(--light-text-color);
	}
	tr:last-child {
		border-bottom: none;
	}
	td {
		vertical-align: middle;
	}
	th:nth-child(7) {
		color: hsl(200, 70%, 40%);
	}
	tr td.sat {
		background-color: hsl(200, 100%, 90%);
	}
	th:nth-child(1) {
		color: hsl(0, 70%, 40%);
	}
	tr td.sun {
		background-color: hsl(0, 100%, 90%);
	}
	tr td.today {
		background-color: hsl(50, 100%, 90%);
	}
	td.empty::after {
		content: "-";
	}
}
/* プロフィールタブ（フリースペース） */
.onelogbox.freespace {
	display: block;
	position: static;
}

/* ページ送り */
.page_nav {
	padding: 1em 0;
	display: flex;
	justify-content: center;
	a {
		margin: 0 3px;
		padding: 3px 10px;
		color: var(--main-text-color);
		background-color: var(--light-bg-color);
		border-radius: 3px;
	}
	a:hover {
		color: #fff;
		background-color: var(--a-color);
		text-decoration: none;
	}
	.prevlink {
		margin: 0 4px;
		order: 1;
	}
	.linkseparator {
		display: none;
	}
	.nextlink {
		margin: 0 4px;
		order: 3;
	}
	.pagenum {
		order: 2;
		a {
			min-width: 1.4em;
			display: inline-block;
			text-align: center;
		}
	}
	.pagenumhere {
		color: #fff;
		background-color: var(--main-text-color);
		font-weight: bold;
	}
}
/* 表示幅520px未満の時 */
@media (width < 520px) {
	body:not(.onelog) {
		.prevlink,
		.nextlink {
			display: none;
		}
	}
}

/* 記事単体表示時 */
body.onelog {
	/* ユーティリティリンク枠 */
	.utilitylinks {
		display: none; /* 初期は非表示・表示する場合はこの行を削除 */
		margin: 1em;
		padding: 1em 2em;
		background-color: var(--light-bg-color);
		font-size: .8em;
		border-radius: 1em;
	}
	/* ページ前後リンク */
	.page_nav {
		gap: .2em;
	}
	:where(.prevlink, .nextlink) {
		width: 50%;
		text-align: center;
		overflow-wrap: break-word;
	}
	:where(.prevlink, .nextlink)::before {
		padding-top: 3px;
		display: block;
		font-family: var(--icon-font);
		font-weight: 900;
		text-align: center;
	}
	.prevlink::before {
		content: '\f104';
	}
	.nextlink::before {
		content: '\f105';
	}
	.prevlink {
		margin-right: auto;
	}
	.nextlink {
		margin-left: auto;
	}
}

/* グローバルナビゲーション ここから */
.global_nav {
	padding-top: 30px;
	position: sticky;
	top: 0;
	flex: 0 0 200px;
	ul {
		padding-left: 1em;
	}
	li {
		list-style: none;
	}
	.free_homelink:has(a[href=""]) {
		display: none;
	}
	a,
	label {
		padding: .2em 0;
		display: block;
		color: currentColor;
	}
	i {
		font-size: 2em;
		vertical-align: middle;
	}
	small {
		margin-left: .5em;
		font-size: .9em;
	}
	label:hover small {
		text-decoration: underline;
	}
	.Login-Required label[for="quickpost_toggle"] {
		margin-top: 1em;
		padding: .5em 0;
		color: #fff;
		background-color: var(--a-color);
		font-weight: bold;
		text-align: center;
		border-radius: 2em;
		transition: .3s;
	}
	.Login-Required label[for="quickpost_toggle"]:hover {
		background-color: color-mix(in srgb, var(--a-color) 80%, #fff);
	}
}
/* ページのフッタ部分に表示するリンクURLが空の場合グローバルナビゲーション内「ホーム」非表示 */
#free_homelink:has(a[href=""]) {
	display: none;
}
/* フリースペースが空の場合グローバルナビゲーション内「プロフィール」非表示 */
body:has(.tab_content .onelogbox.freespace:empty) .global_nav .profile {
	display: none;
}
/* 表示切替時、表示しているものを強調 */
body:not(.mode-gallery):has(input[type="radio"][id="tab1"]:checked) .global_nav .post,
body:has(input[type="radio"][id="tab2"]:checked) .global_nav .search,
body:has(input[type="radio"][id="tab3"]:checked) .global_nav .profile,
body.mode-gallery:not(:has(input[type="radio"][id="tab2"]:checked,input[type="radio"][id="tab3"]:checked)) .global_nav .media {
	small {
		font-weight: bold;
	}
}
@container (max-width: 800px) {
	.global_nav {
		text-align: center;
		flex-basis: 80px;
		small {
			display: none;
		}
		li.Login-Required label[for="quickpost_toggle"] {
			padding: 0;
			width: 60px;
			height: 60px;
			line-height: 60px;
			border-radius: 100vmax;
			b {
				display: none;
			}
		}
		label[for="quickpost_toggle"]::before {
			content: '\f305';
			font-family: var(--icon-font);
			font-size: 36px;
			font-weight: 900;
		}
	}
	/* 表示切替時、表示しているものを強調 */
	body:not(.mode-gallery):has(input[type="radio"][id="tab1"]:checked) .global_nav .post,
	body:has(input[type="radio"][id="tab2"]:checked) .global_nav .search,
	body:has(input[type="radio"][id="tab3"]:checked) .global_nav .profile,
	body.mode-gallery:not(:has(input[type="radio"][id="tab2"]:checked,input[type="radio"][id="tab3"]:checked)) .global_nav .media {
		padding-bottom: 2px;
		position: relative;
	}
	body:not(.mode-gallery):has(input[type="radio"][id="tab1"]:checked) .global_nav .post::after,
	body:has(input[type="radio"][id="tab2"]:checked) .global_nav .search::after,
	body:has(input[type="radio"][id="tab3"]:checked) .global_nav .profile::after,
	body.mode-gallery:not(:has(input[type="radio"][id="tab2"]:checked,input[type="radio"][id="tab3"]:checked)) .global_nav .media::after {
		content: '';
		display: block;
		margin: auto;
		width: 30%;
		height: 6px;
		background-color: var(--a-color);
		position: absolute;
		bottom: 0;
		left: 35%;
		border-radius: 100vmax;
	}
}
/* 表示幅520px未満の時 */
@media (width < 520px) {
.wrapper {
position:relative;
}
	.global_nav {
		padding-top: 0;
		position: sticky;
		bottom: 0;
		z-index: 1;
		background-color: rgba(255,255,255,.6);
		backdrop-filter: blur(5px);
		ul {
			padding-left: 0;
			display: flex;
		}
		li {
			flex: 1;
		}
		a,
		label {
			text-align: center;
		}
		li.Login-Required:has(label[for="quickpost_toggle"]) {
			position: fixed;
			bottom: 3em;
			right: 1em;
			z-index: 100;
		}
	}
	.global_nav:hover {
		background-color: #fff;
	}
}
/* グローバルナビゲーション ここまで */

/* グローバルフッター ここから */
.global_footer {
	padding: 1em 1em 0;
	font-size: .9em;
	.poweredby {
		text-align: center;
	}
	.material {
		color: var(--light-text-color);
		text-align: center;
		opacity: .4;
		transition: opacity .5s;
	}

	.material:hover {
		opacity: 1;
	}
	.material li {
		display: inline;
	}
	.material li:not(:first-child)::before {
		content: '/';
	}
}
/* グローバルフッター ここまで */

/* スクロールボタン ここから */
.scroll_btn {
	position: fixed;
	top: calc(50% - 36px);
	right: .5em;
	z-index: 2;
	a {
		display: grid;
		place-content: center;
		opacity: .5;
	}

	a:hover {
		opacity: .8;
	}
	a::after {
		content: url('data:image/svg+xml;utf-8,<svg xmlns="http://www.w3.org/2000/svg" height="24px" viewBox="0 -960 960 960" width="24px" fill="%23ffffff"><path d="M504-480 320-664l56-56 240 240-240 240-56-56 184-184Z"/></svg>');
		/* https://fonts.google.com/icons?selected=Material+Symbols+Outlined:chevron_right:FILL@0;wght@400;GRAD@0;opsz@24&icon.size=24&icon.color=%23FFFFFF&icon.query=arrow */
		display: grid;
		place-content: center;
		width: 24px;
		height: 24px;
		line-height: .5em;
		background-color: #333;
		opacity: .5;
	}
	a:first-child {
		transform: rotate(-90deg);
	}
	a:first-child::after {
		border-radius: 0 5px 5px 0;
	}
	a:last-child::after {
		border-radius: 0 5px 5px 0;
		transform: rotate(90deg);
	}
	a span {
		display: none;
	}
}

/* スクロールボタン ここまで */

/* .postidlink クリックで開くポップアップ ここから */
#popupContent {
	margin: .5em;
	padding: 1em .5em;
	z-index: 1;
	max-width: 600px;
	line-height: 1.2;
	background-color: rgba(255, 255, 255, .8);
	box-shadow: 0 0 3px #aaa;
	.popup_content {
		margin-top: 1.4em;
		max-height: 500px;
		overflow: auto;
		font-size: .9em;
	}
	.popup_number {
		position: absolute;
		top: .5em;
		left: .5em;
		font-weight: bold;
		font-size: .9em;
	}
}
/* .postidlink クリックで開くポップアップ ここまで */

/* ギャラリーモード グリッドレイアウト ここから */
.gallery_container {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
	gap: 1px;
	grid-template-rows: auto;
	.gallery_contents {
		position: relative;
		display: grid;
		place-content: center;
		background-color: var(--lighter-color);
		.imagelink,
		figure {
		display: none;
		}
		.imagelink:first-child,
		figure:first-child
		 {
			display: block;
		}
		img,
		video {
			width: 100%;
			max-width: 100%;
			height: auto;
			aspect-ratio: 1/1;
		}
		.pictcount {
			padding: 3px 5px;
			position: absolute;
			bottom: .3em;
			left: .2em;
			line-height: 1;
			background-color: #fff;
			font-size: .8em;
			border-radius: 3px;
			span {
				display: none;
			}
			a {
				color: currentColor;
			}
		}
		.posttime {
			display: none;
		}
	}
}

.lb-caption {
	margin: .3em 0;
	padding: .3em 1em;
	background-color: #fff;
}
/* ギャラリーモード グリッドレイアウト ここまで */

/* ローディング画面アニメーション
-- HTML: <div class="loader"></div>
The Filling CSS Loaders Collection https://css-loaders.com/filling/ */
.loader {
	width: fit-content;
	font-size: 40px;
	line-height: 1.5;
	font-family: system-ui,sans-serif;
	font-weight: bold;
	text-transform: uppercase;
	color: #0000;
	-webkit-text-stroke: 1px #000;
	background:
	radial-gradient(1.13em at 50% 1.6em,#000 99%,#0000 101%) calc(50% - 1.6em) 0/3.2em 100% text,
	radial-gradient(1.13em at 50% -0.8em,#0000 99%,#000 101%) 50% .8em/3.2em 100% repeat-x  text;
	animation: l9 1s linear infinite;
}
.loader:before {
	content: "Loading";
}
@keyframes l9 {
	to {background-position: calc(50% + 1.6em) 0,calc(50% + 3.2em) .8em}
}