@charset "UTF-8";
.modal-open{
	text-decoration:underline;
	cursor: pointer;
}


.modal__title {
    color: #162a87;
    line-height: 2.5;
    text-align: center;
	border-bottom:#162a87 7px solid;
	font-size:2em;
	display:inline-block;
	padding-left:1em;
	padding-right:1em;
	margin-bottom:1em;
}
.modal p{
	font-size:1.5em;
	text-align: left;
	line-height:1.5;
	margin-bottom:1em;
}
.modal .company {
    font-size: 1.4em;
    width: 100%;
	margin-bottom:2em;
    border-bottom: 1px solid #cccccc;
}
.modal .company dl{
	display: block;
}
.modal .company dt,
.modal .company dd{
	padding:0.5em;
}
.modal .company dt {
	background-color:#f0f0f0;
    border-top: 1px solid #cccccc;
	display: block;
}
.modal .company dd {
	text-align:left;
	display:inline-block;
	width:auto;
}
@media screen and (max-width: 750px) {
.modal__title {
/*	font-size:2em; ×2.15 */
	font-size:4.3vw;
	border-bottom:#162a87 4px solid;
}
.modal p{
/*	font-size:1.5em; ×2.15 */
	font-size:3.25vw;
}
.modal .company {
/*    font-size: 1.4em; ×2.15 */
	font-size:3.01vw;
}

}

/*
Pure CSS modal box
Author: Jorge Chavez
Github: http://github.com/jorgechavz
*/


.modal .checkbox{
  display: none;
}

/* Gray background */
.modal .modal-overlay{
  opacity: 0;
  transition: all 0.3s ease;
  width: 50%;
  position: absolute;
  width: 100%;
  height: 100%;
  position: fixed;
  top: 0;
  left: 0;
  z-index: -100;
  transform: scale(1);
  display: none;
  background-color: rgba(0,0,0,0.7);
}

/* Box */
.modal .modal-wrap{
  background-color: #ddd;
  background-color: #fff;
  box-shadow: 3px 3px 3px rgba(0,0,0,0.2);
  padding: 40px 50px;
  width: 60%;
  margin: 20px auto;
  align-self: flex-start;
  border-radius: 2px;
  transition: all 0.5s ease;
}
.modal .modal-wrap.small{
  width: 30%;
}
.modal .modal-wrap.full{
  width: 100%;
  height: 100%;
}

.modal .modal-wrap.a-center {
  align-self: center;
}
.modal .modal-wrap.from-left {
  transform: translateX(-100%);
}
.modal .modal-wrap.from-right {
  transform: translateX(100%);
}
.modal .modal-wrap.from-top {
  transform: translateY(-100%);
}
.modal .modal-wrap.from-bottom {
  transform: translateY(100%);
}


/* Close button */
.modal .modal-overlay .close{
  position: absolute;
  right: 10px;
  top: 10px;
  font-size: 40px;
  width: 30px;
  height: 30px;
  color: #282c34;
  display:inline-block;
  border-radius:50%;
  overflow:hidden;
  background-color:#fff;
  border:#ccc 2px solid;
  line-height:0.1;
}

.modal .modal-overlay .close:hover{
  cursor: pointer;
  color: #4b5361;
}


 .modal .o-close {
   width: 100%;
   height: 100%;
   position: fixed;
   left: 0;
   top: 0;
   z-index: -100;
 }

.modal input:checked ~ .o-close {
  z-index: 9998;
}
.modal input:checked ~ .modal-overlay{
  transform: scale(1);
  opacity:1;
  z-index: 9997;
  overflow: auto;
  display: flex;
  animation-duration: 0.5s;
  animation-name: fade-in;
  -moz-animation-duration: 0.5s;
  -moz-animation-name: fade-in;
  -webkit-animation-duration: 0.5s;
  -webkit-animation-name: fade-in;
}
.modal input:checked ~ .modal-overlay .modal-wrap {
  transform: translateY(0);
  z-index: 9999;
}

/* Responsive Design */
/* Tablet size */
@media (max-width: 800px){
  .modal .modal-wrap {
    width: 80%;
    padding: 20px;
  }
}

/* Phone size */
@media (max-width: 500px){
  .modal .modal-wrap {
    width: 90%;
  }
}

/* Fadein from display:none */
@keyframes fade-in {
  0% {
    display: none;
    opacity: 0;
  }
  1% {
    display: flex;
    opacity: 0;
  }
  100% {
    display: flex;
    opacity: 1;
  }
}

@-moz-keyframes fade-in {
  0% {
    display: none;
    opacity: 0;
  }
  1% {
    display: flex;
    opacity: 0;
  }
  100% {
    display: flex;
    opacity: 1;
  }
}

@-webkit-keyframes fade-in {
  0% {
    display: none;
    opacity: 0;
  }
  1% {
    display: flex;
    opacity: 0;
  }
  100% {
    display: flex;
    opacity: 1;
  }
}
