@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);
}

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);
}


.logo img { height: 40px; }



#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 {
  display: flex;
  padding: 8px 20px;
  list-style: none;
}

.breadcrumb li + li::before {
  content: "▶";
  font-size: 0.6rem;
  margin: 0 8px;
  color: #dbeffc;
}

.breadcrumb a{
  color: #00eeff;
  text-shadow:
    0 0 8px rgba(120,220,255,0.8),
    0 0 18px rgba(7, 66, 92, 0.548);
}

/* ===== 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;      /* 枠線がクリックの邪魔にならないようにする */
}

.character-toggle{
  display:none;

  width:95%;

  margin:15px auto;

  padding:14px;

  position:relative;

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

  border-radius:14px;

  background:
    linear-gradient(
      180deg,
      rgba(20,10,40,.95),
      rgba(5,5,20,.98)
    );

  color:#ffe89a;

  font-size:16px;

  font-weight:bold;

  letter-spacing:2px;

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

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

.character-toggle::before{
  content:"✦";
  left:20px;
  top:50%;
  transform:translateY(-50%);
  width:auto;
  height:auto;
  background:none;
}

.character-toggle::after{
  content:"✦";
  right:20px;
  left:auto;
  top:50%;
  transform:translateY(-50%);
  width:auto;
  height:auto;
  background:none;
}

.border-line {
  display: none;
   width:100%;
  height:2px;
  margin-top: 2px;

  background:
    linear-gradient(
      90deg,
      transparent,
      #ffd700 35%,
      #d7b8ff 50%,
      #ffd700 65%,
      transparent
    );
}

.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);
}

.matchup-tabs{

  display:flex;

  gap:14px;

  margin:20px 0;
}

.tab-button{

  flex:1;

  position:relative;

  padding:14px 18px;


  border-radius:12px;

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

  color:#f3e8ff;

  font-size:16px;

  font-weight:bold;

  letter-spacing:1px;

  cursor:pointer;

  overflow:hidden;

  transition:0.25s;

  text-shadow:
    0 0 8px rgba(180,120,255,0.5);

  box-shadow:
    inset 0 0 12px rgba(255,255,255,0.03),
    0 0 10px rgba(120,0,255,0.12);
}



/* ホバー */
.tab-button:hover{

  transform:translateY(-2px);



  color:#ffe89a;

  box-shadow:
    0 0 12px rgba(255,215,0,0.18),
    0 0 22px rgba(140,0,255,0.25);
}

/* 選択中 */
.tab-button.active{

  color:#ffe89a;

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

  box-shadow:
    0 0 12px rgba(255,215,0,0.35),
    0 0 28px rgba(255,215,0,0.18);

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




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

.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 {

  max-width: 90%;
  max-height: 90%;

  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);
}


/*フッター*/
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;
}

/* =========================
   レイアウト
========================= */

.matchup-layout{
    display:flex;

  gap:20px;

  align-items:flex-start;
}

/* =========================
   上部
========================= */

.top-layout{
    display:flex;

  gap:20px;

  align-items:stretch;
}

/* 左 */

.matchup-main{

  display:flex;

  flex-direction:column;

  gap:20px;
}

/* 右 */
/* =========================
   キャラ一覧
========================= */


