/* =========================================
   Reset & Base Styles
   ========================================= */
:root {
    --color-bg: #F7F5F0;
    /* Greige */
    --color-text: #333333;
    /* Dark Gray */
    --color-accent: #E67E22;
    /* Orange */
    --color-white: #FFFFFF;
    --color-gold: #C5A059;
    /* For Premium accents */

    --font-serif: 'Zen Old Mincho', serif;
    --font-sans: 'Noto Sans JP', sans-serif;
    --font-hand: 'Dancing Script', cursive;
    --font-hand-jp: 'Yomogi', var(--font-serif);
    --font-display: 'Cormorant Garamond', 'Didot', 'Bodoni MT', serif;

    --easing: cubic-bezier(0.25, 0.1, 0.25, 1);
}

*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    background-color: var(--color-bg);
    color: var(--color-text);
    font-family: var(--font-sans);
    line-height: 1.8;
    letter-spacing: 0.05em;
    -webkit-font-smoothing: antialiased;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

a {
    text-decoration: none;
    color: inherit;
    transition: opacity 0.3s;
}

a:hover {
    opacity: 0.7;
}

/* =========================================
   Common Utilities
   ========================================= */
.container {
    width: 90%;
    max-width: 1000px;
    /* Not too wide for luxury feel */
    margin: 0 auto;
}

.section-padding {
    padding: 100px 0;
}

.bg-beig {
    background-color: #F0EFE9;
    /* Slightly darker greige for separation */
}

/* Typography */
.section-title {
    font-family: var(--font-serif);
    font-size: 2.5rem;
    text-align: center;
    margin-bottom: 0.75rem;
    font-weight: 500;
    /* Refined weight for luxury feel */
    line-height: 1.3;
}

.section-title .en {
    display: block;
    font-family: var(--font-hand);
    font-size: 1.5rem;
    color: var(--color-gold);
    font-weight: 400;
    margin-top: 5px;
}

.section-subtitle {
    text-align: center;
    font-size: 0.9rem;
    color: #666;
    margin-bottom: 3rem;
    font-family: var(--font-sans);
}

.section-title--left {
    text-align: left;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 1rem 3rem;
    border-radius: 50px;
    font-weight: 600;
    /* Slightly reduced for elegance */
    text-align: center;
    cursor: pointer;
    transition: all 0.3s var(--easing);
    box-shadow: 0 10px 40px rgba(190, 160, 120, 0.2);
}

.btn--primary {
    background-color: var(--color-accent);
    color: var(--color-white);
}

.btn--primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 30px rgba(230, 126, 34, 0.3);
}

.plan-card--recommended .btn--primary {
    animation: pulse 2s infinite;
}

.btn--full {
    width: 100%;
}

/* =========================================
   Header / First View
   ========================================= */
.fv {
    position: relative;
    min-height: 100dvh;
    /* Mobile browser friendly */
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    padding-top: 80px;
    /* Space for top content if needed */
}

.fv__bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
}

.fv__bg-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: 60% center;
    transform: scale(1.02);
    filter: saturate(1.05) contrast(1.02);
}

.fv__overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    /* Darker overlay for text readability */
    background:
        linear-gradient(90deg, rgba(247, 245, 240, 0.96) 0%, rgba(247, 245, 240, 0.8) 40%, rgba(247, 245, 240, 0.15) 100%),
        linear-gradient(180deg, rgba(247, 245, 240, 0.05) 0%, rgba(247, 245, 240, 0.35) 65%, rgba(247, 245, 240, 0.85) 100%);
}

.fv__container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
    position: relative;
    z-index: 1;
}

.fv__content-box {
    flex: 1;
    max-width: 550px;
    text-align: left;
}

.fv__tag {
    display: inline-block;
    background-color: var(--color-text);
    color: var(--color-white);
    padding: 5px 15px;
    border-radius: 4px;
    font-size: 0.9rem;
    margin-bottom: 20px;
    letter-spacing: 0.1em;
}

.fv__copy {
    font-family: var(--font-sans);
    /* Switch to Sans for functional clarity as requested */
    font-size: 2.8rem;
    font-weight: 700;
    line-height: 1.4;
    margin-bottom: 1.5rem;
    color: var(--color-text);
}

.fv__copy .text-accent {
    color: var(--color-accent);
    background: linear-gradient(transparent 70%, rgba(230, 126, 34, 0.2) 70%);
    /* Marker style */
}

