@charset "UTF-8";

/* Google Fonts Import */
@import url('https://fonts.googleapis.com/css2?family=Bodoni+Moda:opsz,wght@6..96,400;500;600;700&family=Noto+Sans+JP:wght@300;400;500&family=Noto+Serif+JP:wght@300;400;500&display=swap');

/* Base Styles */
:root {
    --color-primary: #3d2b1f; /* 深みのあるブラウン（締め色） */
    --color-secondary: #d4b08c; /* ゴールド・シャンパンベージュ（アクセント） */
    --color-text: #2a2a2a;
    --color-gray: #f2eadb; /* 薄いベージュ */
    --font-sans: 'Noto Sans JP', sans-serif;
    --font-serif: 'Noto Serif JP', serif;
    --font-display: 'Bodoni Moda', serif;
    /* Eksell Display代替 */
}

html {
    scroll-behavior: smooth;
    -webkit-text-size-adjust: 100%;
    /* iOS Safari fixes for parallax */
    height: 100%;
    overflow-x: hidden;
}

body {
    font-family: var(--font-sans);
    color: var(--color-text);
    line-height: 2.0;
    letter-spacing: 0.08em;
    -webkit-font-smoothing: antialiased;
    background-color: #fff;
    overflow-x: hidden;
    min-height: 100%;
}


/* Typography (Becolourful Style) */
.font-display {
    font-family: var(--font-display);
}

.font-display-italic {
    font-family: var(--font-display);
    font-style: italic;
}

/* 巨大な背景文字 */
.big-typography {
    font-family: var(--font-display);
    font-size: clamp(4rem, 15vw, 15rem);
    line-height: 1;
    opacity: 0.2; /* Increased from 0.08 */
    position: absolute;
    white-space: nowrap;
    pointer-events: none;
    font-style: italic;
    font-weight: 700;
    z-index: -1; /* Ensure it stays behind content */
}

/* FV Section */
.fv-section {
    position: relative;
    width: 100%;
    /* height: 100vh; */
    /* height: 100dvh; */
    height: auto;
    overflow: hidden;
}

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

.swiper-slide img {
    width: 100%;
    height: auto;
    /* height: 100%; */
    /* object-fit: cover; */
    /* object-position: center; */
    display: block;
}

/* Circular Text (Becolourful Style Refined) */
.circular-text-container {
    position: absolute;
    bottom: 50px;
    right: 50px;
    /* 右下に配置 */
    width: 140px;
    height: 140px;
    z-index: 20;
    pointer-events: none;
    animation: rotateText 15s linear infinite;
    mix-blend-mode: difference;
    /* 背景となじませつつ視認性確保 */
    color: #fff;
}

@media (max-width: 768px) {
    .circular-text-container {
        width: 80px;
        height: 80px;
        bottom: 15px;
        right: 15px;
    }
}

.circular-text-container svg {
    width: 100%;
    height: 100%;
    fill: currentColor;
}

@keyframes rotateText {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

/* Marquee Animation (Perenoel Online Store Style) */
.marquee-container {
    overflow: hidden;
    white-space: nowrap;
    position: relative;
    padding: 20px 0;
    background: transparent;
    border-top: 1px solid rgba(0, 0, 0, 0.05);
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.marquee-content {
    display: inline-block;
    animation: marquee 30s linear infinite;
    font-family: var(--font-display);
    font-size: 3rem;
    font-style: italic;
    color: #e0e0e0;
    /* 薄いグレーで上品に */
}

@media (max-width: 768px) {
    .marquee-content {
        font-size: 2rem;
    }
}

@keyframes marquee {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(-50%);
    }
}

@keyframes slowZoom {
    0% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.1);
    }
    100% {
        transform: scale(1);
    }
}

.animate-slow-zoom {
    animation: slowZoom 20s ease-in-out infinite;
}

/* Image Marquee Styles */
.image-marquee-container {
    overflow: hidden;
    position: relative;
    width: 100%;
    display: flex;
    background: #fff;
    padding: 2rem 0;
    /* Add vertical breathing room */
}

.image-marquee-content {
    display: flex;
    animation: imageMarquee 60s linear infinite;
    /* Slower for smooth visual */
}

.image-marquee-content.reverse {
    animation-direction: reverse;
}

.image-marquee-item {
    width: 200px;
    height: 200px;
    flex-shrink: 0;
    margin-right: 1rem;
    /* Gap between images */
    border-radius: 8px;
    /* Slight rounded corners for modern feel */
    overflow: hidden;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease;
}

