@charset "utf-8";
/*モーダルMap本体の指定 + モーダル外側の背景の指定*/
.ModalMap-container{
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  text-align: center;
  background: rgba(0,0,0,50%);
  /*padding: 40px 20px;*/
  padding: 40px 10px;
  overflow: auto;
  opacity: 0;
  visibility: hidden;
  /*transition: .3s;*/
  transition: 0.8s;
  box-sizing: border-box;
}

/*モーダルMap本体の擬似要素の指定*/
.ModalMap-container:before{
  content: "";
  display: inline-block;
  vertical-align: middle;
  height: 100%;
}

/*モーダルMap本体に「active」クラス付与した時のスタイル*/
.ModalMap-container.active{
  opacity: 1;
  visibility: visible;
	z-index: 999;
}

/*モーダルMap枠の指定*/
.ModalMap-body{
  position: relative;
  display: inline-block;
  vertical-align: middle;
  max-width: 500px;
  width: 90%;
}

/*モーダルMapを閉じるボタンの指定*/
.ModalMap-close{
  position: absolute;
  display: flex;
  align-items: center;
  justify-content: center;
  top: -40px;
  /*right: -40px;*/
  right: -20px;
  width: 40px;
  height: 40px;
  font-size: 40px;
  color: #fff;
  cursor: pointer;
}

/*モーダルMap内のコンテンツの指定*/
.ModalMap-content{
  background: #fff;
  text-align: center;
  padding: 1em 0em 1em 0em;
	margin: 0em;
}

/*モーダルProf本体の指定 + モーダル外側の背景の指定*/
.ModalProf-container{
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  text-align: center;
  background: rgba(0,0,0,50%);
  /*padding: 40px 20px;*/
  padding: 40px 5px;
  overflow: auto;
  opacity: 0;
  visibility: hidden;
  /*transition: .3s;*/
  transition: 0.8s;
  box-sizing: border-box;
}

/*モーダルProf本体の擬似要素の指定*/
.ModalProf-container:before{
  content: "";
  display: inline-block;
  vertical-align: middle;
  height: 100%;
}

/*モーダルProf本体に「active」クラス付与した時のスタイル*/
.ModalProf-container.active{
  opacity: 1;
  visibility: visible;
	z-index: 999;
}

/*モーダルProf枠の指定*/
.ModalProf-body{
  position: relative;
  display: inline-block;
  vertical-align: middle;
  max-width: 680px;
  width: 90%;
}

/*モーダルProfを閉じるボタンの指定*/
.ModalProf-close{
  position: absolute;
  display: flex;
  align-items: center;
  justify-content: center;
  top: -40px;
  /*right: -40px;*/
  right: -10px;
  width: 40px;
  height: 40px;
  font-size: 40px;
  color: #fff;
  cursor: pointer;
}

/*モーダルProf内のコンテンツの指定*/
.ModalProf-content{
	background: #fff;
	text-align: left;
	padding: 20px;
}

/*モーダルProf内のコンテンツ詳細の指定*/
#MsgArea {
	display: flex;
	justify-content: center;
	font-size: 15px;
	color:#900;
	margin: 0em;
	padding: 0em;
}

.ModalProf-Waku{
	font-size:14px;
	border: 1px solid #333;
	margin: 0px;
	padding: 0.5em;
}

#TitleArea {
	display: flex;
	justify-content: center;
	font-size: 16px;
	/*margin: 0em 0em 1em 0em;
	padding: 0em 0em 0.2em 0em;
	border-bottom-width: 2px;
	border-bottom-style: dotted;
	border-bottom-color: #333;*/
}

.StrTitle {
	border-bottom-width: 2px;
	border-bottom-style: solid;
	border-bottom-color: #666;
	margin-top: 0em;
	margin-right: 0em;
	margin-bottom: 1em;
	margin-left: 0em;
	padding-top: 0em;
	padding-right: 0.3em;
	padding-bottom: 0.1em;
	padding-left: 0.3em;
}

#Photo,#DlButton {
	display: flex;
	justify-content: center;
	margin: 0em 0em 1em 0em;
	padding: 0em;	
}

.MidashiT{
	border-top-width: 1px;
	border-bottom-width: 1px;
	border-top-style: solid;
	border-bottom-style: dotted;
	border-top-color: #333;
	border-bottom-color: #333;
	font-weight: bold;
	/*color: #606060;*/
	color: #330033;
	margin: 0px;
	padding-top: 0.2em;
	padding-right: 0em;
	padding-bottom: 0.2em;
	padding-left: 0em;
}

.Midashi{
	border-bottom-width: 1px;
	border-bottom-style: dotted;
	border-bottom-color: #333;
	font-weight: bold;
	/*color: #606060;*/
	color: #330033;
	margin: 0px;
	padding-top: 0.2em;
	padding-right: 0em;
	padding-bottom: 0.2em;
	padding-left: 0em;
}

#KaiinNam,#SexNam,#BYMD,#RSNam,#YakuNam,#TankaiNam,#CompNam,#CompYaku,
#CompEstYMD,#Addr,#Tel,#Fax,#MTel,#URL,#GyoshuMNam,#JigyoNaiyo,#KeieiRinen,#Shaze,#RinriReki {
	border-bottom-width: 1px;
	border-bottom-style: solid;
	border-bottom-color: #333;
	margin-top: 0em;
	margin-right: 0em;
	margin-bottom: 0.3em;
	margin-left: 0em;
	padding-top: 0.2em;
	padding-right: 0em;
	padding-bottom: 0.2em;
	padding-left: 0em;
}

#OtherCmt {
	margin-top: 0em;
	margin-right: 0em;
	margin-bottom: 0.3em;
	margin-left: 0em;
	padding-top: 0.2em;
	padding-right: 0em;
	padding-bottom: 0.2em;
	padding-left: 0em;
}

/************************************************************
 *	幅640px以下の解像度
 ************************************************************/
@media only screen and (max-width: 640px) {
	#MsgArea {
		font-size: 14px;
	}
	
	.ModalProf-Waku{
		font-size:13px;
	}
	
	#TitleArea {
		font-size: 15px;
	}

}

/************************************************************
 *	幅490px以下の解像度
 ************************************************************/
@media only screen and (max-width: 490px) {
	#MsgArea {
		font-size: 13px;
	}
	
	.ModalProf-Waku{
		font-size:12px;
	}
	
	#TitleArea {
		font-size: 14px;
	}

}
