@charset "utf-8";
@import url('https://fonts.googleapis.com/css2?family=Noto+Sans+JP:wght@400;600&display=swap');

/*
	Tegalog skin by pipi
	https://pipi.noor.jp/t/
*/

/* reset css */
*,*::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}

:root{
	/* 色設定 */
	--body-bg: #f3f3f3;
	--sub-bg-color: #fff;
	--main-text-color: #333;
	--accent: #70a5ba;
	--red: #e53317;
	
	/* レイアウトボックスの角丸 */
	--radius: 10px;
	/* レイアウトボックスのドロップシャドウ */
	--shadow: 0px 2px 4px var(--text-color-20);
　　　　/* メインのフォントファミリー */
　　　　--main-font-family: "Noto Sans JP", "Helvetica Neue", "Helvetica", "Hiragino Sans", "Hiragino Kaku Gothic ProN", "Arial", "Segoe UI", "Meiryo", sans-serif;
	/* コンテンツの最大横幅設定 */
	--article-width: 600px;

	/* 自動バリエーション設定（変更不要です） */
	--text-color-10: color-mix(in srgb, var(--main-text-color) 10%, transparent);
	--text-color-15: color-mix(in srgb, var(--main-text-color) 15%, transparent);
	--text-color-20: color-mix(in srgb, var(--main-text-color) 20%, transparent);
	--text-color-30: color-mix(in srgb, var(--main-text-color) 30%, transparent);
	--text-color-50: color-mix(in srgb, var(--main-text-color) 50%, transparent);
	--text-color-70: color-mix(in srgb, var(--main-text-color) 70%, transparent);
	--accent-30: color-mix(in srgb, var(--accent) 30%, transparent);
	--accent-60: color-mix(in srgb, var(--accent) 60%, transparent);
	--radius-mini: calc( var(--radius) * 0.3 );
}
/* 画像保存をしにくくする設定（不要なら削除OK、ここから） */
article a.imagelink,
article img.embeddedimage{
	pointer-events: none;
	-webkit-touch-callout:none;
	-webkit-user-select:none;
	-moz-touch-callout:none;
	-moz-user-select:none;
	user-select:none;
}
/* 画像保存をしにくくする設定（ここまで） */

html{
	font-size: 100%;
}
body{
	accent-color: var(--accent);
	background: var(--body-bg);
	color: var(--main-text-color);
	font-family: var(--main-font-family);
	font-weight: 400;
	letter-spacing: 0.05em;
	line-height: 1.8;
	margin: 0 5vw;
}
::marker {
	color: var(--text-color-50);
}
a{
	font-weight: bold;
}
a:hover{
	text-decoration: none;
}
img{
	object-position: top center;
	vertical-align: bottom;
}
textarea{
	font-size: 16px;	/* iOS zoom対策 */
}


/* header -------------------------------------------- */
body > header{
	margin: 0 auto;
	max-width: var(--article-width);
	padding-block: 50px;
	text-align: center;

	h1 a, h2 a, .icons a{
		text-decoration: none;
	}
	h1 img{
		width: 72px;
	}
	h2.pagetitle{
		font-size: 1.6rem;
		font-weight: normal;
		line-height: 1.3;
		margin: 1rem 0 0.3rem;
	}
	p.pageinfo{
		font-size: 0.8rem;
		margin-bottom: 1em;
	}
	.category{
		margin-top: 1rem;
	}
	div.icons{
		display: flex;
		gap: 1rem;
		justify-content: center;
		line-height: 1;
		margin-top: 1rem;
	}
	div.icons a{
		color: var(--text-color-50);
		font-size: 0.7em;
		letter-spacing: 0.05em;
		opacity: 1;
		text-align: center;
	}
	div.icons button{
		background-color: transparent;
		border: none;
		color: var(--text-color-50);
		font-size: 0.7em;
		font-weight: bold;
		letter-spacing: 0.05em;
		padding: 0;
	}
	div.icons img{
		display: block;
		margin: 0 auto 5px;
		width: 30px;
	}
	div.icons i{
		display: block;
		margin: 0 auto;
		font-size: 30px;
	}
	details.postarea{
		background-color: var(--accent-30);
		border-radius: var(--radius);
		margin: 1rem auto 0;
		text-align: left;
	}
	summary{
		font-weight: bold;
		padding: 3.5% 5%;
	}
}
#popover::backdrop {
	background: rgba(0, 0, 0, 0.5);
	backdrop-filter: blur(2px);
}
#popover{
	background-color: var(--sub-bg-color);
	border: none;
	border-radius: var(--radius);
	margin: auto;
	max-width: 400px;
	padding: 3rem;
	position: relative;
	text-align: right;
	width: 90%;
	button{
		position: absolute;
		right: 10px;
		top: 10px;
	}
	.searchinputs{
		display: flex;
	}
}
#popover,
#popover::backdrop {
  animation: fadeIn 0.5s ease;
}
@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; }
}
.category li{
	display: inline-block;
	margin-right: 5px;
}
.category li:last-child{
	margin-right: 0;
}
.category a,
a.categorylink{
	background-color: var(--text-color-30);
	border-radius: var(--radius-mini);
	display: inline-block;
	font-size: 0.85rem;
	padding: 0 0.6em 0.1em;
	text-decoration: none;
	transition: background-color 0.3s ease-in-out;
}
.category a:hover,
a.categorylink:hover{
	background-color: var(--accent-60);
}
a.categorylink{
	margin-right: 5px;
}
.taglink + .num,
.catlink + .num,
.datelistlink + .num{
	display: none;
}


/* main-layout -------------------------------------------- */
.situation{
	color: var(--text-color-70);
	font-size: 0.9rem;
	margin-bottom: 1rem;
	text-align: center;
}
.situation:empty{
	display: none;
}
.situation::before{
	font-family: "Line Awesome Free";
	font-weight: 900;
	font-size: 1.4rem;
	vertical-align: text-top;
	margin-right: 5px;
	line-height: 1;
}
body.selected-tag .situation::before{
	content: "\f02c";
}
body.selected-cat .situation::before{
	content: "\f187";
}
body.search-result .situation::before{
	content: "\f002";
}
body.selected-date .situation::before{
	content: "\f133";
}
body.mode-gallery.nofiltering .situation{
	display: none;
}


/* ギャラリーモード用 */
body.mode-gallery .articlelist{
	display: grid;
	gap: 2rem 1rem;
	grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
	margin: 0 auto 5rem;
	max-width: var(--article-width);

	article{
		background-color: var(--sub-bg-color);
		border-radius: var(--radius);
		display: flex;
		flex-direction: column;
		box-shadow: var(--shadow);
		height: 100%;
		margin-bottom: 0;
		padding: 0;
		position: relative;
	}
	article > a{
		aspect-ratio: 1 / 1;
		display: block;
		text-decoration: none;
	}
	.imagearea{
		aspect-ratio: 1 / 1;
		background-color: var(--text-color-30);
		border-radius: var(--radius) var(--radius) 0 0;
		overflow: hidden;
		position: relative;
	}
	.imagearea img {
		aspect-ratio: 1 / 1;
		border-radius: var(--radius) var(--radius) 0 0;
		object-fit: cover;
	}
	.articleinfo{
		flex-grow: 1;
		font-size: 0.85rem;
		line-height: 1.5;
		padding: 0.7em 1em;
	}
	div:has(> a.categorylink){
		padding-top: 2px;
	}
	a.categorylink{
		font-size: 0.75rem;
		margin-bottom: 3px;
		padding: 0.1em 0.3em 0.2em;
	}
	.date{
		color: var(--text-color-70);
		font-size: 0.75rem;
		padding: 0 0.85rem 0.7em;
		display: flex;
		justify-content: space-between;
	}
	figure.nsfw{
		overflow: hidden;
		width: 100%;
	}
	figcaption{
		display: none;
	}
	article.logstatus-lock div.imagearea::before,
	div.imagearea:has(img.nsfw)::before{
		font-family: 'Line Awesome Free';
		font-size: 2rem;
		line-height: 1;
		margin: auto;
		position: absolute;
		top: calc(50% - 0.5em);
		left: calc(50% - 0.5em);
	}
	article.logstatus-lock div.imagearea::before{
		content: "\f023";
	}
	div.imagearea:has(img.nsfw)::before{
		content: "\f06a";
		z-index: 1000;
	}
	img.nsfw{
		filter: blur(10px);
		opacity: 0.5;
	}
}
body.mode-gallery .articlelist:has(> :nth-child(7)){
	max-width: 1200px;
}