.image-marquee-item:hover {
    transform: scale(1.05);
}

.image-marquee-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

@media (max-width: 768px) {
    .image-marquee-item {
        width: 140px;
        height: 140px;
        margin-right: 0.5rem;
    }

    .image-marquee-container {
        padding: 1rem 0;
    }
}

@keyframes imageMarquee {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(-50%);
    }
}

/* Amrta Style (Precautions List) */
.precautions-list {
    border-top: 1px solid #ccc;
}

.precautions-item {
    border-bottom: 1px solid #ccc;
    padding: 2rem 0;
}

@media (min-width: 768px) {
    .precautions-item {
        display: flex;
        justify-content: space-between;
        align-items: flex-start;
    }
}

.precautions-title {
    font-family: var(--font-serif);
    font-weight: 500;
    margin-bottom: 1rem;
    min-width: 200px;
}

/* Broken Grid & Layout Utilities */
.broken-grid {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    position: relative;
}

.broken-grid-image {
    width: 100%;
    position: relative;
    overflow: hidden;
}

.broken-grid-image img {
    transition: transform 1s ease;
}

.broken-grid-image:hover img {
    transform: scale(1.05);
}

.broken-grid-content {
    width: 100%;
    padding: 2rem;
    background: #fff;
}

@media (min-width: 768px) {
    .broken-grid {
        /* Becolourful風の大胆なレイアウトのためグリッドを使用せずFlexとPositionで調整 */
        display: flex;
        align-items: center;
        justify-content: space-between;
        margin-bottom: 8rem;
    }

    .broken-grid.reverse {
        flex-direction: row-reverse;
    }

    .broken-grid-image {
        width: 55%;
    }

    .broken-grid-content {
        width: 40%;
        padding: 0;
        background: transparent;
    }

    /* 重ね合わせなどの調整 */
    .overlap-content {
        margin-left: -10%;
        background: #fff;
        padding: 4rem;
        z-index: 10;
        box-shadow: 0 20px 40px rgba(0, 0, 0, 0.03);
    }

    .reverse .overlap-content {
        margin-left: 0;
        margin-right: -10%;
    }

    /* ABOUT Two Images Layout */
    .broken-grid-images {
        width: 55%;
        position: relative;
    }

    .about-img-01 {
        width: 100%; /* 横長の画像 (about_001.jpg) */
        position: relative;
        z-index: 1;
        overflow: hidden;
    }

    .about-img-02 {
        width: 45%; /* 縦長の画像 (about_002.jpg) */
        position: absolute;
        bottom: -15%;
        right: -10%;
        z-index: 2;
        border: none; /* 白い枠を削除 */
        box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
        overflow: hidden;
    }

    .about-img-01 img, .about-img-02 img {
        display: block;
        width: 100%;
        height: auto;
        transition: transform 1s ease;
    }

    .about-img-01:hover img, .about-img-02:hover img {
        transform: scale(1.05);
    }

    /* Paper/Noise Texture Overlay */
    .paper-texture {
        position: absolute;
        inset: 0;
        opacity: 0.05;
        pointer-events: none;
        z-index: 1;
        background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noiseFilter'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.65' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noiseFilter)'/%3E%3C/svg%3E");
    }
}

/* Service Section Editorial UI - Base Styles */
.service-arch-wrapper {
    width: 100%; /* Mobile default */
    margin-left: auto;
    margin-right: auto;
    border-radius: 1000px 1000px 0 0; /* アーチ型 */
    overflow: hidden;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.05);
    transition: all 0.6s cubic-bezier(0.165, 0.84, 0.44, 1);
    position: relative;
    z-index: 5;
}

@media (min-width: 768px) {
    .service-arch-wrapper {
        width: 85%;
    }
}

.service-arch-wrapper:hover {
    transform: translateY(-10px);
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.1);
}

.service-bg-text {
    position: absolute;
    font-family: var(--font-display);
    font-size: 8rem; /* Mobile size */
    color: rgba(0, 0, 0, 0.02);
    z-index: -1;
    pointer-events: none;
    line-height: 1;
    display: none; /* Hide on mobile */
}

@media (min-width: 768px) {
    .service-bg-text {
        font-size: 15rem;
        display: block; /* Show on PC */
    }
}

/* Shifted Border Style */
.service-offset-border {
    position: absolute;
    inset: 0;
    border: 1px solid rgba(0, 0, 0, 0.1);
    border-radius: 1000px 1000px 0 0;
    transform: translate(10px, 10px);
    z-index: -1;
    pointer-events: none;
}

