/**
 * Section1 - desktop
 */
@media (min-width: 768px) {
	.section1 {
		padding-top: calc(100vw / 1440 * 180);
		padding-left: calc(100vw / 1440 * 240);
		padding-bottom: calc(100vw / 1440 * 64);
		box-sizing: border-box;
	}
	.section1 .title {
		font-family: brandon-grotesque;
	}
}

/**
 * Section1 - mobile
 */
@media (max-width: 767.98px) {
	.section1 {
		padding-top: calc(100vw / 360 * 120);
		padding-left: calc(100vw / 360 * 24);
		padding-bottom: calc(100vw / 360 * 40);
		box-sizing: border-box;
	}
	.section1 .title {
		font-family: brandon-grotesque;
	}
}

/**
 * Section2 - desktop
 */

@keyframes member-info-moveup {
	from {
		bottom: -100vh;
	}
	to {
		bottom: 0;
	}
}
@keyframes member-info-movedown {
	from {
		bottom: 0;
	}
	to {
		bottom: -100vh;
	}
}

@media (min-width: 768px) {
	.section2 {
		width: 100%;
		background-color: #eeeeee;
		position: relative;
		overflow: hidden;
	}
	.section2 .category_container {
		padding-top: calc(100vw / 1440 * 40);
		margin-left: calc(100vw / 1440 * 240);
	}
	.section2 .position_category {
		cursor: pointer;
	}
	.section2 .position_category.selected {
		color: #f74902;
	}
	.section2 .position_category:not(:first-child) {
		margin-left: calc(100vw / 1440 * 20);
	}

	.section2 .team_container {
		margin-top: calc(100vw / 1440 * 83);
		display: flex;
		overflow: hidden;
		align-items: end;
	}
	.section2 .member {
		width: calc(100vw / 1440 * 306);
		height: calc(100vw / 1440 * 373);
		flex-shrink: 0;
		flex-grow: 0;
		opacity: 0.4;
		position: relative;
	}
	.section2 .team_container div:not(:first-child) {
		margin-left: calc(100vw / 1440 * 20);
	}
	.section2 .default {
		background-repeat: no-repeat;
		background-size: cover;
		width: calc(100vw / 1440 * 220);
		height: calc(100vw / 1440 * 220);
		flex-shrink: 0;
		flex-grow: 0;
	}
	.section2 .default.show.left {
		background-image: url(../images/team/team_desktop_left_default.png);
	}
	.section2 .default.show.right {
		background-image: url(../images/team/team_desktop_right_default.png);
	}
	.section2 .member.active {
		opacity: 1;
		cursor: pointer;
	}
	.section2 .member.active:hover .gray {
		opacity: 0;
	}
	.section2 .member.active:hover .color {
		opacity: 1;
	}

	.section2 .photo {
		width: 100%;
		height: auto;
		transition: all 0.4s ease;
		position: absolute;
	}
	.section2 .photo.color {
		opacity: 0;
	}
	.section2 .team_button {
		position: absolute;
		top: calc(100vw / 1440 * 253);
		width: calc(100vw / 1440 * 32);
		height: calc(100vw / 1440 * 32);
		cursor: pointer;
		background-color: black;
	}
	.section2 .team_button.disabled {
		background-color: #999999;
	}
	.section2 .prev_button {
		left: calc(100vw / 1440 * 150);
	}
	.section2 .next_button {
		right: calc(100vw / 1440 * 150);
	}
	.section2 .button_img {
		width: 100%;
		height: auto;
		object-fit: cover;
	}
	.section2 .member_info {
		position: absolute;
		left: 0;
		bottom: -100vh;
		width: 100%;
		height: 100%;
		background-color: #eeeeee;
		box-sizing: border-box;
	}
	.section2 .member_info.moveup {
		animation: member-info-moveup 0.7s cubic-bezier(0.25, 0.1, 0.75, 0.39) forwards;
	}
	.section2 .member_info.movedown {
		animation: member-info-movedown 0.7s cubic-bezier(0.25, 0.1, 0.75, 0.39);
	}
	.section2 .member_info_container {
		padding-top: calc(100vw / 1440 * 64);
		padding-left: calc(100vw / 1440 * 240);
	}
	.section2 .member_info_close_button {
		position: absolute;
		top: calc(100vw / 1440 * 80);
		right: calc(100vw / 1440 * 140);
		width: calc(100vw / 1440 * 34);
		height: calc(100vw / 1440 * 34);
		cursor: pointer;
	}
	.section2 .member_info_category_container {
		display: flex;
	}
	.section2 .member_info_separator {
		margin-left: calc(100vw / 1440 * 8);
		margin-right: calc(100vw / 1440 * 8);
	}
	.section2 .member_info_name {
		font-family: brandon-grotesque;
		text-transform: uppercase;
	}
	.section2 .member_info_description_container {
		padding-left: calc(100vw / 1440 * 176);
		display: flex;
	}
	.section2 .double-quotation-marks {
		display: flex;
		flex-direction: column;
		justify-content: space-between;
		padding-right: calc(100vw / 1440 * 24);
	}
	.section2 .double-quotation-marks img {
		width: calc(100vw / 1440 * 40);
		height: calc(100vw / 1440 * 25);
	}
	.section2 .member_photo {
		position: absolute;
		top: calc(100vw / 1440 * 60);
		right: calc(100vw / 1440 * 204.63);
		width: calc(100vw / 1440 * 377.37);
		height: calc(100vw / 1440 * 460);
		object-fit: cover;
	}
	.section2 .member_info_description {
		width: calc(100vw / 1440 * 502);
		white-space: pre-line;
	}
	.section2 .member_info_description:not(:first-child) {
		margin-top: calc(100vw / 1440 * 16);
	}
}

