@charset "UTF-8";
@import url('https://fonts.googleapis.com/css2?family=Lato:wght@400;700&family=Noto+Sans+JP:wght@300;400;500;700&family=Zen+Old+Mincho:wght@400;700;900&family=Shippori+Mincho:wght@400;500;600;700&display=swap');

/* Reset & Base */
:root {
    /* Legacy Bloom Palette */
    --color-bg: #0a2f23; /* Deep Forest Green */
    --color-bg-card: #0d3b2c; /* Slightly Lighter Green for cards */
    --color-text: #fcfcfc; /* Platinum White */
    --color-text-muted: #rgba(252, 252, 252, 0.7);
    
    --color-accent: #e6c875; /* Champagne Gold */
    --color-accent-strong: #f08300; /* Vivid Orange */
    --color-accent-pink: #ea7a98; /* Celebration Pink */
    
    --color-link: #e6c875;
    --color-border: rgba(230, 200, 117, 0.3); /* Gold Transparent */

    --font-base: 'Noto Sans JP', sans-serif;
    --font-heading: 'Zen Old Mincho', serif;
    --font-en: 'Lato', sans-serif;

    --width-container: 1140px;
    --width-content: 720px;
    --width-sidebar: 360px;
}

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

body {
    font-family: var(--font-base);
    color: var(--color-text);
    line-height: 1.8; /* Slightly looser for elegance */
    background-color: var(--color-bg);
    font-size: 16px;
    -webkit-font-smoothing: antialiased;
    background-image: radial-gradient(circle at 10% 20%, rgba(234, 122, 152, 0.1) 0%, transparent 20%),
                      radial-gradient(circle at 90% 80%, rgba(240, 131, 0, 0.05) 0%, transparent 20%);
}

a {
    color: var(--color-link);
    text-decoration: none;
    transition: all 0.3s ease;
}

a:hover {
    color: #fff;
    text-shadow: 0 0 8px rgba(230, 200, 117, 0.6);
}

img {
    max-width: 100%;
    height: auto;
    vertical-align: bottom;
}

.container {
    max-width: var(--width-container);
    margin: 0 auto;
    padding: 0 20px;
}

/* Header */
.site-header {
    background: rgba(10, 47, 35, 0.95); /* Semi-transparent base */
    border-bottom: 1px solid var(--color-border);
    height: 70px;
    display: flex;
    align-items: center;
    position: sticky;
    top: 0;
    z-index: 1000;
    backdrop-filter: blur(5px);
}

.header-inner {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-weight: 700;
    font-size: 1.4rem;
    font-family: var(--font-en);
    letter-spacing: 0.05em;
    color: var(--color-accent);
}

.logo a {
    color: var(--color-accent);
}

/* Project Header (Hero) */
.project-header {
    padding: 60px 0;
    position: relative;
    overflow: hidden;
}

.project-title {
    font-family: var(--font-heading);
    font-size: 32px;
    font-weight: 900;
    margin-bottom: 30px;
    line-height: 1.5;
    background: linear-gradient(45deg, #e6c875, #fff, #e6c875);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    text-shadow: 0 0 20px rgba(230, 200, 117, 0.3);
}

.project-hero-grid {
    display: flex;
    gap: 40px;
    align-items: flex-start;
}

.hero-main-visual {
    flex: 1;
    border-radius: 4px;
    overflow: hidden;
    position: relative;
    padding-bottom: 56.25%; 
    background: #000;
    border: 1px solid var(--color-border);
    box-shadow: 0 10px 30px rgba(0,0,0,0.5);
}

.hero-main-visual img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.9;
}

.hero-status-panel {
    width: 360px;
    flex-shrink: 0;
    /* Floral Background with Vivid Overlay */
    background: linear-gradient(rgba(10, 47, 35, 0.8), rgba(10, 47, 35, 0.7)), url('images/bg_floral_vivid.png');
    background-size: cover;
    background-position: center;
    padding: 24px;
    border-radius: 8px;
    border: 1px solid var(--color-accent); /* Gold Border */
    box-shadow: 0 4px 20px rgba(230, 200, 117, 0.2);
}

