:root {
    --primary: #00A3C0;
    --secondary: #e0faff;
    --accent: #ffe716;
    --text-1: #002f38;
    --text-2: #ffffff;
    --font-jp: 'Noto Sans JP', sans-serif;
    --font-serif-jp: 'Shippori Mincho', serif;
    --font-serif-en: 'Cormorant Garamond', serif;
    --font-cursive: 'Pinyon Script', cursive;
}

/* Reset & Base */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-jp);
    color: var(--text-1);
    line-height: 1.8;
    background-color: var(--text-2);
    overflow-x: hidden;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

a {
    text-decoration: none;
    color: inherit;
    transition: 0.3s;
}

.bold {
    font-weight: 700;
    text-shadow: 1px 1px 0px rgba(0, 0, 0, 0.2); /* Thin, hard shadow */
}

.text-center {
    text-align: center;
}

.margin-top-1 { margin-top: 1rem; }
.margin-top-2 { margin-top: 2rem; }

/* Animations */
.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.fade-in.is-visible {
    opacity: 1;
    transform: translateY(0);
}

/* HEADER */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background-color: var(--primary); /* Simple header with the primary color */
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.header-inner {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 20px;
    height: 60px; /* Slim and simple */
}

.header-tagline {
    color: #ffffff;
    font-size: 0.95rem; /* Slightly larger */
    font-weight: 500;
    letter-spacing: 0.1em;
    font-family: var(--font-serif-en);
}

.header-tagline span {
    position: relative;
    font-family: var(--font-serif-jp);
    margin-left: 8px;
    font-size: 0.9rem;
    z-index: 1;
}

.header-btn {
    background: transparent;
    border: 1px solid #fff;
    color: #fff;
    padding: 6px 15px;
    border-radius: 50px;
    font-size: 0.8rem;
    font-weight: 700;
    transition: 0.3s;
}

.header-btn:hover {
    background: #fff;
    color: var(--primary);
}
@media (max-width: 380px) {
    .header-btn {
        padding: 5px 10px;
        font-size: 0.7rem;
    }
}

.header-logo {
    height: 35px; /* Scaled for a slim header */
    width: auto;
    filter: brightness(0) invert(1); /* Ensure it's white on the primary color */
}

/* HERO SECTION */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 120px 20px 100px; /* Offset for fixed header */
    overflow: hidden;
    color: var(--text-2);
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
}

.hero-bg::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    /* Rich gradient for readability regardless of photo */
    background: linear-gradient(to bottom, 
        rgba(0,0,0,0.4) 0%, 
        rgba(0,0,0,0.1) 40%, 
        rgba(0,0,0,0.1) 60%, 
        rgba(0,0,0,0.4) 100%);
}

.hero-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero-content {
    text-align: center;
    z-index: 1;
    width: 100%;
    max-width: 600px;
}

.hero-eyecatch {
    margin-bottom: 2.5rem;
    text-align: center;
}

.eyecatch-en {
    font-family: var(--font-serif-en);
    font-size: clamp(1.4rem, 6vw, 2.2rem);
    letter-spacing: 0.25em;
    font-weight: 400;
    color: var(--accent);
    margin-bottom: 0.8rem;
    text-shadow: 0 0 15px rgba(255, 231, 22, 0.3);
}

.eyecatch-jp {
    font-family: var(--font-serif-jp);
    font-size: 0.85rem;
    letter-spacing: 0.3em;
    font-weight: 700;
    background-color: var(--primary);
    color: white;
    display: inline-block;
    padding: 5px 20px;
    border-radius: 50px;
    box-shadow: 3px 3px 0px #002f38;
    margin-bottom: 1rem;
}

.catch-copy {
    font-family: var(--font-serif-jp);
    font-size: clamp(1.2rem, 7vw, 2.2rem); /* Slightly smaller as requested */
    letter-spacing: 0.15em;
    margin-bottom: 2.5rem;
    line-height: 1.8;
    text-shadow: 0 2px 10px rgba(0,0,0,0.5);
    font-weight: 500;
}

.catch-copy span {
    display: block;
}

.renewal-info {
    border-top: 1px solid rgba(255, 255, 255, 0.5);
    padding-top: 2rem;
}

