:root {
    --bg-color: #0A0A0B;
    --text-primary: #f8fafc;
    --text-secondary: #94a3b8;
    --accent-color: #D4AF37;
    --accent-hover: #E5C158;
    --card-bg: rgba(255, 255, 255, 0.02);
    --card-border: rgba(255, 255, 255, 0.08);
    --glass-shadow: 0 20px 50px rgba(0, 0, 0, 0.5);
    --gold-gradient: linear-gradient(135deg, #D4AF37 0%, #F1D37E 50%, #D4AF37 100%);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', 'Noto Sans JP', sans-serif;
    background-color: var(--bg-color);
    color: var(--text-primary);
    line-height: 1.6;
    overflow-x: hidden;
}

a {
    text-decoration: none;
    color: inherit;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

/* --- Pickup Section --- */
.pickup-section {
    padding: 6rem 0;
    background: linear-gradient(to bottom, #0F0F12, #16161a);
}

.pickup-card-link {
    text-decoration: none;
    color: inherit;
    display: block;
}

.pickup-card {
    display: flex;
    background: var(--card-bg);
    border: 1px solid var(--card-border);
    border-radius: 12px;
    overflow: hidden;
    backdrop-filter: blur(20px);
    transition: all 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.pickup-card:hover {
    transform: translateY(-10px) scale(1.01);
    border-color: rgba(212, 175, 55, 0.5);
    background: rgba(255, 255, 255, 0.04);
    box-shadow: var(--glass-shadow);
}

.pickup-image {
    flex: 1;
    min-height: 400px;
    background-position: center;
    background-size: cover;
    transition: transform 0.5s;
    position: relative;
}

.pickup-card:hover .pickup-image {
    transform: scale(1.05);
}

.pickup-info {
    flex: 1.2;
    padding: 4rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.pickup-tag {
    color: #D4AF37;
    font-weight: 800;
    font-size: 0.8rem;
    letter-spacing: 2px;
    margin-bottom: 1rem;
}

.pc-only {
    display: none;
}

@media (min-width: 768px) {
    .pc-only {
        display: block;
    }
}

.portal-hero .title {
    font-size: clamp(1.8rem, 8vw, 4.5rem);
    line-height: 1.2;
    margin-bottom: 2rem;
}

.pickup-title {
    font-size: clamp(1.8rem, 4vw, 2.8rem);
    font-weight: 900;
    margin-bottom: 1.5rem;
    line-height: 1.2;
    color: white;
}

.pickup-description {
    color: rgba(255, 255, 255, 0.6);
    font-size: 1.1rem;
    line-height: 1.8;
    margin-bottom: 2.5rem;
}

.read-more {
    color: #D4AF37;
    font-weight: 700;
    font-size: 1rem;
    display: flex;
    align-items: center;
    gap: 0.8rem;
}

@media (max-width: 992px) {
    .pickup-card {
        flex-direction: column;
    }
    .pickup-image {
        min-height: 300px;
    }
    .pickup-info {
        padding: 2rem;
    }
}

/* --- Rakuten Credit --- */
.img-container {
    position: relative;
}

.rakuten-credit {
    position: absolute;
    bottom: 8px;
    left: 8px;
    font-size: 10px;
    color: rgba(255, 255, 255, 0.7);
    background: rgba(0, 0, 0, 0.4);
    padding: 2px 6px;
    border-radius: 2px;
    pointer-events: none;
    z-index: 5;
    font-family: sans-serif;
    letter-spacing: 0.5px;
}

/* Background Animation */
.background-animation {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    z-index: -1;
    overflow: hidden;
    background: url('bg_fukuoka.png') center/cover no-repeat;
    background-color: #0f172a;
}

.background-animation::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(15, 23, 42, 0.7); /* 暗めのオーバーレイでテキストを読みやすく */
    z-index: 0;
}

.glow {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    opacity: 0.4;
    animation: float 20s infinite ease-in-out alternate;
    z-index: 1;
}

.glow-1 {
    width: 400px;
    height: 400px;
    background: #3b82f6;
    top: -10%;
    left: -10%;
}

.glow-2 {
    width: 300px;
    height: 300px;
    background: #8b5cf6;
    bottom: 20%;
    right: -5%;
    animation-delay: -5s;
}

.glow-3 {
    width: 200px;
    height: 200px;
    background: #10b981;
    top: 40%;
    left: 50%;
    transform: translateX(-50%);
    animation-delay: -10s;
}

@keyframes float {
    0% { transform: translate(0, 0) scale(1); }
    100% { transform: translate(30px, 50px) scale(1.1); }
}

/* Header */
.header {
    padding: 1.5rem 0;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 100;
    background: rgba(15, 23, 42, 0.8);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--card-border);
}

.header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-weight: 800;
    font-size: 1.5rem;
    letter-spacing: 1px;
}

.logo span {
    color: var(--accent-color);
}

.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    color: var(--text-primary);
    font-size: 1.5rem;
    cursor: pointer;
    margin-left: auto;
}

.nav a {
    margin-left: 2rem;
    font-size: 0.9rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--text-secondary);
    transition: color 0.3s ease;
}

