@charset "utf-8";

/*
	Josh's Custom CSS Reset
	https://www.joshwcomeau.com/css/custom-css-reset/
*/
*,*::before,*::after{box-sizing:border-box}*{margin:0}body{line-height:1.5;-webkit-font-smoothing:antialiased}picture,video,canvas,svg{display:block;max-width:100%}img{max-width:100%;height:auto;vertical-align: bottom}input,button,textarea,select{font:inherit}p,h1,h2,h3,h4,h5,h6{overflow-wrap:break-word}#root,#__next{isolation:isolate}

/*
	Tegalog skin by pipi
	https://pipi.noor.jp/t/
*/
:root {
	--main-font-family: "Noto Sans JP", "Helvetica Neue", "Helvetica", "Hiragino Sans", "Hiragino Kaku Gothic ProN", "Arial", "Segoe UI", "Meiryo", sans-serif;

	/* 色設定 */
	--main-text-color: #323C42;
	--body-bg-color: #c0b8ac;
	--article-bg-color: #f7f3e6;
	--accent: #1C93A3;
	--gold: #E3CB73;
	--red: #c33;

	--accent2: color-mix(in srgb, var(--accent) 30%, transparent);
	--text-color-01: color-mix(in srgb, var(--main-text-color) 10%, transparent);
	--text-color-015: color-mix(in srgb, var(--main-text-color) 15%, transparent);
	--text-color-02: color-mix(in srgb, var(--main-text-color) 20%, transparent);
	--text-color-03: color-mix(in srgb, var(--main-text-color) 30%, transparent);
	--text-color-04: color-mix(in srgb, var(--main-text-color) 40%, transparent);
	--text-color-05: color-mix(in srgb, var(--main-text-color) 50%, transparent);
	--text-color-06: color-mix(in srgb, var(--main-text-color) 60%, transparent);
	--text-color-07: color-mix(in srgb, var(--main-text-color) 70%, transparent);
	--text-color-08: color-mix(in srgb, var(--main-text-color) 80%, transparent);
	--shadow: 2px 2px 6px var(--text-color-02);

	/* 記事の横幅設定 */
	--article-width: 600px;
}
/* 画像保存をしにくくする設定（不要なら削除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;
}
 */
/* 画像保存をしにくくする設定（ここまで） */





::marker { color: var(--text-color-05); }
::placeholder { color: var(--main-text-color);}
html{
	font-size: 16px;
	-webkit-text-size-adjust: 100%;
	text-size-adjust: 100%;
}
body{
	accent-color: var(--accent);
	background-color: var(--body-bg-color);
	color: var(--main-text-color);
	font-family: var(--main-font-family);
	font-feature-settings: "palt" 1;
	font-weight: 400;
	letter-spacing: 1px;
	line-height: 1.8;
	word-break: break-all;
	margin: 0 3vw;
}
a{
	color: var(--main-text-color);
	text-decoration: none;
	font-weight: bold;
}
:where(:any-link) {
	text-underline-offset: 0.25em;
}
ul{
	padding: 0 0 0 0;
	list-style-type: none;
}
textarea{
	font-size: 16px;	/* iOS zoom対策 */
}



/* header -------------------------------------------- */
body > header{
	padding: 50px 0 50px;
	text-align: center;
}
h1 img{
	width: 72px;
}
h2.pagetitle{
	font-size: 1.6rem;
	font-weight: normal;
	line-height: 1.3;
	margin: 1rem 0 0.3rem;
	text-align: center;
}
p.pageinfo{
	font-size: 0.8rem;
	margin-bottom: 1em;
}
body > header .category{
	margin-top: 1rem;
}
.category li{
	display: inline-block;
	margin-right: 5px;
}
.category li:last-child{
	margin-right: 0;
}
.category a,
a.categorylink{
	background-color: var(--text-color-03);
	border-radius: 5px;
	display: inline-block;
	font-size: 0.85rem;
	line-height: 1.4em;
	padding: 0.2em 0.6em 0.3em;
}
.category a:hover,
a.categorylink:hover{
	background-color: var(--accent2);
	color: var(--accent);
}
a.categorylink{
	margin-right: 5px;
}

