@charset "UTF-8";
/* reset */

body, div, dl, dt, dd, ul, ol, li, h1, h2, h3, h4, h5, h6, pre, form, input, textarea, p, th, td, figure {
	margin: 0;
	padding:0
}

h1, h2, h3, h4, h5, h6 {
	font-size: 100%;
	font-weight: 400;
}

/* tags */

body {
	font-size: 16px;
	color: #333;
	line-height: 1.5;
	font-family: "Hiragino Sans W3", "Hiragino Kaku Gothic ProN", "ヒラギノ角ゴ ProN W3", "メイリオ", Meiryo, "ＭＳ Ｐゴシック", "MS PGothic", sans-serif;
	word-break:break-all
}

h1 {
	font-size: 150%;
}

h2 {
	font-size: 135%;
}

h3 {
	font-size: 120%;
}

table {
	width: 100%;
	border: 1px solid #333;
	border-collapse: collapse;
	border-spacing: 0;
}

caption {
	font-style: normal;
	font-weight: 400;
	text-align: left;
}

th {
	padding: 0 0.25em;
	font-style: normal;
	font-weight: 400;
	border: 1px solid #333;
	border-collapse: collapse;
	border-spacing: 0;
}

td {
	padding: 0 0.25em;
	border: 1px solid #333;
	border-collapse: collapse;
	border-spacing: 0;
	box-sizing: border-box;
}

ul {
	list-style: none;
}

a {
	color: #333;
}

header a {
	text-decoration: none;
}

a:hover {
	text-decoration: underline;
	opacity: 0.7;
}

a.btn {
	display: inline-block;
	margin: 0.5em 0;
	padding: 0.15em 1em;
	border: 1px solid #333;
	border-radius: 10px;
	text-decoration: none;
}

a.btn:hover {
	text-decoration: none;
}

img {
	max-width: 100%;
	border: 0;
	vertical-align: bottom;
}

input, textarea, select {
	font-family: inherit;
	font-size: inherit;
	font-weight: inherit;
	outline: none;
}

input[type=text],
input[type=password],
textarea {
	margin: 0;
	padding: 0;
	border: 0;
	background: transparent;
	box-sizing: border-box;
}

/* common */

.text-red,
.text-red a,
a.text-red {
	color: #f00 !important;
}

.text-blue,
.text-blue a,
a.text-blue {
	color: #00f !important;
}

.text-lightskyblue,
.text-lightskyblue a,
a.text-lightskyblue {
	color: #87cefa;
}

.text-gray,
.text-gray a,
a.text-gray {
	color: #ccc !important;
}

.text-bold {
	font-weight: bold;
}

.text-left {
	text-align: left;
}

.text-center {
	text-align: center;
}

.text-right {
	text-align: right;
}

.ssmall {
	font-size: 70%;
	line-height: 1.25;
}

.small {
	font-size: 85%;
	line-height: 1.25;
}

.errMsg {
	color: #f00;
	font-weight: bold;
}

/* parts */

header,
footer {
	min-width: 768px;
}

header .description,
header nav > ul,
main,
footer p {
	min-width: 768px;
	max-width: 980px;
	margin: auto;
	box-sizing: border-box;
}

header h1 {
	padding-top: 0.25em;
	margin-bottom: -0.75em;
	text-align: center;
}

header .description {
	display: flex;
	justify-content: space-between;
}

header nav {
	border-top: 1px solid #333;
	border-bottom: 1px solid #333;
	text-align: center;
	box-sizing: border-box;
}

header nav > ul {
	display: flex;
	justify-content: flex-start;
}

header nav li {
	position: relative;
	box-sizing: border-box;
}

header nav > ul > li {
	min-width: calc(100% / 7);
	border-right: 1px solid #333;
}

header nav > ul > li:first-of-type {
	border-left: 1px solid #333;
}

header nav li a {
	display: block;
	padding: 1em 0;
}

header nav li.has-child ul {
	position: absolute;
	top: calc(100% - 10px);
	left: calc(-1px + 10px);
	width: 11em;
	border: 1px solid #333;
	background: #fff;
	z-index: 1;
}

header nav li.has-child li {
	display: block;
	border-bottom: 1px solid #333;
}

header nav li.has-child li:last-of-type {
	border-bottom: 0;
}

main {
	padding: 0.5em;
}

main table td.men {
	background: #87ceeb;
}
main table td.women {
	background: #ffb6c1;
}

.userBox {
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	min-width: 768px;
	height: 100%;
	background: rgba(0, 0, 0, 0.75);
	box-sizing: border-box;
}