/* 何のモードも指定されていない状態 */
body.mode-view main{
	max-width: var(--article-width);
	margin: 0 auto;

	article{
		background-color: var(--sub-bg-color);
		border-radius: var(--radius);
		box-shadow: var(--shadow);
		margin-bottom: 5rem;
		position: relative;
	}
	header{
		padding: 30px 30px 0;
	}
	header:empty{
		padding: 15px 30px 0;
	}
	article .comment{
		padding: 15px 30px 0;
	}
	article footer{
		display: flex;
		font-size: 0.8rem;
		gap: 1rem;
		justify-content: flex-end;
		margin-top: 2rem;
		padding: 0 30px 30px;
	}
	article footer a{
		text-decoration: none;
	}
	article footer span.reaction{
		flex-grow: 1;
	}
	article footer span.reaction img{
		width: 1rem;
	}
	.tooltip {
		position: relative;
	}
	.tooltip-text {
		display: inline-block;
		font-size: 0.8rem;
		left: 25px;
		line-height: 1.3;
		opacity: 0;
		padding: 5px;
		position: absolute;
		top: 50%;
		transform: translateY(-50%);
		transition: 0.3s ease-in;
		visibility: hidden;
		white-space: nowrap;
	}
	.tooltip:hover .tooltip-text {
		opacity: 1;
		visibility: visible;
	}
	article.logstatus-lock:before{
		content: "\f023";
		font-family: 'Line Awesome Free';
		font-weight: 900;
		font-size: 1.3em;
		position: absolute;
		right: 1rem;
		top: -20px;
	}
	article.logstatus-fixed:before{
		content: "\f08d";
		font-family: 'Line Awesome Free';
		font-weight: 900;
		font-size: 1.3em;
		position: absolute;
		right: 1rem;
		top: -20px;
	}
}

nav.pagenums{
	text-align: center;
	font-weight: bold;
	a{
		background-color: var(--text-color-30);
		border-radius: var(--radius-mini);
		color: var(--main-text-color);
		display: inline-block;
		letter-spacing: 0;
		margin-bottom: 5px;
		min-width: 2em;
		padding: 0 0.3em 0.2em;
		text-decoration: none;
		transition: background-color 0.3s ease-in-out;
	}
	a:hover{
		background-color: var(--accent-60);
	}
	a.pagenumhere{
		background-color: var(--main-text-color);
		color: var(--sub-bg-color);
	}
	a.nextlink{
		clip-path: polygon(0 50%,15% 0,100% 0,100% 100%,15% 100%);
		padding-inline: 1.5em 1em;
	}
	a.prevlink{
		clip-path: polygon(0 0, 85% 0, 100% 50%, 85% 100%, 0 100%);
		padding-inline: 1em 1.5em;
	}
}
.nodata,
.nolist,
body.mode-gallery .recountlink{
	background-color: var(--sub-bg-color);
	border-radius: var(--radius);
	box-shadow: var(--shadow);
	padding: 3rem 5%;
}
body.mode-view .recountlink{
	margin-top: 1rem;
	text-align: center;
}
.utilitylinks{
	font-size: 0.85rem;
	margin: -3rem 0 3rem;
}
.backto{
	font-size: 0.9rem;
	margin-top: 1rem;
	text-align: center;
}


/* article -------------------------------------------- */
body.mode-view article .comment{
	img.embeddedimage{
		display: block;
		margin: 0;
		width: 100%;
	}
	a.imagelink{
		display: block;
		line-height: 1;
		margin: 2rem -30px;
	}
	a.imagelink + a.imagelink{
		margin: -2rem -30px 2rem;
	}
	.decorationS a.imagelink{
		display: inline;
		margin: 0;
	}
	.decorationS img.embeddedimage{
		display: inline;
		margin: 3px 0;
		width: unset;
	}
	figcaption a{
		color: var(--text-color-70);
		font-weight: normal;
	}
	a:not(.cardlink)[target~="_blank"]::after{
		content: " \f35d";
		font-family: 'Line Awesome Free';
		font-weight: 900;
	}
	a.uc-btn,
	a.readmorebutton{
		background-color: var(--main-text-color);
		border-radius: var(--radius-mini);
		color: var(--sub-bg-color);
		display: inline-block;
		font-size: 0.9rem;
		margin: 3px 0;
		padding: 0.1em 0.6em 0.2em;
		text-decoration: none;
		transition: background-color 0.3s ease-in-out;
	}
	a.uc-btn:hover,
	a.readmorebutton:hover{
		background-color: var(--accent);
	}
	a.readmoreclose{
		background-color: transparent;
		border-top: 1px solid var(--text-color-20);
		color: var(--text-color-50);
		display: block;
		font-size: 0.8em;
		margin: 2rem 0;
		text-align: right;
	}
	a.readmoreclose:hover{
		background-color: transparent;
		color: var(--accent);
	}
	q.decorationQ{
		background-color: var(--text-color-15);
		padding: 1em 2em;
		font-size: 0.9rem;
		margin: 0.5em 0;
		position: relative;
	}
	q.decorationQ:before{
		content: "\f10d";
		font-family: 'Line Awesome Free';
		font-weight: 900;
		color: var(--text-color-70);
		position: absolute;
		left: 6px;
		top: 0;
	}
	q.decorationQ:after{
		content: "\f10e";
		font-family: 'Line Awesome Free';
		font-weight: 900;
		color: var(--text-color-70);
		position: absolute;
		right: 6px;
		bottom: 0;
	}
	figcaption{
		color: var(--text-color-70);
		font-size: 0.85rem;
		line-height: 1.5;
		margin: -1.5em 0 2em;
	}
	code{
		background-color: var(--text-color-20);
		border-radius: var(--radius-mini);
		font-size: 0.9em;
		padding: 0.2em 0.5em;
	}
	iframe.embeddedmovie{
		max-width: 100%;
	}
	.decoration1{
		display: none;	/* 汎用ボタン1：OGP画像の設定用 */
	}
	a.imagelink + br,
	.decorationL + br,
	.decorationQ + br{
		display: none;
	}
	/*-- 折り畳み機能対応 --*/
	details{
		margin-block: 0.5em;
		::marker{
			color: var(--text-color-70);
		}
		summary{
			background-color: var(--text-color-15);
			border-radius: var(--radius-mini);
			font-size: 0.9rem;
			font-weight: bold;
			padding: 0.1em 0.6em 0.2em;
		}
		.foldedarea{
			border-bottom: 5px solid var(--text-color-15);
			border-radius: var(--radius-mini);
			padding: 1em 0;
		}
		details{
			margin: 1em;
		}
	}
}


