/* Vライバー事務所ページ専用スタイル */
.vliver-page {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    min-height: 100vh;
    font-family: 'Hiragino Kaku Gothic ProN', 'Hiragino Sans', 'Meiryo', sans-serif;
}

.vliver-top-section {
    position: relative;
    width: 100%;
    height: 100vh;
    overflow: hidden;
}

.vliver-container {
    position: relative;
    z-index: 1;
    color: white;
    text-align: center;
    padding: 15rem 0 10rem;
}


.vliver-container h1 {
    width: 40vw;
    margin: 0 auto;
}

@media (max-width: 480px) {
    .vliver-container {
        margin: 15px 15px;
    }
}

/* ヒーローセクション */
.vliver-hero {
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.9) 0%, rgba(118, 75, 162, 0.9) 100%);
    color: white;
    padding: 80px 0;
    text-align: center;
    border-radius: 20px;
    margin-bottom: 40px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
    position: relative;
    overflow: hidden;
}

.vliver-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="stars" width="20" height="20" patternUnits="userSpaceOnUse"><circle cx="10" cy="10" r="1" fill="white" opacity="0.3"/></pattern></defs><rect width="100" height="100" fill="url(%23stars)"/></svg>');
    opacity: 0.4;
}

.vliver-hero h1 {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 20px;
    position: relative;
    z-index: 1;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.vliver-hero .subtitle {
    font-size: 1.5rem;
    margin-bottom: 30px;
    position: relative;
    z-index: 1;
}

.hero-description {
    position: relative;
    z-index: 1;
    text-align: center;
    max-width: 900px;
    margin: 30px auto;
}

.hero-description p {
    margin-bottom: 20px;
    color: #666666;
    font-weight: 600;
}

.platforms {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin: 30px 0;
    position: relative;
    z-index: 1;
}

.platforms img {
    width: 25vw;
    height: 100%;
}

.platform-logo {
    height: 40px;
    width: auto;
    background: rgba(255, 255, 255, 0.9);
    padding: 8px 12px;
    border-radius: 8px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.platform-logo:hover {
    transform: scale(1.1) translateY(-5px);
    background: rgba(255, 255, 255, 1);
}

/* セクション共通スタイル */
.vliver-section {
    max-width: 900px;
    margin: 0 auto 40px;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    padding: 60px 40px;
    border-radius: 20px;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.vliver-section.narrow {
    margin-top: 50px;
}

.section-title {
    font-size: 2.5rem;
    text-align: center;
    margin-bottom: 60px;
    background: linear-gradient(135deg, #667eea, #764ba2);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    position: relative;
    font-weight: 700;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background: linear-gradient(135deg, #667eea, #764ba2);
    border-radius: 2px;
}

.section-subtitle {
    text-align: center;
    margin-bottom: 50px;
    font-size: 1.1rem;
    color: #666;
}

.section-subtitle p {
    text-align: center;
}

/* 強みグリッド */
.strengths-grid {
    display: flex;
    flex-direction: column;
    gap: 30px;
    margin-top: 50px;
}

.strengths-row {
    display: grid;
    gap: 30px;
}

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

.strengths-row.bottom {
    grid-template-columns: repeat(2, 1fr);
    max-width: 66.67%;
    margin: 0 auto;
}

.strength-card {
    background: linear-gradient(135deg, #fff 0%, #f8f9fa 100%);
    border-radius: 15px;
    padding: 30px;
    box-shadow: 0 8px 25px rgba(102, 126, 234, 0.15);
    transition: all 0.3s ease;
    position: relative;
    overflow: visible;
    z-index: 1;
    border: 2px solid transparent;
    margin-top: 30px;
}

.strength-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 5px;
    background: linear-gradient(135deg, #667eea, #764ba2);
}

.strength-card:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow: 0 20px 40px rgba(102, 126, 234, 0.25);
    border-color: #667eea;
    z-index: 10;
}

.strength-number {
    position: absolute;
    top: -20px;
    left: 30px;
    background: linear-gradient(135deg, #667eea, #764ba2);
    color: white;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 1.1rem;
    box-shadow: 0 5px 15px rgba(102, 126, 234, 0.4);
    z-index: 100;
}

.strength-card h3 {
    font-size: 1.8rem;
    margin-bottom: 15px;
    color: #667eea;
    margin-top: 10px;
    font-weight: 600;
}

.strength-card p {
    color: #666;
    line-height: 1.7;
}

/* イラストセクション */
.illustration-content {
    grid-template-columns: 1fr 1fr;
    align-items: center;
}

.illustration-text h3 {
    font-size: 1.8rem;
    margin-bottom: 20px;
    background: linear-gradient(135deg, #667eea, #764ba2);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-align: center;
}

.illustration-text p {
    color: #666;
    margin: 10px 0 40px 0;
    line-height: 1.7;
    text-align: center;
}

.price-info {
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.1) 0%, rgba(118, 75, 162, 0.1) 100%);
    padding: 20px;
    border-radius: 10px;
    border-left: 5px solid #667eea;
    margin-bottom: 30px;
}

.price-info h4 {
    color: #667eea;
    margin-bottom: 10px;
    font-size: 2.0rem;
}

.price-info p {
    margin: 10px 0 0 10px;
    text-align: center;
}

.price-info strong {
    color: #667eea;
    font-size: 2rem;
    margin: 0 auto;
}

.price-images {
    display: flex;
    gap: 10px;
    margin-top: 15px;
    justify-content: center;
}

.price-images img {
    width: 100px;
    height: 100%;
}

.price-image {
    width: 40px;
    height: 60px;
    object-fit: cover;
    border-radius: 8px;
    box-shadow: 0 3px 10px rgba(102, 126, 234, 0.3);
    transition: all 0.3s ease;
    border: 2px solid rgba(102, 126, 234, 0.2);
}

.price-image:hover {
    transform: scale(1.1);
    box-shadow: 0 5px 15px rgba(102, 126, 234, 0.5);
    border-color: #667eea;
}

.illustration-image {
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.1) 0%, rgba(118, 75, 162, 0.1) 100%);
    border-radius: 15px;
    text-align: center;
    border: 3px dashed #667eea;
    transition: all 0.3s ease;
    min-height: 370px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.illustration-image img {
    width: 350px;
    height: 100%;
}

.illustration-image:hover {
    transform: scale(1.05);
    box-shadow: 0 10px 30px rgba(102, 126, 234, 0.3);
}

.character-image {
    max-width: 100%;
    max-height: 250px;
    width: auto;
    height: auto;
    object-fit: contain;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(102, 126, 234, 0.3);
}

.illustration-image .placeholder-icon {
    font-size: 4rem;
    display: block;
    margin-bottom: 20px;
    animation: pulse 2s ease-in-out infinite;
}

.illustration-image p {
    color: #667eea;
    font-size: 1.1rem;
    font-weight: 600;
}

@keyframes pulse {

    0%,
    100% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.1);
    }
}

/* キャッシュバックセクション */
.cashback-hero {
    text-align: center;
    margin-bottom: 50px;
}

.cashback-amount {
    font-size: 3rem;
    background: linear-gradient(135deg, #667eea, #764ba2);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 20px;
    font-weight: bold;
    animation: glow 2s ease-in-out infinite alternate;
}

@keyframes glow {
    0% {
        filter: drop-shadow(0 0 5px rgba(102, 126, 234, 0.5));
    }

    100% {
        filter: drop-shadow(0 0 20px rgba(102, 126, 234, 0.8));
    }
}

.cashback-conditions {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
}

.condition-card {
    background: linear-gradient(135deg, #fff 0%, rgba(102, 126, 234, 0.05) 100%);
    border-radius: 15px;
    padding: 30px;
    box-shadow: 0 10px 30px rgba(102, 126, 234, 0.15);
    text-align: center;
    position: relative;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.condition-card:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow: 0 15px 40px rgba(102, 126, 234, 0.25);
    border-color: #667eea;
}

.condition-number {
    position: absolute;
    top: -15px;
    left: 50%;
    transform: translateX(-50%);
    background: linear-gradient(135deg, #667eea, #764ba2);
    color: white;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 1.1rem;
    box-shadow: 0 5px 15px rgba(102, 126, 234, 0.4);
}

.condition-card h4 {
    margin: 20px 0 15px;
    color: #667eea;
    font-size: 1.2rem;
    font-weight: 600;
}

.amount {
    font-size: 2.5rem;
    background: linear-gradient(135deg, #667eea, #764ba2);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-weight: bold;
    margin: 20px 0;
}

.condition-card ul {
    list-style: none;
    padding: 0;
    text-align: left;
}

.condition-card li {
    padding: 8px 0;
    position: relative;
    padding-left: 25px;
}

.condition-card li::before {
    content: '🌟';
    position: absolute;
    left: 0;
    font-weight: bold;
}

/* 報酬セクション */
.reward-overview {
    text-align: center;
    margin-bottom: 50px;
}

.reward-rate h3 {
    font-size: 2.5rem;
    background: linear-gradient(135deg, #667eea, #764ba2);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 10px;
}

.reward-rate p {
    text-align: center;
}

.reward-example {
    max-width: 600px;
    margin: 0 auto;
    background: linear-gradient(135deg, #fff 0%, rgba(102, 126, 234, 0.05) 100%);
    padding: 40px;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(102, 126, 234, 0.15);
    border: 2px solid transparent;
}

.reward-example h4 {
    text-align: center;
    margin-bottom: 30px;
    font-size: 1.5rem;
    color: #667eea;
    font-weight: 600;
}

.calculation {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.calc-step {
    display: flex;
    justify-content: space-between;
    padding: 15px 0;
    border-bottom: 2px solid rgba(102, 126, 234, 0.2);
    transition: all 0.3s ease;
    font-size: 1.4rem;
}

.calc-step:hover {
    background: rgba(102, 126, 234, 0.1);
    border-radius: 10px;
    padding-left: 10px;
    padding-right: 10px;
}

.calc-total {
    display: flex;
    justify-content: space-between;
    padding: 20px 0;
    font-weight: bold;
    font-size: 1.2rem;
    background: linear-gradient(135deg, #667eea, #764ba2);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    border-top: 3px solid #667eea;
    margin-top: 10px;
}

.label {
    font-weight: 600;
}

.value {
    color: #667eea;
    font-weight: 600;
    font-size: 2rem;
}

/* FAQ */
.faq-list {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    background: linear-gradient(135deg, #fff 0%, rgba(102, 126, 234, 0.05) 100%);
    margin-bottom: 20px;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(102, 126, 234, 0.15);
    overflow: hidden;
    cursor: pointer;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.faq-item:hover {
    box-shadow: 0 10px 30px rgba(102, 126, 234, 0.25);
    transform: translateY(-5px);
    border-color: #667eea;
}

.faq-item h4 {
    background: linear-gradient(135deg, #667eea, #764ba2);
    color: white;
    padding: 20px;
    margin: 0;
    font-size: 1.4rem;
    position: relative;
    cursor: pointer;
    text-align: left;
}

.faq-item h4::after {
    content: '🍀';
    position: absolute;
    right: 1%;
    top: 50%;
    transform: translateY(-50%);
    font-size: 1.5rem;
    transition: transform 0.3s ease;
}

.faq-item.active h4::after {
    transform: translateY(-50%) rotate(180deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease;
}

.faq-item.active .faq-answer {
    max-height: 200px;
}

.faq-answer p {
    padding: 20px;
    margin: 0;
    color: #666;
    line-height: 1.7;
}

/* レスポンシブデザイン */
@media (max-width: 768px) {
    .vliver-section {
        margin: 20px 20px;
        padding: 40px 20px;
    }

    .vliver-section.narrow {
        margin: 20px 20px;
    }

    .strengths-row.top {
        grid-template-columns: 1fr;
    }

    .strengths-row.bottom {
        grid-template-columns: 1fr;
        max-width: 100%;
    }

    .vliver-hero h1 {
        font-size: 2.5rem;
    }

    .vliver-hero .subtitle {
        font-size: 1.2rem;
    }

    .hero-description {
        text-align: left !important;
    }

    .platforms {
        gap: 10px;
    }

    .section-title {
        font-size: 2rem;
    }

    .illustration-content {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .cashback-conditions {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .cashback-amount {
        font-size: 2.5rem;
    }

    .calc-step {
        flex-direction: column;
        gap: 5px;
    }

    .calc-total {
        flex-direction: column;
        gap: 5px;
    }

    .price-images {
        gap: 8px;
    }

    .price-image {
        width: 70px;
        height: 50px;
    }
}

@media (max-width: 480px) {
    .vliver-section {
        margin: 15px 15px;
        padding: 30px 15px;
    }

    .vliver-section.narrow {
       margin: 0px 15px 150px;
    }

    .vliver-hero {
        padding: 60px 0;
    }

    .vliver-hero h1 {
        font-size: 2rem;
    }

    .strength-card {
        padding: 25px 20px;
    }

    .reward-example {
        padding: 30px 20px;
    }
}

.background-video {
    position: relative;
    width: 100%;
    height: 100vh;
    /* ビューポートの高さに合わせる */
    overflow: hidden;
}

#background-video {
    position: absolute;
    top: 50%;
    left: 50%;
    min-width: 100%;
    min-height: 100%;
    transform: translate(-50%, -50%);
    object-fit: cover;
    z-index: 0;
}
@media (min-width: 960px) {
        #background-video {
    top: 20%;
}
}
@media (max-width: 960px) {
    #background-video {
        position: absolute;
        top: 50vw;
        left: 50%;
        width: 100%;
        height: 50%;
        object-fit: cover;
        /* 動画が親要素に合わせて拡大縮小 */
        transform: translate(-50%, -50%);
        z-index: 0;
    }
}

.reward-table-container {
    max-width: 600px;
    margin: 40px auto;
    background: #f6f8fe;
    border-radius: 16px;
    font-family: 'Helvetica Neue', sans-serif;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.03);
}

.reward-table-container h2 {
    text-align: center;
    color: #6a75ff;
    font-size: 18px;
    margin-bottom: 24px;
}

.reward-table {
    width: 100%;
    border-collapse: collapse;
    color: #444;
}

.reward-table th,
.reward-table td {
    padding: 14px 12px;
    text-align: left;
    font-size: 15px;
}

.reward-table thead th {
    color: #444;
    font-weight: bold;
    border-bottom: 1px solid #cfd8ff;
}

.reward-table tbody tr {
    border-bottom: 1px solid #e5e8f7;
}

.reward-table tbody tr:last-child {
    border-bottom: none;
}

.reward-table td {
    font-weight: 600;
    color: #6a75ff;
}



.reward-rate span {
    font-size: 1.4rem;
}