/* ファンクラブ専用スタイルシート */

/* --- 限定グッズページ --- */
.goods-list {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
}
.goods-item {
    background-color: rgba(0, 0, 0, 0.5);
    border-radius: 10px;
    padding: 15px;
    text-align: center;
    width: 250px;
}
.goods-image { width: 100%; border-radius: 5px; }
.goods-link-button, .goods-link-button-soldout {
    display: inline-block;
    padding: 10px 20px;
    border-radius: 5px;
    margin-top: 10px;
    font-weight: bold;
    transition: background-color 0.3s;
}
.goods-link-button {
    background-color: #00aaff;
    color: white;
}
.goods-link-button:hover { background-color: #0088cc; }
.goods-link-button-soldout { background-color: #888; color: #ccc; cursor: not-allowed; }

/* --- 限定動画ページ --- */
.video-list { display: grid; gap: 30px; }
.video-item h3 { margin-bottom: 10px; }
.video-container {
    position: relative;
    padding-bottom: 56.25%; /* 16:9 */
    height: 0;
    overflow: hidden;
}
.video-container iframe { position: absolute; top: 0; left: 0; width: 100%; height: 100%; }

/* --- マイページ --- */
.profile-editor, .member-card-area { margin-bottom: 30px; }
.small-note { font-size: 0.9rem; text-align: center; opacity: 0.8; }
#virtual-member-card { 
    border: 2px dashed white; 
    padding: 20px; 
    text-align: center; 
    margin-top: 20px; 
    border-radius: 15px; 
    background: rgba(255,255,255,0.1);
}
.card-nickname { font-size: 1.5rem; font-weight: bold; }

/* =================================
   フォーム関連
   ================================= */
.form-group { margin-bottom: 20px; }
.form-group label { display: block; margin-bottom: 8px; font-weight: bold; }
input[type="text"], input[type="password"], textarea {
    width: calc(100% - 24px);
    padding: 12px;
    border: 1px solid rgba(255, 255, 255, 0.5);
    -webkit-border-radius: 8px;
    -moz-border-radius: 8px;
    border-radius: 8px;
    background-color: rgba(0, 0, 0, 0.3);
    color: white;
    font-size: 1rem;
    box-sizing: border-box;
    -webkit-transition: all 0.3s;
    -moz-transition: all 0.3s;
    -o-transition: all 0.3s;
    transition: all 0.3s;
}
input[type="text"]:focus, input[type="password"]:focus, textarea:focus {
    outline: none;
    border-color: #00aaff;
    -webkit-box-shadow: 0 0 8px rgba(0, 170, 255, 0.5);
    -moz-box-shadow: 0 0 8px rgba(0, 170, 255, 0.5);
    box-shadow: 0 0 8px rgba(0, 170, 255, 0.5);
    background-color: rgba(0, 0, 0, 0.5);
}
.form-button {
    display: block;
    width: fit-content;
    margin: 30px auto 0;
    padding: 15px 30px;
    border: 2px solid white;
    -webkit-border-radius: 8px;
    -moz-border-radius: 8px;
    border-radius: 8px;
    background-color: transparent;
    color: white;
    font-size: 1.2rem;
    cursor: pointer;
    -webkit-transition: all 0.3s;
    -moz-transition: all 0.3s;
    -o-transition: all 0.3s;
    transition: all 0.3s;
}
.form-button:hover { background-color: rgba(255, 255, 255, 0.15); transform: scale(1.05); border-color: #00aaff; }

/* =================================
   ナビゲーション (ファンクラブ専用)
   ================================= */
.pc-nav {
    margin: 1.25rem auto 0; /* 中央に寄せるために左右をautoに修正 */
}

.pc-nav ul {
    justify-content: center; /* 中央に寄せる */
    gap: 1rem; /* ボタン間の間隔を元のサイズに戻す */
}

.pc-nav ul li {
    flex: none; /* 均等幅を解除 */
    width: 6.5rem; /* ボタンの基本幅を元に戻す */
    max-width: none;
}

/* 画像ボタンの調整 */
.pc-nav .nav-button {
    width: 100%;
    height: auto;
}

/* =================================
   ナビゲーションボタンの無効化スタイル
   ================================= */
.nav-button.disabled {
    filter: grayscale(100%); /* 画像をグレースケール化 */
    opacity: 0.6; /* 透明度を低下 */
    cursor: not-allowed; /* カーソルを禁止アイコンに変更 */
}

/* サイト全体の背景画像 (ファンクラブ用) */
body::before {
    content: "";
    display: block;
    position: fixed; /* 画面に固定 */
    top: 0;
    left: 0;
    z-index: -1; /* コンテンツの背面へ配置 */
    width: 100%;
    /* Fallback for browsers that do not support dvh (JavaScript calculation) */
    height: calc(var(--vh, 1vh) * 100);
    /* Modern solution for browsers that support dvh */
    height: 100dvh;
    background: url("./images/background.png") center no-repeat;
    -webkit-background-size: cover; /* 画面全体をカバー */
    -moz-background-size: cover;
    -o-background-size: cover;
    background-size: cover;
}

/* --- ホームページへ戻るボタン (ファンクラブ用) --- */
.homepage-back-button {
    display: block; 
    width: 30%; 
    max-width: 200px; 
    margin: 30px auto 0;
    padding: 10px 20px;
    border: 2px solid white;
    border-radius: 8px;
    background-color: rgba(0, 0, 0, 0.5); /* 半透明の背景 */
    color: white;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s;
    text-align: center;
}

.homepage-back-button:hover {
    background-color: rgba(255, 255, 255, 0.15);
    border-color: #00aaff;
}