@import url('https://fonts.googleapis.com/css2?family=Noto+Sans+JP:wght@400;500;700&display=swap');

/* === KEMA PRO SHOP モダン化 カスタムCSS (ベージュ×黒 ラグジュアリー) === */

/* ベースタイポグラフィ */
body {
  font-family: "Noto Sans JP", "Hiragino Kaku Gothic ProN", "ヒラギノ角ゴ ProN", "Yu Gothic", "游ゴシック体", Meiryo, sans-serif;
  color: #2b2622;
  background: #f6f1ea;
  letter-spacing: 0.02em;
  line-height: 1.7;
}

/* コンテンツ幅をややワイドに */
#main, .container, .l-container {
  max-width: 1200px;
}

/* === ヘッダー === */
#header, header, .header {
  background: #ffffff;
  border-bottom: 1px solid #e6dccd;
  padding: 14px 0;
  box-shadow: 0 1px 0 rgba(0,0,0,0.02);
}
#header img, header img { max-height: 56px; }

/* グローバルナビ（ヘッダーメニュー） */
#header_menu, .header_menu, .gnav, nav.global {
  background: #1a1a1a !important;
}
#header_menu a, .header_menu a, .gnav a {
  color: #f6f1ea !important;
  font-weight: 500;
  letter-spacing: 0.18em;
  font-size: 13px;
  padding: 16px 22px !important;
  transition: background .25s ease, color .25s ease;
}
#header_menu a:hover, .header_menu a:hover, .gnav a:hover {
  background: #b89968 !important;
  color: #fff !important;
  text-decoration: none;
}

/* === メインビジュアル / トップバナー === */
#top_banner img, .top_banner img, .topBanner img {
  width: 100%;
  height: auto;
  border-radius: 6px;
  box-shadow: 0 8px 28px rgba(40,30,20,0.12);
}

/* === 見出し === */
h1, h2, h3, .title, .heading, .h_title {
  font-family: "Noto Sans JP", "Hiragino Kaku Gothic ProN", "ヒラギノ角ゴ ProN", "Yu Gothic", "游ゴシック体", Meiryo, sans-serif;
  font-weight: 400 !important;
  letter-spacing: 0.18em;
  color: #1a1a1a;
}
h2, .title, .heading {
  position: relative;
  padding: 8px 0 14px;
  margin: 36px 0 22px !important;
  border: none !important;
  font-size: 22px !important;
}
h2::after, .title::after, .heading::after {
  content: "";
  display: block;
  width: 48px;
  height: 1px;
  background: #b89968;
  margin-top: 14px;
}

/* 「トップ見出し」「新着商品」「新着情報」「カテゴリ」などのセクションタイトル */
.section_title, .sec_title, .top_title, .index_title {
  text-align: center;
  letter-spacing: 0.3em;
  font-size: 24px !important;
  font-weight: 400 !important;
  color: #1a1a1a;
}
.section_title::after, .sec_title::after, .top_title::after, .index_title::after {
  margin: 14px auto 0;
}

/* === カテゴリ・サイドナビ === */
#side, .side, aside {
  font-size: 14px;
}
#side h2, .side h2, aside h2 {
  font-size: 14px !important;
  letter-spacing: 0.2em;
  color: #5a4a36;
  border-bottom: 1px solid #e6dccd;
  padding-bottom: 10px;
}
#side ul li a, .side ul li a, aside ul li a {
  display: block;
  padding: 10px 4px;
  border-bottom: 1px solid #efe7d8;
  color: #2b2622;
  transition: color .2s, padding-left .2s;
}
#side ul li a:hover, .side ul li a:hover, aside ul li a:hover {
  color: #b89968;
  padding-left: 8px;
  text-decoration: none;
}

