
  @font-face {
    font-family: NotoSansJP;
    src: url(fonts/NotoSansJP-min.woff) format("woff");
  }
  @font-face {
    font-family: Akira Expand;
    src: url(fonts/Akira\ Expanded\ Demo.otf);
  }
  @font-face {
    font-family: HK Grotesk;
    src: url(fonts/HKGrotesk-Black.otf);
  }


  body{
    font-family:"a-otf-ryumin-pr6n","NotoSansJP","ヒラギノ角ゴ Pro W3", "Hiragino Kaku Gothic Pro", "メイリオ", Meiryo, Osaka, "ＭＳ Ｐゴシック", "MS PGothic", "sans-serif";
    font-size: 1.317vw;
    background-position: 50% 50%;
    background-size: cover;
    -webkit-appearance: none;
    -webkit-text-size-adjust: 100%;
    padding: 0;
    margin: 0;
    background: #efefef;
  }


  html{
    overflow-x: hidden;
    resize: horizontal;
    background-color: #ececec;
    width: 100vw;
  }

  a{
    cursor: pointer;
  }

p{
  padding: 0;
  margin: 0;
  box-sizing: border-box;
}

h1{
  padding: 0;
  margin: 0;
  box-sizing: border-box;
  font-weight: normal;
  letter-spacing: 1vw;
}

h2{
  padding: 0;
  margin: 0;
  box-sizing: border-box;
}

h3{
  padding: 0;
  margin: 0;
  box-sizing: border-box;
}

