:root {
    --primary-gold: #F2C94C;
    --primary-gold-dark: #D4AF37;
    --accent-green: #219653;
    --dark-text: #333333;
    --light-text: #F9F9F9;
    --bg-light: #FFFEF5;
    /* Warm off-white */
    --bg-dark: #121212;
    --card-shadow: 0 10px 20px rgba(0, 0, 0, 0.08);
    --font-sans: 'Noto Sans JP', sans-serif;
    --font-serif: 'Zen Old Mincho', serif;
}

/* Reset & Base */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: var(--font-sans);
    color: var(--dark-text);
    background-color: var(--bg-light);
    line-height: 1.8;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--font-serif);
    font-weight: 700;
}

a {
    text-decoration: none;
    color: inherit;
    transition: all 0.3s ease;
}

ul {
    list-style: none;
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.serif {
    font-family: var(--font-serif);
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 15px 40px;
    border-radius: 50px;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
    cursor: pointer;
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary-gold), var(--primary-gold-dark));
    color: #fff;
    box-shadow: 0 4px 15px rgba(242, 201, 76, 0.4);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(242, 201, 76, 0.6);
}

/* Header */
.header {
    background-color: rgba(255, 255, 255, 0.95);
    padding: 20px 0;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-left: 5%;
    padding-right: 5%;
}

.logo {
    font-family: var(--font-sans);
    font-weight: 900;
    font-size: 1.5rem;
    color: var(--accent-green);
    letter-spacing: -0.5px;
}

.nav a {
    margin-left: 30px;
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--dark-text);
}

.nav a:hover {
    color: var(--primary-gold-dark);
}

/* Hero Section */
.hero {
    position: relative;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: #fff;
    overflow: hidden;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.4);
    /* Darken the background image for readability */
    z-index: 0;
}

.hero-bg-placeholder {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(rgba(0, 0, 0, 0.3), rgba(0, 0, 0, 0.5)), #219653;
    /* Fallback color */
    z-index: -1;
}

.hero-content {
    position: relative;
    z-index: 1;
    /* Ensure content is above overlay */
    max-width: 800px;
    padding: 20px;
    animation: fadeIn 1.5s ease-out;
}

.tagline {
    display: block;
    font-size: 1.2rem;
    margin-bottom: 20px;
    font-weight: 500;
    letter-spacing: 2px;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.hero h1 {
    font-size: 3.5rem;
    line-height: 1.2;
    margin-bottom: 30px;
    text-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
}

@media (max-width: 768px) {
    .hero h1 {
        font-size: 2.2rem;
    }
}

.hero p {
    font-size: 1.2rem;
    margin-bottom: 40px;
    font-weight: 300;
}

/* Intro Section */
.intro {
    padding: 30px 0;
    text-align: center;
    background-color: var(--bg-light);
}

.intro h2 {
    font-size: 2rem;
    margin-bottom: 40px;
    color: var(--accent-green);
    line-height: 1.6;
}

.intro-text {
    max-width: 700px;
    margin: 0 auto;
    text-align: left;
    font-size: 1.1rem;
}

.intro-text p {
    margin-bottom: 20px;
}

/* Story Section */
.story {
    padding: 30px 0;
    background-color: #ffff;
}

.section-title {
    text-align: center;
    margin-bottom: 80px;
}

.section-title span {
    display: block;
    font-size: 0.9rem;
    color: var(--primary-gold-dark);
    letter-spacing: 3px;
    text-transform: uppercase;
    margin-bottom: 10px;
    font-weight: 700;
}

.section-title h2 {
    font-size: 2.5rem;
    color: var(--dark-text);
}

.story-block {
    display: flex;
    align-items: center;
    margin-bottom: 100px;
    gap: 60px;
}

.story-block.reverse {
    flex-direction: row-reverse;
}

.story-image {
    flex: 1;
    height: 400px;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: var(--card-shadow);
}

.story-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.story-block:hover .story-image img {
    transform: scale(1.05);
    /* Slight zoom on hover */
}

.story-content {
    flex: 1;
}


.story-content h3 {
    font-size: 1.8rem;
    margin-bottom: 20px;
    color: var(--accent-green);
}

.story-content p {
    margin-bottom: 20px;
    color: #555;
}

.feature-list li {
    margin-bottom: 15px;
    padding-left: 20px;
    position: relative;
}

.feature-list li::before {
    content: "•";
    color: var(--primary-gold);
    position: absolute;
    left: 0;
    font-weight: bold;
}

@media (max-width: 768px) {

    .story-block,
    .story-block.reverse {
        flex-direction: column;
        gap: 30px;
    }

    .story-image-placeholder {
        width: 100%;
        height: 250px;
    }

    .intro,
    .story,
    .returns,
    .funding {
        padding: 30px 0;
    }

    .section-title {
        margin-bottom: 40px;
    }
}

/* Returns Section */
.returns {
    padding: 30px 0;
    background-color: #F8FDF9;
}

.returns-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
}