/* Tooltip Styles */
.all-in-tooltip-container {
    position: relative;
    display: inline-block;
    margin-bottom: 5px;
    cursor: help;
}

.all-in-label {
    font-size: 13px;
    color: var(--color-accent);
    border-bottom: 1px dashed var(--color-accent);
}

.tooltip-text {
    visibility: hidden;
    width: 240px;
    background-color: #333;
    color: #fff;
    text-align: center;
    border-radius: 6px;
    padding: 10px;
    position: absolute;
    z-index: 100;
    bottom: 125%;
    left: 50%;
    margin-left: -120px;
    opacity: 0;
    transition: opacity 0.3s;
    font-size: 12px;
    line-height: 1.4;
    box-shadow: 0 4px 10px rgba(0,0,0,0.3);
}

.tooltip-text::after {
    content: "";
    position: absolute;
    top: 100%;
    left: 50%;
    margin-left: -5px;
    border-width: 5px;
    border-style: solid;
    border-color: #333 transparent transparent transparent;
}

.all-in-tooltip-container:hover .tooltip-text {
    visibility: visible;
    opacity: 1;
}

/* Share Buttons */
.btn-share {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 10px 24px;
    border-radius: 50px; /* Pill shape */
    color: #fff !important;
    font-size: 14px;
    font-weight: 700;
    text-shadow: none;
    transition: opacity 0.2s;
    border: none;
    cursor: pointer;
    text-decoration: none;
    line-height: 1;
    min-width: 140px; /* Uniform width */
}
.btn-share:hover {
    opacity: 0.8;
    text-shadow: none;
    color: #fff;
    transform: translateY(-1px);
}
.btn-share-twitter {
    background-color: #000; /* X Black */
}
.btn-share-facebook {
    background-color: #1877F2; /* Facebook Blue */
}

.status-row {
    margin-bottom: 20px;
}

.current-amount {
    font-size: 40px;
    font-weight: 700;
    font-family: var(--font-en);
    line-height: 1;
    margin-bottom: 5px;
    color: #fff;
    text-shadow: 0 0 10px rgba(230, 200, 117, 0.5);
}

.target-amount {
    color: rgba(255,255,255,0.7);
    font-size: 14px;
}

.status-label {
    display: flex;
    align-items: center;
    font-size: 14px;
    color: var(--color-accent);
    margin-bottom: 6px;
    font-weight: bold;
}

.status-value {
    font-size: 24px;
    font-weight: 700;
    font-family: var(--font-en);
    color: #fff;
}

.progress-bar {
    width: 100%;
    height: 8px;
    background: rgba(255,255,255,0.1);
    border-radius: 4px;
    margin: 15px 0;
    overflow: hidden;
}

.progress-fill {
    height: 100%;
    background: linear-gradient(90deg, var(--color-accent), var(--color-accent-strong));
    border-radius: 4px;
    box-shadow: 0 0 10px rgba(240, 131, 0, 0.5);
}

.btn-support-hero {
    display: block;
    width: 100%;
    background: linear-gradient(135deg, var(--color-accent-strong), #e65100);
    color: #fff;
    text-align: center;
    padding: 18px;
    font-weight: 700;
    border-radius: 50px; /* Pill shape */
    font-size: 18px;
    margin-top: 20px;
    box-shadow: 0 4px 15px rgba(240, 131, 0, 0.4);
    transition: transform 0.2s, box-shadow 0.2s;
}

.btn-support-hero:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(240, 131, 0, 0.6);
    color: #fff;
    text-shadow: 0 0 5px rgba(255,255,255,0.5);
}

