@import url('https://fonts.googleapis.com/css2?family=Noto+Sans+JP:wght@400;500;700&display=swap');

:root {
    --primary-blue: #0077b6;
    --secondary-blue: #00b4d8;
    --accent-blue: #90e0ef;
    --text-black: #333333;
    --bg-light: #f8fbff;
    --section-margin-pc: 120px;
    --section-margin-sp: 80px;
}

body {
    font-family: 'Noto Sans JP', sans-serif;
    line-height: 1.8;
    letter-spacing: 0.05em;
    color: var(--text-black);
    background-color: #fff;
    overflow-x: hidden;
    font-size: 16px;
    -webkit-user-select: none;
    /* Disable text selection for copy protection */
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
}

/* Base Layout */
.container-custom {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

section {
    margin-bottom: 100px;
    padding-top: 60px;
    /* Space for fixed header and breathing room */
}

@media (min-width: 1024px) {
    section {
        margin-bottom: 160px;
        padding-top: 100px;
    }
}

/* Header */
header {
    transition: background-color 0.3s, box-shadow 0.3s;
}

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

/* Typography & Titles */
h1,
h2,
h3 {
    font-weight: 700;
}

.section-title-group {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    margin-top: 120px;
    /* Added substantial space before section titles */
    margin-bottom: 60px;
}

@media (max-width: 768px) {
    .section-title-group {
        margin-top: 80px;
        /* Adjusted for mobile view */
    }
}

.section-icon {
    width: 48px;
    height: 48px;
    color: var(--primary-blue);
    margin-bottom: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.section-icon svg {
    width: 100%;
    height: 100%;
}

.section-title {
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--text-black);
}

@media (max-width: 768px) {
    .section-title {
        font-size: 1.5rem;
    }

    .section-icon {
        width: 40px;
        height: 40px;
        margin-bottom: 12px;
    }
}

/* Body spacing for fixed header */
body {
    padding-top: 80px;
    /* Base header height */
}

@media (max-width: 768px) {
    body {
        padding-top: 72px;
        /* Mobile header height */
    }
}

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

@media (max-width: 768px) {
    .fv-swiper {
        height: auto;
    }
}

.fv-swiper .swiper-slide img {
    display: block;
}

/* FV Banner */
.fv-banner {
    background-color: var(--primary-blue);
    margin: 0 !important;
    padding: 0 !important;
    position: relative;
    z-index: 10;
}

.fv-banner-link {
    display: block;
    text-decoration: none;
    transition: all 0.3s ease;
}

.fv-banner-link:hover {
    background-color: var(--secondary-blue);
}

.fv-banner-link:hover .fv-banner-arrow {
    transform: translateX(10px);
}

.fv-banner-inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 24px 20px;
}

.fv-banner-text {
    color: #fff;
    font-size: 1.75rem;
    font-weight: 700;
    margin: 0;
    letter-spacing: 0.1em;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 20px;
}

.fv-banner-price-box {
    background-color: #fff;
    color: var(--primary-blue);
    padding: 5px 25px;
    border-radius: 50px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.fv-banner-price {
    font-size: 2.75rem;
    line-height: 1;
}

.fv-banner-arrow {
    font-size: 1.75rem;
    transition: transform 0.3s ease;
    display: inline-block;
}

@media (max-width: 768px) {
    .fv-banner-inner {
        padding: 20px 15px;
    }

    .fv-banner-text {
        font-size: 1.1rem;
        gap: 10px;
    }

    .fv-banner-price-box {
        padding: 3px 15px;
    }

    .fv-banner-price {
        font-size: 1.6rem;
    }

    .fv-banner-arrow {
        font-size: 1.2rem;
    }
}


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

/* Gallery & Swiper Custom */
.swiper-button-next,
.swiper-button-prev {
    color: var(--primary-blue);
}

/* Utility */
.blue-btn {
    background-color: var(--primary-blue);
    color: #fff;
    padding: 12px 30px;
    border-radius: 0;
    transition: background-color 0.3s;
    display: inline-block;
    text-align: center;
}

.blue-btn:hover {
    background-color: var(--secondary-blue);
}

/* Fixed CTA SP */
.sp-fixed-cta {
    display: none;
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    z-index: 100;
    background: #fff;
    box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.1);
}

@media (max-width: 768px) {
    .sp-fixed-cta {
        display: flex;
    }
}

