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

:root {
    --primary: #f5e8e2;
    /* Soft Pink Beige */
    --secondary: #e6dace;
    /* Warm Beige */
    --accent: #d4a373;
    /* Muted Gold/Tan */
    --text-dark: #4a4a4a;
    --text-light: #8e8e8e;
    --white: #ffffff;
    --bg-light: #faf7f5;
    --section-margin-pc: 120px;
    --section-margin-sp: 80px;
    --font-main: 'Noto Serif JP', serif;
    --shadow-soft: 0 20px 40px rgba(0, 0, 0, 0.04);
    --shadow-medium: 0 30px 60px rgba(0, 0, 0, 0.06);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    -webkit-touch-callout: none;
    /* Prevent selection/copy */
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-main);
    color: var(--text-dark);
    line-height: 1.8;
    letter-spacing: 0.05em;
    background-color: var(--bg-light);
    overflow-x: hidden;
    user-select: none;
    /* Prevent selection/copy */
}

/* Typography */
h1,
h2,
h3,
h4 {
    font-weight: 500;
    line-height: 1.4;
}

p {
    font-size: 16px;
    color: var(--text-dark);
}

img {
    max-width: 100%;
    height: auto;
    vertical-align: bottom;
    object-fit: cover;
}

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

.section {
    margin-bottom: var(--section-margin-pc);
}

@media (max-width: 768px) {
    .section {
        margin-bottom: var(--section-margin-sp);
    }
}

/* Section Header - Text Based with Icon */
.section-header {
    text-align: center;
    margin-bottom: 80px;
    position: relative;
}

.section-header h2 {
    font-size: 2rem;
    font-weight: 700;
    letter-spacing: 0.15em;
    color: var(--text-dark);
    text-transform: uppercase;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
}

.section-header h2::before {
    content: '✦';
    /* Nail/Beauty icon */
    font-size: 1.2rem;
    color: var(--accent);
    font-weight: normal;
}

.section-header .sub-title {
    font-size: 0.9rem;
    font-weight: 400;
    color: var(--accent);
    margin-top: 5px;
    letter-spacing: 0.2em;
}

/* --- Navigation --- */
header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    transition: all 0.3s ease;
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(10px);
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 80px;
    padding: 0 4%;
}

.logo {
    font-size: 1.5rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    color: var(--text-dark);
    text-decoration: none;
}

.nav-links {
    display: flex;
    gap: 30px;
    list-style: none;
}

.nav-links a {
    text-decoration: none;
    color: var(--text-dark);
    font-size: 0.9rem;
    transition: color 0.3s;
}

.nav-links a:hover {
    color: var(--accent);
}

.btn-reserve {
    background: var(--accent);
    color: white;
    padding: 15px 35px;
    text-decoration: none;
    border-radius: 50px;
    font-size: 0.95rem;
    font-weight: 700;
    transition: transform 0.3s, opacity 0.3s;
    box-shadow: 0 4px 15px rgba(212, 163, 115, 0.2);
    display: inline-block;
}

.btn-reserve:hover {
    transform: translateY(-2px);
    opacity: 0.9;
}

/* Hamburger SP Only */
.hamburger {
    display: none;
    flex-direction: column;
    gap: 6px;
    cursor: pointer;
    z-index: 1100;
}

.hamburger span {
    width: 30px;
    height: 2px;
    background: var(--text-dark);
    transition: 0.3s;
}

@media (max-width: 768px) {
    .nav-links {
        display: none;
        /* Hide for mobile nav */
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100vh;
        background: var(--bg-light);
        flex-direction: column;
        justify-content: center;
        align-items: center;
        z-index: 1050;
    }

    .nav-links.active {
        display: flex;
    }

    .hamburger {
        display: flex;
    }

    .header-btns {
        display: none;
    }
}

/* --- First View (FV) --- */
.fv-section,
.fv {
    width: 100%;
    height: auto;
    position: relative;
    overflow: hidden;
    margin-top: 80px;
}

.swiper-fv,
.fv-swiper {
    width: 100%;
    height: auto;
}

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


/* --- CTA Section (Image-inspired Design) --- */
/* --- CTA Section (Theme Consistent) --- */
.cta-section {
    background: var(--bg-light);
    border-radius: 20px;
    padding: 60px 40px;
    text-align: center;
    max-width: 1000px;
    margin-left: auto;
    margin-right: auto;
    border: 1px solid var(--primary);
    box-shadow: var(--shadow-soft);
}

.cta-heading {
    font-size: 1.4rem;
    font-weight: 700;
    margin-bottom: 35px;
    color: var(--text-dark);
}

.cta-flex {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-bottom: 25px;
    flex-wrap: wrap;
    /* Added for multiple buttons */
}