.renewal-info .date {
    font-family: var(--font-serif-en);
    font-size: clamp(2.5rem, 12vw, 4rem);
    font-weight: 300;
    letter-spacing: 0.2em;
}

.hero-logo-wrapper {
    margin: 0.5rem auto 1.5rem;
    max-width: 180px; /* Reduced for mobile */
}

.hero-logo {
    width: 100%;
    height: auto;
    filter: brightness(0) invert(1); /* Make it white */
}

.renewal-info .status {
    font-size: 1rem;
    margin-top: 0.5rem;
}

.renewal-info .cursive {
    font-family: var(--font-cursive);
    font-size: clamp(1.8rem, 8vw, 2.8rem);
    color: var(--accent);
    margin-top: 0.8rem;
    text-shadow: 0 0 15px rgba(255, 231, 22, 0.3);
}

/* BENEFIT TEASER SECTION */
.benefit-teaser {
    background-color: var(--secondary);
    padding: 80px 20px;
    text-align: center;
    border-bottom: 1px solid rgba(0, 163, 192, 0.1);
}

.benefit-teaser .section-title {
    margin-bottom: 1.5rem;
}

.teaser-text {
    font-family: var(--font-serif-jp);
    font-size: 1.3rem;
    line-height: 1.8;
    color: var(--text-1);
    margin-bottom: 2rem;
    letter-spacing: 0.1em;
}

.teaser-text .highlight {
    color: var(--primary);
    font-weight: 700;
    font-size: 1.5rem;
}

.teaser-link {
    display: inline-block;
    color: var(--primary);
    text-decoration: none;
    font-weight: 700;
    font-size: 1.1rem;
    position: relative;
    padding-bottom: 5px;
    transition: 0.3s;
}

.teaser-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 1px;
    background-color: var(--primary);
    transform: scaleX(1); /* Visible by default */
    opacity: 0.4;
    transition: opacity 0.3s;
}

.teaser-link:hover::after {
    opacity: 1;
}

.teaser-link .arrow {
    display: inline-block;
    transition: transform 0.3s;
}

.teaser-link:hover .arrow {
    transform: translateX(5px);
}

/* STORY SECTIONS */
.story-section {
    position: relative;
    padding: 30px 0; /* Further reduced from 60px */
    background-color: var(--text-2);
}

/* For scroll-fade effect */
.image-wrapper {
    position: relative;
    width: 90%;
    margin: 0 auto;
    height: 60vh;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.image-wrapper img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.image-note {
    font-size: 0.65rem;
    color: var(--text-1); 
    text-align: right;
    width: 90%;
    margin: 8px auto 0;
    opacity: 0.4;
}

.image-wrapper .image-b {
    opacity: 0; /* Transitioned via JS */
}

/* STYLISH GALLERY (Cafe Section) */
.stylish-gallery {
    position: relative;
    width: 95%;
    max-width: 1000px;
    margin: 0 auto;
    height: 70vh;
}

.gallery-item {
    position: absolute;
    transition: all 1.2s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 10px 40px rgba(0,0,0,0.15);
    background: #fff;
    padding: 8px; /* Frame-like border */
}

.gallery-item .img-inner {
    width: 100%;
    height: 100%;
    overflow: hidden;
}

.gallery-item img {
    width: 1000px; /* Base for Ken Burns */
    height: 100%;
    object-fit: cover;
    animation: kenBurns 20s infinite alternate ease-in-out;
}

@keyframes kenBurns {
    0% { transform: scale(1); }
    100% { transform: scale(1.15); }
}

.item-1 {
    width: 75%;
    height: 80%;
    top: 0;
    left: 0;
    z-index: 1;
}

.item-2 {
    width: 60%;
    height: 70%;
    bottom: 0;
    right: 0;
    z-index: 2;
}

/* Active focus swapping state */
.gallery-item.active {
    z-index: 10;
}

.gallery-item:not(.active) {
    transform: scale(0.95);
    filter: brightness(0.8);
}

.text-content {
    padding: 20px 20px 40px; /* Reduced top padding for mobile */
    text-align: center;
    font-size: 1.1rem;
}

/* BTN PRIMARY */
.btn-primary {
    display: inline-block;
    padding: 18px 40px;
    background-color: var(--primary);
    color: var(--text-2);
    border-radius: 50px;
    font-weight: 700;
    box-shadow: 0 4px 15px rgba(0, 163, 192, 0.3);
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.btn-primary::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
    transition: 0.5s;
    z-index: -1;
}

.btn-primary:hover::before {
    left: 100%;
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(0, 163, 192, 0.4);
}

/* BENEFITS SECTION */
.benefits-section {
    background-color: var(--secondary);
    padding: 100px 20px;
    scroll-margin-top: 80px; /* Offset for fixed header */
}

.section-title {
    position: relative;
    font-family: var(--font-serif-jp);
    color: var(--primary);
    font-size: 2.2rem;
    text-align: center;
    margin-bottom: 2rem;
    letter-spacing: 0.1em;
    z-index: 1; /* Above the backdrop */
}

.section-title::before {
    content: attr(data-en);
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -70%);
    font-family: var(--font-cursive);
    color: #ffffff; /* White as requested */
    font-size: clamp(4rem, 15vw, 7rem);
    z-index: -1;
    opacity: 0.8; /* Slight transparency for "stylish" factor */
    pointer-events: none;
    white-space: nowrap;
}

