@charset "utf-8";
@import url('https://fonts.googleapis.com/css2?family=Noto+Sans+JP:wght@400;600&family=Noto+Serif+JP:wght@400;600&display=swap');


/* --------------------------------------------
temlplate by pipi
https://pipi.noor.jp/t/
release date: 2024-08-24
update date: 2025-07-04
-------------------------------------------- */

:root {
	--main-font-family: "Noto Sans JP", "Helvetica Neue", "Helvetica", "Hiragino Sans", "Hiragino Kaku Gothic ProN", "Arial", "Segoe UI", "Meiryo", sans-serif;

	/* コンテンツの最大横幅設定 */
	--main-width: 800px;
	/* 600～800pxくらいがオススメです。 */

	--padding: 0.3em 0.8em 0.4em;
	--radius: 15px;
	--red: #c00;
	--margin-between: 5px;
}

/* 元のreset css
*,*::before,*::after{box-sizing:border-box}*{margin:0}*/
*,
*::before,
*::after {
	box-sizing: border-box
}

* {
	margin: 0
}

body {
	font-feature-settings: "palt" 1;
	overflow-wrap: anywhere;
	word-break: normal;
	line-break: strict;
	text-size-adjust: 100%;
	-webkit-text-size-adjust: 100%
}

picture,
video,
canvas {
	display: block;
	max-width: 100%
}

input,
button,
textarea,
select {
	font: inherit
}

img {
	max-width: 100%;
	height: auto
}

nav ul {
	list-style-type: none;
	padding: 0
}

:where(:any-link) {
	color: currentColor;
	text-decoration-skip-ink: auto;
	text-decoration-color: color-mix(in srgb, currentcolor 30%, transparent);
	text-underline-offset: 0.2em
}

summary,
button {
	cursor: pointer
}

em {
	font-style: normal
}

html {
	font-size: 100%;
	scroll-behavior: smooth;
}

body {
	accent-color: var(--accent);
	background: var(--main-bg-design);
	color: var(--text-color);
	font-family: var(--main-font-family);
	font-feature-settings: "palt" 1;
	font-weight: 400;
	letter-spacing: 1px;
	line-break: normal;
	line-height: 1.8;
	margin: 0 3vw;
	word-break: break-word;
}

body.grandhome .hidden,
body.mode-picts .hidden {
	display: none;
}


/* textlevel -------------------------------------------- */
a {
	font-weight: bold;
	text-decoration: none;
}

a:hover {
	color: var(--accent);
}

a:hover img,
a:hover svg {
	opacity: 0.7;
}

em {
	background-image: linear-gradient(rgba(0, 0, 0, 0) 50%, color-mix(in srgb, var(--accent) 40%, transparent) 50%);
	font-weight: bold;
	margin: 0 0.2em;
	padding: 0 0.2em;
}

strong {
	font-weight: bold;
}

.attention {
	color: var(--red);
	font-weight: bold;
}

.large {
	font-size: 1.2rem;
	font-weight: bold;
}

.large2x {
	font-size: 2rem;
	font-weight: bold;
}

.decorationM {
	padding: 0 0.2em;
}

small.decorationS,
.small {
	font-size: 0.85rem;
}

small.decorationT {
	font-size: 0.7rem;
}

.comment a,
.calendar a {
	text-decoration: underline;
	text-decoration-color: color-mix(in srgb, currentcolor 40%, transparent);
}

.comment a.readmorebutton,
.comment a.uc-btn,
aside .cattree a {
	background-color: var(--text-color);
	color: var(--sub-bg-color);
	display: inline-block;
	font-size: 0.9rem;
	margin: 0 0 5px 0;
	padding: 0.1em 0.6em 0.2em;
	text-decoration: none;
	transition: background-color 0.2s ease-in-out;
}

.comment a.readmorebutton:hover,
.comment a.uc-btn:hover,
aside .cattree a:hover {
	background-color: var(--accent);
}

.comment a:not(.cardlink)[target~="_blank"]::after {
	content: " \f35d";
	font-family: 'Line Awesome Free';
	font-weight: 900;
}

.comment a.readmoreclose {
	background-color: transparent;
	border-top: 1px solid color-mix(in srgb, var(--text-color) 20%, transparent);
	color: color-mix(in srgb, var(--text-color) 50%, transparent);
	display: block;
	font-size: 0.8em;
	margin: 2rem 0;
	text-align: right;
}

.comment a.readmoreclose:hover {
	background-color: transparent;
}

q.decorationQ {
	background-color: color-mix(in srgb, var(--text-color) 15%, transparent);
	display: block;
	font-size: 0.9rem;
	margin: 0.5em 0;
	padding: 1em 2em;
	position: relative;
}

