@font-face {
    font-family: 'NotoSansJP';
    src: url(NotoSansJP-VariableFont_wght.woff2); /* フォントファイルのパスとフォーマットを指定 */
}

@font-face {
    font-family: 'HuiFont';
    src: url(HuiFont29.ttf); /* フォントファイルのパスとフォーマットを指定 */
}

* {
    padding: 0;
    margin: 0;
    font-family: 'NotoSansJP';
    color: #333333;
}

p {
  padding: 0;
  margin: 0;
}

html {
    background-color: white;
}

body {
    background-color: white;
    font-size: 16px;
}


/*============
nav
=============*/
nav {
    display: block;
    position: fixed;
    top: 0;
    left: -300px;
    bottom: 0;
    width: 300px;
    background: #ffffff;
    overflow-x: hidden;
    overflow-y: auto;
    /* -webkit-overflow-scrolling: touch; */
    transition: .5s;
    z-index: 104;
  }
  .open nav {
    left: 0;
  }
  nav .inner {
    padding: 25px;
  }
  nav .inner ul {
    list-style: none;
    margin: 0;
    padding: 0;
  }
  nav .inner ul li {
    position: relative;
    margin: 0;
    border-bottom: 1px solid #131584;
  }
  nav .inner ul li a {
    display: block;
    color: #333;
    font-size: 14px;
    padding: 1em;
    text-decoration: none;
    transition-duration: 0.2s;
  }
  nav .inner ul li a:hover {
    background: #B8D0ED;
  }
  @media screen and (max-width: 767px) {
    nav {
      left: -240px;
      width: 240px;
    }
  }
  /*============
  @keyframes
  =============*/
  @keyframes equalizer01 {
    0% {
      width: 70%;
    }
    10% {
      width: 50%;
    }
    20% {
      width: 100%;
    }
    30% {
      width: 10%;
    }
    40% {
      width: 50%;
    }
    50% {
      width: 70%;
    }
    60% {
      width: 50%;
    }
    70% {
      width: 10%;
    }
    80% {
      width: 100%;
    }
    90% {
      width: 10%;
    }
    100% {
      width: 70%;
    }
  }
  @keyframes equalizer02 {
    0% {
      width: 30%;
    }
    10% {
      width: 20%;
    }
    20% {
      width: 40%;
    }
    30% {
      width: 10%;
    }
    40% {
      width: 20%;
    }
    50% {
      width: 30%;
    }
    60% {
      width: 20%;
    }
    70% {
      width: 10%;
    }
    80% {
      width: 40%;
    }
    90% {
      width: 10%;
    }
    100% {
      width: 30%;
    }
  }
  /*============
  #toggle_btn
  =============*/
  #toggle_btn {
    display: block;
    position: fixed;
    top: 10px;
    left: 10px;
    width: 60px;
    height: 30px;
    transform: translate(0, 0);
    transition: all .5s;
    cursor: pointer;
    z-index: 102;
  }
  .open #toggle_btn {
    left: 330px;
  }
  #toggle_btn span {
    display: block;
    position: absolute;
    left: 0;
    width: 30px;
    height: 2px;
    background-color: #9D8C56;
    transition: all .5s;
  }
  #toggle_btn span:nth-child(1) {
    top: 5px;
    width: 60px;
    animation: equalizer01 7000ms infinite;
  }
  #toggle_btn span:nth-child(2) {
    top: 15px;
    width: 30px;
    animation: equalizer02 5000ms infinite;
    animation-delay: 0.33s;
  }
  #toggle_btn span:nth-child(3) {
    top: 25px;
    width: 20px;
    animation: equalizer02 5000ms infinite;
  }
  .open #toggle_btn span {
    background-color: #fff;
    width: 30px;
  }
  .open #toggle_btn span:nth-child(1) {
    transform: translate(0, 10px) rotate(-45deg);
    animation: unset;
  }
  .open #toggle_btn span:nth-child(2) {
    opacity: 0;
    animation: unset;
  }
  .open #toggle_btn span:nth-child(3) {
    transform: translate(0, -10px) rotate(45deg);
    animation: unset;
  }
  @media screen and (max-width: 767px) {
    .open #toggle_btn {
      left: 260px;
    }
  }
  /*============
  #mask
  =============*/
  #mask {
    /* display: none; */
    transition: all .5s;
  }
  .open #mask {
    display: block;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #000;
    opacity: .8;
    z-index: 101;
    cursor: pointer;
    transition: all .5s;
  }


