body {
  font-family: 'Noto Sans JP', sans-serif;
  margin: 0 auto;
}

/* 固定する背景 */
div {
  box-sizing: border-box;
  width: 100vw;
  height: 64vh;
}

a {
  text-decoration: none;
  color: #000000;
}

/* イメージボックスの設定 */
.imagebox {
  background-attachment: fixed;
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
}

@media screen and (max-width:896px) {
  /* スマホだとbackground-attachment:fixedが効かんので仕方なくscrollにするよ */
  /* うまいやり方知ってる人は教えてね！ */
  .imagebox {
    background-attachment: scroll;
  }
}

/* テキストボックスの設定 */
.textbox {
  margin: 0 auto;
  background-color: #FFFFFF;
  color: #212121;
  letter-spacing: 6px;
  font-size: 1.2rem;

  /* テキストを縦書きにする */
  -ms-writing-mode: tb-rl;
  writing-mode: vertical-rl;

  /* 英数字も縦書きにする */
  -webkit-text-orientation: upright;
  text-orientation: upright;

  /* ブロック要素を上下中央揃えする */
  display: flex;
  justify-content: center;
  align-items: center;
}

.worktext {
  margin: 0 auto;
  background-color: #FFFFFF;
  color: #212121;
  letter-spacing: 1px;
  font-size: 1.0rem;

  /* ブロック要素を上下中央揃えする */
  display: flex;
  justify-content: center;
  align-items: center;
}

/* テキストエリアの設定 */
.texterea {
  margin: 0 auto;
  background-color: #FFFFFF;
  color: #212121;
  letter-spacing: 6px;
  font-size: 1.2rem;

  /* テキストを縦書きにする */
  -ms-writing-mode: tb-rl;
  writing-mode: vertical-rl;

  /* 英数字も縦書きにする */
  -webkit-text-orientation: upright;
  text-orientation: upright;
}

/* スマホ用 */
@media (max-width: 1242px) {
  /*文字サイズを少し大きく*/
  .textbox {
    font-size: 1.4rem;
  }

  /*トップ画像の縦幅を画面相対で小さく*/
  div {
    height: 32vh;
  }

  /*作品ページの解説文の縦幅を画面相対で大きく*/
  .worktext {
    height: 48vh;
  }

}

/* カバー要素だけ調整 */
.cover {
  font-size: 1.6rem;
  height: 80vh;
}