.nav a:hover {
    color: var(--text-primary);
}

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding-top: 80px;
}

.hero-content {
    max-width: 600px;
}

.subtitle {
    color: var(--accent-color);
    font-weight: 600;
    letter-spacing: 2px;
    text-transform: uppercase;
    margin-bottom: 1rem;
    font-size: 0.9rem;
}

.title {
    font-size: 4rem;
    font-weight: 900;
    line-height: 1.2;
    margin-bottom: 1.5rem;
}

.highlight {
    background: linear-gradient(to right, #60a5fa, #a78bfa);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.description {
    color: var(--text-secondary);
    font-size: 1.1rem;
    margin-bottom: 2.5rem;
    max-width: 500px;
}

.cta-button {
    display: inline-block;
    padding: 1rem 2.5rem;
    background: linear-gradient(135deg, #3b82f6, #6366f1);
    color: white;
    font-weight: 600;
    border-radius: 50px;
    font-size: 1rem;
    transition: all 0.3s ease;
    box-shadow: 0 10px 20px rgba(59, 130, 246, 0.3);
}

.cta-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 25px rgba(59, 130, 246, 0.4);
}

.cta-button i {
    margin-left: 8px;
    transition: transform 0.3s ease;
}

.cta-button:hover i {
    transform: translateX(5px);
}

/* Hero Category Tags */
.hero-category-tags {
    display: flex;
    gap: 0.6rem;
    flex-wrap: wrap;
}

.hero-cat-tag {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 0.55rem 1.1rem;
    background: rgba(255, 255, 255, 0.07);
    border: 1px solid rgba(255, 255, 255, 0.18);
    color: var(--text-primary);
    border-radius: 50px;
    font-size: 0.88rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.25s ease;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    white-space: nowrap;
}

.hero-cat-tag:hover {
    background: rgba(59, 130, 246, 0.25);
    border-color: rgba(59, 130, 246, 0.6);
    color: #93c5fd;
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(59, 130, 246, 0.25);
}

.hero-cat-tag[data-tab="ladies"]:hover  { background: rgba(236, 72, 153, 0.2); border-color: rgba(236, 72, 153, 0.5); color: #f9a8d4; box-shadow: 0 6px 16px rgba(236, 72, 153, 0.2); }
.hero-cat-tag[data-tab="couple"]:hover  { background: rgba(168, 85, 247, 0.2); border-color: rgba(168, 85, 247, 0.5); color: #d8b4fe; box-shadow: 0 6px 16px rgba(168, 85, 247, 0.2); }
.hero-cat-tag[data-tab="luxury"]:hover  { background: rgba(245, 158, 11, 0.2); border-color: rgba(245, 158, 11, 0.5); color: #fcd34d; box-shadow: 0 6px 16px rgba(245, 158, 11, 0.2); }
.hero-cat-tag[data-tab="station"]:hover { background: rgba(16, 185, 129, 0.2); border-color: rgba(16, 185, 129, 0.5); color: #6ee7b7; box-shadow: 0 6px 16px rgba(16, 185, 129, 0.2); }

/* Hotels Section */
.hotels-section {
    padding: 5rem 0 10rem;
    scroll-margin-top: 80px;
}

.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 0.5rem;
}

.section-subtitle {
    color: var(--text-secondary);
    font-size: 1.1rem;
}

/* Tabs UI */
.hotel-tabs {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 2rem;
    flex-wrap: wrap;
}

.tab-button {
    padding: 0.8rem 2rem;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: var(--text-secondary);
    border-radius: 50px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.tab-button:hover {
    background: rgba(255, 255, 255, 0.1);
    color: var(--text-primary);
}

.tab-button.active {
    background: linear-gradient(135deg, var(--accent-color), #6366f1);
    color: white;
    border-color: transparent;
    box-shadow: 0 4px 15px rgba(59, 130, 246, 0.4);
}

/* Loading & Error */
.loading {
    text-align: center;
    padding: 3rem 0;
}

.spinner {
    width: 40px;
    height: 40px;
    border: 3px solid rgba(255,255,255,0.1);
    border-radius: 50%;
    border-top-color: var(--accent-color);
    animation: spin 1s ease-in-out infinite;
    margin: 0 auto 1.5rem;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

.error-message {
    text-align: center;
    color: #ef4444;
    padding: 2rem;
    background: rgba(239, 68, 68, 0.1);
    border-radius: 12px;
    border: 1px solid rgba(239, 68, 68, 0.2);
}

.error-message i {
    font-size: 2rem;
    margin-bottom: 1rem;
}

/* Grid Layout */
.hotels-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 2rem;
}

/* Top Deal Card (First Item) */
.hotel-card:first-child {
    grid-column: 1 / -1;
    display: flex;
    flex-direction: column;
}

@media (min-width: 768px) {
    .hotel-card:first-child {
        flex-direction: row;
        align-items: center;
    }
    
    .hotel-card:first-child .hotel-image-wrapper {
        width: 50%;
        height: 100%;
        min-height: 350px;
    }
    
    .hotel-card:first-child .hotel-content {
        width: 50%;
        padding: 3rem;
    }

    .hotel-card:first-child .hotel-title {
        font-size: 1.8rem;
    }
}

/* Premium Card Design */
.hotel-card {
    background: var(--card-bg);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid var(--card-border);
    border-radius: 20px;
    overflow: hidden;
    box-shadow: var(--glass-shadow);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
    display: flex;
    flex-direction: column;
}

.hotel-card:hover {
    transform: translateY(-10px);
    border-color: rgba(255, 255, 255, 0.2);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
}

/* Rank Badge */
.rank-badge {
    position: absolute;
    top: 20px;
    left: 20px;
    background: linear-gradient(135deg, #f59e0b, #d97706);
    color: white;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    font-weight: 800;
    font-size: 1.2rem;
    z-index: 10;
    box-shadow: 0 4px 10px rgba(245, 158, 11, 0.3);
}

.hotel-image-wrapper {
    width: 100%;
    height: 220px;
    overflow: hidden;
    position: relative;
}

.hotel-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.hotel-card:hover .hotel-image {
    transform: scale(1.05);
}

.hotel-content {
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.hotel-title {
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.hotel-address {
    color: var(--text-secondary);
    font-size: 0.85rem;
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 5px;
}

.hotel-price {
    margin-top: auto;
    font-size: 1rem;
    color: var(--text-secondary);
    display: flex;
    align-items: baseline;
    gap: 5px;
    margin-bottom: 0.8rem;
}

.price-amount {
    font-size: 1.8rem;
    font-weight: 800;
    color: #10b981;
}

/* Review Widget */
.review-widget {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 1.5rem;
    padding: 0.6rem 0.8rem;
    background: rgba(0, 0, 0, 0.25);
    border-radius: 8px;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.review-stars {
    font-size: 0.9rem;
    letter-spacing: 1px;
}

.review-score {
    font-weight: 800;
    font-size: 1.1rem;
    color: #f59e0b;
}

.review-count {
    font-size: 0.85rem;
    color: var(--text-secondary);
    margin-left: auto;
}

.transit-badge, .fare-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 0.4rem 0.8rem;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
}

.transit-badge {
    background: rgba(59, 130, 246, 0.2);
    border: 1px solid rgba(59, 130, 246, 0.3);
    color: #93c5fd;
}

.fare-badge {
    background: rgba(16, 185, 129, 0.2);
    border: 1px solid rgba(16, 185, 129, 0.3);
    color: #6ee7b7;
}

/* Destinations Guide */
.destinations-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
    gap: 1.5rem;
}

.destination-card {
    background: var(--card-bg);
    border-radius: 16px;
    border: 1px solid var(--card-border);
    overflow: hidden;
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    box-shadow: var(--glass-shadow);
    display: flex;
    flex-direction: column;
}

.destination-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.4);
    border-color: rgba(255, 255, 255, 0.2);
}

.destination-image {
    width: 100%;
    height: 180px;
    background-size: cover;
    background-position: center;
    border-bottom: 2px solid rgba(255, 255, 255, 0.05);
}

.destination-content {
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.destination-title {
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    color: var(--text-primary);
}

.destination-desc {
    color: var(--text-secondary);
    font-size: 0.9rem;
    margin-bottom: 1.2rem;
    line-height: 1.5;
}

.destination-access {
    margin-top: auto;
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    align-items: center;
}

.official-link {
    color: #93c5fd;
    text-decoration: none;
    font-size: 0.85rem;
    display: inline-block;
    margin-top: 6px;
    font-weight: 600;
}

.official-link:hover {
    text-decoration: underline;
    color: #60a5fa;
}

.access-link {
    text-decoration: none;
    transition: opacity 0.2s, background-color 0.2s;
    cursor: pointer;
    border-radius: 8px;
    padding: 0.5rem;
    margin: -0.5rem; /* negate padding to align */
}

.access-link:hover {
    background-color: rgba(255, 255, 255, 0.05);
}

.booking-button {
    display: block;
    width: 100%;
    text-align: center;
    padding: 0.8rem;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: var(--text-primary);
    border-radius: 10px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.booking-button:hover {
    background: var(--accent-color);
    border-color: var(--accent-color);
}

/* Budget Guide Section */
#budget-guide .category-title {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 2rem;
    color: var(--accent-color);
    display: flex;
    align-items: center;
    gap: 12px;
}

#budget-guide .spot-title {
    font-size: 1.3rem;
    font-weight: 800;
    margin-bottom: 0.5rem;
    color: var(--text-primary);
}

#budget-guide .spot-price {
    font-size: 1.1rem;
    font-weight: 700;
    color: #10b981;
    margin-bottom: 0.8rem;
}

#budget-guide .spot-desc {
    color: var(--text-secondary);
    font-size: 0.95rem;
    margin-bottom: 1rem;
    line-height: 1.5;
}

#budget-guide .spot-info {
    font-size: 0.85rem;
    padding: 0.5rem 0.8rem;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 8px;
    margin-bottom: 1.2rem;
}

#budget-guide .info-label {
    font-weight: 700;
    color: var(--accent-color);
    margin-right: 5px;
}

.evening-view {
    filter: brightness(0.8) contrast(1.2) saturate(1.3) sepia(0.2) hue-rotate(-15deg);
    transition: filter 0.5s ease;
}

.evening-view:hover {
    filter: brightness(0.9) contrast(1.3) saturate(1.5);
}

/* Portal Styles */
.portal-hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding-top: 100px;
    background: linear-gradient(135deg, rgba(10, 10, 11, 0.85) 0%, rgba(10, 10, 11, 0.45) 55%, rgba(10, 10, 11, 0.15) 100%), 
                url('bg_portal_hero_tokyo_dawn_1778998127364.png') center/cover no-repeat;
    position: relative;
    overflow: hidden;
}

.portal-hero::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 300px;
    background: linear-gradient(to top, var(--bg-dark), transparent);
    z-index: 1;
}