.benefits-summary {
    text-align: center;
    font-size: 1.2rem;
    margin-bottom: 4rem;
    font-weight: 700;
}

.benefits-summary .highlight {
    font-size: 2.2rem;
    color: var(--primary);
    margin: 0 5px;
    text-shadow: 1px 1px 0 #fff;
    border-bottom: 3px solid var(--accent);
}

.accent-mark {
    background: linear-gradient(transparent 60%, var(--accent) 60%);
    background-size: 0% 100%;
    background-repeat: no-repeat;
    font-weight: 700;
    padding: 0 2px;
    transition: background-size 1s cubic-bezier(0.22, 1, 0.36, 1);
}

.accent-mark.is-visible {
    background-size: 100% 100%;
}

.benefits-grid {
    display: grid;
    gap: 30px;
}

.benefit-card {
    background: white;
    padding: 30px;
    border-radius: 20px;
    box-shadow: 0 10px 20px rgba(0,0,0,0.05);
}

.benefit-card h3 {
    font-family: var(--font-serif-jp);
    color: var(--primary);
    font-size: 1.4rem;
    margin-bottom: 1.5rem;
    border-bottom: 1px solid var(--secondary);
    padding-bottom: 0.5rem;
    display: inline-block;
}

.benefit-card ul {
    list-style: none;
}

.benefit-card li {
    margin-bottom: 1rem;
    position: relative;
    padding-left: 2rem;
}

.benefit-card .num {
    position: absolute;
    left: 0;
    font-weight: 700;
    color: var(--primary);
}

.benefit-note {
    font-size: 0.8rem;
    color: #666;
    margin-top: 1.5rem;
    line-height: 1.5;
}

/* FOOTER */
.footer {
    padding: 40px 20px; /* Tightened top and bottom padding */
    background-color: var(--text-2);
    border-top: 1px solid var(--secondary);
}

.copyright {
    text-align: center;
    margin-top: 4rem;
    font-size: 0.8rem;
    color: var(--primary);
    opacity: 0.6;
}

.logo-area {
    text-align: center;
    margin-bottom: 2rem; /* Reduced from 3rem */
}

.map-area {
    margin: 3rem auto 0;
    max-width: 900px;
    height: 300px;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    border: 1px solid var(--secondary);
}

.map-area iframe {
    width: 100%;
    height: 100%;
}

.venue-logo {
    width: 200px;
    margin: 0 auto;
}

.venue-info {
    text-align: center;
}

.venue-name {
    font-size: 1.6rem;
    font-weight: 700;
    margin-bottom: 2rem;
    letter-spacing: 0.1em;
}

.footer-venue-name-logo {
    width: 220px;
    height: auto;
    display: block;
    margin: 0 auto;
}

.phone-banner {
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: var(--primary);
    color: white;
    padding: 15px 30px;
    border-radius: 12px;
    font-size: 1.6rem;
    font-weight: 700;
    margin-bottom: 3rem;
    gap: 10px;
}

