@charset "euc-jp";

body {
  background-color: #fff;
  background-image: url(https://img.shop-pro.jp/tmpl_img/73/bg.gif);
  color: #464e54;
}
a {
  color: #464e54;
}
a:hover {
  color: #5e5e5e;
}

/*
 * layout
 */
#wrapper {
  max-width: 1000px;
}

/* 左右の背景を白に */
#contents,
#side {
  background: #ffffff;
  border-radius: 16px;        /* 角丸（任意） */
  padding: 20px;              /* 内側の余白 */
  box-shadow: 0 4px 18px rgba(0,0,0,0.06);  /* ふわっと影（任意） */
}

#contents,
#side {
  padding-top: 100px;
}

/*
 * contents
 */

#contents {
  float: right;
  padding-left: 60px;
}

#contents .topicpath-nav {
  margin-bottom: 5px;
}
  #contents .topicpath-nav li {
    padding: 0;
  }
  #contents .topicpath-nav a {
    margin-left: 5px;
  }

/* メインコンテンツ（右側） */
#contents {
  /* もともとの指定に加えて padding を少し足す */
  padding: 20px 20px 20px 30px;  /* 左だけ少し広め（サイドバーとの間隔用） */
}
/*
 * side
 */

#side .unstyled img {
  display: block;
  margin-bottom: 5px;
}

/* ======================================
   サイドバー削除 ＆ contentsを全幅表示
   ====================================== */

/* サイドを完全に非表示 */
#side {
  display: none !important;
}

/* contentsを最大幅で広げる */
#contents {
  float: none !important;    /* 右寄せを解除 */
  width: 100% !important;    /* 全幅 */
  margin: 0 auto !important; /* 中央寄せ（不要なら削除） */
  padding: 20px !important;  /* 余白（好みに応じて調整可） */
}

/* ============================
   フッター（WP と同じ系統の色）
   ============================ */

#footer {
  background: #fff7f2;  /* WP側の淡いピンクベージュ系に合わせる想定 */
  color: #6b4f3e;       /* 本文と同じブラウン系 */
  border-top: 1px solid rgba(243, 156, 107, 0.3); /* ほんのり境界線 */
}

/* フッター内リンク色もWPと同じ雰囲気に */
#footer a {
  color: #6b4f3e;
  text-decoration: none;
}

#footer a:hover {
  color: #f3a36a;
}

/*
 * temp
 */