div.icons{
	display: flex;
	gap: 1rem;
	justify-content: center;
	line-height: 1;
	margin-top: 1rem;
}
div.icons a{
	color: var(--text-color-05);
	font-size: 0.7em;
	letter-spacing: 0.05em;
	opacity: 1;
	text-align: center;
}
div.icons img{
	display: block;
	margin: 0 auto 5px;
	width: 30px;
}
div.icons i{
	display: block;
	margin: 0 auto;
	font-size: 30px;
}
body > header details{
	text-align: left;
}


/* main-layout -------------------------------------------- */
body.mode-view main,
body.onelog main{
	max-width: var(--article-width);
	margin: 0 auto;
}
article{
	background-color: var(--article-bg-color);
	box-shadow: var(--shadow);
	margin-bottom: 5rem;
}
article header{
	padding: 30px 30px 0;
}
article header:empty{
	padding: 15px 30px 0;
}
article .comment{
	font-size: 1rem;
	padding: 15px 30px 0;
}
article footer{
	display: flex;
	font-size: 0.8rem;
	gap: 1rem;
	margin-top: 2rem;
	padding: 0 30px 30px;
}
article footer span.reaction{
	flex-grow: 1;
}
article footer > *{
	margin:auto;
}
article footer span.reaction img{
	width: 20px;
}
.tooltip {
	position: relative;
}
.tooltip-text {
	opacity: 0;
	visibility: hidden;
	position: absolute;
	left: 25px;
	top: 50%;
	transform: translateY(-50%);
	display: inline-block;
	padding: 5px;
	white-space: nowrap;
	font-size: 0.8rem;
	line-height: 1.3;
	transition: 0.3s ease-in;
}
.tooltip:hover .tooltip-text {
	opacity: 1;
	visibility: visible;
}



.nodata,
.nolist{
	background-color: var(--article-bg-color);
	padding: 3rem 5%;
}
nav.pagenums{
	text-align: center;
}
nav.pagenums a{
	background-color: var(--text-color-02);
	color: var(--main-text-color);
	display: inline-block;
	letter-spacing: 0;
	line-height: 36px;
	padding: 0 0.6em;
	position: relative;
	margin-bottom: 5px;
	transition: all 0.3s ease-in-out;
	min-width: 2em;
}
nav.pagenums a.nextlink{
	padding-left: 0.3em;
}
nav.pagenums a.nextlink::before{
	content: "";
	position: absolute;
	left: -36px;
	border: 18px solid transparent;
	border-right-color: var(--text-color-02);
	transition: border-right-color 0.3s ease-in-out;
}
nav.pagenums a.prevlink{
	padding-right: 0.3em;
}
nav.pagenums a.prevlink::after{
	content: "";
	position: absolute;
	right: -36px;
	border: 18px solid transparent;
	border-left-color: var(--text-color-02);
	transition: border-left-color 0.3s ease-in-out;
}
nav.pagenums a:hover{
	background-color: var(--accent2);
	color: var(--accent);
}
nav.pagenums a.nextlink:hover::before{
	border-right-color: var(--accent2);
}
nav.pagenums a.prevlink:hover::after{
	border-left-color: var(--accent2);
}
nav.pagenums .pagenumhere{
	background-color: var(--main-text-color);
	color: var(--body-bg-color);
}
body nav.pagenums .onelogonly a:last-child{
	margin-right: 0;
}
.utilitylinks{
	font-size: 0.85rem;
	margin: -3rem 0 3rem;
}



