/*
Theme Name: NEXSTREAM ライバー事務所テーマ
Theme URI: https://nexstream.jp
Author: NEXSTREAM
Author URI: https://nexstream.jp
Description: ライバー事務所向けの高級感のあるWordPressテーマ
Version: 1.0
*/

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

:root {
    --primary: #2563eb;
    --secondary: #7c3aed;
    --accent: #0891b2;
    --gold: #d97706;
    --dark: #0f172a;
    --gray: #64748b;
    --gray-light: #f8fafc;
    --light: #ffffff;
    --gradient: linear-gradient(135deg, #2563eb 0%, #7c3aed 100%);
}

body {
    font-family: 'Noto Sans JP', -apple-system, sans-serif;
    background: var(--light);
    color: var(--dark);
    overflow-x: hidden;
}

/* ============================================
   ヘッダー
============================================ */
header {
    position: fixed;
    top: 0;
    width: 100%;
    padding: 1rem 2rem;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    z-index: 1000;
    border-bottom: 1px solid rgba(99, 102, 241, 0.1);
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
}

header.scrolled {
    background: rgba(255, 255, 255, 0.98);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

nav {
    max-width: 1400px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 1.8rem;
    font-weight: 900;
    background: var(--gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    cursor: pointer;
    transition: transform 0.3s;
}

.logo:hover {
    transform: scale(1.05);
}

.nav-menu {
    display: flex;
    gap: 2rem;
    list-style: none;
    transition: all 0.3s ease;
}

.nav-menu a {
    color: var(--dark);
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s;
    padding: 0.5rem 1rem;
    border-radius: 25px;
    position: relative;
}

.nav-menu a:hover {
    color: var(--primary);
    transform: translateY(-2px);
    background: rgba(99, 102, 241, 0.1);
}

.menu-toggle {
    display: none;
    flex-direction: column;
    gap: 4px;
    cursor: pointer;
    padding: 10px;
}

.menu-toggle span {
    width: 25px;
    height: 3px;
    background: var(--primary);
    transition: all 0.3s ease;
    border-radius: 2px;
}

/* ============================================
   ヒーローセクション
============================================ */
.hero {
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #f8fafc 0%, #e0e7ff 100%);
    padding: 0 2rem;
}

.hero-content {
    text-align: center;
    max-width: 1000px;
}

.hero-title {
    font-size: clamp(3rem, 7vw, 6rem);
    font-weight: 900;
    margin-bottom: 1rem;
    background: var(--gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-subtitle {
    font-size: 1.5rem;
    margin-bottom: 3rem;
    color: var(--gray);
}

.hero-buttons {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
    flex-wrap: wrap;
}

.btn {
    padding: 1rem 2.5rem;
    text-decoration: none;
    font-weight: 700;
    border-radius: 50px;
    transition: all 0.3s;
    display: inline-block;
}

.btn-primary {
    background: var(--gradient);
    color: white;
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(102, 126, 234, 0.4);
}

.btn-secondary {
    background: transparent;
    color: var(--primary);
    border: 2px solid var(--primary);
}

.btn-secondary:hover {
    background: var(--primary);
    color: var(--light);
}

/* ============================================
   About Section（重要！）
============================================ */
.about-section {
    padding: 6rem 2rem;
    background: var(--light);
}

.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-tag {
    color: var(--primary);
    font-weight: 600;
    text-align: center;
    margin-bottom: 0.5rem;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.section-title {
    font-size: 3rem;
    font-weight: 900;
    margin-bottom: 1rem;
    background: var(--gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.section-subtitle {
    font-size: 1.2rem;
    color: var(--gray);
}

.about-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.about-card {
    background: white;
    padding: 2.5rem;
    border-radius: 15px;
    text-align: center;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    border: 1px solid #e5e7eb;
}

.about-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
    border-color: var(--primary);
}

.about-icon {
    font-size: 3rem;
    margin-bottom: 1.5rem;
    display: inline-block;
    animation: float 3s ease-in-out infinite;
}

.about-card:nth-child(2) .about-icon {
    animation-delay: 0.5s;
}

.about-card:nth-child(3) .about-icon {
    animation-delay: 1s;
}

@keyframes float {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-10px);
    }
}

.about-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--dark);
    margin-bottom: 1rem;
}

.about-card p {
    color: var(--gray);
    line-height: 1.6;
}

/* ============================================
   ライバーセクション
============================================ */
.livers-section {
    padding: 6rem 2rem;
    background: var(--gray-light);
}

.livers-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
    justify-content: center;
}

.liver-card {
    width: 300px;
    background: white;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s;
    display: flex;
    flex-direction: column;
    cursor: pointer;
}

.liver-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.15);
}

.liver-image-container {
    width: 300px;
    height: 200px;
    overflow: hidden;
    flex-shrink: 0;
}

.liver-image-container img {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    display: block !important;
}

.liver-image-placeholder {
    width: 300px;
    height: 200px;
    background: var(--gradient);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    flex-shrink: 0;
}

.liver-info {
    padding: 1.5rem;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.liver-name {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
    color: var(--primary);
}

.liver-category {
    display: inline-block;
    background: var(--gradient);
    color: white;
    padding: 0.3rem 0.8rem;
    border-radius: 15px;
    font-size: 0.8rem;
    font-weight: 600;
    margin-bottom: 0.8rem;
}

.liver-description {
    flex-grow: 1;
    margin-bottom: 1rem;
}

.liver-stats {
    margin: 1rem 0;
    color: var(--gray);
    font-weight: 500;
    font-size: 0.9rem !important;
    line-height: 1.2;
}

.liver-social {
    display: flex;
    gap: 0.5rem;
    margin-top: 1rem;
    flex-wrap: wrap;
}

.social-link {
    display: inline-block;
    padding: 0.3rem 0.6rem !important;
    border-radius: 20px;
    text-decoration: none;
    font-size: 0.8rem !important;
    font-weight: 500;
    transition: all 0.3s;
    line-height: 1.2 !important;
}

.social-link.youtube {
    background: #ff0000;
    color: white;
}

.social-link.twitter {
    background: #1da1f2;
    color: white;
}

/* ============================================
   ニュースセクション
============================================ */
.news-section {
    padding: 6rem 2rem;
    background: var(--light);
}

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

.news-ticker {
    background: linear-gradient(90deg, var(--primary), var(--secondary));
    padding: 1rem;
    border-radius: 50px;
    margin: 2rem 0;
    overflow: hidden;
    position: relative;
}

.news-ticker-content {
    display: flex;
    animation: scroll-left 30s linear infinite;
}

.news-item {
    white-space: nowrap;
    color: white;
    font-weight: 500;
    margin-right: 3rem;
    display: flex;
    align-items: center;
    flex-shrink: 0;
}

.news-item span {
    background: rgba(255, 255, 255, 0.2);
    padding: 0.2rem 0.5rem;
    border-radius: 15px;
    font-size: 0.8rem;
    margin-right: 1rem;
    font-weight: 700;
}

.news-item a {
    color: white;
    text-decoration: none;
}

@keyframes scroll-left {
    0% { transform: translateX(100%); }
    100% { transform: translateX(-100%); }
}

.news-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
}