header{
    position: fixed;
    top: 0;
    width:100vw;
    z-index: 1000;
    font-family: a-otf-ryumin-pr6n,serif;
  }

  header p{
    font-size: 0.56vw;
    width: 2.304vw;
    text-align: left;
    box-sizing: border-box;
    /*ヘッダー文字サイズ*/
  }

  .footer-sp{
    display: none;
  }

  footer{
    color: black;
    background-color: white;
    width: 100vw;
    bottom: 0; /*下に固定*/
    font-family: a-otf-ryumin-pr6n,serif;
    overflow: hidden;
    padding-top: 12vh;
    padding-bottom: 4vh;
  }

  .icons{
    display: flex;
    gap: 2.633vw;
    flex-wrap: nowrap;
    height: 5.267vw;
    margin-bottom: 3.95vw;
    padding-left: 10vw;
  }
  .icons img{
    width: 2.633vw;
  }
  .icons a:last-child{
    padding-top: 0.461vw;
  }
  .icons a:first-child{
    padding-top: 0.132vw;
  }

  .mokuzi{
    display: flex;
    gap: 5.267vw;
    margin-bottom: 1.975vw;
    padding-left: 10vw;
  }
  .mokuzi-hello{
    margin-bottom: 25vh;
    display: flex;
    gap: 1.975vw;
    padding-left: 10vw;
  }
  .mokuzi-hello a{
    text-decoration: none;
    color: black;
    font-size: 1.975vw;
    cursor: pointer;
  }
  .mokuzi-sp{
    display: none;
  }
  .mokuzi a{
    text-decoration: none;
    color: black;
    letter-spacing: 0.263vw;
    font-size: 1.975vw;
    width: auto;
    cursor: pointer;
  }
  .mokuzi a:hover{
    color: #cacaca;
  }
  .mokuzi-hello a:hover{
    color: #cacaca;
  }

  .footer-line{
    width: 80vw;
    height: 0.066vw;
    margin: 0;
    margin-left: 10vw;
    margin-bottom: 10px;
  }

  .footer-p{
    display: inline-block;
    margin-right: 0vw;
    padding-left: 10vw;
    width: 50vw;
    vertical-align: top;
  }

  .footer-p p a{
    text-decoration: none;
    color: black;
    font-size: 5px;
  }

  .footer-p p{
    font-size: 5px;
  }

  .pc-menu{
    display: flex;
    gap: 3vw;
    margin-top: 4.279vw;
    margin-left: 60vw;
    color: #ececec;
  }
  .pc-menu a{
    text-decoration: none;
    color: #ececec;
  }
  .pc-menu-hello{
    display: flex;
    gap: 3vw;
    margin-top: 6vh;
    margin-left: 65vw;
  }
  .pc-menu-hello a{
    text-decoration: none;
    color: black;
  }

  .h-menu{
    margin-top: 3vh;
    position: relative;
    margin-left: 95vw;
    display: none;
  }

  /*inputのcheckboxは非表示に*/
  .h-menuCheckbox {
    display:none;
  }

  /*ハンバーガーメニュー*/
  header p{
      font-weight: bold;
  }

  .h-menu{
    border-radius: 50%;
    width: 3.292vw;
    height: 3.292vw;
    text-align: center;
  }

  .h-menu_icon {
      display: inline-block;
      width: 10vw;
      height: 10vw;
      vertical-align: middle;
      text-align: center;
      cursor: pointer;
      background-color: white;
      border-radius: 50%;
      -moz-border-radius: 50%;
      -webkit-border-radius: 50%;
  }

  .hamburger-icon p{margin-top: 1.646vw;}

  /*3本線*/
  .hamburger-icon, .hamburger-icon::before, .hamburger-icon::after {
      content: '';
      display: inline-block;
      position: absolute;
      z-index: 100;
      top: 2.7vw;
      width: 4vw;
      height: 0.6vw;
      padding-left: 2vw;
      background: black;
      cursor: pointer;
      text-align: center;
      left: 2.0vw;
  }
  .hamburger-icon:before {
      top: 1.8vw;
      left: 0;
  }
  .hamburger-icon:after {
      top: 3.8vw;
      left: 0;
  }

  /*メニュー以外を暗くする*/
  #h-menu_black {
      display: none;
      position: fixed;
      z-index: 98;
      top: 0;
      left: 0;
      width: 100%;
      height: 100%;
      background: black;
      opacity: 0;
      transition: .7s ease-in-out;
  }

  /*中身*/
  #h-menu_content {
      position: fixed;
      top: 0;
      left: 0;
      background: white;
      color: black;
      z-index: 99;
      /*width: 100%;
      max-width: 21.066vw;*/
      width: 100vw;
      height: 100vh;
      padding: 1.053vw 1.053vw 1.053vw;
      overflow: auto;
      transition: .3s ease-in-out;
      -webkit-transform: translateX(-105%);
      transform: translateX(-105%);
  }

  .first{
    margin-top: 10vh;
    margin-left: -2vw;
    text-align: left;
  }

  .first li{
    font-size: 6vw;
    letter-spacing: 1vw;
    margin-top: 3.4vw;
    margin-bottom: 0.987vw;
    list-style: none;
    cursor: pointer;
  }

  .first a{
    text-decoration: none;
    color: black;
  }

  .second{
    margin-top: 15vh;
    margin-left: -2vw;
    text-align: left;
  }

  .second li{
    font-size: 4vw;
    margin-top: 0.987vw;
    margin-bottom: 0.987vw;
    list-style: none;
    cursor: pointer;
  }

  .second a{
    text-decoration: none;
    color: black;
  }

  .kaisei p{
    padding-top: 0.329vw;
    font-size: 1.975vw;
    height: 3.292vw;
    width: 26.333vw;
  }

  /*チェックボックスにチェックが入ったら表示*/
input:checked ~ .h-menu_icon .hamburger-icon{
    background: transparent;
    height: 1.975vw;
}
input:checked ~ .h-menu_icon .hamburger-icon::before{
    -webkit-transform: rotate(-45deg);

    transform: rotate(-45deg);
    top:0.658vw;
    z-index:999;
}
input:checked ~ .h-menu_icon .hamburger-icon::after{
    -webkit-transform: rotate(45deg);
    transform: rotate(45deg);
    top:0.658vw;
    z-index:999;
}
input:checked ~ #h-menu_black {
    display: block;
    opacity: .8;
}
#h-menu_checkbox:checked ~ #h-menu_content {
    -webkit-transform: translateX(0%);
    transform: translateX(0%);
    box-shadow: 6px 0 25px rgba(0,0,0,.15);
}
.h-menu_icon .hamburger-icon,
.h-menu_icon .hamburger-icon::before,
.h-menu_icon .hamburger-icon::after,
#h-menu_black,
#h-menu_content{
    -webkit-transition: all .3s;
    transition: all .3s;
}

#h-menu_content li a:hover {
    background: #cacaca;
}

