/* Google Fonts: Shippori Mincho */
@import url('https://fonts.googleapis.com/css2?family=Shippori+Mincho:wght@400;500;600;700;800&display=swap');

:root {
    --color-primary: #000000;
    --color-secondary: #001f3f;
    /* Navy */
    --color-accent: #c4a484;
    --color-highlight: #99CEFC;
    /* New Light Blue */
    /* Metallic/Sand accent for some premium feel, but will stick to black/navy/white mainly */
    --color-white: #ffffff;
    --font-base: 'Shippori Mincho', serif;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-base);
    line-height: 1.8;
    letter-spacing: 0.05em;
    font-size: 16px;
    color: var(--color-primary);
    background-color: var(--color-white);
    overflow-x: hidden;
    -webkit-user-select: none;
    /* Prevent text selection as part of a premium feel if desired, though target was right-click */
    user-select: none;
    background-color: #ffffff;
}

/* Scroll Animation revealed classes */
.reveal-hidden {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s cubic-bezier(0.2, 1, 0.3, 1);
}

.reveal-active {
    opacity: 1;
    transform: translateY(0);
}

.reveal-delay-100 {
    transition-delay: 0.1s;
}

.reveal-delay-200 {
    transition-delay: 0.2s;
}

.reveal-delay-300 {
    transition-delay: 0.3s;
}

/* Right click prevention overlay logic or JS is better. JS will be used. */

/* Section Spacing */
section {
    margin-bottom: 80px;
    /* SP default */
}

@media (min-width: 768px) {
    section {
        margin-bottom: 120px;
        /* PC default */
    }
}

/* Header */
header {
    transition: all 0.3s ease;
}

header.scrolled {
    background-color: rgba(255, 255, 255, 0.95);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

/* Section Titles */
.section-title-container {
    text-align: center;
    margin-bottom: 60px;
    padding: 0 20px;
    position: relative;
}

.section-title-container::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--color-highlight), transparent);
}

.section-title-ja {
    font-size: 1.75rem;
    font-weight: 700;
    display: block;
    color: var(--color-primary);
    padding: 20px 0 10px;
    position: relative;
}

.section-title-ja::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background: var(--color-highlight);
}

.section-title-en {
    font-size: 0.75rem;
    color: #999;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    margin-top: 12px;
    display: block;
    padding-bottom: 15px;
    position: relative;
}

.section-title-en::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 40px;
    height: 1px;
    background: #ccc;
}

/* Introduction Section (TV) */
#intro {
    position: relative;
    padding: 40px 20px 30px;
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    display: flex;
    align-items: center;
    justify-content: center;
}

.intro-box {
    background: rgba(255, 255, 255, 0.9);
    padding: 30px;
    max-width: 600px;
    width: 100%;
    text-align: center;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
    border-radius: 12px;
}

@media (min-width: 768px) {
    #intro {
        padding: 60px 20px 50px;
    }

    .intro-box {
        padding: 50px;
    }
}

/* Gallery Grid */
.gallery-container {
    max-width: 800px;
    /* Reduced width for smaller images */
    width: 95%;
    margin: 0 auto;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 15px;
}

@media (max-width: 768px) {
    .gallery-container {
        width: 100%;
        padding: 0 10px;
    }

    .gallery-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 10px;
    }
}

/* First View */
.fv-swiper {
    width: 100%;
    height: auto;
}

.fv-swiper .swiper-slide img {
    width: 100%;
    height: auto;
    display: block;
}

/* Parallax */
.parallax-bg {
    background-attachment: fixed;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
}

/* Mobile specific fixes for parallax */
@media (max-width: 768px) {
    .parallax-bg {
        background-attachment: scroll;
        /* iOS and some mobile browsers don't play well with fixed */
    }
}

/* Buttons */
.btn-premium {
    background: linear-gradient(135deg, var(--color-secondary), var(--color-highlight));
    color: white;
    padding: 1rem 2rem;
    font-weight: bold;
    transition: all 0.3s ease;
    display: inline-block;
    text-align: center;
    border-radius: 9999px;
    /* Fully rounded */
}

.btn-premium:hover {
    background: linear-gradient(135deg, var(--color-primary), var(--color-secondary));
    transform: translateY(-2px);
    opacity: 0.9;
}

