@import url("https://fonts.googleapis.com/css2?family=New+Tegomin&family=Noto+Sans+JP:wght@400;500&display=swap");

*, *::before, *::after {
	box-sizing: border-box;
	margin: 0;
	padding: 0;
}

:root {
	--bg: #0b0b0c;
	--panel: #181719;
	--panel-soft: #232125;
	--accent: #8b1e2f;
	--accent2: #6b131a;
	--text: #e4ded8;
	--text2: #aaa19a;
	--text-muted: #aaa19a;
	--divider: rgba(153, 15, 56, 0.89);
	--shadow: rgba(0, 0, 0, 0.38);
	--boxcollar: #f0f0f0;
	--font-en: Georgia, "Times New Roman", serif;
	--font-ja: "Noto Serif JP", "Yu Mincho", "Hiragino Mincho ProN", serif;
	--font-special: "New Tegomin", "Yu Mincho", "Hiragino Mincho ProN", serif;
}

html {
	scroll-behavior: smooth;
}

body {
	min-height: 100vh;
	padding-bottom: 92px;
	color: var(--text);
	font-family: var(--font-ja);
	font-size: 15px;
	font-weight: 300;
	line-height: 1.9;
	background: var(--bg);
}

a {
	color: inherit;
}

img,
video {
	max-width: 100%;
	height: auto;
}

.site-header {
	position: sticky;
	top: 0;
	z-index: 100;
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 18px;
	padding: 6px 32px;
	border-bottom: 1px solid var(--divider);
	background: rgba(11, 11, 12, 0.94);
	backdrop-filter: blur(8px);
}

.logo-link {
	display: inline-flex;
	align-items: center;
	color: #fff;
	text-decoration: none;
}

.logo-area img {
	display: block;
	width: auto;
	height: 48px;
}

.site-nav {
	display: flex;
	flex-wrap: wrap;
	justify-content: flex-end;
	gap: 10px 26px;
}

.nav-link {
	position: relative;
	color: var(--text);
	font-family: var(--font-special);
	font-size: 17px;
	font-weight: 400;
	letter-spacing: 0.06em;
	text-decoration: none;
	transition: color 0.2s ease;
}

.nav-link::after {
	content: "";
	position: absolute;
	bottom: -4px;
	left: 0;
	width: 0;
	height: 1px;
	background: var(--accent2);
	transition: width 0.25s ease;
}

.nav-link:hover {
	color: #fff;
}

.nav-link:hover::after {
	width: 100%;
}

.diary-main {
	width: min(860px, calc(100% - 36px));
	margin: 0 auto;
	padding: 42px 0 54px;
}

.page-heading {
	margin-bottom: 34px;
	text-align: center;
}

.blog-view-tabs {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 24px;
	width: max-content;
	max-width: 100%;
	margin: 18px auto 24px;
	padding: 0;
}

.blog-view-tab {
	flex: none;
	padding: 4px 1px 6px;
	color: var(--text2);
	font-family: var(--font-special);
	font-size: 14px;
	font-weight: 400;
	letter-spacing: 0.05em;
	text-align: center;
	text-decoration: none;
	white-space: nowrap;
	border-bottom: 2px solid transparent;
	transition:
		color 0.2s ease,
		border-color 0.2s ease;
}

.blog-view-tab:hover {
	color: var(--accent2);
}

.blog-view-tab.is-active {
	color: #fff;
	border-bottom-color: var(--accent2);
}

.blog-view-tab:focus-visible {
	outline: 2px solid var(--accent2);
	outline-offset: 3px;
}

.page-kicker {
	margin-bottom: 0.15rem;
	color: var(--text2);
	font-family: var(--font-en);
	font-size: 11px;
	letter-spacing: 0.2em;
	text-transform: uppercase;
}

.page-title {
	color: #fff;
	font-family: var(--font-en);
	font-size: 30px;
	font-weight: 400;
	text-align: center;
}

.divider {
	width: 100%;
	height: 1px;
	margin: 12px 0;
	background: var(--divider);
}

.page-description {
	color: var(--text2);
	font-size: 13px;
}





.search-area {
	grid-column: 2;
	grid-row: 1 / span 2;
}

.searchbox {
	margin: 0;
}

.searchinputs {
	display: flex;
}

.queryinput {
	width: min(220px, 44vw);
	height: 32px;
	padding: 5px 8px;
	color: var(--text);
	font: inherit;
	font-size: 12px;
	border: 1px solid rgba(209, 91, 100, 0.42);
	border-right: 0;
	border-radius: 0;
	outline: none;
	background: var(--panel);
}

.queryinput:focus {
	border-color: var(--accent);
}

.submitbutton {
	height: 32px;
	padding: 4px 12px;
	color: #fff;
	font: inherit;
	font-size: 12px;
	border: 1px solid var(--accent);
	border-radius: 0;
	background: var(--accent);
	cursor: pointer;
}

.submitbutton:hover {
	background: var(--accent2);
}

.searchtarget {
	margin-top: 0.4rem;
	color: var(--text2);
	font-size: 11px;
}


.entry-list {	/*リスト全体はこれで囲んでる*/
padding-top: 5px;
padding-bottom: 5px;
background-color: var(--boxcollar);
border-radius: 10px;
}

.dateseparator {
	display: none;
}

.entry {
 	--text: #020202;
	--text2: #272524;
	--text-muted: #625d59;
	display: grid;
	grid-template-columns: 118px minmax(0, 1fr);
	gap: 24px;
	
	/* border-bottom: 1px solid rgba(209, 91, 100, 0.24); */
	background: transparent;

	/*test*/
	margin: 0.5rem;
    padding: 1rem;
    border-radius: 10px;
   /*  box-shadow: 0 0 0 10px #0ea5eb; */
    border: 2px dotted rgb(22, 22, 22);
    background-color: var(--boxcollar);
}