/**
 * Section2 - mobile
 */
@media (max-width: 767.98px) {
	.section2 {
		background-color: #eeeeee;
	}
	.section2 .category_container {
		padding-top: calc(100vw / 360 * 32);
		margin-left: calc(100vw / 360 * 25);
	}
	.section2 .position_category {
		cursor: pointer;
	}
	.section2 .position_category.selected {
		color: #f74902;
	}
	.section2 .position_category:not(:first-child) {
		margin-left: calc(100vw / 360 * 16);
	}
	.section2 .team_container {
		margin-top: calc(100vw / 360 * 8);
		display: flex;
		justify-content: center;
		flex-wrap: wrap;
	}
	.section2 .member,
	.section2 .default_member {
		width: calc(100vw / 360 * 152);
		height: calc(100vw / 360 * 186);
		margin-left: calc(100vw / 360 * 4);
		margin-right: calc(100vw / 360 * 4);
		margin-top: calc(100vw / 360 * 32);
		flex-shrink: 0;
		flex-grow: 0;
	}
	.section2 .default_member {
		display: none;
	}
	.section2 .default_member.show {
		display: block;
	}
	.section2 .photo {
		width: 100%;
		height: auto;
	}
	.section2 .member_info {
		display: none;
		position: fixed;
		z-index: 1001;
		left: 0;
		top: 0;
		width: 100%;
		height: 100%;
		background-color: #eeeeee;
	}
	.section2 .member_info .logo {
		position: absolute;
		top: calc(100vw / 360 * 18);
		left: calc(100vw / 360 * 24);
		width: calc(100vw / 360 * 50.4);
		height: auto;
		z-index: 1052;
	}
	.section2 .member_info_close_button {
		position: absolute;
		top: calc(100vw / 360 * 18);
		right: calc(100vw / 360 * 24);
		width: calc(100vw / 360 * 24);
		height: calc(100vw / 360 * 24);
		cursor: pointer;
		z-index: 1050;
	}
	.section2 .member_info_content {
		position: absolute;
		left: 0;
		top: 0;
		overflow-y: auto;
		width: 100vw;
		height: 100%;
		box-sizing: border-box;
		z-index: 1010;
	}
	.section2 .member_info_content_wrap {
		background-color: rgba(238, 238, 238, 0.9);
		padding: calc(100vw / 360 * 40) calc(100vw / 360 * 24);
		min-height: 75vh;
	}
	.section2 .member_photo {
		margin-top: calc(100vw / 360 * 40);
		width: 100%;
		height: calc(100vw / 360 * 439);
		object-fit: cover;
		pointer-events: none;
	}
	.section2 .member_photo_wrap {
		display: flex;
		align-items: center;
		width: 100vw;
		height: 100vh;
		position: absolute;
		left: 0;
		top: 0;
	}
	.section2 .member_info_content .photo_default {
		height: calc(100vh - (100vw / 360 * 100));
	}
	.section2 .member_info_name {
		font-family: brandon-grotesque;
		text-transform: uppercase;
	}
	.section2 .member_info_category_container {
		display: flex;
		flex-wrap: wrap;
	}
	.section2 .member_info_category_container div:not(:first-child, :nth-child(4)) {
		margin-left: calc(100vw / 360 * 12);
	}
	.section2 .member_info_description {
		white-space: pre-line;
	}
	.section2 .member_info_description:not(:first-child) {
		margin-top: calc(100vw / 360 * 16);
	}
}