.city-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.city-card {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    height: 400px;
    cursor: pointer;
    transition: transform 0.5s var(--transition-bounce), box-shadow 0.5s ease;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.city-card:hover {
    transform: translateY(-15px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
}

.city-card.coming-soon {
    cursor: default;
    filter: grayscale(0.5);
    opacity: 0.8;
}

.city-card.coming-soon:hover {
    transform: none;
}

.city-card-image {
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    transition: transform 0.8s ease;
}

.city-card:hover .city-card-image {
    transform: scale(1.1);
}

.city-card-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.8) 0%, transparent 60%);
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 2.5rem;
    z-index: 2;
}

.city-name {
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 0.5rem;
    color: #fff;
    text-shadow: 0 2px 10px rgba(0,0,0,0.5);
}

.city-status {
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--accent-blue);
    font-weight: 600;
}

.coming-soon-badge {
    color: rgba(255,255,255,0.5);
}

/* Footer */
.footer {
    background: rgba(0, 0, 0, 0.4);
    padding: 3rem 0;
    border-top: 1px solid var(--card-border);
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1.5rem;
}

.footer-left p, .footer-right p {
    color: var(--text-secondary);
    font-size: 0.9rem;
    margin-top: 0.5rem;
}

@media (max-width: 768px) {
    .header {
        padding: 1rem 0;
    }

    .hero {
        padding-top: 130px;
        min-height: auto;
        padding-bottom: 4rem;
        align-items: flex-start;
    }

    .subtitle {
        margin-top: 0;
    }

    .title {
        font-size: 2.8rem;
    }
    
    .mobile-menu-btn {
        display: block;
    }

    .nav {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background: rgba(15, 23, 42, 0.95);
        backdrop-filter: blur(16px);
        -webkit-backdrop-filter: blur(16px);
        flex-direction: column;
        padding: 1rem 0;
        border-bottom: 1px solid var(--card-border);
        box-shadow: 0 10px 30px rgba(0,0,0,0.5);
    }

    .nav.active {
        display: flex;
    }

    .nav a {
        margin: 0;
        padding: 1rem 2rem;
        width: 100%;
        display: block;
        border-bottom: 1px solid rgba(255,255,255,0.05);
    }

    .nav a:last-child {
        border-bottom: none;
    }

    .hotels-grid {
        grid-template-columns: 1fr;
    }

    .destinations-grid {
        grid-template-columns: 1fr;
    }

    .city-grid {
        grid-template-columns: 1fr;
    }
    
    .footer-content {
        flex-direction: column;
        text-align: center;
    }
}