q.decorationQ::before {
	color: color-mix(in srgb, var(--text-color) 60%, transparent);
	content: "\f10d";
	font-family: 'Line Awesome Free';
	font-weight: 900;
	left: 6px;
	position: absolute;
	top: 0;
}

q.decorationQ::after {
	bottom: 0;
	color: color-mix(in srgb, var(--text-color) 60%, transparent);
	content: "\f10e";
	font-family: 'Line Awesome Free';
	font-weight: 900;
	position: absolute;
	right: 6px;
}

code {
	background-color: color-mix(in srgb, var(--text-color) 20%, transparent);
	border-radius: 5px;
	font-size: 0.9em;
	padding: 0.2em 0.5em;
}


/* heading -------------------------------------------- */
h1,
h2,
h3,
h4,
h5,
h6 {
	line-height: 1.3em;
	margin: 2em 0 0.5em;
}

h1:first-child,
h2:first-child,
h3:first-child,
h4:first-child,
h5:first-child,
h6:first-child {
	margin-top: 0;
}


/* grouping -------------------------------------------- */
hr {
	border: none;
	border-bottom: 1px dashed color-mix(in srgb, var(--text-color) 50%, transparent);
	margin: 1.8em 0;
}

p,
ul,
ol,
dl {
	margin-bottom: 1.8em;
}

p:last-child {
	margin-bottom: 0;
}

nav ul {
	list-style: none;
	padding: 0;
	margin-bottom: 0;
}

ul.decorationL {
	list-style-type: disc;
	padding-left: 1.5rem;
	list-style-position: outside;
	margin: 0.5em 0;
}

.right_block {
	text-align: right;
}

/* embeds -------------------------------------------- */
img {
	height: auto;
	max-width: 100%;
	object-fit: cover;
	object-position: top center;
	transition: opacity 0.1s ease-in-out;
	vertical-align: bottom;
}

.comment img.emoji {
	height: 1em;
	margin: 0 3px 3px;
	vertical-align: middle;
	width: 1em;
}

svg {
	fill: currentColor;
	height: auto;
	max-width: 100%;
	vertical-align: bottom;
}

.svg-symbol {
	display: none;
}

picture,
video,
canvas {
	display: block;
	max-width: 100%;
}

iframe.embeddedmovie {
	max-width: 100%;
}

/*-- 記事内の画像関連 --*/
a.imagelink {
	line-height: 1;
	vertical-align: bottom;
}

a.imagelink.nsfw,
a[data-flag*="nsfw"],
a:has(> img.nsfw) {
	background-color: color-mix(in srgb, var(--text-color) 30%, transparent);
	overflow: hidden;
	position: relative;
	text-decoration: none;
}

a.imagelink.nsfw::before,
a[data-flag*="nsfw"]::before,
:has(> img.nsfw)::before {
	color: #fff;
	content: '画像を見る';
	font-size: 0.85rem;
	left: calc(50% - 2.5em);
	line-height: 1;
	position: absolute;
	top: calc(50% - 0.5em);
	z-index: 500;
}

.comment a.nsfw {
	display: inline-block;
	margin: 5px 0;
	width: 50%;
}

.comment small img.embeddedimage {
	width: 50%;
}

.comment img {
	margin: 5px 0;
	width: auto;
}

img.nsfw,
.thumbnails a[data-flag*="nsfw"] img {
	filter: blur(10px);
	opacity: 0.5;
}

.comment a.imagelink.nsfw img {
	margin: 0 0;
}

/*-- figure --*/
figure {
	margin: 5px 0;
	position: relative;
	vertical-align: top;
}

figure.nsfw {
	width: 50%;
}

.comment figure.nsfw a.nsfw {
	width: 100%;
	margin: 0 0;
}

.comment figure img {
	margin: 0 0;
}

figcaption {
	background-color: #0008;
	color: #fff;
	font-size: 0.8rem;
	line-height: 1.5;
	padding: 0.2em 0.5em;
	position: absolute;
	left: 0px;
	bottom: 0px;
}

.comment small figure {
	width: 50%;

	img.embeddedimage {
		width: 100%;
	}
}

/*-- リストで囲んだ画像 --*/
ul.listdeco-img {
	display: grid;
	gap: 5px;
	grid-template-columns: repeat(auto-fit, minmax(110px, 1fr));
	list-style-type: none;
	padding-left: 0;
}

ul.listdeco-img img {
	aspect-ratio: 1/1;
	margin: 0 0;
	width: 100%;
}

ul.listdeco-img a.nsfw,
ul.listdeco-img figure {
	margin: 0 0;
	width: 100%;
}

ul.listdeco-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
}


