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

  /* ここに書く */
  .list ul {
    margin: 0 auto;
  }

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

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

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


  .gnav {
    margin-top: -1px;
  }

  .bus {
    margin-left: 330px !important;
  }

  .adress, .adress2, .adress3, .adress4, .adress5 {
    margin-left: 462px !important;
  }

  .hiduke {
    margin-left: -10px !important;
  }

}
footer {
  margin-top: 850px;
}
  .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("../../img3/TOP2.png");
  background-size: 1085px;
  background-repeat: no-repeat;
  background-position-x: center;
}



.oshirase {
  margin-top: -292px;
}

.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;
}

ul {
  list-style: none;
}

.oshirase img {
  width: 230px;
}

.ie {
  text-align: center;
}

.ie img {
  width: 773px;
}

.ie2 img {
  width: 773px;
}

.ie2 {
  margin-top: 250px;
}

.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%;
}

.center1 {
  margin-left: 10px;
}

.center2 {
  margin-left: 75px;
}

.center3 {
  margin-left: 235px;
}

.center5 {
  margin-left: 225px;
}

.center6 {
  margin-left: 125px;
}

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


.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;
}

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

.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;
}

.pagetop {

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

.pagetop img {
  width: 137px;
}
.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("../../img3/haikei1-4.png");
  background-size: 1085px;
  background-repeat: no-repeat;
  background-position-x: center;
}

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

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

#page4-1 {
  height: 10px;
  width: 1085px;
  margin: 0 auto;
  background-size: 1085px;
  background-color: #FFF9B1;
  background-repeat: no-repeat;
  background-position-x: center;
}


#page4 {
    height: 273px;
    background-image: url("../../img3/haikei4.png");
    background-size: 1085px;
    background-repeat: no-repeat;
    background-position-x: center;
}
.bus li {
  margin-top: 4px !important;
}

.bus {
  font-size: 15px;
  font-family: 'M PLUS Rounded 1c', sans-serif;
  transform: rotate(0.03deg);         /* シャギーを防ぐ指定 */
  font-weight: 500;
  text-align: center;
  margin-left: 370px;
  margin-top: -135px;
}

.red {
  color: #E9474D
}

body {
  margin: 0;
}

.daiichi {
  float: left;
}

.daiichi img {
  width: 322px;
}

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

.bus2 {
  margin-left: 540px;
  margin-top: -290px;
}
.bus2-2 {
  margin-left: 540px;
  margin-top: -255px;
}
.bus2 img,.bus2-2 img {
  width: 184px;
}

.adress, .adress2, .adress3, .adress4, .adress5 {
  font-size: 16px;
  font-family: 'M PLUS Rounded 1c', sans-serif;
  transform: rotate(0.03deg);         /* シャギーを防ぐ指定 */
  font-weight: 500;
  margin-left: 502px;
  margin-top: 482px;
  float: left;
  position: absolute;
}

.box6 {
  text-align: center;
  padding: 0.1em 1em;
  margin: 0.5em 0;
  width: 110px;
  font-weight: bold;
  color: #003894;
  /*文字色*/
  border: solid 1px #003894;
  /*線*/
  border-radius: 20px;
  /*角の丸み*/
}

.box6 p {
  margin: 0;
  padding: 0;
}

.map {
  float: left;
  margin-left: 35px;
  margin-top: 492px;
  position: absolute;
}

.iesen {
  margin-left: 2px;
  left: 50%;
  transform: translateX(-50%);
  -webkit-transform: translateX(-50%);
  -ms-transform: translateX(-50%);
  position: absolute;
  width: 700px;
  margin-top: 460px;
  border: none;
  border-top: 1px #000000 solid;
}

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

.naka li {
  margin-top: -3px;
}

.naka1 {
  padding-top: 14px;
  margin: 0px auto;
  width: 765px;
}

#bookpage5 {
  padding-top: 60px;
  margin: 0px auto;
  width: 765px;
}

.naka2 {
  position: absolute;
  margin-top: 182px;
  float: left;
  margin-right: 36px;
}

.naka, .naka2-2, .naka2-3, .naka2-4 {
  margin-left: 36px;
  font-weight: 500 !important;
  position: absolute;
  width: 900px;
  font-size: 19px;
  font-family: 'M PLUS Rounded 1c', sans-serif;
  transform: rotate(0.03deg);         /* シャギーを防ぐ指定 */
  letter-spacing: -1px;
}

.naka3 {
  position: absolute;
  width: 900px;
  font-size: 19px;
  font-family: 'M PLUS Rounded 1c', sans-serif;
  transform: rotate(0.03deg);         /* シャギーを防ぐ指定 */
  letter-spacing: 0px;
  padding-top: 22PX;
}

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

.ao {
  font-family: 'M PLUS Rounded 1c', sans-serif;
  transform: rotate(0.03deg);         /* シャギーを防ぐ指定 */
  font-weight: 800 !important;
  color: #003894;
}

.big {
  font-size: 23px;
}

.hiduke {
  margin-top: -20px;
  float: left;
  color: black;
  font-family: 'M PLUS Rounded 1c', sans-serif;
  transform: rotate(0.03deg);         /* シャギーを防ぐ指定 */
  font-weight: 500;
  font-size: 16px;
  margin-left: 38px;
}

.hiduke li {
  margin-top: 15px;
}

.shita {
  margin-top: -3px !important;
}

.center {
  text-align: center;
}

.ue2 {
  padding-top: 30px;
}

.ue3 {
  padding-top: 45px;
}


.book {
  margin-top: -30px;
  color: black;
  margin: 0 auto;
  height: 730px;
}

#bookpage1 {
  padding-top: 30px;
  color: black;
  margin: 0 auto;
  width: 765px;
}

#bookpage2 {
  padding-top: 30px;
  color: black;
  margin: 0 auto;
  height: 730px;
}

#bookpage3 {
  padding-top: 190px;
  color: black;
  margin: 0 auto;
  height: 730px;
}

#bookpage4 {
  padding-top: 160px;
  color: black;
  margin: 0 auto;
  height: 730px;
}
