@import url('https://fonts.googleapis.com/css2?family=Zen+Maru+Gothic&family=Amatic+SC:wght@400;700&family=M+PLUS+Rounded+1c&display=swap');

html {
	height: 100%;
}

body {
	margin: 0;
	height: 100%;
	font-family: "Zen Maru Gothic", "Helvetica Neue", Arial, "Hiragino Kaku Gothic ProN", "Hiragino Sans", "Noto Sans JP", sans-serif;
	font-weight: 400;
	font-style: normal;
	font-size: 1rem;
	background-color: #e3c7d1;
	word-break: normal;
	line-break: strict;
	text-autospace: normal;
	-webkit-text-size-adjust: 100%;
	overflow-x: hidden;
}

.text {
	text-box: trim-both cap alphabetic;
}

h1,
h2 {
	display: flex;
	justify-content: center;
	font-family: "Amatic SC", sans-serif;
	font-size: 50px;
	font-weight: 700;
	font-style: normal;
}

section.tegalog {
	max-width: 700px;
	margin: 40px auto 0;
}

.onelogbox img {
	display: inline-block;
	max-width: 100%;
	height: auto;
	margin: 9px 0;
	vertical-align: middle;
}

.postarea form {
	background: #d8e5ea;
	padding: 10px;
	border-radius: 3%;
}

.postarea textarea.tegalogpost {
	width: 100%;
	font-size: 16px;
	margin: 0 auto;
	border: 1px solid #ccc;
	padding: 16px;
	font-family: "Zen Maru Gothic", serif;
	font-weight: 400;
	font-style: normal;
	padding: 8px;
	cursor: pointer;
	transition: .3s;
	box-sizing: border-box;
}

.postarea input.postbutton:hover {
	background: #99b4f7;
}

.decoBtns input[type=button] {
	border-radius: 3px;
	border: 1px solid #928f8f;
	background: #a2ccdc;
	margin: 0 2px 10px;
}

span.catChecks label {
	margin-right: 5px;
	font-size: 100%;
}

div.onelogbox {
	margin: 2em auto;
	padding: 40px 20px 20px;
	border-radius: 30px 60px / 60px 30px;
	border: solid 4px #c6cee1;
	max-width: 800px;
}

p.oneloginfo {
	margin: 0;
	text-align: right;
	font-family: "M PLUS Rounded 1c", sans-serif;
	font-size: 0.9rem;
	margin-top: 10px;
	color: #979797;
}

p.oneloginfo a.categorylink {
	display: inline-block;
	text-decoration: none;
	color: #979797;
	border: 1px solid;
	padding: 1px 3px;
	border-radius: 6px;
	margin: 0 8px;
}

p.situation {
	font-size: 90%;
	color: #ccc;
}

span.situation-postno {
	border: 1px solid;
	display: inline-block;
	padding: 3px 8px;
	border-radius: 3px;
	line-height: 1.6em;
}

p.dateseparator {
	display: inline-block;
	border: none;
	margin-bottom: -16px;
	padding-bottom: 0;
	text-align: left;
	background: #d1deff;
}

