html, body{
	margin: 0;
	padding: 0;
	width:100%;
	height:100%;
}

p,hr,h1,h2,h3,h4,h5,h6,ul,ol,li,table,tr,td,form,dl {
	margin: 0;
	padding: 0;
}

img {
	margin: 0;
	border: 0;
}

img [class*="wp-image-"],
img [class*="attachment-"],
img.size-full {
	max-width: 100%;
	height: auto;
	margin: 0 auto 10px auto;
}

br {
	margin: 0;
	padding: 0;
}

hr {
	clear: both;
	height: 1px;
	margin-left: 0;
	margin-right: 0;
	margin-bottom: 0;
	padding: 0;
	border: none;
	border-top: 1px solid #e0e0e0;
	overflow: hidden;
}

body#bunka {
	background: #fff;
	margin: 0;
	line-height: 1.8;
	font-size: 100%;
	font-family: "メイリオ", Meiryo, "ヒラギノ角ゴ Pro W3", "Hiragino Kaku Gothic Pro", Osaka, "ＭＳ Ｐゴシック", "MS PGothic", sans-serif;
	color: #666;
	text-align: center;
	background: url(../modal_images/bg_bunka.jpg) no-repeat top center;
	background-size: cover;
}

@media screen and (max-width: 1024px) {
 body#bunka {
  background: url(../modal_images/bg_bunka_s.jpg) no-repeat top center;
 }
}

@media screen and (max-width: 680px) {
 body#bunka {
  background: url(../modal_images/bg_bunka_xs.jpg) no-repeat top center;
	 font-size: 95%;
 }
}

body#yutori {
	background: #fff;
	margin: 0;
	line-height: 1.8;
	font-size: 100%;
	font-family: "メイリオ", Meiryo, "ヒラギノ角ゴ Pro W3", "Hiragino Kaku Gothic Pro", Osaka, "ＭＳ Ｐゴシック", "MS PGothic", sans-serif;
	color: #666;
	text-align: center;
	background: url(../modal_images/bg_yutori.jpg) no-repeat top center;
	background-size: cover;
}

@media screen and (max-width: 1024px) {
 body#yutori {
  background: url(../modal_images/bg_yutori_s.jpg) no-repeat top center;
 }
}

@media screen and (max-width: 680px) {
 body#yutori {
  background: url(../modal_images/bg_yutori_xs.jpg) no-repeat top center;
	 font-size: 95%;
 }
}

.modal-wrapper {
  z-index: 999;
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  padding: 60px 10px;
  text-align: center
}

.modal-wrapper::after {
  display: inline-block;
  height: 100%;
  margin-left: -.05em;
  vertical-align: middle;
  content: ""
}

.modal-wrapper .modal-window {
  box-sizing: border-box;
  display: inline-block;
  z-index: 20;
  position: relative;
  width: 92%;
  max-width: 950px;
  padding: 30px 30px 40px;
  border-radius: 2px;
  background: #fff;
  box-shadow: 0 0 30px rgba(0, 0, 0, .6);
  vertical-align: middle
}

.modal-wrapper .modal-window .modal-content {
  max-height: 80vh;
  overflow-y: auto;
}

.modal-overlay {
  z-index: 10;
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  background: rgba(0, 0, 0, .5);
  cursor: default;
}

.modal-wrapper .modal-close {
  z-index: 20;
  position: absolute;
  top: 0;
  right: 0;
  width: 35px;
  color: #95979c !important;
  font-size: 20px;
  font-weight: 700;
  line-height: 35px;
  text-align: center;
  text-decoration: none;
  text-indent: 0
}

.modal-wrapper .modal-close:hover {
  color: #2b2e38 !important
}

.modal-wrapper .modal-content {
  text-align: left;
}

.modal-wrapper .modal-content p {
  font-size: 90%;
  margin-top: 15px;
}

.modal-wrapper .modal-content p.tar {
  text-align: right;
}

@media screen and (max-width: 680px) {
 .modal-wrapper .modal-window {
   padding: 20px 20px 30px;
 }
 .modal-wrapper .modal-content h3 {
  font-size: 11.5pt;
 }
 .modal-wrapper .modal-content h2 {
  font-size: 15pt;
  line-height: 1.5;
 }
 .modal-wrapper .modal-content p {
  font-size: 85%;
 }
}
