@charset "UTF-8";

/* ==========================================================================
   Variables
   ========================================================================== */
:root {
    --primary-color: #CBAA71;
    /* Elegant Gold */
    --primary-hover: #b8975e;
    --text-main: #333333;
    --text-light: #777777;
    --bg-main: #ffffff;
    --bg-light: #fdfdfd;
    --bg-alt: #f8f6f4;
    /* Sand/Beige for sections */
    --border-color: #eaeaea;

    --font-heading: 'Cormorant Garamond', 'Noto Serif JP', serif;
    --font-body: 'Noto Serif JP', 'Yu Mincho', 'Hiragino Mincho ProN', serif;

    --header-height: 80px;
    --transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

/* ==========================================================================
   Base
   ========================================================================== */
*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    font-size: 62.5%;
    /* 1rem = 10px */
}

body {
    font-family: var(--font-body);
    color: var(--text-main);
    background-color: var(--bg-main);
    line-height: 1.8;
    font-size: 1.6rem;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}

/* ==========================================================================
   Mobile-First Layout (PC Center)
   ========================================================================== */
body.mobile-first-layout {
    background-color: var(--bg-alt);
    background-image: url('../images/pc_bg.png');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    display: flex;
    justify-content: center;
    min-height: 100vh;
}

.app-wrapper {
    width: 100%;
    max-width: 480px;
    /* スマホ幅を強制 */
    background-color: var(--bg-main);
    min-height: 100vh;
    position: relative;
    box-shadow: 0 0 30px rgba(0, 0, 0, 0.1);
    overflow-x: hidden;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
}

@media (max-width: 480px) {
    body.mobile-first-layout {
        background: var(--bg-main);
        display: block;
    }

    .app-wrapper {
        box-shadow: none;
    }
}


ul {
    list-style: none;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

.container {
    width: 100%;
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 5%;
}

.section {
    padding: 6rem 0;
}

.bg-light {
    background-color: var(--bg-alt);
}

/* Typography */
h1,
h2,
h3,
h4,
.font-heading {
    font-family: var(--font-heading);
    font-weight: 500;
}

/* ==========================================================================
   Buttons
   ========================================================================== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    padding: 1.6rem 3.2rem;
    font-size: 1.5rem;
    letter-spacing: 0.1em;
    border-radius: 4px;
    cursor: pointer;
    transition: var(--transition);
    text-align: center;
    line-height: 1;
}

.btn-primary {
    background-color: var(--primary-color);
    color: #fff;
    border: 1px solid var(--primary-color);
}

.btn-primary:hover {
    background-color: var(--primary-hover);
    border-color: var(--primary-hover);
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(203, 170, 113, 0.3);
}

.btn-outline {
    background-color: transparent;
    color: var(--text-main);
    border: 1px solid var(--text-main);
}

.btn-outline:hover {
    background-color: var(--text-main);
    color: #fff;
}

.btn-line {
    background-color: #06C755;
    color: #fff;
    border: 1px solid #06C755;
}

.btn-line:hover {
    background-color: #05b34c;
    border-color: #05b34c;
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(6, 199, 85, 0.3);
}

.btn-line-outline {
    background-color: transparent;
    color: #06C755;
    border: 1px solid #06C755;
}

.btn-line-outline:hover {
    background-color: #06C755;
    color: #fff;
}

.pulse-effect {
    position: relative;
    overflow: hidden;
}

.pulse-effect::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 200%;
    height: 200%;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    animation: ripple 2s infinite linear;
}

@keyframes ripple {
    0% {
        width: 0;
        height: 0;
        opacity: 1;
    }

    100% {
        width: 100%;
        padding-top: 100%;
        opacity: 0;
    }
}

/* ==========================================================================
   Header
   ========================================================================== */
.header {
    position: sticky;
    /* Sticky allows it to stay at the top of the scrolling wrapper */
    top: 0;
    left: 0;
    width: 100%;
    height: var(--header-height);
    background-color: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    z-index: 1000;
    transition: var(--transition);
    border-bottom: 1px solid transparent;
}

.header.scrolled {
    /* No need to change position to fixed anymore, sticky handles it inside the 480px wrapper */
    height: 80px;
    border-bottom: 1px solid var(--border-color);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.03);
}