/* table -------------------------------------------- */
table {
	border-collapse: collapse;
	border-top: 1px solid color-mix(in srgb, var(--text-color) 30%, transparent);
	margin-bottom: 1em;
	text-align: left;
	width: 100%;
}

th,
td {
	border-bottom: 1px solid color-mix(in srgb, var(--text-color) 30%, transparent);
	padding: var(--padding);
	vertical-align: top;
}

th {
	background: color-mix(in srgb, var(--text-color) 10%, transparent);
	font-weight: bold;
}


/* details -------------------------------------------- */
article {
	details {
		background: color-mix(in srgb, var(--text-color) 20%, transparent);
		border-radius: 5px;
		margin: 1em 0;
		padding: var(--padding);
	}

	summary {
		font-weight: bold;
	}

	details[open] summary {
		margin-bottom: 0.5em;
	}

	details:last-child {
		margin-bottom: 0;
	}
}


/* form -------------------------------------------- */
select,
input.queryinput,
input.passkeyinput {
	border: 1px solid var(--text-color);
	background-color: var(--sub-bg-color);
	color: var(--text-color);
	vertical-align: bottom;
	height: 2rem;
}

input[type="submit"],
input.passkeysubmit,
input[type="button"],
.postarea input[type="text"] {
	border: none;
	background-color: var(--text-color);
	color: var(--sub-bg-color);
	cursor: pointer;
	font-size: 0.9rem;
	font-weight: bold;
	height: 2rem;
	letter-spacing: 2px;
	padding: 0 0.5rem 0 0.6rem;
	vertical-align: bottom;
}

input[type="checkbox"],
input[type="radio"] {
	margin-right: 0.3em;
	vertical-align: middle;
}

article {
	input.passkeyinput {
		width: calc(100% - 7rem);
	}

	input.passkeysubmit {
		letter-spacing: 1px;
		padding: 0 0 2px;
		width: 7rem;
	}
}

details.postarea {
	background-color: color-mix(in srgb, var(--accent) 25%, transparent);
	margin: -5px 0 0;
	padding: 0;
	z-index: 1000;

	summary {
		margin-bottom: 0;
		padding: 2% 5%;
	}

	form.postform {
		padding: 0 5%;
	}

	input[type="text"] {
		cursor: text;
		font-weight: normal;
	}

	p {
		margin-bottom: 0;
	}

	textarea.tegalogpost {
		background-color: var(--sub-bg-color);
		border: none;
		color: var(--text-color);
		font-size: 16px;
		/* iOS zoom対策 */
		display: block;
		min-height: 10rem;
		padding: 0.2em 0.6em;
		resize: vertical;
		width: 100%;
	}

	.submitcover {
		display: block;
		text-align: right;
	}

	input.postbutton {
		background-color: var(--accent);
		font-size: 1rem;
		width: 50%;
	}

	.line-control {
		font-size: 0.9rem;
		padding-bottom: 0.5rem;
	}

	.decoBtns {
		display: block;
	}

	input[type="button"] {
		font-weight: normal;
		letter-spacing: 1px;
		margin: 0 5px 5px 0;
		vertical-align: middle;
	}

	input[type="file"] {
		border: 1px solid var(--text-color);
		vertical-align: middle;
		margin: 0 5px 5px 0;
		height: 2rem;
	}

	::file-selector-button {
		background-color: var(--text-color);
		border: none;
		color: var(--sub-bg-color);
		cursor: pointer;
		height: 2rem;
		margin-right: 0.7em;
		padding: 0.4em 0.6em;
		text-box-edge: cap alphabetic;
		text-box-trim: trim-both;
		transition: background-color 0.3s ease-in-out;
	}

	select {
		margin-bottom: 5px;
		width: unset;
	}

	label {
		display: inline-block;
		padding: 0 1em 5px 0;
		vertical-align: middle;
		line-height: 1.8;
	}

	.funcUIs label {
		padding: 0 5px 5px 0;
	}

	.funcUIs .catChecks,
	.funcUIs>input:first-child {
		margin-right: 1em;
	}

	.right_block {
		padding: 0 5% 3.5%;
	}

	.right_block p {
		border-top: 1px solid color-mix(in srgb, var(--text-color) 20%, transparent);
	}
}



/* ------------
layout
------------ */


/* header -------------------------------------------- */
header {
	background-color: color-mix(in srgb, var(--sub-bg-color) 50%, transparent);
	border-radius: var(--radius) var(--radius) 0 0;
	margin: 2rem auto var(--margin-between);
	max-width: var(--main-width);
	text-align: center;
}