@media (min-width: 768px) {
    .service-offset-border {
        transform: translate(15px, 15px);
    }
}

/* Rotating Text around Numbers - FIXED Centering */
.service-circular-text {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 100px; /* Mobile size */
    height: 100px;
    margin-top: -50px;
    margin-left: -50px;
    z-index: 10;
    animation: rotateText 25s linear infinite;
    opacity: 0.6;
    pointer-events: none;
}

@media (min-width: 768px) {
    .service-circular-text {
        width: 140px;
        height: 140px;
        margin-top: -70px;
        margin-left: -70px;
    }
}

/* Ensure number is centered for the circle */
.service-number-wrapper {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 80px; /* Mobile size */
    height: 80px;
    margin: 0 auto; /* Center on mobile */
}

@media (min-width: 768px) {
    .service-number-wrapper {
        width: 100px;
        height: 100px;
        margin: 0; /* Left align on PC */
    }
}

/* ABOUT section big typography visibility adjustment */
#about .big-typography {
    opacity: 1 !important; /* Fully opaque as requested */
    color: rgb(171 164 160 / 90%) !important; /* Lighter greige */
    mix-blend-mode: multiply;
}

/* CONCEPT Fixed Background */
.concept-parallax {
    position: relative;
    z-index: 1;
    overflow: hidden; /* 子要素の固定背景をこの範囲で切り取る */
    background: #f2eadb !important; /* フォールバックカラー */
}

/* Safari / iOS 全対応の固定背景デザイン */
.concept-parallax::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    /* 背景画像を疑似要素に持たせる */
    background-image: url('../img/concept_bg.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    /* 背景を固定 */
    background-attachment: fixed;
    z-index: -1;
}

/* 別のセクション(Recommended Menu周辺)も同様に固定が必要な場合 */
.style-gradient-bg {
    background: linear-gradient(120deg, #fcf9f2, #f5e6e8, #fdfaf5, #f2eadb, #fdfaf5);
    background-size: 350% 350%;
    animation: gradientShift 18s ease-in-out infinite;
    position: relative;
}

/* オーバーレイ（ベージュの重なり） */
.concept-parallax::after {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(242, 235, 222, 0.7);
    z-index: 0;
    pointer-events: none;
}

#concept .container {
    position: relative;
    z-index: 3; /* オーバーレイの上にテキストを配置 */
}

#concept .big-typography {
    z-index: 1; /* 背景画像とオーバーレイの間、もしくは一番下 */
}



/* Service Images - Organic Shapes (Blob) */
.style-gradient-bg .broken-grid-image {
    padding: 1rem;
    /* Add space for shadow */
}

.style-gradient-bg .broken-grid-image img {
    /* Base Organic Shape */
    border-radius: 40% 60% 70% 30% / 40% 50% 60% 50%;
    /* box-shadow: 15px 15px 40px rgba(0, 0, 0, 0.1); */
    transition: all 0.5s ease;
}

/* Vary the shapes */
.style-gradient-bg .broken-grid:nth-child(odd) .broken-grid-image img {
    border-radius: 63% 37% 30% 70% / 50% 45% 55% 50%;
}

.style-gradient-bg .broken-grid:nth-child(even) .broken-grid-image img {
    border-radius: 35% 65% 60% 40% / 55% 40% 60% 45%;
}

.style-gradient-bg .broken-grid-image:hover img {
    border-radius: 50%;
    /* Hover to perfect circle or another shape */
    transform: scale(1.02);
}

/* Modal */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.95);
    z-index: 2000;
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0;
    visibility: hidden;
    transition: all 0.4s ease;
}

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

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

