:root {
    --primary-color: #f5efe8;
    --secondary-color: #d8c3af;
    --text-color: #666;
    --heading-font: 'Cormorant Garamond', serif;
    --body-font: 'Noto Sans JP', sans-serif;
    --button-text-color: #a39589;
}

body {
    font-family: var(--body-font);
    color: var(--text-color);
    background-color: #f9f9f9;
    line-height: 1.6;
    margin: 0;
    padding: 0;
}

.bg-primary {
    background-color: var(--primary-color);
}

.bg-white {
    background-color: #fff;
}

.heading-font {
    font-family: var(--heading-font);
}

.section-padding {
    padding: 7rem 4rem;
    /* margin-left: auto; */
    /* margin-right: auto; */
}

@media (max-width: 450px) {
    .section-padding {
        padding: 1rem 1rem;


    }
}

.container {
    max-width: 72rem;
    padding-left: 1rem;
    padding-right: 1rem;
    margin-left: auto;
    margin-right: auto;
}

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

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

.section-title {
    font-family: var(--heading-font);
    font-size: clamp(1.5rem, 1rem + 2vw, 2.5rem);
    font-weight: bold;
    margin-bottom: 3rem;
}

.section-title2 {
    font-size: clamp(1.5rem, 1rem + 2vw, 2.5rem);
    font-weight: bold;
    margin-bottom: 3rem;
}

@media (max-width: 767px) {
    .section-title {
        margin-top: 1rem;
        margin-bottom: 1rem;
    }
}

@media (max-width: 450px) {
    .section-title2 {
        margin-top: 1rem;
        margin-bottom: 0;
    }
}



.section-description {
    font-size: 1.125rem;
    margin-bottom: 3rem;
}

@media (max-width: 767px) {
    .section-description {
        font-size: 1rem;
    }
}


/* Header ------------------------------------------------------------


--------------------------------------------------------------------*/


#main-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 50;
    padding: 1.5rem 2rem;
    transition: all 0.3s ease;
    background-color: var(--secondary-color);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

/* 制作サンプルサイト用固定ヘッダーがある場合の調整 */
body.has-sample-header #main-header {
    top: 45px;
}

@media (max-width: 768px) {
    body.has-sample-header #main-header {
        top: 40px;
    }
}

@media (max-width: 850px) {
    #main-header {
        padding: 1rem 1rem;
    }
}

#main-header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-family: var(--heading-font);
    font-size: 1.4rem;
    font-weight: 400;
    letter-spacing: 0.1em;
    color: #fff;
    margin: 0;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.logo::before {
    content: '';
    display: inline-block;
    width: 1.5rem;
    height: 1.5rem;
    background-image: url('../images/logo.svg');
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
}

@media (max-width: 767px) {
    .logo {
        font-size: 1.3rem;
    }
}

/* Hamburger Menu */
.hamburger-menu {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    flex-direction: column;
    justify-content: space-between;
    width: 30px;
    height: 21px;
    z-index: 100;
    margin-right: 1rem;
}

.hamburger-line {
    display: block;
    width: 100%;
    height: 2px;
    background-color: #fff;
    transition: all 0.3s ease;
}

.nav-links {
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0;
    gap: 2rem;
    align-items: center;
}

/* 850px Breakpoint for Hamburger Menu */
@media (max-width: 850px) {
    .hamburger-menu {
        display: flex;
    }

    .nav-links {
        position: fixed;
        top: 0;
        right: -100%;
        width: 100%;
        height: 100vh;
        background-color: var(--secondary-color);
        flex-direction: column;
        justify-content: center;
        gap: 2rem;
        transition: right 0.4s ease;
        z-index: 90;
    }

    .nav-links.active {
        right: 0;
    }

    /* Hamburger Animation */
    .hamburger-menu.active .hamburger-line:nth-child(1) {
        transform: translateY(9.5px) rotate(45deg);
    }

    .hamburger-menu.active .hamburger-line:nth-child(2) {
        opacity: 0;
    }

    .hamburger-menu.active .hamburger-line:nth-child(3) {
        transform: translateY(-9.5px) rotate(-45deg);
    }
}