@media (max-width: 480px) {
    .header.scrolled {
        width: 100%;
        max-width: none;
    }
}

.header-inner {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 5%;
    height: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
}

.logo img {
    height: 60px;
    /* Increased from 40px */
    width: auto;
    max-width: 250px;
    object-fit: contain;
}

.nav {
    display: none;
}

/* Removed desktop nav media query to enforce mobile layout */

/* Hamburger Menu */
.menu-toggle {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    width: 30px;
    height: 20px;
    background: transparent;
    border: none;
    cursor: pointer;
    z-index: 1001;
}

/* Removed desktop hide logic for menu-toggle */

.menu-toggle span {
    display: block;
    width: 100%;
    height: 2px;
    background-color: var(--text-main);
    transition: var(--transition);
}

.menu-toggle.is-active span:nth-child(1) {
    transform: translateY(9px) rotate(45deg);
}

.menu-toggle.is-active span:nth-child(2) {
    opacity: 0;
}

.menu-toggle.is-active span:nth-child(3) {
    transform: translateY(-9px) rotate(-45deg);
}

/* Mobile Menu Drawer */
.mobile-menu {
    position: fixed;
    top: 0;
    left: 50%;
    transform: translateX(-50%) translateY(-100%);
    /* Start hidden above */
    width: 100%;
    max-width: 480px;
    /* match wrapper */
    height: 100vh;
    background-color: var(--bg-main);
    z-index: 999;
    padding: 100px 5% 50px;
    transition: transform 0.4s cubic-bezier(0.77, 0, 0.175, 1), opacity 0.4s;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    display: flex;
    flex-direction: column;
    opacity: 0;
    pointer-events: none;
}

.mobile-menu.is-active {
    transform: translateX(-50%) translateY(0);
    /* Slide down exactly inside wrapper */
    opacity: 1;
    pointer-events: auto;
}

@media (max-width: 480px) {
    .mobile-menu {
        left: 0;
        transform: translateY(-100%);
    }

    .mobile-menu.is-active {
        transform: translateY(0);
    }
}

.mobile-nav-list {
    margin-bottom: 4rem;
}

.mobile-nav-list li {
    margin-bottom: 2.5rem;
}

.mobile-nav-link {
    font-size: 1.8rem;
    font-family: var(--font-heading);
    color: var(--text-main);
    display: block;
    border-bottom: 1px solid var(--border-color);
    padding-bottom: 1rem;
}

.mobile-social-btns {
    margin-top: auto;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.mobile-social-btn {
    width: 100%;
}

/* ==========================================================================
   Hero Section
   ========================================================================== */
.hero {
    position: relative;
    height: auto;
    min-height: 500px;
    display: flex;
    align-items: flex-start;
    /* Align content to top area */
    background-color: #1a1a1a;
    margin-top: 0;
    padding-top: 20px;
    padding-bottom: 40px;
    overflow: hidden;
}

/* Background image - show clearly without heavy white overlay */
.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image:
        linear-gradient(to bottom, rgba(0, 0, 0, 0.15) 0%, rgba(0, 0, 0, 0.4) 100%),
        url('../images/hero_large_gem.jpg');
    background-size: cover;
    background-position: center;
    z-index: 1;
}

@media (max-width: 768px) {
    .hero-bg {
        background-image:
            linear-gradient(to bottom, rgba(0, 0, 0, 0.1) 0%, rgba(0, 0, 0, 0.45) 100%),
            url('../images/hero_large_gem.jpg');
        background-position: center;
    }
}

