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

:root {
    --primary-pink: #fce4ec;
    --accent-pink: #f06292;
    --dark-brown: #4e342e;
    --bg-white: #ffffff;
    --text-main: #4e342e;
}

body {
    font-family: 'Noto Sans JP', sans-serif;
    line-height: 1.8;
    letter-spacing: 0.05em;
    color: var(--text-main);
    background-color: var(--bg-white);
    overflow-x: hidden;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
}

/* Base Styles */
h1,
h2,
h3,
h4 {
    font-weight: 700;
}

/* Header */
header {
    transition: background-color 0.3s ease;
}

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

/* Custom Spacing */
.section-margin {
    margin-bottom: 80px;
}

@media (min-width: 768px) {
    .section-margin {
        margin-bottom: 120px;
    }
}

/* Section Title Styling */
.section-title-wrapper {
    position: relative;
    width: 100%;
    max-width: none;
    margin: 0 auto 60px;
    text-align: center;
}

.section-title {
    font-size: 2.5rem;
    color: var(--dark-brown);
    position: relative;
    display: inline-block;
    padding-bottom: 15px;
    letter-spacing: 0.1em;
}

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

.section-subtitle {
    display: block;
    font-size: 0.9rem;
    color: var(--accent-pink);
    margin-bottom: 5px;
    font-weight: 500;
}

/* Swiper FV Fix */
.fv-swiper {
    width: 100% !important;
    height: auto !important;
}

.fv-swiper .swiper-slide {
    height: auto !important;
    display: flex;
    align-items: flex-start;
}

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

/* Buttons */
.btn-primary {
    background-color: var(--accent-pink);
    color: white !important;
    padding: 12px 24px;
    border-radius: 9999px;
    transition: all 0.3s ease;
    display: inline-block;
    font-weight: 500;
}

.btn-primary:hover {
    background-color: #ec407a;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(240, 98, 146, 0.3);
}

.btn-tel {
    background-color: #4CAF50;
    color: white !important;
    padding: 12px 24px;
    border-radius: 9999px;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-weight: 500;
}

.btn-tel:hover {
    background-color: #43A047;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(76, 175, 80, 0.3);
}

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

/* Top Scroll Button */
#scrollTopBtn {
    position: fixed;
    right: 20px;
    bottom: 80px;
    /* Offset for CTA footer on SP */
    z-index: 50;
    opacity: 0;
    transition: 0.3s;
}

#scrollTopBtn.show {
    opacity: 1;
}

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

.fixed-cta a {
    flex: 1;
    text-align: center;
    padding: 15px;
    font-weight: bold;
    color: white;
}

.fixed-cta .tel-btn {
    background-color: #8bc34a;
}

.fixed-cta .web-btn {
    background-color: var(--accent-pink);
}

/* Menu for SP */
.sp-nav {
    position: fixed;
    top: 0;
    left: 100%;
    width: 100%;
    height: 100vh;
    background: rgba(255, 255, 255, 0.98);
    z-index: 200;
    transition: 0.4s ease;
}

.sp-nav.open {
    left: 0;
}

/* Modal */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.9);
    z-index: 1000;
    display: none;
    align-items: center;
    justify-content: center;
}

.modal-content img {
    max-width: 90vw;
    max-height: 90vh;
}

/* Section Decorations */
.bg-soft-pink {
    background-color: #fff5f8;
}

.bg-cream {
    background-color: #fafafa;
}

.section-padding {
    padding: 80px 0;
}

@media (min-width: 768px) {
    .section-padding {
        padding: 120px 0;
    }
}

/* Card Styling */
.card-shadow {
    box-shadow: 0 10px 30px rgba(78, 52, 46, 0.05);
    border-radius: 20px;
    overflow: hidden;
    transition: transform 0.3s ease;
}

.card-shadow:hover {
    transform: translateY(-5px);
}

/* Parallax Overlay */
.parallax-overlay {
    background: rgba(255, 255, 255, 0.85);
    padding: 60px 40px;
    border-radius: 30px;
}

/* Animation Utilities */
.reveal {
    opacity: 0;
    transition: all 0.8s ease-out;
}

.reveal.reveal-up {
    transform: translateY(30px);
}

.reveal.reveal-down {
    transform: translateY(-30px);
}

.reveal.reveal-left {
    transform: translateX(30px);
}

.reveal.reveal-right {
    transform: translateX(-30px);
}

.active.reveal {
    opacity: 1;
    transform: translate(0, 0);
}

/* Delay variants */
.reveal-delay-100 { transition-delay: 100ms; }
.reveal-delay-200 { transition-delay: 200ms; }
.reveal-delay-300 { transition-delay: 300ms; }
.reveal-delay-400 { transition-delay: 400ms; }
.reveal-delay-500 { transition-delay: 500ms; }