/* 
   ==========================================================================
   Rebelle 8 Unified Dark Theme & Layout Fix
   ========================================================================== 
*/

:root {
    --primary-color: #ff6b6b;
    --secondary-color: #4ecdc4;
    --accent-color: #feca57;
    --bg-dark: #0a0a0c;
    --bg-card: #1c1c22;
    --glass-bg: rgba(20, 20, 25, 0.85);
    --glass-border: rgba(255, 255, 255, 0.12);
    --text-main: #f5f5f7;
    --text-sub: #b1b1b6;
    --shadow: 0 12px 40px rgba(0, 0, 0, 0.6);
    --gold: #faad14;
}

/* Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

img {
    max-width: 100%;
    height: auto;
}

body {
    font-family: 'Outfit', 'Noto Sans JP', sans-serif;
    background-color: var(--bg-dark);
    background-image: 
        radial-gradient(circle at 50% 0%, rgba(250, 173, 20, 0.05), transparent 70%),
        url('https://www.transparenttextures.com/patterns/natural-paper.png'); /* Artistic paper texture */
    background-attachment: fixed;
    color: var(--text-main);
    line-height: 1.6;
    overflow-x: hidden;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

/* Header Fixes */
.glass-header {
    background: var(--glass-bg);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    border-bottom: 1px solid var(--glass-border);
    position: fixed; /* stickyより確実に上部に固定 */
    top: 0;
    width: 100%;
    z-index: 1000;
    padding: 16px 0;
}

.glass-header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 1.4rem;
    font-weight: 700;
    color: #fff;
    text-decoration: none;
    letter-spacing: 1px;
}

nav ul {
    display: flex;
    list-style: none;
    gap: 25px;
}

nav a {
    text-decoration: none;
    color: var(--text-sub);
    font-size: 0.95rem;
    font-weight: 500;
    transition: 0.3s;
}

nav a:hover, nav a.active {
    color: var(--primary-color);
}