/* Nav Tabs */
.project-nav-tabs {
    border-bottom: 1px solid var(--color-border);
    margin-bottom: 40px;
    background: rgba(10, 47, 35, 0.95);
    position: sticky;
    top: 70px;
    z-index: 900;
    backdrop-filter: blur(5px);
}

.nav-list {
    display: flex;
    list-style: none;
}

.nav-item {
    margin-right: 30px;
}

.nav-link {
    display: block;
    padding: 20px 0;
    color: rgba(255,255,255,0.6);
    font-weight: 700;
    border-bottom: 3px solid transparent;
}

.nav-link.active {
    color: var(--color-accent);
    border-bottom-color: var(--color-accent);
}

/* Main Layout (2 Col) */
.project-body {
    display: flex;
    gap: 60px;
    padding-bottom: 80px;
}

.main-column {
    flex: 1;
    max-width: var(--width-content);
}

.sidebar-column {
    width: var(--width-sidebar);
    flex-shrink: 0;
}

/* Content Styles */
.project-content h2 {
    font-family: var(--font-heading);
    font-size: 28px;
    margin: 60px 0 30px;
    padding-bottom: 15px;
    border-bottom: 1px solid var(--color-border);
    color: var(--color-accent);
    background: linear-gradient(90deg, rgba(230, 200, 117, 0.1), transparent);
    padding-left: 15px;
    border-left: 4px solid var(--color-accent);
}
.project-content p {
    margin-bottom: 2em;
    font-size: 16px;
    line-height: 2;
    color: #eee;
}
.project-content img {
    width: 100%;
    aspect-ratio: 16/9;
    object-fit: cover;
    object-position: center 20%; /* Focus on face/upper part */
    border-radius: 4px;
    margin: 30px 0;
    box-shadow: 0 10px 30px rgba(0,0,0,0.3);
    border: 1px solid rgba(255,255,255,0.1);
}

/* Returns Card (Sidebar) */
.return-card {
    /* Floral Background with Dark Overlay for Returns */
    background: linear-gradient(rgba(13, 59, 44, 0.9), rgba(13, 59, 44, 0.8)), url('images/bg_floral_vivid.png');
    background-size: cover;
    background-position: center;
    
    border: 1px solid rgba(230, 200, 117, 0.3);
    border-radius: 8px;
    padding: 24px;
    margin-bottom: 20px;
    transition: all 0.3s;
    box-shadow: 0 4px 10px rgba(0,0,0,0.2);
    position: relative; /* For ribbon absolute positioning */
    overflow: hidden; /* Crop ribbon */
}

/* Stock Ribbon */
.stock-ribbon {
    position: absolute;
    top: 30px;
    right: -45px;
    background: #e74c3c; /* Alert Red */
    color: #fff;
    font-size: 15px;
    font-weight: 700;
    padding: 2px 60px; /* Minimal vertical padding */
    transform: rotate(35deg); /* Gentler angle */
    box-shadow: 0 2px 5px rgba(0,0,0,0.3);
    z-index: 20;
    min-width: 250px;
    text-align: center;
    border: 1px solid rgba(255,255,255,0.2);
    /* Ensure text doesn't touch edges */
    line-height: 1.4;
}
.stock-ribbon.warning {
    background: #f39c12; /* Orange for low stock */
}
.stock-ribbon.sold-out {
    background: #7f8c8d; /* Grey for sold out */
}

.return-card:hover {
    border-color: var(--color-accent);
    box-shadow: 0 0 15px rgba(230, 200, 117, 0.2);
    transform: translateY(-2px);
}

.return-card img {
    width: 100%;
    aspect-ratio: 16/9;
    object-fit: cover;
    object-position: center 20%;
    border-radius: 4px;
    margin-bottom: 15px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.3);
}

.return-price {
    font-size: 28px;
    font-weight: 700;
    font-family: var(--font-en);
    margin-bottom: 10px;
    display: block;
    color: var(--color-accent);
}

.return-title {
    font-weight: 700;
    margin-bottom: 15px;
    display: block;
    font-size: 1.1rem;
    color: #fff;
}