.userBox > div {
	position: absolute;
	top: 7%;
	left: 0;
	right: 0;
	width: 85%;
	max-width: 880px;
	height: 85%;
	margin: auto;
	padding: 1em;
	background: #fff;
	box-sizing: border-box;
}

.userBox h2 {
	text-align: center;
	font-size: 135%;
	line-height: 1;
}

.userBox .closeBtn {
	position: absolute;
	top: 1em;
	right: 1em;
}

.userBox .closeBtn a {
	position: relative;
	text-decoration: none;
	line-height: 1;
}

.userBox .closeBtn a:after {
	content: "\f00d";
	font-family: Fontawesome;
	font-size: 135%;
	font-weight: 400;
}

.userBox .tab {
	display: flex;
	gap: 30px;
	justify-content: center;
	line-height: 2;
}

.userBox .body {
	width: 100%;
	height: calc(100% - 1.35em - 2em - 2px);
	padding: 1px 0;
	overflow-y: scroll;
	overflow-x: hidden;
}

.userBox table {
	font-size: 90%;
	border: 0;
}

.userBox th {
	background: #ffd;
}

.userBox td {
	vertical-align: top;
}

.userBox td.save {
	text-align: center;
	vertical-align: middle;
}

.userBox td.recommend {
	border-top: 1px solid #333;
}

.userBox td.recommend input[type=text]{
	width: calc(100% - 3em);
}

.userBox .proclivity .chart {
	position: relative;
	width: 100%;
	padding: 1em;
	box-sizing: border-box;
	aspect-ratio: 1 / 1;
}

.userBox .proclivity svg + ul {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
}

.userBox .proclivity svg + ul li {
	position: absolute;
	width: 3.5em;
	font-size: 65%;
	line-height: 1.25;
	text-align: center;
}
.userBox .proclivity svg + ul li:nth-of-type(1) {
	top: 0;
	left: 0;
	right: 0;
	width: 7em;
	margin: auto;
}
.userBox .proclivity svg + ul li:nth-of-type(2) {
	top: 16%;
	right: 0;
}
.userBox .proclivity svg + ul li:nth-of-type(3) {
	right: 12%;
	bottom: 1rem;
}
.userBox .proclivity svg + ul li:nth-of-type(4) {
	left: 5%;
	bottom: 1rem;
	width: 7em;
}
.userBox .proclivity svg + ul li:nth-of-type(5) {
	top: 20%;
	left: 0;
}

.userBox .aboutme td {
	vertical-align: middle;
}

.userBox .aboutme p.a {
	display: flex;
	padding: 0.25em 1em;
	justify-content: space-between;
	align-items: center;
}

.userBox .aboutme p.a > span:after {
	content: "◯";
}
.userBox .aboutme p.a0 > span:nth-child(4):after { content: "●"; }
.userBox .aboutme p.a1 > span:nth-child(7):after { content: "●"; }
.userBox .aboutme p.a2 > span:nth-child(6):after { content: "●"; }
.userBox .aboutme p.a3 > span:nth-child(5):after { content: "●"; }
.userBox .aboutme p.a4 > span:nth-child(3):after { content: "●"; }
.userBox .aboutme p.a5 > span:nth-child(2):after { content: "●"; }
.userBox .aboutme p.a6 > span:nth-child(1):after { content: "●"; }

.userBox .dummy td {
	border: 0;
}

.userBox .profile_images {
	background: #eee;
}

.userBox .profile_images li {
	position: relative;
	display: block;
	float: left;
	width: 50%;
	margin-bottom: 3px;
	padding-top: 50%;
}

.userBox .profile_images li:nth-of-type(1) {
	width: 100%;
	margin: 3px 0;
	padding-bottom: 3px;
	border-bottom: 1px solid #000;
}

.userBox .profile_images li:nth-of-type(2n+2) {
	clear: left;
}

.userBox .profile_images li > figure {
	position: absolute;
	display: flex;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
}

.userBox .profile_images li > figure img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: contain;
}

.userBox .operation textarea.val_memo {
	width: 100%;
	height: 4em;
}

footer {
	border-top: 1px solid #333;
	text-align: center;
	line-height: 2;
}

@media all and (max-width: 980px){
/* small PC */
body {
	font-size: 13px;
}
header nav li {
	padding: 0.5em 0.35em;
}
header nav li:first-of-type {
	border-left: 0;
}
header nav li:last-of-type {
	border-right: 0;
}
/* small PC end */
}
