/* ── MAIN BRANCH SECTION ── */
.branches {
    padding: 0;
}

/* Each branch block */
.branch-block {
    display: none;
}

.branch-block.active {
    display: block;
}

/* ── BRANCH HERO STRIP ── (full-width colored banner) */
.branch-hero-strip {
    background: var(--black);
    color: white;
    padding: 64px 8%;
    position: relative;
    overflow: hidden;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

.branch-hero-strip::before {
    content: attr(data-kanji);
    position: absolute;
    font-family: 'Noto Sans JP', sans-serif;
    font-size: 280px;
    font-weight: 700;
    color: rgba(255, 255, 255, 0.025);
    right: 3%;
    top: 50%;
    transform: translateY(-50%);
    pointer-events: none;
    white-space: nowrap;
    line-height: 1;
}

.bhs-left {
    position: relative;
    z-index: 2;
}

.bhs-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 20px;
}

.bhs-badge-num {
    font-family: 'Bangers', cursive;
    font-size: 11px;
    letter-spacing: 2.5px;
    color: var(--red);
}

.bhs-badge-line {
    width: 32px;
    height: 1px;
    background: rgba(255, 255, 255, 0.2);
}

.bhs-badge-label {
    font-size: 11px;
    letter-spacing: 2.5px;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.35);
}

.bhs-name {
    font-family: 'Bangers', cursive;
    font-size: clamp(42px, 5vw, 68px);
    letter-spacing: 2px;
    line-height: 0.95;
    margin-bottom: 20px;
}

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

.bhs-desc {
    font-family: 'Lora', serif;
    font-style: italic;
    font-size: 15px;
    color: rgba(255, 255, 255, 0.45);
    line-height: 1.8;
    max-width: 360px;
}

.bhs-right {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1px;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 4px;
    overflow: hidden;
}

.bhs-stat {
    padding: 28px 24px;
    background: rgba(255, 255, 255, 0.03);
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.bhs-stat-icon {
    font-size: 18px;
    margin-bottom: 6px;
}

.bhs-stat-label {
    font-size: 10px;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.3);
}

.bhs-stat-value {
    font-family: 'Bangers', cursive;
    font-size: 18px;
    letter-spacing: 1.5px;
    color: white;
    line-height: 1.2;
}

.bhs-stat-sub {
    font-size: 11px;
    color: rgba(255, 255, 255, 0.35);
    line-height: 1.5;
}

/* ── BRANCH DETAIL BODY ── */
.branch-detail-body-wrap {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0;
    background: var(--warm-gray);
    border-bottom: 1px solid var(--warm-gray);
}

/* Left: info panel */
.bd-info {
    background: var(--off-white);
    padding: 56px 8%;
}

.bd-section-title {
    font-size: 10px;
    letter-spacing: 3px;
    text-transform: uppercase;
    font-weight: 500;
    color: var(--text-muted);
    margin-bottom: 28px;
    display: flex;
    align-items: center;
    gap: 12px;
}

.bd-section-title::before {
    content: '';
    width: 24px;
    height: 1px;
    background: var(--red);
    flex-shrink: 0;
}

.bd-contact-row {
    display: flex;
    gap: 16px;
    align-items: flex-start;
    margin-bottom: 24px;
}

.bd-contact-icon {
    width: 44px;
    height: 44px;
    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: 18px;
}

.bd-contact-meta {
    flex: 1;
}

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

.bd-contact-value {
    font-family: 'Bangers', cursive;
    font-size: 22px;
    letter-spacing: 1.5px;
    color: var(--black);
    line-height: 1.1;
    text-decoration: none;
    display: block;
    transition: color 0.2s;
}

.bd-contact-value:hover {
    color: var(--red);
}

.bd-contact-sub {
    font-size: 12px;
    color: var(--text-muted);
    margin-top: 2px;
}

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

.bd-address-block {
    margin-bottom: 28px;
}

.bd-address-text {
    font-family: 'Lora', serif;
    font-size: 16px;
    line-height: 1.9;
    color: var(--black);
}

.bd-address-city {
    font-size: 12px;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    color: var(--text-muted);
    margin-top: 4px;
}

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

.btn-red {
    background: var(--red);
    color: white;
    text-decoration: none;
    font-size: 11px;
    font-weight: 500;
    letter-spacing: 2px;
    text-transform: uppercase;
    padding: 13px 28px;
    border-radius: 2px;
    transition: background 0.2s, transform 0.15s;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.btn-red:hover {
    background: var(--red-dark);
    transform: translateY(-1px);
}

.btn-outline-dark {
    text-decoration: none;
    font-size: 11px;
    font-weight: 500;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--text-muted);
    padding: 13px 0;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: color 0.2s, gap 0.2s;
    border: none;
    background: none;
    cursor: pointer;
}

