@charset "utf-8";

:root{
	--main-color: #c9876a;
	--text-color: #4d433e;
	--body-bg: #fffdfb;
	--main-wrap-bg: #fcf8f4;
	--contents-bg: #ffffff;
	--border-color: #eadfd8;
	--sub-border-color: #f1e8e2;
	--shadow-color: rgba(194,145,117,0.18);
	--section-bg-white: #ffffff;
	--section-bg-warm: #fff5ef;
	--section-bg-cream: #fff9f4;
	--button-bg: #d79a7d;
	--button-text: #ffffff;
	--button-hover-bg: #ffffff;
	--button-hover-text: #d79a7d;
	--nav-hover-bg: #e8b09a;
	--sidebar-width: 180px;
	--contents-width: 680px;
	--profile-image-size: 180px;
	--section-image-width: 220px;
	--section-image-height: 150px;
}

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

img{
	border: 0;
	vertical-align: top;
	max-width: 100%;
	height: auto;
}

ul, ol{
	list-style: none;
}

.clearfix:after{
	content: "";
	display: block;
	clear: both;
}

body{
	font-size: 62.5%;
	font-family: 'ヒラギノ角ゴ Pro W3','Hiragino Kaku Gothic Pro','メイリオ',Meiryo,'ＭＳＰゴシック',sans-serif;
	line-height: 1.6;
	color: var(--text-color);
	background: var(--body-bg);
	min-width: 960px;
}

#container{
	width: 100%;
	min-width: 960px;
}

a{
	text-decoration: none;
	color: var(--text-color);
}

a:hover{
	color: var(--main-color);
}

#header{
	position: fixed;
	left: 0;
	top: 0;
	width: var(--sidebar-width);
	min-height: 100%;
	background: #fff;
	box-shadow: 1px 0 7px var(--shadow-color);
	z-index: 20;
}

#header-top{
	margin-top: 20px;
	padding-bottom: 18px;
	text-align: center;
}

#header-top img{
	display: block;
	margin: 0 auto;
}

#gnav-wrap{
	padding: 20px 0;
	position: relative;
}

#gnav-wrap:before{
	content: "";
	display: block;
	height: 1px;
	background: var(--border-color);
	position: absolute;
	left: 15px;
	right: 15px;
	top: 0;
}

#gnav-wrap ul li{
	display: block;
	position: relative;
	background: #fff;
}

#gnav-wrap ul li a{
	display: block;
	padding: 11px 20px 9px 20px;
	font-size: 1.3em;
	position: relative;
}

#gnav-wrap ul li ul{
	position: absolute;
	top: 0;
	left: var(--sidebar-width);
	width: var(--sidebar-width);
}

#gnav-wrap ul li ul li{
	visibility: hidden;
	overflow: hidden;
	width: 0;
	height: 0;
	background: #fdf1eb;
}

#gnav-wrap li a:after{
	border-right: 2px solid var(--text-color);
	border-top: 2px solid var(--text-color);
	content: "";
	height: 6px;
	width: 6px;
	position: absolute;
	right: 25px;
	top: 17px;
	transform: rotate(45deg);
	-webkit-transform: rotate(45deg);
}

#gnav-wrap li a:hover{
	background: var(--nav-hover-bg);
	color: #fff;
}

#gnav-wrap li a:hover:after{
	border-right: 2px solid #fff;
	border-top: 2px solid #fff;
}

#gnav-wrap ul li:hover ul li,
#gnav-wrap ul li a:hover ul li{
	visibility: visible;
	height: 40px;
	width: var(--sidebar-width);
}

#gnav-wrap *{
	-webkit-transition: 0.3s;
	-moz-transition: 0.3s;
	-ms-transition: 0.3s;
	-o-transition: 0.3s;
	transition: 0.3s;
}

#address{
	display: block;
	padding: 20px 0 20px 10px;
	position: relative;
}

#address:before{
	content: "";
	display: block;
	height: 1px;
	background: var(--border-color);
	position: absolute;
	left: 15px;
	right: 15px;
	top: 0;
}

#address p{
	font-size: 1.3em;
	margin-bottom: 10px;
}

.button-contact{
	display: block;
	height: 38px;
	width: 158px;
	border: solid 1px #000;
}

a.button-contact{
	font-size: 1.3em;
	font-weight: bold;
	color: #fff;
	background: #000;
	text-align: center;
	line-height: 38px;
	-webkit-transition: all 0.3s ease;
	-moz-transition: all 0.3s ease;
	-o-transition: all 0.3s ease;
	transition: all 0.3s ease;
}

a.button-contact:hover{
	background: #fff;
	color: #000;
}