.nav-link {
    font-size: 0.875rem;
    font-weight: normal;
    color: #fff;
    text-decoration: none;
    position: relative;
    transition: color 0.3s ease;
}

.nav-link::after {
    content: '';
    position: absolute;
    left: 50%;
    bottom: -5px;
    width: 0;
    height: 1px;
    background-color: white;
    transition: width 0.3s ease-out, left 0.3s ease-out;
}

.nav-link:hover::after {
    width: 100%;
    left: 0;
}

.contact-button {
    background-color: white;
    color: var(--button-text-color);
    padding: 0.5rem 1rem;
    border-radius: 9999px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease-in-out;
    font-weight: normal;
    text-decoration: none;
    font-size: 0.875rem;
    display: inline-block;
}

.contact-button:hover {
    background-color: #f5f5f5;
    transform: translateY(-2px) scale(1.05);
    box-shadow: 0 6px 10px rgba(0, 0, 0, 0.15);
}


/* Hero Section ------------------------------------------------------------


---------------------------------------------------------------------------*/


.hero-section {
    background-image: url('../images/HERO02.jpg');
    background-size: cover;
    background-position: center;
    height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background-color: rgba(0, 0, 0, 0.3);
}

.hero-content {
    position: relative;
    z-index: 10;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    color: #fff;
    max-width: 42rem;
    margin-left: 5rem;
}

@media (max-width: 850px) {
    .hero-content {
        margin-left: 0;
        padding-left: 2rem;
        padding-right: 2rem;
    }

    .hero-section {
        background-size: cover;
        background-position: center;
        height: 80vh;
    }
}

.hero-content .hero-title {
    font-family: var(--heading-font);
    font-size: clamp(2rem, 1.5rem + 2vw, 2.5rem);
    font-weight: bold;
    letter-spacing: 0.05em;
    margin-bottom: 0.5rem;
    text-align: center;
}

.r-450 {
    display: none;
}

@media (max-width: 450px) {
    .hero-section {
        background-size: cover;
        background-position: center;
        height: 30vh;
    }

    .r-450 {
        display: block;
    }

    .hero-title {
        margin: 0 auto;
    }
}


.hero-subtitle {
    font-size: 1.125rem;
    font-weight: 300;
    letter-spacing: 0.05em;
    margin-top: 0;
    margin-bottom: 2rem;
}

@media (max-width: 767px) {
    .hero-subtitle {
        font-size: 1rem;
    }
}

.cta-button {
    font-family: var(--heading-font);
    font-size: 0.875rem;
    font-weight: bold;
    letter-spacing: 0.1em;
    border: 2px solid #fff;
    color: #fff;
    padding: 1rem 2.5rem;
    transition: all 0.3s ease;
    text-decoration: none;
    border-radius: 9999px;
}

.cta-button:hover {
    background-color: #fff;
    color: var(--text-color);
}



/* About Section ---------------------------------------------------


--------------------------------------------------------------------*/




.about-content {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 5rem;
}

.about-content .section-title {
    grid-column: 1 / -1;
    text-align: center;
    width: 100%;
}

@media (max-width: 767px) {
    .about-content {
        grid-template-columns: repeat(1, 1fr);
        gap: 2rem;
    }
}

.about-text {
    width: 100%;
    text-align: left;
}

@media (max-width: 767px) {
    .about-text {
        width: 100%;
        text-align: center;
        order: 2;
        /* Image on top usually, or text. User layout was column-reverse previously so text bottom. */
    }
}

.about-image {
    width: 100%;
}

@media (max-width: 767px) {
    .about-image {
        width: 100%;
        order: 1;
        /* Image first? */
    }
}

.about-image img {
    border-radius: 0.5rem;
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    width: 100%;
    height: auto;
}


/* News Section */
.news-list {
    max-width: 48rem;
    display: flex;
    flex-direction: column;
    margin: 0 auto;
    gap: 2rem;
}

.news-item {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 1.5rem;
    padding: 1.5rem 0;
    border-bottom: 1px solid #ddd;
}

