:root {
	--kobo-base: #b51e23;
	--kobo-text: #333;
	--kobo-rail-width: clamp(88px, 6.5vw, 125px);
	--kobo-admin-offset: 0px;
}

html {
	scroll-behavior: smooth;
}

body {
	color: var(--kobo-text);
	font-family: "Noto Serif JP", "Yu Mincho", "Hiragino Mincho ProN", serif;
	overflow-x: hidden;
}

body.admin-bar {
	--kobo-admin-offset: 32px;
}

html.kobo-menu-open,
body.kobo-menu-open {
	overflow: hidden;
}

body > header.kobo-site-header {
	position: fixed;
	top: var(--kobo-admin-offset);
	left: 0;
	z-index: 1300;
	display: flex;
	align-items: flex-start;
	width: auto;
	margin: 0;
	border: 0;
	pointer-events: none;
}

.kobo-site-header a,
.kobo-site-header button {
	pointer-events: auto;
}

.kobo-menu-toggle {
	position: relative;
	display: grid;
	place-items: center;
	width: 70px;
	height: 70px;
	margin: 0;
	padding: 0;
	color: #fff;
	background: var(--kobo-base);
	border: 1px solid transparent;
	border-radius: 0;
	cursor: pointer;
	transition: background-color .35s ease, border-color .35s ease;
}

.kobo-menu-toggle:hover,
.kobo-menu-toggle:focus-visible,
.kobo-menu-toggle[aria-expanded="true"] {
	color: #fff;
	background: #a4181d;
	border-color: rgba(255, 255, 255, .75);
}

.kobo-menu-toggle__lines,
.kobo-menu-toggle__lines::before,
.kobo-menu-toggle__lines::after {
	position: absolute;
	left: 50%;
	display: block;
	width: 32px;
	height: 2px;
	background: currentColor;
	content: "";
	transform: translateX(-50%);
	transition: top .35s ease, transform .35s ease, opacity .25s ease;
}

.kobo-menu-toggle__lines {
	top: 34px;
}

.kobo-menu-toggle__lines::before {
	top: -12px;
}

.kobo-menu-toggle__lines::after {
	top: 12px;
}

.kobo-menu-toggle[aria-expanded="true"] .kobo-menu-toggle__lines {
	background: transparent;
}

.kobo-menu-toggle[aria-expanded="true"] .kobo-menu-toggle__lines::before {
	top: 0;
	transform: translateX(-50%) rotate(45deg);
}

.kobo-menu-toggle[aria-expanded="true"] .kobo-menu-toggle__lines::after {
	top: 0;
	transform: translateX(-50%) rotate(-45deg);
}

.kobo-utilities {
	display: flex;
	gap: 12px;
	align-items: flex-start;
	margin: 10px 0 0 28px;
}

.kobo-utility-link {
	position: relative;
	display: flex;
	flex-direction: column;
	align-items: center;
	min-width: 52px;
	color: #fff;
	font-size: 10px;
	font-weight: 600;
	line-height: 1;
	letter-spacing: .12em;
	text-align: center;
	text-shadow: 0 1px 5px rgba(0, 0, 0, .75);
}

.kobo-utility-link:hover,
.kobo-utility-link:focus-visible {
	color: #fff;
	opacity: .72;
	text-decoration: none;
}

.kobo-utility-link .fa {
	font-size: 39px;
	line-height: 1;
}

.kobo-utility-link__label {
	margin-top: 6px;
	font-size: 9px;
}

.kobo-utility-link__count {
	position: absolute;
	top: -4px;
	right: -2px;
	display: grid;
	place-items: center;
	min-width: 18px;
	height: 18px;
	padding: 0 4px;
	color: var(--kobo-base);
	font-family: Arial, sans-serif;
	font-size: 10px;
	background: #fff;
	border-radius: 999px;
	text-shadow: none;
}

.kobo-brand-rail {
	position: fixed;
	top: var(--kobo-admin-offset);
	right: 0;
	z-index: 1500;
	display: flex;
	flex-direction: column;
	align-items: center;
	width: var(--kobo-rail-width);
	height: calc(100vh - var(--kobo-admin-offset));
	height: calc(100svh - var(--kobo-admin-offset));
	padding: clamp(62px, 8vh, 94px) 10px clamp(78px, 10vh, 110px);
	color: #111;
	background: rgba(255, 255, 255, .76);
	box-shadow: -7px 0 18px rgba(0, 0, 0, .07);
	overflow: hidden;
}