.fv__copy-emphasis {
    display: inline-block;
    margin: 0.35em 0;
    padding: 0.05em 0;
}

.fv__sub {
    font-size: 1.1rem;
    color: #555;
    margin-bottom: 2.5rem;
    line-height: 1.8;
}

.fv__btn {
    font-size: 1.2rem;
    padding: 1.2rem 4rem;
    display: inline-flex;
    align-items: center;
    background-color: #06C755;
    /* LINE Green */
    box-shadow: 0 10px 20px rgba(6, 199, 85, 0.3);
}

.fv__btn:hover {
    background-color: #05b34d;
    box-shadow: 0 15px 25px rgba(6, 199, 85, 0.4);
}

/* FV Visual (Image-based Mockup) */
.fv__visual {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
    perspective: 1000px;
}

.phone-mockup-img-container {
    position: relative;
    width: 380px;
    max-width: 100%;
    aspect-ratio: 1696 / 2528;
    height: auto;
    z-index: 10;
    /* Drop shadow is in SVG now */
}

.phone-frame-img {
    position: relative;
    width: 100%;
    height: auto;
    z-index: 20;
    pointer-events: none;
    object-fit: contain;
    display: block;
}

.phone-screen-content {
    position: absolute;
    /* Aligned to SVG mask/inner area: roughly 22px margin on 320px width -> ~6.8% */
    top: 22px;
    left: 22px;
    width: 276px;
    height: 596px;
    background-color: #7294C2;
    /* LINE BG Color */
    border-radius: 35px;
    /* Match inner radius */
    overflow: hidden;
    z-index: 15;
    display: flex;
    flex-direction: column;
}

.phone-power {
    position: absolute;
    top: 100px;
    right: -10px;
    width: 4px;
    height: 50px;
    background: #C0C0C0;
    border-radius: 2px;
}

.phone-volume {
    position: absolute;
    top: 100px;
    left: -10px;
    width: 4px;
    height: 80px;
    background: #C0C0C0;
    border-radius: 2px;
}


.phone-screen {
    position: absolute;
    top: 15px;
    left: 15px;
    right: 15px;
    bottom: 15px;
    background-color: #7294c2;
    border-radius: 35px;
    overflow: hidden;
    /* Ensure screen is visible but behind the inner lip of the frame if possible,
       but here the frame is transparent in the middle.
       Actually, if frame is z-index 20, screen should be lower?
       No, the frame image usually has the bezel.
       Let's put screen at z-index 10 and frame at 20.
       Wait, if frame has a transparent middle, screen at 10 shows through.
       If frame has opaque middle, screen is hidden.
       Assumed frame is transparent middle. */
    z-index: 10;
}

.phone-frame-img[src$="LINETalk01.png"] + .phone-screen {
    display: none;
}

.phone-screen-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.chat-header {
    height: 100px;
    /* Taller header to account for notch */
    background: rgba(245, 245, 245, 0.9);
    backdrop-filter: blur(10px);
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    padding: 0 20px 15px;
    font-weight: 600;
    font-size: 1.1rem;
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
    padding-top: 40px;
}

.chat-back,
.chat-menu {
    font-size: 1.5rem;
    color: #333;
    width: 30px;
    cursor: pointer;
}

.chat-body {
    flex: 1;
    padding: 20px;
    display: flex;
    flex-direction: column;
    gap: 15px;
    overflow: hidden;
}

.chat-msg {
    display: flex;
    align-items: flex-end;
    max-width: 80%;
}

.chat-msg--left {
    align-self: flex-start;
}

.chat-msg--right {
    align-self: flex-end;
    justify-content: flex-end;
}

.chat-bubble {
    background: #FFF;
    padding: 10px 15px;
    border-radius: 20px;
    border-top-left-radius: 5px;
    font-size: 0.9rem;
    position: relative;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
}

.chat-msg--right .chat-bubble {
    background: #8DE055;
    /* LINE Message Green */
    border-radius: 20px;
    border-top-right-radius: 5px;
}

.chat-stamp {
    width: 120px;
    height: auto;
    border-radius: 10px;
    /* Slight radius for images */
}

