@charset "utf-8";
.modal-wrapper {
  z-index: 999;
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  padding: 40px 10px;
  text-align: center;
}

.modal-button {
    color: #4f96f6;
    background-color: #eeeeee;
    font-weight: bold;
    text-align: center;
    cursor :pointer;
    transition: all 0.3s;
    display: block;
    margin-top: 40px;
    margin-bottom: 1px;
    padding: 55px 2px;
    text-decoration: none;
	box-shadow: 6px 6px 10px 0px rgba(0, 0, 0, 0.4);
	border-radius: 10px;
	font-size:22px;
}
.modal-button:hover {
    color: #fff;
    background-color: #E7FF7B;
    transition: all 0.3s;
    display: block;
	box-shadow: 10px 10px 10px 0px rgba(0, 0, 0, 0.4);
	border-radius: 20px;
}
.modal-button:active {
  /*ボタンを押したとき*/
  -webkit-transform: translateY(2px);
  transform: translateY(2px);/*下に動く*/

}


/*ラベルホバー時*/
.modal-button:hover {
  color: #FFFFFF;
  background-color: #4f96f6;
  transition: .6s;
}

.modal-wrapper:not(:target) {
  opacity: 0;
  visibility: hidden;
  transition: opacity .3s, visibility .3s;
}

.modal-wrapper:target {
  opacity: 1;
  visibility: visible;
  transition: opacity .4s, visibility .4s;
}

.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;
  max-width: 800px;
  padding: 10px 30px 25px;
  border-radius: 10px;
	background-image: url("../img/wh_back3.png");
	background-repeat: repeat;
  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;
  text-align: left
}

.modal_title {
  font-size: 1.5em;
	position: relative;
	overflow: hidden;
  padding: 0;
}

.modal_title::before,
.modal_title::after{
	content: "";
	position: absolute;
	bottom: 0;
}

/* h2 プライマリカラー*/
.modal_title:before{
	border-bottom: 4px solid #6bb6ff;
	width: 100%;
}
/* h2 セカンダリカラー*/
.modal_title:after{
	border-bottom: 4px solid #c8e4ff;
	width: 100%;
}

.modal-content p {
  margin: 10px 0 0 0;
}

.modal-overlay {
  z-index: 10;
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  background: rgba(0, 0, 0, .8)
}

.modal-wrapper .modal-close {
  z-index: 20;
  position: absolute;
  top: 5px;
  right: 5px;
  width: 35px;
  color: #95979c !important;
  font-size: 30px;
  font-weight: 700;
  line-height: 35px;
  text-align: center;
  text-decoration: none;
  text-indent: 0
}

.modal-wrapper .modal-close:hover {
  color: #2b2e38 !important
}

.genre_box{
	margin:19px;
	float: left;
	width:30%;
}


@media screen and (min-width:960px) { 

.genre_wrapper{
	max-width:1160px;
	margin:0 auto;
	display: block;
}


#genre{
	display:grid;
	margin-bottom: 40px;
}
}

@media screen and (max-width:1140px) { 

.genre_wrapper{
	width:95vw;
	display: block;
	margin: 0 auto;
}
	
.genre_box{
	width:46%;
	}

#genre{
	display: grid;
	margin-bottom: 40px;
}
	.modal-window{
		top:30%;
	}
}


@media screen and (min-width:800px) and (max-width:999px){ 
	
.genre_box{
	width:44%;
	}
}


@media screen and (max-width: 899px) {
	
.genre_box{
	width:100%;
	margin:0;
	}

#genre{
	display: grid;
	margin-bottom: 40px;
}
	
.modal-button {
    color: #4f96f6;
    background-color: #eeeeee;
    font-weight: bold;
    text-align: center;
    cursor :pointer;
    transition: all 0.3s;
    display: block;
    margin: 10px;
    padding: 25px 0px;
    text-decoration: none;
	border-radius: 10px;
	font-size:20px;
}
.modal-window {
  box-sizing: border-box;
  display: inline-block;
  z-index: 20;
  position: relative;
  max-width: 800px;
  padding: 10px 30px 25px;
  border-radius: 10px;
  background: #fff;
  box-shadow: 0 0 30px rgba(0, 0, 0, .6);
  vertical-align: middle;
top:20%;
}
}