/*
 *  Remodal - v1.0.2
 *  Responsive, lightweight, fast, synchronized with CSS animations, fully customizable modal window plugin with declarative configuration and hash tracking.
 *  http://vodkabears.github.io/remodal/
 *
 *  Made by Ilya Makarov
 *  Under MIT License
 */

/* ==========================================================================
   Remodal's necessary styles
   ========================================================================== */

/* Hide scroll bar */

html.remodal-is-locked {
  overflow: hidden;
}

/* Anti FOUC */

.remodal,
[data-remodal-id] {
  display: none;
background:#fff;
width:80%;
padding:4%
}

/* Necessary styles of the overlay */

.remodal-overlay {
  position: fixed;
  z-index: 9999;
  top: -5000px;
  right: -5000px;
  bottom: -5000px;
  left: -5000px;

  display: none;
}

/* Necessary styles of the wrapper */

.remodal-wrapper {
  position: fixed;
  z-index: 10000;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  display: none;
  overflow: auto;
  text-align: center;
  -webkit-overflow-scrolling: touch;
}

.remodal-wrapper:after {
  display: inline-block;

  height: 100%;
  margin-left: -0.05em;

  content: "";
}

/* Fix iPad, iPhone glitches */

.remodal-overlay,
.remodal-wrapper {
  -webkit-backface-visibility: hidden;
  backface-visibility: hidden;
}

/* Necessary styles of the modal dialog */

.remodal {
  position: relative;

  -webkit-text-size-adjust: 100%;
  -moz-text-size-adjust: 100%;
  -ms-text-size-adjust: 100%;
  text-size-adjust: 100%;
}

.remodal-is-initialized {
  /* Disable Anti-FOUC */
  display: inline-block;
}


/*カスタム*/
.modal-text{
font-size: smaller;
padding:2em 0;
letter-spacing:1px;
}
.p-name {
	font-weight: bold;
	font-size: 14px;
padding:1em 0 0;
display:block;
}

.p-school {
	font-size:10px;
	padding:0px 0 10px 0;
	letter-spacing:1px;
display:block;
}

.p-txt {
	font-size:11px;
	line-height:14px;
	letter-spacing:1px;
display:block;
}
#modallayout div{
clear:both;
margin-bottom:2em;
border-top:1px solid #eee;
}
#modallayout {
	margin: 0 auto;
	text-align: left;
}
#modallayout img{
	float: left;
	max-width: 150px;
	max-height: 150px;
	width:30%;
	height:auto;
display:block;
vertical-align:top;

}
#modallayout p{
margin:0 0 0 33%;
text-align:left;
min-height:150px;
}

