@charset "UTF-8";

/* ==========================================================================
   Design System & Tokens
   ========================================================================== */
:root {
    --primary-color: #333333;
    --secondary-color: #135ea3;
    --accent-color: #f27d00;
    --bg-soft: #fcf6f0;
    --white: #ffffff;
    --gray-light: #f8f9fa;
    --gray-medium: #e9ecef;
    --gray-dark: #6c757d;

    /* Whitespace (As per requirements) */
    --section-margin-sp: 80px;
    --section-margin-pc: 120px;
}

/* Typography */
body {
    font-family: 'Noto Sans JP', sans-serif;
    color: var(--primary-color);
    line-height: 1.8;
    /* ゆとりを持たせる */
    letter-spacing: 0.05em;
    /* 上品さを出す */
    font-size: 16px;
    -webkit-font-smoothing: antialiased;

    /* Disable Text Selection & Copying */
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
    -webkit-touch-callout: none;
    /* Disable long-press menu on mobile */
}

/* Allow selection for specific input/search if added later 
   (though not used here, good practice) */
input,
textarea {
    -webkit-user-select: auto;
    -moz-user-select: auto;
    -ms-user-select: auto;
    user-select: auto;
}

h1,
h2,
h3,
h4,
.font-bold {
    font-weight: 700;
}

/* ==========================================================================
   Layout & Utility
   ========================================================================== */
.section-margin {
    margin-bottom: var(--section-margin-sp);
}

@media (min-width: 1024px) {
    .section-margin {
        margin-bottom: var(--section-margin-pc);
    }
}

.container-custom {
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
    padding-left: 1.5rem;
    padding-right: 1.5rem;
}

/* Non-rounded/shadowed images (Requirement) */
img.raw-style {
    border-radius: 0 !important;
    box-shadow: none !important;
}

/* ==========================================================================
   Box Style (Modern & Friendly with Neon/Bokeh bits)
   ========================================================================== */
.section-box {
    position: relative;
    background: rgba(255, 255, 255, 0.9);
    border: 1px solid rgba(242, 125, 0, 0.1);
    /* Subtle Orange border */
    border-radius: 2rem;
    padding: 2.5rem 1.25rem;
    box-shadow:
        0 4px 20px rgba(0, 0, 0, 0.03),
        -5px 5px 20px rgba(242, 125, 0, 0.05),
        5px -5px 20px rgba(255, 179, 71, 0.04);
    overflow: hidden;
    backdrop-filter: blur(10px);
}

@media (min-width: 768px) {
    .section-box {
        padding: 5rem 4rem;
    }
}

/* Inner Bokeh Orb (Requirement essence) */
.section-box::before {
    content: '';
    position: absolute;
    inset: -50%;
    background: radial-gradient(circle at 75% 25%, rgba(242, 125, 0, 0.03), transparent 40%),
        radial-gradient(circle at 25% 75%, rgba(255, 179, 71, 0.02), transparent 40%);
    pointer-events: none;
    z-index: 0;
}

.section-box>* {
    position: relative;
    z-index: 1;
}

/* ==========================================================================
   Header & Navigation
   ========================================================================== */
#header {
    background: var(--white);
    transition: all 0.4s ease;
}

#header.scrolled {
    padding-top: 0.5rem;
    padding-bottom: 0.5rem;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
}

.nav-link {
    position: relative;
    padding: 0.5rem 0;
    transition: color 0.3s;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 1.5px;
    background: var(--secondary-color);
    transition: width 0.3s;
}

.nav-link:hover::after {
    width: 100%;
}

/* Mobile Menu Overlay */
#sp-menu-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(15px);
    z-index: 999;
    display: none;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

/* ==========================================================================
   FV Swiper
   ========================================================================== */
.fv-swiper {
    width: 100%;
    overflow: hidden;
}

.fv-swiper .swiper-slide img {
    width: 100%;
    height: auto;
    vertical-align: bottom;
}

/* ==========================================================================
   Components
   ========================================================================== */
.btn-primary {
    background: linear-gradient(135deg, #8fb17c 0%, #bff9bb 100%);
    color: #135ea3; /* Changed to secondary color for visibility on light green */
    padding: 1rem 2.5rem;
    border-radius: 9999px;
    font-weight: 900;
    box-shadow: 0 4px 15px rgba(143, 177, 124, 0.25);
    transition: all 0.3s;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(242, 125, 0, 0.4);
    filter: brightness(1.1);
}

.btn-secondary {
    border: 1.5px solid var(--secondary-color);
    color: var(--secondary-color);
    padding: 0.8rem 2rem;
    border-radius: 9999px;
    font-weight: 700;
    transition: all 0.3s;
}

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

/* Section Headings with Dummy Images (Requirement) */
.section-header-img {
    max-width: 50%;
    margin: 0 auto 3rem;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

.section-header-img img {
    width: 100%;
    height: auto;
    opacity: 0.2;
    /* To be removed later */
}

.section-header-img .title-overlay {
    position: absolute;
    font-size: 1.5rem;
    font-weight: 900;
    color: var(--secondary-color);
    letter-spacing: 0.2em;
}

/* Parallax (Fixed Background) */
.parallax-bg {
    background-attachment: fixed;
    background-position: center;
    background-size: cover;
}

@media (max-width: 1023px) {
    .parallax-bg {
        background-attachment: scroll;
    }
}

/* ==========================================================================
   Interaction & UI
   ========================================================================== */
#top-btn {
    position: fixed;
    bottom: 100px;
    right: 20px;
    padding: 1rem;
    border-radius: 50%;
    background: var(--secondary-color);
    color: white;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    z-index: 100;
    display: none;
    transition: all 0.3s;
}

#top-btn:hover {
    background: var(--accent-color);
    transform: translateY(-5px);
}

.mobile-sticky-cta {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background: white;
    z-index: 500;
    display: flex;
    box-shadow: 0 -5px 15px rgba(0, 0, 0, 0.05);
}

/* Animation trigger */
.sh-reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s cubic-bezier(0.2, 0.8, 0.2, 1);
}

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

/* Mobile-only Utility */
.mobile-only {
    display: none;
}

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