.chat-stamp--photo {
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.chat-icon {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    overflow: hidden;
    margin-right: 10px;
    border: 2px solid #FFF;
    display: inline-block;
    flex-shrink: 0;
}

.chat-msg--left .chat-icon {
    margin-right: 10px;
}

.chat-msg--left {
    align-items: flex-end;
    /* Align bottom */
}

.pc-only {
    display: block;
}

@media (max-width: 768px) {
    .fv__container {
        flex-direction: column;
        text-align: center;
        padding-top: 40px;
    }

    .fv__overlay {
        background:
            linear-gradient(180deg, rgba(247, 245, 240, 0.95) 0%, rgba(247, 245, 240, 0.75) 60%, rgba(247, 245, 240, 0.9) 100%);
    }

    .fv__content-box {
        text-align: center;
        margin-bottom: 40px;
    }

    .fv__copy {
        font-size: 2rem;
    }

    .phone-mockup-img-container {
        width: 280px;
        height: 560px;
    }

    .pc-only {
        display: none;
    }
}


/* =========================================
   Story Section
   ========================================= */
/* Story Section - Letter Style */
.story__inner {
    display: flex;
    align-items: center;
    gap: 60px;
    background: #FFF;
    padding: 60px;
    border-radius: 2px;
    /* Sharp corners for paper feel, or slight radius */
    box-shadow: 0 5px 30px rgba(0, 0, 0, 0.03);
    /* Very subtle shadow */
    position: relative;
}

/* Paper texture or effect could go here */

.story__img-box {
    flex: 1;
    position: relative;
}

.story__img {
    border-radius: 4px;
    /* Photo print style */
    box-shadow: 5px 5px 15px rgba(0, 0, 0, 0.1);
    transform: rotate(-2deg);
    /* Casual placement */
    border: 5px solid #FFF;
    /* Photo border */
}

.story__visual {
    --story-reveal: 0;
    flex: 1;
    position: relative;
    width: 100%;
    max-width: 420px;
    aspect-ratio: 2144 / 1984;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 6px 10px 24px rgba(0, 0, 0, 0.12);
    background: #f6f2e9;
}

.story__visual-img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.story__visual--base {
    filter: blur(calc(10px * var(--story-reveal))) saturate(calc(1 - 0.1 * var(--story-reveal)));
    transform: scale(1.03);
}

.story__visual--reveal {
    opacity: var(--story-reveal);
}

.story__text-box {
    flex: 1;
    padding: 0 20px;
}

.story__text-box--full {
    max-width: 720px;
    margin: 0 auto;
    padding: 0;
    text-align: left;
}

.story__desc {
    margin-top: 2rem;
    font-size: 1.05rem;
    color: #444;
    /* Darker grey for ink look */
    line-height: 2.2;
    font-weight: 400;
    font-family: var(--font-serif);
    /* Serif for letter feel */
}


/* =========================================
   User Voice Section (Replaces Story)
   ========================================= */
.voice__list {
    display: flex;
    justify-content: center;
    gap: 40px;
    flex-wrap: wrap;
    margin-bottom: 40px;
}

.voice__item {
    flex: 1;
    min-width: 280px;
    max-width: 450px;
}

.voice__bubble {
    background: white;
    padding: 30px;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    position: relative;
    margin-bottom: 20px;
}

.voice__bubble::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 40px;
    width: 20px;
    height: 20px;
    background: white;
    transform: rotate(45deg);
}

.voice__text {
    font-family: var(--font-serif);
    font-size: 1.05rem;
    line-height: 1.8;
    color: #444;
}

.voice__user {
    padding-left: 30px;
}

.voice__header {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 5px;
}

.voice__stars {
    color: #FFB400;
    /* Gold/Yellow for stars */
    letter-spacing: 2px;
    font-size: 1.1rem;
    /* Increased size */
}

.voice__age {
    font-weight: bold;
    display: block;
}

.voice__usecase {
    font-size: 0.9rem;
    color: #888;
}

.voice__note {
    text-align: center;
    margin-top: 40px;
    font-weight: 500;
    line-height: 2;
    color: var(--color-accent);
}

/* =========================================
   About Section
   ========================================= */
.about__grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
    text-align: center;
}

.about__item {
    background: #FFF;
    padding: 30px 20px;
    border-radius: 12px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.03);
    transition: transform 0.3s;
    position: relative;
    overflow: hidden;
}

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

.about__item::before {
    content: attr(data-num);
    position: absolute;
    top: 10px;
    right: 14px;
    font-family: var(--font-display);
    font-size: 6rem;
    font-weight: 300;
    line-height: 1;
    letter-spacing: 0.08em;
    color: rgba(197, 160, 89, 0.18);
    pointer-events: none;
}