/* トップバナー */
header {
    position: sticky;
    top: 0;
    z-index: 100;
    margin: 0 auto;
    background-color: #131584;
    max-width: 720px;
    width: 100%;
    height: 50px;
    text-align: right;
}

/* バナーのロゴ */
.top_logo {
    display: inline-block;
    box-sizing: border-box;
    border: 1px solid #9D8C56;
    background-color: white;
    width: 100px;
    height: 50px;

    background-image: url("../img/logo_mini.png");    
    background-repeat:  no-repeat;                         /* 画像の繰り返しを指定  */              
    background-position:center center;                     /* 画像の表示位置を指定  */
    background-size:contain;                               /* 画像のサイズを指定    */
}

/* パンくずリスト */
#breadcrumbs {
    border-bottom: 1px solid #131584;
    font-size: 0.75rem;
    line-height: 0.825rem;
    padding: 10px 20px;
    max-width: 720px;
    margin: 0 auto;
}

#breadcrumbs p {
  display: inline-block;
  padding-bottom: 2px;
  position: relative;
  margin: 0;
}

#breadcrumbs .anime {
  display: inline-block;
}

#breadcrumbs .anime p {
  transition: .2s cubic-bezier(0.45, 0, 0.55, 1);
}

/* アニメーション設定 */
#breadcrumbs .anime p::before {
    background: #131584;
    content: "";
    width: 100%;
    height: 1px;
    position: absolute;
    left: 0;
    bottom: 0;
    margin: auto;
    transform-origin: right top;
    transform: scale(0, 1);
    transition: transform .3s;
}

#breadcrumbs .anime p:hover::before {
    transform-origin: left top;
    transform: scale(1, 1);
}

#breadcrumbs a {
  color: #333;
  text-decoration:none; 
}

/* ページタイトル */
#pagetitle {
  max-width: 720px;
  margin: 0 auto;
  padding: 20px 10px;
  position: relative;
  text-align: center;
  border-bottom: 1px solid #131584;
}

#pagetitle .textarea {
  position: relative;
  max-width: 960px;
  margin: auto;
}

#pagetitle .textarea h1{
  font-weight: normal;
}

/* 記事ヘッダー */
#newsheader {
  max-width: 720px;
  margin: 30px auto 0;
  background: #B8D0ED;
}

#newsheader div {
  padding: 50px 10px 35px;
  position: relative;
  width: 100%;
  max-width: 1220px;
  margin: auto;
}

#newsheader .date {
  position: absolute;
  top: 0%;
  width: 8em;
  padding: 8px 10px;
  color: #ffffff;
  font-weight: bold;
  text-align: center;
  background: #131584;
  border-radius: 0px 0px 10px 10px;
  z-index: 2;
}

#newsheader .revision {
  padding: 0;
  text-align: center;
}

main {
  position: relative;
  margin: 30px auto 0;
  max-width: 720px;
}

main div {
  width: 100%;
  max-width: 720px;
  aspect-ratio: 16 / 9;

  margin-bottom: 20px;

  background-repeat:  no-repeat;                         /* 画像の繰り返しを指定  */              
  background-position:center center;                     /* 画像の表示位置を指定  */
  background-size:cover;                               /* 画像のサイズを指定    */
}

main .wakatteru {
  background-image:url(../img/wakatteru.png);  /* 画像のURLを指定       */
}

main .aiso {
  background-image:url(../img/aiso.png);  /* 画像のURLを指定       */
}

main .damatte {
  background-image:url(../img/damatte.png);  /* 画像のURLを指定       */
}

main .gakkou {
  background-image:url(../img/gakkou.png);  /* 画像のURLを指定       */
}

main .GoodLuck {
  background-image:url(../img/GoodLuck.png);  /* 画像のURLを指定       */
}

main .zimoto {
  background-image:url(../img/zimoto.png);  /* 画像のURLを指定       */
}


main img {
  width: 100%;
  max-width: 720px;
}

main p {
  width: 100%;
  padding: 0 15px;
  font-family: 'HuiFont';
}

footer {
  background-color: #131584;
  max-width: 720px;
  margin: 0 auto;
  height: 50px;
  color: white;
}