/* === 商品リスト / 商品カード === */
.product_list, .new_item_list, .item_list, .productList {
  display: grid !important;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 24px;
}
.product_list li, .new_item_list li, .item_list li, .productList li,
.product_list .item, .item_box, .product_box {
  list-style: none;
  background: #ffffff;
  border: 1px solid #ece2cf;
  border-radius: 8px;
  padding: 16px;
  transition: transform .3s ease, box-shadow .3s ease, border-color .3s ease;
}
.product_list li:hover, .new_item_list li:hover, .item_list li:hover,
.productList li:hover, .item_box:hover, .product_box:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 28px rgba(40,30,20,0.10);
  border-color: #b89968;
}
.product_list img, .new_item_list img, .item_list img, .productList img {
  width: 100%;
  height: auto;
  border-radius: 4px;
}
.product_list a, .new_item_list a, .item_list a, .productList a {
  color: #2b2622;
  font-size: 14px;
  line-height: 1.55;
  text-decoration: none;
}

/* === ボタン === */
.btn, button, input[type=submit], input[type=button], a.button {
  background: #1a1a1a !important;
  color: #ffffff !important;
  border: 1px solid #1a1a1a !important;
  border-radius: 2px !important;
  padding: 12px 26px !important;
  letter-spacing: 0.16em;
  font-weight: 500;
  transition: background .25s, color .25s, border-color .25s;
  box-shadow: none !important;
}
.btn:hover, button:hover, input[type=submit]:hover, input[type=button]:hover, a.button:hover {
  background: #b89968 !important;
  border-color: #b89968 !important;
  color: #fff !important;
}

/* ログインボタンをそれらしく */
.login_btn, .btn_login, a.login {
  display: block;
  text-align: center;
  width: 100%;
}

/* === 新着情報 === */
.news, .news_list, .info_list {
  background: #ffffff;
  border: 1px solid #ece2cf;
  border-radius: 8px;
  padding: 18px 24px;
}
.news li, .news_list li, .info_list li {
  list-style: none;
  padding: 14px 0;
  border-bottom: 1px dashed #ece2cf;
}
.news li:last-child, .news_list li:last-child, .info_list li:last-child {
  border-bottom: none;
}

/* === リンク === */
a { color: #5a4a36; }
a:hover { color: #b89968; }

/* === フッター === */
#footer, footer, .footer {
  background: #1a1a1a;
  color: #cdbfa3;
  padding: 36px 0 24px;
  margin-top: 48px;
  letter-spacing: 0.12em;
}
#footer a, footer a, .footer a {
  color: #cdbfa3 !important;
}
#footer a:hover, footer a:hover, .footer a:hover {
  color: #fff !important;
}

/* === スクロールバー === */
::-webkit-scrollbar { width: 10px; }
::-webkit-scrollbar-thumb { background: #cdbfa3; border-radius: 6px; }
::-webkit-scrollbar-track { background: #f6f1ea; }

/* === レスポンシブ === */
@media (max-width: 768px) {
  .product_list, .new_item_list, .item_list, .productList {
    grid-template-columns: repeat(2, 1fr);
    gap: 14px;
  }
  h2, .title, .heading { font-size: 18px !important; }
  #header_menu a, .header_menu a, .gnav a {
    padding: 12px 14px !important;
    font-size: 12px;
  }
}

/* 選択色 */
::selection { background: #b89968; color: #fff; }

/* === Bcart固有クラス対応 === */
.c-heading-main {
  font-family: "Noto Sans JP", "Hiragino Kaku Gothic ProN", "ヒラギノ角ゴ ProN", "Yu Gothic", "游ゴシック体", Meiryo, sans-serif !important;
  font-weight: 400 !important;
  font-size: 22px !important;
  letter-spacing: 0.18em !important;
  color: #1a1a1a !important;
  text-align: left;
  border: none !important;
  background: transparent !important;
  padding: 8px 0 14px !important;
  margin: 36px 0 22px !important;
  position: relative;
}
.c-heading-main::after {
  content: "";
  display: block;
  width: 48px;
  height: 1px;
  background: #b89968;
  margin-top: 12px;
}

.c-heading-aside {
  font-family: "Noto Sans JP", "Hiragino Kaku Gothic ProN", "ヒラギノ角ゴ ProN", "Yu Gothic", "游ゴシック体", Meiryo, sans-serif !important;
  font-weight: 400 !important;
  font-size: 14px !important;
  letter-spacing: 0.22em !important;
  color: #5a4a36 !important;
  border: none !important;
  background: transparent !important;
  border-bottom: 1px solid #e6dccd !important;
  padding: 8px 0 10px !important;
  margin: 22px 0 12px !important;
}

/* サイドの __heading (divタイプ) にも適用 */
aside .__heading, .side .__heading, #side .__heading {
  font-family: "Noto Sans JP", "Hiragino Kaku Gothic ProN", "ヒラギノ角ゴ ProN", "Yu Gothic", "游ゴシック体", Meiryo, sans-serif !important;
  font-weight: 400 !important;
  font-size: 13px !important;
  letter-spacing: 0.22em !important;
  color: #5a4a36 !important;
  border-bottom: 1px solid #e6dccd !important;
  padding-bottom: 8px !important;
  margin-bottom: 10px !important;
  background: transparent !important;
}

/* 商品タイトル */
.__title {
  font-family: "Noto Sans JP", "Hiragino Kaku Gothic ProN", "ヒラギノ角ゴ ProN", "Yu Gothic", "游ゴシック体", Meiryo, sans-serif !important;
  font-weight: 400 !important;
  font-size: 13px !important;
  letter-spacing: 0.04em !important;
  color: #2b2622 !important;
  line-height: 1.55 !important;
}

/* トップの「KEMAプロショップへようこそ」見出し */
#main_content h2:first-of-type, .top_content h2:first-of-type {
  text-align: center;
  font-size: 26px !important;
  letter-spacing: 0.3em !important;
  margin-top: 30px !important;
}
#main_content h2:first-of-type::after, .top_content h2:first-of-type::after {
  margin-left: auto; margin-right: auto;
}