/* cardlink -------------------------------------------- */
.cardlink {
	display: inline-block;
	font-size: 0.9rem;
	font-weight: normal;
	margin: 0.5em 0;
	text-decoration: none;
	vertical-align: middle;
	width: 100%;
}
.cardlink::before{
	display: none;
}
.cardlinkbox {
	border: 1px solid var(--text-color-50);
	border-radius: var(--radius-mini);
	display: flex;
}
.cardlinkimage {
	aspect-ratio: 1.91 / 1;
	background-image: url(imgforskin/noimage.png);
	background-position: center center;
	background-repeat: no-repeat;
	background-size: cover;
	border-radius: var(--radius-mini) 0 0 var(--radius-mini);
	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: var(--text-color-70);
	line-clamp: 2;
	-webkit-line-clamp: 2;
}
.cardlinkurl {
	border-top: 1px dotted var(--text-color-50);
	color: var(--text-color-70);
	font-size: 0.8em;
	margin-top: 0.5em;
	padding-top: 0.2em;
}
.cardsize-S {
	flex-direction: row;
	.cardlinkimage {
		border-radius: var(--radius-mini) 0 0 var(--radius-mini);
		height: 120px;
		width: unset;
	}
	.cardlinktextbox {
		border-left: 1px solid var(--text-color-50);
		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: var(--radius-mini) var(--radius-mini) 0 0;
	}
	.cardlinktextbox {
		border-top: 1px solid var(--text-color-50);
	}
}


/* parts -------------------------------------------- */
img.emoji,
.comment img.emoji{
	width: 1em;
	vertical-align: middle;
	margin: 0 3px 3px;
}
img.circle{
	border-radius: calc(infinity * 1px);
}
em,
.searchword{
	font-style: normal;
	font-weight: bold;
	margin-inline: 0.1em;
	text-decoration: underline;
	text-decoration-skip-ink: none;
	text-decoration-thickness: 0.5em;
	text-underline-offset: -0.2em;
}
em{
	filter: saturate(200%);
	text-decoration-color: var(--accent-30);
}
.searchword{
	background-color: transparent;
	color: currentColor;
	text-decoration-color:  rgba(222, 222, 0, 0.5);
}
.decorationM{
	padding: 0 0.2em;
}
.decorationS,
.smalltext{
	font-size: 0.85rem;
}
.decorationT{
	font-size: 0.7rem;
}
ul.decorationL{
	list-style-type: disc;
	padding-left: 1.5rem;
	list-style-position: outside;
	margin: 0.5em 0;
}


/* input -------------------------------------------- */
select,
input.queryinput,
input.passkeyinput{
	background-color: transparent;
	border: 1px solid var(--main-text-color);
	border-radius: var(--radius-mini) 0 0 var(--radius-mini);
	color: var(--main-text-color);
	height: 2rem;
	width: calc(100% - 3rem);
}
input[type="submit"],
input[type="button"],
.postarea input[type="text"]{
	background-color: var(--main-text-color);
	border: none;
	border-radius: var(--radius-mini);
	color: var(--sub-bg-color);
	cursor: pointer;
	font-size: 0.9rem;
	height: 2rem;
	letter-spacing: 2px;
	padding: 0 0.5rem 0 0.6rem;
}
input[type="submit"]:hover,
input[type="button"]:hover{
	background-color: color-mix(in srgb, var(--accent) 50%, var(--main-text-color));
}
input[type="submit"]{
	border-radius: 0 var(--radius-mini) var(--radius-mini) 0;
}
form.passkeyform{
	margin: 2rem 0;

	span.passkeyguide{
		display: block;
		margin-bottom: 0.3em;
	}
	input.passkeyinput{
		padding-left: 0.5em;
		vertical-align: bottom;
		width: calc(100% - 7rem);
	}
	input.passkeysubmit{
		border-radius: 0 var(--radius-mini) var(--radius-mini) 0;
		padding: 0 0 2px;
		vertical-align: bottom;
		width: 7rem;
	}
}




/* postform -------------------------------------------- */
form.postform{
	padding: 0 5%;

	input{
		font-weight: normal;
		margin: 2px;
		vertical-align: inherit;
	}
	input[type="text"]{
		border-radius: var(--radius-mini) var(--radius-mini) 0 0;
		margin: 0;
	}
	textarea.tegalogpost{
		background-color: var(--sub-bg-color);
		border: none;
		border-radius: 0;
		color: var(--main-text-color);
		field-sizing: content;
		min-height: 10rem;
		padding: 0.2em 0.6em;
		resize: vertical;
		vertical-align: middle;
		width: 100%;
	}
	.submitcover{
		display: block;
		margin-bottom: 1em;
		text-align: right;
	}
	input.postbutton{
		background-color: var(--accent);
		border-radius: 0 0 var(--radius-mini) var(--radius-mini);
		font-size: 1rem;
		font-weight: bold;
		letter-spacing: 2px;
		margin: 0;
		width: 50%;
	}
	.line-control{
		font-size: 0.9rem;
	}
	input[type="button"]{
		letter-spacing: 1px;
	}
	input[type="checkbox"]{
		vertical-align: text-bottom;
		height: 1em;
	}
	select{
		margin: 2px 0 2px 2px;
		vertical-align: middle;
		width: unset;
	}
	select + input[type="button"]{
		border-radius: 0 var(--radius-mini) var(--radius-mini) 0;
		margin-left: 0;
		width: unset;
	}
	input[type="file"]{
		border: 1px solid var(--main-text-color);
		border-radius: var(--radius-mini);
		height: 2rem;
	}
	::file-selector-button{
		background-color: var(--main-text-color);
		border: none;
		color: var(--sub-bg-color);
		cursor: pointer;
		margin-right: 0.7em;
		padding: 0.7em;
		text-box-edge: cap alphabetic;
		text-box-trim: trim-both;
	}
	label:has(input[name="category"]){
		background-color: var(--text-color-30);
		border-radius: var(--radius-mini);
		display: inline-block;
		font-weight: bold;
		margin: 2px 5px 2px 0;
		padding-inline: 5px;
	}
	.catChecks{
		margin-right: 1em;
	}
	.decoBtns{
		display: inline-block;
		margin: 0 0 5px;
		vertical-align: middle;
	}
	img.recentoneimage{
		aspect-ratio: 1 / 1;
		object-fit: cover;
		vertical-align: middle;
		width: 3rem;
	}
}
div.QP_footer{
	padding: 0 5% 3.5%;
	text-align: right;
}


/* aside -------------------------------------------- */
aside{
	display: grid;
	gap: 0 3rem;
	grid-template-columns: repeat(2, 1fr);
	margin: 5rem auto 0;
	max-width: var(--article-width);

	section > div,
	section > nav:not(:empty),
	section form:not(:empty){
		margin-bottom: 1rem;
	}
	.freespace {
		border: 1px solid var(--text-color-50);
		border-inline: none;
		font-size: 0.9rem;
		padding: 1em 0;
		.author{
			font-weight: bold;
		}
	}
	.freespace-edit{
		margin: -1rem 0 0;
		text-align: right;
	}
	h2{
		font-size: 0.8rem;
		font-weight: normal;
		padding: 0 0 0.4em;
		text-align: left;
	}
	ul.depth2{
		display: inline-block;
	}
	ul.depth2 li{
		margin-right: 0;
	}
	ul.depth2 a{
		background-color: var(--text-color-20);
		margin-left: 1px;
	}
	.catpullbox,
	.datelimitbox,
	.hashtagpullbox,
	.searchinputs{
		display: flex;
	}
	.hashtaglist li{
		display: inline-block;
		padding-right: 0.5em;
		font-size: 0.85rem;
		font-weight: bold;
	}
	.hashtaglist li:before{
		content: '#';
		color: var(--text-color-50);
	}
	.datelimitboxoptions{
		display: none;
	}
	table.calendar{
		width: 100%;
		border-collapse: collapse;
		text-align: center;
		line-height: 2;
		font-size: 0.8rem;
		margin-top: 1.5rem;
	}
	caption{
		line-height: 1;
		padding-bottom: 0.8em;
		text-align: left;
	}
	.calendar thead{
		background-color: var(--text-color-15);
	}
	.calendar tr {
		border-bottom: 1px solid var(--text-color-30);
	}
	.calendar tr:last-child {
		border-bottom: none;
	}
	.calendar .sun,
	.calendar .sat {
		background-color: var(--sub-bg-color);
	}
	.calendar .today {
		background-color: var(--accent-30);
	}
	.calendar a{
		font-weight: bold;
		display: block;
	}
	.calendar span.nolink{
		color: var(--text-color-50);
	}
	.calbtm {
		display: flex;
		font-size: 0.8rem;
		justify-content: space-between;
		margin-top: 0.3rem;
	}
	.calbtm a, .calendar a{
		text-decoration: none;
	}
}


