/* Subpage Common Styles for FAQ, Privacy Policy, Site Policy */

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

body {
    font-family: 'Hiragino Sans', 'Yu Gothic', 'Meiryo', sans-serif;
    line-height: 1.6;
    color: #333;
}

a:link {
    color: #333;
}
a:visited {
    color: purple;
}
a:hover {
    color: rgb(103, 103, 103);
}
a:active {
    color: orange;
}

/* Header */
.header {
    background: linear-gradient(135deg, #4A90E2 0%, #E91E63 100%);
    padding: 15px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: sticky;
    top: 0;
    z-index: 1000;
}

.logo {
    display: flex;
    align-items: center;
}

.logo img {
    height: 40px;
    width: auto;
    max-width: 150px;
}

.nav {
    position: relative;
}

.menu-btn {
    background: rgba(0, 0, 0, 0.7);
    color: white;
    border: none;
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 0.75rem;
    cursor: pointer;
    transition: background 0.3s ease;
    z-index: 1001;
    position: relative;
    display: block;
}

.menu-btn:hover {
    background: rgba(0, 0, 0, 0.9);
}

.nav-menu {
    position: absolute;
    top: 100%;
    right: 0;
    background: rgba(0, 0, 0, 0.95);
    backdrop-filter: blur(10px);
    border-radius: 10px;
    padding: 20px 0;
    margin-top: 10px;
    min-width: 250px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s ease;
    z-index: 1000;
    list-style: none;
}

.nav-menu.active {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.nav-menu li {
    margin: 0;
    padding: 0;
}

.nav-menu a {
    display: block;
    color: #ffffff;
    text-decoration: none;
    padding: 12px 25px;
    font-size: 0.875rem;
    transition: all 0.3s ease;
    border-left: 3px solid transparent;
}

.nav-menu a:hover {
    background: rgba(255, 255, 255, 0.1);
    border-left-color: #e85298;
    color: #d63384;
}

/* PC用の横並びメニュー表示 */
@media (min-width: 1024px) {
    .menu-btn {
        display: none;
    }
    
    .nav-menu {
        position: static;
        display: flex;
        flex-direction: row;
        background: transparent;
        backdrop-filter: none;
        border-radius: 0;
        padding: 0;
        margin: 0;
        min-width: auto;
        box-shadow: none;
        opacity: 1;
        visibility: visible;
        transform: none;
        transition: none;
    }
    
    .nav-menu li {
        margin: 0 5px;
    }
    
    .nav-menu a {
        padding: 8px 12px;
        font-size: 1rem;
        border-left: none;
        border-radius: 15px;
        white-space: nowrap;
    }
    
    .nav-menu a:hover {
        background: rgba(255, 255, 255, 0.2);
        border-left-color: transparent;
        color: #ffffff;
    }
    
    /* PC表示時のみプライバシーポリシーとサイトポリシーを非表示 */
    .nav-menu a[href="privacy.html"],
    .nav-menu a[href="sitepolicy.html"] {
        display: none;
    }
}

/* Main Title */
.main-title {
    color: white;
    font-size: 2rem;
    font-weight: bold;
    text-align: center;
    margin: 0;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
    background-image: url('../images/bg.jpg?v=20250807');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    padding: 60px 20px;
    min-height: 200px;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Main Content */
.main-content {
    background: #4d4398;
    min-height: 100vh;
    padding: 40px 20px;
    display: flex;
    justify-content: center;
}

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

/* Subpage Container */
.subpage-container {
    background: white;
    border-radius: 20px;
    padding: 30px;
    max-width: 900px;
    width: 100%;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

/* Subpage Section */
.subpage-section {
    margin-bottom: 40px;
}

.subpage-section:last-child {
    margin-bottom: 0;
}

/* Section Title */
.section-title {
    color: #e85298;
    font-size: 1.6rem;
    font-weight: bold;
    margin-top: 30px;
    margin-bottom: 20px;
    padding-bottom: 5px;
}

/* Subpage Item */
.subpage-item {
    margin-bottom: 20px;
}

/* Question (for FAQ) */
.question {
    color: #e85298;
    font-size: 1rem;
    margin-bottom: 8px;
    font-weight: 500;
}

/* Answer / Content */
.answer {
    font-size: 1rem;
    line-height: 1.8;
    color: #333;
    margin-bottom: 1.5rem;
}

.answer p {
    margin-bottom: 1rem;
}

.answer ul {
    margin: 1rem 0;
    padding-left: 1.5rem;
}

.answer li {
    margin-bottom: 0.5rem;
    line-height: 1.6;
}

/* Privacy/Policy Specific Styles */
.policy-title {
    color: #e85298;
    font-size: 1.2rem;
    font-weight: bold;
    margin-top: 2rem;
    margin-bottom: 10px;
    padding-bottom: 5px;
}

.policy-subtitle {
    color: #4A90E2;
    font-size: 1.125rem;
    font-weight: bold;
    margin-bottom: 1rem;
}

/* Divider */
.divider {
    border: none;
    border-top: 1px dotted #ccc;
    margin: 25px 0;
}

/* Footer */
.footer {
    background: #2D2D2D;
    color: white;
    padding: 40px 20px 20px;
    text-align: center;
}

.footer-links {
    font-size: 1rem;
    margin-bottom: 30px;
    line-height: 1.8;
    color: #ffffff;
}

.footer-links a {
    color: #ffffff;
    text-decoration: none;
}

.footer-links a:hover {
    color: #e85298;
    text-decoration: underline;
}

.footer-logo {
    margin-bottom: 10px;
    color: white;
}

.footer-logo img {
    max-width: 300px;
    height: auto;
}

.footer-tagline {
    font-size: 0.875rem;
    color: #ffffff;
    margin-bottom: 20px;
    font-style: italic;
}

.footer-info {
    font-size: 0.8rem;
    color: #ffffff;
    margin-bottom: 20px;
    line-height: 1.6;
}

.bunkacho-logo {
    color: #ffffff;
    padding: 8px 16px;
    border-radius: 5px;
    display: inline-block;
    font-size: 0.8rem;
    margin-bottom: 20px;
}

.contact-btn {
    background: #FFD700;
    color: #333;
    border: none;
    padding: 12px 24px;
    border-radius: 25px;
    font-size: 1rem;
    font-weight: bold;
    cursor: pointer;
    position: fixed;
    bottom: 20px;
    right: 20px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.contact-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.4);
}

.copyright {
    font-size: 0.625rem;
    color: #ffffff;
    margin-top: 20px;
}

/* Responsive Design */
@media (max-width: 768px) {
    .main-title {
        font-size: 1.6rem;
    }
    
    .subpage-container {
        margin: 0 10px;
        padding: 20px;
    }
    
    .section-title {
        font-size: 1.4rem;
    }
    
    .policy-title {
        font-size: 1.1rem;
    }
    
    .policy-subtitle {
        font-size: 1rem;
    }
    
    .answer {
        font-size: 0.9rem;
    }
}

@media (max-width: 480px) {
    .subpage-container {
        padding: 15px;
    }
    
    .section-title {
        font-size: 1.2rem;
    }
    
    .policy-title {
        font-size: 1rem;
    }
    
    .policy-subtitle {
        font-size: 0.9rem;
    }
    
    .answer {
        font-size: 0.85rem;
    }
}

/* Access Page Styles */
.access-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    max-width: 1000px;
    margin: 20px auto;
    padding: 0 20px;
}

.venue-card {
    background: white;
    border-radius: 15px;
    padding: 20px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid #e0e0e0;
}

.venue-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.venue-image {
    width: 100%;
    aspect-ratio: 6/4;
    object-fit: cover;
    border-radius: 10px;
    margin-bottom: 15px;
    background-color: #f5f5f5;
}

.venue-name {
    font-size: 1.3rem;
    font-weight: bold;
    color: #e85298;
    margin-bottom: 10px;
    text-align: center;
    padding-bottom: 5px;
}

.venue-info {
    font-size: 0.9rem;
    color: #555;
    line-height: 1.6;
    margin-bottom: 15px;
}

.venue-info p {
    margin-bottom: 8px;
}

.venue-info strong {
    color: #333;
}

.venue-buttons {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.venue-btn {
    flex: 1;
    min-width: 120px;
    padding: 10px 15px;
    border: none;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: bold;
    text-decoration: none;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s ease;
    display: inline-block;
}

.btn-primary {
    background: linear-gradient(45deg, #e85298, #f06292);
    color: white !important;
}

.btn-primary:hover {
    background: linear-gradient(45deg, #d63384, #e91e63);
    transform: translateY(-2px);
    color: white !important;
}

.btn-secondary {
    background: linear-gradient(45deg, #4A90E2, #5BA3F5);
    color: white !important;
}

.btn-secondary:hover {
    background: linear-gradient(45deg, #357ABD, #4A90E2);
    transform: translateY(-2px);
    color: white !important;
}

/* General Link Styles */
a {
    color: #e85298;
    text-decoration: none;
}

a:hover {
    color: #d63384;
    text-decoration: underline;
}

/* Exclude buttons from general link styles */
a.venue-btn,
a.btn-primary,
a.btn-secondary,
a.contact-btn {
    /* These will use their specific styles */
    color: inherit;
}

/* Contact Button */
.contact-btn {
    background: #FFD700;
    color: #333;
    border: none;
    padding: 12px 24px;
    border-radius: 25px;
    font-size: 0.875rem;
    font-weight: bold;
    cursor: pointer;
    position: fixed;
    bottom: 20px;
    right: 20px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    z-index: 1000;
}

.contact-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.4);
}

.contact-btn a {
    color: #333;
    text-decoration: none;
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .access-grid {
        grid-template-columns: 1fr;
        padding: 0 15px;
        gap: 15px;
    }
    
    .venue-card {
        padding: 15px;
    }
    
    .venue-image {
        aspect-ratio: 6/4;
    }
    
    .venue-name {
        font-size: 1.1rem;
    }
    
    .venue-buttons {
        flex-direction: column;
    }
    
    .venue-btn {
        min-width: auto;
    }
}
