:root {
	--text: #1e272a;
	--muted: #333333;
	--accent: #8e3d27;
	--accent-2: #1b92c8;
	--content-width: 500px;
	--content-right-space: 250px;
	--desktop-split: calc(100% - var(--content-width) - var(--content-right-space));
}

* {
	box-sizing: border-box;
}

html {
	scroll-behavior: smooth;
	scroll-padding-top: 24px;
}

body {
	margin: 0;
	color: var(--text);
	background: #fff;
	font-family: "Noto Sans JP", sans-serif;
}

a {
	color: inherit;
	text-decoration: none;
}

img {
	max-width: 100%;
	display: block;
}

.page-shell {
	min-height: 100vh;
}

.visual-panel {
	position: fixed;
	inset: 0 auto 0 0;
	width: var(--desktop-split);
	container-type: inline-size;
	background: url("../images/mainpc_01.jpg") center top / cover no-repeat;
	background: image-set(
		url("../images/mainpc_01.webp") type("image/webp"),
		url("../images/mainpc_01.jpg") type("image/jpeg")
	) center top / cover no-repeat;
}

.line-link {
	position: absolute;
	left: 28px;
	bottom: 28px;
	z-index: 2;
	display: block;
	width: 70px;
	transition: opacity 0.2s ease, transform 0.2s ease;
}

.line-link:hover {
	opacity: 0.86;
	transform: translateY(-2px);
}

.line-link:focus-visible {
	outline: 3px solid rgba(39, 76, 93, 0.32);
	outline-offset: 4px;
}

.mv-copy-image {
	position: absolute;
	z-index: 1;
	height: auto;
	max-width: none;
}

.mv-copy-image img {
	width: 100%;
	height: auto;
}

.mv-copy-image--primary {
	top: 45%;
	left: calc(50% - 130px);
	width: 132px;
	transform: translate(-100%, -50%);
	max-width: 300px;
}

.mv-copy-image--secondary {
	right: 34px;
	bottom: 42px;
	width: 320px;
}

@supports (width: 1cqw) {
	.mv-copy-image--primary {
		left: calc(50% - 16cqw);
		width: 25cqw;
	}

	.mv-copy-image--secondary {
		right: 4cqw;
		bottom: 5cqw;
		width: 28cqw;
	}
}

.topbar__label {
	margin: 0;
	letter-spacing: 0.18em;
	text-transform: uppercase;
	font-size: 10.5px;
	font-weight: 700;
	opacity: 0.9;
	color: var(--accent-2);
}

.topbar__home {
	display: block;
}

.content-section h2,
.topbar h1 {
	margin: 0;
	line-height: 1.2;
	text-align: center;
}

.content-panel {
	position: relative;
	margin-left: var(--desktop-split);
	width: var(--content-width);
	min-height: 100vh;
	padding: 72px 28px 0;
	background: #fff;
	box-shadow: -18px 0 36px rgba(30, 39, 42, 0.16);
}

.section-nav {
	position: fixed;
	top: 18%;
	right: calc((var(--content-right-space) - 136px) / 2);
	z-index: 3;
	width: 136px;
	display: grid;
	gap: 10px;
	transform: translateY(-50%);
}

.section-nav a {
	position: relative;
	display: inline-block;
	width: fit-content;
	padding: 8px 0 7px;
	color: var(--accent-2);
	font-size: 16px;
	font-weight: 700;
	line-height: 1.4;
}

.section-nav a::after {
	content: "";
	position: absolute;
	left: 0;
	bottom: 0;
	width: 100%;
	height: 2px;
	background: var(--accent-2);
}

.section-nav a:hover,
.section-nav a:focus-visible {
	opacity: 0.72;
}

.menu-toggle,
.mobile-nav {
	display: none;
}

.topbar {
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	z-index: 2;
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 16px;
	padding: 18px 20px;
}

.topbar h1 {
	margin-top: 4px;
	font-size: 45px;
	color: var(--accent-2);
}