.news-card {
    background: white;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s;
}

.news-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.15);
}

.news-image {
    width: 100%;
    height: 200px;
    overflow: hidden;
}

.news-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.news-content {
    padding: 1.5rem;
}

.news-meta {
    display: flex;
    align-items: center;
    margin-bottom: 1rem;
    font-size: 0.9rem;
}

.news-category {
    padding: 0.2rem 0.6rem;
    border-radius: 15px;
    font-weight: 700;
    font-size: 0.7rem;
    margin-right: 0.5rem;
}

.news-category.category-new {
    background: #ff6b6b;
    color: white;
}

.news-category.category-event {
    background: #4ecdc4;
    color: white;
}

.news-category.category-misc {
    background: #45b7d1;
    color: white;
}

.news-date {
    color: var(--primary);
    font-size: 0.9rem;
    margin-bottom: 0.5rem;
}

.news-title-main {
    font-size: 1.3rem;
    margin-bottom: 1rem;
    color: var(--dark);
    font-weight: 700;
}

.news-title-main a {
    color: inherit;
    text-decoration: none;
}

.news-excerpt {
    color: var(--gray);
    line-height: 1.6;
    margin-bottom: 1rem;
}

.news-read-more {
    color: var(--primary);
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s;
}

.news-read-more:hover {
    color: var(--secondary);
}

/* ============================================
   Platform Section
============================================ */
.platform-section {
    padding: 6rem 2rem;
    background: var(--gray-light);
}

.platform-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.platform-card {
    background: white;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: all 0.3s;
    display: flex;
    flex-direction: column;
}

.platform-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.15);
}

.platform-header {
    padding: 2rem;
    background: var(--gradient);
    text-align: center;
}

.platform-logo {
    font-size: 3rem;
}

.platform-content {
    padding: 2rem;
    flex-grow: 1;
}

.platform-name {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--dark);
    margin-bottom: 0.5rem;
}

.platform-category {
    display: inline-block;
    background: var(--gray-light);
    color: var(--gray);
    padding: 0.3rem 0.8rem;
    border-radius: 15px;
    font-size: 0.8rem;
    margin-bottom: 1rem;
}

.platform-description {
    color: var(--gray);
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

.platform-stats {
    display: flex;
    gap: 2rem;
    margin-top: auto;
}

.platform-stat {
    text-align: center;
}

.stat-value {
    font-size: 1.5rem;
    font-weight: bold;
    color: var(--primary);
}

.stat-label {
    font-size: 0.8rem;
    color: var(--gray);
}

.platform-footer {
    padding: 1rem 2rem;
    background: var(--gray-light);
    text-align: center;
}

.platform-link {
    color: var(--primary);
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s;
}

.platform-link:hover {
    color: var(--secondary);
}

/* ============================================
   Events Section
============================================ */
.events-section {
    padding: 6rem 2rem;
    background: var(--light);
}

.events-timeline {
    max-width: 900px;
    margin: 0 auto;
    position: relative;
    padding: 2rem 0;
}

.events-timeline::before {
    content: '';
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    width: 2px;
    height: 100%;
    background: var(--primary);
    opacity: 0.3;
}

.event-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 3rem;
    position: relative;
}

.event-item:nth-child(even) {
    flex-direction: row-reverse;
}

.event-content {
    background: white;
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    width: 45%;
    cursor: pointer;
    transition: all 0.3s;
}

.event-content:hover {
    transform: scale(1.02);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.15);
}

.event-title {
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--dark);
    margin-bottom: 1rem;
}

.event-content p {
    color: var(--gray);
    line-height: 1.6;
    margin-bottom: 1rem;
}

.event-platforms {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-bottom: 1rem;
}

.event-platform-tag {
    display: inline-block;
    background: var(--gray-light);
    color: var(--gray);
    padding: 0.3rem 0.6rem;
    border-radius: 15px;
    font-size: 0.8rem;
}

.event-participants {
    margin-top: 1rem;
}

.participants-label {
    font-size: 0.8rem;
    color: var(--gray);
    margin-bottom: 0.5rem;
}

.participants-list {
    display: flex;
    gap: 0.5rem;
}

.participant-avatar {
    width: 35px;
    height: 35px;
    border-radius: 50%;
    background: var(--gradient);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.7rem;
    font-weight: bold;
}

.participants-more {
    background: var(--gray-light);
    color: var(--gray);
}

.event-date {
    background: var(--primary);
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 25px;
    font-weight: bold;
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
}

/* ============================================
   FAQセクション
============================================ */
.faq-section {
    padding: 6rem 2rem;
    background: var(--gray-light);
}

.faq-container {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    background: white;
    border-radius: 10px;
    margin-bottom: 1rem;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    overflow: hidden;
}

.faq-question {
    padding: 1.5rem 2rem;
    background: var(--gray-light);
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: background-color 0.3s;
}

.faq-question:hover {
    background: #e5e7eb;
}

.faq-question h3 {
    margin: 0;
    font-size: 1.1rem;
    color: var(--dark);
}

.faq-icon {
    font-size: 1.5rem;
    font-weight: bold;
    color: var(--primary);
    transition: transform 0.3s;
}

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

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

.faq-answer.active ~ .faq-question .faq-icon {
    transform: rotate(45deg);
}

.faq-content {
    padding: 1.5rem 2rem;
    color: var(--gray);
    line-height: 1.6;
}

/* ============================================
   How to Join Section
============================================ */
.join-section {
    padding: 6rem 2rem;
    background: var(--light);
}

.join-steps {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.step-card {
    text-align: center;
    padding: 2rem;
    position: relative;
}

.step-number {
    width: 60px;
    height: 60px;
    background: var(--gradient);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: bold;
    margin: 0 auto 1.5rem;
}

.step-title {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--dark);
    margin-bottom: 1rem;
}

.step-card p {
    color: var(--gray);
    line-height: 1.6;
}

.step-card:not(:last-child)::after {
    content: '→';
    position: absolute;
    top: 3rem;
    right: -1.5rem;
    font-size: 2rem;
    color: var(--primary);
    opacity: 0.3;
}

/* ============================================
   お問い合わせセクション
============================================ */
.contact-section {
    padding: 6rem 2rem;
    background: var(--gray-light);
}

.contact-container {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 4rem;
    align-items: start;
}

.contact-form {
    background: white;
    padding: 3rem;
    border-radius: 15px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.contact-form label {
    display: block;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: var(--dark);
}

.contact-form input,
.contact-form select,
.contact-form textarea {
    width: 100%;
    padding: 0.8rem;
    margin-bottom: 1.5rem;
    border: 2px solid #e5e7eb;
    border-radius: 8px;
    font-size: 1rem;
    transition: border-color 0.3s;
}

.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
    outline: none;
    border-color: var(--primary);
}

.contact-form input[type="submit"] {
    background: var(--gradient);
    color: white;
    border: none;
    padding: 1rem 2rem;
    border-radius: 50px;
    font-weight: 700;
    cursor: pointer;
    transition: transform 0.3s;
}

