@charset "UTF-8";

:root {
    --color-primary: #D6C5B3;
    --color-secondary: #F2E8E9;
    --color-accent: #C5A3A9;
    --color-dark: #4A3E3D;
    --color-light: #FFFFFF;
    --font-sans: 'Noto Sans JP', sans-serif;
    --font-serif: 'EB Garamond', 'Noto Serif JP', serif;
    --font-display: 'EB Garamond', serif;
    --font-title: 'EB Garamond', serif;
}

html {
    scroll-behavior: smooth;
    -webkit-text-size-adjust: 100%;
    width: 100%;
    max-width: 100%;
    overflow-x: hidden;
}

body {
    font-family: var(--font-serif);
    color: var(--color-dark);
    background-color: var(--color-light);
    line-height: 2.2;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
    width: 100%;
    max-width: 100%;
    position: relative;
}

main,
section {
    max-width: 100%;
    overflow-x: clip;
}

img,
svg,
iframe {
    max-width: 100%;
}

/* Typography & Section Titles */
.font-display {
    font-family: var(--font-display);
}

.section-title {
    background: linear-gradient(135deg, #C5A3A9 0%, #D6C5B3 50%, #B88E96 100%) !important;
    -webkit-background-clip: text !important;
    -webkit-text-fill-color: transparent !important;
    background-clip: text !important;
    color: transparent !important;
    display: inline-block !important;
    line-height: 1.35 !important;
    padding-bottom: 0.15em !important;
    overflow: visible !important;
}

/* RESERVATION見出しは文字白(グラデーションなし) */
.reservation-title,
.reservation-cta .section-title {
    background: none !important;
    -webkit-background-clip: unset !important;
    background-clip: unset !important;
    color: #FFFFFF !important;
    -webkit-text-fill-color: #FFFFFF !important;
}

/* Before & After Image Preview Modal */
.image-modal {
    position: fixed;
    inset: 0;
    z-index: 99999;
    background: rgba(20, 15, 16, 0.88);
    backdrop-filter: blur(8px);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
    padding: 1.5rem;
}

.image-modal.active {
    opacity: 1;
    pointer-events: auto;
}

.image-modal-content {
    position: relative;
    max-width: 92vw;
    max-height: 88vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.image-modal img {
    max-width: 100%;
    max-height: 82vh;
    object-fit: contain;
    border-radius: 8px;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.image-modal-close {
    position: absolute;
    top: -40px;
    right: 0;
    color: #ffffff;
    font-size: 2.5rem;
    font-weight: 300;
    cursor: pointer;
    line-height: 1;
    transition: transform 0.2s ease;
}

.image-modal-close:hover {
    transform: scale(1.15);
}

/* Quiet/Plain Surface Pattern Overrides */
body>.fixed.inset-0.pointer-events-none {
    background: #FFFFFF;
}

body>.fixed.inset-0.pointer-events-none>* {
    display: none;
}

.background-noise {
    background-image: url('data:image/svg+xml,%3Csvg viewBox=%220 0 200 200%22 xmlns=%22http://www.w3.org/2000/svg%22%3E%3Cfilter id=%22noiseFilter%22%3E%3CfeTurbulence type=%22fractalNoise%22 baseFrequency=%220.65%22 numOctaves=%223%22 stitchTiles=%22stitch%22/%3E%3C/filter%3E%3Crect width=%22100%25%22 height=%22100%25%22 filter=%22url(%23noiseFilter)%22/%3E%3C/svg%3E');
}

.access-map-frame {
    border: 0;
}

header {
    background: #000000 !important;
    backdrop-filter: none !important;
    border-color: transparent !important;
}

header a,
header span,
header button,
header .header-sitemap-link {
    color: #FFFFFF !important;
}

main {
    background: #FFFFFF !important;
}

#fv,
#menu {
    background: #FFFFFF;
}

#service {
    background: #F2E8E9;
}

.image-backed-section {
    background-image: none;
}

.bg-typography,
#service .absolute.right-4 {
    display: none;
}