/* ログインボックスを上品に */
#side .login_box, .side .login_box, aside .login_box {
  background: #fff;
  border: 1px solid #ece2cf;
  border-radius: 6px;
  padding: 18px 14px;
}

/* カレンダー（余計な黄色を押さえる） */
.calendar, table.calendar {
  font-size: 12px;
}
.calendar th, table.calendar th {
  background: #1a1a1a !important;
  color: #f6f1ea !important;
  font-weight: 400;
  letter-spacing: 0.15em;
}

/* サイドの「ログイン」ボタンを黒フラットに */
.btn_login, a.btn_login, button.btn_login {
  background: #1a1a1a !important;
  color: #fff !important;
  border: 1px solid #1a1a1a !important;
  border-radius: 2px !important;
  letter-spacing: 0.18em !important;
  padding: 12px 0 !important;
  display: block !important;
  text-align: center !important;
  width: 100% !important;
  transition: background .25s, border-color .25s;
}
.btn_login:hover { background: #b89968 !important; border-color: #b89968 !important; }

/* 「すべての新着商品を見る」などリンクをテキストリンク風に */
.more_link, a.more, .all_link {
  color: #1a1a1a !important;
  letter-spacing: 0.16em;
  border-bottom: 1px solid #1a1a1a;
  padding-bottom: 2px;
  background: transparent !important;
}
.more_link:hover, a.more:hover, .all_link:hover {
  color: #b89968 !important;
  border-bottom-color: #b89968;
}

/* === 旧型 font colorを上書き（フリースペース内の青色見出しを2024風に） === */
font[color] { color: #1a1a1a !important; }
h2 font[color] { color: #1a1a1a !important; font-family: "Noto Sans JP", "Hiragino Kaku Gothic ProN", "ヒラギノ角ゴ ProN", "Yu Gothic", "游ゴシック体", Meiryo, sans-serif !important; font-weight: 400 !important; letter-spacing: 0.18em; }

/* === トップページ カテゴリボタングリッド === */
.kema-cat-section {
  margin: 32px 0 8px;
  padding: 0;
}
.kema-cat-head {
  text-align: center;
  margin-bottom: 28px;
}
.kema-cat-eyebrow {
  letter-spacing: 0.4em;
  font-size: 12px;
  color: #b89968;
  margin: 0 0 10px;
}
.kema-cat-title {
  font-family: "Noto Sans JP", "Hiragino Kaku Gothic ProN", "ヒラギノ角ゴ ProN", "Yu Gothic", "游ゴシック体", Meiryo, sans-serif;
  font-weight: 400;
  font-size: 22px;
  letter-spacing: 0.22em;
  color: #1a1a1a;
  margin: 0;
  padding: 0;
  border: none;
}
.kema-cat-line {
  display: block;
  width: 48px;
  height: 1px;
  background: #b89968;
  margin: 14px auto 0;
}
.kema-cat-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  list-style: none;
  padding: 0;
  margin: 0;
}
.kema-cat-grid li {
  list-style: none;
  padding: 0;
  margin: 0;
  background: transparent;
  border: none;
}
.kema-cat-grid li:hover {
  transform: none;
  box-shadow: none;
  border: none;
}
.kema-cat-btn {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  position: relative;
  background: #ffffff;
  border: 1px solid #ece2cf;
  border-radius: 6px;
  padding: 22px 22px 22px 26px;
  text-decoration: none !important;
  color: #1a1a1a !important;
  letter-spacing: 0.06em;
  transition: background .25s ease, border-color .25s ease, color .25s ease, transform .25s ease, box-shadow .25s ease;
  min-height: 92px;
  overflow: hidden;
}
.kema-cat-btn::after {
  content: "→";
  position: absolute;
  right: 22px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 18px;
  color: #b89968;
  transition: right .25s ease, color .25s ease;
  letter-spacing: 0;
}
.kema-cat-btn:hover {
  background: #1a1a1a;
  border-color: #1a1a1a;
  color: #ffffff !important;
  transform: translateY(-2px);
  box-shadow: 0 10px 22px rgba(40,30,20,0.14);
}
.kema-cat-btn:hover::after {
  color: #b89968;
  right: 16px;
}
.kema-cat-mark {
  display: block;
  font-family: "Noto Sans JP", "Hiragino Kaku Gothic ProN", "ヒラギノ角ゴ ProN", "Yu Gothic", "游ゴシック体", Meiryo, sans-serif;
  font-size: 11px;
  letter-spacing: 0.3em;
  color: #b89968;
  margin-bottom: 6px;
}
.kema-cat-name {
  display: block;
  font-family: "Noto Sans JP", "Hiragino Kaku Gothic ProN", "ヒラギノ角ゴ ProN", "Yu Gothic", "游ゴシック体", Meiryo, sans-serif;
  font-size: 16px;
  letter-spacing: 0.14em;
  line-height: 1.3;
  margin-bottom: 4px;
}
.kema-cat-en {
  display: block;
  font-size: 10.5px;
  letter-spacing: 0.22em;
  color: #8a7a60;
  text-transform: uppercase;
}
.kema-cat-btn:hover .kema-cat-en { color: #cdbfa3; }

.kema-cat-allwrap {
  text-align: center;
  margin-top: 26px;
}
.kema-cat-all {
  display: inline-block;
  padding: 12px 36px;
  background: #1a1a1a;
  color: #ffffff !important;
  border: 1px solid #1a1a1a;
  border-radius: 2px;
  letter-spacing: 0.22em;
  font-size: 13px;
  text-decoration: none !important;
  transition: background .25s, border-color .25s, color .25s;
}
.kema-cat-all:hover {
  background: #b89968;
  border-color: #b89968;
  color: #ffffff !important;
}

/* タブレット～スマホ */
@media (max-width: 900px) {
  .kema-cat-grid { grid-template-columns: repeat(2, 1fr); gap: 10px; }
  .kema-cat-btn { padding: 18px 18px 18px 22px; min-height: 84px; }
  .kema-cat-name { font-size: 15px; }
}
@media (max-width: 480px) {
  .kema-cat-grid { grid-template-columns: 1fr; }
  .kema-cat-title { font-size: 18px; }
}

/* === トップ ヒーロースライドショー === */
.kema-hero {
  position: relative;
  width: 100%;
  margin: 0 0 28px;
  overflow: hidden;
  border-radius: 6px;
  box-shadow: 0 8px 28px rgba(40,30,20,0.12);
  background: #1a1a1a;
  /* 16:7 ぐらいのシネマ比 */
  aspect-ratio: 16 / 7;
  min-height: 320px;
}
.kema-hero-track {
  position: absolute;
  inset: 0;
}
.kema-hero-slide {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  opacity: 0;
  transition: opacity 1s ease;
  pointer-events: none;
}
.kema-hero-slide.is-active {
  opacity: 1;
  pointer-events: auto;
  z-index: 1;
}
.kema-hero-slide::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(0,0,0,0.55) 0%, rgba(0,0,0,0.25) 50%, rgba(0,0,0,0) 100%);
}
.kema-hero-overlay {
  position: absolute;
  left: 6%;
  bottom: 12%;
  max-width: 60%;
  color: #fff;
  z-index: 2;
}
.kema-hero-eyebrow {
  font-size: 12px;
  letter-spacing: 0.42em;
  color: #e9d9b8;
  margin: 0 0 14px;
}
.kema-hero-title {
  font-family: "Noto Sans JP", "Hiragino Kaku Gothic ProN", "ヒラギノ角ゴ ProN", "Yu Gothic", "游ゴシック体", Meiryo, sans-serif !important;
  font-weight: 400 !important;
  font-size: 38px !important;
  letter-spacing: 0.18em !important;
  color: #ffffff !important;
  margin: 0 0 14px !important;
  padding: 0 !important;
  border: none !important;
  text-shadow: 0 2px 12px rgba(0,0,0,0.35);
  line-height: 1.3 !important;
}
.kema-hero-title::after { display: none !important; }
.kema-hero-lead {
  font-size: 14px;
  letter-spacing: 0.1em;
  line-height: 1.7;
  color: #f6f1ea;
  margin: 0 0 22px;
  text-shadow: 0 2px 8px rgba(0,0,0,0.35);
}
.kema-hero-cta {
  display: inline-block;
  padding: 12px 28px;
  background: #ffffff;
  color: #1a1a1a !important;
  border: 1px solid #ffffff;
  border-radius: 2px;
  letter-spacing: 0.22em;
  font-size: 13px;
  text-decoration: none !important;
  transition: background .25s, color .25s, border-color .25s;
}
.kema-hero-cta:hover {
  background: #b89968;
  border-color: #b89968;
  color: #ffffff !important;
}

/* アロー */
.kema-hero-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,0.6);
  background: rgba(0,0,0,0.25);
  color: #fff;
  font-size: 26px;
  line-height: 40px;
  cursor: pointer;
  z-index: 3;
  transition: background .25s, border-color .25s, color .25s;
  padding: 0;
}
.kema-hero-arrow:hover {
  background: #b89968;
  border-color: #b89968;
  color: #fff;
}
.kema-hero-prev { left: 16px; }
.kema-hero-next { right: 16px; }