.contact-form input[type="submit"]:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(102, 126, 234, 0.4);
}

.contact-info {
    background: white;
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.contact-info h3 {
    color: var(--primary);
    margin-bottom: 1rem;
    font-size: 1.3rem;
}

.contact-info ul {
    list-style: none;
    margin-bottom: 2rem;
}

.contact-info li {
    padding: 0.5rem 0;
    color: var(--gray);
}

.contact-details p {
    margin: 0.5rem 0;
    color: var(--gray);
}

/* ============================================
   フッター
============================================ */
.footer {
    background: var(--dark);
    color: white;
    padding: 4rem 2rem 2rem;
}

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

.footer-content {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 3rem;
    margin-bottom: 2rem;
}

.footer-section h3 {
    background: var(--gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    font-size: 1.8rem;
    margin-bottom: 1rem;
}

.footer-section h4 {
    color: white;
    margin-bottom: 1rem;
    font-size: 1.2rem;
}

.footer-section p {
    color: #94a3b8;
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 0.5rem;
}

.footer-section ul li a {
    color: #94a3b8;
    text-decoration: none;
    transition: color 0.3s;
}

.footer-section ul li a:hover {
    color: var(--primary);
}

.footer-social {
    display: flex;
    gap: 1rem;
}

.social-icon {
    display: inline-block;
    padding: 0.5rem 1rem;
    background: rgba(255, 255, 255, 0.1);
    color: white;
    text-decoration: none;
    border-radius: 25px;
    transition: all 0.3s;
    font-size: 0.9rem;
}

.social-icon:hover {
    background: var(--primary);
    transform: translateY(-2px);
}

.contact-item {
    margin-bottom: 0.5rem;
    color: #94a3b8;
}

.footer-bottom {
    border-top: 1px solid #334155;
    padding-top: 2rem;
    text-align: center;
}

.footer-bottom p {
    color: #94a3b8;
    margin: 0;
}

/* ============================================
   ライバー詳細モーダル
============================================ */
.liver-modal {
    position: fixed;
    top: 0;
    right: -100%;
    width: 100%;
    height: 100vh;
    background: rgba(0, 0, 0, 0.5);
    z-index: 2000;
    transition: right 0.3s ease;
}

.liver-modal.active {
    right: 0;
}

.liver-modal-content {
    position: absolute;
    top: 0;
    right: -500px;
    width: 500px;
    height: 100vh;
    background: white;
    transition: right 0.3s ease;
    overflow-y: auto;
}

.liver-modal.active .liver-modal-content {
    right: 0;
}

.liver-modal-header {
    padding: 1rem;
    display: flex;
    justify-content: flex-end;
    position: sticky;
    top: 0;
    background: white;
    z-index: 10;
}

.liver-modal-close {
    background: var(--primary);
    color: white;
    border: none;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    font-size: 1.5rem;
    cursor: pointer;
    transition: background 0.3s;
}

.liver-modal-close:hover {
    background: var(--secondary);
}

.liver-modal-body {
    padding: 0 2rem 2rem;
    flex: 1;
    overflow-y: auto !important;
    display: block !important;
    max-height: calc(100vh - 80px);
}

.liver-modal-image {
    width: 100%;
    height: 250px;
    overflow: hidden;
    border-radius: 15px;
    margin-bottom: 2rem;
}

.liver-modal-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.liver-modal-info h2 {
    font-size: 2rem;
    color: var(--primary);
    margin-bottom: 1rem;
}

.liver-modal-stats {
    display: flex;
    gap: 2rem;
    margin: 2rem 0;
    padding: 1rem;
    background: var(--gray-light);
    border-radius: 10px;
}

.stat-item {
    text-align: center;
}

.stat-number {
    display: block;
    font-size: 2rem;
    font-weight: bold;
    color: var(--primary);
}

.liver-modal-social {
    display: flex;
    gap: 1rem;
    margin-top: 2rem;
}

/* ============================================
   モバイル対応（完全版）
============================================ */
@media (max-width: 768px) {
    /* ナビゲーション */
    .nav-menu {
        position: fixed;
        top: 70px;
        left: 0;
        width: 100%;
        background: white;
        flex-direction: column;
        gap: 0;
        box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
        transform: translateX(-100%);
        transition: transform 0.3s ease;
    }
    
    .nav-menu.active {
        transform: translateX(0);
    }
    
    .nav-menu a {
        padding: 1rem 2rem;
        border-bottom: 1px solid #f3f4f6;
        border-radius: 0;
    }
    
    .menu-toggle {
        display: flex;
    }
    
    /* ヒーローセクション */
    .hero {
        padding: 0 1rem;
    }
    
    .hero-title {
        font-size: 2rem;
        line-height: 1.2;
    }
    
    .hero-subtitle {
        font-size: 1rem;
        margin-bottom: 2rem;
    }
    
    .hero-buttons {
        flex-direction: column;
        width: 100%;
        gap: 1rem;
    }
    
    .btn {
        width: 100%;
        text-align: center;
        padding: 1rem 1.5rem;
        font-size: 1rem;
    }
    
    /* セクション共通 */
    .section-title {
        font-size: 2rem;
    }
    
    .section-subtitle {
        font-size: 1rem;
    }
    
    /* About セクション */
    .about-section {
        padding: 3rem 1rem;
    }
    
    .about-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .about-card {
        padding: 2rem 1.5rem;
    }
    
    /* ライバーセクション */
    .livers-section {
        padding: 3rem 1rem;
    }
    
    .livers-grid {
        display: grid;
        grid-template-columns: 1fr;
        gap: 1rem;
        max-width: 100%;
    }
    
    .liver-card {
        width: 100%;
        max-width: none;
        display: flex;
        flex-direction: row;
        align-items: center;
        background: white;
        border-radius: 12px;
        overflow: hidden;
        box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
        height: 120px;
    }
    
    .liver-card:hover {
        transform: translateX(5px);
        box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    }
    
    .liver-image-container,
    .liver-image-placeholder {
        width: 120px;
        height: 120px;
        flex-shrink: 0;
    }
    
    .liver-image-container img {
        width: 100% !important;
        height: 100% !important;
        object-fit: cover !important;
    }
    
    .liver-image-placeholder {
        background: var(--gradient);
        display: flex;
        align-items: center;
        justify-content: center;
        font-size: 2rem;
    }
    
    .liver-info {
        padding: 1rem;
        flex-grow: 1;
        display: flex;
        flex-direction: column;
        justify-content: center;
        gap: 0.3rem;
        min-width: 0;
    }
    
    .liver-name {
        font-size: 1.1rem;
        margin-bottom: 0.2rem;
        color: var(--primary);
        font-weight: 700;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
    }
    
    .liver-category {
        display: inline-block;
        background: var(--gradient);
        color: white;
        padding: 0.2rem 0.5rem;
        border-radius: 12px;
        font-size: 0.7rem;
        font-weight: 600;
        margin-bottom: 0.3rem;
        align-self: flex-start;
    }
    
    .liver-description {
        display: none; /* モバイルでは非表示 */
    }
    
    .liver-stats {
        margin: 0.3rem 0;
        color: var(--gray);
        font-weight: 500;
        font-size: 0.8rem !important;
        line-height: 1;
    }
    
    .liver-social {
        display: flex;
        gap: 0.3rem;
        margin-top: 0.3rem;
    }
    
    .social-link {
        padding: 0.2rem 0.4rem !important;
        border-radius: 15px;
        font-size: 0.7rem !important;
        font-weight: 500;
    }
    
    /* ニュースセクション */
    .news-section {
        padding: 3rem 1rem;
    }
    
    .news-container {
        padding: 0;
    }
    
    .news-ticker {
        border-radius: 25px;
        padding: 0.8rem;
        margin: 1rem 0;
    }
    
    .news-ticker-content {
        animation-duration: 20s;
    }
    
    .news-item {
        font-size: 0.9rem;
        margin-right: 2rem;
    }
    
    .news-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .news-card {
        margin: 0;
    }
    
    .news-title-main {
        font-size: 1.1rem;
    }
    
    /* プラットフォームセクション */
    .platform-section {
        padding: 3rem 1rem;
    }
    
    .platform-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    /* イベントセクション */
    .events-section {
        padding: 3rem 1rem;
    }
    
    .events-timeline::before {
        display: none;
    }
    
    .event-item {
        flex-direction: column !important;
        gap: 1rem;
    }
    
    .event-content {
        width: 100%;
        padding: 1.5rem;
    }
    
    .event-date {
        position: relative;
        left: auto;
        transform: none;
        margin-top: 1rem;
    }
    
    /* FAQセクション */
    .faq-section {
        padding: 3rem 1rem;
    }
    
    .faq-container {
        padding: 0;
    }
    
    .faq-question {
        padding: 1rem;
        font-size: 0.95rem;
    }
    
    .faq-question h3 {
        font-size: 1rem;
    }
    
    .faq-content {
        padding: 1rem;
        font-size: 0.9rem;
    }
    
    /* How to Join セクション */
    .join-section {
        padding: 3rem 1rem;
    }
    
    .join-steps {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .step-card {
        padding: 1.5rem;
    }
    
    .step-card::after {
        display: none;
    }
    
    /* お問い合わせセクション */
    .contact-section {
        padding: 3rem 1rem;
    }
    
    .contact-container {
        grid-template-columns: 1fr;
        gap: 2rem;
        padding: 0;
    }
    
    .contact-form {
        padding: 1.5rem;
        border-radius: 10px;
    }
    
    .contact-info {
        padding: 1.5rem;
        border-radius: 10px;
    }
    
    /* 簡易フォームのモバイル対応 */
    .simple-form-header {
        margin-bottom: 1.5rem;
        padding-bottom: 1rem;
    }
    
    .simple-form-header h3 {
        font-size: 1.2rem;
    }
    
    .simple-form-header p {
        font-size: 0.85rem;
    }
    
    .nexstream-simple-form .form-group {
        margin-bottom: 1.2rem;
    }
    
    .nexstream-simple-form label {
        font-size: 0.9rem;
        margin-bottom: 0.4rem;
    }
    
    .nexstream-simple-form input,
    .nexstream-simple-form select,
    .nexstream-simple-form textarea {
        padding: 0.7rem;
        font-size: 16px; /* iOSのズーム防止 */
    }
    
    .nexstream-simple-form small {
        font-size: 0.75rem;
    }
    
    .radio-group {
        gap: 0.6rem;
    }
    
    .radio-option {
        padding: 0.7rem;
        font-size: 0.9rem;
    }
    
    .form-submit {
        margin-top: 1.5rem;
        padding-top: 1rem;
    }
    
    .nexstream-simple-form .btn {
        width: 100%;
        padding: 1rem;
        font-size: 1rem;
    }
    
    /* LINE選択のモバイル対応 */
    .line-type-selector {
        grid-template-columns: 1fr;
        gap: 0.8rem;
    }
    
    .line-type-content {
        padding: 1rem 0.8rem;
        flex-direction: row;
        justify-content: flex-start;
        gap: 1rem;
    }
    
    .line-type-icon {
        font-size: 1.5rem;
        margin-bottom: 0;
    }
    
    .line-type-label {
        font-size: 0.9rem;
    }
    
    .line-type-option small {
        display: none; /* モバイルでは説明文を非表示 */
    }
    
    /* フッター */
    .footer {
        padding: 3rem 1rem 2rem;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .footer-section h3 {
        font-size: 1.5rem;
    }
    
    .footer-section h4 {
        font-size: 1.1rem;
    }
    
    .footer-social {
        justify-content: center;
        flex-wrap: wrap;
    }
    
    /* モーダル */
    .liver-modal-content {
        width: 100%;
        right: -100%;
    }
    
    .platform-modal-content {
        width: 100%;
        right: -100%;
    }
    
    /* 成功メッセージ */
    .form-success-message {
        margin: 1rem;
        padding: 1.5rem;
    }
    
    .success-content h3 {
        font-size: 1.2rem;
    }
    
    .success-content p {
        font-size: 0.9rem;
    }
}

/* ============================================
   ニュース詳細ページ
============================================ */
.news-detail {
    padding-top: 120px;
    padding-bottom: 4rem;
    background: var(--gray-light);
    min-height: 100vh;
}

.news-detail-container {
    max-width: 800px;
    margin: 0 auto;
    padding: 0 2rem;
}

.news-article {
    background: white;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.news-header {
    padding: 3rem 3rem 2rem;
}

.news-meta-detail {
    display: flex;
    gap: 1rem;
    align-items: center;
    margin-bottom: 1.5rem;
}

.news-date-detail {
    color: var(--gray);
    font-size: 0.9rem;
}

.news-title-detail {
    font-size: 2.5rem;
    font-weight: 800;
    line-height: 1.2;
    color: var(--dark);
    margin: 0;
}

.news-featured-image {
    width: 100%;
    height: 400px;
    overflow: hidden;
}

.news-featured-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.news-content-detail {
    padding: 3rem;
    line-height: 1.8;
    font-size: 1.1rem;
    color: var(--dark);
}

.news-back {
    padding: 2rem 3rem 3rem;
}

@media (max-width: 768px) {
    .news-header,
    .news-content-detail,
    .news-back {
        padding-left: 2rem;
        padding-right: 2rem;
    }
    
    .news-title-detail {
        font-size: 2rem;
    }
    
    .news-featured-image {
        height: 250px;
    }
}

/* ============================================
   プラットフォームモーダル
============================================ */
.platform-modal {
    position: fixed;
    top: 0;
    right: -100%;
    width: 100%;
    height: 100vh;
    background: rgba(0, 0, 0, 0.5);
    z-index: 2000;
    transition: right 0.3s ease;
}

.platform-modal.active {
    right: 0;
}

.platform-modal-content {
    position: absolute;
    top: 0;
    right: -600px;
    width: 600px;
    height: 100vh;
    background: white;
    transition: right 0.3s ease;
    overflow-y: auto;
}

.platform-modal.active .platform-modal-content {
    right: 0;
    animation: slideInRight 0.3s ease;
}

@keyframes slideInRight {
    from {
        transform: translateX(100%);
        opacity: 0;
    }
    to {
        transform: translateX(0);
        opacity: 1;
    }
}

.platform-modal-header {
    padding: 1rem;
    display: flex;
    justify-content: flex-end;
    position: sticky;
    top: 0;
    background: white;
    z-index: 10;
}

.platform-modal-close {
    background: var(--primary);
    color: white;
    border: none;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    font-size: 1.5rem;
    cursor: pointer;
    transition: all 0.3s;
}

.platform-modal-close:hover {
    background: var(--secondary);
    transform: rotate(90deg);
}

.platform-modal-body {
    padding: 0 2rem 2rem;
    /* 以下を修正 */
    overflow-y: auto;
    max-height: calc(100vh - 80px);
}

.platform-modal-top {
    text-align: center;
    padding: 3rem 2rem;
    border-radius: 15px;
    margin-bottom: 2rem;
    color: white;
}

.platform-modal-icon {
    font-size: 4rem;
    margin-bottom: 1rem;
    animation: bounce 2s infinite;
}

@keyframes bounce {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-10px);
    }
}

.platform-modal-top h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.platform-badge {
    display: inline-block;
    background: rgba(255, 255, 255, 0.2);
    padding: 0.4rem 1rem;
    border-radius: 20px;
    font-size: 0.9rem;
}

.platform-modal-image {
    width: 100%;
    height: 300px;
    overflow: hidden;
    border-radius: 15px;
    margin-bottom: 2rem;
}

.platform-modal-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* 既存の .platform-modal-description を修正 */
.platform-modal-description {
    font-size: 1.1rem;
    line-height: 1.8;
    color: var(--gray);
    margin-bottom: 2rem;
    /* 以下を追加 */
    white-space: pre-wrap;
    word-wrap: break-word;
    overflow-wrap: break-word;
}

.platform-modal-stats {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
    margin: 2rem 0;
    padding: 2rem;
    background: var(--gray-light);
    border-radius: 10px;
}

.platform-modal-stats .stat-item {
    text-align: center;
}

.platform-modal-stats .stat-number {
    display: block;
    font-size: 2.5rem;
    font-weight: bold;
    color: var(--primary);
}

.platform-modal-stats .stat-label {
    font-size: 0.9rem;
    color: var(--gray);
    margin-top: 0.5rem;
}

.platform-modal-features,
.platform-modal-requirements,
.platform-modal-monetization {
    margin-bottom: 2rem;
    padding: 2rem;
    background: var(--gray-light);
    border-radius: 10px;
}

.platform-modal-features h3,
.platform-modal-requirements h3,
.platform-modal-monetization h3 {
    font-size: 1.3rem;
    color: var(--dark);
    margin-bottom: 1rem;
}

.feature-item {
    background: white;
    padding: 1rem;
    border-radius: 8px;
    margin-bottom: 1rem;
}

.feature-item h4 {
    color: var(--primary);
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
}

.feature-item p {
    color: var(--gray);
    line-height: 1.6;
    font-size: 0.95rem;
}

.platform-modal-requirements p,
.platform-modal-monetization p {
    background: white;
    padding: 1rem;
    border-radius: 8px;
    line-height: 1.8;
    color: var(--gray);
    /* 以下を追加 */
    white-space: pre-wrap;
    word-wrap: break-word;
    overflow-wrap: break-word;
    max-height: none;
    overflow: visible;
}

.platform-modal-actions {
    display: flex;
    gap: 1rem;
    margin-top: 3rem;
    padding-top: 2rem;
    border-top: 1px solid #e5e7eb;
}

.platform-modal-actions .btn {
    flex: 1;
    text-align: center;
}

/* プラットフォームカードの修正（クリック可能に） */
.platform-card {
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
}

.platform-card:hover {
    transform: translateY(-5px) scale(1.02);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.2);
}

.platform-card::after {
    content: '→';
    position: absolute;
    top: 50%;
    right: 2rem;
    transform: translateY(-50%);
    font-size: 2rem;
    color: var(--primary);
    opacity: 0;
    transition: all 0.3s;
}

.platform-card:hover::after {
    opacity: 1;
    right: 1rem;
}

/* モバイル対応 */
@media (max-width: 768px) {
    .platform-modal-content {
        width: 100%;
        right: -100%;
    }
    
    .platform-modal.active .platform-modal-content {
        right: 0;
    }
    
    .platform-modal-top h2 {
        font-size: 1.8rem;
    }
    
    .platform-modal-icon {
        font-size: 3rem;
    }
    
    .platform-modal-stats {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .platform-modal-actions {
        flex-direction: column;
    }
}

/* ============================================
   ライバー一覧ページ（アーカイブ）
============================================ */
.liver-archive {
    padding-top: 100px;
    min-height: 100vh;
    background: var(--gray-light);
}

.liver-archive-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 2rem;
}

/* ページヘッダー */
.archive-header {
    text-align: center;
    margin-bottom: 3rem;
}

.breadcrumb {
    margin-bottom: 1rem;
    color: var(--gray);
    font-size: 0.9rem;
}

.breadcrumb a {
    color: var(--primary);
    text-decoration: none;
}

.archive-title {
    font-size: 3.5rem;
    font-weight: 900;
    background: var(--gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 1rem;
}

.archive-subtitle {
    font-size: 1.3rem;
    color: var(--gray);
}

/* フィルター */
.liver-filters {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 3rem;
    padding: 2rem;
    background: white;
    border-radius: 15px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.filter-buttons {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.filter-btn {
    padding: 0.6rem 1.5rem;
    border: 2px solid var(--primary);
    background: white;
    color: var(--primary);
    border-radius: 25px;
    cursor: pointer;
    font-weight: 600;
    transition: all 0.3s;
}

.filter-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(37, 99, 235, 0.2);
}

.filter-btn.active {
    background: var(--gradient);
    color: white;
    border-color: transparent;
}

/* ライバーグリッド */
.liver-archive-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 2rem;
    margin-bottom: 4rem;
    justify-items: center;
}
.liver-archive-card {
    background: white;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: all 0.3s;
    cursor: pointer;
}

.liver-archive-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.2);
}

.liver-archive-image {
    width: 100%;
    height: 200px;
    overflow: hidden;
    position: relative;
}

.liver-archive-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.liver-archive-placeholder {
    width: 100%;
    height: 200px;
    background: var(--gradient);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 3rem;
}

.liver-archive-info {
    padding: 1.5rem;
}

.liver-archive-name {
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--dark);
    margin-bottom: 0.5rem;
}

