/* ===================================
   Elegant Message Area (Refined Design for Salon Owners)
   =================================== */
.hero-message-area {
    max-width: 750px;
    margin: 0 auto;
    padding: 20px;
}

/* Global Science Products Showcase */
.products-showcase {
    width: 100%;
    max-width: 1200px;
    margin: 40px auto;
    padding: 0 40px;
    text-align: center;
}

.products-image {
    width: 100%;
    height: auto;
    border-radius: 15px;
    box-shadow: 
        0 10px 40px rgba(0, 0, 0, 0.15),
        0 0 30px rgba(184, 134, 89, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.products-image:hover {
    transform: translateY(-5px);
    box-shadow: 
        0 15px 50px rgba(0, 0, 0, 0.2),
        0 0 40px rgba(184, 134, 89, 0.2);
}

/* PC大画面対応 */
@media (min-width: 1441px) {
    .products-showcase {
        max-width: 1400px;
        padding: 0 60px;
    }
}

/* Animated Title Above Banner */
.hero-title-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    text-align: center;
    padding: 30px 40px;
    z-index: 15;
    background: linear-gradient(
        180deg,
        rgba(25, 15, 10, 0.75) 0%,
        rgba(30, 20, 15, 0.65) 40%,
        rgba(30, 20, 15, 0.40) 70%,
        transparent 100%
    );
    backdrop-filter: blur(8px);
}

.animated-title {
    font-family: 'Noto Serif JP', serif;
    font-size: 6.5rem;
    font-weight: 600;
    color: #d4a574;
    letter-spacing: 0.6em;
    display: inline-block;
    white-space: nowrap;
    animation: slide-in-right 1.5s ease-out forwards;
    opacity: 0;
    text-shadow: 
        /* リッチゴールドのグロー */
        0 0 20px rgba(212, 165, 116, 0.8),
        0 0 40px rgba(212, 165, 116, 0.6),
        0 0 60px rgba(212, 165, 116, 0.4),
        /* 深みを出す影 */
        0 3px 10px rgba(0, 0, 0, 0.5),
        0 5px 20px rgba(0, 0, 0, 0.3);
    /* ゴールドのアウトライン */
    -webkit-text-stroke: 1px rgba(184, 134, 89, 0.5);
    text-stroke: 1px rgba(184, 134, 89, 0.5);
    /* ドロップシャドウ */
    filter: drop-shadow(0 4px 12px rgba(0, 0, 0, 0.6))
            drop-shadow(0 0 30px rgba(212, 165, 116, 0.5));
}

/* Slide in from Right */
@keyframes slide-in-right {
    0% {
        opacity: 0;
        transform: translateX(100px);
        letter-spacing: 0.6em;
    }
    60% {
        opacity: 1;
        transform: translateX(0);
    }
    100% {
        opacity: 1;
        transform: translateX(0);
        letter-spacing: 0.4em;
    }
}

.title-char {
    display: inline-block;
    opacity: 0;
    animation: fade-in-char 0.6s ease-out forwards;
    animation-delay: calc(1s + var(--char-index) * 0.1s);
    background: linear-gradient(
        135deg,
        #e6c589 0%,
        #d4a574 30%,
        #b88659 50%,
        #d4a574 70%,
        #e6c589 100%
    );
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    filter: drop-shadow(0 2px 10px rgba(0, 0, 0, 0.6))
            drop-shadow(0 0 25px rgba(212, 165, 116, 0.6));
}

@keyframes fade-in-char {
    0% {
        opacity: 0;
        transform: translateY(10px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Responsive Title */
@media (max-width: 768px) {
    .products-showcase {
        margin: 30px auto;
        padding: 0 15px;
    }
    
    .products-image {
        border-radius: 12px;
    }
    
    .hero-title-overlay {
        padding: 25px 30px;
        background: linear-gradient(
            180deg,
            rgba(25, 15, 10, 0.93) 0%,
            rgba(30, 20, 15, 0.86) 40%,
            rgba(30, 20, 15, 0.62) 70%,
            transparent 100%
        );
        backdrop-filter: blur(8px);
    }

    .animated-title {
        font-size: 4rem;
        font-weight: 600;
        letter-spacing: 0.5em;
        color: #d4a574;
        -webkit-text-stroke: 1px rgba(184, 134, 89, 0.5);
        text-stroke: 1px rgba(184, 134, 89, 0.5);
        text-shadow: 
            0 0 18px rgba(212, 165, 116, 0.8),
            0 0 35px rgba(212, 165, 116, 0.6),
            0 3px 8px rgba(0, 0, 0, 0.5);
        filter: drop-shadow(0 3px 10px rgba(0, 0, 0, 0.6));
    }

    @keyframes slide-in-right {
        0% {
            opacity: 0;
            transform: translateX(80px);
            letter-spacing: 0.5em;
        }
        60% {
            opacity: 1;
            transform: translateX(0);
        }
        100% {
            opacity: 1;
            transform: translateX(0);
            letter-spacing: 0.3em;
        }
    }
}

@media (max-width: 480px) {
    .products-showcase {
        margin: 25px auto;
        padding: 0 10px;
    }
    
    .products-image {
        border-radius: 10px;
    }
    
    .hero-title-overlay {
        padding: 20px 20px;
        background: linear-gradient(
            180deg,
            rgba(25, 15, 10, 0.80) 0%,
            rgba(30, 20, 15, 0.70) 40%,
            rgba(30, 20, 15, 0.45) 70%,
            transparent 100%
        );
        backdrop-filter: blur(8px);
    }

    .animated-title {
        font-size: 3.2rem;
        font-weight: 600;
        letter-spacing: 0.4em;
        color: #d4a574;
        -webkit-text-stroke: 0.8px rgba(184, 134, 89, 0.5);
        text-stroke: 0.8px rgba(184, 134, 89, 0.5);
        text-shadow: 
            0 0 15px rgba(212, 165, 116, 0.8),
            0 0 30px rgba(212, 165, 116, 0.6),
            0 2px 6px rgba(0, 0, 0, 0.5);
        filter: drop-shadow(0 2px 8px rgba(0, 0, 0, 0.6));
    }

    @keyframes slide-in-right {
        0% {
            opacity: 0;
            transform: translateX(60px);
            letter-spacing: 0.4em;
        }
        60% {
            opacity: 1;
            transform: translateX(0);
        }
        100% {
            opacity: 1;
            transform: translateX(0);
            letter-spacing: 0.2em;
        }
    }
}

/* Animated Badge Overlays */
.hero-banner-image {
    position: relative;
    z-index: 5;
}

/* Hero Banner Main Image */
.hero-banner-image-main {
    display: block;
    width: 100%;
    height: auto;
    max-width: 800px;
    margin: 0 auto;
    object-fit: cover;
}

@media (max-width: 768px) {
    .hero-banner-image-main {
        max-width: 100%;
    }
}

.hero-banner-image::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        135deg,
        rgba(0, 0, 0, 0.15) 0%,
        rgba(0, 0, 0, 0.05) 40%,
        rgba(0, 0, 0, 0.05) 60%,
        rgba(0, 0, 0, 0.15) 100%
    );
    pointer-events: none;
    z-index: 1;
}

.badge-overlay {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    animation: float-leaf 3s ease-in-out infinite;
}

.badge-1 {
    left: 15%;
    animation-delay: 0s;
}

.badge-2 {
    left: 50%;
    transform: translate(-50%, -50%);
    animation-delay: 1s;
}

.badge-3 {
    right: 15%;
    animation-delay: 2s;
}

.badge-circle {
    width: 180px;
    height: 180px;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.98) 0%, rgba(250, 245, 235, 0.95) 100%);
    backdrop-filter: blur(10px);
    border-radius: 50%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 8px;
    position: relative;
    box-shadow: 
        0 12px 48px rgba(212, 163, 115, 0.4),
        0 0 0 1px rgba(255, 255, 255, 0.9) inset,
        inset 0 2px 8px rgba(212, 163, 115, 0.2);
    border: 4px solid transparent;
    background-clip: padding-box;
    transition: all 0.3s ease;
}

