/* ── VISIT ── */
.visit {
    background: var(--off-white);
    padding: 120px 8%;
    position: relative;
    overflow: hidden;
}

.visit::before {
    content: '店舗';
    position: absolute;
    font-family: 'Noto Sans JP', sans-serif;
    font-size: 320px;
    font-weight: 700;
    color: rgba(219, 5, 5, 0.04);
    top: 50%;
    right: -2%;
    transform: translateY(-50%);
    pointer-events: none;
    white-space: nowrap;
}

.visit-inner {
    position: relative;
    z-index: 2;
}

.visit-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    margin-bottom: 64px;
    flex-wrap: wrap;
    gap: 24px;
}

.visit-header-left h2 {
    margin-bottom: 8px;
}

.visit-header-right {
    font-family: 'Lora', serif;
    font-style: italic;
    font-size: 15px;
    color: var(--text-muted);
    max-width: 500px;
    text-align: right;
    line-height: 1.7;
}

/* Branch tab switcher */
.branch-tabs {
    display: flex;
    gap: 0;
    margin-bottom: 0;
    border-bottom: 2px solid var(--warm-gray);
}

.branch-tab {
    font-size: 12px;
    font-weight: 500;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    padding: 12px 28px;
    cursor: pointer;
    border: none;
    background: transparent;
    color: var(--text-muted);
    transition: color 0.2s;
    position: relative;
    white-space: nowrap;
}

.branch-tab::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    right: 0;
    height: 2px;
    background: var(--red);
    transform: scaleX(0);
    transition: transform 0.25s ease;
}

.branch-tab.active {
    color: var(--black);
}

.branch-tab.active::after {
    transform: scaleX(1);
}

.branch-tab:hover {
    color: var(--black);
}

/* Branch panels */
.branch-panels {}

.branch-panel {
    display: none;
}

.branch-panel.active {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0;
    background: var(--warm-gray);
    border: 1px solid var(--warm-gray);
    border-top: none;
    border-radius: 0 0 4px 4px;
    overflow: hidden;
}

/* Left: info side */
.branch-info {
    background: var(--off-white);
    padding: 52px 52px 52px 52px;
    display: flex;
    flex-direction: column;
    gap: 0;
}

.branch-index {
    font-family: 'Bangers', cursive;
    font-size: 72px;
    letter-spacing: 2px;
    color: rgba(219, 5, 5, 0.08);
    line-height: 1;
    margin-bottom: -8px;
}

.branch-name {
    font-family: 'Bangers', cursive;
    font-size: clamp(28px, 3vw, 38px);
    letter-spacing: 2px;
    line-height: 1.05;
    margin-bottom: 4px;
}

.branch-name .accent {
    color: var(--red);
}

.branch-mall-tag {
    display: inline-block;
    font-size: 10px;
    letter-spacing: 2px;
    text-transform: uppercase;
    font-weight: 500;
    padding: 4px 12px;
    border-radius: 2px;
    background: rgba(219, 5, 5, 0.08);
    color: var(--red);
    margin-bottom: 36px;
}

.branch-divider {
    height: 1px;
    background: var(--warm-gray);
    margin: 24px 0;
}

.branch-detail-row {
    display: flex;
    gap: 16px;
    align-items: flex-start;
}

.branch-detail-row+.branch-detail-row {
    margin-top: 20px;
}

.branch-detail-icon {
    width: 36px;
    height: 36px;
    background: var(--cream);
    border: 1px solid var(--warm-gray);
    border-radius: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    font-size: 16px;
}

.branch-detail-body {
    flex: 1;
}

.branch-detail-label {
    font-size: 10px;
    letter-spacing: 2px;
    text-transform: uppercase;
    font-weight: 500;
    color: var(--text-muted);
    margin-bottom: 3px;
}

.branch-detail-value {
    font-size: 14px;
    color: var(--black);
    line-height: 1.6;
}

.branch-detail-value a {
    color: var(--black);
    text-decoration: none;
}

.branch-detail-value a:hover {
    color: var(--red);
}

.branch-hours-grid {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 2px 12px;
    font-size: 14px;
    line-height: 1.8;
}

.branch-hours-day {
    color: var(--text-muted);
    font-size: 13px;
}

.branch-hours-time {
    color: var(--black);
    font-size: 13px;
}