/* Hamburger */
.hamburger-menu {
    position: fixed;
    inset: 0;
    background: var(--color-primary);
    z-index: 1000;
    transform: translateY(-100%);
    transition: transform 0.6s cubic-bezier(0.7, 0, 0.3, 1);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.hamburger-menu.active {
    transform: translateY(0);
}

/* Scroll Animation */
.fade-up {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 1s ease, transform 1s ease;
}

.fade-up.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Mobile CTA */
.mobile-cta {
    position: fixed;
    bottom: 0;
    width: 100%;
    z-index: 999;
    transform: translateY(100%);
    transition: transform 0.4s ease;
}

.mobile-cta.visible {
    transform: translateY(0);
}

/* Richer & Dynamic Background for Campaign & Service */
.style-gradient-bg {
    background: linear-gradient(120deg, #fcf9f2, #f5e6e8, #fdfaf5, #f2eadb, #fdfaf5); /* ベージュに少しのダスティーピンクとシャンパンをミックス */
    background-size: 350% 350%;
    animation: gradientShift 18s ease-in-out infinite;
    position: relative;
}

/* Blur edges for Gradient Background */
.style-gradient-bg::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 15rem;
    background: linear-gradient(to bottom, #fcf9f2, transparent);
    z-index: 5;
    pointer-events: none;
}

.style-gradient-bg-dark-end::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 15rem;
    background: linear-gradient(to top, #110d0a, transparent); /* 次のセクションが黒なら黒へ */
    z-index: 5;
    pointer-events: none;
}

.style-gradient-bg::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 15rem;
    background: linear-gradient(to top, #fcf9f2, transparent);
    z-index: 5;
    pointer-events: none;
}

/* Dark Theme specific for Recommended Menu */
.dark-luxury-theme {
    background: #110d0a; /* ほぼ黒に近い極濃のエスプレッソ */
    color: #fff;
}

.dark-luxury-theme h2 {
    color: #fff;
}

.dark-luxury-theme h3 {
    color: #fff;
}

.dark-luxury-theme .text-gray-600, 
.dark-luxury-theme .text-gray-500 {
    color: rgba(255, 255, 255, 0.6);
}

.dark-luxury-theme .marquee-container {
    background: #1a1512;
}

.dark-luxury-theme .marquee-content {
    color: #d4b08c; /* シャンパンゴールド */
}

@keyframes gradientShift {
    0% {
        background-position: 0% 50%;
    }

    50% {
        background-position: 100% 50%;
    }

    100% {
        background-position: 0% 50%;
    }
}

/* Sparkle Element */
.sparkle {
    position: absolute;
    width: 6px;
    height: 6px;
    background-color: white;
    border-radius: 50%;
    opacity: 0;
    pointer-events: none;
    box-shadow: 0 0 8px rgba(255, 255, 255, 0.8), 0 0 15px rgba(255, 255, 255, 0.4);
    animation: sparkleAnim linear forwards;
}

@keyframes sparkleAnim {
    0% {
        transform: scale(0);
        opacity: 0;
    }

    50% {
        transform: scale(1);
        opacity: 1;
    }

    100% {
        transform: scale(0);
        opacity: 0;
    }
}

/* Retro Pop Menu Background - Elevated for RIL SALON */
.retro-circle {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    opacity: 0.4;
    z-index: 0;
    /* mix-blend-mode: multiply; を削除して明るさを保つ */
}

.bg-luxury-text {
    position: absolute;
    font-family: var(--font-display);
    font-size: 12vw;
    color: rgba(255, 255, 255, 0.03); /* ダーク背景用に白っぽく */
    white-space: nowrap;
    z-index: 0;
    pointer-events: none;
    line-height: 1;
    user-select: none;
    text-align: center;
    width: 100%;
    left: 0;
}

.dark-luxury-theme .bg-luxury-text {
    color: rgba(212, 176, 140, 0.06); /* 濃い茶色の背景でゴールドっぽく浮き出る */
}

.luxury-line.dark-mode {
    background: rgba(212, 176, 140, 0.15); /* ダーク背景用のライン */
}

/* Luxury Light Shimmer Effect */
@keyframes shimmerMove {
    0% { transform: translateX(-100%) translateY(-100%) rotate(-45deg); }
    100% { transform: translateX(200%) translateY(200%) rotate(-45deg); }
}

.gold-shimmer {
    position: absolute;
    top: 0;
    left: 0;
    width: 200%;
    height: 200%;
    background: linear-gradient(
        45deg,
        transparent 0%,
        rgba(255, 255, 255, 0) 40%,
        rgba(212, 176, 140, 0.1) 50%,
        rgba(255, 255, 255, 0) 60%,
        transparent 100%
    );
    z-index: 1;
    pointer-events: none;
    animation: shimmerMove 15s infinite linear;
}

/* Elegant Decorative Lines */
.luxury-line {
    position: absolute;
    background: rgba(61, 43, 31, 0.1);
    z-index: 0;
    pointer-events: none;
}

.luxury-line.v { height: 100%; width: 1px; }
.luxury-line.h { width: 100%; height: 1px; }

@keyframes floatParticle {
    0%, 100% { transform: translate(0, 0); opacity: 0; }
    50% { transform: translate(20px, -30px); opacity: 0.6; }
}

.floating-particle {
    position: absolute;
    width: 4px;
    height: 4px;
    background: #d4b08c;
    border-radius: 50%;
    filter: blur(1px);
    z-index: 1;
    pointer-events: none;
    animation: floatParticle 10s ease-in-out infinite;
}

.bg-noise {
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noiseFilter'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.65' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noiseFilter)' opacity='1'/%3E%3C/svg%3E");
    background-repeat: repeat;
    background-size: 150px;
}

/* Voice Section Pattern */
/* Voice Section Pattern - Dark Luxury Espresso */
.voice-section-pattern {
    background-color: #3d2b1f; /* 深みのあるブラウン */
    background-image: repeating-linear-gradient(45deg,
            rgba(212, 176, 140, 0.05),
            rgba(212, 176, 140, 0.05) 1px,
            transparent 1px,
            transparent 10px);
    background-size: 20px 20px;
}

/* Menu Fade Gradients */
#menu {
    position: relative;
}

