@charset "utf-8";
/* **********************
skin-_Xmodki2 for てがろぐ ver.4.5.0～
Ver. 2025/01/31
https://10prs.com
 ************************ */
:root {
	/* メイン文字色 */
	--main-text-color: #575050;
	/* 明るめの文字色 */
	--light-text-color: #292929;
	/* リンクやその他アクセントカラー */
	--a-color: #5d1e1e;
	/* 全体の背景色 */
	--main-bg-color: #ffffff;
	/* 細かいパーツの背景色 */
	--light-bg-color: #ab7f7f;
	/* ↑よりさらに明るめの色 */
	--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 (min-width: 521px) {
	.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 {
	margin-top: 0; /* ← この一行を追加します */
	padding: 0px 16px;
	line-height: 1;
	border-bottom: 1px solid var(--lighter-color);
	background-color: rgb(253, 253, 253);
	font-size: 0px;
}
.global_header h1 a {
	color: var(--main-text-color);
}
.global_header h1 a:hover {
	text-decoration: none;
}
.global_header h1 a::before {
	content: '←';
}
.global_header h1 small {
	margin-top: 3px;
	display: block;
	color: var(--light-text-color);
	font-size: 10px;
	font-weight: 400;
}
.global_header h2 {
	margin-bottom: -20px;
	height: var(--Xmodoki-header-img);
	background-color: rgb(71, 65, 64);
	background-image: url(../images/header.jpg);
	background-position: center;
	background-repeat: no-repeat;
	background-size: cover;
}
.global_header h2 span {
	display: none;
}
/* 表示対象が限定されていない状況時ヘッダー */
body.nofiltering:not(.mode-gallery) .global_header h1 a {
	pointer-events: none;
}
body.nofiltering:not(.mode-gallery) .global_header h1 a:before {
	content: none;
}
/* ギャラリーモード時ヘッダー */
body.mode-gallery .global_header h2,
body.mode-gallery .global_header .mini_prof {
	display: none;
}

/* グローバルヘッダー内アイコンやユーザー名など */
.mini_prof {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    padding: 12px 16px;
    position: relative;
    line-height: 1.3;
}
.mini_prof > * {
    margin-right: 16px;
}
.mini_prof .icon {
    width: 20%;
    min-width: 48px;
    flex-shrink: 0;
    margin-right: 16px;
}
.mini_prof .usericon {
    border: 3px solid #fff;
    width: 100%;
    height: auto;
    border-radius: 100vmax;
}
.mini_prof :where(.username, .postuserid) {
    width: fit-content;
    display: block;
}
.mini_prof :where(.username, .postuserid):hover {
    text-decoration: none;
}
.mini_prof .username {
    color: var(--main-text-color);
    font-size: 1.2em;
    font-weight: bold;
}
.mini_prof .postuserid {
    color: var(--light-text-color);
}
.mini_prof .userintro {
    width: 100%;
    order: 3;
    font-size: .9em;
    display: inline-block;
    margin-top: 8px;
}
.mini_prof .userintro+div {
    position: static;
    margin-left: auto;
    margin-right: 0;
    border: 1px solid;
    border-radius: 1.5em;
    padding: .5em 1em;
    max-width: 100%;
    display: flex;
    align-items: center;
}
.mini_prof .userintro+div .description {
    max-width: 100%;
    white-space: nowrap;
    text-overflow: ellipsis;
    overflow: hidden;
}
.mini_prof .home_link {
    width: 100%;
    order: 4;
    margin-top: 8px;
    color: var(--light-text-color);
    font-size: .9em;
}
.mini_prof .home_link :where(a, span) {
    display: block;
    max-width: 20em;
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
}
.mini_prof .home_link a::before {
    content: '\f0c1';
    color: var(--light-text-color);
    font-family: var(--icon-font);
    font-weight: 900;
}
.mini_prof .home_link a[href=""] {
    display: none;
}

@media (min-width: 521px) {
	.global_header .icon {
		width: 15%;
	}
	.mini_prof .home_link :where(a, span) {
		display: inline-block;
	}
	.mini_prof .home_link a {
		margin-right: 1em;
	}
}

/* メインコンテンツ表示部分 */
.contents {
	display: flex;
	flex-wrap: wrap;
	max-width: initial;
}
/* タブ切り替え */
.contents label[for*="tab"] {
	width: 100%;
	position: relative;
	flex: 1;
	order: -1;
	color: var(--light-text-color);
	text-align: center;
}
.contents input[type="radio"][id*="tab"] {
	display: none;
}
.contents .tab_content {
	width: 100%;
	display: none;
}
.contents input[type="radio"]:checked+.tab_content {
	display: block;
}
.contents label[for*="tab"]:hover {
	background: var(--light-bg-color);
}
.contents label[for*="tab"] a {
	padding-block: 16px;
	display: block;
	width: 100%;
	height: 100%;
	color: var(--light-text-color);
	text-decoration: none;
}
.contents input[type="radio"]:checked+label,
.contents label[for*="tab"] a:hover {
	color: currentColor;
}
body:not(.mode-gallery, .onelog) label[for="tab1"] a {
	pointer-events: none!important;
}

/* 記事表示部分共通 */
.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;
}
.onelogbox .icon {
	width: 50px;
	height: 100%;
	position: sticky;
	top: 0;
}
.onelogbox .icon img {
	width: 50px;
	height: 50px;
	border-radius: 100vmax;
}
.onelogbox .post_body {
	flex: 1;
}

/* 投稿者名・ID・投稿日付・カテゴリリンク */
.post_info {
	margin-bottom: 4px;
}
.post_info a {
	text-decoration: none;
}
.post_info .username {
	color: #0f1419;
	font-weight: bold;
}
.post_info :where(.postuserid, .postdate a) {
	color: var(--light-text-color);
}
.post_info :where(.postuserid, .postdate, .categories) {
	font-size: .8em;
}
.post_info .userintro {
	display:none;
}
.post_info .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,
.post_content >ol {
	margin: 1em 0;
	padding-left: 2em;
}
.post_content ul,
.post_content ol {
	padding-left: 1.5em;
}
.post_content dl {
	margin: .5em 0 .5em .5em;
	padding-left: .5em;
}
.post_content dt {
	font-weight: bold;
}
.post_content dd {
	padding-left: 1em;
}
.post_content :where(ul,ol,dl)+br {
	display: none;
}

.post_content 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;
}
.passkeybox .passkeyguide {
	font-size: .9em;
}
.passkeybox input {
	border: solid 1px color-mix(in srgb, var(--light-text-color) 50%, #fff);
	-webkit-appearance: none;
	appearance: none;
}
.passkeybox .passkeyinput {
	padding: 4px .2em;
	border-right: 0;
	line-height: 1.45;
	max-width: 10em;
	background-color: #fff;
	border-radius: 5px 0 0 5px;
}
.passkeybox .submitcover {
}
.passkeybox .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;
}
.decorationQ .postidlink {
	display: block;
}
.decorationE {
	text-decoration: underline red 2px;
}
.decorationT {
	font-size: .5em;
}