/* Global Link Contrast Improvement */
a {
    color: var(--gold);
    text-decoration: none;
    transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

a:hover {
    color: #fff;
    text-shadow: 0 0 12px rgba(250, 173, 20, 0.6);
}

/* Secondary Button Contrast */
.btn-secondary {
    background: rgba(255, 255, 255, 0.05);
    color: var(--gold) !important;
    border: 1px solid var(--gold) !important;
}

.btn-secondary:hover {
    background: var(--gold) !important;
    color: #000 !important;
    box-shadow: 0 0 20px rgba(250, 173, 20, 0.4);
}

/* Comparison Zoning & Table Styling */
.table-container {
    width: 100%;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    margin: 30px 0;
    border-radius: 12px;
}
.comparison-zone {
    margin: 60px 0;
    padding: 0;
    background: rgba(255, 255, 255, 0.02);
    border-radius: 24px;
    border: 1px solid var(--glass-border);
    box-shadow: 0 20px 50px rgba(0,0,0,0.5);
    overflow: hidden;
}

.comparison-table {
    width: 100%;
    border-collapse: collapse;
    margin: 0;
}

.comparison-table th {
    background: rgba(250, 173, 20, 0.2);
    color: var(--gold);
    padding: 24px 20px;
    text-align: left;
    font-weight: 700;
    border-bottom: 2px solid var(--gold);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.comparison-table td {
    padding: 24px 20px;
    border-bottom: 1px solid var(--glass-border);
    color: var(--text-main);
}

.comparison-table tr:last-child td {
    border-bottom: none;
}

.comparison-table tr:hover td {
    background: rgba(255, 255, 255, 0.04);
}

.highlight-cell {
    background: rgba(250, 173, 20, 0.08) !important;
    font-weight: 700;
    color: #fff;
}

.advantage-tag {
    display: inline-block;
    background: var(--gold);
    color: #000;
    padding: 2px 10px;
    border-radius: 4px;
    font-size: 0.8rem;
    font-weight: 800;
    margin-right: 10px;
    vertical-align: middle;
    text-transform: uppercase;
}

/* Main Content Spacing - ヘッダーの高さ分を確保 */
main {
    padding-top: 80px;
}

/* Hero Section LP */
.hero-lp {
    padding: 80px 0 100px;
    text-align: center;
    background: radial-gradient(circle at top, #1c1c2e 0%, var(--bg-dark) 70%);
}

.hero-badge {
    display: inline-block;
    background: rgba(255, 107, 107, 0.15);
    color: var(--primary-color);
    padding: 6px 16px;
    border-radius: 50px;
    font-size: 0.9rem;
    font-weight: 700;
    margin-bottom: 24px;
    border: 1px solid var(--primary-color);
}

.hero-lp h1 {
    font-size: 4rem;
    font-weight: 700;
    margin-bottom: 24px;
    line-height: 1.2;
}

.accent-text {
    background: linear-gradient(to right, #fff, var(--primary-color));
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-subtext {
    font-size: 1.25rem;
    color: var(--text-sub);
    max-width: 850px;
    margin: 0 auto 50px;
    line-height: 1.8;
}

/* Artistic Background Patterns */
.lp-page::before {
    content: "";
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('https://www.transparenttextures.com/patterns/natural-paper.png');
    opacity: 0.03;
    pointer-events: none;
    z-index: 1;
}

/* Price Box */
.cta-price-box {
    background: var(--bg-card);
    border-radius: 24px;
    padding: 40px;
    max-width: 600px;
    margin: 0 auto;
    border: 1px solid var(--glass-border);
    box-shadow: var(--shadow);
}

.sale-label {
    color: var(--accent-color);
    font-weight: 700;
    margin-bottom: 20px;
    font-size: 1.1rem;
}

.price-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-bottom: 30px;
}

.price-item {
    padding: 20px;
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--glass-border);
}

.price-item.featured {
    border-color: var(--primary-color);
    background: rgba(255, 107, 107, 0.05);
}

.version {
    display: block;
    font-size: 0.85rem;
    color: var(--text-sub);
    margin-bottom: 8px;
}

.current-price {
    font-size: 1.5rem;
    font-weight: 700;
    display: block;
}

.old-price {
    font-size: 0.9rem;
    text-decoration: line-through;
    color: var(--text-sub);
    opacity: 0.6;
}

/* Layout Parts */
.split-layout {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 60px;
    align-items: center;
    margin: 80px 0;
}

.video-wrapper {
    width: 100%;
    border-radius: 20px;
    overflow: hidden;
    line-height: 0;
}

.feature-video {
    width: 100%;
    height: auto;
    max-height: 500px;
    object-fit: cover;
}

.user-quote {
    padding: 30px;
    margin-top: 30px;
    border-left: 4px solid var(--secondary-color);
    font-style: italic;
    background: rgba(255, 255, 255, 0.02);
}

.user-quote cite {
    display: block;
    margin-top: 10px;
    font-style: normal;
    font-weight: 700;
    color: var(--secondary-color);
}

/* Feature Tag & Overlap Fix */
.feature-tag {
    display: inline-block;
    background: rgba(78, 205, 196, 0.1);
    color: var(--secondary-color);
    padding: 4px 12px;
    border-radius: 4px;
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 16px;
    border: 1px solid rgba(78, 205, 196, 0.3);
}

.text-col h2 {
    font-size: 2.5rem;
    line-height: 1.3;
    margin-bottom: 24px;
}

/* Cards LP */
.grid {
    display: grid;
    gap: 30px;
}

.col-3 {
    grid-template-columns: repeat(3, 1fr);
}

.feature-card-lp {
    padding: 40px;
    text-align: center;
    transition: 0.3s;
}

.feature-card-lp:hover {
    transform: translateY(-10px);
    border-color: var(--secondary-color);
}

.feature-card-lp .icon {
    font-size: 3rem;
    margin-bottom: 20px;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 14px 32px;
    border-radius: 50px;
    font-weight: 700;
    text-decoration: none;
    transition: 0.3s;
    cursor: pointer;
}

.btn-primary {
    background: var(--primary-color);
    color: #fff;
    box-shadow: 0 4px 15px rgba(255, 107, 107, 0.3);
}

.btn-primary:hover {
    transform: scale(1.05);
    box-shadow: 0 8px 25px rgba(255, 107, 107, 0.5);
}

.btn-primary.lg { width: 100%; font-size: 1.1rem; }
.btn-primary.xl { font-size: 1.3rem; padding: 20px 50px; }

/* Utilities */
.glass-panel {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--glass-border);
    backdrop-filter: blur(10px);
    border-radius: 20px;
}

.note {
    font-size: 0.8rem;
    color: var(--text-sub);
    margin-top: 15px;
}

/* Footer */
footer {
    padding: 60px 0;
    text-align: center;
    border-top: 1px solid var(--glass-border);
    color: var(--text-sub);
    font-size: 0.9rem;
}

.disclaimer {
    margin-top: 10px;
    opacity: 0.5;
}

/* Responsive */
@media (max-width: 992px) {
    .split-layout { grid-template-columns: 1fr; gap: 40px; }
    .hero-lp h1 { font-size: 2.8rem; }
    .col-3 { grid-template-columns: 1fr; }
}
