﻿/* ここから既存の style.css の内容を貼り付けます *//* リセットCSS */* {margin: 0;padding: 0;box-sizing: border-box;}body {font-family: 'Noto Sans JP', sans-serif; /* 元のNoto Sans JPに戻す */line-height: 1.6;color: #333;background-color: #f8f8f8;}a {text-decoration: none;color: inherit;}ul {list-style: none;}.7thsale_container {max-width: 1200px;margin: 0 auto;padding: 0 20px;}/* ヘッダー */.site-header {background-color: #f8f8f8;/* 不要かもしれませんが念のため */}.main-visual {/* imgタグで画像を直接表示するため、ここでは最小限の設定 */text-align: center;/* 画像を中央寄せにするため */}.main-visual img {/* HTMLでmax-width: 100%を指定していますが、CSSでも念のため */display: block;/* 画像の下に余白ができないように */margin: 0 auto;/* 中央寄せ */width: 100%;/* 親要素の幅いっぱいに広がるように */height: auto;}/* メインコンテンツ */main {padding-bottom: 50px;}.intro-message {background-color: #fff;padding: 30px 0;text-align: center;border-bottom: 1px solid #eee;}.intro-message p {margin-bottom: 20px;font-size: 0.95em; /* 元のサイズに戻すか、少し小さくするかは調整可能 */font-family: 'Zen Maru Gothic', cursive, 'Noto Sans JP', sans-serif; /* リード文のみにZen Maru Gothicを適用 */color: #555;line-height: 1.6; /* 行の高さを調整して詰まりすぎないように */}.countdown-timer {font-size: 1.2em;font-weight: bold;color: #d00;}.countdown-timer .time {/* ベースとなる要素の形状とサイズ */display: inline-block;padding: 10px 20px;/* パディングを増やして数字が映えるように */border-radius: 8px;/* 角を丸くして近未来感を出す */margin-left: 10px;min-width: 180px;/* ある程度の幅を確保 */text-align: center;/* 数字を中央揃え */vertical-align: middle;/* 垂直方向の中央揃え *//* 近未来的なシルバーの光沢感 */background: linear-gradient(145deg, #e0e0e0, #f9f9f9, #e0e0e0);/* シルバーのグラデーション */border: 1px solid #c0c0c0;/* 細いシルバーの枠線 */box-shadow:0 4px 8px rgba(0, 0, 0, 0.4),/* 下に強い影 */inset 0 1px 0 rgba(255, 255, 255, 0.8),/* 上部に光沢 */inset 0 -1px 0 rgba(0, 0, 0, 0.2);/* 下部に影 *//* 数字のスタイル */font-family: 'Consolas', 'Menlo', 'monospace', 'Noto Sans JP', sans-serif;/* デジタル感のあるフォント */font-size: 2.2em;/* 数字を大きく */font-weight: bold;/* 太字 */color: #333;/* 濃いめのグレーで引き締め */letter-spacing: 2px;/* 文字間を少し開ける */text-shadow:1px 1px 1px rgba(255, 255, 255, 0.7),/* 白っぽい光沢 */-1px -1px 1px rgba(0, 0, 0, 0.5);/* 暗い影 */}/* 全品セールセクション */.all-items-sale {/* 背景画像を繰り返し表示 */background-image: url('https://www.meiban-online.com/img/campaign/7thsale/background.jpg');background-size: contain;/* 画像をコンテナに収まるように拡大縮小 */background-repeat: repeat;/* 画像を繰り返して表示 */background-position: center top;color: #fff;text-align: center;padding: 50px 20px;margin-top: 30px;}.all-items-sale h2,.all-items-sale .site-wide-text,.all-items-sale .discount-rate,.all-items-sale .small-note {/* 背景とのコントラストを上げるため、テキストにシャドウを追加 */text-shadow: 2px 2px 5px rgba(0, 0, 0, 0.7);}.all-items-sale h2,.shichifukujin-set-section h2 {font-family: 'Noto Sans JP', sans-serif; /* 明示的にNoto Sans JPに戻す */font-size: 1.8em; /* サイズは維持 */color: #ffd700;margin-bottom: 10px;text-shadow: 2px 2px 5px rgba(0, 0, 0, 0.7);}.all-items-sale h2 {font-size: 1.8em;color: #ffd700;/* 金色の文字 */margin-bottom: 10px;}.all-items-sale .site-wide-text {font-size: 1.2em;margin-bottom: 15px;}.all-items-sale .discount-rate {font-size: 4em;/* 大きな割引率 */font-weight: bold;color: #ffd700;margin-bottom: 10px;line-height: 1;}.all-items-sale .small-note {font-size: 0.8em;margin-bottom: 30px;color: rgba(255, 255, 255, 0.8);}/* .btn-primary {display: inline-block;background-color: #ffd700;color: #a00;padding: 15px 40px;border-radius: 5px;font-size: 1.3em;font-weight: bold;transition: background-color 0.3s ease, transform 0.2s ease;box-shadow: 0 4px 6px rgba(0, 0, 0, 0.3);}*/.btn-primary:hover {background-color: #ffe033;/* ホバー時の色 */transform: translateY(-2px);}/* 七福神セットセクション */.shichifukujin-set-section {/* 背景画像を繰り返し表示 */background-image: url('https://www.meiban-online.com/img/campaign/7thsale/background.jpg');background-size: contain;/* 画像をコンテナに収まるように拡大縮小 */background-repeat: repeat;/* 画像を繰り返して表示 */background-position: center top;padding: 50px 0;/* margin-top: 30px;*/}.shichifukujin-set-section h2 {text-align: center;font-size: 2em;color: #ffd700;/* 赤色のタイトル */margin-bottom: 40px;text-shadow: 2px 2px 5px rgba(0, 0, 0, 0.7);/* 背景とのコントラストを上げるため */}.product-grid {display: grid;grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));/* レスポンシブ対応 */gap: 30px;}.product-card {background-color: rgba(255, 255, 255, 0.9);/* カードの背景を半透明の白にして、下の背景が見えるように */border: 2px solid #a00;/* カードの枠線 */border-radius: 10px;padding: 20px;text-align: center;box-shadow: 0 5px 15px rgba(0,0,0,0.2);/* 影を少し強めに */transition: transform 0.3s ease;/* ★ここから追加・修正★ */display: flex;/* Flexboxコンテナにする */flex-direction: column;/* 子要素を縦方向に並べる */height: 100%;/* 親要素(product-gridのグリッドアイテム)に対してカードが最大限の高さをとるように *//* ★ここまで追加・修正★ */}.product-card:hover {transform: translateY(-5px);}.product-image {width: 100%;height: 150px;background-color: #f0f0f0;/* 仮の画像プレースホルダー */border: 1px solid #ccc;margin-bottom: 15px;/* 必要であれば調整 */display: flex;justify-content: center;align-items: center;color: #666;font-size: 0.9em;border-radius: 5px;overflow: hidden;}.product-image img {max-width: 100%;height: auto;display: block;}.product-name {font-size: 1.1em;font-weight: bold;color: #333;/* margin-bottom: 10px;→ 今回は auto に変更するため不要 */min-height: 3.3em;/* 商品名が3行になっても収まる最低高さを確保 */display: flex;align-items: center;justify-content: center;line-height: 1.2;padding: 0 5px;/* ★ここから追加・修正★ */margin-bottom: auto;/* ここが重要！余白を自動で埋めてprice-infoを下部に押しやる *//* ★ここまで追加・修正★ */}.price-info p {font-size: 0.9em;color: #666;margin-bottom: 5px;}.original-price {text-decoration: line-through;}.sale-price {font-size: 1.5em;font-weight: bold;color: #d00;margin-bottom: 5px;}.sale-price .highlight {font-size: 1.2em;color: #d00;}.remaining-items {font-size: 0.8em;color: #a00;font-weight: bold;margin-bottom: 15px;}.btn-secondary {display: inline-block;background-color: #a00;color: #fff;padding: 10px 25px;border-radius: 5px;font-size: 1em;font-weight: bold;transition: background-color 0.3s ease, transform 0.2s ease;margin-top: 15px;/* ボタンの上部にマージンを追加して、価格情報との間にスペースを作る */}.btn-secondary:hover {background-color: #c00;transform: translateY(-1px);}/* レスポンシブ対応 */@media (max-width: 768px) {.all-items-sale .discount-rate {font-size: 3em;}.btn-primary {padding: 12px 30px;font-size: 1.1em;}.shichifukujin-set-section h2 {font-size: 1.8em;}.product-grid {grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));}}@media (max-width: 480px) {.all-items-sale .discount-rate {font-size: 2.5em;}.btn-primary {padding: 10px 20px;font-size: 1em;}.shichifukujin-set-section h2 {font-size: 1.5em;}.product-grid {grid-template-columns: 1fr;}}