.kobo-brand-rail:hover,
.kobo-brand-rail:focus-visible {
	color: #111;
	text-decoration: none;
}

.kobo-brand-rail__mark,
.kobo-brand-rail__profession,
.kobo-brand-rail__name {
	writing-mode: vertical-rl;
	text-orientation: upright;
}

.kobo-brand-rail__mark {
	display: flex;
	align-items: center;
	justify-content: center;
	min-height: 196px;
	padding: 16px 9px;
	color: #fff;
	font-size: clamp(22px, 1.6vw, 30px);
	line-height: 1.2;
	letter-spacing: .12em;
	background: var(--kobo-base);
}

.kobo-brand-rail__identity {
	display: flex;
	flex: 1;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	min-height: 0;
	padding-top: 24px;
	gap: 16px;
}

.kobo-brand-rail__profession {
	font-size: clamp(22px, 1.65vw, 32px);
	line-height: 1;
	letter-spacing: .16em;
}

.kobo-brand-rail__name {
	font-size: clamp(28px, 2.1vw, 40px);
	line-height: 1.05;
	letter-spacing: .16em;
}

.kobo-instagram {
	position: fixed;
	right: calc((var(--kobo-rail-width) - 46px) / 2);
	bottom: clamp(28px, 8vh, 86px);
	z-index: 1600;
	display: block;
	width: 46px;
	height: 46px;
}

.kobo-instagram img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: contain;
}

.kobo-instagram:hover,
.kobo-instagram:focus-visible {
	opacity: .75;
}

.kobo-menu-overlay {
	position: fixed;
	top: var(--kobo-admin-offset);
	right: var(--kobo-rail-width);
	bottom: 0;
	left: 0;
	z-index: 1200;
	display: grid;
	place-items: center;
	padding: 110px 7vw 70px;
	color: #fff;
	background: var(--kobo-base);
	opacity: 0;
	visibility: hidden;
	transform: translateX(-2%);
	transition: opacity .55s ease, transform .55s ease, visibility 0s linear .55s;
	overflow: auto;
}

.kobo-menu-overlay.is-open {
	opacity: 1;
	visibility: visible;
	transform: translateX(0);
	transition-delay: 0s;
}

.kobo-menu-overlay__inner {
	width: min(920px, 100%);
}

.kobo-menu-overlay .menu,
.kobo-menu-overlay .kobo-menu {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: clamp(32px, 6vh, 62px) clamp(50px, 10vw, 150px);
	align-items: start;
}

.kobo-menu-overlay .menu > li,
.kobo-menu-overlay .kobo-menu > li {
	text-align: center;
}

.kobo-menu-overlay a {
	display: inline-flex;
	flex-direction: column;
	align-items: center;
	color: #fff;
	font-size: clamp(22px, 2.15vw, 36px);
	font-weight: 500;
	line-height: 1.35;
	letter-spacing: .05em;
}

.kobo-menu-overlay a:hover,
.kobo-menu-overlay a:focus-visible,
.kobo-menu-overlay .current-menu-item > a {
	color: #fff;
	opacity: .72;
	text-decoration: none;
}

.kobo-menu__subtitle {
	display: block;
	margin-top: 4px;
	font-family: Georgia, "Times New Roman", serif;
	font-size: .38em;
	font-weight: 600;
	line-height: 1;
	letter-spacing: .04em;
	text-transform: uppercase;
}

.kobo-menu-overlay .sub-menu {
	display: flex;
	flex-wrap: wrap;
	gap: 8px 16px;
	justify-content: center;
	margin-top: 12px;
}

.kobo-menu-overlay .sub-menu a {
	font-size: clamp(12px, 1vw, 16px);
}

.kobo-menu-overlay__empty {
	color: #fff;
	font-size: 16px;
	text-align: center;
}

.home #main.kobo-main {
	width: 100%;
	max-width: none;
	margin: 0;
	padding: 0;
}

