@charset "UTF-8";

/* --- 0. カラー変数の定義 --- */
:root {
    --theme-color: #00d2ff;
    --theme-glow: rgba(0, 210, 255, 0.8);
    --theme-bg: rgba(0, 210, 255, 0.1);
}

.theme-red {
    --theme-color: #ff4d4d;
    --theme-glow: rgba(255, 77, 77, 0.8);
    --theme-bg: rgba(255, 77, 77, 0.1);
}

.theme-white {
    --theme-color: #fff;             /* メインは真っ白 */
    --theme-glow: rgba(255, 255, 255, 0.5); /* 柔らかな白い光 */
    --theme-bg: rgba(255, 255, 255, 0.1);   /* ほのかな白の背景 */
}

/* --- 1. 全体レイアウト --- */
* {
    box-sizing: border-box; 
}

body, 
html {
    margin: 0;
    padding: 0;
    height: 100%;
    background-color: #1a1c23;
    color: var(--theme-color);
    font-family: 'Helvetica Neue', Arial, sans-serif;
    overflow-x: hidden;
}

.site-wrapper {
    display: flex;
    justify-content: center;
    min-height: 100vh;
}

/*----------------------------------------------------
            サイドエリアの設定
------------------------------------------------------*/
.side-area {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 5;
    background-color: #1a1c23;
}

.side-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
}

.deco-line {
    width: 1px;
    height: 120px;
    background: linear-gradient(to bottom, transparent, var(--theme-color), transparent);
    box-shadow: 0 0 10px var(--theme-color);
}

.side-text {
    writing-mode: vertical-rl;
    font-size: 0.75rem;
    letter-spacing: 0.5em;
    color: var(--theme-color);
    opacity: 0.7;
}

/*----------------------------------------------
         メインコンテナ（幅を固定） 
------------------------------------------------*/
/*背景*/
.bg-container {
    width: 1000px;
    background-image: url('./images/pic1.jpg');
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center top;
    position: relative;
    z-index: 0;
    flex-shrink: 0;
}

/*半透明の黒い膜*/
.bg-container::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.2);
    z-index: -1;
}

/*-------------------------------------------
        ヘッダー・メニュー 
--------------------------------------------- */
.site-title {
    font-family: 'Dancing Script', cursive;
    font-size: 6.5rem;
    text-align: center;
    margin: 20px 0 5px 0;
    font-weight: bold;
    text-shadow: 0 0 10px rgb(2, 74, 95);
}

.menu-list {
    display: flex;
    justify-content: center;
    gap: 12px;
    list-style: none;
    padding: 0;
}

.menu-item {
    text-decoration: none;
    color: #fff;
    font-weight: bold;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    height: 40px;
    min-width: 145px;
    padding: 0 22px;
    border: 1px solid var(--theme-color);
    border-radius: 25px;
    background: rgba(0, 0, 0, 0.7);
    transition: 0.3s;
}

.menu-item:hover {
    background: var(--theme-bg);
    box-shadow: 0 0 15px var(--theme-color);
}

/*----------------------------------------------
                ドロップダウン 
----------------------------------------------- */
.dropdown { 
    position: relative; 
}

.dropdown-content {
    display: none;
    position: absolute;
    background: rgb(65, 65, 71);
    border: 1px solid var(--theme-color);
    min-width: 100px;
    list-style: none;
    padding: 0;
    margin: 0;
    z-index: 9999;
    border-radius: 8px;
    overflow: hidden;
}

.dropdown-content li a {
    display: block;
    padding: 12px 10px;
    color: #fff;
    text-decoration: none;
    transition: 0.3s;
    text-align: left;
    border-bottom: 1px solid rgba(90, 86, 86, 0.1);
}

.dropdown-content li a:hover {
    background: var(--theme-color);
    color: #000;
}

.dropdown:hover > .dropdown-content { 
    display: block; 
}

@media (max-width: 1250px) {
    .side-area { display: none; }
    .bg-container { width: 100%; }
}

.site-footer { 
    text-align: center; 
    padding: 0; 
    margin-top: -60px; /* マイナスの値を入れると上に上がります */
    position: relative;
    z-index: 10;
}

.since-text {
    font-family: 'Courier New', monospace;
    font-size: 0.8rem;
    letter-spacing: 0.3em;
    color: var(--theme-color);
    opacity: 0.5;
    border-top: 1px solid var(--theme-bg);
    display: inline-block;
    padding-top: 10px;
}

/*-------------------------------------------------*/
.info-card {
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 10px 30px;
    border-radius: 20px;
    transition: 0.3s;
    background: rgba(0, 0, 0, 0.8); /* 背景を少し暗く */
    backdrop-filter: blur(8px);    /* 背後をぼかす（これがカッコいい！） */
    border: 1px solid var(--theme-bg);
}

.info-card p {
    font-size: 1.1rem; /* 16pxより一回り大きく */
    line-height: 1.4;   /* 行間を広げて読みやすく */
/*   margin-bottom: 1.0rem; */
}

.info-card h2 {
    padding-left: 15px;
    margin-top: 50px;
    margin-bottom: 15px;
    color: var(--theme-color);
    background: rgba(255, 255, 255, 0.03);
    padding-top: 10px;
    padding-bottom: 10px;
    font-family: cursive;
    font-size: 1.8rem;
}

.info-card h2:first-of-type { 
    margin-top: 0; 
}

