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

:root {
    --primary-pink: #fdf2f2;
    --accent-pink: #f8d7da;
    --deep-brown: #4a3728;
    --text-main: #5d4037;
    --white: #ffffff;
    --section-margin-pc: 120px;
    --section-margin-sp: 80px;
}

body {
    font-family: 'Noto Sans JP', sans-serif;
    color: var(--text-main);
    line-height: 1.8;
    letter-spacing: 0.05em;
    background-color: var(--white);
    overflow-x: hidden;
    user-select: none;
    /* テキスト選択禁止 */
    -webkit-user-select: none;
    -ms-user-select: none;
}

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

section {
    margin-bottom: 0;
}

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

/* Header */
header {
    background: white;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
}

header.scrolled {
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(10px);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.03);
}

/* Header Overlap Handled by Sticky */
/* (Removed body padding) */

/* Button Styles */
.btn-primary {
    background-color: #d81b60;
    color: white;
    padding: 12px 24px;
    border-radius: 9999px;
    font-weight: 500;
    transition: all 0.3s ease;
    display: inline-block;
    text-align: center;
}

.btn-primary:hover {
    background-color: #ad1457;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(216, 27, 96, 0.3);
}

/* Section Headings */
.section-title {
    position: relative;
    text-align: center;
    margin-bottom: 60px;
}

.section-title img {
    display: none;
    /* 背景画像を非表示に */
}

.section-title .title-text {
    position: relative;
    display: inline-block;
    padding-bottom: 20px;
    font-size: 2rem;
    font-weight: 700;
    color: var(--deep-brown);
    letter-spacing: 0.2em;
    text-transform: uppercase;
}

.section-title .title-text::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 1px;
    background: var(--deep-brown);
    /* More sophisticated line */
}

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

    h3 {
        font-size: 1.4rem !important;
    }

    #gallery {
        padding-top: 100px !important;
    }
}


/* Dotted Leader for Menu */
.menu-item {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    gap: 10px;
    margin-bottom: 5px;
}

.menu-name {
    font-weight: 700;
    white-space: nowrap;
}

.menu-leader {
    flex-grow: 1;
    border-bottom: 1px dotted #ccc;
    height: 10px;
}

.menu-price {
    font-weight: 700;
}

/* About Section Customization */
#about {
    background-color: #fbf6f4;
    /* Sophisticated warm beige-rose */
    position: relative;
    overflow: hidden;
    padding: 100px 0;
}

#about::before {
    content: '';
    position: absolute;
    top: -50px;
    right: -50px;
    width: 300px;
    height: 300px;
    background: #f8d7da;
    opacity: 0.15;
    border-radius: 50%;
    z-index: 0;
}

.about-img {
    box-shadow: 20px 20px 60px rgba(74, 55, 40, 0.1);
    transition: all 0.5s ease;
}

.about-img:hover {
    transform: translateY(-5px);
    box-shadow: 20px 30px 70px rgba(74, 55, 40, 0.15);
}


.accent-border {
    position: relative;
    padding: 40px;
    background: rgba(255, 255, 255, 0.5);
    backdrop-filter: blur(5px);
    border: 1px solid rgba(255, 255, 255, 0.8);
}

.accent-border::before {
    content: '';
    position: absolute;
    top: -5px;
    left: -5px;
    width: 80px;
    height: 80px;
    border-top: 3px solid #f8d7da;
    border-left: 3px solid #f8d7da;
}



/* Header Buttons */
.btn-tel {
    background-color: var(--deep-brown);
    color: white;
    padding: 10px 20px;
    border-radius: 9999px;
    font-weight: 500;
    font-size: 0.85rem;
    transition: all 0.3s ease;
    display: inline-block;
    text-align: center;
}

.btn-tel:hover {
    background-color: #33261c;
    transform: translateY(-2px);
}

.btn-outline {
    border: 1px solid var(--deep-brown);
    color: var(--deep-brown);
    border-radius: 9999px;
    transition: all 0.3s ease;
}

.btn-outline:hover {
    background-color: var(--deep-brown);
    color: white;
    transform: translateY(-2px);
}