.return-card {
    background: #fff;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: var(--card-shadow);
    transition: transform 0.3s ease;
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.return-card:hover {
    transform: translateY(-10px);
}

.return-image {
    height: 250px;
    overflow: hidden;
    position: relative;
}

.return-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.return-card:hover .return-image img {
    transform: scale(1.1);
}


.course-label {
    position: absolute;
    top: 20px;
    left: 20px;
    background-color: var(--accent-green);
    color: #fff;
    padding: 5px 15px;
    border-radius: 30px;
    font-size: 0.8rem;
    font-weight: 700;
    z-index: 10;
}

.return-card.highlight .course-label {
    background-color: var(--primary-gold-dark);
}

.return-card.special .course-label {
    background-color: #000;
}

.return-content {
    padding: 30px;
}

.return-content h3 {
    font-size: 1.4rem;
    margin-bottom: 15px;
    line-height: 1.4;
    min-height: 3.4em;
    /* align titles */
}

.return-content .description {
    font-size: 0.95rem;
    color: #666;
    margin-bottom: 25px;
    min-height: 4.5em;
    /* align descriptions */
}

.price-options {
    background-color: #f9f9f9;
    border-radius: 10px;
    padding: 15px;
}

.option {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    margin-bottom: 10px;
    border-bottom: 1px dashed #ddd;
    padding-bottom: 10px;
}

.option:last-child {
    margin-bottom: 0;
    border-bottom: none;
    padding-bottom: 0;
}

.option .price {
    font-weight: 700;
    font-size: 1.1rem;
    color: var(--accent-green);
    min-width: 90px;
}

.option .detail {
    font-size: 0.9rem;
    color: #555;
    text-align: right;
}

/* Funding Section */
.funding {
    padding: 30px 0;
    background-color: var(--bg-light);
    text-align: center;
}

.funding-chart {
    max-width: 800px;
    margin: 0 auto;
    background: #fff;
    padding: 50px;
    border-radius: 20px;
    box-shadow: var(--card-shadow);
}

.funding-total {
    font-size: 1.5rem;
    margin-bottom: 40px;
    font-weight: 700;
}

.funding-total span {
    font-size: 2.5rem;
    color: var(--accent-green);
    margin-left: 20px;
}

.funding-list li {
    display: flex;
    justify-content: space-between;
    padding: 15px 0;
    border-bottom: 1px solid #eee;
    font-size: 1.1rem;
}

.funding-list li:last-child {
    border-bottom: none;
}

.funding-list .amount {
    font-weight: 700;
}

/* Footer */
.footer {
    background-color: var(--accent-green);
    color: #fff;
    padding: 50px 0;
    text-align: center;
}

.footer-logo {
    font-size: 1.8rem;
    font-weight: 900;
    margin-bottom: 20px;
}

.copyright {
    margin-top: 30px;
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.7);
}

/* Animations */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}