/* Image Masking Shapes */
.arch-img {
    border-radius: 50vw 50vw 0 0;
    overflow: hidden;
}

#fv .arch-img.border {
    border: 0 !important;
    padding: 0 !important;
}

.arch-img-sm,
#service [class*="rounded-t-[15rem]"] {
    border-radius: 0;
}

.minimal-grid-img>div {
    padding: 0 !important;
    border-color: transparent !important;
}

/* Minimalist Marquee Animation */
.marquee-container {
    overflow: hidden;
    white-space: nowrap;
    position: relative;
    padding: 1.5rem 0;
    border-top: 1px solid rgba(197, 163, 169, 0.15);
    border-bottom: 1px solid rgba(197, 163, 169, 0.15);
    display: flex;
}

.marquee-content {
    display: inline-flex;
    align-items: center;
    animation: marquee 40s linear infinite;
    font-family: var(--font-display);
    font-size: 2rem;
    color: var(--color-dark);
    opacity: 0.4;
    text-transform: uppercase;
}

.marquee-content span {
    margin-right: 3rem;
}

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

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

/* Layout Utilities */
.minimal-grid {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    position: relative;
    margin-bottom: 6rem;
}

.minimal-grid-img {
    width: 100%;
    position: relative;
}

.minimal-grid-img img {
    width: 100%;
    height: auto;
    object-fit: cover;
}

.minimal-grid-text {
    width: 100%;
    padding: 3rem 1.5rem;
    background: var(--color-light);
}

@media (min-width: 768px) {
    .minimal-grid {
        justify-content: space-between;
        margin-bottom: 10rem;
    }

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

    .minimal-grid-img {
        width: 50%;
    }

    .minimal-grid-text {
        width: 45%;
        padding: 0;
        background: transparent;
    }

    .overlap-box {
        background: #FFFFFF;
        padding: 4rem;
        margin-left: -15%;
        margin-top: 5rem;
        z-index: 10;
        position: relative;
        border: 0;
        box-shadow: none;
    }

    .reverse .overlap-box {
        margin-left: 0;
        margin-right: -15%;
    }
}

/* Buttons & CTA */
.btn-outline,
.btn-filled,
header nav a[class*="rounded-full"] {
    border-radius: 0;
}

.btn-outline {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 1rem 3rem;
    border: 1px solid var(--color-dark);
    color: var(--color-dark);
    font-family: var(--font-display);
    text-transform: uppercase;
    transition: all 0.4s ease;
    background: transparent;
    font-size: 0.9rem;
}

.btn-outline:hover {
    background: var(--color-dark);
    color: var(--color-light);
}

.btn-filled {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 1rem 3rem;
    background: var(--color-dark);
    color: var(--color-light);
    font-family: var(--font-display);
    text-transform: uppercase;
    transition: all 0.4s ease;
    font-size: 0.9rem;
    border: 1px solid var(--color-dark);
}

.btn-filled:hover {
    background: transparent;
    color: var(--color-dark);
}

.reservation-cta {
    position: relative;
    overflow: hidden;
    padding: clamp(3rem, 7vw, 5.5rem) 1.5rem;
    background: var(--color-accent);
    border-color: transparent !important;
}

.reservation-title {
    font-family: var(--font-display);
    font-size: clamp(3.5rem, 12vw, 8rem);
    line-height: 0.9;
    color: var(--color-light);
}

/* Section Layout Adjustments */
section,
section [class*="border"],
footer [class*="border"],
.mobile-cta,
#back-to-top {
    border-color: transparent !important;
}

section .h-px,
section .w-px {
    display: none !important;
}

#menu .space-y-0.border-t {
    border-top: 1px solid rgba(74, 62, 61, 0.1) !important;
}

#menu .space-y-0>.border-b {
    border-bottom: 1px solid rgba(74, 62, 61, 0.1) !important;
}