/* Glass Container for Information */
.glass-container {
    background: rgba(30, 41, 59, 0.5);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 30px;
    padding: 4rem;
    text-align: center;
    margin-top: 2rem;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.3);
}

.feature-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 3rem;
    margin-top: 4rem;
    text-align: left;
}

@media (max-width: 768px) {
    .glass-container {
        padding: 2.5rem 1.5rem;
    }
    
    .feature-grid {
        grid-template-columns: 1fr;
        gap: 2.5rem;
    }
}

/* Rakuten Travel Credit */
.rakuten-credit {
    position: absolute;
    bottom: 12px;
    left: 12px;
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    color: white;
    padding: 3px 10px;
    font-size: 0.75rem;
    font-weight: 600;
}

/* ==========================================
   Affiliate Promotion Banner & Microcopy Styles
   ========================================== */

/* レイアウト干渉・押し出し調整システム */
body.has-promo-bar {
    padding-top: 45px !important; /* バーの高さ分、ボディ全体を綺麗に押し下げる */
    transition: padding-top 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

/* 固定ヘッダーやナビゲーション要素のトップ位置自動調整 */
body.has-promo-bar .header,
body.has-promo-bar header,
body.has-promo-bar .fixed-top,
body.has-promo-bar .sticky-header {
    top: 45px !important; /* 固定要素もバーの下に綺麗にずらす */
    transition: top 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

/* グローバルプロモーションお知らせバーコンテナ */
#promo-notice-bar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: auto; /* スマホのテキスト折り返しに対応するため可変高さに変更 */
    min-height: 45px;
    z-index: 99999; /* すべての要素の最前面に表示 */
    transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

/* グローバルプロモーションお知らせバー */
.promo-banner-bar {
    width: 100%;
    min-height: 45px;
    height: auto;
    padding: 8px 32px 8px 24px; /* 左右と上下に適度な余白を設ける */
    font-size: 0.85rem;
    font-weight: 700;
    text-align: center;
    color: #ffffff;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.4);
    z-index: 2000;
    position: relative;
    text-decoration: none;
    transition: all 0.3s ease;
    letter-spacing: 0.03em;
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
}

.promo-banner-bar span {
    line-height: 1.4; /* 改行された時の行間をスッキリ整える */
    word-break: break-all;
}

.promo-banner-bar i {
    font-size: 1rem;
    flex-shrink: 0; /* 改行時にアイコンが潰れないように固定 */
    animation: promoShake 2.5s infinite;
}

.promo-banner-bar:hover {
    filter: brightness(1.15);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.6);
}

/* スマホ表示におけるお知らせバーの最適化（改行対策） */
@media (max-width: 480px) {
    .promo-banner-bar {
        font-size: 0.74rem; /* 画面幅が極端に狭いスマホでも1〜2行に美しく収まる文字サイズ */
        padding: 8px 24px 8px 16px;
        gap: 6px;
    }
    .promo-banner-bar i {
        font-size: 0.9rem;
    }
}

/* 5と0のつく日（当日）：ゴールド＆レッドの力強いグラデーション */
.promo-banner-50-active {
    background: linear-gradient(90deg, #bf1e2e 0%, #d97706 50%, #bf1e2e 100%);
    background-size: 200% auto;
    animation: promoGradientShift 4s ease infinite;
    border-bottom: 1px solid rgba(251, 191, 36, 0.3);
}

/* 5と0のつく日（前日フライング）：少し落ち着いた予告用ゴールドブルー */
.promo-banner-50-pre {
    background: linear-gradient(90deg, #1e3a8a 0%, #d97706 50%, #1e3a8a 100%);
    background-size: 200% auto;
    animation: promoGradientShift 4s ease infinite;
    border-bottom: 1px solid rgba(251, 191, 36, 0.2);
}

/* スーパーSALE：最高級エナジーレッドとネオンのパルス効果 */
.promo-banner-supersale {
    background: linear-gradient(90deg, #dc2626 0%, #7f1d1d 50%, #dc2626 100%);
    background-size: 200% auto;
    animation: promoGradientShift 3s ease infinite, promoPulseGlow 2s infinite;
    border-bottom: 1px solid rgba(239, 68, 68, 0.4);
}

/* CVR最大化マイクロコピー */
.promo-micro-copy {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 10px 14px;
    border-radius: 12px;
    font-size: 0.82rem;
    font-weight: 600;
    margin: 0 auto 12px auto;
    width: 100%;
    max-width: 580px;
    text-align: center;
    letter-spacing: 0.02em;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    text-decoration: none; /* リンクのデフォルト下線を排除 */
    cursor: pointer; /* 常にクリック可能なポインター */
}

/* ホバー時に優しく浮き上がり発光するマイクロインタラクション */
.promo-micro-copy:hover {
    transform: translateY(-2px) scale(1.02);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.3);
    filter: brightness(1.18); /* 微発光させてクリックを促進 */
}

.promo-micro-copy:active {
    transform: translateY(0) scale(0.98);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

/* 5と0のつく日（当日）マイクロコピー */
.promo-micro-50-active {
    background: rgba(217, 119, 6, 0.08);
    border: 1px solid rgba(217, 119, 6, 0.3);
    color: #fbbf24;
    animation: promoSubtleBounce 2.5s ease-in-out infinite;
}

.promo-micro-50-active strong {
    color: #ffffff;
    background: #d97706;
    padding: 1px 6px;
    border-radius: 4px;
    margin: 0 3px;
    font-weight: 800;
}

/* 5と0のつく日（前日フライング）マイクロコピー */
.promo-micro-50-pre {
    background: rgba(30, 58, 138, 0.15);
    border: 1px solid rgba(217, 119, 6, 0.25);
    color: #f3f4f6;
    animation: promoSubtleBounce 3s ease-in-out infinite;
}

.promo-micro-50-pre strong {
    color: #fbbf24;
    font-weight: 800;
}

/* スーパーSALEマイクロコピー */
.promo-micro-supersale {
    background: rgba(220, 38, 38, 0.08);
    border: 1px solid rgba(220, 38, 38, 0.3);
    color: #f87171;
    animation: promoSubtleBounce 2s ease-in-out infinite, promoPulseBorder 2s infinite;
}

.promo-micro-supersale strong {
    color: #ffffff;
    background: #dc2626;
    padding: 1px 6px;
    border-radius: 4px;
    margin: 0 3px;
    font-weight: 800;
}

/* スーパーSALE対象プランバッジ（カード用） */
.hotel-card.promo-sale-eligible {
    border: 1px solid rgba(239, 68, 68, 0.4);
    box-shadow: 0 8px 30px rgba(220, 38, 38, 0.15);
}

.hotel-card.promo-sale-eligible::before {
    content: 'SUPER SALE';
    position: absolute;
    top: 15px;
    right: 15px;
    background: #dc2626;
    color: white;
    font-size: 0.65rem;
    font-weight: 900;
    padding: 4px 10px;
    border-radius: 20px;
    z-index: 10;
    letter-spacing: 0.08em;
    box-shadow: 0 4px 10px rgba(220, 38, 38, 0.5);
    animation: promoPulseScale 1.5s infinite;
}

/* アニメーション定義 */
@keyframes promoGradientShift {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

@keyframes promoPulseGlow {
    0% { box-shadow: 0 0 0 0 rgba(220, 38, 38, 0.5); }
    70% { box-shadow: 0 0 0 12px rgba(220, 38, 38, 0); }
    100% { box-shadow: 0 0 0 0 rgba(220, 38, 38, 0); }
}

@keyframes promoPulseBorder {
    0% { border-color: rgba(220, 38, 38, 0.3); }
    50% { border-color: rgba(220, 38, 38, 0.7); }
    100% { border-color: rgba(220, 38, 38, 0.3); }
}

@keyframes promoPulseScale {
    0% { transform: scale(1); }
    50% { transform: scale(1.05); }
    100% { transform: scale(1); }
}

@keyframes promoSubtleBounce {
    0% { transform: translateY(0); }
    50% { transform: translateY(-4px); }
    100% { transform: translateY(0); }
}

@keyframes promoShake {
    0%, 100% { transform: rotate(0deg); }
    10%, 30%, 50%, 70%, 90% { transform: rotate(-5deg); }
    20%, 40%, 60%, 80% { transform: rotate(5deg); }
}

/* ==========================================
   Affiliate Large Banner Styles (CTA直前用)
   ========================================== */
.promo-large-banner-container {
    width: 100%;
    max-width: 800px;
    margin: 2rem auto 3rem auto;
    text-align: center;
    position: relative;
    z-index: 10;
}

.promo-large-banner-micro {
    display: inline-block;
    background: #D4AF37;
    color: #0F0F12;
    padding: 6px 20px;
    border-radius: 20px 20px 0 0;
    font-size: 0.9rem;
    font-weight: 900;
    letter-spacing: 0.05em;
    margin-bottom: -1px;
    position: relative;
    z-index: 2;
    box-shadow: 0 -4px 10px rgba(0,0,0,0.3);
}

.promo-large-banner-link {
    display: block;
    background: rgba(255, 255, 255, 0.03);
    border: 3px solid #D4AF37;
    border-radius: 16px;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    position: relative;
}

.promo-large-banner-link:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: 0 20px 40px rgba(212, 175, 55, 0.4);
    border-color: #E5C158;
}

.promo-large-banner-img {
    width: 100%;
    height: auto;
    display: block;
    transition: filter 0.3s ease, transform 0.3s ease;
}

.promo-large-banner-link:hover .promo-large-banner-img {
    filter: brightness(1.1);
    transform: scale(1.02);
}

.promo-large-banner-supersale .promo-large-banner-micro {
    background: #dc2626;
    color: white;
}

.promo-large-banner-supersale .promo-large-banner-link {
    border-color: #dc2626;
    box-shadow: 0 10px 30px rgba(220, 38, 38, 0.3);
}

.promo-large-banner-supersale .promo-large-banner-link:hover {
    border-color: #f87171;
    box-shadow: 0 20px 40px rgba(220, 38, 38, 0.5);
}