p.dateseparator.fixedseparator {
	position: relative;
	left: 33%;
	background: #DBD0E4;
	background-image: radial-gradient(#fff 20%, transparent 0), radial-gradient(#fff 20%, transparent 0);
	background-position: 0 0, 10px 10px;
	background-size: 20px 20px;
	padding: 1em 3em 1em 5em;
	color: #593869;
	transform: rotate(-9deg);
}

/* 先頭固定枠*/
.onelogbox.logstatus-fixed {
	border: double 3px #838383;
	border-radius: 10px;
	outline-offset: -5px;
}

/* 日付境界線打ち消し*/
.datetitle {
	display: none;
}

p.pagenums {
	text-align: center;
}

a.pagenumlink {
	display: inline-block;
	text-decoration: none;
	font-family: "M PLUS Rounded 1c", sans-serif;
	background: #fcb8d7;
	border-radius: 20px;
	color: white;
	width: 25px;
	height: 25px;
	line-height: 25px;
}

a.pagenumlink.pagenumhere {
	background: #ccc;
}

.comment {
	line-height: 1.6;
}

a.readmorebutton {
	margin: 0 auto;
	border: 1px solid;
	text-decoration: none;
	color: #242424;
	width: 70%;
	text-align: center;
	padding: 3px;
	border-radius: 3px;
}

a.readmorebutton.readmoreclose {
	padding: 1px 8px;
	font-size: 85%;
	margin-left: 5px;
}

p.poweredby {
	text-align: right;
	color: #929292;
	font-size: 12px;
}


a.nsfw {
	position: relative;
	overflow: hidden;
	display: block;
}

a.nsfw img {
	filter: blur(15px);
}

a.nsfw:before {
	font-family: 'Line Awesome Free';
	font-weight: 900;
	content: "\f071";
	vertical-align: middle;
	margin-right: 5px;
	color: #ffffff;
	display: block;
	width: 100%;
	height: 100%;
	background: #0000003a;
	position: absolute;
	z-index: 1;
	text-align: center;
	font-size: 50px;
	margin: auto;
	top: 0;
	padding: 20% 0 0;
}

@media (min-width: 768px) {
	a.nsfw:before {
		font-size: 70px;
	}
}


/* ---------------------------------------------------- */
/* ▼汎用装飾(てがろぐ専用記法で書かれた場合のみ)：文字 */
/* ---------------------------------------------------- */
/* B:太字(Bold) */
.decorationB {
	font-weight: bold;
	/* 太字 */
}

/* D:削除(Delete) */
.decorationD {
	color: #888;
	/* 文字色 */
	text-decoration-line: line-through;
	/* 取り消し線 */
	text-decoration-color: #888;
	/* 線の色 */
}

/* E:強調(Emphasis) */
.decorationE {
	background: linear-gradient(transparent 60%, #e4cccf 60%);
}

/* I:斜体(Italic) */
.decorationI {
	font-style: italic;
	/* 斜体 */
}

/* Q:引用(Quote) */
.decorationQ {
	margin: 1rem;
	/* 外側の余白(上→右→下→左) */
	padding: 1rem 1.5rem;
	/* 内側の余白(上下→左右) */
	border: 1px solid #bfcded;
	border-left-width: 15px;
	/* 左端の枠線 */
	background-color: #ffffff;
	/* 背景色 */
	display: block;
	/* ※Ver 2.2.0以降必須の記述 */
}

.decorationQ::before,
.decorationQ::after {
	content: '';
	/* 標準で付加されてしまう引用符を無効にする */
}

.decorationQ+br {
	display: none;
	/* 引用直後の改行を無効化する */
}

/* S:小文字(Small) */
.decorationS {
	font-size: 0.8em;
	/* 文字サイズ */
}

/* T:極小文字(Tiny) */
.decorationT {
	font-size: 0.6em;
	/* 文字サイズ */
}

/* U:下線(Underline) */
.decorationU {
	text-decoration-line: underline;
	/* 線位置 */
	text-decoration-style: solid;
	/* 線種類 */
	text-decoration-color: #f91880;
	text-decoration-thickness: 2px;
}

/* ---------------- */
/* ▼カレンダー区画 */
/* ---------------- */
.calendararea {
	margin: 0 auto;
	/* 外側の余白量 */
	padding: 5px;
	/* 内側の余白量 */
	font-family: "M PLUS Rounded 1c", sans-serif;
	color: #ffffff;
	background-color: #f8f8f8;
	/* 背景色 */
	border-radius: 15px;
}

/* ▽カレンダーカバー */
.calendarplace {
	width: 60%;
	margin: 0 auto;
	/* 外側の余白量 */
	padding: 5px;
	/* 内側の余白量 */
	background-color: #ffcfdf;
	/* 背景色 */
	line-height: 1.5;
	/* 行の高さ */

	border-radius: 15px;
}

/* ▽前後月移動 */
.calendarlinks {
	text-align: center;
}

/* ▽カレンダーテーブル */
.calendar {
	width: 100%;
	/* 親要素いっぱい */
	table-layout: fixed;
	/* セル幅を均等にする */
	border: 1px solid #ffcfdf;
	/* テーブル外側の枠線 */
}

.calendar th,
.calendar td {
	width: 14.28%;
	padding: 5px;
	/* セル内側の余白 */
	text-align: center;
	/* 中央寄せ */
	font-size: 1em;
	/* 文字サイズ */
	line-height: 0.6;
	/* 行の高さ */
}

/* 年月キャプション */
.calendar caption {
	color: #ffffff;
	/* 文字色 */
	text-align: center;
}

/* 曜日行 */
.daysofweek th {
	background-color: #ffcfdf;
	font-weight: normal;
	padding: 6px 0;
	font-size: 0.8em;
	line-height: 1;
}

/* 日付数値の装飾（リンクになる場合も、ならない場合も共通） */
.calendar a,
.calendar .nolink {
	display: inline-block;
	/* インラインブロック化 */
	border-radius: 50%;
	/* 角丸 */
	width: 1.3em;
	/* 横幅 */
	height: 1.3em;
	/* 高さ */
	line-height: 1.3em;
	background-color: #ffcfdf;
}

/* 日付数値のリンク（※リンクになる場合だけの装飾） */
.calendar td a {
	text-decoration: none;
	/* 下線を消す */
	background-color: #9ccddc;
	/* 背景色 */
	color: inherit;
	/* 親要素の色を継承する */
}

/* 日付数値のリンクにマウスが載った際 */
.calendar td a:hover {
	background-color: #b6d3dc;
	/* 背景色 */
	color: white;
	/* 文字色 */
}

/* 今日の枠（カレンダー内での「今日」のセルだけの装飾） */
.today {
	position: relative;
}

.today::after {
	content: "•";
	position: absolute;
	left: 50%;
	bottom: 0;
	transform: translateX(-50%) translateY(50%);
	/* 横中央＆少し下げる */
	font-size: 1.2em;
	color: #391eff;
	line-height: 1;
	pointer-events: none;
}

/*-----土曜日の設定-----*/
.calendar th:nth-child(7) {
	color: #7181da;
}

.calendar tr td.sat {
	color: #7181da;
}

/*-----日曜日の設定-----*/
.calendar th:nth-child(1) {
	color: #f02d87;
}

.calendar tr td.sun {
	color: #ed69a6;
}

@media (max-width: 768px) {
	.calendarplace {
		width: 100%;
		margin: 0 auto;
		padding: 20px;
	}

	.calendar caption {
		font-size: 1em;
	}

	.calendar th,
	.calendar td {
		font-size: 1em;
		padding: 7px;
	}

	.calendar a,
	.calendar .nolink {
		width: 1.8em;
		height: 1.8em;
		line-height: 1.8em;
		font-size: 1em;
	}
}

@media (max-width: 480px) {
	.calendarplace {
		width: 100%;
		margin: 0 auto;
		padding: 10px;
	}

	.calendar caption {
		font-size: 1em;
	}

	.calendar th,
	.calendar td {
		font-size: 1.1em;
		padding: 2.8px;
	}

	.calendar a,
	.calendar .nolink {
		width: 1.4em;
		height: 1.4em;
		line-height: 1.4em;
		font-size: 1em;
	}
}

/* ▼埋め込みTweet */
blockquote.twitter-tweet {
	background-color: #f8f8f8;
	border: 1px dashed #ddd;
	border-radius: 9px;
	margin: 0;
	padding: 0;
	font-size: 0.95em;
	color: #999;
	text-shadow: 1px 1px 1px #fff;
	margin-top: 0 !important;

}

/* ▼埋め込みツイートの横幅を強制的に制限 */
div.twitter-tweet {
	max-width: 100% !important;

}

/* -------------- */
/* ▼埋め込み動画 */
/* -------------- */
@media all and (max-width: 600px) {
	.embeddedmovie {
		display: inline-block;
		max-width: 100%;
		/* はみ出ないようにする */
		width: auto;
		height: auto;
		padding: 8px 0;
	}
}

/* -------------- */
/* 鍵付き投稿 */
/* -------------- */
.passkeyform {
	display: inline-block;
	margin: 0;
	padding: 0.6em;

}

/* ▼鍵違いエラーの表示 */
.passkeyerror {
	display: block;
	color: white;
	background-color: crimson;
	font-weight: bold;
	line-height: 1;
	margin: 0 0 0.5em 0;
	padding: 0.33em 0.25em;
}

/* ▼入力フォーム枠 */
.passkeybox {
	display: block;
}

/* ▼入力欄前のガイド文 */
.passkeyguide {
	margin-right: 0.1em;
}

/* ▼鍵入力欄 */
.passkeyinput {
	width: 10em;
	margin: 0 0.25em 0.6em 0;
}

/* ▼送信ボタン */
.passkeysubmit {
	height: 1.6em;
	padding: 0 5px;
}


/* ---------------------- */
/* ▼カード型リンクの装飾 */
/* ---------------------- */
.cardlink {
	display: inline-block;
	width: 100%;
	padding: 8px;
	margin: 0 auto;
	font-size: 14px;
	/* 文字サイズ */
	text-decoration: none;
	/* リンク文字の下線を消す */
	vertical-align: middle;
	/* 行内の上下方向では中央配置 */
}

/* ------------------------------------- */
/* リンクカードの装飾(サイズS/L共通部分) */
/* ※後述の「サイズS用の追記」や「サイズL用の追記」と合わせて、1つのカードデザインになります。 */
/* ------------------------------------- */
/* カード外枠 */
.cardlinkbox {
	border: 1px solid #ccc;
	/* 枠線 */
	border-radius: 10px;
	/* 角丸 */
	background-color: white;
	/* 背景色 */
	display: flex;
	/* 内部レイアウトのFlexbox化 */
}

/* (マウスが載ったとき) */
.cardlinkbox:hover {
	background-color: #F2FAFC;
	/* 背景色 */
	border-color: #ACCDEA;
	/* 枠線色 */
}

/* ▽リンクカード内の画像枠 (※読み込まれたog:imageは、この枠に《背景画像として》描画されます) */
.cardlinkimage {
	background-image: linear-gradient(-30deg, #eeaeca 0%, #94bbe9 100%);
	/* プレースホルダ的な背景グラデーション(※og:imageの画像指定が読み込まれたら、この値は上書きされます) */
	background-size: cover;
	/* 背景画像で枠を埋める */
	background-position: center center;
	/* 背景画像を中央に寄せる */
	background-repeat: no-repeat;
	/* 背景画像を繰り返さない */
}

/* ▽リンクカード内のテキスト枠 */
.cardlinktextbox {
	display: flex;
	/* Flexbox化 */
	flex-direction: column;
	/* 子要素を縦方向に並べる */
	padding: 0.5em 1em;
	/* 内側の余白量 */
}

/* ▽リンクカードのテキスト枠内の3要素共通 */
.cardlinktitle,
.cardlinkdescription,
.cardlinkurl {
	/* ↓表示行数を制限するための準備 (※システム側では文字数は制限せずに「記述されている全文字」をHTMLに出力しますので、表示分量を制限したい場合はCSSで制御する必要があります。) */
	display: -webkit-box;
	/* -webkit-line-clampを使うために必要な記述1 ※A */
	-webkit-box-orient: vertical;
	/* -webkit-line-clampを使うために必要な記述2 ※A */
	overflow: hidden;
	/* 表示量を制限する場合に必須の記述 */
	/* ↓制限の仕様 */
	line-clamp: 1;
	/* 1行だけ見せる (将来的にはこれだけで実現可能かも) */
	-webkit-line-clamp: 1;
	/* 1行だけ見せる (今のブラウザにはこちらが必要で、そのためには上記「※A」も必要) */
	text-overflow: ellipsis;
	/* 省略記号(三点リーダー) */
}

/* リンクタイトル */
.cardlinktitle {
	padding-bottom: 0.25em;
	/* 内側下端の余白量 */
}

/* リンク概要文 */
.cardlinkdescription {
	line-height: 1.3;
	/* 行の高さ */
	color: #555;
	/* 文字色 */
	line-clamp: 2;
	/* (既存指定の上書き) 最大2行まで見せる */
	-webkit-line-clamp: 2;
	/* (既存指定の上書き) 最大2行まで見せる */
}

/* リンクドメイン */
.cardlinkurl {
	color: #999;
	/* 文字色 */
}

/* ----------------------------------- */
/* リンクカードの装飾(サイズS用の追記) */
/* 前述の「サイズS/L共通部分」と合わせて、1つのカードデザインになります。 */
/* ----------------------------------- */
.cardsize-S {
	flex-direction: row;
	/* 画像とテキストは横に並べる(Flexbox) */
}

/* ▽リンクカード内の画像枠 */
.cardsize-S .cardlinkimage {
	min-width: 100px;
	/* 最小の横幅 */
	min-height: 100px;
	/* 最小の高さ */
	border-radius: 6px 0 0 6px;
	/* 左側だけ角丸 */
	flex-shrink: 0;
	/* 枠サイズを自動縮小させない */
}

/* ▽リンクカード内のテキスト枠 */
.cardsize-S .cardlinktextbox {
	border-left: 1px solid #ccc;
	/* 左側の枠線 */
	justify-content: center;
	/* Flexboxの上下方向での中央寄せ */
}

/* ▽リンクカードのテキスト枠内の3要素 */
.cardsize-S .cardlinktitle {
	order: 1;
}

/* タイトルは、2番目に表示 */
.cardsize-S .cardlinkdescription {
	order: 2;
}

/* 概要文　は、3番目に表示 */
.cardsize-S .cardlinkurl {
	order: 3;
}

/* ドメインは、1番上に表示 */

/* ----------------------------------- */
/* リンクカードの装飾(サイズL用の追記) */
/* 前述の「サイズS/L共通部分」と合わせて、1つのカードデザインになります。 */
/* ----------------------------------- */
.cardsize-L {
	flex-direction: column;
	/* 画像とテキストは縦に並べる(Flexbox) */
}

/* ▽リンクカード内の画像枠 */
.cardsize-L .cardlinkimage {
	aspect-ratio: 1.91 / 1;
	/* 画像枠の縦横比を指定= (横)1.91：(縦)1 */
	width: 100%;
	/* 横幅は枠最大に拡げる */
	height: auto;
	/* 高さは自動計算 */
	border-radius: 6px 6px 0 0;
	/* 上側だけ角丸 */
}

/* ▽リンクカード内のテキスト枠 */
.cardsize-L .cardlinktextbox {
	border-top: 1px solid #ccc;
	/* 上側の枠線 */
}

/* ▽リンクカードのテキスト枠内の3要素 */
.cardsize-L .cardlinktitle {
	font-weight: bold;
}

/* 太字 */
.cardsize-L .cardlinkdescription {
	min-height: 2.5em;
}

/* 内容量が少ない場合でも一定の高さを確保 */
.cardsize-L .cardlinkurl {
	border-top: 1px solid #ddd;
	/* 上側の枠線 */
	margin-top: 0.5em;
	/* 上側の枠線より上の余白量 */
	padding-top: 0.5em;
	/* 上側の枠線より下の余白量 */
	font-size: 0.75rem;
	/* 文字サイズ(小さめ) */
}

/* ------------------------------ */
/* ▼カレンダーヒートマップの装飾 */
/* ------------------------------ */
.calendarheatmap {
	display: flex;
	/* 週単位で出力されるdiv要素を横に並べる必要があるためflex必須 */
	flex-direction: row;
	/* flexで横に並べる必要があるためrow指定必須 */
	gap: 3px;
	/* 週と週との隙間(余白)サイズ */
	margin: 1rem auto;
	/* 外側の余白量：左右センタリング */
	padding: 5px;
	/* 内側の余白量：月名や曜日名を表示する場合は（文字サイズやブロックサイズによっては）若干はみ出るので、少なくとも右端と下端には余白を少し設けておかないとスクロールバーが出る可能性が高まります。 */
	width: fit-content;
	/* 横幅を内容量に合わせる */
	max-width: 100%;
	/* 横幅の最大サイズ */
	box-sizing: border-box;
	/* この指定がないと、左右のpaddingの分だけ横にはみ出てしまって横スクロールバーが出ます。 */
	overflow: auto;
	/* はみ出た分はスクロールで表示する（主に画面幅の狭いモバイル端末向け） */

	--chm-box-size: 10px;
	/* ヒートマップ1ブロックの縦横サイズ */
	--chm-fontsize: 9px;
	/* 月名・曜日名の文字サイズ */
}

/* ▽1週間分の枠 */
.chmWeek {
	display: flex;
	/* 1週のデータは縦に並べる必要があるためflex必須 */
	flex-direction: column;
	/* flexで縦に並べる必要があるためcolumn指定必須 */
	gap: 3px;
	/* ヒートマップブロック間の隙間(余白)サイズ */
}

/* ▽1週間枠の先頭(月名) */
.weekhead {
	display: block;
	font-size: var(--chm-fontsize);
	/* 文字サイズ(CSS変数参照) */
	width: var(--chm-box-size);
	/* 横幅(CSS変数参照) */
	height: var(--chm-box-size);
	/* 高さ(CSS変数参照) */
}

/* ▽ヒートマップ内の1ブロック */
.chmDay {
	display: block;
	border: 1px solid #d5d5d5;
	/* 枠線 */
	border-radius: 2px;
	/* 角丸 */
	width: var(--chm-box-size);
	/* 横幅(CSS変数参照) */
	height: var(--chm-box-size);
	/* 高さ(CSS変数参照) */
	background-color: gold;
	/* ※後述の「ヒートマップの配色」指定が充分ならこの色(gold)が使われることはありません。指定漏れに気付きやすくするため、デフォルト色を分かりやすい色にしています。 */
}

/* ▽各ブロックに含まれる日付や該当件数は非表示にする（※これらはヒートマップ以外の用途や、JavaScript等からデータを取得したい場合のために出力しているデータであり、表示には使わない前提の要素群です。） */
.chmDay time,
.chmDay b {
	display: none;
}

/* ▽曜日名列(ヒートマップ左端列)の追加装飾 */
.weekNames {
	flex: 1;
}

.weekNames span {
	display: block;
	border: 1px solid white;
	/* 枠線(※白色で上書きすることで消す／本当に消すと高さがズレるので) */
	width: 2em;
	/* 横幅 */
	height: var(--chm-box-size);
	/* 高さ(CSS変数参照) */
	font-size: var(--chm-fontsize);
	/* 文字サイズ(CSS変数参照) */
	line-height: var(--chm-fontsize);
	/* 行高も上記に合わせる */
	text-align: right;
	/* 右寄せ */
}

/* ▼ヒートマップの配色 */
.exist0 {
	background-color: #ffffff;
	border-color: #d5d5d5;
}

/* 投稿なしのブロックの色 */
.exist1 {
	background-color: #cce6f4;
	border-color: #bcdef1;
}

/* 1件の投稿があるブロックの色 */
.exist2 {
	background-color: #bcdef1;
	border-color: #acd4ee;
}

/* 2件の投稿があるブロックの色 */
.exist3 {
	background-color: #acd4ee;
	border-color: #99ccea;
}

/* 3件の投稿があるブロックの色 */
.exist4 {
	background-color: #99ccea;
	border-color: #87c3e6;
}

/* 　：　：　： */
.exist5 {
	background-color: #87c3e6;
	border-color: #76aee3;
}

.exist6 {
	background-color: #76aee3;
	border-color: #64b1df;
}

.exist7 {
	background-color: #64b1df;
	border-color: #52a8db;
}

.exist8 {
	background-color: #52a8db;
	border-color: #4a93c2;
}

.exist9 {
	background-color: #4a93c2;
	border-color: #3e87b8;
}

.exist10,
.exist11 {
	background-color: #3e87b8;
	border-color: #2d75a4;
}

.exist12,
.exist13 {
	background-color: #2d75a4;
	border-color: #1e567a;
}

.exist14,
.exist15 {
	background-color: #1e567a;
	border-color: #0e3650;
}

/* 15件の投稿があるブロックの色 */
.over15 {
	background-color: #0e3650;
	border-color: #0b2b3d;
}

/* 16～20件 */
.over20 {
	background-color: #0b2b3d;
	border-color: #081e2b;
}

/* 21件以上 */

/* ※ヒートマップの該当数を示すclass名について： */
/* 細かく指定したければ .exist16、.exist17、.exist18…と無限に続けられます。(上限値なし) */
/* ざっくりな指定方法には .over5、.over10、.over15、.over20 の4種類だけが使えます。(該当数21以上は全部「.over20」です。) */

.embeddedpictbox.nolisted {
	margin: 0 auto;
}

.embeddedapplemusic {
	display: inline-block;
	width: 100%;
	height: 165px;
	margin-top: 10px;
	margin-bottom: -2px;
}

.embeddedspotify {
	display: inline-block;
	width: 100%;
	margin-top: 20px;
	margin-bottom: 5px;
}

/*検索窓エリア*/
.searchboxarea {
	text-align: right;
}

.queryinput {
	font-size: 1rem;
	vertical-align: middle;
	border: 1px solid #2e353d;
	width: 80%;
	height: 1.6rem;
	margin: 3rem 1rem 0.6rem;
}

.searchbox .submitbutton {
	padding: 0.1rem 0.5rem;
	border: 0px;
	background-color: #93c8d3;
	color: #f5f5f5;
	border-radius: 5px;
}

.searchbox .submitbutton:hover {
	background-color: #98d2dc;
}

.searchoption {
	font-size: 0.8rem;
	color: #678db5;
}

.searchtarget.limitedsearch {
	margin: 5px;
}

.searchword {
	background: linear-gradient(transparent 60%, #95cbf0 60%);
}

.recentimginsertbtns {
	margin: 0 0.5em;
}

.recentimginsert {
	display: inline-block;
	vertical-align: middle;
}

.recentimginsert img {
	display: block;
}

/* 限定表示 */
.catbranch.cat-read {
	display: none;
}

.catbranch.cat-pic {
	display: none;
}

.taglink[title="模写"] {
	display: none;
}

.taglink[title="模写"]+.num {
	display: none;
}

.taglink[title="ブクマ"] {
	display: none;
}

.taglink[title="ブクマ"]+.num {
	display: none;
}

.catlink.cat-tltn {
	display: none;
}

.catlink.cat-tltn+.num {
	display: none;
}


/* 管理ボタン */
.login {
	display: flex;
	color: #d07796;
	justify-content: flex-end;
}

.back {
	display: flex;
	justify-content: center;
}

/* リンク設定 */
a {
	color: #719edc;
	text-decoration: none;
}

/* ヘッダー */
#header {
	margin-bottom: 40px;
}

#header a {
	text-decoration: none;
}


/* 猫カード */
.cat-card {
	position: relative;
	background-color: #f8f8f8;
	max-width: 700px;
	width: calc(100% - 20px);
	margin: 40px auto;
	padding: 40px 30px;
	border-radius: 60px;
	corner-shape: superellipse(1.2);
	box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
	box-sizing: border-box;
}

/* 猫の耳 */
.cat-card::before,
.cat-card::after {
	content: "";
	position: absolute;
	top: -40px;
	width: 80px;
	height: 60px;
	background-color: #f8f8f8;
	clip-path: polygon(50% 0%, 0% 100%, 100% 100%);
}

.cat-card::before {
	left: 90px;
}

.cat-card::after {
	right: 90px;
}

/* 猫ボタン */
#menuBtn {
	position: fixed;
	bottom: 20px;
	right: 20px;
	background-color: #EA97A1;
	border: none;
	border-radius: 50%;
	padding: 10px;
	width: 60px;
	height: 60px;
	cursor: pointer;
	box-shadow: 0 4px 6px rgba(0, 0, 0, 0.3);
	transition: background-color 0.3s, transform 0.3s;
	z-index: 1001;
}

#menuBtn:hover {
	background-color: #F0B4BB;
	transform: scale(1.1);
}