.branch-cta-row {
    margin-top: 36px;
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

.btn-branch-primary {
    background: var(--red);
    color: white;
    text-decoration: none;
    font-size: 11px;
    font-weight: 500;
    letter-spacing: 2px;
    text-transform: uppercase;
    padding: 11px 24px;
    border-radius: 2px;
    transition: background 0.2s;
    display: inline-block;
}

.btn-branch-primary:hover {
    background: var(--red-dark);
}

.btn-branch-ghost {
    text-decoration: none;
    font-size: 11px;
    font-weight: 500;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--text-muted);
    padding: 11px 0;
    display: flex;
    align-items: center;
    gap: 6px;
    transition: color 0.2s, gap 0.2s;
}

.btn-branch-ghost:hover {
    color: var(--black);
    gap: 10px;
}

.btn-branch-ghost::after {
    content: '→';
}

/* Right: map placeholder */
/* .branch-map {
    background: var(--cream);
    position: relative;
    min-height: 420px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 12px;
    overflow: hidden;
} */

.branch-map {
    position: relative;
    min-height: 420px;
    overflow: hidden;
    background: #f5f5f5;
}

.branch-map iframe {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
}

.branch-map-grid {
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(219, 5, 5, 0.06) 1px, transparent 1px),
        linear-gradient(90deg, rgba(219, 5, 5, 0.06) 1px, transparent 1px);
    background-size: 32px 32px;
}

.branch-map-pin-wrap {
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0;
}

.branch-map-pin-pulse {
    position: absolute;
    top: 0;
    left: 50%;
    width: 64px;
    height: 64px;
    transform: translate(-50%, -4px);
    border-radius: 50%;
    background: rgba(219, 5, 5, 0.15);
    animation: pulse-ring 2s ease-out infinite;
}

@keyframes pulse-ring {
    0% {
        transform: translate(-50%, -4px) scale(0.6);
        opacity: 0.8;
    }

    100% {
        transform: translate(-50%, -4px) scale(1.8);
        opacity: 0;
    }
}

.branch-map-pin {
    width: 48px;
    height: 48px;
    background: var(--red);
    border-radius: 50% 50% 50% 0;
    transform: rotate(-45deg);
    position: relative;
    z-index: 2;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 8px 24px rgba(219, 5, 5, 0.35);
}

.branch-map-pin::after {
    content: '';
    width: 18px;
    height: 18px;
    background: white;
    border-radius: 50%;
    transform: rotate(45deg);
}

.branch-map-address {
    position: absolute;
    z-index: 2;
    bottom: 28px;
    left: 50%;
    transform: translateX(-50%);
    background: white;
    border: 1px solid var(--warm-gray);
    border-radius: 4px;
    padding: 12px 20px;
    font-size: 12px;
    color: var(--text-muted);
    line-height: 1.5;
    text-align: center;
    white-space: nowrap;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
}

.branch-map-address strong {
    display: block;
    font-family: 'Bangers', cursive;
    font-size: 13px;
    letter-spacing: 1.5px;
    color: var(--black);
    margin-bottom: 2px;
}

/* Branch counter strip */
.branch-count-strip {
    display: flex;
    gap: 2px;
    margin-bottom: 0;
}

.branch-count-item {
    flex: 1;
    background: var(--cream);
    border: 1px solid var(--warm-gray);
    padding: 20px 24px;
    display: flex;
    flex-direction: column;
    gap: 2px;
    cursor: pointer;
    transition: background 0.2s, border-color 0.2s;
    border-radius: 4px 4px 0 0;
}

.branch-count-item:hover {
    background: white;
}

.branch-count-item.active {
    background: var(--off-white);
    border-color: var(--warm-gray);
    border-bottom-color: var(--off-white);
}

.branch-count-name {
    font-family: 'Bangers', cursive;
    font-size: 16px;
    letter-spacing: 1.5px;
    line-height: 1.1;
}

.map-pin {
    width: 48px;
    height: 48px;
    background: var(--red);
    border-radius: 50% 50% 50% 0;
    transform: rotate(-45deg);
    display: flex;
    align-items: center;
    justify-content: center;
}

.map-pin::after {
    content: '';
    width: 18px;
    height: 18px;
    background: white;
    border-radius: 50%;
    transform: rotate(45deg);
}