.hero-content {
    position: relative;
    z-index: 2;
    padding: 2rem 5% 0;
    /* Reduced padding top to move text higher */
    max-width: 1200px;
    width: 100%;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    min-height: 480px;
    justify-content: flex-start;
    /* Changed from center to flex-start (top) */
    align-items: flex-start;
    /* Align text to left side initially for elegance */
    text-align: left;
    /* Left-align text */
}

.hero-subtitle {
    font-size: 1.4rem;
    color: var(--primary-color);
    letter-spacing: 0.3em;
    margin-bottom: 2rem;
    text-transform: uppercase;
    text-shadow: 0 1px 4px rgba(0, 0, 0, 0.4);
    font-weight: 500;
}

.hero-title {
    font-family: var(--font-heading);
    font-size: 3.8rem;
    /* Increased from 3.2rem */
    line-height: 1.5;
    color: #ffffff;
    margin-bottom: 0;
    letter-spacing: 0.08em;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.6), 0 0 20px rgba(0, 0, 0, 0.3);
    font-weight: 400;
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 3.0rem;
        /* Increased from 2.6rem */
    }
}

.hero-desc {
    font-size: 1.4rem;
    color: #1a1a1a;
    line-height: 1.8;
    margin-top: auto;
    /* Push to bottom */
    margin-bottom: 0;
    background: rgba(255, 255, 255, 0.85);
    padding: 1.2rem 2rem;
    border-radius: 6px;
    backdrop-filter: blur(4px);
    align-self: stretch;
}

/* ==========================================================================
   Sections Common
   ========================================================================== */
.section-header {
    text-align: center;
    margin-bottom: 6rem;
}

.section-label {
    display: block;
    font-family: var(--font-heading);
    font-size: 1.4rem;
    color: var(--primary-color);
    letter-spacing: 0.2em;
    margin-bottom: 1rem;
    font-style: italic;
}

.section-title {
    font-size: 3.6rem;
    letter-spacing: 0.1em;
    color: var(--text-main);
}

.section-lead {
    margin-top: 1.5rem;
    color: var(--text-light);
    font-size: 1.5rem;
}

/* ==========================================================================
   About Section
   ========================================================================== */
.about-content {
    max-width: 700px;
    margin: 0 auto;
    text-align: center;
}

.about-text p {
    margin-bottom: 2.5rem;
}

.about-text strong {
    font-weight: 500;
    color: var(--primary-color);
    padding: 0 0.2em;
}

/* ==========================================================================
   How to Buy Section (Flow)
   ========================================================================== */
.flow-steps {
    display: grid;
    grid-template-columns: 1fr;
    gap: 3rem;
    margin-bottom: 6rem;
}

.step-card {
    background-color: var(--bg-main);
    padding: 4rem 3rem;
    border-radius: 8px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.03);
    position: relative;
    border: 1px solid rgba(203, 170, 113, 0.1);
    transition: var(--transition);
}

.step-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 50px rgba(0, 0, 0, 0.06);
    border-color: rgba(203, 170, 113, 0.3);
}

.step-icon {
    position: absolute;
    top: -20px;
    left: 30px;
    font-family: var(--font-body);
    /* Changed from font-heading to standard font so numbers don't look like letters 'OI' */
    font-size: 3.6rem;
    font-weight: 500;
    color: var(--primary-color);
    line-height: 1;
    background: var(--bg-main);
    padding: 0 1rem;
    letter-spacing: 0.05em;
}

.step-title {
    font-size: 2rem;
    margin-bottom: 1.5rem;
    margin-top: 1rem;
}

.step-desc {
    color: var(--text-light);
    font-size: 1.5rem;
}

.flow-footer {
    text-align: center;
}

.flow-footer-btns {
    display: flex;
    justify-content: center;
    gap: 2rem;
    flex-wrap: wrap;
}

/* ==========================================================================
   FAQ Section
   ========================================================================== */
.faq-list {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    background-color: var(--bg-main);
    border: 1px solid var(--border-color);
    margin-bottom: 1.5rem;
    border-radius: 4px;
    overflow: hidden;
}