#menuBtn svg {
	width: 100%;
	height: 100%;
}

/* スライドメニュー */
.slide-menu {
	position: fixed;
	left: 0;
	right: 0;
	bottom: -100%;
	height: 80%;
	background-color: #99bcca;
	box-shadow: 0 -4px 10px rgba(0, 0, 0, 0.3);
	transition: bottom 0.3s ease;
	padding: 20px;
	z-index: 1000;
	border-radius: 20px 20px 0 0;
	overflow-y: auto;
	width: 100%;
}

.slide-menu.active {
	bottom: 0;
}

.slide-menu h2 {
	margin-top: 0;
}

.slide-menu ul {
	list-style: none;
	padding: 0;
}

.slide-menu ul li {
	margin: 15px 0;
}

.slide-menu ul li a {
	text-decoration: none;
	color: #333;
	font-weight: bold;
}

/* オーバーレイ */
.overlay {
	position: fixed;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	background: rgba(0, 0, 0, 0.4);
	display: none;
	z-index: 999;
}

.overlay.active {
	display: block;
}


/* レスポンシブ調整 */
@media (max-width: 500px) {
	.cat-card {
		padding: 40px 10px;
	}

	.cat-card::before,
	.cat-card::after {
		width: 60px;
		height: 60px;
		top: -40px;
	}

	.cat-card::before {
		left: 60px;
	}

	.cat-card::after {
		right: 60px;
	}

	.slide-menu {
		height: 100%;
	}
}

