@charset "utf-8";

/*********** UserInfo **********/
.UserInfo {
	display: block;
	box-sizing: border-box;
	overflow: hidden;

	.UserInfoBg {
		display: block;
		width: 100%;
		overflow: hidden;
		max-height: 200px;
		box-sizing: border-box;

		.UserInfoBgFrame {
			width: 100%;
			padding-bottom: 33.33%;
			background-size: cover;
			background-position: 50% 50%;
			background-repeat: no-repeat;
			background-color: #f7f7f7;
		}
	}

	.UserInfoUser {
		display: block;
		padding: 12px 16px 24px 16px;
		box-sizing: border-box;
		max-width: 960px;
		margin: 0 auto;

		.UserInfoUserTop {
			display: flex;
			justify-content: space-between;

			.UserInfoUserThumb {
				display: block;
				width: 25%;
				min-width: 48px;
				max-width: 140px;
				max-height: 140px;
				overflow: hidden;
				margin-top: -16%;
				border: solid 2px #fff;
				border-radius: 9999px;
				box-sizing: border-box;

				@media (min-width: 600px) {
					margin-top: -89px;
					border-width: 4px;
				}
			}

			.UserInfoUserThumb .UserInfoUserThumbFrame {
				width: 100%;
				padding-bottom: 100%;
				background-size: cover;
				background-position: 50% 50%;
				background-repeat: no-repeat;
				background-color: #fff;
			}

			.UserInfoCmd {
				display: flex;
				justify-content: space-between;
				column-gap: 12px;

				.UserInfoCmdItem {
					display: block;
					width: 32px;
					height: 32px;
					background-size: 17px;
					background-position: 50% 50%;
					background-repeat: no-repeat;
					border-radius: 9999px;

					&.Setting {
						background-image: url('/img/cmd_cog.svg');
					}

					&.Twitter {
						background-image: url('/img/cmd_twitter.svg');
					}
				}

				.UserInfoCmdForrow {
					padding: 0 16px;
					font-weight: bold;
					height: 34px;
				}
			}
		}

		.UserInfoUserName {
			display: flex;
			justify-content: space-between;
			align-items: center;
			padding: 16px 0 2px 0;

			.UserInfoName {
				display: block;
				font-weight: bold;
				font-size: 20px;
				font-weight: 800;
				line-height: 24px;
			}
		}

		.UserInfoUserTwitter {
			height: 22px;
			line-height: 22px;
			color: #536471
		}

		.UserInfoProfile {
			display: block;
			box-sizing: border-box;
			padding: 15px 0 0 0;
			margin: 0;
			font-size: 15px;
			line-height: 20px;
		}
	}
}

.IllustThumbList {
	display: grid;
	padding: 16px;
	margin: 0 auto;
	box-sizing: border-box;
	grid-template-columns: 1fr 1fr;
	justify-items: center;
	gap: 10px;
	max-width: 960px;

	@media (width >= calc(230px * 2 + 10px * 1 + 16px * 2)) {
		grid-template-columns: 1fr 1fr 1fr;
	}

	@media (width >= calc(230px * 3 + 10px * 2 + 16px * 2)) {
		grid-template-columns: 1fr 1fr 1fr 1fr;
	}
}

.IllustThumb {
	display: block;
	width: 100%;
	padding-top: 100%;
	overflow: hidden;
	background-size: cover;
	background-position: 50% 50%;
	background-color: #fff;
	background-repeat: no-repeat;
	border-radius: var(--border-radius);
	border: solid 1px #eee;

	&.open_id_2,
	&.open_id_3,
	&.open_id_4 {
		background-size: 33%;
		background-color: #fff;
	}
}

.IllustThumb .IllustThumbImg {
	display: block;
	width: 100%;
}