header .headervisual {
	background: var(--header-bg-design);
	border-radius: var(--radius) var(--radius) 0 0;
	padding: 5.5rem 0 5rem;
}

header .headervisual a {
	padding: 0 0.5em 0.1em;
	transition: all 0.3s ease-in-out;
}

header .headervisual a:hover {
	color: var(--accent);
	filter: drop-shadow(0px 0px 5px var(--sub-bg-color));
}

header h1 {
	font-size: 1.5rem;
	line-height: 1.3;
	margin-bottom: 0.2em;
}

header p {
	font-size: 0.8rem;
}

header .category a,
header .category ul.cattree {
	display: inline-block;
	vertical-align: bottom;
}

header .category ul.cattree li {
	display: inline-block;
}

header .category a {
	border-bottom: 4px solid transparent;
	padding: 0.6em 1em;
	transition: all 0.3s ease-in-out;
}

header .category a:hover {
	color: var(--text-color);
	background-color: color-mix(in srgb, currentColor 20%, transparent);
	border-bottom: 4px solid color-mix(in srgb, var(--text-color) 20%, transparent);
}

body.mode-picts header .category a[href*="mode=picts"],
body.cat-about header .category a[href*="cat=about"],
body.cat-backnumber header .category a[href*="cat=backnumber"],
body.cat-books header .category a[href*="cat=books"],
body.cat-characters header .category a[href*="cat=characters"],
body.cat-comic header .category a[href*="cat=comic"],
body.cat-concept header .category a[href*="cat=concept"],
body.cat-diary header .category a[href*="cat=diary"],
body.cat-download header .category a[href*="cat=download"],
body.cat-event header .category a[href*="cat=event"],
body.cat-faq header .category a[href*="cat=faq"],
body.cat-game header .category a[href*="cat=game"],
body.cat-goods header .category a[href*="cat=goods"],
body.cat-help header .category a[href*="cat=help"],
body.cat-impression header .category a[href*="cat=impression"],
body.cat-info header .category a[href*="cat=info"],
body.cat-introduction header .category a[href*="cat=introduction"],
body.cat-links header .category a[href*="cat=links"],
body.cat-log header .category a[href*="cat=log"],
body.cat-memo header .category a[href*="cat=memo"],
body.cat-movie header .category a[href*="cat=movie"],
body.cat-music header .category a[href*="cat=music"],
body.cat-news header .category a[href*="cat=news"],
body.cat-novel header .category a[href*="cat=novel"],
body.cat-photo header .category a[href*="cat=photo"],
body.cat-planning header .category a[href*="cat=planning"],
body.cat-project header .category a[href*="cat=project"],
body.cat-repo header .category a[href*="cat=repo"],
body.cat-special header .category a[href*="cat=special"],
body.cat-stockroom header .category a[href*="cat=stockroom"],
body.cat-story header .category a[href*="cat=story"],
body.cat-video header .category a[href*="cat=video"],
body.cat-world header .category a[href*="cat=world"] {
	border-bottom: 4px solid var(--accent);
	color: var(--accent);
}

header ul.depth2 a {
	font-size: 0.85rem;
}


/* togglemenu -------------------------------------------- */
.togglemenu {
	margin: 0 0;
	padding: 10px;
	position: fixed;
	right: -15rem;
	text-align: left;
	transition: 0.5s;
	top: 0px;
	width: 15rem;
	z-index: 2;
}

.togglemenu[open] {
	right: 0;
}

.togglemenu summary::-webkit-details-marker {
	display: none;
}

.togglemenu summary {
	list-style: none;
	position: fixed;
	right: 10px;
	top: 10px;
	z-index: 1000;
}

.togglemenu summary::before {
	content: "\f0c9";
	color: var(--text-color);
	font-family: "Line Awesome Free";
	font-size: 2rem;
	font-weight: 900;
	line-height: 1;
}

.togglemenu[open] summary::before {
	content: "\f00d";
	color: var(--sub-bg-color);
}

.togglemenu nav {
	background-color: color-mix(in srgb, var(--text-color) 80%, transparent);
	height: 100dvh;
	padding: 50px 1rem 0;
	position: absolute;
	right: 0px;
	top: 0px;
	transition: opacity 0.3s ease-in-out;
	width: 15rem;
}

.togglemenu a {
	background-color: transparent;
	border-bottom: 1px solid color-mix(in srgb, var(--sub-bg-color) 30%, transparent);
	color: var(--sub-bg-color);
	display: block;
	padding: 0.5em;
	transition: background-color 0.3s ease-in-out;
}

.togglemenu a:hover {
	background-color: color-mix(in srgb, var(--accent) 80%, transparent);
}