/* 記事内フッター */
.post_footer {
	width: 100%;
	position: relative;
}
.post_footer .reaction-counts {
	justify-content: center;
}
.post_footer >ul {
	padding-left: 0;
	display: flex;
	align-items: center;
	list-style: none;
}
.post_footer >ul >li {
	width: 100%;
	color: var(--light-text-color);
	text-align: center;
}
.post_footer .reply a {
	font-size: 1.4em;
	filter: grayscale(1) drop-shadow(0 0 1px #ccc);
	transition: .8s;
}
.post_footer .reply a:hover {
	filter: grayscale(0);
}
.post_footer 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;
}
.post_footer 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;
}
.post_footer details ul li {
	text-align: left;
	list-style: none;
}
.post_footer 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;
}
.post_footer .copy {
	width: 100%;
}
.post_footer .reaction-buttons {
	margin: 10px;
	gap: .5em;
}
.post_footer .reaction-buttons 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;
}
.categoryTree .searchinputs {
	display: flex;
	flex-direction: row-reverse;
}
.categoryTree .queryinput {
	padding: 6px;
	max-width: calc(100% - 60px);
	flex: 1;
}
.categoryTree .submitbutton {
	padding: 6px 16px;
	color: var(--light-text-color);
}
/* カテゴリツリーは3階層以下を非表示にしています */
.categoryTree .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;
}
.calendar a {
	position: relative;
	display: inline-block;
	width: 100%;
	background-color: rgba(29, 155, 240, .1);
	font-weight: bold;
	text-decoration: none;
}
.calendar caption {
	text-align: center;
	font-weight: bold;
	font-size: 1.4em;
}
.calendar tr.daysofweek th {
	border-bottom: 2px solid var(--light-text-color);
	text-align: center;
	font-size: 1.2em;
	line-height: 2.3;
}
.calendar tr {
	border-bottom: 1px solid var(--light-text-color);
}
.calendar tr:last-child {
	border-bottom: none;
}
.calendar td {
	vertical-align: middle;
}
.calendar th:nth-child(7) {
	color: hsl(200, 70%, 40%);
}
.calendar tr td.sat {
	background-color: hsl(200, 100%, 90%);
}
.calendar th:nth-child(1) {
	color: hsl(0, 70%, 40%);
}
.calendar tr td.sun {
	background-color: hsl(0, 100%, 90%);
}
.calendar tr td.today {
	background-color: hsl(50, 100%, 90%);
}
.calendar td.empty::after {
	content: "-";
}
/* プロフィールタブ（フリースペース） */
.onelogbox.freespace {
	display: block;
	position: static;
}