.phone-icon {
    display: flex;
    align-items: center;
    width: 28px;
    height: 28px;
}

.phone-icon img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.access-info p {
    margin-bottom: 0.5rem;
    font-size: 0.95rem;
}

.access-info .hours {
    margin-top: 1rem;
    color: #666;
}

/* FLOATING CTA */
.floating-cta {
    position: fixed;
    bottom: 30px;
    left: 20px;
    width: 95px;
    height: 95px;
    background-color: var(--accent);
    color: var(--text-1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    font-weight: 700;
    font-size: 0.85rem;
    line-height: 1.2;
    box-shadow: 0 5px 25px rgba(255, 231, 22, 0.4);
    z-index: 100;
    transition: transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    animation: bounce 3s infinite;
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {transform: translateY(0) scale(1);}
    40% {transform: translateY(-10px) scale(1.05);}
    60% {transform: translateY(-5px) scale(1.02);}
}

.floating-cta:hover {
    transform: scale(1.1) rotate(5deg);
    animation-play-state: paused;
}

.floating-cta .inner {
    padding: 5px;
}

.cta-badge {
    position: absolute;
    top: -5px;
    left: -15px; /* Moved to left */
    background-color: var(--primary);
    color: white;
    padding: 3px 12px;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 700;
    transform: rotate(-15deg); /* Reversed rotation for left side */
    box-shadow: 0 4px 10px rgba(0,0,0,0.2);
    z-index: 10;
    white-space: nowrap;
}

/* CTA WRAPPER & BADGE */
.cta-wrapper {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0;
    margin-top: 2rem;
}

.cta-badge-top {
    font-family: var(--font-serif-jp);
    font-size: 1rem;
    color: var(--primary);
    background-color: var(--accent);
    padding: 2px 15px;
    border-radius: 4px;
    margin-bottom: -10px; /* Overlap slightly for style */
    z-index: 2;
    font-weight: 700;
    box-shadow: 2px 2px 0px #002f38; /* Hard dark shadow as requested */
    position: relative;
}

.cta-badge-top::after {
    content: '';
    position: absolute;
    bottom: -6px;
    left: 50%;
    transform: translateX(-50%);
    border-left: 6px solid transparent;
    border-right: 6px solid transparent;
    border-top: 6px solid var(--accent);
}

.btn-elegant {
    display: inline-block;
    background-color: var(--primary);
    color: white;
    padding: 18px 20px; /* Adjusted padding */
    width: 280px; /* Fixed width to ensure centering and consistent look */
    text-align: center; /* Centralize text as requested */
    border-radius: 50px;
    font-size: 1.1rem;
    font-weight: 700;
    text-decoration: none;
    letter-spacing: 0.1em;
    box-shadow: 3px 3px 0px #002f38; /* Hard dark shadow for "pop-art" feel */
    transition: all 0.2s ease;
    z-index: 1;
}

.btn-elegant:hover {
    background-color: var(--text-1);
    transform: translate(-2px, -2px); /* Proper hard-shadow lift */
    box-shadow: 5px 5px 0px #000;
}

@media (max-width: 480px) {
    .btn-elegant {
        padding: 16px 10px;
        font-size: 0.95rem;
        width: 100%;
        max-width: 320px;
    }
    .cta-badge-top {
        font-size: 0.85rem;
    }
}

/* Desktop Styles */
@media (min-width: 768px) {
    .catch-copy {
        font-size: 3.5rem;
        text-align: center;
    }
    .catch-copy span {
        display: block;
        white-space: nowrap;
    }
    .hero-logo-wrapper {
        max-width: 280px; /* Larger for desktop */
    }
    .renewal-info .date { font-size: 4rem; }
    .renewal-info .name { font-size: 2.5rem; }
    
    .benefits-grid {
        grid-template-columns: 1fr 1fr;
    }
    
    .image-wrapper {
        height: 80vh;
        width: 80%;
    }
    
    .text-content {
        font-size: 1.3rem;
        max-width: 800px;
        margin: 0 auto;
    }
    
    .phone-banner {
        max-width: 400px;
        margin-left: auto;
        margin-right: auto;
    }

    .story-section {
        padding: 50px 0; /* Reduced from 100px */
    }

    .text-content {
        padding: 30px 20px;
    }

    .sp {
        display: none;
    }
}

/* FAIR EXPERIENCE SECTION */
.fair-section {
    padding: 100px 20px;
    background-color: var(--text-2);
}

#fair .section-title::before {
    color: var(--primary);
    opacity: 0.12; /* Subtle teal backdrop on white */
}

