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

/*******　モーダルウィンドウの管理　*******/

/* ---------- 学習指導要領の改訂について（モーダル） ---------- */

.D-modal-open {
  color: #367ABD;
  text-decoration: underline;
}

.D-modal-open:hover {
  cursor: pointer;
  opacity: .8;
}

.D-modal-wrap {
  z-index: 2;
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  overflow: auto;
  padding: 0;
}

#print-description {
  display: none;
  max-width: 600px;
  width: auto;
  margin: 100px auto;
  padding: 5px 30px 60px 30px;
  border-radius: 15px;
  background: #ffffff;
}

/* 背景用 */

.D-modal-overlay {
  z-index: 1;
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 120%;
  background-color: rgba(0, 0, 0, 0.75);
}

.lock {
  overflow: hidden;
}

#D-closebatu {
  display: block;
  margin: 0px -25px 0 auto;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  text-align: center;
  font-size: 25px;
  background: rgba(0, 0, 0, .5);
  color: #ffffff;
  border: 2px solid #ffffff;
}

#D-closebatu:hover {
  cursor: pointer;
  background: #000000;
}

#print-description h4 {
  font-size: 24px;
}

#print-description p {
  font-size: 16px;
}

#print-description .underline-p {
  margin-top: 3em;
  margin-bottom: 0.5em;
  font-size: 16px;
  text-decoration: underline;
}

#print-description span {
  font-size: 14px;
}

@media (max-width:500px) {
  #print-description {
    padding: 5px 30px 40px 30px;
  }

  #print-description h4 {
    font-size: 20px;
  }

  #print-description .underline-p {
    margin-top: 1em;
    margin-bottom: 0.2em;
  }
}