.topbar__link {
	padding: 11px 16px;
	border-radius: 999px;
	background: var(--accent-2);
	color: #fff;
	font-weight: 800;
}

.content-section {
	margin-bottom: 40px;
	padding: 24px 24px 0;
}

.content-section#video {
	padding-left: 0;
	padding-right: 0;
	padding-top: 0;
}

.content-section:last-child {
	margin-bottom: 0;
}

.video-wrapper {
	width: 100%;
	max-width: 100%;
	overflow: hidden;
	margin: 0 auto;
}

.video-wrapper iframe {
	width: 100%;
	height: auto;
	aspect-ratio: 16 / 9;
	display: block;
	border: 0;
}

.content-section h2 {
	position: relative;
	width: fit-content;
	margin-bottom: 25px;
	margin-inline: auto;
	padding-bottom: 8px;
	color: var(--accent-2);
	font-size: 2.3rem;
}

.content-section h2::after {
	content: "";
	position: absolute;
	left: 0;
	bottom: 0;
	width: 100%;
	height: 2.5px;
	border-radius: 999px;
	background: var(--accent-2);
}

.content-section h3 {
	text-align: center;
	margin: 0 0 14px;
	color: var(--accent-2);
	font-size: 25px;
	font-weight: 700;
}

.content-section p {
	margin: 0 0 12px;
	color: var(--muted);
	font-size: 18px;
	line-height: 1.95;
}

.message-signature {
	margin-top: 28px;
	text-align: right;
	font-weight: 700;
	font-size: 40px!important;
	font-family: "Yuji Syuku", serif;
}

.section-image {
	width: calc(100% + 56px);
	max-width: none;
	height: auto;
	margin-left: -28px;
	margin-bottom: 40px;
}

.profile-list,
.episode-list {
	display: grid;
	gap: 14px;
}

.profile-list {
	margin: 22px 0 0;
	padding: 0;
}

.profile-list div {
	display: grid;
	grid-template-columns: 8rem 1fr;
	gap: 16px;
	padding: 12px 0;
	border-bottom: 1px solid rgba(30, 39, 42, 0.16);
}

.episode-list p {
	margin: 0;
	color: var(--muted);
	font-size: 18px;
	line-height: 1.95;
}

.profile-list dt,
.profile-list dd {
	margin: 0;
	font-size: 18px;
	line-height: 1.8;
}

.profile-list dt {
	color: var(--accent);
	font-weight: 700;
}

.profile-list dd {
	color: var(--muted);
}

.episode-list img {
	width: calc(100% + 104px);
	max-width: none;
	height: auto;
	margin-left: -52px;
}

.page-top {
	position: fixed;
	right: 24px;
	bottom: 24px;
	z-index: 10;
	width: 52px;
	height: 52px;
	display: grid;
	place-items: center;
	border: 0;
	border-radius: 50%;
	background: var(--accent-2);
	color: #fff;
	font-size: 18px;
	font-weight: 700;
	line-height: 1;
	cursor: pointer;
	opacity: 0;
	pointer-events: none;
	transform: translateY(12px);
	transition: opacity 0.2s ease, transform 0.2s ease;
}

.page-top.is-visible {
	opacity: 1;
	pointer-events: auto;
	transform: translateY(0);
}

.page-top:focus-visible {
	outline: 3px solid rgba(39, 76, 93, 0.32);
	outline-offset: 3px;
}

