@charset "UTF-8";
/* CSS Document */
body {
  margin: 0;
  font-family: "Helvetica", "Arial", sans-serif;
  color: #333;
}
html, body {
  overflow-x: hidden;
}
a:link {
  color: #444;
  text-decoration: none;
}
a:visited {
  color: #444;
  text-decoration: none;
}
a:hover {
  color: #444;
  text-decoration: none;
}
a:active {
  color: #444;
}
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}
.header {
  background: #000;
  color: #fff;
  padding: 15px 0;
}
.logo {
  font-size: 24px;
  font-weight: bold;
}
nav ul {
  display: flex;
  list-style: none;
  padding: 0;
  margin: 10px 0 0;
  overflow-x: auto; /* 横スクロール有効化 */
  white-space: nowrap; /* 折り返し防止 */
  -webkit-overflow-scrolling: touch; /* スマホでの滑らかスクロール */
}
.nav li {
  margin-right: 20px;
  flex: 0 0 auto; /* 横並び固定で縮まない */
}
.nav a {
  color: #fff;
  text-decoration: none;
  font-size: 14px;
}
.main-visual {
  background: url("https://www.bluek.co.jp/sale/img/bluek_1440x280_2512.jpg?text=SALE+VISUAL") center/cover no-repeat;
  height: 45vw;
  max-height: 450px;
  min-height: 250px;
  display: flex;
  justify-content: center;
  align-items: center;
  color: #fff;
  text-shadow: 0 0 10px rgba(0, 0, 0, .5);
}
@media (max-width: 768px) {
  .main-visual {
    background-position: center;
    background-size: cover;
    height: 45vw;
    max-height: 300px;
  }
}
.mv-text {
  text-align: center;
}
.mv-text h2 {
  font-size: 48px;
  margin: 0;
  text-shadow: -1px -2px 3px #fff;
}
.mv-text p {
  font-size: 24px;
  margin-top: 10px;
}
.mv-text span {
  font-size: 18px;
}
.section-title {
  text-align: center;
  font-size: 26px;
  margin: 50px 0 20px;
}
.category-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 20px;
  padding: 0 20px 40px;
}
.category-item {
  background: #f5f5f5;
  padding: 16px;
  text-align: center;
  font-size: 16px;
  text-decoration: none;
  color: #333;
  border-radius: 8px;
  transition: 0.3s;
}
.category-item:hover {
  background: #ddd;
}
.product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 25px;
  padding: 0 20px 60px;
}
.product-card {
  background: #fff;
  border: 1px solid #eee;
  border-radius: 8px;
  padding: 15px;
  text-align: center;
  transition: 0.3s;
}
.product-card:hover {
  box-shadow: 0 4px 12px rgba(0, 0, 0, .1);
}
.product-card img {
  width: 80%;
  border-radius: 6px;
}
.product-card .name {
  font-size: 16px;
  margin: 10px 0;
}
.product-card .price {
  font-size: 14px;
  color: #666;
}
.product-card .price span, .name span {
  color: #e60000;
  font-size: 18px;
  font-weight: bold;
}
/* sold out 表示 */
.product-card.soldout {
  position: relative;
  opacity: 0.6; /* 売り切れ時に薄く */
}
.product-card.soldout::after {
  content: "SOLD OUT";
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background: rgba(0, 0, 0, 0.75);
  color: #fff;
  padding: 8px 16px;
  font-size: 14px;
  letter-spacing: 1px;
  border-radius: 4px;
  z-index: 10;
  pointer-events: none;
}
/* もっと見るボタン */
.more-btn-wrapper {
  text-align: center;
  margin-bottom: 60px;
}
.more-btn {
  display: inline-block;
  background: #000;
  color: #fff;
  padding: 12px 40px;
  border-radius: 40px;
  font-size: 16px;
  text-decoration: none;
  transition: 0.3s;
}
.more-btn:hover {
  opacity: 0.5;
  text-decoration: none;
}
.more-btn :visited {
  color: #fff;
}
.more-btn:link {
  color: #fff;
  text-decoration: none;
}
.more-btn:visited {
  color: #fff;
  text-decoration: none;
}
.more-btn:active {
  color: #fff;
}
/*トップに戻る*/
.pagetop {
  display: none;
  position: fixed;
  right: 10px;
  bottom: 65px;
}
.pagetop a {
  display: block;
  font-size: 0;
  width: 35px;
  height: 35px;
  text-align: center;
  background: #9c9c9c;
  line-height: 35px;
  border-radius: 3px;
}
.pagetop a i {
  font-size: 15px;
  color: #fff;
  line-height: 35px;
  display: block;
}
.footer {
  background: #000;
  color: #fff;
  text-align: center;
  padding: 20px 0;
  font-size: 14px;
}
@media (max-width: 768px) {
  /* スマホ用ナビの左右余白と高さ調整 */
  .nav {
    overflow-x: auto;
  }
  .nav ul {
    padding-bottom: 10px;
  }
	 section.pickup {
    display: flex;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch; /* iOS でスムーズスクロール */
    white-space: nowrap; /* 子要素が折り返さないように */
  }

  section.pickup > * {
    flex: 0 0 auto; /* 子要素を横並びで固定幅 */
    /* 必要に応じて幅を指定 */
    /* 例: width: 80%; など */
  }

  /* Optional: スクロールバーを隠す */
  section.pickup::-webkit-scrollbar {
    display: none;
  }
  section.pickup .product-card {
    width: 100%;                /* 例：カード幅を調整 */
    box-sizing: border-box;
    flex-shrink: 0;
  }

  section.pickup .product-card .name {
    white-space: normal;       /* ← 長い商品名を折り返す */
    word-break: break-word;    /* ← はみ出し防止 */
    overflow: hidden;
  }
}
/* ブランド一覧 */
.brand-list {
  background: #f5f5f5;
  padding: 40px 20px;
  border-radius: 16px;
  margin: 40px 20px;
}
.brand-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 25px;
}
.brand-item {
  text-align: center;
  text-decoration: none;
  color: #333;
  transition: 0.3s;
  background: #fff; /* 白背景を追加 */
  padding: 20px;
  border-radius: 12px;
}
.brand-item img {
  width: 70%;
  border-radius: 8px;
  margin-bottom: 10px;
}
.brand-name {
  font-size: 16px;
  font-weight: bold;
}
.brand-name-sub {
  font-size: 10px;
  margin-top: -15px;
}
.brand-item:hover {
  opacity: 0.7;
}
 