/*
* Modal-org V1.0.0
* Copyright 2020, desafino
* Free to use under the MIT license.
*/

/* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}*/

.modal-org {
	display: none;
    height: 100vh;
    position: fixed;
    top:0;
    width: 100%;
    z-index:1000;
}

.modal-bg {
    background: rgba(0,0,0,0.8);
    height: 100vh;
    width: 100%;
}

.modal-org-cont {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    -webkit-transform: translate(-50%, -50%);
    -ms-transform: translate(-50%, -50%);
  margin: 0 auto;
  width: auto;
  max-height: calc(100vh - 10%);
  border-bottom: #001f6f solid 30px;
  border-radius:15px;
  background-color:rgba(255,255,255,1);
  overflow-y: scroll;
}

@media screen and (max-width: 750px) {
	.modal-org-cont {
          width: 95%;
}
}

/*モダールインナー*/

.modal-org-inner {
    margin: 0 15px 30px 15px;
    text-align: center;
    /*max-height: 90%;*/
}

p.modal-cap {
	font-size: 1.2rem;
	color: #000;
	margin: 10px 10%;
    text-align: left;
}

.modal-org-inner img {
    max-width: 90%;
    height: auto;
}

/*モダールタイトル*/
.modal-title {
    background-color: #001f6f;
    padding: 0.5em;
    margin: 0;
    text-align: center;
    position: relative;
}

.modal-title p {
    color: #fff;
    font-size: 1.3rem;
    padding: 0;
    margin: 0.5em 0;
}

.modal-title h2 {
    color: #fff;
    margin: 0.5em;
    pading: 0 0 0.5em 0;
}

/*閉じるボタン*/
.close-mod {
    color: #fff;
    position: absolute;
    top: 10%;
    left: 1.5%;
    z-index: 1000;
}

/*画像*/

.mod-pic {
    margin: 2em;
}