@media (max-width: 1224px) {
	:root {
		--mobile-header-height: 74px;
	}

	html {
		scroll-padding-top: calc(var(--mobile-header-height) + 18px);
	}

	.section-nav {
		display: none;
	}

	.menu-toggle {
		position: fixed;
		top: 20px;
		right: 18px;
		z-index: 20;
		width: 46px;
		height: 46px;
		display: block;
		padding: 12px;
		border: 0;
		border-radius: 50%;
		background: rgba(255, 255, 255, 0.92);
		box-shadow: 0 8px 22px rgba(30, 39, 42, 0.14);
		cursor: pointer;
	}

	.menu-toggle span {
		position: absolute;
		top: 50%;
		left: 50%;
		width: 20px;
		height: 2px;
		display: block;
		background: var(--accent-2);
		transition: transform 0.2s ease, opacity 0.2s ease;
	}

	.menu-toggle span:nth-child(1) {
		transform: translate(-50%, calc(-50% - 7px));
	}

	.menu-toggle span:nth-child(2) {
		transform: translate(-50%, -50%);
	}

	.menu-toggle span:nth-child(3) {
		transform: translate(-50%, calc(-50% + 7px));
	}

	.menu-toggle.is-open span:nth-child(1) {
		transform: translate(-50%, -50%) rotate(45deg);
	}

	.menu-toggle.is-open span:nth-child(2) {
		opacity: 0;
	}

	.menu-toggle.is-open span:nth-child(3) {
		transform: translate(-50%, -50%) rotate(-45deg);
	}

	.mobile-nav {
		position: fixed;
		top: var(--mobile-header-height);
		right: 18px;
		z-index: 19;
		width: 190px;
		display: grid;
		gap: 4px;
		padding: 16px 18px;
		background: rgba(255, 255, 255, 0.96);
		box-shadow: 0 12px 28px rgba(30, 39, 42, 0.16);
		opacity: 0;
		pointer-events: none;
		transform: translateY(-8px);
		transition: opacity 0.2s ease, transform 0.2s ease;
	}

	.mobile-nav.is-open {
		opacity: 1;
		pointer-events: auto;
		transform: translateY(0);
	}

	.mobile-nav a {
		position: relative;
		width: fit-content;
		padding: 9px 0 7px;
		color: var(--accent-2);
		font-size: 16px;
		font-weight: 700;
		line-height: 1.4;
	}

	.mobile-nav a::after {
		content: "";
		position: absolute;
		left: 0;
		bottom: 0;
		width: 100%;
		height: 2px;
		background: var(--accent-2);
	}

	.visual-panel,
	.content-panel {
		position: relative;
		width: 100%;
		margin-left: 0;
	}

	.visual-panel {
		min-height: 86vh;
		margin-top: var(--mobile-header-height);
		padding: 18px;
		inset: auto;
		background-position: center 18%;
	}

	.topbar {
		position: fixed;
		top: 0;
		left: 0;
		right: 0;
		z-index: 18;
		min-height: var(--mobile-header-height);
		align-items: center;
		padding: 10px 78px 10px 18px;
		background: #fff;
		box-shadow: 0 6px 18px rgba(30, 39, 42, 0.1);
	}

	.line-link {
		left: 24px;
		bottom: 24px;
		width: 80px;
	}

	.mv-copy-image--primary {
		top: 48%;
		left: calc(50% - 148px);
		width: 120px;
		min-width: 0;
	}

	.mv-copy-image--secondary {
		right: 28px;
		bottom: 36px;
		width: 300px;
	}

	@supports (width: 1cqw) {
		.mv-copy-image--primary {
			left: calc(50% - 14cqw);
			width: 12cqw;
			min-width: 180px;
		}

		.mv-copy-image--secondary {
			right: 4cqw;
			bottom: 5cqw;
			width: 32cqw;
		}
	}

	.content-panel {
		box-shadow: none;
		padding-top: 40px;
	}
	.topbar h1 {
		font-size:43px;
	}
}

@media (min-width: 641px) and (max-width: 1224px) {
	.visual-panel {
		min-height: 78vh;
		background-position: center 16%;
	}

	.line-link {
		width: 64px;
	}

	.mv-copy-image--primary {
		top: 49%;
		left: calc(50% - 120px);
		width: 180px;
		min-width: 0;
	}

	.mv-copy-image--secondary {
		right: 42px;
		bottom: 38px;
		width: 240px;
	}
}