.badge-circle::before {
    content: '';
    position: absolute;
    top: -4px;
    left: -4px;
    right: -4px;
    bottom: -4px;
    background: linear-gradient(135deg, 
        #d4a373 0%, 
        #f4e4c1 25%, 
        #d4a373 50%, 
        #c89858 75%, 
        #d4a373 100%);
    border-radius: 50%;
    z-index: -1;
    box-shadow: 
        0 0 20px rgba(212, 163, 115, 0.6),
        inset 0 0 15px rgba(212, 163, 115, 0.3);
}

.badge-circle::after {
    content: '';
    position: absolute;
    top: -8px;
    left: -8px;
    right: -8px;
    bottom: -8px;
    background: 
        radial-gradient(circle at 30% 30%, rgba(255, 255, 255, 0.3) 0%, transparent 50%),
        linear-gradient(135deg, 
            transparent 0%, 
            rgba(212, 163, 115, 0.15) 25%, 
            transparent 50%, 
            rgba(212, 163, 115, 0.15) 75%, 
            transparent 100%);
    border-radius: 50%;
    z-index: -2;
    border: 2px dashed rgba(212, 163, 115, 0.4);
}

.badge-circle:hover {
    transform: scale(1.12);
    box-shadow: 
        0 16px 64px rgba(212, 163, 115, 0.6),
        0 0 0 1px rgba(255, 255, 255, 1) inset,
        inset 0 2px 12px rgba(212, 163, 115, 0.3),
        0 0 30px rgba(212, 163, 115, 0.5);
}

.badge-circle:hover::before {
    box-shadow: 
        0 0 30px rgba(212, 163, 115, 0.8),
        inset 0 0 20px rgba(212, 163, 115, 0.4);
}

.badge-icon {
    font-size: 3.8rem;
    line-height: 1;
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.3), 0 0 20px rgba(212, 163, 115, 0.5);
}