.faq-question {
    width: 100%;
    text-align: left;
    padding: 2.5rem 6rem 2.5rem 2.5rem;
    background: none;
    border: none;
    font-family: var(--font-body);
    font-size: 1.6rem;
    font-weight: 500;
    color: var(--text-main);
    cursor: pointer;
    position: relative;
    transition: var(--transition);
}

.faq-question:hover {
    color: var(--primary-color);
}

.faq-icon {
    position: absolute;
    right: 2.5rem;
    top: 50%;
    transform: translateY(-50%);
    width: 14px;
    height: 14px;
}

.faq-icon::before,
.faq-icon::after {
    content: '';
    position: absolute;
    background-color: var(--primary-color);
    transition: var(--transition);
}

.faq-icon::before {
    width: 100%;
    height: 2px;
    top: 6px;
    left: 0;
}

.faq-icon::after {
    width: 2px;
    height: 100%;
    top: 0;
    left: 6px;
}

.faq-item.is-open .faq-icon::after {
    transform: scaleY(0);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    background-color: #fafafa;
    transition: max-height 0.4s cubic-bezier(0.86, 0, 0.07, 1);
}

.faq-answer p {
    padding: 0 2.5rem 2.5rem;
    color: var(--text-light);
    font-size: 1.5rem;
    /* Removed negative margin that was hiding the first line */
}

/* ==========================================================================
   Footer
   ========================================================================== */
.footer {
    background-color: var(--text-main);
    color: #fff;
    padding: 6rem 0 3rem;
    /* Reduced from 8rem to tighten the top */
}

.footer-top {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 2rem;
    /* Reduced from 4rem since there's less content */
    margin-bottom: 4rem;
    /* Reduced from 6rem */
}

.footer-brand .footer-logo {
    height: 40px;
    filter: brightness(0) invert(1);
    /* Ensure white logo on dark bg */
    margin-bottom: 2rem;
}

.footer-brand .footer-desc {
    color: #bbbbbb;
    font-size: 1.4rem;
    max-width: 300px;
}

.footer-contact h4 {
    font-family: var(--font-heading);
    color: var(--primary-color);
    font-size: 2rem;
    margin-bottom: 1.5rem;
}

.footer-contact p {
    color: #bbbbbb;
    font-size: 1.4rem;
    margin-bottom: 2rem;
}

.footer-social-links {
    display: flex;
    gap: 1.5rem;
    flex-wrap: wrap;
}

.footer-social-link {
    display: inline-flex;
    align-items: center;
    gap: 0.8rem;
    font-size: 1.6rem;
    background: rgba(255, 255, 255, 0.1);
    padding: 1rem 2rem;
    border-radius: 4px;
}

.footer-social-link:hover {
    background: var(--primary-color);
}

.footer-social-link.line-color:hover {
    background: #06C755;
}

.footer-bottom {
    padding-top: 3rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    flex-direction: column;
    text-align: center;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 2rem;
    font-size: 1.3rem;
    color: #888;
}

.footer-legal a {
    margin: 0 1rem;
}

.footer-legal a:hover {
    color: #fff;
}

/* ==========================================================================
   Live Commerce Custom Extensions
   ========================================================================== */
/* Hero Status Banner (Relocated) */
.live-status-container-relocated {
    width: 100%;
    text-align: center;
    padding: 20px 5%;
    background-color: var(--bg-main);
    z-index: 10;
}

.on-air-banner {
    display: inline-flex;
    align-items: center;
    background: rgba(0, 0, 0, 0.7);
    color: #fff;
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 1.4rem;
    font-weight: 500;
    gap: 10px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(5px);
}

.pulse-dot {
    width: 8px;
    height: 8px;
    background-color: #e74c3c;
    border-radius: 50%;
    animation: blink 1s infinite alternate;
}

@keyframes blink {
    0% {
        opacity: 0.3;
    }

    100% {
        opacity: 1;
    }
}

