.access-container {
    padding: 20px;
    max-width: 95%;
    margin: 0 auto;
}

.access-container h3 {
    color: var(--nature-blue);
} 

div.access-container > section {
    margin: 60px 0;
    padding: 40px;
    border-radius: 10px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.08);
    backdrop-filter: blur(5px);
}

/* Common h2 styles for all sections */
div.access-container > section h2 {
    text-align: center;
    margin-bottom: 30px;
    color: var(--nature-blue);
    font-size: 2.2em;
    position: relative;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.1);
    padding: 15px 0;
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

div.access-container > section h2::after {
    content: '';
    display: block;
    width: 0;
    height: 3px;
    background: linear-gradient(to right, var(--primary-color), var(--accent-color));
    margin: 15px auto;
    border-radius: 2px;
    transition: width 0.8s ease-out;
    transition-delay: 0.3s;
}

div.access-container > section h2.fade-in-section::after {
    width: 80px;
}

div.access-container > section h2:hover {
    transform: translateY(-2px);
}

div.access-container > section h2:hover::after {
    width: 120px;
}

/* Mobile Responsive Styles */
@media (max-width: 768px) {
    div.access-container > section h2 {
        font-size: 1.5em;
        padding: 10px 0;
    }
}

div.access-container > section:nth-of-type(3n+1) {
    background-color: var(--bg-color-1);
}

div.access-container > section:nth-of-type(3n+2) {
    background-color: var(--bg-color-2);
}

div.access-container > section:nth-of-type(3n) {
    background-color: var(--bg-color-3);
}

@media (max-width: 768px) {
    .access-container {
        max-width: 100%;
        padding: 10px;
    }
    div.access-container > section {
        padding: 20px;
        margin: 30px 0;
    }
}

.info-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
}

@media (max-width: 768px) {
    .info-grid {
        grid-template-columns: none;
    }
}

.info-card {
    background-color: var(--light-bg);
    padding: 25px;
    border-radius: 10px;
    border-left: 5px solid var(--nature-blue);
}

.info-card li {
    color: var(--secondary-color);
    position: relative;
    padding-left: 20px;
    margin-bottom: 15px;
    line-height: 1.6;
}

.info-card h3 {
    color: var(--nature-blue);
    font-size: 1.4em;
    margin-bottom: 20px;
    border-bottom: 2px solid #e2e8f0;
}

p[data-ja], p[data-en] {
    color: var(--secondary-color);
    margin: 1em auto;
    line-height: 1.8;
    font-size: 1.1em;
}

.info-grid-2 {
    display: grid;
    grid-template-columns: repeat(1, 1fr);
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
}

@media (max-width: 768px) {
    .info-grid-2 {
        grid-template-columns: none;
    }
}

.price-info {
    background-color: var(--secondary-color);
    background: #f7fafc;
    padding: 15px;
    border-radius: 10px;
    margin: 20px 0;
    margin-bottom: 10px;
}

.price-info h4 {
    color: var(--nature-blue);
}

.info-note {
    font-size: 0.9em;
    color:  black;
    margin-top: 10px;
    padding-top: 10px;
    border-top: 1px dashed #e2e8f0;
    padding: 10px;
}

.gallery-description {
    text-align: center;
}

/* Enhanced Schedule Table Styles */
.schedule-table {
    width: 100%;
    border-collapse: collapse;
    margin: 30px auto;
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
    max-width: 600px;
}

.schedule-table thead {
    background: linear-gradient(135deg, var(--nature-blue), var(--primary-color));
}

.schedule-table th {
    padding: 20px 15px;
    text-align: center;
    color: white;
    font-weight: 600;
    font-size: 1.1em;
    letter-spacing: 0.5px;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
}

.schedule-table tbody tr {
    transition: all 0.3s ease;
    border-bottom: 1px solid #f0f4f8;
}

.schedule-table tbody tr:hover {
    background-color: #f8fafc;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}

.schedule-table tbody tr:nth-child(even) {
    background-color: #fafbfc;
}

.schedule-table tbody tr:nth-child(even):hover {
    background-color: #f1f5f9;
}

.schedule-table td {
    padding: 18px 15px;
    text-align: center;
    font-size: 1.1em;
    font-weight: 500;
    color: var(--text-color);
    border: none;
}

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

.schedule-table tbody tr:last-child td {
    font-weight: 600;
    color: var(--primary-color);
    background-color: #fef7f0;
}

/* Mobile Responsive Styles */
@media (max-width: 768px) {
    .schedule-table {
        margin: 20px auto;
        font-size: 0.9em;
        border-radius: 8px;
        max-width: 100%;
    }
    
    .schedule-table th {
        padding: 15px 10px;
        font-size: 1em;
        letter-spacing: 0.3px;
    }
    
    .schedule-table td {
        padding: 15px 10px;
        font-size: 1em;
    }
}

@media (max-width: 480px) {
    .schedule-table {
        margin: 15px auto;
        font-size: 0.85em;
    }
    
    .schedule-table th {
        padding: 12px 8px;
        font-size: 0.9em;
    }
    
    .schedule-table td {
        padding: 12px 8px;
        font-size: 0.9em;
    }
    
    /* Make the table more compact on very small screens */
    .schedule-table th,
    .schedule-table td {
        white-space: nowrap;
    }
}

/* Tablet Styles */
@media (min-width: 769px) and (max-width: 1024px) {
    .schedule-table {
        max-width: 700px;
    }
    
    .schedule-table th {
        padding: 18px 20px;
        font-size: 1.15em;
    }
    
    .schedule-table td {
        padding: 16px 20px;
        font-size: 1.1em;
    }
}

/* Large Desktop Styles */
@media (min-width: 1200px) {
    .schedule-table {
        max-width: 800px;
    }
    
    .schedule-table th {
        padding: 25px 30px;
        font-size: 1.2em;
    }
    
    .schedule-table td {
        padding: 20px 30px;
        font-size: 1.15em;
    }
}

/* Image Modal Styles */
.image-modal {
    display: none;
    position: fixed;
    z-index: 3000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.9);
    animation: fadeIn 0.3s ease;
}

.image-modal-content {
    position: relative;
    margin: 2% auto;
    padding: 0;
    width: 95%;
    height: 90%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.image-modal-image {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    border-radius: 8px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

.image-modal-close {
    position: absolute;
    top: 20px;
    right: 30px;
    color: white;
    font-size: 40px;
    font-weight: bold;
    cursor: pointer;
    z-index: 3001;
    background: rgba(0, 0, 0, 0.5);
    border-radius: 50%;
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background-color 0.3s ease;
}

.image-modal-close:hover {
    background: rgba(0, 0, 0, 0.8);
}

/* Mobile responsive for image modal */
@media (max-width: 768px) {
    .image-modal-content {
        width: 98%;
        height: 95%;
        margin: 1% auto;
    }
    
    .image-modal-close {
        top: 10px;
        right: 15px;
        font-size: 30px;
        width: 40px;
        height: 40px;
    }
}