/* Recommend (お悩み) 調整 */
#recommended .recommended-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1rem;
}

@media (min-width: 768px) {
    #recommended .recommended-grid {
        gap: 1.5rem;
    }
}

/* Cards and Elements Styling */
#service>.relative.z-20>div {
    background: #F2E8E9 !important;
    backdrop-filter: none !important;
    box-shadow: none !important;
    border-color: #F2E8E9 !important;
}

#service [class*="rounded-t-[25rem]"] {
    display: none;
}

#service [class*="shadow-xl"],
#menu [class*="shadow"],
#voice [class*="shadow"] {
    box-shadow: none !important;
}

#menu [class*="rounded-2xl"],
#menu [class*="rounded-xl"],
#voice [class*="rounded-xl"] {
    border-radius: 0 !important;
}

#recommended [class*="backdrop-blur"],
#menu [class*="backdrop-blur"],
#voice [class*="backdrop-blur"] {
    backdrop-filter: none !important;
}

#recommended .recommended-item {
    border-radius: 9999px !important;
    border-color: rgba(74, 62, 61, 0.15) !important;
    background: #FFFFFF !important;
}

#menu [class*="bg-white"],
#voice [class*="bg-white"] {
    background: #FFFFFF !important;
    border-color: #F2E8E9 !important;
}

#menu [class*="bg-light"] {
    background: #FFFFFF !important;
}

footer {
    background: #4A3E3D !important;
}

@media (max-width: 767px) {

    #recommended,
    #about,
    #menu,
    #voice,
    #message {
        padding-top: 5rem;
        padding-bottom: 5rem;
    }

    .minimal-grid-text {
        background: #FFFFFF;
        border: 0;
        margin-top: 1rem;
    }

    .bg-typography {
        max-width: 100vw;
        overflow: hidden;
    }

    .fv-section .container {
        padding-left: 1.25rem;
        padding-right: 1.25rem;
    }

    .fv-section h2 {
        overflow-wrap: anywhere;
    }

    .p-6 {
        padding: 1rem;
    }
}

/* Hamburger menu */
.hamburger-menu {
    position: fixed;
    inset: 0;
    background: var(--color-light);
    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);
}

.hamburger-menu a {
    color: var(--color-dark);
}

/* Animations */
.fade-up {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 1.2s ease, transform 1.2s ease;
}

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

/* FV Slide Fade */
.fv-fade-img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0;
    animation: fvFadeThree 15s infinite;
}

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

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

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

@keyframes fvFadeThree {
    0% {
        opacity: 0;
    }

    10% {
        opacity: 1;
    }

    33.33% {
        opacity: 1;
    }

    43.33% {
        opacity: 0;
    }

    100% {
        opacity: 0;
    }
}

/* Voice Text Toggle & Swiper UI */
.voice-body {
    position: relative;
    overflow: hidden;
    transition: max-height 0.5s ease;
}

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

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

.voice-read-more {
    display: inline-block;
    margin-top: 8px;
    font-size: 0.75rem;
    color: var(--color-accent);
    cursor: pointer;
    background: none;
    border: none;
    padding: 0;
}

.swiper-voice-container {
    position: relative;
    padding: 0 40px;
}

.swiper-button-next,
.swiper-button-prev {
    width: 40px !important;
    height: 40px !important;
    background-color: var(--color-light);
    border: 1px solid var(--color-dark);
    border-radius: 50%;
    color: var(--color-dark) !important;
    opacity: 0.8;
    transition: 0.3s;
}

.swiper-button-next:hover,
.swiper-button-prev:hover {
    opacity: 1;
    background-color: var(--color-dark);
    color: var(--color-light) !important;
}

.swiper-button-next:after,
.swiper-button-prev:after {
    font-size: 14px !important;
    font-weight: bold;
}

/* Swiper Arrows Responsive Positioning */
@media (max-width: 767px) {
    .swiper-voice-container {
        padding: 0;
    }

    .swiper-button-next,
    .swiper-button-prev {
        display: none !important;
    }
}

