:root {
    /* Colors from Canva & requirements */
    --color-bg-base: #FFFFFF;
    --color-bg-light: #F8F8F6;
    /* #F8F8F6〜#F5F5F3 */
    --color-bg-story: #F7F7F5;
    --color-bg-voices: #FAF9F7;
    --color-bg-footer: #F0F0EE;

    --color-text-primary: #2F2F2F;
    --color-text-secondary: #333333;

    --color-accent-green: #7B886F;
    --color-accent-green-pale: #C7D6C1;
    --color-accent-yellow: #F6E5A9;

    /* Typography */
    --font-serif: 'Noto Serif JP', serif;
    --font-sans: 'Noto Sans JP', sans-serif;
    --line-height-body: 1.9;

    /* Layout */
    --container-width: 1100px;
    --container-width-narrow: 800px;
    --section-padding: 100px;
}

/* --- Base & Typography --- */
body {
    font-family: var(--font-sans);
    margin: 0;
    color: var(--color-text-secondary);
    background-color: var(--color-bg-base);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    line-height: var(--line-height-body);
}

.container {
    width: 90%;
    max-width: var(--container-width);
    margin: 0 auto;
}

.container.narrow {
    max-width: var(--container-width-narrow);
}

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

h1,
h2,
h3,
h4 {
    font-family: var(--font-serif);
    color: var(--color-text-primary);
    font-weight: 700;
}

h1 {
    font-size: clamp(2.2rem, 5vw, 2.8rem);
    line-height: 1.5;
}

h2 {
    font-size: clamp(1.8rem, 4vw, 2.2rem);
    line-height: 1.6;
}

h3 {
    font-size: clamp(1.3rem, 3vw, 1.5rem);
    line-height: 1.7;
}

h4 {
    font-size: clamp(1.1rem, 2.5vw, 1.2rem);
    font-family: var(--font-sans);
    font-weight: 700;
}

p {
    margin-bottom: 1.5em;
}

.section-title {
    margin-bottom: 3em;
}

/* --- Animations --- */
.anim-fade-in {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.anim-fade-in.is-visible {
    opacity: 1;
    transform: translateY(0);
}

/* --- Hero Section --- */
.hero-section {
    background-color: var(--color-bg-light);
    padding: 0;
    overflow: hidden;
}

.hero-layout {
    display: grid;
    grid-template-columns: 1fr;
    align-items: center;
    gap: 40px;
}

@media (min-width: 768px) {
    .hero-layout {
        grid-template-columns: 1.5fr 1fr;
        gap: 80px;
    }
}

.hero-image-container img {
    width: 100%;
    height: auto;
    object-fit: cover;
}

.hero-text-block .catchphrase {
    font-family: var(--font-serif);
    font-size: 1.2rem;
    margin-bottom: 0.5em;
}

.hero-text-block .subtitle {
    margin: 1.5em 0;
}

.cta-area {
    margin-top: 2em;
}

.cta-button {
    display: inline-block;
    background-color: var(--color-accent-green);
    color: white;
    padding: 16px 32px;
    text-decoration: none;
    border-radius: 8px;
    font-weight: 700;
    transition: background-color 0.3s, transform 0.3s;
}

.cta-button:hover {
    background-color: #6a7860;
    transform: translateY(-2px);
}

.cta-subtext {
    font-size: 0.9rem;
    margin-top: 0.8em;
    color: #666;
}

/* --- Achievements Area (in Hero) --- */
.achievements-area {
    margin-top: -100px;
    /* Moved up further by approx 2cm */
    padding: 20px 0;
    background-color: var(--color-accent-yellow);
    border-radius: 8px;
    width: 100%;
    position: relative;
    z-index: 10;
}

.achievements-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 15px 30px;
    font-weight: 700;
    font-size: 0.85rem;
    color: var(--color-text-primary);
}

.award-icon {
    margin-right: 6px;
    font-size: 1.1em;
}

/* --- Odor Cause Section --- */
.odor-cause-section {
    padding: 20px 0 var(--section-padding) 0;
    background-color: var(--color-accent-green-pale);
    /* Using a light background for contrast */
}

.odor-cause-section .section-title {
    margin-bottom: 2em;
}

.odor-cause-section p {
    font-size: 1.1rem;
    line-height: 1.8;
    margin-bottom: 1em;
}

.odor-cause-section .small-text {
    font-size: 0.85rem;
    color: #666;
    margin-top: 1em;
}

.odor-cause-section .author-text {
    font-size: 0.9rem;
    color: #555;
    text-align: right;
    margin-top: 2em;
}

.odor-cause-section hr {
    border: none;
    border-top: 1px solid #ddd;
    margin: 2em 0;
}

/* --- Story Section --- */
.story-section {
    padding: var(--section-padding) 0;
    background-color: var(--color-bg-story);
}

.story-layout {
    display: grid;
    grid-template-columns: 1fr;
    gap: 40px;
    align-items: center;
}