.return-desc {
    font-size: 14px;
    color: #ccc;
    margin-bottom: 20px;
    line-height: 1.6;
}

.return-meta {
    font-size: 12px;
    color: #999;
    background: rgba(0,0,0,0.3);
    padding: 10px;
    border-radius: 4px;
    display: flex;
    flex-direction: column;
    gap: 5px;
}
.return-meta i {
    color: var(--color-accent);
    width: 20px;
    text-align: center;
}

.btn-sidebar-support {
    display: block;
    width: 100%;
    background: transparent;
    border: 2px solid var(--color-accent);
    color: var(--color-accent);
    text-align: center;
    padding: 12px;
    font-weight: 700;
    border-radius: 50px;
    margin-bottom: 20px;
    transition: all 0.3s;
}

.btn-sidebar-support:hover {
    background: var(--color-accent);
    color: #000;
    box-shadow: 0 0 10px var(--color-accent);
}

/* Sticky behavior */
.sticky-sidebar {
    position: sticky;
    top: 150px; /* Header + Tabs height space */
}

/* Responsive */
/* Profile Card */
.profile-card {
    margin-bottom: 20px;
}
.profile-header {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 15px;
    color: #888;
}
.profile-inner {
    background: #fffcf5; /* Cream background */
    border: 1px solid #e0dfd5;
    padding: 24px;
    border-radius: 4px;
}
.profile-visual {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 20px;
}
.profile-icon {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    object-fit: cover;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1) !important;
    margin: 0 !important;
    border: none !important;
    object-position: center center;
}
.profile-name {
    font-size: 18px;
    font-weight: 700;
    color: #333;
}
.profile-bio {
    font-size: 14px;
    color: #333;
    line-height: 1.8;
    margin-bottom: 20px !important;
}
.profile-sns {
    display: flex;
    gap: 10px;
    margin-bottom: 20px;
}
.sns-icon {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    color: #fff;
    font-size: 20px;
    transition: opacity 0.2s;
}
.sns-icon:hover {
    opacity: 0.8;
    text-shadow: none;
    color: #fff;
}
.sns-web { background: #333; }
.sns-fb { background: #1877F2; }
.sns-ig { background: #E4405F; }

.profile-contact {
    font-size: 12px;
    line-height: 1.6;
    color: #333;
    border-top: 1px solid #e0e0e0;
    padding-top: 15px;
}

@media (max-width: 960px) {
    .project-header {
        padding: 30px 0 0; /* Create space at top, remove bottom padding */
    }
    .project-title {
        font-size: 24px; /* Smaller font for mobile */
        line-height: 1.6;
        margin-bottom: 20px;
    }
    .project-hero-grid {
        flex-direction: column;
        gap: 20px;
    }
    .hero-main-visual {
        width: 100%;
        flex: none;
        padding-bottom: 65%; /* Slightly taller on mobile */
    }
    .all-returns-section {
        display: none !important;
    }
    .hero-status-panel {
        width: 100%;
    }
    .project-body {
        flex-direction: column;
        display: block; /* Override flex */
    }
    .main-column, .sidebar-column {
        width: 100%;
        max-width: 100%;
    }
    .sidebar-column {
        margin-top: 40px;
    }
    .btn-support-hero {
        position: fixed;
        bottom: 0;
        left: 0;
        width: 100%;
        border-radius: 0;
        z-index: 2000;
        margin: 0;
        padding: 16px;
        font-size: 16px;
        box-shadow: 0 -4px 15px rgba(0,0,0,0.3);
    }
    .project-body {
        padding-bottom: 100px; /* Space for fixed button */
    }
    
    /* Hide/Show logic for BRs */
    .pc-br { display: none; }
    .sp-br { display: block; }
}

@media (min-width: 961px) {
    .sp-br { display: none; }
    .pc-br { display: block; }
}

/* Horizontal Returns Section */
.returns-grid-horizontal {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.return-card-horizontal {
    display: flex;
    background: #fff;
    border: 1px solid #e0dfd5;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 10px rgba(0,0,0,0.05);
    transition: transform 0.3s, box-shadow 0.3s;
    position: relative;
}

.return-card-horizontal:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.1);
    border-color: var(--color-accent);
}

.horizontal-img {
    width: 100%;
    aspect-ratio: 16/9;
    position: relative;
    background: #000;
    overflow: hidden;
    flex-shrink: 0;
}

.horizontal-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center top;
    opacity: 0.9;
}

.horizontal-content {
    flex: 1;
    padding: 30px;
    display: flex;
    flex-direction: column;
}

.horizontal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    padding-bottom: 15px;
    border-bottom: 1px solid #eee;
}