.togglemenu a::before {
	content: "\f0da";
	font-family: "Line Awesome Free";
	font-weight: 900;
	margin-right: 0.3em;
	vertical-align: middle;
}

.togglemenu a.home::before {
	content: "\f015";
}


/* main -------------------------------------------- */
main {
	margin: 0 auto 1rem;
	max-width: var(--main-width);
}

article h2 {
	border-left: 10px solid color-mix(in srgb, var(--accent) 50%, transparent);
	font-size: 1.2rem;
	line-height: 1.2;
	margin: 3em 0 0.5em;
	padding-left: 7px;
}

article.freespace {
	img:not([class]) {
		margin: 5px 0;
	}

	.postdate {
		color: color-mix(in srgb, var(--text-color) 70%, transparent);
		padding-right: 0.5em;
	}
}


article {
	background-color: color-mix(in srgb, var(--sub-bg-color) 50%, transparent);
	margin: 0 auto var(--margin-between);
	padding: 2rem 5% 4rem;
	position: relative;
}

.catdescript {
	background-color: color-mix(in srgb, var(--sub-bg-color) 50%, transparent);
	margin: 0 auto var(--margin-between);
	padding: 2rem 5% 2rem;
	position: relative;
}

.catdescript::before,
article.logstatus-fixed::before {
	content: "\f08d";
	font-family: 'Line Awesome Free';
	font-weight: 900;
	font-size: 1.3em;
	line-height: 1;
	position: absolute;
	right: 10px;
	top: -0.4em;
}

article.logstatus-lock::before {
	content: "\f023";
	font-family: 'Line Awesome Free';
	font-weight: 900;
	font-size: 1.3em;
	line-height: 1;
	position: absolute;
	right: 10px;
	top: -0.4em;
}

body.onelog .catdescript,
.catdescript:has(span:empty) {
	display: none;
}

body.grandhome article,
body.mode-picts article {
	border-radius: 0 0 var(--radius) var(--radius);
}

/* novelカテゴリだけの設定 */
article.novel .comment {
	font-feature-settings: normal;
	/* normal=小説カテゴリーの投稿本文だけ文字組みをベタ組み（等間隔）にします。*/
	font-family: "Noto Serif JP", serif;
}

.nodata,
.nolist {
	background-color: color-mix(in srgb, var(--sub-bg-color) 50%, transparent);
	padding: 3rem 5%;
}

article .oneloginfo {
	border-bottom: 1px solid color-mix(in srgb, var(--text-color) 50%, transparent);
	font-size: 0.8rem;
	margin-bottom: 1.5em;
	padding-bottom: 5px;
	text-align: center;
}

article .oneloginfo a+.postdate {
	margin-left: 1em;
}

article .oneloginfo small {
	color: color-mix(in srgb, var(--text-color) 60%, transparent);
}

article span.passkeybox {
	display: block;
	margin-bottom: 0.3rem;
}

article span.passkeyguide {
	display: block;
	margin-bottom: 0.5em;
}

nav.pagenums {
	background-color: color-mix(in srgb, var(--sub-bg-color) 50%, transparent);
	padding: 1rem 5% 0.7rem;
	margin: 0 auto var(--margin-between);
	text-align: center;
}

nav.pagenums:empty {
	display: none;
}

nav.pagenums a {
	background-color: color-mix(in srgb, var(--text-color) 20%, transparent);
	color: var(--text-color);
	display: inline-block;
	letter-spacing: 0;
	min-width: 2em;
	padding: 0 0.3em 0.2em;
	margin-bottom: 5px;
	transition: all 0.3s ease-in-out;
}

nav.pagenums a:hover {
	background-color: color-mix(in srgb, var(--accent) 50%, transparent);
}

nav.pagenums a.pagenumhere {
	background-color: var(--accent);
	color: var(--sub-bg-color);
}

.onelogonly {
	display: none;
}

body.onelog .onelogonly {
	display: block;
}

body.onelog nav.pagenums .onelogonly a {
	padding: 0 1em 0.2em;
	margin-right: 1em;
}

body.onelog nav.pagenums .onelogonly a:last-child {
	margin-right: 0;
}


/* cardlink -------------------------------------------- */
.cardlink {
	display: inline-block;
	font-size: 0.9rem;
	font-weight: normal;
	margin: 0.5em 0;
	vertical-align: middle;
	width: 100%;
}

.comment a.cardlink {
	text-decoration: none;
}

.comment a.cardlink:hover {
	color: var(--text-color);
}

.cardlink::before {
	display: none;
}

.cardlinkbox {
	border: 1px solid color-mix(in srgb, var(--text-color) 50%, transparent);
	border-radius: 5px;
	display: flex;
}