/* a -------------------------------------------- */
article .comment a:not(.readmorebutton),
.freespace a{
	text-decoration: underline;
	text-decoration-color: color-mix(in srgb, currentcolor, transparent 40%);
}
article .comment figcaption a{
	color: var(--text-color-07);
	font-weight: normal;
}
article .comment a:hover,
.freespace a:hover{
	text-decoration: none;
}
article .comment a.uc-btn{
	background-color: var(--accent);
	color: var(--body-bg-color);
	display: inline-block;
	font-weight: bold;
	font-size: 0.9rem;
	margin: 0 0 5px 0;
	padding: 0.1em 0.6em 0.2em;
	text-decoration: none;
	transition: opacity 0.3s ease-in-out;
}
article .comment a[target~="_blank"]:before{
	content: " \f35d";
	font-family: 'Line Awesome Free';
	font-weight: 900;
}
article .comment a.uc-btn:hover{
	opacity: 0.5;
}
a.readmorebutton{
	background-color: var(--main-text-color);
	color: var(--body-bg-color);
	display: inline-block;
	font-weight: bold;
	font-size: 0.9rem;
	margin: 0 0 5px 0;
	padding: 0.1em 0.6em 0.2em;
	text-decoration: none;
	transition: background-color 0.3s ease-in-out;
}
a.readmorebutton:hover{
	background-color: var(--accent);
}
a.readmoreclose{
	background-color: transparent;
	border-top: 1px solid var(--text-color-02);
	color: var(--text-color-05);
	display: block;
	font-size: 0.8em;
	margin: 2rem 0;
	text-align: right;
}
a.readmoreclose:hover{
	background-color: transparent;
	color: var(--accent);
}
.taglink + .num,
.catlink + .num,
.datelistlink + .num{
	display: none;
}



/* parts -------------------------------------------- */
em,
.searchword{
	font-style: normal;
	font-weight: bold;
	margin: 0 0.2em;
	background-image: linear-gradient(rgb(0 0 0 / 0) 50%, var(--accent2) 50%);
}
.decorationM{
	padding: 0 0.2em;
}
small.decorationS,
.smalltext{
	font-size: 0.85rem;
}
small.decorationT{
	font-size: 0.7rem;
}
ul.decorationL{
	list-style-type: disc;
	padding-left: 1.5rem;
	list-style-position: outside;
	margin: 0.5em 0;
}
q.decorationQ{
	background-color: var(--text-color-015);
	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-06);
	position: absolute;
	left: 6px;
	top: 0;
}
q.decorationQ:after{
	content: "\f10e";
	font-family: 'Line Awesome Free';
	font-weight: 900;
	color: var(--text-color-06);
	position: absolute;
	right: 6px;
	bottom: 0;
}
figcaption{
	color: var(--text-color-07);
	font-size: 0.85rem;
	line-height: 1.5;
	margin: -1.5em 0 2em;
}
.right_block{
	text-align: right;
}
details summary{
	cursor: pointer;
	padding: 3.5% 5%;
}
iframe.embeddedmovie{
	max-width: 100%;
}
span.passkeybox{
	display: block;
	margin-bottom: 0.3rem;
}
span.passkeyguide{
	display: block;
}
.decoration1{
	display: none;
}
.decoration2{
	background-color: var(--text-color-015);
	padding: 1em 2em;
	margin: 0.5em 0;
	position: relative;
}
a.imagelink + br,
.decorationL + br,
.decorationQ + br,
.decoration2 + br{
	display: none;
}


