body {
	margin: 0;
	padding: 0;
	background: #fff;
	font-size: 16px;
	color:#222;
}

/* ✦タイトルロゴ✦ */

.title-tx{
  font-size: 40px;
  font-weight:bold;
}
.title-color{
  color:#9b4;
}
.title-read{
  font-size: 30px;
}
@media (max-width: 600px) {
  .title-read{
    font-size: 17px;
  }
}

/* ✦グラデ✦ */

.bg-c_grade1 {
  background-color: #cef;
}
.bg-c_grade2 {
  background-color: #bdf;
}
.bg-c_grade3 {
  background-color: #acf;
}
.bg-c_grade4 {
  background-color: #9bf;
}
.bg-c_grade5 {
  background-color: #8aff;
}

/* ✦メニュー✦ */

.menu {
  width: 98%;
  max-width: 800px;
  margin: 0 auto;
  font-size: 14px;
  background: white;
  padding: 1px;


}

/* ヘッダー */
.menu-header,
.row {
  display: grid;
  grid-template-columns: 30% 25% 15% 15% 15%;
  gap: 1px;
  background: white;
  font-weight: bold;
  text-align: center;
}

.menu-header div,
.row > div {
  padding: 6px;
}

.right {
  text-align: right;
}

/* 各アイテム */
.menu-item {
  margin-top: 8px;
}

/* 上段 */
.row {
  display: grid;
  grid-template-columns: 30% 25% 15% 15% 15%;

}

.row > div,
.row > a {
  display: flex;
  align-items: center;     /* 縦中央 */
  justify-content: center; /* 横中央 */
  padding: 6px;
}

/* 色（元の雰囲気残す） */
.title {
  background: #013;
  color: white;
  font-size: 16px;
  border: 5px solid #89c;
  align-items: center;     /* 縦中央 */
}
.title a {
  display: block;
  width: 100%;
  height: 100%;
}

.genre {
  background: #cdf;
}
.row div:nth-child(3) {
  background: #bcf;
}
.row div:nth-child(4) {
  background: #abf;

}

.mad {
  background: #abf;
  letter-spacing: -1px;
}
.stars {
  display: inline-block;
}
.star-on {
  color: #f3d;
  text-shadow: 3px 2px 4px rgb(61 70 70);
}

/* 下段説明 */
.desc {
  padding: 4px;
  font-size: 16px;
}

/* ✦メニュースマホ対応✦ */

@media (max-width: 600px) {

  .menu-header {
    display: none; /* ヘッダー消す */
  }

  .row {
    grid-template-columns: 1fr;
    gap: 1px;
  }

  .row > div {
    display: flex;
    justify-content: space-between;
    font-size: 12px;
  padding: 1px;
  }

  .row > div::before {
    color: #444;
  }

  .genre::before {
    content: "ジャンル：";
  }

  .date::before {
    content: "更新日：";
  }

  .time::before {
    content: "所要時間：";
  }

  .mad::before {
    content: "亜空間：";
  }
}

/* ✦画面分割✦ */

#splitLayer {
  position: fixed;
  inset: 0;
  z-index: 10000;
  display: none;
}

#splitLayer.active {
  display: block;
}

.half {
  z-index: 1;
  position: absolute;
  top: 0;
  width: 50%;
  height: 100%;
  overflow: hidden;
  background: white;
  transition: transform 0.6s ease;
}

.left {
  left: 0;
  transform: translateX(0);
}
.right {
  right: 0; 
  transform: translateX(0);
}

.half .inner {
  width: 200%;
}

.right .inner {
  transform: translateX(-50%);
}

#splitLayer.open .left {
  transform: translateX(-180px);
}

#splitLayer.open .right {
  transform: translateX(180px);
}

/* 背景 */
#behind {
  background: #111;
  z-index: 0;
  position: absolute;
  inset: 0;
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 400px;
  background: black;
  color: white;
}

.poop {
  width: min(600px, 80vw);
  height: auto;
  transform: scale(1);
  filter: brightness(0.6); /* ← 少し暗い状態スタート */
  transition:
    transform 0.6s ease,
    filter 0.6s ease;
}