.entry p{
	line-height:1.5;
}

.entry:last-child {
	border-bottom: 0;
}

.entry-header {
	padding-top: 0.15rem;
}

.entry-date {
	display: block;
	color: var(--text2);
	font-family: var(--font-en);
	font-size: 12px;
	line-height: 1.45;
	text-decoration: none;
}

.entry-date span {
	display: block;
}

.entry-day {
	color: var(--text);
	font-size: 13px;
}

.entry-weekday,
.entry-time {
	color: var(--text-muted);
	font-size: 11px;
}

.entry-content {
	min-width: 0;
}

.entry-body {
	color: var(--text);
	font-family: "Noto Sans JP", "Yu Gothic", Meiryo, sans-serif;
	font-size: 16px;
	font-weight: 400;
	line-height: 2;
	overflow-wrap: anywhere;
}

.entry-body p {
	margin: 0.6rem 0;
}

.entry-body > :first-child {
	margin-top: 0;
}

.entry-body > :last-child {
	margin-bottom: 0;
}

.entry-body a {
	color: #d6a6ae;
	text-decoration-color: rgba(214, 166, 174, 0.5);
	text-underline-offset: 0.2em;
}

.entry-body a:hover {
	color: #fff;
}

.entry-body .embeddedimage,
.entry-body figure {
	max-width: 100%;
	margin: 0.9rem 0;
}

.entry-body img {
	border: 1px solid rgba(209, 91, 100, 0.28);
}

.customemoji {
	width: auto;
	height: 1.25em;
	vertical-align: -0.25em;
}

.entry-footer {
	display: flex;
	align-items: flex-end;
	justify-content: space-between;
	gap: 16px;
	margin-top: 0.65rem;
	color: var(--text2);
	font-size: 11px;
}

.entry-taxonomy {
	display: flex;
	flex-wrap: wrap;
	gap: 0.35rem 0.75rem;
}

.entry-categories:empty,
.entry-tags:empty {
	display: none;
}

.entry-categories a,
.entry-tags a {
	color: var(--text2);
	text-decoration: none;
}

.entry-categories a:hover,
.entry-tags a:hover {
	color: var(--accent);
}

.pagination {
	margin: 32px 0 0;
	color: var(--text2);
	font-size: 12px;
	text-align: center;
}

.pagination:empty {
	display: none;
}

.pagination a,
.pagination .pagenumhere {
	display: inline-block;
	min-width: 30px;
	margin: 3px;
	padding: 3px 8px;
	border: 1px solid rgba(209, 91, 100, 0.42);
	text-decoration: none;
}

.pagination a:hover,
.pagination .pagenumhere {
	color: #fff;
	border-color: var(--accent);
	background: var(--accent2);
}

.powered {
	margin-top: 30px;
	color: var(--text2);
	font-size: 10px;
	text-align: center;
}

.powered a {
	color: inherit;
}

.footer-nav {
	position: fixed;
	right: 0;
	bottom: 0;
	left: 0;
	z-index: 90;
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 0;
	padding: 12px 8px 18px;
	border-top: 2px solid var(--accent);
	background: rgba(11, 11, 12, 0.96);
}

.footer-link {
	display: flex;
	align-items: center;
	min-width: 0;
	color: #fff;
	font-family: var(--font-special);
	font-size: 12px;
	font-weight: 400;
	letter-spacing: 0.06em;
	text-decoration: none;
	white-space: nowrap;
	transition: color 0.2s ease;
}

.footer-link:hover {
	color: var(--accent2);
}

.footer-line {
	display: block;
	width: clamp(12px, 4vw, 32px);
	height: 1px;
	background: var(--accent);
	flex-shrink: 0;
}

.footer-current {
	color: var(--text2);
	cursor: default;
}

@media (max-width: 720px) {
	body {
		padding-bottom: 108px;
		font-size: 14px;
	}

	.site-header {
		align-items: center;
		flex-direction: row;
		justify-content: space-between;
		padding: 12px 18px;
	}

	.logo-area img {
		height: 42px;
	}

	.site-nav {
		justify-content: flex-end;
		gap: 8px 14px;
	}

	.nav-link {
		font-size: 14px;
	}

	.diary-main {
		width: min(100% - 28px, 640px);
		padding-top: 30px;
	}

	.blog-view-tabs {
		gap: 16px;
		margin-top: 16px;
		margin-bottom: 20px;
	}

	.blog-view-tab {
		padding: 4px 1px 6px;
		font-size: 12px;
	}

	.utility-area {
		display: block;
	}

	.search-area {
		margin-top: 10px;
	}

	.searchinputs {
		width: 100%;
	}

	.queryinput {
		flex: 1;
		width: auto;
	}

	.owner-menu {
		margin-top: 8px;
	}

	.entry {
		grid-template-columns: 1fr;
		gap: 10px;
		padding: 17px 18px;
	}

	.entry-date {
		display: flex;
		align-items: baseline;
		gap: 0.55rem;
	}

	.entry-date span {
		display: inline;
	}

	.footer-nav {
		flex-wrap: wrap;
		row-gap: 6px;
	}
}

@media (prefers-reduced-motion: reduce) {
	html {
		scroll-behavior: auto;
	}

	.nav-link,
	.nav-link::after,
	.footer-link,
	.blog-view-tab {
		transition: none;
	}
}
