body {
  overflow-x: hidden;
}

nav {
  background-color: #fff;
}

.clearfix {
  overflow: hidden;
}

.kougakunen_a {
  text-align: center;
  display: block;
  width: 90%;
  margin: 0 auto;
  margin-top: 14px;
  margin-bottom: 22px;
  border: 1px solid #888;
}

.kougakunen_img {
  width: 100%;
}

embed,
img {
  vertical-align: middle;
}

* {
  font-size: 12px;
}

a:link {
  text-decoration: underline;
  color: #335cad;
}

a:active {
  text-decoration: underline;
}

a:visited {
  text-decoration: underline;
  color: #335cad;
}

a:hover {
  text-decoration: none;
  color: #2eb689;
}

h2 {
  width: 950px;
  margin: auto;
  margin-bottom: 30px;
}

#pagetop {
  padding: 10px 25px;
  text-align: center;
  clear: both;
  height: 20px;
}

#pagetop .left {
  float: left;
}

#pagetop .right {
  float: right;
}

.left {
  clear: both;
  float: left;
  margin-left: 25px;
}

.right {
  margin-left: 515px;
}

.img {
  float: left;
  display: inline;
}

.text {
  margin-left: 180px;
}

.box_1 {
  width: 460px;
  margin-bottom: 30px;
  position: relative;
  margin-left: 25px;
  top: 0px;
  right: -40px;
}

.box_2 {
  width: 460px;
  margin-bottom: 30px;
  position: relative;
  margin-left: 25px;
  top: 130px;
  right: 350px;
}

.box_3 {
  width: 460px;
  margin-bottom: 30px;
  position: relative;
  margin-left: 25px;
  top: -20px;
  right: -25px;
}

.clearfix::after {
  clear: both;
  content: '';
  display: block;
}

#kodomomuke {
  background-image: url('../img/class_child/kodomomuke.png');
  background-repeat: no-repeat;
  width: 1000px;
  height: 700px;
  position: relative;
}

#saisho {
  position: absolute;
  color: #009fe8;
  font-size: 23px;
  font-weight: bold;
  right: 5%;
  top: 45%;
}

#kodomomuke h1 {
  color: #fff;
  font-size: 68px;
  font-weight: bold;
  text-shadow: 2px 2px 1px #009fe8, -2px 2px 1px #009fe8, 2px -2px 1px #009fe8,
    -2px -2px 1px #009fe8;
  position: relative;
  top: 58%;
}

.tag li {
  margin-left: 20px;
  float: left;
}

.tag {
  margin-left: 96px;
  position: absolute;
  bottom: 0;
}

.kotoba_main1 {
  font-size: 40px;
  color: #009fe8;
  line-height: 40px;
  padding-top: 80px;
  font-weight: bold;
}

.dot {
  letter-spacing: -25px;
  color: #009fe8;
  font-size: 45px;
  padding-right: 20px;
  line-height: 0px;
  margin-top: 20px;
}

.kotoba {
  text-align: center;
  height: 300px;
}

.kotoba p {
  display: inline-block;
}

.kotoba_main2 {
  margin-top: 30px;
}

#babymuke {
  background-image: url('../img/class_child/babymuke.png');
  background-repeat: no-repeat;
  height: 800px;
  width: 1000px;
}

.center {
  text-align: center;
}

.inline {
  display: inline-block;
}

#babymuke h3 {
  position: relative;
  top: 30px;
  right: 375px;
  font-size: 30px;
  color: white;
}

#babymuke h2 {
  font-size: 70px;
  position: relative;
  color: #f09bad;
  left: 244px;
  font-weight: bold;
}

.baby_point {
  position: relative;
  top: 62px;
  left: 401px;
  display: flex;
}

.modal-overlay {
  z-index: 2;
  display: none;
  position: fixed;
  top: 10px;
  left: 0;
  width: 100%;
  height: 100vh;
  background-color: rgba(0, 0, 0, 0.5);
}

a.modal-open:hover {
  cursor: pointer;
}

.modal-content {
  position: fixed;
  display: none;
  z-index: 3;
}

.modal-content img {
  width: auto;
  max-height: 75vh;
}

.modal-content p {
  max-width: 565px;
}

#modal1 {
  display: none;
  width: 400px;
  height: 400px;
  border-radius: 50%;
  background-color: #f09bad;
}

.modal_title1 {
  color: #fff362;
  text-align: center;
  margin-top: 10px;
}

.modal_title1 span {
  display: inline-block;
  width: 145px;
  height: 60px;
  color: #f09bad;
  background-color: #fff362;
  text-align: center;
  font-size: 20px;
  font-weight: bold;
  border-radius: 5px;
}

.modal_detail {
  color: white;
  font-size: 15px;
  text-align: center;
}

.modal-close {
  color: white;
  text-decoration: underline;
  font-size: 12px;
  cursor: pointer;
}

#modal2 {
  display: none;
  width: 400px;
  height: 400px;
  border-radius: 50%;
  background-color: #f09bad;
}

#modal3 {
  display: none;
  width: 400px;
  height: 400px;
  border-radius: 50%;
  background-color: #f09bad;
}