/* Mobile CTA fixed bottom */
.mobile-cta {
    position: fixed;
    bottom: 0;
    width: 100%;
    z-index: 999;
    transform: translateY(100%);
    transition: transform 0.4s ease;
    background: var(--color-light);
    border-top: 1px solid var(--color-secondary);
}

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

#fv .arch-img {
    border-radius: 50vw 50vw 0 0;
}

.font-display,
.marquee-content {
    font-weight: 400;
}

.section-title,
.reservation-title {
    font-family: var(--font-title);
    font-weight: 400;
}

@media (min-width: 768px) {
    .section-title {
        font-size: 4rem !important;
    }
}

/* Modified Background Images for Preview Environment */
#fv {
    position: relative;
    isolation: isolate;
    background: url('../img/fvbg.png') no-repeat center/cover !important;
    min-height: 80vh;
    margin-top: 84px;
}

@media (min-width: 768px) {
    #fv {
        margin-top: 92px;
    }
}

#fv::before {
    content: '';
    position: absolute;
    inset: 0;
    z-index: -1;
    background: url('../img/fvbg.png') no-repeat center/cover !important;
}

/* FV Left Image Full Height & Gradient Mask Connection */
.fv-img-container {
    position: relative;
    width: 100%;
    height: 55vh;
}

@media (min-width: 768px) {
    .fv-img-container {
        position: absolute;
        top: 0;
        bottom: 0;
        left: 0;
        width: 52%;
        height: 100%;
        z-index: 1;
    }
}

.fv-img-wrapper {
    width: 100%;
    height: 100%;
    -webkit-mask-image: linear-gradient(to right, rgba(0, 0, 0, 1) 0%, rgba(0, 0, 0, 1) 60%, rgba(0, 0, 0, 0) 100%);
    mask-image: linear-gradient(to right, rgba(0, 0, 0, 1) 0%, rgba(0, 0, 0, 1) 60%, rgba(0, 0, 0, 0) 100%);
}

@media (max-width: 767px) {
    .fv-img-wrapper {
        -webkit-mask-image: linear-gradient(to bottom, rgba(0, 0, 0, 1) 0%, rgba(0, 0, 0, 1) 70%, rgba(0, 0, 0, 0) 100%);
        mask-image: linear-gradient(to bottom, rgba(0, 0, 0, 1) 0%, rgba(0, 0, 0, 1) 70%, rgba(0, 0, 0, 0) 100%);
    }
}

#service {
    position: relative;
    border-top: 0 !important;
    background: linear-gradient(135deg, #FFFFFF 0%, #F2E8E9 100%) !important;
}

#service::after {
    display: none;
}

#service>.relative.z-20>div {
    background: transparent !important;
    backdrop-filter: none !important;
}

#voice {
    background: linear-gradient(rgba(255, 255, 255, 0.85), rgba(255, 255, 255, 0.85)), url('../img/voicebg.jpg') no-repeat center/cover !important;
}

#message {
    background: linear-gradient(rgba(255, 255, 255, 0.85), rgba(255, 255, 255, 0.85)), url('../img/message.jpeg') no-repeat calc(50% - 150px) center/cover !important;
}

#about {
    padding-bottom: 0 !important;
    background: linear-gradient(rgba(255, 255, 255, 0.8), rgba(255, 255, 255, 0.8)), url('../img/aboutbg.jpg') no-repeat center/cover fixed !important;
}

#menu {
    background: linear-gradient(rgba(255, 255, 255, 0.85), rgba(255, 255, 255, 0.85)), url('../img/aboutbg.jpg') no-repeat center/cover fixed !important;
}

/* お悩みセクション背景設定 */
#recommended {
    position: relative;
    isolation: isolate;
    background: transparent !important;
    overflow: hidden;
}

