/* ===========================
   Base & Reset
=========================== */
body {
    font-family: 'Noto Serif JP', serif;
    margin: 0;
    padding: 0;
    background-color: #F8F5F0;
    color: #585858;
    line-height: 1.9;
    scroll-behavior: smooth;
}

h1, h2, h3 {
    font-family: 'Noto Serif JP', serif;
    color: #333;
    font-weight: 500;
    letter-spacing: 0.08em;
}

a {
    color: #c8845a;
    text-decoration: none;
    transition: color 0.3s ease;
}
a:hover {
    color: #a86840;
}

.accent-color {
    color: #c8845a;
}

.text-center {
    text-align: center;
}

/* ===========================
   Header
=========================== */
.site-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    padding: 18px 5%;
    box-sizing: border-box;
    z-index: 100;
    transition: background-color 0.4s ease, box-shadow 0.4s ease;
}

.site-header.scrolled {
    background-color: rgba(248, 245, 240, 0.95);
    box-shadow: 0 1px 20px rgba(0,0,0,0.06);
    backdrop-filter: blur(8px);
}

.logo-image {
    height: 44px;
    width: auto;
}

/* ===========================
   Section Base
=========================== */
section {
    padding: 110px 5%;
    max-width: 1000px;
    margin: 0 auto;
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 1.1s cubic-bezier(0.25, 1, 0.5, 1), transform 1.1s cubic-bezier(0.25, 1, 0.5, 1);
}

section.is-visible {
    opacity: 1;
    transform: translateY(0);
}

main {
    padding-top: 90px;
}

/* ===========================
   First View
=========================== */
#first-view {
    height: 100vh;
    min-height: 600px;
    position: relative;
    display: flex;
    align-items: center;
    background-image: url('/and-rest/images/hero-image.png');
    background-size: cover;
    background-position: center;
    color: #fff;
    max-width: 100%;
    padding: 0;
}

.hero-content-wrapper {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 7%;
    box-sizing: border-box;
}

.fv-text-container {
    width: 48%;
    box-sizing: border-box;
}

#first-view h1,
#first-view p {
    color: #fff;
    text-shadow: 0 2px 12px rgba(0, 0, 0, 0.4);
}

#first-view h1 {
    font-size: clamp(2.4em, 5vw, 3.6em);
    margin-bottom: 16px;
    line-height: 1.5;
    font-weight: 400;
}

#first-view p {
    font-size: clamp(1em, 2vw, 1.2em);
    margin-top: 0;
    margin-bottom: 36px;
    letter-spacing: 0.1em;
    opacity: 0.9;
}

/* ===========================
   Sub Catchphrase
=========================== */
#sub-catchphrase {
    padding: 60px 5%;
}

#sub-catchphrase p {
    font-size: 1.05em;
    font-style: italic;
    font-weight: 400;
    color: #aaa;
    letter-spacing: 0.15em;
}

/* ===========================
   Product Image
=========================== */
#product-image-section {
    padding-top: 0;
    padding-bottom: 80px;
    text-align: center;
}

#product-image-section img {
    max-width: 62%;
    height: auto;
    display: block;
    margin: 0 auto;
    border-radius: 16px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.1);
}

/* ===========================
   Introduction
=========================== */
#introduction {
    display: flex;
    align-items: center;
    gap: 60px;
}

.intro-text-container {
    flex: 1;
}

.intro-text-container h2 {
    font-size: clamp(1.3em, 2.5vw, 1.7em);
    line-height: 1.7;
    margin-bottom: 12px;
}

.intro-text-container h3.sub-headline {
    font-size: clamp(1.1em, 2vw, 1.4em);
    line-height: 1.7;
    margin-bottom: 24px;
}

.intro-image-container {
    flex: 0 0 42%;
}

.intro-image-container img {
    width: 100%;
    height: auto;
    border-radius: 12px;
    display: block;
    box-shadow: 0 10px 30px rgba(0,0,0,0.08);
}

.concept-definition {
    border-left: 3px solid #c8845a;
    padding-left: 20px;
    margin: 28px 0;
}

.concept-definition p {
    font-size: 0.93em;
    color: #444;
    line-height: 1.9;
}

/* ===========================
   Benefits
=========================== */
#benefits {
    display: flex;
    align-items: center;
    gap: 60px;
}

.benefits-image-container {
    flex: 0 0 44%;
}

.benefits-image-container img {
    width: 100%;
    height: auto;
    border-radius: 12px;
    display: block;
    box-shadow: 0 10px 30px rgba(0,0,0,0.08);
}

.benefits-text-container {
    flex: 1;
}

.benefits-text-container h2 {
    font-size: clamp(1.2em, 2.2vw, 1.5em);
    line-height: 1.7;
    margin-bottom: 32px;
}

.benefit-item {
    margin-bottom: 28px;
    padding-bottom: 28px;
    border-bottom: 1px solid #e8e2da;
}

.benefit-item:last-child {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}

.benefit-item h3 {
    font-size: 1.05em;
    margin-bottom: 8px;
}

.benefit-item p {
    font-size: 0.93em;
    color: #666;
    line-height: 1.9;
    margin: 0;
}

/* ===========================
   Commitment
=========================== */
#commitment {
    background-color: #fff;
    border-radius: 16px;
    max-width: 1000px;
    padding: 80px 60px;
}

#commitment h2 {
    font-size: clamp(1.2em, 2.2vw, 1.5em);
    margin-bottom: 12px;
}

#commitment > p.text-center {
    color: #888;
    font-size: 0.93em;
    margin-bottom: 56px;
}