.cta-btn-primary {
    display: flex;
    align-items: center;
    gap: 12px;
    background: var(--accent);
    color: white;
    padding: 15px 40px;
    border-radius: 50px;
    text-decoration: none;
    font-size: 1rem;
    font-weight: 700;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(212, 163, 115, 0.2);
    min-width: 200px;
    /* Slightly reduced for 4-button layout */
    justify-content: center;
}

.cta-btn-primary:hover {
    transform: translateY(-3px);
    opacity: 0.9;
}

.cta-btn-primary.line-btn,
.action-btn.btn-line,
.cta-line {
    background: linear-gradient(135deg, #06c755 0%, #05ae4a 100%);
    box-shadow: 0 4px 15px rgba(6, 199, 85, 0.2);
}

.cta-btn-primary.phone-btn,
.action-btn.btn-phone,
.btn-reserve,
.cta-tel {
    background: linear-gradient(135deg, var(--accent) 0%, #c28e5d 100%);
    box-shadow: 0 4px 15px rgba(212, 163, 115, 0.2);
}

.btn-instagram {
    background: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%);
    box-shadow: 0 4px 15px rgba(220, 39, 67, 0.3);
}

.btn-hotpepper {
    background: linear-gradient(135deg, #ff6b9d 0%, #e91e63 100%);
    box-shadow: 0 4px 15px rgba(233, 30, 99, 0.3);
}

.action-btn.btn-website {
    background: linear-gradient(135deg, #b8d8d0 0%, #9bc7bc 100%);
    /* Elegant soft teal/mint */
    box-shadow: 0 4px 15px rgba(155, 199, 188, 0.3);
}

.cta-btn-primary img,
.action-btn img {
    width: 22px;
    height: 22px;
}

.cta-subtext {
    font-size: 0.95rem;
    color: var(--text-light);
    letter-spacing: 0.05em;
}

@media (max-width: 768px) {
    .cta-section {
        padding: 40px 20px;
        margin-left: 20px;
        margin-right: 20px;
    }

    .cta-heading {
        font-size: 1.2rem;
    }

    .cta-flex {
        flex-direction: column;
        gap: 12px;
    }

    .cta-btn-primary {
        justify-content: center;
        padding: 12px 20px;
        font-size: 1rem;
    }
}

/* --- Third View (TV) - Nayami --- */
.tv-section .grid-2 {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.nayami-list {
    list-style: none;
}

.nayami-list li {
    margin-bottom: 20px;
    position: relative;
    padding-left: 25px;
}

.nayami-list li::before {
    content: '・';
    position: absolute;
    left: 0;
}

@media (max-width: 768px) {
    .tv-section .grid-2 {
        grid-template-columns: 1fr;
    }
}

/* --- About - Fixed Background Image --- */
.about-section {
    background-image: url('../img/aboutbgs.jpg');
    /* Using master_1-1 as requested */
    background-attachment: fixed;
    background-position: center;
    background-size: cover;
    padding: 120px 0;
    position: relative;
}

.about-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.4);
    /* Light overlay to soften the image */
}

.about-box {
    position: relative;
    z-index: 2;
    background: rgba(255, 255, 255, 0.9);
    padding: 80px;
    box-shadow: var(--shadow-medium);
    border: 1px solid var(--secondary);
    max-width: 900px;
    margin: 0 auto;
    text-align: center;
    backdrop-filter: blur(10px);
}

.about-box p {
    margin-bottom: 25px;
    line-height: 2;
    color: var(--text-dark);
}

.about-box p:last-child {
    margin-bottom: 0;
}

@media (max-width: 768px) {
    .about-section {
        background-attachment: scroll;
        /* Fixed background can be glitchy on mobile */
        padding: 80px 20px;
    }

    .about-box {
        padding: 40px 20px;
    }
}

/* --- Gallery Grid 3x3 --- */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 15px;
    max-width: 800px;
    margin: 0 auto;
}

.gallery-item {
    aspect-ratio: 1/1;
    overflow: hidden;
    cursor: pointer;
    position: relative;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.gallery-item:hover img {
    transform: scale(1.1);
}

/* Modal */
#gallery-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.9);
    z-index: 2000;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    /* Indicates you can click out */
}

.close-modal {
    position: absolute;
    top: 20px;
    right: 30px;
    color: #fff;
    font-size: 50px;
    font-weight: bold;
    cursor: pointer;
    z-index: 2100;
    width: 60px;
    height: 60px;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: opacity 0.3s;
}

.close-modal:hover {
    opacity: 0.7;
}

@media (max-width: 768px) {
    .close-modal {
        top: 10px;
        right: 10px;
        width: 50px;
        height: 50px;
        font-size: 40px;
    }
}

#gallery-modal img {
    max-width: 90%;
    max-height: 90%;
    box-shadow: 0 0 30px rgba(0, 0, 0, 0.5);
}