#recommended::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -2;
    background-image: url('../img/nayamibg.jpeg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    filter: blur(4px);
    transform: scale(1.05);
    /* ぼかしによる周囲の白いモヤを隠す */
}

#recommended::after {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -1;
    background-color: rgba(255, 255, 255, 0.75);
    /* 白いオーバーレイ */
}

.reservation-cta p,
.reservation-cta .reservation-title {
    color: #FFFFFF !important;
}

.header-cta {
    background: #000000 !important;
    color: #FFFFFF !important;
    border-color: rgba(255, 255, 255, 0.65) !important;
}

.header-cta:hover {
    background: #FFFFFF !important;
    color: #2C2623 !important;
}

.header-sitemap-link {
    font-size: 16px !important;
}

.fv-shop-name {
    display: block;
    font-size: clamp(5rem, 13vw, 10rem);
    line-height: 0.78;
    white-space: nowrap;
}

.fv-business-type {
    display: block;
    margin-top: 1.25rem;
    font-size: clamp(1.35rem, 3vw, 2.5rem);
    line-height: 1;
}

.access-cta {
    width: 100%;
    min-height: 3.5rem;
    background: #FFFFFF !important;
    color: #4A3E3D !important;
    border-color: #FFFFFF !important;
}

.access-cta:hover {
    background: #FFFFFF !important;
    color: #4A3E3D !important;
    opacity: 0.82;
}

.mobile-menu-actions {
    width: min(82vw, 22rem);
}

.mobile-menu-action {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    min-height: 3.25rem;
    background: var(--color-accent);
    color: var(--color-light) !important;
    font-family: var(--font-sans);
    font-size: 0.75rem;
    font-style: normal;
}

@media (max-width: 767px) {
    .section-title {
        font-size: 45px !important;
    }

    .fv-shop-name {
        font-size: clamp(4rem, 24vw, 6rem);
    }

    .before-after-grid {
        grid-template-columns: 1fr;
    }
}

#about .about-main-image {
    width: 100%;
    aspect-ratio: 3 / 4;
    object-fit: cover;
}

.before-after {
    padding: 1rem 0 5rem;
}

.before-after-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: clamp(1rem, 3vw, 2rem);
}

.before-after-grid figure {
    overflow: hidden;
    background: #FFFFFF;
    border-radius: 12px;
    box-shadow: 0 4px 18px rgba(0, 0, 0, 0.06);
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.before-after-grid img {
    display: block;
    width: 100%;
    height: auto;
    object-fit: contain !important;
}

/* SP Background Fixed Support */
@media (max-width: 767px),
(max-width: 1024px) and (hover: none) and (pointer: coarse) {

    #fv,
    #service,
    #about,
    #menu,
    #voice,
    #message {
        position: relative !important;
        background: none !important;
        isolation: isolate;
        -webkit-clip-path: inset(0);
        clip-path: inset(0);
    }

    #fv::before,
    #service::before,
    #about::before,
    #menu::before,
    #voice::before,
    #message::before {
        content: '';
        position: fixed !important;
        inset: 0;
        width: 100%;
        height: 100vh;
        height: 100dvh;
        z-index: 0 !important;
        pointer-events: none;
    }

    #fv::before {
        background: url('../img/fvbg.png') no-repeat center/cover !important;
    }

    #service::before {
        background: linear-gradient(135deg, #FFFFFF 0%, #F2E8E9 100%) !important;
    }

    #about::before {
        background: linear-gradient(rgba(255, 255, 255, 0.8), rgba(255, 255, 255, 0.8)), url('../img/aboutbg.jpg') no-repeat center/cover !important;
    }

    #menu::before {
        background: linear-gradient(rgba(255, 255, 255, 0.85), rgba(255, 255, 255, 0.85)), url('../img/aboutbg.jpg') no-repeat center/cover !important;
    }

    #voice::before {
        background: linear-gradient(rgba(255, 255, 255, 0.85), rgba(255, 255, 255, 0.85)), url('../img/voicebg.jpg') no-repeat center/cover !important;
    }

    #message::before {
        background: linear-gradient(rgba(255, 255, 255, 0.85), rgba(255, 255, 255, 0.85)), url('../img/message.jpeg') no-repeat calc(50% - 200px) center/cover !important;
    }

    #fv>*,
    #service>*,
    #about>*,
    #menu>*,
    #voice>*,
    #message>* {
        position: relative;
        z-index: 1;
    }
}

