@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);   /* ほのかな白の背景 */
}

.theme-mint {
    --theme-color: #4ade80;             /* ミント系のグリーン */
    --theme-glow: rgba(74, 222, 128, 0.7);
    --theme-bg: rgba(74, 222, 128, 0.1);
}

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

body, 
html {
    margin: 0;
    padding: 0;
    height: 100%;
    background-color: #1a1c23;
    color: #fff;
    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-fix-basic-list {
    width: 1000px;
    margin: 0 auto;
    background-image: url('./img/bc-list.jpg');
    background-size: cover;
    background-attachment: fixed;
    background-position: center;
    background-repeat: no-repeat;

    min-height: 100vh;
    position: relative;
    z-index: 1;
    padding: 5px; 

    display: flex; 
    flex-direction: column; 
    align-items: center;

    flex-shrink: 0;
}

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

.site-title {
    font-family: 'Dancing Script', cursive;
    font-size: 6.5rem;
    text-align: center;
    color: var(--theme-color);
    margin: 20px 0 5px 0;
    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: 120px;
    padding: 0 25px;
    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: rgba(15, 15, 20, 0.98);
    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 20px;
    color: #fff;
    text-decoration: none;
    transition: 0.3s;
    text-align: left;
    border-bottom: 1px solid rgba(255, 255, 255, 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-fix-basic-list { width: 100%; }
}

.site-footer { 
    text-align: center; 
    padding: 0; 
    margin-top: 30px; /* マイナスの値を入れると上に上がります */
    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;
}

/*---------------------------------------------------------------*/
.el-list-frame {
    width: 80%;               /* 画面幅の5分の4 */
    max-width: 900px;         /* 広がりすぎを抑え、凝縮感を出す */
    margin: 40px auto;        /* 中央配置 */
    
    /* 外枠の透過とぼかし (Glassmorphism) */
    background: rgba(58, 58, 58, 0.4); 
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    padding: 20px;            /* 120px版より少しスリムに */
    
    /* 高さ固定とスクロール */
    max-height: 65vh;
    overflow-y: auto;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5);
}

/* スクロールバーのカスタマイズ */
.el-list-frame::-webkit-scrollbar {
    width: 8px;
}

.el-list-frame::-webkit-scrollbar-track {
    background: rgba(0, 0, 0, 0.1);
}

.el-list-frame::-webkit-scrollbar-thumb {
    background: rgba(255, 255, 255, 0.2);
    border-radius: 4px;
}

/* 2. 各リスト項目 (The Transparent Item) */
.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);
}

/* 3. 画像エリア (The Icon Frame) */
.el-list-img-wrapper {
    width: 120px;              /* 80px固定 */
    height: 80px;             /* 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);
}

/* 4. テキスト情報 (The Typography) */
.el-list-info {
    flex-grow: 1;
}

.el-list-info h3 {
    font-size: 1.2rem;        /* メニューとの親和性が高いサイズ */
    margin: 0 0 4px 0;
    color: var(--theme-color);
    font-weight: 500;
    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;
}

/*----------------------------------------------------------*/
.nav-container{
    display: flex;
    justify-content: center; /* ボタン2つを画面の中央に寄せる */
    gap: 20px;               /* ボタンとボタンの間の隙間 */
    margin: 20px;
    font-size: 1.2em;
}

.nav-container a:active {
    color: #ff4d4d; /* クリックした瞬間に赤くするなど */
}

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

.nav-btn:hover {
    background: var(--theme-bg) !important;
    border-color: var(--theme-color) !important;
    box-shadow: 0 0 15px var(--theme-glow) !important;
    color: var(--theme-color);
    text-shadow: 0 0 10px var(--theme-glow);
    transform: translateY(-2px);
    text-decoration: none !important; /* 下線が出ないように念押し */
}

.nav-btn.disabled {
    opacity: 0.5;            /* 半透明にして無効感を出す */
    pointer-events: none;    /* クリックを物理的に無効化する */
    cursor: default;         /* カーソルをポインタにしない */
    filter: grayscale(1);    /* 必要であれば白黒にする */
}

/*-----------------------------------------------------------
            工事中エリアのスタイル
-------------------------------------------------------------*/
.under-construction {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 50vh; /* 画面の高さの半分以上を確保 */
    text-align: center;
    padding: 40px 20px;
}

.uc-icon {
    font-size: 4rem;
    color: var(--theme-color); /* 既存の水色など */
    margin-bottom: 20px;
    filter: drop-shadow(0 0 10px var(--theme-color));
    animation: pulse 2s infinite; /* 鼓動するように光らせる */
}

.uc-title {
    font-size: 2.5rem;
    letter-spacing: 0.2em;
    color: #fff;
    margin-bottom: 10px;
    text-shadow: 0 0 20px rgba(255, 255, 255, 0.5);
}

.uc-text {
    color: rgba(255, 255, 255, 0.6);
    font-size: 1rem;
    max-width: 400px;
    line-height: 1.6;
}

.uc-loader {
    width: 200px;
    height: 2px;
    background: rgba(255, 255, 255, 0.1);
    margin-top: 30px;
    position: relative;
    overflow: hidden;
}

.uc-loader::after {
    content: '';
    position: absolute;
    left: -100%;
    width: 100%;
    height: 100%;
    background: var(--theme-color);
    animation: loading 2s infinite;
}

@keyframes pulse {
    0% { transform: scale(1); opacity: 0.8; }
    50% { transform: scale(1.1); opacity: 1; }
    100% { transform: scale(1); opacity: 0.8; }
}

@keyframes loading {
    0% { left: -100%; }
    100% { left: 100%; }
}

/*--------------------------------------------------------
     準備中ボタンの親要素を相対位置に設定 
----------------------------------------------------------*/
.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;
}

/*----------------------------------------------------------
         hover   マウスがある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;
    }
}
