* {
  box-sizing: border-box;
  padding: 0;
  margin: 0;
  a,
  p {
    font-family: shippori-mincho-b1, sans-serif;
    text-decoration: none;
  }
  h1,
  h3,
  h4 {
    font-family: dnp-shuei-shogomincho-std, sans-serif;
  }
}

html {
  scroll-behavior: smooth;
}

.hamburger {
  position: fixed;
  top: 20px;
  right: 20px;
  width: 30px;
  cursor: pointer;
  z-index: 20;
}

.hamburger span {
  display: block;
  height: 3px;
  width: 100%;
  background-color: #333;
  margin: 5px 0;
  transition: 0.4s;
}

/* バツ印に変化するスタイル */
.hamburger.active span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}

.hamburger.active span:nth-child(2) {
  opacity: 0;
}

.hamburger.active span:nth-child(3) {
  transform: rotate(-45deg) translate(6px, -6px);
}

/* メニューのスタイル */
.menu {
  writing-mode: vertical-rl;
  position: fixed;
  top: -120%; /* 初期状態でメニューを画面の外に */
  right: 0;
  width: 100vw;
  height: 100vh;
  background-color: #1a3c2f;
  padding: 20px;
  z-index: 5;
  transition: top 0.3s ease; /* スライドアニメーション */
  h1 {
    color: #fcfcfc;
    font-size: 36px;
    padding-top: 10vh;
    padding-right: 8vw;
    letter-spacing: 0.5em;
  }
}

.list-item {
  position: absolute;
  top: 10vh;
  right: 18vw;
}

.list-item a {
  font-size: 30px;
  color: #fcfcfc;
  letter-spacing: 0.5em;
}

.list-item li {
  padding: 50px;
  list-style: none;
}

.poem-list {
  position: absolute;
  top: 25vh;
  right: 48vw;
}

.poem-list a {
  font-size: 24px;
  color: #fcfcfc;
  letter-spacing: 0.5em;
}

.poem-list li {
  padding: 40px;
  list-style: none;
}

/* メニューが表示される時 */
.menu.open {
  top: 0; /* メニューが表示される位置 */
}

.menu-button span {
  display: block;
  height: 3px;
  background: var(--ink);
}

.umi-poem {
  writing-mode: vertical-rl;
  overflow: hidden;
  width: 100%;
  height: 100%;
  display: flex;
  position: relative;
  letter-spacing: 0.25rem;
  p {
    color: aliceblue;
  }
  font-size: 20px;
}

#wave-container {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
  overflow: hidden;
  user-select: none;
}

.umi-text {
  position: relative;
  z-index: 2;
  line-height: 3;
  flex-direction: row-reverse;
  padding-top: 100px;
  padding-right: 100px;
  padding-left: 100px;
}

.umi-paragraph-1 {
  padding-right: 80px;
}

.umi-paragraph-2 {
  padding-right: 60px;
}

.uta-poem {
  writing-mode: vertical-rl;
  width: 100vw;
  height: 100vh;
  display: flex;
  position: relative;
  letter-spacing: 0.25rem;
  z-index: 4;
  font-size: 20px;
}

.uta-content {
  position: absolute;
  top: 0;
  left: 0;
  padding: 100px;
  z-index: 100;
  height: 100vh;
}

.uta-text {
  line-height: 1.5;
  padding-left: 10vw;
  z-index: 20;
}

.uta-1 {
  padding-right: 90px;
}
.uta-2,
.uta-3,
.uta-4,
.uta-5,
.uta-6,
.uta-7,
.uta-8 {
  padding-right: 40px;
}

/* 全画面コンテナ */
.container {
  position: relative;
  width: 100%;
  height: 100%;
  overflow: hidden;
}

/* インタラクティブ波エフェクト用キャンバス */
#fluidCanvas {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 5;
  display: block;
}

.june-poem {
  writing-mode: vertical-rl;
  position: relative;
  color: #d8f0ff;
  width: 100vw;
  height: 100vh;
  position: relative;
  letter-spacing: 0.25rem;
  font-size: 20px;
}

#rainCanvas,
#ame-canvas {
  display: block; /* inline要素による下部の隙間を解消 */
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.june-text {
  line-height: 2;
  flex-direction: row-reverse;
  position: absolute;
  z-index: 4;
  top: 10vh;
  right: 10vw;
}

.june-1,
.june-2,
.june-3,
.june-4 {
  padding-right: 50px;
}

.ame-poem {
  writing-mode: vertical-rl;
  background-color: #001343;
  color: #ffffff;
  width: 100vw;
  height: 100vh;
  position: relative;
  font-size: 20px;
}

.ame-text {
  padding: 100px;
  line-height: 2;
  flex-direction: row-reverse;
  position: absolute;
  right: 50%;
  transform: translate(50%, 0%);
}

.ame-1,
.ame-2,
.ame-3 {
  padding-right: 50px;
}

#app-container {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 4;
  display: block;
}

.poem-title {
  position: absolute !important;
  left: 100px;
  bottom: 50px;
  z-index: 2;
}
.site-footer {
  background-color: #000000;
  color: #f5f7fb;
  padding-right: 80px;
  padding-left: 80px;
  padding-top: 40px;
  padding-bottom: 40px;
  width: 100%;
  height: 300px;
}

.footer-text {
  letter-spacing: 0.7em;
  font-family: shippori-mincho-b1, sans-serif;
  writing-mode: vertical-rl;
  width: 100%;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
}

.main-link {
  letter-spacing: 0.5em;
  font-family: shippori-mincho-b1, sans-serif;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.poemsite-link-wrap {
  display: flex;
  gap: 30px;
  justify-content: flex-start;
}

.poemsite-link {
  letter-spacing: 0.5em;
}

.site-link {
  color: #f5f7fb;
  padding-right: 4em;
  text-decoration: none;
  display: inline-block;
}