.kobo-hero {
	position: relative;
	width: 100%;
	height: 100vh;
	height: 100svh;
	min-height: 500px;
	margin: 0;
	background: #17120f;
	overflow: hidden;
}

.kobo-hero__slides,
.kobo-hero__slide,
.kobo-hero__slide img {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
}

.kobo-hero__slide {
	z-index: 0;
	opacity: 0;
	visibility: hidden;
	transition: opacity 1.8s ease, visibility 0s linear 1.8s;
}

.kobo-hero__slide.is-active {
	z-index: 1;
	opacity: 1;
	visibility: visible;
	transition-delay: 0s;
}

.kobo-hero__slide img {
	object-fit: cover;
	object-position: var(--kobo-position-pc, center center);
	transform: scale(1.008);
}

.kobo-hero__shade {
	position: absolute;
	inset: 0;
	z-index: 2;
	pointer-events: none;
	background: linear-gradient(90deg, rgba(0, 0, 0, .12), transparent 28%, transparent 72%, rgba(0, 0, 0, .12));
}

.kobo-hero__dots {
	position: absolute;
	left: calc((100% - var(--kobo-rail-width)) / 2);
	bottom: clamp(22px, 4.5vh, 52px);
	z-index: 4;
	display: flex;
	gap: 24px;
	transform: translateX(-50%);
}

.kobo-hero__dot {
	width: 20px;
	height: 20px;
	margin: 0;
	padding: 0;
	background: rgba(255, 255, 255, .55);
	border: 2px solid rgba(255, 255, 255, .82);
	border-radius: 50%;
	cursor: pointer;
	transition: background-color .3s ease, transform .3s ease;
}

.kobo-hero__dot.is-active,
.kobo-hero__dot:hover,
.kobo-hero__dot:focus-visible {
	background: #fff;
	transform: scale(1.08);
}

.kobo-front-content {
	width: min(1000px, calc(100% - var(--kobo-rail-width) - 40px));
	margin: 0 auto;
	padding: 56px 0 72px;
	transform: translateX(calc(var(--kobo-rail-width) / -2));
}

body:not(.home) #main.kobo-main {
	width: min(1000px, calc(100% - var(--kobo-rail-width) - 40px));
	margin-right: calc(var(--kobo-rail-width) + 20px);
	margin-left: auto;
}

#colophon {
	padding-right: var(--kobo-rail-width);
}

.kobo-news-popup {
	position: fixed;
	bottom: 0;
	left: clamp(18px, 3.65vw, 70px);
	z-index: 1650;
	display: grid;
	grid-template-columns: 48% 52%;
	width: min(360px, calc(100vw - var(--kobo-rail-width) - 36px));
	height: 238px;
	color: var(--kobo-text);
	background: #fff;
	box-shadow: 0 10px 30px rgba(0, 0, 0, .25);
	opacity: 0;
	pointer-events: none;
	transform: translateY(calc(100% + 50px));
	transition: opacity .8s ease, transform 1s cubic-bezier(.2, .7, .25, 1);
}

.kobo-news-popup.is-visible {
	opacity: 1;
	pointer-events: auto;
	transform: translateY(0);
}

.kobo-news-popup.is-closing {
	opacity: 0;
	pointer-events: none;
	transform: translateY(calc(100% + 50px));
}

.kobo-news-popup__close {
	position: absolute;
	top: -15px;
	right: -15px;
	z-index: 2;
	display: grid;
	place-items: center;
	width: 31px;
	height: 31px;
	margin: 0;
	padding: 0 0 2px;
	color: #fff;
	font-family: Arial, sans-serif;
	font-size: 23px;
	font-weight: 300;
	line-height: 1;
	background: var(--kobo-base);
	border: 1px solid #fff;
	border-radius: 50%;
	cursor: pointer;
}

.kobo-news-popup__image-wrap {
	min-width: 0;
	height: 100%;
	background: #eee;
	overflow: hidden;
}