.story-image img {
    width: 100%;
    height: auto;
    border-radius: 8px;
    /* Optional: Add shadow or other styles if needed */
}

@media (min-width: 768px) {
    .story-layout {
        grid-template-columns: 1.2fr 0.8fr;
        /* Text takes slightly more space */
        gap: 60px;
    }
}

/* --- Features Section --- */
.features-section {
    padding: var(--section-padding) 0;
    background-color: var(--color-bg-base);
}

.feature-item {
    padding: 50px 0;
}

.feature-item:nth-child(odd) {
    background-color: var(--color-bg-light);
}

.media-layout {
    display: grid;
    grid-template-columns: 1fr;
    gap: 40px;
    align-items: center;
}

.media-element {
    text-align: center;
}

.media-element img {
    max-width: 80%;
    /* Restrict image size */
    height: auto;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}

@media (min-width: 768px) {
    .media-layout {
        grid-template-columns: 1fr 1fr;
        gap: 80px;
    }
}

.media-layout.media-right .media-element {
    order: 1;
}

@media (min-width: 768px) {
    .media-right .text-content {
        text-align: right;
    }
}

.evidence-area {
    margin-top: 50px;
    text-align: center;
}

.evidence-area .highlight {
    background: linear-gradient(transparent 60%, var(--color-accent-yellow) 60%);
    padding: 2px 0;
}

.evidence-img {
    max-width: 80%;
    height: auto;
    display: block;
    margin: 20px auto;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}

.img-sm {
    max-width: 60% !important;
}

/* --- Voices Section --- */
.voices-section {
    padding: var(--section-padding) 0;
    background-color: var(--color-bg-voices);
}

.voices-list {
    display: flex;
    flex-direction: column;
    gap: 60px;
    margin-top: 3em;
}

.voice-item {
    display: flex;
    align-items: center;
    gap: 40px;
}

/* Zigzag Layout: Even items reversed */
.voice-item:nth-child(even) {
    flex-direction: row-reverse;
}

.voice-image {
    flex: 0 0 40%;
    /* Image takes 40% width */
}

.placeholder-image {
    width: 100%;
    aspect-ratio: 4 / 3;
    background-color: #e0e0e0;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.placeholder-image::after {
    content: "Image";
    color: #999;
    font-weight: 700;
}

.voice-content {
    flex: 1;
}

.voice-text {
    font-size: 1rem;
    line-height: 1.8;
    margin-bottom: 1em;
}

.voice-author {
    text-align: right;
    font-weight: 700;
    color: #888;
    font-size: 0.9rem;
}

.voice-author-left {
    text-align: left;
    margin-right: 20%; /* Pushes the text block away from the right edge */
}

.star-rating {
    color: #FFD700;
    /* Gold color for stars */
    font-size: 1.2em;
    display: inline-block;
    /* To align with text */
    margin-top: 5px;
    /* Adjust spacing */
}

@media (max-width: 767px) {
    .voice-item {
        flex-direction: column;
        gap: 20px;
    }

    .voice-item:nth-child(even) {
        flex-direction: column;
    }

    .voice-image {
        width: 100%;
    }
}

/* --- Closing Section --- */
.closing-section {
    padding: var(--section-padding) 0;
    background-color: var(--color-bg-base);
}

.closing-text {
    font-family: var(--font-serif);
    font-size: 1.2rem;
    line-height: 2;
}

.closing-headline {
    margin: 1.5em 0;
}

.closing-section .cta-button {
    background-color: var(--color-text-primary);
}

.closing-section .cta-button:hover {
    background-color: #000;
}

/* --- FAQ Section --- */
.faq-section {
    padding: var(--section-padding) 0;
    background-color: var(--color-bg-light);
}

.faq-list {
    margin-top: 3em;
}

.faq-item {
    border-bottom: 1px solid #ddd;
    padding: 20px 0;
}

.faq-item summary {
    font-weight: 700;
    font-size: 1.1rem;
    cursor: pointer;
    position: relative;
    padding-right: 30px;
}

.faq-item summary::after {
    content: '+';
    position: absolute;
    right: 0;
    font-size: 1.5rem;
    transition: transform 0.3s;
}

.faq-item[open] summary::after {
    transform: rotate(45deg);
}

.faq-item p {
    padding: 1em 0 0;
    margin: 0;
}

/* --- Footer --- */
.footer {
    padding: 50px 0;
    background-color: var(--color-bg-footer);
}

.footer-links {
    margin-bottom: 20px;
}

.footer-links a {
    margin: 0 15px;
    color: var(--color-text-secondary);
    text-decoration: none;
}

.footer-links a:hover {
    text-decoration: underline;
}

.copyright {
    font-size: 0.9rem;
    color: #888;
    margin-top: 20px;
}

@media (max-width: 767px) {
    :root {
        --section-padding: 60px;
    }

    .media-layout.media-right .media-element {
        order: -1;
    }

    .media-right .text-content {
        text-align: left;
    }
}