.cardlinkimage {
	aspect-ratio: 1.91 / 1;
	background-image: url(skin-tegasite/noimage.png);
	background-position: center center;
	background-repeat: no-repeat;
	background-size: cover;
	border-radius: 5px 0 0 5px;
	height: auto;
	width: 100%;
}

.cardlinktextbox {
	display: flex;
	flex-direction: column;
	padding: 0.7em 1em 1em;
}

.cardlinktitle,
.cardlinkdescription,
.cardlinkurl {
	display: -webkit-box;
	/* -webkit-line-clampを使うために必要な記述 */
	line-clamp: 1;
	/* 1行だけ見せる (将来的にはこれだけで実現可能かも) */
	overflow: hidden;
	/* 表示量を制限する場合に必須の記述 */
	text-overflow: ellipsis;
	/* 省略記号(三点リーダー) */
	-webkit-line-clamp: 1;
	/* 1行だけ見せる (今のブラウザにはこちらが必要) */
	-webkit-box-orient: vertical;
	/* -webkit-line-clampを使うために必要な記述 */
}

.cardlinktitle {
	font-weight: bold;
}

.cardlinkdescription {
	line-height: 1.4;
	color: color-mix(in srgb, var(--text-color) 70%, transparent);
	line-clamp: 2;
	-webkit-line-clamp: 2;
}

.cardlinkurl {
	border-top: 1px dotted color-mix(in srgb, var(--text-color) 50%, transparent);
	color: color-mix(in srgb, var(--text-color) 70%, transparent);
	font-size: 0.8em;
	margin-top: 0.5em;
	padding-top: 0.2em;
}

.cardsize-S {
	flex-direction: row;

	.cardlinkimage {
		border-radius: 5px 0 0 5px;
		height: 120px;
		width: unset;
	}

	.cardlinktextbox {
		border-left: 1px solid color-mix(in srgb, var(--text-color) 50%, transparent);
		flex: 1;
		justify-content: center;
		padding: 0em 1em;
	}
}

@media (max-width: 599px) {
	.cardsize-S {
		font-size: 0.85rem;
	}

	.cardsize-S .cardlinkimage {
		aspect-ratio: 1 / 1;
	}
}

.cardlink:has(.cardsize-L) {
	max-width: 450px;
}

.cardsize-L {
	flex-direction: column;

	.cardlinkimage {
		border-radius: 5px 5px 0 0;
	}

	.cardlinktextbox {
		border-top: 1px solid color-mix(in srgb, var(--text-color) 50%, transparent);
	}
}


/* aside -------------------------------------------- */
aside {
	background-color: color-mix(in srgb, var(--text-color) 15%, transparent);
	border-radius: 0 0 var(--radius) var(--radius);
	display: grid;
	gap: 1rem 3rem;
	grid-template-columns: 1fr 1fr;
	padding: 3% 5%;

	section>div,
	section>nav,
	section>form {
		margin-bottom: 1rem;
	}

	h2 {
		font-size: 0.8rem;
		font-weight: normal;
		padding: 0 0 0.4em;
	}

	h2.tags {
		padding: 0 0;
	}

	ul {
		padding: 0;
	}

	ul.cattree li {
		display: inline-block;
		margin-right: 5px;
	}

	ul.depth2 {
		display: inline-block;
	}

	ul.depth2 li {
		margin-right: 0;
	}

	ul.depth2 a {
		background-color: color-mix(in srgb, var(--text-color) 60%, transparent);
		margin-left: 1px;
	}

	.searchinputs,
	.datelimitbox,
	.hashtagpullbox,
	.catpullbox {
		display: flex;
	}

	select,
	input.queryinput {
		width: calc(100% - 3rem);
	}

	.hashtaglist li {
		display: inline-block;
		font-weight: bold;
		padding-right: 0.5em;
	}

	.hashtaglist li::before {
		content: '#';
		color: color-mix(in srgb, var(--text-color) 60%, transparent);
	}

	table.calendar {
		font-size: 0.8rem;
		line-height: 2;
		margin-top: 1.5rem;
		text-align: center;
	}

	caption {
		line-height: 1;
		padding-bottom: 0.8em;
		text-align: left;
	}

	.calendar th,
	.calendar td {
		padding: 0.3em 0 0.4em;
	}

	.calendar .sun,
	.calendar .sat {
		background-color: color-mix(in srgb, var(--text-color) 20%, transparent);
	}

	.calendar .today {
		background-color: color-mix(in srgb, var(--accent) 50%, transparent);
	}

	.calendar span.nolink {
		color: color-mix(in srgb, var(--text-color) 70%, transparent);
	}

	.calbtm {
		display: grid;
		font-size: 0.8rem;
		font-weight: bold;
		grid-template-columns: 1fr 1fr;
		margin-top: 0.3rem;
	}

	.calbtm div:nth-child(2) {
		text-align: right;
	}
}