/* PC（幅900px以上）の場合は70%にして中央寄せ */
@media (min-width: 900px) {
	.slide-menu {
		width: 65%;
		left: 50%;
		transform: translateX(-50%);
		/* 中央寄せ */
	}
}

/* カスタム絵文字ピッカー(その1) | Takotubo Club
https://10rin0.github.io/takodoc/tegalog/%E3%83%91%E3%83%BC%E3%83%84/cemoji_01/ */
.cepicker {
	margin: 10px auto;
	padding: 5px 0;
	max-height: 300px;
	overflow-y: auto;
	background-color: #dfdfdf;

	& #CemojiList {
		display: flex;
		flex-wrap: wrap;
		justify-content: center;
		gap: 6px 3px;
	}

	& .oneCemoji {
		display: inline-grid;
		justify-items: center;
		padding: 2px;
		background-color: #f0f0f0;
	}

	& .cename,
	.cectrl {
		display: none;
	}

	& .oneCemoji img {
		height: auto;
		cursor: pointer;
	}
}

.cepicker:empty {
	display: none;
}

/* twiemoji */
img.emoji {
	width: 17px;
	height: auto;
	margin: 0 3px 0 3px;
	padding: 0;
	vertical-align: -3px;
}

/* カスタム絵文字共通装飾 */
.cemoji img {
	width: 18px;
	height: auto;
	margin: 0 2px 0 2px;
	padding: 0;
	vertical-align: -3px;
}

