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

html {
  scroll-behavior: smooth;
  font-size: 62.5%;
}
:root {
  --main-text: #ddd;
  --main-bg: #1f1f1f;
  --art-bg: #222;
  --info-bg: #333;
  --link: #85b4ff;
  --gray: #cccccc;
}
body {
  font-family: "Noto Sans JP", sans-serif;
  font-optical-sizing: auto;
  font-weight: 400;
  font-style: normal;
  line-height: 1.6;
  letter-spacing: 0.06em;
  color: var(--main-text);
  background: var(--main-bg);
  word-break: auto-phrase;
  margin: 0;
  min-height: 100dvh;
}
body::-webkit-scrollbar {
  display: none;
}
img {
  max-width: 100%;
  height: auto;
  object-fit: contain;
}
* {
  background-repeat: no-repeat;
}

a {
  text-decoration: none;
}
li {
  list-style: none;
}

/* アニメーション定義 */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.opening-text {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100svh;
  background-color: var(--main-bg);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 9999;
}
.opening-text-ok {
  animation: fadeOutText 0.8s ease-out forwards;
}
@keyframes fadeOutText {
  from {
    opacity: 1;
  }
  to {
    opacity: 0;
    visibility: hidden;
  }
}
.section {
  padding: 15rem;
}

section.is-visible {
  animation: fadeInUp 0.8s ease-out forwards;
}

.nav-list a {
  font-family: "Roboto", sans-serif;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 1rem;
  list-style: none;
  font-weight: 700;
  font-size: 3rem;
  text-align: left;
}
.nav-container {
  font-family: "Roboto", sans-serif;
  position: fixed;
  width: 40vw;
  height: 100svh;
  background: var(--main-text);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: min(24vw, 100px) min(10vw, 60px) min(10vw, 80px);
  box-sizing: border-box;
  overflow: hidden;
  transform: translateY(-100%);
  transition: transform 0.35s cubic-bezier(0.22, 1, 0.36, 1);
  z-index: 9;
}
.nav-list {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
  flex: 1 1 auto;
}
.nav-main {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: min(3vw, 24px);
}
.nav-logo {
  width: clamp(72px, 9vw, 110px);
  height: auto;
  flex: 0 0 auto;
}
.nav-copyright {
  font-family: "Noto Sans JP", sans-serif;
  font-size: 1.5rem;
  color: var(--art-bg);
  text-align: center;
}
.nav-copyright::before {
  content: "\a9 ";
}
li a {
  color: var(--art-bg);
  letter-spacing: 0.08em;
}
.hamburger {
  position: fixed;
  top: 32px;
  left: 32px;
  cursor: pointer;
  width: 32px;
  height: 24px;
  z-index: 10;
}
body.menu-open .nav-container {
  transform: translateY(0);
}
.hamburger.open span {
  background-color: var(--main-bg);
  z-index: 11;
}
.hamburger span {
  /*3本の線を作る*/
  transition: all 0.3s;
  position: absolute;
  height: 2px;
  background-color: var(--main-text);
  width: 100%;
  z-index: 10;
}
.hamburger span:nth-of-type(1) {
  /*上の線の位置*/
  top: 4px;
}
.hamburger span:nth-of-type(2) {
  /*真ん中の線の位置*/
  top: 12px;
}
.hamburger span:nth-of-type(3) {
  /*下の線の位置*/
  top: 20px;
}
.hamburger.open span:nth-of-type(1) {
  /*openのとき、上の線を右斜めにする*/
  top: 10px;
  transform: translateY(6px) rotate(-33deg);
}
.hamburger.open span:nth-of-type(2) {
  /*真ん中の線を消す*/
  opacity: 0;
}
.hamburger.open span:nth-of-type(3) {
  /*下の線を左斜めにする*/
  top: 22px;
  transform: translateY(-6px) rotate(33deg);
}