.character-select{

   width:360px;

  flex-shrink:0;

  padding:18px;

  border-radius:16px;

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

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

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



/* =========================
   キャラヘッダー
========================= */

.character-header{

  flex:1;

  display:flex;

  gap:20px;

  align-items:center;

  padding:20px;

  border-radius:16px;


  background:
    linear-gradient(
      90deg,
      rgba(25,10,50,0.95),
      rgba(5,5,20,0.95)
    );
}

.character-header img{

  width:300px;
  height: 200px;

  border-radius:14px;

  object-fit:cover;
}

.character-info h1{

  font-size:42px;

    display: inline-block;


   background: linear-gradient(
    180deg,
    #756404 0%,
    #a89f1b 15%,
    #fae468 30%,
    #fffff3 45%,
    #dab512 60%,
    #807917 75%,
    #daae1e 90%,
    #423204 100%
  );

  background-clip: text;
  -webkit-background-clip: text;

  color: transparent;
  -webkit-text-fill-color: transparent;

  margin-bottom:14px;
}

.character-info p{

  
  font-size:18px;

  line-height:2;

  color:#f3e8ff;

  letter-spacing:1px;

  text-shadow:
    0 0 8px rgba(180,120,255,0.25);

  max-width:700px;

}

/* =========================
   キャラ一覧
========================= */



.character-select h2{


 text-align:center;

  margin-bottom:18px;

  color:#9d92f8;

  font-size:24px;
}

.character-grid{

    display:grid;

  grid-template-columns:
    repeat(2,1fr);

  gap:12px;
}

.character-card{

   border:none;

  padding:0;

  cursor:pointer;

  overflow:hidden;

  border-radius:12px;

  background:
    rgba(20,10,40,0.95);

  transition:0.25s;
}

.character-card img{

 
  width:100%;

  height:110px;

  object-fit: contain;

  display:block;
}

.character-card span{

   display:block;

  padding:8px;

  font-size:13px;

  color:#f3e8ff;

  text-align:center;
}

.character-card:hover{

    transform:
    translateY(-4px)
    scale(1.03);

  box-shadow:
    0 0 18px rgba(180,120,255,0.45);
}

.character-card.active{

  outline:
    2px solid #ffd700;

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

/* =========================
   タブ
========================= */

.matchup-tabs{

  display:flex;

  gap:12px;
}

.matchup-tabs button{

  flex:1;

  padding:14px;

  border:none;

  border-radius:10px;

  

  background:
    rgba(20,10,40,0.9);

  color:white;

  cursor:pointer;

  transition:0.25s;
}

.matchup-tabs button:hover{

  background:
    rgba(100,50,180,0.8);
}

/* =========================
   技一覧
========================= */


.move-list{

  display:none;
}

.move-list.active{

  display:flex;

  flex-direction:column;

  gap:18px;
}

.move-card{

  display:flex;

  gap:20px;

  padding:18px;

  border-radius:16px;

  background:
    rgba(10,5,25,0.92);

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

.move-card video{

  width:320px;

  border-radius:12px;

  object-fit:contain;

  display:block;

}

.move-text{

  flex:1;
}

.move-text h3{

  font-size:24px;

  color:#b4a7fa;

  margin-bottom:12px;
}

.move-text p{

  font-size:16px;

  line-height:2;

  color:#f3e8ff;

  letter-spacing:1px;

  text-shadow:
    0 0 8px rgba(180,120,255,0.25);

}

.move-text p span {
  color: #ecdf1e;
}









/* ===== ノート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;
  }

  
  /* ===== 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;
  }

    .character-hero {

    flex-direction: column;
  }

  .hero-image {

    width: 100%;
  }

  .move-card {

    flex-direction: column;
  }

  .move-image {

    width: 100%;
  }


}




/*スマホ*/

@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;
  }

  .matchup-layout{

  display:flex;
  flex-direction:column;

}

/* メインを先に表示 */
.matchup-main{

  order:1;
  width:100%;
}

/* キャラ選択を下へ */
.character-select{

  order:2;

  width:100%;

  margin-top:20px;
}

/* キャラ一覧 */

.character-grid{

  display:grid;

  grid-template-columns:
    repeat(3,1fr);

  gap:8px;
}

/* キャラカード */

.character-card{

  padding:0;
}

.character-card img{

  width:100%;

  height:70px;

  object-fit:cover;
}

.move-card{

  flex-direction:column;
}

.move-card video{

  width:100%;
}

.move-text{

  width:100%;
}

.character-card span{

  font-size:11px;

  padding:4px;
}

.character-header{

  flex-direction:column;

  text-align:center;
}

.character-header img{

  width:100%;

  max-width:280px;
}

.character-toggle{

    display:block;

    width:95%;

    margin:10px auto;

    padding:12px;

    border:none;

    border-radius:12px;

    background:
      linear-gradient(
        180deg,
        rgba(120,0,255,.8),
        rgba(60,0,120,.9)
      );

    color:white;

    font-size:16px;

    font-weight:bold;

    box-shadow:
      0 0 15px rgba(180,120,255,.5);

    cursor:pointer;
  }

  .border-line {
    display: block;
  }

  .character-select{

    position:fixed;

    top:0;
    right:-320px;

    width:300px;
    height:100vh;

    z-index:9999;

    overflow-y:auto;

    transition:.35s;

    padding:20px;
  }

  .character-select.active{
    right:0;
  }

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

    font-size: 30px;
  }

  .character-grid {

    grid-template-columns:
      repeat(2,1fr);
  }

  .move-info h4 {

    font-size: 22px;
  }

}


