@charset "UTF-8";

body {
  margin: 0;
  font-family: sans-serif;

  background-image: url("image/decoration/galaxy.png");
  background-size: cover;
  background-position: center;
  background-attachment: fixed;

  background-color: #05010d;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;

  background: rgba(0,0,20,0.35);

  pointer-events: none;
}

/* ===== ヘッダー ===== */

/* ===== ハンバーガー初期非表示 ===== */
.hamburger {
  display: none;
}

header {
  color: white;
  padding: 10px 20px;
   background: transparent;
}

.header-inner {
     display: inline-flex; /* ← 横幅を中身だけにする */
  align-items: center;
  gap: 40px;

  position: relative;

  padding:
    14px 80px 14px 24px;

  background:
    linear-gradient(
      180deg,
      rgba(5,5,20,0.95),
      rgba(0,0,0,0.98)
    );
  /* 右端を斜めカット */
  clip-path: polygon(
    0 0,
    100% 0,
    90% 100%,
    0 100%
  );
}

.header-inner::after {

  content: "";

  position: absolute;

  left: 0;
  bottom: 0;

  width: 100%;
  height: 2px;

  background:
    linear-gradient(
      90deg,
      rgba(255,215,0,0.0),
      rgba(255,215,0,0.9),
      rgba(255,215,0,0.0)
    );

  box-shadow:
    0 0 8px rgba(255,215,0,0.7);
}

.logo img { height: 40px; }

nav {
  display: flex;
  gap: 20px;
  backdrop-filter: blur(8px);
  padding: 8px 16px;
  border-radius: 10px;
}

nav a {
  color: #e6d8ff; /* 薄いアメジスト */
  text-decoration: none;
  font-weight: bold;

  /* ほんのり発光 */
  text-shadow:
    0 0 4px rgba(200,150,255,0.8),
    0 0 8px rgba(120,80,255,0.6);

  transition: 0.3s;
}

nav a:hover {
  color: #ffd700; /* ゴールド */
  text-shadow:
    0 0 6px rgba(255,215,0,0.9),
    0 0 12px rgba(255,200,100,0.8);
}

#overlay {

  position: fixed;
  inset: 0;

  background: rgba(0,0,0,0.6);

  opacity: 0;
  visibility: hidden;

  transition: 0.3s;

  z-index: 90;
}

#overlay.active {

  opacity: 1;
  visibility: visible;
}

/* ===== パンくず ===== */
.breadcrumb {
  padding: 8px 20px;
  background: transparent;
}

/* ===== 3カラム ===== */
.container { display: flex; }

.spacer { flex: 1; }

.left {
  position: relative;

  display: flex;
  flex-direction: column;
  gap: 8px;

  width: 15%;

  padding: 14px;

  background:
    linear-gradient(
      180deg,
      rgba(8, 5, 25, 0.88),
      rgba(3, 2, 12, 0.95)
    );

  backdrop-filter: blur(8px);

  border: 1px solid rgba(167, 139, 250, 0.7);

  border-radius: 14px;

  overflow: hidden;

  box-shadow:
    0 0 20px rgba(167, 139, 250, 0.35),
    inset 0 0 18px rgba(167, 139, 250, 0.12);
    
}

.left {
  z-index: 100;
}

