/* ==========================================
   分院アコーディオン
   ========================================== */

.branch-accordion-item {
    background: rgba(255, 255, 255, 0.03);
    border-radius: 12px;
    margin-bottom: 20px;
    overflow: hidden;
    transition: all 0.3s ease;
}

.branch-accordion-item:hover {
    background: rgba(255, 255, 255, 0.05);
}

.branch-accordion-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 25px 30px;
    cursor: pointer;
    transition: background 0.3s ease;
}

.branch-accordion-header:hover {
    background: rgba(255, 255, 255, 0.05);
}

.branch-header-content {
    display: flex;
    align-items: center;
    gap: 25px;
}

.branch-header-image {
    width: 80px;
    height: 80px;
    object-fit: cover;
    border-radius: 8px;
}

.branch-header-text h3 {
    font-size: 24px;
    color: #d4af37;
    margin-bottom: 5px;
}

.branch-header-text p {
    font-size: 14px;
    color: #cccccc;
    opacity: 0.8;
}

.branch-toggle-icon {
    font-size: 20px;
    color: #d4af37;
    transition: transform 0.3s ease;
}

.branch-toggle-icon.active {
    transform: rotate(180deg);
}

.branch-accordion-body {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease;
}

.branch-accordion-body.active {
    max-height: 800px;
}

.branch-detail-content {
    padding: 0 30px 30px 30px;
}

.branch-detail-image {
    width: 100%;
    height: 400px;
    object-fit: cover;
    border-radius: 12px;
    margin-bottom: 25px;
}

.branch-address {
    font-size: 14px;
    color: #d4af37;
    margin-bottom: 15px;
    opacity: 0.9;
}

.branch-detail-content p {
    font-size: 16px;
    line-height: 1.8;
    color: #cccccc;
    margin-bottom: 15px;
}

.branch-map {
    height: 350px;
    width: 100%;
    margin-top: 25px;
    border-radius: 8px;
    border: 1px solid #d4af37;
}

/* レスポンシブ */
@media (max-width: 768px) {
    .branch-accordion-header {
        padding: 20px;
    }

    .branch-header-content {
        gap: 15px;
    }

    .branch-header-image {
        width: 60px;
        height: 60px;
    }

    .branch-header-text h3 {
        font-size: 18px;
    }

    .branch-detail-content {
        padding: 0 20px 20px 20px;
    }

    .branch-detail-image {
        display: none;
        /* モバイルでは非表示 */
    }

    .branch-map {
        height: 250px;
    }
}