/* About Continuous Marquee (完全無制限・絶対に止まらない連続スライダー) */
.swiper-about {
    width: 100%;
    padding: 2rem 0;
    overflow: hidden;
    user-select: none;
}

.swiper-about .swiper-wrapper {
    display: flex !important;
    flex-wrap: nowrap !important;
    align-items: center !important;
    gap: 40px !important;
    width: max-content !important;
    animation: aboutContinuousMarquee 40s linear infinite !important;
    will-change: transform;
}

.swiper-about .swiper-slide {
    flex-shrink: 0 !important;
    width: auto !important;
    margin: 0 !important;
}

@keyframes aboutContinuousMarquee {
    0% {
        transform: translate3d(0, 0, 0);
    }

    100% {
        transform: translate3d(-33.333333%, 0, 0);
    }
}

.about-slide-frame {
    transition: transform 0.4s ease;
}

.about-slide-frame:hover {
    transform: scale(1.03);
}

/* 白飛びを防ぎ可読性を高めたローズピンク動的グラデーション（ふわふわバストを叶える） */
.pink-white-shine-text {
    background: linear-gradient(
        90deg,
        #B84D63 0%,
        #D97086 25%,
        #F0B6C2 50%,
        #D97086 75%,
        #B84D63 100%
    ) !important;
    background-size: 200% auto !important;
    color: transparent !important;
    -webkit-background-clip: text !important;
    background-clip: text !important;
    animation: textHueGradShift 2.2s linear infinite !important;
    display: inline-block;
    font-weight: 400 !important;
    filter: drop-shadow(0 1px 2px rgba(135, 45, 65, 0.35));
}

@keyframes textHueGradShift {
    0% {
        background-position: 0% center;
        filter: hue-rotate(0deg);
    }
    50% {
        background-position: 100% center;
        filter: hue-rotate(-20deg);
    }
    100% {
        background-position: 200% center;
        filter: hue-rotate(0deg);
    }
}

/* FV Glossy Circle Badges (1remサイズアップ・ハッキリ見えるデザイン) */
.badge-circle {
    width: 5.5rem !important;
    height: 5.5rem !important;
    margin: 0 auto;
    border-radius: 50%;
    background: linear-gradient(135deg, #FFFFFF 0%, #FFF4F6 40%, #F5DCDD 75%, #D4B2B7 100%) !important;
    box-shadow: 0 6px 18px rgba(184, 142, 150, 0.45), inset 0 2px 5px rgba(255, 255, 255, 1), inset 0 -2px 5px rgba(184, 142, 150, 0.35) !important;
    border: none !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    text-align: center !important;
    position: relative !important;
    overflow: hidden !important;
    transition: none !important;
    transform: none !important;
    flex-shrink: 0;
}

.badge-circle:hover {
    transform: none !important;
    box-shadow: 0 6px 18px rgba(184, 142, 150, 0.45), inset 0 2px 5px rgba(255, 255, 255, 1), inset 0 -2px 5px rgba(184, 142, 150, 0.35) !important;
}

/* 光沢ハイライト層 */
.badge-circle::after {
    content: '';
    position: absolute;
    top: -40%;
    left: -40%;
    width: 180%;
    height: 180%;
    background: linear-gradient(
        135deg,
        rgba(255, 255, 255, 0.85) 0%,
        rgba(255, 255, 255, 0.4) 30%,
        rgba(255, 255, 255, 0) 55%
    );
    pointer-events: none;
    border-radius: 50%;
}

.badge-circle-text {
    font-family: var(--font-serif);
    font-size: 0.82rem;
    font-weight: 700;
    color: #332625 !important;
    line-height: 1.25;
    text-align: center !important;
    width: 100%;
    padding: 0 0.1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    letter-spacing: 0.02em;
}

@media (min-width: 640px) {
    .badge-circle {
        width: 6.8rem !important;
        height: 6.8rem !important;
    }
    .badge-circle-text {
        font-size: 0.95rem;
    }
}

@media (min-width: 1024px) {
    .badge-circle {
        width: 7.8rem !important;
        height: 7.8rem !important;
    }
    .badge-circle-text {
        font-size: 1.05rem;
    }
}

/* FV Sparkles Overlay (画面の下から上へと上昇する光のアニメーション) */
.fv-sparkles-container {
    position: absolute;
    inset: 0;
    pointer-events: none;
    z-index: 1 !important;
    mix-blend-mode: screen;
    overflow: hidden;
}

.sparkle-ball {
    position: absolute;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(255, 255, 255, 1) 0%, rgba(255, 225, 235, 0.9) 35%, rgba(220, 165, 178, 0.6) 65%, rgba(255, 255, 255, 0) 85%);
    filter: blur(5px);
    will-change: transform, opacity;
    animation: sparkleFloatUp 7s ease-in-out infinite;
}