#menu::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 10rem;
    background: linear-gradient(to bottom, #f8f8f8, transparent);
    /* Matches Recommend BG */
    z-index: 20;
    pointer-events: none;
}

#menu::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 10rem;
    background: linear-gradient(to top, #fff, transparent);
    /* Matches next section BG */
    z-index: 20;
    pointer-events: none;
}

/* Photo Scatter Styles */
.photo-scatter-section {
    padding: 6rem 0;
    overflow: hidden;
    width: 100%;
    position: relative;
    z-index: 10;
}

.scatter-container {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.scatter-item {
    position: relative;
    width: 240px;
    /* Increased from 180px */
    height: 240px;
    /* Increased from 180px */
    background: #fff;
    padding: 0.5rem;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.08);
    /* Soft shadow */
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    cursor: pointer;
}

.scatter-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.scatter-item:hover {
    transform: scale(1.15) rotate(0deg) !important;
    z-index: 20;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

/* Variation 1: Zigzag & Rotate (Playful) */
.scatter-container.scatter-type-1 .scatter-item:nth-child(odd) {
    transform: rotate(-3deg) translateY(-20px);
}

.scatter-container.scatter-type-1 .scatter-item:nth-child(even) {
    transform: rotate(2deg) translateY(20px);
}

.scatter-container.scatter-type-1 .scatter-item:nth-child(3) {
    transform: rotate(4deg) translateY(-10px);
}

/* Variation 2: Organic Cluster (Centered focus) */
.scatter-container.scatter-type-2 .scatter-item {
    border-radius: 4px;
}

.scatter-container.scatter-type-2 .scatter-item:nth-child(1) {
    transform: rotate(-5deg) translate(10px, 10px);
}

.scatter-container.scatter-type-2 .scatter-item:nth-child(2) {
    transform: rotate(3deg) translate(-10px, -20px);
}

.scatter-container.scatter-type-2 .scatter-item:nth-child(3) {
    transform: scale(1.1);
    z-index: 5;
}

/* Center highlighted */
.scatter-container.scatter-type-2 .scatter-item:nth-child(4) {
    transform: rotate(-3deg) translate(10px, -20px);
}

.scatter-container.scatter-type-2 .scatter-item:nth-child(5) {
    transform: rotate(5deg) translate(-10px, 10px);
}

/* Variation 3: Clean Grid (Instagram style) */
.scatter-container.scatter-type-3 {
    gap: 1rem;
}

.scatter-container.scatter-type-3 .scatter-item {
    width: 200px;
    /* Increased from 160px */
    height: 200px;
    /* Increased from 160px */
    padding: 0;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
    transform: none !important;
    /* Reset transforms */
}

.scatter-container.scatter-type-3 .scatter-item img {
    border-radius: 12px;
    transition: transform 0.5s ease;
}

.scatter-container.scatter-type-3 .scatter-item:hover img {
    transform: scale(1.1);
}

/* Mobile Adjustments */
@media (max-width: 768px) {
    .scatter-item {
        width: 150px;
        /* Increased from 120px */
        height: 150px;
        /* Increased from 120px */
    }

    .scatter-container {
        gap: 1rem;
    }

    /* Tame the transforms on mobile for better layout */
    .scatter-container.scatter-type-1 .scatter-item:nth-child(odd),
    .scatter-container.scatter-type-1 .scatter-item:nth-child(even),
    .scatter-container.scatter-type-2 .scatter-item {
        transform: none;
        margin: 0;
    }

    /* Allow horizontal scroll for type 3 on mobile? Or wrap? Let's wrap 3 cols */
    .scatter-container.scatter-type-3 .scatter-item {
        width: 140px;
        /* Increased from 100px */
        height: 140px;
        /* Increased from 100px */
    }
}

/* Base Fade Up (Ensure it's available for new sections) */
.fade-up {
    opacity: 0;
    /* Default hidden for JS to animate */
    transform: translateY(40px);
    transition: opacity 1s ease, transform 1s ease;
}

.fade-up.visible {
    opacity: 1;
    transform: translateY(0);
}

/* =========================================
   Large Photo Designs (User Request)
   ========================================= */

/* Design A: Horizontal Large Scroll (Modern & Big) */
.large-scroll-section {
    padding: 4rem 0;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    /* Firefox */
    display: flex;
    gap: 2rem;
    padding-left: 5vw;
    /* Start with some offset */
    padding-right: 5vw;
}

.large-scroll-section::-webkit-scrollbar {
    display: none;
    /* Chrome/Safari */
}

.large-card {
    flex: 0 0 80vw;
    /* Mobile: Very large */
    height: 80vw;
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    scroll-snap-align: center;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

@media (min-width: 768px) {
    .large-card {
        flex: 0 0 400px;
        /* Desktop: Fixed large size */
        height: 400px;
    }

    .large-scroll-section {
        justify-content: center;
        /* Center on desktop if few items, or start if many */
        padding-left: 0;
        padding-right: 0;
    }
}

.large-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.7s ease;
}

.large-card:hover img {
    transform: scale(1.1);
}

/* Design B: Asymmetric Large Grid */
.asym-grid-section {
    padding: 6rem 0;
}

.asym-grid-container {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
    max-width: 1000px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

@media (min-width: 768px) {
    .asym-grid-container {
        grid-template-columns: repeat(2, 1fr);
        gap: 3rem;
    }

    /* Stagger effect */
    .asym-grid-item:nth-child(even) {
        margin-top: 4rem;
    }
}

.asym-grid-item {
    position: relative;
    border-radius: 4px;
    /* Sharper, more editorial */
    overflow: hidden;
    aspect-ratio: 1/1;
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.08);
}

.asym-grid-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.asym-grid-item:hover img {
    transform: scale(1.05);
}

/* Design C: Full Width Gallery Strip */
.full-width-gallery {
    display: flex;
    width: 100%;
    height: 40vh;
    /* Prominent height */
    overflow: hidden;
}

.fw-item {
    flex: 1;
    position: relative;
    border-right: 1px solid rgba(255, 255, 255, 0.2);
    min-width: 0;
    /* Flexbox fix */
    transition: flex 0.5s ease;
    cursor: pointer;
}

.fw-item:last-child {
    border-right: none;
}

.fw-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: opacity 0.3s ease;
}