/* ページ送り */
.page_nav {
	padding: 1em 0;
	display: flex;
	justify-content: center;
}
.page_nav a {
	margin: 0 3px;
	padding: 3px 10px;
	color: var(--main-text-color);
	background-color: var(--light-bg-color);
	border-radius: 3px;
}
.page_nav a:hover {
	color: #fff;
	background-color: var(--a-color);
	text-decoration: none;
}
.page_nav .prevlink {
	margin: 0 4px;
	order: 1;
}
.page_nav .linkseparator {
	display: none;
}
.page_nav .nextlink {
	margin: 0 4px;
	order: 3;
}
.page_nav .pagenum {
	order: 2;
}
.page_nav .pagenum a {
	min-width: 1.4em;
	display: inline-block;
	text-align: center;
}
.page_nav .pagenumhere {
	color: #fff;
	background-color: var(--main-text-color);
	font-weight: bold;
}

/* 記事単体表示時 */
body.onelog .utilitylinks {
	display: none; /* 初期は非表示・表示する場合はこの行を削除 */
	margin: 1em;
	padding: 1em 2em;
	background-color: var(--light-bg-color);
	font-size: .8em;
	border-radius: 1em;
}
body.onelog .page_nav {
	gap: .2em;
}
body.onelog :where(.prevlink, .nextlink) {
	width: 50%;
	text-align: center;
	overflow-wrap: break-word;
}
body.onelog :where(.prevlink, .nextlink)::before {
	padding-top: 3px;
	display: block;
	font-family: var(--icon-font);
	font-weight: 900;
	text-align: center;
}
body.onelog .prevlink::before {
	content: '\f104';
}
body.onelog .nextlink::before {
	content: '\f105';
}
body.onelog .prevlink {
	margin-right: auto;
}
body.onelog .nextlink {
	margin-left: auto;
}

