@charset "utf-8";

.mainview {
	overflow: hidden;
}

.bx-wrapper {
	border: none !important;
	max-width: 100% !important;
	box-shadow: none !important;
}

@media screen and (min-width: 641px){

.globalNav { margin-bottom: 50px;}
.globalNav ul { margin-left: 165px;}

#message .box {
	display: flex;
	justify-content: space-between;
	flex-direction: row-reverse;
}
#message .box p {
	padding-right: 2em;}
#profile h3 {
	margin-bottom: 0.5em;
	color: #0062b3;
	font-family: ryo-display-plusn, serif;
	font-weight: 700;
	font-style: normal;
	font-size: 1.7em;
}
#profile .profile {
	display: flex;
	justify-content: space-between;
	align-items: flex-start;
}
#profile .profile dl {
	border-top: solid 1px #333;
	border-bottom: dashed 1px #333;
	display: flex;
	flex-wrap: wrap;
	width: 560px;
}
#profile .profile dl dt {
	padding: 1em;
	border-top: dashed 1px #333;
	width: 120px;
	font-weight: 700;
	box-sizing: border-box;
}
#profile .profile dl dd {
	padding: 1em;
	border-top: dashed 1px #333;
	width: 440px;
	box-sizing: border-box;
}
#profile .profile dl dt:first-of-type { border-top: none;}
#profile .profile dl dd:first-of-type { border-top: none;}

#profile .profile .photobox img { margin-bottom: 1em;}

}

@media screen and (max-width: 640px){

.globalNav ul li:nth-child(1){ display: none;}
.globalNav ul li:nth-child(2n){ margin-right: 20px;}
.globalNav ul li:nth-child(2n-1){ margin-right: 0;}

#message .box img {
	margin: 0 auto 1em auto;
}
#profile h3 {
	margin-bottom: 0.5em;
	color: #0062b3;
	font-family: ryo-display-plusn, serif;
	font-weight: 700;
	font-style: normal;
	font-size: 1.4em;
}
#profile .profile { margin-bottom: 2em;}
#profile .profile dl {
	margin-bottom: 1em;
	display: flex;
	flex-wrap: wrap;
	border-top: solid 2px #333;
	border-bottom: dashed 2px #333;
}
#profile .profile dl dt {
	padding: 1em;
	border-top: dashed 2px #333;
	width: 35%;
	font-weight: 700;
	box-sizing: border-box;
}
#profile .profile dl dd {
	padding: 1em 1em 1em 0;
	border-top: dashed 2px #333;
	width: 65%;
	box-sizing: border-box;
}
#profile .profile dl dt:first-of-type { border-top: none;}
#profile .profile dl dd:first-of-type { border-top: none;}
#profile .photobox {
	display: flex;
	justify-content: space-between;
}
#profile .photobox img { width: 48%;}

}