/* footer -------------------------------------------- */
body > footer{
	font-size: 0.8rem;
	max-width: var(--article-width);
	margin: 2rem auto 5rem;
	text-align: center;
}


/* responsive -------------------------------------------- */
@media (max-width: 599px) {
	body{
		margin: 0 0;
	}
	body > header,
	body.mode-gallery main,
	body > aside,
	body > footer{
		padding-inline: 5vw;
	}
	details.postarea[open]{
		border-radius: 0;
		margin-inline: -5vw;
	}
	body.mode-view main article,
	body.mode-view .nodata,body.mode-view .nolist{
		border-radius: 0;
	}
	aside{
		display: block;
	}
}






html {
  font-size: 62.5%;
  scroll-behavior: smooth;
  overflow-x: clip;
}

body {
  font-family: "BIZ UDPGothic", YuGothic, "Yu Gothic medium", "Hiragino Sans", Meiryo, "sans-serif";
  font-size: 1.6rem;
  color: #74645C;
  letter-spacing: 2px;
  line-height: 1.8;
  background-color: #FAF5EF;
  overflow-x: clip;
}
@media screen and (max-width: 520px) {
  body {
    font-size: 1.4rem;
  }
}

*:hover,
*::before,
*::after {
  transition: 0.2s;
}

/*－－－－－－－－－－－－－－－－－－－－－－－－－－－－－－－

文字

－－－－－－－－－－－－－－－－－－－－－－－－－－－－－－－*/
p {
  margin: 20px 0;
  letter-spacing: 1px;
  text-align: justify;
}

a {
  color: inherit;
}