/* CTA Number */
.cta-number {
    border: 3px solid var(--color-highlight);
    border-radius: 9999px;
    padding: 0.5rem 1.5rem;
    display: inline-block;
}

/* Scroll Top Button */
#scrollTopBtn {
    position: fixed;
    bottom: 100px;
    /* Above mobile CTA */
    right: 20px;
    z-index: 99;
    background-color: var(--color-primary);
    color: white;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: 0.3s;
    cursor: pointer;
}

#scrollTopBtn.visible {
    opacity: 1;
}

/* Mobile CTA */
.mobile-cta {
    display: none;
}

@media (max-width: 768px) {
    .mobile-cta {
        display: flex;
        position: fixed;
        bottom: 0;
        left: 0;
        width: 100%;
        height: 60px;
        z-index: 1000;
        background: white;
        box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.1);
    }

    .mobile-cta a {
        flex: 1;
        display: flex;
        align-items: center;
        justify-content: center;
        color: white;
        font-weight: bold;
        text-decoration: none;
        font-size: 0.9rem;
    }

    .cta-tel {
        background-color: #333;
    }

    .cta-inst {
        background: linear-gradient(135deg, var(--color-secondary), var(--color-highlight));
    }

    /* Centering SNS in Access section on mobile */
    .mobile-center-utils {
        justify-content: center;
    }

    /* Reduce SP padding */
    .px-4 {
        padding-left: 10px !important;
        padding-right: 10px !important;
    }
}

/* Checkbox List Styling */
.intro-list {
    list-style: none;
    padding: 0;
}

.intro-list li {
    position: relative;
    padding-left: 30px;
    margin-bottom: 15px;
}

.intro-list li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 4px;
    width: 20px;
    height: 20px;
    border: 2px solid var(--color-highlight);
    border-radius: 4px;
}

.intro-list li::after {
    content: '';
    position: absolute;
    left: 6px;
    top: 8px;
    width: 8px;
    height: 12px;
    border: solid var(--color-highlight);
    border-width: 0 2px 2px 0;
    transform: rotate(45deg);
}

/* Fix mobile CTA button text contrast if needed */
.cta-inst {
    color: white !important;
}

/* Hamburger Menu */
.menu-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.95);
    z-index: 2000;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    opacity: 0;
    pointer-events: none;
    transition: 0.3s;
}

.menu-overlay.active {
    opacity: 1;
    pointer-events: auto;
}

.menu-overlay nav ul {
    text-align: center;
}

.menu-overlay nav ul li {
    margin: 20px 0;
}

.menu-overlay nav ul li a {
    color: white;
    font-size: 1.5rem;
    font-weight: bold;
}

/* Specific fix for the CTA button in the overlay to ensure black text */
.menu-overlay nav ul li a.bg-white {
    color: #000 !important;
    font-size: 1rem;
}

.close-menu {
    position: absolute;
    top: 20px;
    right: 20px;
    color: white;
    font-size: 2rem;
    cursor: pointer;
}

/* Custom Utilities */
.broken-grid-image {
    position: relative;
    z-index: 1;
}

/* Adjustments for no margin between FV and SV */
#fv {
    margin-bottom: 0 !important;
}

/* Image styling - No rounded corners or shadows as requested */
img {
    border-radius: 0 !important;
    box-shadow: none !important;
}

/* Section Box Styling with #99CEFC Shadow */
.section-box {
    background-color: white;
    border: 1px solid rgba(153, 206, 252, 0.2) !important;
    box-shadow: 0 20px 40px -15px rgba(153, 206, 252, 0.4);
    transition: all 0.6s cubic-bezier(0.165, 0.84, 0.44, 1);
    position: relative;
    overflow: hidden;
}

.section-box:hover {
    transform: translateY(-10px);
    box-shadow: 0 30px 60px -15px rgba(153, 206, 252, 0.6);
    border-color: rgba(153, 206, 252, 0.5) !important;
}

/* Subtle accent for the box */
.section-box::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 0;
    background: var(--color-highlight);
    transition: height 0.6s ease;
}

.section-box:hover::after {
    height: 100%;
}

/* Visibility Utilities */
@media (max-width: 767px) {
    .pc-only {
        display: none !important;
    }
}

@media (min-width: 768px) {
    .mobile-only {
        display: none !important;
    }
}