/* mode-picts -------------------------------------------- */
body.mode-picts {
	.pictsadmbtn a {
		background-color: color-mix(in srgb, var(--accent) 25%, transparent);
		display: block;
		margin-top: -5px;
		padding: 2% 5%;
	}

	.thumbnails {
		display: grid;
		gap: 5px;
		grid-template-columns: repeat(auto-fit, minmax(110px, 1fr));
		margin: 1rem 0;
	}

	.thumbnails a {
		background-color: color-mix(in srgb, var(--text-color) 30%, transparent);
		display: flex;
		overflow: hidden;
	}

	.thumbnails img {
		aspect-ratio: 1 / 1;
		margin: 0 0;
		width: 100%;
	}

	nav.pagenums {
		background-color: transparent;
		padding: 1rem 0 0;
		margin: 0 0;
	}

	nav.pagenums a {
		text-decoration: none;
	}
}


/* footer -------------------------------------------- */
footer {
	font-size: 0.8rem;
	padding: 0 0 80px;
	text-align: center;
}


/* 非表示
--------------------------------------------
てがろぐに元々備わっている機能のうち、非表示にしたものです。
表示したいものがあれば、セレクタを削除してください。
-------------------------------------------- */
.dateseparator,
.utilitylinks,
.hashtaglist .num,
.cattree .num,
.datelimitlist .num,
.datelimitboxoptions,
.searchtarget {
	display: none;
}

/*
.dateseparator＝日付境界バー
.utilitylinks＝1投稿の単独表示ページで投稿記事の下に表示されるユーティリティリンク枠
.hashtaglist .num＝ハッシュタグリスト内の投稿数
.cattree .num＝カテゴリツリー内の投稿数
.datelistlink + .num＝日付一覧リスト内の投稿数
.datelimitboxoptions＝日付一覧リストの降順or昇順表示を指定するラジオボタン
.searchtarget＝記事検索フォーム下の「表示中のカテゴリに限定して検索」チェックボックス
*/


/* responsive -------------------------------------------- */
@media (max-width: 599px) {
	html {
		font-size: 95%;
	}

	body {
		margin: 0 0;
	}

	header {
		background-color: transparent;
		margin: 0 0 var(--margin-between);
	}

	header .headervisual {
		border-radius: 0 0;
	}

	header nav.category {
		background-color: color-mix(in srgb, var(--sub-bg-color) 50%, transparent);
		border-radius: var(--radius) var(--radius) 0 0;
		margin: 6vw 3vw var(--margin-between);
	}

	main {
		font-size: 0.94rem;
		margin: 0 3vw 1rem;
	}

	table.resp tr,
	table.resp th,
	table.resp td {
		display: block;
		width: 100%;
	}

	table.resp {
		border-right: 1px solid color-mix(in srgb, var(--text-color) 50%, transparent);
		border-left: 1px solid color-mix(in srgb, var(--text-color) 50%, transparent);
	}

	table.resp td {
		padding-bottom: 1.5rem;
	}

	aside {
		display: block;
	}

	aside section div.imagelist {
		grid-template-columns: repeat(3, 1fr);
	}
}

/* 仕切り線 */
hr,
.deco-sen {
	display: block;
	width: 95%;
	border: none;
	border-bottom: 1px dotted var(--usu-mozi-iro);
	margin: 1.5rem auto;
	font-size: 0;
}

h4,
.deco-h4 {
	font-size: 1rem;
	font-weight: bold;
	margin-bottom: 0.5rem;
	font-family: var(--titlefont);
	letter-spacing: 0.1rem;
}

h4::before,
.deco-h4::before {
	content: "-";
}

/* 枠線付きボックス */
.box2,
.deco-box2 {
	display: block;
	border: 1px solid #000;
	padding: 1.3rem;
	margin: 1rem auto 1.5rem;
}

/* 更新履歴(外枠) */
.kframe {
	display: block;
	border: 1px solid lightgray;
	/* 外枠の線 */
	width: 100%;
	/* 外枠の幅 */
	max-width: 600px;
	/* 外枠の最大幅 */
	height: 100px;
	/* 外枠の高さ */
	margin: 0 auto 3rem;
}

/* footer -------------------------------------------- */
footer {
	background-color: rgba(var(--main-text-rgb), 0.15);
	font-size: 0.8rem;
	padding: 50px 0 80px;
	text-align: center;
}

/* メニュー */
.mainmenu {
	-webkit-tap-highlight-color: transparent;
	position: sticky;
	/* 上まで来たら固定 */
	top: 0;
	z-index: 110;
}

