@charset "UTF-8";

#overlay {
  width: 100%;
  height: 100%;
  position: fixed;
  top: 0;
  left: 0;
  background: rgba(0, 0, 0, 0.65);
  display: none;  /* HTML要素を非表示にする */
  z-index: 30000000000;
 }

#modalWindow {
  max-width: 1000px;
  position: fixed;
  display: none; 
  z-index: 30000000000;
  text-align: center;
  color: #fff;
}

.modal-link{
  padding: 40px;
  background: #fff;
  color: #111;
  font-size: 1.6rem;
}
.modal-link h3{
  margin-bottom: .35em;
  font-size: 3rem;
}

.modal-link .btn{
}
.modal-link .btn a{
  background:  #E40011 url(../img/arw_l_w.png) no-repeat right 7px center;
  background-size: auto 22px;
  border-radius: 4px;
  padding: 0.75em 1em;
  font-size: 2rem;
  color: #fff;
display: block;
font-weight: bold;

}
.modal-link .m-request a img{
  margin-right: .25em;
  width: 15px;
  height: 20px;
}
.modal-link ul{
  display: flex;
  justify-content: space-between;
}
.modal-link li{
  width: 276px;
}

.m-works{
  margin-bottom: 3em;
}

.m-bnr{
  font-size: 0;
  line-height: 0;
}
.m-bnr img{
  width: 100%;
  height: auto;
}

#close{
	margin: 20px 0 0;
	padding: .5em 3em;
	border: solid 1px rgba(255,255,255,.75);
	background: transparent;
	color: #fff;
}

  @media only screen and (max-width: 767px) {
  #modalWindow {
    width: 90%;
    height: auto;
  }
  .modal-link{
    padding: 15px;
    font-size: 1.3rem;
  }
  .modal-link h3{
    margin-bottom: .5em;
    font-size: 6vw;
  }

  .modal-link .btn{
  }
  .modal-link .btn a{
    background:  #E40011 url(../img/arw_l_w.png) no-repeat right 7px center;
    background-size: auto 22px;
    border-radius: 4px;
    padding: 0.5em 1em;
    font-size: 5vw;
    color: #fff;
  display: block;
  font-weight: bold;

  }
  .modal-link .m-request a img{
    margin-right: .25em;
    width: 15px;
    height: 20px;
  }
  .modal-link ul{
    display: block;
  }
  .modal-link li{
    margin-top: 2vw;
    width: 100%;
  }

  .m-works{
    margin-bottom: 8vw;
  }

  .m-bnr img{
    width: 100%;
    height: auto;
  }
}