.about__item > * {
    position: relative;
    z-index: 1;
}

.about__icon {
    width: 56px;
    height: 56px;
    background: transparent;
    border: 1px solid rgba(197, 160, 89, 0.6);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    color: var(--color-gold);
}

.about__icon img {
    width: 40px;
    height: 40px;
}

.about__title {
    font-size: 1.1rem;
    font-weight: 400;
    /* Lighter for elegance */
    margin-bottom: 15px;
    color: var(--color-text);
    font-family: var(--font-serif);
    line-height: 1.6;
}

.about__desc {
    font-size: 0.95rem;
    color: #666;
    line-height: 1.7;
}

@media (max-width: 768px) {
    .about__grid {
        display: flex;
        overflow-x: auto;
        gap: 20px;
        padding: 20px 5%;
        /* Padding for easier scrolling */
        scroll-snap-type: x mandatory;
        -ms-overflow-style: none;
        /* Hide scrollbar */
        scrollbar-width: none;
    }

    .about__grid::-webkit-scrollbar {
        display: none;
    }

    .about__item {
        min-width: 80%;
        /* Show part of next item */
        scroll-snap-align: center;
    }

    .about__item::before {
        font-size: 4.8rem;
        top: 6px;
        right: 10px;
    }
}

/* =========================================
   Story Section
   ========================================= */
.story__desc {
    margin-top: 2rem;
    font-size: 1.05rem;
    color: #555;
    line-height: 2;
}


/* =========================================
   Gallery Section
   ========================================= */
/* =========================================
   Gallery Section (Grid System)
   ========================================= */
/* =========================================
   Gallery Section (Grid System + Compare)
   ========================================= */
.gallery__grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 60px;
    margin-bottom: 30px;
}

.gallery__style {
    flex: 1;
    min-width: 300px;
    max-width: 500px;
    background: #FFF;
    padding: 30px;
    border-radius: 16px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.05);
}

.gallery__style--recommended {
    position: relative;
    border: 3px solid rgba(197, 160, 89, 0.75);
    background: linear-gradient(180deg, rgba(255, 249, 239, 0.98) 0%, #ffffff 55%);
    box-shadow: 0 28px 70px rgba(197, 160, 89, 0.28), 0 10px 24px rgba(0, 0, 0, 0.06);
    transform: translateY(-10px) scale(1.02);
    z-index: 1;
}

.gallery__style--recommended::before {
    content: "";
    position: absolute;
    inset: 10px;
    border-radius: 12px;
    border: 1px solid rgba(197, 160, 89, 0.35);
    pointer-events: none;
}

.gallery__style--recommended::after {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: 16px;
    background: radial-gradient(120% 70% at 50% -10%, rgba(197, 160, 89, 0.22) 0%, rgba(197, 160, 89, 0) 60%);
    pointer-events: none;
}

.gallery__style--recommended > * {
    position: relative;
    z-index: 1;
}

.gallery__badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 6px 16px;
    border-radius: 999px;
    background: linear-gradient(135deg, #c5a059 0%, #d7b468 100%);
    border: 1px solid rgba(255, 255, 255, 0.65);
    color: #fff;
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 0.14em;
    box-shadow: 0 12px 26px rgba(197, 160, 89, 0.35);
    margin-bottom: 12px;
}

.gallery__style--recommended .gallery__cta-link {
    color: var(--color-accent);
    font-weight: 600;
}

.gallery__header {
    text-align: center;
    margin-bottom: 30px;
}

.gallery__compare {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 15px;
    position: relative;
}

.gallery__item {
    flex: 1;
    position: relative;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.gallery__item img {
    width: 100%;
    display: block;
}

.gallery__label {
    position: absolute;
    top: 5px;
    left: 5px;
    background: rgba(0, 0, 0, 0.6);
    color: white;
    font-size: 0.7rem;
    padding: 2px 8px;
    border-radius: 4px;
    z-index: 2;
}

.gallery__label--after {
    background: var(--color-accent);
}

.gallery__arrow {
    flex-shrink: 0;
    width: 30px;
    display: flex;
    justify-content: center;
    color: var(--color-gold);
}

/* Gallery Comparison Slider */
.gallery__compare {
    display: block;
    position: relative;
    width: 100%;
    max-width: 350px;
    margin: 0 auto;
    aspect-ratio: 1 / 1;
    overflow: hidden;
    border-radius: 8px;
    cursor: pointer;
    user-select: none;
    touch-action: manipulation;
}

.gallery__compare:focus-visible {
    outline: 2px solid var(--color-gold);
    outline-offset: 4px;
}

.gallery__compare--portrait {
    aspect-ratio: 112 / 150;
    max-width: 320px;
    background: #fff;
}

.gallery__compare--portrait .gallery__item img {
    object-position: 50% 44%;
}

.gallery__item {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    max-width: none;
    transition: opacity 0.35s ease;
}

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

.gallery__item--before {
    z-index: 1;
}

.gallery__item--after {
    z-index: 2;
    opacity: 0;
    clip-path: none;
}

.gallery__tap-hint {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 10px;
    z-index: 4;
    pointer-events: none;
    transition: opacity 0.3s ease, transform 0.3s ease;
}

.gallery__tap-circle {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    background: rgba(197, 160, 89, 0.9);
    color: #fff;
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 0.25em;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.18);
    animation: tapPulse 2.2s ease-in-out infinite;
}

.gallery__tap-sub {
    font-size: 0.75rem;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: #7a6a4d;
    background: rgba(255, 255, 255, 0.85);
    padding: 4px 12px;
    border-radius: 999px;
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.08);
}

