/* =========================================
   Qoo10 ショップ用 ベースCSS
   清潔感 / 見やすさ / 売れ場感 重視
   ========================================= */

/* ---------- 全体 ---------- */
body {
  font-family: "Hiragino Kaku Gothic ProN", "Yu Gothic", "Meiryo", sans-serif;
  color: #222;
  background: #f7f8fa;
  line-height: 1.7;
  margin: 0;
  padding: 0;
}

a {
  color: #1f4e8c;
  text-decoration: none;
  transition: 0.2s ease;
}

a:hover {
  opacity: 0.85;
  text-decoration: underline;
}

img {
  max-width: 100%;
  height: auto;
  border: 0;
  vertical-align: bottom;
}

/* ---------- ページ枠 ---------- */
#wrap,
#wrapper,
.container,
#container,
.contents,
#contents {
  max-width: 1200px;
  margin: 0 auto;
  background: #fff;
}

/* ---------- ヘッダー ---------- */
.header,
#header,
.shop-header {
  background: linear-gradient(135deg, #1f4e8c 0%, #2f6bb2 100%);
  color: #fff;
  padding: 24px 20px;
  border-radius: 0 0 16px 16px;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.08);
}

.header h1,
#header h1,
.shop-header h1 {
  margin: 0 0 8px;
  font-size: 28px;
  font-weight: 700;
  letter-spacing: 0.03em;
}

.header p,
#header p,
.shop-header p {
  margin: 0;
  font-size: 14px;
  opacity: 0.95;
}

/* ---------- ナビゲーション ---------- */
.nav,
#nav,
.gnb,
.shop-nav {
  background: #fff;
  border-bottom: 1px solid #e5e7eb;
  padding: 0 12px;
}

.nav ul,
#nav ul,
.gnb ul,
.shop-nav ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.nav li,
#nav li,
.gnb li,
.shop-nav li {
  margin: 0;
  padding: 0;
}

.nav a,
#nav a,
.gnb a,
.shop-nav a {
  display: block;
  padding: 14px 16px;
  font-size: 14px;
  font-weight: 600;
  color: #333;
  border-radius: 10px 10px 0 0;
}

.nav a:hover,
#nav a:hover,
.gnb a:hover,
.shop-nav a:hover {
  background: #eef4fb;
  color: #1f4e8c;
  text-decoration: none;
}

/* ---------- メインビジュアル ---------- */
.hero,
.main-visual,
.kv,
.banner-main {
  background: #fff;
  padding: 20px;
}

.hero img,
.main-visual img,
.kv img,
.banner-main img {
  width: 100%;
  border-radius: 18px;
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.08);
}

/* ---------- セクション共通 ---------- */
.section,
.block,
.contents-box,
.module {
  background: #fff;
  border: 1px solid #e8ebf0;
  border-radius: 16px;
  padding: 24px;
  margin: 20px 0;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.04);
}

.section-title,
.block-title,
h2 {
  font-size: 22px;
  margin: 0 0 16px;
  color: #1d3557;
  padding-bottom: 10px;
  border-bottom: 2px solid #dbe7f4;
}

h3 {
  font-size: 18px;
  margin: 24px 0 10px;
  color: #294d73;
}

/* ---------- 商品一覧カード ---------- */
.product-list,
.item-list,
.goods-list,
ul.product {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 20px;
}

.product-list li,
.item-list li,
.goods-list li,
ul.product li {
  background: #fff;
  border: 1px solid #e5e7eb;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 6px 14px rgba(0, 0, 0, 0.05);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.product-list li:hover,
.item-list li:hover,
.goods-list li:hover,
ul.product li:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.08);
}

.product-list .thumb,
.item-list .thumb,
.goods-list .thumb {
  background: #f8fafc;
  text-align: center;
  padding: 14px;
}

.product-list .thumb img,
.item-list .thumb img,
.goods-list .thumb img {
  border-radius: 12px;
}

.product-list .info,
.item-list .info,
.goods-list .info {
  padding: 14px 16px 18px;
}

.product-list .name,
.item-list .name,
.goods-list .name {
  font-size: 14px;
  font-weight: 700;
  color: #222;
  margin-bottom: 8px;
  line-height: 1.5;
  min-height: 3em;
}

.product-list .price,
.item-list .price,
.goods-list .price {
  font-size: 20px;
  font-weight: 800;
  color: #d62828;
  margin-bottom: 10px;
}

.product-list .btn,
.item-list .btn,
.goods-list .btn,
.btn-buy,
.btn-detail {
  display: inline-block;
  background: #1f4e8c;
  color: #fff;
  padding: 10px 16px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 700;
  text-align: center;
}

.product-list .btn:hover,
.item-list .btn:hover,
.goods-list .btn:hover,
.btn-buy:hover,
.btn-detail:hover {
  background: #163a67;
  color: #fff;
  text-decoration: none;
}

/* ---------- お知らせ / バナー ---------- */
.notice,
.info-box,
.shipping-info,
.event-box {
  background: #f6fbff;
  border: 1px solid #cfe3f6;
  border-left: 5px solid #2f6bb2;
  border-radius: 12px;
  padding: 16px 18px;
  margin: 16px 0;
}

.notice strong,
.info-box strong,
.shipping-info strong,
.event-box strong {
  color: #1f4e8c;
}

/* ---------- テーブル ---------- */
table {
  width: 100%;
  border-collapse: collapse;
  background: #fff;
}

th,
td {
  border: 1px solid #e5e7eb;
  padding: 12px 14px;
  font-size: 14px;
  vertical-align: top;
}

th {
  background: #f3f7fb;
  color: #294d73;
  width: 28%;
  font-weight: 700;
}

/* ---------- ボタン ---------- */
button,
input[type="submit"],
input[type="button"],
.btn {
  background: #1f4e8c;
  color: #fff;
  border: none;
  border-radius: 999px;
  padding: 11px 18px;
  font-weight: 700;
  cursor: pointer;
}

button:hover,
input[type="submit"]:hover,
input[type="button"]:hover,
.btn:hover {
  background: #163a67;
}

/* ---------- フッター ---------- */
.footer,
#footer,
.shop-footer {
  margin-top: 32px;
  padding: 28px 20px 40px;
  background: #1f2937;
  color: #fff;
  font-size: 13px;
}

.footer a,
#footer a,
.shop-footer a {
  color: #d9ecff;
}

/* ---------- スマホ対応 ---------- */
@media screen and (max-width: 768px) {
  .header,
  #header,
  .shop-header {
    padding: 18px 14px;
    border-radius: 0 0 12px 12px;
  }

  .header h1,
  #header h1,
  .shop-header h1 {
    font-size: 22px;
  }

  .nav ul,
  #nav ul,
  .gnb ul,
  .shop-nav ul {
    gap: 4px;
  }

  .nav a,
  #nav a,
  .gnb a,
  .shop-nav a {
    padding: 10px 12px;
    font-size: 13px;
  }

  .section,
  .block,
  .contents-box,
  .module {
    padding: 16px;
    border-radius: 12px;
  }

  h2,
  .section-title,
  .block-title {
    font-size: 18px;
  }

  .product-list,
  .item-list,
  .goods-list,
  ul.product {
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
  }

  .product-list .price,
  .item-list .price,
  .goods-list .price {
    font-size: 18px;
  }

  th,
  td {
    padding: 10px;
    font-size: 13px;
  }
}