.liver-archive-category {
    display: inline-block;
    background: var(--gradient);
    color: white;
    padding: 0.3rem 0.8rem;
    border-radius: 15px;
    font-size: 0.8rem;
    font-weight: 600;
    margin-bottom: 0.8rem;
}

.liver-archive-stats {
    color: var(--gray);
    font-size: 0.9rem;
    font-weight: 500;
}

/* ライバーオーバーレイ */
.liver-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(37, 99, 235, 0.8);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s;
}

.liver-archive-card:hover .liver-overlay {
    opacity: 1;
}

.view-detail {
    color: white;
    font-weight: 600;
    font-size: 1.1rem;
    padding: 0.5rem 1.5rem;
    border: 2px solid white;
    border-radius: 25px;
}

/* 拡張モーダル */
.liver-modal-extended {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background: rgba(0, 0, 0, 0.8);
    z-index: 2000;
    display: none;
    align-items: center;
    justify-content: center;
}

.liver-modal-extended.active {
    display: flex;
}

.liver-modal-content-extended {
    background: white;
    width: 90%;
    max-width: 1200px;
    height: 90vh;
    border-radius: 20px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

/* モーダルナビゲーション */
.modal-nav-buttons {
    position: absolute;
    left: 2rem;
    display: flex;
    gap: 1rem;
}

.modal-nav-btn {
    background: var(--primary);
    color: white;
    border: none;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    cursor: pointer;
    font-size: 1.2rem;
    transition: all 0.3s;
}

.modal-nav-btn:hover:not(:disabled) {
    background: var(--secondary);
}

.modal-nav-btn:disabled {
    opacity: 0.3;
    cursor: not-allowed;
}

/* ギャラリー */
.liver-gallery {
    flex: 1;
    display: flex;
    flex-direction: column;
    padding: 2rem;
    border-right: 1px solid #e5e7eb;
    max-width: 600px;
}

.gallery-main {
    position: relative;
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--gray-light);
    border-radius: 15px;
    overflow: hidden;
}