.btn-outline-dark:hover {
    color: var(--black);
    gap: 12px;
}

.btn-outline-dark::after {
    content: '→';
    font-size: 14px;
}

/* Right: hours panel */
.bd-hours {
    background: var(--cream);
    padding: 56px 8%;
    display: flex;
    flex-direction: column;
}

.hours-table {
    flex: 1;
}

.hours-row {
    display: grid;
    grid-template-columns: 120px 1fr auto;
    align-items: center;
    padding: 14px 0;
    border-bottom: 1px solid var(--warm-gray);
    gap: 16px;
    transition: background 0.15s;
    border-radius: 2px;
}

.hours-row:first-child {
    border-top: 1px solid var(--warm-gray);
}

.hours-row.today-row {
    background: rgba(219, 5, 5, 0.04);
    padding: 14px 12px;
    margin: 0 -12px;
    border-color: rgba(219, 5, 5, 0.15);
}

.hours-day {
    font-size: 13px;
    font-weight: 500;
    letter-spacing: 1px;
    color: var(--black);
}

.hours-row.today-row .hours-day {
    color: var(--red);
}

.hours-time {
    font-family: 'Bangers', cursive;
    font-size: 18px;
    letter-spacing: 1.5px;
    color: var(--black);
}

.hours-status-badge {
    font-size: 10px;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    font-weight: 500;
    padding: 3px 10px;
    border-radius: 2px;
}

.hours-status-badge.open {
    background: rgba(34, 197, 94, 0.1);
    color: #16a34a;
}

.hours-status-badge.today {
    background: rgba(219, 5, 5, 0.1);
    color: var(--red);
}

/* ── MAP PANEL ── */
.bd-map-wrap {
    position: relative;
    min-height: 380px;
    background: var(--cream);
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

.real-map {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    border: 0;
}

/* ── "ALL BRANCHES" QUICK-COMPARE SECTION ── */
.all-branches {
    padding: 100px 8%;
    background: var(--black);
    color: white;
    position: relative;
    overflow: hidden;
}

.all-branches::before {
    content: '全店舗';
    position: absolute;
    font-family: 'Noto Sans JP', sans-serif;
    font-size: 260px;
    font-weight: 700;
    color: rgba(255, 255, 255, 0.02);
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    pointer-events: none;
    white-space: nowrap;
}

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

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

.all-branches-header .section-label span {
    color: rgba(255, 255, 255, 0.35);
}

.all-branches-header h2 {
    color: white;
}

.all-branches-header h2 .accent {
    color: var(--red);
}

.all-branches-note {
    font-family: 'Lora', serif;
    font-style: italic;
    font-size: 14px;
    color: rgba(255, 255, 255, 0.35);
    max-width: 240px;
    text-align: right;
    line-height: 1.7;
}

.branches-compare-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2px;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 4px;
    overflow: hidden;
}

.compare-card {
    background: rgba(255, 255, 255, 0.02);
    padding: 40px 32px;
    cursor: pointer;
    transition: background 0.25s;
    position: relative;
}

.compare-card:hover {
    background: rgba(255, 255, 255, 0.05);
}

.compare-card.active-card {
    background: rgba(219, 5, 5, 0.07);
    border-top: 2px solid var(--red);
}

.compare-card-num {
    font-family: 'Bangers', cursive;
    font-size: 52px;
    letter-spacing: 2px;
    color: rgba(255, 255, 255, 0.06);
    line-height: 1;
    margin-bottom: 12px;
}

.compare-card.active-card .compare-card-num {
    color: rgba(219, 5, 5, 0.2);
}

.compare-card-name {
    font-family: 'Bangers', cursive;
    font-size: 24px;
    letter-spacing: 1.5px;
    line-height: 1.1;
    margin-bottom: 20px;
}

.compare-card.active-card .compare-card-name {
    color: white;
}

.compare-row {
    display: flex;
    gap: 10px;
    align-items: flex-start;
    margin-bottom: 12px;
}

.compare-row-icon {
    font-size: 13px;
    margin-top: 1px;
    flex-shrink: 0;
    opacity: 0.6;
}

.compare-row-text {
    font-size: 12px;
    color: rgba(255, 255, 255, 0.45);
    line-height: 1.6;
}

.compare-card-cta {
    margin-top: 28px;
    font-size: 10px;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--red);
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 6px;
    transition: gap 0.2s;
}

.compare-card:hover .compare-card-cta {
    gap: 10px;
}

.compare-card-cta::after {
    content: '→';
}