.badge-text {
    font-size: 2.1rem;
    font-weight: 800;
    color: #ffffff;
    letter-spacing: 0.12em;
    text-shadow: 0 2px 6px rgba(0, 0, 0, 0.3), 0 0 15px rgba(212, 163, 115, 0.4);
}

/* Floating Leaf Animation */
@keyframes float-leaf {
    0%, 100% {
        transform: translateY(-50%) rotate(-3deg);
    }
    25% {
        transform: translateY(-55%) rotate(2deg);
    }
    50% {
        transform: translateY(-50%) rotate(-2deg);
    }
    75% {
        transform: translateY(-45%) rotate(3deg);
    }
}

/* Adjust for middle badge */
.badge-2 {
    animation: float-leaf-center 3s ease-in-out infinite;
}

@keyframes float-leaf-center {
    0%, 100% {
        transform: translate(-50%, -50%) rotate(-3deg);
    }
    25% {
        transform: translate(-50%, -55%) rotate(2deg);
    }
    50% {
        transform: translate(-50%, -50%) rotate(-2deg);
    }
    75% {
        transform: translate(-50%, -45%) rotate(3deg);
    }
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .badge-circle {
        width: 140px;
        height: 140px;
    }

    .badge-icon {
        font-size: 3.2rem;
    }

    .badge-text {
        font-size: 1.8rem;
    }

    .badge-1 {
        left: 10%;
    }

    .badge-3 {
        right: 10%;
    }
}

@media (max-width: 480px) {
    .badge-circle {
        width: 110px;
        height: 110px;
    }

    .badge-icon {
        font-size: 2.6rem;
    }

    .badge-text {
        font-size: 1.575rem;
    }

    .badge-1 {
        left: 5%;
    }

    .badge-3 {
        right: 5%;
    }
}

/* Cost Awareness Image Section */
.cost-awareness-image {
    width: 100%;
    padding: 0 20px;
    margin: 0 auto 60px auto;
    text-align: center;
}

.cost-image {
    width: 100%;
    height: auto;
    border-radius: 20px;
    box-shadow: 
        0 20px 60px rgba(0, 0, 0, 0.15),
        0 0 40px rgba(212, 163, 115, 0.2);
    transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.cost-image:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: 
        0 30px 80px rgba(0, 0, 0, 0.2),
        0 0 60px rgba(212, 163, 115, 0.3);
}

