@media (max-width: 768px) {

	.banner {
		text-align: center;
	}

	.banner h1 {
		font-size: 2.5rem;
	}

	.lead {
		display: none !important;
	}

	.container {
		font-size: 0.8rem;
		margin-left: 0.5rem;
		margin-right: 0.5rem;
	}

	.section-nav {
		display: none !important;
	}

	.side_footer {
		display: none !important;
	}
}

@media (max-width: 834px) {
	.side_footer {
		display: none !important;
	}

	.code-scroller {
		margin-left: -0.5rem;
		margin-right: -0.5rem;
		width: calc(100% + 1rem);
	}

	.code-scroller-code {
		position: sticky !important;
		bottom: 0 !important;
		top: auto !important;
		height: 40vh !important;
		z-index: 100;
		background-color: #ffffff;
	}

	.code-scroller-code::before,
	.code-scroller-code::after {
		display: none !important;
	}

	.code-scroller-code pre {
		height: 40vh !important;
		max-height: 40vh !important;
		border: none !important;
		border-radius: 0;
		font-size: 0.75rem !important;
		line-height: 1.4;
	}

	.code-scroller-steps {
		padding-top: 10vh !important;
		padding-bottom: 45vh !important;
		gap: 15vh !important;
	}

	.code-scroller-step {
		background-color: rgba(255, 255, 255, 0.9) !important;
		backdrop-filter: blur(4px);
		margin: 0 1rem;
		border-radius: 8px;
		box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
	}

	.code-scroller-step p {
		font-size: 0.8rem !important;
		line-height: 1.5;
		margin-bottom: 0.5rem;
	}

	body.lang-ja p {
		font-size: 16px !important;
		line-height: 1.8rem !important;
	}

	body.lang-ja li {
		font-size: 16px !important;
	}
}

.back-to-posts {
	display: none;
	text-decoration: none;
	font-size: 0.75rem;
	font-weight: bold;
	letter-spacing: 0.07em;
	color: #c5ced8;
	margin-bottom: 3rem;
	align-items: center;
	gap: 0.3rem;
}

.back-to-posts:hover {
	color: #9eaec0;
}

@media (min-width: 835px) {
	.back-to-posts {
		display: flex;
	}

	.banner {
		position: fixed;
		width: 18rem;
		text-align: left;
		display: flex;
		flex-flow: column;
		height: 100vh;
		box-sizing: border-box;
		overflow-y: auto;
	}

	.banner-nav a {
		font-size: 1.1rem;
	}

	.container {
		margin-left: 22rem;
		margin-right: 4rem;
	}

	.footer {
		display: none !important;
	}

	.code-scroller {
		flex-direction: row;
		align-items: flex-start;
		width: 90vw;
		margin-left: calc(50% - 45vw);
		margin-right: calc(50% - 45vw);
		gap: 2rem;
		position: relative;
		z-index: 10;
	}

	.banner,
	.post_footer {
		transition: opacity 0.4s ease, visibility 0.4s ease;
	}

	body.scroller-fullscreen-active .banner,
	body.scroller-fullscreen-active .post_footer {
		opacity: 0;
		visibility: hidden;
		pointer-events: none;
	}
}

@media (min-width: 1025px) {
	.container {
		margin-left: 22rem;
		margin-right: 20rem;
	}

	.banner-nav a {
		font-size: 1.1rem;
	}

	.post_footer {
		position: fixed;
		top: 0;
		left: 62rem;
		right: 0rem;
		padding-top: 8rem;
		padding-left: 2rem;
		padding-right: 2rem;
		bottom: 0;
		overflow-y: auto;
		z-index: 2;
	}

	h1 .hanchor,
	h2 .hanchor,
	h3 .hanchor {
		visibility: hidden;
	}

	h1:hover .hanchor,
	h2:hover .hanchor,
	h3:hover .hanchor {
		visibility: visible;
	}


	.post_footer h2 {
		font-size: 1rem
	}

	.post_footer p {
		font-size: 0.8rem
	}
}