@media (max-width: 450px) {
    .news-item {
        display: grid;
        grid-template-columns: auto 1fr;
        align-items: center;
        gap: 0.5rem;
    }

    .news-date {
        grid-column: 1 / 2;
        grid-row: 1 / 2;
        width: auto !important;
        margin-right: 0.5rem;
    }

    .news-category {
        grid-column: 2 / 3;
        grid-row: 1 / 2;
        justify-self: start;
        text-align: left;
    }

    .news-text {
        grid-column: 1 / -1;
        grid-row: 2 / 3;
        width: 100%;
        margin-top: 0.2rem;
    }
}

.news-date {
    font-size: 0.875rem;
    color: #999;
    font-weight: normal;
    width: auto;
    text-align: left;
    flex-basis: 110px;
    flex-shrink: 0;
}

@media (max-width: 450px) {
    .news-date {
        width: 100%;
        flex-basis: auto;
    }
}

.news-category {
    background-color: var(--secondary-color);
    color: #fff;
    font-size: 0.75rem;
    padding: 0.2rem 0.6rem;
    border-radius: 9999px;
    font-weight: bold;
    white-space: nowrap;
    flex-basis: 100px;
    flex-shrink: 0;
    text-align: center;
}

@media (max-width: 450px) {
    .news-category {
        flex-basis: auto;
        text-align: left;
    }
}

.news-text {
    color: #444;
    width: auto;
    flex-grow: 1;
    text-align: left;
    font-weight: normal;
}

@media (max-width: 450px) {
    .news-text {
        width: 100%;
        flex-grow: 0;
    }
}

.news-text a {
    text-decoration: none;
    color: inherit;
    transition: all 0.3s ease;
}

.news-text a:hover {
    text-decoration: underline;
}

.more-link {
    margin-top: 3rem;
}

.cta-button-secondary {
    font-family: var(--heading-font);
    font-size: 0.875rem;
    font-weight: bold;
    letter-spacing: 0.1em;
    background-color: var(--text-color);
    color: #fff;
    border: 1px solid var(--text-color);
    padding: 1rem 2.5rem;
    transition: all 0.3s ease;
    text-decoration: none;
    border-radius: 9999px;
}

.cta-button-secondary:hover {
    background-color: #fff;
    color: var(--text-color);
}

/* Products Section */
.product-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 2.5rem;
}

@media (max-width: 1023px) {
    .product-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 767px) {
    .product-grid {
        grid-template-columns: repeat(1, minmax(0, 1fr));
    }
}

.product-card {
    background-color: #f9f9f9;
    border-radius: 0.5rem;
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
    overflow: hidden;
    transition: transform 0.3s ease;
}

.product-card:hover {
    transform: translateY(-10px);
}

.product-image {
    width: 100%;
    height: auto;
}

.product-info {
    padding: 1.5rem;
    text-align: center;
}

.product-title {
    font-family: var(--heading-font);
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.product-subtitle {
    font-size: 0.875rem;
    color: #777;
    margin-bottom: 1rem;
}

.product-price {
    font-size: 1.125rem;
    font-weight: bold;
}

/* HOW TO USE Section */
.how-to-steps {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 2.5rem;
}

@media (max-width: 1023px) {
    .how-to-steps {
        grid-template-columns: repeat(1, minmax(0, 1fr));
    }
}

.step {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.step-image-container {
    position: relative;
    width: 12rem;
    height: 12rem;
    margin-bottom: 1.5rem;
}

.step-image {
    width: 100%;
    height: 100%;
    border-radius: 9999px;
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
}

.step-number {
    position: absolute;
    bottom: 0;
    right: 0;
    transform: translate(25%, 25%);
    background-color: var(--secondary-color);
    color: #fff;
    width: 3.5rem;
    height: 3.5rem;
    border-radius: 9999px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 1rem;
    font-family: var(--heading-font);
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
}

.step-title {
    font-family: var(--heading-font);
    font-size: 1.5rem;
    font-weight: bold;
    margin-top: 1.5rem;
    margin-bottom: 0.5rem;
}

.step-text {
    color: #777;
}

/* Journal Section */
.journal-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 2.5rem;
}

@media (max-width: 1023px) {
    .journal-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 767px) {
    .journal-grid {
        grid-template-columns: repeat(1, minmax(0, 1fr));
    }
}

.journal-card {
    background-color: #f9f9f9;
    border-radius: 0.5rem;
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
    overflow: hidden;
}

.journal-image {
    width: 100%;
    height: auto;
}

.journal-content {
    padding: 1.5rem;
    text-align: left;
}

.journal-title {
    font-size: 1.25rem;
    font-weight: bold;
    margin-bottom: 0.5rem;
}

.journal-excerpt {
    font-size: 0.875rem;
    color: #777;
    margin-bottom: 1rem;
}

.journal-link {
    color: var(--secondary-color);
    font-weight: 600;
    text-decoration: none;
    transition: text-decoration 0.3s ease;
}

.journal-link:hover {
    text-decoration: underline;
}

/* Sustainability Section */
.sustainability-items {
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    gap: 3rem;
}

@media (max-width: 767px) {
    .sustainability-items {
        flex-direction: column;
    }
}

.sustainability-item {
    width: 33.333333%;
    text-align: center;
}

@media (max-width: 767px) {
    .sustainability-item {
        width: 100%;
    }
}

.sustainability-image {
    width: 12rem;
    height: 12rem;
    margin-left: auto;
    margin-right: auto;
    border-radius: 9999px;
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
}

.sustainability-title {
    font-family: var(--heading-font);
    font-size: 1.5rem;
    font-weight: bold;
    margin-top: 1.5rem;
    margin-bottom: 0.5rem;
}

.sustainability-text {
    font-size: 0.875rem;
    color: #777;
}

/* Reviews Section */
#reviews {
    position: relative;
    background-image: url('../images/お客様の声03.jpg');
    background-size: cover;
    background-position: center -5%;
    background-repeat: no-repeat;
    background-attachment: fixed;
}