.horizontal-header .return-price {
    font-size: 28px;
    color: var(--color-accent);
    font-weight: 700;
    font-family: var(--font-en);
}

.horizontal-header .return-title {
    font-size: 20px;
    font-weight: 700;
    color: #333;
}

.horizontal-content .return-desc {
    font-size: 15px;
    color: #555;
    margin-bottom: 25px;
    line-height: 1.8;
}

.horizontal-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: auto;
    background: #fdfdfd;
    padding: 15px 20px;
    margin: 0 -30px -30px -30px; /* negative margin to flush with card */
    border-top: 1px solid #eee;
}

.horizontal-footer .return-meta {
    display: flex;
    gap: 20px;
    font-size: 13px;
    color: #666;
    background: none;
    padding: 0;
}

.horizontal-footer .return-meta span {
    display: flex;
    align-items: center;
    gap: 5px;
}

.horizontal-footer .btn-sidebar-support {
    width: auto;
    padding: 12px 40px;
    margin: 0;
    font-size: 16px;
}

/* Responsive for Horizontal Cards */
@media (max-width: 900px) {
    .return-card-horizontal {
        flex-direction: column;
    }
    .horizontal-img {
        width: 100%;
        height: 250px;
    }
    .horizontal-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }
    .horizontal-footer {
        flex-direction: column;
        gap: 15px;
        align-items: stretch;
        text-align: center;
    }
    .horizontal-footer .return-meta {
        justify-content: center;
    }
    .horizontal-footer .btn-sidebar-support {
        width: 100%;
    }
}
.horizontal-img .stock-ribbon {
    right: -30px;
    top: 20px;
    transform: rotate(45deg);
    padding: 2px 40px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.3);
    font-size: 14px;
}

/* New Two-Column Return Card Layout */
.horizontal-left {
    width: 300px;
    flex-shrink: 0;
    display: flex;
    flex-direction: column;
    background: #f9f9f9;
}

.horizontal-info {
    padding: 15px 20px 20px 20px;
    display: flex;
    flex-direction: column;
    gap: 10px;
    flex: 1;
}

.horizontal-info .return-title {
    font-size: 16px;
    font-weight: 700;
    color: #333;
    line-height: 1.4;
}

.horizontal-info .return-price {
    font-size: 26px;
    color: var(--color-accent);
    font-weight: 700;
    font-family: var(--font-en);
}

.return-meta-compact {
    display: flex;
    flex-direction: column;
    gap: 6px;
    font-size: 13px;
    color: #666;
    margin-top: 5px;
}

.return-meta-compact div {
    display: flex;
    align-items: center;
    gap: 5px;
}

.horizontal-right {
    flex: 1;
    padding: 30px;
    display: flex;
    flex-direction: column;
    position: relative;
}

.horizontal-right .return-desc-large {
    font-size: 16px;
    color: #444;
    line-height: 1.9;
    margin-bottom: 20px;
    flex: 1;
}

.horizontal-right .return-desc-large strong {
    color: #222;
    font-size: 17px;
}

.btn-bottom-right {
    align-self: flex-end;
    margin-top: auto;
}
