/**
 * Flow Section Block Frontend Styles
 */

.will-flow-section {
    margin-bottom: 0 !important;
}

.will-flow-section .bg-white {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.will-flow-section .bg-white:hover {
    transform: translateY(-2px);
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1),
        0 10px 10px -5px rgba(0, 0, 0, 0.04);
}

.will-flow-section table {
    border-collapse: collapse;
    width: 100%;
}

.will-flow-section table th,
.will-flow-section table td {
    border: 1px solid #e5e7eb;
    padding: 0.75rem 1rem;
    text-align: left;
}

.will-flow-section table thead tr {
    background-color: #f9fafb;
}

.will-flow-section table tbody tr:hover {
    background-color: #f9fafb;
    transition: background-color 0.2s ease;
}

.will-flow-section button,
.will-flow-section a {
    transition: background-color 0.3s ease, color 0.3s ease;
}

/* Custom content width classes */
.max-w-4xl {
    max-width: 896px;
}

.max-w-5xl {
    max-width: 1024px;
}

.max-w-6xl {
    max-width: 1152px;
}

.max-w-7xl {
    max-width: 1280px;
}

/* Map Modal Styles */
.will-flow-map-modal {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1rem;
}

.will-flow-map-modal-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(4px);
}

.will-flow-map-modal-content {
    position: relative;
    background: white;
    border-radius: 0.5rem;
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
    width: 100%;
    max-width: 56rem; /* max-w-4xl */
    max-height: 90vh;
    display: flex;
    flex-direction: column;
    animation: modalFadeIn 0.2s ease-out;
}

@keyframes modalFadeIn {
    from {
        opacity: 0;
        transform: scale(0.95);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

.will-flow-map-modal-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1.5rem;
    border-bottom: 1px solid #e5e7eb;
}

.will-flow-map-modal-title {
    font-size: 1.5rem;
    font-weight: 600;
    color: #101828;
    margin: 0;
}

.will-flow-map-modal-close {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
    border-radius: 0.25rem;
    color: #6b7280;
    opacity: 0.7;
    transition: opacity 0.2s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.will-flow-map-modal-close:hover {
    opacity: 1;
    background-color: #f3f4f6;
}

.will-flow-map-modal-body {
    padding: 1.5rem;
    overflow-y: auto;
}

.will-flow-map-container {
    width: 100%;
    height: 500px;
    border-radius: 0.5rem;
    overflow: hidden;
    margin-bottom: 1rem;
}

.will-flow-map-container iframe {
    width: 100%;
    height: 100%;
    border: 0;
}

.will-flow-map-address {
    margin-top: 1rem;
    color: #4b5563;
}

.will-flow-map-link {
    transition: color 0.2s ease;
}

.will-flow-map-link:hover {
    color: #1e293b !important;
}

/* pタグのマージンをリセット */
.will-flow-section p {
    margin: 0;
}