.live-btn {
    background: #e74c3c;
    color: #fff;
    padding: 2px 10px;
    border-radius: 10px;
    font-size: 1.2rem;
    margin-left: 10px;
}

.live-btn:hover {
    background: #c0392b;
}

.next-live-banner {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(255, 255, 255, 0.95);
    color: var(--text-main);
    padding: 12px 24px;
    border-radius: 24px;
    font-size: 1.5rem;
    font-weight: 500;
    letter-spacing: 0.03em;
    box-shadow: 0 4px 18px rgba(0, 0, 0, 0.1);
    border: 1px solid var(--primary-color);
}

.next-live-banner .calendar-icon {
    font-size: 1.6rem;
}

.next-live-banner strong {
    color: var(--primary-color);
    font-size: 1.6rem;
}

/* Live Items Grid */
.live-items-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
    margin-top: 30px;
}

.live-item-card {
    background: #fff;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
    border: 1px solid var(--border-color);
}

.live-item-img-wrapper {
    position: relative;
    padding-top: 100%;
    /* 1:1 Aspect */
    overflow: hidden;
}

.live-item-img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.live-tag {
    position: absolute;
    top: 8px;
    left: 8px;
    background: #e74c3c;
    color: #fff;
    font-size: 1rem;
    padding: 2px 6px;
    border-radius: 4px;
    font-weight: bold;
}

.live-item-info {
    padding: 15px;
    text-align: center;
}

.live-item-title {
    font-size: 1.3rem;
    margin-bottom: 5px;
    color: var(--text-main);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.live-item-price {
    font-family: var(--font-heading);
    font-size: 1.6rem;
    color: var(--primary-color);
    margin-bottom: 10px;
}

.live-item-btn {
    display: block;
    background: #06C755;
    color: #fff;
    font-size: 1.2rem;
    padding: 8px;
    border-radius: 4px;
    text-decoration: none;
    transition: 0.3s;
}

.live-item-btn:hover {
    background: #05b34c;
}

/* Video Gallery */
.video-gallery-grid {
    display: flex;
    flex-direction: column;
    gap: 30px;
    margin-top: 30px;
}

.ig-iframe-wrapper {
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
    overflow: hidden;
}

/* Floating LINE Button */
.floating-line-btn {
    position: fixed;
    bottom: 20px;
    right: 20px;
    width: 70px;
    height: 70px;
    background-color: #06C755;
    color: #fff;
    border-radius: 50%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    box-shadow: 0 4px 15px rgba(6, 199, 85, 0.4);
    z-index: 999;
    transition: transform 0.3s;
}

@media (min-width: 481px) {

    /* PC Center Mode: Anchor LINE button to the wrapper, not viewport right */
    .app-wrapper {
        position: relative;
        /* already set */
    }

    .floating-line-btn {
        position: absolute;
        /* relative to app-wrapper */
        bottom: 20px;
        right: 20px;
        position: fixed;
        /* Still fixed relative to viewport, but we center it using calc */
        right: calc(50% - 240px + 20px);
    }
}

.floating-line-btn i {
    font-size: 2.8rem;
    margin-bottom: -2px;
}

.floating-line-btn span {
    font-size: 1rem;
    line-height: 1.1;
    font-weight: 500;
    text-align: center;
}

.floating-line-btn:hover {
    transform: translateY(-5px) scale(1.05);
    color: #fff;
}

/* ==========================================================================
   Animations
   ========================================================================== */
.fade-in-up {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 1s ease-out, transform 1s ease-out;
}

.delay-1 {
    transition-delay: 0.2s;
}

.delay-2 {
    transition-delay: 0.4s;
}

.delay-3 {
    transition-delay: 0.6s;
}

.section-fade-in {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 1s ease-out, transform 1s ease-out;
}

.is-visible {
    opacity: 1;
    transform: translateY(0);
}

.mobile-break {
    display: none;
}

@media (max-width: 480px) {
    .mobile-break {
        display: block;
    }
}