/*－－－－－－－－－－ リンクホバー時の設定 －－－－－－－－－－*/
a:not([class]), a:where(.novellist__item *) {
  position: relative;
}
a:not([class])::after, a:where(.novellist__item *)::after {
  position: absolute;
  bottom: -6px;
  left: 0;
  content: "";
  display: block;
  width: 100%;
  height: 6px;
  background-image: repeating-linear-gradient(-45deg, #EDE795, #EDE795 7px, transparent 0, transparent 14px);
  opacity: 0;
}
@media (hover: hover) {
  a:not([class]):hover::after, a:where(.novellist__item *):hover::after {
    opacity: 1;
  }
}

/* ホバー装飾の無効化 */
a:is(.globalnav *, .snslist *)::after,
.btn::after,
.pageup::after {
  display: none;
}

/*fuwaimgでの無効化 */
/*－－－－－－－－－－ 見出し －－－－－－－－－－*/
h1,
h2,
h3,
h4,
h5 {
  font-family: "Dokdo", "BIZ UDPGothic", YuGothic, "Yu Gothic medium", "Hiragino Sans", Meiryo, "sans-serif";
  letter-spacing: 4px;
  line-height: 1.2;
  text-transform: uppercase;
  overflow-wrap: break-word;
}
h1 .ja,
h2 .ja,
h3 .ja,
h4 .ja,
h5 .ja {
  font-size: 0.6em;
}

/*－－－－－－－－－－ 大見出し －－－－－－－－－－*/
.headingL {
  font-size: clamp(4rem, 3.6rem + 2vw, 6rem);
  margin: clamp(3rem, 2.8rem + 1vw, 4rem) 0;
  position: relative;
  z-index: 1;
}
.headingL::before {
  content: "";
  position: absolute;
  top: -1.5em;
  left: -1.5em;
  width: 3em;
  height: 3em;
  background-image: repeating-linear-gradient(-45deg, #e6c0c0, #e6c0c0 7px, transparent 0, transparent 14px);
  border-radius: 999px;
  -webkit-border-radius: 999px;
  -moz-border-radius: 999px;
  -ms-border-radius: 999px;
  -o-border-radius: 999px;
  z-index: -1;
}

/*－－－－－－－－－－ 中見出し －－－－－－－－－－*/
.headingM {
  font-size: clamp(3rem, 2.6rem + 2vw, 5rem);
  margin: clamp(3rem, 2.6rem + 2vw, 5rem) 0;
  color: #a1d8e2;
  -webkit-text-decoration: underline double #e6c0c0;
          text-decoration: underline double #e6c0c0;
  text-underline-offset: 8px;
  text-decoration-thickness: 0.2em;
}

/*－－－－－－－－－－ 小見出し －－－－－－－－－－*/
.headingS {
    position: relative;
    font-size: clamp(2.4rem, 2.08rem + 1.6vw, 4rem);
    margin: 20px 0;
    color: #a1d8e2;
    padding-left: 20px;
}
.headingS::before {
  position: absolute;
  top: 0;
  left: 0;
  content: "";
  display: block;
  width: 10px;
  height: 0.8em;
  margin-top: 0.2em;
  background-color: #a1d8e2;
  border-radius: 99px;
  -webkit-border-radius: 99px;
  -moz-border-radius: 99px;
  -ms-border-radius: 99px;
  -o-border-radius: 99px;
}

/*－－－－－－－－－－ 最小見出し －－－－－－－－－－*/
.headingSS {
  font-size: clamp(1.8rem, 1.76rem + 0.2vw, 2rem);
  margin: 20px 0;
}

/*－－－－－－－－－－ 文字装飾 －－－－－－－－－－*/
.right {
  text-align: right;
}

.center {
  text-align: center;
}

.marker {
  background: linear-gradient(transparent 60%, #EDE795 60%);
}

.label {
  display: block;
  margin: 20px 0;
  padding: 2px 10px;
  background-color: #e6c0c0;
  width: -moz-fit-content;
  width: fit-content;
  border-radius: 10px;
  -webkit-border-radius: 10px;
  -moz-border-radius: 10px;
  -ms-border-radius: 10px;
  -o-border-radius: 10px;
}

/*－－－－－－－－－－－－－－－－－－－－－－－－－－－－－－－

アイコン等

－－－－－－－－－－－－－－－－－－－－－－－－－－－－－－－*/
.la,
.las {
  font-size: 1.2em;
  color: #EDE795;
  position: relative;
  top: 2px;
}

/* 矢印 */
.arrow {
  width: 20px;
  height: 20px;
  border: 4px solid #EDE795;
  border-bottom: 0;
  border-left: 0;
  transform: rotate(45deg);
  -webkit-transform: rotate(45deg);
  -moz-transform: rotate(45deg);
  -ms-transform: rotate(45deg);
  -o-transform: rotate(45deg);
}

/*－－－－－－－－－－－－－－－－－－－－－－－－－－－－－－－

入力フォーム、ボタン

－－－－－－－－－－－－－－－－－－－－－－－－－－－－－－－*/
/* 入力フォーム */
input,
textarea {
  -webkit-appearance: none;
     -moz-appearance: none;
          appearance: none;
  padding: 10px 20px 8px 20px;
  border: 1px solid #EDE795;
  margin: 10px 0;
}

/* ボタン */
.btn {
  display: block;
  -webkit-appearance: none;
     -moz-appearance: none;
          appearance: none;
  background-color: #87BFC1;
  color: #fff;
  text-align: center;
  text-decoration: none;
  padding: 3px 20px;
  border: 2px solid #87BFC1;
  transition: 0.2s;
  -webkit-transition: 0.2s;
  -moz-transition: 0.2s;
  -ms-transition: 0.2s;
  -moz-transition: 0.2s;
  border-radius: 999px;
  -webkit-border-radius: 999px;
  -moz-border-radius: 999px;
  -ms-border-radius: 999px;
  -o-border-radius: 999px;
}
.btn:hover {
  cursor: pointer;
  background-color: #EDE795;
  color: #74645C;
}

/*－－－－－－－－－－－－－－－－－－－－－－－－－－－－－－－

リスト

－－－－－－－－－－－－－－－－－－－－－－－－－－－－－－－*/
.list,
.list-number {
  margin: 20px 0;
}

.list li {
  position: relative;
  margin-left: 16px;
}
.list li::before {
  position: absolute;
  top: calc(50% - 4px);
  left: -16px;
  content: "";
  display: block;
  width: 8px;
  height: 8px;
  background-color: #EDE795;
  border-radius: 50%;
  -webkit-border-radius: 50%;
  -moz-border-radius: 50%;
  -ms-border-radius: 50%;
  -o-border-radius: 50%;
}

/*－－－－－－－－－－ 数字付きリスト －－－－－－－－－－*/
.list-number {
  list-style-type: decimal-leading-zero;
  list-style-position: inside;
}
.list-number li {
  text-indent: -3.4rem;
  padding-left: 3.6rem;
}
.list-number li > :not(:first-child) {
  text-indent: 0;
}

/*－－－－－－－－－－ 表リスト －－－－－－－－－－*/
.gridlist {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 10px 0px;
}
.gridlist .gridlist__label,
.gridlist .gridlist__text {
  padding: 6px 20px 4px;
}
.gridlist .gridlist__label {
  display: flex;
  align-items: center;
  background-color: #e6c0c0;
  border-top-left-radius: 10px;
  border-bottom-left-radius: 10px;
}
.gridlist .gridlist__text {
  background-color: #FAF5EF;
  border-top-right-radius: 10px;
  border-bottom-right-radius: 10px;
}

/* スマホ */
@media screen and (max-width: 520px) {
  .gridlist {
    grid-template-columns: 1fr;
    gap: 0;
  }
  .gridlist .gridlist__label,
  .gridlist .gridlist__text {
    border-radius: 0;
    -webkit-border-radius: 0;
    -moz-border-radius: 0;
    -ms-border-radius: 0;
    -o-border-radius: 0;
  }
  .gridlist .gridlist__label {
    border-top-left-radius: 10px;
    border-top-right-radius: 10px;
  }
  .gridlist .gridlist__text {
    border-bottom-left-radius: 10px;
    border-bottom-right-radius: 10px;
    margin-bottom: 10px;
  }
}
/*－－－－－－－－－－－－－－－－－－－－－－－－－－－－－－－

枠組み

－－－－－－－－－－－－－－－－－－－－－－－－－－－－－－－*/
.box {
  padding: 30px;
  margin: 10px;
  background-color: #FAF5EF;
  outline: 8px solid #FAF5EF;
  border: 1px solid #87BFC1;
  border-radius: 8px;
  -webkit-border-radius: 8px;
  -moz-border-radius: 8px;
  -ms-border-radius: 8px;
  -o-border-radius: 8px;
}
.box > :first-child {
  margin-top: 0;
}
.box > :last-child {
  margin-bottom: 0;
}

/*－－－－－－－－－－－－－－－－－－－－－－－－－－－－－－－

SNSアイコンリスト

－－－－－－－－－－－－－－－－－－－－－－－－－－－－－－－*/
.snslist .snslist__item a {
  width: 36px;
  height: 36px;
  display: flex;
  justify-content: center;
  align-items: center;
  text-decoration: none;
  background-color: #e6c0c0;
  border-radius: 50%;
  transition: 0.2s;
  -webkit-transition: 0.2s;
  -moz-transition: 0.2s;
  -ms-transition: 0.2s;
  -moz-transition: 0.2s;
}
.snslist .snslist__item a:hover {
  color: #fff;
  transition: none;
  -webkit-transition: none;
  -moz-transition: none;
  -ms-transition: none;
  -o-transition: none;
}
.snslist .snslist__item.twitter:hover a {
  background-color: #1DA1F2;
}
.snslist .snslist__item.pixiv:hover a {
  background-color: #CF2E92;
}
.snslist .snslist__item .lab {
  margin: 6px 1px 3px 3px;
  font-size: 2rem;
}
@media screen and (max-width: 520px) {
  .snslist {
    justify-content: center;
  }
}

/*－－－－－－－－－－－－－－－－－－－－－－－－－－－－－－－

レイアウト

－－－－－－－－－－－－－－－－－－－－－－－－－－－－－－－*/
/*－－－－－－－－－－ 横並び －－－－－－－－－－*/
.flex {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  align-items: center;
}

.grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  /* 表示サイズを変えたい場合は200pxの部分を変更 */
  gap: 20px;
  justify-content: center;
  align-items: center;
}

/*－－－－－－－－－－ 2カラム表示 －－－－－－－－－－*/
.--2column {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0 60px;
}

/* タブレット、スマホでは１カラム */
@media screen and (max-width: 768px) {
  .--2column {
    grid-template-columns: 1fr;
  }
}
/*－－－－－－－－－－ 左右反対 －－－－－－－－－－*/
.reverse {
  flex-direction: row-reverse;
}

/*－－－－－－－－－－－－－－－－－－－－－－－－－－－－－－－

全体のレイアウト

－－－－－－－－－－－－－－－－－－－－－－－－－－－－－－－*/
/*－－－－－－－－－－ ヘッダー －－－－－－－－－－*/
/*－－－－－－－－－－ コンテンツ全体の横幅、余白 －－－－－－－－－－*/
.mainwrapper {
  padding: 10px;
}
.mainwrapper > :first-child {
  margin-top: 0;
}

/* PC */
@media screen and (min-width: 1025px), print {
  .mainwrapper {
    max-width: 1160px;
    margin: 0 auto;
    padding: 100px 20px;
  }
}
/*－－－－－－－－－－ セクション －－－－－－－－－－*/
section {
  padding: 20px;
  background-color: #fff;
  margin-bottom: 40px;
  border-radius: 20px;
  -webkit-border-radius: 20px;
  -moz-border-radius: 20px;
  -ms-border-radius: 20px;
  -o-border-radius: 20px;
}
section > :first-child:not(.novelpage__title) {
  margin-top: 0;
}
section > :last-child {
  margin-bottom: 0;
}
section section {
  padding: 40px 0;
  margin: 0;
}
section section:first-of-type {
  padding-top: 0;
}
section section:last-of-type {
  padding-bottom: 0;
}

/* PC */
@media screen and (min-width: 1025px), print {
  section {
    padding: 60px;
    margin-bottom: 80px;
    border-radius: 60px;
    -webkit-border-radius: 60px;
    -moz-border-radius: 60px;
    -ms-border-radius: 60px;
    -o-border-radius: 60px;
  }
}
.circle {
  position: relative;
}
.circle::before, .circle::after {
  content: "";
  position: absolute;
  background-image: repeating-linear-gradient(-45deg, #e6c0c0, #e6c0c0 7px, transparent 0, transparent 14px);
  border-radius: 999px;
  -webkit-border-radius: 999px;
  -moz-border-radius: 999px;
  -ms-border-radius: 999px;
  -o-border-radius: 999px;
}
.circle::before {
  top: -5vw;
  left: -5vw;
  width: 10vw;
  height: 10vw;
}
.circle::after {
  bottom: -10vw;
  right: -10vw;
  width: 15vw;
  height: 15vw;
}

/* スマホ */
@media screen and (max-width: 520px) {
  .circle::before {
    top: -8vw;
    left: -7vw;
    width: 15vw;
    height: 15vw;
  }
  .circle::after {
    bottom: -16vw;
    right: -10vw;
    width: 20vw;
    height: 20vw;
  }
}
/*－－－－－－－－－－－－－－－－－－－－－－－－－－－－－－－

メニューボタン

－－－－－－－－－－－－－－－－－－－－－－－－－－－－－－－*/
.hamburger {
  position: fixed;
  top: 19vw;
  right: 2vw;
  display: flex;
  justify-content: center;
  align-items: center;
  width: 50px;
  height: 50px;
  background-color: #a1d8e2;
  border: none;
  cursor: pointer;
  z-index: 999;
  border-radius: 999px;
  -webkit-border-radius: 999px;
  -moz-border-radius: 999px;
  -ms-border-radius: 999px;
  -o-border-radius: 999px;
}
.hamburger .hamburger__line {
  position: absolute;
  width: 25px;
  height: 2px;
  background-color: #fff;
}
.hamburger .hamburger__line::before, .hamburger .hamburger__line::after {
  position: absolute;
  content: "";
  display: block;
  width: 25px;
  height: 2px;
  background-color: #fff;
}
.hamburger .hamburger__line::before {
  top: -8px;
}
.hamburger .hamburger__line::after {
  bottom: -8px;
}

/*閉じる*/
.hamburger._active .hamburger__line {
  background: transparent;
}
.hamburger._active .hamburger__line::before {
  top: 0;
  transform: rotate(45deg);
}
.hamburger._active .hamburger__line::after {
  bottom: 0;
  transform: rotate(-45deg);
}

/* PCで非表示 */
@media screen and (min-width: 1025px), print {
  .hamburger {
    display: none;
  }
}
/*－－－－－－－－－－－－－－－－－－－－－－－－－－－－－－－

メニュー

－－－－－－－－－－－－－－－－－－－－－－－－－－－－－－－*/
.globalnav {
  position: sticky;
  top: 0;
  z-index: 998;
  left: 0;
  background-color: #a1d8e2;
}

.globalnav__main {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0;
}
.globalnav__main .globalnav__item {
  position: relative;
}
.globalnav__main .globalnav__item:hover {
  background-color: #EDE795;
}
.globalnav__main .globalnav__item:hover a {
  color: #74645C;
}
.globalnav__main .globalnav__item a {
  display: block;
  color: #fff;
  font-family: "Dokdo", "BIZ UDPGothic", YuGothic, "Yu Gothic medium", "Hiragino Sans", Meiryo, "sans-serif";
  font-size: 3rem;
  text-decoration: none;
  text-transform: uppercase;
  line-height: 1;
  overflow-wrap: break-word;
  background: none;
  padding: 20px;
  transition: 0.2s;
  -webkit-transition: 0.2s;
  -moz-transition: 0.2s;
  -ms-transition: 0.2s;
  -moz-transition: 0.2s;
}
.globalnav__main .globalnav__item._has-child:hover .globalnav__child {
  visibility: visible;
  opacity: 1;
  transition: 0.4s;
  -webkit-transition: 0.4s;
  -moz-transition: 0.4s;
  -ms-transition: 0.4s;
  -moz-transition: 0.2s;
  -o-transition: 0.4s;
}
.globalnav__main .globalnav__child {
  position: absolute;
  top: 100%;
  left: 0;
  background-color: #FAF5EF;
  visibility: hidden;
  opacity: 0;
  transition: 0.2s;
  -webkit-transition: 0.2s;
  -moz-transition: 0.2s;
  -ms-transition: 0.2s;
  -moz-transition: 0.2s;
}
.globalnav__main .globalnav__child li:hover {
  background-color: #EDE795;
}

/*  タブレット、スマホでの表示 */
@media screen and (max-width: 1180px) {
  .globalnav {
    position: fixed;
    top: 0;
    left: 50%;
    width: 50%;
    height: 100dvh;
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: #a1d8e2;
    opacity: 0;
    transform: translateX(100%);
    transition: 0.4s;
    -webkit-transition: 0.4s;
    -moz-transition: 0.4s;
    -ms-transition: 0.4s;
    -moz-transition: 0.2s;
    -webkit-transform: translateX(100%);
    -moz-transform: translateX(100%);
    -ms-transform: translateX(100%);
    -o-transform: translateX(100%);
  }
  .globalnav._active {
    opacity: 1;
    transform: translateX(0);
    -webkit-transform: translateX(0);
    -moz-transform: translateX(0);
    -ms-transform: translateX(0);
    -o-transform: translateX(0);
    transition: 0.4s;
    -webkit-transition: 0.4s;
    -moz-transition: 0.4s;
    -ms-transition: 0.4s;
    -moz-transition: 0.2s;
    -o-transition: 0.4s;
  }
  .globalnav__main {
    display: block;
    background: none;
    width: 100%;
    padding: 20px;
  }
  .globalnav__main .globalnav__item:not(:last-child) > a {
    border: none;
  }
  .globalnav__main .globalnav__item a {
    padding: 10px;
    color: #74645C;
  }
  .globalnav__main .globalnav__child {
    top: 100%;
    bottom: auto;
    left: auto;
    right: 0%;
    max-width: calc(100vw - 40px);
    z-index: 1;
    visibility: visible;
    /*JSで制御するため一旦表示*/
    opacity: 1;
    /*JSで制御するため一旦表示*/
    display: none;
    /*JSのtoggleで表示させるため非表示に*/
  }
  .globalnav__main .globalnav__child.active {
    display: block;
  }
}
/* タブレット,スマホでメニューを開いた時に黒くする */
@media screen and (max-width: 1180px) {
  .mainwrapper::after {
    position: fixed;
    top: 0;
    left: 0;
    content: "";
    display: block;
    width: 100vw;
    height: 100dvh;
    background-color: #fff;
    visibility: hidden;
    opacity: 0;
  }
  .mainwrapper._darker::after {
    visibility: visible;
    opacity: 0.6;
    z-index: 99;
  }
}
/*－－－－－－－－－－－－－－－－－－－－－－－－－－－－－－－

サブメニュー

－－－－－－－－－－－－－－－－－－－－－－－－－－－－－－－*/
.submenu {
  margin-bottom: 40px;
  container-type: inline-size;
}

.submenu__main {
  -moz-column-count: 2;
       column-count: 2;
}

/* 親メニューのスタイル */
.submenu__item {
  position: relative;
  padding: 10px;
  -moz-column-break-inside: avoid;
       break-inside: avoid;
}
.submenu__item a {
  display: inline-block;
  text-decoration: none;
  word-break: break-word;
  transition: 0.2s;
  -webkit-transition: 0.2s;
  -moz-transition: 0.2s;
  -ms-transition: 0.2s;
  -moz-transition: 0.2s;
}
.submenu__item > a {
  padding: 10px 20px;
  background-color: #EDE795;
  width: 100%;
}

/* 子、孫メニューのスタイル */
.submenu__child > li {
  position: relative;
  padding-left: 1.8em;
}
.submenu__child > li::before {
  position: absolute;
  top: 1.4em;
  left: 0;
  content: "";
  display: block;
  height: 4px;
  width: 3%;
  background: #87BFC1;
  border-radius: 2px;
  -webkit-border-radius: 2px;
  -moz-border-radius: 2px;
  -ms-border-radius: 2px;
  -o-border-radius: 2px;
}
.submenu__child a {
  margin: 10px 0;
}

.submenu__grandchild li {
  font-size: 1.4rem;
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 10px;
}
.submenu__grandchild li::before {
  content: "";
  display: block;
  height: 10px;
  background-color: transparent;
  background-image: radial-gradient(#87BFC1 20%, transparent 22%);
  background-size: 10px 10px;
  background-position: 0 0;
}

@container (max-width:600px) {
  .submenu__main {
    -moz-column-count: 1;
         column-count: 1;
    gap: 0;
  }
}
/* リンク無効aタグのホバー時のスタイルを削除 */
.submenu__main > ._has-child > a:hover {
  background: #EDE795;
  cursor: auto;
}
.submenu__main > ._has-child > a:hover::after {
  display: none;
}

.submenu__child > ._has-child > a:hover {
  background: none;
  cursor: auto;
}
.submenu__child > ._has-child > a:hover::after {
  display: none;
}

/* スマホ */
@media screen and (max-width: 520px) {
  /* クリックで表示 */
  .submenu__item._has-child .submenu__child,
  .submenu__item._has-child .submenu__child li._has-child .submenu__grandchild {
    height: 0;
    overflow: hidden;
    opacity: 0;
    transition: 0.4s;
    -webkit-transition: 0.4s;
    -moz-transition: 0.4s;
    -ms-transition: 0.4s;
  }
  .submenu__item._has-child .submenu__child.active,
  .submenu__item._has-child .submenu__child li._has-child .submenu__grandchild.active {
    height: auto;
    overflow: auto;
    opacity: 1;
  }
}
/*－－－－－－－－－－－－－－－－－－－－－－－－－－－－－－－

ページUP

－－－－－－－－－－－－－－－－－－－－－－－－－－－－－－－*/
.pageup {
  position: fixed;
  right: 2vw;
  bottom: 3vw;
  display: flex;
  justify-content: center;
  align-items: center;
  width: 60px;
  height: 60px;
  background-color: #e6c0c0;
  border-radius: 50%;
  -webkit-border-radius: 50%;
  -moz-border-radius: 50%;
  -ms-border-radius: 50%;
  -o-border-radius: 50%;
  transition: 0.2s;
  -webkit-transition: 0.2s;
  -moz-transition: 0.2s;
  -ms-transition: 0.2s;
  -moz-transition: 0.2s;
  opacity: 0;
  visibility: hidden;
}
.pageup .arrow {
  border-color: #fff;
  margin-top: 10px;
  transform: rotate(-45deg);
  -webkit-transform: rotate(-45deg);
  -moz-transform: rotate(-45deg);
  -ms-transform: rotate(-45deg);
  -o-transform: rotate(-45deg);
}
.pageup._active {
  opacity: 1;
  visibility: visible;
}

@media (hover: hover) {
  .pageup:hover {
    background-color: #87BFC1;
  }
}
/* スマホ */
@media screen and (max-width: 520px) {
  .pageup {
    width: 50px;
    height: 50px;
  }
}
/*－－－－－－－－－－－－－－－－－－－－－－－－－－－－－－－

フッター

－－－－－－－－－－－－－－－－－－－－－－－－－－－－－－－*/
footer {
  font-size: 1.2rem;
  color: #fff;
  text-align: center;
  background-color: #a1d8e2;
  padding: 30px;
}
img{
    pointer-events: none;
    -webkit-touch-callout:none;
    -webkit-user-select:none;
    -moz-touch-callout:none;
    -moz-user-select:none;
    user-select:none;
}

@media (max-width: 640px) {
    .headingL::before {
        top: -0.4em;
    }
}




/* Box sizing rules */
/* Box sizingの定義 */
*,
*::before,
*::after {
  box-sizing: border-box;
}

/* Remove default padding */
/* デフォルトのpaddingを削除 */
ul,
ol {
  padding: 0;
}

/* Remove default margin */
/* デフォルトのmarginを削除 */
body,
h1,
h2,
h3,
h4,
p,
ul,
ol,
li,
figure,
figcaption,
blockquote,
dl,
dd {
  margin: 0;
}

/* Set core body defaults */
/* bodyのデフォルトを定義 */
body {
  min-height: 100vh;
  scroll-behavior: smooth;
  text-rendering: optimizeSpeed;
  line-height: 1.5;
}

/* Remove list styles on ul, ol elements with a class attribute */
/* ul、ol要素のリストスタイルを削除 */
ul,
ol {
  list-style: none;
}

/* A elements that don't have a class get default styles */
/* classを持たない要素はデフォルトのスタイルを取得 */
a:not([class]) {
  text-decoration-skip-ink: auto;
}

/* Make images easier to work with */
/* img要素の扱いを簡単にする */
img {
  max-width: 100%;
  display: block;
}

/* Natural flow and rhythm in articles by default */
/* article要素内の要素に自然な流れとリズムを定義 */
article > * + * {
  margin-top: 1em;
}

/* Inherit fonts for inputs and buttons */
/* inputやbuttonなどのフォントは継承を定義 */
input,
button,
textarea,
select {
  font: inherit;
}

/* Remove all animations and transitions for people that prefer not to see them */
/* 見たくない人用に、すべてのアニメーションとトランジションを削除 */
@media (prefers-reduced-motion: reduce) {
  * {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}




@charset "UTF-8";
@import url("https://fonts.googleapis.com/css2?family=BIZ+UDPGothic&family=Dokdo&display=swap");
/*－－－－－－－－－－－－－－－－－－－－－－－－－－－－－－－

メインビジュアル

－－－－－－－－－－－－－－－－－－－－－－－－－－－－－－－*/
.mainvisual {
  position: relative;
  height: 100dvh;
}
.mainvisual .mainvisual__img {
  position: relative;
  margin: auto;
  width: 87vh;
  height: 87vh;
}
.mainvisual .mainvisual__img img {
  margin-top: 10px;
  margin-left: 100px;
  width: 100%;
  height: 100%;
  -o-object-fit: cover;
     object-fit: cover;
  -o-object-position: 90% 0;
     object-position: 90% 0;
  border-radius: 999px;
  -webkit-border-radius: 999px;
  -moz-border-radius: 999px;
  -ms-border-radius: 999px;
  -o-border-radius: 999px;
}
.mainvisual .mainvisual__img::after {
  position: absolute;
  top: 40px;
  left: 200px;
  content: "";
  display: block;
  width: 100%;
  height: 100%;
  background-image: repeating-linear-gradient(-45deg, #e6c0c0, #e6c0c0 7px, transparent 0, transparent 14px);
  border-radius: 999px;
  -webkit-border-radius: 999px;
  -moz-border-radius: 999px;
  -ms-border-radius: 999px;
  -o-border-radius: 999px;
  z-index: -1;
}
.mainvisual .sitename {
  position: absolute;
  top: calc(50% - 1em);
  left: 10%;
  font-size: clamp(5rem, 4.6rem + 2vw, 7rem);
  color: #fff;
  font-weight: lighter;
  -webkit-text-stroke: 1px #74645C;
  text-stroke: 1px #74645C;
}

/* タブレット */
@media screen and (max-width: 1180px) {
  .mainvisual {
    height: auto;
    margin-bottom: 80px;
  }
  .mainvisual .mainvisual__img {
    width: 90vw;
    height: 90vw;
  }
  .mainvisual .mainvisual__img img {
    margin-left: 0px;
  }
  .mainvisual .mainvisual__img::after {
    top: 20px;
    left: 10px;
  }
  .mainvisual .sitename {
    top: calc(45vw - 1em);
    left: 3%;
  }
}
/*－－－－－－－－－－－－－－－－－－－－－－－－－－－－－－－

更新履歴

－－－－－－－－－－－－－－－－－－－－－－－－－－－－－－－*/
.update {
  height: 140px;
  overflow-y: auto;
  padding-right: 20px;
}

.update__item {
  display: flex;
  gap: 20px;
  padding: 8px 0;
}
.update__item:not(:last-child) {
  border-bottom: 1px solid #e6c0c0;
}

/* スマホ */
@media screen and (max-width: 520px) {
  .update__item {
    flex-direction: column;
    gap: 4px;
  }
}

/*－－－－－－－－－－－－－－－－－－－－－－－－－－－－－－－

 ABOUT

 －－－－－－－－－－－－－－－－－－－－－－－－－－－－－－－*/
/*－－－－－－－－－－ Profile －－－－－－－－－－*/
.profile__img {
  padding: 0 40px;
}
.profile__img img {
  border-radius: 50%;
  -webkit-border-radius: 50%;
  -moz-border-radius: 50%;
  -ms-border-radius: 50%;
  -o-border-radius: 50%;
  margin: auto;
}

/*－－－－－－－－－－－－－－－－－－－－－－－－－－－－－－－

LINK

－－－－－－－－－－－－－－－－－－－－－－－－－－－－－－－*/
.linklist__item a {
  text-decoration: none;
}

/*－－－－－－－－－－－－－－－－－－－－－－－－－－－－－－－

 CONTACT

 －－－－－－－－－－－－－－－－－－－－－－－－－－－－－－－*/
.mailform input {
  width: max(50%, 400px);
}
.mailform textarea {
  width: 100%;
}

/* タブレット、スマホ */
@media screen and (max-width: 768px) {
  .mailform input,
  .mailform textarea {
    max-width: 100%;
  }
}

/*－－－－－－－－－－－－－－－－－－－－－－－－－－－－－－－

GALLERY

－－－－－－－－－－－－－－－－－－－－－－－－－－－－－－－*/
.gallerylist {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  margin: 40px 0;
}

.gallerylist__item {
  width: calc((100% - 80px) / 5);
  height: auto;
}
@media screen and (max-width: 1024px) {
  .gallerylist__item {
    width: calc((100% - 60px) / 4);
  }
}
@media screen and (max-width: 767px) {
  .gallerylist__item {
    width: calc((100% - 40px) / 3);
  }
}
@media screen and (max-width: 520px) {
  .gallerylist__item {
    width: calc((100% - 20px) / 2);
  }
}
.gallerylist__item a {
  position: relative;
  width: 100%;
  display: block;
}
.gallerylist__item a::before {
  content: "";
  display: block;
  padding-top: 100%;
  /*100%=親要素の横幅*/
}
.gallerylist__item a img {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 100%;
  -o-object-fit: cover;
     object-fit: cover;
}

/*－－－－－－－－－－－－－－－－－－－－－－－－－－－－－－－

COMIC

－－－－－－－－－－－－－－－－－－－－－－－－－－－－－－－*/
/*－－－－－－－－－－ 漫画タイトル一覧ページ －－－－－－－－－－*/
.comiclist__item {
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  margin-bottom: 40px;
}
.comiclist__item .comiclist__img {
  position: relative;
  width: 100%;
  height: 100%;
}
.comiclist__item .comiclist__img img {
  position: absolute;
  width: 100%;
  height: 100%;
  -o-object-fit: cover;
     object-fit: cover;
}
/* スマホ */
@media screen and (max-width: 520px) {
  .comiclist__item {
    grid-template-columns: 1fr;
    gap: 0;
  }
  .comiclist__item .comiclist__img img {
    position: relative;
    max-height: 40vh;
  }
  .comiclist__item .comiclist__body {
    padding-top: 0;
  }
  .comiclist__item .comiclist__body .comiclist__title {
    position: static;
    width: 100%;
    margin: 20px 0;
  }
}
/*－－－－－－－－－－ 漫画表紙ページ －－－－－－－－－－*/
/* メイン画像 */
.comic__mainvisual {
  position: relative;
  margin-bottom: 40px;
}

/* タイトル */
.comic__title {
  position: absolute;
  right: 1em;
  bottom: 1em;
  color: #fff;
  font-size: clamp(1.8rem, 1.16rem + 3.2vw, 5rem);
  font-weight: lighter;
  text-align: right;
  -webkit-text-stroke: 1px #74645C;
  text-stroke: 1px #74645C;
}

/*－－－－－－－－－－ キャラクター紹介 －－－－－－－－－－*/
/* キャラクター名一覧 */
.charanamelist {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 20px;
}
.charanamelist .charanamelist__item {
  cursor: pointer;
}

/* キャラクタープロフィール部分 */
.charalist--3 {
  margin-bottom: 40px;
}
.charalist--3 .charalist__item {
  position: relative;
  height: 100%;
  display: none;
}
.charalist--3 .charalist__item .charalist__img {
  width: 40%;
  height: 100%;
  max-height: 60vh;
  -o-object-fit: cover;
  object-fit: cover;
  -o-object-position: center top;
  object-position: center top;
}
.charalist--3 .charalist__item .charalist__body {
  width: calc(60% - 20px);
}
.charalist--3 .charalist__item .charalist__body > :first-child {
  margin-top: 0;
}
.charalist--3 .charalist__item .charalist__body .charalist__name {
  font-size: clamp(2rem, 1.422rem + 2.37vw, 3.2rem);
}
.charalist--3 .charalist__item.show {
  display: flex;
}

/* スマホ */
@media screen and (max-width: 768px) {
  .charalist--3 .charalist__item {
    display: none;
  }
  .charalist--3 .charalist__item.flex .charalist__img {
    width: 100%;
    height: auto;
    margin-bottom: 10px;
    -o-object-fit: contain;
    object-fit: contain;
  }
  .charalist--3 .charalist__item.flex .charalist__img img {
    width: 100%;
    height: auto;
  }
  .charalist--3 .charalist__item.flex .charalist__body {
    width: 100%;
  }
}
/*－－－－－－－－－－ 連載一覧 －－－－－－－－－－*/
/*－－－－－－－－－－ 漫画一覧 －－－－－－－－－－*/
.cardlist {
  container-type: inline-size;
}
.cardlist a {
  text-decoration: none;
}
.cardlist .cardlist__item {
  width: calc((100% - 60px) / 4);
}
.cardlist .cardlist__item a .cardlist__img {
  height: 200px;
  -o-object-fit: cover;
     object-fit: cover;
}

@container (max-width: 800px) {
  .cardlist .cardlist__item {
    width: calc((100% - 40px) / 3);
  }
}
@container (max-width: 600px) {
  .cardlist {
    gap: 10px;
  }
  .cardlist .cardlist__item {
    width: calc((100% - 20px) / 2);
  }
  .cardlist .cardlist__item a .cardlist__img {
    width: 100%;
    height: 140px;
  }
}
/*－－－－－－－－－－ 漫画のページ －－－－－－－－－－*/
.comicpage__main img {
  margin: auto;
  margin-bottom: 20px;
}

.episodelist {
  margin: 40px 0;
}

/*－－－－－－－－－－－－－－－－－－－－－－－－－－－－－－－

OFFLINE

－－－－－－－－－－－－－－－－－－－－－－－－－－－－－－－*/
.off-list {
  gap: 60px;
  margin-bottom: 80px;
}

.storelist {
  gap: 10px;
  margin: 20px 0;
}

/* タブレット */
@media screen and (min-width: 769px) and (max-width: 1024px) {
  .off-list {
    gap: 20px;
  }
}