.kobo-news-popup__image {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.kobo-news-popup__body {
	display: flex;
	min-width: 0;
	flex-direction: column;
}

.kobo-news-popup__bar {
	padding: 10px 12px;
	color: #fff;
	font-size: 14px;
	font-weight: 600;
	line-height: 1.2;
	text-align: center;
	background: #090909;
}

.kobo-news-popup__content {
	display: flex;
	flex: 1;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	padding: 14px 12px 12px;
	text-align: center;
}

.kobo-news-popup__title {
	margin: 0 0 9px;
	font-size: 15px;
	font-weight: 700;
	line-height: 1.45;
}

.kobo-news-popup__summary {
	margin: 0 0 14px;
	font-size: 11px;
	line-height: 1.65;
}

.kobo-news-popup__link {
	display: inline-block;
	margin-top: auto;
	padding: 7px 12px;
	color: #111;
	font-size: 11px;
	line-height: 1;
	border: 1px solid #333;
}

.kobo-news-popup__link:hover,
.kobo-news-popup__link:focus-visible {
	color: #fff;
	background: var(--kobo-base);
	border-color: var(--kobo-base);
	text-decoration: none;
}

@media screen and (max-width: 1199px) and (min-width: 701px) {
	:root {
		--kobo-rail-width: clamp(82px, 8.5vw, 102px);
	}

	.kobo-menu-toggle {
		width: 58px;
		height: 58px;
	}

	.kobo-menu-toggle__lines {
		top: 28px;
	}

	.kobo-utilities {
		margin: 8px 0 0 20px;
	}

	.kobo-utility-link .fa {
		font-size: 33px;
	}

	.kobo-brand-rail {
		padding-top: 58px;
	}

	.kobo-brand-rail__mark {
		min-height: 162px;
	}

	.kobo-menu-overlay {
		padding-top: 90px;
	}
}

@media screen and (max-width: 782px) {
	body.admin-bar {
		--kobo-admin-offset: 46px;
	}
}

@media screen and (max-width: 700px) {
	:root {
		--kobo-rail-width: clamp(40px, 12.5vw, 76px);
	}

	.kobo-menu-toggle {
		width: clamp(38px, 9vw, 50px);
		height: clamp(38px, 9vw, 50px);
	}

	.kobo-menu-toggle__lines,
	.kobo-menu-toggle__lines::before,
	.kobo-menu-toggle__lines::after {
		width: clamp(20px, 5.5vw, 28px);
	}

	.kobo-menu-toggle__lines {
		top: 50%;
	}

	.kobo-menu-toggle__lines::before {
		top: -8px;
	}

	.kobo-menu-toggle__lines::after {
		top: 8px;
	}

	.kobo-utilities {
		gap: clamp(3px, 1.8vw, 10px);
		margin: 4px 0 0 clamp(7px, 2.5vw, 16px);
	}

	.kobo-utility-link {
		min-width: clamp(26px, 7.5vw, 42px);
		font-size: 6px;
	}

	.kobo-utility-link .fa {
		font-size: clamp(21px, 6vw, 31px);
	}

	.kobo-utility-link__label {
		margin-top: 3px;
		font-size: clamp(5px, 1.35vw, 7px);
		letter-spacing: .06em;
	}

	.kobo-utility-link__count {
		top: -2px;
		right: -1px;
		min-width: 12px;
		height: 12px;
		padding: 0 2px;
		font-size: 7px;
	}

	.kobo-brand-rail {
		padding: clamp(34px, 8vh, 58px) 3px clamp(50px, 10vh, 74px);
		background: rgba(255, 255, 255, .79);
	}

	.kobo-brand-rail__mark {
		min-height: clamp(96px, 25vh, 142px);
		padding: 8px 3px;
		font-size: clamp(12px, 3.4vw, 21px);
		letter-spacing: .06em;
	}

	.kobo-brand-rail__identity {
		gap: clamp(5px, 2vh, 12px);
		padding-top: clamp(9px, 2.5vh, 18px);
	}

	.kobo-brand-rail__profession {
		font-size: clamp(11px, 3.5vw, 20px);
		letter-spacing: .08em;
	}

	.kobo-brand-rail__name {
		font-size: clamp(13px, 4.1vw, 24px);
		letter-spacing: .08em;
	}

	.kobo-instagram {
		right: calc((var(--kobo-rail-width) - clamp(19px, 6vw, 32px)) / 2);
		bottom: clamp(28px, 8vh, 56px);
		width: clamp(19px, 6vw, 32px);
		height: clamp(19px, 6vw, 32px);
	}

	.kobo-menu-overlay {
		display: block;
		padding: clamp(72px, 13vh, 100px) 20px 32px;
	}

	.kobo-menu-overlay__inner {
		width: 100%;
	}

	.kobo-menu-overlay .menu,
	.kobo-menu-overlay .kobo-menu {
		display: flex;
		flex-direction: column;
		gap: clamp(17px, 3.4vh, 30px);
	}

	.kobo-menu-overlay a {
		font-size: clamp(17px, 5.2vw, 29px);
	}

	.kobo-menu__subtitle {
		font-size: .4em;
	}

	.kobo-menu-overlay .sub-menu {
		margin-top: 6px;
	}

	.kobo-hero {
		min-height: 480px;
	}

	.kobo-hero__slide img {
		object-position: var(--kobo-position-sp, center center);
	}

	.kobo-hero__shade {
		background: linear-gradient(90deg, rgba(0, 0, 0, .1), transparent 45%, rgba(0, 0, 0, .08));
	}

	.kobo-hero__dots {
		bottom: clamp(19px, 4.5vh, 34px);
		gap: clamp(12px, 4vw, 20px);
	}

	.kobo-hero__dot {
		width: clamp(11px, 3.4vw, 17px);
		height: clamp(11px, 3.4vw, 17px);
		border-width: 1px;
	}

	.kobo-front-content {
		width: calc(100% - var(--kobo-rail-width) - 24px);
		margin-right: calc(var(--kobo-rail-width) + 12px);
		margin-left: 12px;
		padding: 36px 0 50px;
		transform: none;
	}

	body:not(.home) #main.kobo-main {
		width: calc(100% - var(--kobo-rail-width) - 24px);
		margin-right: calc(var(--kobo-rail-width) + 12px);
		margin-left: 12px;
	}

	.kobo-news-popup {
		bottom: clamp(46px, 8vh, 72px);
		left: 0;
		grid-template-columns: 48% 52%;
		width: min(280px, 46vw);
		height: clamp(102px, 26vw, 155px);
		transform: translateX(calc(-100% - 28px));
		transition-duration: .8s, 1s;
	}

	.kobo-news-popup.is-visible {
		transform: translateX(0);
	}

	.kobo-news-popup.is-closing {
		transform: translateX(calc(-100% - 28px));
	}

	.kobo-news-popup__close {
		top: -10px;
		right: -10px;
		width: 21px;
		height: 21px;
		font-size: 15px;
	}

	.kobo-news-popup__bar {
		padding: 5px 4px;
		font-size: clamp(6px, 1.9vw, 10px);
	}

	.kobo-news-popup__content {
		padding: 5px 4px;
	}

	.kobo-news-popup__title {
		margin-bottom: 3px;
		font-size: clamp(6px, 2vw, 11px);
		line-height: 1.35;
	}

	.kobo-news-popup__summary {
		display: -webkit-box;
		margin-bottom: 4px;
		font-size: clamp(5px, 1.6vw, 9px);
		line-height: 1.4;
		-webkit-box-orient: vertical;
		-webkit-line-clamp: 2;
		overflow: hidden;
	}

	.kobo-news-popup__link {
		padding: 4px 5px;
		font-size: clamp(5px, 1.6vw, 8px);
	}
}

@media screen and (max-width: 480px) {
	.kobo-menu-overlay {
		padding-right: 12px;
		padding-left: 12px;
	}

	.kobo-menu-overlay .menu,
	.kobo-menu-overlay .kobo-menu {
		gap: clamp(16px, 3.2vh, 23px);
	}

	.kobo-menu-overlay a {
		font-size: clamp(16px, 5.3vw, 24px);
	}

	.kobo-news-popup {
		width: 46vw;
	}
}

@media (prefers-reduced-motion: reduce) {
	.kobo-menu-overlay,
	.kobo-hero__slide,
	.kobo-news-popup,
	.kobo-menu-toggle__lines,
	.kobo-menu-toggle__lines::before,
	.kobo-menu-toggle__lines::after {
		transition-duration: .01ms !important;
	}
}