/* ページリンク */
#footer {
	text-align: center;
	margin: 30px auto;
	padding: 20px;
}

#footer li {
	padding: 0 30px;
	display: inline;
}

/*============
ハンバーガー
=============*/
nav {
	display: block;
	position: fixed;
	top: 0;
	left: -300px;
	bottom: 0;
	width: 300px;
	background: #e0dbdc;
	overflow-x: hidden;
	overflow-y: auto;
	transition: all .5s;
	z-index: 3;
	opacity: 0;
}

.open nav {
	left: 0;
	opacity: 1;
}

nav .inner {
	padding: 25px;
}

nav .inner ul {
	list-style: none;
	margin: 0;
	padding: 0.5rem;
	border-radius: 10px;
}

nav .inner ul li {
	position: relative;
	padding: 0;

}

nav .inner ul li a {
	display: inline;
	color: #333;
	font-size: 14px;
	padding: 0;
	text-decoration: none;

}

@media screen and (max-width: 767px) {
	nav {
		left: -220px;
		width: 220px;
	}
}

/*============
ボタン
=============*/
.toggle_btn {
	display: block;
	position: fixed;
	top: 30px;
	right: 30px;
	width: 30px;
	height: 30px;
	transition: all .5s;
	cursor: pointer;
	z-index: 3;
}