/* 10個の丸い光の球：下から上へと昇る配置・スピード設定 */
.sparkle-ball-1  { width: 140px; height: 140px; left: 8%;  animation-duration: 6.5s; animation-delay: 0s; }
.sparkle-ball-2  { width: 200px; height: 200px; left: 60%; animation-duration: 8.5s; animation-delay: -2s; }
.sparkle-ball-3  { width: 110px; height: 110px; left: 18%; animation-duration: 5.8s; animation-delay: -1s; }
.sparkle-ball-4  { width: 180px; height: 180px; left: 78%; animation-duration: 7.8s; animation-delay: -3.5s; }
.sparkle-ball-5  { width: 130px; height: 130px; left: 68%; animation-duration: 6.8s; animation-delay: -1.5s; }
.sparkle-ball-6  { width: 220px; height: 220px; left: 28%; animation-duration: 9.5s; animation-delay: -4s; }
.sparkle-ball-7  { width: 95px;  height: 95px;  left: 45%; animation-duration: 5.2s; animation-delay: -2.5s; }
.sparkle-ball-8  { width: 150px; height: 150px; left: 2%;  animation-duration: 8.0s; animation-delay: -3s; }
.sparkle-ball-9  { width: 120px; height: 120px; left: 38%; animation-duration: 6.2s; animation-delay: -4.5s; }
.sparkle-ball-10 { width: 170px; height: 170px; left: 85%; animation-duration: 9.0s; animation-delay: -5s; }

/* 画面下（105vh）から出現し画面上（-15vh）へゆらゆらと上昇するアニメーション */
@keyframes sparkleFloatUp {
    0% {
        transform: translate3d(0, 105vh, 0) scale(0.6);
        opacity: 0;
    }
    15% {
        opacity: 0.9;
    }
    50% {
        transform: translate3d(30px, 50vh, 0) scale(1.25);
        opacity: 1;
    }
    85% {
        opacity: 0.85;
    }
    100% {
        transform: translate3d(-20px, -15vh, 0) scale(0.7);
        opacity: 0;
    }
}

/* SP（スマホ）表示時：FV全コンテンツ（画像＋文章＋バッジ）がスクロールなしで1画面に収まる最適化 */
@media (max-width: 767px) {
    .fv-img-container {
        height: 27vh !important;
        max-height: 220px !important;
        min-height: 160px !important;
        width: 100% !important;
    }
    .badge-circle {
        width: 4.6rem !important;
        height: 4.6rem !important;
    }
    .badge-circle-text {
        font-size: 0.72rem !important;
    }
}