/* グローバルナビゲーション ここから */
.global_nav {
	padding-top: 30px;
	position: sticky;
	top: 0;
	flex: 0 0 200px;
}
.global_nav ul {
	padding-left: 1em;
}
.global_nav li {
	list-style: none;
}
.global_nav .free_homelink:has(a[href=""]) {
	display: none;
}
.global_nav a,
.global_nav label {
	padding: .2em 0;
	display: block;
	color: currentColor;
}
.global_nav i {
	font-size: 2em;
	vertical-align: middle;
}
.global_nav small {
	margin-left: .5em;
	font-size: .9em;
}
.global_nav label:hover small {
	text-decoration: underline;
}
.global_nav .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;
}
.global_nav .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 small,
body:has(input[type="radio"][id="tab2"]:checked) .global_nav .search small,
body:has(input[type="radio"][id="tab3"]:checked) .global_nav .profile small,
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;
	}
	.global_nav small {
		display: none;
	}
	.global_nav li.Login-Required label[for="quickpost_toggle"] {
		padding: 0;
		width: 60px;
		height: 60px;
		line-height: 60px;
		border-radius: 100vmax;
	}
	.global_nav li.Login-Required label[for="quickpost_toggle"] b {
		display: none;
	}
	.global_nav 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 (max-width: 520px) {
    .onelogbox .icon {
        width: 40px;
    }
    .onelogbox .icon img {
        width: 40px;
        height: 40px;
    }
    body:not(.onelog) .prevlink,
    body:not(.onelog) .nextlink {
        display: none;
    }
    .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);
    }
    .global_nav ul {
        padding-left: 0;
        display: flex;
    }
    .global_nav li {
        flex: 1;
    }
    .global_nav a,
    .global_nav label {
        text-align: center;
    }
    .global_nav li.Login-Required {
        /* position: fixed; */
        /* bottom: 3em; */
        /* right: 1em; */
        z-index: 100;
    }
    .global_nav:hover {
        background-color: #fff;
    }
}
/* グローバルナビゲーション ここまで */

/* グローバルフッター ここから */
.global_footer {
	padding: 1em 1em 0;
	font-size: .9em;
}
.global_footer .poweredby {
	text-align: center;
}
.global_footer .material {
	color: var(--light-text-color);
	text-align: center;
	opacity: .4;
	transition: opacity .5s;
}

.global_footer .material:hover {
	opacity: 1;
}
.global_footer .material li {
	display: inline;
}
.global_footer .material li:not(:first-child)::before {
	content: '/';
}
/* グローバルフッター ここまで */

/* スクロールボタン ここから */
.scroll_btn {
	position: fixed;
	top: calc(50% - 36px);
	right: .5em;
	z-index: 2;
}
.scroll_btn a {
	display: grid;
	place-content: center;
	opacity: .5;
}
.scroll_btn a:hover {
	opacity: .8;
}
.scroll_btn 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;
}
.scroll_btn a:first-child {
	transform: rotate(-90deg);
}
.scroll_btn a:first-child::after {
	border-radius: 0 5px 5px 0;
}
.scroll_btn a:last-child {
	transform: rotate(90deg);
}
.scroll_btn a:last-child::after {
	border-radius: 0 5px 5px 0;
}
.scroll_btn 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;
}
#popupContent .popup_content {
	margin-top: 1.4em;
	max-height: 500px;
	overflow: auto;
	font-size: .9em;
}
#popupContent .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_container .gallery_contents {
	position: relative;
	display: grid;
	place-content: center;
	background-color: var(--lighter-color);
}
.gallery_container .gallery_contents .imagelink,
.gallery_container .gallery_contents figure {
	display: none;
}
.gallery_container .gallery_contents .imagelink:first-child,
.gallery_container .gallery_contents figure:first-child {
	display: block;
}
.gallery_container .gallery_contents img,
.gallery_container .gallery_contents video {
	width: 100%;
	max-width: 100%;
	height: auto;
	aspect-ratio: 1/1;
}
.gallery_container .gallery_contents .pictcount {
	padding: 3px 5px;
	position: absolute;
	bottom: .3em;
	left: .2em;
	line-height: 1;
	background-color: #fff;
	font-size: .8em;
	border-radius: 3px;
}
.gallery_container .gallery_contents .pictcount span {
	display: none;
}
.gallery_container .gallery_contents .pictcount a {
	color: currentColor;
}
.gallery_container .gallery_contents .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}
}

/* ヘッダーのポスト数を非表示にする */
.global_header h1 small {
    display: none;
}