.gallery__compare.is-hint-hidden .gallery__tap-hint {
    opacity: 0;
    transform: scale(0.98);
}

.gallery__compare.is-hint-muted .gallery__tap-hint {
    opacity: 0.4;
}

.gallery__compare.has-interacted .gallery__tap-circle {
    animation: none;
}

.gallery__compare.is-after .gallery__item--after {
    opacity: 1;
}

.gallery__compare.is-after .gallery__item--before {
    opacity: 0;
}

.gallery__slider {
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 4px;
    height: 100%;
    background: var(--color-gold);
    z-index: 10;
    cursor: ew-resize;
}

.gallery__slider {
    display: none;
}

.gallery__slider::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 40px;
    height: 40px;
    background: var(--color-gold);
    border-radius: 50%;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

.gallery__slider::after {
    content: '⟷';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: white;
    font-size: 16px;
    font-weight: bold;
    z-index: 11;
}

.gallery__arrow {
    display: none;
}

/* =========================================
   Gifting Section
   ========================================= */
.gifting {
    background-color: #fff;
    overflow: hidden;
}

.gifting__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 60px;
    max-width: 1000px;
    margin: 0 auto;
}

.gifting__text {
    flex: 1;
    text-align: left;
}

.gifting__img-box {
    flex: 1;
    position: relative;
    text-align: center;
}

.gifting__img-box.animate-in {
    animation: dignityFadeUp 0.6s ease both;
}

.gifting__img {
    width: 100%;
    max-width: 450px;
    height: auto;
    /* Soft breathing animation */
    animation: breathe 8s ease-in-out infinite;
    filter: drop-shadow(0 20px 40px rgba(0, 0, 0, 0.1));
}

.gifting__desc {
    margin-top: 2rem;
    font-size: 1.05rem;
    color: #555;
    line-height: 2;
}