@media (max-width: 640px) {
	:root {
		--mobile-header-height: 62px;
	}

	html {
		scroll-padding-top: calc(var(--mobile-header-height) + 14px);
	}

	.visual-panel {
		min-height: 62vh;
		padding: 12px;
		background-image: url("../images/mainsp_01.jpg");
		background-image: image-set(
			url("../images/mainsp_01.webp") type("image/webp"),
			url("../images/mainsp_01.jpg") type("image/jpeg")
		);
	}

	.line-link {
		left: 14px;
		bottom: 14px;
		width: 48px;
	}

	.mv-copy-image--primary {
		top: 48%;
		left: calc(50% - 118px);
		width: 80px;
		min-width: 0;
	}

	.mv-copy-image--secondary {
		right: 16px;
		bottom: 28px;
		width: 180px;
	}

	.menu-toggle {
		top: 14px;
	}

	@supports (width: 1cqw) {
		.mv-copy-image--primary {
			left: calc(50% - 22cqw);
			width: 14cqw;
			min-width: 55px;
		}

		.mv-copy-image--secondary {
			right: 4cqw;
			bottom: 7cqw;
			width: 40cqw;
		}
	}

	.topbar {
		flex-direction: row;
		align-items: center;
		padding: 8px 66px 8px 14px;
	}

	.topbar__label {
		letter-spacing: 0.08em;
		font-size: 8px;
	}

	.content-panel {
		padding: 32px 12px 0;
	}

	.content-section {
		margin-right: 0;
		padding:  18px 18px 0;
	}

	.content-section h2 {
		font-size: 1.9rem;
	}

	.content-section h3 {
		font-size: 21px;
	}

	.content-section p,
	.episode-list p,
	.profile-list dt,
	.profile-list dd {
		font-size: 16px;
	}

	.message-signature {
		font-size: 32px!important;
	}

	.section-image {
		width: calc(100% + 24px);
		margin-left: -12px;
	}

	.episode-list img {
		width: calc(100% + 60px);
		margin-left: -30px;
	}

	.page-top {
		right: 16px;
		bottom: 16px;
		width: 48px;
		height: 48px;
		font-size: 16px;
	}

	.profile-list div {
		grid-template-columns: 1fr;
		gap: 2px;
	}

	.topbar h1 {
		font-size: 30px;
	}
}

@media (max-width: 896px) and (orientation: landscape) {
	:root {
		--mobile-header-height: 56px;
	}

	html {
		scroll-padding-top: calc(var(--mobile-header-height) + 12px);
	}

	.visual-panel {
		min-height: 100vh;
		padding: 10px;
		background-image: url("../images/mainsp_01.jpg");
		background-image: image-set(
			url("../images/mainsp_01.webp") type("image/webp"),
			url("../images/mainsp_01.jpg") type("image/jpeg")
		);
		background-position: center 18%;
	}

	.topbar {
		min-height: var(--mobile-header-height);
		padding: 7px 62px 7px 14px;
	}

	.topbar__label {
		font-size: 7px;
		letter-spacing: 0.06em;
	}

	.topbar h1 {
		font-size: 20px;
	}

	.menu-toggle {
		top: 8px;
		right: 12px;
		width: 40px;
		height: 40px;
		padding: 10px;
	}

	.mobile-nav {
		top: var(--mobile-header-height);
		right: 12px;
	}

	.line-link {
		left: 14px;
		bottom: 12px;
		width: 40px;
	}

	.mv-copy-image--primary {
		top: 48%;
		left: calc(50% - 86px);
		width: 100px;
		min-width: 0;
	}

	.mv-copy-image--secondary {
		right: 24px;
		bottom: 18px;
		width: 160px;
	}

	@supports (width: 1cqw) {
		.mv-copy-image--primary {
			left: calc(50% - 18cqw);
			width: 9cqw;
			min-width: 100px;
		}

		.mv-copy-image--secondary {
			right: 4cqw;
			bottom: 5cqw;
			width: 28cqw;
		}
	}

	.content-panel {
		padding-top: 28px;
	}
}
@media (min-width: 1520px) {
  .mv-copy-image--primary {
	top: 50%;
    min-width: 170px;
  }
}

@media (max-width: 280px) {
  .mv-copy-image--primary {
    min-width: 45px;
  }
}