/* Hover Effect: Expand */
.fw-item:hover {
    flex: 2;
    /* Expands width */
}

.fw-item:hover img {
    filter: brightness(1.1);
}

@media (max-width: 768px) {
    .full-width-gallery {
        flex-direction: column;
        height: auto;
    }

    .fw-item {
        height: 250px;
        width: 100%;
        border-right: none;
        border-bottom: 1px solid rgba(255, 255, 255, 0.2);
    }

    .fw-item:hover {
        flex: 1;
        /* Disable expand on mobile */
    }
}

/* =========================================
   Mixed Masonry Design (Sumu Hotel Style) - Grid Layout
   ========================================= */
.mixed-masonry-section {
    padding: 100px 0; /* Balanced padding as requested */
    background: #fff;
    width: 100%;
}

/* Default (Mobile): 3 columns */
.mixed-masonry-container {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0.5rem;
    width: 100%;
    margin: 0 auto;
    padding: 0;
}

/* Tablet/Desktop: 6 columns */
@media (min-width: 768px) {
    .mixed-masonry-container {
        grid-template-columns: repeat(6, 1fr);
        /* Override to 6 columns */
        gap: 1rem;
        padding: 0 1rem;
        max-width: 1600px;
        margin: 0 auto;
    }
}

.masonry-item {
    position: relative;
    overflow: hidden;
    background: #f4f4f4;
    width: 100%;
    aspect-ratio: 1 / 1;
    /* Default to square for regularity */
}