.gallery-main img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    transition: opacity 0.3s;
}

.gallery-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 100%;
    display: flex;
    justify-content: space-between;
    padding: 0 1rem;
}

.gallery-prev,
.gallery-next {
    background: rgba(0, 0, 0, 0.5);
    color: white;
    border: none;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    font-size: 2rem;
    cursor: pointer;
    transition: all 0.3s;
}

.gallery-thumbnails {
    display: flex;
    gap: 0.5rem;
    padding: 1rem 0;
    overflow-x: auto;
}

.gallery-thumb {
    width: 80px;
    height: 80px;
    object-fit: cover;
    border-radius: 10px;
    cursor: pointer;
    opacity: 0.6;
    transition: all 0.3s;
    border: 3px solid transparent;
}

.gallery-thumb.active {
    opacity: 1;
    border-color: var(--primary);
}

/* ミニライバー一覧 */
.liver-mini-list {
    margin-top: 2rem;
    padding-top: 2rem;
    border-top: 2px solid #e5e7eb;
}

.liver-mini-list h3 {
    font-size: 1.2rem;
    color: var(--dark);
    margin-bottom: 1rem;
}

.mini-list-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
    gap: 1rem;
    max-height: 300px;
    overflow-y: auto;
    padding: 1rem;
    background: var(--gray-light);
    border-radius: 10px;
}