.experience-grid {
    display: grid;
    gap: 20px;
    margin-bottom: 80px;
    max-width: 1000px;
    margin-left: auto;
    margin-right: auto;
}

.experience-card {
    background: #fff;
    border: 1px solid var(--secondary);
    border-radius: 15px;
    padding: 25px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 163, 192, 0.05);
}

.experience-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 163, 192, 0.1);
    border-color: var(--primary);
}

.experience-card .card-content {
    display: flex;
    align-items: flex-start;
    gap: 20px;
}

.experience-card .card-num {
    font-family: var(--font-serif-en);
    font-size: 2rem;
    color: var(--primary);
    opacity: 0.3;
    line-height: 1;
    font-weight: 600;
    margin-top: -5px;
}

.fair-cta {
    margin-top: 60px;
}

.experience-card h3 {
    font-family: var(--font-serif-jp);
    font-size: 1.2rem;
    color: var(--text-1);
    margin-bottom: 8px;
    font-weight: 700;
}

.experience-card p {
    font-size: 0.95rem;
    color: #555;
    line-height: 1.6;
}

/* Schedule Area */
.schedule-area {
    max-width: 800px;
    margin: 80px auto 0;
    padding: 60px 40px;
    background-color: var(--secondary);
    border-radius: 30px;
    position: relative;
}

.schedule-title {
    text-align: center;
    font-family: var(--font-serif-jp);
    font-size: 1.8rem;
    color: var(--primary);
    margin-bottom: 50px;
    position: relative;
    z-index: 1;
}

.schedule-title::before {
    content: attr(data-en);
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -60%);
    font-family: var(--font-cursive);
    color: #ffffff;
    font-size: clamp(3rem, 12vw, 5rem);
    z-index: -1;
    opacity: 0.9;
    pointer-events: none;
    white-space: nowrap;
}

.schedule-title::after {
    content: '';
    position: absolute;
    bottom: -15px;
    left: 50%;
    transform: translateX(-50%);
    width: 40px;
    height: 2px;
    background-color: var(--primary);
}

.schedule-list {
    display: flex;
    flex-direction: column;
    gap: 40px;
    position: relative;
}

.schedule-list::before {
    content: '';
    position: absolute;
    top: 10px;
    left: 30px;
    width: 1px;
    height: calc(100% - 20px);
    background: linear-gradient(to bottom, var(--primary) 0%, transparent 100%);
    opacity: 0.3;
}

.schedule-item {
    display: flex;
    align-items: center;
    gap: 30px;
    position: relative;
    z-index: 1;
}

.step-circle {
    width: 60px;
    height: 60px;
    background-color: var(--primary);
    color: white;
    border-radius: 50%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    box-shadow: 0 4px 10px rgba(0, 163, 192, 0.3);
}

.step-label {
    font-size: 0.6rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    line-height: 1;
}

.step-num {
    font-family: var(--font-serif-en);
    font-size: 1.2rem;
    font-weight: 600;
    line-height: 1;
}

.schedule-content h4 {
    font-family: var(--font-serif-jp);
    font-size: 1.25rem;
    margin-bottom: 5px;
    font-weight: 700;
}

.schedule-content p {
    font-size: 0.95rem;
    color: #444;
}

@media (min-width: 768px) {
    .experience-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 767px) {
    .fair-section {
        padding: 60px 20px;
    }
    .schedule-area {
        padding: 40px 20px;
        margin-top: 60px;
    }
    .schedule-item {
        gap: 15px;
    }
    .step-circle {
        width: 50px;
        height: 50px;
    }
    .step-num {
        font-size: 1.1rem;
    }
    .schedule-list::before {
        left: 25px;
    }
    .experience-card {
        padding: 20px;
    }
    .experience-card .card-num {
        font-size: 1.6rem;
    }
}
