@charset "UTF-8";

/* Google Fonts Import */
@import url('https://fonts.googleapis.com/css2?family=Fredoka:wght@300..700&family=Kosugi+Maru&family=Noto+Sans+JP:wght@300;400;500&display=swap');

/* Base Styles */
:root {
    --color-primary: #FFE47C;
    /* Main */
    --color-secondary: #A8DEB5;
    /* Decoration */
    --color-accent: #76C1E2;
    /* Accent */
    --color-text: #1a1a1a;
    --color-bg-sub: #FDFCF6;
    /* Sub */
    --font-sans: 'Noto Sans JP', sans-serif;
    --font-serif: 'Kosugi Maru', sans-serif;
    --font-display: 'Fredoka', sans-serif;
}

html {
    scroll-behavior: smooth;
    -webkit-text-size-adjust: 100%;
}

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;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
}

/* English Font to Fredoka */
body[data-lang="en"],
.t-en {
    font-family: var(--font-display) !important;
}



/* 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: 'Comfortaa', sans-serif;
    font-size: clamp(4rem, 15vw, 12rem);
    line-height: 1;
    opacity: 0.05;
    position: absolute;
    z-index: -1;
    white-space: nowrap;
    pointer-events: none;
    font-style: italic;
    font-weight: 300;
    /* 細くする */
}


/* 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 - Seamless Infinite Loop */
.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);
    display: flex;
}

.marquee-content {
    display: inline-block;
    animation: marquee 30s linear infinite;
    font-family: var(--font-display);
    font-size: 3rem;
    font-style: italic;
    color: #e0e0e0;
}

/* Image Marquee - Seamless Loop */
.marquee-img-track {
    display: flex;
    align-items: center;
    flex-shrink: 0;
    animation: marqueeSeamless 30s linear infinite;
}

.marquee-img {
    height: 70px;
    width: auto;
    display: inline-block;
    flex-shrink: 0;
    margin: 0 12px;
    vertical-align: middle;
    object-fit: contain;
}

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

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

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

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

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



/* 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%;
    }
}

/* Service section border highlight */
#service .overlap-content {
    border: 5px solid #FFE47C;
    border-radius: 1rem;
}

/* Service content title color */
#service .broken-grid-content h3 {
    color: #76C1E2 !important;
}

/* Global rounded corners for white boxes */
.broken-grid-content.overlap-content {
    border-radius: 1rem;
}

/* Menu List enhanced readability */
.menu-list-box {
    position: relative;
    overflow: hidden;
}

.menu-price-tag {
    display: inline-block;
    background: linear-gradient(135deg, #FFE47C, #A8DEB5);
    color: #1a1a1a;
    font-weight: bold;
    padding: 0.25rem 1rem;
    border-radius: 9999px;
    font-size: 0.8rem;
    letter-spacing: 0.05em;
    margin-bottom: 0.5rem;
}



/* 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);
}

/* Gradient Background Animation */
.style-gradient-bg {
    background: linear-gradient(120deg, #FFE47C, #76C1E2, #FFFFFF, #FDFCF6);
    background-size: 300% 300%;
    animation: gradientShift 15s ease infinite;
    position: relative;
    /* Ensure positioning context */
}

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

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

@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 */
.retro-circle {
    position: absolute;
    border-radius: 50%;
    filter: blur(60px);
    opacity: 0.6;
    z-index: 0;
    mix-blend-mode: multiply;
}

.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 */
/* More Mature Voice Pattern (Diagonal Lines) */
.voice-section-pattern {
    background: linear-gradient(to bottom, #FFE47C, #FFFFFF);
}

/* Customer Voice Title White */
#voice h2 {
    color: #fff;
}

/* Customer Voice Read More */
.voice-body {
    position: relative;
    overflow: hidden;
    transition: max-height 0.5s ease;
}

.voice-body.collapsed {
    max-height: 120px;
}

.voice-body.collapsed::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 50px;
    background: linear-gradient(to bottom, transparent, #fff);
    pointer-events: none;
}

.voice-read-more {
    display: inline-block;
    margin-top: 8px;
    font-size: 0.75rem;
    color: #FE9EC7;
    cursor: pointer;
    font-weight: bold;
    text-decoration: underline;
    background: none;
    border: none;
    padding: 0;
    font-family: var(--font-sans);
    letter-spacing: 0.05em;
}

/* 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;
}



/* 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);
}



/* =========================================
   Mixed Masonry Design (Sumu Hotel Style) - Grid Layout
   ========================================= */
.mixed-masonry-section {
    padding: 0;
    padding-bottom: 4rem;
    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: 40px;
    height: 1px;
    background-color: var(--color-primary);
    margin-bottom: 1rem;
}

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

/* Mobile Adjustments for Text Cards */
@media (max-width: 767px) {
    .masonry-text {
        padding: 0.5rem 0.2rem;
        /* Reduced padding as requested */
        padding-left: 0.5rem;
    }

    .masonry-text h4 {
        font-size: 1rem;
        /* Smaller heading */
        margin-bottom: 0.25rem;
    }

    .masonry-text p {
        font-size: 0.75rem;
        /* Approx 12px */
        line-height: 1.4;
    }

    .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);
}

/* Base style for translatable elements */
/* We control visibility by the data-lang attribute on the body or html tag */
body[data-lang="en"] .t-jp {
    display: none;
}

body[data-lang="jp"] .t-en {
    display: none;
}

/* Floating & Spinning Animation for Service Decorations */
.animate-float-spin-slow {
    animation: floatSpinSlow 20s ease-in-out infinite;
}
.animate-float-spin-reverse {
    animation: floatSpinReverse 25s ease-in-out infinite;
}

@keyframes floatSpinSlow {
    0% {
        transform: translateY(0) rotate(0deg);
    }
    50% {
        transform: translateY(-15px) rotate(180deg);
    }
    100% {
        transform: translateY(0) rotate(360deg);
    }
}

@keyframes floatSpinReverse {
    0% {
        transform: translateY(0) rotate(0deg);
    }
    50% {
        transform: translateY(15px) rotate(-180deg);
    }
    100% {
        transform: translateY(0) rotate(-360deg);
    }
}

/* FV Right Side 3-Image Fade Animation */
.fv-fade-img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0;
    animation: fvFadeThree 12s infinite;
}

.fv-fade-img:nth-child(1) {
    animation-delay: 0s;
}

.fv-fade-img:nth-child(2) {
    animation-delay: 4s;
}

.fv-fade-img:nth-child(3) {
    animation-delay: 8s;
}

@keyframes fvFadeThree {
    0% {
        opacity: 0;
    }
    8.33% {
        opacity: 1;
    }
    33.33% {
        opacity: 1;
    }
    41.66% {
        opacity: 0;
    }
    100% {
        opacity: 0;
    }
}