/* Gifting Steps */
.gifting__steps {
    margin: 2rem 0;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.gifting__step {
    display: flex;
    align-items: center;
    gap: 15px;
    background: rgba(197, 160, 89, 0.08);
    padding: 12px 18px;
    border-radius: 8px;
    border-left: 3px solid var(--color-gold);
}

.gifting__step-num {
    width: 28px;
    height: 28px;
    background: var(--color-gold);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    font-size: 0.85rem;
    flex-shrink: 0;
}

.gifting__step p {
    margin: 0;
    font-size: 0.95rem;
    color: #666;
}

.gifting__keyword {
    color: var(--color-gold);
    font-size: 1.15em;
    font-weight: 600;
    letter-spacing: 0.02em;
}

/* Gallery Touch Hint */
.gallery__touch-hint {
    text-align: center;
    font-size: 0.8rem;
    color: #999;
    margin-top: 10px;
    margin-bottom: 15px;
}


/* =========================================
   CTA Section (New)
   ========================================= */
.cta-section {
    background: linear-gradient(135deg, var(--color-text), #555);
    color: white;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.cta-inner {
    position: relative;
    z-index: 2;
    max-width: 800px;
    margin: 0 auto;
}

.cta-inner h2 {
    font-size: 2rem;
    font-family: var(--font-serif);
    margin-bottom: 2rem;
    line-height: 1.5;
}

.cta-micro-copy {
    font-size: 0.85rem;
    margin-bottom: 15px;
    color: #666;
    /* Default color for light backgrounds */
    line-height: 1.5;
    font-weight: 500;
}

/* Specific override for the dark CTA section */
.cta-section .cta-micro-copy {
    color: rgba(255, 255, 255, 0.9);
}

.section-subtitle-large {
    font-size: 1.5rem;
    font-weight: bold;
    font-family: var(--font-serif);
    color: var(--color-text);
    margin-bottom: 20px;
    line-height: 1.6;
}

/* =========================================
   Plans Section
   ========================================= */
.plans__grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    align-items: stretch;
    /* Stretch to equal height */
}

.plan-card {
    background: var(--color-white);
    padding: 40px 30px;
    border-radius: 8px;
    text-align: center;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.05);
    position: relative;
    transition: transform 0.3s;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.plan-cta-wrapper {
    margin-top: auto;
    /* Push to bottom of card */
    width: 100%;
}

.plan-card__features {
    list-style: none;
    text-align: left;
    margin-bottom: 2rem;
    border-top: 1px solid #eee;
    padding-top: 1.5rem;
    flex-grow: 1;
    /* Expand to fill space */
}

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

.plan-card--recommended {
    border: 3px solid var(--color-gold);
    background-color: #FFFCF7;
    z-index: 2;
    padding-top: 60px;
    padding-bottom: 60px;
    margin: -20px 0;
}

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

.plan-card__badge {
    position: absolute;
    top: -15px;
    left: 50%;
    transform: translateX(-50%);
    background-color: var(--color-gold);
    color: var(--color-white);
    padding: 5px 20px;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: bold;
}

.plan-card__title {
    font-family: var(--font-serif);
    font-size: 1.8rem;
    margin-bottom: 1rem;
}

.plan-card__title-en {
    display: block;
    font-family: var(--font-sans);
    font-size: 0.8rem;
    color: #999;
    font-weight: normal;
    margin-top: 5px;
}

.plan-card__price {
    font-size: 2rem;
    font-weight: bold;
    color: var(--color-text);
    margin-bottom: 2rem;
}

.plan-card__yen {
    font-size: 1rem;
    margin-left: 5px;
}

.plan-card__features li {
    margin-bottom: 10px;
    padding-left: 20px;
    position: relative;
}

.plan-card__features li::before {
    content: "✓";
    position: absolute;
    left: 0;
    color: var(--color-accent);
}

.plan-emphasis {
    display: inline-block;
    padding: 0.15em 0.5em;
    background: rgba(197, 160, 89, 0.18);
    border-radius: 2px;
    font-family: var(--font-serif);
    font-weight: 700;
    letter-spacing: 0.08em;
}

.plan-emphasis-note {
    font-size: 0.75rem;
    color: #8c7b5a;
    margin-left: 0.35em;
    letter-spacing: 0.02em;
}

.plan-card__note {
    font-size: 0.85rem;
    color: #E74C3C;
    margin-top: 10px;
    font-weight: bold;
}

/* =========================================
   Flow Section
   ========================================= */
.flow__steps {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
    max-width: 600px;
    margin: 0 auto;
}

.flow__step {
    display: flex;
    align-items: center;
    gap: 20px;
    background: var(--color-white);
    padding: 20px 40px;
    width: 100%;
    border-radius: 8px;
    border: 1px solid #EEE;
}

.flow__num {
    font-family: var(--font-serif);
    font-size: 2rem;
    color: #DDD;
    font-weight: bold;
}

.flow__head {
    font-size: 1.2rem;
    min-width: 120px;
}

.flow__text {
    color: #666;
    font-size: 0.9rem;
}

.flow__arrow {
    width: 2px;
    height: 30px;
    background-color: #DDD;
}

/* =========================================
   Decorative Motifs (Speech Bubbles)
   ========================================= */
.story,
.flow {
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.story::before,
.flow::before {
    content: "";
    position: absolute;
    width: 140px;
    height: 90px;
    background: rgba(6, 199, 85, 0.04);
    border-radius: 30px;
    border-top-left-radius: 0;
    top: 50px;
    left: -20px;
    z-index: -1;
    transform: rotate(15deg);
}

.story::after,
.flow::after {
    content: "";
    position: absolute;
    width: 100px;
    height: 70px;
    background: rgba(230, 126, 34, 0.04);
    border-radius: 25px;
    border-top-right-radius: 0;
    bottom: 50px;
    right: -10px;
    z-index: -1;
    transform: rotate(-10deg);
}

/* =========================================
   FAQ Section
   ========================================= */
.faq__list {
    max-width: 800px;
    margin: 0 auto;
}

.faq__item {
    border-bottom: 1px solid #DDD;
}

.faq__question {
    width: 100%;
    text-align: left;
    background: none;
    border: none;
    padding: 20px 0;
    font-size: 1.1rem;
    cursor: pointer;
    font-weight: 500;
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: var(--color-text);
}

.faq__icon {
    width: 20px;
    height: 20px;
    position: relative;
}

.faq__icon::before,
.faq__icon::after {
    content: "";
    position: absolute;
    background-color: var(--color-text);
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.faq__icon::before {
    width: 100%;
    height: 2px;
}

.faq__icon::after {
    width: 2px;
    height: 100%;
    transition: transform 0.3s;
}

.faq__item.active .faq__icon::after {
    transform: translate(-50%, -50%) rotate(90deg);
}

.faq__answer {
    height: 0;
    overflow: hidden;
    transition: height 0.3s ease;
}

.faq__answer p {
    padding-bottom: 20px;
    color: #555;
    line-height: 1.8;
}

/* =========================================
   Footer
   ========================================= */
.footer {
    background-color: #333;
    color: #888;
    text-align: center;
    padding: 40px 0 100px;
    font-size: 0.8rem;
}

/* =========================================
   Sticky Footer (Optimized)
   ========================================= */
.sticky-footer {
    position: fixed;
    bottom: 15px;
    left: 50%;
    transform: translateX(-50%);
    width: 90%;
    max-width: 360px;
    z-index: 100;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15);
    border-radius: 40px;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s;
}

.sticky-footer.visible {
    opacity: 1;
    visibility: visible;
    bottom: 20px;
}

/* Semi-transparent while scrolling */
.sticky-footer.scrolling {
    opacity: 0.75;
}

.sticky-footer__btn {
    display: block;
    background-color: #06C755;
    color: white;
    text-align: center;
    padding: 12px 0;
    border-radius: 40px;
    font-weight: 600;
}

.sticky-footer__text {
    display: block;
    font-size: 1rem;
}

.sticky-footer__sub {
    display: block;
    font-size: 0.7rem;
    opacity: 0.85;
}

/* =========================================
   Animations
   ========================================= */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(230, 126, 34, 0.6);
    }

    70% {
        box-shadow: 0 0 0 10px rgba(230, 126, 34, 0);
    }

    100% {
        box-shadow: 0 0 0 0 rgba(230, 126, 34, 0);
    }
}

@keyframes tapPulse {
    0% {
        transform: scale(1);
        box-shadow: 0 10px 25px rgba(0, 0, 0, 0.18);
    }

    60% {
        transform: scale(1.06);
        box-shadow: 0 14px 30px rgba(0, 0, 0, 0.22);
    }

    100% {
        transform: scale(1);
        box-shadow: 0 10px 25px rgba(0, 0, 0, 0.18);
    }
}

@keyframes wobble {

    0%,
    100% {
        transform: rotate(0deg);
    }

    25% {
        transform: rotate(-5deg);
    }

    75% {
        transform: rotate(5deg);
    }
}

.gifting__img-box:hover .gifting__img {
    animation: wobble 1s ease-in-out infinite;
    cursor: pointer;
}

@keyframes dignityFadeUp {
    from {
        opacity: 0;
        transform: translateY(20px) scale(0.98);
    }

    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

@keyframes breathe {

    0%,
    100% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.02);
    }
}

