@charset "UTF-8";
/* CSS Document */

.modal {
  display: none;
  height: 100vh;
  position: fixed;
  top: 0;
  width: 100%;
  z-index: 100;
  overflow: scroll;
  font-size: 0.7em;
}
.modal__bg {
  background: rgba(0, 0, 0, 0.8);
  height: 100vh;
  position: absolute;
  width: 100%;
}
.modal__content {
  background: #fff;
  left: 50%;
  padding: 40px;
  position: absolute;
  top: 50%;
  transform: translate(-50%, -50%);
  width: 60%;
  overflow: scroll;
  height: auto;
  max-height: 80%;
}

@media only screen and (max-width: 786px) {
  .modal__content {
    padding: 20px;
    width: 80%;
  }
}

.modal__content h2 {
  position: relative;
  padding: 5px 0;
  /* background: #009FB9; */
  color: #2a2a2a;
  font-size: 1.5em;
  line-height: 1.3;
  z-index: -2;
  /* text-align:center; */
  font-weight: bold;
  margin-bottom: 20px;
}

.modal__content h4 {
  font-size: 1.4em;
  color: #352b5e;
  line-height: 1.3;
  font-weight: bold;
  margin-bottom: 15px;
}

.modal__content .code_time {
  font-weight: bold;
  color: #e42d04;
  background: #fff;
  font-size: 1.5em;
  vertical-align: middle;
  margin-left: 0;
  display: inline-block;
  margin-right: 10px;
}

.modal__content .prf_headbox {
  overflow: hidden;
}

.modal__content figure {
  float: right;
  width: 120px;
  margin-left: 20px;
  margin-bottom: 20px;
}
@media only screen and (max-width: 786px) {
  .modal__content figure {
    width: 60px;
  }
}

.modal__content .prf_headbox h3 {
  font-size: 1.5em;
  font-weight: bold;
  margin-top: 15px;
  color: #c85004;
}
.modal__content .prf_headbox .com_name {
  font-size: 1.3em;
  font-weight: bold;
  line-height: 1.5em;
  margin-bottom: 20px;
  text-align: left;
}
.modal__content .prf_headbox .com_name_s {
  font-size: 1.2em;
  font-weight: bold;
  line-height: 1.5em;
  text-align: left;
}
.modal__content .prf_headbox .com_name_l {
  font-size: 1.4em;
  font-weight: bold;
  line-height: 1.5em;
  text-align: left;
  color: #003592;
}

.modal__content ul {
  margin: 0 auto 20px auto;
}
.modal__content ul li {
  padding-left: 1em;
  text-indent: -1em;
  line-height: 1.5em;
  margin-bottom: 0.5em;
}
.modal__content ul li:before {
  content: "● ";
  color: grey;
}

.modal__content ol.list_no li {
  font-size: 1em;
}

.modal__content dt {
  width: 4em;
  float: left;
  text-align: center;
  margin: 0;
}
.modal__content dd {
  padding-left: 4.5em;
  margin: 0;
}

.modal__content .imgbox {
  align-items: flex-end;
  display: -moz-box;
  display: -ms-box;
  display: -webkit-flexbox;
  display: -moz-flexbox;
  display: -ms-flexbox;
  display: -webkit-flex;
  display: -moz-flex;
  display: -ms-flex;
  display: flex;
  -webkit-box-lines: multiple;
  -moz-box-lines: multiple;
  -webkit-flex-wrap: wrap;
  -moz-flex-wrap: wrap;
  -ms-flex-wrap: wrap;
  flex-wrap: wrap;
  flex-direction: row;
}

.modal__content .imgbox div {
  margin: 5px;
  width: calc(100% / 4.3);
}

.modal__content .photo_2com {
  display: flex;
  justify-content: space-between;
}

.modal__content .photo_2com_innder {
  width: 45%;
}

.modal__content .photo img {
  border-radius: 15px;
}

@media only screen and (max-width: 786px) {
  .modal__content .photo_2com {
    display: block;
  }
  .modal__content .photo_2com_innder {
    width: 100%;
    overflow: hidden;
  }
}

.js-modal-close {
  display: flow-root;
}

.js-modal-close p {
  font-size: 1em;
  text-align: center;
  margin-top: 0.2em;
  vertical-align: bottom;
  padding: 0.2em 0.5em;
  line-height: 1.4em;
  background-color: #6fa6e8;
  margin-bottom: 20px;
  float: right;
}

.js-modal-close p:hover {
  background-color: #bed3e8;
  text-decoration: none !important;
}

.material-icons {
  display: inline-block;
  vertical-align: middle;
}

.material-icons.small-size {
  font-size: 16px;
}

a.prof_btn {
  background-color: #0ba9f3;
  display: block;
  padding: 0.2em 0.5em;
  color: #fff;
  font-size: 0.8em;
  margin-top: 10px;
  max-width: 13em;
  width: 80%;
  border-radius: 8px;
  text-align: center;
  line-height: 1.3em;
  position: absolute;
  bottom: 1em;
  left: 0;
  right: 0;
  margin: 0 auto;
}

.js-modal-close a {
  background-color: #249efb;
  display: block;
  color: #fff;
  font-size: 0.7em;
  margin-top: 10px;
  border-radius: 8px;
  text-align: center;
  width: 9em;
  line-height: 1em;
  font-weight: bold;
  padding: 0.6em 0.5em;
  font-size: 1em;
  /* float: right; */
  margin-left: auto;
  margin-right: auto;
}

a.prof_btn:hover,
.js-modal-close a:hover {
  background-color: #352b5e;
  text-decoration: none;
}