.info-card.glass-card {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(8px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 40px;
    border-radius: 20px;
}

.info-card:hover {
    border-color: var(--theme-color);
    transform: translateY(-5px);
}

.info-card.wide { 
    grid-column: span 2; 
}

/* --- サイバー垂直レイアウト --- */
.cyber-vertical-layout {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 50px;
    max-width: 1000px;
    margin: 50px auto;
}

.panel-main {
    width: 60%; 
    background: rgba(34, 33, 33, 0.5);
    border: 3px solid rgba(var(--theme-color-rgb, 0, 210, 255), 0.3) !important;
    box-shadow: 0 0 20px rgba(0, 210, 255, 0.2);
    text-align: center;
    padding: 10px 30px;
}

.panel-main h2 {
    padding: 0;
    border-bottom: 5px solid rgba(0, 210, 255, 0.2);
}

.ranking-wide-panel {
    width: 80%; 
    background: rgba(0, 0, 0, 0.4);
    border: 3px solid rgba(var(--theme-color-rgb, 0, 210, 255), 0.3) !important;
}

.ranking-grid {
    display: grid;
    grid-template-columns: 1fr 1fr; /* 2列にする */
    gap: 30px;
    margin-top: 20px;
}

/* ヘッダーとアイコン */
.panel-header {
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--theme-color);
    border-bottom: 3px solid rgba(0, 210, 255, 0.2);
    margin-bottom: -30px;
}

.panel-header h2 {
    margin: -5px;
}

/* リストのデザイン */
.topic-list {
    list-style: none;
    padding: 0;
}

.topic-list li {
    padding: 12px 0;
    border-bottom: 2px solid rgba(255, 255, 255, 0.05);
}

.topic-list li a {
    color: var(--theme-color);
    text-decoration: none;
    transition: 0.3s;
    display: block;
    font-size: 1.2rem;          
    font-weight: bold;          
}

.topic-list li a:hover {
    color: rgb(248, 2, 2);
    padding-left: 10px;
}

/* スマホ対応：画面が狭いときは1列に */
@media (max-width: 800px) {
    .panel-main { width: 100%; }
    .ranking-grid { grid-template-columns: 1fr; }
}

/*-------------------------------------------------
---------------------------------------------------*/
.el-list-item {
    display: flex;
    align-items: center;      /* 垂直方向中央揃え */
    padding: 12px 15px;       /* 80pxの画像に合わせたスリムな余白 */
    margin-bottom: 10px;      /* 指定の10px間隔 */
    
    /* 内枠も透かす */
    background: rgba(0, 0, 0, 0.5); 
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
    
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 6px;
    text-decoration: none;
    color: inherit;
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.el-list-item:hover {
    background: rgba(247, 146, 146, 0.15); /* サイトカラーをうっすら混ぜる */
    border-color: rgba(247, 146, 146, 0.5);
    transform: scale(1.005) translateX(5px); /* わずかな拡大と右への押し出し */
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

.el-list-img-wrapper {
    width: 180px;              /* 80px固定 */
    height: 120px;             /* 80px固定 */
    flex-shrink: 0;           /* 潰れ防止 */
    margin-right: 20px;       /* テキストとの適度な距離 */
    background: rgba(0, 0, 0, 0.3);
    border-radius: 4px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.el-list-img-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: contain;        /* 1:1に切り抜き表示 */
    transition: transform 0.5s ease;
}

.el-list-item:hover .el-list-img-wrapper img {
    transform: scale(1.1);
}

.el-list-info {
    flex-grow: 1;
}

.el-list-info h3 {
    font-size: 1.2rem;        /* メニューとの親和性が高いサイズ */
    margin-bottom: 0 0 15px 0;
    padding: 0;
    color: var(--theme-color);
    font-weight: bold;
    letter-spacing: 0.03em;
    text-shadow: 0 2px 4px rgba(0,0,0,0.5);
}

.el-list-info p {
    font-size: 1.0rem;       /* 控えめながら読みやすい本文 */
    color: #ccc;
    line-height: 1.5;
    margin: 0;
    opacity: 0.9;
}

.el-list-item:last-child {
    margin-bottom: 0;
}

/*--------------------------------------------------------
     準備中ボタンの親要素を相対位置に設定 
----------------------------------------------------------*/
.is-pending {
    position: relative;
    cursor: not-allowed; /* マウスカーソルを「禁止」マークにする */
}

.is-pending::after {
    content: attr(data-tips); /* HTMLのdata-tips属性の文字を表示 */
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: rgba(255, 0, 0, 0.8); /* 警告感のある赤系 */
    color: #fff;
    padding: 2px 8px;
    font-size: 0.7rem;
    border-radius: 4px;
    white-space: nowrap;
    opacity: 0;
    transition: opacity 0.3s;
    pointer-events: none; /* マウス反応を邪魔しない */
    z-index: 10;
    border: 1px solid #fff;
}

.is-pending:hover::after {
    opacity: 1;
}

.is-pending:hover {
    color: rgba(255, 255, 255, 0.3) !important;
}

/*----------------------------------------------------------
            マウスがあるPC等に限定
------------------------------------------------------------*/
/* @media (hover: hover) で囲むと、マウスがあるPC等に限定できます */
@media (hover: hover) {
    .is-pending:hover::after {
        opacity: 1;
    }
    .is-pending:hover {
        color: rgba(255, 255, 255, 0.3) !important;
    }
}