.mainmenu ul {
	cursor: pointer;
	background-color: #ece0d2ee;
	list-style: none;
	max-width: var(--main-width);
	margin: 0 auto;
	padding: 0.5rem 1.3rem;
	font-size: 1rem;
	line-height: 1.5;
	font-family: var(--titlefont);
	letter-spacing: 0.1rem;
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 0 1rem;
}

/* ▼メインリンク */
.mainmenu a {
	text-decoration: none;
	color: var(--moji-iro, #787878);
	font-weight: 600;
	display: inline-block;
	padding: 0.3rem 0;
	transition: color .25s;
}

.mainmenu a:hover {
	color: var(--accent-iro, #9cc2c1);
}

/* ▼ドロップダウン部分 */
.gnavi__list {
	position: relative;
}

.dropdown__lists {
	transform: scaleY(0);
	transform-origin: top;
	transition: transform .25s ease;
	position: absolute;
	top: 100%;
	left: -50px;
	list-style: none;
	margin: 0;
	padding: 2px 0;
	background: var(--haikei-iro);
	border: 1px solid rgba(0, 0, 0, 0.05);
	min-width: 140px;
	text-align: left;
	z-index: 100;
}

/* ホバーで表示 */
.gnavi__list:hover .dropdown__lists {
	transform: scaleY(1);
}

/* ▼サブリンク */
.dropdown__lists li a {
	display: block;
	padding: 4px 10px;
	font-size: 0.9rem;
	color: var(--moji-iro, #787878);
	transition: background .2s, color .2s;
	white-space: nowrap;
}

.dropdown__lists li a:hover {
	background: transparent;
	color: var(--accent-iro, #9cc2c1);
}

/* ▼サブサブメニュー（横に出るやつ） */
.dropdown__lists li {
	text-align: center;
	display: block;
	width: 100%;
	position: relative;
	/* 基準 */
}

.dropdown__sub {
	position: absolute;
	top: 0;
	left: 100%;
	transform: scaleY(0);
	transform-origin: top left;
	transition: transform .25s ease;
	list-style: none;
	margin: 0;
	padding: 2px 0;
	background: var(--haikei-iro);
	border: 1px solid rgba(0, 0, 0, 0.05);
	min-width: 100px;
	z-index: 100;
}

/* ホバーで開く */
.dropdown__lists li:hover>.dropdown__sub {
	transform: scaleY(1);
}

/* サブサブメニュー内のリンク */
.dropdown__sub li a {
	white-space: nowrap;
	display: block;
	padding: 4px 10px;
	font-size: 0.9rem;
	color: var(--moji-iro, #787878);
	transition: background .2s, color .2s;
}

.dropdown__sub li a:hover {
	background: rgba(0, 0, 0, 0.03);
	color: var(--accent-iro, #9cc2c1);
}

/* サファリ用：hover */
.gnavi__list:hover>.dropdown__lists {
	transform: scaleY(1);
}

/* Safari全対応：タップ or フォーカスで開く */
.gnavi__list:focus-within>.dropdown__lists {
	transform: scaleY(1);
}

/* PC用：hover */
.dropdown__lists li:hover>.dropdown__sub {
	transform: scaleY(1);
}

/* Safari全対応：タップ or フォーカスで開く */
.dropdown__lists li:focus-within>.dropdown__sub {
	transform: scaleY(1);
}

.fancy-5 {
	display: inline-flex;
	gap: 9px;
	align-items: center;
	color: #7bc2bd;
	text-decoration: none;
	font-weight: 600;
}

.fancy-5::after {
	content: "→";
	display: inline-block;
	transform: translateX(-6px);
	opacity: 0;
	transition: transform .25s cubic-bezier(.2, .8, .2, 1), opacity .2s;
}

.fancy-5:hover::after,
.fancy-5:focus::after {
	transform: translateX(0);
	opacity: 1;
}

.fancy-5:focus {
	outline: 3px solid rgba(11, 114, 185, 0.14);
}

.banner-frame {
	position: relative;
	display: inline-block;
	width: 200px;
	height: 40px;
	border: 2px solid rgba(255, 255, 255, 0.8);
	border-radius: 8px;
	overflow: hidden;
	box-shadow: 0 2px 6px rgba(0, 0, 0, 0.15);
	transition: transform .25s ease, box-shadow .25s ease;
}

.banner-frame img {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
	/* 画像を枠にフィット */
	object-position: center;
	/* 中央基準 */
	display: block;
}

.banner-frame:hover {
	transform: translateY(-2px);
	box-shadow: 0 4px 12px rgba(0, 0, 0, 0.25);
}