/* --- Service --- */
.service-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
}

.service-card {
    text-align: left;
}

.service-img {
    width: 100%;
    aspect-ratio: 1/1;
    border-radius: 4px;
    margin-bottom: 25px;
    box-shadow: var(--shadow-soft);
}

.service-card h3 {
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 15px;
    color: var(--accent);
}

@media (max-width: 768px) {
    .service-grid {
        grid-template-columns: 1fr;
    }
}

/* --- Menu Recommend (Fixed BG) --- */
.menu-recommend {
    background-image: url('../img/bgs.jpg');
    background-attachment: fixed;
    background-position: center;
    background-size: cover;
    padding: 120px 0;
    position: relative;
    color: white;
    text-align: center;
}

.menu-recommend::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.4);
}

.recommend-wrapper {
    max-width: 1000px;
    margin: 0 auto;
}

.recommend-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    /* Text box takes bigger portion */
    gap: 0;
    /* No gap */
    align-items: stretch;
    box-shadow: var(--shadow-medium);
    border-radius: 4px;
    overflow: hidden;
    /* Ensure content respects border radius */
}

.recommend-text-box {
    position: relative;
    z-index: 10;
    background: rgba(255, 255, 255, 0.9);
    padding: 60px 40px;
    /* Remove individual border/radius/shadow as the grid acts as the container now, or adjust to merge */
    border-radius: 4px 0 0 4px;
    /* border: 1px solid var(--secondary); */
    /* Optional: borders might double up if not careful */
    backdrop-filter: blur(5px);
    color: var(--text-dark);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
}

.recommend-image-box {
    position: relative;
    z-index: 10;
    width: 100%;
    height: 100%;
}

.recommend-image-box img {
    width: 100%;
    height: 100%;
    border-radius: 0 4px 4px 0;
    /* Match container */
    /* Remove individual shadow as it might look weird flat against text box */
    /* box-shadow: var(--shadow-medium); */
    object-fit: cover;
    /* aspect-ratio: 4/3; allow height to match text box naturally or be flexible */
    min-height: 350px;
}

@media (max-width: 768px) {
    .recommend-grid {
        grid-template-columns: 1fr;
        /* gap: 40px; */
        /* Removed as gap is now 0 */
    }

    .recommend-text-box {
        border-radius: 4px 4px 0 0;
    }

    .recommend-image-box img {
        height: auto;
        aspect-ratio: 4/3;
        border-radius: 0 0 4px 4px;
    }
}

.recommend-tag {
    display: inline-block;
    border: 1px solid var(--accent);
    color: var(--accent);
    padding: 5px 20px;
    margin-bottom: 20px;
    font-size: 0.9rem;
    letter-spacing: 0.1em;
}

/* --- Menu Price List (Minimalist Refined) --- */
.price-list-container {
    max-width: 900px;
    margin: 0 auto;
    background: white;
    border-radius: 20px;
    box-shadow: var(--shadow-soft);
    border: 1px solid var(--primary);
    overflow: hidden;
    /* For top image radius */
}

.price-featured-img {
    width: 100%;
    height: 450px;
    object-fit: cover;
    object-position: bottom;
    display: block;
}

.price-list-body {
    padding: 80px 60px;
}

.price-category {
    margin-bottom: 60px;
}

.price-category:last-child {
    margin-bottom: 0;
}

.category-title {
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--accent);
    margin-bottom: 40px;
    text-align: center;
    letter-spacing: 0.2em;
    position: relative;
    padding-bottom: 15px;
}

.category-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 40px;
    height: 1px;
    background: var(--accent);
}

.price-category-note {
    font-size: 0.85rem;
    color: var(--text-dark);
    text-align: center;
    margin-top: -20px;
    margin-bottom: 40px;
    opacity: 0.8;
}

.price-item-modern {
    margin-bottom: 35px;
}

.price-item-modern:last-child {
    margin-bottom: 0;
}

.price-header-flex {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    gap: 15px;
    margin-bottom: 10px;
}

.price-name {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--text-dark);
}

.price-dots {
    flex-grow: 1;
    border-bottom: 1px dotted #ccc;
    height: 1px;
    opacity: 0.5;
}

.price-amount {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--accent);
    letter-spacing: 0.05em;
}

.price-description {
    font-size: 0.9rem;
    color: var(--text-light);
    line-height: 1.7;
}

@media (max-width: 768px) {
    .price-list-container {
        padding: 0;
    }

    .price-list-body {
        padding: 40px 15px;
    }

    .price-header-flex {
        flex-direction: column;
        gap: 5px;
    }

    .price-dots {
        display: none;
    }

    .price-amount {
        font-size: 1.1rem;
        align-self: flex-end;
    }
}