.mini-liver-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem;
    background: white;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s;
}

.mini-liver-item:hover {
    background: var(--primary);
    color: white;
}

.mini-liver-item.active {
    border: 2px solid var(--primary);
}

.mini-liver-icon {
    width: 25px;
    height: 25px;
    border-radius: 50%;
    object-fit: cover;
}

.mini-liver-icon-placeholder {
    width: 25px;
    height: 25px;
    border-radius: 50%;
    background: var(--gradient);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.8rem;
}

.mini-liver-name {
    font-size: 0.85rem;
    font-weight: 500;
}

/* ページネーション */
.liver-pagination {
    display: flex;
    justify-content: center;
    margin-top: 4rem;
}

.liver-pagination ul {
    display: flex;
    gap: 0.5rem;
    list-style: none;
}

.liver-pagination a,
.liver-pagination .current {
    display: block;
    padding: 0.8rem 1.2rem;
    border-radius: 10px;
    font-weight: 600;
    text-decoration: none;
}

.liver-pagination a {
    background: white;
    color: var(--primary);
    border: 2px solid var(--primary);
}

.liver-pagination .current {
    background: var(--gradient);
    color: white;
}

@media (max-width: 480px) {
  .liver-archive-grid {
    grid-template-columns: 1fr;
    gap: 1rem;
  }

  .liver-archive-card {
    width: 100%;
    max-width: 100%;
  }

  .liver-filters {
    padding: 1rem;
  }
    
    .filter-buttons {
        justify-content: center;
    }
}

/* ============================================
   ライバーモーダル完全修正版
============================================ */

/* 基本モーダル構造の修正 */
.liver-modal-content {
    position: absolute;
    top: 0;
    right: -500px;
    width: 500px;
    height: 100vh;
    background: white;
    transition: right 0.3s ease;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
}

.liver-modal.active .liver-modal-content {
    right: 0;
}

/* モーダルボディの修正 */
.liver-modal-body {
    padding: 0 2rem 2rem;
    flex: 1;
    overflow-y: visible;
    display: block;
}

/* ライバー情報の確実な表示 */
.liver-modal-info {
    width: 100%;
}

.liver-modal-info h2 {
    font-size: 2rem;
    color: var(--primary);
    margin-bottom: 1rem;
    text-align: center;
}

/* カテゴリバッジ */
#modalLiverCategory,
.liver-modal-info .liver-category {
    display: block !important;
    background: var(--gradient);
    color: white;
    padding: 0.4rem 1rem;
    border-radius: 15px;
    font-size: 0.8rem;
    font-weight: 600;
    margin-bottom: 1rem;
    text-align: center;
    width: fit-content;
    margin-left: auto;
    margin-right: auto;
}

/* 説明文の表示 */
#modalLiverDescription,
.liver-modal-description {
    display: block !important;
    font-size: 1rem;
    line-height: 1.6;
    color: var(--gray);
    margin-bottom: 1.5rem;
    padding: 1rem;
    background: var(--gray-light);
    border-radius: 10px;
    /* 以下を追加/修正 */
    max-height: none !important;
    height: auto !important;
    overflow: visible !important;
    white-space: pre-wrap;
    word-wrap: break-word;
}

/* 統計情報 */
.liver-modal-stats {
    display: flex !important;
    gap: 2rem;
    margin: 2rem 0;
    padding: 1.5rem;
    background: var(--gray-light);
    border-radius: 10px;
    justify-content: center;
}

.liver-modal-stats .stat-item {
    text-align: center;
    flex: 1;
}

.liver-modal-stats .stat-number {
    display: block;
    font-size: 2.5rem;
    font-weight: bold;
    color: var(--primary);
    margin-bottom: 0.5rem;
}

.liver-modal-stats .stat-label {
    font-size: 0.9rem;
    color: var(--gray);
}

/* ソーシャルリンク */
#modalSocial,
.liver-modal-social {
    display: flex !important;
    gap: 1rem;
    margin-top: 2rem;
    justify-content: center;
    flex-wrap: wrap;
}

.liver-modal-social .social-link {
    display: inline-block !important;
    padding: 0.8rem 1.5rem;
    border-radius: 25px;
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 600;
    transition: all 0.3s;
    text-align: center;
    min-width: 120px;
}

.liver-modal-social .social-link.youtube {
    background: #ff0000;
    color: white;
}

.liver-modal-social .social-link.twitter {
    background: #1da1f2;
    color: white;
}

