h1,h2,h3,h4,a,p {
    font-family: "M PLUS Rounded 1c";
}

/*ナビゲーションバー*/

.navlogo {
  width: 5%;
}

/* ナビゲーション要素の均等配置 */
.navbar-nav {
  width: 100%;
  justify-content: center;
  gap: 24px;
}

.navbar-nav .nav-item {
  flex: none;
  margin: 0 8px;
  text-align: center;
}

.navbar-nav .nav-link {
  padding: 0.5rem 0.75rem;
  white-space: nowrap;
}

/* レスポンシブ対応 */
@media (max-width: 991.98px) {
  .navbar-nav {
    justify-content: flex-start;
    gap: 0;
  }
  
  .navbar-nav .nav-item {
    flex: none;
    text-align: left;
    margin: 0;
  }
  
  .navbar-nav .nav-link {
    padding: 0.5rem 1rem;
  }
}

/* TOP画面要素の定義 */
.main-box {
  border:solid 10px black;
  border-radius: 3em;
}

@media (min-width: 990px)
{
  .header-box {
    border:solid 10px black;
    border-radius: 3em;
  }
}

.nav-box a {
  color: black;
  font-size: 1.5em;
  font-weight: bold;
  font-family: "M PLUS Rounded 1c";
}

.nav-box a:hover {
  color: dimgray;
}

.nav-box.header-box {
  background: #fff;
  margin-bottom: 16px;
  padding-bottom: 0;
}

/* 過去公演画面  */

h1 {
    font-family: "M PLUS Rounded 1c";
}

.stage-list a {
  color: black;
  font-size: 1.5em;
  font-weight: bold;
  font-family: "M PLUS Rounded 1c";
}


.stage-list {
  list-style: none;
}



.info-text {
  font-size: 1.2em;
}


.text-cancel {
    font-size:1.2em;
    line-height: 34px;
}

/* TOPページ専用ナビゲーション */
#index-nav {
  margin-top: 2em;
  margin-bottom: 2em;
  text-align: center;
}
#index-nav .nav {
  justify-content: center;
  gap: 32px;
}
#index-nav .nav-link {
  display: inline-block;
  background: none;
  border: none;
  border-radius: 0;
  padding: 0.5em 0.5em;
  margin: 0 0.5em;
  font-size: 1.6em;
  font-weight: bold;
  color: #000;
  transition: color 0.2s;
}
#index-nav .nav-link:hover {
  color: #666;
  text-decoration: underline;
  background: none;
}

/* ページ遷移アニメーション */
body.fadeout {
  opacity: 0;
  transition: opacity 0.7s;
}

body.fadein {
  opacity: 1;
  transition: opacity 1.2s;
}
body.pre-fadein {
  opacity: 0;
}