.toggle_btn span {
	display: block;
	position: absolute;
	left: 0;
	width: 30px;
	height: 2px;
	background-color: #93c8d3;
	border-radius: 4px;
	transition: all .5s;
}

.toggle_btn span:nth-child(1) {
	top: 4px;
}

.toggle_btn span:nth-child(2) {
	top: 14px;
}

.toggle_btn span:nth-child(3) {
	bottom: 4px;
}

.open .toggle_btn span {
	background-color: #93c8d3;
}

.open .toggle_btn span:nth-child(1) {
	-webkit-transform: translateY(10px) rotate(-315deg);
	transform: translateY(10px) rotate(-315deg);
}

.open .toggle_btn span:nth-child(2) {
	opacity: 0;
}

.open .toggle_btn span:nth-child(3) {
	-webkit-transform: translateY(-10px) rotate(315deg);
	transform: translateY(-10px) rotate(315deg);
}

/*============
#mask
=============*/
#mask {
	display: none;
	transition: all .5s;
}

.open #mask {
	display: block;
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background: #000;
	opacity: .8;
	z-index: 2;
	cursor: pointer;
}

/*============
main
=============*/
main {
	padding: 50px;
}

main h1 {
	font-family: "Zen Maru Gothic", serif;
	font-weight: 400;
	text-align: center;
}

