/* style.css */

/* ボディの基本設定 */
body {
    font-family: Arial, Yu gothic;
    background-color: #f4f4f4;
    margin: 0;
    padding: 0;
    padding-top: 60px; /* ヘッダーの高さ分だけコンテンツを下げる */
}

/* ヘッダーのスタイル */
header {
    background-color: rgba(255, 255, 255, 0.75);
    color: white;
    padding: 10px 20px;
    text-align: center;
    position: fixed; /* ヘッダーを固定 */
    top: 0; /* 上部に固定 */
    left: 0;
    width: 100%; /* 幅を100%に */
    z-index: 1000; /* 他の要素より前面に表示 */
}

header h1 {
    margin: 0;
}

/* ボタンの基本スタイル */
.login-button {
    background-color: #000000; /* BLACK */
    color: white; /* 文字色 */
    padding: 15px 32px; /* 上下の余白、左右の余白 */
    font-size: 16px; /* 文字の大きさ */
    border: none; /* 枠線なし */
    border-radius: 5px; /* 角を丸く */
text-decoration: none;
    cursor: pointer; /* カーソルが手のひらに */
    transition: background-color 0.3s ease, transform 0.3s ease; /* ホバー時のアニメーション */
}

/* ボタンのホバー時のスタイル */
.login-button:hover {
    background-color: #FF00FF; /* ホバー時に色が少し暗くなる */
}


/* 商品カードのレイアウト */
.container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    margin: 20px;
}

.product-card {
    background-color: white;
    border-radius: 8px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    margin: 15px;
    width: 250px;
    text-align: center;
    padding: 20px;
    transition: transform 0.3s;
}

.product-card:hover {
    transform: translateY(-10px);
}

.product-card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: 8px;
}

.product-card h3 {
    margin: 10px 0;
    font-size: 18px;
}

.product-card p {
    color: #888;
}

.product-card .price {
    font-size: 20px;
    color: #444;
    margin: 10px 0;
}

.product-card button {
    background-color: #28a745;
    color: white;
    border: none;
    padding: 10px 15px;
    border-radius: 5px;
    cursor: pointer;
    font-size: 16px;
}

.product-card button:hover {
    background-color: #218838;
}


/* ボタンの基本スタイル */
.button2 {
    background-color: #000000; /* BLACK */
    color: white; /* 文字色 */
    padding: 15px 32px; /* 上下の余白、左右の余白 */
    font-size: 16px; /* 文字の大きさ */
    border: none; /* 枠線なし */
    border-radius: 5px; /* 角を丸く */
text-decoration: none;
    cursor: pointer; /* カーソルが手のひらに */
    transition: background-color 0.3s ease, transform 0.3s ease; /* ホバー時のアニメーション */
}

/* カート追加ボタンのホバー時のスタイル */
.button2:hover {
    background-color: #FF00FF; /* ホバー時に色が少し暗くなる */
}





/* フッターのスタイル */

.wrapper{
    height: 100%;
    min-height: 100vh;
    position: relative;
    padding-bottom: 120px;
    box-sizing: border-box;
}

footer {
    width: 100%;
    background-color: #000;
    color: #fff;
    text-align: center;
    padding: 30px 0;

    position: absolute;
    bottom: 0; 
}

/* 投稿 */
 .post {
            padding: 10px;
            margin: 10px 0;
            border-radius: 5px;
        }
        .post .content {
            margin-bottom: 10px;
        }
        .delete-btn {
            background-color: transparent; /* 背景を透明に */
            color: #f4f4f4; /* ほわいと♡ */
            border: none; /* 枠線をなしに */
            padding: 3px 8px; /* 少し小さめに */
            cursor: pointer; /* クリックできるカーソル */
            font-size: 12px; /* フォントを小さめに */
        }
        .delete-btn:hover {
            color: #00f; /* ホバー時に★色に変化 */
        }