/* Scroll Top Button */
#scrollTopBtn {
    position: fixed;
    right: 20px;
    bottom: 80px;
    width: 50px;
    height: 50px;
    background: var(--primary-blue);
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: 0.3s;
    z-index: 99;
}

#scrollTopBtn.show {
    opacity: 1;
    visibility: visible;
}

/* Mobile Menu Overlay */
.menu-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.98);
    z-index: 1000;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: 0.3s;
}

.menu-overlay.active {
    opacity: 1;
    visibility: visible;
}

/* Images */
img {
    max-width: 100%;
    height: auto;
    object-fit: cover;
}

/* Trouble List (Custom Bullets) */
.trouble-list {
    list-style: none;
    padding-left: 0 !important;
}

.trouble-list li {
    position: relative;
    padding-left: 2.5rem !important;
    font-size: 1.1rem;
    margin-bottom: 1.2rem;
}

.trouble-list li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0.5em;
    /* Adjusted default to be closer to top */
    width: 16px;
    height: 16px;
    background-color: var(--primary-blue);
    border-radius: 4px;
    box-shadow: 0 2px 6px rgba(0, 119, 182, 0.3);
}

@media (max-width: 768px) {

    /* SP Typography & Alignment Updates */
    h3 {
        text-align: center !important;
    }

    .trouble-list li {
        font-size: 16px !important;
        padding-left: 2rem !important;
        line-height: 1.5;
        margin-bottom: 1rem;
    }

    .trouble-list li::before {
        top: 0.2rem;
        /* Align with the top baseline of the text */
        width: 14px;
        height: 14px;
    }
}

/* CTA Section Enhancements */
.cta {
    position: relative;
    z-index: 1;
    background-color: #f8fbff;
    overflow: hidden;
    transition: background-color 0.6s ease;
}

.cta:hover {
    background-color: #f4faff;
}

.cta::before {
    content: "";
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg,
            transparent,
            rgba(0, 119, 182, 0.04),
            rgba(0, 119, 182, 0.08),
            rgba(0, 119, 182, 0.04),
            transparent);
    transform: skewX(-25deg);
    z-index: -1;
    transition: left 1s cubic-bezier(0.4, 0, 0.2, 1);
}

.cta:hover::before {
    left: 100%;
}

.tel-btn {
    background-color: #fff !important;
    color: var(--text-black) !important;
    border: 2px solid var(--primary-blue) !important;
    padding: 12px 30px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    border-radius: 0px;
}

.tel-btn:hover {
    background-color: var(--primary-blue) !important;
    color: #fff !important;
}

/* Staff Section Layout */
.staff-container {
    display: flex;
    flex-direction: column;
    gap: 40px;
    align-items: center;
}

@media (min-width: 768px) {
    .staff-container {
        flex-direction: row;
        align-items: center;
        max-width: 900px;
        margin: 0 auto;
    }
}

.staff-image-block {
    flex: 0 0 200px;
    text-align: center;
}

.staff-info-block {
    flex: 1;
}

/* Footer */
footer {
    position: relative;
    background-color: #111827;
    /* bg-gray-900 equivalent */
    color: #ffffff;
    height: 100px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.copyright-text {
    text-align: center;
    font-size: 0.75rem;
    color: #9ca3af;
    /* text-gray-400 */
}

/* Customer Review Avatars */
.reviewer-avatar-initial {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1.2rem;
    color: #fff;
    flex-shrink: 0;
}

.bg-initial-1 {
    background-color: var(--primary-blue);
}

.bg-initial-2 {
    background-color: var(--secondary-blue);
}

/* Spacing Adjustments */
.gallery-swiper {
    margin-top: 40px;
}

@media (min-width: 1024px) {
    .gallery-swiper {
        margin-top: 80px;
    }
}

.access {
    margin-top: 60px;
}

@media (min-width: 1024px) {
    .access {
        margin-top: 100px;
    }
}

footer {
    margin-top: 60px;
}

@media (min-width: 1024px) {
    footer {
        margin-top: 100px;
    }
}

/* Reveal Animations */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s cubic-bezier(0.2, 0.8, 0.2, 1);
    visibility: hidden;
}

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

/* Stagger delay for list items or grid elements if needed */
.reveal-delay-1 {
    transition-delay: 0.1s;
}

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

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