/* CTA Styles */
.cta-beautify {
    background: linear-gradient(135deg, #fdf2f2 0%, #f8d7da 100%);
    border-radius: 20px;
    padding: 60px 40px;
}

.tv-image-frame {
    position: relative;
    background: white;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
}



/* SV Banner Overlay */
.sv-banner-container {
    position: relative;
    overflow: hidden;
}

.sv-banner-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(74, 55, 40, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    pointer-events: none;
}

.sv-banner-label {
    border: 1px solid rgba(255, 255, 255, 0.6);
    padding: 15px 30px;
    color: white;
    font-size: 1.2rem;
    font-weight: 500;
    letter-spacing: 0.2em;
    backdrop-filter: blur(2px);
}


/* Service Section Image Styles */
.service-image-container {
    position: relative;
    padding: 15px;
}

.service-image-container::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 60%;
    height: 60%;
    border-top: 2px solid #f8d7da;
    border-left: 2px solid #f8d7da;
    z-index: 0;
}

.service-image-container::after {
    content: '';
    position: absolute;
    bottom: 0;
    right: 0;
    width: 60%;
    height: 60%;
    border-bottom: 2px solid #f8d7da;
    border-right: 2px solid #f8d7da;
    z-index: 0;
}

.service-image-inner {
    position: relative;
    z-index: 1;
    overflow: hidden;
    box-shadow: 0 15px 35px rgba(74, 55, 40, 0.1);
    transition: transform 0.6s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.service-image-inner img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.service-image-inner:hover {
    transform: scale(1.02);
}

.service-image-inner:hover img {
    transform: scale(1.1);
}


/* Utility */
.object-cover {
    object-fit: cover;
}

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

@media (max-width: 767px) {
    .parallax-bg {
        background-attachment: scroll;
        /* SPではパララックス無効化（パフォーマンス・バグ防止） */
    }
}

/* Back to Top */
#back-to-top {
    position: fixed;
    bottom: 100px;
    right: 20px;
    width: 50px;
    height: 50px;
    background: var(--deep-brown);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    z-index: 50;
}

#back-to-top.visible {
    opacity: 1;
    visibility: visible;
}

/* Floating CTA SP */
.floating-cta {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    display: flex;
    z-index: 100;
}

.floating-cta a {
    flex: 1;
    padding: 15px;
    text-align: center;
    font-weight: 700;
    font-size: 0.9rem;
    text-decoration: none;
}

.cta-tel {
    background: #4a3728;
    color: white;
}

.cta-web {
    background: #d81b60;
    color: white;
}

/* Swiper Fade Custom */
.swiper-fade .swiper-slide {
    pointer-events: none;
}

.swiper-fade .swiper-slide-active {
    pointer-events: auto;
}

/* Voice Cards Styles */
.voice-card {
    height: 100%;
    display: flex;
    flex-direction: column;
}

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

.fade-in {
    transform: translateY(0);
}

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

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

/* Gallery Slider Fix */
#gallery {
    width: 100%;
    overflow-x: hidden;
}

.gallery-wrapper {
    width: 100%;
    position: relative;
}

.gallery-swiper {
    width: 100%;
}

.gallery-swiper .swiper-slide {
    height: auto;
    display: flex;
    justify-content: center;
    align-items: center;
}

.gallery-swiper img {
    width: 100%;
    height: auto;
    object-fit: cover;
    border-radius: 4px;
    transition: transform 0.5s ease;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
}

.gallery-swiper .swiper-slide:hover img {
    transform: scale(1.03);
}

/* Lightbox Modal Refinement */
#lightbox {
    transition: opacity 0.3s ease;
    display: none; /* Default hidden */
    align-items: center;
    justify-content: center;
}

#lightbox.active {
    display: flex;
    opacity: 1;
    backdrop-filter: blur(8px);
}

#lightbox span {
    transition: transform 0.3s ease;
}

#lightbox span:hover {
    transform: rotate(90deg) scale(1.2);
}

#lightbox-img {
    max-width: 90%;
    max-height: 90vh;
    object-fit: contain;
    user-select: none;
    -webkit-user-drag: none;
    box-shadow: 0 0 50px rgba(0, 0, 0, 0.5);
    margin: auto; /* Extra centering insurance */
}

.voice-text {
    display: -webkit-box;
    -webkit-line-clamp: 5;
    line-clamp: 5;
    -webkit-box-orient: vertical;
    overflow: hidden;
    transition: max-height 0.3s ease;
}

.voice-text.expanded {
    -webkit-line-clamp: unset;
    line-clamp: unset;
    display: block;
}

.read-more-btn {
    text-align: left;
    color: #4a3728;
    font-weight: 700;
    font-size: 0.85rem;
    cursor: pointer;
    margin-top: 10px;
    display: inline-block;
}

.read-more-btn:hover {
    text-decoration: underline;
}