.foo{
    display: inline-block;
    width: 30vw;
    text-align: right;
    vertical-align: top;
  }
  .footer-p{
    display: inline-block;
  }

  .kaisei-header{
    width: 55vw;
    height: 8vh;
      margin-top: 8vw;
      margin-left: 6vw;
  }
  .kaisei-header svg{
    width: 55vw;
  }
  .kaisei-header svg image{
    width: 55vw;
  }

  .bahachi-top,.tuna-top,.tawara-top,.kiba-top,.bo-top{
      position: relative;
      width: 100vw;
      height: 85vh;
      background-size: cover;
  }
  .bahachi-top{
    background-image: url(馬鉢写真/bazyo.svg);

  }
  .tuna-top{
    background-image: url(綱取り写真/tsuna-back.svg);
  }
  .tawara-top{
    background-image: url(俵取り写真/tawara-back.svg);
  }
  .kiba-top{
    background-image: url(騎馬戦写真/kiba-back.svg);
  }
  .bo-top{
    background-image: url(棒倒し写真/bou-back.svg);
  }
  .bahachi-top p,.tuna-top p,.tawara-top p,.kiba-top p,.bo-top p{
    position: absolute;
    top: 35%;
    left: 50%;
    transform: translate(-50%, -50%);
    -webkit-transform: translate(-50%, -50%);
    -ms-transform: translate(-50%, -50%);
    font-family: a-otf-ryumin-pr6n,serif;
  }
  .bahachi-top img,.tuna-top img,.tawara-top img,.kiba-top img,.bo-top img{
    position: absolute;
    top: 60%;
    left: 50%;
    transform: translate(-50%, -50%);
    -webkit-transform: translate(-50%, -50%);
    -ms-transform: translate(-50%, -50%);
  }

  .toplogo{
    position: relative;
	  width: 35%;
    height: 10%;
}

  .top_svg {
    position: absolute;
    margin-top: 5vh;
    margin-left: 5vw;
  }

  .top-sita{
      width: 100vw;
      height: 45vh;
      object-fit: cover;
  }

  .honbun{
      padding-left: 7vw;
      padding-right: 7vw;
      padding-top: 15vh;
      padding-bottom: 20vh;
      font-family: a-otf-ryumin-pr6n,serif;
  }
  .honbun h1{
      font-size: 3vw;
      margin-bottom: 25px;
      font-family: a-otf-ryumin-pr6n,serif;
  }
  .honbun p{
      margin-bottom: 80px;
      font-family: a-otf-ryumin-pr6n,serif;
  }

  .kyogi-img{
      display: flex;
      gap: 3vw;
      flex-wrap: nowrap;
      margin-top: 80px;
      margin-bottom: 80px;
  }
  .kyogi-img img{
      width: 27vw;
      border-radius: 3vw;
  }

  .posi-h1{
    padding-top: 10vh;
  }

  .posi-h1-bo{
    padding-bottom: -10vh;
  }

  .posi-img{
      width: 86vw;
      margin-top: 0vh;
  }


  .vs{
      display: flex;
      flex-wrap: nowrap;
      margin-top: 50px;
      margin-bottom: 50px;
  }
  .vs div{
      width: 43vw;
  }
  .vs div img{
      width: 37vw;
  }



  .news-banner {
    display: block;
    height: 90px;
    width: 100%;
    overflow: hidden;
    border-top: 1px #7c7c7c solid;
    border-bottom: 1px #7c7c7c solid;
    margin-bottom: 20vh;
  }

  /* バナー内コンテンツ */
  .news-banner__content {
    display: inline-block;
    color: #7c7c7c;
    line-height: 70px;
    font-size: 50px;
    letter-spacing: 0.3vw;
    margin: 10px;
    font-family: noto sans jp bold;
    padding-left: 100%;
    white-space: nowrap;
    animation: animate-banner 50s linear infinite;
  }

  /* バナー内の要素をすべて選択 */
  .news-banner__content > * {
    display: inline-block;
  }

  /* 横にスクロールさせるアニメーション */
  @keyframes animate-banner {
    0% {
      transform: translateX(0);
    }
    100% {
      transform: translateX(-100%);
    }
  }

  .gakunen{
    margin-bottom: 10px;
    margin-top: 50px;
    font-size: 2vw;
  }





  @media screen and (min-width: 480px){
    .br-pc{display: block;}
    .br-sp{display: none;}
  }

  @media screen and (max-width: 1200px){
    .pc-menu{
      margin-left: 50vw;
    }
}