/* 四隅装飾 */
.left::before {
  content: "";

  position: absolute;
  inset: 0;

  border-radius: 14px;

  pointer-events: none;

  background:
    linear-gradient(#d7b8ff,#d7b8ff) top left / 22px 2px no-repeat,
    linear-gradient(#d7b8ff,#d7b8ff) top left / 2px 22px no-repeat,

    linear-gradient(#d7b8ff,#d7b8ff) top right / 22px 2px no-repeat,
    linear-gradient(#d7b8ff,#d7b8ff) top right / 2px 22px no-repeat,

    linear-gradient(#d7b8ff,#d7b8ff) bottom left / 22px 2px no-repeat,
    linear-gradient(#d7b8ff,#d7b8ff) bottom left / 2px 22px no-repeat,

    linear-gradient(#d7b8ff,#d7b8ff) bottom right / 22px 2px no-repeat,
    linear-gradient(#d7b8ff,#d7b8ff) bottom right / 2px 22px no-repeat;
}

.left h2 {
    position: relative;

  margin: 10px 0 6px;

  padding: 8px 0;

  text-align: center;

  font-size: 18px;

  color: #ffffff;

  letter-spacing: 1px;

  background: transparent;

  border: none;

  text-shadow:
    0 0 8px rgba(220,190,255,0.9);
}

/* タイトル左右の星 */

.left h2::before,
.left h2::after {

  content: "✦";

  position: absolute;

  top: 0%;

  transform: translateY(-0%);

  color: rgba(255,215,0,0.7);

  font-size: 28px;
}

.left h2::before {
  left: 0px;
}

.left h2::after {
  right: 0px;
}

/* 金ライン */

.left h2 {
  border-top: 1px solid rgba(255,215,0,0.7);
  border-bottom:
    1px solid rgba(255,215,0,0.7);
}

/* ライン両端の光 */

.left h2::selection {
  background: transparent;
}

.left a {
    

  position: relative;

  display: block;

  padding: 4px 6px 4px 18px;

  color: #d3c4ff;

  font-size: 15px;

  text-decoration: none;

  transition: all 0.2s ease;

}

.left a:hover {
  color: #ffd700; /* 金に変化 */

  text-shadow:
    0 0 6px rgba(200,150,255,0.6),
    0 0 12px rgba(150,50,255,0.4);

  border-left: 2px solid #ffd700;
}

.center {
  position: relative;

  width: 60%;

  padding: 16px;

  margin: 0 6px;

  border-radius: 12px;

  overflow: hidden;

  background:
    linear-gradient(
      180deg,
      rgba(12, 6, 35, 0.92),
      rgba(3, 2, 15, 0.96)
    );

  backdrop-filter: blur(10px);

  border:
    1px solid rgba(255,215,0,0.55);

  box-shadow:
    0 0 20px rgba(255,215,0,0.18),
    0 0 40px rgba(120,0,255,0.2),
    inset 0 0 20px rgba(255,255,255,0.04);

  
}


.center::before {
  content: "";
  position: absolute;
  top: 8px; left: 8px; right: 8px; bottom: 8px;
  border: 1px solid #ffd700; /* 黄色 */
  pointer-events: none;      /* 枠線がクリックの邪魔にならないようにする */
}

.center h2 {
  position: relative;

  margin-bottom: 20px;

  padding: 10px 0;

  padding-left: 80px;

  font-size: 32px;

  letter-spacing: 2px;

  color: #b7b8f1;

  background: transparent;

  border: none;

  text-shadow:
    0 0 10px rgba(148, 230, 255, 0.603),
    0 0 20px rgba(212, 212, 188, 0.404);

  border-top:
    1px solid rgba(255,215,0,0.4);

  border-bottom:
    1px solid rgba(255,215,0,0.4);
}

.center h2::before {
  content: "";
  position: absolute;
  
  left: 2%;

  top: 54%;

  transform: translateY(-50%);
  background-image: url(image/decoration/magic-icon.png);
  width: 50px;
  height: 50px;
  background-size: contain;
  background-repeat: no-repeat;

  filter:
    drop-shadow(0 0 6px rgba(255,215,0,0.7));

}



.left, .center, .right {
  position: relative;
}

.left::after,
.center::after {
  content: "";
  position: absolute;
  top: 10%;
  right: 0;
  width: 2px;
  height: 80%;

  background: linear-gradient(
    to bottom,
    transparent,
    rgba(180, 120, 255, 0.8),
    transparent
  );

  box-shadow:
    0 0 6px rgba(180,120,255,0.8),
    0 0 12px rgba(120,0,200,0.6);
}



/* =========================
   画像
========================= */

.move-image img {

  width: 100%;

  display: block;

  border-radius: 10px;

  border:
    1px solid rgba(255,255,255,0.08);
}


.zoom-image {

  cursor: zoom-in;

  transition: 0.25s;
}

.zoom-image:hover {

  transform: scale(1.02);

  filter: brightness(1.05);
}

/* モーダル本体 */
.image-modal {

  position: fixed;
  inset: 0;

  background: rgba(0,0,0,0.9);

  display: flex;
  justify-content: center;
  align-items: center;

  opacity: 0;
  visibility: hidden;

  transition: 0.25s;

  z-index: 9999;
}

/* 開いた状態 */
.image-modal.active {

  opacity: 1;
  visibility: visible;
}

/* 拡大画像 */
.modal-content {

  width: auto;
  height: auto;

  max-width: 95vw;
  max-height: 95vh;

  object-fit: contain;

  border:
    2px solid rgba(255,215,0,0.7);

  box-shadow:
    0 0 30px rgba(120,0,255,0.4);

  border-radius: 10px;
}

/* 閉じるボタン */
.modal-close {

  position: absolute;

  top: 20px;
  right: 30px;

  font-size: 48px;

  color: white;

  cursor: pointer;

  text-shadow:
    0 0 10px rgba(255,255,255,0.6);
}

.command {
  width: 40px;
  height: 40px;
  position: relative;
  top: 8px;
}

.route-header {

  display: flex;

  justify-content: space-between;

  align-items: baseline;

  margin-bottom: 6px;
}

.route-toggle {

  padding: 8px 14px;

  border: none;

  border-radius: 10px;

  cursor: pointer;

  color: #f3e8ff;

  font-weight: bold;

  background:
    linear-gradient(
      180deg,
      rgba(60,30,100,0.95),
      rgba(20,10,40,0.98)
    );

  border:
    1px solid rgba(255,215,0,0.25);

  transition: 0.25s;
}

.route-toggle:hover {

  color: #f7ec52;

  box-shadow:
    0 0 12px rgba(255,215,0,0.2);
}





/*フッター*/
footer {
    margin: 0 auto;
    background: #000;
    text-align: center;
    padding: 4px 0;
}
footer p {
    color: #fffeee;
    font-size: 0.9rem;
}

.wrapper {
    margin: 0 auto;
    margin-top: 8px;
}

/* =========================
   コンボボタン
========================= */

.setup-select {

  margin-bottom: 20px;
}

.setup-scroll {

  display: flex;

  gap: 12px;

  overflow-x: auto;
  overflow-y: hidden;

  flex-wrap: nowrap;

  padding: 10px 4px 16px;

  scroll-behavior: smooth;

  scrollbar-width: thin;

  scrollbar-color:
    rgba(97,81,247,0.5)
    transparent;
}

.setup-scroll::-webkit-scrollbar {
  height: 6px;
}

.setup-scroll::-webkit-scrollbar-track {
  background: rgba(255,255,255,0.05);
}

.setup-scroll::-webkit-scrollbar-thumb {

  background:
    linear-gradient(
      90deg,
      #5d2cff,
      #ffd700
    );

  border-radius: 10px;

  box-shadow:
    0 0 8px rgba(255,215,0,0.5);
}

.setup-card {

  position: relative;

  min-width: 150px;
  height: 48px;

  flex-shrink: 0;

  display: flex;
  align-items: center;
  justify-content: center;

  padding: 0 26px;

  color: #f3dcff;

  font-size: 20px;
  font-weight: bold;

  letter-spacing: 1px;

  cursor: pointer;

  border: none;
  outline: none;

  background:
    linear-gradient(
      180deg,
      rgba(55,20,110,0.95),
      rgba(20,8,45,0.98)
    );

  clip-path: polygon(
    10% 0%,
    90% 0%,
    100% 50%,
    90% 100%,
    10% 100%,
    0% 50%
  );

  box-shadow:
    0 0 10px rgba(140,80,255,0.18),
    inset 0 0 10px rgba(255,255,255,0.04);

  transition: 0.25s;
}

/* 外枠 */

.setup-card::before {

  content: "";

  position: absolute;

  inset: 1px;

  clip-path: inherit;

  border-top:
    1px solid rgba(255,215,0,0.7);

  border-bottom:
    1px solid rgba(255,215,0,0.7);

  pointer-events: none;
}

/* ホバー */

.setup-card:hover {

  transform: translateY(-2px);

  color: #fde86d;

  box-shadow:
    0 0 12px rgba(255,215,0,0.25),
    0 0 20px rgba(140,80,255,0.2);
}

/* 選択中 */

.setup-card.active {

  color: #eed85a;

  text-shadow:
    3px 3px 2px #000000;

  background:
    linear-gradient(
      180deg,
      rgba(112,49,207,0.98),
      rgba(35,10,70,1)
    );

  box-shadow:
    0 0 4px rgba(255,255,220,0.95),
    0 0 10px rgba(255,230,120,0.8),
    0 0 20px rgba(255,215,0,0.65),
    0 0 40px rgba(255,215,0,0.45),
    inset 0 0 8px rgba(255,240,180,0.35);
}

.setup-card.active::before {

  border-top:
    2px solid rgba(255,215,0,0.8);

  border-bottom:
    2px solid rgba(255,215,0,0.8);

  box-shadow:
    0 0 10px rgba(255,235,121,0.6);
}

/* =========================
   コンボ全体レイアウト
========================= */

.combo-layout {

  display: flex;

  gap: 16px;

  align-items: flex-start;

  margin-top: 10px;
}

/* =========================
   左エリア
========================= */

.combo-left {

  width: 58%;

  display: flex;

  flex-direction: column;

  gap: 12px;
}

/* =========================
   共通パネル
========================= */

.combo-panel {

  position: relative;

  padding: 16px;

  border-radius: 16px;

  overflow: hidden;

  background:
    linear-gradient(
      180deg,
      rgba(12,6,35,0.94),
      rgba(4,3,18,0.98)
    );

  border:
    1px solid rgba(180,120,255,0.35);

  box-shadow:
    0 0 18px rgba(120,0,255,0.18),
    inset 0 0 12px rgba(255,255,255,0.03);

  backdrop-filter: blur(8px);
}

/* 四隅装飾 */

.combo-panel::before {

  content: "";

  position: absolute;

  inset: 0;

  pointer-events: none;

  border-radius: 16px;

  background:

    linear-gradient(#c084ff,#c084ff)
      top left / 16px 2px no-repeat,

    linear-gradient(#c084ff,#c084ff)
      top left / 2px 16px no-repeat,

    linear-gradient(#c084ff,#c084ff)
      top right / 16px 2px no-repeat,

    linear-gradient(#c084ff,#c084ff)
      top right / 2px 16px no-repeat,

    linear-gradient(#c084ff,#c084ff)
      bottom left / 16px 2px no-repeat,

    linear-gradient(#c084ff,#c084ff)
      bottom left / 2px 16px no-repeat,

    linear-gradient(#c084ff,#c084ff)
      bottom right / 16px 2px no-repeat,

    linear-gradient(#c084ff,#c084ff)
      bottom right / 2px 16px no-repeat;
}

.setplay-main {

  width: 100%;

  display: flex;

  flex-direction: column;

  gap: 3px;
}

.setplay-switch {

  display: none;

}

.setplay-switch.active {

  display: flex;

  flex-direction: column;

  gap: 18px;
}

.setplay-layout {

  display: flex;

  gap: 16px;

  margin-top: 16px;
}

.setplay-choices {

  width: 36%;
}

.setplay-title {

  position: relative;

  margin: 0 0 8px;

  padding-bottom: 6px;

  font-size: 16px;

  font-weight: bold;

  letter-spacing: 1px;

  color: #f3e8ff;

  border-bottom:
    1px solid rgba(255,255,255,0.08);

  text-shadow:
    0 0 10px rgba(180,120,255,0.45);

}

.setplay-title::before {

  content: "";

  position: absolute;

  left: -8px;

  top: 2px;

  width: 3px;

  height: 24px;

  border-radius: 10px;

  background:
    linear-gradient(
      180deg,
      #8684ff,
      #463aed
    );

  box-shadow:
    0 0 10px rgba(120, 134, 255, 0.8);
}

.setplay-video {

  width: 90%;
  left: 5%;
}

.setplay-video video {

  width: 100%;

  display: block;

  border-radius: 14px;

  aspect-ratio: 16 / 9;

  object-fit: cover;
}

.choice-list {

  display: flex;

  flex-direction: column;

  gap: 4px;

  overflow-y: auto;

  max-height: 700px;

  padding-right: 6px;
}

.choice-list::-webkit-scrollbar {

  width: 6px;
}

.choice-list::-webkit-scrollbar-thumb {

  background:
    linear-gradient(
      180deg,
      #6d3dff,
      #ffd700
    );

  border-radius: 10px;
}

.choice-card {

  display: flex;

  align-items: center;

  gap: 14px;

  width: 100%;

  min-height: 92px;

  padding: 10px;

  border-radius: 12px;

  background:
    linear-gradient(
      180deg,
      rgba(20,10,45,0.96),
      rgba(8,5,20,0.98)
    );

  border:
    1px solid rgba(180,120,255,0.15);

  overflow: hidden;

  cursor: pointer;

  transition: 0.25s;
}

.choice-thumb {

  width: 120px;

  height: 68px;

  flex-shrink: 0;

  object-fit: cover;

  border-radius: 8px;

  display: block;
}

.choice-info {

  flex: 1;

  display: flex;

  flex-direction: column;

  justify-content: center;

  gap: 6px;

  min-width: 0;
}

.choice-name {

  font-size: 28px;

  font-weight: bold;

  color: white;
}

.choice-note {

  font-size: 16px;

  color: #d8d8ff;

  line-height: 1.5;
}

.difficulty {

  float: right;

  color: #ffd700;

  font-size: 24px;

  text-shadow:
    0 0 10px rgba(255,215,0,0.5);
}

.video-header {

  display: flex;

  align-items: center;

  gap: 14px;

  margin-bottom: 18px;
}

.setplay-main-title {

  font-size: 36px;

  color: white;

  text-shadow:
    0 0 12px rgba(180,120,255,0.45);
}

.video-tags {

  display: flex;

  gap: 8px;
}

.tag {

  padding: 4px 10px;

  border-radius: 6px;

  font-size: 14px;

  font-weight: bold;

  color: white;
}

.tag.strong {

  background: #7f1d1d;
}

.tag.middle {

  background: #3b0764;
}

.tag.plus {

  background: #14532d;
}

.video-star {

  margin-left: auto;

  font-size: 28px;

  color: #ffd700;

  text-shadow:
    0 0 10px rgba(255,215,0,0.45);
}

.result-grid {

  display: flex;

  gap: 4px;

  margin-top: 10px;
}

/* 列 */

.result-column {

  flex: 1;

  display: flex;

  flex-direction: column;

  gap: 3px;
}

/* 行　*/

.result-row {

  position: relative;

  display: flex;

  align-items: center;

  justify-content: space-between;

  padding: 10px 8px; /* ← 高さ縮小 */


  border-radius: 10px;

  background:
    rgba(255,255,255,0.03);

  border:
    1px solid rgba(120,220,255,0.12);

  overflow: hidden;
}


.result-row::after {

  content: "";

  position: absolute;

  left: 12px;
  right: 12px;
  bottom: 0;

  height: 1px;

  background:
    linear-gradient(
      90deg,
      transparent,
      rgba(120,220,255,0.95),
      transparent
    );

  box-shadow:
    0 0 8px rgba(120,220,255,0.8),
    0 0 14px rgba(120,220,255,0.4);
}

.result-row:hover {

  border:
    1px solid rgba(120,220,255,0.4);

  box-shadow:
    0 0 14px rgba(120,220,255,0.18);
}

.enemy-action {

  font-size: 16px;

  color: #e8f7ff;

  text-shadow:
    0 0 8px rgba(120,220,255,0.2);
}

.result-answer {

  font-size: 16px;

  font-weight: bold;

  letter-spacing: 1px;

}

.success {

  color: #7dff9b;

  text-shadow:
    0 0 10px rgba(120,255,120,0.35);
}

.danger {

  color: #ff6b6b;

  text-shadow:
    0 0 10px rgba(255,80,80,0.35);
}

.warning {

  color: #ffd86b;

  text-shadow:
    0 0 10px rgba(255,215,0,0.35);
}

.neutral {

  color: #c4b5fd;
}

.enemy-action {

  width: 35%;

  text-align: center;
}

.result-answer {

  width: 65%;

  text-align: center;
}

.result-arrow {

  position: relative;

  width: 6px;

  text-align: center;

  font-size: 24px;

  color: #7dd3fc;

  text-shadow:
    0 0 10px rgba(120,220,255,0.5);
}

.result-arrow::before {

  content: "";

  position: absolute;

  top: 50%;

  transform: translateY(-50%);

  width: 1px;
  height: 28px;

  background:
    rgba(120,220,255,0.45);

  box-shadow:
    0 0 8px rgba(120,220,255,0.4);
}

.result-arrow::before {

  left: 0;
}

.result-arrow::after {

  right: 0;
}

.setplay-explain {

  margin-top: 10px;

}

.setplay-explain p {

  margin: 0;

  color: #e6f4ff;

  font-size: 17px;

  line-height: 2;

  letter-spacing: 0.4px;

  text-shadow:
    0 0 8px rgba(120,220,255,0.08);
}

.highlight {

  color: #ffd86b;

  font-weight: bold;

  text-shadow:
    0 0 8px rgba(255,215,0,0.3);
}

.warning-text {

  color: #ff9d9d;

  font-weight: bold;

  text-shadow:
    0 0 8px rgba(255,100,100,0.25);
}

.note {

  color: #c4b5fd;
}

/* ===== ノートPC最適化（1024px前後） ===== */
@media (max-width: 1280px)and (min-width: 901px)  {

  /* ===== 全体余白 ===== */
  .container {
    gap: 8px;
  }

  /* ===== 左メニュー ===== */
  .left {
    width: 16%;
    padding: 10px;
  }

  .left h2 {
    font-size: 14px;
    padding: 6px 0;
  }

  .left h2::before,
  .left h2::after {
    font-size: 22px;
  }

  .left a {
    font-size: 13px;
    padding: 3px 4px 3px 12px;
  }

  /* ===== センター ===== */
  .center {
    width: 44%;
    padding: 12px;
  }

  .center h2 {
    font-size: 24px;
  }

  .center h2::before,
  .center h2::after {
    font-size: 28px;
  }

  

  /* ===== ナビ ===== */
  nav a {
    font-size: 14px;
  }
}

/*タブレット*/

@media(max-width:900px) {
      /* ===== ヘッダー ===== */
  .header-inner {
    flex-direction: column;
    align-items: flex-start;
    gap: 2px;
    margin: 2px;
  }

  nav {
    width: 96%;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 2px;
  }

  nav a {
    padding: 2px;
    font-size: 14px;
  }

  

  /* ===== 3カラム → 縦 ===== */
  .container {
    flex-direction: column;
    gap: 10px;
  }

  .spacer {
    display: none;
  }

  .left,
  .center,
  .right {
    width: 95%;
    margin: auto;
    padding: 0;
  }

  /* 区切り線消す（スマホでは邪魔） */
  .left::after,
  .center::after {
    display: none;
  }

  /* ===== 左メニュー ===== */
  .left {
    padding: 10px;
  }

  .left a {
    font-size: 14px;
  }

  /*メインメニュー*/

  .center h2 {
    font-size:22px;
  }

  

  /* ===== 見出し ===== */
  h2 {
    font-size: 16px;
    padding: 8px 10px;
  }

  /* ===== フッター余白 ===== */
  footer {
    margin-top: 20px;
  }

  .menu-grid {

    grid-template-columns: repeat(3, 140px);

    gap: 14px;
  }

  .move-scroll {

    gap: 10px;

    padding-bottom: 12px;
  }

  .move-card {

    min-width: 118px;

    height: 38px;

    font-size: 15px;

    padding: 0 18px;
  }

}

/*スマホ*/

@media (max-width: 600px) {

  /* ===== ヘッダー ===== */

    header {
    position: relative;
    padding: 10px;
  }

  .header-inner {
  width: 100%;

    padding:
      14px 18px;

    clip-path: none;

    display: flex;
    justify-content: space-between;
    align-items: center;
  }


  nav {
    position: absolute;

    top: 78px;
    left: 10px;
    right: 10px;

    display: flex;
    flex-direction: column;

    gap: 0;

    padding: 10px;

    background:
      rgba(5,5,20,0.96);

    border:
      1px solid rgba(180,120,255,0.4);

    border-radius: 12px;

    backdrop-filter: blur(10px);

    box-shadow:
      0 0 20px rgba(120,0,255,0.3);

         /* 初期非表示 */
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);

    transition: 0.3s;

    z-index: 998;
  }

   /* 開いた時 */
  nav.active {

    opacity: 1;
    visibility: visible;
    transform: translateY(0);
  }

  nav a {
      padding: 14px 10px;

    border-bottom:
      1px solid rgba(255,255,255,0.08);

    font-size: 16px;
  }

    nav a:last-child {
    border-bottom: none;
  }

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

  .hamburger.active span:nth-child(3) {
    transform:
      translateY(-8px)
      rotate(-45deg);
  }


  

  /* ===== 3カラム → 縦 ===== */
  .container {
    flex-direction: column;
    gap: 10px;
  }

  .spacer {
    display: none;
  }

  .left,
  .center,
  .right {
    width: 95%;
    margin: auto;
    padding: 0;
  }

  /* 区切り線消す（スマホでは邪魔） */
  .left::after,
  .center::after {
    display: none;
  }

  .left::before {
    display: none;
  }

  /* ===== 左メニュー ===== */
  .left {
 position: fixed;

    top: 0;
    left: -320px;

    width: 260px;
    height: 100vh;

    z-index: 9999;

    overflow-y: auto;

    transition: 0.35s ease;

    border-radius: 0 18px 18px 0;

    padding:
      80px 14px 30px;
  }

        /* 開いた時 */
  .left.active {
    left: 0;
  }

    .menu-overlay {

    position: fixed;

    inset: 0;

    background:
      rgba(0,0,0,0.55);

    backdrop-filter: blur(4px);

    opacity: 0;
    visibility: hidden;

    transition: 0.3s;

    z-index: 9990;
  }

    .menu-overlay.active {

    opacity: 1;
    visibility: visible;
  }

    /* ハンバーガー */
  .hamburger {

    display: flex;

    flex-direction: column;

    justify-content: center;

    gap: 6px;

    position: fixed;

    top: 14px;
    left: 14px;

    width: 44px;
    height: 44px;

    z-index: 10000;

    border:
      1px solid rgba(255,215,0,0.5);

    border-radius: 10px;

    background:
      rgba(5,5,20,0.9);

    backdrop-filter: blur(6px);

    cursor: pointer;
  }

   .hamburger span {

    width: 24px;
    height: 2px;

    margin: 0 auto;

    background: #ffd700;

    box-shadow:
      0 0 8px rgba(255,215,0,0.8);

    transition: 0.3s;
  }

   /* ×変形 */
  .hamburger.active span:nth-child(1) {
    transform:
      translateY(8px)
      rotate(45deg);
  }

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

  .hamburger.active span:nth-child(3) {
    transform:
      translateY(-8px)
      rotate(-45deg);
  }


  .left a {
    font-size: 14px;
  }

  /*メインメニュー*/

  .center h2 {
    font-size:22px;
  }

  .center::before {
    display: none;
}

  

  /* ===== 見出し ===== */
  h2 {
    font-size: 16px;
    padding: 8px 10px;
  }

   .combo-layout {

    flex-direction: column;
  }

  .combo-left,
  .combo-right {

    width: 100%;
  }

  /* ===== フッター余白 ===== */
  footer {
    margin-top: 20px;
  }
  
 .move-select {
    width: 100%;

    overflow: hidden;
  }

  .move-scroll {

    width: 100%;

    box-sizing: border-box;

    overflow-x: auto;

    overflow-y: hidden;

    padding: 8px 6px 12px;

    gap: 8px;
  }

  .move-card {

    min-width: auto;

    width: auto;

    flex: 0 0 auto;

    white-space: nowrap;

    font-size: 12px;

    padding: 0 14px;

    height: 36px;
 
  }

   /* ===== 全体 ===== */

  body {
    overflow-x: hidden;
  }

  .container {
    gap: 14px;
  }

  /* ===== センター ===== */

  .center {

    width: calc(100% - 16px);

    padding: 10px;

    margin: 0 auto;

    border-radius: 10px;
  }

  .center h2 {

    font-size: 18px;

    padding:
      10px 10px 10px 52px;

    letter-spacing: 1px;

    margin-bottom: 14px;
  }

  .center h2::before {

    width: 30px;
    height: 30px;

    left: 10px;
  }

  /* ===== コンボ全体 ===== */

  .combo-layout {

    flex-direction: column;

    gap: 12px;
  }

  .combo-left,
  .combo-right,
  .setplay-choices,
  .setplay-video {

    width: 100%;
  }

  /* ===== ボタン一覧 ===== */

  .setup-scroll {

    gap: 8px;

    padding-bottom: 10px;
  }

  .setup-card {

    min-width: 110px;

    height: 40px;

    padding: 0 14px;

    font-size: 14px;
  }

  /* ===== セットプレイ ===== */

  .setplay-layout {

    flex-direction: column;

    gap: 12px;
  }

  /* ===== 動画 ===== */

  .setplay-video {

    width: 100%;

    left: 0;
  }

  .setplay-video video {

    border-radius: 10px;
  }

  /* ===== 動画タイトル ===== */

  .video-header {

    flex-wrap: wrap;

    gap: 8px;

    margin-bottom: 12px;
  }

  .setplay-main-title {

    font-size: 22px;

    line-height: 1.4;
  }

  .video-tags {

    flex-wrap: wrap;
  }

  .tag {

    font-size: 11px;

    padding: 3px 8px;
  }

  .video-star {

    font-size: 20px;

    margin-left: 0;
  }

  /* ===== 選択カード ===== */

  .choice-card {

    min-height: auto;

    padding: 8px;

    gap: 10px;
  }

  .choice-thumb {

    width: 96px;

    height: 54px;
  }

  .choice-name {

    font-size: 18px;

    line-height: 1.3;
  }

  .choice-note {

    font-size: 12px;

    line-height: 1.5;
  }

  .difficulty {

    font-size: 16px;
  }

  /* ===== 結果表 ===== */

  .result-grid {

    flex-direction: column;

    gap: 8px;
  }

  .result-column {

    gap: 6px;
  }

  .result-row {

    padding: 10px 6px;

    border-radius: 8px;
  }

  .enemy-action,
  .result-answer {

    font-size: 12px;

    line-height: 1.5;
  }

  .result-arrow {

    font-size: 16px;
  }

  /* ===== 解説 ===== */

  .setplay-explain p {

    font-size: 14px;

    line-height: 1.9;
  }

  /* ===== 左メニュー ===== */

  .left {

    width: 240px;

    padding:
      70px 12px 20px;
  }

  .left h2 {

    font-size: 14px;
  }

  .left a {

    font-size: 13px;

    padding: 6px 4px 6px 10px;
  }

  /* ===== ハンバーガー ===== */

  .hamburger {

    width: 40px;
    height: 40px;

    top: 10px;
    left: 10px;
  }

  /* ===== フッター ===== */

  footer p {

    font-size: 11px;
  }

}

/* =========================
   タブレット縦
   ～768px
========================= */

@media (min-width: 601px) and (max-width: 768px) {

  .container {

    flex-direction: column;

    gap: 16px;
  }

  .left,
  .center,
  .right {

    width: 96%;

    margin: 0 auto;
  }

  .center {

    padding: 14px;
  }

  .center h2 {

    font-size: 26px;

    padding-left: 70px;
  }

  .center h2::before {

    width: 40px;
    height: 40px;
  }

  /* ===== セットプレイ ===== */

  .combo-layout,
  .setplay-layout {

    flex-direction: column;

    gap: 16px;
  }

  .combo-left,
  .combo-right,
  .setplay-choices,
  .setplay-video {

    width: 100%;
  }

  /* ===== カード ===== */

  .choice-card {

    min-height: 84px;

    padding: 10px;
  }

  .choice-thumb {

    width: 120px;
    height: 68px;
  }

  .choice-name {

    font-size: 22px;
  }

  .choice-note {

    font-size: 14px;
  }

  /* ===== ボタン ===== */

  .setup-card {

    min-width: 130px;

    height: 44px;

    font-size: 16px;
  }

  /* ===== 結果 ===== */

  .enemy-action,
  .result-answer {

    font-size: 14px;
  }

  .setplay-explain p {

    font-size: 15px;
  }

}

/* =========================
   タブレット横
   ～1024px
========================= */

@media (min-width: 769px) and (max-width: 1024px) {

  .container {

    gap: 10px;
  }

  .left {

    width: 22%;

    padding: 10px;
  }

  .center {

    width: 78%;

    padding: 14px;
  }

  .center h2 {

    font-size: 28px;
  }

  /* ===== セットプレイ ===== */

  .combo-layout {

    gap: 12px;
  }

  .setplay-layout {

    gap: 12px;
  }

  .setplay-choices {

    width: 42%;
  }

  .setplay-video {

    width: 58%;
  }

  /* ===== カード ===== */

  .choice-card {

    gap: 10px;

    padding: 8px;
  }

  .choice-thumb {

    width: 100px;
    height: 58px;
  }

  .choice-name {

    font-size: 22px;
  }

  .choice-note {

    font-size: 13px;
  }

  /* ===== ボタン ===== */

  .setup-card {

    min-width: 135px;

    height: 44px;

    font-size: 16px;
  }

  /* ===== 結果 ===== */

  .enemy-action,
  .result-answer {

    font-size: 14px;
  }

}
  

  