/* Span Classes */
.masonry-item.span-2 {
    grid-column: span 2 !important;
    aspect-ratio: 2 / 1 !important;
    /* Force wide rectangle */
}

.masonry-item.span-row-2 {
    grid-row: span 2;
    aspect-ratio: 1 / 2;
    /* Tall rectangle */
}

/* Mobile: Reset spans if needed, or keep them. 
   Span 2 on mobile means full width (1/1 ratio or 2/1). 
   Let's keep span-2 as full width on mobile. */

.masonry-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.7s ease;
    display: block;
}

.masonry-item:hover img {
    transform: scale(1.05);
}

/* Text Card Variations */
.masonry-text {
    padding: 2rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    text-align: left;
    height: 100%;
    background-color: #fafafa;
}

.masonry-text.primary-bg {
    background-color: var(--color-primary);
    color: #fff;
}

.masonry-text.primary-bg h4,
.masonry-text.primary-bg p {
    color: #fff;
}

.masonry-text h4 {
    font-family: var(--font-display-italic);
    font-size: 1.5rem;
    margin-bottom: 0.75rem;
    color: var(--color-text);
    line-height: 1.1;
}

.masonry-text p {
    font-size: 0.85rem;
    color: #666;
    line-height: 1.6;
    font-family: var(--font-sans);
}

.masonry-text .line {
    width: 30px;
    height: 1px;
    background-color: var(--color-primary);
    margin: 0 auto 1.5rem;
}

.masonry-text.primary-bg .line {
    background-color: #fff;
}

/* Mobile Adjustments for Text Cards */
@media (max-width: 767px) {
    .masonry-text {
        padding: 1.5rem;
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        text-align: center;
        height: 100%;
    }

    .masonry-text h4 {
        font-size: 1.25rem;
        margin-bottom: 0.5rem;
    }

    .masonry-text p {
        font-size: 0.8rem;
        line-height: 1.5;
    }
}

/* Alternative Background: Floating Orbs */
.orb {
    position: absolute;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(212, 176, 140, 0.4) 0%, rgba(212, 176, 140, 0) 70%);
    pointer-events: none;
    z-index: 0;
    filter: blur(20px);
    animation: floatingOrb ease-in-out infinite;
}

@keyframes floatingOrb {
    0%, 100% { transform: translateY(0) scale(1); opacity: 0.3; }
    50% { transform: translateY(-40px) scale(1.1); opacity: 0.6; }
}
    .masonry-text .line {
        margin-bottom: 0.5rem;
        width: 20px;
    }

    /* Image Alignment Override */
    .mobile-bottom-align {
        object-position: bottom !important;
    }

    /* Order Reversal for Original Section */
    .mobile-order-1 {
        order: 1;
    }

    .mobile-order-2 {
        order: 2;
    }

/* Language Switcher */
.lang-btn.active {
    background-color: var(--color-primary);
    color: #fff;
}

.lang-btn:not(.active):hover {
    background-color: rgba(0, 0, 0, 0.05);
}

.lang-btn-mobile.active {
    background-color: #fff;
    color: var(--color-primary);
}

.lang-btn-mobile:not(.active) {
    color: rgba(255, 255, 255, 0.6);
}

/* FV2 (Mode & Vertical Flow Style) */
.fv2-section {
    position: relative;
    width: 100%;
    background: #0f0f0f; /* モードな黒 */
    color: #fff;
    overflow: hidden;
}

.fv2-upper {
    padding-top: 15px;
    padding-bottom: 30px;
    background: #0f0f0f;
    position: relative;
    z-index: 60; /* Higher priority */
}

.fv2-wave-container {
    position: absolute;
    bottom: -160px; /* Top of waves starts at the bottom of upper section */
    left: 0;
    width: 100%;
    height: 160px;
    pointer-events: none;
    z-index: 100;
}

@media (max-width: 768px) {
    .fv2-wave-container {
        height: 90px;
        bottom: -90px;
    }
}

.waves {
    position: relative;
    width: 100%;
    height: 100%;
    transform: scaleY(-1); /* Flip vertically */
}

/* FV2 Background Circular Text Style */
.fv2-circular-bg {
    position: absolute;
    bottom: -44px;
    right: -450px; /* Keep 1/4 visible (out of 600px) regardless of screen width */
    width: 600px;
    height: 600px;
    z-index: 150; /* Top of waves and images */
    pointer-events: none;
    opacity: 0.3; /* Increased slightly for better mix-blend effect */
    color: #fff;
    mix-blend-mode: difference; /* "Invert" effect based on background */
    animation: rotateText 30s linear infinite;
}

