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

/*-------------------------------------------
        ヘッダー・メニュー 
--------------------------------------------- */
.site-title {
    font-family: 'Dancing Script', cursive;
    font-size: 6.5rem;
    text-align: center;
    margin: 20px 0 5px 0;
    text-shadow: 0 0 15px var(--theme-glow);
}

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

/*-----------------------------------------------------------

        三原色のナビゲーションセクション 

---------------------------------------------------------------*/
.trinity-container {
    position: relative;
    width: 100%;
    height: 85vh;
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
}

/* 中央のコア（エネルギー源） */
.center-core {
    position: absolute;
    width: 60px;
    height: 60px;
    background: radial-gradient(circle, #fff 0%, rgba(255,255,255,0) 70%);
    filter: blur(12px);
    border-radius: 50%;
    opacity: 0.9;
    z-index: 1;
}

/* 共通の輪のスタイル（立体版） */
.ring-item {
    position: absolute;
    width: 280px;
    height: 280px;
    text-decoration: none;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: all 0.6s cubic-bezier(0.165, 0.84, 0.44, 1);
    z-index: 2;
    mix-blend-mode: screen; 
}

.ring-gold { 
    transform: translateY(-180px); 
    background: rgba(255, 0, 0, 0.05); 
    border: 8px solid #ff0000; /* 枠線を太く */
    box-shadow: 
        0 0 20px #ff0000, 
        0 0 60px rgba(255, 0, 0, 0.6), 
        inset 0 0 20px #ff0000, 
        inset 0 0 40px rgba(255, 0, 0, 0.4);
}

.ring-green { 
    transform: translate(156px, 90px); 
    background: rgba(0, 255, 0, 0.05); 
    border: 8px solid #00ff00; 
    box-shadow: 
        0 0 20px #00ff00, 
        0 0 60px rgba(0, 255, 0, 0.6), 
        inset 0 0 20px #00ff00, 
        inset 0 0 40px rgba(0, 255, 0, 0.4);
}

.ring-blue { 
    transform: translate(-156px, 90px); 
    background: rgba(0, 0, 255, 0.05); 
    border: 8px solid #0000ff; 
    box-shadow: 
        0 0 20px #0000ff, 
        0 0 60px rgba(0, 0, 255, 0.6), 
        inset 0 0 20px #0000ff, 
        inset 0 0 40px rgba(0, 0, 255, 0.4);
}

.ring-item:hover {
    transform: scale(1.25) translate(var(--hover-x, 0), var(--hover-y, 0));
    border-width: 12px; /* ホバーで太さアップ */
    background: rgba(255, 255, 255, 0.1);
    box-shadow: 
        0 0 40px #fff, 
        0 0 120px rgba(255, 255, 255, 0.6),
        inset 0 0 30px #fff;
    z-index: 10;
}

.ring-gold:hover  {
     --hover-y: -230px; 
}

.ring-green:hover { 
    --hover-x: 195px; 
    --hover-y: 115px; 
}

.ring-blue:hover  { 
    --hover-x: -195px; 
    --hover-y: 115px; 
}

.ring-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    color: #ffffff;
    pointer-events: none;
}

.ring-content i {
    font-size: 3.8rem;
    margin-bottom: 12px;
    filter: drop-shadow(0 0 15px rgba(255,255,255,0.5));
}

.ring-content span {
    font-size: 1.6rem;
    font-weight: bold;
    letter-spacing: 3px;
    text-shadow: 0 0 20px rgba(255,255,255,1);
}

/* --- 背景固定の共通設定 --- */
.bg-fixed-rasp {
    width: 1000px;
    min-height: 100vh;
    background-image: url('./images/rasp-back.jpg');
    background-size: cover;
    background-attachment: fixed;
    background-position: center;
    background-repeat: no-repeat;
    position: relative;
    flex-shrink: 0;
    z-index: 1;
}

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

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