@media screen and (max-width: 850px){
    .bahachi-top p,.tuna-top p,.tawara-top p,.kiba-top p,.bo-top p{
        top: 50%;
        font-size: 4vw;
    }

    .bahachi-top,.tuna-top,.tawara-top,.kiba-top,.bo-top{
      background-size: 40%;
        background-size: cover;
        height: 70vh;
    }
    .honbun{
        padding-top: 12vh;
        padding-bottom: 0vh;
    }
    .honbun h1{
        margin-bottom: 0px;
        font-size: 5vw;
    }

    .vs div img{
        height: 30vw;
    }



    .br-pc{display: none;}
    .br-sp{display: block;}

    header{
        position: fixed;
      }

      .toplogo{
        position: relative;
        width: 55%;
        height: 10%;
    }

      .top_svg {
        position: absolute;
        margin-top: 5vh;
        margin-left: 5vw;
      }




footer{
    padding-left: 10vw;
    width: 90vw;
  }
  .footer-line{
    margin-left: 0;
  }

  .icons{
    padding-left: 0;
  }
  .icons img{
    width: 10vw;
  }

  .footer-p{
    padding-left: 0;
  }
  .kaisei svg{
    width: 30vw;
  }
  .kaisei svg image{
    width: 30vw;
  }

  .h-menu{
    margin-left: 85vw;
    display: block;
  }
  .pc-menu{
    display: none;
  }
  .pc-menu-hello{
    display: none;
  }
  .icons{
    height: 26.667vw;
  }

  .top svg {
    width: 55vw;
    height: 20vw;
    margin-top: 40px;
  }

  .mokuzi{
    display: none;
  }
  .mokuzi-hello{
    display: none;
  }
  .mokuzi-sp{
    display: block;
    list-style-type: none;
    padding-left: 0;
    letter-spacing: 1vw;
  }
  .mokuzi-sp li{
    margin-bottom: 2.667vw;
  }
  .mokuzi-sp li a{
    text-decoration: none;
    color: black;
    font-size: 6.667vw;
  }
}

@media screen and (max-width: 480px){

    .pc-menu-hello{
        display: none;
      }

      .kaisei{
        padding-left: 0;
      }
      .kaisei svg{
        width: 30vw;
        height: 10vw;
      }
      .kaisei svg image{
        width: 30vw;
        height: 10vw;
      }

      .vs{
          flex-wrap: wrap;
      }
      .vs div{
          width: 86vw;
      }
      .vs div img{
          width: 80vw;
          height: 40vw;
          align-items: center !important;
          top: 0;
          left: 5;
          right: 0;
          bottom: 0;
          margin: auto;
          margin-left: 2.5vw;
      }

      .toplogo{
        position: relative;
        width: 90%;
        height: 10%;
    }

      .top_svg {
        position: absolute;
        margin-top: 3.5vh;
        margin-left: 5vw;
      }

      .bahachi-top{
        background-size: 40%;
        background-size: cover;
        height: 70vh;
      }

      .bahachi-top p{
        font-size: 4vw;
      }

      .bahachi-top img{
        width: 80vw;
      }

      .top-sita{
      width: 100vw;
      height: 25vh;
      object-fit: cover;
      }

      .honbun{
        padding-top: 5vh;
      }

      .honbun h1{
        font-size: 7vw;
        margin-bottom: 2vh;
        letter-spacing: 1.5vw;
      }

      .honbun p{
        font-size: 3.25vw;
        margin-bottom: 5vh;
        letter-spacing: 0.4vw;
        line-height: 2.25vh;
      }

      .kyogi-img .center{
        display: none;
      }

      .kyogi-img{
        display: flex;
        gap: 3vw;
        flex-wrap: nowrap;
        margin-top: 50px;
        margin-bottom: 50px;
    }

    .kyogi-img img{
      width: 40vw;
      border-radius: 3vw;
    }

    .posi-h1{
      padding-top: 3vh;
    }

    .vs{
      margin-top: 30px;
      margin-bottom: 2vh;
    }

    .vs div h1{
      padding-top: 5vh;
      padding-bottom: 0;
    }



    .news-banner {
      display: block;
      height: 30px;
      width: 100%;
      overflow: hidden;
      border-top: 1px #7c7c7c solid;
      border-bottom: 1px #7c7c7c solid;
      margin-bottom: 12vh;
      margin-top: 8vh;
    }

    .news-banner .news-banner__content{
      font-size: 4vw;
      margin-top:-2.5vh;
      padding: 0;

    }











}