/* --- Voice - Elegant Cards --- */
.voice-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.voice-card {
    background: var(--white);
    padding: 50px 40px 40px;
    border-radius: 15px;
    box-shadow: var(--shadow-soft);
    position: relative;
    border: 1px solid rgba(212, 163, 115, 0.1);
    transition: transform 0.3s;
    display: flex;
    flex-direction: column;
}

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

.voice-card::before {
    content: '“';
    position: absolute;
    top: 10px;
    left: 20px;
    font-size: 5rem;
    color: var(--primary);
    font-family: serif;
    opacity: 0.3;
}

.voice-card p {
    position: relative;
    z-index: 1;
    font-size: 0.95rem;
    color: var(--text-dark);
    font-style: italic;
    flex-grow: 1;
    margin-bottom: 20px;
}

.customer-name {
    display: block;
    text-align: right;
    font-size: 0.85rem;
    color: var(--accent);
    font-weight: 700;
    font-style: normal;
}

@media (max-width: 1024px) {
    .voice-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .voice-grid {
        grid-template-columns: 1fr;
    }
}

/* --- Message --- */
.message-section .grid-2 {
    display: grid;
    grid-template-columns: 4fr 6fr;
    gap: 80px;
    align-items: center;
}

.message-img {
    border-radius: 100px 4px 4px 4px;
    box-shadow: var(--shadow-medium);
}

@media (max-width: 768px) {
    .message-section .grid-2 {
        grid-template-columns: 1fr;
        gap: 40px;
    }
}

/* --- Contact / Access (Card Design per Image) --- */
.access-section {
    padding: 100px 20px;
    background: var(--bg-light);
}

.access-card {
    background: white;
    max-width: 1000px;
    margin: 0 auto;
    padding: 60px 40px;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    text-align: center;
}

.access-card h3 {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--accent);
    margin-bottom: 20px;
}

.access-card .divider {
    width: 100%;
    height: 1px;
    background: #d1d9e2;
    margin: 0 auto 40px;
}

.contact-info-list {
    list-style: none;
    margin-bottom: 40px;
    line-height: 2.2;
    color: var(--text-dark);
}

.contact-info-list a {
    color: inherit;
    text-decoration: none;
}

.sns-action-links {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-bottom: 50px;
    flex-wrap: wrap;
    /* Ensure wrap for many buttons */
}

.action-btn {
    padding: 15px 40px;
    border-radius: 50px;
    text-decoration: none;
    color: white;
    font-weight: 700;
    font-size: 1rem;
    transition: transform 0.3s, opacity 0.3s;
    min-width: 220px;
}

.action-btn:hover {
    transform: translateY(-3px);
    opacity: 0.9;
}

.btn-instagram {
    background: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%);
    box-shadow: 0 4px 15px rgba(220, 39, 67, 0.3);
}

.btn-website {
    background: var(--accent);
    box-shadow: 0 4px 15px rgba(212, 163, 115, 0.3);
}

.map-card-wrapper {
    width: 100%;
    height: 450px;
    border-radius: 10px;
    overflow: hidden;
    border: 1px solid #eee;
}

@media (max-width: 768px) {
    .access-card {
        padding: 40px 20px;
    }

    .action-btn {
        width: 100%;
        min-width: auto;
    }
}


/* --- Footer --- */
footer {
    background: var(--primary);
    padding: 60px 0 100px;
    /* Space for SP CTA */
    text-align: center;
}

.footer-nav {
    display: flex;
    justify-content: center;
    gap: 30px;
    margin-bottom: 30px;
    flex-wrap: wrap;
}

.footer-nav a {
    text-decoration: none;
    color: var(--text-dark);
    font-size: 0.9rem;
}

.copyright {
    font-size: 0.8rem;
    color: var(--text-light);
}

/* --- UI Parts --- */
#back-to-top {
    position: fixed;
    right: 30px;
    bottom: 100px;
    width: 50px;
    height: 50px;
    background: white;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    box-shadow: var(--shadow-soft);
    text-decoration: none;
    color: var(--text-dark);
    z-index: 900;
    opacity: 0;
    transition: 0.3s;
}

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

/* Floating CTA SP */
.floating-cta {
    display: none;
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background: white;
    z-index: 1000;
    box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.05);
    padding: 10px;
}

.floating-cta .flex {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
}

.cta-btn-fix {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
    padding: 15px;
    text-decoration: none;
    border-radius: 50px;
    font-size: 0.95rem;
    font-weight: 700;
    transition: opacity 0.3s;
}

.cta-tel {
    background: var(--accent);
    color: white;
}

.cta-line {
    background: #06c755;
    color: white;
}

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

.sp-br {
    display: none;
}

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