/* input -------------------------------------------- */
form.passkeyform{
	margin: 2rem 0;
}
input.queryinput,
select.datelimitpull,
select.hashtagpull,
select.hashtagEasyInput,
input.passkeyinput{
	border: 1px solid var(--main-text-color);
	background-color: var(--body-bg-color);
	color: var(--main-text-color);
	vertical-align: bottom;
	width: calc(100% - 3rem);
	height: 2rem;
}
input.submitbutton,
input.passkeysubmit,
input[type="submit"],
.postarea input[type="button"],
.postarea input[type="text"]{
	border: none;
	background-color: var(--main-text-color);
	color: var(--body-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;
}
main input.passkeyinput{
	width: calc(100% - 7rem);
}
main article input.passkeysubmit{
	letter-spacing: 1px;
	padding: 0 0 2px;
	text-align: center;
	width: 7rem;
}
aside .searchinputs > input,
aside .datelimitbox select,
.hashtagpullbox select{
	height: 2rem;
}



/* img -------------------------------------------- */
img.emoji,
.comment img.emoji{
	width: 1rem;
	height: 1rem;
	vertical-align: middle;
	margin: 0 3px 3px;
}
img.circle{
	border-radius: 50%;
}
a.imagelink{
	line-height: 1;
	vertical-align: bottom;
}
article img.embeddedimage{
	display: block;
	margin: 0;
	width: 100%;
}
article a.imagelink{
	display: block;
	margin: 2rem -30px;
}
article a.imagelink + a.imagelink{
	margin: -2rem -30px 2rem;
}
article .decoration3 a.imagelink:first-child{
	margin: 2rem -30px 0;
}
article .decoration3 a.imagelink:not(:first-child){
	margin: 0 -30px;
}
article .decorationS a.imagelink{
	display: inline;
	margin: 0;
}
article .decorationS img.embeddedimage{
	margin: 3px 0;
	width: unset;
}



/* postarea -------------------------------------------- */
.postarea{
	background-color: var(--accent2);
	margin: 1rem auto 0;
	max-width: var(--article-width);
}
.postarea form.postform{
	padding: 0 5%;
}
.postarea input[type="text"]{
	font-weight: normal;
}
textarea.tegalogpost{
	background-color: var(--body-bg-color);
	border: none;
	border-radius: 0;
	color: var(--main-text-color);
	field-sizing: content;
	font-family: var(--main-font-family);
	min-height: 10rem;
	padding: 0.2em 0.6em;
	resize: vertical;
	vertical-align: bottom;
	width: 100%;
}
.postarea .submitcover{
	display: block;
	text-align: right;
}
.postarea input.postbutton{
	background-color: var(--accent);
	font-size: 1rem;
	font-weight: bold;
	letter-spacing: 2px;
	margin-right: 0;
	width: 50%;
}
.postarea .line-control{
	font-size: 0.9rem;
	padding-bottom: 1rem;
}
.postarea .decoBtns{
	display: block;
}
.postarea input[type="button"]{
	font-weight: normal;
	letter-spacing: 1px;
	margin: 0 5px 5px 0;
	vertical-align: middle;
}
.postarea input[type="file"]{
	vertical-align: bottom;
	margin-bottom: 5px;
	height: 2rem;
}
select.hashtagEasyInput{
	margin-bottom: 5px;
}
.postarea label{
	display: inline-block;
	padding: 0 1em 5px 0;
	vertical-align: middle;
	line-height: 1.8;
}
.postarea label input[type="checkbox"]{
	margin-right: 5px;
}
.funcUIs label{
	padding: 0 5px 5px 0;
}
.funcUIs .catChecks,
.funcUIs > input:first-child{
	margin-right: 1em;
}
.postarea div.QP_footer{
	padding: 0 5% 3.5%;
}
.postarea div.QP_footer p.right_block{
	border-top: 1px solid var(--text-color-03);
}


/*
	css modal
	codes by https://pote-chil.com/css-stock/ja
	--------------------------------------------
*/
.modal-1__wrap {
    display: inline-block;
}
.modal-1__wrap .searchinputs{
	display: flex;
}
.modal-1__wrap input.modal-1__open-input,
.modal-1__wrap input#modal-1__close{
    display: none;
}
.modal-1__open-label,
.modal-1__close-label {
    cursor: pointer;
}
.modal-1 {
    position: fixed;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    z-index: 9999;
    display: none;
	opacity: 1;
}
.modal-1:hover {
	opacity: 1;
}
.modal-1__open-input:checked + label + input + .modal-1 {
    display: block;
    animation: modal-1-animation .6s;
}
.modal-1__content-wrap {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    width: 80%;
    max-width: 500px;
    background-color: var(--body-bg-color);
    z-index: 2;
    border-radius: 5px;
}
.modal-1__close-label {
	position: fixed;
	padding: 11px 10px;
	top: 0px;
	right: 0;
	z-index: 99999;
	font-size: 1.4em;
	color: var(--main-text-color);
}
div.icons .modal-1__close-label i{
	font-size: unset;
}
.modal-1__content {
	max-height: 50vh;
	overflow-y: auto;
	padding: 39px 45px 40px;
	font-size: 1rem;
	color: var(--main-text-color);
}
.modal-1__background {
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, .45);
    z-index: 1;
}
@keyframes modal-1-animation {
    0% {
        opacity: 0;
    }
    100% {
        opacity: 1;
    }
}
@media only screen and (max-width: 520px) {
    .modal-1__content-wrap {
        width: 90vw;
    }
    .modal-1__content {
        padding: 3rem 1.5rem;
        max-width: 100%;
    }
}



