@charset "utf-8";
/**モーダル用**/

.modal {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 999999;
  background: rgba(0, 0, 0, 0.5);
}

.modal-wrap {
  height: 100%;
  padding: 0 30px;
  overflow: auto;
  -webkit-overflow-scrolling: touch;
}

.modal-content {
  height: 100%;
    max-width: 1080px;
  margin: 0 auto;
}

.modal-table-wrap {
  display: table;
  table-layout: fixed;
  height: 100%;
  width: 100%;
}

.modal-table-cell {
  display: table-cell;
  padding: 80px 0 60px;
  vertical-align: middle;
}

.modal-content-box {
  position: relative;
  margin: 0 auto;
}

.modal-content-inner {
  padding: 0;
}

.modal-btn-close {
  position: absolute;
  top: -40px;
  right: 0;
  z-index: 9;
  height: 30px;
  width: 30px;
  cursor: pointer;
}
.modal-btn-close span {
  display: block;
  background: #fff;
  height: 2px;
  width: 30px;
}
.modal-btn-close .bar01 {
  -moz-transform: translateY(15px) rotate(-45deg);
  -ms-transform: translateY(15px) rotate(-45deg);
  -webkit-transform: translateY(15px) rotate(-45deg);
  transform: translateY(15px) rotate(-45deg);
}
.modal-btn-close .bar02 {
  -moz-transform: translateY(13px) rotate(45deg);
  -ms-transform: translateY(13px) rotate(45deg);
  -webkit-transform: translateY(13px) rotate(45deg);
  transform: translateY(13px) rotate(45deg);
}

.udonbase_modal01{
	width: 100%;
	height: auto;
    position: relative;
	background: none;
    margin: 20px auto;
    padding: 0;

}

.udonbase_modal01 img{
	width: 100% !important;
}
.udonbase_modal02 img{
	width: 100% !important;
}

.udonbase_modal02{
	width: 100%;
	height: auto;
    margin: 20px auto;
    padding: 0;
    position: relative;
	background: none;
}

.udonbase_modal01 .udonbase_close,
.udonbase_modal02 .udonbase_close{
	position: absolute !important;
    width: 42px !important;
    right: 0;
    top: -80px;
    height: auto;
    padding: 0;
    opacity: 1;
    cursor: pointer;
    border-radius: 0 !important;
}

.udonbase_close:hover{
	opacity: 0.8;
}

.udonbase_close.mfp-close:active{
	   top: -80px;
}
.job_image_box{
	display: flex;
	justify-content: space-between;
}
.job_image_box div{
	width: 48%;
}
.job_image_box img{
	width: 100%;
}
#news-detail .modal-open img,
#news-detail .modal-open2 img{
  width: 90%;
}
.modal-content{
  max-width: 900px;
}
@media only screen and (max-width: 768px) {
  .modal-wrap {
    padding: 0 3.125%;
  }

  .modal-content-inner {
    padding: 0;
  }
  .modal-table-cell{
  	padding-top: 0;
  }

	.udonbase_modal01,
	.udonbase_modal02{
	  	padding: 0px;
			width: 100%;
			height: auto;
			margin:40px auto 100px;
	}
	.udonbase_modal01 .udonbase_close,
	.udonbase_modal02 .udonbase_close{
	    right: 0;
	    top: auto;
	    left: 0;
	    bottom: -90px;
	    margin: auto;
	}
	.udonbase_modal01 .udonbase_close.mfp-close:active,
	.udonbase_modal02 .udonbase_close.mfp-close:active{
	    top: auto;
	}
}