#about {
	pointer-events: initial;
	overflow-y: auto;
	padding-top: 1em;
	padding-bottom: 2em;
}

.profile {
	display: flex;
	flex-direction: row;
}

.profile-left {
	width: 250px;
	height: 250px;
	cursor: pointer;
}

.profile-right {
	padding-top: 2em;
	padding-left: 1em;
	flex-grow: 1;
}

.name {
	font-weight: bold;
	margin-bottom: 1em;
}

.block {
	margin-bottom: 1em;
}

#about h2 {
	margin: 1em 0 0.75em 0;
}

#about h3 {
	margin: 0.75em 0 0.5em 0;
}

#about.shown h2 {
	animation: heading-show 1s 0.1s ease both;
	transform-origin: left;
}

#about.shown h3 {
	animation: heading-show 1s 0.3s ease both;
	transform-origin: left;
}

#about.shown .block {
	animation: fade-in 0.5s 0.5s ease both;
}

.dds {
	display: inline-block;
}

/* TODO: float を抹殺する */
.profile dt,
.likes dt,
.accounts dt,
.affiliation dt {
	float: left;
}

.profile dd:not(:last-child) {
	float: left;
}

dd::before {
	font-weight: normal;
	color: #c0c0c0;
	margin: 0 0.5em;
}

.profile dd::before,
.likes dd::before {
	content: "/";
	margin: 0 0.25em;
}

.accounts dd::before,
.affiliation dd::before,
.activities dd::before {
	content: "-";
}

.activities dd::before {
	margin-left: 2em;
	margin-bottom: 0.5em;
}

.swipe.en .affiliation dt {
	float: unset;
}

.swipe.en .affiliation dd::before {
	margin-left: 2em;
	margin-bottom: 0.5em;
}

.grid {
	display: grid;
	overflow: hidden;
}

.swipe {
	transition: left 0.4s ease-in-out;
	left: 0;
	position: relative;
}

.grid > .swipe {
	grid-area: 1 / 1;
	margin-bottom: 0;
	overflow: hidden;
}

.jp .swipe.en,
.en .swipe.jp {
	transition: left 0.4s ease-in-out, margin-bottom 1s 0.2s ease-in;
	margin-bottom: -100%;
}

.jp .swipe.en {
	left: 110%;
}

.jp .swipe.en > .swipe {
	left: -110%;
}

.en .swipe.jp {
	left: -110%;
}

.en .swipe.jp > .swipe {
	left: 110%;
}

@keyframes heading-show {
	0% {
		transform: scaleX(0);
		opacity: 0;
	}
	30% {
		transform: scaleX(0);
	}
	70% {
		transform: scaleX(1);
	}
	100% {
		opacity: 1;
	}
}

@media screen and (max-width: 650px) {
	.accounts dt,
	.affiliation dt {
		float: unset;
	}
	.accounts dd::before,
	.affiliation dd::before {
		margin-left: 2em;
		margin-bottom: 0.5em;
	}
	.profile {
		flex-direction: column;
	}
	.profile-left {
		width: 200px;
		height: 200px;
	}
	.profile-right {
		padding-top: 0;
		padding-left: 0;
		margin-bottom: 1em;
	}
	.name {
		margin-bottom: 0.5em;
	}
	#about {
		font-size: 0.9em;
	}
}