.liver-modal-social .social-link:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

/* モーダルヘッダーの修正 */
.liver-modal-header {
    padding: 1rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: sticky;
    top: 0;
    background: white;
    z-index: 10;
    border-bottom: 1px solid #e5e7eb;
}

/* ナビゲーションボタン */
.modal-nav-buttons {
    display: flex;
    gap: 0.5rem;
}

.modal-nav-btn {
    background: var(--primary);
    color: white;
    border: none;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    cursor: pointer;
    font-size: 1.2rem;
    transition: all 0.3s;
}

.modal-nav-btn:hover:not(:disabled) {
    background: var(--secondary);
}

.modal-nav-btn:disabled {
    opacity: 0.3;
    cursor: not-allowed;
}

/* モバイル対応の完全修正 */
@media (max-width: 768px) {
    .liver-modal-content {
        width: 100% !important;
        right: -100% !important;
        max-width: none;
    }
    
    .liver-modal.active .liver-modal-content {
        right: 0 !important;
    }
    
    /* モーダルヘッダー */
    .liver-modal-header {
        padding: 1rem;
        flex-wrap: wrap;
        gap: 1rem;
    }
    
    .modal-nav-buttons {
        order: 1;
        flex: 1;
    }
    
    .liver-modal-close {
        order: 2;
        width: 35px;
        height: 35px;
        font-size: 1.2rem;
    }
    
    /* モーダルボディ */
    .liver-modal-body {
        padding: 1rem !important;
    }
    
    /* 画像 */
    .liver-modal-image {
        height: 200px;
        margin-bottom: 1.5rem;
    }
    
    /* ライバー名 */
    .liver-modal-info h2 {
        font-size: 1.5rem;
        margin-bottom: 0.8rem;
    }
    
    /* カテゴリ */
    #modalLiverCategory,
    .liver-modal-info .liver-category {
        font-size: 0.9rem;
        padding: 0.5rem 1.2rem;
        margin-bottom: 1rem;
    }
    
    /* 説明文 */
    #modalLiverDescription,
    .liver-modal-description {
        font-size: 0.95rem;
        padding: 1rem;
        margin-bottom: 1.2rem;
        text-align: left;
        line-height: 1.7;
    }
    
    /* 統計情報 */
    .liver-modal-stats {
        flex-direction: column;
        gap: 1rem;
        margin: 1.5rem 0;
        padding: 1rem;
    }
    
    .liver-modal-stats .stat-item {
        padding: 1rem;
        background: white;
        border-radius: 8px;
        box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
    }
    
    .liver-modal-stats .stat-number {
        font-size: 2rem;
    }
    
    /* ソーシャルリンク */
    #modalSocial,
    .liver-modal-social {
        flex-direction: column;
        gap: 0.8rem;
        margin-top: 1.5rem;
    }
    
    .liver-modal-social .social-link {
        width: 100%;
        padding: 1rem;
        font-size: 1rem;
        min-width: auto;
    }
}

/* より小さな画面 */
@media (max-width: 480px) {
    .liver-modal-header {
        padding: 0.8rem;
    }
    
    .liver-modal-body {
        padding: 0.8rem !important;
    }
    
    .liver-modal-info h2 {
        font-size: 1.3rem;
    }
    
    .liver-modal-image {
        height: 180px;
    }
    
    .liver-modal-stats .stat-number {
        font-size: 1.8rem;
    }
    
    .liver-modal-social .social-link {
        padding: 0.8rem;
        font-size: 0.9rem;
    }
    
    .modal-nav-btn {
        width: 32px;
        height: 32px;
        font-size: 1rem;
    }
    
    .liver-modal-close {
        width: 32px;
        height: 32px;
        font-size: 1rem;
    }
}

/* ============================================
   簡易フォーム（既存ユーザー向け）CSS
============================================ */

/* 成功メッセージ */
.form-success-message {
    background: linear-gradient(135deg, #10b981, #34d399);
    color: white;
    padding: 2rem;
    border-radius: 15px;
    text-align: center;
    margin-bottom: 3rem;
    box-shadow: 0 10px 30px rgba(16, 185, 129, 0.3);
}

.success-content {
    max-width: 400px;
    margin: 0 auto;
}

.success-icon {
    display: inline-block;
    width: 60px;
    height: 60px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    line-height: 60px;
    font-size: 2rem;
    margin-bottom: 1rem;
}

.success-content h3 {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
}

/* 簡易フォームヘッダー */
.simple-form-header {
    text-align: center;
    margin-bottom: 2rem;
    padding-bottom: 1.5rem;
    border-bottom: 2px solid var(--gray-light);
}

.simple-form-header h3 {
    color: var(--primary);
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
}

.simple-form-header p {
    color: var(--gray);
    font-size: 0.95rem;
}

/* フォームグループ */
.nexstream-simple-form .form-group {
    margin-bottom: 1.5rem;
}

.nexstream-simple-form label {
    display: block;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: var(--dark);
    font-size: 0.95rem;
}

.required {
    color: #ef4444;
    font-weight: 700;
}

.nexstream-simple-form input[type="url"],
.nexstream-simple-form input[type="file"],
.nexstream-simple-form textarea,
.nexstream-simple-form select {
    width: 100%;
    padding: 0.8rem;
    border: 2px solid #e5e7eb;
    border-radius: 8px;
    font-size: 1rem;
    transition: border-color 0.3s;
    font-family: inherit;
}

.nexstream-simple-form input:focus,
.nexstream-simple-form textarea:focus,
.nexstream-simple-form select:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1);
}

.nexstream-simple-form small {
    display: block;
    margin-top: 0.3rem;
    color: var(--gray);
    font-size: 0.8rem;
    line-height: 1.4;
}

/* ファイルインプット */
.nexstream-simple-form input[type="file"] {
    padding: 0.6rem;
    background: var(--gray-light);
    cursor: pointer;
}

.nexstream-simple-form input[type="file"]:hover {
    background: #e2e8f0;
}

/* ラジオボタングループ */
.radio-group {
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
    margin-top: 0.5rem;
}

.radio-option {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    padding: 0.8rem;
    background: var(--gray-light);
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s;
}

.radio-option:hover {
    background: #e2e8f0;
    transform: translateX(5px);
}

.radio-option input[type="radio"] {
    width: auto;
    margin: 0;
    transform: scale(1.2);
    accent-color: var(--primary);
}

.radio-label {
    font-weight: 500;
    color: var(--dark);
    font-size: 0.95rem;
}

.radio-option:has(input:checked) {
    background: var(--primary);
    color: white;
}

.radio-option:has(input:checked) .radio-label {
    color: white;
}

/* テキストエリア */
.nexstream-simple-form textarea {
    resize: vertical;
    min-height: 80px;
    line-height: 1.5;
}

/* セレクトボックス */
.nexstream-simple-form select {
    background: white;
    cursor: pointer;
}

/* 送信ボタン */
.form-submit {
    text-align: center;
    margin-top: 2rem;
    padding-top: 1.5rem;
    border-top: 2px solid var(--gray-light);
}

