
#Container{
  position: relative;
  font-family:Arial, Helvetica, sans-serif;
}
#box {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  font-family:Arial, Helvetica, sans-serif;

}
#main {
  position: fixed;
  z-index: -1;
  height: 100%;
  background-image: url("画像/2024トップ背景8.jpg"); /* 画像 */
  background-size: cover;               /* 全画面 */
  margin: 0 auto;
  width: 100%;
  font-family:Arial, Helvetica, sans-serif;
}
#g_navi1{
  display: none;
}
.hamburger {
  display: none;
  width: 60px;
  height: 60px;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  cursor: pointer;
}
.hamburger .bar {
  width: 40px;
  height: 3px;
  background: white;
  border-radius: 2px;
  display: block;
  position: absolute;
  transition: all 0.3s;
}

.hamburger .bar-top {
  transform: translate(0, -12px);
}

.hamburger .bar-bottom {
  transform: translate(0, 12px);
}

.checkbox:checked ~ .hamburger .bar-middle {
  opacity: 0;
}

.checkbox:checked ~ .hamburger .bar-top {
  transform: translate(0, 0) rotate(45deg);
}

.checkbox:checked ~ .hamburger .bar-bottom {
  transform: translate(0, 0) rotate(-45deg);
}


.backimg{
  width: 60%;

}
.scimage{
  background-color: rgba(255,255,255,0.8);            /* 背景色 */
  padding: 3%;
}
.image,.centerText,.entryimage{
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;

}
.nav-menu {

  font-weight: bold;
  font-family:Arial, Helvetica, sans-serif;
  font-size: x-large;

}
.nav-menu ul {
position:fixed;
  background: rgb(0, 0, 0, 0.4);
  list-style-type: none;
}
  .nav-menu ul li {
    position: relative;
    width: 20%;
  }
  .nav-menu ul li:first-child::before {
    position: absolute;
    display: block;
    content: "";
    top: 25%;
    left: 0px;
    width: 1px;
    height: 50%;
    background-color: #c0c0c0;
          color: #0133d6;
  }
  .nav-menu ul li::after {
    position: absolute;
    display: block;
    content: "";
    top: 25%;
    right: 0px;
    width: 1px;
    height: 50%;
    background-color: #c0c0c0;
          color: #0133d6;
  }
      .nav-menu ul li a {
      display: block;
      padding: 17px 10px;
      color: white;
      text-align: center;
      text-decoration: none;
              font-weight: bold;
    }
    .nav-menu ul li a:hover {
      background-color: #c0c0c0;
              color: #0133d6;
    }
 
.kasaneru6{
  position: relative;
  text-align: center;
  width:100%;
}
.kasaneru6 img.imagup{
  position: absolute;
  top:50%;
  left: 50%;
  transform: translate(-50%,-50%);
  color: white;
  width:40%;
}
.nav-menu ul {
  display: flex;

  justify-content: space-between;
  margin: 0 auto;
  padding: 0 3%;
  width: 94%;
  max-width: 960px;
  list-style-type: none;
}
.footerContents{
  padding-top: 5%;
}
@media screen and (max-width: 768px){
  #container {
    background-size: cover;               /* 全画面 */
    height:100vh;
    z-index:-1;
    
    background-repeat:repeat;
    background-position: center center;   /* 縦横中央 */
  }
  #g_navi1{
      display: flex;
      position: fixed;
      width: 80%;
      height: 100%;
      background: #000000;
      opacity: 0.6;
      color: #fff;
      top: 0;
      right: -200%;
      transition: all 0.5s;
      z-index: 10;
      font-size: medium;

  }
  .nav-menu ul{
    position: relative;
  }


  .nav-menu ul li{
      width: 100%;
  }
  .nav-menu ul li a {
      display: block;
      color: #FFFFFF;
      text-align: center;
      text-decoration: none;
      font-weight: bold;
  }
  .nav-menu ul li a:hover {
      background-color: #c0c0c0;
      color: #0133d6;
  }
  #g_navi2{
      display: none;
  }
  .kasaneru6 img.imagup{
    width: 30%;
  }
  .hamburger {
    display: flex;
  }
  .nav-menu ul {
    margin-top: 100px;
    display: block;
  }
  .nav-menu li {
    margin-bottom: 30px;
  }
}
.nav-menu {
  position: static;
}


.contents{
  margin-top: 0%;
  padding: 0 3%;
  padding-top: 1%;
  color: black;
}

.headContents{
  background-color: black;
  
}
.news{
  padding-bottom: 10%;
  color:black;
  background-color: rgba(255,255,255,0.8);
}
.newshead{
  background-color: c0c0c0;
  color:black;
  text-align: center;
}
.contentsH1{
  background-color: c0c0c0;
  padding: 0%;
  color: white;
  text-align: center;
}
.contentsH2{
  color: #EB6100;
  font-weight: bolder;
  margin-left: 5%;
  margin-right: 5%;
}
.contents2{
  background-color: rgba(255,255,255,0.8);
  padding-top: 5%;
  padding-bottom: 5%;
  width: 100%;
  margin: auto;
}
.contentsData{
  width: 90%;
  margin: auto;
}
hr{
  padding: 20px 0;
  border: none;
}
.hr1{
  border-top: 1px solid #0133d6;;
  padding: 0%;
}
.checkbox:checked ~  #g_navi1 {
  right: 0;
}
.checkbox {
  display: none;
}

.box1 {
    margin-left: 50px;
 }
 
.resizeimage img { max-width: 100%; }
.entryimage{
width: 10%;
height: auto;
margin: auto;
}

/* パソコンで見たときは"pc"のclassがついた画像が表示される */
.pc { display: block !important; }
.sp { display: none !important; }

/* スマートフォンで見たときは"sp"のclassがついた画像が表示される */
@media only screen and (max-width:750px) {
  .pc { display: none !important; }
  .sp { display: block !important; }
}