section {
	margin-bottom: 100px;
}

.main-wrapper {
	width: 90%;
	margin: 0 auto;
	flex-flow: row-reverse;
	align-items: start;
	gap: 0 36px;
}

aside {
	position: sticky;
	width: 30%;
	margin-top: 32px;
	top: 120px;
	background: var(--white);
}

aside ul {
	width: 100%;
	box-shadow: var(--drop2);
}

aside li:not(:last-child) {
	border-bottom: 1px solid var(--gray3);
}

aside a.flex {
	width: 100%;
	justify-content: start;
	gap: 20px;
	padding: 20px 24px;
	padding-right: 40px;
	font-family: var(--zenkaku);
	font-weight: 500;
	word-break: keep-all;
	overflow-wrap: break-word;
	position: relative;
}

aside a.flex::after {
	position: absolute;
	font-family: 'Material Symbols Outlined';
	content: '\e313';
	right: 16px;
	font-size: 24px;
	color: var(--blue1);
}

aside a {
	transition: all .5s;
}

aside a span {
	color: var(--text);
	font-size: 20px;
	font-weight: 700;
	transition: all .5s;
}

aside a.target {
	background-color: #EDF1FA;
}

aside a.target span {
	color: var(--blue1);
	font-weight: 900;
}

main {
	display: flex;
	flex-flow: column;
	gap: 60px;
	width: 70%;
}

@media screen and (max-width: 1100px) {
	aside {
		position: inherit;
		width: 100%;
		z-index: 10;
	}
	aside a.flex {
		padding: 12px 24px;
	}
	aside a.target {
		background: var(--white);
	}
	aside a span,
	aside a.target span {
		color: var(--blue1);
		font-weight: 900;
	}
	main {
		width: 100%;
	}
	.main-wrapper {
		width: 95%;
		flex-flow: column;
	}
	#q1 {
		margin-top: 44px;
	}
}

@media screen and (max-width: 600px) {
	section {
		padding: 0;
	}

}

section > ul {
	justify-content: stretch;
}

section > .title {
	justify-content: start;
	margin-bottom: 40px;
}

section > .title span {
	width: 64px;
	height: 64px;
	margin-right: 40px;
	border-radius: 32px;
	background: var(--blue1);
	text-align: center;
	font-family: var(--zenkaku);
	font-size: 40px;
	font-weight: 500;
	color: var(--white);
}

section > .title h3 {
	font-size: 24px;
}

section > ul {
	flex-flow: column;
	justify-items: stretch;
	gap: 20px 0;
}

section > ul > li.flex {
	align-items: stretch;
	width: 100%;
}

#q1 {
	margin-top: 32px;
}

.profile {
	width: 140px;
	padding: 20px 0;
	flex-flow: column;
	gap: 4px 0;
	background: var(--blue1);
	& img {
		width: 80px;
		height: 80px;
		border-radius: 40px;
		outline: 2px solid var(--white);
		outline-offset: -2px;
	}
	& > div.flex {
		flex-flow: column;
	}
	p {
		font-family: var(--noto);
		color: var(--white);
		text-align: center;
	}
	& p.title {
		font-size: 16px;
		font-weight: 700;
	}
	& p.text {
		font-size: 12px;
		font-weight: 500;
	}
}

.comment {
	width: calc(100% - 140px);
	min-height: 160px;
	flex-flow: column;
	align-items: start;
	background: var(--white);
	position: relative;
	& img {
		position: absolute;
		z-index: 0;
		max-width: 140px;
		max-width: 140px;
		height: auto;
		right: 10px;
		bottom: 10px;
	}
	& > div {
		padding: 40px;
		position: relative;
	}
	& p.text:not(:last-child) {
		margin-bottom: 12px;
	}
}

@media screen and (max-width: 1100px) {
	section > .title {
		position: sticky;
		flex-flow: column;
		padding: 12px 0;
		top: 49px;
		z-index: 1;
		background: rgba(244, 244, 244, 100);
		border-bottom: 2px solid var(--gray3);
	}
	section > .title span {
		display: flex;
		align-items: center;
		justify-content: center;
		width: 44px;
		height: 44px;
		border-radius: 22px;
		margin-right: 0;
		margin-bottom: 20px;
		font-size: 24px;
	}
	section > .title h3 {
		font-size: 20px;
		text-align: center;
		word-break: keep-all;
		overflow-wrap: break-word;
	}
	section > ul > li.flex {
		flex-flow: column;
	}
	.profile {
		width: 100%;
		flex-flow: row;
		justify-content: space-between;
		padding: 0;
		border-radius: 40px 0 0 40px;
	}
	.profile > div.flex {
		width: 100%;
		flex-flow: row;
		justify-content: space-between;
		padding: 0 16px;
	}
	.profile .text span {
		display: inline;
		color: var(--wihte);
	}
	.profile img {
		width: 54px;
		height: 54px;
	}
	.comment {
		width: 100%;
		min-height: 120px;
	}
	.comment::before {
		position: absolute;
		content: "";
		width: 27px;
		height: 27px;
		background-image: url(../img/case/yonbunnoichi.svg);
		left: 0;
		bottom: 100%;
	}
	.comment img {
		max-width: 100px;
		max-height: 100px;
	}
	.comment > div {
		padding: 16px 24px;
	}
}