.commitment-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    margin-top: 0;
}

.commitment-item {
    padding: 28px 32px;
    background-color: #F8F5F0;
    border-radius: 12px;
    border-top: 3px solid #c8845a;
}

.commitment-item h3 {
    font-size: 1.05em;
    margin-bottom: 12px;
    margin-top: 0;
}

.commitment-item p {
    font-size: 0.91em;
    color: #666;
    line-height: 1.9;
    margin: 0;
}

/* ===========================
   How to Enjoy
=========================== */
#how-to-enjoy {
    max-width: 1000px;
}

#how-to-enjoy h2 {
    font-size: clamp(1.3em, 2.5vw, 1.7em);
    line-height: 1.7;
    margin-bottom: 0;
}

.recipe-row {
    display: flex;
    align-items: center;
    gap: 56px;
    margin-top: 70px;
}

.recipe-row:nth-child(even) {
    flex-direction: row-reverse;
}

.recipe-image {
    flex: 0 0 48%;
}

.recipe-image img {
    width: 100%;
    height: auto;
    border-radius: 12px;
    display: block;
    box-shadow: 0 8px 24px rgba(0,0,0,0.08);
}

.recipe-text {
    flex: 1;
}

.recipe-text h3 {
    font-size: 1.2em;
    color: #c8845a;
    margin-bottom: 12px;
    letter-spacing: 0.05em;
}

.recipe-text p {
    font-size: 0.93em;
    color: #666;
    line-height: 1.9;
}

/* ===========================
   Developer Message
=========================== */
#developer-message {
    background-color: #fff;
    border-radius: 16px;
    padding: 80px 60px;
}

#developer-message h2 {
    font-size: clamp(1.2em, 2.2vw, 1.5em);
    margin-bottom: 36px;
}

.developer-image {
    width: 160px;
    height: 160px;
    max-width: 100%;
    border-radius: 50%;
    object-fit: cover;
    margin-bottom: 28px;
    box-shadow: 0 6px 20px rgba(0,0,0,0.1);
}

#developer-message p.text-center {
    font-size: 0.95em;
    color: #555;
    max-width: 600px;
    margin: 0 auto;
    line-height: 2;
}

/* ===========================
   Purchase Section
=========================== */
#purchase-section {
    display: flex;
    align-items: center;
    gap: 60px;
    background-color: #fff;
    border-radius: 16px;
    padding: 80px 60px;
    max-width: 1000px;
}

.purchase-image-container {
    flex: 0 0 46%;
}

.purchase-image-container img {
    width: 100%;
    height: auto;
    border-radius: 12px;
    box-shadow: 0 12px 32px rgba(0,0,0,0.09);
}

.purchase-text-container {
    flex: 1;
    text-align: left;
}

.purchase-text-container h2 {
    font-size: clamp(1.3em, 2.5vw, 1.8em);
    line-height: 1.7;
    margin-bottom: 16px;
    text-wrap: balance;
}

.purchase-text-container p {
    font-size: 0.95em;
    color: #666;
    margin-bottom: 28px;
}

/* ===========================
   CTA Button
=========================== */
.cta-button {
    display: inline-block;
    background-color: #c8845a;
    color: #fff;
    padding: 16px 34px;
    border-radius: 6px;
    font-size: 1em;
    font-family: 'Noto Serif JP', serif;
    text-decoration: none;
    letter-spacing: 0.06em;
    transition: background-color 0.3s ease, transform 0.3s ease, box-shadow 0.3s ease;
    box-shadow: 0 4px 16px rgba(200, 132, 90, 0.3);
}

.cta-button:hover {
    background-color: #a86840;
    transform: translateY(-3px);
    box-shadow: 0 8px 24px rgba(200, 132, 90, 0.4);
    color: #fff;
}

/* ===========================
   Footer
=========================== */
footer {
    background-color: #3a3530;
    color: #bbb;
    margin-top: 80px;
}

footer section {
    max-width: 1000px;
    padding: 48px 5%;
    opacity: 1;
    transform: none;
}

footer p {
    font-size: 0.85em;
    margin: 6px 0;
    color: #999;
}

footer a {
    color: #c8845a;
    font-size: 0.85em;
}

footer a:hover {
    color: #e0a070;
}

/* ===========================
   Responsive
=========================== */
@media (max-width: 768px) {
    section {
        padding: 72px 5%;
    }

    #first-view {
        height: auto;
        min-height: 100vh;
        padding: 100px 5% 80px;
        background-position: right center;
        max-width: 100%;
    }

    .fv-text-container {
        width: 100%;
    }

    #first-view h1 {
        font-size: 2.2em;
        text-align: left;
    }

    #product-image-section img {
        max-width: 88%;
    }

    #introduction,
    #benefits {
        flex-direction: column;
        gap: 36px;
    }

    .intro-image-container,
    .benefits-image-container {
        width: 100%;
        flex: none;
    }

    .intro-text-container {
        text-align: left;
    }

    .commitment-grid {
        grid-template-columns: 1fr;
        gap: 24px;
    }

    #commitment,
    #developer-message,
    #purchase-section {
        padding: 56px 28px;
        border-radius: 12px;
    }

    .recipe-row,
    .recipe-row:nth-child(even) {
        flex-direction: column;
        gap: 28px;
    }

    .recipe-image {
        flex: none;
        width: 100%;
    }

    #purchase-section {
        flex-direction: column;
        gap: 36px;
    }

    .purchase-text-container {
        text-align: center;
    }

    .purchase-image-container {
        flex: none;
        width: 100%;
    }
}