/* font */
.txt_l { text-align: left; }
.txt_c { text-align: center; }
.txt_r { text-align: right; }
.txt_fwn { font-weight: normal; }
.txt_fwb { font-weight: bold; }
.txt_10 { font-size: 10px; }
.txt_12 { font-size: 12px; }
.txt_14 { font-size: 14px; }
.txt_16 { font-size: 16px; }
.txt_18 { font-size: 18px; }
.txt_20 { font-size: 20px; }
.txt_24 { font-size: 24px; }
.txt_28 { font-size: 28px; }
.txt_c_333 {color: #333;}

/* background */
.bgc_gray {
  background-color: #f1f1f1;
}

/* margin */
.mar_auto { margin: 0 auto; }
.mar_0 { margin: 0; }
.mar_t_0 { margin-top: 0; }
.mar_r_0 { margin-right: 0; }
.mar_b_0 { margin-bottom: 0; }
.mar_l_0 { margin-left: 0; }
.mar_5 { margin: 5px; }
.mar_t_5 { margin-top: 5px; }
.mar_r_5 { margin-right: 5px; }
.mar_b_5 { margin-bottom: 5px; }
.mar_l_5 { margin-left: 5px; }
.mar_t_10 { margin-top: 10px; }
.mar_r_10 { margin-right: 10px; }
.mar_b_10 { margin-bottom: 10px; }
.mar_l_10 { margin-left: 10px; }
.mar_t_20 { margin-top: 20px; }
.mar_r_20 { margin-right: 20px; }
.mar_b_20 { margin-bottom: 20px; }
.mar_l_20 { margin-left: 20px; }
.mar_t_30 { margin-top: 30px; }
.mar_r_30 { margin-right: 30px; }
.mar_b_30 { margin-bottom: 30px; }
.mar_l_30 { margin-left: 30px; }
.mar_t_50 { margin-top: 50px; }
.mar_r_50 { margin-right: 50px; }
.mar_b_50 { margin-bottom: 50px; }
.mar_l_50 { margin-left: 50px; }

/* padding */
.pad_v_10 { padding: 10px 0; }
.pad_v_20 { padding: 20px 0; }
.pad_v_30 { padding: 30px 0; }
.pad_0 { padding: 0; }
.pad_t_0 { padding-top: 0; }
.pad_r_0 { padding-right: 0; }
.pad_b_0 { padding-bottom: 0; }
.pad_l_0 { padding-left: 0; }
.pad_5 { padding: 5px; }
.pad_t_5 { padding-top: 5px; }
.pad_r_5 { padding-right: 5px; }
.pad_b_5 { padding-bottom: 5px; }
.pad_l_5 { padding-left: 5px; }
.pad_10 { padding: 10px; }
.pad_t_10 { padding-top: 10px; }
.pad_r_10 { padding-right: 10px; }
.pad_b_10 { padding-bottom: 10px; }
.pad_l_10 { padding-left: 10px; }
.pad_20 { padding: 20px; }
.pad_t_20 { padding-top: 20px; }
.pad_r_20 { padding-right: 20px; }
.pad_b_20 { padding-bottom: 20px; }
.pad_l_20 { padding-left: 20px; }
.pad_30 { padding: 30px}
.pad_t_30 { padding-top: 30px; }
.pad_r_30 { padding-right: 30px; }
.pad_b_30 { padding-bottom: 30px; }
.pad_l_30 { padding-left: 30px; }

/* border */
.bor_t_1 { border-top: 1px solid #eee; }
.bor_r_1 { border-right: 1px solid #eee; }
.bor_b_1 { border-bottom: 1px solid #eee; }
.bor_l_1 { border-left: 1px solid #eee; }

/* vertical align */
.va-10 { vertical-align: -10%; }
.va-20 { vertical-align: -20%; }
.va-30 { vertical-align: -30%; }
.va-35 { vertical-align: -35%; }
.va-40 { vertical-align: -40%; }

@media (max-width: 980px) {
  /* ~980px */
  #base_gmoWrapp,
  #gmo_CMSPbar {
    overflow: hidden;
    min-width: 100% !important;
    width: 100% !important;
  }
}
@media (max-width: 768px) {
  /* ~768px */
  #contents {
    padding-left: 0;
  }
}
@media (max-width: 480px) {
  /* ~480px */
}

/*
 * icons
 */
.icon-user { background-position: -208px 0px; }
.icon-lg-b.icon-user { background-position: -312px 0px; }
.icon-adduser { background-position: -240px 0px; }
.icon-lg-b.icon-adduser { background-position: -360px 0px; }
.icon-login { background-position: -48px -80px; }
.icon-lg-b.icon-login { background-position: -72px -120px; }
.icon-logout { background-position: -32px -80px; }
.icon-lg-b.icon-logout { background-position: -48px -120px; }
.icon-home { background-position: -176px -16px; }
.icon-lg-b.icon-home { background-position: -264px -24px; }
.icon-mail { background-position: -64px 0px; }
.icon-lg-b.icon-mail { background-position: -96px 0px; }
.icon-pencil { background-position: -96px 0px; }
.icon-lg-b.icon-pencil { background-position: -144px 0px; }
.icon-help { background-position: -272px -80px; }
.icon-lg-b.icon-help { background-position: -408px -120px; }
.icon-cart { background-position: -176px -64px; }
.icon-lg-b.icon-cart { background-position: -264px -96px; }
.icon-search { background-position: -208px -16px; }
.icon-lg-b.icon-search { background-position: -312px -24px; }
.icon-chevron_up { background-position: -0px -144px; }
.icon-lg-b.icon-chevron_up { background-position: -0px -216px; }
.icon-chevron_down { background-position: -352px -128px; }
.icon-lg-b.icon-chevron_down { background-position: -528px -192px; }
.icon-twitter { background-position: -96px -176px; }
.icon-lg-b.icon-twitter { background-position: -144px -264px; }
.icon-instagram { background-position: -112px -192px; }
.icon-lg-b.icon-instagram { background-position: -168px -288px; }
.icon-facebook { background-position: -128px -176px; }
.icon-lg-b.icon-facebook {background-position: -192px -264px; }
.icon-youtube { background-position: -128px -160px; }
.icon-lg-b.icon-youtube { background-position: -191px -240px; }

.icon-b,
.icon-w {
  width: 16px;
  height: 16px;
  display: inline-block;
  *display: inline;
  *zoom: 1;
}
.icon-lg-b,
.icon-lg-w {
  width: 24px;
  height: 24px;
  display: inline-block;
  *display: inline;
  *zoom: 1;
}

.icon-b { background-image: url(https://img.shop-pro.jp/tmpl_img/73/icon16_b.png); }
.icon-w { background-image: url(https://img.shop-pro.jp/tmpl_img/73/icon16_w.png); }
.icon-lg-b { background-image: url(https://img.shop-pro.jp/tmpl_img/73/icon24_b.png); }
.icon-lg-w { background-image: url(https://img.shop-pro.jp/tmpl_img/73/icon24_w.png); }

@media only screen and (-webkit-min-device-pixel-ratio: 2), only screen and (min--moz-device-pixel-ratio: 2), only screen and (-o-min-device-pixel-ratio: 2 / 1), only screen and (min-device-pixel-ratio: 2), only screen and (min-resolution: 192dpi), only screen and (min-resolution: 2dppx) {
  .icon-b,
  .icon-w {
    -webkit-background-size: 368px 320px;
    background-size: 368px 320px;
  }

  .icon-lg-b,
  .icon-lg-w {
    -webkit-background-size: 552px 480px;
    background-size: 552px 480px;
  }

  .icon-b { background-image: url(https://img.shop-pro.jp/tmpl_img/73/icon16_2x_b.png); }
  .icon-w { background-image: url(https://img.shop-pro.jp/tmpl_img/73/icon16_2x_w.png); }
  .icon-lg-b { background-image: url(https://img.shop-pro.jp/tmpl_img/73/icon24_2x_b.png); }
  .icon-lg-w { background-image: url(https://img.shop-pro.jp/tmpl_img/73/icon24_2x_w.png); }
}
@media (max-width: 768px) {
  .icon-b { background-image: url(https://img.shop-pro.jp/tmpl_img/73/icon24_b.png); }
  .icon-w { background-image: url(https://img.shop-pro.jp/tmpl_img/73/icon24_w.png); }
}
@media only screen and (max-width: 768px) and (-webkit-min-device-pixel-ratio: 2), only screen and (max-width: 768px) and (min--moz-device-pixel-ratio: 2), only screen and (max-width: 768px) and (-o-min-device-pixel-ratio: 2 / 1), only screen and (max-width: 768px) and (min-device-pixel-ratio: 2), only screen and (max-width: 768px) and (min-resolution: 192dpi), only screen and (max-width: 768px) and (min-resolution: 2dppx) {
  .icon-b { background-image: url(https://img.shop-pro.jp/tmpl_img/73/icon24_2x_b.png); }
  .icon-w { background-image: url(https://img.shop-pro.jp/tmpl_img/73/icon24_2x_w.png); }
}

/* ============================
   RabbitWish カスタムデザイン
   ============================ */

/* 全体の雰囲気（/HP/寄せ） */
body {
  font-family: "YuGothic", "游ゴシック体", "Hiragino Kaku Gothic ProN", system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
  background: radial-gradient(circle at top left, #ffe9dc 0, #fff7f2 45%, #ffffff 100%);
  color: #4a3a32;
}

html,
body {
  width: 100%;
  max-width: 100%;
  overflow-x: hidden;
}

/* コンテナ幅（WPの .container と合わせる） */
#wrapper {
  max-width: 1100px !important;
  width: 90%;
  margin: 0 auto !important;
  padding-left: 0;
  padding-right: 0;
  box-sizing: border-box;
}

/* ヘッダー周り（ロゴなど） */
.rw-header {
  padding-top: 16px;
  padding-bottom: 8px;
  border-bottom: 1px solid rgba(255, 184, 160, 0.4);
}

.rw-header-members {
  font-size: 11px;
  opacity: 0.9;
}

/* ロゴ＋キャッチコピー（中央寄せ） */
.rw-header-main {
  text-align: center;
  margin-top: 4px;
  margin-bottom: 16px;
}

.rw-header-logo img {
  max-height: 72px;
  height: auto;
}

.rw-header-shopname {
  margin-top: 4px;
  font-size: 11px;
  letter-spacing: 0.08em;
  color: #a07b63;
}

.rw-header-tagline {
  margin-top: 6px;
  font-size: 12px;
  letter-spacing: 0.16em;
  color: #8a5b45;
}

/* =================================================
   固定ヘッダー（WP風：スクロール連動）
   ================================================= */

/* スクロールに反応するヘッダーのベース */
#header {
  transition: transform 0.3s ease, box-shadow 0.3s ease, background 0.3s ease;
  background: rgba(255, 255, 255, 0.6);
  backdrop-filter: blur(10px);
}

/* PCでは画面上部に固定（JSで .is-fixed 付与） */
#header.is-fixed {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 999;
}

/* 少しスクロールしたときの見た目（影つき） */
#header.is-scrolled {
  background: #ffffff;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

/* 下にスクロール中は上へ隠す */
#header.is-hidden {
  transform: translateY(-100%);
}

/* 検索パネルを開いているときは白で固定 */
#header.rw-search-open {
  background: #ffffff !important;
  backdrop-filter: none !important;
  box-shadow: 0 0 12px rgba(0,0,0,0.08);
}

/* =================================================
   ヘッダー内レイアウト
   ================================================= */

.rw-header-inner {
  max-width: 1100px;
  width: 90%;
  margin: 0 auto;
  padding: 10px 20px;
  box-sizing: border-box;
}

.rw-header-top {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  margin-top: 8px;
}

/* ロゴ全体（うさぎ＋テキスト） */
.site-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
}

/* ロゴ横テキスト */
.site-logo__text {
  display: flex;
  flex-direction: column;
  line-height: 1.2;
}

.site-logo__text-main {
  font-weight: bold;
  font-size: 1.1rem;
  color: #6b4f3e;
}

.site-logo__text-sub {
  font-size: 0.75rem;
  color: #8c7a6e;
}

/* うさぎロゴ */
:root {
  --color-main: #f7c8d8;
  --color-dark: #6b4f3e;
}

.site-logo__mark {
  position: relative;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: radial-gradient(circle at 30% 30%, #fff, var(--color-main));
  display: inline-block;
}

.site-logo__mark::after {
  content: "";
  position: absolute;
  width: 10px;
  height: 10px;
  left: -4px;
  bottom: 2px;
  background: radial-gradient(circle at 30% 30%, #fff, var(--color-main));
  border-radius: 50%;
}

.site-logo__mark::before {
  content: "";
  position: absolute;
  width: 10px;
  height: 18px;
  left: 4px;
  top: -14px;
  background: radial-gradient(circle at 30% 30%, #fff, var(--color-main));
  border-radius: 50% 50% 40% 40%;
}

.site-logo__mark .ear-right {
  position: absolute;
  width: 10px;
  height: 18px;
  right: 4px;
  top: -14px;
  background: radial-gradient(circle at 30% 30%, #fff, var(--color-main));
  border-radius: 50% 50% 40% 40%;
}

/* =================================================
   グローバルナビ 共通
   ================================================= */

/* ヘッダーフォントをWPに合わせる */
#header,
#header .gnav {
  font-family: "游ゴシック体", "YuGothic", "Hiragino Kaku Gothic ProN", "メイリオ", sans-serif;
}

#header,
.rw-header {
  overflow: visible !important;
  position: relative;
  z-index: 3000;
}

/* ロゴの下の nav コンテナ */
.rw-header-nav {
  margin-top: 10px;
}

/* ベース設定 */
.gnav {
  list-style: none;
  margin: 0;
  padding: 0;
}

.gnav a {
  text-decoration: none;
}

/* ---------- PCナビ（1024px以上） ---------- */
@media (min-width: 1024px) {

  .gnav {
    display: grid;
    grid-template-columns: repeat(7, auto);
    grid-auto-flow: row;
    column-gap: 16px;
    row-gap: 4px;
    justify-content: center;
    align-items: center;
    text-align: center;
  }

  .gnav > li {
    position: relative;
    white-space: nowrap;
  }

  .gnav > li > a {
    display: inline-block;
    padding: 6px 4px;
    font-size: 16px;
    color: #4a3b32;
    position: relative;
  }

  /* 下線アニメーション */
  .gnav > li > a::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;
    height: 2px;
    width: 0%;
    background: #f39c6b;
    transition: width 0.25s ease;
  }

  .gnav > li:hover > a {
    color: #f39c6b;
  }

  .gnav > li:hover > a::after {
    width: 100%;
  }

  /* サブメニュー（ドロップダウン） */
  .gnav .sub-menu {
    position: absolute;
    top: 100%;
    left: 0;
    background: #ffffff;
    padding: 10px 0;
    margin: 0;
    list-style: none;
    min-width: 180px;
    border-radius: 6px;
    box-shadow: 0 4px 16px rgba(0,0,0,0.15);
    opacity: 0;
    pointer-events: none;
    transform: translateY(6px);
    transition: opacity 0.25s ease, transform 0.25s ease;
    z-index: 9999;
  }

  /* 親 li にホバーしたときサブメニューを表示 */
  .gnav > li:hover > .sub-menu {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
  }

  /* vertical-menu（うさぎ情報など） */
  .vertical-menu > .dropdown-menu {
    display: none !important;
    position: absolute;
    top: 100%;
    left: 0;
    background: #ffffff;
    padding: 0;
    margin: 0;
    min-width: 220px;
    border-radius: 10px;
    box-shadow: 0 6px 18px rgba(0,0,0,0.08);
    z-index: 9999;
    overflow: hidden;
  }

  .vertical-menu:hover > .dropdown-menu {
    display: block !important;
  }

  .vertical-menu > .dropdown-menu li {
    list-style: none;
  }

  .vertical-menu > .dropdown-menu li a {
    display: block;
    padding: 10px 18px;
    font-size: 14px;
    line-height: 1.4;
    text-decoration: none;
    color: #6d4c41;
    background: #ffffff;
    white-space: nowrap;
  }

  .vertical-menu > .dropdown-menu li a:hover {
    background: #ff9f6c;
    color: #ffffff;
  }
}

/* =================================================
   ハンバーガーメニュー 最終版
   （PC >=1024px / SP+タブレット <=1023px）
   ================================================= */

/* 共通：WPと同じスタイルのボタン */
.nav-toggle {
  display: none; /* PCでは非表示。SP/タブレットで出す */
  border: 1px solid #f28c3a;
  background: #ffffff;
  border-radius: 999px;
  width: 44px;
  height: 44px;
  padding: 0;
  position: fixed;
  right: 16px;
  top: 16px;
  cursor: pointer;
  outline: none;
  z-index: 20000;
}

.nav-toggle span {
  position: absolute;
  left: 50%;
  width: 22px;
  height: 2px;
  background: #f28c3a;
  border-radius: 999px;
  transform: translateX(-50%);
  transition: transform .25s ease, opacity .2s ease, top .25s ease;
}

.nav-toggle span:nth-child(1) { top: 14px; }
.nav-toggle span:nth-child(2) { top: 21px; }
.nav-toggle span:nth-child(3) { top: 28px; }

/* JS側の .is-open と連動して「×」にする */
.nav-toggle.is-open span:nth-child(1) {
  top: 21px;
  transform: translateX(-50%) rotate(45deg);
}
.nav-toggle.is-open span:nth-child(2) {
  opacity: 0;
}
.nav-toggle.is-open span:nth-child(3) {
  top: 21px;
  transform: translateX(-50%) rotate(-45deg);
}

/* PC：ボタン非表示・ナビは通常表示 */
@media (min-width: 1024px) {
  .nav-toggle.visible-phone {
    display: none !important;
  }

  .rw-header-nav {
    position: static !important;
    transform: none !important;
    right: auto !important;
    left: auto !important;
    width: auto !important;
    height: auto !important;
    box-shadow: none !important;
    overflow: visible !important;
  }
}

/* ---------- SP + タブレット（1023px以下）：右側パネル ---------- */
@media (max-width: 1023px) {

  /* ハンバーガーボタン表示 */
  .nav-toggle.visible-phone {
    display: block !important;
  }

  /* 右側に出るメニューパネル本体（id="js-gnav" 想定） */
  #js-gnav.rw-header-nav {
    position: fixed !important;
    top: 0 !important;
    bottom: 0 !important;
    left: auto !important;
    right: -100% !important;       /* 初期状態：画面の外 */

    width: 70vw !important;        /* パネル幅。70%くらい */
    max-width: 420px !important;

    height: 100vh !important;
    margin: 0 !important;
    padding: 80px 24px 24px !important; /* 上にヘッダーぶんの余白 */

    background: #ffffff !important;
    box-shadow: -4px 0 16px rgba(0,0,0,0.15) !important;

    transform: none !important;    /* 古い translateX を無効化 */
    overflow-y: auto !important;
    -webkit-overflow-scrolling: touch;

    z-index: 9999 !important;
    transition: right .25s ease-out;
  }

  /* 開いたとき（JSで .gnav--open を付与） */
  #js-gnav.rw-header-nav.gnav--open {
    right: 0 !important;
  }

  /* メニューを開いている間は背景をスクロールさせない */
  body.is-menu-open {
    overflow: hidden;
  }

  /* メニュー項目を縦並びに */
  .gnav {
    list-style: none;
    margin: 0;
    padding: 0;
  }

  .gnav > li {
    display: block !important;
    border-bottom: 1px solid #eee;
  }

  .gnav > li > a {
    display: block;
    padding: 12px 10px;
    font-size: 15px;
    color: #333;
    text-decoration: none;
    background: #ffffff;
  }

  .gnav > li > a:hover {
    background: #fff7f2;
  }

  /* サブメニュー（アコーディオン） */
  .gnav .sub-menu {
    position: static;
    display: none;
    margin: 0;
    padding: 0;
    list-style: none;
    background: #fff7f2;
  }

  .gnav .sub-menu.is-open {
    display: block;
  }

  .gnav .sub-menu li a {
    padding: 8px 20px;
    font-size: 14px;
  }

  /* 子メニューを持つ親に ▼ を付ける */
  .gnav .has-sub > a::after,
  .vertical-menu > a::after {
    content: "▼";
    font-size: 11px;
    margin-left: 6px;
  }

  /* スマホだけ「閉じる」行 */
  .sp-menu-close {
    display: block;
  }

  .sp-menu-close a {
    display: block;
    padding: 10px 16px;
    text-align: right;
    font-size: 13px;
    color: #6d4c41;
    background: #ffe9dc !important;
    text-decoration: none;
  }

  .sp-menu-close a::before {
    content: "×";
  }

  .sp-menu-close a:hover {
    background: #ffe7d3;
  }
}

/* =================================================
   検索パネル
   ================================================= */

.rw-header-search-trigger {
  text-decoration: none;
}

.rw-header-search-trigger:hover {
  text-decoration: underline;
}

/* 検索パネル本体（位置は JS で上書き） */
.rw-search-panel {
  position: fixed;
  top: 0;
  left: 0;
  transform: none;
  width: 260px;
  background: #ffffff;
  padding: 12px;
  border-radius: 10px;
  border: 1px solid #f1e5da;
  box-shadow: 0 8px 28px rgba(0,0,0,0.15);
  display: none;
  z-index: 10000;
}

/* ▼ 検索フォームを縦並びにする */
.rw-search-form {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

/* ▼ コンボボックスとテキストボックスの幅を統一 */
.rw-search-form select {
  width: 100%;
  padding: 6px 10px; /* ← 高さはここだけで決まるので現状維持 */
  border: 1px solid #d9cfc8;
  border-radius: 8px;
  background: #fff;
  box-sizing: border-box;
}

.rw-search-form input[type="text"] {
  width: 100%;
  box-sizing: border-box; /* 必須：padding を含めて幅を合わせる */
  padding: 14px 10px;
  border: 1px solid #d9cfc8;
  border-radius: 8px;
  background: #fff;
}

/* ▼ 検索ボタン（幅を揃えたい場合） */
.rw-search-form button {
  width: 100%;
  padding: 8px 12px;
  border: none;
  border-radius: 8px;
  background: #f29f7a;
  color: #ffffff;
  cursor: pointer;
}

.rw-search-form button:hover {
  background: #e98e67;
}


/* ヘッダー右上リンク（商品検索・カート・マイアカウント）を少し大きく */
.rw-header-members a,
.rw-header-search-trigger {
  font-size: 15px !important;
  line-height: 1.4;
}

/* ============================
   商品セクション共通
   ============================ */

.rw-product-section {
  max-width: 1180px;
  margin: 0 auto 50px;
  padding: 0 20px;
}

.rw-product-title {
  font-size: 1.4rem;
  font-weight: 700;
  color: #8b5e3b;
  margin-bottom: 18px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.rw-product-title::before {
  content: "";
  width: 6px;
  height: 22px;
  border-radius: 999px;
  background: linear-gradient(180deg, #f7c8d8, #f5a98e);
}

/* 色分け（任意） */
.rw-product-section--new .rw-product-title::before {
  background: linear-gradient(180deg, #ffd8a0, #f5a45a);
}
.rw-product-section--seller .rw-product-title::before {
  background: linear-gradient(180deg, #e3c9aa, #b58a5e);
}

/* ============================
   商品カード共通（高さ揃え）
   ============================ */

.rw-product-card-wrap {
  display: flex;
  margin-bottom: 24px;
  position: relative;
  z-index: 1;
}

/* カード本体 */
.rw-product-card {
  background: #ffffff;
  border-radius: 16px;
  padding: 16px 16px 20px;
  border: 1px solid #f1e5da;
  box-shadow: 0 6px 18px rgba(0,0,0,0.05);
  display: flex;
  flex-direction: column;
  width: 100%;
  transition: 0.2s;
}

/* カード全体クリック用の透明リンク */
.rw-card-link {
  position: absolute;
  inset: 0;
  z-index: 5;
  display: block;
  text-indent: -9999px;
}

/* hover */
.rw-product-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.08);
}

/* 商品メイン画像（拡大バグ対策） */
.rw-product-thumb img {
  width: 100%;
  height: 210px;
  object-fit: cover;
  border-radius: 12px;
  display: block;
}

/* テキスト部分 */
.rw-product-name {
  font-size: 0.95rem;
  font-weight: 600;
  color: #6a4d3c;
  text-decoration: none;
  margin-top: 10px;
  margin-bottom: 6px;
}

.rw-product-name:hover {
  color: #f28f6d;
}

.rw-product-desc {
  font-size: 0.85rem;
  color: #7b5a46;
  margin-bottom: 10px;
  flex-grow: 1;
}

.rw-product-price {
  font-size: 1rem;
  font-weight: 700;
  color: #8a4b2a;
  margin-top: auto;
  text-align: center;
}

.rw-product-soldout {
  display: inline-block;
  background: #8a8a8a;
  color: #fff;
  padding: 4px 10px;
  font-size: 0.75rem;
  border-radius: 999px;
}

/* スマホ商品カード調整 */
@media screen and (max-width: 768px) {
  .rw-product-card {
    padding: 14px;
  }
  .rw-product-thumb img {
    height: 170px;
  }
}

/* =========================================
   商品一覧 子メニュー（PC用 最終版）
   4列固定・全ボタン同じサイズ
   ========================================= */
@media (min-width: 1024px) {

  /* 親メニュー：商品一覧 li */
  .gnav > li.sub-center {
    position: relative;
  }

  /* 子メニュー本体（4列グリッド） */
  .gnav > li.sub-center .sub-menu {
    position: absolute;
    top: 100%;
    left: 0%;
    /* ★ 4列グリッドの「1列ぶん」左にずらす */
    transform: translateX(-25%);
    
    background: #ffffff;
    border-radius: 6px;
    box-shadow: 0 4px 16px rgba(0,0,0,0.15);
    margin: 0;
    list-style: none;
    box-sizing: border-box;

    /* ▼ 4列固定＋全ボタン同じサイズ用 */
    display: grid !important;
    grid-template-columns: repeat(4, 1fr);
    grid-auto-rows: 1fr;        /* 各マス同じ高さ */
    column-gap: 10px;
    row-gap: 6px;

    padding: 10px 14px 12px 10px;
    max-width: 90vw;

    /* 初期状態は非表示 */
    opacity: 0;
    pointer-events: none;
    transition: opacity .2s ease;
    z-index: 9999;
  }

  /* ホバー中は消えない（親＆子どちらにいてもOK） */
  .gnav > li.sub-center:hover > .sub-menu,
  .gnav > li.sub-center .sub-menu:hover {
    opacity: 1;
    pointer-events: auto;
  }

  /* 各セル（li）をグリッドいっぱいに広げる */
  .gnav > li.sub-center .sub-menu li {
    margin: 0;
    padding: 0;
    width: 100%;
    height: 100%;       /* grid-auto-rows:1fr とセット */
  }

  /* ボタン本体 */
  .gnav > li.sub-center .sub-menu li a {
    display: flex;
    justify-content: center;
    align-items: center;

    width: 100%;
    height: 100%;       /* 全セルで同じ高さにするキモ */

    padding: 6px 8px;
    background: #ffe9dc;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.05);

    color: #6b4f3e;
    font-size: 14px;
    line-height: 1.3;
    white-space: nowrap;    /* 改行しない */
    width: 200px;     /* 文字の長さに合わせて自動で横幅が増える */
    text-align: center;
    text-decoration: none;
    box-sizing: border-box;
  }

  .gnav > li.sub-center .sub-menu li a:hover {
    background: #f3a36a;
    color: #ffffff;
  }

}


@media (max-width: 1023px) {

  /* うさぎ情報・RabbitWishについて の子メニュー（スマホ時） */
  .vertical-menu > .dropdown-menu {
    display: none;                 /* 初期状態は閉じる */
    margin: 0;
    padding: 0;
    list-style: none;
    background: #fff7f2;
  }

  /* .is-open が付いたときだけ開く（JSで付与） */
  .vertical-menu.is-open > .dropdown-menu {
    display: block;
  }

  .vertical-menu > .dropdown-menu li a {
    display: block;
    padding: 8px 20px;
    font-size: 14px;
    text-decoration: none;
    color: #333;
  }
}

@media (max-width: 1023px) {

  /* RabbitWishとは？／うさぎ情報 の子メニュー（SP/タブレット） */
  .vertical-menu > .dropdown-menu {
    display: none;          /* 初期状態は閉じる */
    margin: 0;
    padding: 0;
    list-style: none;
    background: #fff7f2;
  }

  /* 親 li に .is-open が付いたら表示 */
  .vertical-menu.is-open > .dropdown-menu {
    display: block;
  }

  .vertical-menu > .dropdown-menu li a {
    display: block;
    padding: 8px 20px;
    font-size: 14px;
    color: #333;
    text-decoration: none;
  }
}

/* =========================
   RabbitWish フッター（カラーミー）
   ========================= */
#footer.rw-footer {
  background: #f9f3ea;  /* WP と同じ色にしたいところ */
  position: relative;
  left: 50%;
  right: 50%;
  margin-left: -50vw;
  margin-right: -50vw;
  width: 100vw;

  padding: 40px 0 20px;
  text-align: left;
  border-top: 1px solid #e6dcd4;
  font-size: 14px;
  color: #4a3a32;
  margin-top: 40px;  /* ← フッターを下げる高さ（お好みで調整） */
}

#footer.rw-footer .container {
  max-width: 1100px;
  margin: 0 auto;
}

/* 上段：ロゴ＋LINE＋店舗情報の並び */
.rw-footer-top {
  display: flex;
  flex-wrap: nowrap;       /* PCでは横並び固定 */
  align-items: flex-start;
  justify-content: flex-start;
  column-gap: 70px;        /* 左と右の間隔 → ここで位置調整 */
}

/* 左：ロゴ＋文章＋LINE（幅を取りすぎないように制限） */
.rw-footer-left {
  flex: 0 1 480px;   /* 最大だいたい 480px くらいを目安に */
  max-width: 480px;
  min-width: 280px;
}

/* 右：店舗情報（右端に寄せる） */
.rw-footer-right {
  flex: 0 0 260px;
  min-width: 240px;
}


.rw-footer-logo-img {
  max-width: 220px;
  height: auto;
  display: block;
  margin-bottom: 12px;
}

.rw-footer-message {
  margin: 0 0 16px;
  line-height: 1.8;
}

/* 店舗情報 */
.rw-footer-title {
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 10px;
}

.rw-footer-shop-info {
  margin: 0;
  line-height: 1.8;
}

/* LINEブロック */
.rw-footer-line-block {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-top: 20px;
  padding: 12px 16px;
  border-radius: 10px;
  background: #f9f3ea;
}

.rw-footer-line-left {
  flex: 1 1 auto;
}

.rw-footer-line-title {
  font-weight: 600;
  margin-bottom: 6px;
  display: flex;
  align-items: center;
  gap: 6px;
}

.rw-footer-line-chip {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 3px 8px;
  border-radius: 999px;
  background: #00b900;
  color: #fff;
  font-size: 0.75rem;
}

.rw-footer-line-chip-icon img {
  width: 16px;
  height: 16px;
  display: block;
}

.rw-footer-line-chip-text {
  font-weight: 700;
}

.rw-footer-line-note {
  margin: 0;
  font-size: 0.8rem;
  color: #7c6a5e;
}

.rw-footer-line-qr img {
  width: 96px;
  height: auto;
  display: block;
  background: #fff;
  padding: 4px;
  border-radius: 6px;
}

/* 下段：SNS＋リンク＋コピーライト */
.rw-footer-bottom {
  text-align: center;
  border-top: 1px solid #efe4da;
  padding-top: 18px;
}

.rw-footer-sns {
  margin-bottom: 10px;
}

.rw-footer-sns li {
  margin: 0 4px;
}

.rw-footer-links {
  margin: 0 0 8px;
}

.rw-footer-links li {
  margin: 0 6px;
}

.rw-footer-copy {
  margin: 0;
  font-size: 0.75rem;
  color: #8c7a6c;
}

/* スマホ対応 */
@media (max-width: 767px) {
  #footer.rw-footer {
    padding: 30px 0 16px;
  }

  .rw-footer-top {
    flex-direction: column;
    gap: 24px;
  }

  .rw-footer-line-block {
    align-items: flex-start;
  }

  .rw-footer-line-qr img {
    width: 80px;
  }
}

@media (max-width: 767px) {
  .rw-footer-top {
    flex-direction: column;
  }

  .rw-footer-right {
    flex: 1 1 auto;
  }
}

/* =========================
   お気に入り
   ========================= */
.product__fav-item {
  margin-top: 10px;
}

.product__fav-item button {
  padding: 0;
  cursor: pointer;
  transition: .2s;
  color: #999;
  border: 0;
  outline: none;
  background: transparent;
}

.product__fav-item .fav-items {
  color: #ff7373;
}

.product__fav-item svg {
  width: 20px;
  height: 20px;
  vertical-align: -.35em;
  fill: currentColor;
}

/* =========================
   ページャー（背景なしバージョン）
   ========================= */
.rw-pager {
  text-align: center;
  margin: 40px 0 50px;
  font-size: 14px;
  color: #6b5345;
}

/* 「○○商品中 〜 商品」表示 */
.rw-pager p {
  margin: 0 0 10px;
  letter-spacing: 0.03em;
}

.rw-pager p b {
  font-weight: 700;
}

/* ページャーのボタンの並び（背景色なし） */
.rw-pager .inline {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 0;
  margin: 0;
  list-style: none;
  background: none;          /* ★ 背景なし */
  box-shadow: none;          /* ★ 影なし */
}

/* ボタン共通（Prev / Next） */
.rw-pager .btn,
.rw-pager .disabled {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 90px;
  padding: 8px 18px;
  font-size: 13px;
  border-radius: 999px;
  border: 1px solid #e0cfc4;
  background: linear-gradient(180deg, #ffffff, #ffece2);
  color: #6b5345;
  text-decoration: none;
  transition: all 0.25s ease;
  box-shadow: 0 2px 4px rgba(0, 0, 0, .03);
}

/* ホバー時 */
.rw-pager .btn:hover {
  background: linear-gradient(180deg, #fff7f2, #ffe0d2);
  border-color: #d3b5a4;
  transform: translateY(-2px);
  box-shadow: 0 4px 10px rgba(0, 0, 0, .08);
}

/* 無効ボタン */
.rw-pager .disabled {
  background: #f5f5f5;
  border-color: #dddddd;
  color: #aaaaaa;
  box-shadow: none;
  cursor: default;
}

/* モバイル */
@media (max-width: 480px) {
  .rw-pager .btn,
  .rw-pager .disabled {
    min-width: 80px;
    padding: 7px 14px;
    font-size: 12px;
  }
}






/* ▼ ブロック全体 */
.rw-history-block {
  margin-bottom: 40px;
}

.rw-history-block__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.rw-history-arrows {
  display: flex;
  gap: 8px;
}

/* ふんわりベージュ丸矢印ボタン（RabbitWish用） */
.rw-history-arrow {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: #ffffff;
  border: 1px solid #dcd2c5;
  color: #6b5b4d;
  font-size: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: 0.25s ease;
  box-shadow: 0 2px 6px rgba(0,0,0,0.08);
}
.rw-history-arrow:hover {
  background: #f7f1eb;
  border-color: #c6b8aa;
  box-shadow: 0 3px 10px rgba(0,0,0,0.12);
}

/* 横並び＋中だけ横スクロール（スクロールバーは隠す） */
.rw-history-slider {
  list-style: none;
  margin: 0;
  padding: 0 4px 10px;

  display: flex;
  flex-wrap: nowrap;
  gap: 16px;

  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

.rw-history-slider::-webkit-scrollbar {
  display: none;
}
.rw-history-slider {
  scrollbar-width: none;
}

/* 1つ分の幅：PCで5つくらい見えるように（4→5に変更） */
.rw-history-slider .history-unit {
  float: none;
  flex: 0 0 20%;      /* ★ここが5つ表示のポイント（20%） */
  max-width: 20%;
  box-sizing: border-box;

  text-align: center;
  font-size: 13px;
}

/* 画像 */
.rw-history-slider .history-unit img {
  max-width: 160px;
  height: auto;
}

/* 商品名 */
.rw-history-name {
  margin: 0 0 4px;
  font-size: 13px;
  line-height: 1.4;
}
.rw-history-name a {
  color: #333;
  text-decoration: none;
}
.rw-history-name a:hover {
  text-decoration: underline;
}

/* 価格 */
.rw-history-price {
  margin: 0;
  font-size: 14px;
  line-height: 1.4;
}
.rw-history-price-regular {
  display: block;
  font-size: 12px;
  text-decoration: line-through;
  color: #999;
}
.rw-history-price-current {
  font-weight: 600;
}
.rw-history-price-current.is-discount {
  color: #d25858;
}
.rw-history-discount-rate {
  display: block;
  font-size: 12px;
  color: #d25858;
}
.rw-history-soldout {
  font-weight: 600;
  color: #999;
}

/* ▼ 画面幅ごとの件数調整（お好みで） */
@media (max-width: 1023px) {
  .rw-history-slider .history-unit {
    flex: 0 0 33.333%;
    max-width: 33.333%;
  }
}
@media (max-width: 768px) {
  .rw-history-slider .history-unit {
    flex: 0 0 50%;
    max-width: 50%;
  }
}
@media (max-width: 480px) {
  .rw-history-slider .history-unit {
    flex: 0 0 80%;
    max-width: 80%;
  }
}

/* ▼ 共通：タイトルアイコン */
.rw-title-icon {
  display: inline-block;
  width: 18px;
  height: 18px;
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
}

/* ▼ お気に入り用（ハート） */
.rw-title--favorite .rw-title-icon {
  background-image: url("data:image/svg+xml;utf8,\
<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%23e47a87'><path d='M12 21s-6.7-4.35-10-9C-1.08 7.36 2.38 2 7.2 2c2.07 0 3.95 1.06 5 2.64C13.85 3.11 15.73 2 17.8 2 22.62 2 26.08 7.36 22 12c-3.3 4.65-10 9-10 9z'/></svg>");
}

/* ▼ 最近チェック（時計） */
.rw-title--recent .rw-title-icon {
  background-image: url("data:image/svg+xml;utf8,\
<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%23f5a45a'><path d='M12 1a11 11 0 100 22 11 11 0 000-22zm1 12H7v-2h4V5h2v8z'/></svg>");
}