#modal4 {
  display: none;
  width: 400px;
  height: 400px;
  border-radius: 50%;
  background-color: #aacc03;
}

.modal_title2 {
  color: #fff362;
  text-align: center;
  margin-top: 10px;
}

.modal_title2 span {
  display: inline-block;
  width: 145px;
  height: 60px;
  color: #aacc03;
  background-color: #fff362;
  text-align: center;
  font-size: 20px;
  font-weight: bold;
  border-radius: 5px;
}

.modal_detail2 {
  color: white;
  font-size: 15px;
  text-align: center;
}

.modal-close {
  color: white;
  text-decoration: underline;
  font-size: 12px;
  cursor: pointer;
}

#modal5 {
  display: none;
  width: 400px;
  height: 400px;
  border-radius: 50%;
  background-color: #aacc03;
}

#modal6 {
  display: none;
  width: 400px;
  height: 400px;
  border-radius: 50%;
  background-color: #aacc03;
}

#modal7 {
  display: none;
  width: 400px;
  height: 400px;
  border-radius: 50%;
  background-color: #5a97d1;
}

.modal_title3 {
  color: #fff362;
  text-align: center;
  margin-top: 10px;
}

.modal_title3 span {
  display: inline-block;
  width: 160px;
  height: 60px;
  color: #5a97d1;
  background-color: #fff362;
  text-align: center;
  font-size: 20px;
  font-weight: bold;
  border-radius: 5px;
}

.modal_detail {
  color: white;
  font-size: 15px;
  text-align: center;
}

.modal-close {
  color: white;
  text-decoration: underline;
  font-size: 12px;
  cursor: pointer;
}

#modal8 {
  display: none;
  width: 400px;
  height: 400px;
  border-radius: 50%;
  background-color: #5a97d1;
}

#modal9 {
  display: none;
  width: 400px;
  height: 400px;
  border-radius: 50%;
  background-color: #5a97d1;
}

.baby_detail {
  position: relative;
  top: 48px;
  left: 234px;
}

.baby_footer {
  position: relative;
  top: 120px;
}

.baby_p1 {
  color: #f09bad;
  position: relative;
  left: 60px;
  font-size: 20px;
}

.baby_p2 {
  color: #f09bad;
  position: relative;
  top: 20px;
  text-align: left;
  left: 513px;
  font-size: 20px;
  font-weight: bold;
}

#yojimuke h3 {
  position: relative;
  top: 30px;
  right: 375px;
  font-size: 30px;
  color: white;
}

#yojimuke h2 {
  font-size: 70px;
  position: relative;
  color: #aacc03;
  left: 90px;
  font-weight: bold;
  top: -53px;
}

.yoji_detail {
  position: relative;
  top: 60px;
  left: 245px;
}

.yoji_footer {
  position: relative;
  top: 140px;
}

.yoji_p1 {
  color: #aacc03;
  position: relative;
  font-size: 20px;
  top: -51px;
  left: -5px;
}

.yoji_p2 {
  color: #aacc03;
  position: relative;
  top: -54px;
  text-align: left;
  left: 392px;
  font-size: 20px;
  font-weight: bold;
}

#yojimuke {
  background-image: url('../img/class_child/yojimuke.png');
  background-repeat: no-repeat;
  height: 800px;
  width: 1000px;
}

#juniormuke {
  background-image: url('../img/class_child/juniormuke.png');
  background-repeat: no-repeat;
  height: 800px;
  width: 1000px;
}

#juniormuke h3 {
  position: relative;
  top: 30px;
  right: 375px;
  font-size: 30px;
  color: white;
}

#juniormuke h2 {
  font-size: 70px;
  position: relative;
  color: #5a97d1;
  left: 240px;
  font-weight: bold;
  top: -28px;
}

.junior_detail {
  position: relative;
  top: 56px;
  left: 219px;
}

.junior_footer {
  position: relative;
  top: 140px;
}

.junior_p1 {
  color: #5a97d1;
  position: relative;
  left: 33px;
  font-size: 20px;
  top: -17px;
}

.junior_p2 {
  color: #5a97d1;
  position: relative;
  top: -12px;
  text-align: left;
  left: 475px;
  font-size: 20px;
  font-weight: bold;
}

#senshumuke {
  background-image: url('../img/class_child/senshumuke.png');
  background-repeat: no-repeat;
  height: 800px;
  width: 1000px;
}

#senshumuke h3 {
  position: relative;
  top: 50px;
  right: 376px;
  font-size: 30px;
  color: white;
}

#senshumuke h2 {
  font-size: 70px;
  position: relative;
  color: #f29739;
  left: 279px;
  font-weight: bold;
  top: 20px;
}

.senshu_footer {
  position: relative;
  top: 340px;
}

.senshu_p1 {
  color: #f29739;
  position: relative;
  left: 145px;
  font-size: 20px;
  top: 30px;
}

.senshu_p2 {
  color: #f29739;
  position: relative;
  top: 27px;
  text-align: left;
  left: 582px;
  font-size: 20px;
  font-weight: bold;
}