/* =========================================
   Responsive
   ========================================= */
@media (max-width: 768px) {
/* Global Mobile Typography & Spacing */
body {
    line-height: 1.7;
}

p {
    font-size: 0.95rem;
}

.section-padding {
    padding: 40px 0;
}

.section-title {
    font-size: 1.8rem;
    margin-bottom: 3rem;
    /* Extra breathing room */
}

/* FV Optimization: Compact & Visual */
.fv {
    padding-top: 20px;
    /* Reduce top padding */
    min-height: auto;
    /* Allow auto height on mobile */
    padding-bottom: 40px;
}

.fv__container {
    flex-direction: column;
    text-align: center;
    gap: 20px;
}

/* Reordering FV: Tag/Copy -> Image -> Button */
/* Reordering FV: Tag/Copy -> Image -> Button */
.fv__content-box {
    display: contents;
    /* Unwrap to allow children to interleave with .fv__visual */
}

.fv__tag {
    order: 1;
    font-size: 0.8rem;
    padding: 4px 12px;
    margin-bottom: 15px;
}

.fv__copy {
    order: 2;
    font-size: 1.6rem;
    /* Reduced to prevent text wall */
    line-height: 1.4;
    margin-bottom: 20px;
}

/* Insert Image visually between Copy and Sub/Button */
.fv__visual {
    order: 3;
    width: 100%;
    margin-bottom: 20px;
    transform: none;
}

.fv__sub {
    order: 4;
    font-size: 0.9rem;
    margin-bottom: 20px;
    line-height: 1.6;
    text-align: left;
    /* Keep left align for readability, or center? User said "text wall" */
    text-align: center;
    /* Center aligns better with the narrow column */
}

.fv__btn {
    order: 5;
    width: 100%;
    padding: 1rem;
    font-size: 1.1rem;
}

.phone-mockup-img-container {
    width: 300px;
    max-width: 100%;
    height: auto;
}

.story__inner {
    flex-direction: column;
    gap: 30px;
    padding: 30px 20px;
    /* Reduce padding inside box */
}

.story__visual {
    max-width: 320px;
    margin: 0 auto;
}

/* About Section: Left Align for Readability */
.about__desc {
    text-align: left;
}

/* Gifting Section: Image First */
.gifting__inner {
    flex-direction: column-reverse;
    gap: 30px;
}

.gifting__text {
    text-align: left;
    /* Keep left alignment for text block */
}



/* Gallery Improvement: Stacked Overlay Crossfade */
.gallery__compare {
    display: block;
    position: relative;
    width: 100%;
    max-width: 300px;
    margin: 0 auto;
    height: auto;
    aspect-ratio: 1 / 1;
}

.gallery__compare--portrait {
    height: auto;
    max-width: 280px;
    aspect-ratio: 112 / 150;
}

.gallery__tap-circle {
    width: 58px;
    height: 58px;
    font-size: 0.7rem;
    letter-spacing: 0.22em;
}

.gallery__tap-sub {
    font-size: 0.65rem;
    letter-spacing: 0.14em;
}

.gallery__item {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    max-width: none;
    transition: opacity 0.35s ease;
}

.gallery__item--before {
    z-index: 1;
}

.gallery__item--after {
    z-index: 2;
}

.gallery__arrow {
    display: none;
}

/* Plans Improvement: Horizontal Scroll */
.plans__grid {
    display: flex;
    overflow-x: auto;
    gap: 20px;
    padding: 20px 5%;
    scroll-snap-type: x mandatory;
    -ms-overflow-style: none;
    scrollbar-width: none;
}

.plans__grid::-webkit-scrollbar {
    display: none;
}

.plan-card {
    min-width: 85%;
    height: auto;
    scroll-snap-align: center;
}

.plan-card--recommended {
    transform: none;
    margin: 0;
}

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

/* Flow Improvement: Compact List */
.flow__step {
    flex-direction: row;
    padding: 15px 20px;
    text-align: left;
    gap: 15px;
}

.flow__num {
    font-size: 1.5rem;
    min-width: 40px;
}

.flow__head {
    font-size: 1.1rem;
    min-width: auto;
    margin-bottom: 0;
}

.flow__text {
    font-size: 0.85rem;
    margin-left: auto;
}

.flow__arrow {
    height: 15px;
}
}

/* Marker Highlighting for Story */
.text-marker {
    background: linear-gradient(transparent 50%, rgba(255, 180, 0, 0.3) 50%);
    /* Stronger Gold Highlighting */
    font-weight: bold;
    padding-bottom: 2px;
}

.text-hand {
    font-family: var(--font-hand-jp), var(--font-hand), var(--font-serif);
    color: #8c8577;
    font-size: 1.18em;
    font-weight: 400;
    letter-spacing: 0.06em;
}