/* Old Cost Awareness Section (keeping for backward compatibility) */
.cost-awareness {
    background: linear-gradient(135deg, 
        rgba(255, 255, 255, 0.92) 0%,
        rgba(255, 250, 245, 0.88) 100%);
    backdrop-filter: blur(10px);
    border-radius: 24px;
    padding: 50px 40px;
    margin-bottom: 60px;
    border: 1px solid rgba(212, 163, 115, 0.15);
    box-shadow: 
        0 20px 60px -15px rgba(212, 163, 115, 0.2),
        0 0 0 1px rgba(255, 255, 255, 0.5) inset;
    transition: all 0.4s ease;
}

.cost-awareness:hover {
    transform: translateY(-4px);
    box-shadow: 
        0 30px 80px -15px rgba(212, 163, 115, 0.25),
        0 0 0 1px rgba(255, 255, 255, 0.7) inset;
}

.awareness-label {
    font-size: 1rem;
    font-weight: 500;
    color: #8b7355;
    letter-spacing: 0.1em;
    margin-bottom: 20px;
    text-align: center;
}

.cost-statement {
    text-align: center;
}

.cost-line {
    font-size: 1.2rem;
    font-weight: 400;
    color: var(--dark-color);
    margin-bottom: 20px;
    line-height: 1.7;
}

.cost-amount {
    display: flex;
    align-items: baseline;
    justify-content: center;
    gap: 12px;
    flex-wrap: wrap;
}

.amount-number {
    font-size: 4rem;
    font-weight: 300;
    color: #d4a373;
    font-family: 'Playfair Display', serif;
    position: relative;
}

.amount-number::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 100%;
    height: 1px;
    background: linear-gradient(90deg, transparent, #d4a373, transparent);
}

.amount-text {
    font-size: 1.1rem;
    font-weight: 400;
    color: #8b7355;
}

/* Visual Divider */
.visual-divider {
    position: relative;
    margin: 80px 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

.lamp-visual {
    position: relative;
    width: 280px;
    height: 280px;
    z-index: 2;
    background: #1a1a1a;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 
        0 0 60px rgba(0, 0, 0, 0.15),
        0 0 120px rgba(0, 0, 0, 0.08),
        0 20px 80px -20px rgba(0, 0, 0, 0.25);
}

.lamp-visual::before {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, 0.08);
    z-index: -1;
}

.lamp-visual::after {
    content: '';
    position: absolute;
    width: 120%;
    height: 120%;
    border-radius: 50%;
    background: radial-gradient(circle, 
        rgba(0, 0, 0, 0.3) 40%, 
        transparent 70%);
    z-index: -2;
}

.lamp-img {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 75%;
    height: auto;
    object-fit: contain;
    opacity: 0;
    transition: opacity 0.5s ease;
    filter: drop-shadow(0 8px 32px rgba(0, 0, 0, 0.12));
}

.lamp-img.active {
    opacity: 1;
}

.divider-line {
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, 
        transparent 0%,
        rgba(212, 163, 115, 0.15) 35%,
        rgba(212, 163, 115, 0.25) 50%,
        rgba(212, 163, 115, 0.15) 65%,
        transparent 100%);
    z-index: 1;
}

