@media all and (-ms-high-contrast: none) {

  /* ここに書く */
  .gnav {
    margin-top: -1px;
  }

  .gnav ul {
    margin-left: -50px;
  }

  .naka1, .naka2, .naka3 {
    width: 238px !important;
  }

  .naka3 li {
    margin-left: -40px !important;
  }

  .naka2 li {
    margin-left: -40px !important;
  }

  .naka1 li {
    margin-left: -40px !important;
  }

  .list ul {
    margin: 0 auto;
  }

  .list li {
    margin-left: -40px !important;
  }

  .footshita {
    padding-top: 240px !important;
  }

  footer {
    height: 540px !important;
  }
}
footer {
    margin-top: -111px!important;
}
  .footc a {
  text-decoration: none !important;
  color: white;
}
.title2 {
  margin-top: 4px;
}

.title2 a img {
  width: 250px;
}

.gnav {
  padding-top: 7px;
  float: right;
  display: flex;
  height: 2rem;
  white-space: nowrap;
}

#menu {
  font-weight: 500 !important;
  font-family: 'M PLUS Rounded 1c', sans-serif;
  z-index: 80;
  height: 52px;
  width: 100%;
  position: absolute;
  background-color: #003894;
  padding: 0px 0px;
}

#page {
  height: 550px;
  background-image: url("../../img4/TOP6.png");
  background-size: 1085px;
  background-repeat: no-repeat;
  background-position-x: center;
}

.pagetop {

  position: fixed;
  bottom: 20px;
  right: 50px;
  z-index: 100;
}

.pagetop img {
  width: 137px;
}

.hata {
  z-index: 10;
  left: 50%;
  transform: translateX(-50%);
  -webkit-transform: translateX(-50%);
  -ms-transform: translateX(-50%);
  position: absolute;
  margin-top: -15px;
}

.hata img {
  height: 206px;
}

.obi {
  left: 50%;
  transform: translateX(-50%);
  -webkit-transform: translateX(-50%);
  -ms-transform: translateX(-50%);
  position: absolute;
  background-color: white;
  height: 870px;
  margin-left: -150px;
  margin-top: 225px;
  width: 27px;
}

.obimoji {
  padding-left: 6px;
  padding-top: 350px;
  line-height: 20px;
  color: #656464;
  font-size: 17px;
  font-weight: 500 !important;
  font-family: 'M PLUS Rounded 1c', sans-serif;
  transform: rotate(0.03deg);         /* シャギーを防ぐ指定 */
}

.nav {
  margin: 0 auto;
  font-size: 14px;
  width: 1080px;
  list-style: none;
}

.title2 a {
  text-decoration: none;
  color: white !important;
  float: left;
  margin-top: 2px;
  font-size: 19px;
  text-align: left !important;
  width: 200px !important;
}

.wide {
  margin-left: -10px !important;
}
.gnav li{
       transform: rotate(0.03deg);         /* シャギーを防ぐ指定 */
}
.gnav li li {
       transform: rotate(0.03deg);         /* シャギーを防ぐ指定 */
  height: 0;
  overflow: hidden;
  transition: 0s;
}
.gnav li ul{
    padding-top: 0.5rem;
}


.gnav li:hover>ul>li:hover {
  background-color: #7A7BB0;
}

.gnav li:hover>ul>li {
  width: 100%;
  height: 2rem;

  overflow: visible;
  background-color: #003894;
}

.gnav li:hover>ul>li.high {

  width: 100%;
  height: 3rem;
  background-color: #003894;
  overflow: visible;
}

.gnav li:hover>ul>li.high a {
  padding-top: 0.6rem;

  line-height: 1.2em;
  background-color: #003894;
}

.gnav li:hover>ul>li.high:hover a {
      height: 3rem;
  background-color: #7A7BB0;
}

.gnav>li {
  /*親階層のみ幅を25%にする*/
}

/*全てのリスト・リンク共通*/
li.wide4 {
  margin-right: 7px !important;
}

li.wide3 {
  width: 157px !important;
  margin-right: -4px !important;
}

.gnav li {
  margin-right: 18px;
  list-style: none;
  position: relative;
}

.gnav li li {
  font-size: 12px;
}

.gnav li a {
  border-right: 0px solid #eee;
  color: #fff;
  display: block;
  height: 2rem;
  line-height: 2rem;
  text-align: center;
  text-decoration: none;
  width: 100%;
}

ul {
  list-style: none;
}

.tume {
  letter-spacing: -1px;
}

.tume2 {
  letter-spacing: -2px;
}

.hidari {
  padding-left: 3.3em;
}

.hidari2 {
  padding-left: 1em;
}

.hidari2-2 {
  padding-left: 0.5em;
}

.center1 {
  margin-left: 10px;
}

.center2 {
  margin-left: 75px;
}

.center3 {
  margin-left: 235px;
}

.center5 {
  margin-left: 225px;
}

.flower {
  left: 50%;
  transform: translateX(-50%);
  -webkit-transform: translateX(-50%);
  -ms-transform: translateX(-50%);
  position: absolute;
  margin-top: -190px;
}

.flower img {
  width: 912px;
}

body {
     overflow-x: hidden;
  background-image: url("../../img3/haikeibase.png");
  background-size: 361px;
  background-repeat: repeat;
  background-position-x: center;

}



.list a {
  text-decoration: none !important;
  color: white;
}

.footc {
  width: 196px;
  color: white;
  position: absolute;
  margin-top: -23px;
  left: 50%;
  transform: translateX(-50%) rotate(0.03deg);
  background-color: #003894;
}



.footgazo {
  float: left;
  margin-right: 22px;
}

.footgazo:last-child {
  margin-right: 0;
}

