@charset "utf-8";


/* リセットCSS */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* ボディとフォント設定 */
body {
    /* font-family: 'Arial', sans-serif; */
    line-height: 1.6;
    background-color: #f5f3ed;
    color: #333;
    font-family: "Poppins", sans-serif;

}

/* ヘッダーの設定 */
h1 img {
    width: 300px;
    /* 大きめに設定 */
    height: auto;
    object-fit: contain;
    margin-left: 40px;
    transition: all 0.3s ease;
}

/* ここまで */



header {
    width: 100%;
    height: 150px;
    background-color: #FFF;
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: sticky;
    top: 0;
    z-index: 999;
    background-color: #f5f3ed;
}



ul {
    display: flex;
    list-style: none;
}



ul.menu2 img {
    width: 20px;
}

.headeritem {
    margin-left: 40px;
    margin-top: 20px;
}

a {
    text-decoration: none;
    color: #333;
}

nav {
    margin-right: 70px;
}

a:hover {
    opacity: 0.5;
}




/* 商品詳細セクション */
.product-detail {
    display: flex;
    justify-content: center;
    align-items: flex-start;
    padding: 40px 20px;
    max-width: 1200px;
    margin: 0 auto;
    gap: 40px;
}

.product-images img {
    max-width: 100%;
    height: 600px;
    border-radius: 8px;
}

.product-info {
    max-width: 600px;
}

.product-info h1 {
    font-size: 28px;
    color: #4A4726;
    margin-bottom: 10px;
}

.product-info img {
    width: 20px;
}


.product-info .price {
    font-size: 24px;
    color: #333;
    margin-bottom: 20px;
}

.product-info .description {
    font-size: 16px;
    margin-bottom: 20px;
}

.buy-button {
    background-color: #f5f3ed;
    ;
    display: inline-block;
    padding: 20px 40px;
    border: 1px solid #333;
    text-decoration: none;
    color: #333;
    font-size: 14px;
    /* font-family: sans-serif; */
    transition: all 0.3s ease;
    cursor: pointer;
    margin-top: 30px;

}

/* ホバーエフェクト（任意） */
.buy-button:hover {
    background-color: #333;
    color: #fff;
}

.product-title {
    display: flex;
    align-items: center;
    gap: 30px;
    /* アイコンとの間隔 */
}

.product-title h1 {
    margin: 0;
    font-size: 1.5rem;
}

/* background-color: #CCC;
    color: #333;
    padding: 10px 20px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-size: 16px; */

/* .buy-button:hover {
    background-color: #c50010;
} */

.reference-images {
    margin-top: 95px;
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
    justify-content: flex-start;
}

.reference-images img {
    width: 30%;
    border-radius: 6px;
    object-fit: cover;
}




/* フッター */

.footer {
    padding: 40px 20px;
    text-align: center;
    font-family: 'Helvetica Neue', sans-serif;
    color: #333;
}

.footer-title {
    /* font-size: 28px;
    font-weight: bold;
    color: #556038; */
    margin: 0;

}

.footer-title img {
    width: 300px;
    /* 大きめに設定 */
    height: auto;
    object-fit: contain;
    transition: all 0.3s ease;


}

.footer-sub {
    font-size: 16px;
    margin: 10px 0 20px;
}

.footer-icons {
    margin-bottom: 20px;
}

.sns-icon {
    width: 30px;
    height: 30px;
    margin: 10px 10px;
    transition: opacity 0.3s;
}

.sns-icon:hover {
    opacity: 0.7;
}

.footer-links {
    font-size: 14px;
    margin-bottom: 20px;
}

.footer-links a {
    color: #333;
    text-decoration: none;
    margin: 0 5px;
}

.footer-links a:hover {
    text-decoration: underline;
}

footer .copyright {
    font-size: 13px;
    color: #888;
    margin-bottom: 30px;
}


/* ここまで */

/* ライン */
.line-wrapper {
    text-align: center;
    margin: 80px 0;
}

.animated-line {
    display: inline-block;
    width: 1200px;
    height: 1px;
    background-color: #888;
    transform: scaleX(0);
    transform-origin: center;
    transition: transform 1s ease-out;
}

.animated-line.visible {
    transform: scaleX(1);
}

/* ここまで */

/* 商品画像のアニメーション */

.is_animation {
    opacity: 0;
    transition: 1.3s;
    transform: translate(0, 30px);
}

.is_animation.is_show {
    opacity: 1.0;
    transform: translate(0, 0);
}

/* モーダル */
.modal {
    display: none;
    position: fixed;
    z-index: 9999;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0, 0, 0, 0.8);
}

.modal-content {
    display: block;
    margin: 10% auto;
    max-width: 90%;
    max-height: 80vh;
}

.close {
    position: absolute;
    top: 30px;
    right: 30px;
    color: #fff;
    font-size: 40px;
    font-weight: bold;
    cursor: pointer;
}

/* ここまで */

/* メディアクエリ */
@media (max-width: 768px) {
    .product-detail {
        flex-direction: column;
        align-items: center;
    }

    .product-info {
        width: 100%;
        text-align: center;
    }

    .reference-images {
        justify-content: center;
        flex-direction: column;
        align-items: center;
    }

    .reference-images img {
        width: 80%;
        max-width: 250px;
        margin-bottom: 10px;
    }

    .line-wrapper {
        margin: 40px 0;
    }

    .animated-line {
        width: 95%;
    }


}