/* 共通設定 */ body { font-family: 'Noto Sans JP', sans-serif; background: #fafafa; margin: 0; padding: 0; color: #333; line-height: 1.6; } /* ヘッダー */ header { background: #fff; padding: 20px; text-align: center; border-bottom: 1px solid #ddd; } header h1 { margin: 0; font-size: 28px; } nav { margin-top: 10px; } nav a { margin: 0 10px; text-decoration: none; color: #333; font-weight: bold; } nav a:hover { color: #0073e6; } /* セクション */ section { padding: 40px 20px; max-width: 1000px; margin: auto; } section h2 { text-align: center; margin-bottom: 30px; font-size: 24px; } /* 商品一覧 */ .container { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 20px; } .card { background: #fff; border-radius: 12px; box-shadow: 0 4px 6px rgba(0,0,0,0.1); overflow: hidden; transition: transform 0.2s; text-align: center; padding-bottom: 20px; } .card:hover { transform: translateY(-5px); } .card img { width: 100%; height: auto; } .card h3 { margin: 16px 0 8px; font-size: 18px; } .price { color: #666; margin-bottom: 16px; } .btn { display: inline-block; padding: 10px 20px; background: #333; color: #fff; text-decoration: none; border-radius: 8px; transition: background 0.3s; } .btn:hover { background: #555; } /* フッター */ footer { background: #fff; padding: 20