.mainVisual {
  max-width: 100vw;
  height: auto;
  display: flex;
  padding: none;
  flex-direction: row-reverse;
}
.mainVisual h1,
.mainVisual h3 {
  margin: auto;
  width: clamp(90px, 14vw, 150px);
}
.mainVisual img {
  display: block;
}
section {
  padding: 15.1rem 8% 0;
  margin: 0 min(10vw, 50px);
}
footer {
  padding: min(5vw, 40px) min(10vw, 50px);
}
.section h2 {
  font-family: "Roboto", sans-serif;
  font-optical-sizing: auto;
  font-weight: 700;
  font-style: normal;
  font-size: 4rem;
  letter-spacing: 0.08em;
  margin-bottom: min(6vw, 40px);
}
.section-body p,
.news-item dd p,
.section-body a,
.notice-list li {
  font-size: 1.8rem;
  line-height: 1.6;
  text-align: left;
}
.news-item {
  display: flex;
  flex-direction: column;
  gap: min(1.5vw, 12px);
  margin-bottom: min(4vw, 24px);
}
.news-item dt {
  display: grid;
  grid-template-columns: 1fr auto;
  grid-template-rows: auto auto;
  align-items: start;
  cursor: pointer;
  padding: min(2vw, 40px) min(1vw, 20px);
}
.news-item dt {
  border-top: var(--main-text) 1px solid;
}
.news-item {
  border-bottom: var(--main-text) 1px solid;
}
.news-item .toggleBtn {
  grid-column: 2;
  grid-row: 1 / 3;
  align-self: center;
  position: relative;
  display: inline-block;
  width: min(6vw, 30px);
  height: min(6vw, 30px);
  flex: 0 0 auto;
}
.news-item .toggleBtn::before,
.news-item .toggleBtn::after {
  content: "";
  display: inline-block;
  position: absolute;
  top: calc(50% - 2px);
  right: 0;
  background-color: var(--main-text);
  width: min(6vw, 30px);
  height: 4px;
  transition: all 0.4s;
}
.news-item .toggleBtn::after {
  transform: rotate(90deg);
}
.news-item .toggleBtn.open::after {
  transform: rotate(0deg);
}
.news-date {
  grid-column: 1;
  grid-row: 1;
  font-size: 1.25rem;
  line-height: 1.6;
  letter-spacing: 0.06em;
  text-align: left;
  margin-bottom: min(1vw, 8px);
  white-space: nowrap;
}
.news-title {
  font-size: 2.2rem;
  font-weight: bold;
  grid-column: 1;
  grid-row: 2;
  line-height: 1.6;
  letter-spacing: 0.06em;
  text-align: left;
}
.news-item dd {
  display: none;
  padding: min(4vw, 30px) min(1vw, 20px) min(6vw, 40px) min(2vw, 20px);
}
.news-list {
  padding: min(2vw, 40px) min(1vw, 20px);
}
.inlink {
  color: var(--link);
  text-decoration: underline;
}
/* schedule */
.schedule-table {
  background-color: rgb(255, 255, 255);
  width: 100%;
  color: rgb(0, 0, 0);
  border-collapse: collapse;
  margin-bottom: min(6vw, 30px);
  font-size: 1.8rem;
  font-weight: bold;
}
.schedule-table td {
  padding: 1rem;
}
.team-table table {
  width: 100%;
  border-collapse: collapse;
  align-self: start;
  align-items: center;
}
.team-table th,
.team-table td {
  border: 1px solid var(--gray);
  padding: min(2vw, 16px);
  font-size: 2.4rem;
}
.team-table th {
  background-color: var(--main-text);
  color: var(--main-bg);
  font-weight: 700;
}
.team-table td {
  text-align: center;
}
.location p {
  text-align: center;
}
.location p + p {
  margin-top: 1rem;
}
.maplinks {
  display: flex;
  justify-content: center;
  gap: min(2vw, 16px);
  margin-top: 2rem;
}
.maplink {
  font-family: "Roboto", sans-serif;
  display: inline-block;
  margin-top: min(2vw, 16px);
  padding: min(1vw, 8px) min(2vw, 16px);
  background-color: inherit;
  color: var(--link);
  font-weight: 700;
  border: 1px solid var(--main-text);
}
.link {
  text-decoration: none;
  display: inline-block;
  margin-top: min(2vw, 16px);
  padding: min(1vw, 8px) min(2vw, 16px);
  background-color: inherit;
  color: var(--link);
  font-weight: 700;
  border: 1px solid var(--main-text);
}
.link::after {
  content: "\2197";
}
footer {
  padding-top: 15.1%;
  font-size: 1.6rem;
  line-height: 1.6;
  letter-spacing: 0.06em;
  text-align: center;
  margin: auto;
}

@media (max-width: 770px) {
  html {
    font-size: 50%;
  }
  .nav-container {
    width: 100vw;
  }
  .nav-logo {
    width: clamp(64px, 20vw, 100px);
  }
  .mainVisual {
    padding-top: 10rem;
  }
  .section {
    padding: 0;
    padding-bottom: 10rem;
  }
  section {
    padding: 15.1rem 4% 0;
    margin: 0;
  }
  footer {
    font-size: 1.6rem;
  }
}
@media (min-width: 771px) {
  .nav-logo {
    display: none;
  }
}