.nexstream-simple-form .btn {
    padding: 1rem 2.5rem;
    font-size: 1.1rem;
    font-weight: 700;
    border: none;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.nexstream-simple-form .btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(37, 99, 235, 0.4);
}

/* モバイル対応 */
@media (max-width: 768px) {
    .simple-form-header h3 {
        font-size: 1.3rem;
    }
    
    .simple-form-header p {
        font-size: 0.9rem;
    }
    
    .radio-group {
        gap: 0.6rem;
    }
    
    .radio-option {
        padding: 0.6rem;
    }
    
    .nexstream-simple-form input,
    .nexstream-simple-form textarea,
    .nexstream-simple-form select {
        font-size: 16px; /* iOS zoom prevention */
    }
    
    .form-submit {
        margin-top: 1.5rem;
    }
    
    .nexstream-simple-form .btn {
        width: 100%;
        justify-content: center;
        padding: 1.2rem;
    }
}

/* より小さな画面 */
@media (max-width: 480px) {
    .simple-form-header {
        margin-bottom: 1.5rem;
        padding-bottom: 1rem;
    }
    
    .nexstream-simple-form .form-group {
        margin-bottom: 1.2rem;
    }
    
    .radio-option {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.5rem;
    }
}

/* ============================================
   LINE選択機能用CSS - style.cssに追加
============================================ */

/* LINE連絡方法選択 */
.line-type-selector {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 1rem;
    margin-top: 0.5rem;
}

.line-type-option {
    display: block;
    cursor: pointer;
    border: 2px solid #e5e7eb;
    border-radius: 12px;
    padding: 0;
    transition: all 0.3s;
    overflow: hidden;
    background: white;
}

.line-type-option:hover {
    border-color: var(--primary);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(37, 99, 235, 0.15);
}

.line-type-option:has(input:checked) {
    border-color: var(--primary);
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(37, 99, 235, 0.3);
}

.line-type-content {
    padding: 1.5rem 1rem;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
}

.line-type-icon {
    font-size: 2rem;
    display: block;
    margin-bottom: 0.5rem;
}

.line-type-label {
    font-weight: 600;
    font-size: 1rem;
    display: block;
}

.line-type-option small {
    font-size: 0.8rem;
    opacity: 0.8;
    margin-top: 0.2rem;
    line-height: 1.3;
}

.line-type-option:has(input:checked) .line-type-label,
.line-type-option:has(input:checked) small {
    color: white;
}

.line-type-option input[type="radio"] {
    display: none;
}

/* LINE入力フィールドのアニメーション */
.line-input {
    opacity: 0;
    max-height: 0;
    overflow: hidden;
    transition: all 0.4s ease;
    transform: translateY(-10px);
}

.line-input[style*="block"] {
    opacity: 1;
    max-height: 200px;
    transform: translateY(0);
}

/* LINE入力フィールドの特別スタイリング */
.line-input input[type="url"],
.line-input input[type="text"],
.line-input input[type="file"] {
    border: 2px solid var(--primary);
    background: rgba(37, 99, 235, 0.05);
}

.line-input input:focus {
    border-color: var(--secondary);
    box-shadow: 0 0 0 3px rgba(124, 58, 237, 0.1);
}

/* LINE ID入力の特別装飾 */
#line-id-input input {
    font-family: 'Courier New', monospace;
    font-weight: 500;
    letter-spacing: 0.5px;
}

#line-id-input input::placeholder {
    font-family: inherit;
    letter-spacing: normal;
}

/* QRコードアップロードエリアの装飾 */
#line-qr-input input[type="file"] {
    background: linear-gradient(135deg, #f8fafc, #e0e7ff);
    border: 2px dashed var(--primary);
    padding: 1.5rem;
    text-align: center;
    position: relative;
}

#line-qr-input input[type="file"]:hover {
    background: linear-gradient(135deg, #e0e7ff, #ddd6fe);
    border-color: var(--secondary);
}

/* モバイル対応 */
@media (max-width: 768px) {
    .line-type-selector {
        grid-template-columns: 1fr;
        gap: 0.8rem;
    }
    
    .line-type-content {
        padding: 1.2rem 0.8rem;
    }
    
    .line-type-icon {
        font-size: 1.8rem;
    }
    
    .line-type-label {
        font-size: 0.95rem;
    }
    
    .line-input {
        margin-top: 1rem;
    }
}

/* より小さな画面 */
@media (max-width: 480px) {
    .line-type-content {
        padding: 1rem 0.6rem;
        gap: 0.3rem;
    }
    
    .line-type-icon {
        font-size: 1.5rem;
        margin-bottom: 0.3rem;
    }
    
    .line-type-label {
        font-size: 0.9rem;
    }
    
    .line-type-option small {
        font-size: 0.75rem;
    }
}

/* ============================================
   ライバーモーダルの修正（全文表示対応）
============================================ */

/* モーダルボディのスクロール対応 */
.liver-modal-body {
    padding: 0 2rem 2rem;
    overflow-y: auto;
    display: block;
}

/* モーダルコンテンツの高さ制限を解除 */
.liver-modal-content {
    position: absolute;
    top: 0;
    right: -500px;
    width: 500px;
    height: 100vh;
    background: white;
    transition: right 0.3s ease;
    overflow-y: auto; /* スクロール可能に */
    display: flex;
    flex-direction: column;
}

/* モーダル情報部分の修正 */
.liver-modal-info {
    width: 100%;
    padding-bottom: 2rem; /* 下部に余白を追加 */
}

/* 説明文の高さ制限を解除 */
#modalLiverDescription,
.liver-modal-description {
    display: block !important;
    font-size: 1rem;
    line-height: 1.6;
    color: var(--gray);
    margin-bottom: 1.5rem;
    padding: 1rem;
    background: var(--gray-light);
    border-radius: 10px;
    max-height: none !important; /* 高さ制限を解除 */
    overflow: visible !important; /* オーバーフロー解除 */
}

/* モバイル対応 */
@media (max-width: 768px) {
    .liver-modal-content {
        width: 100% !important;
        right: -100% !important;
        max-width: none;
        height: 100vh;
        position: fixed;
    }
    
    .liver-modal.active .liver-modal-content {
        right: 0 !important;
    }
    
    .liver-modal-body {
        padding: 1rem !important;
        height: calc(100vh - 60px); /* ヘッダー分を引く */
        overflow-y: auto;
        -webkit-overflow-scrolling: touch; /* iOSでスムーズスクロール */
    }
    
    /* モバイルでのコンテンツ内余白 */
    .liver-modal-info {
        padding-bottom: 3rem;
    }
}

/* スクロールバーのスタイリング（オプション） */
.liver-modal-body::-webkit-scrollbar {
    width: 8px;
}

.liver-modal-body::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 4px;
}

.liver-modal-body::-webkit-scrollbar-thumb {
    background: var(--primary);
    border-radius: 4px;
}

.liver-modal-body::-webkit-scrollbar-thumb:hover {
    background: var(--secondary);
}

/* コンテンツが長い場合の下部余白確保 */
.liver-modal-info > *:last-child {
    margin-bottom: 2rem;
}