/* ドット */
.kema-hero-dots {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 18px;
  display: flex;
  justify-content: center;
  gap: 10px;
  z-index: 3;
}
.kema-hero-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,0.85);
  background: transparent;
  padding: 0;
  cursor: pointer;
  transition: background .2s, transform .2s;
}
.kema-hero-dot.is-active { background: #b89968; border-color: #b89968; transform: scale(1.15); }
.kema-hero-dot:hover { background: rgba(255,255,255,0.7); }

/* レスポンシブ */
@media (max-width: 768px) {
  .kema-hero { aspect-ratio: 4 / 5; min-height: 380px; }
  .kema-hero-overlay { max-width: 86%; left: 7%; bottom: 16%; }
  .kema-hero-title { font-size: 26px !important; }
  .kema-hero-lead { font-size: 13px; }
  .kema-hero-arrow { width: 36px; height: 36px; font-size: 22px; line-height: 32px; }
}

/* === 非アクティブスライドのオーバーレイを完全に隠す === */
.kema-hero-slide:not(.is-active) .kema-hero-overlay { visibility: hidden; }
.kema-hero-slide:not(.is-active) { z-index: 0; }
.kema-hero-slide.is-active { z-index: 1; }

/* スライド1用：オーバーレイを画面右下に（画像内の既存テキストと重ならないように） */
.kema-hero-overlay--right {
  left: auto !important;
  right: 6%;
  bottom: 12%;
  max-width: 40%;
  text-align: right;
}

/* スライド1の勾配を薄めに（画像本体のデザインを邪魔しない） */
.kema-hero-slide[data-index="0"]::before {
  background: linear-gradient(0deg, rgba(0,0,0,0.15), rgba(0,0,0,0));
}