#link{
	display: block;
	width: var(--sidebar-width);
	padding: 20px 0;
	position: relative;
}

#link:before{
	content: "";
	display: block;
	height: 1px;
	background: var(--border-color);
	position: absolute;
	left: 15px;
	right: 15px;
	top: 0;
}

#link img{
	display: block;
	margin: 0 auto;
}

#link-menu{
	margin: 15px 0 0 10px;
}

#link-menu li{
	margin-top: 5px;
}

#link-menu a{
	font-size: 1.3em;
}

#main-wrap{
	margin-left: var(--sidebar-width);
	padding: 50px 0;
	min-height: 600px;
	border-left: solid 1px var(--sub-border-color);
	background: var(--main-wrap-bg);
}

#contents{
	width: var(--contents-width);
	margin: 0 auto;
	padding: 20px 20px 30px 20px;
	background: var(--contents-bg);
	box-shadow: 0 0 10px var(--shadow-color);
	border: 1px solid var(--border-color);
}

.profile{
	padding-bottom: 20px;
}

.profile-picture{
	float: left;
	margin-right: 30px;
	width: var(--profile-image-size);
	height: var(--profile-image-size);
}

.profile-picture img{
	width: var(--profile-image-size);
	height: var(--profile-image-size);
	object-fit: cover;
	border: 1px solid var(--border-color);
}

#open-game img{
	cursor: pointer;
	transition: 0.3s;
}

#open-game img:hover{
	opacity: 0.9;
	transform: scale(1.02);
}

.profile-name{
	margin-left: 210px;
}

h2.name{
	font-size: 2em;
	color: var(--main-color);
	letter-spacing: 0.1em;
}

.profile-name dl{
	font-size: 1.4em;
}

.profile-name dt{
	float: left;
	width: 80px;
	font-weight: bold;
	padding-top: 3px;
}

.profile-name dd{
	padding-top: 3px;
	margin-left: 80px;
}

.profile-contents{
	margin-top: 20px;
	padding: 15px;
	border: 1px solid var(--border-color);
}

.section-white{
	background: var(--section-bg-white);
}

.section-warm{
	background: var(--section-bg-warm);
}

.section-cream{
	background: var(--section-bg-cream);
}

.profile-title{
	font-size: 1.5em;
	color: var(--main-color);
	border-left: 5px solid var(--main-color);
	border-bottom: 1px solid var(--border-color);
	padding: 1px 0 1px 10px;
	margin-bottom: 12px;
}

.profile-article{
	font-size: 1.3em;
	padding-left: 10px;
	margin-bottom: 10px;
	line-height: 1.8;
}

.profile-history{
	margin-top: 12px;
	line-height: 1.9;
}

.profile-section{
	margin-top: 10px;
}

.profile-image{
	width: var(--section-image-width);
}

.profile-image img{
	width: 100%;
	height: var(--section-image-height);
	object-fit: cover;
	border: 1px solid var(--border-color);
	background: #fff;
}

.img-left .profile-image{
	float: left;
	margin: 0 20px 10px 10px;
}

.img-left .profile-text{
	margin-left: 250px;
	min-height: var(--section-image-height);
}

.img-right .profile-image{
	float: right;
	margin: 0 10px 10px 20px;
}

.img-right .profile-text{
	margin-right: 250px;
	min-height: var(--section-image-height);
}

#game-area.hidden{
	display: none;
}

.game-ui{
	margin-bottom: 10px;
}

.game-stats{
	display: flex;
	flex-wrap: wrap;
	gap: 14px;
	font-size: 1.3em;
	padding-left: 10px;
	margin-bottom: 8px;
}

.game-help{
	margin-bottom: 8px;
}

#mini-game{
	display: block;
	margin: 10px auto 0;
	border: 1px solid var(--border-color);
	background: #fff;
	max-width: 100%;
	height: auto;
}

.to-member a{
	display: block;
	margin: 50px auto 0;
	width: 160px;
	text-align: center;
	background: var(--button-bg);
	color: var(--button-text);
	padding: 10px 0;
	border: 1px solid var(--button-bg);
	-webkit-transition: 0.3s;
	-moz-transition: 0.3s;
	-ms-transition: 0.3s;
	-o-transition: 0.3s;
	transition: 0.3s;
}

.to-member a:hover{
	background: var(--button-hover-bg);
	color: var(--button-hover-text);
}

#footer-wrap{
	margin-left: var(--sidebar-width);
	height: 50px;
	background: #000;
}

#copyright{
	color: #fff;
	text-align: right;
	line-height: 50px;
	width: 700px;
	margin: 0 auto;
	font-size: 1.2em;
}