/* aside -------------------------------------------- */
aside{
	border-top: 1px solid var(--text-color-03);
	display: grid;
	gap: 0 3rem;
	grid-template-columns: repeat(2, 1fr);
	grid-template-rows: 1fr auto;
	margin: 5rem auto 0;
	max-width: var(--article-width);
	padding-top: 1rem;
}
aside section > div,
aside section > nav,
aside section > form{
	margin-bottom: 1rem;
}
aside h2{
	font-size: 0.8rem;
	font-weight: normal;
	padding: 0 0 0.4em;
	text-align: left;
}
aside ul.depth2{
	display: inline-block;
}
aside ul.depth2 li{
	margin-right: 0;
}
aside ul.depth2 a{
	background-color: var(--text-color-06);
	margin-left: 1px;
}
aside .searchinputs,
aside .datelimitbox{
	display: flex;
}
aside .hashtaglist li{
	display: inline-block;
	padding-right: 0.5em;
	font-size: 0.85rem;
	font-weight: bold;
}
aside .hashtaglist li:before{
	content: '#';
	color: var(--text-color-05);
}
aside .hashtaglist .num{
	display: none;
}
aside .datelimitboxoptions{
	display: none;
}
aside table.calendar{
	width: 100%;
	border-collapse: collapse;
	text-align: center;
	line-height: 2;
	font-size: 0.8rem;
	margin-top: 1.5rem;
}
aside caption{
	line-height: 1;
	padding-bottom: 0.8em;
	text-align: left;
}
.calendar thead{
	background-color: var(--text-color-015);
}
.calendar tr {
    border-bottom: 1px solid var(--text-color-03);
}
.calendar tr:last-child {
    border-bottom: none;
}
.calendar .sun,
.calendar .sat {
    background-color: var(--article-bg-color);
}
.calendar .today {
    background-color: var(--accent2);
}
.calendar a{
	font-weight: bold;
	display: block;
}
.calendar span.nolink{
	color: var(--text-color-05);
}
.calbtm {
    display: grid;
    grid-template-columns: 1fr 1fr;
    margin-top: 0.3rem;
    font-size: 0.8rem;
    font-weight: bold;
}
.calbtm div:nth-child(2) {
    text-align: right;
}
aside section div.imagelist{
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
	gap: 5px;
	margin-bottom:0;
}
.imagelistitem a{
	background-color: var(--text-color-03);
	display: block;
	overflow: hidden;
}
.imagelistitem img{
	object-fit: cover;
	aspect-ratio: 1 / 1;
}
.sec3 p{
	font-size: 0.8rem;
	padding-top: 0.3em;
}
@media (max-width: 599px) {
	body{
		margin: 0 0;
	}
	aside{
		display: block;
		margin: 5rem 1.6rem 0;
	}
}



/* footer -------------------------------------------- */
body > footer{
	font-size: 0.8rem;
	max-width: var(--article-width);
	margin: 2rem auto 1rem;
	text-align: center;
}