.footgazo img {
  width: 147px;
}

.list li {
  margin-top: 10px;
}

.tume li {
  margin-bottom: -10px !important;
}

.list {
  font-family: 'M PLUS Rounded 1c', sans-serif;
  transform: rotate(0.03deg);         /* シャギーを防ぐ指定 */
  color: white;
  font-size: 14px;
  width: 135px;
  float: left;
  margin-right: 38px;
}

.list:last-child {
  width: 135px;
  float: left;
  margin-right: 0px;
}


.small {
  font-size: 10px;
}

.footshita {
  font-size: 7px;
  padding-top: 215px;
  color: white;
  text-align: center;
}

#page1 {
  padding-top: 30px;
  height: 1095px;
  background-image: url("../../img4/haikei1-2.png");
  background-size: 1085px;
  background-repeat: no-repeat;
  background-position-x: center;
}

#page2 {
  height: 100px;
  background-image: url("../../img4/haikei2.png");
  background-size: 1085px;
  background-repeat: no-repeat;
  background-position-x: center;
}

#page4 {
  height: 1519px;
  background-image: url("../../img3/haikei4.png");
  background-size: 1085px;
  background-repeat: no-repeat;
  background-position-x: center;
}

body {
  margin: 0;
}

.sen2 {
  border: none;
  border-top: 4px dotted #5EB7E8;
  width: 100%;
  margin-left: 2px;
}

.naka1 li {
  margin-top: 0px;
  text-align: center;
}

.naka1 {
  width: 238px;
  float: left;
  font-size: 18px !important;
  font-family: 'M PLUS Rounded 1c', sans-serif;
  transform: rotate(0.03deg);         /* シャギーを防ぐ指定 */
  font-weight: 500;
}

.naka1 ul {
  font-size: 17px;
  background-color: #D3EDFB;
}

.naka1 li {
  padding: 10px;
  min-height: 56px;
  text-align: left !important;
  border-top: 2px dotted white;
}

.naka1 li:first-child {
  border-top: 0px dotted white;
}

.naka1 li {
  margin-top: 0px;
  text-align: center;
}

.naka2 {
  float: left;
  margin-left: 18px;
  font-size: 18px !important;
  font-family: 'M PLUS Rounded 1c', sans-serif;
  transform: rotate(0.03deg);         /* シャギーを防ぐ指定 */
  font-weight: 500;
  width: 238px;
}

.naka2 ul {
  font-size: 17px;
  background-color: #FADCE9;
}

.naka2 li {
  padding: 10px;
  min-height: 57px;
  text-align: left !important;
  border-top: 2px dotted white;
}

.naka2 li:first-child {
  border-top: 0px dotted white;
}

.naka3 {
  float: left;
  margin-left: 18px;
  font-size: 18px !important;
  font-family: 'M PLUS Rounded 1c', sans-serif;
  transform: rotate(0.03deg);         /* シャギーを防ぐ指定 */
  font-weight: 500;
  width: 238px;
}

.naka3 ul {
  font-size: 17px;
  background-color: #D5EAD8;
}

.naka3 li {
  padding: 10px;
  min-height: 57px;
  text-align: left !important;
  border-top: 2px dotted white;
}

.naka3 li:first-child {
  border-top: 0px dotted white;
}

.e1-1 {
  text-align: right;
}

.e1-1 img {
  width: 70px;
}

.e1-3 img {
  width: 50px;
}

.e1-3 {
  position: absolute;
  margin-top: -30px;
  margin-left: 150px;
}

.e1-2 {
  position: absolute;
  margin-top: -50px;
  margin-left: 150px;
}

.e1-2 img {
  width: 36px;
}

.e2-1 {
  position: absolute;
  margin-top: -0px;
  margin-left: 170px;
}

.e2-1 img {
  width: 36px;
}

.e2-2 {
  position: absolute;
  margin-top: -30px;
  margin-left: 170px;
}

.e2-2 img {
  width: 36px;
}

.e2-3 {
  position: absolute;
  margin-top: -50px;
  margin-left: 170px;
}

.e2-3 img {
  width: 41px;
}

.e3-1 {
  position: absolute;
  margin-top: -10px;
  margin-left: 170px;
}

.e3-1 img {
  width: 21px;
}

.e3-2 {
  position: absolute;
  margin-top: -10px;
  margin-left: 170px;
}

.e3-2 img {
  width: 51px;
}

.e3-3 {
  position: absolute;
  margin-top: -0px;
  margin-left: 160px;
}

.e3-3 img {
  width: 60px;
}

li.h1-3 {
  height: 217px;
}

li.h1-4 {
  height: 113px;
}

li.h2-6 {
  height: 113px;
}

li.h3-3 {
  height: 190px;
}

li.h3-6 {
  height: 113px;
}

.zero img {
  width: 238px;
}

li.gazo {
  background-color: #FFF9B1 !important;
  padding: 0px !important;
}

.hissu {
  position: absolute;
  margin-top: 1px;
}

.hissu img {
  width: 50px;
}

li.moji {
  padding: 6px 0;
  text-align: center;
  margin-top: 0px !important;
  border-bottom: 1px solid #C9CACA;
}

ul {
  margin-block-start: 0em;
  margin-block-end: 0em;
  padding-inline-start: 0px;
}

.center {
  text-align: center;
}

.ue {
  padding-top: 107px;
}

.ue2 {
  padding-top: 30px;
}

.ue3 {
  padding-top: 45px;
}

.book {
  left: 50%;
  transform: translateX(-50%);
  -webkit-transform: translateX(-50%);
  -ms-transform: translateX(-50%);
  position: absolute;
  margin-top: 300px;
  color: #656464;
  width: 773px;
}