#reviews::before {
    content: '';
    position: absolute;
    inset: 0;
    background-color: rgba(255, 255, 255, 0.85);
    z-index: 0;
}

#reviews .container {
    position: relative;
    z-index: 1;
}

.review-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 2.5rem;
}

@media (max-width: 1023px) {
    .review-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 767px) {
    .review-grid {
        grid-template-columns: repeat(1, minmax(0, 1fr));
    }
}

.review-card {
    background-color: #f9f9f9;
    border-radius: 0.5rem;
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
    padding: 1.5rem;
}

.review-header {
    display: flex;
    align-items: center;
    margin-bottom: 1rem;
}

.reviewer-image {
    width: 4rem;
    height: 4rem;
    border-radius: 9999px;
    margin-right: 1rem;
}

.reviewer-name {
    font-weight: bold;
    font-size: 1.125rem;
}

.rating {
    display: flex;
    align-items: center;
    color: #ffc107;
}

.rating i {
    width: 1.25rem;
    height: 1.25rem;
}

.review-text {
    margin-bottom: 0;
    text-align: left;
}

/* FAQ Section */
.faq-list {
    max-width: 48rem;
    margin-left: auto;
    margin-right: auto;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.faq-item {
    background-color: #f9f9f9;
    border-radius: 0.5rem;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    padding: 1.5rem;
}

.faq-question {
    font-weight: bold;
    font-size: 1.125rem;
    margin-bottom: 0.5rem;
}

.faq-answer {
    color: #444;
}

/* Contact Section */
.contact-form {
    max-width: 48rem;
    margin-left: auto;
    margin-right: auto;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.form-input,
.form-textarea {
    width: 100%;
    padding: 0.75rem;
    border: 1px solid #ccc;
    border-radius: 0.375rem;
    transition: all 0.3s ease;
}

.form-input:focus,
.form-textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 2px rgba(245, 239, 232, 0.5);
}

.submit-button {
    font-family: var(--heading-font);
    width: 100%;
    background-color: var(--secondary-color);
    color: #fff;
    font-weight: bold;
    letter-spacing: 0.1em;
    border-radius: 9999px;
    padding: 1rem 2.5rem;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
}

.submit-button:hover {
    background-color: #a39589;
}

/* Footer */
.footer {
    background-color: var(--primary-color);
    color: var(--text-color);
    padding: 2.5rem 1rem;
    text-align: center;
}

.footer-title {
    font-family: var(--heading-font);
    font-size: 1.25rem;
    font-weight: bold;
    margin-bottom: 1rem;
}

.footer-text {
    font-size: 0.875rem;
    margin-bottom: 0;
}