.divider-line::before,
.divider-line::after {
    content: '';
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 8px;
    height: 8px;
    background: radial-gradient(circle, #d4a373 0%, transparent 70%);
    border-radius: 50%;
    opacity: 0.3;
}

.divider-line::before {
    left: 20%;
}

.divider-line::after {
    right: 20%;
}

/* Owner Message Section */
.owner-message {
    text-align: center;
    padding: 50px 40px;
}

.message-question {
    font-size: 1.4rem;
    font-weight: 400;
    color: var(--dark-color);
    margin-bottom: 20px;
    line-height: 1.8;
}

.message-philosophy {
    font-size: 1.1rem;
    font-weight: 500;
    color: #8b7355;
    margin-bottom: 50px;
    line-height: 1.8;
    letter-spacing: 0.05em;
}

.message-vision {
    margin: 50px 0;
    padding: 40px 0;
    position: relative;
}

.message-vision::before,
.message-vision::after {
    content: '';
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 1px;
    background: linear-gradient(90deg, transparent, #d4a373, transparent);
}

.message-vision::before {
    top: 0;
}

.message-vision::after {
    bottom: 0;
}

.vision-text {
    font-size: 1.2rem;
    font-weight: 400;
    color: var(--dark-color);
    margin-bottom: 15px;
    line-height: 1.8;
}

.vision-highlight {
    font-size: 1.4rem;
    font-weight: 500;
    color: var(--dark-color);
    line-height: 1.8;
}

.vision-future {
    display: inline-block;
    font-size: 2rem;
    font-weight: 600;
    font-family: 'Playfair Display', serif;
    color: #d4a373;
    padding: 0 8px;
    position: relative;
    background: linear-gradient(180deg, transparent 70%, rgba(212, 163, 115, 0.15) 70%);
}

/* Elegant CTA Button */
.elegant-cta {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding: 18px 45px;
    background: #d4a373;
    color: white;
    text-decoration: none;
    border-radius: 50px;
    font-size: 1rem;
    font-weight: 500;
    letter-spacing: 0.08em;
    transition: all 0.3s ease;
    box-shadow: 0 8px 25px -8px rgba(212, 163, 115, 0.4);
    margin-top: 40px;
}

.elegant-cta:hover {
    background: #b8956f;
    transform: translateY(-2px);
    box-shadow: 0 12px 35px -8px rgba(212, 163, 115, 0.5);
}

.cta-text {
    font-weight: 500;
}

.cta-arrow {
    font-size: 1.2rem;
    transition: transform 0.3s ease;
}

.elegant-cta:hover .cta-arrow {
    transform: translateX(4px);
}

/* Responsive Design */
@media (max-width: 768px) {
    .hero-message-area {
        padding: 15px;
    }
    
    .cost-awareness-image {
        padding: 0 15px;
        margin-bottom: 50px;
    }
    
    .cost-image {
        border-radius: 16px;
    }

    .cost-awareness {
        padding: 40px 30px;
        margin-bottom: 50px;
    }

    .awareness-label {
        font-size: 0.9rem;
    }

    .cost-line {
        font-size: 1.1rem;
    }

    .amount-number {
        font-size: 3.5rem;
    }

    .amount-text {
        font-size: 1rem;
    }

    .lamp-visual {
        width: 220px;
        height: 220px;
    }

    .lamp-img {
        width: 70%;
    }

    .owner-message {
        padding: 40px 30px;
    }

    .message-question {
        font-size: 1.2rem;
    }

    .message-philosophy {
        font-size: 1rem;
    }

    .vision-text {
        font-size: 1.1rem;
    }

    .vision-highlight {
        font-size: 1.2rem;
    }

    .vision-future {
        font-size: 1.8rem;
    }

    .elegant-cta {
        padding: 16px 40px;
        font-size: 0.95rem;
    }
}

@media (max-width: 480px) {
    .cost-awareness-image {
        padding: 0 10px;
        margin-bottom: 40px;
    }
    
    .cost-image {
        border-radius: 12px;
    }
    
    .cost-awareness {
        padding: 35px 25px;
        margin-bottom: 40px;
        border-radius: 20px;
    }

    .awareness-label {
        font-size: 0.85rem;
        margin-bottom: 15px;
    }

    .cost-line {
        font-size: 1rem;
    }

    .amount-number {
        font-size: 3rem;
    }

    .amount-text {
        font-size: 0.95rem;
    }

    .visual-divider {
        margin: 50px 0;
    }

    .lamp-visual {
        width: 180px;
        height: 180px;
    }

    .lamp-img {
        width: 65%;
    }

    .owner-message {
        padding: 35px 25px;
    }

    .message-question {
        font-size: 1.1rem;
    }

    .message-philosophy {
        font-size: 0.95rem;
        margin-bottom: 40px;
    }

    .message-vision {
        margin: 40px 0;
        padding: 35px 0;
    }

    .vision-text {
        font-size: 1rem;
    }

    .vision-highlight {
        font-size: 1.1rem;
    }

    .vision-future {
        font-size: 1.6rem;
    }

    .elegant-cta {
        padding: 15px 35px;
        font-size: 0.9rem;
        gap: 10px;
    }
}