ul.cattree {
	display: flex;
	flex-wrap: wrap;
	list-style: none;
	background-color: #93c8d3;
	padding: 15px;
	border-radius: 2px;
	position: relative;
}

#ontoucharea .catlink.cat-diary {
	background-image: linear-gradient(#dbdbdc, #dbdbdc);
	background-repeat: no-repeat;
	background-position: bottom right;
	background-size: 0 1px;
	transition: background-size 0.3s;
}

#ontoucharea .catlink.cat-diary:hover {
	background-position: bottom left;
	background-size: 100% 2px;
}

#ontoucharea .catlink.cat-post {
	background-image: linear-gradient(#dbdbdc, #dbdbdc);
	background-repeat: no-repeat;
	background-position: bottom right;
	background-size: 0 1px;
	transition: background-size 0.3s;
}

#ontoucharea .catlink.cat-post:hover {
	background-position: bottom left;
	background-size: 100% 2px;
}

ul.cattree li {
	font-size: 90%;
	margin-right: 10px;
	padding: 0;
	position: relative;
	z-index: 2;
}

ul.hashtaglist {
	display: flex;
	flex-direction: column;
	list-style: none;
	background: #d5a0b3;
	padding: 15px;
	border-radius: 2px;
}

ul.hashtaglist li {
	font-size: 85%;
	margin-right: 10px;
	padding: 0;
	position: relative;
	z-index: 2;
}

ul.cattree li:before,
ul.cattree li:after,
ul.hashtaglist li:before,
ul.hashtaglist li:after {
	display: none;
}

#ontoucharea a.taglink {
	background-image: linear-gradient(#d5d5d5, #d5d5d5);
	background-repeat: no-repeat;
	background-position: bottom right;
	background-size: 0 1px;
	transition: background-size 0.3s;
}

#ontoucharea a.taglink:hover {
	background-position: bottom left;
	background-size: 100% 2px;
}