@media (max-width: 1024px) {
    .fv2-circular-bg {
        width: 300px;
        height: 300px;
        bottom: -100px;
        right: -5%;
    }
}

@media (max-width: 768px) {
    .fv2-circular-bg {
        width: 250px;
        height: 250px;
        bottom: -125px;
        right: -10%;
        opacity: 0.25;
    }
}

/* Animation */
.parallax > use {
    animation: move-forever 25s cubic-bezier(.55,.5,.45,.5) infinite;
}
.parallax > use:nth-child(1) {
    animation-delay: -2s;
    animation-duration: 7s;
}
.parallax > use:nth-child(2) {
    animation-delay: -3s;
    animation-duration: 10s;
}
.parallax > use:nth-child(3) {
    animation-delay: -4s;
    animation-duration: 13s;
}
.parallax > use:nth-child(4) {
    animation-delay: -5s;
    animation-duration: 20s;
}

@keyframes move-forever {
    0% {
        transform: translate3d(-90px,0,0);
    }
    100% {
        transform: translate3d(85px,0,0);
    }
}

/* Responsive Typography for FV Copy */
@media (max-width: 767px) {
    #fv h1 {
        font-size: 3rem !important; /* Increased from 1.25rem to 3rem as requested */
        margin-bottom: 1.5rem;
        line-height: 1.1;
    }
    .fv-indent-text {
        margin-left: 0.5rem !important; /* Very tight indent on mobile */
    }
    .fv2-upper {
        padding-top: 40px;
        padding-bottom: 20px; 
    }
}
@media (min-width: 768px) and (max-width: 1279px) {
    #fv h1 {
        font-size: 3rem !important;
    }
}

/* Mobile adjustments */
@media (max-width: 768px) {
    header {
        position: sticky;
        top: 0;
    }
}

.fv2-lower {
    height: 75vh; /* Adjusted from 60vh to 75vh as requested */
    background: #151515;
    position: relative;
    z-index: 10;
    overflow: hidden;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 15px;
    padding: 0 15px;
}

@media (max-width: 768px) {
    .fv2-lower {
        grid-template-columns: repeat(2, 1fr); /* 2 columns for mobile */
        gap: 10px;
        padding: 0 10px;
        height: 60vh;
        height: 60dvh; /* Use Dynamic Viewport Height for mobile browser UI stability */
        min-height: 400px; /* Minimum safety height */
    }
}

.v-col {
    position: relative;
    height: 100%;
    overflow: hidden;
}

.v-track {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.v-track.up {
    animation: scrollUp 40s linear infinite;
}

.v-track.down {
    animation: scrollDown 45s linear infinite;
}

.v-track.up.slow {
    animation-duration: 55s;
}

@keyframes scrollUp {
    0% { transform: translateY(0); }
    100% { transform: translateY(-50%); }
}

@keyframes scrollDown {
    0% { transform: translateY(-50%); }
    100% { transform: translateY(0); }
}

.v-item {
    width: 100%;
    aspect-ratio: 3/4;
    overflow: hidden;
    border-radius: 4px; /* モードな少し鋭い角丸 */
}

.v-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: grayscale(20%) brightness(90%);
    transition: filter 0.5s ease;
}

.v-item:hover img {
    filter: grayscale(0%) brightness(100%);
}

.text-gold {
    color: #d4b08c; /* シャンパンゴールド/ベージュ系 */
}

.wave-animate {
    animation: waveAnimation 15s ease-in-out infinite alternate;
}

@keyframes waveAnimation {
    from { transform: scaleY(1); }
    to { transform: scaleY(1.2) translateY(-5px); }
}

/* Base style for elements */
/* No more language switching needed */
.t-en {
    display: none !important;
}

/* Sparkle Effect CSS */
.sparkle {
    position: absolute;
    background: #fff;
    border-radius: 50%;
    pointer-events: none;
    z-index: 1;
    box-shadow: 0 0 10px rgba(255, 255, 255, 0.8), 0 0 20px rgba(212, 176, 140, 0.4); /* Gold/White glow */
    filter: blur(0.5px);
    animation: sparkleAnim linear forwards;
}

@keyframes sparkleAnim {
    0% { transform: scale(0) rotate(0deg); opacity: 0; }
    20% { opacity: 1; }
    80% { opacity: 1; }
    100% { transform: scale(1.2) rotate(360deg); opacity: 0; }
}