/* --- 1. 基本設定 --- */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Noto Sans JP', sans-serif;
    background-color: #000;
    color: #fff;
    line-height: 1.8;
    overflow-x: hidden;
    min-height: 100vh;
}

/* --- 2. プレミアム・シネマティック背景 --- */
.bg-wrapper {
    position: fixed;
    top: 0; left: 0;
    width: 100%; height: 100%;
    z-index: -2;
    background: #000;
    overflow: hidden;
}

.aura {
    position: absolute;
    border-radius: 50%;
    filter: blur(100px);
    opacity: 0.35;
    mix-blend-mode: screen;
    animation: auraMove 20s infinite alternate ease-in-out;
}

.aura-1 {
    width: 80vw; height: 80vw;
    background: radial-gradient(circle, rgba(255, 51, 0, 0.25) 0%, transparent 70%);
    top: -20%; left: -10%;
}

.aura-2 {
    width: 70vw; height: 70vw;
    background: radial-gradient(circle, rgba(255, 120, 0, 0.15) 0%, transparent 70%);
    bottom: -10%; right: -10%;
    animation-duration: 25s;
    animation-delay: -5s;
}

.aura-3 {
    width: 60vw; height: 60vw;
    background: radial-gradient(circle, rgba(60, 60, 60, 0.6) 0%, transparent 70%);
    top: 30%; left: 20%;
}

@keyframes auraMove {
    0% { transform: translate(0, 0) rotate(0deg) scale(1); }
    100% { transform: translate(10%, 15%) rotate(45deg) scale(1.1); }
}

/* フィルムノイズテクスチャ */
.noise {
    position: fixed;
    top: 0; left: 0;
    width: 100%; height: 100%;
    z-index: -1;
    opacity: 0.04;
    pointer-events: none;
    background-image: url('https://upload.wikimedia.org/wikipedia/commons/7/76/1k_Grain.vis.png');
}

/* --- 3. コンテンツレイアウト --- */
.container {
    max-width: 900px;
    margin: 0 auto;
    padding: 80px 20px;
    position: relative;
    z-index: 10;
}

.back-link {
    display: inline-block;
    margin-bottom: 40px;
    color: rgba(255, 255, 255, 0.5);
    text-decoration: none;
    font-size: 13px;
    letter-spacing: 0.1em;
    transition: 0.3s;
}

.back-link:hover {
    color: #ff3300;
}

h1 {
    font-size: clamp(2rem, 5vw, 2.8rem);
    text-align: center;
    margin-bottom: 60px;
    letter-spacing: 0.3em;
    text-transform: uppercase;
    font-weight: 700;
}

/* --- 4. タブボタン --- */
.plan-tabs {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-bottom: 50px;
    flex-wrap: wrap;
}

.tab-btn {
    position: relative;
    padding: 16px 32px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: #fff;
    cursor: pointer;
    font-weight: bold;
    border-radius: 4px;
    transition: all 0.3s cubic-bezier(0.25, 1, 0.5, 1);
    font-size: 0.9rem;
    min-width: 180px;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    letter-spacing: 0.1em;
    outline: none;
}

.tab-btn:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.3);
    transform: translateY(-2px);
}

.tab-btn:active {
    transform: translateY(1px) scale(0.98);
}

.tab-btn.active {
    background: #ff3300;
    border-color: #ff3300;
    color: #fff;
    box-shadow: 0 10px 30px rgba(255, 51, 0, 0.4);
}

/* ボタンの波紋アニメーション */
.tab-btn.active::after {
    content: "";
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    border: 2px solid #ff3300;
    border-radius: 4px;
    animation: btnRipple 1.5s infinite;
    pointer-events: none;
}

@keyframes btnRipple {
    0% { transform: scale(1); opacity: 0.8; }
    100% { transform: scale(1.15, 1.4); opacity: 0; }
}

/* --- 5. コンテンツエリア（シネマティック表示） --- */
.plan-content {
    display: none;
    background: rgba(15, 15, 15, 0.7);
    backdrop-filter: blur(25px);
    -webkit-backdrop-filter: blur(25px);
    padding: 50px;
    border-radius: 4px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow: 0 20px 50px rgba(0,0,0,0.5);
    animation: cinematicIn 0.8s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.plan-content.active {
    display: block;
}

@keyframes cinematicIn {
    0% { 
        opacity: 0; 
        transform: translateY(20px) scale(0.98); 
        filter: blur(10px);
    }
    100% { 
        opacity: 1; 
        transform: translateY(0) scale(1); 
        filter: blur(0);
    }
}

.plan-header {
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    padding-bottom: 30px;
    margin-bottom: 40px;
}

.plan-header h2 {
    font-size: 2rem;
    color: #ff3300;
    margin-bottom: 10px;
    letter-spacing: 0.1em;
}

.plan-header p {
    color: rgba(255,255,255,0.7);
    font-size: 1rem;
}

/* 料金表示 */
.price-tag {
    font-size: 3.5rem;
    font-weight: bold;
    margin: 30px 0;
    display: flex;
    align-items: baseline;
    gap: 15px;
}

.price-tag span {
    font-size: 1.2rem;
    color: rgba(255,255,255,0.5);
    font-weight: normal;
}

/* リストスタイル */
.feature-list {
    list-style: none;
    margin-bottom: 40px;
}

.feature-list li {
    padding-left: 35px;
    position: relative;
    margin-bottom: 18px;
    font-size: 1.1rem;
    color: rgba(255,255,255,0.9);
}

.feature-list li::before {
    content: "→";
    position: absolute;
    left: 0;
    color: #ff3300;
    font-weight: bold;
}

/* オプションボックス */
.option-box {
    background: rgba(255, 51, 0, 0.08);
    border-left: 3px solid #ff3300;
    padding: 25px;
    margin-top: 40px;
}

.option-box h4 {
    margin-bottom: 8px;
    color: #ff3300;
    font-size: 1rem;
    text-transform: uppercase;
}

/* テーブルスタイル */
.table-title {
    color: #ff3300;
    font-size: 0.9rem;
    margin-bottom: 10px;
}

.live-pricing {
    width: 100%;
    border-collapse: collapse;
    margin-top: 20px;
}

.live-pricing th, .live-pricing td {
    text-align: left;
    padding: 20px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.live-pricing th {
    color: #ff3300;
    font-size: 0.9rem;
    letter-spacing: 0.1em;
}

.live-pricing td {
    font-size: 1.1rem;
}

.note {
    font-size: 0.85rem;
    color: rgba(255,255,255,0.4);
    margin-top: 20px;
    text-align: right;
}

/* スマホ用レスポンシブ */
@media (max-width: 768px) {
    .container { padding: 60px 20px; }
    .plan-content { padding: 35px 25px; }
    .price-tag { font-size: 2.5rem; }
    .tab-btn { width: 100%; }
}